@salutejs/sdds-finportal 0.155.1-dev.0 → 0.155.2-canary.1527.11631123266.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-finportal.api.md +246 -0
- package/components/Combobox/Combobox.config.js +8 -8
- package/components/Combobox/Combobox.d.ts +246 -0
- package/components/Combobox/index.d.ts +246 -0
- package/es/components/Combobox/Combobox.config.js +8 -8
- package/package.json +3 -3
- package/temp/sdds-finportal.api.md +5520 -0
@@ -53,6 +53,47 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
53
53
|
isTargetAmount?: false | undefined;
|
54
54
|
targetAmount?: undefined;
|
55
55
|
renderValue?: undefined;
|
56
|
+
} & {
|
57
|
+
requiredPlacement?: "right" | "left" | undefined;
|
58
|
+
} & {
|
59
|
+
required: true;
|
60
|
+
optional?: false | undefined;
|
61
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
62
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
63
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
64
|
+
label?: string | undefined;
|
65
|
+
placeholder?: string | undefined;
|
66
|
+
helperText?: string | undefined;
|
67
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
68
|
+
textBefore?: string | undefined;
|
69
|
+
textAfter?: string | undefined;
|
70
|
+
variant?: "normal" | "tight" | undefined;
|
71
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
72
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
73
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
74
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
75
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
76
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
77
|
+
closeAfterSelect?: boolean | undefined;
|
78
|
+
size?: string | undefined;
|
79
|
+
view?: string | undefined;
|
80
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
81
|
+
} & {
|
82
|
+
readOnly?: boolean | undefined;
|
83
|
+
disabled?: true | undefined;
|
84
|
+
alwaysOpened?: false | undefined;
|
85
|
+
} & {
|
86
|
+
multiple?: false | undefined;
|
87
|
+
value?: string | undefined;
|
88
|
+
onChange?: ((value: string) => void) | undefined;
|
89
|
+
isTargetAmount?: false | undefined;
|
90
|
+
targetAmount?: undefined;
|
91
|
+
renderValue?: undefined;
|
92
|
+
} & {
|
93
|
+
requiredPlacement?: "right" | "left" | undefined;
|
94
|
+
} & {
|
95
|
+
optional?: true | undefined;
|
96
|
+
required?: false | undefined;
|
56
97
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
57
98
|
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
58
99
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
@@ -84,6 +125,83 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
84
125
|
isTargetAmount?: true | undefined;
|
85
126
|
targetAmount?: number | undefined;
|
86
127
|
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => string) | undefined;
|
128
|
+
} & {
|
129
|
+
requiredPlacement?: "right" | "left" | undefined;
|
130
|
+
} & {
|
131
|
+
required: true;
|
132
|
+
optional?: false | undefined;
|
133
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
134
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
135
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
136
|
+
label?: string | undefined;
|
137
|
+
placeholder?: string | undefined;
|
138
|
+
helperText?: string | undefined;
|
139
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
140
|
+
textBefore?: string | undefined;
|
141
|
+
textAfter?: string | undefined;
|
142
|
+
variant?: "normal" | "tight" | undefined;
|
143
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
144
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
145
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
146
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
147
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
148
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
149
|
+
closeAfterSelect?: boolean | undefined;
|
150
|
+
size?: string | undefined;
|
151
|
+
view?: string | undefined;
|
152
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
153
|
+
} & {
|
154
|
+
readOnly?: boolean | undefined;
|
155
|
+
disabled?: true | undefined;
|
156
|
+
alwaysOpened?: false | undefined;
|
157
|
+
} & {
|
158
|
+
multiple: true;
|
159
|
+
value?: string[] | undefined;
|
160
|
+
onChange?: ((value: string[]) => void) | undefined;
|
161
|
+
isTargetAmount?: true | undefined;
|
162
|
+
targetAmount?: number | undefined;
|
163
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => string) | undefined;
|
164
|
+
} & {
|
165
|
+
requiredPlacement?: "right" | "left" | undefined;
|
166
|
+
} & {
|
167
|
+
optional?: true | undefined;
|
168
|
+
required?: false | undefined;
|
169
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
170
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
171
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
172
|
+
label?: string | undefined;
|
173
|
+
placeholder?: string | undefined;
|
174
|
+
helperText?: string | undefined;
|
175
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
176
|
+
textBefore?: string | undefined;
|
177
|
+
textAfter?: string | undefined;
|
178
|
+
variant?: "normal" | "tight" | undefined;
|
179
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
180
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
181
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
182
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
183
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
184
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
185
|
+
closeAfterSelect?: boolean | undefined;
|
186
|
+
size?: string | undefined;
|
187
|
+
view?: string | undefined;
|
188
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
189
|
+
} & {
|
190
|
+
readOnly?: true | undefined;
|
191
|
+
disabled?: boolean | undefined;
|
192
|
+
alwaysOpened?: false | undefined;
|
193
|
+
} & {
|
194
|
+
multiple?: false | undefined;
|
195
|
+
value?: string | undefined;
|
196
|
+
onChange?: ((value: string) => void) | undefined;
|
197
|
+
isTargetAmount?: false | undefined;
|
198
|
+
targetAmount?: undefined;
|
199
|
+
renderValue?: undefined;
|
200
|
+
} & {
|
201
|
+
requiredPlacement?: "right" | "left" | undefined;
|
202
|
+
} & {
|
203
|
+
required: true;
|
204
|
+
optional?: false | undefined;
|
87
205
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
88
206
|
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
89
207
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
@@ -115,6 +233,11 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
115
233
|
isTargetAmount?: false | undefined;
|
116
234
|
targetAmount?: undefined;
|
117
235
|
renderValue?: undefined;
|
236
|
+
} & {
|
237
|
+
requiredPlacement?: "right" | "left" | undefined;
|
238
|
+
} & {
|
239
|
+
optional?: true | undefined;
|
240
|
+
required?: false | undefined;
|
118
241
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
119
242
|
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
120
243
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
@@ -146,6 +269,47 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
146
269
|
isTargetAmount?: true | undefined;
|
147
270
|
targetAmount?: number | undefined;
|
148
271
|
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => string) | undefined;
|
272
|
+
} & {
|
273
|
+
requiredPlacement?: "right" | "left" | undefined;
|
274
|
+
} & {
|
275
|
+
required: true;
|
276
|
+
optional?: false | undefined;
|
277
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
278
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
279
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
280
|
+
label?: string | undefined;
|
281
|
+
placeholder?: string | undefined;
|
282
|
+
helperText?: string | undefined;
|
283
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
284
|
+
textBefore?: string | undefined;
|
285
|
+
textAfter?: string | undefined;
|
286
|
+
variant?: "normal" | "tight" | undefined;
|
287
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
288
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
289
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
290
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
291
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
292
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
293
|
+
closeAfterSelect?: boolean | undefined;
|
294
|
+
size?: string | undefined;
|
295
|
+
view?: string | undefined;
|
296
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
297
|
+
} & {
|
298
|
+
readOnly?: true | undefined;
|
299
|
+
disabled?: boolean | undefined;
|
300
|
+
alwaysOpened?: false | undefined;
|
301
|
+
} & {
|
302
|
+
multiple: true;
|
303
|
+
value?: string[] | undefined;
|
304
|
+
onChange?: ((value: string[]) => void) | undefined;
|
305
|
+
isTargetAmount?: true | undefined;
|
306
|
+
targetAmount?: number | undefined;
|
307
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => string) | undefined;
|
308
|
+
} & {
|
309
|
+
requiredPlacement?: "right" | "left" | undefined;
|
310
|
+
} & {
|
311
|
+
optional?: true | undefined;
|
312
|
+
required?: false | undefined;
|
149
313
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
150
314
|
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
151
315
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
@@ -177,6 +341,83 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
177
341
|
isTargetAmount?: false | undefined;
|
178
342
|
targetAmount?: undefined;
|
179
343
|
renderValue?: undefined;
|
344
|
+
} & {
|
345
|
+
requiredPlacement?: "right" | "left" | undefined;
|
346
|
+
} & {
|
347
|
+
required: true;
|
348
|
+
optional?: false | undefined;
|
349
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
350
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
351
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
352
|
+
label?: string | undefined;
|
353
|
+
placeholder?: string | undefined;
|
354
|
+
helperText?: string | undefined;
|
355
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
356
|
+
textBefore?: string | undefined;
|
357
|
+
textAfter?: string | undefined;
|
358
|
+
variant?: "normal" | "tight" | undefined;
|
359
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
360
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
361
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
362
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
363
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
364
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
365
|
+
closeAfterSelect?: boolean | undefined;
|
366
|
+
size?: string | undefined;
|
367
|
+
view?: string | undefined;
|
368
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
369
|
+
} & {
|
370
|
+
readOnly?: false | undefined;
|
371
|
+
disabled?: false | undefined;
|
372
|
+
alwaysOpened?: true | undefined;
|
373
|
+
} & {
|
374
|
+
multiple?: false | undefined;
|
375
|
+
value?: string | undefined;
|
376
|
+
onChange?: ((value: string) => void) | undefined;
|
377
|
+
isTargetAmount?: false | undefined;
|
378
|
+
targetAmount?: undefined;
|
379
|
+
renderValue?: undefined;
|
380
|
+
} & {
|
381
|
+
requiredPlacement?: "right" | "left" | undefined;
|
382
|
+
} & {
|
383
|
+
optional?: true | undefined;
|
384
|
+
required?: false | undefined;
|
385
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
386
|
+
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
387
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
388
|
+
label?: string | undefined;
|
389
|
+
placeholder?: string | undefined;
|
390
|
+
helperText?: string | undefined;
|
391
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
392
|
+
textBefore?: string | undefined;
|
393
|
+
textAfter?: string | undefined;
|
394
|
+
variant?: "normal" | "tight" | undefined;
|
395
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
396
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
397
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
398
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
399
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => import("react").ReactNode) | undefined;
|
400
|
+
filter?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption, textValue: string) => boolean) | undefined;
|
401
|
+
closeAfterSelect?: boolean | undefined;
|
402
|
+
size?: string | undefined;
|
403
|
+
view?: string | undefined;
|
404
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
405
|
+
} & {
|
406
|
+
readOnly?: false | undefined;
|
407
|
+
disabled?: false | undefined;
|
408
|
+
alwaysOpened?: true | undefined;
|
409
|
+
} & {
|
410
|
+
multiple: true;
|
411
|
+
value?: string[] | undefined;
|
412
|
+
onChange?: ((value: string[]) => void) | undefined;
|
413
|
+
isTargetAmount?: true | undefined;
|
414
|
+
targetAmount?: number | undefined;
|
415
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => string) | undefined;
|
416
|
+
} & {
|
417
|
+
requiredPlacement?: "right" | "left" | undefined;
|
418
|
+
} & {
|
419
|
+
required: true;
|
420
|
+
optional?: false | undefined;
|
180
421
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
181
422
|
items: import("@salutejs/plasma-new-hope/styled-components").ItemOption[];
|
182
423
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
@@ -208,4 +449,9 @@ export declare const Combobox: import("react").FunctionComponent<import("@salute
|
|
208
449
|
isTargetAmount?: true | undefined;
|
209
450
|
targetAmount?: number | undefined;
|
210
451
|
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").ItemOption) => string) | undefined;
|
452
|
+
} & {
|
453
|
+
requiredPlacement?: "right" | "left" | undefined;
|
454
|
+
} & {
|
455
|
+
optional?: true | undefined;
|
456
|
+
required?: false | undefined;
|
211
457
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>))>;
|
@@ -58,6 +58,47 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
58
58
|
isTargetAmount?: false | undefined;
|
59
59
|
targetAmount?: undefined;
|
60
60
|
renderValue?: undefined;
|
61
|
+
} & {
|
62
|
+
requiredPlacement?: "right" | "left" | undefined;
|
63
|
+
} & {
|
64
|
+
required: true;
|
65
|
+
optional?: false | undefined;
|
66
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
67
|
+
items: ItemOption[];
|
68
|
+
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
|
+
placeholder?: string | undefined;
|
71
|
+
helperText?: string | undefined;
|
72
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
73
|
+
textBefore?: string | undefined;
|
74
|
+
textAfter?: string | undefined;
|
75
|
+
variant?: "normal" | "tight" | undefined;
|
76
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
77
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
78
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
79
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
80
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
81
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
82
|
+
closeAfterSelect?: boolean | undefined;
|
83
|
+
size?: string | undefined;
|
84
|
+
view?: string | undefined;
|
85
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
86
|
+
} & {
|
87
|
+
readOnly?: boolean | undefined;
|
88
|
+
disabled?: true | undefined;
|
89
|
+
alwaysOpened?: false | undefined;
|
90
|
+
} & {
|
91
|
+
multiple?: false | undefined;
|
92
|
+
value?: string | undefined;
|
93
|
+
onChange?: ((value: string) => void) | undefined;
|
94
|
+
isTargetAmount?: false | undefined;
|
95
|
+
targetAmount?: undefined;
|
96
|
+
renderValue?: undefined;
|
97
|
+
} & {
|
98
|
+
requiredPlacement?: "right" | "left" | undefined;
|
99
|
+
} & {
|
100
|
+
optional?: true | undefined;
|
101
|
+
required?: false | undefined;
|
61
102
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
62
103
|
items: ItemOption[];
|
63
104
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
@@ -89,6 +130,83 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
89
130
|
isTargetAmount?: true | undefined;
|
90
131
|
targetAmount?: number | undefined;
|
91
132
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
133
|
+
} & {
|
134
|
+
requiredPlacement?: "right" | "left" | undefined;
|
135
|
+
} & {
|
136
|
+
required: true;
|
137
|
+
optional?: false | undefined;
|
138
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
139
|
+
items: ItemOption[];
|
140
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
141
|
+
label?: string | undefined;
|
142
|
+
placeholder?: string | undefined;
|
143
|
+
helperText?: string | undefined;
|
144
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
145
|
+
textBefore?: string | undefined;
|
146
|
+
textAfter?: string | undefined;
|
147
|
+
variant?: "normal" | "tight" | undefined;
|
148
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
149
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
150
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
151
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
152
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
153
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
154
|
+
closeAfterSelect?: boolean | undefined;
|
155
|
+
size?: string | undefined;
|
156
|
+
view?: string | undefined;
|
157
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
158
|
+
} & {
|
159
|
+
readOnly?: boolean | undefined;
|
160
|
+
disabled?: true | undefined;
|
161
|
+
alwaysOpened?: false | undefined;
|
162
|
+
} & {
|
163
|
+
multiple: true;
|
164
|
+
value?: string[] | undefined;
|
165
|
+
onChange?: ((value: string[]) => void) | undefined;
|
166
|
+
isTargetAmount?: true | undefined;
|
167
|
+
targetAmount?: number | undefined;
|
168
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
169
|
+
} & {
|
170
|
+
requiredPlacement?: "right" | "left" | undefined;
|
171
|
+
} & {
|
172
|
+
optional?: true | undefined;
|
173
|
+
required?: false | undefined;
|
174
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
175
|
+
items: ItemOption[];
|
176
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
177
|
+
label?: string | undefined;
|
178
|
+
placeholder?: string | undefined;
|
179
|
+
helperText?: string | undefined;
|
180
|
+
contentLeft?: ReactElement<any, string | import("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?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
188
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
189
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
190
|
+
closeAfterSelect?: boolean | undefined;
|
191
|
+
size?: string | undefined;
|
192
|
+
view?: string | undefined;
|
193
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
194
|
+
} & {
|
195
|
+
readOnly?: true | undefined;
|
196
|
+
disabled?: boolean | undefined;
|
197
|
+
alwaysOpened?: false | undefined;
|
198
|
+
} & {
|
199
|
+
multiple?: false | undefined;
|
200
|
+
value?: string | undefined;
|
201
|
+
onChange?: ((value: string) => void) | undefined;
|
202
|
+
isTargetAmount?: false | undefined;
|
203
|
+
targetAmount?: undefined;
|
204
|
+
renderValue?: undefined;
|
205
|
+
} & {
|
206
|
+
requiredPlacement?: "right" | "left" | undefined;
|
207
|
+
} & {
|
208
|
+
required: true;
|
209
|
+
optional?: false | undefined;
|
92
210
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
93
211
|
items: ItemOption[];
|
94
212
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
@@ -120,6 +238,11 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
120
238
|
isTargetAmount?: false | undefined;
|
121
239
|
targetAmount?: undefined;
|
122
240
|
renderValue?: undefined;
|
241
|
+
} & {
|
242
|
+
requiredPlacement?: "right" | "left" | undefined;
|
243
|
+
} & {
|
244
|
+
optional?: true | undefined;
|
245
|
+
required?: false | undefined;
|
123
246
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
124
247
|
items: ItemOption[];
|
125
248
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
@@ -151,6 +274,47 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
151
274
|
isTargetAmount?: true | undefined;
|
152
275
|
targetAmount?: number | undefined;
|
153
276
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
277
|
+
} & {
|
278
|
+
requiredPlacement?: "right" | "left" | undefined;
|
279
|
+
} & {
|
280
|
+
required: true;
|
281
|
+
optional?: false | undefined;
|
282
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
283
|
+
items: ItemOption[];
|
284
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
285
|
+
label?: string | undefined;
|
286
|
+
placeholder?: string | undefined;
|
287
|
+
helperText?: string | undefined;
|
288
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
289
|
+
textBefore?: string | undefined;
|
290
|
+
textAfter?: string | undefined;
|
291
|
+
variant?: "normal" | "tight" | undefined;
|
292
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
293
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
294
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
295
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
296
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
297
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
298
|
+
closeAfterSelect?: boolean | undefined;
|
299
|
+
size?: string | undefined;
|
300
|
+
view?: string | undefined;
|
301
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
302
|
+
} & {
|
303
|
+
readOnly?: true | undefined;
|
304
|
+
disabled?: boolean | undefined;
|
305
|
+
alwaysOpened?: false | undefined;
|
306
|
+
} & {
|
307
|
+
multiple: true;
|
308
|
+
value?: string[] | undefined;
|
309
|
+
onChange?: ((value: string[]) => void) | undefined;
|
310
|
+
isTargetAmount?: true | undefined;
|
311
|
+
targetAmount?: number | undefined;
|
312
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
313
|
+
} & {
|
314
|
+
requiredPlacement?: "right" | "left" | undefined;
|
315
|
+
} & {
|
316
|
+
optional?: true | undefined;
|
317
|
+
required?: false | undefined;
|
154
318
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
155
319
|
items: ItemOption[];
|
156
320
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
@@ -182,6 +346,83 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
182
346
|
isTargetAmount?: false | undefined;
|
183
347
|
targetAmount?: undefined;
|
184
348
|
renderValue?: undefined;
|
349
|
+
} & {
|
350
|
+
requiredPlacement?: "right" | "left" | undefined;
|
351
|
+
} & {
|
352
|
+
required: true;
|
353
|
+
optional?: false | undefined;
|
354
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
355
|
+
items: ItemOption[];
|
356
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
357
|
+
label?: string | undefined;
|
358
|
+
placeholder?: string | undefined;
|
359
|
+
helperText?: string | undefined;
|
360
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
361
|
+
textBefore?: string | undefined;
|
362
|
+
textAfter?: string | undefined;
|
363
|
+
variant?: "normal" | "tight" | undefined;
|
364
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
365
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
366
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
367
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
368
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
369
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
370
|
+
closeAfterSelect?: boolean | undefined;
|
371
|
+
size?: string | undefined;
|
372
|
+
view?: string | undefined;
|
373
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
374
|
+
} & {
|
375
|
+
readOnly?: false | undefined;
|
376
|
+
disabled?: false | undefined;
|
377
|
+
alwaysOpened?: true | undefined;
|
378
|
+
} & {
|
379
|
+
multiple?: false | undefined;
|
380
|
+
value?: string | undefined;
|
381
|
+
onChange?: ((value: string) => void) | undefined;
|
382
|
+
isTargetAmount?: false | undefined;
|
383
|
+
targetAmount?: undefined;
|
384
|
+
renderValue?: undefined;
|
385
|
+
} & {
|
386
|
+
requiredPlacement?: "right" | "left" | undefined;
|
387
|
+
} & {
|
388
|
+
optional?: true | undefined;
|
389
|
+
required?: false | undefined;
|
390
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
391
|
+
items: ItemOption[];
|
392
|
+
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
393
|
+
label?: string | undefined;
|
394
|
+
placeholder?: string | undefined;
|
395
|
+
helperText?: string | undefined;
|
396
|
+
contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
397
|
+
textBefore?: string | undefined;
|
398
|
+
textAfter?: string | undefined;
|
399
|
+
variant?: "normal" | "tight" | undefined;
|
400
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
401
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
402
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
403
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
404
|
+
renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
|
405
|
+
filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
|
406
|
+
closeAfterSelect?: boolean | undefined;
|
407
|
+
size?: string | undefined;
|
408
|
+
view?: string | undefined;
|
409
|
+
labelPlacement?: "outer" | "inner" | undefined;
|
410
|
+
} & {
|
411
|
+
readOnly?: false | undefined;
|
412
|
+
disabled?: false | undefined;
|
413
|
+
alwaysOpened?: true | undefined;
|
414
|
+
} & {
|
415
|
+
multiple: true;
|
416
|
+
value?: string[] | undefined;
|
417
|
+
onChange?: ((value: string[]) => void) | undefined;
|
418
|
+
isTargetAmount?: true | undefined;
|
419
|
+
targetAmount?: number | undefined;
|
420
|
+
renderValue?: ((item: ItemOption) => string) | undefined;
|
421
|
+
} & {
|
422
|
+
requiredPlacement?: "right" | "left" | undefined;
|
423
|
+
} & {
|
424
|
+
required: true;
|
425
|
+
optional?: false | undefined;
|
185
426
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
186
427
|
items: ItemOption[];
|
187
428
|
placement?: ("top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end") | undefined;
|
@@ -213,6 +454,11 @@ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "vi
|
|
213
454
|
isTargetAmount?: true | undefined;
|
214
455
|
targetAmount?: number | undefined;
|
215
456
|
renderValue?: ((item: ItemOption) => string) | undefined;
|
457
|
+
} & {
|
458
|
+
requiredPlacement?: "right" | "left" | undefined;
|
459
|
+
} & {
|
460
|
+
optional?: true | undefined;
|
461
|
+
required?: false | undefined;
|
216
462
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>)), "view" | "size" | "disabled" | "readOnly" | "labelPlacement"> & {
|
217
463
|
ref?: ForwardedRef<HTMLInputElement> | undefined;
|
218
464
|
}) => ReactElement | null;
|