@tesouro/embedded-components-react 0.5.141 → 0.5.144
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/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +9 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +21 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +21 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +41 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +16 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +8 -98
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +4 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +98 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +78 -135
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +4 -45
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +139 -109
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +44 -186
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +108 -72
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +188 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +71 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +27 -406
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +88 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +403 -77
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +13 -80
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +77 -221
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +78 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +212 -234
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +44 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +234 -557
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +23 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +581 -40
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +4 -251
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +45 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +261 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +3 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +44 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +6 -127
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +13 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +126 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +3 -127
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +3 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +124 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +8 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +8 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +51 -20
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +20 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +19 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +28 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +76 -252
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +48 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +249 -142
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +27 -206
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +160 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js +217 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +3 -112
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index89.js +7 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index90.js +104 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index91.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index92.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +48 -48
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +102 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +2 -128
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +31 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index104.js +125 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index106.js +29 -177
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index107.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index108.js +178 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index109.js +2 -108
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index110.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index111.js +106 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index112.js +2 -52
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index113.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index114.js +52 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index115.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +26 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +14 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +19 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +2 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +26 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +28 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +1 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +27 -117
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index29.js +19 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +123 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +2 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +20 -99
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +2 -79
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +97 -273
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +79 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +273 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +2 -56
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +21 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +52 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +2 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +47 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +2 -374
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +369 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +2 -96
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +93 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +1 -51
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +49 -53
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +2 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +53 -194
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +195 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +2 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +37 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +2 -88
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +19 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +78 -308
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +311 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +1 -39
- 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 +37 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +2 -36
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +34 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +37 -199
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +12 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +199 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +2 -402
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +13 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +413 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +8 -91
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +9 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +93 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +2 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +118 -87
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +28 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +92 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +2 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +28 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +2 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +32 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +1 -105
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/relativeCalendarDay.js +12 -0
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +0 -125
|
@@ -1,113 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
"use client";
|
|
4
|
-
"use client";
|
|
5
|
-
import { hasAnyScope as e } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
|
|
6
|
-
import { Scope as t } from "../../../shared/data-access/dist/lib/scopes.js";
|
|
7
|
-
import "../../../shared/data-access/dist/index.js";
|
|
8
|
-
import { EmbeddedToaster as n } from "../../../shared/ui/dist/lib/EmbeddedToaster.js";
|
|
9
|
-
import "../../../shared/ui/dist/index.js";
|
|
10
|
-
import { useAnalyticsTrack as r } from "../../../shared/feature/dist/lib/analytics/hooks.js";
|
|
11
|
-
import { WidgetProvider as i } from "../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
|
|
12
|
-
import { useWidgetConfig as a } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
13
|
-
import "../../../shared/feature/dist/index.js";
|
|
14
|
-
import { BillPayWidgetUi as o } from "../../ui/dist/index60.js";
|
|
15
|
-
import { BillUploadStatusTray as s } from "../../ui/dist/index85.js";
|
|
16
|
-
import "../../ui/dist/index.js";
|
|
17
|
-
import { useBillUploadQueue as c } from "./index70.js";
|
|
18
|
-
import "./index71.js";
|
|
19
|
-
import { billsTabTestIds as l } from "./index77.js";
|
|
20
|
-
import { BillsTab as u } from "./index85.js";
|
|
1
|
+
import "./index75.js";
|
|
2
|
+
import "./index78.js";
|
|
21
3
|
import "./index86.js";
|
|
22
|
-
import
|
|
23
|
-
import { DEFAULT_TABS_LABELS as p } from "./index87.js";
|
|
24
|
-
import { CounterpartsWidget as m } from "../../../counterparts-widget/feature/dist/index8.js";
|
|
25
|
-
import "../../../counterparts-widget/feature/dist/index.js";
|
|
26
|
-
import { useCallback as h, useEffect as g, useState as _ } from "react";
|
|
27
|
-
import { Fragment as v, jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
28
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js
|
|
29
|
-
var x = {
|
|
30
|
-
Bills: "bills",
|
|
31
|
-
Vendors: "vendors"
|
|
32
|
-
}, S = [x.Bills, x.Vendors];
|
|
33
|
-
function C({ labels: i, initialTab: f = x.Bills, tabsLabels: C, vendorLabels: w, poweredByBankName: T, onSettingsClick: E }) {
|
|
34
|
-
let D = r();
|
|
35
|
-
g(() => {
|
|
36
|
-
D(d.Mounted);
|
|
37
|
-
}, [D]);
|
|
38
|
-
let O = {
|
|
39
|
-
...p,
|
|
40
|
-
...C
|
|
41
|
-
}, { initResponse: k } = a(), A = e(k?.scopes, [t.PayableReadOrg]), j = e(k?.scopes, [t.PayableWriteOrg]), M = e(k?.scopes, [t.ApprovalPolicyWriteOrg]) && e(k?.scopes, [t.PayableWriteOrg]) && e(k?.scopes, [t.RoleReadOrg]) && e(k?.scopes, [t.UserReadOrg]), [N, P] = _(f), [F, I] = _(), L = h((e) => {
|
|
42
|
-
P(x.Bills), I(e);
|
|
43
|
-
}, []), R = c({ onOpenBill: L }), [z, B] = _(), V = h((e) => {
|
|
44
|
-
P(x.Bills), B(e);
|
|
45
|
-
}, []), H = [{
|
|
46
|
-
id: x.Bills,
|
|
47
|
-
label: O.bills,
|
|
48
|
-
content: /* @__PURE__ */ y(u, {
|
|
49
|
-
onEnqueueFiles: R.enqueue,
|
|
50
|
-
openPayableId: F,
|
|
51
|
-
onOpenPayableHandled: () => I(void 0),
|
|
52
|
-
vendorIntent: z,
|
|
53
|
-
onVendorIntentHandled: () => B(void 0),
|
|
54
|
-
poweredByBankName: T,
|
|
55
|
-
onSettingsClick: E && M ? E : void 0
|
|
56
|
-
})
|
|
57
|
-
}, {
|
|
58
|
-
id: x.Vendors,
|
|
59
|
-
label: O.vendors,
|
|
60
|
-
content: /* @__PURE__ */ y(m, {
|
|
61
|
-
...w,
|
|
62
|
-
counterpartType: "vendor",
|
|
63
|
-
onViewAllDocuments: A ? (e) => V({
|
|
64
|
-
vendorId: e.id,
|
|
65
|
-
vendorName: e.name,
|
|
66
|
-
action: "viewBills"
|
|
67
|
-
}) : void 0,
|
|
68
|
-
onCreateDocument: j ? (e) => V({
|
|
69
|
-
vendorId: e.id,
|
|
70
|
-
vendorName: e.name,
|
|
71
|
-
action: "createBill"
|
|
72
|
-
}) : void 0
|
|
73
|
-
})
|
|
74
|
-
}], U = H.some((e) => e.id === N) ? N : S.find((e) => H.some((t) => t.id === e)) ?? H[0]?.id ?? "";
|
|
75
|
-
return /* @__PURE__ */ b(v, { children: [
|
|
76
|
-
/* @__PURE__ */ y(n, {}),
|
|
77
|
-
/* @__PURE__ */ y(o, {
|
|
78
|
-
labels: i,
|
|
79
|
-
tabs: H,
|
|
80
|
-
selectedTabId: U,
|
|
81
|
-
onTabChange: P
|
|
82
|
-
}),
|
|
83
|
-
R.isVisible ? /* @__PURE__ */ y(s, {
|
|
84
|
-
sections: R.sections,
|
|
85
|
-
summaryLabel: R.summaryLabel,
|
|
86
|
-
collapsed: R.collapsed,
|
|
87
|
-
onToggleCollapsed: R.onToggleCollapsed,
|
|
88
|
-
onClose: R.onClose,
|
|
89
|
-
testId: l.uploadTray
|
|
90
|
-
}) : null
|
|
91
|
-
] });
|
|
92
|
-
}
|
|
93
|
-
function w({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: a, linkComponent: o, implementation: s, uiFramework: c, errorFallback: l, onError: u, analytics: d, disclosuresAcceptance: p, providerLabels: m, ...h }) {
|
|
94
|
-
return /* @__PURE__ */ y(i, {
|
|
95
|
-
widgetName: f,
|
|
96
|
-
baseUrl: e,
|
|
97
|
-
widgetToken: t,
|
|
98
|
-
organizationId: n,
|
|
99
|
-
configClient: r,
|
|
100
|
-
gatewayRouting: a,
|
|
101
|
-
linkComponent: o,
|
|
102
|
-
implementation: s,
|
|
103
|
-
uiFramework: c,
|
|
104
|
-
errorFallback: l,
|
|
105
|
-
onError: u,
|
|
106
|
-
analytics: d,
|
|
107
|
-
disclosuresAcceptance: p,
|
|
108
|
-
providerLabels: m,
|
|
109
|
-
children: /* @__PURE__ */ y(C, { ...h })
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
//#endregion
|
|
113
|
-
export { w as BillPayWidgetNative, w as default };
|
|
4
|
+
import "./index87.js";
|
|
@@ -2,26 +2,112 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { hasAnyScope as e } from "../../../shared/data-access/dist/lib/hasAnyScope.js";
|
|
6
|
+
import { Scope as t } from "../../../shared/data-access/dist/lib/scopes.js";
|
|
7
|
+
import "../../../shared/data-access/dist/index.js";
|
|
8
|
+
import { EmbeddedToaster as n } from "../../../shared/ui/dist/lib/EmbeddedToaster.js";
|
|
9
|
+
import "../../../shared/ui/dist/index.js";
|
|
10
|
+
import { useAnalyticsTrack as r } from "../../../shared/feature/dist/lib/analytics/hooks.js";
|
|
11
|
+
import { WidgetProvider as i } from "../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
|
|
12
|
+
import { useWidgetConfig as a } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
7
13
|
import "../../../shared/feature/dist/index.js";
|
|
8
|
-
import {
|
|
9
|
-
import "
|
|
10
|
-
import
|
|
11
|
-
import "./
|
|
12
|
-
import
|
|
14
|
+
import { BillPayWidgetUi as o } from "../../ui/dist/index62.js";
|
|
15
|
+
import { BillUploadStatusTray as s } from "../../ui/dist/index87.js";
|
|
16
|
+
import "../../ui/dist/index.js";
|
|
17
|
+
import { useBillUploadQueue as c } from "./index72.js";
|
|
18
|
+
import "./index73.js";
|
|
19
|
+
import { billsTabTestIds as l } from "./index79.js";
|
|
20
|
+
import { BillsTab as u } from "./index87.js";
|
|
21
|
+
import "./index88.js";
|
|
22
|
+
import { BillPayWidgetAnalyticsEvent as d, WIDGET_NAME as f } from "./index67.js";
|
|
23
|
+
import { DEFAULT_TABS_LABELS as p } from "./index89.js";
|
|
24
|
+
import { CounterpartsWidget as m } from "../../../counterparts-widget/feature/dist/index8.js";
|
|
25
|
+
import "../../../counterparts-widget/feature/dist/index.js";
|
|
26
|
+
import { useCallback as h, useEffect as g, useState as _ } from "react";
|
|
27
|
+
import { Fragment as v, jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
13
28
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index90.js
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
29
|
+
var x = {
|
|
30
|
+
Bills: "bills",
|
|
31
|
+
Vendors: "vendors"
|
|
32
|
+
}, S = [x.Bills, x.Vendors];
|
|
33
|
+
function C({ labels: i, initialTab: f = x.Bills, tabsLabels: C, vendorLabels: w, poweredByBankName: T, onSettingsClick: E }) {
|
|
34
|
+
let D = r();
|
|
35
|
+
g(() => {
|
|
36
|
+
D(d.Mounted);
|
|
37
|
+
}, [D]);
|
|
38
|
+
let O = {
|
|
39
|
+
...p,
|
|
40
|
+
...C
|
|
41
|
+
}, { initResponse: k } = a(), A = e(k?.scopes, [t.PayableReadOrg]), j = e(k?.scopes, [t.PayableWriteOrg]), M = e(k?.scopes, [t.ApprovalPolicyWriteOrg]) && e(k?.scopes, [t.PayableWriteOrg]) && e(k?.scopes, [t.RoleReadOrg]) && e(k?.scopes, [t.UserReadOrg]), [N, P] = _(f), [F, I] = _(), L = h((e) => {
|
|
42
|
+
P(x.Bills), I(e);
|
|
43
|
+
}, []), R = c({ onOpenBill: L }), [z, B] = _(), V = h((e) => {
|
|
44
|
+
P(x.Bills), B(e);
|
|
45
|
+
}, []), H = [{
|
|
46
|
+
id: x.Bills,
|
|
47
|
+
label: O.bills,
|
|
48
|
+
content: /* @__PURE__ */ y(u, {
|
|
49
|
+
onEnqueueFiles: R.enqueue,
|
|
50
|
+
openPayableId: F,
|
|
51
|
+
onOpenPayableHandled: () => I(void 0),
|
|
52
|
+
vendorIntent: z,
|
|
53
|
+
onVendorIntentHandled: () => B(void 0),
|
|
54
|
+
poweredByBankName: T,
|
|
55
|
+
onSettingsClick: E && M ? E : void 0
|
|
56
|
+
})
|
|
57
|
+
}, {
|
|
58
|
+
id: x.Vendors,
|
|
59
|
+
label: O.vendors,
|
|
60
|
+
content: /* @__PURE__ */ y(m, {
|
|
61
|
+
...w,
|
|
62
|
+
counterpartType: "vendor",
|
|
63
|
+
onViewAllDocuments: A ? (e) => V({
|
|
64
|
+
vendorId: e.id,
|
|
65
|
+
vendorName: e.name,
|
|
66
|
+
action: "viewBills"
|
|
67
|
+
}) : void 0,
|
|
68
|
+
onCreateDocument: j ? (e) => V({
|
|
69
|
+
vendorId: e.id,
|
|
70
|
+
vendorName: e.name,
|
|
71
|
+
action: "createBill"
|
|
72
|
+
}) : void 0
|
|
73
|
+
})
|
|
74
|
+
}], U = H.some((e) => e.id === N) ? N : S.find((e) => H.some((t) => t.id === e)) ?? H[0]?.id ?? "";
|
|
75
|
+
return /* @__PURE__ */ b(v, { children: [
|
|
76
|
+
/* @__PURE__ */ y(n, {}),
|
|
77
|
+
/* @__PURE__ */ y(o, {
|
|
78
|
+
labels: i,
|
|
79
|
+
tabs: H,
|
|
80
|
+
selectedTabId: U,
|
|
81
|
+
onTabChange: P
|
|
82
|
+
}),
|
|
83
|
+
R.isVisible ? /* @__PURE__ */ y(s, {
|
|
84
|
+
sections: R.sections,
|
|
85
|
+
summaryLabel: R.summaryLabel,
|
|
86
|
+
collapsed: R.collapsed,
|
|
87
|
+
onToggleCollapsed: R.onToggleCollapsed,
|
|
88
|
+
onClose: R.onClose,
|
|
89
|
+
testId: l.uploadTray
|
|
90
|
+
}) : null
|
|
91
|
+
] });
|
|
92
|
+
}
|
|
93
|
+
function w({ baseUrl: e, widgetToken: t, organizationId: n, configClient: r, gatewayRouting: a, linkComponent: o, implementation: s, uiFramework: c, errorFallback: l, onError: u, analytics: d, disclosuresAcceptance: p, providerLabels: m, ...h }) {
|
|
94
|
+
return /* @__PURE__ */ y(i, {
|
|
95
|
+
widgetName: f,
|
|
96
|
+
baseUrl: e,
|
|
97
|
+
widgetToken: t,
|
|
98
|
+
organizationId: n,
|
|
99
|
+
configClient: r,
|
|
100
|
+
gatewayRouting: a,
|
|
101
|
+
linkComponent: o,
|
|
102
|
+
implementation: s,
|
|
103
|
+
uiFramework: c,
|
|
104
|
+
errorFallback: l,
|
|
105
|
+
onError: u,
|
|
106
|
+
analytics: d,
|
|
107
|
+
disclosuresAcceptance: p,
|
|
108
|
+
providerLabels: m,
|
|
109
|
+
children: /* @__PURE__ */ y(C, { ...h })
|
|
24
110
|
});
|
|
25
111
|
}
|
|
26
112
|
//#endregion
|
|
27
|
-
export {
|
|
113
|
+
export { w as BillPayWidgetNative, w as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./index90.js";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
"use client";
|
|
4
|
+
"use client";
|
|
5
|
+
import { Implementation as e } from "../../../shared/feature/dist/lib/WidgetProvider/types.js";
|
|
6
|
+
import { useWidgetConfig as t } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
7
|
+
import "../../../shared/feature/dist/index.js";
|
|
8
|
+
import { BillPayWidgetMonite as n } from "./index68.js";
|
|
9
|
+
import "./index69.js";
|
|
10
|
+
import { BillPayWidgetNative as r } from "./index90.js";
|
|
11
|
+
import "./index91.js";
|
|
12
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
13
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index92.js
|
|
14
|
+
function a({ implementation: a, initialTab: o, onSettingsClick: s, ...c }) {
|
|
15
|
+
let l = t().implementation, u = a ?? l ?? e.Monite;
|
|
16
|
+
return u === e.Native ? /* @__PURE__ */ i(r, {
|
|
17
|
+
implementation: u,
|
|
18
|
+
initialTab: o,
|
|
19
|
+
onSettingsClick: s,
|
|
20
|
+
...c
|
|
21
|
+
}) : /* @__PURE__ */ i(n, {
|
|
22
|
+
implementation: u,
|
|
23
|
+
...c
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
export { a as BillPayWidget, a as default };
|
|
@@ -10,8 +10,6 @@ import "./index11.js";
|
|
|
10
10
|
import "./index12.js";
|
|
11
11
|
import "./index13.js";
|
|
12
12
|
import "./index14.js";
|
|
13
|
-
import "./index17.js";
|
|
14
|
-
import "./index18.js";
|
|
15
13
|
import "./index19.js";
|
|
16
14
|
import "./index20.js";
|
|
17
15
|
import "./index21.js";
|
|
@@ -19,8 +17,8 @@ import "./index22.js";
|
|
|
19
17
|
import "./index23.js";
|
|
20
18
|
import "./index24.js";
|
|
21
19
|
import "./index25.js";
|
|
20
|
+
import "./index26.js";
|
|
22
21
|
import "./index27.js";
|
|
23
|
-
import "./index28.js";
|
|
24
22
|
import "./index29.js";
|
|
25
23
|
import "./index30.js";
|
|
26
24
|
import "./index31.js";
|
|
@@ -28,9 +26,9 @@ import "./index32.js";
|
|
|
28
26
|
import "./index33.js";
|
|
29
27
|
import "./index34.js";
|
|
30
28
|
import "./index35.js";
|
|
31
|
-
import
|
|
29
|
+
import "./index36.js";
|
|
32
30
|
import "./index37.js";
|
|
33
|
-
import "./index38.js";
|
|
31
|
+
import { BILL_DETAILS_SHEET_LABELS_EN as t } from "./index38.js";
|
|
34
32
|
import "./index39.js";
|
|
35
33
|
import "./index40.js";
|
|
36
34
|
import "./index41.js";
|
|
@@ -42,63 +40,65 @@ import "./index46.js";
|
|
|
42
40
|
import "./index47.js";
|
|
43
41
|
import "./index48.js";
|
|
44
42
|
import "./index49.js";
|
|
45
|
-
import
|
|
43
|
+
import "./index50.js";
|
|
46
44
|
import "./index51.js";
|
|
47
|
-
import "./index52.js";
|
|
45
|
+
import { VendorSearchCombobox as n } from "./index52.js";
|
|
48
46
|
import "./index53.js";
|
|
49
47
|
import "./index54.js";
|
|
50
48
|
import "./index55.js";
|
|
51
|
-
import
|
|
52
|
-
import "./
|
|
53
|
-
import "./index59.js";
|
|
54
|
-
import
|
|
49
|
+
import "./index56.js";
|
|
50
|
+
import "./index57.js";
|
|
51
|
+
import { BillCreateScreen as r } from "./index59.js";
|
|
52
|
+
import "./index60.js";
|
|
55
53
|
import "./index61.js";
|
|
56
|
-
import "./index62.js";
|
|
57
|
-
import
|
|
54
|
+
import { BillPayWidgetUi as i } from "./index62.js";
|
|
55
|
+
import "./index63.js";
|
|
58
56
|
import "./index64.js";
|
|
59
|
-
import {
|
|
60
|
-
import
|
|
61
|
-
import {
|
|
62
|
-
import "./index68.js";
|
|
63
|
-
import "./index69.js";
|
|
57
|
+
import { BillDecisionDialog as a } from "./index65.js";
|
|
58
|
+
import "./index66.js";
|
|
59
|
+
import { BillDetailsSheet as o } from "./index67.js";
|
|
60
|
+
import { DISCARD_CHANGES_DIALOG_LABELS_EN as s } from "./index68.js";
|
|
61
|
+
import { DiscardChangesDialog as c } from "./index69.js";
|
|
64
62
|
import "./index70.js";
|
|
65
63
|
import "./index71.js";
|
|
66
|
-
import
|
|
64
|
+
import "./index72.js";
|
|
67
65
|
import "./index73.js";
|
|
68
|
-
import {
|
|
69
|
-
import
|
|
70
|
-
import "./index76.js";
|
|
71
|
-
import "./index77.js";
|
|
72
|
-
import
|
|
66
|
+
import { BillDuplicateNotice as l } from "./index74.js";
|
|
67
|
+
import "./index75.js";
|
|
68
|
+
import { BILL_REJECTED_BANNER_LABELS_EN as u } from "./index76.js";
|
|
69
|
+
import { BillRejectedBanner as d } from "./index77.js";
|
|
70
|
+
import "./index78.js";
|
|
73
71
|
import "./index79.js";
|
|
74
|
-
import "./index80.js";
|
|
75
|
-
import
|
|
76
|
-
import
|
|
77
|
-
import "./index83.js";
|
|
78
|
-
import {
|
|
79
|
-
import "./
|
|
72
|
+
import { BillsFilterField as f } from "./index80.js";
|
|
73
|
+
import "./index81.js";
|
|
74
|
+
import "./index82.js";
|
|
75
|
+
import { BillColumn as p } from "./index83.js";
|
|
76
|
+
import { BillsScreen as m } from "./index84.js";
|
|
77
|
+
import "./index85.js";
|
|
78
|
+
import { BillUploadStatusTray as h } from "./index87.js";
|
|
80
79
|
import "./index89.js";
|
|
81
|
-
import { DuplicateBillsDialog as g } from "./index90.js";
|
|
82
80
|
import "./index91.js";
|
|
83
|
-
import "./index92.js";
|
|
84
|
-
import
|
|
81
|
+
import { DuplicateBillsDialog as g } from "./index92.js";
|
|
82
|
+
import "./index93.js";
|
|
85
83
|
import "./index94.js";
|
|
86
|
-
import "./index95.js";
|
|
84
|
+
import { ExtractionNotice as _ } from "./index95.js";
|
|
87
85
|
import "./index96.js";
|
|
88
86
|
import "./index97.js";
|
|
89
|
-
import
|
|
90
|
-
import
|
|
91
|
-
import "./index100.js";
|
|
92
|
-
import {
|
|
93
|
-
import
|
|
94
|
-
import "./index103.js";
|
|
95
|
-
import {
|
|
96
|
-
import
|
|
97
|
-
import "./
|
|
98
|
-
import "./index108.js";
|
|
99
|
-
import
|
|
87
|
+
import "./index98.js";
|
|
88
|
+
import "./index99.js";
|
|
89
|
+
import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as v } from "./index100.js";
|
|
90
|
+
import { ReviewTransactionDialog as y } from "./index101.js";
|
|
91
|
+
import "./index102.js";
|
|
92
|
+
import { MARK_AS_PAID_DIALOG_LABELS_EN as b, mergeMarkAsPaidDialogLabels as x } from "./index103.js";
|
|
93
|
+
import { MarkAsPaidDialog as S } from "./index104.js";
|
|
94
|
+
import "./index105.js";
|
|
95
|
+
import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as C, mergeSchedulePaymentDialogLabels as w } from "./index106.js";
|
|
96
|
+
import { SchedulePaymentDialog as T } from "./index108.js";
|
|
97
|
+
import "./index109.js";
|
|
100
98
|
import "./index110.js";
|
|
101
|
-
import {
|
|
102
|
-
import
|
|
103
|
-
import "./index113.js";
|
|
99
|
+
import { SourceDocumentPanel as E } from "./index111.js";
|
|
100
|
+
import "./index112.js";
|
|
101
|
+
import { UNSAVED_BILL_DIALOG_LABELS_EN as D } from "./index113.js";
|
|
102
|
+
import { UnsavedBillDialog as O } from "./index114.js";
|
|
103
|
+
import "./index115.js";
|
|
104
104
|
export { e as AddBillDialog, t as BILL_DETAILS_SHEET_LABELS_EN, u as BILL_REJECTED_BANNER_LABELS_EN, p as BillColumn, r as BillCreateScreen, a as BillDecisionDialog, o as BillDetailsSheet, l as BillDuplicateNotice, i as BillPayWidgetUi, d as BillRejectedBanner, h as BillUploadStatusTray, f as BillsFilterField, m as BillsScreen, s as DISCARD_CHANGES_DIALOG_LABELS_EN, c as DiscardChangesDialog, g as DuplicateBillsDialog, _ as ExtractionNotice, b as MARK_AS_PAID_DIALOG_LABELS_EN, S as MarkAsPaidDialog, v as REVIEW_TRANSACTION_DIALOG_LABELS_EN, y as ReviewTransactionDialog, C as SCHEDULE_PAYMENT_DIALOG_LABELS_EN, T as SchedulePaymentDialog, E as SourceDocumentPanel, D as UNSAVED_BILL_DIALOG_LABELS_EN, O as UnsavedBillDialog, n as VendorSearchCombobox, x as mergeMarkAsPaidDialogLabels, w as mergeSchedulePaymentDialogLabels };
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
|
|
1
|
+
import { REVEALABLE_FIELD_LABELS_EN as e } from "./index97.js";
|
|
2
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js
|
|
3
|
+
var t = {
|
|
4
|
+
title: "Review transaction",
|
|
5
|
+
hiddenDescription: "Review the payment before submitting it.",
|
|
6
|
+
payToHeading: "Pay to",
|
|
7
|
+
backButton: "Back",
|
|
8
|
+
submitButton: "Submit",
|
|
9
|
+
...e
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
12
|
+
export { t as REVIEW_TRANSACTION_DIALOG_LABELS_EN };
|
|
@@ -1,31 +1,106 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Button as e, Dialog as t, DialogContent as n, DialogDescription as r, DialogFooter as i, DialogHeader as a, DialogTitle as o, cn as s } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { RevealableField as c } from "./index98.js";
|
|
3
|
+
import "./index99.js";
|
|
4
|
+
import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as l } from "./index100.js";
|
|
5
|
+
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
2
6
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
paymentAmount: "Payment amount",
|
|
8
|
-
paymentDate: "Payment date",
|
|
9
|
-
paymentDatePlaceholder: "Select",
|
|
10
|
-
today: "Today",
|
|
11
|
-
comments: "Comments",
|
|
12
|
-
commentsPlaceholder: "Additional context for this payment.",
|
|
13
|
-
cancelButton: "Cancel",
|
|
14
|
-
confirmButton: "Mark as paid",
|
|
15
|
-
fieldMarkers: e,
|
|
16
|
-
requiredFieldsLegend: t
|
|
17
|
-
};
|
|
18
|
-
function i(e) {
|
|
19
|
-
let t = {
|
|
20
|
-
...r.fieldMarkers,
|
|
21
|
-
...e?.fieldMarkers
|
|
22
|
-
};
|
|
23
|
-
return {
|
|
24
|
-
...r,
|
|
25
|
-
...e,
|
|
26
|
-
fieldMarkers: t,
|
|
27
|
-
requiredFieldsLegend: n(t, e?.requiredFieldsLegend)
|
|
7
|
+
function f({ open: f, onOpenChange: p, amountLabel: m, amount: h, rows: g, payTo: _, isSubmitting: v, onBack: y, onCancel: b, onSubmit: x, testId: S, labels: C }) {
|
|
8
|
+
let w = {
|
|
9
|
+
...l,
|
|
10
|
+
...C
|
|
28
11
|
};
|
|
12
|
+
return /* @__PURE__ */ u(t, {
|
|
13
|
+
open: f,
|
|
14
|
+
onOpenChange: (e) => e ? p(e) : b(),
|
|
15
|
+
children: /* @__PURE__ */ d(n, {
|
|
16
|
+
"data-testid": S,
|
|
17
|
+
className: "ttw:flex ttw:max-w-lg ttw:flex-col ttw:gap-6",
|
|
18
|
+
children: [
|
|
19
|
+
/* @__PURE__ */ d(a, {
|
|
20
|
+
className: "ttw:border-b ttw:border-border ttw:pb-7",
|
|
21
|
+
children: [/* @__PURE__ */ u(o, {
|
|
22
|
+
className: "ttw:text-3xl ttw:tracking-tight",
|
|
23
|
+
children: w.title
|
|
24
|
+
}), /* @__PURE__ */ u(r, {
|
|
25
|
+
className: "ttw:sr-only",
|
|
26
|
+
children: w.hiddenDescription
|
|
27
|
+
})]
|
|
28
|
+
}),
|
|
29
|
+
/* @__PURE__ */ d("div", {
|
|
30
|
+
className: "ttw:flex ttw:flex-col ttw:gap-6",
|
|
31
|
+
children: [
|
|
32
|
+
/* @__PURE__ */ d("div", {
|
|
33
|
+
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
34
|
+
children: [/* @__PURE__ */ u("p", {
|
|
35
|
+
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
36
|
+
children: m
|
|
37
|
+
}), /* @__PURE__ */ u("p", {
|
|
38
|
+
className: "ttw:text-4xl ttw:font-semibold",
|
|
39
|
+
children: h
|
|
40
|
+
})]
|
|
41
|
+
}),
|
|
42
|
+
/* @__PURE__ */ u("dl", {
|
|
43
|
+
className: "ttw:flex ttw:flex-col",
|
|
44
|
+
children: g.map((e, t) => /* @__PURE__ */ d("div", {
|
|
45
|
+
className: s("ttw:flex ttw:items-center ttw:gap-4 ttw:py-2.5", t < g.length - 1 && "ttw:border-b ttw:border-border"),
|
|
46
|
+
children: [/* @__PURE__ */ u("dt", {
|
|
47
|
+
className: "ttw:w-32 ttw:shrink-0 ttw:text-sm ttw:text-muted-foreground",
|
|
48
|
+
children: e.label
|
|
49
|
+
}), /* @__PURE__ */ u("dd", {
|
|
50
|
+
className: "ttw:text-sm ttw:font-medium",
|
|
51
|
+
children: e.value
|
|
52
|
+
})]
|
|
53
|
+
}, e.label))
|
|
54
|
+
}),
|
|
55
|
+
/* @__PURE__ */ d("section", {
|
|
56
|
+
className: "ttw:rounded-lg ttw:border ttw:border-border ttw:bg-muted/30 ttw:p-4",
|
|
57
|
+
children: [
|
|
58
|
+
/* @__PURE__ */ u("p", {
|
|
59
|
+
className: "ttw:text-sm ttw:font-medium ttw:text-foreground",
|
|
60
|
+
children: w.payToHeading
|
|
61
|
+
}),
|
|
62
|
+
/* @__PURE__ */ u("p", {
|
|
63
|
+
className: "ttw:mt-1 ttw:text-xl ttw:font-semibold",
|
|
64
|
+
children: _.name
|
|
65
|
+
}),
|
|
66
|
+
_.email ? /* @__PURE__ */ u("p", {
|
|
67
|
+
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
68
|
+
children: _.email
|
|
69
|
+
}) : null,
|
|
70
|
+
_.methodLabel || _.fields.length > 0 ? /* @__PURE__ */ d("div", {
|
|
71
|
+
className: "ttw:mt-4 ttw:border-t ttw:border-border ttw:pt-4",
|
|
72
|
+
children: [_.methodLabel ? /* @__PURE__ */ u("p", {
|
|
73
|
+
className: "ttw:text-xs ttw:font-semibold ttw:text-muted-foreground",
|
|
74
|
+
children: _.methodLabel
|
|
75
|
+
}) : null, /* @__PURE__ */ u("dl", {
|
|
76
|
+
className: "ttw:mt-3 ttw:grid ttw:gap-3",
|
|
77
|
+
children: _.fields.map((e) => /* @__PURE__ */ u(c, {
|
|
78
|
+
field: e,
|
|
79
|
+
labels: w
|
|
80
|
+
}, e.label))
|
|
81
|
+
})]
|
|
82
|
+
}) : null
|
|
83
|
+
]
|
|
84
|
+
})
|
|
85
|
+
]
|
|
86
|
+
}),
|
|
87
|
+
/* @__PURE__ */ d(i, {
|
|
88
|
+
className: "ttw:pt-4 ttw:sm:gap-3",
|
|
89
|
+
children: [/* @__PURE__ */ u(e, {
|
|
90
|
+
type: "button",
|
|
91
|
+
variant: "outline",
|
|
92
|
+
onClick: y,
|
|
93
|
+
children: w.backButton
|
|
94
|
+
}), /* @__PURE__ */ u(e, {
|
|
95
|
+
type: "button",
|
|
96
|
+
loading: v,
|
|
97
|
+
onClick: x,
|
|
98
|
+
children: w.submitButton
|
|
99
|
+
})]
|
|
100
|
+
})
|
|
101
|
+
]
|
|
102
|
+
})
|
|
103
|
+
});
|
|
29
104
|
}
|
|
30
105
|
//#endregion
|
|
31
|
-
export {
|
|
106
|
+
export { f as ReviewTransactionDialog, f as default };
|