@tesouro/embedded-components-react 0.4.12 → 0.4.14
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.js +1 -1
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/lib/monite-sdk.d.ts +204 -468
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +37 -78
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +98 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +81 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +7 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +16 -61
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +26 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +63 -65
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +66 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index2.js +6 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +4 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +3 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +28 -166
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +40 -44
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +173 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +45 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +1 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +45 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +13 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +55 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +8 -66
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +7 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +58 -126
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +15 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +134 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +14 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +4 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +39 -87
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +78 -67
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +78 -48
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +24 -57
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +47 -91
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +119 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +33 -168
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +170 -75
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +75 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +23 -210
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +199 -203
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +198 -89
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +105 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +12 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +23 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +47 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +27 -198
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +198 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +30 -234
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +240 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +19 -342
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +364 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +4 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +32 -167
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +186 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +56 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +3 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +2 -44
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +46 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +6 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +9 -92
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +94 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +3 -128
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +125 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +8 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +5 -69
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +8 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +43 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +20 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +27 -82
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +83 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +47 -250
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +239 -101
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +107 -202
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +209 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +5 -43
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +6 -113
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +115 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +25 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +64 -89
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +40 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +52 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index15.js +2 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +12 -62
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +28 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +6 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +161 -154
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +47 -337
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +20 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +327 -107
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +13 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +113 -92
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +95 -55
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +9 -51
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +56 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +2 -160
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +11 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +178 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +2 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +37 -88
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +5 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +88 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +2 -84
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +11 -282
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +2 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +87 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +294 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +9 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +5 -36
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +37 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +2 -201
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +39 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +3 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +187 -333
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +3 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +335 -81
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +8 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +87 -121
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +2 -89
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +127 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +25 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +85 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +26 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +4 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +30 -102
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +9 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +85 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +123 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +2 -170
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +158 -96
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +11 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +100 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index618.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
- package/package.json +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +0 -28
|
@@ -1,127 +1,93 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { cn as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { BILL_UPLOAD_STATUS_TRAY_LABELS_EN as t } from "./index72.js";
|
|
3
|
+
import { UPLOAD_ITEM_ICON_TONE as n } from "./index73.js";
|
|
4
|
+
import { useId as r } from "react";
|
|
5
|
+
import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
6
|
+
import { CheckCircle2 as s, ChevronDown as c, ChevronRight as l, ChevronUp as u, Loader2 as d, X as f, XCircle as p } from "lucide-react";
|
|
6
7
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
className:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
className: p,
|
|
78
|
-
children: /* @__PURE__ */ l("div", {
|
|
79
|
-
className: "ttw:flex ttw:justify-end",
|
|
80
|
-
children: /* @__PURE__ */ l(e, {
|
|
81
|
-
variant: "ghost",
|
|
82
|
-
size: "icon",
|
|
83
|
-
"aria-label": n.openLabel,
|
|
84
|
-
disabled: y,
|
|
85
|
-
onClick: n.onOpen,
|
|
86
|
-
children: /* @__PURE__ */ l(f, { className: "ttw:size-4" })
|
|
87
|
-
})
|
|
8
|
+
function m({ status: t }) {
|
|
9
|
+
let r = e("ttw:size-4", n[t]);
|
|
10
|
+
return t === "uploading" ? /* @__PURE__ */ a(d, {
|
|
11
|
+
"aria-hidden": !0,
|
|
12
|
+
className: e(r, "ttw:animate-spin")
|
|
13
|
+
}) : a(t === "ready" ? s : p, {
|
|
14
|
+
"aria-hidden": !0,
|
|
15
|
+
className: r
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
function h({ item: t, labels: n }) {
|
|
19
|
+
let s = r(), c = /* @__PURE__ */ o(i, { children: [
|
|
20
|
+
/* @__PURE__ */ a(m, { status: t.status }),
|
|
21
|
+
/* @__PURE__ */ a("span", {
|
|
22
|
+
id: s,
|
|
23
|
+
className: "ttw:sr-only",
|
|
24
|
+
children: n.statusLabel(t.status)
|
|
25
|
+
}),
|
|
26
|
+
/* @__PURE__ */ a("span", {
|
|
27
|
+
className: "ttw:flex-1 ttw:truncate ttw:text-left ttw:text-sm ttw:text-foreground",
|
|
28
|
+
children: t.fileName
|
|
29
|
+
}),
|
|
30
|
+
t.onOpen ? /* @__PURE__ */ a(l, {
|
|
31
|
+
"aria-hidden": !0,
|
|
32
|
+
className: "ttw:size-4"
|
|
33
|
+
}) : null
|
|
34
|
+
] }), u = "ttw:flex ttw:items-center ttw:gap-3 ttw:px-4 ttw:py-2.5";
|
|
35
|
+
return t.onOpen ? /* @__PURE__ */ a("button", {
|
|
36
|
+
type: "button",
|
|
37
|
+
onClick: t.onOpen,
|
|
38
|
+
"aria-describedby": s,
|
|
39
|
+
"aria-label": n.openItem(t.fileName),
|
|
40
|
+
className: e(u, "ttw:w-full ttw:text-muted-foreground ttw:transition-colors ttw:hover:bg-muted/50 ttw:hover:text-foreground"),
|
|
41
|
+
children: c
|
|
42
|
+
}) : /* @__PURE__ */ a("div", {
|
|
43
|
+
"aria-describedby": s,
|
|
44
|
+
className: u,
|
|
45
|
+
children: c
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
function g({ sections: e, summaryLabel: n, collapsed: r, onToggleCollapsed: i, onClose: s, testId: l, labels: d }) {
|
|
49
|
+
let p = {
|
|
50
|
+
...t,
|
|
51
|
+
...d
|
|
52
|
+
};
|
|
53
|
+
return /* @__PURE__ */ o("div", {
|
|
54
|
+
className: "ttw:fixed ttw:right-4 ttw:bottom-4 ttw:z-50 ttw:w-96 ttw:max-w-[calc(100vw-2rem)] ttw:overflow-hidden ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card",
|
|
55
|
+
"data-testid": l,
|
|
56
|
+
children: [/* @__PURE__ */ o("div", {
|
|
57
|
+
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:border-b ttw:border-border ttw:bg-muted/40 ttw:px-4 ttw:py-3",
|
|
58
|
+
children: [
|
|
59
|
+
/* @__PURE__ */ a("span", {
|
|
60
|
+
"aria-live": "polite",
|
|
61
|
+
className: "ttw:flex-1 ttw:text-base ttw:font-semibold ttw:text-foreground",
|
|
62
|
+
children: n
|
|
63
|
+
}),
|
|
64
|
+
/* @__PURE__ */ a("button", {
|
|
65
|
+
type: "button",
|
|
66
|
+
onClick: i,
|
|
67
|
+
"aria-label": r ? p.expand : p.collapse,
|
|
68
|
+
"aria-expanded": !r,
|
|
69
|
+
className: "ttw:text-muted-foreground ttw:hover:text-foreground",
|
|
70
|
+
children: a(r ? u : c, { className: "ttw:size-4" })
|
|
71
|
+
}),
|
|
72
|
+
/* @__PURE__ */ a("button", {
|
|
73
|
+
type: "button",
|
|
74
|
+
onClick: s,
|
|
75
|
+
"aria-label": p.close,
|
|
76
|
+
className: "ttw:text-muted-foreground ttw:hover:text-foreground",
|
|
77
|
+
children: /* @__PURE__ */ a(f, { className: "ttw:size-4" })
|
|
88
78
|
})
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
className: "ttw:
|
|
92
|
-
children: [/* @__PURE__ */
|
|
93
|
-
className: "ttw:
|
|
94
|
-
children:
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
}),
|
|
100
|
-
b.removalHelperBetween,
|
|
101
|
-
/* @__PURE__ */ l("span", {
|
|
102
|
-
className: "ttw:font-semibold",
|
|
103
|
-
children: b.removalHelperSubmitted
|
|
104
|
-
}),
|
|
105
|
-
b.removalHelperAfterSubmitted
|
|
106
|
-
]
|
|
107
|
-
}), S ? /* @__PURE__ */ u("div", {
|
|
108
|
-
className: `ttw:flex ttw:flex-wrap ttw:justify-end ${_}`,
|
|
109
|
-
children: [v.onKeepSelected ? /* @__PURE__ */ l(e, {
|
|
110
|
-
variant: "outline",
|
|
111
|
-
disabled: v.isActionDisabled || y,
|
|
112
|
-
loading: v.pendingAction === "keep",
|
|
113
|
-
onClick: v.onKeepSelected,
|
|
114
|
-
children: b.keepSelectedButton
|
|
115
|
-
}) : null, v.onRemoveDuplicates ? /* @__PURE__ */ u(e, {
|
|
116
|
-
variant: "destructive",
|
|
117
|
-
disabled: x,
|
|
118
|
-
loading: v.pendingAction === "remove",
|
|
119
|
-
onClick: v.onRemoveDuplicates,
|
|
120
|
-
children: [v.pendingAction === "remove" ? null : /* @__PURE__ */ l(d, {}), b.removeDuplicatesButton]
|
|
121
|
-
}) : null]
|
|
122
|
-
}) : null]
|
|
79
|
+
]
|
|
80
|
+
}), r ? null : /* @__PURE__ */ a("div", {
|
|
81
|
+
className: "ttw:max-h-96 ttw:overflow-y-auto",
|
|
82
|
+
children: e.map((e) => /* @__PURE__ */ o("div", { children: [e.caption ? /* @__PURE__ */ a("p", {
|
|
83
|
+
className: "ttw:px-4 ttw:pt-3 ttw:pb-1 ttw:text-xs ttw:text-muted-foreground",
|
|
84
|
+
children: e.caption
|
|
85
|
+
}) : null, e.items.map((e) => /* @__PURE__ */ a(h, {
|
|
86
|
+
item: e,
|
|
87
|
+
labels: p
|
|
88
|
+
}, e.id))] }, e.id))
|
|
123
89
|
})]
|
|
124
90
|
});
|
|
125
91
|
}
|
|
126
92
|
//#endregion
|
|
127
|
-
export {
|
|
93
|
+
export { g as BillUploadStatusTray, g as default };
|
|
@@ -1,89 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { DuplicateBillsGroupPanel as d } from "./index74.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/index76.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
|
+
import "./index72.js";
|
|
2
|
+
import "./index74.js";
|
|
@@ -1,2 +1,127 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "./
|
|
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 "./index18.js";
|
|
3
|
+
import "./index19.js";
|
|
4
|
+
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
5
|
+
import { Ban as d, ChevronRightIcon as f } from "lucide-react";
|
|
6
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js
|
|
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: /* @__PURE__ */ u("div", {
|
|
57
|
+
className: "ttw:flex ttw:flex-col ttw:items-start ttw:gap-0.5",
|
|
58
|
+
children: [n.status && n.statusTone ? /* @__PURE__ */ l(c, {
|
|
59
|
+
status: n.status,
|
|
60
|
+
tone: n.statusTone,
|
|
61
|
+
labels: b.statusBadge
|
|
62
|
+
}) : null, n.removalOutcome ? /* @__PURE__ */ l("span", {
|
|
63
|
+
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
64
|
+
children: n.removalOutcome === "delete" ? b.removalOutcomeDelete : b.removalOutcomeCancel
|
|
65
|
+
}) : null]
|
|
66
|
+
})
|
|
67
|
+
}),
|
|
68
|
+
/* @__PURE__ */ l(i, {
|
|
69
|
+
className: m,
|
|
70
|
+
children: n.invoiceNumberLabel
|
|
71
|
+
}),
|
|
72
|
+
/* @__PURE__ */ l(i, {
|
|
73
|
+
className: m,
|
|
74
|
+
children: n.amountLabel
|
|
75
|
+
}),
|
|
76
|
+
/* @__PURE__ */ l(i, {
|
|
77
|
+
className: p,
|
|
78
|
+
children: /* @__PURE__ */ l("div", {
|
|
79
|
+
className: "ttw:flex ttw:justify-end",
|
|
80
|
+
children: /* @__PURE__ */ l(e, {
|
|
81
|
+
variant: "ghost",
|
|
82
|
+
size: "icon",
|
|
83
|
+
"aria-label": n.openLabel,
|
|
84
|
+
disabled: y,
|
|
85
|
+
onClick: n.onOpen,
|
|
86
|
+
children: /* @__PURE__ */ l(f, { className: "ttw:size-4" })
|
|
87
|
+
})
|
|
88
|
+
})
|
|
89
|
+
})
|
|
90
|
+
] }, n.id)) })] }), /* @__PURE__ */ u("div", {
|
|
91
|
+
className: "ttw:flex ttw:flex-col ttw:items-end ttw:gap-2",
|
|
92
|
+
children: [/* @__PURE__ */ u("p", {
|
|
93
|
+
className: "ttw:text-right ttw:text-sm ttw:text-muted-foreground",
|
|
94
|
+
children: [
|
|
95
|
+
b.removalHelperBeforeUnsubmitted,
|
|
96
|
+
/* @__PURE__ */ l("span", {
|
|
97
|
+
className: "ttw:font-semibold",
|
|
98
|
+
children: b.removalHelperUnsubmitted
|
|
99
|
+
}),
|
|
100
|
+
b.removalHelperBetween,
|
|
101
|
+
/* @__PURE__ */ l("span", {
|
|
102
|
+
className: "ttw:font-semibold",
|
|
103
|
+
children: b.removalHelperSubmitted
|
|
104
|
+
}),
|
|
105
|
+
b.removalHelperAfterSubmitted
|
|
106
|
+
]
|
|
107
|
+
}), S ? /* @__PURE__ */ u("div", {
|
|
108
|
+
className: `ttw:flex ttw:flex-wrap ttw:justify-end ${_}`,
|
|
109
|
+
children: [v.onKeepSelected ? /* @__PURE__ */ l(e, {
|
|
110
|
+
variant: "outline",
|
|
111
|
+
disabled: v.isActionDisabled || y,
|
|
112
|
+
loading: v.pendingAction === "keep",
|
|
113
|
+
onClick: v.onKeepSelected,
|
|
114
|
+
children: b.keepSelectedButton
|
|
115
|
+
}) : null, v.onRemoveDuplicates ? /* @__PURE__ */ u(e, {
|
|
116
|
+
variant: "destructive",
|
|
117
|
+
disabled: x,
|
|
118
|
+
loading: v.pendingAction === "remove",
|
|
119
|
+
onClick: v.onRemoveDuplicates,
|
|
120
|
+
children: [v.pendingAction === "remove" ? null : /* @__PURE__ */ l(d, {}), b.removeDuplicatesButton]
|
|
121
|
+
}) : null]
|
|
122
|
+
}) : null]
|
|
123
|
+
})]
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
//#endregion
|
|
127
|
+
export { v as DuplicateBillsGroupPanel, v as default };
|
|
@@ -1,7 +1,28 @@
|
|
|
1
|
+
import { BILL_STATUS_BADGE_LABELS_EN as e } from "./index16.js";
|
|
2
|
+
import "./index19.js";
|
|
1
3
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
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
|
+
removalHelperBeforeUnsubmitted: "Removing duplicates deletes ",
|
|
16
|
+
removalHelperUnsubmitted: "bills not yet submitted",
|
|
17
|
+
removalHelperBetween: ", and cancels ",
|
|
18
|
+
removalHelperSubmitted: "ones already submitted",
|
|
19
|
+
removalHelperAfterSubmitted: ". This action cannot be undone.",
|
|
20
|
+
removalOutcomeDelete: "Deletes this bill",
|
|
21
|
+
removalOutcomeCancel: "Cancels this bill",
|
|
22
|
+
keepSelectedButton: "Keep selected files as their own file",
|
|
23
|
+
removeDuplicatesButton: "Remove selected duplicates",
|
|
24
|
+
emptyState: "No possible duplicates left to review.",
|
|
25
|
+
errorState: "Couldn't load the possible duplicates. Try again shortly."
|
|
5
26
|
};
|
|
6
27
|
//#endregion
|
|
7
|
-
export {
|
|
28
|
+
export { t as DUPLICATE_BILLS_DIALOG_LABELS_EN };
|
|
@@ -1,30 +1,89 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
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 "./index78.js";
|
|
3
|
+
import { DuplicateBillsGroupPanel as d } from "./index77.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";
|
|
4
7
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js
|
|
5
|
-
function
|
|
6
|
-
let
|
|
7
|
-
...
|
|
8
|
-
...
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
className: "ttw:
|
|
24
|
-
children:
|
|
25
|
-
|
|
26
|
-
|
|
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
|
+
})
|
|
27
86
|
});
|
|
28
87
|
}
|
|
29
88
|
//#endregion
|
|
30
|
-
export {
|
|
89
|
+
export { g as DuplicateBillsDialog, g as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js
|
|
2
2
|
var e = {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
message: "Data extracted automatically — please review all details to make sure they match",
|
|
4
|
+
dismiss: "Dismiss this notice"
|
|
5
5
|
};
|
|
6
6
|
//#endregion
|
|
7
|
-
export { e as
|
|
7
|
+
export { e as EXTRACTION_NOTICE_LABELS_EN };
|