@unissey-web/sdk-react 4.0.2 → 4.0.3-rc.2
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/dist/index.d.ts +716 -8
- package/dist/index.js +114 -24
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
|
+
/// <reference types="trusted-types" />
|
|
1
2
|
import * as _lit_labs_react from '@lit-labs/react';
|
|
3
|
+
import * as _unissey_web_web_components from '@unissey-web/web-components';
|
|
2
4
|
import { Button as Button$1, FileUpload as FileUpload$1, FullCapture as FullCapture$1, PictureEditor as PictureEditor$1, ImageCaptureDirections, PictureRecorder as PictureRecorder$1, ReferenceCapture as ReferenceCapture$1, RetryResult as RetryResult$1, SelfieCapture as SelfieCapture$1, VideoRecordDirections as VideoRecordDirections$1, Recorder, RecorderExt } from '@unissey-web/web-components';
|
|
3
5
|
export { AcquisitionPreset, ActiveChallengeConfig, CameraConfig, ColorRGBA, EN, FR, FaceChecker, FacingMode, IadConfig, IadMode, InstructionMessage, OverlayColors, OverlayConfig, OverlayDisplayMode, RecordingConfig, SessionConfig, VideoLength, VideoOrientation, VideoResolutionPreset } from '@unissey-web/web-components';
|
|
6
|
+
import * as lit from 'lit';
|
|
7
|
+
import * as _unissey_sdk_web_js_dist_build_packed_session_session_config from '@unissey/sdk-web-js/dist/build-packed/session/session-config';
|
|
8
|
+
import * as _unissey_sdk_web_js from '@unissey/sdk-web-js';
|
|
9
|
+
import * as lit_html from 'lit-html';
|
|
10
|
+
import * as React from 'react';
|
|
4
11
|
|
|
5
12
|
declare const Button: _lit_labs_react.ReactWebComponent<Button$1, {}>;
|
|
6
13
|
|
|
@@ -53,14 +60,715 @@ declare const SelfieCapture: _lit_labs_react.ReactWebComponent<SelfieCapture$1,
|
|
|
53
60
|
|
|
54
61
|
declare const VideoRecordDirections: _lit_labs_react.ReactWebComponent<VideoRecordDirections$1, {}>;
|
|
55
62
|
|
|
56
|
-
declare const VideoRecorder:
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
63
|
+
declare const VideoRecorder: React.ForwardRefExoticComponent<Pick<Partial<{
|
|
64
|
+
id?: string | undefined;
|
|
65
|
+
color?: string | undefined;
|
|
66
|
+
content?: string | undefined;
|
|
67
|
+
translate?: "yes" | "no" | undefined;
|
|
68
|
+
hidden?: boolean | undefined;
|
|
69
|
+
slot?: string | undefined;
|
|
70
|
+
style?: React.CSSProperties | undefined;
|
|
71
|
+
title?: string | undefined;
|
|
72
|
+
dir?: string | undefined;
|
|
73
|
+
accessKey?: string | undefined;
|
|
74
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
|
75
|
+
lang?: string | undefined;
|
|
76
|
+
className?: string | undefined;
|
|
77
|
+
prefix?: string | undefined;
|
|
78
|
+
role?: React.AriaRole | undefined;
|
|
79
|
+
children?: React.ReactNode;
|
|
80
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
|
|
81
|
+
inputMode?: "search" | "numeric" | "none" | "url" | "text" | "decimal" | "tel" | "email" | undefined;
|
|
82
|
+
nonce?: string | undefined;
|
|
83
|
+
tabIndex?: number | undefined;
|
|
84
|
+
defaultChecked?: boolean | undefined;
|
|
85
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
86
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
87
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
88
|
+
autoFocus?: boolean | undefined;
|
|
89
|
+
contextMenu?: string | undefined;
|
|
90
|
+
placeholder?: string | undefined;
|
|
91
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
92
|
+
radioGroup?: string | undefined;
|
|
93
|
+
about?: string | undefined;
|
|
94
|
+
datatype?: string | undefined;
|
|
95
|
+
inlist?: any;
|
|
96
|
+
property?: string | undefined;
|
|
97
|
+
rel?: string | undefined;
|
|
98
|
+
resource?: string | undefined;
|
|
99
|
+
rev?: string | undefined;
|
|
100
|
+
typeof?: string | undefined;
|
|
101
|
+
vocab?: string | undefined;
|
|
102
|
+
autoCapitalize?: string | undefined;
|
|
103
|
+
autoCorrect?: string | undefined;
|
|
104
|
+
autoSave?: string | undefined;
|
|
105
|
+
itemProp?: string | undefined;
|
|
106
|
+
itemScope?: boolean | undefined;
|
|
107
|
+
itemType?: string | undefined;
|
|
108
|
+
itemID?: string | undefined;
|
|
109
|
+
itemRef?: string | undefined;
|
|
110
|
+
results?: number | undefined;
|
|
111
|
+
security?: string | undefined;
|
|
112
|
+
unselectable?: "on" | "off" | undefined;
|
|
113
|
+
is?: string | undefined;
|
|
114
|
+
"aria-activedescendant"?: string | undefined;
|
|
115
|
+
"aria-atomic"?: boolean | "false" | "true" | undefined;
|
|
116
|
+
"aria-autocomplete"?: "inline" | "both" | "none" | "list" | undefined;
|
|
117
|
+
"aria-busy"?: boolean | "false" | "true" | undefined;
|
|
118
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
119
|
+
"aria-colcount"?: number | undefined;
|
|
120
|
+
"aria-colindex"?: number | undefined;
|
|
121
|
+
"aria-colspan"?: number | undefined;
|
|
122
|
+
"aria-controls"?: string | undefined;
|
|
123
|
+
"aria-current"?: boolean | "location" | "time" | "false" | "page" | "true" | "step" | "date" | undefined;
|
|
124
|
+
"aria-describedby"?: string | undefined;
|
|
125
|
+
"aria-details"?: string | undefined;
|
|
126
|
+
"aria-disabled"?: boolean | "false" | "true" | undefined;
|
|
127
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
128
|
+
"aria-errormessage"?: string | undefined;
|
|
129
|
+
"aria-expanded"?: boolean | "false" | "true" | undefined;
|
|
130
|
+
"aria-flowto"?: string | undefined;
|
|
131
|
+
"aria-grabbed"?: boolean | "false" | "true" | undefined;
|
|
132
|
+
"aria-haspopup"?: boolean | "grid" | "dialog" | "menu" | "false" | "listbox" | "true" | "tree" | undefined;
|
|
133
|
+
"aria-hidden"?: boolean | "false" | "true" | undefined;
|
|
134
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
135
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
136
|
+
"aria-label"?: string | undefined;
|
|
137
|
+
"aria-labelledby"?: string | undefined;
|
|
138
|
+
"aria-level"?: number | undefined;
|
|
139
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
140
|
+
"aria-modal"?: boolean | "false" | "true" | undefined;
|
|
141
|
+
"aria-multiline"?: boolean | "false" | "true" | undefined;
|
|
142
|
+
"aria-multiselectable"?: boolean | "false" | "true" | undefined;
|
|
143
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
144
|
+
"aria-owns"?: string | undefined;
|
|
145
|
+
"aria-placeholder"?: string | undefined;
|
|
146
|
+
"aria-posinset"?: number | undefined;
|
|
147
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
148
|
+
"aria-readonly"?: boolean | "false" | "true" | undefined;
|
|
149
|
+
"aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
150
|
+
"aria-required"?: boolean | "false" | "true" | undefined;
|
|
151
|
+
"aria-roledescription"?: string | undefined;
|
|
152
|
+
"aria-rowcount"?: number | undefined;
|
|
153
|
+
"aria-rowindex"?: number | undefined;
|
|
154
|
+
"aria-rowspan"?: number | undefined;
|
|
155
|
+
"aria-selected"?: boolean | "false" | "true" | undefined;
|
|
156
|
+
"aria-setsize"?: number | undefined;
|
|
157
|
+
"aria-sort"?: "none" | "other" | "ascending" | "descending" | undefined;
|
|
158
|
+
"aria-valuemax"?: number | undefined;
|
|
159
|
+
"aria-valuemin"?: number | undefined;
|
|
160
|
+
"aria-valuenow"?: number | undefined;
|
|
161
|
+
"aria-valuetext"?: string | undefined;
|
|
162
|
+
dangerouslySetInnerHTML?: {
|
|
163
|
+
__html: string | TrustedHTML;
|
|
164
|
+
} | undefined;
|
|
165
|
+
onCopy?: React.ClipboardEventHandler<Recorder> | undefined;
|
|
166
|
+
onCopyCapture?: React.ClipboardEventHandler<Recorder> | undefined;
|
|
167
|
+
onCut?: React.ClipboardEventHandler<Recorder> | undefined;
|
|
168
|
+
onCutCapture?: React.ClipboardEventHandler<Recorder> | undefined;
|
|
169
|
+
onPaste?: React.ClipboardEventHandler<Recorder> | undefined;
|
|
170
|
+
onPasteCapture?: React.ClipboardEventHandler<Recorder> | undefined;
|
|
171
|
+
onCompositionEnd?: React.CompositionEventHandler<Recorder> | undefined;
|
|
172
|
+
onCompositionEndCapture?: React.CompositionEventHandler<Recorder> | undefined;
|
|
173
|
+
onCompositionStart?: React.CompositionEventHandler<Recorder> | undefined;
|
|
174
|
+
onCompositionStartCapture?: React.CompositionEventHandler<Recorder> | undefined;
|
|
175
|
+
onCompositionUpdate?: React.CompositionEventHandler<Recorder> | undefined;
|
|
176
|
+
onCompositionUpdateCapture?: React.CompositionEventHandler<Recorder> | undefined;
|
|
177
|
+
onFocus?: React.FocusEventHandler<Recorder> | undefined;
|
|
178
|
+
onFocusCapture?: React.FocusEventHandler<Recorder> | undefined;
|
|
179
|
+
onBlur?: React.FocusEventHandler<Recorder> | undefined;
|
|
180
|
+
onBlurCapture?: React.FocusEventHandler<Recorder> | undefined;
|
|
181
|
+
onChange?: React.FormEventHandler<Recorder> | undefined;
|
|
182
|
+
onChangeCapture?: React.FormEventHandler<Recorder> | undefined;
|
|
183
|
+
onBeforeInput?: React.FormEventHandler<Recorder> | undefined;
|
|
184
|
+
onBeforeInputCapture?: React.FormEventHandler<Recorder> | undefined;
|
|
185
|
+
onInput?: React.FormEventHandler<Recorder> | undefined;
|
|
186
|
+
onInputCapture?: React.FormEventHandler<Recorder> | undefined;
|
|
187
|
+
onReset?: React.FormEventHandler<Recorder> | undefined;
|
|
188
|
+
onResetCapture?: React.FormEventHandler<Recorder> | undefined;
|
|
189
|
+
onSubmit?: React.FormEventHandler<Recorder> | undefined;
|
|
190
|
+
onSubmitCapture?: React.FormEventHandler<Recorder> | undefined;
|
|
191
|
+
onInvalid?: React.FormEventHandler<Recorder> | undefined;
|
|
192
|
+
onInvalidCapture?: React.FormEventHandler<Recorder> | undefined;
|
|
193
|
+
onLoad?: React.ReactEventHandler<Recorder> | undefined;
|
|
194
|
+
onLoadCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
195
|
+
onError?: React.ReactEventHandler<Recorder> | undefined;
|
|
196
|
+
onErrorCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
197
|
+
onKeyDown?: React.KeyboardEventHandler<Recorder> | undefined;
|
|
198
|
+
onKeyDownCapture?: React.KeyboardEventHandler<Recorder> | undefined;
|
|
199
|
+
onKeyPress?: React.KeyboardEventHandler<Recorder> | undefined;
|
|
200
|
+
onKeyPressCapture?: React.KeyboardEventHandler<Recorder> | undefined;
|
|
201
|
+
onKeyUp?: React.KeyboardEventHandler<Recorder> | undefined;
|
|
202
|
+
onKeyUpCapture?: React.KeyboardEventHandler<Recorder> | undefined;
|
|
203
|
+
onAbort?: React.ReactEventHandler<Recorder> | undefined;
|
|
204
|
+
onAbortCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
205
|
+
onCanPlay?: React.ReactEventHandler<Recorder> | undefined;
|
|
206
|
+
onCanPlayCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
207
|
+
onCanPlayThrough?: React.ReactEventHandler<Recorder> | undefined;
|
|
208
|
+
onCanPlayThroughCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
209
|
+
onDurationChange?: React.ReactEventHandler<Recorder> | undefined;
|
|
210
|
+
onDurationChangeCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
211
|
+
onEmptied?: React.ReactEventHandler<Recorder> | undefined;
|
|
212
|
+
onEmptiedCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
213
|
+
onEncrypted?: React.ReactEventHandler<Recorder> | undefined;
|
|
214
|
+
onEncryptedCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
215
|
+
onEnded?: React.ReactEventHandler<Recorder> | undefined;
|
|
216
|
+
onEndedCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
217
|
+
onLoadedData?: React.ReactEventHandler<Recorder> | undefined;
|
|
218
|
+
onLoadedDataCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
219
|
+
onLoadedMetadata?: React.ReactEventHandler<Recorder> | undefined;
|
|
220
|
+
onLoadedMetadataCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
221
|
+
onLoadStart?: React.ReactEventHandler<Recorder> | undefined;
|
|
222
|
+
onLoadStartCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
223
|
+
onPause?: React.ReactEventHandler<Recorder> | undefined;
|
|
224
|
+
onPauseCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
225
|
+
onPlay?: React.ReactEventHandler<Recorder> | undefined;
|
|
226
|
+
onPlayCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
227
|
+
onPlaying?: React.ReactEventHandler<Recorder> | undefined;
|
|
228
|
+
onPlayingCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
229
|
+
onProgress?: React.ReactEventHandler<Recorder> | undefined;
|
|
230
|
+
onProgressCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
231
|
+
onRateChange?: React.ReactEventHandler<Recorder> | undefined;
|
|
232
|
+
onRateChangeCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
233
|
+
onSeeked?: React.ReactEventHandler<Recorder> | undefined;
|
|
234
|
+
onSeekedCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
235
|
+
onSeeking?: React.ReactEventHandler<Recorder> | undefined;
|
|
236
|
+
onSeekingCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
237
|
+
onStalled?: React.ReactEventHandler<Recorder> | undefined;
|
|
238
|
+
onStalledCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
239
|
+
onSuspend?: React.ReactEventHandler<Recorder> | undefined;
|
|
240
|
+
onSuspendCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
241
|
+
onTimeUpdate?: React.ReactEventHandler<Recorder> | undefined;
|
|
242
|
+
onTimeUpdateCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
243
|
+
onVolumeChange?: React.ReactEventHandler<Recorder> | undefined;
|
|
244
|
+
onVolumeChangeCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
245
|
+
onWaiting?: React.ReactEventHandler<Recorder> | undefined;
|
|
246
|
+
onWaitingCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
247
|
+
onAuxClick?: React.MouseEventHandler<Recorder> | undefined;
|
|
248
|
+
onAuxClickCapture?: React.MouseEventHandler<Recorder> | undefined;
|
|
249
|
+
onClick?: React.MouseEventHandler<Recorder> | undefined;
|
|
250
|
+
onClickCapture?: React.MouseEventHandler<Recorder> | undefined;
|
|
251
|
+
onContextMenu?: React.MouseEventHandler<Recorder> | undefined;
|
|
252
|
+
onContextMenuCapture?: React.MouseEventHandler<Recorder> | undefined;
|
|
253
|
+
onDoubleClick?: React.MouseEventHandler<Recorder> | undefined;
|
|
254
|
+
onDoubleClickCapture?: React.MouseEventHandler<Recorder> | undefined;
|
|
255
|
+
onDrag?: React.DragEventHandler<Recorder> | undefined;
|
|
256
|
+
onDragCapture?: React.DragEventHandler<Recorder> | undefined;
|
|
257
|
+
onDragEnd?: React.DragEventHandler<Recorder> | undefined;
|
|
258
|
+
onDragEndCapture?: React.DragEventHandler<Recorder> | undefined;
|
|
259
|
+
onDragEnter?: React.DragEventHandler<Recorder> | undefined;
|
|
260
|
+
onDragEnterCapture?: React.DragEventHandler<Recorder> | undefined;
|
|
261
|
+
onDragExit?: React.DragEventHandler<Recorder> | undefined;
|
|
262
|
+
onDragExitCapture?: React.DragEventHandler<Recorder> | undefined;
|
|
263
|
+
onDragLeave?: React.DragEventHandler<Recorder> | undefined;
|
|
264
|
+
onDragLeaveCapture?: React.DragEventHandler<Recorder> | undefined;
|
|
265
|
+
onDragOver?: React.DragEventHandler<Recorder> | undefined;
|
|
266
|
+
onDragOverCapture?: React.DragEventHandler<Recorder> | undefined;
|
|
267
|
+
onDragStart?: React.DragEventHandler<Recorder> | undefined;
|
|
268
|
+
onDragStartCapture?: React.DragEventHandler<Recorder> | undefined;
|
|
269
|
+
onDrop?: React.DragEventHandler<Recorder> | undefined;
|
|
270
|
+
onDropCapture?: React.DragEventHandler<Recorder> | undefined;
|
|
271
|
+
onMouseDown?: React.MouseEventHandler<Recorder> | undefined;
|
|
272
|
+
onMouseDownCapture?: React.MouseEventHandler<Recorder> | undefined;
|
|
273
|
+
onMouseEnter?: React.MouseEventHandler<Recorder> | undefined;
|
|
274
|
+
onMouseLeave?: React.MouseEventHandler<Recorder> | undefined;
|
|
275
|
+
onMouseMove?: React.MouseEventHandler<Recorder> | undefined;
|
|
276
|
+
onMouseMoveCapture?: React.MouseEventHandler<Recorder> | undefined;
|
|
277
|
+
onMouseOut?: React.MouseEventHandler<Recorder> | undefined;
|
|
278
|
+
onMouseOutCapture?: React.MouseEventHandler<Recorder> | undefined;
|
|
279
|
+
onMouseOver?: React.MouseEventHandler<Recorder> | undefined;
|
|
280
|
+
onMouseOverCapture?: React.MouseEventHandler<Recorder> | undefined;
|
|
281
|
+
onMouseUp?: React.MouseEventHandler<Recorder> | undefined;
|
|
282
|
+
onMouseUpCapture?: React.MouseEventHandler<Recorder> | undefined;
|
|
283
|
+
onSelect?: React.ReactEventHandler<Recorder> | undefined;
|
|
284
|
+
onSelectCapture?: React.ReactEventHandler<Recorder> | undefined;
|
|
285
|
+
onTouchCancel?: React.TouchEventHandler<Recorder> | undefined;
|
|
286
|
+
onTouchCancelCapture?: React.TouchEventHandler<Recorder> | undefined;
|
|
287
|
+
onTouchEnd?: React.TouchEventHandler<Recorder> | undefined;
|
|
288
|
+
onTouchEndCapture?: React.TouchEventHandler<Recorder> | undefined;
|
|
289
|
+
onTouchMove?: React.TouchEventHandler<Recorder> | undefined;
|
|
290
|
+
onTouchMoveCapture?: React.TouchEventHandler<Recorder> | undefined;
|
|
291
|
+
onTouchStart?: React.TouchEventHandler<Recorder> | undefined;
|
|
292
|
+
onTouchStartCapture?: React.TouchEventHandler<Recorder> | undefined;
|
|
293
|
+
onPointerDown?: React.PointerEventHandler<Recorder> | undefined;
|
|
294
|
+
onPointerDownCapture?: React.PointerEventHandler<Recorder> | undefined;
|
|
295
|
+
onPointerMove?: React.PointerEventHandler<Recorder> | undefined;
|
|
296
|
+
onPointerMoveCapture?: React.PointerEventHandler<Recorder> | undefined;
|
|
297
|
+
onPointerUp?: React.PointerEventHandler<Recorder> | undefined;
|
|
298
|
+
onPointerUpCapture?: React.PointerEventHandler<Recorder> | undefined;
|
|
299
|
+
onPointerCancel?: React.PointerEventHandler<Recorder> | undefined;
|
|
300
|
+
onPointerCancelCapture?: React.PointerEventHandler<Recorder> | undefined;
|
|
301
|
+
onPointerEnter?: React.PointerEventHandler<Recorder> | undefined;
|
|
302
|
+
onPointerEnterCapture?: React.PointerEventHandler<Recorder> | undefined;
|
|
303
|
+
onPointerLeave?: React.PointerEventHandler<Recorder> | undefined;
|
|
304
|
+
onPointerLeaveCapture?: React.PointerEventHandler<Recorder> | undefined;
|
|
305
|
+
onPointerOver?: React.PointerEventHandler<Recorder> | undefined;
|
|
306
|
+
onPointerOverCapture?: React.PointerEventHandler<Recorder> | undefined;
|
|
307
|
+
onPointerOut?: React.PointerEventHandler<Recorder> | undefined;
|
|
308
|
+
onPointerOutCapture?: React.PointerEventHandler<Recorder> | undefined;
|
|
309
|
+
onGotPointerCapture?: React.PointerEventHandler<Recorder> | undefined;
|
|
310
|
+
onGotPointerCaptureCapture?: React.PointerEventHandler<Recorder> | undefined;
|
|
311
|
+
onLostPointerCapture?: React.PointerEventHandler<Recorder> | undefined;
|
|
312
|
+
onLostPointerCaptureCapture?: React.PointerEventHandler<Recorder> | undefined;
|
|
313
|
+
onScroll?: React.UIEventHandler<Recorder> | undefined;
|
|
314
|
+
onScrollCapture?: React.UIEventHandler<Recorder> | undefined;
|
|
315
|
+
onWheel?: React.WheelEventHandler<Recorder> | undefined;
|
|
316
|
+
onWheelCapture?: React.WheelEventHandler<Recorder> | undefined;
|
|
317
|
+
onAnimationStart?: React.AnimationEventHandler<Recorder> | undefined;
|
|
318
|
+
onAnimationStartCapture?: React.AnimationEventHandler<Recorder> | undefined;
|
|
319
|
+
onAnimationEnd?: React.AnimationEventHandler<Recorder> | undefined;
|
|
320
|
+
onAnimationEndCapture?: React.AnimationEventHandler<Recorder> | undefined;
|
|
321
|
+
onAnimationIteration?: React.AnimationEventHandler<Recorder> | undefined;
|
|
322
|
+
onAnimationIterationCapture?: React.AnimationEventHandler<Recorder> | undefined;
|
|
323
|
+
onTransitionEnd?: React.TransitionEventHandler<Recorder> | undefined;
|
|
324
|
+
onTransitionEndCapture?: React.TransitionEventHandler<Recorder> | undefined;
|
|
325
|
+
} & {
|
|
326
|
+
normalize: () => void;
|
|
327
|
+
error: string;
|
|
328
|
+
matches: (selectors: string) => boolean;
|
|
329
|
+
remove: () => void;
|
|
330
|
+
contains: (other: Node | null) => boolean;
|
|
331
|
+
animate: (keyframes: PropertyIndexedKeyframes | Keyframe[] | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
|
|
332
|
+
blur: () => void;
|
|
333
|
+
click: () => void;
|
|
334
|
+
focus: (options?: FocusOptions | undefined) => void;
|
|
335
|
+
scroll: {
|
|
336
|
+
(options?: ScrollToOptions | undefined): void;
|
|
337
|
+
(x: number, y: number): void;
|
|
338
|
+
};
|
|
339
|
+
addEventListener: {
|
|
340
|
+
<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
341
|
+
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
342
|
+
};
|
|
343
|
+
removeEventListener: {
|
|
344
|
+
<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
345
|
+
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
346
|
+
};
|
|
347
|
+
readonly accessKeyLabel: string;
|
|
348
|
+
autocapitalize: string;
|
|
349
|
+
inert: boolean;
|
|
350
|
+
innerText: string;
|
|
351
|
+
readonly offsetHeight: number;
|
|
352
|
+
readonly offsetLeft: number;
|
|
353
|
+
readonly offsetParent: Element | null;
|
|
354
|
+
readonly offsetTop: number;
|
|
355
|
+
readonly offsetWidth: number;
|
|
356
|
+
outerText: string;
|
|
357
|
+
spellcheck: boolean;
|
|
358
|
+
attachInternals: () => ElementInternals;
|
|
359
|
+
readonly attributes: NamedNodeMap;
|
|
360
|
+
readonly classList: DOMTokenList;
|
|
361
|
+
readonly clientHeight: number;
|
|
362
|
+
readonly clientLeft: number;
|
|
363
|
+
readonly clientTop: number;
|
|
364
|
+
readonly clientWidth: number;
|
|
365
|
+
readonly localName: string;
|
|
366
|
+
readonly namespaceURI: string | null;
|
|
367
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
368
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
369
|
+
outerHTML: string;
|
|
370
|
+
readonly ownerDocument: Document;
|
|
371
|
+
readonly part: DOMTokenList;
|
|
372
|
+
readonly scrollHeight: number;
|
|
373
|
+
scrollLeft: number;
|
|
374
|
+
scrollTop: number;
|
|
375
|
+
readonly scrollWidth: number;
|
|
376
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
377
|
+
readonly tagName: string;
|
|
378
|
+
attachShadow: (init: ShadowRootInit) => ShadowRoot;
|
|
379
|
+
closest: {
|
|
380
|
+
<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
|
|
381
|
+
<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
|
|
382
|
+
<E extends Element = Element>(selectors: string): E | null;
|
|
383
|
+
};
|
|
384
|
+
getAttribute: (qualifiedName: string) => string | null;
|
|
385
|
+
getAttributeNS: (namespace: string | null, localName: string) => string | null;
|
|
386
|
+
getAttributeNames: () => string[];
|
|
387
|
+
getAttributeNode: (qualifiedName: string) => Attr | null;
|
|
388
|
+
getAttributeNodeNS: (namespace: string | null, localName: string) => Attr | null;
|
|
389
|
+
getBoundingClientRect: () => DOMRect;
|
|
390
|
+
getClientRects: () => DOMRectList;
|
|
391
|
+
getElementsByClassName: (classNames: string) => HTMLCollectionOf<Element>;
|
|
392
|
+
getElementsByTagName: {
|
|
393
|
+
<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
394
|
+
<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
|
395
|
+
(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
396
|
+
};
|
|
397
|
+
getElementsByTagNameNS: {
|
|
398
|
+
(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
399
|
+
(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
400
|
+
(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
401
|
+
};
|
|
402
|
+
hasAttribute: (qualifiedName: string) => boolean;
|
|
403
|
+
hasAttributeNS: (namespace: string | null, localName: string) => boolean;
|
|
404
|
+
hasAttributes: () => boolean;
|
|
405
|
+
hasPointerCapture: (pointerId: number) => boolean;
|
|
406
|
+
insertAdjacentElement: (where: InsertPosition, element: Element) => Element | null;
|
|
407
|
+
insertAdjacentHTML: (position: InsertPosition, text: string) => void;
|
|
408
|
+
insertAdjacentText: (where: InsertPosition, data: string) => void;
|
|
409
|
+
releasePointerCapture: (pointerId: number) => void;
|
|
410
|
+
removeAttribute: (qualifiedName: string) => void;
|
|
411
|
+
removeAttributeNS: (namespace: string | null, localName: string) => void;
|
|
412
|
+
removeAttributeNode: (attr: Attr) => Attr;
|
|
413
|
+
requestFullscreen: (options?: FullscreenOptions | undefined) => Promise<void>;
|
|
414
|
+
requestPointerLock: () => void;
|
|
415
|
+
scrollBy: {
|
|
416
|
+
(options?: ScrollToOptions | undefined): void;
|
|
417
|
+
(x: number, y: number): void;
|
|
418
|
+
};
|
|
419
|
+
scrollIntoView: (arg?: boolean | ScrollIntoViewOptions | undefined) => void;
|
|
420
|
+
scrollTo: {
|
|
421
|
+
(options?: ScrollToOptions | undefined): void;
|
|
422
|
+
(x: number, y: number): void;
|
|
423
|
+
};
|
|
424
|
+
setAttribute: (qualifiedName: string, value: string) => void;
|
|
425
|
+
setAttributeNS: (namespace: string | null, qualifiedName: string, value: string) => void;
|
|
426
|
+
setAttributeNode: (attr: Attr) => Attr | null;
|
|
427
|
+
setAttributeNodeNS: (attr: Attr) => Attr | null;
|
|
428
|
+
setPointerCapture: (pointerId: number) => void;
|
|
429
|
+
toggleAttribute: (qualifiedName: string, force?: boolean | undefined) => boolean;
|
|
430
|
+
webkitMatchesSelector: (selectors: string) => boolean;
|
|
431
|
+
readonly baseURI: string;
|
|
432
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
433
|
+
readonly firstChild: ChildNode | null;
|
|
434
|
+
readonly isConnected: boolean;
|
|
435
|
+
readonly lastChild: ChildNode | null;
|
|
436
|
+
readonly nextSibling: ChildNode | null;
|
|
437
|
+
readonly nodeName: string;
|
|
438
|
+
readonly nodeType: number;
|
|
439
|
+
nodeValue: string | null;
|
|
440
|
+
readonly parentElement: HTMLElement | null;
|
|
441
|
+
readonly parentNode: ParentNode | null;
|
|
442
|
+
readonly previousSibling: ChildNode | null;
|
|
443
|
+
textContent: string | null;
|
|
444
|
+
appendChild: <T extends Node>(node: T) => T;
|
|
445
|
+
cloneNode: (deep?: boolean | undefined) => Node;
|
|
446
|
+
compareDocumentPosition: (other: Node) => number;
|
|
447
|
+
getRootNode: (options?: GetRootNodeOptions | undefined) => Node;
|
|
448
|
+
hasChildNodes: () => boolean;
|
|
449
|
+
insertBefore: <T_1 extends Node>(node: T_1, child: Node | null) => T_1;
|
|
450
|
+
isDefaultNamespace: (namespace: string | null) => boolean;
|
|
451
|
+
isEqualNode: (otherNode: Node | null) => boolean;
|
|
452
|
+
isSameNode: (otherNode: Node | null) => boolean;
|
|
453
|
+
lookupNamespaceURI: (prefix: string | null) => string | null;
|
|
454
|
+
lookupPrefix: (namespace: string | null) => string | null;
|
|
455
|
+
removeChild: <T_2 extends Node>(child: T_2) => T_2;
|
|
456
|
+
replaceChild: <T_3 extends Node>(node: Node, child: T_3) => T_3;
|
|
457
|
+
readonly ATTRIBUTE_NODE: number;
|
|
458
|
+
readonly CDATA_SECTION_NODE: number;
|
|
459
|
+
readonly COMMENT_NODE: number;
|
|
460
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
461
|
+
readonly DOCUMENT_NODE: number;
|
|
462
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
463
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
464
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
465
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
466
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
467
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
468
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
|
469
|
+
readonly ELEMENT_NODE: number;
|
|
470
|
+
readonly ENTITY_NODE: number;
|
|
471
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
|
472
|
+
readonly NOTATION_NODE: number;
|
|
473
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
474
|
+
readonly TEXT_NODE: number;
|
|
475
|
+
dispatchEvent: (event: Event) => boolean;
|
|
476
|
+
ariaAtomic: string | null;
|
|
477
|
+
ariaAutoComplete: string | null;
|
|
478
|
+
ariaBusy: string | null;
|
|
479
|
+
ariaChecked: string | null;
|
|
480
|
+
ariaColCount: string | null;
|
|
481
|
+
ariaColIndex: string | null;
|
|
482
|
+
ariaColIndexText: string | null;
|
|
483
|
+
ariaColSpan: string | null;
|
|
484
|
+
ariaCurrent: string | null;
|
|
485
|
+
ariaDisabled: string | null;
|
|
486
|
+
ariaExpanded: string | null;
|
|
487
|
+
ariaHasPopup: string | null;
|
|
488
|
+
ariaHidden: string | null;
|
|
489
|
+
ariaInvalid: string | null;
|
|
490
|
+
ariaKeyShortcuts: string | null;
|
|
491
|
+
ariaLabel: string | null;
|
|
492
|
+
ariaLevel: string | null;
|
|
493
|
+
ariaLive: string | null;
|
|
494
|
+
ariaModal: string | null;
|
|
495
|
+
ariaMultiLine: string | null;
|
|
496
|
+
ariaMultiSelectable: string | null;
|
|
497
|
+
ariaOrientation: string | null;
|
|
498
|
+
ariaPlaceholder: string | null;
|
|
499
|
+
ariaPosInSet: string | null;
|
|
500
|
+
ariaPressed: string | null;
|
|
501
|
+
ariaReadOnly: string | null;
|
|
502
|
+
ariaRequired: string | null;
|
|
503
|
+
ariaRoleDescription: string | null;
|
|
504
|
+
ariaRowCount: string | null;
|
|
505
|
+
ariaRowIndex: string | null;
|
|
506
|
+
ariaRowIndexText: string | null;
|
|
507
|
+
ariaRowSpan: string | null;
|
|
508
|
+
ariaSelected: string | null;
|
|
509
|
+
ariaSetSize: string | null;
|
|
510
|
+
ariaSort: string | null;
|
|
511
|
+
ariaValueMax: string | null;
|
|
512
|
+
ariaValueMin: string | null;
|
|
513
|
+
ariaValueNow: string | null;
|
|
514
|
+
ariaValueText: string | null;
|
|
515
|
+
getAnimations: (options?: GetAnimationsOptions | undefined) => Animation[];
|
|
516
|
+
after: (...nodes: (string | Node)[]) => void;
|
|
517
|
+
before: (...nodes: (string | Node)[]) => void;
|
|
518
|
+
replaceWith: (...nodes: (string | Node)[]) => void;
|
|
519
|
+
innerHTML: string;
|
|
520
|
+
readonly nextElementSibling: Element | null;
|
|
521
|
+
readonly previousElementSibling: Element | null;
|
|
522
|
+
readonly childElementCount: number;
|
|
523
|
+
readonly firstElementChild: Element | null;
|
|
524
|
+
readonly lastElementChild: Element | null;
|
|
525
|
+
append: (...nodes: (string | Node)[]) => void;
|
|
526
|
+
prepend: (...nodes: (string | Node)[]) => void;
|
|
527
|
+
querySelector: {
|
|
528
|
+
<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6] | null;
|
|
529
|
+
<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7] | null;
|
|
530
|
+
<E_1 extends Element = Element>(selectors: string): E_1 | null;
|
|
531
|
+
};
|
|
532
|
+
querySelectorAll: {
|
|
533
|
+
<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
|
|
534
|
+
<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
|
|
535
|
+
<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
536
|
+
};
|
|
537
|
+
replaceChildren: (...nodes: (string | Node)[]) => void;
|
|
538
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
539
|
+
oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
540
|
+
oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
541
|
+
onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
542
|
+
enterKeyHint: string;
|
|
543
|
+
readonly isContentEditable: boolean;
|
|
544
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
545
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
546
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
547
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
548
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
549
|
+
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
550
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
551
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
552
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
553
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
554
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
555
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
556
|
+
onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
557
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
558
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
559
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
560
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
561
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
562
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
563
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
564
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
565
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
566
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
567
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
568
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
569
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
570
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
571
|
+
onerror: OnErrorEventHandler;
|
|
572
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
573
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
574
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
575
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
576
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
577
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
578
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
579
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
580
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
581
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
582
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
583
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
584
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
585
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
586
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
587
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
588
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
589
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
590
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
591
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
592
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
593
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
594
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
595
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
596
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
597
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
598
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
599
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
600
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
601
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
602
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
603
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
|
|
604
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
605
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
606
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
607
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
608
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
609
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
610
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
611
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
612
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
613
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
614
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
615
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
616
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
617
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
618
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
619
|
+
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
620
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
621
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
622
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
623
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
624
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
625
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
626
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
627
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
628
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
629
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
630
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
631
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
632
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
633
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
634
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
635
|
+
autofocus: boolean;
|
|
636
|
+
readonly dataset: DOMStringMap;
|
|
637
|
+
disconnected: boolean;
|
|
638
|
+
capture: () => Promise<void>;
|
|
639
|
+
render: () => lit_html.TemplateResult<1>;
|
|
640
|
+
strings: Partial<{
|
|
641
|
+
capture: string;
|
|
642
|
+
retry: string;
|
|
643
|
+
errors: {
|
|
644
|
+
noFace: string;
|
|
645
|
+
};
|
|
646
|
+
hints: {
|
|
647
|
+
up: string;
|
|
648
|
+
down: string;
|
|
649
|
+
perfect: string;
|
|
650
|
+
right: string;
|
|
651
|
+
left: string;
|
|
652
|
+
closer: string;
|
|
653
|
+
record: string;
|
|
654
|
+
nil: string;
|
|
655
|
+
};
|
|
656
|
+
forbiddenActionMessages: {
|
|
657
|
+
visibility: string;
|
|
658
|
+
focus: string;
|
|
659
|
+
keyboard: string;
|
|
660
|
+
default: string;
|
|
661
|
+
};
|
|
662
|
+
cameraErrorMessages: {
|
|
663
|
+
permissionDenied: string;
|
|
664
|
+
openFailed: string;
|
|
665
|
+
default: string;
|
|
666
|
+
};
|
|
667
|
+
rotationWhileCapturingErrorMessage: string;
|
|
668
|
+
activeChallengeMessages: {
|
|
669
|
+
rotateLeft: string;
|
|
670
|
+
rotateRight: string;
|
|
671
|
+
rotateUp: string;
|
|
672
|
+
rotateDown: string;
|
|
673
|
+
};
|
|
674
|
+
}>;
|
|
675
|
+
preset: _unissey_sdk_web_js.AcquisitionPreset;
|
|
676
|
+
config: Partial<_unissey_sdk_web_js_dist_build_packed_session_session_config._SessionConfig>;
|
|
677
|
+
displayFlipCameraBtn: boolean | undefined;
|
|
678
|
+
hideCaptureBtn: boolean;
|
|
679
|
+
faceChecker: _unissey_web_web_components.FaceChecker;
|
|
680
|
+
logLevel: _unissey_sdk_web_js.LogLevel;
|
|
681
|
+
instructionMessages: _unissey_web_web_components.InstructionMessage[];
|
|
682
|
+
disableDebugMode: boolean;
|
|
683
|
+
sdkAngularVersion: string | undefined;
|
|
684
|
+
sdkReactVersion: string | undefined;
|
|
685
|
+
hints: keyof {
|
|
686
|
+
left: string;
|
|
687
|
+
right: string;
|
|
688
|
+
up: string;
|
|
689
|
+
down: string;
|
|
690
|
+
perfect: string;
|
|
691
|
+
closer: string;
|
|
692
|
+
record: string;
|
|
693
|
+
nil: string;
|
|
694
|
+
};
|
|
695
|
+
sdkJsStatus: _unissey_sdk_web_js.StatusEvent;
|
|
696
|
+
willRetryCapture: boolean;
|
|
697
|
+
instructions: string[];
|
|
698
|
+
instructionMessage: string;
|
|
699
|
+
instructionTimer: number;
|
|
700
|
+
readonly renderOptions: lit_html.RenderOptions;
|
|
701
|
+
connectedCallback: () => void;
|
|
702
|
+
disconnectedCallback: () => void;
|
|
703
|
+
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
704
|
+
isUpdatePending: boolean;
|
|
705
|
+
hasUpdated: boolean;
|
|
706
|
+
addController: (controller: lit.ReactiveController) => void;
|
|
707
|
+
removeController: (controller: lit.ReactiveController) => void;
|
|
708
|
+
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
709
|
+
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: lit.PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
710
|
+
readonly updateComplete: Promise<boolean>;
|
|
711
|
+
session: _unissey_sdk_web_js.UnisseySession | null;
|
|
712
|
+
sessionPromise: Promise<void> | null;
|
|
713
|
+
resultEvent: {
|
|
714
|
+
name: string;
|
|
715
|
+
mediaPropertyName: string;
|
|
716
|
+
includeMetadata: boolean;
|
|
717
|
+
};
|
|
718
|
+
mediaType: string;
|
|
719
|
+
instructionNumber: number;
|
|
720
|
+
defaultStrings: {
|
|
721
|
+
capture: string;
|
|
722
|
+
retry: string;
|
|
723
|
+
errors: {
|
|
724
|
+
noFace: string;
|
|
725
|
+
};
|
|
726
|
+
hints: {
|
|
727
|
+
up: string;
|
|
728
|
+
down: string;
|
|
729
|
+
perfect: string;
|
|
730
|
+
right: string;
|
|
731
|
+
left: string;
|
|
732
|
+
closer: string;
|
|
733
|
+
record: string;
|
|
734
|
+
nil: string;
|
|
735
|
+
};
|
|
736
|
+
forbiddenActionMessages: {
|
|
737
|
+
visibility: string;
|
|
738
|
+
focus: string;
|
|
739
|
+
keyboard: string;
|
|
740
|
+
default: string;
|
|
741
|
+
};
|
|
742
|
+
cameraErrorMessages: {
|
|
743
|
+
permissionDenied: string;
|
|
744
|
+
openFailed: string;
|
|
745
|
+
default: string;
|
|
746
|
+
};
|
|
747
|
+
rotationWhileCapturingErrorMessage: string;
|
|
748
|
+
activeChallengeMessages: {
|
|
749
|
+
rotateLeft: string;
|
|
750
|
+
rotateRight: string;
|
|
751
|
+
rotateUp: string;
|
|
752
|
+
rotateDown: string;
|
|
753
|
+
};
|
|
754
|
+
};
|
|
755
|
+
captureButtonPicto: lit_html.TemplateResult<1>;
|
|
756
|
+
initSessionInprogress: boolean;
|
|
757
|
+
retryCount: number;
|
|
758
|
+
isCameraFlipped: boolean;
|
|
759
|
+
faceDetectionFails: boolean;
|
|
760
|
+
retryCapture: () => Promise<void>;
|
|
761
|
+
flipCamera: () => Promise<void>;
|
|
762
|
+
updated: (_changedProperties: Map<PropertyKey, unknown> | lit.PropertyValueMap<any>) => void;
|
|
763
|
+
displayError: (message?: string | undefined) => Promise<void>;
|
|
764
|
+
} & {
|
|
765
|
+
onRecord: (e: Event) => void;
|
|
766
|
+
onRecorderReady: (e: Event) => void;
|
|
767
|
+
onRecordStarting: (e: Event) => void;
|
|
768
|
+
onRecordCapturing: (e: Event) => void;
|
|
769
|
+
onRecordInterrupted: (e: Event) => void;
|
|
770
|
+
onRecordCompleted: (e: Event) => void;
|
|
771
|
+
}> & React.RefAttributes<Recorder>, "normalize" | "error" | "key" | "id" | "matches" | "remove" | "color" | "content" | "translate" | "contains" | "hidden" | "slot" | "style" | "title" | "dir" | "animate" | "blur" | "click" | "focus" | "scroll" | "addEventListener" | "removeEventListener" | "accessKey" | "accessKeyLabel" | "autocapitalize" | "draggable" | "inert" | "innerText" | "lang" | "offsetHeight" | "offsetLeft" | "offsetParent" | "offsetTop" | "offsetWidth" | "outerText" | "spellcheck" | "attachInternals" | "attributes" | "classList" | "className" | "clientHeight" | "clientLeft" | "clientTop" | "clientWidth" | "localName" | "namespaceURI" | "onfullscreenchange" | "onfullscreenerror" | "outerHTML" | "ownerDocument" | "part" | "prefix" | "scrollHeight" | "scrollLeft" | "scrollTop" | "scrollWidth" | "shadowRoot" | "tagName" | "attachShadow" | "closest" | "getAttribute" | "getAttributeNS" | "getAttributeNames" | "getAttributeNode" | "getAttributeNodeNS" | "getBoundingClientRect" | "getClientRects" | "getElementsByClassName" | "getElementsByTagName" | "getElementsByTagNameNS" | "hasAttribute" | "hasAttributeNS" | "hasAttributes" | "hasPointerCapture" | "insertAdjacentElement" | "insertAdjacentHTML" | "insertAdjacentText" | "releasePointerCapture" | "removeAttribute" | "removeAttributeNS" | "removeAttributeNode" | "requestFullscreen" | "requestPointerLock" | "scrollBy" | "scrollIntoView" | "scrollTo" | "setAttribute" | "setAttributeNS" | "setAttributeNode" | "setAttributeNodeNS" | "setPointerCapture" | "toggleAttribute" | "webkitMatchesSelector" | "baseURI" | "childNodes" | "firstChild" | "isConnected" | "lastChild" | "nextSibling" | "nodeName" | "nodeType" | "nodeValue" | "parentElement" | "parentNode" | "previousSibling" | "textContent" | "appendChild" | "cloneNode" | "compareDocumentPosition" | "getRootNode" | "hasChildNodes" | "insertBefore" | "isDefaultNamespace" | "isEqualNode" | "isSameNode" | "lookupNamespaceURI" | "lookupPrefix" | "removeChild" | "replaceChild" | "ATTRIBUTE_NODE" | "CDATA_SECTION_NODE" | "COMMENT_NODE" | "DOCUMENT_FRAGMENT_NODE" | "DOCUMENT_NODE" | "DOCUMENT_POSITION_CONTAINED_BY" | "DOCUMENT_POSITION_CONTAINS" | "DOCUMENT_POSITION_DISCONNECTED" | "DOCUMENT_POSITION_FOLLOWING" | "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC" | "DOCUMENT_POSITION_PRECEDING" | "DOCUMENT_TYPE_NODE" | "ELEMENT_NODE" | "ENTITY_NODE" | "ENTITY_REFERENCE_NODE" | "NOTATION_NODE" | "PROCESSING_INSTRUCTION_NODE" | "TEXT_NODE" | "dispatchEvent" | "ariaAtomic" | "ariaAutoComplete" | "ariaBusy" | "ariaChecked" | "ariaColCount" | "ariaColIndex" | "ariaColIndexText" | "ariaColSpan" | "ariaCurrent" | "ariaDisabled" | "ariaExpanded" | "ariaHasPopup" | "ariaHidden" | "ariaInvalid" | "ariaKeyShortcuts" | "ariaLabel" | "ariaLevel" | "ariaLive" | "ariaModal" | "ariaMultiLine" | "ariaMultiSelectable" | "ariaOrientation" | "ariaPlaceholder" | "ariaPosInSet" | "ariaPressed" | "ariaReadOnly" | "ariaRequired" | "ariaRoleDescription" | "ariaRowCount" | "ariaRowIndex" | "ariaRowIndexText" | "ariaRowSpan" | "ariaSelected" | "ariaSetSize" | "ariaSort" | "ariaValueMax" | "ariaValueMin" | "ariaValueNow" | "ariaValueText" | "role" | "getAnimations" | "after" | "before" | "replaceWith" | "innerHTML" | "nextElementSibling" | "previousElementSibling" | "childElementCount" | "children" | "firstElementChild" | "lastElementChild" | "append" | "prepend" | "querySelector" | "querySelectorAll" | "replaceChildren" | "assignedSlot" | "oncopy" | "oncut" | "onpaste" | "contentEditable" | "enterKeyHint" | "inputMode" | "isContentEditable" | "onabort" | "onanimationcancel" | "onanimationend" | "onanimationiteration" | "onanimationstart" | "onauxclick" | "onbeforeinput" | "onblur" | "oncancel" | "oncanplay" | "oncanplaythrough" | "onchange" | "onclick" | "onclose" | "oncontextmenu" | "oncuechange" | "ondblclick" | "ondrag" | "ondragend" | "ondragenter" | "ondragleave" | "ondragover" | "ondragstart" | "ondrop" | "ondurationchange" | "onemptied" | "onended" | "onerror" | "onfocus" | "onformdata" | "ongotpointercapture" | "oninput" | "oninvalid" | "onkeydown" | "onkeypress" | "onkeyup" | "onload" | "onloadeddata" | "onloadedmetadata" | "onloadstart" | "onlostpointercapture" | "onmousedown" | "onmouseenter" | "onmouseleave" | "onmousemove" | "onmouseout" | "onmouseover" | "onmouseup" | "onpause" | "onplay" | "onplaying" | "onpointercancel" | "onpointerdown" | "onpointerenter" | "onpointerleave" | "onpointermove" | "onpointerout" | "onpointerover" | "onpointerup" | "onprogress" | "onratechange" | "onreset" | "onresize" | "onscroll" | "onsecuritypolicyviolation" | "onseeked" | "onseeking" | "onselect" | "onselectionchange" | "onselectstart" | "onslotchange" | "onstalled" | "onsubmit" | "onsuspend" | "ontimeupdate" | "ontoggle" | "ontouchcancel" | "ontouchend" | "ontouchmove" | "ontouchstart" | "ontransitioncancel" | "ontransitionend" | "ontransitionrun" | "ontransitionstart" | "onvolumechange" | "onwaiting" | "onwebkitanimationend" | "onwebkitanimationiteration" | "onwebkitanimationstart" | "onwebkittransitionend" | "onwheel" | "autofocus" | "dataset" | "nonce" | "tabIndex" | "disconnected" | "capture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "autoFocus" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "render" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "strings" | "preset" | "config" | "displayFlipCameraBtn" | "hideCaptureBtn" | "faceChecker" | "logLevel" | "instructionMessages" | "disableDebugMode" | "sdkAngularVersion" | "sdkReactVersion" | "hints" | "sdkJsStatus" | "willRetryCapture" | "instructions" | "instructionMessage" | "instructionTimer" | "renderOptions" | "connectedCallback" | "disconnectedCallback" | "renderRoot" | "isUpdatePending" | "hasUpdated" | "addController" | "removeController" | "attributeChangedCallback" | "requestUpdate" | "updateComplete" | "onRecorderReady" | "onRecordStarting" | "onRecordCapturing" | "onRecordInterrupted" | "onRecordCompleted" | "onRecord" | "session" | "sessionPromise" | "resultEvent" | "mediaType" | "instructionNumber" | "defaultStrings" | "captureButtonPicto" | "initSessionInprogress" | "retryCount" | "isCameraFlipped" | "faceDetectionFails" | "retryCapture" | "flipCamera" | "updated" | "displayError"> & React.RefAttributes<Recorder>>;
|
|
64
772
|
|
|
65
773
|
declare const VideoRecorderExt: _lit_labs_react.ReactWebComponent<RecorderExt, {
|
|
66
774
|
onRecord: string;
|
package/dist/index.js
CHANGED
|
@@ -741,12 +741,12 @@ var EN = {
|
|
|
741
741
|
}
|
|
742
742
|
};
|
|
743
743
|
|
|
744
|
-
var name = "@unissey-web/web-components";
|
|
745
|
-
var version = "4.0.2";
|
|
746
|
-
var description = "";
|
|
747
|
-
var module = "./dist/index.js";
|
|
748
|
-
var typings = "./dist/index.d.ts";
|
|
749
|
-
var scripts = {
|
|
744
|
+
var name$1 = "@unissey-web/web-components";
|
|
745
|
+
var version$1 = "4.0.3-rc.2";
|
|
746
|
+
var description$1 = "";
|
|
747
|
+
var module$1 = "./dist/index.js";
|
|
748
|
+
var typings$1 = "./dist/index.d.ts";
|
|
749
|
+
var scripts$1 = {
|
|
750
750
|
dev: "start-storybook -p 6006 --ci --https --ssl-cert https/certificate.crt --ssl-key https/privateKey.key",
|
|
751
751
|
"dev:server": "rimraf ./dev-server/dist && rollup --config rollup.dev.mjs",
|
|
752
752
|
"build:base": "npm run build:types && npm run build:pkg",
|
|
@@ -761,14 +761,14 @@ var scripts = {
|
|
|
761
761
|
};
|
|
762
762
|
var keywords = [
|
|
763
763
|
];
|
|
764
|
-
var license = "ISC";
|
|
765
|
-
var dependencies = {
|
|
764
|
+
var license$1 = "ISC";
|
|
765
|
+
var dependencies$1 = {
|
|
766
766
|
lit: "^2.1.1"
|
|
767
767
|
};
|
|
768
|
-
var files = [
|
|
768
|
+
var files$1 = [
|
|
769
769
|
"dist"
|
|
770
770
|
];
|
|
771
|
-
var devDependencies = {
|
|
771
|
+
var devDependencies$1 = {
|
|
772
772
|
"@rollup/plugin-json": "^4.1.0",
|
|
773
773
|
"@storybook/addon-actions": "^6.5.14",
|
|
774
774
|
"@storybook/addon-essentials": "^6.5.14",
|
|
@@ -784,18 +784,18 @@ var devDependencies = {
|
|
|
784
784
|
heic2any: "^0.0.4",
|
|
785
785
|
"@unissey/sdk-web-js": "0.4.2"
|
|
786
786
|
};
|
|
787
|
-
var pkg = {
|
|
788
|
-
name: name,
|
|
789
|
-
version: version,
|
|
790
|
-
description: description,
|
|
791
|
-
module: module,
|
|
792
|
-
typings: typings,
|
|
793
|
-
scripts: scripts,
|
|
787
|
+
var pkg$1 = {
|
|
788
|
+
name: name$1,
|
|
789
|
+
version: version$1,
|
|
790
|
+
description: description$1,
|
|
791
|
+
module: module$1,
|
|
792
|
+
typings: typings$1,
|
|
793
|
+
scripts: scripts$1,
|
|
794
794
|
keywords: keywords,
|
|
795
|
-
license: license,
|
|
796
|
-
dependencies: dependencies,
|
|
797
|
-
files: files,
|
|
798
|
-
devDependencies: devDependencies
|
|
795
|
+
license: license$1,
|
|
796
|
+
dependencies: dependencies$1,
|
|
797
|
+
files: files$1,
|
|
798
|
+
devDependencies: devDependencies$1
|
|
799
799
|
};
|
|
800
800
|
|
|
801
801
|
var buildPacked = {exports: {}};
|
|
@@ -1072,6 +1072,8 @@ var Recorder = /*#__PURE__*/function (_LitElement) {
|
|
|
1072
1072
|
_this.sessionPromise = null;
|
|
1073
1073
|
// Config that is passed by the user with component attributes
|
|
1074
1074
|
_this.config = {};
|
|
1075
|
+
_this.sdkAngularVersion = undefined;
|
|
1076
|
+
_this.sdkReactVersion = undefined;
|
|
1075
1077
|
// Default value of preset attribute
|
|
1076
1078
|
_this.preset = buildPacked.exports.AcquisitionPreset.SELFIE_FAST;
|
|
1077
1079
|
// result event
|
|
@@ -1400,9 +1402,11 @@ var Recorder = /*#__PURE__*/function (_LitElement) {
|
|
|
1400
1402
|
var configChanged = _changedProperties.has("config");
|
|
1401
1403
|
var faceCheckerChanged = _changedProperties.has("faceChecker");
|
|
1402
1404
|
var instructionsChanged = _changedProperties.has("instructionMessages");
|
|
1405
|
+
var sdkReactVersionChanged = _changedProperties.has("sdkReactVersion");
|
|
1406
|
+
var sdkAngularVersionChanged = _changedProperties.has("sdkAngularVersion");
|
|
1403
1407
|
|
|
1404
1408
|
// The sdk is initialized only if it is the first rendering or if one of the following attributes changes: preset or config
|
|
1405
|
-
var shouldInitSdk = presetChanged || configChanged || instructionsChanged || faceCheckerChanged;
|
|
1409
|
+
var shouldInitSdk = presetChanged || configChanged || instructionsChanged || faceCheckerChanged || sdkReactVersionChanged || sdkAngularVersionChanged;
|
|
1406
1410
|
if (shouldInitSdk) {
|
|
1407
1411
|
this.callInitSession();
|
|
1408
1412
|
}
|
|
@@ -1540,7 +1544,9 @@ var Recorder = /*#__PURE__*/function (_LitElement) {
|
|
|
1540
1544
|
|
|
1541
1545
|
// add sdk-web version
|
|
1542
1546
|
if (!sessionConfig.versions) sessionConfig.versions = {};
|
|
1543
|
-
sessionConfig.versions["sdk-web-components"] = pkg.version;
|
|
1547
|
+
sessionConfig.versions["sdk-web-components"] = pkg$1.version;
|
|
1548
|
+
if (this.sdkReactVersion) sessionConfig.versions["sdk-react"] = this.sdkReactVersion;
|
|
1549
|
+
if (this.sdkAngularVersion) sessionConfig.versions["sdk-angular"] = this.sdkAngularVersion;
|
|
1544
1550
|
|
|
1545
1551
|
// if we now have instructions or if we have no more instructions, the component '.instructions' is added or removed
|
|
1546
1552
|
// and we should compute the layout with adjustContainerSize.
|
|
@@ -1831,6 +1837,14 @@ Recorder.properties = {
|
|
|
1831
1837
|
attribute: "disable-debug-mode",
|
|
1832
1838
|
type: Boolean
|
|
1833
1839
|
},
|
|
1840
|
+
sdkAngularVersion: {
|
|
1841
|
+
attribute: "sdk-angular-version",
|
|
1842
|
+
type: String
|
|
1843
|
+
},
|
|
1844
|
+
sdkReactVersion: {
|
|
1845
|
+
attribute: "sdk-react-version",
|
|
1846
|
+
type: String
|
|
1847
|
+
},
|
|
1834
1848
|
// Internal state
|
|
1835
1849
|
hints: {
|
|
1836
1850
|
state: true
|
|
@@ -3697,7 +3711,77 @@ var SelfieCapture = i$2({
|
|
|
3697
3711
|
|
|
3698
3712
|
var VideoRecordDirections = i$2(React, "uni-video-record-directions", VideoRecordDirections$1);
|
|
3699
3713
|
|
|
3700
|
-
|
|
3714
|
+
function _extends() {
|
|
3715
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
3716
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
3717
|
+
var t = arguments[e];
|
|
3718
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
3719
|
+
}
|
|
3720
|
+
return n;
|
|
3721
|
+
}, _extends.apply(null, arguments);
|
|
3722
|
+
}
|
|
3723
|
+
|
|
3724
|
+
var name = "@unissey-web/sdk-react";
|
|
3725
|
+
var version = "4.0.3-rc.2";
|
|
3726
|
+
var description = "Unissey React Sdk";
|
|
3727
|
+
var license = "ISC";
|
|
3728
|
+
var module = "./dist/index.js";
|
|
3729
|
+
var typings = "./dist/index.d.ts";
|
|
3730
|
+
var files = [
|
|
3731
|
+
"dist"
|
|
3732
|
+
];
|
|
3733
|
+
var scripts = {
|
|
3734
|
+
dev: "start-storybook -p 6007 --ci",
|
|
3735
|
+
"build:storybook": "build-storybook",
|
|
3736
|
+
"build:pkgs": "npm run build:types && npm run build:pkg",
|
|
3737
|
+
"postbuild:pkgs": "npm run update-wc-version",
|
|
3738
|
+
"build:pkg": "rimraf dist && rollup --config",
|
|
3739
|
+
"build:types": "rimraf tsc-types && tsc",
|
|
3740
|
+
test: "npm run test:lint && npm run test:format",
|
|
3741
|
+
"test:lint": "eslint --ext .ts, ./src",
|
|
3742
|
+
"test:format": "prettier --check \"src/**/*.ts\"",
|
|
3743
|
+
"update-wc-version": "node update-web-component.mjs"
|
|
3744
|
+
};
|
|
3745
|
+
var dependencies = {
|
|
3746
|
+
"@lit-labs/react": "^1.0.2",
|
|
3747
|
+
"@unissey-web/web-components": "file:packages/web-components"
|
|
3748
|
+
};
|
|
3749
|
+
var peerDependencies = {
|
|
3750
|
+
react: "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
3751
|
+
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
3752
|
+
};
|
|
3753
|
+
var devDependencies = {
|
|
3754
|
+
"@babel/core": "^7.16.12",
|
|
3755
|
+
"@babel/preset-react": "^7.16.7",
|
|
3756
|
+
"@storybook/addon-actions": "^6.4.17",
|
|
3757
|
+
"@storybook/addon-docs": "^6.5.15",
|
|
3758
|
+
"@storybook/addon-essentials": "^6.4.17",
|
|
3759
|
+
"@storybook/addon-links": "^6.4.17",
|
|
3760
|
+
"@storybook/builder-webpack5": "^6.5.15",
|
|
3761
|
+
"@storybook/manager-webpack5": "^6.5.15",
|
|
3762
|
+
"@storybook/react": "^6.4.17",
|
|
3763
|
+
"babel-loader": "^8.2.3",
|
|
3764
|
+
react: "^17.0.2",
|
|
3765
|
+
"react-dom": "^17.0.2",
|
|
3766
|
+
"rollup-plugin-dts": "^5.1.1"
|
|
3767
|
+
};
|
|
3768
|
+
var pkg = {
|
|
3769
|
+
name: name,
|
|
3770
|
+
version: version,
|
|
3771
|
+
description: description,
|
|
3772
|
+
license: license,
|
|
3773
|
+
module: module,
|
|
3774
|
+
typings: typings,
|
|
3775
|
+
files: files,
|
|
3776
|
+
scripts: scripts,
|
|
3777
|
+
dependencies: dependencies,
|
|
3778
|
+
peerDependencies: peerDependencies,
|
|
3779
|
+
devDependencies: devDependencies,
|
|
3780
|
+
"private": false
|
|
3781
|
+
};
|
|
3782
|
+
|
|
3783
|
+
var SDK_REACT_VERSION = pkg.version;
|
|
3784
|
+
var RecorderWithoutVersion = i$2({
|
|
3701
3785
|
tagName: "uni-video-recorder",
|
|
3702
3786
|
elementClass: Recorder,
|
|
3703
3787
|
react: React,
|
|
@@ -3710,6 +3794,12 @@ var VideoRecorder = i$2({
|
|
|
3710
3794
|
onRecordCompleted: "recordCompleted"
|
|
3711
3795
|
}
|
|
3712
3796
|
});
|
|
3797
|
+
var VideoRecorder = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
3798
|
+
return /*#__PURE__*/React.createElement(RecorderWithoutVersion, _extends({}, props, {
|
|
3799
|
+
sdkReactVersion: SDK_REACT_VERSION,
|
|
3800
|
+
ref: ref
|
|
3801
|
+
}));
|
|
3802
|
+
});
|
|
3713
3803
|
|
|
3714
3804
|
var VideoRecorderExt = i$2({
|
|
3715
3805
|
tagName: "uni-video-recorder-ext",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unissey-web/sdk-react",
|
|
3
|
-
"version": "4.0.2",
|
|
3
|
+
"version": "4.0.3-rc.2",
|
|
4
4
|
"description": "Unissey React Sdk",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@lit-labs/react": "^1.0.2",
|
|
25
|
-
"@unissey-web/web-components": "4.0.2"
|
|
25
|
+
"@unissey-web/web-components": "4.0.3-rc.2"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"react": "^17.0.0 || ^18.0.0",
|
|
29
|
-
"react-dom": "^17.0.0 || ^18.0.0"
|
|
28
|
+
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
29
|
+
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@babel/core": "^7.16.12",
|