@incodetech/web 0.0.0-dev-20260728-13fa1fcf → 0.0.0-dev-20260729-9461bce1
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/certificate-issuance/certificate-issuance.es.js +1 -1
- package/dist/{connectionError-Bs---N1P.js → connectionError-DJ9joMSc.js} +1 -1
- package/dist/{customFields-DyqSOnx8.js → customFields-DWHlj3fI.js} +1 -1
- package/dist/{customWatchlist-CeQUQIin.js → customWatchlist-B1WtVx_C.js} +1 -1
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/{documentCapture-B30A3z3W.js → documentCapture-BnY5a6sE.js} +1 -1
- package/dist/documentCapture-RezFAvKe.js +2 -0
- package/dist/dynamic-forms/styles.css +11 -0
- package/dist/{dynamicForms-2gFh4jaC.js → dynamicForms-DacHmxMI.js} +24 -14
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/{ekybModule-BYcyU85_.js → ekybModule-BuJN0kRM.js} +1 -1
- package/dist/ekybModule-l4Ybh7Cb.js +2 -0
- package/dist/email/email.es.js +1 -1
- package/dist/{emailInput-Dyf7M-U5.js → emailInput-C7xTN_6s.js} +1 -1
- package/dist/{extensibility-BmjILNg3.js → extensibility-BApUHk3S.js} +1 -1
- package/dist/extensibility.es.js +2 -2
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/{fieldComparison-BJvzWI4S.js → fieldComparison-DNKTX27t.js} +1 -1
- package/dist/fieldComparison-yT4MOoSF.js +2 -0
- package/dist/fiscal-qr/fiscal-qr.es.js +1 -1
- package/dist/flow/flow.es.js +5 -3
- package/dist/flow/styles.css +11 -0
- package/dist/geolocation/geolocation.es.js +1 -1
- package/dist/government-validation/government-validation.es.js +1 -1
- package/dist/id/id.es.js +1 -1
- package/dist/{idOcr-BlDwTk7L.js → idOcr-CYgQjeIP.js} +1 -1
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +1 -1
- package/dist/signature/signature.es.js +1 -1
- package/dist/statusPage-gvob9oXs.js +36 -0
- package/dist/types/watchlist.d.ts +5 -2
- package/dist/{useModuleLoader-DpiLpHtl.js → useModuleLoader-CcbKux2n.js} +9 -9
- package/dist/watchlist/watchlist.es.js +10 -7
- package/dist/{watchlistForBusiness-4PiP8wVj.js → watchlistForBusiness-BgMXBwY1.js} +1 -1
- package/dist/workflow/workflow.es.js +1 -1
- package/package.json +2 -2
- package/dist/documentCapture-D_cCOFvp.js +0 -2
- package/dist/ekybModule-DeMf2PKq.js +0 -2
- package/dist/fieldComparison-D4EqjPov.js +0 -2
- package/dist/statusPage-CpTNjvgk.js +0 -31
|
@@ -4,7 +4,7 @@ import { g as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBo
|
|
|
4
4
|
import { t as Spacer } from "../spacer-xw40ekwM.js";
|
|
5
5
|
import { o as TypographyH5 } from "../spinner-BXQ7_eed.js";
|
|
6
6
|
import { r as Button } from "../incode-logo-BfEQiVwv.js";
|
|
7
|
-
import { _ as PasswordInputComposed } from "../extensibility-
|
|
7
|
+
import { _ as PasswordInputComposed } from "../extensibility-BApUHk3S.js";
|
|
8
8
|
import { t as SuccessIcon } from "../successIcon-Bj8Y9CuI.js";
|
|
9
9
|
import { t as AutoFocusTitle } from "../autoFocusTitle-iZIKJfYJ.js";
|
|
10
10
|
import { t as VerificationResult } from "../verificationResult-kFjl5_9K.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as useTranslation } from "./uiConfig-CXjf9USC.js";
|
|
2
2
|
import { v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
3
3
|
import { r as Button } from "./incode-logo-BfEQiVwv.js";
|
|
4
|
-
import { t as StatusPage } from "./statusPage-
|
|
4
|
+
import { t as StatusPage } from "./statusPage-gvob9oXs.js";
|
|
5
5
|
//#region src/shared/connectionError/NoNetworkIcon.tsx
|
|
6
6
|
var NoNetworkIcon = ({ size = 32 }) => /* @__PURE__ */ u("svg", {
|
|
7
7
|
width: size,
|
|
@@ -4,7 +4,7 @@ import { g as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBo
|
|
|
4
4
|
import { n as LoadingIcon, t as Spacer } from "./spacer-xw40ekwM.js";
|
|
5
5
|
import { r as Button } from "./incode-logo-BfEQiVwv.js";
|
|
6
6
|
import { t as SuccessIcon } from "./successIcon-Bj8Y9CuI.js";
|
|
7
|
-
import { t as StatusPage } from "./statusPage-
|
|
7
|
+
import { t as StatusPage } from "./statusPage-gvob9oXs.js";
|
|
8
8
|
import { t as InputComposed } from "./inputComposed-DyOp4913.js";
|
|
9
9
|
import { t as Checkbox } from "./checkbox-Bar2Q75h.js";
|
|
10
10
|
import { t as DateInputComposed } from "./dateInputComposed-_hgrTAHv.js";
|
|
@@ -3,7 +3,7 @@ import { _ as y, v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
|
3
3
|
import { g as useModuleTerminalCallbacks, r as withStandaloneModuleBootstrap, t as IncodeComponent, v as useManager } from "./incodeComponent-DbuDabZM.js";
|
|
4
4
|
import { n as LoadingIcon } from "./spacer-xw40ekwM.js";
|
|
5
5
|
import { t as SuccessIcon } from "./successIcon-Bj8Y9CuI.js";
|
|
6
|
-
import { t as StatusPage } from "./statusPage-
|
|
6
|
+
import { t as StatusPage } from "./statusPage-gvob9oXs.js";
|
|
7
7
|
import { t as registerIncodeModuleElement } from "./incodeModule-CWPPP3RX.js";
|
|
8
8
|
import { createCustomWatchlistManager } from "@incodetech/core/custom-watchlist";
|
|
9
9
|
//#region src/modules/custom-watchlist/customWatchlist.tsx
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as DocumentCapture } from "../documentCapture-
|
|
1
|
+
import { t as DocumentCapture } from "../documentCapture-BnY5a6sE.js";
|
|
2
2
|
export { DocumentCapture };
|
|
@@ -4,7 +4,7 @@ import { g as useModuleTerminalCallbacks, o as Page, p as useIsMobileDeviceWidth
|
|
|
4
4
|
import { s as Asset, t as Spacer, u as cn } from "./spacer-xw40ekwM.js";
|
|
5
5
|
import { t as Spinner } from "./spinner-BXQ7_eed.js";
|
|
6
6
|
import { r as Button } from "./incode-logo-BfEQiVwv.js";
|
|
7
|
-
import { d as CameraOverlay, l as CaptureFooter, u as CameraOverlayHeader, v as ProgressBar } from "./extensibility-
|
|
7
|
+
import { d as CameraOverlay, l as CaptureFooter, u as CameraOverlayHeader, v as ProgressBar } from "./extensibility-BApUHk3S.js";
|
|
8
8
|
import { a as FileIcon, g as CameraIcon, r as LockIcon } from "./icons-DDslhJwK.js";
|
|
9
9
|
import { t as SuccessIcon } from "./successIcon-Bj8Y9CuI.js";
|
|
10
10
|
import { t as Modal } from "./modal-DWVP-wFJ.js";
|
|
@@ -61,6 +61,17 @@
|
|
|
61
61
|
display: flex;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
+
.IncodeDynamicFormsPage .IncodeDynamicFormsField--prefilled .IncodeInputComposedLabel, .IncodeDynamicFormsPage .IncodeDynamicFormsField--prefilled .IncodeDropdownComposedLabel {
|
|
65
|
+
justify-content: space-between;
|
|
66
|
+
align-items: baseline;
|
|
67
|
+
width: 100%;
|
|
68
|
+
display: flex;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.IncodeDynamicFormsPage .IncodeDynamicFormsField--prefilled .IncodeInputComposedLabelHint, .IncodeDynamicFormsPage .IncodeDynamicFormsField--prefilled .IncodeDropdownComposedLabelHint {
|
|
72
|
+
color: var(--color-text-body-secondary, var(--text-body-500-secondary));
|
|
73
|
+
}
|
|
74
|
+
|
|
64
75
|
.IncodeDynamicFormsPage .IncodeDynamicFormsFooter {
|
|
65
76
|
width: 100%;
|
|
66
77
|
padding-top: var(--spacing-16, var(--spacing-16, 16px));
|
|
@@ -9,7 +9,7 @@ import { t as DropdownComposed } from "./dropdownComposed-Df6I0kfH.js";
|
|
|
9
9
|
import { t as DateInputComposed } from "./dateInputComposed-_hgrTAHv.js";
|
|
10
10
|
import { t as registerIncodeModuleElement } from "./incodeModule-CWPPP3RX.js";
|
|
11
11
|
import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-Dx0WS2cR.js";
|
|
12
|
-
import { t as EmailInput } from "./emailInput-
|
|
12
|
+
import { t as EmailInput } from "./emailInput-C7xTN_6s.js";
|
|
13
13
|
import { createDynamicFormsManager } from "@incodetech/core/dynamic-forms";
|
|
14
14
|
import { formatCPF, isValidCPF } from "@incodetech/core/id-ocr";
|
|
15
15
|
//#region src/modules/dynamic-forms/dynamicForms.tsx
|
|
@@ -24,13 +24,14 @@ function getAutocompleteToken(type) {
|
|
|
24
24
|
default: return;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var QuestionInput = ({ question, value, disabled = false, error, labelHint, onChange, onFormatValidityChange, onBlur }) => {
|
|
27
|
+
var QuestionInput = ({ question, value, disabled = false, error, labelHint, isPrefilled = false, onChange, onFormatValidityChange, onBlur }) => {
|
|
28
28
|
const { t } = useTranslation();
|
|
29
29
|
const effectiveType = getEffectiveType(question);
|
|
30
30
|
const id = `dynamic-form-${question.questionId}`;
|
|
31
31
|
const label = question.question;
|
|
32
32
|
const isRequired = !question.isOptional;
|
|
33
33
|
const autocomplete = getAutocompleteToken(effectiveType);
|
|
34
|
+
const fieldClass = isPrefilled ? "IncodeDynamicFormsField IncodeDynamicFormsField--prefilled" : "IncodeDynamicFormsField";
|
|
34
35
|
const isCountryField = effectiveType === "COUNTRY" || effectiveType === "NATIONALITY";
|
|
35
36
|
const countryOptions = T(() => isCountryField ? countries.map((c) => ({
|
|
36
37
|
value: c.code,
|
|
@@ -46,7 +47,7 @@ var QuestionInput = ({ question, value, disabled = false, error, labelHint, onCh
|
|
|
46
47
|
label: t("common.no")
|
|
47
48
|
}];
|
|
48
49
|
return /* @__PURE__ */ u("div", {
|
|
49
|
-
class:
|
|
50
|
+
class: fieldClass,
|
|
50
51
|
children: /* @__PURE__ */ u(DropdownComposed, {
|
|
51
52
|
id,
|
|
52
53
|
"data-testid": id,
|
|
@@ -64,7 +65,7 @@ var QuestionInput = ({ question, value, disabled = false, error, labelHint, onCh
|
|
|
64
65
|
});
|
|
65
66
|
}
|
|
66
67
|
if (effectiveType === "DATE") return /* @__PURE__ */ u("div", {
|
|
67
|
-
class:
|
|
68
|
+
class: fieldClass,
|
|
68
69
|
children: /* @__PURE__ */ u(DateInputComposed, {
|
|
69
70
|
id,
|
|
70
71
|
"data-testid": id,
|
|
@@ -82,7 +83,7 @@ var QuestionInput = ({ question, value, disabled = false, error, labelHint, onCh
|
|
|
82
83
|
})
|
|
83
84
|
});
|
|
84
85
|
if (effectiveType === "PHONE") return /* @__PURE__ */ u("div", {
|
|
85
|
-
class:
|
|
86
|
+
class: fieldClass,
|
|
86
87
|
onFocusOut: () => onBlur?.(question.questionId),
|
|
87
88
|
children: /* @__PURE__ */ u(PhoneInputComposed, {
|
|
88
89
|
id,
|
|
@@ -102,7 +103,7 @@ var QuestionInput = ({ question, value, disabled = false, error, labelHint, onCh
|
|
|
102
103
|
})
|
|
103
104
|
});
|
|
104
105
|
if (effectiveType === "COUNTRY" || effectiveType === "NATIONALITY") return /* @__PURE__ */ u("div", {
|
|
105
|
-
class:
|
|
106
|
+
class: fieldClass,
|
|
106
107
|
children: /* @__PURE__ */ u(DropdownComposed, {
|
|
107
108
|
id,
|
|
108
109
|
"data-testid": id,
|
|
@@ -124,7 +125,7 @@ var QuestionInput = ({ question, value, disabled = false, error, labelHint, onCh
|
|
|
124
125
|
label: o
|
|
125
126
|
}));
|
|
126
127
|
return /* @__PURE__ */ u("div", {
|
|
127
|
-
class:
|
|
128
|
+
class: fieldClass,
|
|
128
129
|
children: /* @__PURE__ */ u(DropdownComposed, {
|
|
129
130
|
id,
|
|
130
131
|
"data-testid": id,
|
|
@@ -142,7 +143,7 @@ var QuestionInput = ({ question, value, disabled = false, error, labelHint, onCh
|
|
|
142
143
|
});
|
|
143
144
|
}
|
|
144
145
|
if (effectiveType === "EMAIL") return /* @__PURE__ */ u("div", {
|
|
145
|
-
class:
|
|
146
|
+
class: fieldClass,
|
|
146
147
|
children: /* @__PURE__ */ u(EmailInput, {
|
|
147
148
|
id,
|
|
148
149
|
"data-testid": id,
|
|
@@ -160,7 +161,7 @@ var QuestionInput = ({ question, value, disabled = false, error, labelHint, onCh
|
|
|
160
161
|
})
|
|
161
162
|
});
|
|
162
163
|
if (effectiveType === "CPF") return /* @__PURE__ */ u("div", {
|
|
163
|
-
class:
|
|
164
|
+
class: fieldClass,
|
|
164
165
|
children: /* @__PURE__ */ u(InputComposed, {
|
|
165
166
|
id,
|
|
166
167
|
"data-testid": id,
|
|
@@ -184,7 +185,7 @@ var QuestionInput = ({ question, value, disabled = false, error, labelHint, onCh
|
|
|
184
185
|
})
|
|
185
186
|
});
|
|
186
187
|
if (effectiveType === "NUMBER") return /* @__PURE__ */ u("div", {
|
|
187
|
-
class:
|
|
188
|
+
class: fieldClass,
|
|
188
189
|
children: /* @__PURE__ */ u(InputComposed, {
|
|
189
190
|
id,
|
|
190
191
|
"data-testid": id,
|
|
@@ -206,7 +207,7 @@ var QuestionInput = ({ question, value, disabled = false, error, labelHint, onCh
|
|
|
206
207
|
})
|
|
207
208
|
});
|
|
208
209
|
return /* @__PURE__ */ u("div", {
|
|
209
|
-
class:
|
|
210
|
+
class: fieldClass,
|
|
210
211
|
children: /* @__PURE__ */ u(InputComposed, {
|
|
211
212
|
id,
|
|
212
213
|
"data-testid": id,
|
|
@@ -225,11 +226,13 @@ var QuestionInput = ({ question, value, disabled = false, error, labelHint, onCh
|
|
|
225
226
|
})
|
|
226
227
|
});
|
|
227
228
|
};
|
|
228
|
-
var ScreenForm = ({ screen, answers, validationErrors, canSubmit, isSubmitting = false, onAnswerChange, onAnswerValidityChange, onValidateField, onSubmit }) => {
|
|
229
|
+
var ScreenForm = ({ screen, answers, validationErrors, canSubmit, isSubmitting = false, prefilledQuestionIds, nonEditableQuestionIds, onAnswerChange, onAnswerValidityChange, onValidateField, onSubmit }) => {
|
|
229
230
|
const { t } = useTranslation();
|
|
230
231
|
const title = screen.hideTitle ? void 0 : screen.title || t("dynamicForms.title");
|
|
231
232
|
const titleId = g();
|
|
232
233
|
const hintMode = T(() => getRequiredHintMode(screen.questions.map((q) => !q.isOptional)), [screen]);
|
|
234
|
+
const prefilledSet = T(() => new Set(prefilledQuestionIds), [prefilledQuestionIds]);
|
|
235
|
+
const nonEditableSet = T(() => new Set(nonEditableQuestionIds), [nonEditableQuestionIds]);
|
|
233
236
|
return /* @__PURE__ */ u(Page, {
|
|
234
237
|
className: "IncodeDynamicFormsPage",
|
|
235
238
|
title,
|
|
@@ -246,14 +249,19 @@ var ScreenForm = ({ screen, answers, validationErrors, canSubmit, isSubmitting =
|
|
|
246
249
|
class: "IncodeDynamicFormsFields",
|
|
247
250
|
children: screen.questions.map((question) => {
|
|
248
251
|
const errorKey = validationErrors?.[question.questionId];
|
|
252
|
+
const isPrefilled = prefilledSet.has(question.questionId);
|
|
253
|
+
const isReadOnly = nonEditableSet.has(question.questionId);
|
|
249
254
|
const hint = getFieldHint(hintMode, !question.isOptional);
|
|
250
|
-
|
|
255
|
+
let labelHint;
|
|
256
|
+
if (isPrefilled) labelHint = t("forms.prefill.fromId") ?? void 0;
|
|
257
|
+
else if (hint) labelHint = t(`forms.label.${hint}`) ?? void 0;
|
|
251
258
|
return /* @__PURE__ */ u(QuestionInput, {
|
|
252
259
|
question,
|
|
253
260
|
value: answers[question.questionId] ?? "",
|
|
254
|
-
disabled: isSubmitting,
|
|
261
|
+
disabled: isSubmitting || isReadOnly,
|
|
255
262
|
error: errorKey ? t(errorKey) : void 0,
|
|
256
263
|
labelHint,
|
|
264
|
+
isPrefilled,
|
|
257
265
|
onChange: onAnswerChange,
|
|
258
266
|
onFormatValidityChange: onAnswerValidityChange,
|
|
259
267
|
onBlur: onValidateField
|
|
@@ -300,6 +308,8 @@ var DynamicFormsContent = ({ config, manager: externalManager, onFinish }) => {
|
|
|
300
308
|
validationErrors: state.validationErrors,
|
|
301
309
|
canSubmit,
|
|
302
310
|
isSubmitting,
|
|
311
|
+
prefilledQuestionIds: state.prefilledQuestionIds,
|
|
312
|
+
nonEditableQuestionIds: state.nonEditableQuestionIds,
|
|
303
313
|
onAnswerChange: (questionId, value) => manager.setAnswer(questionId, value),
|
|
304
314
|
onAnswerValidityChange: (questionId, isValid) => manager.setAnswerValidity(questionId, isValid),
|
|
305
315
|
onValidateField: (questionId) => manager.validateField(questionId),
|
package/dist/ekyb/ekyb.es.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as EkybModule } from "../ekybModule-
|
|
1
|
+
import { t as EkybModule } from "../ekybModule-BuJN0kRM.js";
|
|
2
2
|
export { EkybModule };
|
|
@@ -4,7 +4,7 @@ import { g as useModuleTerminalCallbacks, m as useFormScrollable, o as Page, r a
|
|
|
4
4
|
import { t as Spacer } from "./spacer-xw40ekwM.js";
|
|
5
5
|
import { t as Spinner } from "./spinner-BXQ7_eed.js";
|
|
6
6
|
import { r as Button } from "./incode-logo-BfEQiVwv.js";
|
|
7
|
-
import "./extensibility-
|
|
7
|
+
import "./extensibility-BApUHk3S.js";
|
|
8
8
|
import { t as VerificationResult } from "./verificationResult-kFjl5_9K.js";
|
|
9
9
|
import { t as InputComposed } from "./inputComposed-DyOp4913.js";
|
|
10
10
|
import { i as translateError, r as FormField } from "./radioGroupComposed-Dhukt-7o.js";
|
package/dist/email/email.es.js
CHANGED
|
@@ -5,7 +5,7 @@ import { t as Spacer } from "../spacer-xw40ekwM.js";
|
|
|
5
5
|
import { r as Button } from "../incode-logo-BfEQiVwv.js";
|
|
6
6
|
import { t as OtpInput } from "../otpInput-BwCTe5DW.js";
|
|
7
7
|
import { t as registerIncodeModuleElement } from "../incodeModule-CWPPP3RX.js";
|
|
8
|
-
import { t as EmailInput } from "../emailInput-
|
|
8
|
+
import { t as EmailInput } from "../emailInput-C7xTN_6s.js";
|
|
9
9
|
import { createEmailManager } from "@incodetech/core/email";
|
|
10
10
|
//#region src/modules/email/email.tsx
|
|
11
11
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as useTranslation } from "./uiConfig-CXjf9USC.js";
|
|
2
2
|
import { v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
3
|
-
import "./extensibility-
|
|
3
|
+
import "./extensibility-BApUHk3S.js";
|
|
4
4
|
import { t as InputComposed } from "./inputComposed-DyOp4913.js";
|
|
5
5
|
//#region src/modules/email/emailInput.tsx
|
|
6
6
|
var EMAIL_REGEX = /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;
|
|
@@ -10,7 +10,7 @@ import { t as SuccessIcon } from "./successIcon-Bj8Y9CuI.js";
|
|
|
10
10
|
import { t as Modal } from "./modal-DWVP-wFJ.js";
|
|
11
11
|
import { r as BaseTutorial } from "./tutorial-CmnpJOSN.js";
|
|
12
12
|
import "./verificationResult-kFjl5_9K.js";
|
|
13
|
-
import "./connectionError-
|
|
13
|
+
import "./connectionError-DJ9joMSc.js";
|
|
14
14
|
import { t as InputComposed } from "./inputComposed-DyOp4913.js";
|
|
15
15
|
import "./inputComposed-CWWfge4m.js";
|
|
16
16
|
import "./otpInput-BwCTe5DW.js";
|
package/dist/extensibility.es.js
CHANGED
|
@@ -3,14 +3,14 @@ import { _ as useScreenOrientation, n as LandscapeBlocker, o as Page, t as Incod
|
|
|
3
3
|
import { o as Lottie, t as Spacer } from "./spacer-xw40ekwM.js";
|
|
4
4
|
import { a as TypographyH4, i as TypographyH3, n as Title, o as TypographyH5, r as TypographyH1, s as TypographyP, t as Spinner } from "./spinner-BXQ7_eed.js";
|
|
5
5
|
import { n as ErrorIcon, r as Button } from "./incode-logo-BfEQiVwv.js";
|
|
6
|
-
import { _ as PasswordInputComposed, c as ManualCapture, d as CameraOverlay, f as VerificationOptionCard, g as SegmentedDateInput, h as TextArea, i as Capture, l as CaptureFooter, m as TextAreaComposed, n as Chooser, o as IdExpired, p as VerificationOptionCardList, r as Tutorial, s as IdError, t as FlipAnimation, u as CameraOverlayHeader, v as ProgressBar, y as Overlay } from "./extensibility-
|
|
6
|
+
import { _ as PasswordInputComposed, c as ManualCapture, d as CameraOverlay, f as VerificationOptionCard, g as SegmentedDateInput, h as TextArea, i as Capture, l as CaptureFooter, m as TextAreaComposed, n as Chooser, o as IdExpired, p as VerificationOptionCardList, r as Tutorial, s as IdError, t as FlipAnimation, u as CameraOverlayHeader, v as ProgressBar, y as Overlay } from "./extensibility-BApUHk3S.js";
|
|
7
7
|
import { t as Processing } from "./processing-cWTcAmb0.js";
|
|
8
8
|
import { _ as CalendarIcon, a as FileIcon, c as EllipseIcon, d as ChevronLeftIcon, f as ChevronDown, g as CameraIcon, h as CaptureButtonIcon, i as HelpIcon, l as CloseIcon, m as CheckmarkIcon, n as SearchIcon, o as EyeOffIcon, p as CheckmarkCompactIcon, r as LockIcon, s as EyeIcon, t as SvgLightningIcon, u as ChevronRightIcon, v as WarningIcon } from "./icons-DDslhJwK.js";
|
|
9
9
|
import { t as SuccessIcon } from "./successIcon-Bj8Y9CuI.js";
|
|
10
10
|
import { t as Modal } from "./modal-DWVP-wFJ.js";
|
|
11
11
|
import { i as ErrorContent, n as Capture$1, r as BaseTutorial, t as Tutorial$1 } from "./tutorial-CmnpJOSN.js";
|
|
12
12
|
import { t as VerificationResult } from "./verificationResult-kFjl5_9K.js";
|
|
13
|
-
import { t as ConnectionError } from "./connectionError-
|
|
13
|
+
import { t as ConnectionError } from "./connectionError-DJ9joMSc.js";
|
|
14
14
|
import { n as Input, t as InputComposed } from "./inputComposed-DyOp4913.js";
|
|
15
15
|
import { t as OtpInput } from "./otpInput-BwCTe5DW.js";
|
|
16
16
|
import { t as Checkbox } from "./checkbox-Bar2Q75h.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as FieldComparison } from "../fieldComparison-
|
|
1
|
+
import { t as FieldComparison } from "../fieldComparison-DNKTX27t.js";
|
|
2
2
|
export { FieldComparison };
|
|
@@ -3,7 +3,7 @@ import { v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
|
3
3
|
import { g as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, v as useManager } from "./incodeComponent-DbuDabZM.js";
|
|
4
4
|
import { t as Spacer } from "./spacer-xw40ekwM.js";
|
|
5
5
|
import { r as Button } from "./incode-logo-BfEQiVwv.js";
|
|
6
|
-
import "./extensibility-
|
|
6
|
+
import "./extensibility-BApUHk3S.js";
|
|
7
7
|
import { t as VerificationResult } from "./verificationResult-kFjl5_9K.js";
|
|
8
8
|
import { t as InputComposed } from "./inputComposed-DyOp4913.js";
|
|
9
9
|
import { t as registerIncodeModuleElement } from "./incodeModule-CWPPP3RX.js";
|
|
@@ -3,7 +3,7 @@ import { v as u } from "../vendor-preact-mvwZ8mJj.js";
|
|
|
3
3
|
import { g as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, v as useManager } from "../incodeComponent-DbuDabZM.js";
|
|
4
4
|
import { t as Spacer } from "../spacer-xw40ekwM.js";
|
|
5
5
|
import { r as Button } from "../incode-logo-BfEQiVwv.js";
|
|
6
|
-
import { d as CameraOverlay, u as CameraOverlayHeader } from "../extensibility-
|
|
6
|
+
import { d as CameraOverlay, u as CameraOverlayHeader } from "../extensibility-BApUHk3S.js";
|
|
7
7
|
import { t as VerificationResult } from "../verificationResult-kFjl5_9K.js";
|
|
8
8
|
import { a as CameraFrame, i as CameraView } from "../captureNotification-BQY39v7i.js";
|
|
9
9
|
import { t as registerIncodeModuleElement } from "../incodeModule-CWPPP3RX.js";
|
package/dist/flow/flow.es.js
CHANGED
|
@@ -2,9 +2,9 @@ import { c as readStoredLanguage, i as useTranslation, t as setUiConfig } from "
|
|
|
2
2
|
import { _ as y, c as z, d as T, l as A, o as P, p as d, v as u } from "../vendor-preact-mvwZ8mJj.js";
|
|
3
3
|
import { a as TerminalErrorPage, i as ResolvedConfigProvider, l as TransitionSpinner, t as IncodeComponent, v as useManager } from "../incodeComponent-DbuDabZM.js";
|
|
4
4
|
import { n as ErrorIcon } from "../incode-logo-BfEQiVwv.js";
|
|
5
|
-
import { t as StatusPage } from "../statusPage-
|
|
5
|
+
import { t as StatusPage } from "../statusPage-gvob9oXs.js";
|
|
6
6
|
import { t as registerIncodeModuleElement } from "../incodeModule-CWPPP3RX.js";
|
|
7
|
-
import { _ as warmupWasmIfNeeded, a as resolveApiKey, c as HEADLESS_FLOW_MODULE_KEYS, d as fetchTheme, f as initializeFlowManager, h as preloadRedirectToMobile, l as LAZY_UI_MODULES, m as preloadHomeScreen, n as useModulePreloader, o as extractIncodeStatus, p as preloadFirstModule, r as usePrefetchNextModule, s as UnsupportedModule, t as useModuleLoader, u as createFlowManager, v as isDesktopOrEmulated } from "../useModuleLoader-
|
|
7
|
+
import { _ as warmupWasmIfNeeded, a as resolveApiKey, c as HEADLESS_FLOW_MODULE_KEYS, d as fetchTheme, f as initializeFlowManager, h as preloadRedirectToMobile, l as LAZY_UI_MODULES, m as preloadHomeScreen, n as useModulePreloader, o as extractIncodeStatus, p as preloadFirstModule, r as usePrefetchNextModule, s as UnsupportedModule, t as useModuleLoader, u as createFlowManager, v as isDesktopOrEmulated } from "../useModuleLoader-CcbKux2n.js";
|
|
8
8
|
import { getRequiredWasmPipelines } from "@incodetech/core/flow";
|
|
9
9
|
import { bootstrapSession, refreshQrUrlUuid } from "@incodetech/core/session";
|
|
10
10
|
//#region src/shared/processing/useDelayedFlag.ts
|
|
@@ -819,7 +819,9 @@ var IncodeFlowContent = ({ config, onFinish, onError }) => {
|
|
|
819
819
|
isOptional: q.isOptional,
|
|
820
820
|
overrides: q.overrides ?? void 0,
|
|
821
821
|
isPredefined: q.isPredefined,
|
|
822
|
-
options: q.options
|
|
822
|
+
options: q.options,
|
|
823
|
+
prefillSource: q.prefillSource,
|
|
824
|
+
editable: q.editable
|
|
823
825
|
}))
|
|
824
826
|
})),
|
|
825
827
|
prefillValue: config.loginHintPrefill
|
package/dist/flow/styles.css
CHANGED
|
@@ -8665,6 +8665,17 @@
|
|
|
8665
8665
|
display: flex;
|
|
8666
8666
|
}
|
|
8667
8667
|
|
|
8668
|
+
.IncodeDynamicFormsPage .IncodeDynamicFormsField--prefilled .IncodeInputComposedLabel, .IncodeDynamicFormsPage .IncodeDynamicFormsField--prefilled .IncodeDropdownComposedLabel {
|
|
8669
|
+
justify-content: space-between;
|
|
8670
|
+
align-items: baseline;
|
|
8671
|
+
width: 100%;
|
|
8672
|
+
display: flex;
|
|
8673
|
+
}
|
|
8674
|
+
|
|
8675
|
+
.IncodeDynamicFormsPage .IncodeDynamicFormsField--prefilled .IncodeInputComposedLabelHint, .IncodeDynamicFormsPage .IncodeDynamicFormsField--prefilled .IncodeDropdownComposedLabelHint {
|
|
8676
|
+
color: var(--color-text-body-secondary, var(--text-body-500-secondary));
|
|
8677
|
+
}
|
|
8678
|
+
|
|
8668
8679
|
.IncodeDynamicFormsPage .IncodeDynamicFormsFooter {
|
|
8669
8680
|
width: 100%;
|
|
8670
8681
|
padding-top: var(--spacing-16, var(--spacing-16, 16px));
|
|
@@ -4,7 +4,7 @@ import { g as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBo
|
|
|
4
4
|
import { t as Spacer } from "../spacer-xw40ekwM.js";
|
|
5
5
|
import { r as Button } from "../incode-logo-BfEQiVwv.js";
|
|
6
6
|
import { t as VerificationResult } from "../verificationResult-kFjl5_9K.js";
|
|
7
|
-
import { t as ConnectionError } from "../connectionError-
|
|
7
|
+
import { t as ConnectionError } from "../connectionError-DJ9joMSc.js";
|
|
8
8
|
import { t as NumberedStep } from "../numberedStep-DUs77Gy3.js";
|
|
9
9
|
import { t as registerIncodeModuleElement } from "../incodeModule-CWPPP3RX.js";
|
|
10
10
|
import { getBrowser, getDeviceClass } from "@incodetech/core/device";
|
|
@@ -2,7 +2,7 @@ import { i as useTranslation } from "../uiConfig-CXjf9USC.js";
|
|
|
2
2
|
import { S as k, v as u } from "../vendor-preact-mvwZ8mJj.js";
|
|
3
3
|
import { g as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, v as useManager } from "../incodeComponent-DbuDabZM.js";
|
|
4
4
|
import { t as Spacer } from "../spacer-xw40ekwM.js";
|
|
5
|
-
import "../extensibility-
|
|
5
|
+
import "../extensibility-BApUHk3S.js";
|
|
6
6
|
import { t as AutoFocusTitle } from "../autoFocusTitle-iZIKJfYJ.js";
|
|
7
7
|
import { t as VerificationResult } from "../verificationResult-kFjl5_9K.js";
|
|
8
8
|
import { t as OtpInput } from "../otpInput-BwCTe5DW.js";
|
package/dist/id/id.es.js
CHANGED
|
@@ -4,7 +4,7 @@ import { g as useModuleTerminalCallbacks, l as TransitionSpinner, o as Page, r a
|
|
|
4
4
|
import { i as preloadAnimations, r as AnimatedAsset, s as Asset, u as cn } from "../spacer-xw40ekwM.js";
|
|
5
5
|
import { t as Spinner } from "../spinner-BXQ7_eed.js";
|
|
6
6
|
import { n as ErrorIcon, r as Button } from "../incode-logo-BfEQiVwv.js";
|
|
7
|
-
import { a as IdNoAttempts, i as Capture, n as Chooser, o as IdExpired, r as Tutorial, s as IdError, t as FlipAnimation, v as ProgressBar } from "../extensibility-
|
|
7
|
+
import { a as IdNoAttempts, i as Capture, n as Chooser, o as IdExpired, r as Tutorial, s as IdError, t as FlipAnimation, v as ProgressBar } from "../extensibility-BApUHk3S.js";
|
|
8
8
|
import { t as Processing } from "../processing-cWTcAmb0.js";
|
|
9
9
|
import { u as ChevronRightIcon } from "../icons-DDslhJwK.js";
|
|
10
10
|
import { t as SuccessIcon } from "../successIcon-Bj8Y9CuI.js";
|
|
@@ -2,7 +2,7 @@ import { i as useTranslation } from "./uiConfig-CXjf9USC.js";
|
|
|
2
2
|
import { d as T, v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
3
3
|
import { g as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, v as useManager } from "./incodeComponent-DbuDabZM.js";
|
|
4
4
|
import { r as Button } from "./incode-logo-BfEQiVwv.js";
|
|
5
|
-
import "./extensibility-
|
|
5
|
+
import "./extensibility-BApUHk3S.js";
|
|
6
6
|
import { t as VerificationResult } from "./verificationResult-kFjl5_9K.js";
|
|
7
7
|
import { t as InputComposed } from "./inputComposed-DyOp4913.js";
|
|
8
8
|
import { t as RadioGroupComposed } from "./radioGroupComposed-Dhukt-7o.js";
|
|
@@ -4,7 +4,7 @@ import { S as k, _ as y, h as q, l as A, p as d, v as u } from "../vendor-preact
|
|
|
4
4
|
import { c as usePageUiConfig, g as useModuleTerminalCallbacks, l as TransitionSpinner, r as withStandaloneModuleBootstrap, s as VerifiedByIncodeLogo, t as IncodeComponent, v as useManager } from "../incodeComponent-DbuDabZM.js";
|
|
5
5
|
import { t as Spacer } from "../spacer-xw40ekwM.js";
|
|
6
6
|
import { n as ErrorIcon, r as Button, t as incode_logo_default } from "../incode-logo-BfEQiVwv.js";
|
|
7
|
-
import "../extensibility-
|
|
7
|
+
import "../extensibility-BApUHk3S.js";
|
|
8
8
|
import "../icons-DDslhJwK.js";
|
|
9
9
|
import { t as SuccessIcon } from "../successIcon-Bj8Y9CuI.js";
|
|
10
10
|
import { t as AutoFocusTitle } from "../autoFocusTitle-iZIKJfYJ.js";
|
|
@@ -3,7 +3,7 @@ import { _ as y, a as D, h as q, l as A, p as d, u as F, v as u } from "../vendo
|
|
|
3
3
|
import { g as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, v as useManager } from "../incodeComponent-DbuDabZM.js";
|
|
4
4
|
import { t as Spacer } from "../spacer-xw40ekwM.js";
|
|
5
5
|
import { r as Button } from "../incode-logo-BfEQiVwv.js";
|
|
6
|
-
import "../extensibility-
|
|
6
|
+
import "../extensibility-BApUHk3S.js";
|
|
7
7
|
import { t as VerificationResult } from "../verificationResult-kFjl5_9K.js";
|
|
8
8
|
import { t as registerIncodeModuleElement } from "../incodeModule-CWPPP3RX.js";
|
|
9
9
|
import { t as _defineProperty } from "../defineProperty-BbpBna-2.js";
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { m as g, v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
2
|
+
import { o as Page } from "./incodeComponent-DbuDabZM.js";
|
|
3
|
+
import { t as Spacer } from "./spacer-xw40ekwM.js";
|
|
4
|
+
import { t as AutoFocusTitle } from "./autoFocusTitle-iZIKJfYJ.js";
|
|
5
|
+
//#region src/shared/statusPage/statusPage.tsx
|
|
6
|
+
var StatusPage = ({ variant, icon, title, subtitle, hideFooterBranding, actions, isLive }) => {
|
|
7
|
+
const subtitleId = `${g()}-subtitle`;
|
|
8
|
+
return /* @__PURE__ */ u(Page, {
|
|
9
|
+
className: `IncodeStatusPage IncodeStatusPage--${variant}`,
|
|
10
|
+
hideFooterBranding,
|
|
11
|
+
children: [/* @__PURE__ */ u("div", {
|
|
12
|
+
class: "IncodeStatusPageContainer",
|
|
13
|
+
role: isLive ?? variant === "loading" ? "status" : void 0,
|
|
14
|
+
"aria-live": isLive ?? variant === "loading" ? "polite" : void 0,
|
|
15
|
+
children: [
|
|
16
|
+
icon,
|
|
17
|
+
/* @__PURE__ */ u(Spacer, { size: 16 }),
|
|
18
|
+
/* @__PURE__ */ u(AutoFocusTitle, {
|
|
19
|
+
className: "IncodeStatusPageTitle",
|
|
20
|
+
describedById: subtitle ? subtitleId : void 0,
|
|
21
|
+
children: title
|
|
22
|
+
}, variant),
|
|
23
|
+
subtitle && /* @__PURE__ */ u("p", {
|
|
24
|
+
id: subtitleId,
|
|
25
|
+
class: "IncodeStatusPageSubtitle",
|
|
26
|
+
children: subtitle
|
|
27
|
+
})
|
|
28
|
+
]
|
|
29
|
+
}), actions ? /* @__PURE__ */ u("div", {
|
|
30
|
+
class: "IncodeStatusPageActions",
|
|
31
|
+
children: actions
|
|
32
|
+
}) : null]
|
|
33
|
+
});
|
|
34
|
+
};
|
|
35
|
+
//#endregion
|
|
36
|
+
export { StatusPage as t };
|
|
@@ -3,6 +3,7 @@ import { FC } from 'preact/compat';
|
|
|
3
3
|
import { FunctionComponent } from 'preact';
|
|
4
4
|
import { SVGProps } from 'preact/compat';
|
|
5
5
|
import { WatchlistConfig } from '@incodetech/core/watchlist';
|
|
6
|
+
import { WatchlistManager } from '@incodetech/core/watchlist';
|
|
6
7
|
|
|
7
8
|
/**
|
|
8
9
|
* Allowlisted keys for overridable Lottie animations
|
|
@@ -137,12 +138,14 @@ export declare const Watchlist: FC<Omit<WatchlistProps, "config"> & {
|
|
|
137
138
|
config?: (Omit<unknown, never> & DeepPartial<Pick<unknown, never>>) | undefined;
|
|
138
139
|
}>;
|
|
139
140
|
|
|
140
|
-
declare type WatchlistProps = IncodeModuleProps<WatchlistConfig>;
|
|
141
|
+
declare type WatchlistProps = IncodeModuleProps<WatchlistConfig, void, WatchlistManager>;
|
|
141
142
|
|
|
142
143
|
export { }
|
|
143
144
|
|
|
144
145
|
declare global {
|
|
145
146
|
interface HTMLElementTagNameMap {
|
|
146
|
-
'incode-watchlist': HTMLElement & IncodeModuleProps<WatchlistConfig
|
|
147
|
+
'incode-watchlist': HTMLElement & IncodeModuleProps<WatchlistConfig,
|
|
148
|
+
void,
|
|
149
|
+
WatchlistManager>;
|
|
147
150
|
}
|
|
148
151
|
}
|
|
@@ -84,25 +84,25 @@ var LAZY_UI_MODULES = {
|
|
|
84
84
|
INE_VALIDATION: () => import("./government-validation/government-validation.es.js").then((m) => m.GovernmentValidation),
|
|
85
85
|
GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((m) => m.Geolocation),
|
|
86
86
|
EXTERNAL_VERIFICATION: () => import("./ekycModule-DBpLOI2s.js").then((m) => m.EkycModule),
|
|
87
|
-
EKYB: () => import("./ekybModule-
|
|
88
|
-
DOCUMENT_CAPTURE: () => import("./documentCapture-
|
|
89
|
-
ADDRESS: () => import("./documentCapture-
|
|
87
|
+
EKYB: () => import("./ekybModule-l4Ybh7Cb.js").then((m) => m.EkybModule),
|
|
88
|
+
DOCUMENT_CAPTURE: () => import("./documentCapture-RezFAvKe.js").then((m) => m.DocumentCapture),
|
|
89
|
+
ADDRESS: () => import("./documentCapture-RezFAvKe.js").then((m) => m.DocumentCapture),
|
|
90
90
|
COMBINED_CONSENT: () => import("./consent/consent.es.js").then((m) => m.Consent),
|
|
91
91
|
MANDATORY_CONSENT: () => import("./mandatoryConsent-Cg_zIcY1.js").then((m) => m.MandatoryConsent),
|
|
92
92
|
ML_CONSENT: () => import("./mandatoryConsent-Cg_zIcY1.js").then((m) => m.MandatoryConsent),
|
|
93
93
|
SIGNATURE: () => import("./signature/signature.es.js").then((m) => m.Signature),
|
|
94
|
-
ID_OCR: () => import("./idOcr-
|
|
94
|
+
ID_OCR: () => import("./idOcr-CYgQjeIP.js").then((m) => m.IdOcr),
|
|
95
95
|
ANTIFRAUD: () => import("./antifraud/antifraud.es.js").then((m) => m.Antifraud),
|
|
96
|
-
CUSTOM_FIELDS: () => import("./customFields-
|
|
96
|
+
CUSTOM_FIELDS: () => import("./customFields-DWHlj3fI.js").then((m) => m.CustomFields),
|
|
97
97
|
WATCHLIST: () => import("./watchlist/watchlist.es.js").then((m) => m.Watchlist),
|
|
98
|
-
WATCHLIST_BUSINESS: () => import("./watchlistForBusiness-
|
|
99
|
-
INCODE_WATCHLIST: () => import("./customWatchlist-
|
|
98
|
+
WATCHLIST_BUSINESS: () => import("./watchlistForBusiness-BgMXBwY1.js").then((m) => m.WatchlistForBusiness),
|
|
99
|
+
INCODE_WATCHLIST: () => import("./customWatchlist-B1WtVx_C.js").then((m) => m.CustomWatchlist),
|
|
100
100
|
AE_SIGNATURE: () => import("./ae-signature/ae-signature.es.js").then((m) => m.AeSignature),
|
|
101
101
|
QE_SIGNATURE: () => import("./qe-signature/qe-signature.es.js").then((m) => m.QeSignature),
|
|
102
102
|
CROSS_DOCUMENT_DATA_MATCH: () => import("./cross-document-data-match/cross-document-data-match.es.js").then((m) => m.CrossDocumentDataMatch),
|
|
103
|
-
DYNAMIC_FORMS: () => import("./dynamicForms-
|
|
103
|
+
DYNAMIC_FORMS: () => import("./dynamicForms-DacHmxMI.js").then((m) => m.DynamicForms),
|
|
104
104
|
CERTIFICATE_ISSUANCE: () => import("./certificate-issuance/certificate-issuance.es.js").then((m) => m.CertificateIssuance),
|
|
105
|
-
FIELD_COMPARISON: () => import("./fieldComparison-
|
|
105
|
+
FIELD_COMPARISON: () => import("./fieldComparison-yT4MOoSF.js").then((m) => m.FieldComparison),
|
|
106
106
|
FISCAL_QR: () => import("./fiscal-qr/fiscal-qr.es.js").then((m) => m.FiscalQr),
|
|
107
107
|
VIDEO_ONBOARDING: () => import("./video-selfie/video-selfie.es.js").then((m) => m.VideoSelfie)
|
|
108
108
|
};
|
|
@@ -3,16 +3,16 @@ import { _ as y, v as u } from "../vendor-preact-mvwZ8mJj.js";
|
|
|
3
3
|
import { g as useModuleTerminalCallbacks, r as withStandaloneModuleBootstrap, t as IncodeComponent, v as useManager } from "../incodeComponent-DbuDabZM.js";
|
|
4
4
|
import { n as LoadingIcon } from "../spacer-xw40ekwM.js";
|
|
5
5
|
import { t as SuccessIcon } from "../successIcon-Bj8Y9CuI.js";
|
|
6
|
-
import { t as StatusPage } from "../statusPage-
|
|
6
|
+
import { t as StatusPage } from "../statusPage-gvob9oXs.js";
|
|
7
7
|
import { t as registerIncodeModuleElement } from "../incodeModule-CWPPP3RX.js";
|
|
8
8
|
import { createWatchlistManager } from "@incodetech/core/watchlist";
|
|
9
9
|
//#region src/modules/watchlist/watchlist.tsx
|
|
10
|
-
var WatchlistContent = ({ onFinish }) => {
|
|
10
|
+
var WatchlistContent = ({ manager: externalManager, onFinish }) => {
|
|
11
11
|
const { t } = useTranslation();
|
|
12
|
-
const [state, manager] = useManager(() => createWatchlistManager());
|
|
12
|
+
const [state, manager] = useManager(() => externalManager ?? createWatchlistManager(), { manageLifecycle: !externalManager });
|
|
13
13
|
y(() => {
|
|
14
|
-
manager.load();
|
|
15
|
-
}, [manager]);
|
|
14
|
+
if (!externalManager) manager.load();
|
|
15
|
+
}, [manager, externalManager]);
|
|
16
16
|
useModuleTerminalCallbacks({
|
|
17
17
|
status: state.status === "finished" ? "finished" : "loading",
|
|
18
18
|
onFinish
|
|
@@ -29,8 +29,11 @@ var WatchlistContent = ({ onFinish }) => {
|
|
|
29
29
|
subtitle: t("watchList.wontTake")
|
|
30
30
|
});
|
|
31
31
|
};
|
|
32
|
-
var WatchlistWithLocalConfig = ({ onFinish }) => /* @__PURE__ */ u(IncodeComponent, { children: /* @__PURE__ */ u(WatchlistContent, {
|
|
33
|
-
|
|
32
|
+
var WatchlistWithLocalConfig = ({ manager, onFinish }) => /* @__PURE__ */ u(IncodeComponent, { children: /* @__PURE__ */ u(WatchlistContent, {
|
|
33
|
+
manager,
|
|
34
|
+
onFinish
|
|
35
|
+
}) });
|
|
36
|
+
var Watchlist = withStandaloneModuleBootstrap(WatchlistWithLocalConfig, "WATCHLIST", { supportsExternalManager: true });
|
|
34
37
|
registerIncodeModuleElement(Watchlist, "incode-watchlist");
|
|
35
38
|
//#endregion
|
|
36
39
|
export { Watchlist };
|
|
@@ -4,7 +4,7 @@ import { g as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBo
|
|
|
4
4
|
import { n as LoadingIcon } from "./spacer-xw40ekwM.js";
|
|
5
5
|
import { r as Button } from "./incode-logo-BfEQiVwv.js";
|
|
6
6
|
import { t as SuccessIcon } from "./successIcon-Bj8Y9CuI.js";
|
|
7
|
-
import { t as StatusPage } from "./statusPage-
|
|
7
|
+
import { t as StatusPage } from "./statusPage-gvob9oXs.js";
|
|
8
8
|
import { t as InputComposed } from "./inputComposed-DyOp4913.js";
|
|
9
9
|
import { t as registerIncodeModuleElement } from "./incodeModule-CWPPP3RX.js";
|
|
10
10
|
import { t as CountrySelector } from "./countrySelector-nRjpjFZr.js";
|
|
@@ -4,7 +4,7 @@ import { i as fetchAndApplyTheme } from "../dashboardTheme-BBWzF-Rl.js";
|
|
|
4
4
|
import { a as TerminalErrorPage, i as ResolvedConfigProvider, l as TransitionSpinner, o as Page, t as IncodeComponent, v as useManager } from "../incodeComponent-DbuDabZM.js";
|
|
5
5
|
import { t as AutoFocusTitle } from "../autoFocusTitle-iZIKJfYJ.js";
|
|
6
6
|
import { t as registerIncodeModuleElement } from "../incodeModule-CWPPP3RX.js";
|
|
7
|
-
import { a as resolveApiKey, g as setupSDK, i as HEADLESS_WORKFLOW_MODULE_KEYS, l as LAZY_UI_MODULES, o as extractIncodeStatus, s as UnsupportedModule, t as useModuleLoader, v as isDesktopOrEmulated } from "../useModuleLoader-
|
|
7
|
+
import { a as resolveApiKey, g as setupSDK, i as HEADLESS_WORKFLOW_MODULE_KEYS, l as LAZY_UI_MODULES, o as extractIncodeStatus, s as UnsupportedModule, t as useModuleLoader, v as isDesktopOrEmulated } from "../useModuleLoader-CcbKux2n.js";
|
|
8
8
|
import { resolveWasmConfig, upgradeToWasmHttpClient, warmupWasm } from "@incodetech/core/wasm";
|
|
9
9
|
import { classifyScoreStatus } from "@incodetech/core/flow";
|
|
10
10
|
import { bootstrapSession, refreshQrUrlUuid } from "@incodetech/core/session";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/web",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20260729-9461bce1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/IncodeTechnologies/incode-web-sdk.git"
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
"qrcode": "^1.5.4",
|
|
283
283
|
"signature_pad": "^5.1.3",
|
|
284
284
|
"tailwindcss": "^4.1.17",
|
|
285
|
-
"@incodetech/core": "0.0.0-dev-
|
|
285
|
+
"@incodetech/core": "0.0.0-dev-20260729-9461bce1"
|
|
286
286
|
},
|
|
287
287
|
"devDependencies": {
|
|
288
288
|
"@microsoft/api-extractor": "^7.53.3",
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { v as u } from "./vendor-preact-mvwZ8mJj.js";
|
|
2
|
-
import { o as Page } from "./incodeComponent-DbuDabZM.js";
|
|
3
|
-
import { t as Spacer } from "./spacer-xw40ekwM.js";
|
|
4
|
-
import { t as AutoFocusTitle } from "./autoFocusTitle-iZIKJfYJ.js";
|
|
5
|
-
//#region src/shared/statusPage/statusPage.tsx
|
|
6
|
-
var StatusPage = ({ variant, icon, title, subtitle, hideFooterBranding, actions, isLive }) => /* @__PURE__ */ u(Page, {
|
|
7
|
-
className: `IncodeStatusPage IncodeStatusPage--${variant}`,
|
|
8
|
-
hideFooterBranding,
|
|
9
|
-
children: [/* @__PURE__ */ u("div", {
|
|
10
|
-
class: "IncodeStatusPageContainer",
|
|
11
|
-
role: isLive ?? variant === "loading" ? "status" : void 0,
|
|
12
|
-
"aria-live": isLive ?? variant === "loading" ? "polite" : void 0,
|
|
13
|
-
children: [
|
|
14
|
-
icon,
|
|
15
|
-
/* @__PURE__ */ u(Spacer, { size: 16 }),
|
|
16
|
-
/* @__PURE__ */ u(AutoFocusTitle, {
|
|
17
|
-
className: "IncodeStatusPageTitle",
|
|
18
|
-
children: title
|
|
19
|
-
}, variant),
|
|
20
|
-
subtitle && /* @__PURE__ */ u("p", {
|
|
21
|
-
class: "IncodeStatusPageSubtitle",
|
|
22
|
-
children: subtitle
|
|
23
|
-
})
|
|
24
|
-
]
|
|
25
|
-
}), actions ? /* @__PURE__ */ u("div", {
|
|
26
|
-
class: "IncodeStatusPageActions",
|
|
27
|
-
children: actions
|
|
28
|
-
}) : null]
|
|
29
|
-
});
|
|
30
|
-
//#endregion
|
|
31
|
-
export { StatusPage as t };
|