react-context-form 2.9.0 → 2.11.1

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.
Files changed (47) hide show
  1. package/README.md +30 -12
  2. package/build/AutoFocus/AutoFocus.d.ts +1 -1
  3. package/build/AutoUpdate/AutoUpdate.d.ts +1 -1
  4. package/build/AutoValidate/AutoValidate.d.ts +2 -2
  5. package/build/AutoValidate/AutoValidateProps.d.ts +1 -1
  6. package/build/Button/BaseButton.d.ts +2 -2
  7. package/build/Button/Button.d.ts +160 -110
  8. package/build/Button/Checkbox.d.ts +160 -110
  9. package/build/Form/Form.d.ts +4 -3
  10. package/build/Form/FormProps.d.ts +1 -0
  11. package/build/FormGroup/FormGroup.d.ts +160 -110
  12. package/build/Hint/Hint.d.ts +132 -107
  13. package/build/Input/BaseInput.d.ts +160 -110
  14. package/build/Model/Model.d.ts +1 -1
  15. package/build/OnValidate/OnValidate.d.ts +4 -4
  16. package/build/ResetButton/ResetButton.d.ts +1 -1
  17. package/build/ShowPasswordButton/ShowPasswordButton.d.ts +159 -109
  18. package/build/SlowSubmitButton/SlowSubmitButton.d.ts +496 -447
  19. package/build/SubmitButton/SubmitButton.d.ts +160 -110
  20. package/build/index.js +13 -9
  21. package/docs/AutoFocus.md +21 -0
  22. package/docs/AutoUpdate.md +29 -0
  23. package/docs/AutoValidate.md +32 -0
  24. package/docs/Button.md +21 -0
  25. package/docs/Checkbox.md +19 -0
  26. package/docs/EventInterceptor.md +25 -0
  27. package/docs/Form.md +28 -2
  28. package/docs/FormGroup.md +22 -22
  29. package/docs/Hint.md +13 -0
  30. package/docs/HintPopup.md +13 -0
  31. package/docs/Input.md +19 -0
  32. package/docs/InputRange.md +22 -0
  33. package/docs/Label.md +13 -0
  34. package/docs/Model.md +22 -4
  35. package/docs/NumericInput.md +16 -0
  36. package/docs/OnValidate.md +31 -0
  37. package/docs/PasswordGroup.md +15 -0
  38. package/docs/ResetButton.md +11 -0
  39. package/docs/ShowPasswordButton.md +24 -0
  40. package/docs/SlowSubmitButton.md +19 -0
  41. package/docs/SubmitButton.md +17 -0
  42. package/docs/TextArea.md +19 -0
  43. package/package.json +12 -13
  44. package/tsconfig.json +2 -1
  45. package/tslint.json +1 -0
  46. package/webpack.config.js +2 -2
  47. package/.vscode/settings.json +0 -3
