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