@sdata/web-vue 1.7.1 → 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 +182 -1
- 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-allow-clear.d.ts +4 -0
- package/es/_hooks/use-allow-clear.js +20 -0
- package/es/_hooks/use-trigger.d.ts +4 -6
- package/es/_hooks/use-trigger.js +7 -5
- package/es/_utils/color.js +1 -18
- package/es/auto-complete/auto-complete.d.ts +1 -1
- package/es/auto-complete/auto-complete.js +4 -2
- 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.js +1 -1
- package/es/cascader/cascader.vue.d.ts +21 -11
- package/es/cascader/cascader.vue_vue_type_script_lang.js +4 -1
- package/es/cascader/index.d.ts +47 -26
- package/es/color-picker/color-picker.d.ts +115 -40
- package/es/color-picker/color-picker.js +146 -102
- package/es/color-picker/index.d.ts +217 -69
- package/es/color-picker/interface.d.ts +41 -0
- package/es/color-picker/palette.js +1 -1
- package/es/color-picker/panel.d.ts +73 -34
- package/es/color-picker/panel.js +423 -89
- package/es/color-picker/style/index.css +92 -1
- package/es/color-picker/style/index.scss +107 -1
- package/es/color-picker/utils.d.ts +89 -0
- package/es/color-picker/utils.js +456 -0
- package/es/config-provider/config-provider.vue.d.ts +10 -1
- package/es/config-provider/config-provider.vue_vue_type_script_lang.js +6 -1
- package/es/config-provider/context.d.ts +1 -0
- package/es/config-provider/index.d.ts +18 -3
- package/es/date-picker/index.d.ts +7 -6
- package/es/date-picker/picker.js +1 -1
- package/es/date-picker/picker.vue.d.ts +7 -6
- package/es/date-picker/picker.vue_vue_type_script_lang.js +4 -1
- package/es/date-picker/range-picker.js +1 -1
- package/es/date-picker/range-picker.vue.d.ts +7 -6
- package/es/date-picker/range-picker.vue_vue_type_script_lang.js +4 -1
- 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 +182 -1
- package/es/index.js +2 -2
- package/es/input/input.js +4 -2
- package/es/input-number/input-number.js +4 -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 +183 -32
- 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/mention/mention.js +4 -2
- 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/rate/rate.js +4 -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 +182 -126
- 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/textarea/index.d.ts +3 -3
- package/es/textarea/textarea.vue.d.ts +1 -1
- package/es/textarea/textarea.vue_vue_type_script_lang.js +6 -2
- package/es/time-picker/index.d.ts +15 -12
- package/es/time-picker/time-picker.js +1 -1
- package/es/time-picker/time-picker.vue.d.ts +7 -6
- package/es/time-picker/time-picker.vue_vue_type_script_lang.js +4 -1
- 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 +268 -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 +29 -16
- package/es/tree-select/tree-select.vue.d.ts +144 -30
- package/es/tree-select/tree-select.vue_vue_type_script_lang.js +102 -22
- 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 +82 -178
- package/json/vetur-tags.json +24 -52
- package/json/web-types.json +164 -387
- package/package.json +9 -7
- package/es/color-picker/input-alpha.js +0 -32
- package/es/color-picker/input-hex.js +0 -73
- package/es/color-picker/input-rgb.js +0 -55
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",
|
|
@@ -1825,7 +1825,7 @@
|
|
|
1825
1825
|
"name": "sd-color-picker",
|
|
1826
1826
|
"attributes": [
|
|
1827
1827
|
{
|
|
1828
|
-
"name": "
|
|
1828
|
+
"name": "value",
|
|
1829
1829
|
"description": "Value",
|
|
1830
1830
|
"value": {
|
|
1831
1831
|
"type": "string",
|
|
@@ -1834,7 +1834,7 @@
|
|
|
1834
1834
|
},
|
|
1835
1835
|
{
|
|
1836
1836
|
"name": "default-value",
|
|
1837
|
-
"description": "Default value
|
|
1837
|
+
"description": "Default value",
|
|
1838
1838
|
"value": {
|
|
1839
1839
|
"type": "string",
|
|
1840
1840
|
"kind": "expression"
|
|
@@ -1842,9 +1842,9 @@
|
|
|
1842
1842
|
},
|
|
1843
1843
|
{
|
|
1844
1844
|
"name": "format",
|
|
1845
|
-
"description": "
|
|
1845
|
+
"description": "Value format",
|
|
1846
1846
|
"value": {
|
|
1847
|
-
"type": "
|
|
1847
|
+
"type": "ColorFormat | LegacyFormat",
|
|
1848
1848
|
"kind": "expression"
|
|
1849
1849
|
}
|
|
1850
1850
|
},
|
|
@@ -1852,45 +1852,61 @@
|
|
|
1852
1852
|
"name": "size",
|
|
1853
1853
|
"description": "Size",
|
|
1854
1854
|
"value": {
|
|
1855
|
-
"type": "Size",
|
|
1855
|
+
"type": "Size | 'small' | 'medium' | 'large'",
|
|
1856
1856
|
"kind": "expression"
|
|
1857
1857
|
}
|
|
1858
1858
|
},
|
|
1859
1859
|
{
|
|
1860
|
-
"name": "
|
|
1861
|
-
"description": "
|
|
1860
|
+
"name": "enable-alpha",
|
|
1861
|
+
"description": "Whether alpha channel is enabled",
|
|
1862
1862
|
"value": {
|
|
1863
1863
|
"type": "boolean",
|
|
1864
1864
|
"kind": "expression"
|
|
1865
1865
|
}
|
|
1866
1866
|
},
|
|
1867
1867
|
{
|
|
1868
|
-
"name": "show-
|
|
1869
|
-
"description": "
|
|
1868
|
+
"name": "show-primary-color-preview",
|
|
1869
|
+
"description": "Whether to show primary color preview",
|
|
1870
1870
|
"value": {
|
|
1871
1871
|
"type": "boolean",
|
|
1872
1872
|
"kind": "expression"
|
|
1873
1873
|
}
|
|
1874
1874
|
},
|
|
1875
1875
|
{
|
|
1876
|
-
"name": "
|
|
1877
|
-
"description": "
|
|
1876
|
+
"name": "input-props",
|
|
1877
|
+
"description": "Input props",
|
|
1878
1878
|
"value": {
|
|
1879
|
-
"type": "
|
|
1879
|
+
"type": "Record<string, unknown>",
|
|
1880
1880
|
"kind": "expression"
|
|
1881
1881
|
}
|
|
1882
1882
|
},
|
|
1883
1883
|
{
|
|
1884
|
-
"name": "
|
|
1885
|
-
"description": "
|
|
1884
|
+
"name": "recent-colors",
|
|
1885
|
+
"description": "Recent colors",
|
|
1886
1886
|
"value": {
|
|
1887
|
-
"type": "
|
|
1887
|
+
"type": "RecentColorsValue",
|
|
1888
1888
|
"kind": "expression"
|
|
1889
1889
|
}
|
|
1890
1890
|
},
|
|
1891
1891
|
{
|
|
1892
|
-
"name": "
|
|
1893
|
-
"description": "
|
|
1892
|
+
"name": "default-recent-colors",
|
|
1893
|
+
"description": "Default recent colors",
|
|
1894
|
+
"value": {
|
|
1895
|
+
"type": "RecentColorsValue",
|
|
1896
|
+
"kind": "expression"
|
|
1897
|
+
}
|
|
1898
|
+
},
|
|
1899
|
+
{
|
|
1900
|
+
"name": "swatch-colors",
|
|
1901
|
+
"description": "Swatch colors",
|
|
1902
|
+
"value": {
|
|
1903
|
+
"type": "string[] | null",
|
|
1904
|
+
"kind": "expression"
|
|
1905
|
+
}
|
|
1906
|
+
},
|
|
1907
|
+
{
|
|
1908
|
+
"name": "disabled",
|
|
1909
|
+
"description": "Disabled",
|
|
1894
1910
|
"value": {
|
|
1895
1911
|
"type": "boolean",
|
|
1896
1912
|
"kind": "expression"
|
|
@@ -1898,7 +1914,7 @@
|
|
|
1898
1914
|
},
|
|
1899
1915
|
{
|
|
1900
1916
|
"name": "hide-trigger",
|
|
1901
|
-
"description": "
|
|
1917
|
+
"description": "Render panel inline",
|
|
1902
1918
|
"value": {
|
|
1903
1919
|
"type": "boolean",
|
|
1904
1920
|
"kind": "expression"
|
|
@@ -1906,7 +1922,7 @@
|
|
|
1906
1922
|
},
|
|
1907
1923
|
{
|
|
1908
1924
|
"name": "trigger-props",
|
|
1909
|
-
"description": "
|
|
1925
|
+
"description": "Trigger props",
|
|
1910
1926
|
"value": {
|
|
1911
1927
|
"type": "Partial<TriggerProps>",
|
|
1912
1928
|
"kind": "expression"
|
|
@@ -1914,7 +1930,7 @@
|
|
|
1914
1930
|
},
|
|
1915
1931
|
{
|
|
1916
1932
|
"name": "history-colors",
|
|
1917
|
-
"description": "
|
|
1933
|
+
"description": "Legacy history colors",
|
|
1918
1934
|
"value": {
|
|
1919
1935
|
"type": "string[]",
|
|
1920
1936
|
"kind": "expression"
|
|
@@ -1922,11 +1938,51 @@
|
|
|
1922
1938
|
},
|
|
1923
1939
|
{
|
|
1924
1940
|
"name": "preset-colors",
|
|
1925
|
-
"description": "
|
|
1941
|
+
"description": "Legacy preset colors",
|
|
1926
1942
|
"value": {
|
|
1927
1943
|
"type": "string[]",
|
|
1928
1944
|
"kind": "expression"
|
|
1929
1945
|
}
|
|
1946
|
+
},
|
|
1947
|
+
{
|
|
1948
|
+
"name": "show-text",
|
|
1949
|
+
"description": "Legacy show text",
|
|
1950
|
+
"value": {
|
|
1951
|
+
"type": "boolean",
|
|
1952
|
+
"kind": "expression"
|
|
1953
|
+
}
|
|
1954
|
+
},
|
|
1955
|
+
{
|
|
1956
|
+
"name": "show-history",
|
|
1957
|
+
"description": "Legacy show history",
|
|
1958
|
+
"value": {
|
|
1959
|
+
"type": "boolean",
|
|
1960
|
+
"kind": "expression"
|
|
1961
|
+
}
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
"name": "show-preset",
|
|
1965
|
+
"description": "Legacy show preset",
|
|
1966
|
+
"value": {
|
|
1967
|
+
"type": "boolean",
|
|
1968
|
+
"kind": "expression"
|
|
1969
|
+
}
|
|
1970
|
+
},
|
|
1971
|
+
{
|
|
1972
|
+
"name": "disabled-alpha",
|
|
1973
|
+
"description": "Legacy disable alpha",
|
|
1974
|
+
"value": {
|
|
1975
|
+
"type": "boolean",
|
|
1976
|
+
"kind": "expression"
|
|
1977
|
+
}
|
|
1978
|
+
},
|
|
1979
|
+
{
|
|
1980
|
+
"name": "select-input-props",
|
|
1981
|
+
"description": "Select input props",
|
|
1982
|
+
"value": {
|
|
1983
|
+
"type": "Record<string, unknown>",
|
|
1984
|
+
"kind": "expression"
|
|
1985
|
+
}
|
|
1930
1986
|
}
|
|
1931
1987
|
],
|
|
1932
1988
|
"events": [
|
|
@@ -2036,6 +2092,14 @@
|
|
|
2036
2092
|
"kind": "expression"
|
|
2037
2093
|
}
|
|
2038
2094
|
},
|
|
2095
|
+
{
|
|
2096
|
+
"name": "allow-clear",
|
|
2097
|
+
"description": "Whether to enable clear buttons by default",
|
|
2098
|
+
"value": {
|
|
2099
|
+
"type": "boolean",
|
|
2100
|
+
"kind": "expression"
|
|
2101
|
+
}
|
|
2102
|
+
},
|
|
2039
2103
|
{
|
|
2040
2104
|
"name": "global",
|
|
2041
2105
|
"description": "Is global effect",
|
|
@@ -4389,7 +4453,7 @@
|
|
|
4389
4453
|
"name": "max-tag-count",
|
|
4390
4454
|
"description": "The maximum number of tags displayed, `0` means unlimited",
|
|
4391
4455
|
"value": {
|
|
4392
|
-
"type": "number",
|
|
4456
|
+
"type": "number | 'responsive'",
|
|
4393
4457
|
"kind": "expression"
|
|
4394
4458
|
}
|
|
4395
4459
|
},
|
|
@@ -6480,368 +6544,9 @@
|
|
|
6480
6544
|
},
|
|
6481
6545
|
{
|
|
6482
6546
|
"name": "sd-select",
|
|
6483
|
-
"attributes": [
|
|
6484
|
-
|
|
6485
|
-
|
|
6486
|
-
"description": "Whether to open multi-select mode (The search is turned on by default in the multi-select mode)",
|
|
6487
|
-
"value": {
|
|
6488
|
-
"type": "boolean",
|
|
6489
|
-
"kind": "expression"
|
|
6490
|
-
}
|
|
6491
|
-
},
|
|
6492
|
-
{
|
|
6493
|
-
"name": "model-value",
|
|
6494
|
-
"description": "Value",
|
|
6495
|
-
"value": {
|
|
6496
|
-
"type": "| string\n| number\n| boolean\n| Record<string, any>\n| (string | number | boolean | Record<string, any>)[]",
|
|
6497
|
-
"kind": "expression"
|
|
6498
|
-
}
|
|
6499
|
-
},
|
|
6500
|
-
{
|
|
6501
|
-
"name": "default-value",
|
|
6502
|
-
"description": "Default value (uncontrolled mode)",
|
|
6503
|
-
"value": {
|
|
6504
|
-
"type": "| string\n| number\n| boolean\n| Record<string, unknown>\n| (string | number | boolean | Record<string, unknown>)[]",
|
|
6505
|
-
"kind": "expression"
|
|
6506
|
-
}
|
|
6507
|
-
},
|
|
6508
|
-
{
|
|
6509
|
-
"name": "input-value",
|
|
6510
|
-
"description": "The value of the input",
|
|
6511
|
-
"value": {
|
|
6512
|
-
"type": "string",
|
|
6513
|
-
"kind": "expression"
|
|
6514
|
-
}
|
|
6515
|
-
},
|
|
6516
|
-
{
|
|
6517
|
-
"name": "default-input-value",
|
|
6518
|
-
"description": "The default value of the input (uncontrolled mode)",
|
|
6519
|
-
"value": {
|
|
6520
|
-
"type": "string",
|
|
6521
|
-
"kind": "expression"
|
|
6522
|
-
}
|
|
6523
|
-
},
|
|
6524
|
-
{
|
|
6525
|
-
"name": "size",
|
|
6526
|
-
"description": "The size of the select",
|
|
6527
|
-
"value": {
|
|
6528
|
-
"type": "Size",
|
|
6529
|
-
"kind": "expression"
|
|
6530
|
-
}
|
|
6531
|
-
},
|
|
6532
|
-
{
|
|
6533
|
-
"name": "placeholder",
|
|
6534
|
-
"description": "Placeholder",
|
|
6535
|
-
"value": {
|
|
6536
|
-
"type": "string",
|
|
6537
|
-
"kind": "expression"
|
|
6538
|
-
}
|
|
6539
|
-
},
|
|
6540
|
-
{
|
|
6541
|
-
"name": "loading",
|
|
6542
|
-
"description": "Whether it is loading state",
|
|
6543
|
-
"value": {
|
|
6544
|
-
"type": "boolean",
|
|
6545
|
-
"kind": "expression"
|
|
6546
|
-
}
|
|
6547
|
-
},
|
|
6548
|
-
{
|
|
6549
|
-
"name": "disabled",
|
|
6550
|
-
"description": "Whether to disable",
|
|
6551
|
-
"value": {
|
|
6552
|
-
"type": "boolean",
|
|
6553
|
-
"kind": "expression"
|
|
6554
|
-
}
|
|
6555
|
-
},
|
|
6556
|
-
{
|
|
6557
|
-
"name": "error",
|
|
6558
|
-
"description": "Whether it is an error state",
|
|
6559
|
-
"value": {
|
|
6560
|
-
"type": "boolean",
|
|
6561
|
-
"kind": "expression"
|
|
6562
|
-
}
|
|
6563
|
-
},
|
|
6564
|
-
{
|
|
6565
|
-
"name": "allow-clear",
|
|
6566
|
-
"description": "Whether to allow clear",
|
|
6567
|
-
"value": {
|
|
6568
|
-
"type": "boolean",
|
|
6569
|
-
"kind": "expression"
|
|
6570
|
-
}
|
|
6571
|
-
},
|
|
6572
|
-
{
|
|
6573
|
-
"name": "allow-search",
|
|
6574
|
-
"description": "Whether to allow searching",
|
|
6575
|
-
"value": {
|
|
6576
|
-
"type": "boolean | { retainInputValue?: boolean }",
|
|
6577
|
-
"kind": "expression"
|
|
6578
|
-
}
|
|
6579
|
-
},
|
|
6580
|
-
{
|
|
6581
|
-
"name": "allow-create",
|
|
6582
|
-
"description": "Whether to allow creation",
|
|
6583
|
-
"value": {
|
|
6584
|
-
"type": "boolean",
|
|
6585
|
-
"kind": "expression"
|
|
6586
|
-
}
|
|
6587
|
-
},
|
|
6588
|
-
{
|
|
6589
|
-
"name": "max-tag-count",
|
|
6590
|
-
"description": "In multi-select mode, the maximum number of labels displayed. 0 means unlimited",
|
|
6591
|
-
"value": {
|
|
6592
|
-
"type": "number",
|
|
6593
|
-
"kind": "expression"
|
|
6594
|
-
}
|
|
6595
|
-
},
|
|
6596
|
-
{
|
|
6597
|
-
"name": "popup-container",
|
|
6598
|
-
"description": "Mount container for popup",
|
|
6599
|
-
"value": {
|
|
6600
|
-
"type": "string | HTMLElement",
|
|
6601
|
-
"kind": "expression"
|
|
6602
|
-
}
|
|
6603
|
-
},
|
|
6604
|
-
{
|
|
6605
|
-
"name": "bordered",
|
|
6606
|
-
"description": "Whether to display the border of the input box",
|
|
6607
|
-
"value": {
|
|
6608
|
-
"type": "boolean",
|
|
6609
|
-
"kind": "expression"
|
|
6610
|
-
}
|
|
6611
|
-
},
|
|
6612
|
-
{
|
|
6613
|
-
"name": "default-active-first-option",
|
|
6614
|
-
"description": "Whether to select the first option by default when there is no value",
|
|
6615
|
-
"value": {
|
|
6616
|
-
"type": "boolean",
|
|
6617
|
-
"kind": "expression"
|
|
6618
|
-
}
|
|
6619
|
-
},
|
|
6620
|
-
{
|
|
6621
|
-
"name": "popup-visible",
|
|
6622
|
-
"description": "Whether to show the dropdown",
|
|
6623
|
-
"value": {
|
|
6624
|
-
"type": "boolean",
|
|
6625
|
-
"kind": "expression"
|
|
6626
|
-
}
|
|
6627
|
-
},
|
|
6628
|
-
{
|
|
6629
|
-
"name": "default-popup-visible",
|
|
6630
|
-
"description": "Whether the popup is visible by default (uncontrolled mode)",
|
|
6631
|
-
"value": {
|
|
6632
|
-
"type": "boolean",
|
|
6633
|
-
"kind": "expression"
|
|
6634
|
-
}
|
|
6635
|
-
},
|
|
6636
|
-
{
|
|
6637
|
-
"name": "unmount-on-close",
|
|
6638
|
-
"description": "Whether to destroy the element when the dropdown is closed",
|
|
6639
|
-
"value": {
|
|
6640
|
-
"type": "boolean",
|
|
6641
|
-
"kind": "expression"
|
|
6642
|
-
}
|
|
6643
|
-
},
|
|
6644
|
-
{
|
|
6645
|
-
"name": "filter-option",
|
|
6646
|
-
"description": "Whether to filter options",
|
|
6647
|
-
"value": {
|
|
6648
|
-
"type": "boolean | ((inputValue: string, option: SelectOptionData) => boolean)",
|
|
6649
|
-
"kind": "expression"
|
|
6650
|
-
}
|
|
6651
|
-
},
|
|
6652
|
-
{
|
|
6653
|
-
"name": "options",
|
|
6654
|
-
"description": "Option data",
|
|
6655
|
-
"value": {
|
|
6656
|
-
"type": "(string | number | boolean | SelectOptionData | SelectOptionGroup)[]",
|
|
6657
|
-
"kind": "expression"
|
|
6658
|
-
}
|
|
6659
|
-
},
|
|
6660
|
-
{
|
|
6661
|
-
"name": "virtual-list-props",
|
|
6662
|
-
"description": "Pass the virtual list attribute, pass in this parameter to turn on virtual scrolling [VirtualListProps](#VirtualListProps)",
|
|
6663
|
-
"value": {
|
|
6664
|
-
"type": "VirtualListProps",
|
|
6665
|
-
"kind": "expression"
|
|
6666
|
-
}
|
|
6667
|
-
},
|
|
6668
|
-
{
|
|
6669
|
-
"name": "trigger-props",
|
|
6670
|
-
"description": "Trigger props of the drop-down menu",
|
|
6671
|
-
"value": {
|
|
6672
|
-
"type": "TriggerProps",
|
|
6673
|
-
"kind": "expression"
|
|
6674
|
-
}
|
|
6675
|
-
},
|
|
6676
|
-
{
|
|
6677
|
-
"name": "format-label",
|
|
6678
|
-
"description": "Format display content",
|
|
6679
|
-
"value": {
|
|
6680
|
-
"type": "(data: SelectOptionData) => string",
|
|
6681
|
-
"kind": "expression"
|
|
6682
|
-
}
|
|
6683
|
-
},
|
|
6684
|
-
{
|
|
6685
|
-
"name": "fallback-option",
|
|
6686
|
-
"description": "Options that do not exist in custom values",
|
|
6687
|
-
"value": {
|
|
6688
|
-
"type": "boolean | ((value: string | number | boolean | Record<string, unknown>) => SelectOptionData)",
|
|
6689
|
-
"kind": "expression"
|
|
6690
|
-
}
|
|
6691
|
-
},
|
|
6692
|
-
{
|
|
6693
|
-
"name": "show-extra-options",
|
|
6694
|
-
"description": "Options that do not exist in custom values",
|
|
6695
|
-
"value": {
|
|
6696
|
-
"type": "boolean",
|
|
6697
|
-
"kind": "expression"
|
|
6698
|
-
}
|
|
6699
|
-
},
|
|
6700
|
-
{
|
|
6701
|
-
"name": "value-key",
|
|
6702
|
-
"description": "Used to determine the option key value attribute name",
|
|
6703
|
-
"value": {
|
|
6704
|
-
"type": "string",
|
|
6705
|
-
"kind": "expression"
|
|
6706
|
-
}
|
|
6707
|
-
},
|
|
6708
|
-
{
|
|
6709
|
-
"name": "search-delay",
|
|
6710
|
-
"description": "Delay time to trigger search event",
|
|
6711
|
-
"value": {
|
|
6712
|
-
"type": "number",
|
|
6713
|
-
"kind": "expression"
|
|
6714
|
-
}
|
|
6715
|
-
},
|
|
6716
|
-
{
|
|
6717
|
-
"name": "limit",
|
|
6718
|
-
"description": "Maximum number of choices in multiple choice",
|
|
6719
|
-
"value": {
|
|
6720
|
-
"type": "number",
|
|
6721
|
-
"kind": "expression"
|
|
6722
|
-
}
|
|
6723
|
-
},
|
|
6724
|
-
{
|
|
6725
|
-
"name": "field-names",
|
|
6726
|
-
"description": "Customize fields in `SelectOptionData`",
|
|
6727
|
-
"value": {
|
|
6728
|
-
"type": "SelectFieldNames",
|
|
6729
|
-
"kind": "expression"
|
|
6730
|
-
}
|
|
6731
|
-
},
|
|
6732
|
-
{
|
|
6733
|
-
"name": "scrollbar",
|
|
6734
|
-
"description": "Whether to enable virtual scroll bar",
|
|
6735
|
-
"value": {
|
|
6736
|
-
"type": "boolean | ScrollbarProps",
|
|
6737
|
-
"kind": "expression"
|
|
6738
|
-
}
|
|
6739
|
-
},
|
|
6740
|
-
{
|
|
6741
|
-
"name": "show-header-on-empty",
|
|
6742
|
-
"description": "Whether to display the header in the empty state",
|
|
6743
|
-
"value": {
|
|
6744
|
-
"type": "boolean",
|
|
6745
|
-
"kind": "expression"
|
|
6746
|
-
}
|
|
6747
|
-
},
|
|
6748
|
-
{
|
|
6749
|
-
"name": "show-footer-on-empty",
|
|
6750
|
-
"description": "Whether to display the footer in the empty state",
|
|
6751
|
-
"value": {
|
|
6752
|
-
"type": "boolean",
|
|
6753
|
-
"kind": "expression"
|
|
6754
|
-
}
|
|
6755
|
-
},
|
|
6756
|
-
{
|
|
6757
|
-
"name": "tag-nowrap",
|
|
6758
|
-
"description": "Tag content does not wrap",
|
|
6759
|
-
"value": {
|
|
6760
|
-
"type": "boolean",
|
|
6761
|
-
"kind": "expression"
|
|
6762
|
-
}
|
|
6763
|
-
}
|
|
6764
|
-
],
|
|
6765
|
-
"events": [
|
|
6766
|
-
{
|
|
6767
|
-
"name": "change",
|
|
6768
|
-
"description": "Triggered when the value changes"
|
|
6769
|
-
},
|
|
6770
|
-
{
|
|
6771
|
-
"name": "input-value-change",
|
|
6772
|
-
"description": "Triggered when the value of the input changes"
|
|
6773
|
-
},
|
|
6774
|
-
{
|
|
6775
|
-
"name": "popup-visible-change",
|
|
6776
|
-
"description": "Triggered when the display state of the drop-down box changes"
|
|
6777
|
-
},
|
|
6778
|
-
{
|
|
6779
|
-
"name": "clear",
|
|
6780
|
-
"description": "Triggered when the clear button is clicked"
|
|
6781
|
-
},
|
|
6782
|
-
{
|
|
6783
|
-
"name": "remove",
|
|
6784
|
-
"description": "Triggered when the delete button of the label is clicked"
|
|
6785
|
-
},
|
|
6786
|
-
{
|
|
6787
|
-
"name": "search",
|
|
6788
|
-
"description": "Triggered when the user searches"
|
|
6789
|
-
},
|
|
6790
|
-
{
|
|
6791
|
-
"name": "dropdown-scroll",
|
|
6792
|
-
"description": "Triggered when the drop-down scrolls"
|
|
6793
|
-
},
|
|
6794
|
-
{
|
|
6795
|
-
"name": "dropdown-reach-bottom",
|
|
6796
|
-
"description": "Triggered when the drop-down menu is scrolled to the bottom"
|
|
6797
|
-
},
|
|
6798
|
-
{
|
|
6799
|
-
"name": "exceed-limit",
|
|
6800
|
-
"description": "Triggered when multiple selection exceeds the limit"
|
|
6801
|
-
}
|
|
6802
|
-
],
|
|
6803
|
-
"slots": [
|
|
6804
|
-
{
|
|
6805
|
-
"name": "trigger",
|
|
6806
|
-
"description": "Custom trigger element"
|
|
6807
|
-
},
|
|
6808
|
-
{
|
|
6809
|
-
"name": "prefix",
|
|
6810
|
-
"description": "Prefix"
|
|
6811
|
-
},
|
|
6812
|
-
{
|
|
6813
|
-
"name": "search-icon",
|
|
6814
|
-
"description": "Search icon for select box"
|
|
6815
|
-
},
|
|
6816
|
-
{
|
|
6817
|
-
"name": "loading-icon",
|
|
6818
|
-
"description": "Loading icon for select box"
|
|
6819
|
-
},
|
|
6820
|
-
{
|
|
6821
|
-
"name": "arrow-icon",
|
|
6822
|
-
"description": "Arrow icon for select box"
|
|
6823
|
-
},
|
|
6824
|
-
{
|
|
6825
|
-
"name": "footer",
|
|
6826
|
-
"description": "The footer of the drop-down box"
|
|
6827
|
-
},
|
|
6828
|
-
{
|
|
6829
|
-
"name": "header",
|
|
6830
|
-
"description": "The header of the drop-down box"
|
|
6831
|
-
},
|
|
6832
|
-
{
|
|
6833
|
-
"name": "label",
|
|
6834
|
-
"description": "Display content of label"
|
|
6835
|
-
},
|
|
6836
|
-
{
|
|
6837
|
-
"name": "option",
|
|
6838
|
-
"description": "Display content of options"
|
|
6839
|
-
},
|
|
6840
|
-
{
|
|
6841
|
-
"name": "empty",
|
|
6842
|
-
"description": "Display content when the option is empty"
|
|
6843
|
-
}
|
|
6844
|
-
]
|
|
6547
|
+
"attributes": [],
|
|
6548
|
+
"events": [],
|
|
6549
|
+
"slots": []
|
|
6845
6550
|
},
|
|
6846
6551
|
{
|
|
6847
6552
|
"name": "sd-skeleton-line",
|
|
@@ -9456,6 +9161,14 @@
|
|
|
9456
9161
|
"kind": "expression"
|
|
9457
9162
|
}
|
|
9458
9163
|
},
|
|
9164
|
+
{
|
|
9165
|
+
"name": "filterable",
|
|
9166
|
+
"description": "Whether to allow searching, Naive compatibility alias",
|
|
9167
|
+
"value": {
|
|
9168
|
+
"type": "boolean",
|
|
9169
|
+
"kind": "expression"
|
|
9170
|
+
}
|
|
9171
|
+
},
|
|
9459
9172
|
{
|
|
9460
9173
|
"name": "allow-clear",
|
|
9461
9174
|
"description": "Whether to allow clear",
|
|
@@ -9464,6 +9177,14 @@
|
|
|
9464
9177
|
"kind": "expression"
|
|
9465
9178
|
}
|
|
9466
9179
|
},
|
|
9180
|
+
{
|
|
9181
|
+
"name": "clearable",
|
|
9182
|
+
"description": "Whether to allow clear, Naive compatibility alias",
|
|
9183
|
+
"value": {
|
|
9184
|
+
"type": "boolean",
|
|
9185
|
+
"kind": "expression"
|
|
9186
|
+
}
|
|
9187
|
+
},
|
|
9467
9188
|
{
|
|
9468
9189
|
"name": "placeholder",
|
|
9469
9190
|
"description": "Prompt copy",
|
|
@@ -9476,7 +9197,7 @@
|
|
|
9476
9197
|
"name": "max-tag-count",
|
|
9477
9198
|
"description": "The maximum number of labels displayed, only valid in multi-select mode",
|
|
9478
9199
|
"value": {
|
|
9479
|
-
"type": "number",
|
|
9200
|
+
"type": "number | 'responsive'",
|
|
9480
9201
|
"kind": "expression"
|
|
9481
9202
|
}
|
|
9482
9203
|
},
|
|
@@ -9492,7 +9213,7 @@
|
|
|
9492
9213
|
"name": "default-value",
|
|
9493
9214
|
"description": "Default value",
|
|
9494
9215
|
"value": {
|
|
9495
|
-
"type": "
|
|
9216
|
+
"type": "TreeSelectValue",
|
|
9496
9217
|
"kind": "expression"
|
|
9497
9218
|
}
|
|
9498
9219
|
},
|
|
@@ -9504,6 +9225,14 @@
|
|
|
9504
9225
|
"kind": "expression"
|
|
9505
9226
|
}
|
|
9506
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
|
+
},
|
|
9507
9236
|
{
|
|
9508
9237
|
"name": "field-names",
|
|
9509
9238
|
"description": "Specify the field name in the node data",
|
|
@@ -9520,6 +9249,14 @@
|
|
|
9520
9249
|
"kind": "expression"
|
|
9521
9250
|
}
|
|
9522
9251
|
},
|
|
9252
|
+
{
|
|
9253
|
+
"name": "options",
|
|
9254
|
+
"description": "Data, Naive compatibility alias",
|
|
9255
|
+
"value": {
|
|
9256
|
+
"type": "TreeNodeData[]",
|
|
9257
|
+
"kind": "expression"
|
|
9258
|
+
}
|
|
9259
|
+
},
|
|
9523
9260
|
{
|
|
9524
9261
|
"name": "label-in-value",
|
|
9525
9262
|
"description": "Set the value format. The default is string, when set to true, the value format is: {label: string, value: string}",
|
|
@@ -9536,6 +9273,14 @@
|
|
|
9536
9273
|
"kind": "expression"
|
|
9537
9274
|
}
|
|
9538
9275
|
},
|
|
9276
|
+
{
|
|
9277
|
+
"name": "checkable",
|
|
9278
|
+
"description": "Whether to show checkbox, Naive compatibility alias",
|
|
9279
|
+
"value": {
|
|
9280
|
+
"type": "boolean",
|
|
9281
|
+
"kind": "expression"
|
|
9282
|
+
}
|
|
9283
|
+
},
|
|
9539
9284
|
{
|
|
9540
9285
|
"name": "tree-check-strictly",
|
|
9541
9286
|
"description": "Whether the parent and child nodes are related",
|
|
@@ -9552,6 +9297,30 @@
|
|
|
9552
9297
|
"kind": "expression"
|
|
9553
9298
|
}
|
|
9554
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
|
+
},
|
|
9555
9324
|
{
|
|
9556
9325
|
"name": "tree-props",
|
|
9557
9326
|
"description": "Can accept Props of all [Tree](/vue/component/tree) components",
|
|
@@ -9568,6 +9337,14 @@
|
|
|
9568
9337
|
"kind": "expression"
|
|
9569
9338
|
}
|
|
9570
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
|
+
},
|
|
9571
9348
|
{
|
|
9572
9349
|
"name": "popup-visible",
|
|
9573
9350
|
"description": "Whether the pop-up box is visible",
|