@elliemae/ds-search-field 2.0.0-rc.4 → 2.0.0-rc.8
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.
- package/package.json +7 -7
- package/types/DSSearchField.d.ts +196 -28
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-search-field",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Search Field",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -56,12 +56,12 @@
|
|
|
56
56
|
"build": "node ../../scripts/build/build.js"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@elliemae/ds-basic": "2.0.0-rc.
|
|
60
|
-
"@elliemae/ds-classnames": "2.0.0-rc.
|
|
61
|
-
"@elliemae/ds-datagrids": "2.0.0-rc.
|
|
62
|
-
"@elliemae/ds-icons": "2.0.0-rc.
|
|
63
|
-
"@elliemae/ds-modal": "2.0.0-rc.
|
|
64
|
-
"@elliemae/ds-utilities": "2.0.0-rc.
|
|
59
|
+
"@elliemae/ds-basic": "2.0.0-rc.8",
|
|
60
|
+
"@elliemae/ds-classnames": "2.0.0-rc.8",
|
|
61
|
+
"@elliemae/ds-datagrids": "2.0.0-rc.8",
|
|
62
|
+
"@elliemae/ds-icons": "2.0.0-rc.8",
|
|
63
|
+
"@elliemae/ds-modal": "2.0.0-rc.8",
|
|
64
|
+
"@elliemae/ds-utilities": "2.0.0-rc.8",
|
|
65
65
|
"react-desc": "~4.1.3",
|
|
66
66
|
"react-select": "~4.3.0",
|
|
67
67
|
"uid": "~2.0.0"
|
package/types/DSSearchField.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference path="../../../../shared/typings/react-desc.d.ts" />
|
|
1
2
|
/// <reference types="react" />
|
|
2
3
|
import { DSModalSearchField } from './impl/DSSeachFieldImpl';
|
|
3
4
|
declare const DSSearchField: {
|
|
@@ -31,61 +32,228 @@ declare const DSSearchField: {
|
|
|
31
32
|
searchable?: boolean | undefined;
|
|
32
33
|
}): JSX.Element;
|
|
33
34
|
propTypes: {
|
|
34
|
-
searchable:
|
|
35
|
+
searchable: {
|
|
36
|
+
defaultValue<T = unknown>(arg: T): {
|
|
37
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
38
|
+
};
|
|
39
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
40
|
+
};
|
|
35
41
|
/** inject props to wrapper */
|
|
36
|
-
containerProps:
|
|
42
|
+
containerProps: {
|
|
43
|
+
defaultValue<T = unknown>(arg: T): {
|
|
44
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
45
|
+
};
|
|
46
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
47
|
+
};
|
|
37
48
|
/** change handler */
|
|
38
|
-
onChange:
|
|
49
|
+
onChange: {
|
|
50
|
+
defaultValue<T = unknown>(arg: T): {
|
|
51
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
52
|
+
};
|
|
53
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
54
|
+
};
|
|
39
55
|
/** search option label */
|
|
40
|
-
searchOptionLabel:
|
|
56
|
+
searchOptionLabel: {
|
|
57
|
+
defaultValue<T = unknown>(arg: T): {
|
|
58
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
59
|
+
};
|
|
60
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
61
|
+
};
|
|
41
62
|
/** placeholder for search input */
|
|
42
|
-
placeholder:
|
|
63
|
+
placeholder: {
|
|
64
|
+
defaultValue<T = unknown>(arg: T): {
|
|
65
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
66
|
+
};
|
|
67
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
68
|
+
};
|
|
43
69
|
/** search modal size */
|
|
44
|
-
modalSize:
|
|
70
|
+
modalSize: {
|
|
71
|
+
defaultValue<T = unknown>(arg: T): {
|
|
72
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
73
|
+
};
|
|
74
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
75
|
+
};
|
|
45
76
|
/** search modal title */
|
|
46
|
-
modalTitle:
|
|
77
|
+
modalTitle: {
|
|
78
|
+
defaultValue<T = unknown>(arg: T): {
|
|
79
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
80
|
+
};
|
|
81
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
82
|
+
};
|
|
47
83
|
/** animate modal tabs */
|
|
48
|
-
tabsAnimated:
|
|
84
|
+
tabsAnimated: {
|
|
85
|
+
defaultValue<T = unknown>(arg: T): {
|
|
86
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
87
|
+
};
|
|
88
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
89
|
+
};
|
|
49
90
|
/** enable mouse event on tabs */
|
|
50
|
-
tabsEnableMouseEvents:
|
|
91
|
+
tabsEnableMouseEvents: {
|
|
92
|
+
defaultValue<T = unknown>(arg: T): {
|
|
93
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
94
|
+
};
|
|
95
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
96
|
+
};
|
|
51
97
|
/** tab types on modal */
|
|
52
|
-
tabType:
|
|
98
|
+
tabType: {
|
|
99
|
+
defaultValue<T = unknown>(arg: T): {
|
|
100
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
101
|
+
};
|
|
102
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
103
|
+
};
|
|
53
104
|
/** data for modal tabs */
|
|
54
|
-
tabData:
|
|
105
|
+
tabData: {
|
|
106
|
+
defaultValue<T = unknown>(arg: T): {
|
|
107
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
108
|
+
};
|
|
109
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
110
|
+
};
|
|
55
111
|
/** use search grid */
|
|
56
|
-
searchGrid:
|
|
112
|
+
searchGrid: {
|
|
113
|
+
defaultValue<T = unknown>(arg: T): {
|
|
114
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
115
|
+
};
|
|
116
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
117
|
+
};
|
|
57
118
|
/** add search filters */
|
|
58
|
-
searchFilters:
|
|
119
|
+
searchFilters: {
|
|
120
|
+
defaultValue<T = unknown>(arg: T): {
|
|
121
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
122
|
+
};
|
|
123
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
124
|
+
};
|
|
59
125
|
/** confirm modal label */
|
|
60
|
-
confirmLabel:
|
|
126
|
+
confirmLabel: {
|
|
127
|
+
defaultValue<T = unknown>(arg: T): {
|
|
128
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
129
|
+
};
|
|
130
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
131
|
+
};
|
|
61
132
|
/** reject modal label */
|
|
62
|
-
rejectLabel:
|
|
133
|
+
rejectLabel: {
|
|
134
|
+
defaultValue<T = unknown>(arg: T): {
|
|
135
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
136
|
+
};
|
|
137
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
138
|
+
};
|
|
63
139
|
/** modal type */
|
|
64
|
-
modalType:
|
|
140
|
+
modalType: {
|
|
141
|
+
defaultValue<T = unknown>(arg: T): {
|
|
142
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
143
|
+
};
|
|
144
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
145
|
+
};
|
|
65
146
|
/** on confirm handler */
|
|
66
|
-
onConfirmField:
|
|
147
|
+
onConfirmField: {
|
|
148
|
+
defaultValue<T = unknown>(arg: T): {
|
|
149
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
150
|
+
};
|
|
151
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
152
|
+
};
|
|
67
153
|
/** on cancel handler */
|
|
68
|
-
onRejectField:
|
|
154
|
+
onRejectField: {
|
|
155
|
+
defaultValue<T = unknown>(arg: T): {
|
|
156
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
157
|
+
};
|
|
158
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
159
|
+
};
|
|
69
160
|
/** tab change handler */
|
|
70
|
-
onTabChange:
|
|
161
|
+
onTabChange: {
|
|
162
|
+
defaultValue<T = unknown>(arg: T): {
|
|
163
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
164
|
+
};
|
|
165
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
166
|
+
};
|
|
71
167
|
/** app element */
|
|
72
|
-
appElement:
|
|
168
|
+
appElement: {
|
|
169
|
+
defaultValue<T = unknown>(arg: T): {
|
|
170
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
171
|
+
};
|
|
172
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
173
|
+
};
|
|
73
174
|
/** value for search */
|
|
74
|
-
value:
|
|
175
|
+
value: {
|
|
176
|
+
defaultValue<T = unknown>(arg: T): {
|
|
177
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
178
|
+
};
|
|
179
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
180
|
+
};
|
|
75
181
|
/** additional info */
|
|
76
|
-
additionalInfo:
|
|
182
|
+
additionalInfo: {
|
|
183
|
+
defaultValue<T = unknown>(arg: T): {
|
|
184
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
185
|
+
};
|
|
186
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
187
|
+
};
|
|
77
188
|
/** display property */
|
|
78
|
-
displayProperty:
|
|
189
|
+
displayProperty: {
|
|
190
|
+
defaultValue<T = unknown>(arg: T): {
|
|
191
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
192
|
+
};
|
|
193
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
194
|
+
};
|
|
79
195
|
/** options for dropdown */
|
|
80
|
-
dropdownOptions:
|
|
196
|
+
dropdownOptions: {
|
|
197
|
+
defaultValue<T = unknown>(arg: T): {
|
|
198
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
199
|
+
};
|
|
200
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
201
|
+
};
|
|
81
202
|
/** pass down props for datagrid in modal */
|
|
82
|
-
customDataGridOptions:
|
|
203
|
+
customDataGridOptions: {
|
|
204
|
+
defaultValue<T = unknown>(arg: T): {
|
|
205
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
206
|
+
};
|
|
207
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
208
|
+
};
|
|
83
209
|
/** custom props for dropdown */
|
|
84
|
-
customDropdownOptions:
|
|
210
|
+
customDropdownOptions: {
|
|
211
|
+
defaultValue<T = unknown>(arg: T): {
|
|
212
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
213
|
+
};
|
|
214
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
215
|
+
};
|
|
85
216
|
/** enable lookup */
|
|
86
|
-
useLookupIndicator:
|
|
217
|
+
useLookupIndicator: {
|
|
218
|
+
defaultValue<T = unknown>(arg: T): {
|
|
219
|
+
deprecated: import("react-desc").PropTypesDescValidator;
|
|
220
|
+
};
|
|
221
|
+
isRequired: import("react-desc").PropTypesDescValidator;
|
|
222
|
+
};
|
|
87
223
|
};
|
|
88
224
|
};
|
|
89
|
-
declare const DSSearchFieldWithSchema:
|
|
225
|
+
declare const DSSearchFieldWithSchema: {
|
|
226
|
+
(props?: {
|
|
227
|
+
containerProps?: {} | undefined;
|
|
228
|
+
onChange?: (() => null) | undefined;
|
|
229
|
+
searchOptionLabel?: string | undefined;
|
|
230
|
+
placeholder?: string | undefined;
|
|
231
|
+
modalSize?: string | undefined;
|
|
232
|
+
modalTitle?: string | undefined;
|
|
233
|
+
tabsAnimated?: boolean | undefined;
|
|
234
|
+
tabsEnableMouseEvents?: boolean | undefined;
|
|
235
|
+
tabType?: string | undefined;
|
|
236
|
+
tabData?: never[] | undefined;
|
|
237
|
+
searchGrid?: boolean | undefined;
|
|
238
|
+
searchFilters?: boolean | undefined;
|
|
239
|
+
confirmLabel?: string | undefined;
|
|
240
|
+
rejectLabel?: string | undefined;
|
|
241
|
+
modalType?: string | undefined;
|
|
242
|
+
onConfirmField?: (() => null) | undefined;
|
|
243
|
+
onRejectField?: (() => null) | undefined;
|
|
244
|
+
onTabChange?: (() => null) | undefined;
|
|
245
|
+
appElement?: string | undefined;
|
|
246
|
+
value?: null | undefined;
|
|
247
|
+
additionalInfo?: null | undefined;
|
|
248
|
+
displayProperty?: string | undefined;
|
|
249
|
+
dropdownOptions?: never[] | undefined;
|
|
250
|
+
customDataGridOptions?: {} | undefined;
|
|
251
|
+
customDropdownOptions?: {} | undefined;
|
|
252
|
+
useLookupIndicator?: boolean | undefined;
|
|
253
|
+
searchable?: boolean | undefined;
|
|
254
|
+
} | undefined): JSX.Element;
|
|
255
|
+
propTypes: unknown;
|
|
256
|
+
toTypescript: () => import("react-desc").TypescriptSchema;
|
|
257
|
+
};
|
|
90
258
|
export { DSModalSearchField, DSSearchFieldWithSchema };
|
|
91
259
|
export default DSSearchField;
|