@incodetech/web 0.0.0-dev-20260421-9f82818 → 0.0.0-dev-20260421-800c974

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,6 +1,6 @@
1
1
  import { v as e } from "../vendor-preact-D6SntenC.js";
2
2
  import { o as t, t as n } from "../incodeComponent-dxwR00fd.js";
3
- import { n as r, r as i, t as a } from "../tutorial-DqgAo7ud.js";
3
+ import { n as r, r as i, t as a } from "../tutorial-B_1LffFG.js";
4
4
  import { t as o } from "../incodeModule-BH9gV7jI.js";
5
5
  import { createAuthenticationManager as s } from "@incodetech/core/authentication";
6
6
  //#region src/modules/authentication/authentication.tsx
package/dist/base.css CHANGED
@@ -3830,10 +3830,9 @@
3830
3830
  overflow-y: auto;
3831
3831
  }
3832
3832
  .IncodeModalRoot .IncodeModalContent {
3833
- width: 100%;
3834
- max-width: var(--dialog-content-max-width);
3835
3833
  border-radius: var(--radius-large, var(--border-radius-large));
3836
3834
  background-color: var(--color-surface-neutral-0, var(--surface-neutral-0));
3835
+ width: 100%;
3837
3836
  padding-inline: var(--spacing-16, var(--spacing-16, 16px));
3838
3837
  padding-block: var(--spacing-24, var(--spacing-24, 24px));
3839
3838
  flex-direction: column;
@@ -3841,6 +3840,11 @@
3841
3840
  display: flex;
3842
3841
  position: relative;
3843
3842
  }
3843
+ @media (min-width: 48rem) {
3844
+ .IncodeModalRoot .IncodeModalContent {
3845
+ max-width: var(--dialog-content-max-width);
3846
+ }
3847
+ }
3844
3848
  .IncodeModalRoot .IncodeModalClose {
3845
3849
  top: var(--spacing-16, var(--spacing-16, 16px));
3846
3850
  right: var(--spacing-16, var(--spacing-16, 16px));
@@ -4265,13 +4269,17 @@
4265
4269
  }
4266
4270
  .IncodeBottomSheetOverlay .IncodeBottomSheetContainer {
4267
4271
  min-height: 100%;
4268
- max-width: var(--dialog-content-max-width);
4269
4272
  padding-inline: var(--spacing-0, var(--spacing-none, 0px));
4270
4273
  flex-direction: column;
4271
4274
  justify-content: flex-end;
4272
4275
  margin-inline: auto;
4273
4276
  display: flex;
4274
4277
  }