@@ -30,7 +30,7 @@ export declare class BaseInput<T> extends React.Component<BaseInputProps & T> {
30
30
  autoComplete?: string | undefined;
31
31
  autoFocus?: boolean | undefined;
32
32
  autoPlay?: boolean | undefined;
33
- capture?: boolean | undefined;
33
+ capture?: string | boolean | undefined;
34
34
  cellPadding?: string | number | undefined;
35
35
  cellSpacing?: string | number | undefined;
36
36
  charSet?: string | undefined;
@@ -86,7 +86,6 @@ export declare class BaseInput<T> extends React.Component<BaseInputProps & T> {
86
86
  multiple?: boolean | undefined;
87
87
  muted?: boolean | undefined;
88
88
  name?: string | undefined;
89
- nonce?: string | undefined;
90
89
  noValidate?: boolean | undefined;
91
90
  open?: boolean | undefined;
92
91
  optimum?: number | undefined;
@@ -121,32 +120,32 @@ export declare class BaseInput<T> extends React.Component<BaseInputProps & T> {
121
120
  target?: string | undefined;
122
121
  type?: string | undefined;
123
122
  useMap?: string | undefined;
124
- value?: string | number | string[] | undefined;
123
+ value?: string | number | readonly string[] | undefined;
125
124
  width?: string | number | undefined;
126
125
  wmode?: string | undefined;
127
126
  wrap?: string | undefined;
128
127
  defaultChecked?: boolean | undefined;
129
- defaultValue?: string | string[] | undefined;
128
+ defaultValue?: string | number | readonly string[] | undefined;
130
129
  suppressContentEditableWarning?: boolean | undefined;
131
130
  suppressHydrationWarning?: boolean | undefined;
132
131
  accessKey?: string | undefined;
133
132
  className?: string | undefined;
134
- contentEditable?: boolean | undefined;
133
+ contentEditable?: boolean | "true" | "false" | "inherit" | undefined;
135
134
  contextMenu?: string | undefined;
136
135
  dir?: string | undefined;
137
- draggable?: boolean | undefined;
136
+ draggable?: boolean | "true" | "false" | undefined;
138
137
  hidden?: boolean | undefined;
139
138
  id?: string | undefined;
140
139
  lang?: string | undefined;
140
+ nonce?: string | undefined;
141
141
  slot?: string | undefined;
142
- spellCheck?: boolean | undefined;
142
+ spellCheck?: boolean | "true" | "false" | undefined;
143
143
  style?: React.CSSProperties | undefined;
144
144
  tabIndex?: number | undefined;
145
145
  title?: string | undefined;
146
- inputMode?: string | undefined;
147
- is?: string | undefined;
146
+ translate?: "yes" | "no" | undefined;
148
147
  radioGroup?: string | undefined;
149
- role?: string | undefined;
148
+ role?: "form" | "list" | "checkbox" | "alert" | "alertdialog" | "application" | "article" | "banner" | "button" | "cell" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "dialog" | "directory" | "document" | "feed" | "figure" | "grid" | "gridcell" | "group" | "heading" | "img" | "link" | "listbox" | "listitem" | "log" | "main" | "marquee" | "math" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "none" | "note" | "option" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "search" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | (string & {}) | undefined;
150
149
  about?: string | undefined;
151
150
  datatype?: string | undefined;
152
151
  inlist?: any;
@@ -166,49 +165,51 @@ export declare class BaseInput<T> extends React.Component<BaseInputProps & T> {
166
165
  itemRef?: string | undefined;
167
166
  results?: number | undefined;
168
167
  security?: string | undefined;
169
- unselectable?: boolean | undefined;
168
+ unselectable?: "on" | "off" | undefined;
169
+ inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
170
+ is?: string | undefined;
170
171
  'aria-activedescendant'?: string | undefined;
171
- 'aria-atomic'?: boolean | "false" | "true" | undefined;
172
+ 'aria-atomic'?: boolean | "true" | "false" | undefined;
172
173
  'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
173
- 'aria-busy'?: boolean | "false" | "true" | undefined;
174
- 'aria-checked'?: boolean | "false" | "true" | "mixed" | undefined;
174
+ 'aria-busy'?: boolean | "true" | "false" | undefined;
175
+ 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
175
176
  'aria-colcount'?: number | undefined;
176
177
  'aria-colindex'?: number | undefined;
177
178
  'aria-colspan'?: number | undefined;
178
179
  'aria-controls'?: string | undefined;
179
- 'aria-current'?: boolean | "step" | "false" | "true" | "page" | "location" | "date" | "time" | undefined;
180
+ 'aria-current'?: boolean | "step" | "true" | "false" | "page" | "location" | "date" | "time" | undefined;
180
181
  'aria-describedby'?: string | undefined;
181
182
  'aria-details'?: string | undefined;
182
- 'aria-disabled'?: boolean | "false" | "true" | undefined;
183
- 'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
183
+ 'aria-disabled'?: boolean | "true" | "false" | undefined;
184
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
184
185
  'aria-errormessage'?: string | undefined;
185
- 'aria-expanded'?: boolean | "false" | "true" | undefined;
186
+ 'aria-expanded'?: boolean | "true" | "false" | undefined;
186
187
  'aria-flowto'?: string | undefined;
187
- 'aria-grabbed'?: boolean | "false" | "true" | undefined;
188
- 'aria-haspopup'?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
189
- 'aria-hidden'?: boolean | "false" | "true" | undefined;
190
- 'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
188
+ 'aria-grabbed'?: boolean | "true" | "false" | undefined;
189
+ 'aria-haspopup'?: boolean | "true" | "false" | "dialog" | "grid" | "listbox" | "menu" | "tree" | undefined;
190
+ 'aria-hidden'?: boolean | "true" | "false" | undefined;
191
+ 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
191
192
  'aria-keyshortcuts'?: string | undefined;
192
193
  'aria-label'?: string | undefined;
193
194
  'aria-labelledby'?: string | undefined;
194
195
  'aria-level'?: number | undefined;
195
196
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
196
- 'aria-modal'?: boolean | "false" | "true" | undefined;
197
- 'aria-multiline'?: boolean | "false" | "true" | undefined;
198
- 'aria-multiselectable'?: boolean | "false" | "true" | undefined;
197
+ 'aria-modal'?: boolean | "true" | "false" | undefined;
198
+ 'aria-multiline'?: boolean | "true" | "false" | undefined;
199
+ 'aria-multiselectable'?: boolean | "true" | "false" | undefined;
199
200
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
200
201
  'aria-owns'?: string | undefined;
201
202
  'aria-placeholder'?: string | undefined;
202
203
  'aria-posinset'?: number | undefined;
203
- 'aria-pressed'?: boolean | "false" | "true" | "mixed" | undefined;
204
- 'aria-readonly'?: boolean | "false" | "true" | undefined;
205
- 'aria-relevant'?: "additions" | "additions text" | "all" | "removals" | "text" | undefined;
206
- 'aria-required'?: boolean | "false" | "true" | undefined;
204
+ 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
205
+ 'aria-readonly'?: boolean | "true" | "false" | undefined;
206
+ 'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
207
+ 'aria-required'?: boolean | "true" | "false" | undefined;
207
208
  'aria-roledescription'?: string | undefined;
208
209
  'aria-rowcount'?: number | undefined;
209
210
  'aria-rowindex'?: number | undefined;
210
211
  'aria-rowspan'?: number | undefined;
211
- 'aria-selected'?: boolean | "false" | "true" | undefined;
212
+ 'aria-selected'?: boolean | "true" | "false" | undefined;
212
213
  'aria-setsize'?: number | undefined;
213
214
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
214
215
  'aria-valuemax'?: number | undefined;
@@ -231,12 +232,14 @@ export declare class BaseInput<T> extends React.Component<BaseInputProps & T> {
231
232
  onCompositionStartCapture?: ((event: React.CompositionEvent<HTMLInputElement>) => void) | undefined;
232
233
  onCompositionUpdate?: ((event: React.CompositionEvent<HTMLInputElement>) => void) | undefined;
233
234
  onCompositionUpdateCapture?: ((event: React.CompositionEvent<HTMLInputElement>) => void) | undefined;
234
- onFocus?: ((event: React.FocusEvent<HTMLInputElement>) => void) | undefined;
235
- onFocusCapture?: ((event: React.FocusEvent<HTMLInputElement>) => void) | undefined;
236
- onBlur?: ((event: React.FocusEvent<HTMLInputElement>) => void) | undefined;
237
- onBlurCapture?: ((event: React.FocusEvent<HTMLInputElement>) => void) | undefined;
235
+ onFocus?: ((event: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
236
+ onFocusCapture?: ((event: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
237
+ onBlur?: ((event: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
238
+ onBlurCapture?: ((event: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
238
239
  onChange?: ((event: React.FormEvent<HTMLInputElement>) => void) | undefined;
239
240
  onChangeCapture?: ((event: React.FormEvent<HTMLInputElement>) => void) | undefined;
241
+ onBeforeInput?: ((event: React.FormEvent<HTMLInputElement>) => void) | undefined;
242
+ onBeforeInputCapture?: ((event: React.FormEvent<HTMLInputElement>) => void) | undefined;
240
243
  onInput?: ((event: React.FormEvent<HTMLInputElement>) => void) | undefined;
241
244
  onInputCapture?: ((event: React.FormEvent<HTMLInputElement>) => void) | undefined;
242
245
  onReset?: ((event: React.FormEvent<HTMLInputElement>) => void) | undefined;
@@ -245,66 +248,68 @@ export declare class BaseInput<T> extends React.Component<BaseInputProps & T> {
245
248
  onSubmitCapture?: ((event: React.FormEvent<HTMLInputElement>) => void) | undefined;
246
249
  onInvalid?: ((event: React.FormEvent<HTMLInputElement>) => void) | undefined;
247
250
  onInvalidCapture?: ((event: React.FormEvent<HTMLInputElement>) => void) | undefined;
248
- onLoad?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
249
- onLoadCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
250
- onError?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
251
- onErrorCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
251
+ onLoad?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
252
+ onLoadCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
253
+ onError?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
254
+ onErrorCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
252
255
  onKeyDown?: ((event: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
253
256
  onKeyDownCapture?: ((event: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
254
257
  onKeyPress?: ((event: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
255
258
  onKeyPressCapture?: ((event: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
256
259
  onKeyUp?: ((event: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
257
260
  onKeyUpCapture?: ((event: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
258
- onAbort?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
259
- onAbortCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
260
- onCanPlay?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
261
- onCanPlayCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
262
- onCanPlayThrough?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
263
- onCanPlayThroughCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
264
- onDurationChange?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
265
- onDurationChangeCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
266
- onEmptied?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
267
- onEmptiedCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
268
- onEncrypted?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
269
- onEncryptedCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
270
- onEnded?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
271
- onEndedCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
272
- onLoadedData?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
273
- onLoadedDataCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
274
- onLoadedMetadata?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
275
- onLoadedMetadataCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
276
- onLoadStart?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
277
- onLoadStartCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
278
- onPause?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
279
- onPauseCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
280
- onPlay?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
281
- onPlayCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
282
- onPlaying?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
283
- onPlayingCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
284
- onProgress?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
285
- onProgressCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
286
- onRateChange?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
287
- onRateChangeCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
288
- onSeeked?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
289
- onSeekedCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
290
- onSeeking?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
291
- onSeekingCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
292
- onStalled?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
293
- onStalledCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
294
- onSuspend?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
295
- onSuspendCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
296
- onTimeUpdate?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
297
- onTimeUpdateCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
298
- onVolumeChange?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
299
- onVolumeChangeCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
300
- onWaiting?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
301
- onWaitingCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
302
- onClick?: ((event: React.MouseEvent<HTMLInputElement>) => void) | undefined;
303
- onClickCapture?: ((event: React.MouseEvent<HTMLInputElement>) => void) | undefined;
304
- onContextMenu?: ((event: React.MouseEvent<HTMLInputElement>) => void) | undefined;
305
- onContextMenuCapture?: ((event: React.MouseEvent<HTMLInputElement>) => void) | undefined;
306
- onDoubleClick?: ((event: React.MouseEvent<HTMLInputElement>) => void) | undefined;
307
- onDoubleClickCapture?: ((event: React.MouseEvent<HTMLInputElement>) => void) | undefined;
261
+ onAbort?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
262
+ onAbortCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
263
+ onCanPlay?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
264
+ onCanPlayCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
265
+ onCanPlayThrough?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
266
+ onCanPlayThroughCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
267
+ onDurationChange?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
268
+ onDurationChangeCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
269
+ onEmptied?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
270
+ onEmptiedCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
271
+ onEncrypted?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
272
+ onEncryptedCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
273
+ onEnded?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
274
+ onEndedCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
275
+ onLoadedData?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
276
+ onLoadedDataCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
277
+ onLoadedMetadata?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
278
+ onLoadedMetadataCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
279
+ onLoadStart?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
280
+ onLoadStartCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
281
+ onPause?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
282
+ onPauseCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
283
+ onPlay?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
284
+ onPlayCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
285
+ onPlaying?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
286
+ onPlayingCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
287
+ onProgress?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
288
+ onProgressCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
289
+ onRateChange?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
290
+ onRateChangeCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
291
+ onSeeked?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
292
+ onSeekedCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
293
+ onSeeking?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
294
+ onSeekingCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
295
+ onStalled?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
296
+ onStalledCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
297
+ onSuspend?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
298
+ onSuspendCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
299
+ onTimeUpdate?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
300
+ onTimeUpdateCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
301
+ onVolumeChange?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
302
+ onVolumeChangeCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
303
+ onWaiting?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
304
+ onWaitingCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
305
+ onAuxClick?: ((event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void) | undefined;
306
+ onAuxClickCapture?: ((event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void) | undefined;
307
+ onClick?: ((event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void) | undefined;
308
+ onClickCapture?: ((event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void) | undefined;
309
+ onContextMenu?: ((event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void) | undefined;
310
+ onContextMenuCapture?: ((event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void) | undefined;
311
+ onDoubleClick?: ((event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void) | undefined;
312
+ onDoubleClickCapture?: ((event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void) | undefined;
308
313
  onDrag?: ((event: React.DragEvent<HTMLInputElement>) => void) | undefined;
309
314
  onDragCapture?: ((event: React.DragEvent<HTMLInputElement>) => void) | undefined;
310
315
  onDragEnd?: ((event: React.DragEvent<HTMLInputElement>) => void) | undefined;
@@ -321,20 +326,20 @@ export declare class BaseInput<T> extends React.Component<BaseInputProps & T> {
321
326
  onDragStartCapture?: ((event: React.DragEvent<HTMLInputElement>) => void) | undefined;
322
327
  onDrop?: ((event: React.DragEvent<HTMLInputElement>) => void) | undefined;
323
328
  onDropCapture?: ((event: React.DragEvent<HTMLInputElement>) => void) | undefined;
324
- onMouseDown?: ((event: React.MouseEvent<HTMLInputElement>) => void) | undefined;
325
- onMouseDownCapture?: ((event: React.MouseEvent<HTMLInputElement>) => void) | undefined;
326
- onMouseEnter?: ((event: React.MouseEvent<HTMLInputElement>) => void) | undefined;
327
- onMouseLeave?: ((event: React.MouseEvent<HTMLInputElement>) => void) | undefined;
328
- onMouseMove?: ((event: React.MouseEvent<HTMLInputElement>) => void) | undefined;
329
- onMouseMoveCapture?: ((event: React.MouseEvent<HTMLInputElement>) => void) | undefined;
330
- onMouseOut?: ((event: React.MouseEvent<HTMLInputElement>) => void) | undefined;
331
- onMouseOutCapture?: ((event: React.MouseEvent<HTMLInputElement>) => void) | undefined;
332
- onMouseOver?: ((event: React.MouseEvent<HTMLInputElement>) => void) | undefined;
333
- onMouseOverCapture?: ((event: React.MouseEvent<HTMLInputElement>) => void) | undefined;
334
- onMouseUp?: ((event: React.MouseEvent<HTMLInputElement>) => void) | undefined;
335
- onMouseUpCapture?: ((event: React.MouseEvent<HTMLInputElement>) => void) | undefined;
336
- onSelect?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
337
- onSelectCapture?: ((event: React.SyntheticEvent<HTMLInputElement>) => void) | undefined;
329
+ onMouseDown?: ((event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void) | undefined;
330
+ onMouseDownCapture?: ((event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void) | undefined;
331
+ onMouseEnter?: ((event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void) | undefined;
332
+ onMouseLeave?: ((event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void) | undefined;
333
+ onMouseMove?: ((event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void) | undefined;
334
+ onMouseMoveCapture?: ((event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void) | undefined;
335
+ onMouseOut?: ((event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void) | undefined;
336
+ onMouseOutCapture?: ((event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void) | undefined;
337
+ onMouseOver?: ((event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void) | undefined;
338
+ onMouseOverCapture?: ((event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void) | undefined;
339
+ onMouseUp?: ((event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void) | undefined;
340
+ onMouseUpCapture?: ((event: React.MouseEvent<HTMLInputElement, MouseEvent>) => void) | undefined;
341
+ onSelect?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
342
+ onSelectCapture?: ((event: React.SyntheticEvent<HTMLInputElement, Event>) => void) | undefined;
338
343
  onTouchCancel?: ((event: React.TouchEvent<HTMLInputElement>) => void) | undefined;
339
344
  onTouchCancelCapture?: ((event: React.TouchEvent<HTMLInputElement>) => void) | undefined;
340
345
  onTouchEnd?: ((event: React.TouchEvent<HTMLInputElement>) => void) | undefined;
@@ -343,8 +348,28 @@ export declare class BaseInput<T> extends React.Component<BaseInputProps & T> {
343
348
  onTouchMoveCapture?: ((event: React.TouchEvent<HTMLInputElement>) => void) | undefined;
344
349
  onTouchStart?: ((event: React.TouchEvent<HTMLInputElement>) => void) | undefined;
345
350
  onTouchStartCapture?: ((event: React.TouchEvent<HTMLInputElement>) => void) | undefined;
346
- onScroll?: ((event: React.UIEvent<HTMLInputElement>) => void) | undefined;
347
- onScrollCapture?: ((event: React.UIEvent<HTMLInputElement>) => void) | undefined;
351
+ onPointerDown?: ((event: React.PointerEvent<HTMLInputElement>) => void) | undefined;
352
+ onPointerDownCapture?: ((event: React.PointerEvent<HTMLInputElement>) => void) | undefined;
353
+ onPointerMove?: ((event: React.PointerEvent<HTMLInputElement>) => void) | undefined;
354
+ onPointerMoveCapture?: ((event: React.PointerEvent<HTMLInputElement>) => void) | undefined;
355
+ onPointerUp?: ((event: React.PointerEvent<HTMLInputElement>) => void) | undefined;
356
+ onPointerUpCapture?: ((event: React.PointerEvent<HTMLInputElement>) => void) | undefined;
357
+ onPointerCancel?: ((event: React.PointerEvent<HTMLInputElement>) => void) | undefined;
358
+ onPointerCancelCapture?: ((event: React.PointerEvent<HTMLInputElement>) => void) | undefined;
359
+ onPointerEnter?: ((event: React.PointerEvent<HTMLInputElement>) => void) | undefined;
360
+ onPointerEnterCapture?: ((event: React.PointerEvent<HTMLInputElement>) => void) | undefined;
361
+ onPointerLeave?: ((event: React.PointerEvent<HTMLInputElement>) => void) | undefined;
362
+ onPointerLeaveCapture?: ((event: React.PointerEvent<HTMLInputElement>) => void) | undefined;
363
+ onPointerOver?: ((event: React.PointerEvent<HTMLInputElement>) => void) | undefined;
364
+ onPointerOverCapture?: ((event: React.PointerEvent<HTMLInputElement>) => void) | undefined;
365
+ onPointerOut?: ((event: React.PointerEvent<HTMLInputElement>) => void) | undefined;
366
+ onPointerOutCapture?: ((event: React.PointerEvent<HTMLInputElement>) => void) | undefined;
367
+ onGotPointerCapture?: ((event: React.PointerEvent<HTMLInputElement>) => void) | undefined;
368
+ onGotPointerCaptureCapture?: ((event: React.PointerEvent<HTMLInputElement>) => void) | undefined;
369
+ onLostPointerCapture?: ((event: React.PointerEvent<HTMLInputElement>) => void) | undefined;
370
+ onLostPointerCaptureCapture?: ((event: React.PointerEvent<HTMLInputElement>) => void) | undefined;
371
+ onScroll?: ((event: React.UIEvent<HTMLInputElement, UIEvent>) => void) | undefined;
372
+ onScrollCapture?: ((event: React.UIEvent<HTMLInputElement, UIEvent>) => void) | undefined;
348
373
  onWheel?: ((event: React.WheelEvent<HTMLInputElement>) => void) | undefined;
349
374
  onWheelCapture?: ((event: React.WheelEvent<HTMLInputElement>) => void) | undefined;
350
375
  onAnimationStart?: ((event: React.AnimationEvent<HTMLInputElement>) => void) | undefined;
@@ -355,8 +380,8 @@ export declare class BaseInput<T> extends React.Component<BaseInputProps & T> {
355
380
  onAnimationIterationCapture?: ((event: React.AnimationEvent<HTMLInputElement>) => void) | undefined;
356
381
  onTransitionEnd?: ((event: React.TransitionEvent<HTMLInputElement>) => void) | undefined;
357
382
  onTransitionEndCapture?: ((event: React.TransitionEvent<HTMLInputElement>) => void) | undefined;
358
- ref?: string | ((instance: HTMLInputElement | null) => any) | React.RefObject<HTMLInputElement> | undefined;
359
- key?: string | number | undefined;
383
+ ref?: string | ((instance: HTMLInputElement | null) => void) | React.RefObject<HTMLInputElement> | null | undefined;
384
+ key?: string | number | null | undefined;
360
385
  };
361
386
  static readonly propTypes: {
362
387
  transform?: PropTypes.Validator<any> | undefined;
@@ -427,7 +452,6 @@ export declare class BaseInput<T> extends React.Component<BaseInputProps & T> {
427
452
  multiple?: PropTypes.Validator<any> | undefined;
428
453
  muted?: PropTypes.Validator<any> | undefined;
429
454
  name?: PropTypes.Validator<any> | undefined;
430
- nonce?: PropTypes.Validator<any> | undefined;
431
455
  noValidate?: PropTypes.Validator<any> | undefined;
432
456
  open?: PropTypes.Validator<any> | undefined;
433
457
  optimum?: PropTypes.Validator<any> | undefined;
@@ -479,13 +503,13 @@ export declare class BaseInput<T> extends React.Component<BaseInputProps & T> {
479
503
  hidden?: PropTypes.Validator<any> | undefined;
480
504
  id?: PropTypes.Validator<any> | undefined;
481
505
  lang?: PropTypes.Validator<any> | undefined;
506
+ nonce?: PropTypes.Validator<any> | undefined;
482
507
  slot?: PropTypes.Validator<any> | undefined;
483
508
  spellCheck?: PropTypes.Validator<any> | undefined;
484
509
  style?: PropTypes.Validator<any> | undefined;
485
510
  tabIndex?: PropTypes.Validator<any> | undefined;
486
511
  title?: PropTypes.Validator<any> | undefined;
487
- inputMode?: PropTypes.Validator<any> | undefined;
488
- is?: PropTypes.Validator<any> | undefined;
512
+ translate?: PropTypes.Validator<any> | undefined;
489
513
  radioGroup?: PropTypes.Validator<any> | undefined;
490
514
  role?: PropTypes.Validator<any> | undefined;
491
515
  about?: PropTypes.Validator<any> | undefined;
@@ -508,6 +532,8 @@ export declare class BaseInput<T> extends React.Component<BaseInputProps & T> {
508
532
  results?: PropTypes.Validator<any> | undefined;
509
533
  security?: PropTypes.Validator<any> | undefined;
510
534
  unselectable?: PropTypes.Validator<any> | undefined;
535
+ inputMode?: PropTypes.Validator<any> | undefined;
536
+ is?: PropTypes.Validator<any> | undefined;
511
537
  'aria-activedescendant'?: PropTypes.Validator<any> | undefined;
512
538
  'aria-atomic'?: PropTypes.Validator<any> | undefined;
513
539
  'aria-autocomplete'?: PropTypes.Validator<any> | undefined;
@@ -576,6 +602,8 @@ export declare class BaseInput<T> extends React.Component<BaseInputProps & T> {
576
602
  onBlurCapture?: PropTypes.Validator<any> | undefined;
577
603
  onChange?: PropTypes.Validator<any> | undefined;
578
604
  onChangeCapture?: PropTypes.Validator<any> | undefined;
605
+ onBeforeInput?: PropTypes.Validator<any> | undefined;
606
+ onBeforeInputCapture?: PropTypes.Validator<any> | undefined;
579
607
  onInput?: PropTypes.Validator<any> | undefined;
580
608
  onInputCapture?: PropTypes.Validator<any> | undefined;
581
609
  onReset?: PropTypes.Validator<any> | undefined;
@@ -638,6 +666,8 @@ export declare class BaseInput<T> extends React.Component<BaseInputProps & T> {
638
666
  onVolumeChangeCapture?: PropTypes.Validator<any> | undefined;
639
667
  onWaiting?: PropTypes.Validator<any> | undefined;
640
668
  onWaitingCapture?: PropTypes.Validator<any> | undefined;
669
+ onAuxClick?: PropTypes.Validator<any> | undefined;
670
+ onAuxClickCapture?: PropTypes.Validator<any> | undefined;
641
671
  onClick?: PropTypes.Validator<any> | undefined;
642
672
  onClickCapture?: PropTypes.Validator<any> | undefined;
643
673
  onContextMenu?: PropTypes.Validator<any> | undefined;
@@ -682,6 +712,26 @@ export declare class BaseInput<T> extends React.Component<BaseInputProps & T> {
682
712
  onTouchMoveCapture?: PropTypes.Validator<any> | undefined;
683
713
  onTouchStart?: PropTypes.Validator<any> | undefined;
684
714
  onTouchStartCapture?: PropTypes.Validator<any> | undefined;
715
+ onPointerDown?: PropTypes.Validator<any> | undefined;
716
+ onPointerDownCapture?: PropTypes.Validator<any> | undefined;
717
+ onPointerMove?: PropTypes.Validator<any> | undefined;
718
+ onPointerMoveCapture?: PropTypes.Validator<any> | undefined;
719
+ onPointerUp?: PropTypes.Validator<any> | undefined;
720
+ onPointerUpCapture?: PropTypes.Validator<any> | undefined;
721
+ onPointerCancel?: PropTypes.Validator<any> | undefined;
722
+ onPointerCancelCapture?: PropTypes.Validator<any> | undefined;
723
+ onPointerEnter?: PropTypes.Validator<any> | undefined;
724
+ onPointerEnterCapture?: PropTypes.Validator<any> | undefined;
725
+ onPointerLeave?: PropTypes.Validator<any> | undefined;
726
+ onPointerLeaveCapture?: PropTypes.Validator<any> | undefined;
727
+ onPointerOver?: PropTypes.Validator<any> | undefined;
728
+ onPointerOverCapture?: PropTypes.Validator<any> | undefined;
729
+ onPointerOut?: PropTypes.Validator<any> | undefined;
730
+ onPointerOutCapture?: PropTypes.Validator<any> | undefined;
731
+ onGotPointerCapture?: PropTypes.Validator<any> | undefined;
732
+ onGotPointerCaptureCapture?: PropTypes.Validator<any> | undefined;
733
+ onLostPointerCapture?: PropTypes.Validator<any> | undefined;
734
+ onLostPointerCaptureCapture?: PropTypes.Validator<any> | undefined;
685
735
  onScroll?: PropTypes.Validator<any> | undefined;
686
736
  onScrollCapture?: PropTypes.Validator<any> | undefined;
687
737
  onWheel?: PropTypes.Validator<any> | undefined;
@@ -698,7 +748,7 @@ export declare class BaseInput<T> extends React.Component<BaseInputProps & T> {
698
748
  key?: PropTypes.Validator<any> | undefined;
699
749
  };
700
750
  context: InputContext & PasswordGroupContext;
701
- protected readonly childProps: React.HTMLProps<HTMLInputElement> & T;
751
+ protected get childProps(): React.HTMLProps<HTMLInputElement> & T;
702
752
  protected handleChange: (event: any) => void;
703
753
  protected handleBlur: (event: any) => void;
704
754
  protected handleFocus: (event: any) => void;
@@ -38,7 +38,7 @@ export declare abstract class Model implements ModelInterface {
38
38
  [key: string]: string[];
39
39
  };
40
40
  attributes(): string[];
41
- readonly values: ModelValue[];
41
+ get values(): ModelValue[];
42
42
  getError: (attribute: string) => ModelError | undefined;
43
43
  getErrors: () => ModelError[];
44
44
  addError: (newError: ModelError) => void;
@@ -9,12 +9,12 @@ export declare class OnValidate extends React.Component<OnValidateProps> {
9
9
  groups: PropTypes.Validator<any>;
10
10
  };
11
11
  static readonly contextTypes: {
12
- validate: PropTypes.Validator<any>;
13
- getError: PropTypes.Validator<any>;
14
- values: PropTypes.Validator<any>;
12
+ validate: PropTypes.Validator<(...args: any[]) => any>;
13
+ getError: PropTypes.Validator<(...args: any[]) => any>;
14
+ values: PropTypes.Validator<(object | null | undefined)[]>;
15
15
  };
16
16
  static readonly childContextTypes: {
17
- validate: PropTypes.Validator<any>;
17
+ validate: PropTypes.Validator<(...args: any[]) => any>;
18
18
  };
19
19
  readonly context: Pick<FormContext, "validate" | "getError" | "values">;
20
20
  getChildContext(): Pick<FormContext, "validate">;
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import * as PropTypes from "prop-types";
3
3
  import { ResetButtonContext } from "./ResetButtonContext";
4
- export declare class ResetButton extends React.Component<React.HTMLProps<HTMLButtonElement>> {
4
+ export declare class ResetButton extends React.PureComponent<React.ButtonHTMLAttributes<HTMLButtonElement>> {
5
5
  static readonly contextTypes: {
6
6
  onReset: PropTypes.Validator<any>;
7
7
  };