@incodetech/web 0.0.0-dev-20260813-af514335 → 0.0.0-dev-20260813-ad5ea9e1

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.
@@ -1,2 +1,2 @@
1
- import { t as FieldComparison } from "../fieldComparison-DPCrWRw-.js";
1
+ import { t as FieldComparison } from "../fieldComparison-DwVIZSZl.js";
2
2
  export { FieldComparison };
@@ -4,6 +4,18 @@
4
4
  animation-fill-mode: both;
5
5
  }
6
6
 
7
+ .IncodeFieldComparisonPage .IncodeSrOnly {
8
+ clip-path: inset(50%);
9
+ white-space: nowrap;
10
+ border-width: 0;
11
+ width: 1px;
12
+ height: 1px;
13
+ margin: -1px;
14
+ padding: 0;
15
+ position: absolute;
16
+ overflow: hidden;
17
+ }
18
+
7
19
  .IncodeFieldComparisonPage .IncodeFieldComparisonForm {
8
20
  margin-top: var(--spacing-32, var(--spacing-32, 32px));
9
21
  justify-content: center;
@@ -0,0 +1,2 @@
1
+ import { t as FieldComparison } from "./fieldComparison-DwVIZSZl.js";
2
+ export { FieldComparison };
@@ -37,13 +37,24 @@ var FieldComparisonContent = ({ config, manager: externalManager, onFinish }) =>
37
37
  className: "IncodeFieldComparisonPage",
38
38
  title: t("fieldComparison.title"),
39
39
  hideFooterBranding: true,
40
- children: /* @__PURE__ */ u("div", {
40
+ "data-testid": "field-comparison-page",
41
+ children: [isDisabled ? /* @__PURE__ */ u("div", {
42
+ class: "IncodeSrOnly",
43
+ role: "status",
44
+ "aria-live": "polite",
45
+ "data-testid": "field-comparison-status",
46
+ children: t("common.processing")
47
+ }) : null, /* @__PURE__ */ u("div", {
41
48
  class: "IncodeFieldComparisonForm",
49
+ "data-testid": "field-comparison-fields",
42
50
  children: [
43
51
  /* @__PURE__ */ u(InputComposed, {
44
52
  id: "field-comparison-first-name",
45
53
  name: "firstName",
46
54
  label: t("verification.labels.firstName"),
55
+ "data-testid": "field-comparison-first-name",
56
+ autoComplete: "given-name",
57
+ required: true,
47
58
  disabled: isDisabled,
48
59
  value: state.fields.firstName,
49
60
  onInput: (e) => {
@@ -54,6 +65,9 @@ var FieldComparisonContent = ({ config, manager: externalManager, onFinish }) =>
54
65
  id: "field-comparison-last-name",
55
66
  name: "lastName",
56
67
  label: t("verification.labels.lastName"),
68
+ "data-testid": "field-comparison-last-name",
69
+ autoComplete: "family-name",
70
+ required: true,
57
71
  disabled: isDisabled,
58
72
  value: state.fields.lastName,
59
73
  onInput: (e) => {
@@ -63,12 +77,14 @@ var FieldComparisonContent = ({ config, manager: externalManager, onFinish }) =>
63
77
  /* @__PURE__ */ u(Spacer, {}),
64
78
  /* @__PURE__ */ u(Button, {
65
79
  type: "submit",
80
+ "data-testid": "field-comparison-submit",
66
81
  disabled: !canSubmit || isDisabled,
82
+ isLoading: isDisabled,
67
83
  onClick: handleSubmit,
68
84
  children: t("common.continue")
69
85
  })
70
86
  ]
71
- })
87
+ })]
72
88
  });
73
89
  }
74
90
  return null;
@@ -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-li3u8bJP.js";
4
4
  import { O as ErrorIcon } from "../dropdownComposed-CH8FoLKA.js";
5
5
  import { t as registerIncodeModuleElement } from "../incodeModule-CPafHixS.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-gN9v26sM.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-Bj_qdihU.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
@@ -4179,6 +4179,18 @@
4179
4179
  animation-fill-mode: both;
4180
4180
  }
4181
4181
 
4182
+ .IncodeFieldComparisonPage .IncodeSrOnly {
4183
+ clip-path: inset(50%);
4184
+ white-space: nowrap;
4185
+ border-width: 0;
4186
+ width: 1px;
4187
+ height: 1px;
4188
+ margin: -1px;
4189
+ padding: 0;
4190
+ position: absolute;
4191
+ overflow: hidden;
4192
+ }
4193
+
4182
4194
  .IncodeFieldComparisonPage .IncodeFieldComparisonForm {
4183
4195
  margin-top: var(--spacing-32, var(--spacing-32, 32px));
4184
4196
  justify-content: center;
@@ -102,7 +102,7 @@ var LAZY_UI_MODULES = {
102
102
  CROSS_DOCUMENT_DATA_MATCH: () => import("./cross-document-data-match/cross-document-data-match.es.js").then((m) => m.CrossDocumentDataMatch),
103
103
  DYNAMIC_FORMS: () => import("./dynamicForms-vqgO45Ws.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-nhpQQ5Pl.js").then((m) => m.FieldComparison),
105
+ FIELD_COMPARISON: () => import("./fieldComparison-B-D4PVoE.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,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-C87VA-Zf.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-li3u8bJP.js";
5
5
  import { t as registerIncodeModuleElement } from "../incodeModule-CPafHixS.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-gN9v26sM.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-Bj_qdihU.js";
7
7
  import { resolveWasmConfig, 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-20260813-af514335",
3
+ "version": "0.0.0-dev-20260813-ad5ea9e1",
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-20260813-af514335"
295
+ "@incodetech/core": "0.0.0-dev-20260813-ad5ea9e1"
296
296
  },
297
297
  "devDependencies": {
298
298
  "@microsoft/api-extractor": "^7.53.3",
@@ -1,2 +0,0 @@
1
- import { t as FieldComparison } from "./fieldComparison-DPCrWRw-.js";
2
- export { FieldComparison };