@incodetech/web 0.0.0-dev-20260819-d97c25cd → 0.0.0-dev-20260820-6f816e8f
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/flow/flow.es.js +1 -1
- package/dist/flow/styles.css +0 -43
- package/dist/{useModuleLoader-DWVDSshx.js → useModuleLoader-C9Sz8duH.js} +1 -1
- package/dist/{watchlistForBusiness-BcFt4JCt.js → watchlistForBusiness-D2CEzLc3.js} +17 -6
- package/dist/workflow/styles.css +0 -43
- package/dist/workflow/workflow.es.js +1 -1
- package/package.json +2 -2
package/dist/flow/flow.es.js
CHANGED
|
@@ -3,7 +3,7 @@ import { _ as y, c as z, d as T, l as A, o as P, p as d, v as u } from "../vendo
|
|
|
3
3
|
import { X as StatusPage, dt as TransitionSpinner, ot as ResolvedConfigProvider, st as TerminalErrorPage, tt as IncodeComponent, yt as useManager } from "../extensibility-46IdDitW.js";
|
|
4
4
|
import { O as ErrorIcon } from "../dropdownComposed-BXvfDIml.js";
|
|
5
5
|
import { t as registerIncodeModuleElement } from "../incodeModule-DM_YoMkO.js";
|
|
6
|
-
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-
|
|
6
|
+
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-C9Sz8duH.js";
|
|
7
7
|
import { getRequiredWasmPipelines } from "@incodetech/core/flow";
|
|
8
8
|
import { bootstrapSession, refreshQrUrlUuid } from "@incodetech/core/session";
|
|
9
9
|
//#region src/shared/processing/useDelayedFlag.ts
|
package/dist/flow/styles.css
CHANGED
|
@@ -2620,49 +2620,6 @@
|
|
|
2620
2620
|
max-width: var(--incode-form-max-w);
|
|
2621
2621
|
}
|
|
2622
2622
|
|
|
2623
|
-
.IncodeDocumentUploadPage {
|
|
2624
|
-
background-color: var(--color-surface-neutral-900, var(--surface-neutral-900));
|
|
2625
|
-
}
|
|
2626
|
-
|
|
2627
|
-
.IncodeDocumentUploadInitializing {
|
|
2628
|
-
height: 100%;
|
|
2629
|
-
color: var(--color-text-body-0, var(--text-body-0-static));
|
|
2630
|
-
flex-direction: column;
|
|
2631
|
-
justify-content: center;
|
|
2632
|
-
align-items: center;
|
|
2633
|
-
display: flex;
|
|
2634
|
-
}
|
|
2635
|
-
|
|
2636
|
-
.IncodeDocumentUploadInitializingText {
|
|
2637
|
-
margin-top: var(--spacing-16, var(--spacing-16, 16px));
|
|
2638
|
-
}
|
|
2639
|
-
|
|
2640
|
-
.IncodeDocumentUploadUploading {
|
|
2641
|
-
flex-direction: column;
|
|
2642
|
-
justify-content: center;
|
|
2643
|
-
align-items: center;
|
|
2644
|
-
height: 100%;
|
|
2645
|
-
display: flex;
|
|
2646
|
-
}
|
|
2647
|
-
|
|
2648
|
-
.IncodeDocumentUploadError {
|
|
2649
|
-
justify-content: center;
|
|
2650
|
-
align-items: center;
|
|
2651
|
-
gap: var(--spacing-16, var(--spacing-16, 16px));
|
|
2652
|
-
padding: var(--spacing-24, var(--spacing-24, 24px));
|
|
2653
|
-
color: var(--color-text-body-0, var(--text-body-0-static));
|
|
2654
|
-
flex-direction: column;
|
|
2655
|
-
display: flex;
|
|
2656
|
-
}
|
|
2657
|
-
|
|
2658
|
-
.IncodeDocumentUploadErrorMessage {
|
|
2659
|
-
text-align: center;
|
|
2660
|
-
}
|
|
2661
|
-
|
|
2662
|
-
.IncodeDocumentUploadRetryButton {
|
|
2663
|
-
margin-top: var(--spacing-8, var(--spacing-8, 8px));
|
|
2664
|
-
}
|
|
2665
|
-
|
|
2666
2623
|
.IncodeComponent .IncodeDocumentCaptureFileInput {
|
|
2667
2624
|
pointer-events: none;
|
|
2668
2625
|
border-style: var(--tw-border-style);
|
|
@@ -95,7 +95,7 @@ var LAZY_UI_MODULES = {
|
|
|
95
95
|
ANTIFRAUD: () => import("./antifraud/antifraud.es.js").then((m) => m.Antifraud),
|
|
96
96
|
CUSTOM_FIELDS: () => import("./customFields-48qv7gi3.js").then((m) => m.CustomFields),
|
|
97
97
|
WATCHLIST: () => import("./watchlist/watchlist.es.js").then((m) => m.Watchlist),
|
|
98
|
-
WATCHLIST_BUSINESS: () => import("./watchlistForBusiness-
|
|
98
|
+
WATCHLIST_BUSINESS: () => import("./watchlistForBusiness-D2CEzLc3.js").then((m) => m.WatchlistForBusiness),
|
|
99
99
|
INCODE_WATCHLIST: () => import("./customWatchlist-sQQR4l1B.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),
|
|
@@ -7,9 +7,9 @@ import { t as registerIncodeModuleElement } from "./incodeModule-DM_YoMkO.js";
|
|
|
7
7
|
import { t as CountrySelector } from "./countrySelector-Dvsb0mzZ.js";
|
|
8
8
|
import { createWatchlistForBusinessManager } from "@incodetech/core/watchlist-for-business";
|
|
9
9
|
//#region src/modules/watchlist-for-business/watchlistForBusiness.tsx
|
|
10
|
-
var WatchlistForBusinessContent = ({ onFinish }) => {
|
|
10
|
+
var WatchlistForBusinessContent = ({ manager: externalManager, onFinish }) => {
|
|
11
11
|
const { t } = useTranslation();
|
|
12
|
-
const [state, manager] = useManager(() => createWatchlistForBusinessManager());
|
|
12
|
+
const [state, manager] = useManager(() => externalManager ?? createWatchlistForBusinessManager(), { manageLifecycle: !externalManager });
|
|
13
13
|
y(() => {
|
|
14
14
|
manager.load();
|
|
15
15
|
}, [manager]);
|
|
@@ -31,17 +31,20 @@ var WatchlistForBusinessContent = ({ onFinish }) => {
|
|
|
31
31
|
});
|
|
32
32
|
if (state.status === "form" || state.status === "idle") {
|
|
33
33
|
const formState = state.status === "form" ? state : null;
|
|
34
|
+
const businessNameError = formState?.validationErrors?.businessName;
|
|
34
35
|
return /* @__PURE__ */ u(Page, {
|
|
35
36
|
className: "IncodeWatchlistForBusinessPage",
|
|
36
37
|
title: t("watchlistForBusiness.title"),
|
|
37
38
|
hideFooterBranding: true,
|
|
39
|
+
"data-testid": "watchlist-for-business-page",
|
|
38
40
|
children: /* @__PURE__ */ u("form", {
|
|
39
41
|
class: "IncodeWatchlistForBusinessForm",
|
|
42
|
+
"data-testid": "watchlist-for-business-form",
|
|
43
|
+
noValidate: true,
|
|
40
44
|
onSubmit: (e) => {
|
|
41
45
|
e.preventDefault();
|
|
42
46
|
manager.submit();
|
|
43
47
|
},
|
|
44
|
-
autoComplete: "off",
|
|
45
48
|
children: [
|
|
46
49
|
/* @__PURE__ */ u(CountrySelector, {
|
|
47
50
|
id: "watchlist-for-business-country",
|
|
@@ -54,12 +57,17 @@ var WatchlistForBusinessContent = ({ onFinish }) => {
|
|
|
54
57
|
id: "businessName",
|
|
55
58
|
name: "businessName",
|
|
56
59
|
label: t("watchlistForBusiness.businessName"),
|
|
60
|
+
"data-testid": "watchlist-for-business-name",
|
|
61
|
+
autoComplete: "organization",
|
|
62
|
+
required: true,
|
|
63
|
+
error: businessNameError ? t(businessNameError) : void 0,
|
|
64
|
+
showErrorIcon: !!businessNameError,
|
|
57
65
|
value: formState?.businessName ?? "",
|
|
58
66
|
onInput: (e) => manager.setBusinessName(e.target.value)
|
|
59
67
|
}),
|
|
60
68
|
/* @__PURE__ */ u(Button, {
|
|
61
69
|
type: "submit",
|
|
62
|
-
disabled: !formState
|
|
70
|
+
disabled: formState ? !formState.canSubmit : false,
|
|
63
71
|
"data-testid": "watchlist-for-business-submit",
|
|
64
72
|
children: t("watchlistForBusiness.continue")
|
|
65
73
|
})
|
|
@@ -69,8 +77,11 @@ var WatchlistForBusinessContent = ({ onFinish }) => {
|
|
|
69
77
|
}
|
|
70
78
|
return null;
|
|
71
79
|
};
|
|
72
|
-
var WatchlistForBusinessWithLocalConfig = ({ onFinish }) => /* @__PURE__ */ u(IncodeComponent, { children: /* @__PURE__ */ u(WatchlistForBusinessContent, {
|
|
73
|
-
|
|
80
|
+
var WatchlistForBusinessWithLocalConfig = ({ manager, onFinish }) => /* @__PURE__ */ u(IncodeComponent, { children: /* @__PURE__ */ u(WatchlistForBusinessContent, {
|
|
81
|
+
manager,
|
|
82
|
+
onFinish
|
|
83
|
+
}) });
|
|
84
|
+
var WatchlistForBusiness = withStandaloneModuleBootstrap(WatchlistForBusinessWithLocalConfig, "WATCHLIST_BUSINESS", { supportsExternalManager: true });
|
|
74
85
|
registerIncodeModuleElement(WatchlistForBusiness, "incode-watchlist-for-business");
|
|
75
86
|
//#endregion
|
|
76
87
|
export { WatchlistForBusiness };
|
package/dist/workflow/styles.css
CHANGED
|
@@ -2508,49 +2508,6 @@
|
|
|
2508
2508
|
max-width: var(--incode-form-max-w);
|
|
2509
2509
|
}
|
|
2510
2510
|
|
|
2511
|
-
.IncodeDocumentUploadPage {
|
|
2512
|
-
background-color: var(--color-surface-neutral-900, var(--surface-neutral-900));
|
|
2513
|
-
}
|
|
2514
|
-
|
|
2515
|
-
.IncodeDocumentUploadInitializing {
|
|
2516
|
-
height: 100%;
|
|
2517
|
-
color: var(--color-text-body-0, var(--text-body-0-static));
|
|
2518
|
-
flex-direction: column;
|
|
2519
|
-
justify-content: center;
|
|
2520
|
-
align-items: center;
|
|
2521
|
-
display: flex;
|
|
2522
|
-
}
|
|
2523
|
-
|
|
2524
|
-
.IncodeDocumentUploadInitializingText {
|
|
2525
|
-
margin-top: var(--spacing-16, var(--spacing-16, 16px));
|
|
2526
|
-
}
|
|
2527
|
-
|
|
2528
|
-
.IncodeDocumentUploadUploading {
|
|
2529
|
-
flex-direction: column;
|
|
2530
|
-
justify-content: center;
|
|
2531
|
-
align-items: center;
|
|
2532
|
-
height: 100%;
|
|
2533
|
-
display: flex;
|
|
2534
|
-
}
|
|
2535
|
-
|
|
2536
|
-
.IncodeDocumentUploadError {
|
|
2537
|
-
justify-content: center;
|
|
2538
|
-
align-items: center;
|
|
2539
|
-
gap: var(--spacing-16, var(--spacing-16, 16px));
|
|
2540
|
-
padding: var(--spacing-24, var(--spacing-24, 24px));
|
|
2541
|
-
color: var(--color-text-body-0, var(--text-body-0-static));
|
|
2542
|
-
flex-direction: column;
|
|
2543
|
-
display: flex;
|
|
2544
|
-
}
|
|
2545
|
-
|
|
2546
|
-
.IncodeDocumentUploadErrorMessage {
|
|
2547
|
-
text-align: center;
|
|
2548
|
-
}
|
|
2549
|
-
|
|
2550
|
-
.IncodeDocumentUploadRetryButton {
|
|
2551
|
-
margin-top: var(--spacing-8, var(--spacing-8, 8px));
|
|
2552
|
-
}
|
|
2553
|
-
|
|
2554
2511
|
.IncodeComponent .IncodeDocumentCaptureFileInput {
|
|
2555
2512
|
pointer-events: none;
|
|
2556
2513
|
border-style: var(--tw-border-style);
|
|
@@ -3,7 +3,7 @@ import { _ as y, c as z, l as A, o as P, p as d, v as u } from "../vendor-preact
|
|
|
3
3
|
import { i as fetchAndApplyTheme } from "../dashboardTheme-DWTEq66U.js";
|
|
4
4
|
import { ct as Page, dt as TransitionSpinner, ot as ResolvedConfigProvider, rt as AutoFocusTitle, st as TerminalErrorPage, tt as IncodeComponent, yt as useManager } from "../extensibility-46IdDitW.js";
|
|
5
5
|
import { t as registerIncodeModuleElement } from "../incodeModule-DM_YoMkO.js";
|
|
6
|
-
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-
|
|
6
|
+
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-C9Sz8duH.js";
|
|
7
7
|
import { resolveWasmConfigForPipelines, upgradeToWasmHttpClient, warmupWasm } from "@incodetech/core/wasm";
|
|
8
8
|
import { classifyScoreStatus } from "@incodetech/core/flow";
|
|
9
9
|
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-20260820-6f816e8f",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
"qrcode": "^1.5.4",
|
|
293
293
|
"signature_pad": "^5.1.3",
|
|
294
294
|
"tailwindcss": "^4.1.17",
|
|
295
|
-
"@incodetech/core": "0.0.0-dev-
|
|
295
|
+
"@incodetech/core": "0.0.0-dev-20260820-6f816e8f"
|
|
296
296
|
},
|
|
297
297
|
"devDependencies": {
|
|
298
298
|
"@microsoft/api-extractor": "^7.53.3",
|