@salutejs/sdds-dfa 0.322.0-canary.2211.17492872934.0 → 0.322.0-canary.2213.17494099813.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
import React, { ComponentProps } from 'react';
|
3
|
-
import { config } from './Autocomplete.config';
|
4
|
-
export declare const AutocompleteComponent: React.FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
1
|
+
export declare const Autocomplete: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
5
2
|
view: {
|
6
3
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
7
4
|
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -36,33 +33,33 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
|
|
36
33
|
readOnly?: boolean;
|
37
34
|
disabled?: boolean;
|
38
35
|
portal?: string | React.RefObject<HTMLElement>;
|
39
|
-
zIndex?:
|
36
|
+
zIndex?: import("react").CSSProperties["zIndex"];
|
40
37
|
value?: string;
|
41
38
|
defaultValue?: string;
|
42
|
-
suggestions?: SuggestionItemType[]
|
39
|
+
suggestions?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[];
|
43
40
|
threshold?: number;
|
44
|
-
filter?: (
|
45
|
-
onSuggestionSelect?: (
|
41
|
+
filter?: (data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => boolean;
|
42
|
+
onSuggestionSelect?: (data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => void;
|
46
43
|
onScroll?: (e: React.UIEvent<HTMLElement>) => void;
|
47
44
|
listMaxHeight?: string;
|
48
45
|
listWidth?: string;
|
49
|
-
renderList?: (
|
50
|
-
renderListEnd?: () =>
|
51
|
-
renderItem?: (
|
52
|
-
beforeList?:
|
53
|
-
afterList?:
|
46
|
+
renderList?: (data?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[]) => import("react").ReactNode;
|
47
|
+
renderListEnd?: () => import("react").ReactNode;
|
48
|
+
renderItem?: (item: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => React.ReactNode;
|
49
|
+
beforeList?: import("react").ReactNode;
|
50
|
+
afterList?: import("react").ReactNode;
|
54
51
|
virtual?: boolean;
|
55
52
|
flip?: boolean;
|
56
53
|
size?: string;
|
57
54
|
view?: string;
|
58
55
|
} & Omit<{
|
59
|
-
titleCaption?:
|
60
|
-
leftHelper?:
|
56
|
+
titleCaption?: import("react").ReactNode;
|
57
|
+
leftHelper?: import("react").ReactNode;
|
61
58
|
contentLeft?: React.ReactElement;
|
62
59
|
contentRight?: React.ReactElement;
|
63
60
|
textBefore?: string;
|
64
61
|
textAfter?: string;
|
65
|
-
onSearch?: (value: string, event?:
|
62
|
+
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
66
63
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
67
64
|
clear?: boolean;
|
68
65
|
hasDivider?: boolean;
|
@@ -71,53 +68,53 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
|
|
71
68
|
hintTrigger?: "hover" | "click";
|
72
69
|
hintView?: string;
|
73
70
|
hintSize?: string;
|
74
|
-
hintTargetIcon?:
|
71
|
+
hintTargetIcon?: import("react").ReactNode;
|
75
72
|
hintTargetPlacement?: "inner" | "outer";
|
76
73
|
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | Array<import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic>;
|
77
74
|
hintHasArrow?: boolean;
|
78
75
|
hintOffset?: [number, number];
|
79
76
|
hintWidth?: string;
|
80
|
-
hintContentLeft?:
|
77
|
+
hintContentLeft?: import("react").ReactNode;
|
81
78
|
} & {
|
82
79
|
chips?: never;
|
83
80
|
onChangeChips?: never;
|
84
81
|
enumerationType?: "plain";
|
85
|
-
onSearch?: (value: string, event?:
|
82
|
+
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
86
83
|
chipType?: never;
|
87
84
|
chipView?: never;
|
88
85
|
chipValidator?: never;
|
89
|
-
}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit<
|
86
|
+
}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "value" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
90
87
|
labelPlacement?: string;
|
91
88
|
readOnly?: boolean;
|
92
89
|
disabled?: boolean;
|
93
90
|
portal?: string | React.RefObject<HTMLElement>;
|
94
|
-
zIndex?:
|
91
|
+
zIndex?: import("react").CSSProperties["zIndex"];
|
95
92
|
value?: string;
|
96
93
|
defaultValue?: string;
|
97
|
-
suggestions?: SuggestionItemType[]
|
94
|
+
suggestions?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[];
|
98
95
|
threshold?: number;
|
99
|
-
filter?: (
|
100
|
-
onSuggestionSelect?: (
|
96
|
+
filter?: (data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => boolean;
|
97
|
+
onSuggestionSelect?: (data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => void;
|
101
98
|
onScroll?: (e: React.UIEvent<HTMLElement>) => void;
|
102
99
|
listMaxHeight?: string;
|
103
100
|
listWidth?: string;
|
104
|
-
renderList?: (
|
105
|
-
renderListEnd?: () =>
|
106
|
-
renderItem?: (
|
107
|
-
beforeList?:
|
108
|
-
afterList?:
|
101
|
+
renderList?: (data?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[]) => import("react").ReactNode;
|
102
|
+
renderListEnd?: () => import("react").ReactNode;
|
103
|
+
renderItem?: (item: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => React.ReactNode;
|
104
|
+
beforeList?: import("react").ReactNode;
|
105
|
+
afterList?: import("react").ReactNode;
|
109
106
|
virtual?: boolean;
|
110
107
|
flip?: boolean;
|
111
108
|
size?: string;
|
112
109
|
view?: string;
|
113
110
|
} & Omit<{
|
114
|
-
titleCaption?:
|
115
|
-
leftHelper?:
|
111
|
+
titleCaption?: import("react").ReactNode;
|
112
|
+
leftHelper?: import("react").ReactNode;
|
116
113
|
contentLeft?: React.ReactElement;
|
117
114
|
contentRight?: React.ReactElement;
|
118
115
|
textBefore?: string;
|
119
116
|
textAfter?: string;
|
120
|
-
onSearch?: (value: string, event?:
|
117
|
+
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
121
118
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
122
119
|
clear?: boolean;
|
123
120
|
hasDivider?: boolean;
|
@@ -126,13 +123,13 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
|
|
126
123
|
hintTrigger?: "hover" | "click";
|
127
124
|
hintView?: string;
|
128
125
|
hintSize?: string;
|
129
|
-
hintTargetIcon?:
|
126
|
+
hintTargetIcon?: import("react").ReactNode;
|
130
127
|
hintTargetPlacement?: "inner" | "outer";
|
131
128
|
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | Array<import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic>;
|
132
129
|
hintHasArrow?: boolean;
|
133
130
|
hintOffset?: [number, number];
|
134
131
|
hintWidth?: string;
|
135
|
-
hintContentLeft?:
|
132
|
+
hintContentLeft?: import("react").ReactNode;
|
136
133
|
} & {
|
137
134
|
enumerationType: "chip";
|
138
135
|
onSearch?: never;
|
@@ -143,38 +140,38 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
|
|
143
140
|
chipValidator?: (value: string) => {
|
144
141
|
view?: string;
|
145
142
|
};
|
146
|
-
}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit<
|
143
|
+
}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "value" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
147
144
|
labelPlacement?: string;
|
148
145
|
readOnly?: boolean;
|
149
146
|
disabled?: boolean;
|
150
147
|
portal?: string | React.RefObject<HTMLElement>;
|
151
|
-
zIndex?:
|
148
|
+
zIndex?: import("react").CSSProperties["zIndex"];
|
152
149
|
value?: string;
|
153
150
|
defaultValue?: string;
|
154
|
-
suggestions?: SuggestionItemType[]
|
151
|
+
suggestions?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[];
|
155
152
|
threshold?: number;
|
156
|
-
filter?: (
|
157
|
-
onSuggestionSelect?: (
|
153
|
+
filter?: (data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => boolean;
|
154
|
+
onSuggestionSelect?: (data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => void;
|
158
155
|
onScroll?: (e: React.UIEvent<HTMLElement>) => void;
|
159
156
|
listMaxHeight?: string;
|
160
157
|
listWidth?: string;
|
161
|
-
renderList?: (
|
162
|
-
renderListEnd?: () =>
|
163
|
-
renderItem?: (
|
164
|
-
beforeList?:
|
165
|
-
afterList?:
|
158
|
+
renderList?: (data?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[]) => import("react").ReactNode;
|
159
|
+
renderListEnd?: () => import("react").ReactNode;
|
160
|
+
renderItem?: (item: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => React.ReactNode;
|
161
|
+
beforeList?: import("react").ReactNode;
|
162
|
+
afterList?: import("react").ReactNode;
|
166
163
|
virtual?: boolean;
|
167
164
|
flip?: boolean;
|
168
165
|
size?: string;
|
169
166
|
view?: string;
|
170
167
|
} & Omit<{
|
171
|
-
titleCaption?:
|
172
|
-
leftHelper?:
|
168
|
+
titleCaption?: import("react").ReactNode;
|
169
|
+
leftHelper?: import("react").ReactNode;
|
173
170
|
contentLeft?: React.ReactElement;
|
174
171
|
contentRight?: React.ReactElement;
|
175
172
|
textBefore?: string;
|
176
173
|
textAfter?: string;
|
177
|
-
onSearch?: (value: string, event?:
|
174
|
+
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
178
175
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
179
176
|
clear?: boolean;
|
180
177
|
hasDivider?: boolean;
|
@@ -194,42 +191,42 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
|
|
194
191
|
chips?: never;
|
195
192
|
onChangeChips?: never;
|
196
193
|
enumerationType?: "plain";
|
197
|
-
onSearch?: (value: string, event?:
|
194
|
+
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
198
195
|
chipType?: never;
|
199
196
|
chipView?: never;
|
200
197
|
chipValidator?: never;
|
201
|
-
}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit<
|
198
|
+
}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "value" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
202
199
|
labelPlacement?: string;
|
203
200
|
readOnly?: boolean;
|
204
201
|
disabled?: boolean;
|
205
202
|
portal?: string | React.RefObject<HTMLElement>;
|
206
|
-
zIndex?:
|
203
|
+
zIndex?: import("react").CSSProperties["zIndex"];
|
207
204
|
value?: string;
|
208
205
|
defaultValue?: string;
|
209
|
-
suggestions?: SuggestionItemType[]
|
206
|
+
suggestions?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[];
|
210
207
|
threshold?: number;
|
211
|
-
filter?: (
|
212
|
-
onSuggestionSelect?: (
|
208
|
+
filter?: (data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => boolean;
|
209
|
+
onSuggestionSelect?: (data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => void;
|
213
210
|
onScroll?: (e: React.UIEvent<HTMLElement>) => void;
|
214
211
|
listMaxHeight?: string;
|
215
212
|
listWidth?: string;
|
216
|
-
renderList?: (
|
217
|
-
renderListEnd?: () =>
|
218
|
-
renderItem?: (
|
219
|
-
beforeList?:
|
220
|
-
afterList?:
|
213
|
+
renderList?: (data?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[]) => import("react").ReactNode;
|
214
|
+
renderListEnd?: () => import("react").ReactNode;
|
215
|
+
renderItem?: (item: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => React.ReactNode;
|
216
|
+
beforeList?: import("react").ReactNode;
|
217
|
+
afterList?: import("react").ReactNode;
|
221
218
|
virtual?: boolean;
|
222
219
|
flip?: boolean;
|
223
220
|
size?: string;
|
224
221
|
view?: string;
|
225
222
|
} & Omit<{
|
226
|
-
titleCaption?:
|
227
|
-
leftHelper?:
|
223
|
+
titleCaption?: import("react").ReactNode;
|
224
|
+
leftHelper?: import("react").ReactNode;
|
228
225
|
contentLeft?: React.ReactElement;
|
229
226
|
contentRight?: React.ReactElement;
|
230
227
|
textBefore?: string;
|
231
228
|
textAfter?: string;
|
232
|
-
onSearch?: (value: string, event?:
|
229
|
+
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
233
230
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
234
231
|
clear?: boolean;
|
235
232
|
hasDivider?: boolean;
|
@@ -255,38 +252,38 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
|
|
255
252
|
chipValidator?: (value: string) => {
|
256
253
|
view?: string;
|
257
254
|
};
|
258
|
-
}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit<
|
255
|
+
}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "value" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
259
256
|
labelPlacement?: string;
|
260
257
|
readOnly?: boolean;
|
261
258
|
disabled?: boolean;
|
262
259
|
portal?: string | React.RefObject<HTMLElement>;
|
263
|
-
zIndex?:
|
260
|
+
zIndex?: import("react").CSSProperties["zIndex"];
|
264
261
|
value?: string;
|
265
262
|
defaultValue?: string;
|
266
|
-
suggestions?: SuggestionItemType[]
|
263
|
+
suggestions?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[];
|
267
264
|
threshold?: number;
|
268
|
-
filter?: (
|
269
|
-
onSuggestionSelect?: (
|
265
|
+
filter?: (data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => boolean;
|
266
|
+
onSuggestionSelect?: (data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => void;
|
270
267
|
onScroll?: (e: React.UIEvent<HTMLElement>) => void;
|
271
268
|
listMaxHeight?: string;
|
272
269
|
listWidth?: string;
|
273
|
-
renderList?: (
|
274
|
-
renderListEnd?: () =>
|
275
|
-
renderItem?: (
|
276
|
-
beforeList?:
|
277
|
-
afterList?:
|
270
|
+
renderList?: (data?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[]) => import("react").ReactNode;
|
271
|
+
renderListEnd?: () => import("react").ReactNode;
|
272
|
+
renderItem?: (item: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => React.ReactNode;
|
273
|
+
beforeList?: import("react").ReactNode;
|
274
|
+
afterList?: import("react").ReactNode;
|
278
275
|
virtual?: boolean;
|
279
276
|
flip?: boolean;
|
280
277
|
size?: string;
|
281
278
|
view?: string;
|
282
279
|
} & Omit<{
|
283
|
-
titleCaption?:
|
284
|
-
leftHelper?:
|
280
|
+
titleCaption?: import("react").ReactNode;
|
281
|
+
leftHelper?: import("react").ReactNode;
|
285
282
|
contentLeft?: React.ReactElement;
|
286
283
|
contentRight?: React.ReactElement;
|
287
284
|
textBefore?: string;
|
288
285
|
textAfter?: string;
|
289
|
-
onSearch?: (value: string, event?:
|
286
|
+
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
290
287
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
291
288
|
clear?: false;
|
292
289
|
hasDivider?: never;
|
@@ -295,53 +292,53 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
|
|
295
292
|
hintTrigger?: "hover" | "click";
|
296
293
|
hintView?: string;
|
297
294
|
hintSize?: string;
|
298
|
-
hintTargetIcon?:
|
295
|
+
hintTargetIcon?: import("react").ReactNode;
|
299
296
|
hintTargetPlacement?: "inner" | "outer";
|
300
297
|
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | Array<import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic>;
|
301
298
|
hintHasArrow?: boolean;
|
302
299
|
hintOffset?: [number, number];
|
303
300
|
hintWidth?: string;
|
304
|
-
hintContentLeft?:
|
301
|
+
hintContentLeft?: import("react").ReactNode;
|
305
302
|
} & {
|
306
303
|
chips?: never;
|
307
304
|
onChangeChips?: never;
|
308
305
|
enumerationType?: "plain";
|
309
|
-
onSearch?: (value: string, event?:
|
306
|
+
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
310
307
|
chipType?: never;
|
311
308
|
chipView?: never;
|
312
309
|
chipValidator?: never;
|
313
|
-
}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit<
|
310
|
+
}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "value" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
314
311
|
labelPlacement?: string;
|
315
312
|
readOnly?: boolean;
|
316
313
|
disabled?: boolean;
|
317
314
|
portal?: string | React.RefObject<HTMLElement>;
|
318
|
-
zIndex?:
|
315
|
+
zIndex?: import("react").CSSProperties["zIndex"];
|
319
316
|
value?: string;
|
320
317
|
defaultValue?: string;
|
321
|
-
suggestions?: SuggestionItemType[]
|
318
|
+
suggestions?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[];
|
322
319
|
threshold?: number;
|
323
|
-
filter?: (
|
324
|
-
onSuggestionSelect?: (
|
320
|
+
filter?: (data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => boolean;
|
321
|
+
onSuggestionSelect?: (data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => void;
|
325
322
|
onScroll?: (e: React.UIEvent<HTMLElement>) => void;
|
326
323
|
listMaxHeight?: string;
|
327
324
|
listWidth?: string;
|
328
|
-
renderList?: (
|
329
|
-
renderListEnd?: () =>
|
330
|
-
renderItem?: (
|
331
|
-
beforeList?:
|
332
|
-
afterList?:
|
325
|
+
renderList?: (data?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[]) => import("react").ReactNode;
|
326
|
+
renderListEnd?: () => import("react").ReactNode;
|
327
|
+
renderItem?: (item: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => React.ReactNode;
|
328
|
+
beforeList?: import("react").ReactNode;
|
329
|
+
afterList?: import("react").ReactNode;
|
333
330
|
virtual?: boolean;
|
334
331
|
flip?: boolean;
|
335
332
|
size?: string;
|
336
333
|
view?: string;
|
337
334
|
} & Omit<{
|
338
|
-
titleCaption?:
|
339
|
-
leftHelper?:
|
335
|
+
titleCaption?: import("react").ReactNode;
|
336
|
+
leftHelper?: import("react").ReactNode;
|
340
337
|
contentLeft?: React.ReactElement;
|
341
338
|
contentRight?: React.ReactElement;
|
342
339
|
textBefore?: string;
|
343
340
|
textAfter?: string;
|
344
|
-
onSearch?: (value: string, event?:
|
341
|
+
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
345
342
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
346
343
|
clear?: false;
|
347
344
|
hasDivider?: never;
|
@@ -350,13 +347,13 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
|
|
350
347
|
hintTrigger?: "hover" | "click";
|
351
348
|
hintView?: string;
|
352
349
|
hintSize?: string;
|
353
|
-
hintTargetIcon?:
|
350
|
+
hintTargetIcon?: import("react").ReactNode;
|
354
351
|
hintTargetPlacement?: "inner" | "outer";
|
355
352
|
hintPlacement?: import("@salutejs/plasma-new-hope/styled-components").PopoverPlacement | Array<import("@salutejs/plasma-new-hope/styled-components").PopoverPlacementBasic>;
|
356
353
|
hintHasArrow?: boolean;
|
357
354
|
hintOffset?: [number, number];
|
358
355
|
hintWidth?: string;
|
359
|
-
hintContentLeft?:
|
356
|
+
hintContentLeft?: import("react").ReactNode;
|
360
357
|
} & {
|
361
358
|
enumerationType: "chip";
|
362
359
|
onSearch?: never;
|
@@ -367,38 +364,38 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
|
|
367
364
|
chipValidator?: (value: string) => {
|
368
365
|
view?: string;
|
369
366
|
};
|
370
|
-
}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit<
|
367
|
+
}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "value" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
371
368
|
labelPlacement?: string;
|
372
369
|
readOnly?: boolean;
|
373
370
|
disabled?: boolean;
|
374
371
|
portal?: string | React.RefObject<HTMLElement>;
|
375
|
-
zIndex?:
|
372
|
+
zIndex?: import("react").CSSProperties["zIndex"];
|
376
373
|
value?: string;
|
377
374
|
defaultValue?: string;
|
378
|
-
suggestions?: SuggestionItemType[]
|
375
|
+
suggestions?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[];
|
379
376
|
threshold?: number;
|
380
|
-
filter?: (
|
381
|
-
onSuggestionSelect?: (
|
377
|
+
filter?: (data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => boolean;
|
378
|
+
onSuggestionSelect?: (data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => void;
|
382
379
|
onScroll?: (e: React.UIEvent<HTMLElement>) => void;
|
383
380
|
listMaxHeight?: string;
|
384
381
|
listWidth?: string;
|
385
|
-
renderList?: (
|
386
|
-
renderListEnd?: () =>
|
387
|
-
renderItem?: (
|
388
|
-
beforeList?:
|
389
|
-
afterList?:
|
382
|
+
renderList?: (data?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[]) => import("react").ReactNode;
|
383
|
+
renderListEnd?: () => import("react").ReactNode;
|
384
|
+
renderItem?: (item: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => React.ReactNode;
|
385
|
+
beforeList?: import("react").ReactNode;
|
386
|
+
afterList?: import("react").ReactNode;
|
390
387
|
virtual?: boolean;
|
391
388
|
flip?: boolean;
|
392
389
|
size?: string;
|
393
390
|
view?: string;
|
394
391
|
} & Omit<{
|
395
|
-
titleCaption?:
|
396
|
-
leftHelper?:
|
392
|
+
titleCaption?: import("react").ReactNode;
|
393
|
+
leftHelper?: import("react").ReactNode;
|
397
394
|
contentLeft?: React.ReactElement;
|
398
395
|
contentRight?: React.ReactElement;
|
399
396
|
textBefore?: string;
|
400
397
|
textAfter?: string;
|
401
|
-
onSearch?: (value: string, event?:
|
398
|
+
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
402
399
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
403
400
|
clear?: false;
|
404
401
|
hasDivider?: never;
|
@@ -418,42 +415,42 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
|
|
418
415
|
chips?: never;
|
419
416
|
onChangeChips?: never;
|
420
417
|
enumerationType?: "plain";
|
421
|
-
onSearch?: (value: string, event?:
|
418
|
+
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
422
419
|
chipType?: never;
|
423
420
|
chipView?: never;
|
424
421
|
chipValidator?: never;
|
425
|
-
}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit<
|
422
|
+
}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "value" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
426
423
|
labelPlacement?: string;
|
427
424
|
readOnly?: boolean;
|
428
425
|
disabled?: boolean;
|
429
426
|
portal?: string | React.RefObject<HTMLElement>;
|
430
|
-
zIndex?:
|
427
|
+
zIndex?: import("react").CSSProperties["zIndex"];
|
431
428
|
value?: string;
|
432
429
|
defaultValue?: string;
|
433
|
-
suggestions?: SuggestionItemType[]
|
430
|
+
suggestions?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[];
|
434
431
|
threshold?: number;
|
435
|
-
filter?: (
|
436
|
-
onSuggestionSelect?: (
|
432
|
+
filter?: (data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => boolean;
|
433
|
+
onSuggestionSelect?: (data: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => void;
|
437
434
|
onScroll?: (e: React.UIEvent<HTMLElement>) => void;
|
438
435
|
listMaxHeight?: string;
|
439
436
|
listWidth?: string;
|
440
|
-
renderList?: (
|
441
|
-
renderListEnd?: () =>
|
442
|
-
renderItem?: (
|
443
|
-
beforeList?:
|
444
|
-
afterList?:
|
437
|
+
renderList?: (data?: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType[]) => import("react").ReactNode;
|
438
|
+
renderListEnd?: () => import("react").ReactNode;
|
439
|
+
renderItem?: (item: import("@salutejs/plasma-new-hope/styled-components").SuggestionItemType) => React.ReactNode;
|
440
|
+
beforeList?: import("react").ReactNode;
|
441
|
+
afterList?: import("react").ReactNode;
|
445
442
|
virtual?: boolean;
|
446
443
|
flip?: boolean;
|
447
444
|
size?: string;
|
448
445
|
view?: string;
|
449
446
|
} & Omit<{
|
450
|
-
titleCaption?:
|
451
|
-
leftHelper?:
|
447
|
+
titleCaption?: import("react").ReactNode;
|
448
|
+
leftHelper?: import("react").ReactNode;
|
452
449
|
contentLeft?: React.ReactElement;
|
453
450
|
contentRight?: React.ReactElement;
|
454
451
|
textBefore?: string;
|
455
452
|
textAfter?: string;
|
456
|
-
onSearch?: (value: string, event?:
|
453
|
+
onSearch?: (value: string, event?: import("react").KeyboardEvent<HTMLInputElement>) => void;
|
457
454
|
} & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").LabelProps & import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").RequiredProps & {
|
458
455
|
clear?: false;
|
459
456
|
hasDivider?: never;
|
@@ -479,8 +476,4 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
|
|
479
476
|
chipValidator?: (value: string) => {
|
480
477
|
view?: string;
|
481
478
|
};
|
482
|
-
}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit<
|
483
|
-
type PropsFromConfig = keyof typeof config['variations'];
|
484
|
-
type Props<T extends SuggestionItemType> = DistributiveOmit<AutocompleteProps<T>, PropsFromConfig> & DistributivePick<ComponentProps<typeof AutocompleteComponent>, PropsFromConfig>;
|
485
|
-
export declare const Autocomplete: <T extends SuggestionItemType>(props: Props<T> & React.RefAttributes<HTMLInputElement>) => React.ReactElement | null;
|
486
|
-
export {};
|
479
|
+
}, "labelPlacement" | "chipView" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipValidator"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "value" | "required"> & import("react").RefAttributes<HTMLInputElement>))>;
|
@@ -2,85 +2,13 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", {
|
3
3
|
value: true
|
4
4
|
});
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
get: Object.getOwnPropertyDescriptor(all, name).get
|
9
|
-
});
|
10
|
-
}
|
11
|
-
_export(exports, {
|
12
|
-
get Autocomplete () {
|
5
|
+
Object.defineProperty(exports, "Autocomplete", {
|
6
|
+
enumerable: true,
|
7
|
+
get: function() {
|
13
8
|
return Autocomplete;
|
14
|
-
},
|
15
|
-
get AutocompleteComponent () {
|
16
|
-
return AutocompleteComponent;
|
17
9
|
}
|
18
10
|
});
|
19
11
|
var _styledcomponents = require("@salutejs/plasma-new-hope/styled-components");
|
20
|
-
var _react = /*#__PURE__*/ _interop_require_default(require("react"));
|
21
12
|
var _Autocompleteconfig = require("./Autocomplete.config");
|
22
|
-
function _define_property(obj, key, value) {
|
23
|
-
if (key in obj) {
|
24
|
-
Object.defineProperty(obj, key, {
|
25
|
-
value: value,
|
26
|
-
enumerable: true,
|
27
|
-
configurable: true,
|
28
|
-
writable: true
|
29
|
-
});
|
30
|
-
} else {
|
31
|
-
obj[key] = value;
|
32
|
-
}
|
33
|
-
return obj;
|
34
|
-
}
|
35
|
-
function _interop_require_default(obj) {
|
36
|
-
return obj && obj.__esModule ? obj : {
|
37
|
-
default: obj
|
38
|
-
};
|
39
|
-
}
|
40
|
-
function _object_spread(target) {
|
41
|
-
for(var i = 1; i < arguments.length; i++){
|
42
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
43
|
-
var ownKeys = Object.keys(source);
|
44
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
45
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
46
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
47
|
-
}));
|
48
|
-
}
|
49
|
-
ownKeys.forEach(function(key) {
|
50
|
-
_define_property(target, key, source[key]);
|
51
|
-
});
|
52
|
-
}
|
53
|
-
return target;
|
54
|
-
}
|
55
|
-
function ownKeys(object, enumerableOnly) {
|
56
|
-
var keys = Object.keys(object);
|
57
|
-
if (Object.getOwnPropertySymbols) {
|
58
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
59
|
-
if (enumerableOnly) {
|
60
|
-
symbols = symbols.filter(function(sym) {
|
61
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
62
|
-
});
|
63
|
-
}
|
64
|
-
keys.push.apply(keys, symbols);
|
65
|
-
}
|
66
|
-
return keys;
|
67
|
-
}
|
68
|
-
function _object_spread_props(target, source) {
|
69
|
-
source = source != null ? source : {};
|
70
|
-
if (Object.getOwnPropertyDescriptors) {
|
71
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
72
|
-
} else {
|
73
|
-
ownKeys(Object(source)).forEach(function(key) {
|
74
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
75
|
-
});
|
76
|
-
}
|
77
|
-
return target;
|
78
|
-
}
|
79
13
|
var mergedConfig = (0, _styledcomponents.mergeConfig)(_styledcomponents.autocompleteConfig, _Autocompleteconfig.config);
|
80
|
-
var
|
81
|
-
var AutocompleteWithoutRef = function(props, ref) {
|
82
|
-
return /*#__PURE__*/ _react.default.createElement(AutocompleteComponent, _object_spread_props(_object_spread({}, props), {
|
83
|
-
ref: ref
|
84
|
-
}));
|
85
|
-
};
|
86
|
-
var Autocomplete = (0, _styledcomponents.fixedForwardRef)(AutocompleteWithoutRef);
|
14
|
+
var Autocomplete = (0, _styledcomponents.component)(mergedConfig);
|
@@ -54,6 +54,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
54
54
|
beforeList?: React.ReactNode;
|
55
55
|
afterList?: React.ReactNode;
|
56
56
|
virtual?: boolean;
|
57
|
+
mode?: "default" | "radio";
|
57
58
|
size?: string;
|
58
59
|
view?: string;
|
59
60
|
emptyStateDescription?: string;
|
@@ -108,6 +109,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
108
109
|
beforeList?: React.ReactNode;
|
109
110
|
afterList?: React.ReactNode;
|
110
111
|
virtual?: boolean;
|
112
|
+
mode?: "default" | "radio";
|
111
113
|
size?: string;
|
112
114
|
view?: string;
|
113
115
|
emptyStateDescription?: string;
|
@@ -162,6 +164,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
162
164
|
beforeList?: React.ReactNode;
|
163
165
|
afterList?: React.ReactNode;
|
164
166
|
virtual?: boolean;
|
167
|
+
mode?: "default" | "radio";
|
165
168
|
size?: string;
|
166
169
|
view?: string;
|
167
170
|
emptyStateDescription?: string;
|
@@ -216,6 +219,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
216
219
|
beforeList?: React.ReactNode;
|
217
220
|
afterList?: React.ReactNode;
|
218
221
|
virtual?: boolean;
|
222
|
+
mode?: "default" | "radio";
|
219
223
|
size?: string;
|
220
224
|
view?: string;
|
221
225
|
emptyStateDescription?: string;
|
@@ -270,6 +274,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
270
274
|
beforeList?: React.ReactNode;
|
271
275
|
afterList?: React.ReactNode;
|
272
276
|
virtual?: boolean;
|
277
|
+
mode?: "default" | "radio";
|
273
278
|
size?: string;
|
274
279
|
view?: string;
|
275
280
|
emptyStateDescription?: string;
|
@@ -324,6 +329,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
324
329
|
beforeList?: React.ReactNode;
|
325
330
|
afterList?: React.ReactNode;
|
326
331
|
virtual?: boolean;
|
332
|
+
mode?: "default" | "radio";
|
327
333
|
size?: string;
|
328
334
|
view?: string;
|
329
335
|
emptyStateDescription?: string;
|
@@ -378,6 +384,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
378
384
|
beforeList?: React.ReactNode;
|
379
385
|
afterList?: React.ReactNode;
|
380
386
|
virtual?: boolean;
|
387
|
+
mode?: "default" | "radio";
|
381
388
|
size?: string;
|
382
389
|
view?: string;
|
383
390
|
emptyStateDescription?: string;
|
@@ -432,6 +439,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
432
439
|
beforeList?: React.ReactNode;
|
433
440
|
afterList?: React.ReactNode;
|
434
441
|
virtual?: boolean;
|
442
|
+
mode?: "default" | "radio";
|
435
443
|
size?: string;
|
436
444
|
view?: string;
|
437
445
|
emptyStateDescription?: string;
|
@@ -486,6 +494,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
486
494
|
beforeList?: React.ReactNode;
|
487
495
|
afterList?: React.ReactNode;
|
488
496
|
virtual?: boolean;
|
497
|
+
mode?: "default" | "radio";
|
489
498
|
size?: string;
|
490
499
|
view?: string;
|
491
500
|
emptyStateDescription?: string;
|
@@ -540,6 +549,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
540
549
|
beforeList?: React.ReactNode;
|
541
550
|
afterList?: React.ReactNode;
|
542
551
|
virtual?: boolean;
|
552
|
+
mode?: "default" | "radio";
|
543
553
|
size?: string;
|
544
554
|
view?: string;
|
545
555
|
emptyStateDescription?: string;
|
@@ -594,6 +604,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
594
604
|
beforeList?: React.ReactNode;
|
595
605
|
afterList?: React.ReactNode;
|
596
606
|
virtual?: boolean;
|
607
|
+
mode?: "default" | "radio";
|
597
608
|
size?: string;
|
598
609
|
view?: string;
|
599
610
|
emptyStateDescription?: string;
|
@@ -648,6 +659,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
648
659
|
beforeList?: React.ReactNode;
|
649
660
|
afterList?: React.ReactNode;
|
650
661
|
virtual?: boolean;
|
662
|
+
mode?: "default" | "radio";
|
651
663
|
size?: string;
|
652
664
|
view?: string;
|
653
665
|
emptyStateDescription?: string;
|
@@ -702,6 +714,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
702
714
|
beforeList?: React.ReactNode;
|
703
715
|
afterList?: React.ReactNode;
|
704
716
|
virtual?: boolean;
|
717
|
+
mode?: "default" | "radio";
|
705
718
|
size?: string;
|
706
719
|
view?: string;
|
707
720
|
emptyStateDescription?: string;
|
@@ -756,6 +769,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
756
769
|
beforeList?: React.ReactNode;
|
757
770
|
afterList?: React.ReactNode;
|
758
771
|
virtual?: boolean;
|
772
|
+
mode?: "default" | "radio";
|
759
773
|
size?: string;
|
760
774
|
view?: string;
|
761
775
|
emptyStateDescription?: string;
|
@@ -810,6 +824,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
810
824
|
beforeList?: React.ReactNode;
|
811
825
|
afterList?: React.ReactNode;
|
812
826
|
virtual?: boolean;
|
827
|
+
mode?: "default" | "radio";
|
813
828
|
size?: string;
|
814
829
|
view?: string;
|
815
830
|
emptyStateDescription?: string;
|
@@ -864,6 +879,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
864
879
|
beforeList?: React.ReactNode;
|
865
880
|
afterList?: React.ReactNode;
|
866
881
|
virtual?: boolean;
|
882
|
+
mode?: "default" | "radio";
|
867
883
|
size?: string;
|
868
884
|
view?: string;
|
869
885
|
emptyStateDescription?: string;
|
@@ -918,6 +934,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
918
934
|
beforeList?: React.ReactNode;
|
919
935
|
afterList?: React.ReactNode;
|
920
936
|
virtual?: boolean;
|
937
|
+
mode?: "default" | "radio";
|
921
938
|
size?: string;
|
922
939
|
view?: string;
|
923
940
|
emptyStateDescription?: string;
|
@@ -972,6 +989,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
972
989
|
beforeList?: React.ReactNode;
|
973
990
|
afterList?: React.ReactNode;
|
974
991
|
virtual?: boolean;
|
992
|
+
mode?: "default" | "radio";
|
975
993
|
size?: string;
|
976
994
|
view?: string;
|
977
995
|
emptyStateDescription?: string;
|
@@ -1026,6 +1044,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1026
1044
|
beforeList?: React.ReactNode;
|
1027
1045
|
afterList?: React.ReactNode;
|
1028
1046
|
virtual?: boolean;
|
1047
|
+
mode?: "default" | "radio";
|
1029
1048
|
size?: string;
|
1030
1049
|
view?: string;
|
1031
1050
|
emptyStateDescription?: string;
|
@@ -1080,6 +1099,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1080
1099
|
beforeList?: React.ReactNode;
|
1081
1100
|
afterList?: React.ReactNode;
|
1082
1101
|
virtual?: boolean;
|
1102
|
+
mode?: "default" | "radio";
|
1083
1103
|
size?: string;
|
1084
1104
|
view?: string;
|
1085
1105
|
emptyStateDescription?: string;
|
@@ -1134,6 +1154,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1134
1154
|
beforeList?: React.ReactNode;
|
1135
1155
|
afterList?: React.ReactNode;
|
1136
1156
|
virtual?: boolean;
|
1157
|
+
mode?: "default" | "radio";
|
1137
1158
|
size?: string;
|
1138
1159
|
view?: string;
|
1139
1160
|
emptyStateDescription?: string;
|
@@ -1188,6 +1209,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1188
1209
|
beforeList?: React.ReactNode;
|
1189
1210
|
afterList?: React.ReactNode;
|
1190
1211
|
virtual?: boolean;
|
1212
|
+
mode?: "default" | "radio";
|
1191
1213
|
size?: string;
|
1192
1214
|
view?: string;
|
1193
1215
|
emptyStateDescription?: string;
|
@@ -1242,6 +1264,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1242
1264
|
beforeList?: React.ReactNode;
|
1243
1265
|
afterList?: React.ReactNode;
|
1244
1266
|
virtual?: boolean;
|
1267
|
+
mode?: "default" | "radio";
|
1245
1268
|
size?: string;
|
1246
1269
|
view?: string;
|
1247
1270
|
emptyStateDescription?: string;
|
@@ -1296,6 +1319,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
|
|
1296
1319
|
beforeList?: React.ReactNode;
|
1297
1320
|
afterList?: React.ReactNode;
|
1298
1321
|
virtual?: boolean;
|
1322
|
+
mode?: "default" | "radio";
|
1299
1323
|
size?: string;
|
1300
1324
|
view?: string;
|
1301
1325
|
emptyStateDescription?: string;
|
@@ -1,63 +1,4 @@
|
|
1
|
-
|
2
|
-
if (key in obj) {
|
3
|
-
Object.defineProperty(obj, key, {
|
4
|
-
value: value,
|
5
|
-
enumerable: true,
|
6
|
-
configurable: true,
|
7
|
-
writable: true
|
8
|
-
});
|
9
|
-
} else {
|
10
|
-
obj[key] = value;
|
11
|
-
}
|
12
|
-
return obj;
|
13
|
-
}
|
14
|
-
function _object_spread(target) {
|
15
|
-
for(var i = 1; i < arguments.length; i++){
|
16
|
-
var source = arguments[i] != null ? arguments[i] : {};
|
17
|
-
var ownKeys = Object.keys(source);
|
18
|
-
if (typeof Object.getOwnPropertySymbols === "function") {
|
19
|
-
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
20
|
-
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
21
|
-
}));
|
22
|
-
}
|
23
|
-
ownKeys.forEach(function(key) {
|
24
|
-
_define_property(target, key, source[key]);
|
25
|
-
});
|
26
|
-
}
|
27
|
-
return target;
|
28
|
-
}
|
29
|
-
function ownKeys(object, enumerableOnly) {
|
30
|
-
var keys = Object.keys(object);
|
31
|
-
if (Object.getOwnPropertySymbols) {
|
32
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
33
|
-
if (enumerableOnly) {
|
34
|
-
symbols = symbols.filter(function(sym) {
|
35
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
36
|
-
});
|
37
|
-
}
|
38
|
-
keys.push.apply(keys, symbols);
|
39
|
-
}
|
40
|
-
return keys;
|
41
|
-
}
|
42
|
-
function _object_spread_props(target, source) {
|
43
|
-
source = source != null ? source : {};
|
44
|
-
if (Object.getOwnPropertyDescriptors) {
|
45
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
46
|
-
} else {
|
47
|
-
ownKeys(Object(source)).forEach(function(key) {
|
48
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
49
|
-
});
|
50
|
-
}
|
51
|
-
return target;
|
52
|
-
}
|
53
|
-
import { autocompleteConfig, component, mergeConfig, fixedForwardRef } from '@salutejs/plasma-new-hope/styled-components';
|
54
|
-
import React from 'react';
|
1
|
+
import { autocompleteConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/styled-components';
|
55
2
|
import { config } from './Autocomplete.config';
|
56
3
|
var mergedConfig = mergeConfig(autocompleteConfig, config);
|
57
|
-
export var
|
58
|
-
var AutocompleteWithoutRef = function(props, ref) {
|
59
|
-
return /*#__PURE__*/ React.createElement(AutocompleteComponent, _object_spread_props(_object_spread({}, props), {
|
60
|
-
ref: ref
|
61
|
-
}));
|
62
|
-
};
|
63
|
-
export var Autocomplete = fixedForwardRef(AutocompleteWithoutRef);
|
4
|
+
export var Autocomplete = component(mergedConfig);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/sdds-dfa",
|
3
|
-
"version": "0.322.0-canary.
|
3
|
+
"version": "0.322.0-canary.2213.17494099813.0",
|
4
4
|
"description": "Salute Design System / React UI kit for SDDS DFA web applications",
|
5
5
|
"author": "Salute Frontend Team <salute.developers@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"directory": "packages/sdds-dfa"
|
20
20
|
},
|
21
21
|
"dependencies": {
|
22
|
-
"@salutejs/plasma-new-hope": "0.336.0-canary.
|
22
|
+
"@salutejs/plasma-new-hope": "0.336.0-canary.2213.17494099813.0",
|
23
23
|
"@salutejs/sdds-themes": "0.47.0"
|
24
24
|
},
|
25
25
|
"peerDependencies": {
|
@@ -94,5 +94,5 @@
|
|
94
94
|
"Anton Vinogradov"
|
95
95
|
],
|
96
96
|
"sideEffects": false,
|
97
|
-
"gitHead": "
|
97
|
+
"gitHead": "490a2a5b89d07d719db21c90d299985aa97ee898"
|
98
98
|
}
|