@incodetech/web 0.0.0-dev-20260507-85da360 → 0.0.0-dev-20260508-00bc415
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/base.css +218 -0
- package/dist/{documentCapture-B7gkjbde.js → documentCapture-DY9gBtL3.js} +7 -7
- package/dist/{dynamicForms-DFXXP6uP.js → dynamicForms-DVcc_LgI.js} +1 -1
- package/dist/email/email.es.js +1 -1
- package/dist/{emailInput-Q5WNjX9l.js → emailInput-D9okrB8A.js} +1 -1
- package/dist/{extensibility-C1xYMmD-.js → extensibility-C1ysVDds.js} +457 -117
- package/dist/extensibility.es.js +20 -20
- package/dist/face-match/styles.css +12 -0
- package/dist/flow/flow.es.js +1 -1
- package/dist/flow/styles.css +12 -0
- package/dist/id/id.es.js +1 -1
- package/dist/{idOcr-iAAZKKU2.js → idOcr-Lsc8NxXa.js} +1 -1
- package/dist/selfie/styles.css +12 -0
- package/dist/signature/signature.es.js +1 -1
- package/dist/themes/dark.css +6 -0
- package/dist/themes/light.css +6 -0
- package/dist/types/extensibility.d.ts +9 -0
- package/dist/{useModuleLoader-DRDu9LBw.js → useModuleLoader-Hkfm3FWm.js} +45 -45
- package/dist/workflow/styles.css +12 -0
- package/dist/workflow/workflow.es.js +35 -30
- package/package.json +2 -2
package/dist/base.css
CHANGED
|
@@ -113,6 +113,18 @@
|
|
|
113
113
|
visibility: visible;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
+
.sr-only {
|
|
117
|
+
clip-path: inset(50%);
|
|
118
|
+
white-space: nowrap;
|
|
119
|
+
border-width: 0;
|
|
120
|
+
width: 1px;
|
|
121
|
+
height: 1px;
|
|
122
|
+
margin: -1px;
|
|
123
|
+
padding: 0;
|
|
124
|
+
position: absolute;
|
|
125
|
+
overflow: hidden;
|
|
126
|
+
}
|
|
127
|
+
|
|
116
128
|
.absolute {
|
|
117
129
|
position: absolute;
|
|
118
130
|
}
|
|
@@ -467,6 +479,11 @@
|
|
|
467
479
|
font-weight: var(--typography-button-m-underlined-weight);
|
|
468
480
|
line-height: var(--typography-button-m-underlined-line-height);
|
|
469
481
|
letter-spacing: var(--typography-button-m-underlined-letter-spacing);
|
|
482
|
+
font-family: var(--typography-button-family);
|
|
483
|
+
font-size: var(--typography-button-m-underlined-size);
|
|
484
|
+
font-weight: var(--typography-button-m-underlined-weight);
|
|
485
|
+
line-height: var(--typography-button-m-underlined-line-height);
|
|
486
|
+
letter-spacing: var(--typography-button-m-underlined-letter-spacing);
|
|
470
487
|
text-decoration-line: underline;
|
|
471
488
|
text-decoration-style: solid;
|
|
472
489
|
text-decoration-thickness: auto;
|
|
@@ -1307,6 +1324,168 @@
|
|
|
1307
1324
|
padding-inline: var(--spacing-4, var(--spacing-4, 4px));
|
|
1308
1325
|
color: var(--icon-neutral-500, var(--color-icon-neutral-500));
|
|
1309
1326
|
}
|
|
1327
|
+
.IncodeSegmentedDateInput .IncodeSegmentedDateInputField {
|
|
1328
|
+
width: 100%;
|
|
1329
|
+
font-family: var(--typography-input-dropdown-family);
|
|
1330
|
+
font-size: var(--typography-input-dropdown-m-size);
|
|
1331
|
+
font-weight: var(--typography-input-dropdown-m-weight);
|
|
1332
|
+
line-height: var(--typography-input-dropdown-m-line-height);
|
|
1333
|
+
letter-spacing: var(--typography-input-dropdown-m-letter-spacing);
|
|
1334
|
+
background-color: var(--color-input-surface-default, var(--input-surface-default));
|
|
1335
|
+
color: var(--color-input-text-field-default, var(--input-text-field-default));
|
|
1336
|
+
border-radius: var(--radius-small, var(--border-radius-small));
|
|
1337
|
+
border-style: var(--tw-border-style);
|
|
1338
|
+
border-width: 1px;
|
|
1339
|
+
border-color: var(--color-input-border-default, var(--input-border-default));
|
|
1340
|
+
padding-block: var(--spacing-16, var(--spacing-16, 16px));
|
|
1341
|
+
padding-left: var(--spacing-16, var(--spacing-16, 16px));
|
|
1342
|
+
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
|
1343
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));
|
|
1344
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration, .15s));
|
|
1345
|
+
--tw-duration: .2s;
|
|
1346
|
+
--tw-outline-style: none;
|
|
1347
|
+
cursor: text;
|
|
1348
|
+
max-width: var(--incode-form-max-w);
|
|
1349
|
+
height: var(--segmented-date-input-height);
|
|
1350
|
+
min-height: var(--segmented-date-input-height);
|
|
1351
|
+
padding-right: var(--segmented-date-input-icon-space);
|
|
1352
|
+
text-align: start;
|
|
1353
|
+
font-variant-numeric: tabular-nums;
|
|
1354
|
+
outline-style: none;
|
|
1355
|
+
align-items: center;
|
|
1356
|
+
transition-duration: .2s;
|
|
1357
|
+
display: flex;
|
|
1358
|
+
}
|
|
1359
|
+
.IncodeSegmentedDateInput .IncodeSegmentedDateInputField:focus-within:not([data-disabled="true"]) {
|
|
1360
|
+
border-style: var(--tw-border-style);
|
|
1361
|
+
border-width: 2px;
|
|
1362
|
+
border-color: var(--color-input-border-focused, var(--input-border-focused));
|
|
1363
|
+
background-color: var(--color-input-surface-focused, var(--input-surface-focused));
|
|
1364
|
+
}
|
|
1365
|
+
.IncodeSegmentedDateInput .IncodeSegmentedDateInputField[aria-invalid="true"] {
|
|
1366
|
+
border-style: var(--tw-border-style);
|
|
1367
|
+
border-width: 2px;
|
|
1368
|
+
border-color: var(--color-input-border-negative, var(--input-border-negative));
|
|
1369
|
+
}
|
|
1370
|
+
.IncodeSegmentedDateInput .IncodeSegmentedDateInputField[data-disabled="true"] {
|
|
1371
|
+
border-color: var(--color-input-border-disabled, var(--input-border-disabled));
|
|
1372
|
+
background-color: var(--color-input-surface-disabled, var(--input-surface-disabled));
|
|
1373
|
+
cursor: not-allowed;
|
|
1374
|
+
color: var(--color-input-text-field-disabled, var(--input-text-field-disabled));
|
|
1375
|
+
}
|
|
1376
|
+
.IncodeSegmentedDateInput .IncodeSegmentedDateInputField[data-disabled="true"] .IncodeSegmentedDateInputSeparator {
|
|
1377
|
+
color: var(--color-input-text-field-disabled, var(--input-text-field-disabled));
|
|
1378
|
+
}
|
|
1379
|
+
.IncodeSegmentedDateInput .IncodeSegmentedDateInputSegment {
|
|
1380
|
+
margin: var(--spacing-0, var(--spacing-none, 0px));
|
|
1381
|
+
padding: var(--spacing-0, var(--spacing-none, 0px));
|
|
1382
|
+
border-style: var(--tw-border-style);
|
|
1383
|
+
border-width: var(--border-width-none, var(--primitive-border-width-0));
|
|
1384
|
+
--tw-border-style: none;
|
|
1385
|
+
--tw-outline-style: none;
|
|
1386
|
+
font: inherit;
|
|
1387
|
+
color: inherit;
|
|
1388
|
+
text-align: center;
|
|
1389
|
+
-moz-appearance: textfield;
|
|
1390
|
+
background-color: #0000;
|
|
1391
|
+
border-style: none;
|
|
1392
|
+
outline-style: none;
|
|
1393
|
+
}
|
|
1394
|
+
.IncodeSegmentedDateInput .IncodeSegmentedDateInputSegment::-webkit-outer-spin-button {
|
|
1395
|
+
-webkit-appearance: none;
|
|
1396
|
+
margin: 0;
|
|
1397
|
+
}
|
|
1398
|
+
.IncodeSegmentedDateInput .IncodeSegmentedDateInputSegment::-webkit-inner-spin-button {
|
|
1399
|
+
-webkit-appearance: none;
|
|
1400
|
+
margin: 0;
|
|
1401
|
+
}
|
|
1402
|
+
.IncodeSegmentedDateInput .IncodeSegmentedDateInputSegment::placeholder {
|
|
1403
|
+
color: var(--color-input-text-field-placeholder, var(--input-text-field-placeholder));
|
|
1404
|
+
opacity: 1;
|
|
1405
|
+
}
|
|
1406
|
+
.IncodeSegmentedDateInput .IncodeSegmentedDateInputSegment:disabled {
|
|
1407
|
+
cursor: not-allowed;
|
|
1408
|
+
color: var(--color-input-text-field-disabled, var(--input-text-field-disabled));
|
|
1409
|
+
-webkit-text-fill-color: var(--input-text-field-disabled);
|
|
1410
|
+
}
|
|
1411
|
+
.IncodeSegmentedDateInput .IncodeSegmentedDateInputSegment--mm, .IncodeSegmentedDateInput .IncodeSegmentedDateInputSegment--dd {
|
|
1412
|
+
min-width: var(--segmented-date-input-mm-dd-width);
|
|
1413
|
+
width: var(--segmented-date-input-mm-dd-width);
|
|
1414
|
+
}
|
|
1415
|
+
.IncodeSegmentedDateInput .IncodeSegmentedDateInputSegment--yyyy {
|
|
1416
|
+
min-width: var(--segmented-date-input-yyyy-width);
|
|
1417
|
+
width: var(--segmented-date-input-yyyy-width);
|
|
1418
|
+
}
|
|
1419
|
+
.IncodeSegmentedDateInput .IncodeSegmentedDateInputSeparator {
|
|
1420
|
+
-webkit-user-select: none;
|
|
1421
|
+
user-select: none;
|
|
1422
|
+
color: inherit;
|
|
1423
|
+
pointer-events: none;
|
|
1424
|
+
}
|
|
1425
|
+
.IncodeSegmentedDateInput .IncodeSegmentedDateInputHiddenNative {
|
|
1426
|
+
inset: var(--spacing-0, var(--spacing-none, 0px));
|
|
1427
|
+
margin: var(--spacing-0, var(--spacing-none, 0px));
|
|
1428
|
+
padding: var(--spacing-0, var(--spacing-none, 0px));
|
|
1429
|
+
border-style: var(--tw-border-style);
|
|
1430
|
+
border-width: var(--border-width-none, var(--primitive-border-width-0));
|
|
1431
|
+
--tw-border-style: none;
|
|
1432
|
+
opacity: 0;
|
|
1433
|
+
pointer-events: none;
|
|
1434
|
+
appearance: none;
|
|
1435
|
+
background-color: #0000;
|
|
1436
|
+
border-style: none;
|
|
1437
|
+
position: absolute;
|
|
1438
|
+
}
|
|
1439
|
+
.IncodeSegmentedDateInput .IncodeSegmentedDateInputIconButton {
|
|
1440
|
+
top: var(--spacing-0, var(--spacing-none, 0px));
|
|
1441
|
+
right: var(--spacing-0, var(--spacing-none, 0px));
|
|
1442
|
+
z-index: 10;
|
|
1443
|
+
cursor: pointer;
|
|
1444
|
+
border-style: var(--tw-border-style);
|
|
1445
|
+
border-width: var(--border-width-none, var(--primitive-border-width-0));
|
|
1446
|
+
--tw-border-style: none;
|
|
1447
|
+
height: 100%;
|
|
1448
|
+
padding-block: var(--spacing-0, var(--spacing-none, 0px));
|
|
1449
|
+
padding-right: var(--spacing-12, var(--spacing-12, 12px));
|
|
1450
|
+
padding-left: var(--spacing-0, var(--spacing-none, 0px));
|
|
1451
|
+
--tw-outline-style: none;
|
|
1452
|
+
background-color: #0000;
|
|
1453
|
+
border-style: none;
|
|
1454
|
+
outline-style: none;
|
|
1455
|
+
justify-content: flex-end;
|
|
1456
|
+
align-items: center;
|
|
1457
|
+
display: flex;
|
|
1458
|
+
position: absolute;
|
|
1459
|
+
}
|
|
1460
|
+
.IncodeSegmentedDateInput .IncodeSegmentedDateInputIconButton:focus-visible .IncodeSegmentedDateInputIcon {
|
|
1461
|
+
border-radius: var(--radius-xs, .125rem);
|
|
1462
|
+
outline-style: var(--tw-outline-style);
|
|
1463
|
+
outline-offset: 2px;
|
|
1464
|
+
outline-width: 2px;
|
|
1465
|
+
outline-color: var(--color-input-border-focused, var(--input-border-focused));
|
|
1466
|
+
}
|
|
1467
|
+
.IncodeSegmentedDateInput .IncodeSegmentedDateInputIconButton:hover:not(:disabled) {
|
|
1468
|
+
opacity: .8;
|
|
1469
|
+
}
|
|
1470
|
+
.IncodeSegmentedDateInput .IncodeSegmentedDateInputIconButton:disabled {
|
|
1471
|
+
cursor: not-allowed;
|
|
1472
|
+
opacity: .5;
|
|
1473
|
+
}
|
|
1474
|
+
.IncodeSegmentedDateInput .IncodeSegmentedDateInputIconButton .IncodeSegmentedDateInputIcon {
|
|
1475
|
+
padding-inline: var(--spacing-4, var(--spacing-4, 4px));
|
|
1476
|
+
color: var(--icon-neutral-500, var(--color-icon-neutral-500));
|
|
1477
|
+
}
|
|
1478
|
+
.IncodeSegmentedDateInput .IncodeSrOnly {
|
|
1479
|
+
clip-path: inset(50%);
|
|
1480
|
+
white-space: nowrap;
|
|
1481
|
+
border-width: 0;
|
|
1482
|
+
width: 1px;
|
|
1483
|
+
height: 1px;
|
|
1484
|
+
margin: -1px;
|
|
1485
|
+
padding: 0;
|
|
1486
|
+
position: absolute;
|
|
1487
|
+
overflow: hidden;
|
|
1488
|
+
}
|
|
1310
1489
|
.IncodeTextAreaComposed {
|
|
1311
1490
|
width: 100%;
|
|
1312
1491
|
max-width: 420px;
|
|
@@ -3654,6 +3833,45 @@
|
|
|
3654
3833
|
}
|
|
3655
3834
|
}
|
|
3656
3835
|
}
|
|
3836
|
+
@media (min-width: 40rem) {
|
|
3837
|
+
.IncodePageContainer .IncodePageInner {
|
|
3838
|
+
max-width: 40rem;
|
|
3839
|
+
}
|
|
3840
|
+
}
|
|
3841
|
+
@media (min-width: 48rem) {
|
|
3842
|
+
.IncodePageContainer .IncodePageInner {
|
|
3843
|
+
max-width: 48rem;
|
|
3844
|
+
}
|
|
3845
|
+
}
|
|
3846
|
+
@media (min-width: 64rem) {
|
|
3847
|
+
.IncodePageContainer .IncodePageInner {
|
|
3848
|
+
max-width: 64rem;
|
|
3849
|
+
}
|
|
3850
|
+
}
|
|
3851
|
+
@media (min-width: 80rem) {
|
|
3852
|
+
.IncodePageContainer .IncodePageInner {
|
|
3853
|
+
max-width: 80rem;
|
|
3854
|
+
}
|
|
3855
|
+
}
|
|
3856
|
+
@media (min-width: 96rem) {
|
|
3857
|
+
.IncodePageContainer .IncodePageInner {
|
|
3858
|
+
max-width: 96rem;
|
|
3859
|
+
}
|
|
3860
|
+
}
|
|
3861
|
+
@media (min-width: 48rem) {
|
|
3862
|
+
.IncodePageContainer .IncodePageInner {
|
|
3863
|
+
max-height: var(--incode-page-max-h);
|
|
3864
|
+
max-width: var(--incode-page-max-w);
|
|
3865
|
+
}
|
|
3866
|
+
|
|
3867
|
+
@media not all and (min-width: 80rem) {
|
|
3868
|
+
@media (orientation: landscape) {
|
|
3869
|
+
.IncodePageContainer .IncodePageInner {
|
|
3870
|
+
max-height: var(--incode-page-max-h-landscape);
|
|
3871
|
+
}
|
|
3872
|
+
}
|
|
3873
|
+
}
|
|
3874
|
+
}
|
|
3657
3875
|
.IncodePageContainer .IncodePageInner {
|
|
3658
3876
|
width: 100%;
|
|
3659
3877
|
}
|
|
@@ -4,7 +4,7 @@ import { o as c, r as l } from "./hooks-BVnGysT7.js";
|
|
|
4
4
|
import { t as u } from "./incodeComponent-9ZUPvQgC.js";
|
|
5
5
|
import { n as d, r as f } from "./loadingIcon-BN5YRQUb.js";
|
|
6
6
|
import { t as p } from "./page-DCsXSlHl.js";
|
|
7
|
-
import {
|
|
7
|
+
import { c as m, d as h, f as g, l as _, u as v, v as y, y as b } from "./extensibility-C1ysVDds.js";
|
|
8
8
|
import { t as x } from "./spinner-CKnjVHxw.js";
|
|
9
9
|
import { t as S } from "./button-DcCUEn2n.js";
|
|
10
10
|
import { a as C, p as w, r as T } from "./icons-Cc7zwchP.js";
|
|
@@ -30,18 +30,18 @@ var M = ({ stream: t, manager: n, onOpenHelp: a }) => {
|
|
|
30
30
|
let r = new Blob([Uint8Array.from(atob(t), (e) => e.charCodeAt(0))], { type: "image/jpeg" }), i = new File([r], "document.jpg", { type: "image/jpeg" });
|
|
31
31
|
n.setFile(i, `data:image/jpeg;base64,${t}`);
|
|
32
32
|
}, [n]);
|
|
33
|
-
return /* @__PURE__ */ s(
|
|
33
|
+
return /* @__PURE__ */ s(_, {
|
|
34
34
|
stream: t,
|
|
35
35
|
videoRef: c,
|
|
36
36
|
"data-testid": "document-capture-camera",
|
|
37
|
-
children: /* @__PURE__ */ s(
|
|
38
|
-
/* @__PURE__ */ s(
|
|
37
|
+
children: /* @__PURE__ */ s(h, { children: [
|
|
38
|
+
/* @__PURE__ */ s(v, {
|
|
39
39
|
title: o("documentCapture.camera.title"),
|
|
40
40
|
subtitle: o("documentCapture.camera.subtitle")
|
|
41
41
|
}),
|
|
42
42
|
/* @__PURE__ */ s(f, { size: 16 }),
|
|
43
|
-
/* @__PURE__ */ s(
|
|
44
|
-
/* @__PURE__ */ s(
|
|
43
|
+
/* @__PURE__ */ s(g, { variant: "fill" }),
|
|
44
|
+
/* @__PURE__ */ s(m, {
|
|
45
45
|
onOpenHelp: a,
|
|
46
46
|
onCapture: l,
|
|
47
47
|
isManualCapture: !0,
|
|
@@ -269,7 +269,7 @@ var M = ({ stream: t, manager: n, onOpenHelp: a }) => {
|
|
|
269
269
|
] });
|
|
270
270
|
}, z = ({ progress: n, isFilePdf: r }) => {
|
|
271
271
|
let { t: i } = e(), a = i(r ? "documentCapture.review.uploading" : "documentCapture.review.analyzing");
|
|
272
|
-
return /* @__PURE__ */ s(t, { children: [/* @__PURE__ */ s(f, { size: 8 }), /* @__PURE__ */ s(
|
|
272
|
+
return /* @__PURE__ */ s(t, { children: [/* @__PURE__ */ s(f, { size: 8 }), /* @__PURE__ */ s(y, {
|
|
273
273
|
progress: n,
|
|
274
274
|
label: a
|
|
275
275
|
})] });
|
|
@@ -12,7 +12,7 @@ import { n as p, t as m } from "./phoneInputComposed-bvWhGLFZ.js";
|
|
|
12
12
|
import { t as h } from "./dropdownComposed-DFRBG22E.js";
|
|
13
13
|
import { t as g } from "./dateInputComposed-YUmNQwOo.js";
|
|
14
14
|
import { t as _ } from "./incodeModule-D_r2n18O.js";
|
|
15
|
-
import { t as v } from "./emailInput-
|
|
15
|
+
import { t as v } from "./emailInput-D9okrB8A.js";
|
|
16
16
|
import { formatCPF as y } from "@incodetech/core/cpf-ocr";
|
|
17
17
|
import { createDynamicFormsManager as b } from "@incodetech/core/dynamic-forms";
|
|
18
18
|
//#region src/modules/dynamic-forms/dynamicForms.tsx
|
package/dist/email/email.es.js
CHANGED
|
@@ -7,7 +7,7 @@ import { t as s } from "../page-DCsXSlHl.js";
|
|
|
7
7
|
import { t as c } from "../button-DcCUEn2n.js";
|
|
8
8
|
import { t as l } from "../otpInput-CLo5__yb.js";
|
|
9
9
|
import { t as u } from "../incodeModule-D_r2n18O.js";
|
|
10
|
-
import { t as d } from "../emailInput-
|
|
10
|
+
import { t as d } from "../emailInput-D9okrB8A.js";
|
|
11
11
|
import { createEmailManager as f } from "@incodetech/core/email";
|
|
12
12
|
//#region src/modules/email/email.tsx
|
|
13
13
|
function p(e) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e } from "./i18n-BnVa5Y-_.js";
|
|
2
2
|
import { v as t } from "./vendor-preact-D6SntenC.js";
|
|
3
|
-
import "./extensibility-
|
|
3
|
+
import "./extensibility-C1ysVDds.js";
|
|
4
4
|
import { t as n } from "./inputComposed-APSw8C7o.js";
|
|
5
5
|
//#region src/modules/email/emailInput.tsx
|
|
6
6
|
var r = /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/, i = ({ value: i, emailError: a, label: o, disabled: s = !1, required: c = !1, onEmailChange: l, onBlur: u }) => {
|