@salutejs/sdds-finportal 0.169.0-canary.1546.11913646617.0 → 0.169.0-canary.1556.11915399849.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,7 +42,10 @@ 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
- labelPlacement?: "outer" | "inner" | undefined;
45
+ } & {
46
+ label?: string | undefined;
47
+ labelPlacement: "inner";
48
+ hasPlaceholder?: boolean | undefined;
47
49
  } & {
48
50
  readOnly?: boolean | undefined;
49
51
  disabled?: true | undefined;
@@ -55,15 +57,13 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
55
57
  isTargetAmount?: false | undefined;
56
58
  targetAmount?: undefined;
57
59
  renderValue?: undefined;
58
- } & {
59
- requiredPlacement?: "right" | "left" | undefined;
60
60
  } & {
61
61
  required: true;
62
+ requiredPlacement?: "right" | "left" | undefined;
62
63
  optional?: false | undefined;
63
64
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
64
65
  items: ItemOption[];
65
66
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
66
- label?: string | undefined;
67
67
  placeholder?: string | undefined;
68
68
  helperText?: string | undefined;
69
69
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -79,7 +79,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
79
79
  closeAfterSelect?: boolean | undefined;
80
80
  size?: string | undefined;
81
81
  view?: string | undefined;
82
- labelPlacement?: "outer" | "inner" | undefined;
82
+ } & {
83
+ label?: string | undefined;
84
+ labelPlacement: "inner";
85
+ hasPlaceholder?: boolean | undefined;
83
86
  } & {
84
87
  readOnly?: boolean | undefined;
85
88
  disabled?: true | undefined;
@@ -92,14 +95,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
92
95
  targetAmount?: undefined;
93
96
  renderValue?: undefined;
94
97
  } & {
95
- requiredPlacement?: "right" | "left" | undefined;
96
- } & {
97
- optional?: true | undefined;
98
98
  required?: false | undefined;
99
+ requiredPlacement?: undefined;
100
+ optional?: boolean | undefined;
99
101
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
100
102
  items: ItemOption[];
101
103
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
102
- label?: string | undefined;
103
104
  placeholder?: string | undefined;
104
105
  helperText?: string | undefined;
105
106
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -115,7 +116,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
115
116
  closeAfterSelect?: boolean | undefined;
116
117
  size?: string | undefined;
117
118
  view?: string | undefined;
118
- labelPlacement?: "outer" | "inner" | undefined;
119
+ } & {
120
+ label?: string | undefined;
121
+ labelPlacement: "inner";
122
+ hasPlaceholder?: boolean | undefined;
119
123
  } & {
120
124
  readOnly?: boolean | undefined;
121
125
  disabled?: true | undefined;
@@ -127,15 +131,13 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
127
131
  isTargetAmount?: true | undefined;
128
132
  targetAmount?: number | undefined;
129
133
  renderValue?: ((item: ItemOption) => string) | undefined;
130
- } & {
131
- requiredPlacement?: "right" | "left" | undefined;
132
134
  } & {
133
135
  required: true;
136
+ requiredPlacement?: "right" | "left" | undefined;
134
137
  optional?: false | undefined;
135
138
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
136
139
  items: ItemOption[];
137
140
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
138
- label?: string | undefined;
139
141
  placeholder?: string | undefined;
140
142
  helperText?: string | undefined;
141
143
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -151,7 +153,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
151
153
  closeAfterSelect?: boolean | undefined;
152
154
  size?: string | undefined;
153
155
  view?: string | undefined;
154
- labelPlacement?: "outer" | "inner" | undefined;
156
+ } & {
157
+ label?: string | undefined;
158
+ labelPlacement: "inner";
159
+ hasPlaceholder?: boolean | undefined;
155
160
  } & {
156
161
  readOnly?: boolean | undefined;
157
162
  disabled?: true | undefined;
@@ -164,14 +169,123 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
164
169
  targetAmount?: number | undefined;
165
170
  renderValue?: ((item: ItemOption) => string) | undefined;
166
171
  } & {
172
+ required?: false | undefined;
173
+ requiredPlacement?: undefined;
174
+ optional?: boolean | undefined;
175
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
176
+ items: ItemOption[];
177
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
178
+ placeholder?: string | undefined;
179
+ helperText?: string | undefined;
180
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
181
+ textBefore?: string | undefined;
182
+ textAfter?: string | undefined;
183
+ variant?: "normal" | "tight" | undefined;
184
+ listOverflow?: import("csstype").Property.Overflow | undefined;
185
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
186
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
187
+ portal?: string | React.RefObject<HTMLElement> | undefined;
188
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
189
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
190
+ closeAfterSelect?: boolean | undefined;
191
+ size?: string | undefined;
192
+ view?: string | undefined;
193
+ } & {
194
+ label?: string | undefined;
195
+ labelPlacement: "inner";
196
+ hasPlaceholder?: boolean | undefined;
197
+ } & {
198
+ readOnly?: true | undefined;
199
+ disabled?: boolean | undefined;
200
+ alwaysOpened?: false | undefined;
201
+ } & {
202
+ multiple?: false | undefined;
203
+ value?: string | undefined;
204
+ onChange?: ((value: string) => void) | undefined;
205
+ isTargetAmount?: false | undefined;
206
+ targetAmount?: undefined;
207
+ renderValue?: undefined;
208
+ } & {
209
+ required: true;
167
210
  requiredPlacement?: "right" | "left" | undefined;
211
+ optional?: false | undefined;
212
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
213
+ items: ItemOption[];
214
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
215
+ placeholder?: string | undefined;
216
+ helperText?: string | undefined;
217
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
218
+ textBefore?: string | undefined;
219
+ textAfter?: string | undefined;
220
+ variant?: "normal" | "tight" | undefined;
221
+ listOverflow?: import("csstype").Property.Overflow | undefined;
222
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
223
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
224
+ portal?: string | React.RefObject<HTMLElement> | undefined;
225
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
226
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
227
+ closeAfterSelect?: boolean | undefined;
228
+ size?: string | undefined;
229
+ view?: string | undefined;
230
+ } & {
231
+ label?: string | undefined;
232
+ labelPlacement: "inner";
233
+ hasPlaceholder?: boolean | undefined;
234
+ } & {
235
+ readOnly?: true | undefined;
236
+ disabled?: boolean | undefined;
237
+ alwaysOpened?: false | undefined;
238
+ } & {
239
+ multiple?: false | undefined;
240
+ value?: string | undefined;
241
+ onChange?: ((value: string) => void) | undefined;
242
+ isTargetAmount?: false | undefined;
243
+ targetAmount?: undefined;
244
+ renderValue?: undefined;
168
245
  } & {
169
- optional?: true | undefined;
170
246
  required?: false | undefined;
247
+ requiredPlacement?: undefined;
248
+ optional?: boolean | undefined;
171
249
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
172
250
  items: ItemOption[];
173
251
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
252
+ placeholder?: string | undefined;
253
+ helperText?: string | undefined;
254
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
255
+ textBefore?: string | undefined;
256
+ textAfter?: string | undefined;
257
+ variant?: "normal" | "tight" | undefined;
258
+ listOverflow?: import("csstype").Property.Overflow | undefined;
259
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
260
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
261
+ portal?: string | React.RefObject<HTMLElement> | undefined;
262
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
263
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
264
+ closeAfterSelect?: boolean | undefined;
265
+ size?: string | undefined;
266
+ view?: string | undefined;
267
+ } & {
174
268
  label?: string | undefined;
269
+ labelPlacement: "inner";
270
+ hasPlaceholder?: boolean | undefined;
271
+ } & {
272
+ readOnly?: true | undefined;
273
+ disabled?: boolean | undefined;
274
+ alwaysOpened?: false | undefined;
275
+ } & {
276
+ multiple: true;
277
+ value?: string[] | undefined;
278
+ onChange?: ((value: string[]) => void) | undefined;
279
+ isTargetAmount?: true | undefined;
280
+ targetAmount?: number | undefined;
281
+ renderValue?: ((item: ItemOption) => string) | undefined;
282
+ } & {
283
+ required: true;
284
+ requiredPlacement?: "right" | "left" | undefined;
285
+ optional?: false | undefined;
286
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
287
+ items: ItemOption[];
288
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
175
289
  placeholder?: string | undefined;
176
290
  helperText?: string | undefined;
177
291
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -187,11 +301,51 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
187
301
  closeAfterSelect?: boolean | undefined;
188
302
  size?: string | undefined;
189
303
  view?: string | undefined;
190
- labelPlacement?: "outer" | "inner" | undefined;
304
+ } & {
305
+ label?: string | undefined;
306
+ labelPlacement: "inner";
307
+ hasPlaceholder?: boolean | undefined;
191
308
  } & {
192
309
  readOnly?: true | undefined;
193
310
  disabled?: boolean | undefined;
194
311
  alwaysOpened?: false | undefined;
312
+ } & {
313
+ multiple: true;
314
+ value?: string[] | undefined;
315
+ onChange?: ((value: string[]) => void) | undefined;
316
+ isTargetAmount?: true | undefined;
317
+ targetAmount?: number | undefined;
318
+ renderValue?: ((item: ItemOption) => string) | undefined;
319
+ } & {
320
+ required?: false | undefined;
321
+ requiredPlacement?: undefined;
322
+ optional?: boolean | undefined;
323
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
324
+ items: ItemOption[];
325
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
326
+ placeholder?: string | undefined;
327
+ helperText?: string | undefined;
328
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
329
+ textBefore?: string | undefined;
330
+ textAfter?: string | undefined;
331
+ variant?: "normal" | "tight" | undefined;
332
+ listOverflow?: import("csstype").Property.Overflow | undefined;
333
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
334
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
335
+ portal?: string | React.RefObject<HTMLElement> | undefined;
336
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
337
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
338
+ closeAfterSelect?: boolean | undefined;
339
+ size?: string | undefined;
340
+ view?: string | undefined;
341
+ } & {
342
+ label?: string | undefined;
343
+ labelPlacement: "inner";
344
+ hasPlaceholder?: boolean | undefined;
345
+ } & {
346
+ readOnly?: false | undefined;
347
+ disabled?: false | undefined;
348
+ alwaysOpened?: true | undefined;
195
349
  } & {
196
350
  multiple?: false | undefined;
197
351
  value?: string | undefined;
@@ -200,14 +354,123 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
200
354
  targetAmount?: undefined;
201
355
  renderValue?: undefined;
202
356
  } & {
357
+ required: true;
203
358
  requiredPlacement?: "right" | "left" | undefined;
359
+ optional?: false | undefined;
360
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
361
+ items: ItemOption[];
362
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
363
+ placeholder?: string | undefined;
364
+ helperText?: string | undefined;
365
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
366
+ textBefore?: string | undefined;
367
+ textAfter?: string | undefined;
368
+ variant?: "normal" | "tight" | undefined;
369
+ listOverflow?: import("csstype").Property.Overflow | undefined;
370
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
371
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
372
+ portal?: string | React.RefObject<HTMLElement> | undefined;
373
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
374
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
375
+ closeAfterSelect?: boolean | undefined;
376
+ size?: string | undefined;
377
+ view?: string | undefined;
378
+ } & {
379
+ label?: string | undefined;
380
+ labelPlacement: "inner";
381
+ hasPlaceholder?: boolean | undefined;
382
+ } & {
383
+ readOnly?: false | undefined;
384
+ disabled?: false | undefined;
385
+ alwaysOpened?: true | undefined;
386
+ } & {
387
+ multiple?: false | undefined;
388
+ value?: string | undefined;
389
+ onChange?: ((value: string) => void) | undefined;
390
+ isTargetAmount?: false | undefined;
391
+ targetAmount?: undefined;
392
+ renderValue?: undefined;
393
+ } & {
394
+ required?: false | undefined;
395
+ requiredPlacement?: undefined;
396
+ optional?: boolean | undefined;
397
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
398
+ items: ItemOption[];
399
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
400
+ placeholder?: string | undefined;
401
+ helperText?: string | undefined;
402
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
403
+ textBefore?: string | undefined;
404
+ textAfter?: string | undefined;
405
+ variant?: "normal" | "tight" | undefined;
406
+ listOverflow?: import("csstype").Property.Overflow | undefined;
407
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
408
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
409
+ portal?: string | React.RefObject<HTMLElement> | undefined;
410
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
411
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
412
+ closeAfterSelect?: boolean | undefined;
413
+ size?: string | undefined;
414
+ view?: string | undefined;
415
+ } & {
416
+ label?: string | undefined;
417
+ labelPlacement: "inner";
418
+ hasPlaceholder?: boolean | undefined;
419
+ } & {
420
+ readOnly?: false | undefined;
421
+ disabled?: false | undefined;
422
+ alwaysOpened?: true | undefined;
423
+ } & {
424
+ multiple: true;
425
+ value?: string[] | undefined;
426
+ onChange?: ((value: string[]) => void) | undefined;
427
+ isTargetAmount?: true | undefined;
428
+ targetAmount?: number | undefined;
429
+ renderValue?: ((item: ItemOption) => string) | undefined;
204
430
  } & {
205
431
  required: true;
432
+ requiredPlacement?: "right" | "left" | undefined;
206
433
  optional?: false | undefined;
207
434
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
208
435
  items: ItemOption[];
209
436
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
437
+ placeholder?: string | undefined;
438
+ helperText?: string | undefined;
439
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
440
+ textBefore?: string | undefined;
441
+ textAfter?: string | undefined;
442
+ variant?: "normal" | "tight" | undefined;
443
+ listOverflow?: import("csstype").Property.Overflow | undefined;
444
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
445
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
446
+ portal?: string | React.RefObject<HTMLElement> | undefined;
447
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
448
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
449
+ closeAfterSelect?: boolean | undefined;
450
+ size?: string | undefined;
451
+ view?: string | undefined;
452
+ } & {
210
453
  label?: string | undefined;
454
+ labelPlacement: "inner";
455
+ hasPlaceholder?: boolean | undefined;
456
+ } & {
457
+ readOnly?: false | undefined;
458
+ disabled?: false | undefined;
459
+ alwaysOpened?: true | undefined;
460
+ } & {
461
+ multiple: true;
462
+ value?: string[] | undefined;
463
+ onChange?: ((value: string[]) => void) | undefined;
464
+ isTargetAmount?: true | undefined;
465
+ targetAmount?: number | undefined;
466
+ renderValue?: ((item: ItemOption) => string) | undefined;
467
+ } & {
468
+ required?: false | undefined;
469
+ requiredPlacement?: undefined;
470
+ optional?: boolean | undefined;
471
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
472
+ items: ItemOption[];
473
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
211
474
  placeholder?: string | undefined;
212
475
  helperText?: string | undefined;
213
476
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -223,10 +486,13 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
223
486
  closeAfterSelect?: boolean | undefined;
224
487
  size?: string | undefined;
225
488
  view?: string | undefined;
226
- labelPlacement?: "outer" | "inner" | undefined;
227
489
  } & {
228
- readOnly?: true | undefined;
229
- disabled?: boolean | undefined;
490
+ label?: string | undefined;
491
+ labelPlacement?: "outer" | undefined;
492
+ hasPlaceholder?: undefined;
493
+ } & {
494
+ readOnly?: boolean | undefined;
495
+ disabled?: true | undefined;
230
496
  alwaysOpened?: false | undefined;
231
497
  } & {
232
498
  multiple?: false | undefined;
@@ -236,14 +502,49 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
236
502
  targetAmount?: undefined;
237
503
  renderValue?: undefined;
238
504
  } & {
505
+ required: true;
239
506
  requiredPlacement?: "right" | "left" | undefined;
507
+ optional?: false | undefined;
508
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
509
+ items: ItemOption[];
510
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
511
+ placeholder?: string | undefined;
512
+ helperText?: string | undefined;
513
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
514
+ textBefore?: string | undefined;
515
+ textAfter?: string | undefined;
516
+ variant?: "normal" | "tight" | undefined;
517
+ listOverflow?: import("csstype").Property.Overflow | undefined;
518
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
519
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
520
+ portal?: string | React.RefObject<HTMLElement> | undefined;
521
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
522
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
523
+ closeAfterSelect?: boolean | undefined;
524
+ size?: string | undefined;
525
+ view?: string | undefined;
526
+ } & {
527
+ label?: string | undefined;
528
+ labelPlacement?: "outer" | undefined;
529
+ hasPlaceholder?: undefined;
530
+ } & {
531
+ readOnly?: boolean | undefined;
532
+ disabled?: true | undefined;
533
+ alwaysOpened?: false | undefined;
534
+ } & {
535
+ multiple?: false | undefined;
536
+ value?: string | undefined;
537
+ onChange?: ((value: string) => void) | undefined;
538
+ isTargetAmount?: false | undefined;
539
+ targetAmount?: undefined;
540
+ renderValue?: undefined;
240
541
  } & {
241
- optional?: true | undefined;
242
542
  required?: false | undefined;
543
+ requiredPlacement?: undefined;
544
+ optional?: boolean | undefined;
243
545
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
244
546
  items: ItemOption[];
245
547
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
246
- label?: string | undefined;
247
548
  placeholder?: string | undefined;
248
549
  helperText?: string | undefined;
249
550
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -259,10 +560,13 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
259
560
  closeAfterSelect?: boolean | undefined;
260
561
  size?: string | undefined;
261
562
  view?: string | undefined;
262
- labelPlacement?: "outer" | "inner" | undefined;
263
563
  } & {
264
- readOnly?: true | undefined;
265
- disabled?: boolean | undefined;
564
+ label?: string | undefined;
565
+ labelPlacement?: "outer" | undefined;
566
+ hasPlaceholder?: undefined;
567
+ } & {
568
+ readOnly?: boolean | undefined;
569
+ disabled?: true | undefined;
266
570
  alwaysOpened?: false | undefined;
267
571
  } & {
268
572
  multiple: true;
@@ -272,14 +576,123 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
272
576
  targetAmount?: number | undefined;
273
577
  renderValue?: ((item: ItemOption) => string) | undefined;
274
578
  } & {
579
+ required: true;
275
580
  requiredPlacement?: "right" | "left" | undefined;
581
+ optional?: false | undefined;
582
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
583
+ items: ItemOption[];
584
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
585
+ placeholder?: string | undefined;
586
+ helperText?: string | undefined;
587
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
588
+ textBefore?: string | undefined;
589
+ textAfter?: string | undefined;
590
+ variant?: "normal" | "tight" | undefined;
591
+ listOverflow?: import("csstype").Property.Overflow | undefined;
592
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
593
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
594
+ portal?: string | React.RefObject<HTMLElement> | undefined;
595
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
596
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
597
+ closeAfterSelect?: boolean | undefined;
598
+ size?: string | undefined;
599
+ view?: string | undefined;
600
+ } & {
601
+ label?: string | undefined;
602
+ labelPlacement?: "outer" | undefined;
603
+ hasPlaceholder?: undefined;
604
+ } & {
605
+ readOnly?: boolean | undefined;
606
+ disabled?: true | undefined;
607
+ alwaysOpened?: false | undefined;
608
+ } & {
609
+ multiple: true;
610
+ value?: string[] | undefined;
611
+ onChange?: ((value: string[]) => void) | undefined;
612
+ isTargetAmount?: true | undefined;
613
+ targetAmount?: number | undefined;
614
+ renderValue?: ((item: ItemOption) => string) | undefined;
615
+ } & {
616
+ required?: false | undefined;
617
+ requiredPlacement?: undefined;
618
+ optional?: boolean | undefined;
619
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
620
+ items: ItemOption[];
621
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
622
+ placeholder?: string | undefined;
623
+ helperText?: string | undefined;
624
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
625
+ textBefore?: string | undefined;
626
+ textAfter?: string | undefined;
627
+ variant?: "normal" | "tight" | undefined;
628
+ listOverflow?: import("csstype").Property.Overflow | undefined;
629
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
630
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
631
+ portal?: string | React.RefObject<HTMLElement> | undefined;
632
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
633
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
634
+ closeAfterSelect?: boolean | undefined;
635
+ size?: string | undefined;
636
+ view?: string | undefined;
637
+ } & {
638
+ label?: string | undefined;
639
+ labelPlacement?: "outer" | undefined;
640
+ hasPlaceholder?: undefined;
641
+ } & {
642
+ readOnly?: true | undefined;
643
+ disabled?: boolean | undefined;
644
+ alwaysOpened?: false | undefined;
645
+ } & {
646
+ multiple?: false | undefined;
647
+ value?: string | undefined;
648
+ onChange?: ((value: string) => void) | undefined;
649
+ isTargetAmount?: false | undefined;
650
+ targetAmount?: undefined;
651
+ renderValue?: undefined;
276
652
  } & {
277
653
  required: true;
654
+ requiredPlacement?: "right" | "left" | undefined;
278
655
  optional?: false | undefined;
279
656
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
280
657
  items: ItemOption[];
281
658
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
659
+ placeholder?: string | undefined;
660
+ helperText?: string | undefined;
661
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
662
+ textBefore?: string | undefined;
663
+ textAfter?: string | undefined;
664
+ variant?: "normal" | "tight" | undefined;
665
+ listOverflow?: import("csstype").Property.Overflow | undefined;
666
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
667
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
668
+ portal?: string | React.RefObject<HTMLElement> | undefined;
669
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
670
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
671
+ closeAfterSelect?: boolean | undefined;
672
+ size?: string | undefined;
673
+ view?: string | undefined;
674
+ } & {
282
675
  label?: string | undefined;
676
+ labelPlacement?: "outer" | undefined;
677
+ hasPlaceholder?: undefined;
678
+ } & {
679
+ readOnly?: true | undefined;
680
+ disabled?: boolean | undefined;
681
+ alwaysOpened?: false | undefined;
682
+ } & {
683
+ multiple?: false | undefined;
684
+ value?: string | undefined;
685
+ onChange?: ((value: string) => void) | undefined;
686
+ isTargetAmount?: false | undefined;
687
+ targetAmount?: undefined;
688
+ renderValue?: undefined;
689
+ } & {
690
+ required?: false | undefined;
691
+ requiredPlacement?: undefined;
692
+ optional?: boolean | undefined;
693
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
694
+ items: ItemOption[];
695
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
283
696
  placeholder?: string | undefined;
284
697
  helperText?: string | undefined;
285
698
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -295,7 +708,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
295
708
  closeAfterSelect?: boolean | undefined;
296
709
  size?: string | undefined;
297
710
  view?: string | undefined;
298
- labelPlacement?: "outer" | "inner" | undefined;
711
+ } & {
712
+ label?: string | undefined;
713
+ labelPlacement?: "outer" | undefined;
714
+ hasPlaceholder?: undefined;
299
715
  } & {
300
716
  readOnly?: true | undefined;
301
717
  disabled?: boolean | undefined;
@@ -308,14 +724,49 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
308
724
  targetAmount?: number | undefined;
309
725
  renderValue?: ((item: ItemOption) => string) | undefined;
310
726
  } & {
727
+ required: true;
311
728
  requiredPlacement?: "right" | "left" | undefined;
729
+ optional?: false | undefined;
730
+ } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
731
+ items: ItemOption[];
732
+ placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
733
+ placeholder?: string | undefined;
734
+ helperText?: string | undefined;
735
+ contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
736
+ textBefore?: string | undefined;
737
+ textAfter?: string | undefined;
738
+ variant?: "normal" | "tight" | undefined;
739
+ listOverflow?: import("csstype").Property.Overflow | undefined;
740
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
741
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
742
+ portal?: string | React.RefObject<HTMLElement> | undefined;
743
+ renderItem?: ((item: ItemOption) => React.ReactNode) | undefined;
744
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
745
+ closeAfterSelect?: boolean | undefined;
746
+ size?: string | undefined;
747
+ view?: string | undefined;
748
+ } & {
749
+ label?: string | undefined;
750
+ labelPlacement?: "outer" | undefined;
751
+ hasPlaceholder?: undefined;
752
+ } & {
753
+ readOnly?: true | undefined;
754
+ disabled?: boolean | undefined;
755
+ alwaysOpened?: false | undefined;
756
+ } & {
757
+ multiple: true;
758
+ value?: string[] | undefined;
759
+ onChange?: ((value: string[]) => void) | undefined;
760
+ isTargetAmount?: true | undefined;
761
+ targetAmount?: number | undefined;
762
+ renderValue?: ((item: ItemOption) => string) | undefined;
312
763
  } & {
313
- optional?: true | undefined;
314
764
  required?: false | undefined;
765
+ requiredPlacement?: undefined;
766
+ optional?: boolean | undefined;
315
767
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
316
768
  items: ItemOption[];
317
769
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
318
- label?: string | undefined;
319
770
  placeholder?: string | undefined;
320
771
  helperText?: string | undefined;
321
772
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -331,7 +782,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
331
782
  closeAfterSelect?: boolean | undefined;
332
783
  size?: string | undefined;
333
784
  view?: string | undefined;
334
- labelPlacement?: "outer" | "inner" | undefined;
785
+ } & {
786
+ label?: string | undefined;
787
+ labelPlacement?: "outer" | undefined;
788
+ hasPlaceholder?: undefined;
335
789
  } & {
336
790
  readOnly?: false | undefined;
337
791
  disabled?: false | undefined;
@@ -343,15 +797,13 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
343
797
  isTargetAmount?: false | undefined;
344
798
  targetAmount?: undefined;
345
799
  renderValue?: undefined;
346
- } & {
347
- requiredPlacement?: "right" | "left" | undefined;
348
800
  } & {
349
801
  required: true;
802
+ requiredPlacement?: "right" | "left" | undefined;
350
803
  optional?: false | undefined;
351
804
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
352
805
  items: ItemOption[];
353
806
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
354
- label?: string | undefined;
355
807
  placeholder?: string | undefined;
356
808
  helperText?: string | undefined;
357
809
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -367,7 +819,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
367
819
  closeAfterSelect?: boolean | undefined;
368
820
  size?: string | undefined;
369
821
  view?: string | undefined;
370
- labelPlacement?: "outer" | "inner" | undefined;
822
+ } & {
823
+ label?: string | undefined;
824
+ labelPlacement?: "outer" | undefined;
825
+ hasPlaceholder?: undefined;
371
826
  } & {
372
827
  readOnly?: false | undefined;
373
828
  disabled?: false | undefined;
@@ -380,14 +835,12 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
380
835
  targetAmount?: undefined;
381
836
  renderValue?: undefined;
382
837
  } & {
383
- requiredPlacement?: "right" | "left" | undefined;
384
- } & {
385
- optional?: true | undefined;
386
838
  required?: false | undefined;
839
+ requiredPlacement?: undefined;
840
+ optional?: boolean | undefined;
387
841
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
388
842
  items: ItemOption[];
389
843
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
390
- label?: string | undefined;
391
844
  placeholder?: string | undefined;
392
845
  helperText?: string | undefined;
393
846
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -403,7 +856,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
403
856
  closeAfterSelect?: boolean | undefined;
404
857
  size?: string | undefined;
405
858
  view?: string | undefined;
406
- labelPlacement?: "outer" | "inner" | undefined;
859
+ } & {
860
+ label?: string | undefined;
861
+ labelPlacement?: "outer" | undefined;
862
+ hasPlaceholder?: undefined;
407
863
  } & {
408
864
  readOnly?: false | undefined;
409
865
  disabled?: false | undefined;
@@ -415,15 +871,13 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
415
871
  isTargetAmount?: true | undefined;
416
872
  targetAmount?: number | undefined;
417
873
  renderValue?: ((item: ItemOption) => string) | undefined;
418
- } & {
419
- requiredPlacement?: "right" | "left" | undefined;
420
874
  } & {
421
875
  required: true;
876
+ requiredPlacement?: "right" | "left" | undefined;
422
877
  optional?: false | undefined;
423
878
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
424
879
  items: ItemOption[];
425
880
  placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
426
- label?: string | undefined;
427
881
  placeholder?: string | undefined;
428
882
  helperText?: string | undefined;
429
883
  contentLeft?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
@@ -439,7 +893,10 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
439
893
  closeAfterSelect?: boolean | undefined;
440
894
  size?: string | undefined;
441
895
  view?: string | undefined;
442
- labelPlacement?: "outer" | "inner" | undefined;
896
+ } & {
897
+ label?: string | undefined;
898
+ labelPlacement?: "outer" | undefined;
899
+ hasPlaceholder?: undefined;
443
900
  } & {
444
901
  readOnly?: false | undefined;
445
902
  disabled?: false | undefined;
@@ -452,10 +909,9 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
452
909
  targetAmount?: number | undefined;
453
910
  renderValue?: ((item: ItemOption) => string) | undefined;
454
911
  } & {
455
- requiredPlacement?: "right" | "left" | undefined;
456
- } & {
457
- optional?: true | undefined;
458
912
  required?: false | undefined;
913
+ requiredPlacement?: undefined;
914
+ optional?: boolean | undefined;
459
915
  } & Omit<React.ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & React.RefAttributes<HTMLInputElement>))>;
460
916
  declare type PropsFromConfig = keyof typeof config['variations'];
461
917
  declare type Props<T extends ItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> & DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;