@tesouro/embedded-components-react 0.4.13 → 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 -347
- 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 +42 -40
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +10 -2
- 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/index23.js +29 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +1 -297
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +52 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +307 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +2 -49
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index29.js +45 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +2 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +48 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +2 -340
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +338 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +2 -120
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +118 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +2 -99
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +97 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +1 -58
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +2 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +52 -179
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +180 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +2 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +39 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +2 -92
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +90 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +14 -84
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +2 -287
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +86 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +296 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +1 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +8 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +37 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +37 -199
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +12 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +199 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +2 -346
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +13 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +345 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +8 -91
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +93 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +2 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +120 -82
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +28 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +87 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +2 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +28 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +2 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +32 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +1 -105
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +104 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +2 -125
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +17 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +123 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +15 -167
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +167 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +2 -108
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +106 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +2 -52
- 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 -127
|
@@ -1,50 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./index14.js";
|
|
3
|
-
import { BILL_STATUS_BADGE_LABELS_EN as t } from "./index16.js";
|
|
4
|
-
import "./index19.js";
|
|
5
|
-
import { DUE_DATE_VALUE_LABELS_EN as n } from "./index20.js";
|
|
6
|
-
import "./index22.js";
|
|
1
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
7
2
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
statusBadge: {
|
|
36
|
-
...r.statusBadge,
|
|
37
|
-
...e?.statusBadge
|
|
38
|
-
},
|
|
39
|
-
approvalPolicy: {
|
|
40
|
-
...r.approvalPolicy,
|
|
41
|
-
...e?.approvalPolicy
|
|
42
|
-
},
|
|
43
|
-
dueDate: {
|
|
44
|
-
...r.dueDate,
|
|
45
|
-
...e?.dueDate
|
|
46
|
-
}
|
|
47
|
-
};
|
|
3
|
+
function n({ records: n }) {
|
|
4
|
+
return /* @__PURE__ */ e("div", {
|
|
5
|
+
className: "ttw:flex ttw:flex-col",
|
|
6
|
+
children: n.map((n) => /* @__PURE__ */ t("div", {
|
|
7
|
+
className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-6 ttw:border-b ttw:border-border ttw:py-3 ttw:last:border-b-0",
|
|
8
|
+
children: [
|
|
9
|
+
/* @__PURE__ */ e("span", {
|
|
10
|
+
className: "ttw:flex-1 ttw:text-sm",
|
|
11
|
+
children: n.dateLabel
|
|
12
|
+
}),
|
|
13
|
+
/* @__PURE__ */ e("span", {
|
|
14
|
+
className: "ttw:flex-1 ttw:text-sm",
|
|
15
|
+
children: n.statusLabel
|
|
16
|
+
}),
|
|
17
|
+
/* @__PURE__ */ t("span", {
|
|
18
|
+
className: "ttw:flex ttw:flex-1 ttw:flex-col ttw:items-end ttw:text-right",
|
|
19
|
+
children: [/* @__PURE__ */ e("span", {
|
|
20
|
+
className: "ttw:text-sm ttw:font-medium",
|
|
21
|
+
children: n.amountLabel
|
|
22
|
+
}), n.overpaidLabel ? /* @__PURE__ */ e("span", {
|
|
23
|
+
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
24
|
+
children: n.overpaidLabel
|
|
25
|
+
}) : null]
|
|
26
|
+
})
|
|
27
|
+
]
|
|
28
|
+
}, n.id))
|
|
29
|
+
});
|
|
48
30
|
}
|
|
49
31
|
//#endregion
|
|
50
|
-
export {
|
|
32
|
+
export { n as PaymentHistoryList, n as default };
|
|
@@ -1,297 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ErrorState as i } from "../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
|
|
3
|
-
import "../../../shared/ui/dist/index.js";
|
|
4
|
-
import { ApprovalPolicyCard as a } from "./index13.js";
|
|
5
|
-
import "./index14.js";
|
|
6
|
-
import { BillStatusBadge as o } from "./index18.js";
|
|
7
|
-
import "./index19.js";
|
|
8
|
-
import { DueDateValue as s } from "./index21.js";
|
|
9
|
-
import "./index22.js";
|
|
10
|
-
import { mergeBillDetailBodyLabels as c } from "./index23.js";
|
|
11
|
-
import { BillActionButtons as l, NO_BILL_ACTIONS as u } from "./index15.js";
|
|
12
|
-
import { AchFieldGroup as d } from "../../../shared/counterpart-management/ui/dist/index5.js";
|
|
13
|
-
import "../../../shared/counterpart-management/ui/dist/index.js";
|
|
14
|
-
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
15
|
-
import { AlertTriangle as m, ChevronRight as h } from "lucide-react";
|
|
16
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js
|
|
17
|
-
var g = "ttw:text-base ttw:font-semibold", _ = "ttw:px-3 ttw:py-2", v = "ttw:flex ttw:items-center ttw:justify-between ttw:gap-4 ttw:border-b ttw:border-border ttw:py-3 ttw:last:border-b-0";
|
|
18
|
-
function y({ view: y, actions: b = u, scheduledSummary: x, paymentInstructionsForm: S, isLoading: C, isError: w, labels: T }) {
|
|
19
|
-
let E = c(T);
|
|
20
|
-
if (w) return /* @__PURE__ */ f(i, {
|
|
21
|
-
title: E.errorTitle,
|
|
22
|
-
description: E.errorDescription
|
|
23
|
-
});
|
|
24
|
-
if (C || !y) return /* @__PURE__ */ p("div", {
|
|
25
|
-
"aria-hidden": !0,
|
|
26
|
-
className: "ttw:flex ttw:flex-col ttw:gap-6",
|
|
27
|
-
children: [
|
|
28
|
-
/* @__PURE__ */ f(n, { className: "ttw:h-40 ttw:w-full" }),
|
|
29
|
-
/* @__PURE__ */ f(n, { className: "ttw:h-32 ttw:w-full" }),
|
|
30
|
-
/* @__PURE__ */ f(n, { className: "ttw:h-24 ttw:w-full" })
|
|
31
|
-
]
|
|
32
|
-
});
|
|
33
|
-
let D = !y.payTo.paymentInstructionsLabel && S;
|
|
34
|
-
return /* @__PURE__ */ p("div", {
|
|
35
|
-
className: "ttw:flex ttw:flex-col ttw:gap-6",
|
|
36
|
-
children: [
|
|
37
|
-
D ? /* @__PURE__ */ p("div", {
|
|
38
|
-
className: "ttw:flex ttw:items-center ttw:gap-3 ttw:rounded-md ttw:border ttw:border-amber-200 ttw:bg-amber-50 ttw:px-3 ttw:py-2.5",
|
|
39
|
-
children: [
|
|
40
|
-
/* @__PURE__ */ f(m, { className: "ttw:size-4 ttw:shrink-0 ttw:text-amber-800" }),
|
|
41
|
-
/* @__PURE__ */ f("p", {
|
|
42
|
-
className: "ttw:flex-1 ttw:text-sm ttw:text-foreground",
|
|
43
|
-
children: E.missingPaymentInstructionsBanner
|
|
44
|
-
}),
|
|
45
|
-
/* @__PURE__ */ f(t, {
|
|
46
|
-
type: "button",
|
|
47
|
-
variant: "outline",
|
|
48
|
-
size: "sm",
|
|
49
|
-
onClick: S.onOpen,
|
|
50
|
-
children: E.addPaymentInstructions
|
|
51
|
-
})
|
|
52
|
-
]
|
|
53
|
-
}) : null,
|
|
54
|
-
/* @__PURE__ */ p("section", {
|
|
55
|
-
className: "ttw:flex ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:bg-muted/50 ttw:p-4",
|
|
56
|
-
children: [
|
|
57
|
-
y.paidOnLabel ? /* @__PURE__ */ p("div", {
|
|
58
|
-
className: "ttw:grid ttw:grid-cols-2 ttw:gap-x-6",
|
|
59
|
-
children: [/* @__PURE__ */ p("div", {
|
|
60
|
-
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
61
|
-
children: [/* @__PURE__ */ f("span", {
|
|
62
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
63
|
-
children: E.amountDueHeading
|
|
64
|
-
}), /* @__PURE__ */ f("span", {
|
|
65
|
-
className: "ttw:text-3xl ttw:font-semibold",
|
|
66
|
-
children: y.amountDue
|
|
67
|
-
})]
|
|
68
|
-
}), /* @__PURE__ */ p("div", {
|
|
69
|
-
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
70
|
-
children: [/* @__PURE__ */ f("span", {
|
|
71
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
72
|
-
children: E.amountPaidHeading
|
|
73
|
-
}), /* @__PURE__ */ f("span", {
|
|
74
|
-
className: "ttw:text-3xl ttw:font-semibold ttw:text-emerald-600",
|
|
75
|
-
children: y.amountPaid
|
|
76
|
-
})]
|
|
77
|
-
})]
|
|
78
|
-
}) : /* @__PURE__ */ p("div", {
|
|
79
|
-
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
80
|
-
children: [/* @__PURE__ */ f("span", {
|
|
81
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
82
|
-
children: E.amountDueHeading
|
|
83
|
-
}), /* @__PURE__ */ f("span", {
|
|
84
|
-
className: "ttw:text-3xl ttw:font-semibold",
|
|
85
|
-
children: y.amountDue
|
|
86
|
-
})]
|
|
87
|
-
}),
|
|
88
|
-
/* @__PURE__ */ f("div", { children: y.paidOnLabel ? /* @__PURE__ */ f(e, {
|
|
89
|
-
variant: "outline",
|
|
90
|
-
className: "ttw:border-emerald-200 ttw:bg-emerald-50 ttw:text-emerald-700",
|
|
91
|
-
children: y.paidOnLabel
|
|
92
|
-
}) : /* @__PURE__ */ f(o, {
|
|
93
|
-
status: y.status,
|
|
94
|
-
tone: y.statusTone,
|
|
95
|
-
labels: E.statusBadge
|
|
96
|
-
}) }),
|
|
97
|
-
/* @__PURE__ */ p("div", {
|
|
98
|
-
className: "ttw:grid ttw:grid-cols-2 ttw:gap-x-6",
|
|
99
|
-
children: [/* @__PURE__ */ p("div", {
|
|
100
|
-
className: "ttw:flex ttw:flex-col",
|
|
101
|
-
children: [/* @__PURE__ */ f("span", {
|
|
102
|
-
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
103
|
-
children: E.invoiceDateLabel
|
|
104
|
-
}), /* @__PURE__ */ f("span", {
|
|
105
|
-
className: "ttw:text-sm ttw:font-medium",
|
|
106
|
-
children: y.invoiceDateLabel
|
|
107
|
-
})]
|
|
108
|
-
}), /* @__PURE__ */ p("div", {
|
|
109
|
-
className: "ttw:flex ttw:flex-col",
|
|
110
|
-
children: [/* @__PURE__ */ f("span", {
|
|
111
|
-
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
112
|
-
children: E.dueDateLabel
|
|
113
|
-
}), /* @__PURE__ */ f(s, {
|
|
114
|
-
className: "ttw:text-sm ttw:font-medium",
|
|
115
|
-
value: y.dueDateLabel,
|
|
116
|
-
tone: y.dueDateTone,
|
|
117
|
-
labels: E.dueDate
|
|
118
|
-
})]
|
|
119
|
-
})]
|
|
120
|
-
}),
|
|
121
|
-
x ? /* @__PURE__ */ f("div", { children: /* @__PURE__ */ f(e, {
|
|
122
|
-
variant: "outline",
|
|
123
|
-
className: "ttw:border-emerald-200 ttw:bg-emerald-50 ttw:text-emerald-700",
|
|
124
|
-
children: x
|
|
125
|
-
}) }) : b.row.length ? /* @__PURE__ */ f("div", {
|
|
126
|
-
className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:gap-2",
|
|
127
|
-
children: /* @__PURE__ */ f(l, { actions: b.row })
|
|
128
|
-
}) : null
|
|
129
|
-
]
|
|
130
|
-
}),
|
|
131
|
-
/* @__PURE__ */ p("section", {
|
|
132
|
-
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
133
|
-
children: [
|
|
134
|
-
/* @__PURE__ */ f("h3", {
|
|
135
|
-
className: g,
|
|
136
|
-
children: y.paidOnLabel ? E.payToHeadingPaid : E.payToHeading
|
|
137
|
-
}),
|
|
138
|
-
/* @__PURE__ */ p("div", {
|
|
139
|
-
className: v,
|
|
140
|
-
children: [/* @__PURE__ */ f("span", {
|
|
141
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
142
|
-
children: E.vendorRow
|
|
143
|
-
}), /* @__PURE__ */ p("div", {
|
|
144
|
-
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-right",
|
|
145
|
-
children: [/* @__PURE__ */ p("div", {
|
|
146
|
-
className: "ttw:flex ttw:flex-col",
|
|
147
|
-
children: [/* @__PURE__ */ f("span", {
|
|
148
|
-
className: "ttw:text-sm ttw:font-medium ttw:text-primary",
|
|
149
|
-
children: y.payTo.name
|
|
150
|
-
}), y.payTo.email ? /* @__PURE__ */ f("span", {
|
|
151
|
-
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
152
|
-
children: y.payTo.email
|
|
153
|
-
}) : null]
|
|
154
|
-
}), /* @__PURE__ */ f(h, {
|
|
155
|
-
"aria-hidden": !0,
|
|
156
|
-
className: "ttw:size-4 ttw:shrink-0 ttw:text-muted-foreground"
|
|
157
|
-
})]
|
|
158
|
-
})]
|
|
159
|
-
}),
|
|
160
|
-
/* @__PURE__ */ p("div", {
|
|
161
|
-
className: v,
|
|
162
|
-
children: [/* @__PURE__ */ f("span", {
|
|
163
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
164
|
-
children: E.paymentInstructionsRow
|
|
165
|
-
}), /* @__PURE__ */ p("div", {
|
|
166
|
-
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
167
|
-
children: [y.payTo.paymentInstructionsLabel ? /* @__PURE__ */ f("span", {
|
|
168
|
-
className: "ttw:text-sm ttw:font-medium",
|
|
169
|
-
children: y.payTo.paymentInstructionsLabel
|
|
170
|
-
}) : S ? /* @__PURE__ */ f("button", {
|
|
171
|
-
type: "button",
|
|
172
|
-
onClick: S.onOpen,
|
|
173
|
-
className: "ttw:text-sm ttw:font-medium ttw:text-destructive",
|
|
174
|
-
children: E.addPaymentInstructions
|
|
175
|
-
}) : /* @__PURE__ */ f("span", {
|
|
176
|
-
className: "ttw:text-sm ttw:font-medium ttw:text-destructive",
|
|
177
|
-
children: E.addPaymentInstructions
|
|
178
|
-
}), /* @__PURE__ */ f(h, {
|
|
179
|
-
"aria-hidden": !0,
|
|
180
|
-
className: "ttw:size-4 ttw:shrink-0 ttw:text-muted-foreground"
|
|
181
|
-
})]
|
|
182
|
-
})]
|
|
183
|
-
}),
|
|
184
|
-
S?.isOpen ? /* @__PURE__ */ p("div", {
|
|
185
|
-
className: "ttw:mt-2 ttw:rounded-lg ttw:border ttw:border-border ttw:p-4",
|
|
186
|
-
children: [/* @__PURE__ */ f(d, {
|
|
187
|
-
idPrefix: "bill-detail-payment-instructions",
|
|
188
|
-
values: S.values,
|
|
189
|
-
errors: S.errors,
|
|
190
|
-
onChange: S.onChange
|
|
191
|
-
}), /* @__PURE__ */ p("div", {
|
|
192
|
-
className: "ttw:mt-4 ttw:flex ttw:justify-end ttw:gap-2",
|
|
193
|
-
children: [/* @__PURE__ */ f(t, {
|
|
194
|
-
type: "button",
|
|
195
|
-
variant: "ghost",
|
|
196
|
-
onClick: S.onCancel,
|
|
197
|
-
children: E.paymentInstructionsCancel
|
|
198
|
-
}), /* @__PURE__ */ f(t, {
|
|
199
|
-
type: "button",
|
|
200
|
-
loading: S.isSaving,
|
|
201
|
-
onClick: S.onSave,
|
|
202
|
-
children: E.paymentInstructionsSave
|
|
203
|
-
})]
|
|
204
|
-
})]
|
|
205
|
-
}) : null
|
|
206
|
-
]
|
|
207
|
-
}),
|
|
208
|
-
/* @__PURE__ */ f("dl", {
|
|
209
|
-
className: "ttw:flex ttw:flex-col",
|
|
210
|
-
children: y.invoiceFields.map((e) => /* @__PURE__ */ p("div", {
|
|
211
|
-
className: v,
|
|
212
|
-
children: [/* @__PURE__ */ f("dt", {
|
|
213
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
214
|
-
children: e.label
|
|
215
|
-
}), /* @__PURE__ */ f("dd", {
|
|
216
|
-
className: "ttw:text-right ttw:text-sm ttw:font-medium",
|
|
217
|
-
children: e.value
|
|
218
|
-
})]
|
|
219
|
-
}, e.label))
|
|
220
|
-
}),
|
|
221
|
-
/* @__PURE__ */ f("section", { children: /* @__PURE__ */ p("table", {
|
|
222
|
-
className: "ttw:w-full ttw:text-sm",
|
|
223
|
-
children: [/* @__PURE__ */ f("thead", { children: /* @__PURE__ */ p("tr", {
|
|
224
|
-
className: "ttw:bg-muted/50 ttw:text-xs ttw:text-muted-foreground",
|
|
225
|
-
children: [
|
|
226
|
-
/* @__PURE__ */ f("th", {
|
|
227
|
-
className: r(_, "ttw:text-left ttw:font-normal"),
|
|
228
|
-
children: E.descriptionAndGlCodeColumn
|
|
229
|
-
}),
|
|
230
|
-
/* @__PURE__ */ f("th", {
|
|
231
|
-
className: r(_, "ttw:text-right ttw:font-normal"),
|
|
232
|
-
children: E.qtyPriceColumn
|
|
233
|
-
}),
|
|
234
|
-
/* @__PURE__ */ f("th", {
|
|
235
|
-
className: r(_, "ttw:text-right ttw:font-normal"),
|
|
236
|
-
children: E.amountColumn
|
|
237
|
-
})
|
|
238
|
-
]
|
|
239
|
-
}) }), /* @__PURE__ */ p("tbody", { children: [y.lineItems.map((e) => /* @__PURE__ */ p("tr", {
|
|
240
|
-
className: "ttw:border-b ttw:border-border",
|
|
241
|
-
children: [
|
|
242
|
-
/* @__PURE__ */ f("td", {
|
|
243
|
-
className: _,
|
|
244
|
-
children: /* @__PURE__ */ p("div", {
|
|
245
|
-
className: "ttw:flex ttw:flex-col",
|
|
246
|
-
children: [/* @__PURE__ */ f("span", { children: e.description }), /* @__PURE__ */ f("span", {
|
|
247
|
-
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
248
|
-
children: e.glCodeLabel
|
|
249
|
-
})]
|
|
250
|
-
})
|
|
251
|
-
}),
|
|
252
|
-
/* @__PURE__ */ f("td", {
|
|
253
|
-
className: r(_, "ttw:text-right ttw:whitespace-nowrap ttw:text-muted-foreground"),
|
|
254
|
-
children: e.qtyPriceLabel
|
|
255
|
-
}),
|
|
256
|
-
/* @__PURE__ */ f("td", {
|
|
257
|
-
className: r(_, "ttw:text-right ttw:whitespace-nowrap"),
|
|
258
|
-
children: e.amount
|
|
259
|
-
})
|
|
260
|
-
]
|
|
261
|
-
}, e.id)), y.amountRows.map((e) => /* @__PURE__ */ p("tr", {
|
|
262
|
-
className: r(e.emphasis ? "ttw:font-semibold" : "ttw:text-muted-foreground"),
|
|
263
|
-
children: [/* @__PURE__ */ f("td", {
|
|
264
|
-
colSpan: 2,
|
|
265
|
-
className: _,
|
|
266
|
-
children: e.label
|
|
267
|
-
}), /* @__PURE__ */ f("td", {
|
|
268
|
-
className: r(_, "ttw:text-right ttw:whitespace-nowrap", e.emphasis && "ttw:text-foreground"),
|
|
269
|
-
children: e.value
|
|
270
|
-
})]
|
|
271
|
-
}, e.label))] })]
|
|
272
|
-
}) }),
|
|
273
|
-
y.approvalPolicy ? /* @__PURE__ */ f(a, {
|
|
274
|
-
view: y.approvalPolicy,
|
|
275
|
-
labels: E.approvalPolicy
|
|
276
|
-
}) : null,
|
|
277
|
-
y.history.length ? /* @__PURE__ */ p("section", {
|
|
278
|
-
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
279
|
-
children: [/* @__PURE__ */ f("h3", {
|
|
280
|
-
className: g,
|
|
281
|
-
children: E.historyHeading
|
|
282
|
-
}), /* @__PURE__ */ f("ul", {
|
|
283
|
-
className: "ttw:flex ttw:flex-col",
|
|
284
|
-
children: y.history.map((e) => /* @__PURE__ */ p("li", {
|
|
285
|
-
className: "ttw:flex ttw:gap-6 ttw:border-b ttw:border-border ttw:py-3 ttw:text-sm ttw:last:border-b-0",
|
|
286
|
-
children: [/* @__PURE__ */ f("span", {
|
|
287
|
-
className: "ttw:w-28 ttw:shrink-0 ttw:text-muted-foreground",
|
|
288
|
-
children: e.dateLabel
|
|
289
|
-
}), /* @__PURE__ */ f("span", { children: e.description })]
|
|
290
|
-
}, e.id))
|
|
291
|
-
})]
|
|
292
|
-
}) : null
|
|
293
|
-
]
|
|
294
|
-
});
|
|
295
|
-
}
|
|
296
|
-
//#endregion
|
|
297
|
-
export { y as BillDetailBody, y as default };
|
|
1
|
+
import "./index23.js";
|
|
@@ -1,2 +1,52 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
1
|
+
import { APPROVAL_POLICY_CARD_LABELS_EN as e } from "./index12.js";
|
|
2
|
+
import "./index14.js";
|
|
3
|
+
import { BILL_STATUS_BADGE_LABELS_EN as t } from "./index16.js";
|
|
4
|
+
import "./index19.js";
|
|
5
|
+
import { DUE_DATE_VALUE_LABELS_EN as n } from "./index20.js";
|
|
6
|
+
import "./index22.js";
|
|
7
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js
|
|
8
|
+
var r = {
|
|
9
|
+
errorTitle: "Couldn't load this bill",
|
|
10
|
+
errorDescription: "Something went wrong. Try again.",
|
|
11
|
+
amountDueHeading: "Amount due",
|
|
12
|
+
amountPaidHeading: "Amount paid",
|
|
13
|
+
invoiceDateLabel: "Invoice date",
|
|
14
|
+
dueDateLabel: "Due date",
|
|
15
|
+
payToHeading: "Pay to",
|
|
16
|
+
payToHeadingPaid: "Paid to",
|
|
17
|
+
vendorRow: "Vendor",
|
|
18
|
+
paymentInstructionsRow: "Payment instructions",
|
|
19
|
+
addPaymentInstructions: "Add payment instructions",
|
|
20
|
+
missingPaymentInstructionsBanner: "Missing payment instructions, which are required to send a payment",
|
|
21
|
+
paymentInstructionsCancel: "Cancel",
|
|
22
|
+
paymentInstructionsSave: "Save",
|
|
23
|
+
descriptionAndGlCodeColumn: "Description and GL code",
|
|
24
|
+
qtyPriceColumn: "Qty/Price",
|
|
25
|
+
amountColumn: "Amount",
|
|
26
|
+
paymentHistoryHeading: "Payment history",
|
|
27
|
+
paymentHistoryErrorDescription: "Couldn't load payment history.",
|
|
28
|
+
historyHeading: "Audit history",
|
|
29
|
+
statusBadge: t,
|
|
30
|
+
approvalPolicy: e,
|
|
31
|
+
dueDate: n
|
|
32
|
+
};
|
|
33
|
+
function i(e) {
|
|
34
|
+
return {
|
|
35
|
+
...r,
|
|
36
|
+
...e,
|
|
37
|
+
statusBadge: {
|
|
38
|
+
...r.statusBadge,
|
|
39
|
+
...e?.statusBadge
|
|
40
|
+
},
|
|
41
|
+
approvalPolicy: {
|
|
42
|
+
...r.approvalPolicy,
|
|
43
|
+
...e?.approvalPolicy
|
|
44
|
+
},
|
|
45
|
+
dueDate: {
|
|
46
|
+
...r.dueDate,
|
|
47
|
+
...e?.dueDate
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
//#endregion
|
|
52
|
+
export { r as BILL_DETAIL_BODY_LABELS_EN, i as mergeBillDetailBodyLabels };
|