@tesouro/embedded-components-react 0.3.49 → 0.3.51
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/index.css +8 -2
- package/dist/index.js +2 -2
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/lib/LinkedAccountsWidget.js +1 -1
- package/dist/libs/shared/util-validation/dist/{index22.js → index23.js} +1 -1
- package/dist/libs/shared/util-validation/dist/index7.js +6 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index10.js +39 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index11.js +26 -311
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index12.js +325 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index13.js +13 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index14.js +20 -40
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index15.js +75 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index16.js +36 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index5.js +80 -68
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index6.js +86 -73
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index7.js +77 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index8.js +18 -63
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index9.js +50 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +22 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +82 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +7 -42
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +15 -159
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +23 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +66 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +2 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +3 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +5 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +3 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +31 -63
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index2.js +23 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +37 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +161 -61
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +29 -130
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +1 -25
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +47 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +4 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +12 -55
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +63 -72
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +26 -49
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +62 -93
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +133 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +20 -163
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +4 -77
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +39 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +5 -210
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +70 -211
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +47 -103
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +92 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +34 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +59 -62
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +163 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +67 -181
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +20 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +203 -94
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +214 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +98 -312
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +16 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +49 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +29 -80
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +183 -156
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +38 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +102 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +18 -44
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +343 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +30 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +79 -88
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +179 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +3 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +2 -20
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +38 -51
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +6 -126
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +92 -44
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +3 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +123 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +7 -82
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +8 -48
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +45 -250
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +69 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +21 -113
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +27 -208
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +86 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +47 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +244 -106
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +115 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +201 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +115 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +44 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +25 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +94 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +1 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +6 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +119 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +24 -111
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +89 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +5 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +5 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +34 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +10 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +105 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +2 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +15 -123
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +125 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +2 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +14 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +7 -167
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +170 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +11 -105
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +108 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +8 -45
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +47 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/create-card-widget/feature/dist/index8.js +95 -94
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index10.js +45 -0
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index7.js +18 -55
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index8.js +46 -265
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index9.js +273 -34
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/feature/dist/lib/useApproverOptions.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +87 -71
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index11.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
- package/package.json +1 -1
|
@@ -3,43 +3,43 @@ import { BILL_DECISION_DIALOG_LABELS_EN as l } from "./index49.js";
|
|
|
3
3
|
import { Fragment as u, useEffect as d, useState as f } from "react";
|
|
4
4
|
import { jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
5
5
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js
|
|
6
|
-
function h({ open: h, copy: g, onConfirm: _, onCancel: v, isPending: y,
|
|
7
|
-
let
|
|
6
|
+
function h({ open: h, copy: g, onConfirm: _, onCancel: v, isPending: y, confirmIcon: b, labels: x, testId: S, confirmTestId: C, reasonTestId: w, reasonFieldId: T = "bill-decision-reason" }) {
|
|
7
|
+
let E = {
|
|
8
8
|
...l,
|
|
9
|
-
...
|
|
10
|
-
}, [
|
|
9
|
+
...x
|
|
10
|
+
}, [D, O] = f("");
|
|
11
11
|
if (d(() => {
|
|
12
|
-
h ||
|
|
12
|
+
h || O("");
|
|
13
13
|
}, [h]), !g) return null;
|
|
14
|
-
let { alignment:
|
|
14
|
+
let { alignment: k = "start", icon: A, tone: j = "default", actionWidth: M = "auto" } = g.presentation ?? {}, N = k === "center", P = M === "equal", F = g.pendingApprovers ?? [];
|
|
15
15
|
return /* @__PURE__ */ p(e, {
|
|
16
16
|
open: h,
|
|
17
17
|
onOpenChange: (e) => {
|
|
18
18
|
e || v();
|
|
19
19
|
},
|
|
20
20
|
children: /* @__PURE__ */ m(t, {
|
|
21
|
-
"data-testid":
|
|
21
|
+
"data-testid": S,
|
|
22
22
|
children: [
|
|
23
23
|
/* @__PURE__ */ m(i, {
|
|
24
|
-
className:
|
|
24
|
+
className: N ? "ttw:items-center ttw:sm:text-center" : void 0,
|
|
25
25
|
children: [
|
|
26
|
-
|
|
27
|
-
className:
|
|
28
|
-
children: /* @__PURE__ */ p(
|
|
26
|
+
A ? /* @__PURE__ */ p("span", {
|
|
27
|
+
className: j === "destructive" ? "ttw:flex ttw:size-11 ttw:items-center ttw:justify-center ttw:rounded-full ttw:bg-destructive" : "ttw:flex ttw:size-11 ttw:items-center ttw:justify-center ttw:rounded-full ttw:bg-muted",
|
|
28
|
+
children: /* @__PURE__ */ p(A, { className: j === "destructive" ? "ttw:size-4 ttw:text-white" : "ttw:size-4 ttw:text-foreground" })
|
|
29
29
|
}) : null,
|
|
30
30
|
/* @__PURE__ */ p(a, { children: g.title }),
|
|
31
31
|
/* @__PURE__ */ p(n, { children: g.description })
|
|
32
32
|
]
|
|
33
33
|
}),
|
|
34
|
-
|
|
34
|
+
F.length > 0 ? /* @__PURE__ */ p("div", {
|
|
35
35
|
className: "ttw:flex ttw:flex-col ttw:items-center ttw:gap-1 ttw:rounded-md ttw:bg-muted ttw:px-3 ttw:py-3",
|
|
36
36
|
children: /* @__PURE__ */ p("ul", {
|
|
37
37
|
className: "ttw:flex ttw:flex-col ttw:items-center ttw:gap-1",
|
|
38
|
-
children:
|
|
38
|
+
children: F.map((e) => /* @__PURE__ */ p("li", {
|
|
39
39
|
className: "ttw:list-disc ttw:text-sm ttw:text-foreground",
|
|
40
40
|
children: e.names.map((e, t) => /* @__PURE__ */ m(u, { children: [t > 0 ? /* @__PURE__ */ p("span", {
|
|
41
41
|
className: "ttw:text-muted-foreground",
|
|
42
|
-
children: ` ${
|
|
42
|
+
children: ` ${E.orConnector} `
|
|
43
43
|
}) : null, /* @__PURE__ */ p("span", {
|
|
44
44
|
className: "ttw:font-medium",
|
|
45
45
|
children: e
|
|
@@ -50,38 +50,38 @@ function h({ open: h, copy: g, onConfirm: _, onCancel: v, isPending: y, labels:
|
|
|
50
50
|
g.reason ? /* @__PURE__ */ m("div", {
|
|
51
51
|
className: "ttw:flex ttw:flex-col ttw:gap-2",
|
|
52
52
|
children: [/* @__PURE__ */ m(s, {
|
|
53
|
-
htmlFor:
|
|
53
|
+
htmlFor: T,
|
|
54
54
|
children: [g.reason.label, /* @__PURE__ */ p("span", {
|
|
55
55
|
className: "ttw:ml-1 ttw:text-muted-foreground",
|
|
56
56
|
children: g.reason.optionalHint
|
|
57
57
|
})]
|
|
58
58
|
}), /* @__PURE__ */ p(c, {
|
|
59
|
-
id:
|
|
60
|
-
value:
|
|
59
|
+
id: T,
|
|
60
|
+
value: D,
|
|
61
61
|
placeholder: g.reason.placeholder,
|
|
62
|
-
onChange: (e) =>
|
|
62
|
+
onChange: (e) => O(e.target.value),
|
|
63
63
|
disabled: y,
|
|
64
|
-
"data-testid":
|
|
64
|
+
"data-testid": w
|
|
65
65
|
})]
|
|
66
66
|
}) : null,
|
|
67
67
|
/* @__PURE__ */ m(r, {
|
|
68
|
-
className:
|
|
68
|
+
className: N ? "ttw:sm:justify-center" : void 0,
|
|
69
69
|
children: [/* @__PURE__ */ p(o, {
|
|
70
70
|
type: "button",
|
|
71
71
|
variant: "outline",
|
|
72
72
|
onClick: v,
|
|
73
73
|
disabled: y,
|
|
74
|
-
className:
|
|
75
|
-
children:
|
|
76
|
-
}), /* @__PURE__ */
|
|
74
|
+
className: P ? "ttw:flex-1" : void 0,
|
|
75
|
+
children: E.cancelButton
|
|
76
|
+
}), /* @__PURE__ */ m(o, {
|
|
77
77
|
type: "button",
|
|
78
|
-
variant:
|
|
78
|
+
variant: j === "destructive" ? "destructive" : "default",
|
|
79
79
|
loading: y,
|
|
80
80
|
disabled: y,
|
|
81
|
-
onClick: () => _(g.reason ?
|
|
82
|
-
className:
|
|
83
|
-
"data-testid":
|
|
84
|
-
children: g.confirmButton
|
|
81
|
+
onClick: () => _(g.reason ? D.trim() : void 0),
|
|
82
|
+
className: P ? "ttw:flex-1" : void 0,
|
|
83
|
+
"data-testid": C,
|
|
84
|
+
children: [y ? null : b, g.confirmButton]
|
|
85
85
|
})]
|
|
86
86
|
})
|
|
87
87
|
]
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js
|
|
2
2
|
var e = {
|
|
3
|
-
|
|
4
|
-
otherBill: "another bill",
|
|
5
|
-
messageSuffix: ".",
|
|
3
|
+
message: "This bill is a possible duplicate of another bill.",
|
|
6
4
|
notADuplicateButton: "Not a duplicate",
|
|
7
5
|
removeBillButton: "Remove this bill"
|
|
8
6
|
};
|
|
@@ -3,42 +3,32 @@ import { BILL_DUPLICATE_NOTICE_LABELS_EN as r } from "./index59.js";
|
|
|
3
3
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
4
4
|
import { CopyX as o } from "lucide-react";
|
|
5
5
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js
|
|
6
|
-
function s({ onNotADuplicate: s, onRemoveBill: c,
|
|
6
|
+
function s({ onNotADuplicate: s, onRemoveBill: c, isActionDisabled: l, testId: u, labels: d }) {
|
|
7
7
|
let f = {
|
|
8
8
|
...r,
|
|
9
9
|
...d
|
|
10
|
-
}
|
|
11
|
-
type: "button",
|
|
12
|
-
onClick: l,
|
|
13
|
-
className: "ttw:underline ttw:hover:no-underline",
|
|
14
|
-
children: f.otherBill
|
|
15
|
-
}) : /* @__PURE__ */ i("span", {
|
|
16
|
-
className: "ttw:underline",
|
|
17
|
-
children: f.otherBill
|
|
18
|
-
});
|
|
10
|
+
};
|
|
19
11
|
return /* @__PURE__ */ a(e, {
|
|
20
12
|
className: "ttw:[&>svg]:size-6 ttw:flex ttw:items-center ttw:bg-amber-50 ttw:text-amber-700 ttw:border-amber-300",
|
|
21
13
|
"data-testid": u,
|
|
22
14
|
children: [
|
|
23
15
|
/* @__PURE__ */ i(o, {}),
|
|
24
|
-
/* @__PURE__ */
|
|
16
|
+
/* @__PURE__ */ i(t, {
|
|
25
17
|
className: "ttw:flex-1",
|
|
26
|
-
children:
|
|
27
|
-
f.messagePrefix,
|
|
28
|
-
p,
|
|
29
|
-
f.messageSuffix
|
|
30
|
-
]
|
|
18
|
+
children: f.message
|
|
31
19
|
}),
|
|
32
20
|
s ? /* @__PURE__ */ i(n, {
|
|
33
21
|
type: "button",
|
|
34
22
|
variant: "outline",
|
|
35
23
|
className: "ttw:text-foreground",
|
|
24
|
+
disabled: l,
|
|
36
25
|
onClick: s,
|
|
37
26
|
children: f.notADuplicateButton
|
|
38
27
|
}) : null,
|
|
39
28
|
c ? /* @__PURE__ */ i(n, {
|
|
40
29
|
type: "button",
|
|
41
30
|
variant: "destructive",
|
|
31
|
+
disabled: l,
|
|
42
32
|
onClick: c,
|
|
43
33
|
children: f.removeBillButton
|
|
44
34
|
}) : null
|
|
@@ -1,18 +1,121 @@
|
|
|
1
|
+
import { Button as e, Checkbox as t, Table as n, TableBody as r, TableCell as i, TableHead as a, TableHeader as o, TableRow as s } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { BillStatusBadge as c } from "./index20.js";
|
|
3
|
+
import "./index21.js";
|
|
4
|
+
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
5
|
+
import { Ban as d, ChevronRightIcon as f } from "lucide-react";
|
|
1
6
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
7
|
+
var p = "ttw:border-b ttw:border-border", m = `${p} ttw:whitespace-nowrap`, h = "ttw:bg-white", g = "ttw:gap-4", _ = "ttw:gap-2.5";
|
|
8
|
+
function v({ group: v, isBusy: y, labels: b }) {
|
|
9
|
+
let x = v.isActionDisabled || y || v.isRemoveUnavailable, S = !!(v.onKeepSelected || v.onRemoveDuplicates);
|
|
10
|
+
return /* @__PURE__ */ u("div", {
|
|
11
|
+
className: `ttw:flex ttw:flex-col ${g}`,
|
|
12
|
+
children: [/* @__PURE__ */ u(n, { children: [/* @__PURE__ */ l(o, { children: /* @__PURE__ */ u(s, { children: [
|
|
13
|
+
S ? /* @__PURE__ */ l(a, {
|
|
14
|
+
className: "ttw:w-11",
|
|
15
|
+
children: /* @__PURE__ */ l(t, {
|
|
16
|
+
className: h,
|
|
17
|
+
"aria-label": v.selectAllLabel,
|
|
18
|
+
checked: v.selectAllChecked ?? !1,
|
|
19
|
+
disabled: y,
|
|
20
|
+
onCheckedChange: v.onToggleAllRows
|
|
21
|
+
})
|
|
22
|
+
}) : null,
|
|
23
|
+
/* @__PURE__ */ l(a, { children: b.columnAddedOn }),
|
|
24
|
+
/* @__PURE__ */ l(a, { children: b.columnInvoiceDate }),
|
|
25
|
+
/* @__PURE__ */ l(a, { children: b.columnStatus }),
|
|
26
|
+
/* @__PURE__ */ l(a, { children: b.columnInvoiceNumber }),
|
|
27
|
+
/* @__PURE__ */ l(a, { children: b.columnAmount }),
|
|
28
|
+
/* @__PURE__ */ l(a, {
|
|
29
|
+
className: "ttw:w-14",
|
|
30
|
+
children: /* @__PURE__ */ l("span", {
|
|
31
|
+
className: "ttw:sr-only",
|
|
32
|
+
children: b.columnActions
|
|
33
|
+
})
|
|
34
|
+
})
|
|
35
|
+
] }) }), /* @__PURE__ */ l(r, { children: v.rows.map((n) => /* @__PURE__ */ u(s, { children: [
|
|
36
|
+
S ? /* @__PURE__ */ l(i, {
|
|
37
|
+
className: p,
|
|
38
|
+
children: /* @__PURE__ */ l(t, {
|
|
39
|
+
className: h,
|
|
40
|
+
"aria-label": n.selectLabel,
|
|
41
|
+
checked: n.isSelected ?? !1,
|
|
42
|
+
disabled: y,
|
|
43
|
+
onCheckedChange: n.onToggleSelected
|
|
44
|
+
})
|
|
45
|
+
}) : null,
|
|
46
|
+
/* @__PURE__ */ l(i, {
|
|
47
|
+
className: m,
|
|
48
|
+
children: n.addedOnLabel
|
|
49
|
+
}),
|
|
50
|
+
/* @__PURE__ */ l(i, {
|
|
51
|
+
className: m,
|
|
52
|
+
children: n.invoiceDateLabel
|
|
53
|
+
}),
|
|
54
|
+
/* @__PURE__ */ l(i, {
|
|
55
|
+
className: m,
|
|
56
|
+
children: n.status && n.statusTone ? /* @__PURE__ */ l(c, {
|
|
57
|
+
status: n.status,
|
|
58
|
+
tone: n.statusTone,
|
|
59
|
+
labels: b.statusBadge
|
|
60
|
+
}) : null
|
|
61
|
+
}),
|
|
62
|
+
/* @__PURE__ */ l(i, {
|
|
63
|
+
className: m,
|
|
64
|
+
children: n.invoiceNumberLabel
|
|
65
|
+
}),
|
|
66
|
+
/* @__PURE__ */ l(i, {
|
|
67
|
+
className: m,
|
|
68
|
+
children: n.amountLabel
|
|
69
|
+
}),
|
|
70
|
+
/* @__PURE__ */ l(i, {
|
|
71
|
+
className: p,
|
|
72
|
+
children: /* @__PURE__ */ l("div", {
|
|
73
|
+
className: "ttw:flex ttw:justify-end",
|
|
74
|
+
children: /* @__PURE__ */ l(e, {
|
|
75
|
+
variant: "ghost",
|
|
76
|
+
size: "icon",
|
|
77
|
+
"aria-label": n.openLabel,
|
|
78
|
+
disabled: y,
|
|
79
|
+
onClick: n.onOpen,
|
|
80
|
+
children: /* @__PURE__ */ l(f, { className: "ttw:size-4" })
|
|
81
|
+
})
|
|
82
|
+
})
|
|
83
|
+
})
|
|
84
|
+
] }, n.id)) })] }), /* @__PURE__ */ u("div", {
|
|
85
|
+
className: "ttw:flex ttw:flex-col ttw:items-end ttw:gap-2",
|
|
86
|
+
children: [/* @__PURE__ */ u("p", {
|
|
87
|
+
className: "ttw:text-right ttw:text-sm ttw:text-muted-foreground",
|
|
88
|
+
children: [
|
|
89
|
+
b.removalHelperBeforeDraft,
|
|
90
|
+
/* @__PURE__ */ l("span", {
|
|
91
|
+
className: "ttw:font-semibold",
|
|
92
|
+
children: b.removalHelperDraft
|
|
93
|
+
}),
|
|
94
|
+
b.removalHelperBetween,
|
|
95
|
+
/* @__PURE__ */ l("span", {
|
|
96
|
+
className: "ttw:font-semibold",
|
|
97
|
+
children: b.removalHelperFinalized
|
|
98
|
+
}),
|
|
99
|
+
b.removalHelperAfterFinalized
|
|
100
|
+
]
|
|
101
|
+
}), S ? /* @__PURE__ */ u("div", {
|
|
102
|
+
className: `ttw:flex ttw:flex-wrap ttw:justify-end ${_}`,
|
|
103
|
+
children: [v.onKeepSelected ? /* @__PURE__ */ l(e, {
|
|
104
|
+
variant: "outline",
|
|
105
|
+
disabled: v.isActionDisabled || y,
|
|
106
|
+
loading: v.pendingAction === "keep",
|
|
107
|
+
onClick: v.onKeepSelected,
|
|
108
|
+
children: b.keepSelectedButton
|
|
109
|
+
}) : null, v.onRemoveDuplicates ? /* @__PURE__ */ u(e, {
|
|
110
|
+
variant: "destructive",
|
|
111
|
+
disabled: x,
|
|
112
|
+
loading: v.pendingAction === "remove",
|
|
113
|
+
onClick: v.onRemoveDuplicates,
|
|
114
|
+
children: [v.pendingAction === "remove" ? null : /* @__PURE__ */ l(d, {}), b.removeDuplicatesButton]
|
|
115
|
+
}) : null]
|
|
116
|
+
}) : null]
|
|
117
|
+
})]
|
|
118
|
+
});
|
|
119
|
+
}
|
|
17
120
|
//#endregion
|
|
18
|
-
export {
|
|
121
|
+
export { v as DuplicateBillsGroupPanel, v as default };
|
|
@@ -1,113 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import "./index58.js";
|
|
4
|
-
import { DUPLICATE_BILLS_DIALOG_LABELS_EN as h } from "./index73.js";
|
|
5
|
-
import { useMemo as g } from "react";
|
|
6
|
-
import { jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
7
|
-
import { Ban as y, ChevronRightIcon as b, CopyX as x } from "lucide-react";
|
|
1
|
+
import { BILL_STATUS_BADGE_LABELS_EN as e } from "./index18.js";
|
|
2
|
+
import "./index21.js";
|
|
8
3
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}),
|
|
31
|
-
/* @__PURE__ */ _(s, { children: j.title }),
|
|
32
|
-
/* @__PURE__ */ v(i, { children: [/* @__PURE__ */ _("span", {
|
|
33
|
-
className: "ttw:block",
|
|
34
|
-
children: j.descriptionFirstLine
|
|
35
|
-
}), /* @__PURE__ */ _("span", {
|
|
36
|
-
className: "ttw:block",
|
|
37
|
-
children: j.descriptionSecondLine
|
|
38
|
-
})] })
|
|
39
|
-
]
|
|
40
|
-
}),
|
|
41
|
-
/* @__PURE__ */ _("div", {
|
|
42
|
-
className: "ttw:max-h-80 ttw:overflow-y-auto",
|
|
43
|
-
children: /* @__PURE__ */ v(c, { children: [/* @__PURE__ */ _(f, {
|
|
44
|
-
className: "ttw:sticky ttw:top-0 ttw:bg-background",
|
|
45
|
-
children: /* @__PURE__ */ v(p, { children: [
|
|
46
|
-
/* @__PURE__ */ _(d, {
|
|
47
|
-
className: "ttw:w-10",
|
|
48
|
-
children: /* @__PURE__ */ _(t, {
|
|
49
|
-
"aria-label": j.selectAllRows,
|
|
50
|
-
checked: T,
|
|
51
|
-
onCheckedChange: E
|
|
52
|
-
})
|
|
53
|
-
}),
|
|
54
|
-
/* @__PURE__ */ _(d, { children: j.columnDuplicate }),
|
|
55
|
-
/* @__PURE__ */ _(d, { children: j.columnVendor }),
|
|
56
|
-
/* @__PURE__ */ _(d, { children: j.columnInvoiceNumber }),
|
|
57
|
-
/* @__PURE__ */ _(d, { children: j.columnAmount }),
|
|
58
|
-
/* @__PURE__ */ _(d, { children: j.columnInvoiceDate }),
|
|
59
|
-
/* @__PURE__ */ _(d, { children: j.columnAddedOn }),
|
|
60
|
-
/* @__PURE__ */ _(d, {
|
|
61
|
-
className: "ttw:w-10",
|
|
62
|
-
children: /* @__PURE__ */ _("span", {
|
|
63
|
-
className: "ttw:sr-only",
|
|
64
|
-
children: j.columnActions
|
|
65
|
-
})
|
|
66
|
-
})
|
|
67
|
-
] })
|
|
68
|
-
}), /* @__PURE__ */ _(l, { children: w.map((n) => /* @__PURE__ */ v(p, { children: [
|
|
69
|
-
/* @__PURE__ */ _(u, { children: /* @__PURE__ */ _(t, {
|
|
70
|
-
"aria-label": n.selectLabel,
|
|
71
|
-
checked: n.isSelected ?? !1,
|
|
72
|
-
onCheckedChange: n.onToggleSelected
|
|
73
|
-
}) }),
|
|
74
|
-
/* @__PURE__ */ _(u, { children: /* @__PURE__ */ _(m, { ...n.duplicateBadge }) }),
|
|
75
|
-
/* @__PURE__ */ _(u, { children: n.vendorLabel }),
|
|
76
|
-
/* @__PURE__ */ _(u, { children: n.invoiceNumberLabel }),
|
|
77
|
-
/* @__PURE__ */ _(u, { children: n.amountLabel }),
|
|
78
|
-
/* @__PURE__ */ _(u, { children: n.invoiceDateLabel }),
|
|
79
|
-
/* @__PURE__ */ _(u, { children: n.addedOnLabel }),
|
|
80
|
-
/* @__PURE__ */ _(u, { children: /* @__PURE__ */ _("div", {
|
|
81
|
-
className: "ttw:flex ttw:justify-end",
|
|
82
|
-
children: /* @__PURE__ */ _(e, {
|
|
83
|
-
variant: "ghost",
|
|
84
|
-
size: "icon",
|
|
85
|
-
"aria-label": n.openLabel,
|
|
86
|
-
onClick: n.onOpen,
|
|
87
|
-
children: /* @__PURE__ */ _(b, { className: "ttw:size-4" })
|
|
88
|
-
})
|
|
89
|
-
}) })
|
|
90
|
-
] }, n.id)) })] })
|
|
91
|
-
}),
|
|
92
|
-
D || O ? /* @__PURE__ */ v(a, {
|
|
93
|
-
className: "ttw:flex-row",
|
|
94
|
-
children: [D ? /* @__PURE__ */ _(e, {
|
|
95
|
-
variant: "outline",
|
|
96
|
-
className: "ttw:flex-1",
|
|
97
|
-
disabled: k,
|
|
98
|
-
onClick: D,
|
|
99
|
-
children: j.keepSelectedButton
|
|
100
|
-
}) : null, O ? /* @__PURE__ */ v(e, {
|
|
101
|
-
variant: "destructive",
|
|
102
|
-
className: "ttw:flex-1",
|
|
103
|
-
disabled: k,
|
|
104
|
-
onClick: O,
|
|
105
|
-
children: [/* @__PURE__ */ _(y, {}), j.cancelDuplicatesButton]
|
|
106
|
-
}) : null]
|
|
107
|
-
}) : null
|
|
108
|
-
]
|
|
109
|
-
})
|
|
110
|
-
});
|
|
111
|
-
}
|
|
4
|
+
var t = {
|
|
5
|
+
title: "Possible duplicate files",
|
|
6
|
+
descriptionFirstLine: "The following bills may be duplicates of each other.",
|
|
7
|
+
descriptionSecondLine: "You can keep or remove duplicates, or view them for more detail before making a decision.",
|
|
8
|
+
columnAddedOn: "Added on",
|
|
9
|
+
columnInvoiceDate: "Invoice date",
|
|
10
|
+
columnStatus: "Status",
|
|
11
|
+
columnInvoiceNumber: "Invoice number",
|
|
12
|
+
columnAmount: "Amount",
|
|
13
|
+
columnActions: "Actions",
|
|
14
|
+
statusBadge: e,
|
|
15
|
+
removalHelperBeforeDraft: "Removing duplicates deletes ",
|
|
16
|
+
removalHelperDraft: "Draft",
|
|
17
|
+
removalHelperBetween: " bills, and cancels ",
|
|
18
|
+
removalHelperFinalized: "Finalized bills",
|
|
19
|
+
removalHelperAfterFinalized: ". This action cannot be undone.",
|
|
20
|
+
keepSelectedButton: "Keep selected files as their own file",
|
|
21
|
+
removeDuplicatesButton: "Remove selected duplicates",
|
|
22
|
+
emptyState: "No possible duplicates left to review.",
|
|
23
|
+
errorState: "Couldn't load the possible duplicates. Try again shortly."
|
|
24
|
+
};
|
|
112
25
|
//#endregion
|
|
113
|
-
export {
|
|
26
|
+
export { t as DUPLICATE_BILLS_DIALOG_LABELS_EN };
|
|
@@ -1,2 +1,89 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "./index74.js";
|
|
1
|
+
import { Accordion as e, AccordionContent as t, AccordionItem as n, AccordionTrigger as r, Dialog as i, DialogContent as a, DialogDescription as o, DialogHeader as s, DialogTitle as c, Spinner as l } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { DUPLICATE_BILLS_DIALOG_LABELS_EN as u } from "./index74.js";
|
|
3
|
+
import { DuplicateBillsGroupPanel as d } from "./index73.js";
|
|
4
|
+
import { useMemo as f } from "react";
|
|
5
|
+
import { jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
6
|
+
import { CopyX as h } from "lucide-react";
|
|
7
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js
|
|
8
|
+
function g({ open: g, onOpenChange: _, groups: v, isLoading: y, isError: b, expandedGroupId: x, onExpandedGroupChange: S, isBusy: C, labels: w }) {
|
|
9
|
+
let T = f(() => ({
|
|
10
|
+
...u,
|
|
11
|
+
...w,
|
|
12
|
+
statusBadge: {
|
|
13
|
+
...u.statusBadge,
|
|
14
|
+
...w?.statusBadge
|
|
15
|
+
}
|
|
16
|
+
}), [w]);
|
|
17
|
+
return /* @__PURE__ */ p(i, {
|
|
18
|
+
open: g,
|
|
19
|
+
onOpenChange: (e) => {
|
|
20
|
+
C && !e || _(e);
|
|
21
|
+
},
|
|
22
|
+
children: /* @__PURE__ */ m(a, {
|
|
23
|
+
className: "ttw:flex ttw:flex-col ttw:gap-8 ttw:overflow-hidden ttw:max-h-[90vh] ttw:sm:max-w-240",
|
|
24
|
+
showCloseButton: !C,
|
|
25
|
+
children: [/* @__PURE__ */ m(s, {
|
|
26
|
+
className: "ttw:items-center ttw:gap-3 ttw:text-center ttw:sm:text-center",
|
|
27
|
+
children: [
|
|
28
|
+
/* @__PURE__ */ p("div", {
|
|
29
|
+
className: "ttw:flex ttw:items-center ttw:justify-center ttw:border ttw:rounded-full ttw:size-11 ttw:border-orange-300 ttw:bg-orange-200",
|
|
30
|
+
children: /* @__PURE__ */ p(h, {
|
|
31
|
+
className: "ttw:size-4 ttw:text-orange-950",
|
|
32
|
+
"aria-hidden": !0
|
|
33
|
+
})
|
|
34
|
+
}),
|
|
35
|
+
/* @__PURE__ */ p(c, { children: T.title }),
|
|
36
|
+
/* @__PURE__ */ m(o, { children: [/* @__PURE__ */ p("span", {
|
|
37
|
+
className: "ttw:block",
|
|
38
|
+
children: T.descriptionFirstLine
|
|
39
|
+
}), /* @__PURE__ */ p("span", {
|
|
40
|
+
className: "ttw:block",
|
|
41
|
+
children: T.descriptionSecondLine
|
|
42
|
+
})] })
|
|
43
|
+
]
|
|
44
|
+
}), /* @__PURE__ */ p("div", {
|
|
45
|
+
className: "ttw:min-h-0 ttw:overflow-y-auto",
|
|
46
|
+
children: y ? /* @__PURE__ */ p("div", {
|
|
47
|
+
className: "ttw:flex ttw:justify-center ttw:py-8",
|
|
48
|
+
children: /* @__PURE__ */ p(l, { className: "ttw:size-6 ttw:text-muted-foreground" })
|
|
49
|
+
}) : b ? /* @__PURE__ */ p("p", {
|
|
50
|
+
className: "ttw:py-8 ttw:text-center ttw:text-sm ttw:text-muted-foreground",
|
|
51
|
+
children: T.errorState
|
|
52
|
+
}) : v.length === 0 ? /* @__PURE__ */ p("p", {
|
|
53
|
+
className: "ttw:py-8 ttw:text-center ttw:text-sm ttw:text-muted-foreground",
|
|
54
|
+
children: T.emptyState
|
|
55
|
+
}) : /* @__PURE__ */ p(e, {
|
|
56
|
+
type: "single",
|
|
57
|
+
value: x ?? "",
|
|
58
|
+
onValueChange: S,
|
|
59
|
+
className: "ttw:flex ttw:flex-col ttw:gap-2",
|
|
60
|
+
children: v.map((e) => /* @__PURE__ */ m(n, {
|
|
61
|
+
value: e.id,
|
|
62
|
+
className: "ttw:rounded-md ttw:border-b-transparent ttw:bg-muted ttw:px-4",
|
|
63
|
+
children: [/* @__PURE__ */ p(r, {
|
|
64
|
+
"aria-label": e.accessibleLabel,
|
|
65
|
+
disabled: C,
|
|
66
|
+
className: "ttw:hover:no-underline!",
|
|
67
|
+
children: /* @__PURE__ */ m("span", {
|
|
68
|
+
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
69
|
+
children: [/* @__PURE__ */ p("span", {
|
|
70
|
+
className: "ttw:font-medium",
|
|
71
|
+
children: e.titleLabel
|
|
72
|
+
}), /* @__PURE__ */ p("span", {
|
|
73
|
+
className: "ttw:inline-flex ttw:size-5 ttw:items-center ttw:justify-center ttw:rounded-full ttw:bg-white ttw:text-xs ttw:font-medium",
|
|
74
|
+
children: e.countLabel
|
|
75
|
+
})]
|
|
76
|
+
})
|
|
77
|
+
}), /* @__PURE__ */ p(t, { children: /* @__PURE__ */ p(d, {
|
|
78
|
+
group: e,
|
|
79
|
+
isBusy: C,
|
|
80
|
+
labels: T
|
|
81
|
+
}) })]
|
|
82
|
+
}, e.id))
|
|
83
|
+
})
|
|
84
|
+
})]
|
|
85
|
+
})
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
//#endregion
|
|
89
|
+
export { g as DuplicateBillsDialog, g as default };
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
message: "Data extracted automatically — please review all details to make sure they match",
|
|
4
|
-
dismiss: "Dismiss this notice"
|
|
5
|
-
};
|
|
6
|
-
//#endregion
|
|
7
|
-
export { e as EXTRACTION_NOTICE_LABELS_EN };
|
|
1
|
+
import "./index74.js";
|
|
2
|
+
import "./index75.js";
|
|
@@ -1,30 +1,7 @@
|
|
|
1
|
-
import { EXTRACTION_NOTICE_LABELS_EN as e } from "./index76.js";
|
|
2
|
-
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
-
import { Info as r, X as i } from "lucide-react";
|
|
4
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
};
|
|
10
|
-
return /* @__PURE__ */ n("div", {
|
|
11
|
-
className: "ttw:flex ttw:items-start ttw:gap-3 ttw:rounded-md ttw:border ttw:border-primary/30 ttw:bg-primary/5 ttw:px-3 ttw:py-2.5",
|
|
12
|
-
"data-testid": o,
|
|
13
|
-
children: [
|
|
14
|
-
/* @__PURE__ */ t(r, { className: "ttw:mt-0.5 ttw:size-4 ttw:shrink-0 ttw:text-primary" }),
|
|
15
|
-
/* @__PURE__ */ t("p", {
|
|
16
|
-
className: "ttw:flex-1 ttw:text-sm ttw:text-foreground",
|
|
17
|
-
children: c.message
|
|
18
|
-
}),
|
|
19
|
-
/* @__PURE__ */ t("button", {
|
|
20
|
-
type: "button",
|
|
21
|
-
onClick: a,
|
|
22
|
-
"aria-label": c.dismiss,
|
|
23
|
-
className: "ttw:shrink-0 ttw:text-muted-foreground ttw:hover:text-foreground",
|
|
24
|
-
children: /* @__PURE__ */ t(i, { className: "ttw:size-4" })
|
|
25
|
-
})
|
|
26
|
-
]
|
|
27
|
-
});
|
|
28
|
-
}
|
|
2
|
+
var e = {
|
|
3
|
+
message: "Data extracted automatically — please review all details to make sure they match",
|
|
4
|
+
dismiss: "Dismiss this notice"
|
|
5
|
+
};
|
|
29
6
|
//#endregion
|
|
30
|
-
export {
|
|
7
|
+
export { e as EXTRACTION_NOTICE_LABELS_EN };
|
|
@@ -1,2 +1,30 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "
|
|
1
|
+
import { EXTRACTION_NOTICE_LABELS_EN as e } from "./index77.js";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
import { Info as r, X as i } from "lucide-react";
|
|
4
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js
|
|
5
|
+
function a({ onDismiss: a, testId: o, labels: s }) {
|
|
6
|
+
let c = {
|
|
7
|
+
...e,
|
|
8
|
+
...s
|
|
9
|
+
};
|
|
10
|
+
return /* @__PURE__ */ n("div", {
|
|
11
|
+
className: "ttw:flex ttw:items-start ttw:gap-3 ttw:rounded-md ttw:border ttw:border-primary/30 ttw:bg-primary/5 ttw:px-3 ttw:py-2.5",
|
|
12
|
+
"data-testid": o,
|
|
13
|
+
children: [
|
|
14
|
+
/* @__PURE__ */ t(r, { className: "ttw:mt-0.5 ttw:size-4 ttw:shrink-0 ttw:text-primary" }),
|
|
15
|
+
/* @__PURE__ */ t("p", {
|
|
16
|
+
className: "ttw:flex-1 ttw:text-sm ttw:text-foreground",
|
|
17
|
+
children: c.message
|
|
18
|
+
}),
|
|
19
|
+
/* @__PURE__ */ t("button", {
|
|
20
|
+
type: "button",
|
|
21
|
+
onClick: a,
|
|
22
|
+
"aria-label": c.dismiss,
|
|
23
|
+
className: "ttw:shrink-0 ttw:text-muted-foreground ttw:hover:text-foreground",
|
|
24
|
+
children: /* @__PURE__ */ t(i, { className: "ttw:size-4" })
|
|
25
|
+
})
|
|
26
|
+
]
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
export { a as ExtractionNotice, a as default };
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
revealValue: "Show value",
|
|
4
|
-
hideValue: "Hide value"
|
|
5
|
-
};
|
|
6
|
-
//#endregion
|
|
7
|
-
export { e as REVEALABLE_FIELD_LABELS_EN };
|
|
1
|
+
import "./index77.js";
|
|
2
|
+
import "./index78.js";
|