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