@smileid/web-components 2.0.2 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DocumentCaptureScreens-Dwl7UqVH.js +1534 -0
- package/dist/DocumentCaptureScreens-Dwl7UqVH.js.map +1 -0
- package/dist/EndUserConsent-C5hZdJzH.js +715 -0
- package/dist/EndUserConsent-C5hZdJzH.js.map +1 -0
- package/dist/Navigation-juBE4qOw.js +136 -0
- package/dist/Navigation-juBE4qOw.js.map +1 -0
- package/dist/PoweredBySmileId-CxbaihMu.js +33 -0
- package/dist/PoweredBySmileId-CxbaihMu.js.map +1 -0
- package/dist/SelfieCaptureScreens-CQc251hz.js +7618 -0
- package/dist/SelfieCaptureScreens-CQc251hz.js.map +1 -0
- package/dist/SignaturePad-C7MtmT8m.js +324 -0
- package/dist/SignaturePad-C7MtmT8m.js.map +1 -0
- package/dist/TotpConsent-CQU5jQi4.js +730 -0
- package/dist/TotpConsent-CQU5jQi4.js.map +1 -0
- package/dist/combobox.js +300 -0
- package/dist/combobox.js.map +1 -0
- package/dist/document.js +5 -0
- package/dist/document.js.map +1 -0
- package/dist/end-user-consent.js +5 -0
- package/dist/end-user-consent.js.map +1 -0
- package/dist/main.js +22 -0
- package/dist/main.js.map +1 -0
- package/dist/navigation.js +5 -0
- package/dist/navigation.js.map +1 -0
- package/dist/package-Oi2Yil3b.js +105 -0
- package/dist/package-Oi2Yil3b.js.map +1 -0
- package/dist/selfie.js +5 -0
- package/dist/selfie.js.map +1 -0
- package/dist/signature-pad.js +5 -0
- package/dist/signature-pad.js.map +1 -0
- package/dist/smart-camera-web.js +303 -0
- package/dist/smart-camera-web.js.map +1 -0
- package/dist/styles-BUWNxWeQ.js +406 -0
- package/dist/styles-BUWNxWeQ.js.map +1 -0
- package/dist/totp-consent.js +5 -0
- package/dist/totp-consent.js.map +1 -0
- package/dist/types/combobox.d.ts +21 -0
- package/dist/types/document.d.ts +21 -0
- package/dist/types/end-user-consent.d.ts +21 -0
- package/dist/types/main.d.ts +331 -0
- package/dist/types/navigation.d.ts +21 -0
- package/dist/types/selfie.d.ts +21 -0
- package/dist/types/signature-pad.d.ts +21 -0
- package/dist/types/smart-camera-web.d.ts +21 -0
- package/dist/types/totp-consent.d.ts +21 -0
- package/{src → lib}/components/selfie/src/SelfieCaptureScreens.js +188 -37
- package/{src → lib}/components/selfie/src/index.js +0 -2
- package/{src → lib}/components/selfie/src/selfie-capture/SelfieCapture.js +3 -3
- package/{src → lib}/components/selfie/src/selfie-capture-review/SelfieCaptureReview.js +0 -7
- package/lib/components/selfie/src/selfie-capture-wrapper/SelfieCaptureWrapper.tsx +227 -0
- package/lib/components/selfie/src/selfie-capture-wrapper/index.ts +1 -0
- package/lib/components/selfie/src/smartselfie-capture/OvalProgress.tsx +81 -0
- package/lib/components/selfie/src/smartselfie-capture/SmartSelfieCapture.tsx +224 -0
- package/lib/components/selfie/src/smartselfie-capture/components/AlertDisplay.tsx +34 -0
- package/lib/components/selfie/src/smartselfie-capture/components/CameraPreview.tsx +97 -0
- package/lib/components/selfie/src/smartselfie-capture/components/CaptureControls.tsx +74 -0
- package/lib/components/selfie/src/smartselfie-capture/components/index.ts +3 -0
- package/lib/components/selfie/src/smartselfie-capture/constants.ts +23 -0
- package/lib/components/selfie/src/smartselfie-capture/hooks/index.ts +2 -0
- package/lib/components/selfie/src/smartselfie-capture/hooks/useCamera.ts +94 -0
- package/lib/components/selfie/src/smartselfie-capture/hooks/useFaceCapture.ts +558 -0
- package/lib/components/selfie/src/smartselfie-capture/index.ts +1 -0
- package/lib/components/selfie/src/smartselfie-capture/utils/alertMessages.ts +12 -0
- package/lib/components/selfie/src/smartselfie-capture/utils/canvas.ts +105 -0
- package/lib/components/selfie/src/smartselfie-capture/utils/faceDetection.ts +129 -0
- package/lib/components/selfie/src/smartselfie-capture/utils/imageCapture.ts +64 -0
- package/lib/components/selfie/src/smartselfie-capture/utils/index.ts +4 -0
- package/lib/components/selfie/src/smartselfie-capture/utils/mediapipeManager.ts +60 -0
- package/{src → lib}/components/signature-pad/package.json +1 -1
- package/{src → lib}/components/smart-camera-web/src/README.md +0 -1
- package/package.json +75 -24
- package/src/index.js +0 -5
- /package/{src → lib}/components/README.md +0 -0
- /package/{src → lib}/components/attribution/PoweredBySmileId.js +0 -0
- /package/{src → lib}/components/camera-permission/CameraPermission.js +0 -0
- /package/{src → lib}/components/camera-permission/CameraPermission.stories.js +0 -0
- /package/{src → lib}/components/combobox/src/Combobox.js +0 -0
- /package/{src → lib}/components/combobox/src/index.js +0 -0
- /package/{src → lib}/components/document/src/DocumentCaptureScreens.js +0 -0
- /package/{src → lib}/components/document/src/DocumentCaptureScreens.stories.js +0 -0
- /package/{src → lib}/components/document/src/README.md +0 -0
- /package/{src → lib}/components/document/src/document-capture/DocumentCapture.js +0 -0
- /package/{src → lib}/components/document/src/document-capture/DocumentCapture.stories.js +0 -0
- /package/{src → lib}/components/document/src/document-capture/README.md +0 -0
- /package/{src → lib}/components/document/src/document-capture/index.js +0 -0
- /package/{src → lib}/components/document/src/document-capture-instructions/DocumentCaptureInstructions.js +0 -0
- /package/{src → lib}/components/document/src/document-capture-instructions/DocumentCaptureInstructions.stories.js +0 -0
- /package/{src → lib}/components/document/src/document-capture-instructions/README.md +0 -0
- /package/{src → lib}/components/document/src/document-capture-instructions/index.js +0 -0
- /package/{src → lib}/components/document/src/document-capture-review/DocumentCaptureReview.js +0 -0
- /package/{src → lib}/components/document/src/document-capture-review/DocumentCaptureReview.stories.js +0 -0
- /package/{src → lib}/components/document/src/document-capture-review/README.md +0 -0
- /package/{src → lib}/components/document/src/document-capture-review/index.js +0 -0
- /package/{src → lib}/components/document/src/index.js +0 -0
- /package/{src → lib}/components/end-user-consent/src/EndUserConsent.js +0 -0
- /package/{src → lib}/components/end-user-consent/src/EndUserConsent.stories.js +0 -0
- /package/{src → lib}/components/end-user-consent/src/index.js +0 -0
- /package/{src → lib}/components/navigation/src/Navigation.js +0 -0
- /package/{src → lib}/components/navigation/src/Navigation.stories.js +0 -0
- /package/{src → lib}/components/navigation/src/index.js +0 -0
- /package/{src → lib}/components/selfie/README.md +0 -0
- /package/{src → lib}/components/selfie/src/SelfieCaptureScreens.stories.js +0 -0
- /package/{src → lib}/components/selfie/src/selfie-capture/SelfieCapture.stories.js +0 -0
- /package/{src → lib}/components/selfie/src/selfie-capture/index.js +0 -0
- /package/{src → lib}/components/selfie/src/selfie-capture-instructions/SelfieCaptureInstructions.js +0 -0
- /package/{src → lib}/components/selfie/src/selfie-capture-instructions/SelfieCaptureInstructions.stories.js +0 -0
- /package/{src → lib}/components/selfie/src/selfie-capture-instructions/index.js +0 -0
- /package/{src → lib}/components/selfie/src/selfie-capture-review/SelfieCaptureReview.stories.js +0 -0
- /package/{src → lib}/components/selfie/src/selfie-capture-review/index.js +0 -0
- /package/{src → lib}/components/signature-pad/package-lock.json +0 -0
- /package/{src → lib}/components/signature-pad/src/SignaturePad.js +0 -0
- /package/{src → lib}/components/signature-pad/src/SignaturePad.stories.js +0 -0
- /package/{src → lib}/components/signature-pad/src/index.js +0 -0
- /package/{src → lib}/components/smart-camera-web/src/SmartCameraWeb.js +0 -0
- /package/{src → lib}/components/smart-camera-web/src/SmartCameraWeb.stories.js +0 -0
- /package/{src → lib}/components/totp-consent/src/TotpConsent.js +0 -0
- /package/{src → lib}/components/totp-consent/src/index.js +0 -0
- /package/{src → lib}/domain/camera/src/README.md +0 -0
- /package/{src → lib}/domain/camera/src/SmartCamera.js +0 -0
- /package/{src → lib}/domain/constants/src/Constants.js +0 -0
- /package/{src → lib}/domain/file-upload/README.md +0 -0
- /package/{src → lib}/domain/file-upload/src/SmartFileUpload.js +0 -0
- /package/{src → lib}/styles/README.md +0 -0
- /package/{src → lib}/styles/src/styles.js +0 -0
- /package/{src → lib}/styles/src/typography.js +0 -0
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
import { default as default_2 } from 'signature_pad';
|
|
2
|
+
|
|
3
|
+
declare class ComboboxListbox extends HTMLElement {
|
|
4
|
+
static get observedAttributes(): string[];
|
|
5
|
+
handleFilter(event: any): void;
|
|
6
|
+
handleFocus(event: any): void;
|
|
7
|
+
handleReset(): void;
|
|
8
|
+
handleOptionSelection(event: any): void;
|
|
9
|
+
get emptyLabel(): string | null;
|
|
10
|
+
get emptyState(): string;
|
|
11
|
+
connectedCallback(): void;
|
|
12
|
+
triggers: Element[] | undefined;
|
|
13
|
+
optionNodes: Element[] | undefined;
|
|
14
|
+
selectedNode: any;
|
|
15
|
+
disconnectedCallback(): void;
|
|
16
|
+
attributeChangedCallback(name: any, oldValue: any, newValue: any): void;
|
|
17
|
+
filterNodes(searchTerm: any): void;
|
|
18
|
+
setSelected(direction: any): void;
|
|
19
|
+
swapSelected(currentNode: any, newNode: any): void;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
declare class ComboboxOption extends HTMLElement {
|
|
23
|
+
connectedCallback(): void;
|
|
24
|
+
options: Element[] | undefined;
|
|
25
|
+
disconnectedCallback(): void;
|
|
26
|
+
get value(): string | null;
|
|
27
|
+
get label(): string | null;
|
|
28
|
+
select(): void;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare class ComboboxRoot extends HTMLElement {
|
|
32
|
+
handleRoaming(event: any): void;
|
|
33
|
+
connectedCallback(): void;
|
|
34
|
+
trigger: Element | null | undefined;
|
|
35
|
+
disconnectedCallback(): void;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
declare class ComboboxTrigger extends HTMLElement {
|
|
39
|
+
handleKeyUp(event: any): void;
|
|
40
|
+
handleKeyDown(event: any): void;
|
|
41
|
+
handleSelection(event: any): void;
|
|
42
|
+
toggleExpansionState(): void;
|
|
43
|
+
get type(): string;
|
|
44
|
+
get label(): string;
|
|
45
|
+
get value(): string;
|
|
46
|
+
get disabled(): boolean;
|
|
47
|
+
connectedCallback(): void;
|
|
48
|
+
inputTrigger: HTMLInputElement | null | undefined;
|
|
49
|
+
buttonTrigger: HTMLButtonElement | null | undefined;
|
|
50
|
+
listbox: Element | null | undefined;
|
|
51
|
+
options: Element[] | undefined;
|
|
52
|
+
disconnectedCallback(): void;
|
|
53
|
+
filterListbox(value: any): void;
|
|
54
|
+
focusListbox(direction: any): void;
|
|
55
|
+
resetListbox(): void;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export declare class DocumentCaptureScreens extends HTMLElement {
|
|
59
|
+
static get observedAttributes(): string[];
|
|
60
|
+
activeScreen: any;
|
|
61
|
+
smartCameraWeb: Element | null;
|
|
62
|
+
connectedCallback(): void;
|
|
63
|
+
_data: {
|
|
64
|
+
images: never[];
|
|
65
|
+
meta: {
|
|
66
|
+
libraryVersion: string;
|
|
67
|
+
};
|
|
68
|
+
} | undefined;
|
|
69
|
+
documentInstruction: Element | null | undefined;
|
|
70
|
+
documentInstructionBack: Element | null | undefined;
|
|
71
|
+
idCapture: Element | null | undefined;
|
|
72
|
+
idReview: Element | null | undefined;
|
|
73
|
+
idCaptureBack: Element | null | undefined;
|
|
74
|
+
backOfIdReview: Element | null | undefined;
|
|
75
|
+
thankYouScreen: Element | null | undefined;
|
|
76
|
+
disconnectedCallback(): void;
|
|
77
|
+
setUpEventListeners(): void;
|
|
78
|
+
_publishSelectedImages(): void;
|
|
79
|
+
get hideInstructions(): boolean;
|
|
80
|
+
get hideBackOfId(): boolean;
|
|
81
|
+
get showNavigation(): "" | "show-navigation";
|
|
82
|
+
get title(): string;
|
|
83
|
+
get documentCaptureModes(): string;
|
|
84
|
+
get documentType(): string;
|
|
85
|
+
get hideAttribution(): "" | "hide-attribution";
|
|
86
|
+
get themeColor(): string;
|
|
87
|
+
handleBackEvents(): void;
|
|
88
|
+
handleCloseEvents(): void;
|
|
89
|
+
setActiveScreen(screen: any): void;
|
|
90
|
+
attributeChangedCallback(name: any): void;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export declare class EndUserConsent extends HTMLElement {
|
|
94
|
+
idRequiresTotpConsent: string[];
|
|
95
|
+
templateString: typeof templateString;
|
|
96
|
+
render: () => string;
|
|
97
|
+
connectedCallback(): void;
|
|
98
|
+
pages: any[] | undefined;
|
|
99
|
+
consentScreen: Element | null | undefined;
|
|
100
|
+
totpConsentApp: Element | null | undefined;
|
|
101
|
+
consentRejectedScreen: Element | null | undefined;
|
|
102
|
+
allowButton: Element | null | undefined;
|
|
103
|
+
rejectButton: Element | null | undefined;
|
|
104
|
+
backToConsentButton: Element | null | undefined;
|
|
105
|
+
confirmConsentRejectionButton: Element | null | undefined;
|
|
106
|
+
backButton: Element | null | undefined;
|
|
107
|
+
activeScreen: any;
|
|
108
|
+
setActiveScreen(screen: any): void;
|
|
109
|
+
get baseUrl(): string | null;
|
|
110
|
+
get country(): string | null;
|
|
111
|
+
get demoMode(): boolean;
|
|
112
|
+
get hideBack(): boolean;
|
|
113
|
+
get idHint(): string;
|
|
114
|
+
get hideAttribution(): boolean;
|
|
115
|
+
get idRegex(): string | null;
|
|
116
|
+
get idType(): string | null;
|
|
117
|
+
get idTypeLabel(): string | null;
|
|
118
|
+
get partnerId(): string | null;
|
|
119
|
+
get partnerName(): string | null;
|
|
120
|
+
get partnerLogoURL(): string | null;
|
|
121
|
+
get partnerPolicyURL(): string | null;
|
|
122
|
+
get themeColor(): string;
|
|
123
|
+
get token(): string | null;
|
|
124
|
+
handleConsentGrant(e: any): void;
|
|
125
|
+
handleConsentRejection(): void;
|
|
126
|
+
handleTotpConsentEvents(e: any): void;
|
|
127
|
+
handleBackEvents(): void;
|
|
128
|
+
closeWindow(): void;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export declare const List: typeof ComboboxListbox;
|
|
132
|
+
|
|
133
|
+
declare function markup(): string;
|
|
134
|
+
|
|
135
|
+
export declare class Navigation extends HTMLElement {
|
|
136
|
+
connectedCallback(): void;
|
|
137
|
+
backButton: HTMLButtonElement | undefined;
|
|
138
|
+
closeButton: HTMLButtonElement | undefined;
|
|
139
|
+
disconnectedCallback(): void;
|
|
140
|
+
handleBack(): void;
|
|
141
|
+
handleClose(): void;
|
|
142
|
+
get showBackButton(): boolean;
|
|
143
|
+
get themeColor(): string;
|
|
144
|
+
get hasThemeColor(): string | undefined;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
declare const Option_2: typeof ComboboxOption;
|
|
148
|
+
export { Option_2 as Option }
|
|
149
|
+
|
|
150
|
+
export declare const Root: typeof ComboboxRoot;
|
|
151
|
+
|
|
152
|
+
declare function scwTemplateString(): string;
|
|
153
|
+
|
|
154
|
+
export declare class SelfieCaptureScreens extends HTMLElement {
|
|
155
|
+
static get observedAttributes(): string[];
|
|
156
|
+
activeScreen: any;
|
|
157
|
+
_remountKey: number;
|
|
158
|
+
connectedCallback(): void;
|
|
159
|
+
_data: {
|
|
160
|
+
images: never[];
|
|
161
|
+
meta: {
|
|
162
|
+
libraryVersion: string;
|
|
163
|
+
};
|
|
164
|
+
} | undefined;
|
|
165
|
+
selfieInstruction: Element | null | undefined;
|
|
166
|
+
selfieCapture: HTMLElement | Element | null | undefined;
|
|
167
|
+
selfieReview: Element | null | undefined;
|
|
168
|
+
getAgentMode(): "environment" | "user";
|
|
169
|
+
disconnectedCallback(): void;
|
|
170
|
+
setUpEventListeners(): void;
|
|
171
|
+
forceWrapperRemount(): void;
|
|
172
|
+
setActiveScreen(screen: any): void;
|
|
173
|
+
setupSelfieWrapperEventListeners(): void;
|
|
174
|
+
_publishSelectedImages(): void;
|
|
175
|
+
get hideInstructions(): boolean;
|
|
176
|
+
get hideAttribution(): "" | "hide-attribution=\"\"";
|
|
177
|
+
get hideBackOfId(): boolean;
|
|
178
|
+
get showNavigation(): "" | "show-navigation=\"\"";
|
|
179
|
+
get inAgentMode(): boolean;
|
|
180
|
+
get allowAgentMode(): "" | "allow-agent-mode=\"true\"";
|
|
181
|
+
get allowAgentModeTests(): "" | "show-agent-mode-for-tests=\"\"";
|
|
182
|
+
get hideBack(): "" | "hide-back=\"\"";
|
|
183
|
+
get disableImageTests(): "" | "disable-image-tests=\"\"";
|
|
184
|
+
get themeColor(): string;
|
|
185
|
+
handleBackEvents(): void;
|
|
186
|
+
handleCloseEvent(): void;
|
|
187
|
+
attributeChangedCallback(name: any): void;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export declare class SignaturePad extends HTMLElement {
|
|
191
|
+
connectedCallback(): void;
|
|
192
|
+
core: default_2 | undefined;
|
|
193
|
+
errorMessage: Element | null | undefined;
|
|
194
|
+
clearSignatureButton: Element | null | undefined;
|
|
195
|
+
uploadSignatureButton: Element | null | undefined;
|
|
196
|
+
publishSignatureButton: Element | null | undefined;
|
|
197
|
+
disconnectedCallback(): void;
|
|
198
|
+
resizeCanvas(): void;
|
|
199
|
+
publishSignature(): void;
|
|
200
|
+
resetErrorMessage(): void;
|
|
201
|
+
handleError(error: any): void;
|
|
202
|
+
clearSignature(): void;
|
|
203
|
+
previewUpload(fileData: any): void;
|
|
204
|
+
uploadSignature(event: any): Promise<void>;
|
|
205
|
+
get allowUpload(): boolean;
|
|
206
|
+
get themeColor(): string;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
export declare class SmartCameraWeb extends HTMLElement {
|
|
210
|
+
static get observedAttributes(): string[];
|
|
211
|
+
scwTemplateString: typeof scwTemplateString;
|
|
212
|
+
render: () => string;
|
|
213
|
+
activeScreen: any;
|
|
214
|
+
connectedCallback(): void;
|
|
215
|
+
_data: {
|
|
216
|
+
images: never[];
|
|
217
|
+
meta: {
|
|
218
|
+
libraryVersion: string;
|
|
219
|
+
};
|
|
220
|
+
} | undefined;
|
|
221
|
+
disconnectedCallback(): void;
|
|
222
|
+
attributeChangedCallback(name: any): void;
|
|
223
|
+
setUpEventListeners(): void;
|
|
224
|
+
cameraPermission: Element | null | undefined;
|
|
225
|
+
SelfieCaptureScreens: Element | null | undefined;
|
|
226
|
+
documentCapture: Element | null | undefined;
|
|
227
|
+
reset(): void;
|
|
228
|
+
handleBackEvents(): void;
|
|
229
|
+
_publishSelectedImages(): void;
|
|
230
|
+
get captureId(): boolean;
|
|
231
|
+
get documentType(): string | null;
|
|
232
|
+
get isPortraitCaptureView(): boolean;
|
|
233
|
+
get hideInstructions(): "" | "hide-instructions";
|
|
234
|
+
get hideBackOfId(): "" | "hide-back-of-id";
|
|
235
|
+
get showNavigation(): "" | "show-navigation";
|
|
236
|
+
get hideBackToHost(): "" | "hide-back";
|
|
237
|
+
get allowAgentMode(): string;
|
|
238
|
+
get allowAgentModeTests(): "" | "show-agent-mode-for-tests";
|
|
239
|
+
get title(): string;
|
|
240
|
+
get documentCaptureModes(): string;
|
|
241
|
+
get disableImageTests(): "" | "disable-image-tests";
|
|
242
|
+
get hideAttribution(): "" | "hide-attribution";
|
|
243
|
+
get hasThemeColor(): boolean;
|
|
244
|
+
get themeColor(): string | null;
|
|
245
|
+
get applyComponentThemeColor(): string;
|
|
246
|
+
setActiveScreen(screen: any): void;
|
|
247
|
+
handleCloseEvent(): void;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
declare function templateString(): string;
|
|
251
|
+
|
|
252
|
+
export declare class TotpConsent extends HTMLElement {
|
|
253
|
+
static get observedAttributes(): string[];
|
|
254
|
+
templateString: typeof markup;
|
|
255
|
+
render: () => string;
|
|
256
|
+
modes: any[];
|
|
257
|
+
'otp-delivery-mode': string;
|
|
258
|
+
queryOtpModes(event: any): Promise<void>;
|
|
259
|
+
selectOtpMode(event: any): Promise<void>;
|
|
260
|
+
submitOtp(event: any): Promise<void>;
|
|
261
|
+
switchContactMethod(): void;
|
|
262
|
+
handleTotpConsentGrant(): void;
|
|
263
|
+
handleTotpConsentContactMethodsOutdated(): void;
|
|
264
|
+
pages: any[];
|
|
265
|
+
attributeChangedCallback(name: any): void;
|
|
266
|
+
setUpEventListeners(): void;
|
|
267
|
+
idEntryScreen: Element | null | undefined;
|
|
268
|
+
selectModeScreen: Element | null | undefined;
|
|
269
|
+
otpVerificationScreen: Element | null | undefined;
|
|
270
|
+
activeScreen: any;
|
|
271
|
+
queryOtpModesButton: Element | null | undefined;
|
|
272
|
+
backButton: Element | null | undefined;
|
|
273
|
+
selectOtpModeButton: Element | null | undefined;
|
|
274
|
+
entryBackbutton: Element | null | undefined;
|
|
275
|
+
contactMethodsOutdatedButton: Element | null | undefined;
|
|
276
|
+
submitOtpButton: Element | null | undefined;
|
|
277
|
+
switchContactMethodButton: Element | null | undefined;
|
|
278
|
+
idNumberInput: Element | null | undefined;
|
|
279
|
+
modeInputs: NodeListOf<Element> | undefined;
|
|
280
|
+
otpInput: Element | null | undefined;
|
|
281
|
+
closeWindow(): void;
|
|
282
|
+
handleBackClick(): void;
|
|
283
|
+
connectedCallback(): void;
|
|
284
|
+
resetForm(): void;
|
|
285
|
+
handleIdNumberValidationErrors(errors: any): void;
|
|
286
|
+
handleActiveScreenErrors(error: any): void;
|
|
287
|
+
validateIdNumber(idNumber: any): any;
|
|
288
|
+
sessionId: any;
|
|
289
|
+
mode: any;
|
|
290
|
+
selectedOtpDeliveryMode: any;
|
|
291
|
+
otp: any;
|
|
292
|
+
toggleLoading(): void;
|
|
293
|
+
setActiveScreen(screen: any): void;
|
|
294
|
+
get baseUrl(): string | null;
|
|
295
|
+
get country(): string | null;
|
|
296
|
+
get idHint(): string;
|
|
297
|
+
get idNumber(): string | null;
|
|
298
|
+
get idRegex(): string | null;
|
|
299
|
+
get idType(): string | null;
|
|
300
|
+
get idTypeLabel(): string | null;
|
|
301
|
+
get partnerId(): string | null;
|
|
302
|
+
get partnerName(): string | null;
|
|
303
|
+
get token(): string | null;
|
|
304
|
+
get themeColor(): string;
|
|
305
|
+
get hideBack(): boolean;
|
|
306
|
+
get showNavigation(): boolean;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export declare const Trigger: typeof ComboboxTrigger;
|
|
310
|
+
|
|
311
|
+
export { }
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
declare module 'signature_pad' {
|
|
316
|
+
export default class SignaturePad {
|
|
317
|
+
constructor(canvas: HTMLCanvasElement, options?: any);
|
|
318
|
+
|
|
319
|
+
clear(): void;
|
|
320
|
+
|
|
321
|
+
toDataURL(type?: string): string;
|
|
322
|
+
|
|
323
|
+
fromDataURL(dataURL: string): void;
|
|
324
|
+
|
|
325
|
+
isEmpty(): boolean;
|
|
326
|
+
|
|
327
|
+
on(event: string, callback: Function): void;
|
|
328
|
+
|
|
329
|
+
off(event: string, callback: Function): void;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export { }
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
declare module 'signature_pad' {
|
|
6
|
+
export default class SignaturePad {
|
|
7
|
+
constructor(canvas: HTMLCanvasElement, options?: any);
|
|
8
|
+
|
|
9
|
+
clear(): void;
|
|
10
|
+
|
|
11
|
+
toDataURL(type?: string): string;
|
|
12
|
+
|
|
13
|
+
fromDataURL(dataURL: string): void;
|
|
14
|
+
|
|
15
|
+
isEmpty(): boolean;
|
|
16
|
+
|
|
17
|
+
on(event: string, callback: Function): void;
|
|
18
|
+
|
|
19
|
+
off(event: string, callback: Function): void;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export { }
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
declare module 'signature_pad' {
|
|
6
|
+
export default class SignaturePad {
|
|
7
|
+
constructor(canvas: HTMLCanvasElement, options?: any);
|
|
8
|
+
|
|
9
|
+
clear(): void;
|
|
10
|
+
|
|
11
|
+
toDataURL(type?: string): string;
|
|
12
|
+
|
|
13
|
+
fromDataURL(dataURL: string): void;
|
|
14
|
+
|
|
15
|
+
isEmpty(): boolean;
|
|
16
|
+
|
|
17
|
+
on(event: string, callback: Function): void;
|
|
18
|
+
|
|
19
|
+
off(event: string, callback: Function): void;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export { }
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
declare module 'signature_pad' {
|
|
6
|
+
export default class SignaturePad {
|
|
7
|
+
constructor(canvas: HTMLCanvasElement, options?: any);
|
|
8
|
+
|
|
9
|
+
clear(): void;
|
|
10
|
+
|
|
11
|
+
toDataURL(type?: string): string;
|
|
12
|
+
|
|
13
|
+
fromDataURL(dataURL: string): void;
|
|
14
|
+
|
|
15
|
+
isEmpty(): boolean;
|
|
16
|
+
|
|
17
|
+
on(event: string, callback: Function): void;
|
|
18
|
+
|
|
19
|
+
off(event: string, callback: Function): void;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export { }
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
declare module 'signature_pad' {
|
|
6
|
+
export default class SignaturePad {
|
|
7
|
+
constructor(canvas: HTMLCanvasElement, options?: any);
|
|
8
|
+
|
|
9
|
+
clear(): void;
|
|
10
|
+
|
|
11
|
+
toDataURL(type?: string): string;
|
|
12
|
+
|
|
13
|
+
fromDataURL(dataURL: string): void;
|
|
14
|
+
|
|
15
|
+
isEmpty(): boolean;
|
|
16
|
+
|
|
17
|
+
on(event: string, callback: Function): void;
|
|
18
|
+
|
|
19
|
+
off(event: string, callback: Function): void;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export { }
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
declare module 'signature_pad' {
|
|
6
|
+
export default class SignaturePad {
|
|
7
|
+
constructor(canvas: HTMLCanvasElement, options?: any);
|
|
8
|
+
|
|
9
|
+
clear(): void;
|
|
10
|
+
|
|
11
|
+
toDataURL(type?: string): string;
|
|
12
|
+
|
|
13
|
+
fromDataURL(dataURL: string): void;
|
|
14
|
+
|
|
15
|
+
isEmpty(): boolean;
|
|
16
|
+
|
|
17
|
+
on(event: string, callback: Function): void;
|
|
18
|
+
|
|
19
|
+
off(event: string, callback: Function): void;
|
|
20
|
+
}
|
|
21
|
+
}
|