@salutejs/sdds-finportal 0.162.0-canary.1550.11777193712.0 → 0.162.0-canary.1552.11776095169.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-finportal.api.md +554 -80
- package/components/Combobox/Combobox.d.ts +504 -24
- package/components/Combobox/index.d.ts +504 -24
- package/components/Select/Select.config.d.ts +7 -15
- package/components/Select/Select.config.js +21 -29
- package/components/Select/Select.d.ts +47 -54
- package/es/components/Select/Select.config.js +22 -30
- package/package.json +3 -3
- package/temp/sdds-finportal.api.md +554 -80
@@ -40,7 +40,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
40
40
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
41
41
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
42
42
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
43
|
-
portal?:
|
43
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
44
44
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
45
45
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
46
46
|
closeAfterSelect?: boolean | undefined;
|
@@ -52,8 +52,10 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
52
52
|
disabled?: true | undefined;
|
53
53
|
alwaysOpened?: false | undefined;
|
54
54
|
} & {
|
55
|
+
name?: undefined;
|
55
56
|
multiple?: false | undefined;
|
56
57
|
value?: string | undefined;
|
58
|
+
defaultValue?: undefined;
|
57
59
|
onChange?: ((value: string) => void) | undefined;
|
58
60
|
isTargetAmount?: false | undefined;
|
59
61
|
targetAmount?: undefined;
|
@@ -63,7 +65,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
63
65
|
} & {
|
64
66
|
required: true;
|
65
67
|
optional?: false | undefined;
|
66
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
68
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
67
69
|
items: ItemOption[];
|
68
70
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
69
71
|
label?: string | undefined;
|
@@ -76,7 +78,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
76
78
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
77
79
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
78
80
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
79
|
-
portal?:
|
81
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
80
82
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
81
83
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
82
84
|
closeAfterSelect?: boolean | undefined;
|
@@ -88,8 +90,10 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
88
90
|
disabled?: true | undefined;
|
89
91
|
alwaysOpened?: false | undefined;
|
90
92
|
} & {
|
93
|
+
name?: undefined;
|
91
94
|
multiple?: false | undefined;
|
92
95
|
value?: string | undefined;
|
96
|
+
defaultValue?: undefined;
|
93
97
|
onChange?: ((value: string) => void) | undefined;
|
94
98
|
isTargetAmount?: false | undefined;
|
95
99
|
targetAmount?: undefined;
|
@@ -99,7 +103,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
99
103
|
} & {
|
100
104
|
optional?: true | undefined;
|
101
105
|
required?: false | undefined;
|
102
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
106
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
103
107
|
items: ItemOption[];
|
104
108
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
105
109
|
label?: string | undefined;
|
@@ -112,7 +116,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
112
116
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
113
117
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
114
118
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
115
|
-
portal?:
|
119
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
116
120
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
117
121
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
118
122
|
closeAfterSelect?: boolean | undefined;
|
@@ -126,16 +130,170 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
126
130
|
} & {
|
127
131
|
multiple: true;
|
128
132
|
value?: string[] | undefined;
|
133
|
+
defaultValue?: string[] | undefined;
|
134
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
135
|
+
isTargetAmount?: false | undefined;
|
136
|
+
targetAmount?: undefined;
|
137
|
+
renderValue?: undefined;
|
138
|
+
name: string;
|
139
|
+
} & {
|
140
|
+
requiredPlacement?: "right" | "left" | undefined;
|
141
|
+
} & {
|
142
|
+
required: true;
|
143
|
+
optional?: false | undefined;
|
144
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
145
|
+
items: ItemOption[];
|
146
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
147
|
+
label?: string | undefined;
|
148
|
+
placeholder?: string | undefined;
|
149
|
+
helperText?: string | undefined;
|
150
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
151
|
+
textBefore?: string | undefined;
|
152
|
+
textAfter?: string | undefined;
|
153
|
+
variant?: "normal" | "tight" | undefined;
|
154
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
155
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
156
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
157
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
158
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
159
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
160
|
+
closeAfterSelect?: boolean | undefined;
|
161
|
+
size?: string | undefined;
|
162
|
+
view?: string | undefined;
|
163
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
164
|
+
} & {
|
165
|
+
readOnly?: boolean | undefined;
|
166
|
+
disabled?: true | undefined;
|
167
|
+
alwaysOpened?: false | undefined;
|
168
|
+
} & {
|
169
|
+
multiple: true;
|
170
|
+
value?: string[] | undefined;
|
171
|
+
defaultValue?: string[] | undefined;
|
172
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
173
|
+
isTargetAmount?: false | undefined;
|
174
|
+
targetAmount?: undefined;
|
175
|
+
renderValue?: undefined;
|
176
|
+
name: string;
|
177
|
+
} & {
|
178
|
+
requiredPlacement?: "right" | "left" | undefined;
|
179
|
+
} & {
|
180
|
+
optional?: true | undefined;
|
181
|
+
required?: false | undefined;
|
182
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
183
|
+
items: ItemOption[];
|
184
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
185
|
+
label?: string | undefined;
|
186
|
+
placeholder?: string | undefined;
|
187
|
+
helperText?: string | undefined;
|
188
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
189
|
+
textBefore?: string | undefined;
|
190
|
+
textAfter?: string | undefined;
|
191
|
+
variant?: "normal" | "tight" | undefined;
|
192
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
193
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
194
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
195
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
196
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
197
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
198
|
+
closeAfterSelect?: boolean | undefined;
|
199
|
+
size?: string | undefined;
|
200
|
+
view?: string | undefined;
|
201
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
202
|
+
} & {
|
203
|
+
readOnly?: boolean | undefined;
|
204
|
+
disabled?: true | undefined;
|
205
|
+
alwaysOpened?: false | undefined;
|
206
|
+
} & {
|
207
|
+
multiple?: false | undefined;
|
208
|
+
value?: string | undefined;
|
209
|
+
defaultValue?: string | undefined;
|
210
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
211
|
+
isTargetAmount?: false | undefined;
|
212
|
+
targetAmount?: undefined;
|
213
|
+
renderValue?: undefined;
|
214
|
+
name: string;
|
215
|
+
} & {
|
216
|
+
requiredPlacement?: "right" | "left" | undefined;
|
217
|
+
} & {
|
218
|
+
required: true;
|
219
|
+
optional?: false | undefined;
|
220
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
221
|
+
items: ItemOption[];
|
222
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
223
|
+
label?: string | undefined;
|
224
|
+
placeholder?: string | undefined;
|
225
|
+
helperText?: string | undefined;
|
226
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
227
|
+
textBefore?: string | undefined;
|
228
|
+
textAfter?: string | undefined;
|
229
|
+
variant?: "normal" | "tight" | undefined;
|
230
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
231
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
232
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
233
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
234
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
235
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
236
|
+
closeAfterSelect?: boolean | undefined;
|
237
|
+
size?: string | undefined;
|
238
|
+
view?: string | undefined;
|
239
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
240
|
+
} & {
|
241
|
+
readOnly?: boolean | undefined;
|
242
|
+
disabled?: true | undefined;
|
243
|
+
alwaysOpened?: false | undefined;
|
244
|
+
} & {
|
245
|
+
multiple?: false | undefined;
|
246
|
+
value?: string | undefined;
|
247
|
+
defaultValue?: string | undefined;
|
248
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
249
|
+
isTargetAmount?: false | undefined;
|
250
|
+
targetAmount?: undefined;
|
251
|
+
renderValue?: undefined;
|
252
|
+
name: string;
|
253
|
+
} & {
|
254
|
+
requiredPlacement?: "right" | "left" | undefined;
|
255
|
+
} & {
|
256
|
+
optional?: true | undefined;
|
257
|
+
required?: false | undefined;
|
258
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
259
|
+
items: ItemOption[];
|
260
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
261
|
+
label?: string | undefined;
|
262
|
+
placeholder?: string | undefined;
|
263
|
+
helperText?: string | undefined;
|
264
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
265
|
+
textBefore?: string | undefined;
|
266
|
+
textAfter?: string | undefined;
|
267
|
+
variant?: "normal" | "tight" | undefined;
|
268
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
269
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
270
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
271
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
272
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
273
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
274
|
+
closeAfterSelect?: boolean | undefined;
|
275
|
+
size?: string | undefined;
|
276
|
+
view?: string | undefined;
|
277
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
278
|
+
} & {
|
279
|
+
readOnly?: boolean | undefined;
|
280
|
+
disabled?: true | undefined;
|
281
|
+
alwaysOpened?: false | undefined;
|
282
|
+
} & {
|
283
|
+
multiple: true;
|
284
|
+
value?: string[] | undefined;
|
285
|
+
defaultValue?: undefined;
|
129
286
|
onChange?: ((value: string[]) => void) | undefined;
|
130
287
|
isTargetAmount?: true | undefined;
|
131
288
|
targetAmount?: number | undefined;
|
132
289
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
290
|
+
name?: undefined;
|
133
291
|
} & {
|
134
292
|
requiredPlacement?: "right" | "left" | undefined;
|
135
293
|
} & {
|
136
294
|
required: true;
|
137
295
|
optional?: false | undefined;
|
138
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
296
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
139
297
|
items: ItemOption[];
|
140
298
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
141
299
|
label?: string | undefined;
|
@@ -148,7 +306,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
148
306
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
149
307
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
150
308
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
151
|
-
portal?:
|
309
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
152
310
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
153
311
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
154
312
|
closeAfterSelect?: boolean | undefined;
|
@@ -162,16 +320,18 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
162
320
|
} & {
|
163
321
|
multiple: true;
|
164
322
|
value?: string[] | undefined;
|
323
|
+
defaultValue?: undefined;
|
165
324
|
onChange?: ((value: string[]) => void) | undefined;
|
166
325
|
isTargetAmount?: true | undefined;
|
167
326
|
targetAmount?: number | undefined;
|
168
327
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
328
|
+
name?: undefined;
|
169
329
|
} & {
|
170
330
|
requiredPlacement?: "right" | "left" | undefined;
|
171
331
|
} & {
|
172
332
|
optional?: true | undefined;
|
173
333
|
required?: false | undefined;
|
174
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
334
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
175
335
|
items: ItemOption[];
|
176
336
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
177
337
|
label?: string | undefined;
|
@@ -184,7 +344,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
184
344
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
185
345
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
186
346
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
187
|
-
portal?:
|
347
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
188
348
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
189
349
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
190
350
|
closeAfterSelect?: boolean | undefined;
|
@@ -196,8 +356,10 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
196
356
|
disabled?: boolean | undefined;
|
197
357
|
alwaysOpened?: false | undefined;
|
198
358
|
} & {
|
359
|
+
name?: undefined;
|
199
360
|
multiple?: false | undefined;
|
200
361
|
value?: string | undefined;
|
362
|
+
defaultValue?: undefined;
|
201
363
|
onChange?: ((value: string) => void) | undefined;
|
202
364
|
isTargetAmount?: false | undefined;
|
203
365
|
targetAmount?: undefined;
|
@@ -207,7 +369,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
207
369
|
} & {
|
208
370
|
required: true;
|
209
371
|
optional?: false | undefined;
|
210
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
372
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
211
373
|
items: ItemOption[];
|
212
374
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
213
375
|
label?: string | undefined;
|
@@ -220,7 +382,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
220
382
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
221
383
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
222
384
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
223
|
-
portal?:
|
385
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
224
386
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
225
387
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
226
388
|
closeAfterSelect?: boolean | undefined;
|
@@ -232,8 +394,10 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
232
394
|
disabled?: boolean | undefined;
|
233
395
|
alwaysOpened?: false | undefined;
|
234
396
|
} & {
|
397
|
+
name?: undefined;
|
235
398
|
multiple?: false | undefined;
|
236
399
|
value?: string | undefined;
|
400
|
+
defaultValue?: undefined;
|
237
401
|
onChange?: ((value: string) => void) | undefined;
|
238
402
|
isTargetAmount?: false | undefined;
|
239
403
|
targetAmount?: undefined;
|
@@ -243,7 +407,83 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
243
407
|
} & {
|
244
408
|
optional?: true | undefined;
|
245
409
|
required?: false | undefined;
|
246
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
410
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
411
|
+
items: ItemOption[];
|
412
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
413
|
+
label?: string | undefined;
|
414
|
+
placeholder?: string | undefined;
|
415
|
+
helperText?: string | undefined;
|
416
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
417
|
+
textBefore?: string | undefined;
|
418
|
+
textAfter?: string | undefined;
|
419
|
+
variant?: "normal" | "tight" | undefined;
|
420
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
421
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
422
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
423
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
424
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
425
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
426
|
+
closeAfterSelect?: boolean | undefined;
|
427
|
+
size?: string | undefined;
|
428
|
+
view?: string | undefined;
|
429
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
430
|
+
} & {
|
431
|
+
readOnly?: true | undefined;
|
432
|
+
disabled?: boolean | undefined;
|
433
|
+
alwaysOpened?: false | undefined;
|
434
|
+
} & {
|
435
|
+
multiple: true;
|
436
|
+
value?: string[] | undefined;
|
437
|
+
defaultValue?: string[] | undefined;
|
438
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
439
|
+
isTargetAmount?: false | undefined;
|
440
|
+
targetAmount?: undefined;
|
441
|
+
renderValue?: undefined;
|
442
|
+
name: string;
|
443
|
+
} & {
|
444
|
+
requiredPlacement?: "right" | "left" | undefined;
|
445
|
+
} & {
|
446
|
+
required: true;
|
447
|
+
optional?: false | undefined;
|
448
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
449
|
+
items: ItemOption[];
|
450
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
451
|
+
label?: string | undefined;
|
452
|
+
placeholder?: string | undefined;
|
453
|
+
helperText?: string | undefined;
|
454
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
455
|
+
textBefore?: string | undefined;
|
456
|
+
textAfter?: string | undefined;
|
457
|
+
variant?: "normal" | "tight" | undefined;
|
458
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
459
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
460
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
461
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
462
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
463
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
464
|
+
closeAfterSelect?: boolean | undefined;
|
465
|
+
size?: string | undefined;
|
466
|
+
view?: string | undefined;
|
467
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
468
|
+
} & {
|
469
|
+
readOnly?: true | undefined;
|
470
|
+
disabled?: boolean | undefined;
|
471
|
+
alwaysOpened?: false | undefined;
|
472
|
+
} & {
|
473
|
+
multiple: true;
|
474
|
+
value?: string[] | undefined;
|
475
|
+
defaultValue?: string[] | undefined;
|
476
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
477
|
+
isTargetAmount?: false | undefined;
|
478
|
+
targetAmount?: undefined;
|
479
|
+
renderValue?: undefined;
|
480
|
+
name: string;
|
481
|
+
} & {
|
482
|
+
requiredPlacement?: "right" | "left" | undefined;
|
483
|
+
} & {
|
484
|
+
optional?: true | undefined;
|
485
|
+
required?: false | undefined;
|
486
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
247
487
|
items: ItemOption[];
|
248
488
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
249
489
|
label?: string | undefined;
|
@@ -256,7 +496,83 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
256
496
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
257
497
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
258
498
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
259
|
-
portal?:
|
499
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
500
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
501
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
502
|
+
closeAfterSelect?: boolean | undefined;
|
503
|
+
size?: string | undefined;
|
504
|
+
view?: string | undefined;
|
505
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
506
|
+
} & {
|
507
|
+
readOnly?: true | undefined;
|
508
|
+
disabled?: boolean | undefined;
|
509
|
+
alwaysOpened?: false | undefined;
|
510
|
+
} & {
|
511
|
+
multiple?: false | undefined;
|
512
|
+
value?: string | undefined;
|
513
|
+
defaultValue?: string | undefined;
|
514
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
515
|
+
isTargetAmount?: false | undefined;
|
516
|
+
targetAmount?: undefined;
|
517
|
+
renderValue?: undefined;
|
518
|
+
name: string;
|
519
|
+
} & {
|
520
|
+
requiredPlacement?: "right" | "left" | undefined;
|
521
|
+
} & {
|
522
|
+
required: true;
|
523
|
+
optional?: false | undefined;
|
524
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
525
|
+
items: ItemOption[];
|
526
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
527
|
+
label?: string | undefined;
|
528
|
+
placeholder?: string | undefined;
|
529
|
+
helperText?: string | undefined;
|
530
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
531
|
+
textBefore?: string | undefined;
|
532
|
+
textAfter?: string | undefined;
|
533
|
+
variant?: "normal" | "tight" | undefined;
|
534
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
535
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
536
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
537
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
538
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
539
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
540
|
+
closeAfterSelect?: boolean | undefined;
|
541
|
+
size?: string | undefined;
|
542
|
+
view?: string | undefined;
|
543
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
544
|
+
} & {
|
545
|
+
readOnly?: true | undefined;
|
546
|
+
disabled?: boolean | undefined;
|
547
|
+
alwaysOpened?: false | undefined;
|
548
|
+
} & {
|
549
|
+
multiple?: false | undefined;
|
550
|
+
value?: string | undefined;
|
551
|
+
defaultValue?: string | undefined;
|
552
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
553
|
+
isTargetAmount?: false | undefined;
|
554
|
+
targetAmount?: undefined;
|
555
|
+
renderValue?: undefined;
|
556
|
+
name: string;
|
557
|
+
} & {
|
558
|
+
requiredPlacement?: "right" | "left" | undefined;
|
559
|
+
} & {
|
560
|
+
optional?: true | undefined;
|
561
|
+
required?: false | undefined;
|
562
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
563
|
+
items: ItemOption[];
|
564
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
565
|
+
label?: string | undefined;
|
566
|
+
placeholder?: string | undefined;
|
567
|
+
helperText?: string | undefined;
|
568
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
569
|
+
textBefore?: string | undefined;
|
570
|
+
textAfter?: string | undefined;
|
571
|
+
variant?: "normal" | "tight" | undefined;
|
572
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
573
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
574
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
575
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
260
576
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
261
577
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
262
578
|
closeAfterSelect?: boolean | undefined;
|
@@ -270,16 +586,18 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
270
586
|
} & {
|
271
587
|
multiple: true;
|
272
588
|
value?: string[] | undefined;
|
589
|
+
defaultValue?: undefined;
|
273
590
|
onChange?: ((value: string[]) => void) | undefined;
|
274
591
|
isTargetAmount?: true | undefined;
|
275
592
|
targetAmount?: number | undefined;
|
276
593
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
594
|
+
name?: undefined;
|
277
595
|
} & {
|
278
596
|
requiredPlacement?: "right" | "left" | undefined;
|
279
597
|
} & {
|
280
598
|
required: true;
|
281
599
|
optional?: false | undefined;
|
282
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
600
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
283
601
|
items: ItemOption[];
|
284
602
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
285
603
|
label?: string | undefined;
|
@@ -292,7 +610,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
292
610
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
293
611
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
294
612
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
295
|
-
portal?:
|
613
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
296
614
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
297
615
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
298
616
|
closeAfterSelect?: boolean | undefined;
|
@@ -306,16 +624,18 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
306
624
|
} & {
|
307
625
|
multiple: true;
|
308
626
|
value?: string[] | undefined;
|
627
|
+
defaultValue?: undefined;
|
309
628
|
onChange?: ((value: string[]) => void) | undefined;
|
310
629
|
isTargetAmount?: true | undefined;
|
311
630
|
targetAmount?: number | undefined;
|
312
631
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
632
|
+
name?: undefined;
|
313
633
|
} & {
|
314
634
|
requiredPlacement?: "right" | "left" | undefined;
|
315
635
|
} & {
|
316
636
|
optional?: true | undefined;
|
317
637
|
required?: false | undefined;
|
318
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
638
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
319
639
|
items: ItemOption[];
|
320
640
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
321
641
|
label?: string | undefined;
|
@@ -328,7 +648,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
328
648
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
329
649
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
330
650
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
331
|
-
portal?:
|
651
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
332
652
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
333
653
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
334
654
|
closeAfterSelect?: boolean | undefined;
|
@@ -340,8 +660,10 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
340
660
|
disabled?: false | undefined;
|
341
661
|
alwaysOpened?: true | undefined;
|
342
662
|
} & {
|
663
|
+
name?: undefined;
|
343
664
|
multiple?: false | undefined;
|
344
665
|
value?: string | undefined;
|
666
|
+
defaultValue?: undefined;
|
345
667
|
onChange?: ((value: string) => void) | undefined;
|
346
668
|
isTargetAmount?: false | undefined;
|
347
669
|
targetAmount?: undefined;
|
@@ -351,7 +673,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
351
673
|
} & {
|
352
674
|
required: true;
|
353
675
|
optional?: false | undefined;
|
354
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
676
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
355
677
|
items: ItemOption[];
|
356
678
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
357
679
|
label?: string | undefined;
|
@@ -364,7 +686,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
364
686
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
365
687
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
366
688
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
367
|
-
portal?:
|
689
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
368
690
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
369
691
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
370
692
|
closeAfterSelect?: boolean | undefined;
|
@@ -376,8 +698,10 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
376
698
|
disabled?: false | undefined;
|
377
699
|
alwaysOpened?: true | undefined;
|
378
700
|
} & {
|
701
|
+
name?: undefined;
|
379
702
|
multiple?: false | undefined;
|
380
703
|
value?: string | undefined;
|
704
|
+
defaultValue?: undefined;
|
381
705
|
onChange?: ((value: string) => void) | undefined;
|
382
706
|
isTargetAmount?: false | undefined;
|
383
707
|
targetAmount?: undefined;
|
@@ -387,7 +711,159 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
387
711
|
} & {
|
388
712
|
optional?: true | undefined;
|
389
713
|
required?: false | undefined;
|
390
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
714
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
715
|
+
items: ItemOption[];
|
716
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
717
|
+
label?: string | undefined;
|
718
|
+
placeholder?: string | undefined;
|
719
|
+
helperText?: string | undefined;
|
720
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
721
|
+
textBefore?: string | undefined;
|
722
|
+
textAfter?: string | undefined;
|
723
|
+
variant?: "normal" | "tight" | undefined;
|
724
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
725
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
726
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
727
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
728
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
729
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
730
|
+
closeAfterSelect?: boolean | undefined;
|
731
|
+
size?: string | undefined;
|
732
|
+
view?: string | undefined;
|
733
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
734
|
+
} & {
|
735
|
+
readOnly?: false | undefined;
|
736
|
+
disabled?: false | undefined;
|
737
|
+
alwaysOpened?: true | undefined;
|
738
|
+
} & {
|
739
|
+
multiple: true;
|
740
|
+
value?: string[] | undefined;
|
741
|
+
defaultValue?: string[] | undefined;
|
742
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
743
|
+
isTargetAmount?: false | undefined;
|
744
|
+
targetAmount?: undefined;
|
745
|
+
renderValue?: undefined;
|
746
|
+
name: string;
|
747
|
+
} & {
|
748
|
+
requiredPlacement?: "right" | "left" | undefined;
|
749
|
+
} & {
|
750
|
+
required: true;
|
751
|
+
optional?: false | undefined;
|
752
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
753
|
+
items: ItemOption[];
|
754
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
755
|
+
label?: string | undefined;
|
756
|
+
placeholder?: string | undefined;
|
757
|
+
helperText?: string | undefined;
|
758
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
759
|
+
textBefore?: string | undefined;
|
760
|
+
textAfter?: string | undefined;
|
761
|
+
variant?: "normal" | "tight" | undefined;
|
762
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
763
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
764
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
765
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
766
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
767
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
768
|
+
closeAfterSelect?: boolean | undefined;
|
769
|
+
size?: string | undefined;
|
770
|
+
view?: string | undefined;
|
771
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
772
|
+
} & {
|
773
|
+
readOnly?: false | undefined;
|
774
|
+
disabled?: false | undefined;
|
775
|
+
alwaysOpened?: true | undefined;
|
776
|
+
} & {
|
777
|
+
multiple: true;
|
778
|
+
value?: string[] | undefined;
|
779
|
+
defaultValue?: string[] | undefined;
|
780
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
781
|
+
isTargetAmount?: false | undefined;
|
782
|
+
targetAmount?: undefined;
|
783
|
+
renderValue?: undefined;
|
784
|
+
name: string;
|
785
|
+
} & {
|
786
|
+
requiredPlacement?: "right" | "left" | undefined;
|
787
|
+
} & {
|
788
|
+
optional?: true | undefined;
|
789
|
+
required?: false | undefined;
|
790
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
791
|
+
items: ItemOption[];
|
792
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
793
|
+
label?: string | undefined;
|
794
|
+
placeholder?: string | undefined;
|
795
|
+
helperText?: string | undefined;
|
796
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
797
|
+
textBefore?: string | undefined;
|
798
|
+
textAfter?: string | undefined;
|
799
|
+
variant?: "normal" | "tight" | undefined;
|
800
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
801
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
802
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
803
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
804
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
805
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
806
|
+
closeAfterSelect?: boolean | undefined;
|
807
|
+
size?: string | undefined;
|
808
|
+
view?: string | undefined;
|
809
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
810
|
+
} & {
|
811
|
+
readOnly?: false | undefined;
|
812
|
+
disabled?: false | undefined;
|
813
|
+
alwaysOpened?: true | undefined;
|
814
|
+
} & {
|
815
|
+
multiple?: false | undefined;
|
816
|
+
value?: string | undefined;
|
817
|
+
defaultValue?: string | undefined;
|
818
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
819
|
+
isTargetAmount?: false | undefined;
|
820
|
+
targetAmount?: undefined;
|
821
|
+
renderValue?: undefined;
|
822
|
+
name: string;
|
823
|
+
} & {
|
824
|
+
requiredPlacement?: "right" | "left" | undefined;
|
825
|
+
} & {
|
826
|
+
required: true;
|
827
|
+
optional?: false | undefined;
|
828
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
829
|
+
items: ItemOption[];
|
830
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
831
|
+
label?: string | undefined;
|
832
|
+
placeholder?: string | undefined;
|
833
|
+
helperText?: string | undefined;
|
834
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
835
|
+
textBefore?: string | undefined;
|
836
|
+
textAfter?: string | undefined;
|
837
|
+
variant?: "normal" | "tight" | undefined;
|
838
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
839
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
840
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
841
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
842
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
843
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
844
|
+
closeAfterSelect?: boolean | undefined;
|
845
|
+
size?: string | undefined;
|
846
|
+
view?: string | undefined;
|
847
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
848
|
+
} & {
|
849
|
+
readOnly?: false | undefined;
|
850
|
+
disabled?: false | undefined;
|
851
|
+
alwaysOpened?: true | undefined;
|
852
|
+
} & {
|
853
|
+
multiple?: false | undefined;
|
854
|
+
value?: string | undefined;
|
855
|
+
defaultValue?: string | undefined;
|
856
|
+
onChange?: import("react").ChangeEventHandler<Element> | undefined;
|
857
|
+
isTargetAmount?: false | undefined;
|
858
|
+
targetAmount?: undefined;
|
859
|
+
renderValue?: undefined;
|
860
|
+
name: string;
|
861
|
+
} & {
|
862
|
+
requiredPlacement?: "right" | "left" | undefined;
|
863
|
+
} & {
|
864
|
+
optional?: true | undefined;
|
865
|
+
required?: false | undefined;
|
866
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
391
867
|
items: ItemOption[];
|
392
868
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
393
869
|
label?: string | undefined;
|
@@ -400,7 +876,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
400
876
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
401
877
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
402
878
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
403
|
-
portal?:
|
879
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
404
880
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
405
881
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
406
882
|
closeAfterSelect?: boolean | undefined;
|
@@ -414,16 +890,18 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
414
890
|
} & {
|
415
891
|
multiple: true;
|
416
892
|
value?: string[] | undefined;
|
893
|
+
defaultValue?: undefined;
|
417
894
|
onChange?: ((value: string[]) => void) | undefined;
|
418
895
|
isTargetAmount?: true | undefined;
|
419
896
|
targetAmount?: number | undefined;
|
420
897
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
898
|
+
name?: undefined;
|
421
899
|
} & {
|
422
900
|
requiredPlacement?: "right" | "left" | undefined;
|
423
901
|
} & {
|
424
902
|
required: true;
|
425
903
|
optional?: false | undefined;
|
426
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
904
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>) | ({
|
427
905
|
items: ItemOption[];
|
428
906
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
429
907
|
label?: string | undefined;
|
@@ -436,7 +914,7 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
436
914
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
437
915
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
438
916
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
439
|
-
portal?:
|
917
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
440
918
|
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
441
919
|
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
442
920
|
closeAfterSelect?: boolean | undefined;
|
@@ -450,16 +928,18 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
450
928
|
} & {
|
451
929
|
multiple: true;
|
452
930
|
value?: string[] | undefined;
|
931
|
+
defaultValue?: undefined;
|
453
932
|
onChange?: ((value: string[]) => void) | undefined;
|
454
933
|
isTargetAmount?: true | undefined;
|
455
934
|
targetAmount?: number | undefined;
|
456
935
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
936
|
+
name?: undefined;
|
457
937
|
} & {
|
458
938
|
requiredPlacement?: "right" | "left" | undefined;
|
459
939
|
} & {
|
460
940
|
optional?: true | undefined;
|
461
941
|
required?: false | undefined;
|
462
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>)), "view" | "size" | "disabled" | "readOnly" | "labelPlacement"> & {
|
942
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "name" | "value"> & import("react").RefAttributes<HTMLInputElement | HTMLSelectElement>)), "view" | "size" | "disabled" | "readOnly" | "labelPlacement"> & {
|
463
943
|
ref?: ForwardedRef<HTMLInputElement> | undefined;
|
464
944
|
}) => ReactElement | null;
|
465
945
|
export { Combobox };
|