@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
|
@@ -3,295 +3,302 @@ import { ErrorState as i } from "../../../shared/ui/dist/lib/ErrorState/ErrorSta
|
|
|
3
3
|
import "../../../shared/ui/dist/index.js";
|
|
4
4
|
import { ApprovalPolicyCard as a } from "./index13.js";
|
|
5
5
|
import "./index14.js";
|
|
6
|
-
import {
|
|
7
|
-
import "./
|
|
8
|
-
import {
|
|
9
|
-
import "./
|
|
10
|
-
import {
|
|
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 { PaymentHistoryList as c } from "./index23.js";
|
|
11
11
|
import "./index24.js";
|
|
12
12
|
import { mergeBillDetailBodyLabels as l } from "./index25.js";
|
|
13
|
-
import { BillActionButtons as u, NO_BILL_ACTIONS as d
|
|
14
|
-
import { AchFieldGroup as
|
|
13
|
+
import { BillActionButtons as u, NO_BILL_ACTIONS as d } from "./index15.js";
|
|
14
|
+
import { AchFieldGroup as f } from "../../../shared/counterpart-management/ui/dist/index5.js";
|
|
15
15
|
import "../../../shared/counterpart-management/ui/dist/index.js";
|
|
16
|
-
import { jsx as
|
|
17
|
-
import { AlertTriangle as
|
|
16
|
+
import { jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
17
|
+
import { AlertTriangle as h, ChevronRight as g } from "lucide-react";
|
|
18
18
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js
|
|
19
|
-
var
|
|
20
|
-
function
|
|
21
|
-
let
|
|
22
|
-
if (
|
|
23
|
-
title:
|
|
24
|
-
description:
|
|
19
|
+
var _ = "ttw:text-base ttw:font-semibold", v = "ttw:px-3 ttw:py-2", y = "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";
|
|
20
|
+
function b({ view: b, actions: x = d, scheduledSummary: S, paymentInstructionsForm: C, paymentHistoryError: w, paymentHistoryLoading: T, isLoading: E, isError: D, labels: O }) {
|
|
21
|
+
let k = l(O);
|
|
22
|
+
if (D) return /* @__PURE__ */ p(i, {
|
|
23
|
+
title: k.errorTitle,
|
|
24
|
+
description: k.errorDescription
|
|
25
25
|
});
|
|
26
|
-
if (
|
|
26
|
+
if (E || !b) return /* @__PURE__ */ m("div", {
|
|
27
27
|
"aria-hidden": !0,
|
|
28
28
|
className: "ttw:flex ttw:flex-col ttw:gap-6",
|
|
29
29
|
children: [
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
-
/* @__PURE__ */
|
|
32
|
-
/* @__PURE__ */
|
|
30
|
+
/* @__PURE__ */ p(n, { className: "ttw:h-40 ttw:w-full" }),
|
|
31
|
+
/* @__PURE__ */ p(n, { className: "ttw:h-32 ttw:w-full" }),
|
|
32
|
+
/* @__PURE__ */ p(n, { className: "ttw:h-24 ttw:w-full" })
|
|
33
33
|
]
|
|
34
34
|
});
|
|
35
|
-
let
|
|
36
|
-
return /* @__PURE__ */
|
|
35
|
+
let A = !b.payTo.paymentInstructionsLabel && C;
|
|
36
|
+
return /* @__PURE__ */ m("div", {
|
|
37
37
|
className: "ttw:flex ttw:flex-col ttw:gap-6",
|
|
38
38
|
children: [
|
|
39
|
-
|
|
39
|
+
A ? /* @__PURE__ */ m("div", {
|
|
40
40
|
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",
|
|
41
41
|
children: [
|
|
42
|
-
/* @__PURE__ */
|
|
43
|
-
/* @__PURE__ */
|
|
42
|
+
/* @__PURE__ */ p(h, { className: "ttw:size-4 ttw:shrink-0 ttw:text-amber-800" }),
|
|
43
|
+
/* @__PURE__ */ p("p", {
|
|
44
44
|
className: "ttw:flex-1 ttw:text-sm ttw:text-foreground",
|
|
45
|
-
children:
|
|
45
|
+
children: k.missingPaymentInstructionsBanner
|
|
46
46
|
}),
|
|
47
|
-
/* @__PURE__ */
|
|
47
|
+
/* @__PURE__ */ p(t, {
|
|
48
48
|
type: "button",
|
|
49
49
|
variant: "outline",
|
|
50
50
|
size: "sm",
|
|
51
|
-
onClick:
|
|
52
|
-
children:
|
|
51
|
+
onClick: C.onOpen,
|
|
52
|
+
children: k.addPaymentInstructions
|
|
53
53
|
})
|
|
54
54
|
]
|
|
55
55
|
}) : null,
|
|
56
|
-
/* @__PURE__ */
|
|
56
|
+
/* @__PURE__ */ m("section", {
|
|
57
57
|
className: "ttw:flex ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:bg-muted/50 ttw:p-4",
|
|
58
58
|
children: [
|
|
59
|
-
|
|
59
|
+
b.paidOnLabel ? /* @__PURE__ */ m("div", {
|
|
60
60
|
className: "ttw:grid ttw:grid-cols-2 ttw:gap-x-6",
|
|
61
|
-
children: [/* @__PURE__ */
|
|
61
|
+
children: [/* @__PURE__ */ m("div", {
|
|
62
62
|
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
63
|
-
children: [/* @__PURE__ */
|
|
63
|
+
children: [/* @__PURE__ */ p("span", {
|
|
64
64
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
65
|
-
children:
|
|
66
|
-
}), /* @__PURE__ */
|
|
65
|
+
children: k.amountDueHeading
|
|
66
|
+
}), /* @__PURE__ */ p("span", {
|
|
67
67
|
className: "ttw:text-3xl ttw:font-semibold",
|
|
68
|
-
children:
|
|
68
|
+
children: b.amountDue
|
|
69
69
|
})]
|
|
70
|
-
}), /* @__PURE__ */
|
|
70
|
+
}), /* @__PURE__ */ m("div", {
|
|
71
71
|
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
72
|
-
children: [/* @__PURE__ */
|
|
72
|
+
children: [/* @__PURE__ */ p("span", {
|
|
73
73
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
74
|
-
children:
|
|
75
|
-
}), /* @__PURE__ */
|
|
74
|
+
children: k.amountPaidHeading
|
|
75
|
+
}), /* @__PURE__ */ p("span", {
|
|
76
76
|
className: "ttw:text-3xl ttw:font-semibold ttw:text-emerald-600",
|
|
77
|
-
children:
|
|
77
|
+
children: b.amountPaid
|
|
78
78
|
})]
|
|
79
79
|
})]
|
|
80
|
-
}) : /* @__PURE__ */
|
|
80
|
+
}) : /* @__PURE__ */ m("div", {
|
|
81
81
|
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
82
|
-
children: [/* @__PURE__ */
|
|
82
|
+
children: [/* @__PURE__ */ p("span", {
|
|
83
83
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
84
|
-
children:
|
|
85
|
-
}), /* @__PURE__ */
|
|
84
|
+
children: k.amountDueHeading
|
|
85
|
+
}), /* @__PURE__ */ p("span", {
|
|
86
86
|
className: "ttw:text-3xl ttw:font-semibold",
|
|
87
|
-
children:
|
|
87
|
+
children: b.amountDue
|
|
88
88
|
})]
|
|
89
89
|
}),
|
|
90
|
-
/* @__PURE__ */
|
|
90
|
+
/* @__PURE__ */ p("div", { children: b.paidOnLabel ? /* @__PURE__ */ p(e, {
|
|
91
91
|
variant: "outline",
|
|
92
92
|
className: "ttw:border-emerald-200 ttw:bg-emerald-50 ttw:text-emerald-700",
|
|
93
|
-
children:
|
|
94
|
-
}) : /* @__PURE__ */
|
|
95
|
-
status:
|
|
96
|
-
tone:
|
|
97
|
-
labels:
|
|
93
|
+
children: b.paidOnLabel
|
|
94
|
+
}) : /* @__PURE__ */ p(o, {
|
|
95
|
+
status: b.status,
|
|
96
|
+
tone: b.statusTone,
|
|
97
|
+
labels: k.statusBadge
|
|
98
98
|
}) }),
|
|
99
|
-
/* @__PURE__ */
|
|
99
|
+
/* @__PURE__ */ m("div", {
|
|
100
100
|
className: "ttw:grid ttw:grid-cols-2 ttw:gap-x-6",
|
|
101
|
-
children: [/* @__PURE__ */
|
|
101
|
+
children: [/* @__PURE__ */ m("div", {
|
|
102
102
|
className: "ttw:flex ttw:flex-col",
|
|
103
|
-
children: [/* @__PURE__ */
|
|
103
|
+
children: [/* @__PURE__ */ p("span", {
|
|
104
104
|
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
105
|
-
children:
|
|
106
|
-
}), /* @__PURE__ */
|
|
105
|
+
children: k.invoiceDateLabel
|
|
106
|
+
}), /* @__PURE__ */ p("span", {
|
|
107
107
|
className: "ttw:text-sm ttw:font-medium",
|
|
108
|
-
children:
|
|
108
|
+
children: b.invoiceDateLabel
|
|
109
109
|
})]
|
|
110
|
-
}), /* @__PURE__ */
|
|
110
|
+
}), /* @__PURE__ */ m("div", {
|
|
111
111
|
className: "ttw:flex ttw:flex-col",
|
|
112
|
-
children: [/* @__PURE__ */
|
|
112
|
+
children: [/* @__PURE__ */ p("span", {
|
|
113
113
|
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
114
|
-
children:
|
|
115
|
-
}), /* @__PURE__ */
|
|
114
|
+
children: k.dueDateLabel
|
|
115
|
+
}), /* @__PURE__ */ p(s, {
|
|
116
116
|
className: "ttw:text-sm ttw:font-medium",
|
|
117
|
-
value:
|
|
118
|
-
tone:
|
|
119
|
-
labels:
|
|
117
|
+
value: b.dueDateLabel,
|
|
118
|
+
tone: b.dueDateTone,
|
|
119
|
+
labels: k.dueDate
|
|
120
120
|
})]
|
|
121
121
|
})]
|
|
122
122
|
}),
|
|
123
|
-
|
|
123
|
+
S ? /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(e, {
|
|
124
124
|
variant: "outline",
|
|
125
125
|
className: "ttw:border-emerald-200 ttw:bg-emerald-50 ttw:text-emerald-700",
|
|
126
|
-
children:
|
|
127
|
-
}) }) :
|
|
126
|
+
children: S
|
|
127
|
+
}) }) : x.row.length ? /* @__PURE__ */ p("div", {
|
|
128
128
|
className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:gap-2",
|
|
129
|
-
children:
|
|
130
|
-
actions: S.menu,
|
|
131
|
-
triggerLabel: O.overflowMenuTriggerLabel
|
|
132
|
-
})]
|
|
129
|
+
children: /* @__PURE__ */ p(u, { actions: x.row })
|
|
133
130
|
}) : null
|
|
134
131
|
]
|
|
135
132
|
}),
|
|
136
|
-
/* @__PURE__ */
|
|
133
|
+
/* @__PURE__ */ m("section", {
|
|
137
134
|
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
138
135
|
children: [
|
|
139
|
-
/* @__PURE__ */
|
|
140
|
-
className:
|
|
141
|
-
children:
|
|
136
|
+
/* @__PURE__ */ p("h3", {
|
|
137
|
+
className: _,
|
|
138
|
+
children: b.paidOnLabel ? k.payToHeadingPaid : k.payToHeading
|
|
142
139
|
}),
|
|
143
|
-
/* @__PURE__ */
|
|
144
|
-
className:
|
|
145
|
-
children: [/* @__PURE__ */
|
|
140
|
+
/* @__PURE__ */ m("div", {
|
|
141
|
+
className: y,
|
|
142
|
+
children: [/* @__PURE__ */ p("span", {
|
|
146
143
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
147
|
-
children:
|
|
148
|
-
}), /* @__PURE__ */
|
|
144
|
+
children: k.vendorRow
|
|
145
|
+
}), /* @__PURE__ */ m("div", {
|
|
149
146
|
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-right",
|
|
150
|
-
children: [/* @__PURE__ */
|
|
147
|
+
children: [/* @__PURE__ */ m("div", {
|
|
151
148
|
className: "ttw:flex ttw:flex-col",
|
|
152
|
-
children: [/* @__PURE__ */
|
|
149
|
+
children: [/* @__PURE__ */ p("span", {
|
|
153
150
|
className: "ttw:text-sm ttw:font-medium ttw:text-primary",
|
|
154
|
-
children:
|
|
155
|
-
}),
|
|
151
|
+
children: b.payTo.name
|
|
152
|
+
}), b.payTo.email ? /* @__PURE__ */ p("span", {
|
|
156
153
|
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
157
|
-
children:
|
|
154
|
+
children: b.payTo.email
|
|
158
155
|
}) : null]
|
|
159
|
-
}), /* @__PURE__ */
|
|
156
|
+
}), /* @__PURE__ */ p(g, {
|
|
160
157
|
"aria-hidden": !0,
|
|
161
158
|
className: "ttw:size-4 ttw:shrink-0 ttw:text-muted-foreground"
|
|
162
159
|
})]
|
|
163
160
|
})]
|
|
164
161
|
}),
|
|
165
|
-
/* @__PURE__ */
|
|
166
|
-
className:
|
|
167
|
-
children: [/* @__PURE__ */
|
|
162
|
+
/* @__PURE__ */ m("div", {
|
|
163
|
+
className: y,
|
|
164
|
+
children: [/* @__PURE__ */ p("span", {
|
|
168
165
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
169
|
-
children:
|
|
170
|
-
}), /* @__PURE__ */
|
|
166
|
+
children: k.paymentInstructionsRow
|
|
167
|
+
}), /* @__PURE__ */ m("div", {
|
|
171
168
|
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
172
|
-
children: [
|
|
169
|
+
children: [b.payTo.paymentInstructionsLabel ? /* @__PURE__ */ p("span", {
|
|
173
170
|
className: "ttw:text-sm ttw:font-medium",
|
|
174
|
-
children:
|
|
175
|
-
}) :
|
|
171
|
+
children: b.payTo.paymentInstructionsLabel
|
|
172
|
+
}) : C ? /* @__PURE__ */ p("button", {
|
|
176
173
|
type: "button",
|
|
177
|
-
onClick:
|
|
174
|
+
onClick: C.onOpen,
|
|
178
175
|
className: "ttw:text-sm ttw:font-medium ttw:text-destructive",
|
|
179
|
-
children:
|
|
180
|
-
}) : /* @__PURE__ */
|
|
176
|
+
children: k.addPaymentInstructions
|
|
177
|
+
}) : /* @__PURE__ */ p("span", {
|
|
181
178
|
className: "ttw:text-sm ttw:font-medium ttw:text-destructive",
|
|
182
|
-
children:
|
|
183
|
-
}), /* @__PURE__ */
|
|
179
|
+
children: k.addPaymentInstructions
|
|
180
|
+
}), /* @__PURE__ */ p(g, {
|
|
184
181
|
"aria-hidden": !0,
|
|
185
182
|
className: "ttw:size-4 ttw:shrink-0 ttw:text-muted-foreground"
|
|
186
183
|
})]
|
|
187
184
|
})]
|
|
188
185
|
}),
|
|
189
|
-
|
|
186
|
+
C?.isOpen ? /* @__PURE__ */ m("div", {
|
|
190
187
|
className: "ttw:mt-2 ttw:rounded-lg ttw:border ttw:border-border ttw:p-4",
|
|
191
|
-
children: [/* @__PURE__ */
|
|
188
|
+
children: [/* @__PURE__ */ p(f, {
|
|
192
189
|
idPrefix: "bill-detail-payment-instructions",
|
|
193
|
-
values:
|
|
194
|
-
errors:
|
|
195
|
-
onChange:
|
|
196
|
-
}), /* @__PURE__ */
|
|
190
|
+
values: C.values,
|
|
191
|
+
errors: C.errors,
|
|
192
|
+
onChange: C.onChange
|
|
193
|
+
}), /* @__PURE__ */ m("div", {
|
|
197
194
|
className: "ttw:mt-4 ttw:flex ttw:justify-end ttw:gap-2",
|
|
198
|
-
children: [/* @__PURE__ */
|
|
195
|
+
children: [/* @__PURE__ */ p(t, {
|
|
199
196
|
type: "button",
|
|
200
197
|
variant: "ghost",
|
|
201
|
-
onClick:
|
|
202
|
-
children:
|
|
203
|
-
}), /* @__PURE__ */
|
|
198
|
+
onClick: C.onCancel,
|
|
199
|
+
children: k.paymentInstructionsCancel
|
|
200
|
+
}), /* @__PURE__ */ p(t, {
|
|
204
201
|
type: "button",
|
|
205
|
-
loading:
|
|
206
|
-
onClick:
|
|
207
|
-
children:
|
|
202
|
+
loading: C.isSaving,
|
|
203
|
+
onClick: C.onSave,
|
|
204
|
+
children: k.paymentInstructionsSave
|
|
208
205
|
})]
|
|
209
206
|
})]
|
|
210
207
|
}) : null
|
|
211
208
|
]
|
|
212
209
|
}),
|
|
213
|
-
/* @__PURE__ */ m("
|
|
210
|
+
b.paymentHistory.length || w || T ? /* @__PURE__ */ m("section", {
|
|
211
|
+
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
212
|
+
children: [/* @__PURE__ */ p("h3", {
|
|
213
|
+
className: _,
|
|
214
|
+
children: k.paymentHistoryHeading
|
|
215
|
+
}), w ? /* @__PURE__ */ p("p", {
|
|
216
|
+
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
217
|
+
children: k.paymentHistoryErrorDescription
|
|
218
|
+
}) : T ? /* @__PURE__ */ p(n, { className: "ttw:h-9 ttw:w-full" }) : /* @__PURE__ */ p(c, { records: b.paymentHistory })]
|
|
219
|
+
}) : null,
|
|
220
|
+
/* @__PURE__ */ p("dl", {
|
|
214
221
|
className: "ttw:flex ttw:flex-col",
|
|
215
|
-
children:
|
|
216
|
-
className:
|
|
217
|
-
children: [/* @__PURE__ */
|
|
222
|
+
children: b.invoiceFields.map((e) => /* @__PURE__ */ m("div", {
|
|
223
|
+
className: y,
|
|
224
|
+
children: [/* @__PURE__ */ p("dt", {
|
|
218
225
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
219
226
|
children: e.label
|
|
220
|
-
}), /* @__PURE__ */
|
|
227
|
+
}), /* @__PURE__ */ p("dd", {
|
|
221
228
|
className: "ttw:text-right ttw:text-sm ttw:font-medium",
|
|
222
229
|
children: e.value
|
|
223
230
|
})]
|
|
224
231
|
}, e.label))
|
|
225
232
|
}),
|
|
226
|
-
/* @__PURE__ */
|
|
233
|
+
/* @__PURE__ */ p("section", { children: /* @__PURE__ */ m("table", {
|
|
227
234
|
className: "ttw:w-full ttw:text-sm",
|
|
228
|
-
children: [/* @__PURE__ */
|
|
235
|
+
children: [/* @__PURE__ */ p("thead", { children: /* @__PURE__ */ m("tr", {
|
|
229
236
|
className: "ttw:bg-muted/50 ttw:text-xs ttw:text-muted-foreground",
|
|
230
237
|
children: [
|
|
231
|
-
/* @__PURE__ */
|
|
232
|
-
className: r(
|
|
233
|
-
children:
|
|
238
|
+
/* @__PURE__ */ p("th", {
|
|
239
|
+
className: r(v, "ttw:text-left ttw:font-normal"),
|
|
240
|
+
children: k.descriptionAndGlCodeColumn
|
|
234
241
|
}),
|
|
235
|
-
/* @__PURE__ */
|
|
236
|
-
className: r(
|
|
237
|
-
children:
|
|
242
|
+
/* @__PURE__ */ p("th", {
|
|
243
|
+
className: r(v, "ttw:text-right ttw:font-normal"),
|
|
244
|
+
children: k.qtyPriceColumn
|
|
238
245
|
}),
|
|
239
|
-
/* @__PURE__ */
|
|
240
|
-
className: r(
|
|
241
|
-
children:
|
|
246
|
+
/* @__PURE__ */ p("th", {
|
|
247
|
+
className: r(v, "ttw:text-right ttw:font-normal"),
|
|
248
|
+
children: k.amountColumn
|
|
242
249
|
})
|
|
243
250
|
]
|
|
244
|
-
}) }), /* @__PURE__ */
|
|
251
|
+
}) }), /* @__PURE__ */ m("tbody", { children: [b.lineItems.map((e) => /* @__PURE__ */ m("tr", {
|
|
245
252
|
className: "ttw:border-b ttw:border-border",
|
|
246
253
|
children: [
|
|
247
|
-
/* @__PURE__ */
|
|
248
|
-
className:
|
|
249
|
-
children: /* @__PURE__ */
|
|
254
|
+
/* @__PURE__ */ p("td", {
|
|
255
|
+
className: v,
|
|
256
|
+
children: /* @__PURE__ */ m("div", {
|
|
250
257
|
className: "ttw:flex ttw:flex-col",
|
|
251
|
-
children: [/* @__PURE__ */
|
|
258
|
+
children: [/* @__PURE__ */ p("span", { children: e.description }), /* @__PURE__ */ p("span", {
|
|
252
259
|
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
253
260
|
children: e.glCodeLabel
|
|
254
261
|
})]
|
|
255
262
|
})
|
|
256
263
|
}),
|
|
257
|
-
/* @__PURE__ */
|
|
258
|
-
className: r(
|
|
264
|
+
/* @__PURE__ */ p("td", {
|
|
265
|
+
className: r(v, "ttw:text-right ttw:whitespace-nowrap ttw:text-muted-foreground"),
|
|
259
266
|
children: e.qtyPriceLabel
|
|
260
267
|
}),
|
|
261
|
-
/* @__PURE__ */
|
|
262
|
-
className: r(
|
|
268
|
+
/* @__PURE__ */ p("td", {
|
|
269
|
+
className: r(v, "ttw:text-right ttw:whitespace-nowrap"),
|
|
263
270
|
children: e.amount
|
|
264
271
|
})
|
|
265
272
|
]
|
|
266
|
-
}, e.id)),
|
|
273
|
+
}, e.id)), b.amountRows.map((e) => /* @__PURE__ */ m("tr", {
|
|
267
274
|
className: r(e.emphasis ? "ttw:font-semibold" : "ttw:text-muted-foreground"),
|
|
268
|
-
children: [/* @__PURE__ */
|
|
275
|
+
children: [/* @__PURE__ */ p("td", {
|
|
269
276
|
colSpan: 2,
|
|
270
|
-
className:
|
|
277
|
+
className: v,
|
|
271
278
|
children: e.label
|
|
272
|
-
}), /* @__PURE__ */
|
|
273
|
-
className: r(
|
|
279
|
+
}), /* @__PURE__ */ p("td", {
|
|
280
|
+
className: r(v, "ttw:text-right ttw:whitespace-nowrap", e.emphasis && "ttw:text-foreground"),
|
|
274
281
|
children: e.value
|
|
275
282
|
})]
|
|
276
283
|
}, e.label))] })]
|
|
277
284
|
}) }),
|
|
278
|
-
|
|
279
|
-
view:
|
|
280
|
-
labels:
|
|
285
|
+
b.approvalPolicy ? /* @__PURE__ */ p(a, {
|
|
286
|
+
view: b.approvalPolicy,
|
|
287
|
+
labels: k.approvalPolicy
|
|
281
288
|
}) : null,
|
|
282
|
-
|
|
289
|
+
b.history.length ? /* @__PURE__ */ m("section", {
|
|
283
290
|
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
284
|
-
children: [/* @__PURE__ */
|
|
285
|
-
className:
|
|
286
|
-
children:
|
|
287
|
-
}), /* @__PURE__ */
|
|
291
|
+
children: [/* @__PURE__ */ p("h3", {
|
|
292
|
+
className: _,
|
|
293
|
+
children: k.historyHeading
|
|
294
|
+
}), /* @__PURE__ */ p("ul", {
|
|
288
295
|
className: "ttw:flex ttw:flex-col",
|
|
289
|
-
children:
|
|
296
|
+
children: b.history.map((e) => /* @__PURE__ */ m("li", {
|
|
290
297
|
className: "ttw:flex ttw:gap-6 ttw:border-b ttw:border-border ttw:py-3 ttw:text-sm ttw:last:border-b-0",
|
|
291
|
-
children: [/* @__PURE__ */
|
|
298
|
+
children: [/* @__PURE__ */ p("span", {
|
|
292
299
|
className: "ttw:w-28 ttw:shrink-0 ttw:text-muted-foreground",
|
|
293
300
|
children: e.dateLabel
|
|
294
|
-
}), /* @__PURE__ */
|
|
301
|
+
}), /* @__PURE__ */ p("span", { children: e.description })]
|
|
295
302
|
}, e.id))
|
|
296
303
|
})]
|
|
297
304
|
}) : null
|
|
@@ -299,4 +306,4 @@ function x({ view: x, actions: S = d, scheduledSummary: C, paymentInstructionsFo
|
|
|
299
306
|
});
|
|
300
307
|
}
|
|
301
308
|
//#endregion
|
|
302
|
-
export {
|
|
309
|
+
export { b as BillDetailBody, b as default };
|
|
@@ -1,23 +1,18 @@
|
|
|
1
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
addLineItem: "+ Add line item",
|
|
18
|
-
increaseQuantity: (e) => `Increase quantity — line item ${e}`,
|
|
19
|
-
decreaseQuantity: (e) => `Decrease quantity — line item ${e}`,
|
|
20
|
-
removeLineItem: (e) => `Remove line item ${e}`
|
|
21
|
-
};
|
|
2
|
+
function e(e) {
|
|
3
|
+
let t = [];
|
|
4
|
+
for (let n of e) {
|
|
5
|
+
let e = t.at(-1);
|
|
6
|
+
if (e && e.heading === n.sectionHeading) {
|
|
7
|
+
e.items = [...e.items, n];
|
|
8
|
+
continue;
|
|
9
|
+
}
|
|
10
|
+
t.push({
|
|
11
|
+
heading: n.sectionHeading,
|
|
12
|
+
items: [n]
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
return t;
|
|
16
|
+
}
|
|
22
17
|
//#endregion
|
|
23
|
-
export { e as
|
|
18
|
+
export { e as groupBySectionHeading };
|