4278
+ @media (min-width: 48rem) {
4279
+ .IncodeBottomSheetOverlay .IncodeBottomSheetContainer {
4280
+ max-width: var(--dialog-content-max-width);
4281
+ }
4282
+ }
4275
4283
  .IncodeBottomSheetOverlay .IncodeBottomSheetContainer .IncodeBottomSheet {
4276
4284
  border-top-left-radius: var(--radius-x-large, var(--border-radius-x-large));
4277
4285
  border-top-right-radius: var(--radius-x-large, var(--border-radius-x-large));
@@ -3,12 +3,12 @@ import { S as t, _ as n, h as r, l as i, m as a, p as o, v as s } from "./vendor
3
3
  import { o as c, r as l, t as u } from "./incodeComponent-dxwR00fd.js";
4
4
  import { t as d } from "./spacer-DCljE53A.js";
5
5
  import { t as f } from "./page-D5Mt-0zn.js";
6
- import { _ as p, c as m, d as h, f as g, l as _, u as v, v as y } from "./extensibility-yseUdjtQ.js";
6
+ import { _ as p, c as m, d as h, f as g, l as _, u as v, v as y } from "./extensibility-Cu2N2DBv.js";
7
7
  import { n as b } from "./loadingIcon-wTrHZMGC.js";
8
8
  import { t as x } from "./spinner-DyRQfsz_.js";
9
9
  import { t as S } from "./button-4-ToV5B_.js";
10
10
  import { a as C, d as w, r as T } from "./icons-Cj7hJH7f.js";
11
- import { o as E } from "./tutorial-DqgAo7ud.js";
11
+ import { o as E } from "./tutorial-B_1LffFG.js";
12
12
  import { t as D } from "./successIcon-C4GI_9SU.js";
13
13
  import { t as O } from "./bottomSheet-D7Bcy6_9.js";
14
14
  import { t as k } from "./incodeModule-BH9gV7jI.js";
@@ -3,7 +3,7 @@ import { _ as t, p as n, v as r } from "../vendor-preact-D6SntenC.js";
3
3
  import { o as i, t as a } from "../incodeComponent-dxwR00fd.js";
4
4
  import { t as o } from "../spacer-DCljE53A.js";
5
5
  import { t as s } from "../page-D5Mt-0zn.js";
6
- import "../extensibility-yseUdjtQ.js";
6
+ import "../extensibility-Cu2N2DBv.js";
7
7
  import { t as c } from "../button-4-ToV5B_.js";
8
8
  import { t as l } from "../inputComposed-D7vq-JYi.js";
9
9
  import { t as u } from "../otpInput-Br-1AWsA.js";
@@ -11,7 +11,7 @@ import "./spinner-BmFWJNHp.js";
11
11
  import "./processing-BuNhGQnB.js";
12
12
  import { t as g } from "./button-4-ToV5B_.js";
13
13
  import { i as _, m as v, r as y, s as b, t as x, u as S } from "./icons-Cj7hJH7f.js";
14
- import { a as C, i as w } from "./tutorial-DqgAo7ud.js";
14
+ import { a as C, i as w } from "./tutorial-B_1LffFG.js";
15
15
  import { t as T } from "./successIcon-C4GI_9SU.js";
16
16
  import "./verificationResult-VtriXVEd.js";
17
17
  import "./inputComposed-D7vq-JYi.js";
@@ -3,13 +3,13 @@ import { t } from "./uiConfig-CwpQ-IM6.js";
3
3
  import { a as n, n as r, o as i, t as a } from "./incodeComponent-dxwR00fd.js";
4
4
  import { t as o } from "./spacer-DCljE53A.js";
5
5
  import { t as s } from "./page-D5Mt-0zn.js";
6
- import { _ as c, a as l, c as u, d, f, g as p, h as m, i as h, l as g, m as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w, v as T } from "./extensibility-yseUdjtQ.js";
6
+ import { _ as c, a as l, c as u, d, f, g as p, h as m, i as h, l as g, m as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w, v as T } from "./extensibility-Cu2N2DBv.js";
7
7
  import { a as E, i as D, n as O, o as k, s as A, t as j } from "./typography-B7nxauEL.js";
8
8
  import { t as M } from "./spinner-DyRQfsz_.js";
9
9
  import { t as N } from "./processing-BuNhGQnB.js";
10
10
  import { t as P } from "./button-4-ToV5B_.js";
11
11
  import { a as F, c as I, d as L, f as R, i as z, l as B, m as V, n as H, o as U, p as W, r as G, s as K, t as q, u as J } from "./icons-Cj7hJH7f.js";
12
- import { a as Y, i as X, n as Z, o as Q, r as $, t as ee } from "./tutorial-DqgAo7ud.js";
12
+ import { a as Y, i as X, n as Z, o as Q, r as $, t as ee } from "./tutorial-B_1LffFG.js";
13
13
  import { t as te } from "./successIcon-C4GI_9SU.js";
14
14
  import { t as ne } from "./verificationResult-VtriXVEd.js";
15
15
  import { n as re, t as ie } from "./inputComposed-D7vq-JYi.js";
@@ -4,7 +4,7 @@ import { t as s } from "../uiConfig-CwpQ-IM6.js";
4
4
  import { o as c, t as l } from "../incodeComponent-dxwR00fd.js";
5
5
  import { t as u } from "../transitionSpinner-CpwivARH.js";
6
6
  import { t as d } from "../incodeModule-BH9gV7jI.js";
7
- import { a as f, c as p, d as m, i as h, l as g, n as _, o as v, p as y, r as b, s as x, t as S, u as C } from "../useModuleLoader-BIkkm1y2.js";
7
+ import { a as f, c as p, d as m, i as h, l as g, n as _, o as v, p as y, r as b, s as x, t as S, u as C } from "../useModuleLoader-CFhUrj7f.js";
8
8
  import { getDeviceClass as w } from "@incodetech/core/device";
9
9
  import { getRequiredWasmPipelines as T } from "@incodetech/core/flow";
10
10
  import { createSession as E, validateQrUuid as D } from "@incodetech/core/session";
package/dist/id/id.es.js CHANGED
@@ -2,7 +2,7 @@ import { n as e } from "../i18n-B3g2cb7v.js";
2
2
  import { _ as t, c as n, l as r, o as i, v as a } from "../vendor-preact-D6SntenC.js";
3
3
  import { o, t as s } from "../incodeComponent-dxwR00fd.js";
4
4
  import { t as c } from "../page-D5Mt-0zn.js";
5
- import { a as l, i as u, n as d, o as f, r as p, t as m } from "../extensibility-yseUdjtQ.js";
5
+ import { a as l, i as u, n as d, o as f, r as p, t as m } from "../extensibility-Cu2N2DBv.js";
6
6
  import { n as h } from "../loadingIcon-wTrHZMGC.js";
7
7
  import { t as g } from "../spinner-DyRQfsz_.js";
8
8
  import "../spinner-BmFWJNHp.js";
@@ -10,7 +10,7 @@ import { t as _ } from "../transitionSpinner-CpwivARH.js";
10
10
  import { t as v } from "../processing-BuNhGQnB.js";
11
11
  import { t as y } from "../button-4-ToV5B_.js";
12
12
  import { m as b, s as x } from "../icons-Cj7hJH7f.js";
13
- import { o as S, r as C } from "../tutorial-DqgAo7ud.js";
13
+ import { o as S, r as C } from "../tutorial-B_1LffFG.js";
14
14
  import { t as w } from "../successIcon-C4GI_9SU.js";
15
15
  import { t as T } from "../incodeModule-BH9gV7jI.js";
16
16
  import { t as E } from "../tabs-DnpffRKI.js";
@@ -219,48 +219,50 @@ function B() {
219
219
  }
220
220
  //#endregion
221
221
  //#region src/modules/id/id.tsx
222
- var V = n(() => import("../mandatoryConsent-wpJR_1w0.js").then((e) => ({ default: e.MandatoryConsent }))), H = ({ config: e, manager: n, onFinish: r, onError: s }) => {
223
- A(), t(() => {
222
+ var V = n(() => import("../mandatoryConsent-wpJR_1w0.js").then((e) => ({ default: e.MandatoryConsent }))), H = ({ config: n, manager: r, onFinish: s, onError: c }) => {
223
+ A();
224
+ let { t: h } = e();
225
+ t(() => {
224
226
  B();
225
227
  }, []);
226
- let [c, h] = o(() => {
227
- if (n) return n;
228
- if (!e) throw Error("ID capture config is required when no manager is provided");
229
- return D({ config: e });
230
- }, { manageLifecycle: !n });
231
- return c.status === "idle" || c.status === "loading" ? /* @__PURE__ */ a(_, {}) : c.status === "chooser" ? /* @__PURE__ */ a(d, {
232
- manager: h,
233
- state: c
234
- }) : c.status === "tutorial" ? /* @__PURE__ */ a(p, {
235
- manager: h,
236
- state: c
237
- }) : c.status === "permissions" ? /* @__PURE__ */ a(C, {
238
- manager: h,
239
- permissionStatus: c.permissionStatus
240
- }) : c.status === "frontFinished" ? /* @__PURE__ */ a(m, {
241
- manager: h,
228
+ let [g, y] = o(() => {
229
+ if (r) return r;
230
+ if (!n) throw Error("ID capture config is required when no manager is provided");
231
+ return D({ config: n });
232
+ }, { manageLifecycle: !r });
233
+ return g.status === "idle" || g.status === "loading" ? /* @__PURE__ */ a(_, { spinnerConfig: { subtitle: h("loadingCircle.preparingCamera") } }) : g.status === "chooser" ? /* @__PURE__ */ a(d, {
234
+ manager: y,
235
+ state: g
236
+ }) : g.status === "tutorial" ? /* @__PURE__ */ a(p, {
237
+ manager: y,
238
+ state: g
239
+ }) : g.status === "permissions" ? /* @__PURE__ */ a(C, {
240
+ manager: y,
241
+ permissionStatus: g.permissionStatus
242
+ }) : g.status === "frontFinished" ? /* @__PURE__ */ a(m, {
243
+ manager: y,
242
244
  direction: "toBack"
243
- }) : c.status === "backFinished" ? /* @__PURE__ */ a(m, {
244
- manager: h,
245
+ }) : g.status === "backFinished" ? /* @__PURE__ */ a(m, {
246
+ manager: y,
245
247
  direction: "toFront"
246
- }) : c.status === "capture" ? /* @__PURE__ */ a(u, {
247
- manager: h,
248
- state: c,
249
- onFinish: () => r?.()
250
- }) : c.status === "mandatoryConsent" ? /* @__PURE__ */ a(i, {
248
+ }) : g.status === "capture" ? /* @__PURE__ */ a(u, {
249
+ manager: y,
250
+ state: g,
251
+ onFinish: () => s?.()
252
+ }) : g.status === "mandatoryConsent" ? /* @__PURE__ */ a(i, {
251
253
  fallback: null,
252
254
  children: /* @__PURE__ */ a(V, {
253
- config: { consentType: c.regulationType },
254
- onFinish: () => h.acceptMandatoryConsent(),
255
- onError: () => h.cancelMandatoryConsent()
255
+ config: { consentType: g.regulationType },
256
+ onFinish: () => y.acceptMandatoryConsent(),
257
+ onError: () => y.cancelMandatoryConsent()
256
258
  })
257
- }) : c.status === "processing" ? /* @__PURE__ */ a(v, {}) : c.status === "expired" ? /* @__PURE__ */ a(l, { manager: h }) : c.status === "finished" ? (r?.(), null) : c.status === "closed" ? (s?.(void 0), null) : c.status === "error" ? /* @__PURE__ */ a(f, {
258
- manager: h,
259
- state: c,
260
- onError: s
261
- }) : c.status === "manualUpload" ? /* @__PURE__ */ a(R, {
262
- manager: h,
263
- state: c
259
+ }) : g.status === "processing" ? /* @__PURE__ */ a(v, {}) : g.status === "expired" ? /* @__PURE__ */ a(l, { manager: y }) : g.status === "finished" ? (s?.(), null) : g.status === "closed" ? (c?.(void 0), null) : g.status === "error" ? /* @__PURE__ */ a(f, {
260
+ manager: y,
261
+ state: g,
262
+ onError: c
263
+ }) : g.status === "manualUpload" ? /* @__PURE__ */ a(R, {
264
+ manager: y,
265
+ state: g
264
266
  }) : null;
265
267
  }, U = ({ config: e, manager: t, onFinish: n, onError: r }) => /* @__PURE__ */ a(s, { children: e || t ? /* @__PURE__ */ a(H, {
266
268
  config: e,
@@ -2,7 +2,7 @@ import { _ as e, v as t } from "../vendor-preact-D6SntenC.js";
2
2
  import { o as n, t as r } from "../incodeComponent-dxwR00fd.js";
3
3
  import { t as i } from "../transitionSpinner-CpwivARH.js";
4
4
  import { t as a } from "../processing-BuNhGQnB.js";
5
- import { n as o, r as s, t as c } from "../tutorial-DqgAo7ud.js";
5
+ import { n as o, r as s, t as c } from "../tutorial-B_1LffFG.js";
6
6
  import { t as l } from "../incodeModule-BH9gV7jI.js";
7
7
  import { createSelfieManager as u } from "@incodetech/core/selfie";
8
8
  //#region src/modules/selfie/preloadTutorialAssets.ts
@@ -2432,7 +2432,7 @@ var ye = ({ manager: t, permissionStatus: n }) => {
2432
2432
  let { captureStatus: a, stream: s, detectionStatus: u, attemptsRemaining: p, uploadError: h, assistedOnboarding: g } = i, [_, x] = c(!1), { t: S } = e(), w = o(null);
2433
2433
  if (r(() => {
2434
2434
  u === "manualCapture" && w.current?.focus();
2435
- }, [u]), a === "initializing") return /* @__PURE__ */ l(y, {});
2435
+ }, [u]), a === "initializing") return /* @__PURE__ */ l(y, { spinnerConfig: { subtitle: S("loadingCircle.preparingCamera") } });
2436
2436
  if (a === "detecting") {
2437
2437
  if (u === "offline") return /* @__PURE__ */ l(f, { title: "No internet connection" });
2438
2438
  let e = () => _ ? "capturing" : u === "detecting" ? "idle" : u === "getReady" ? "loading" : u === "success" ? "success" : u === "error" ? "error" : "idle";
@@ -166,8 +166,8 @@ var A = {
166
166
  GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((e) => e.Geolocation),
167
167
  EXTERNAL_VERIFICATION: () => import("./ekycModule-Bw-Zs4MH.js").then((e) => e.EkycModule),
168
168
  EKYB: () => import("./ekybModule-Craxr9wc.js").then((e) => e.EkybModule),
169
- DOCUMENT_CAPTURE: () => import("./documentCapture-0D78ZH3J.js").then((e) => e.DocumentCapture),
170
- ADDRESS: () => import("./documentCapture-0D78ZH3J.js").then((e) => e.DocumentCapture),
169
+ DOCUMENT_CAPTURE: () => import("./documentCapture-Bx4lprcM.js").then((e) => e.DocumentCapture),
170
+ ADDRESS: () => import("./documentCapture-Bx4lprcM.js").then((e) => e.DocumentCapture),
171
171
  COMBINED_CONSENT: () => import("./consent/consent.es.js").then((e) => e.Consent),
172
172
  MANDATORY_CONSENT: () => import("./mandatoryConsent-wpJR_1w0.js").then((e) => e.MandatoryConsent),
173
173
  SIGNATURE: () => import("./signature/signature.es.js").then((e) => e.Signature),
@@ -5,7 +5,7 @@ import { o, t as s } from "../incodeComponent-dxwR00fd.js";
5
5
  import "../spinner-BmFWJNHp.js";
6
6
  import { t as c } from "../transitionSpinner-CpwivARH.js";
7
7
  import { t as l } from "../incodeModule-BH9gV7jI.js";
8
- import { a as u, f as d, i as f, m as p, t as m } from "../useModuleLoader-BIkkm1y2.js";
8
+ import { a as u, f as d, i as f, m as p, t as m } from "../useModuleLoader-CFhUrj7f.js";
9
9
  import { resolveWasmConfig as h, warmupWasm as g } from "@incodetech/core/wasm";
10
10
  import { createWorkflowManager as _ } from "@incodetech/core/workflow";
11
11
  //#region src/modules/workflow/workflowInit.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "0.0.0-dev-20260421-9f82818",
3
+ "version": "0.0.0-dev-20260421-800c974",
4
4
  "type": "module",
5
5
  "main": "./dist/index.es.js",
6
6
  "types": "./dist/types/index.d.ts",
@@ -183,7 +183,7 @@
183
183
  "qrcode": "^1.5.4",
184
184
  "signature_pad": "^5.1.3",
185
185
  "tailwindcss": "^4.1.17",
186
- "@incodetech/core": "0.0.0-dev-20260421-9f82818"
186
+ "@incodetech/core": "0.0.0-dev-20260421-800c974"
187
187
  },
188
188
  "devDependencies": {
189
189
  "@microsoft/api-extractor": "^7.53.3",