@next-bricks/form 1.16.0 → 1.16.2
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/bricks.json +33 -33
- package/dist/chunks/8653.d5c60d3b.js +3 -0
- package/dist/chunks/8653.d5c60d3b.js.map +1 -0
- package/dist/chunks/eo-select.0e3b0626.js +3 -0
- package/dist/chunks/eo-select.0e3b0626.js.map +1 -0
- package/dist/chunks/eo-textarea.95aa303c.js +3 -0
- package/dist/chunks/eo-textarea.95aa303c.js.map +1 -0
- package/dist/chunks/eo-time-range-picker.1a1cddcd.js +2 -0
- package/dist/chunks/eo-time-range-picker.1a1cddcd.js.map +1 -0
- package/dist/chunks/{main.3fba8d87.js → main.435bde11.js} +2 -2
- package/dist/chunks/{main.3fba8d87.js.map → main.435bde11.js.map} +1 -1
- package/dist/examples.json +12 -12
- package/dist/index.927290fa.js +2 -0
- package/dist/index.927290fa.js.map +1 -0
- package/dist/manifest.json +458 -452
- package/dist/types.json +205 -188
- package/dist-types/select/index.d.ts +5 -0
- package/package.json +2 -2
- package/dist/chunks/5347.2f87fd08.js +0 -3
- package/dist/chunks/5347.2f87fd08.js.map +0 -1
- package/dist/chunks/eo-select.6e142ce3.js +0 -3
- package/dist/chunks/eo-select.6e142ce3.js.map +0 -1
- package/dist/chunks/eo-textarea.66c4e981.js +0 -3
- package/dist/chunks/eo-textarea.66c4e981.js.map +0 -1
- package/dist/chunks/eo-time-range-picker.586762ea.js +0 -2
- package/dist/chunks/eo-time-range-picker.586762ea.js.map +0 -1
- package/dist/index.a43217c7.js +0 -2
- package/dist/index.a43217c7.js.map +0 -1
- package/dist-types/textarea/calculateAutoSizeStyle.d.ts +0 -1
- /package/dist/chunks/{5347.2f87fd08.js.LICENSE.txt → 8653.d5c60d3b.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-select.6e142ce3.js.LICENSE.txt → eo-select.0e3b0626.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{eo-textarea.66c4e981.js.LICENSE.txt → eo-textarea.95aa303c.js.LICENSE.txt} +0 -0
package/dist/types.json
CHANGED
|
@@ -1,4 +1,192 @@
|
|
|
1
1
|
{
|
|
2
|
+
"eo-textarea": {
|
|
3
|
+
"properties": [
|
|
4
|
+
{
|
|
5
|
+
"name": "name",
|
|
6
|
+
"annotation": {
|
|
7
|
+
"type": "keyword",
|
|
8
|
+
"value": "string"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "label",
|
|
13
|
+
"annotation": {
|
|
14
|
+
"type": "keyword",
|
|
15
|
+
"value": "string"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "value",
|
|
20
|
+
"annotation": {
|
|
21
|
+
"type": "keyword",
|
|
22
|
+
"value": "string"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "placeholder",
|
|
27
|
+
"annotation": {
|
|
28
|
+
"type": "keyword",
|
|
29
|
+
"value": "string"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "disabled",
|
|
34
|
+
"annotation": {
|
|
35
|
+
"type": "keyword",
|
|
36
|
+
"value": "boolean"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "minLength",
|
|
41
|
+
"annotation": {
|
|
42
|
+
"type": "keyword",
|
|
43
|
+
"value": "number"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "maxLength",
|
|
48
|
+
"annotation": {
|
|
49
|
+
"type": "keyword",
|
|
50
|
+
"value": "number"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "autoSize",
|
|
55
|
+
"annotation": {
|
|
56
|
+
"type": "reference",
|
|
57
|
+
"typeName": {
|
|
58
|
+
"type": "identifier",
|
|
59
|
+
"name": "AutoSize"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "required",
|
|
65
|
+
"annotation": {
|
|
66
|
+
"type": "keyword",
|
|
67
|
+
"value": "boolean"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "max",
|
|
72
|
+
"annotation": {
|
|
73
|
+
"type": "keyword",
|
|
74
|
+
"value": "number"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "min",
|
|
79
|
+
"annotation": {
|
|
80
|
+
"type": "keyword",
|
|
81
|
+
"value": "number"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "message",
|
|
86
|
+
"annotation": {
|
|
87
|
+
"type": "reference",
|
|
88
|
+
"typeName": {
|
|
89
|
+
"type": "identifier",
|
|
90
|
+
"name": "Record"
|
|
91
|
+
},
|
|
92
|
+
"typeParameters": {
|
|
93
|
+
"type": "typeParameterInstantiation",
|
|
94
|
+
"params": [
|
|
95
|
+
{
|
|
96
|
+
"type": "keyword",
|
|
97
|
+
"value": "string"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"type": "keyword",
|
|
101
|
+
"value": "string"
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "textareaStyle",
|
|
109
|
+
"annotation": {
|
|
110
|
+
"type": "reference",
|
|
111
|
+
"typeName": {
|
|
112
|
+
"type": "qualifiedName",
|
|
113
|
+
"left": {
|
|
114
|
+
"type": "identifier",
|
|
115
|
+
"name": "React"
|
|
116
|
+
},
|
|
117
|
+
"right": {
|
|
118
|
+
"type": "identifier",
|
|
119
|
+
"name": "CSSProperties"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"events": [
|
|
126
|
+
{
|
|
127
|
+
"name": "change",
|
|
128
|
+
"detail": {
|
|
129
|
+
"annotation": {
|
|
130
|
+
"type": "keyword",
|
|
131
|
+
"value": "string"
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"methods": [
|
|
137
|
+
{
|
|
138
|
+
"name": "focusTextarea",
|
|
139
|
+
"params": [],
|
|
140
|
+
"returns": {}
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"types": [
|
|
144
|
+
{
|
|
145
|
+
"type": "typeAlias",
|
|
146
|
+
"name": "AutoSize",
|
|
147
|
+
"annotation": {
|
|
148
|
+
"type": "union",
|
|
149
|
+
"types": [
|
|
150
|
+
{
|
|
151
|
+
"type": "keyword",
|
|
152
|
+
"value": "boolean"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"type": "typeLiteral",
|
|
156
|
+
"members": [
|
|
157
|
+
{
|
|
158
|
+
"type": "propertySignature",
|
|
159
|
+
"key": {
|
|
160
|
+
"type": "identifier",
|
|
161
|
+
"name": "minRows"
|
|
162
|
+
},
|
|
163
|
+
"annotation": {
|
|
164
|
+
"type": "keyword",
|
|
165
|
+
"value": "number"
|
|
166
|
+
},
|
|
167
|
+
"optional": true,
|
|
168
|
+
"computed": false
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"type": "propertySignature",
|
|
172
|
+
"key": {
|
|
173
|
+
"type": "identifier",
|
|
174
|
+
"name": "maxRows"
|
|
175
|
+
},
|
|
176
|
+
"annotation": {
|
|
177
|
+
"type": "keyword",
|
|
178
|
+
"value": "number"
|
|
179
|
+
},
|
|
180
|
+
"optional": true,
|
|
181
|
+
"computed": false
|
|
182
|
+
}
|
|
183
|
+
]
|
|
184
|
+
}
|
|
185
|
+
]
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
]
|
|
189
|
+
},
|
|
2
190
|
"eo-submit-buttons": {
|
|
3
191
|
"properties": [
|
|
4
192
|
{
|
|
@@ -793,6 +981,23 @@
|
|
|
793
981
|
}
|
|
794
982
|
}
|
|
795
983
|
},
|
|
984
|
+
{
|
|
985
|
+
"name": "dropdownStyle",
|
|
986
|
+
"annotation": {
|
|
987
|
+
"type": "reference",
|
|
988
|
+
"typeName": {
|
|
989
|
+
"type": "qualifiedName",
|
|
990
|
+
"left": {
|
|
991
|
+
"type": "identifier",
|
|
992
|
+
"name": "React"
|
|
993
|
+
},
|
|
994
|
+
"right": {
|
|
995
|
+
"type": "identifier",
|
|
996
|
+
"name": "CSSProperties"
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
},
|
|
796
1001
|
{
|
|
797
1002
|
"name": "dropdownHoist",
|
|
798
1003
|
"annotation": {
|
|
@@ -1779,194 +1984,6 @@
|
|
|
1779
1984
|
}
|
|
1780
1985
|
]
|
|
1781
1986
|
},
|
|
1782
|
-
"eo-textarea": {
|
|
1783
|
-
"properties": [
|
|
1784
|
-
{
|
|
1785
|
-
"name": "name",
|
|
1786
|
-
"annotation": {
|
|
1787
|
-
"type": "keyword",
|
|
1788
|
-
"value": "string"
|
|
1789
|
-
}
|
|
1790
|
-
},
|
|
1791
|
-
{
|
|
1792
|
-
"name": "label",
|
|
1793
|
-
"annotation": {
|
|
1794
|
-
"type": "keyword",
|
|
1795
|
-
"value": "string"
|
|
1796
|
-
}
|
|
1797
|
-
},
|
|
1798
|
-
{
|
|
1799
|
-
"name": "value",
|
|
1800
|
-
"annotation": {
|
|
1801
|
-
"type": "keyword",
|
|
1802
|
-
"value": "string"
|
|
1803
|
-
}
|
|
1804
|
-
},
|
|
1805
|
-
{
|
|
1806
|
-
"name": "placeholder",
|
|
1807
|
-
"annotation": {
|
|
1808
|
-
"type": "keyword",
|
|
1809
|
-
"value": "string"
|
|
1810
|
-
}
|
|
1811
|
-
},
|
|
1812
|
-
{
|
|
1813
|
-
"name": "disabled",
|
|
1814
|
-
"annotation": {
|
|
1815
|
-
"type": "keyword",
|
|
1816
|
-
"value": "boolean"
|
|
1817
|
-
}
|
|
1818
|
-
},
|
|
1819
|
-
{
|
|
1820
|
-
"name": "minLength",
|
|
1821
|
-
"annotation": {
|
|
1822
|
-
"type": "keyword",
|
|
1823
|
-
"value": "number"
|
|
1824
|
-
}
|
|
1825
|
-
},
|
|
1826
|
-
{
|
|
1827
|
-
"name": "maxLength",
|
|
1828
|
-
"annotation": {
|
|
1829
|
-
"type": "keyword",
|
|
1830
|
-
"value": "number"
|
|
1831
|
-
}
|
|
1832
|
-
},
|
|
1833
|
-
{
|
|
1834
|
-
"name": "autoSize",
|
|
1835
|
-
"annotation": {
|
|
1836
|
-
"type": "reference",
|
|
1837
|
-
"typeName": {
|
|
1838
|
-
"type": "identifier",
|
|
1839
|
-
"name": "AutoSize"
|
|
1840
|
-
}
|
|
1841
|
-
}
|
|
1842
|
-
},
|
|
1843
|
-
{
|
|
1844
|
-
"name": "required",
|
|
1845
|
-
"annotation": {
|
|
1846
|
-
"type": "keyword",
|
|
1847
|
-
"value": "boolean"
|
|
1848
|
-
}
|
|
1849
|
-
},
|
|
1850
|
-
{
|
|
1851
|
-
"name": "max",
|
|
1852
|
-
"annotation": {
|
|
1853
|
-
"type": "keyword",
|
|
1854
|
-
"value": "number"
|
|
1855
|
-
}
|
|
1856
|
-
},
|
|
1857
|
-
{
|
|
1858
|
-
"name": "min",
|
|
1859
|
-
"annotation": {
|
|
1860
|
-
"type": "keyword",
|
|
1861
|
-
"value": "number"
|
|
1862
|
-
}
|
|
1863
|
-
},
|
|
1864
|
-
{
|
|
1865
|
-
"name": "message",
|
|
1866
|
-
"annotation": {
|
|
1867
|
-
"type": "reference",
|
|
1868
|
-
"typeName": {
|
|
1869
|
-
"type": "identifier",
|
|
1870
|
-
"name": "Record"
|
|
1871
|
-
},
|
|
1872
|
-
"typeParameters": {
|
|
1873
|
-
"type": "typeParameterInstantiation",
|
|
1874
|
-
"params": [
|
|
1875
|
-
{
|
|
1876
|
-
"type": "keyword",
|
|
1877
|
-
"value": "string"
|
|
1878
|
-
},
|
|
1879
|
-
{
|
|
1880
|
-
"type": "keyword",
|
|
1881
|
-
"value": "string"
|
|
1882
|
-
}
|
|
1883
|
-
]
|
|
1884
|
-
}
|
|
1885
|
-
}
|
|
1886
|
-
},
|
|
1887
|
-
{
|
|
1888
|
-
"name": "textareaStyle",
|
|
1889
|
-
"annotation": {
|
|
1890
|
-
"type": "reference",
|
|
1891
|
-
"typeName": {
|
|
1892
|
-
"type": "qualifiedName",
|
|
1893
|
-
"left": {
|
|
1894
|
-
"type": "identifier",
|
|
1895
|
-
"name": "React"
|
|
1896
|
-
},
|
|
1897
|
-
"right": {
|
|
1898
|
-
"type": "identifier",
|
|
1899
|
-
"name": "CSSProperties"
|
|
1900
|
-
}
|
|
1901
|
-
}
|
|
1902
|
-
}
|
|
1903
|
-
}
|
|
1904
|
-
],
|
|
1905
|
-
"events": [
|
|
1906
|
-
{
|
|
1907
|
-
"name": "change",
|
|
1908
|
-
"detail": {
|
|
1909
|
-
"annotation": {
|
|
1910
|
-
"type": "keyword",
|
|
1911
|
-
"value": "string"
|
|
1912
|
-
}
|
|
1913
|
-
}
|
|
1914
|
-
}
|
|
1915
|
-
],
|
|
1916
|
-
"methods": [
|
|
1917
|
-
{
|
|
1918
|
-
"name": "focusTextarea",
|
|
1919
|
-
"params": [],
|
|
1920
|
-
"returns": {}
|
|
1921
|
-
}
|
|
1922
|
-
],
|
|
1923
|
-
"types": [
|
|
1924
|
-
{
|
|
1925
|
-
"type": "typeAlias",
|
|
1926
|
-
"name": "AutoSize",
|
|
1927
|
-
"annotation": {
|
|
1928
|
-
"type": "union",
|
|
1929
|
-
"types": [
|
|
1930
|
-
{
|
|
1931
|
-
"type": "keyword",
|
|
1932
|
-
"value": "boolean"
|
|
1933
|
-
},
|
|
1934
|
-
{
|
|
1935
|
-
"type": "typeLiteral",
|
|
1936
|
-
"members": [
|
|
1937
|
-
{
|
|
1938
|
-
"type": "propertySignature",
|
|
1939
|
-
"key": {
|
|
1940
|
-
"type": "identifier",
|
|
1941
|
-
"name": "minRows"
|
|
1942
|
-
},
|
|
1943
|
-
"annotation": {
|
|
1944
|
-
"type": "keyword",
|
|
1945
|
-
"value": "number"
|
|
1946
|
-
},
|
|
1947
|
-
"optional": true,
|
|
1948
|
-
"computed": false
|
|
1949
|
-
},
|
|
1950
|
-
{
|
|
1951
|
-
"type": "propertySignature",
|
|
1952
|
-
"key": {
|
|
1953
|
-
"type": "identifier",
|
|
1954
|
-
"name": "maxRows"
|
|
1955
|
-
},
|
|
1956
|
-
"annotation": {
|
|
1957
|
-
"type": "keyword",
|
|
1958
|
-
"value": "number"
|
|
1959
|
-
},
|
|
1960
|
-
"optional": true,
|
|
1961
|
-
"computed": false
|
|
1962
|
-
}
|
|
1963
|
-
]
|
|
1964
|
-
}
|
|
1965
|
-
]
|
|
1966
|
-
}
|
|
1967
|
-
}
|
|
1968
|
-
]
|
|
1969
|
-
},
|
|
1970
1987
|
"eo-form": {
|
|
1971
1988
|
"properties": [
|
|
1972
1989
|
{
|
|
@@ -44,6 +44,7 @@ export interface SelectProps extends FormItemProps {
|
|
|
44
44
|
clearable?: boolean;
|
|
45
45
|
disabled?: boolean;
|
|
46
46
|
inputStyle?: React.CSSProperties;
|
|
47
|
+
dropdownStyle?: React.CSSProperties;
|
|
47
48
|
dropdownHoist?: boolean;
|
|
48
49
|
validateState?: string;
|
|
49
50
|
onChange?: (value: any, options: GeneralComplexOption[]) => void;
|
|
@@ -138,6 +139,10 @@ declare class Select extends FormItemElementBase {
|
|
|
138
139
|
* 输入框样式
|
|
139
140
|
*/
|
|
140
141
|
accessor inputStyle: React.CSSProperties | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* 下拉框样式
|
|
144
|
+
*/
|
|
145
|
+
accessor dropdownStyle: React.CSSProperties | undefined;
|
|
141
146
|
/**
|
|
142
147
|
* 下拉框是否使用固定定位防止内容被裁切
|
|
143
148
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/form",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.2",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/form",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"@next-bricks/icons": "*",
|
|
45
45
|
"@next-bricks/illustrations": "*"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "59b6f147376673a5a44c1958b50be271178cf6e7"
|
|
48
48
|
}
|