@incodetech/core 0.0.0-dev-20261201-e37652f8 → 0.0.0-dev-20261201-bcf41e7a
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/{FaceDetectionProvider-DQYbHLxC.esm.js → FaceDetectionProvider-C5dOOMt6.esm.js} +4 -4
- package/dist/{addressSearch-gginelz3.esm.js → addressSearch-Bw456gzP.esm.js} +2 -2
- package/dist/ae-signature.esm.js +1 -1
- package/dist/{apiError-BRiJu_rv.esm.js → apiError-CJO7D9eZ.esm.js} +1 -1
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-CrBlRkAd.esm.js → authenticationManager-aN4L7zuz.esm.js} +3 -3
- package/dist/{authenticationStateMachine-DLwEyCeH.esm.js → authenticationStateMachine-CrqkFPRT.esm.js} +3 -3
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-Bow34QP_.d.ts → consentManager-9ThuTAcx.d.ts} +13 -13
- package/dist/{deepsightCaptureConfig-BVJANeRn.esm.js → deepsightCaptureConfig-C66ahpbd.esm.js} +2 -2
- package/dist/{deepsightLoader-C6nKqY9Q.esm.js → deepsightLoader-C79inICH.esm.js} +4 -4
- package/dist/{desktopCameraElection-BAq-Kaiq.esm.js → desktopCameraElection-U5cGf_FU.esm.js} +4 -4
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-signature.esm.js +1 -1
- package/dist/{documentCaptureManager-DOgJTJ4F.d.ts → documentCaptureManager-sJWgqtUy.d.ts} +4 -4
- package/dist/{documentSignatureStateMachine-Btlg3q7j.esm.js → documentSignatureStateMachine-DqqwvvDm.esm.js} +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-SbEUnFoF.esm.js → dynamicFormsManager-DK7vxpMH.esm.js} +1 -1
- package/dist/{dynamicFormsStateMachine-Dxv36mAP.esm.js → dynamicFormsStateMachine-DLF8DYpl.esm.js} +1 -1
- package/dist/ekyb.esm.js +2 -2
- package/dist/{ekybManager-xhoOX9O9.esm.js → ekybManager-DP1MEUQ_.esm.js} +1 -1
- package/dist/{ekybStateMachine-CCjUH0j3.esm.js → ekybStateMachine-DYUl09cC.esm.js} +371 -1113
- package/dist/ekyc-prefill.esm.js +2 -2
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-DrGuK0kT.esm.js → ekycManager-Y9JjrHvd.esm.js} +1 -1
- package/dist/{ekycPrefillManager-C9kdwCC6.esm.js → ekycPrefillManager-CZldcVY5.esm.js} +2 -2
- package/dist/{ekycPrefillStateMachine-DiQifkkd.esm.js → ekycPrefillStateMachine-B8T-GZIi.esm.js} +122 -140
- package/dist/ekycStateMachine-3FCrYuNv.esm.js +5072 -0
- package/dist/electronic-signature.esm.js +1 -1
- package/dist/{electronicSignatureManager-C6liTNbu.esm.js → electronicSignatureManager-DnpxTBha.esm.js} +1 -1
- package/dist/extensibility.d.ts +5 -5
- package/dist/extensibility.esm.js +13 -13
- package/dist/{faceCaptureManagerFactory-OL8BWaIW.esm.js → faceCaptureManagerFactory-B15Ry9Bj.esm.js} +2 -2
- package/dist/{faceCaptureSetup-DQVtmb1q.esm.js → faceCaptureSetup-B944AKd-.esm.js} +7 -7
- package/dist/{feature-management-D_T-MG_i.esm.js → feature-management-BQSa2eVc.esm.js} +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/flow.esm.js +3 -3
- package/dist/{flowCompletionService-L0J63ui-.esm.js → flowCompletionService-D2aikrG9.esm.js} +1 -1
- package/dist/{flowServices-3OXrEqDE.esm.js → flowServices-E3lKW8An.esm.js} +4 -4
- package/dist/{formErrors-kpskZLNT.esm.js → formErrors-BVC6OSFV.esm.js} +1 -1
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CREfQNgO.esm.js → geolocationManager-AasT8XSO.esm.js} +1 -1
- package/dist/{geolocationManager-Del2ddmt.d.ts → geolocationManager-CENrvxpK.d.ts} +1 -1
- package/dist/{geolocationStateMachine-D9_bBr19.esm.js → geolocationStateMachine-BhtSd3lc.esm.js} +1 -1
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-selfie-flow.esm.js +6 -6
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-B5ZN7scK.esm.js → idCaptureManager-DHmvbvgU.esm.js} +4 -4
- package/dist/{idCaptureServices-7zZ457LW.esm.js → idCaptureServices-DBtFQvpt.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-FP4j-qeT.esm.js → idCaptureStateMachine-BoTNUq6T.esm.js} +11 -11
- package/dist/{idOcrManager-C0C7lFGd.d.ts → idOcrManager-DflRx-_u.d.ts} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/kyb-checks.esm.js +2 -2
- package/dist/{kybChecksManager-tUsFKBCN.esm.js → kybChecksManager-BN5CnCkm.esm.js} +1 -1
- package/dist/{kybChecksStateMachine-D1q4K7Xr.esm.js → kybChecksStateMachine-CMVaVAsg.esm.js} +3 -3
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-De9ZX6o4.d.ts → mandatoryConsentManager-C5o1gUTc.d.ts} +7 -7
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-OcyZO_w6.esm.js → recordingService-Dy27FR2M.esm.js} +1 -1
- package/dist/{runChildModule-BuZFd3Df.esm.js → runChildModule-DSSE84df.esm.js} +1 -1
- package/dist/{sdkVersion-BY8g-EEL.esm.js → sdkVersion-BSGdHq76.esm.js} +1 -1
- package/dist/selfie.esm.js +7 -7
- package/dist/{selfieErrorUtils-DIVWh0ih.esm.js → selfieErrorUtils-Bh1ocgV4.esm.js} +1 -1
- package/dist/{selfieManager-DQ5xB8y6.esm.js → selfieManager-C9ZJq0Z3.esm.js} +3 -3
- package/dist/{selfieStateMachine-fyNh2r31.esm.js → selfieStateMachine-xLHsQPLy.esm.js} +3 -3
- package/dist/{session-DKnCv6zu.esm.js → session-Bty0Uulw.esm.js} +4 -4
- package/dist/session.esm.js +4 -4
- package/dist/{sessionInitializer-q5b8Qwr3.esm.js → sessionInitializer-CvOQVUFs.esm.js} +4 -4
- package/dist/{setup-JGwc0kgu.esm.js → setup-BIu7oJOZ.esm.js} +5 -5
- package/dist/{trim-OmrUb6mG.esm.js → trim-JimszAvC.esm.js} +7 -1
- package/dist/trueSight-BOq-NOAC.esm.js +1 -0
- package/dist/{trueSightService-Dx8AqgKD.esm.js → trueSightService-B9lkK1VF.esm.js} +1 -1
- package/dist/{uppercase-CwlIuiwR.esm.js → uppercase-BShuo-xK.esm.js} +24 -2
- package/dist/video-selfie.esm.js +3 -3
- package/dist/{videoSelfieCameraWarmer-AoMytGBD.esm.js → videoSelfieCameraWarmer-Dg-NDqO8.esm.js} +23 -8
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.d.ts +4 -4
- package/dist/workflow.esm.js +18 -18
- package/package.json +2 -2
- package/dist/ekycStateMachine-BmMdLe2G.esm.js +0 -9328
- package/dist/trueSight-9VsfHXFt.esm.js +0 -1
package/dist/ekyc-prefill.esm.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { r as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
2
|
-
import { t as createEkycPrefillManager } from "./ekycPrefillManager-
|
|
1
|
+
import { r as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-B8T-GZIi.esm.js";
|
|
2
|
+
import { t as createEkycPrefillManager } from "./ekycPrefillManager-CZldcVY5.esm.js";
|
|
3
3
|
export { createEkycPrefillManager, ekycPrefillMachine, toEkycPrefillConfig };
|
package/dist/ekyc.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { d as toEkycConfig } from "./ekycUtils-DfBNTcvX.esm.js";
|
|
2
|
-
import { t as ekycMachine } from "./ekycStateMachine-
|
|
3
|
-
import { t as createEkycManager } from "./ekycManager-
|
|
2
|
+
import { t as ekycMachine } from "./ekycStateMachine-3FCrYuNv.esm.js";
|
|
3
|
+
import { t as createEkycManager } from "./ekycManager-Y9JjrHvd.esm.js";
|
|
4
4
|
export { createEkycManager, ekycMachine, toEkycConfig };
|
|
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-Dlkhhx5O.esm.js";
|
|
|
3
3
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
4
4
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
5
5
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
|
-
import { i as isStepValid, n as buildEkycSteps, r as clampStepIndex, t as ekycMachine } from "./ekycStateMachine-
|
|
6
|
+
import { i as isStepValid, n as buildEkycSteps, r as clampStepIndex, t as ekycMachine } from "./ekycStateMachine-3FCrYuNv.esm.js";
|
|
7
7
|
//#region src/modules/ekyc/ekycActor.ts
|
|
8
8
|
/**
|
|
9
9
|
* Creates and starts an eKYC actor.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
|
|
2
2
|
import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
3
|
-
import { n as ekycPrefillFormCheck, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-
|
|
4
|
-
import { s as validateAllValues } from "./formErrors-
|
|
3
|
+
import { n as ekycPrefillFormCheck, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-B8T-GZIi.esm.js";
|
|
4
|
+
import { s as validateAllValues } from "./formErrors-BVC6OSFV.esm.js";
|
|
5
5
|
//#region src/modules/ekyc-prefill/ekycPrefillActor.ts
|
|
6
6
|
/** Creates and starts an eKYC Pre-fill actor, idle until `LOAD`. */
|
|
7
7
|
function createEkycPrefillActor(options = {}) {
|
package/dist/{ekycPrefillStateMachine-DiQifkkd.esm.js → ekycPrefillStateMachine-B8T-GZIi.esm.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as getLocalIsoDate } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
|
|
2
2
|
import { t as api, u as endpoints } from "./api-CsXnB7m6.esm.js";
|
|
3
|
-
import { i as toIncodeApiError } from "./apiError-
|
|
3
|
+
import { i as toIncodeApiError } from "./apiError-CJO7D9eZ.esm.js";
|
|
4
4
|
import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
|
|
5
5
|
import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
|
|
6
6
|
import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
|
|
7
7
|
import { t as isValidCurp } from "./curp-DZGvefg3.esm.js";
|
|
8
8
|
import { a as hasNameCharacters, c as isEmailFormat, d as resolvePrefill, f as isValidRut, h as isValidEsDni, i as isNotFuture, l as digitCountError, m as isValidFiPersonalIdentityCode, n as hasScriptCharacters, o as isWithinMaxAge, p as isValidInDrivingLicenseNumber, r as isInNumericRange, s as isPoBox, t as SCRIPT_PATTERNS, u as hasDigitCount } from "./scriptCharacters-D7swUycV.esm.js";
|
|
9
|
+
import { a as digitGroups, c as expandDefinitions, i as e164NoPlus, n as stripSeparators, o as createBundledDefinitionSource, r as nationalNumber, s as matchesCharTemplate, t as uppercase } from "./uppercase-BShuo-xK.esm.js";
|
|
9
10
|
import { t as validateCNPJ } from "./cnpj-CVq3vL39.esm.js";
|
|
10
|
-
import { a as buildPayload, i as checkSupport, n as e164, r as resolveForm, t as trim } from "./trim-
|
|
11
|
-
import { a as
|
|
12
|
-
import { a as phoneDeps, c as validateFieldValue, d as supportedIds, i as allowedCharacters, l as withMessage, n as requiredError, o as setFieldValue, r as oneOfRequired, s as validateAllValues, t as STRUCTURE_MESSAGES, u as createFormRegistry } from "./formErrors-kpskZLNT.esm.js";
|
|
11
|
+
import { a as buildPayload, i as checkSupport, n as e164, r as resolveForm, t as trim } from "./trim-JimszAvC.esm.js";
|
|
12
|
+
import { a as phoneDeps, c as validateFieldValue, d as supportedIds, i as allowedCharacters, l as withMessage, n as requiredError, o as setFieldValue, r as oneOfRequired, s as validateAllValues, t as STRUCTURE_MESSAGES, u as createFormRegistry } from "./formErrors-BVC6OSFV.esm.js";
|
|
13
13
|
import { t as validateCPF } from "./cpf-DDXMTLYr.esm.js";
|
|
14
14
|
//#region src/internal/forms/formatValue.ts
|
|
15
15
|
/**
|
|
@@ -63,9 +63,114 @@ function toEkycPrefillConfig(raw) {
|
|
|
63
63
|
autoExecution: config.autoExecution === true
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
const EKYCPREFILL_DEFINITIONS = /* @__PURE__ */ expandDefinitions([
|
|
67
|
+
{
|
|
68
|
+
name: "taxIdNumber",
|
|
69
|
+
kind: "text",
|
|
70
|
+
group: "ssn",
|
|
71
|
+
required: true,
|
|
72
|
+
label: { key: "verification.labels.taxId" },
|
|
73
|
+
displayLabel: {
|
|
74
|
+
key: "verification.labels.cpf",
|
|
75
|
+
text: "CPF"
|
|
76
|
+
},
|
|
77
|
+
input: {
|
|
78
|
+
maxLength: 14,
|
|
79
|
+
keyboard: "numeric",
|
|
80
|
+
format: [{
|
|
81
|
+
id: "digitGroups",
|
|
82
|
+
params: {
|
|
83
|
+
groups: [
|
|
84
|
+
3,
|
|
85
|
+
3,
|
|
86
|
+
3,
|
|
87
|
+
2
|
|
88
|
+
],
|
|
89
|
+
separator: ".",
|
|
90
|
+
separators: [
|
|
91
|
+
".",
|
|
92
|
+
".",
|
|
93
|
+
"-"
|
|
94
|
+
]
|
|
95
|
+
}
|
|
96
|
+
}]
|
|
97
|
+
},
|
|
98
|
+
rules: [{ id: "cpf" }],
|
|
99
|
+
payload: { transforms: [{ id: "trim" }, {
|
|
100
|
+
id: "stripSeparators",
|
|
101
|
+
params: { chars: ".-" }
|
|
102
|
+
}] }
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
name: "phone",
|
|
106
|
+
kind: "phone",
|
|
107
|
+
group: "phone",
|
|
108
|
+
required: true,
|
|
109
|
+
label: { key: "verification.labels.phone" },
|
|
110
|
+
input: { autofill: "phone" },
|
|
111
|
+
phone: { lockCountry: true },
|
|
112
|
+
rules: [{ id: "phoneFormat" }],
|
|
113
|
+
payload: { transforms: [{ id: "e164" }] }
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
name: "dateOfBirth",
|
|
117
|
+
kind: "date",
|
|
118
|
+
group: "dateOfBirth",
|
|
119
|
+
label: { key: "verification.labels.dateOfBirth" },
|
|
120
|
+
input: { autofill: "birthday" },
|
|
121
|
+
rules: [{ id: "notFuture" }, {
|
|
122
|
+
id: "maxAge",
|
|
123
|
+
params: { years: 120 }
|
|
124
|
+
}],
|
|
125
|
+
payload: { transforms: [{ id: "trim" }] }
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
name: "ssn",
|
|
129
|
+
kind: "text",
|
|
130
|
+
group: "ssn",
|
|
131
|
+
widget: "masked",
|
|
132
|
+
label: { key: "verification.labels.ssn" },
|
|
133
|
+
input: {
|
|
134
|
+
maxLength: 11,
|
|
135
|
+
keyboard: "numeric",
|
|
136
|
+
format: [{
|
|
137
|
+
id: "digitGroups",
|
|
138
|
+
params: {
|
|
139
|
+
groups: [
|
|
140
|
+
3,
|
|
141
|
+
2,
|
|
142
|
+
4
|
|
143
|
+
],
|
|
144
|
+
separator: "-"
|
|
145
|
+
}
|
|
146
|
+
}]
|
|
147
|
+
},
|
|
148
|
+
rules: [{ id: "ssnFormat" }],
|
|
149
|
+
payload: { transforms: [{ id: "trim" }, {
|
|
150
|
+
id: "stripSeparators",
|
|
151
|
+
params: { chars: "-" }
|
|
152
|
+
}] }
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
name: "surName",
|
|
156
|
+
kind: "text",
|
|
157
|
+
group: "name",
|
|
158
|
+
label: { key: "verification.labels.lastName" },
|
|
159
|
+
placeholder: { key: "verification.placeholder.lastName" },
|
|
160
|
+
input: {
|
|
161
|
+
maxLength: 100,
|
|
162
|
+
autofill: "familyName"
|
|
163
|
+
},
|
|
164
|
+
rules: [{ id: "nameCharacters" }],
|
|
165
|
+
payload: { transforms: [{ id: "trim" }] }
|
|
166
|
+
}
|
|
167
|
+
], [{
|
|
168
|
+
static: { plugins: ["kyc-prefill"] },
|
|
169
|
+
context: {
|
|
170
|
+
countryCode: "country",
|
|
171
|
+
source: "source"
|
|
172
|
+
}
|
|
173
|
+
}], {
|
|
69
174
|
"ekycprefill/BR/BR_PREFILL": {
|
|
70
175
|
schemaVersion: 1,
|
|
71
176
|
vocabulary: "1.4",
|
|
@@ -73,50 +178,8 @@ const EKYCPREFILL_DEFINITIONS = {
|
|
|
73
178
|
module: "ekycprefill",
|
|
74
179
|
country: "BR",
|
|
75
180
|
source: "BR_PREFILL",
|
|
76
|
-
fields: [
|
|
77
|
-
|
|
78
|
-
kind: "text",
|
|
79
|
-
group: "ssn",
|
|
80
|
-
required: true,
|
|
81
|
-
label: { key: "verification.labels.taxId" },
|
|
82
|
-
displayLabel: {
|
|
83
|
-
key: "verification.labels.cpf",
|
|
84
|
-
text: "CPF"
|
|
85
|
-
},
|
|
86
|
-
input: {
|
|
87
|
-
maxLength: 14,
|
|
88
|
-
keyboard: "numeric",
|
|
89
|
-
format: [{
|
|
90
|
-
id: "digitGroups",
|
|
91
|
-
params: {
|
|
92
|
-
groups: [
|
|
93
|
-
3,
|
|
94
|
-
3,
|
|
95
|
-
3,
|
|
96
|
-
2
|
|
97
|
-
],
|
|
98
|
-
separator: ".",
|
|
99
|
-
separators: [
|
|
100
|
-
".",
|
|
101
|
-
".",
|
|
102
|
-
"-"
|
|
103
|
-
]
|
|
104
|
-
}
|
|
105
|
-
}]
|
|
106
|
-
},
|
|
107
|
-
rules: [{ id: "cpf" }],
|
|
108
|
-
payload: { transforms: [{ id: "trim" }, {
|
|
109
|
-
id: "stripSeparators",
|
|
110
|
-
params: { chars: ".-" }
|
|
111
|
-
}] }
|
|
112
|
-
}],
|
|
113
|
-
submit: {
|
|
114
|
-
static: { plugins: ["kyc-prefill"] },
|
|
115
|
-
context: {
|
|
116
|
-
countryCode: "country",
|
|
117
|
-
source: "source"
|
|
118
|
-
}
|
|
119
|
-
}
|
|
181
|
+
fields: [0],
|
|
182
|
+
submit: 0
|
|
120
183
|
},
|
|
121
184
|
"ekycprefill/US/US_PREFILL": {
|
|
122
185
|
schemaVersion: 1,
|
|
@@ -126,69 +189,10 @@ const EKYCPREFILL_DEFINITIONS = {
|
|
|
126
189
|
country: "US",
|
|
127
190
|
source: "US_PREFILL",
|
|
128
191
|
fields: [
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
required: true,
|
|
134
|
-
label: { key: "verification.labels.phone" },
|
|
135
|
-
input: { autofill: "phone" },
|
|
136
|
-
phone: { lockCountry: true },
|
|
137
|
-
rules: [{ id: "phoneFormat" }],
|
|
138
|
-
payload: { transforms: [{ id: "e164" }] }
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
name: "dateOfBirth",
|
|
142
|
-
kind: "date",
|
|
143
|
-
group: "dateOfBirth",
|
|
144
|
-
label: { key: "verification.labels.dateOfBirth" },
|
|
145
|
-
input: { autofill: "birthday" },
|
|
146
|
-
rules: [{ id: "notFuture" }, {
|
|
147
|
-
id: "maxAge",
|
|
148
|
-
params: { years: 120 }
|
|
149
|
-
}],
|
|
150
|
-
payload: { transforms: [{ id: "trim" }] }
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
name: "ssn",
|
|
154
|
-
kind: "text",
|
|
155
|
-
group: "ssn",
|
|
156
|
-
widget: "masked",
|
|
157
|
-
label: { key: "verification.labels.ssn" },
|
|
158
|
-
input: {
|
|
159
|
-
maxLength: 11,
|
|
160
|
-
keyboard: "numeric",
|
|
161
|
-
format: [{
|
|
162
|
-
id: "digitGroups",
|
|
163
|
-
params: {
|
|
164
|
-
groups: [
|
|
165
|
-
3,
|
|
166
|
-
2,
|
|
167
|
-
4
|
|
168
|
-
],
|
|
169
|
-
separator: "-"
|
|
170
|
-
}
|
|
171
|
-
}]
|
|
172
|
-
},
|
|
173
|
-
rules: [{ id: "ssnFormat" }],
|
|
174
|
-
payload: { transforms: [{ id: "trim" }, {
|
|
175
|
-
id: "stripSeparators",
|
|
176
|
-
params: { chars: "-" }
|
|
177
|
-
}] }
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
name: "surName",
|
|
181
|
-
kind: "text",
|
|
182
|
-
group: "name",
|
|
183
|
-
label: { key: "verification.labels.lastName" },
|
|
184
|
-
placeholder: { key: "verification.placeholder.lastName" },
|
|
185
|
-
input: {
|
|
186
|
-
maxLength: 100,
|
|
187
|
-
autofill: "familyName"
|
|
188
|
-
},
|
|
189
|
-
rules: [{ id: "nameCharacters" }],
|
|
190
|
-
payload: { transforms: [{ id: "trim" }] }
|
|
191
|
-
}
|
|
192
|
+
1,
|
|
193
|
+
2,
|
|
194
|
+
3,
|
|
195
|
+
4
|
|
192
196
|
],
|
|
193
197
|
groupRules: [{
|
|
194
198
|
id: "oneOfRequired",
|
|
@@ -202,13 +206,7 @@ const EKYCPREFILL_DEFINITIONS = {
|
|
|
202
206
|
text: "Provide at least one of {{fields}}"
|
|
203
207
|
}
|
|
204
208
|
}],
|
|
205
|
-
submit:
|
|
206
|
-
static: { plugins: ["kyc-prefill"] },
|
|
207
|
-
context: {
|
|
208
|
-
countryCode: "country",
|
|
209
|
-
source: "source"
|
|
210
|
-
}
|
|
211
|
-
}
|
|
209
|
+
submit: 0
|
|
212
210
|
},
|
|
213
211
|
"ekycprefill/US/US_PREFILL_EXPRESS": {
|
|
214
212
|
schemaVersion: 1,
|
|
@@ -217,26 +215,10 @@ const EKYCPREFILL_DEFINITIONS = {
|
|
|
217
215
|
module: "ekycprefill",
|
|
218
216
|
country: "US",
|
|
219
217
|
source: "US_PREFILL_EXPRESS",
|
|
220
|
-
fields: [
|
|
221
|
-
|
|
222
|
-
kind: "phone",
|
|
223
|
-
group: "phone",
|
|
224
|
-
required: true,
|
|
225
|
-
label: { key: "verification.labels.phone" },
|
|
226
|
-
input: { autofill: "phone" },
|
|
227
|
-
phone: { lockCountry: true },
|
|
228
|
-
rules: [{ id: "phoneFormat" }],
|
|
229
|
-
payload: { transforms: [{ id: "e164" }] }
|
|
230
|
-
}],
|
|
231
|
-
submit: {
|
|
232
|
-
static: { plugins: ["kyc-prefill"] },
|
|
233
|
-
context: {
|
|
234
|
-
countryCode: "country",
|
|
235
|
-
source: "source"
|
|
236
|
-
}
|
|
237
|
-
}
|
|
218
|
+
fields: [1],
|
|
219
|
+
submit: 0
|
|
238
220
|
}
|
|
239
|
-
};
|
|
221
|
+
});
|
|
240
222
|
//#endregion
|
|
241
223
|
//#region src/internal/forms/rules/charTemplate.ts
|
|
242
224
|
const isTemplate = (value) => typeof value === "string" && value !== "";
|