@tesouro/embedded-components-react 0.5.19 → 0.5.23
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/data-access/dist/index6.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +4 -91
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +78 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +98 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +3 -49
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +47 -136
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +136 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +33 -187
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +188 -75
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +75 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +22 -232
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +223 -210
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +202 -108
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +126 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +12 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +47 -53
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +49 -202
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +202 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +32 -234
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +240 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +19 -434
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +436 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +4 -38
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +35 -231
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +233 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +3 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +2 -44
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +46 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +10 -110
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +112 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +3 -127
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +124 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +8 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +8 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +43 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +20 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +27 -82
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +83 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +47 -250
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +239 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +110 -206
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +213 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +6 -113
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +115 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +25 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index15.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +16 -20
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +21 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +140 -139
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +139 -134
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index10.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index11.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index12.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index13.js +24 -0
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index14.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index15.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index16.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index17.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index18.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index19.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index2.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index20.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index21.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index22.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index23.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index3.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index4.js +29 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index5.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index6.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index7.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index8.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index9.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index10.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index11.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index12.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index13.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index14.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index15.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index16.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index17.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index2.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index5.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index7.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index8.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index9.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index10.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index11.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index12.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index13.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index14.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index15.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index16.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index17.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index18.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index2.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index5.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index8.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index9.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +12 -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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index11.js +0 -3
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index13.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index2.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index4.js +0 -29
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index5.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index6.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index2.js +0 -9
- /package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index.js +0 -0
- /package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index.js +0 -0
|
@@ -3,252 +3,253 @@ import { ErrorState as a } from "../../../shared/ui/dist/lib/ErrorState/ErrorSta
|
|
|
3
3
|
import "../../../shared/ui/dist/index.js";
|
|
4
4
|
import { ApprovalPolicyCard as o } from "./index13.js";
|
|
5
5
|
import "./index14.js";
|
|
6
|
-
import { BillRejectionNotice as s } from "./
|
|
7
|
-
import {
|
|
6
|
+
import { BillRejectionNotice as s } from "./index17.js";
|
|
7
|
+
import { BADGE_TONE_CLASS_NAME as c } from "./index15.js";
|
|
8
|
+
import { BillStatusBadge as l } from "./index19.js";
|
|
8
9
|
import "./index20.js";
|
|
9
|
-
import { DueDateValue as
|
|
10
|
+
import { DueDateValue as u } from "./index22.js";
|
|
10
11
|
import "./index23.js";
|
|
11
|
-
import { PaymentHistoryList as
|
|
12
|
+
import { PaymentHistoryList as d } from "./index24.js";
|
|
12
13
|
import "./index25.js";
|
|
13
|
-
import { VendorSummaryCard as
|
|
14
|
+
import { VendorSummaryCard as f } from "./index28.js";
|
|
14
15
|
import "./index29.js";
|
|
15
|
-
import { mergeBillDetailBodyLabels as
|
|
16
|
-
import { BillActionButtons as
|
|
17
|
-
import { useMemo as
|
|
18
|
-
import { jsx as
|
|
19
|
-
import { AlertTriangle as
|
|
16
|
+
import { mergeBillDetailBodyLabels as p } from "./index30.js";
|
|
17
|
+
import { BillActionButtons as m, NO_BILL_ACTIONS as h } from "./index16.js";
|
|
18
|
+
import { useMemo as g } from "react";
|
|
19
|
+
import { jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
20
|
+
import { AlertTriangle as y } from "lucide-react";
|
|
20
21
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js
|
|
21
|
-
var
|
|
22
|
-
function
|
|
23
|
-
let
|
|
24
|
-
...
|
|
25
|
-
payToHeading:
|
|
26
|
-
}), [
|
|
27
|
-
if (
|
|
28
|
-
title:
|
|
29
|
-
description:
|
|
22
|
+
var b = "ttw:text-base ttw:font-semibold", x = "ttw:px-3 ttw:py-2", S = "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";
|
|
23
|
+
function C({ view: C, actions: w = h, scheduledSummary: T, showApprovalOverrideNotice: E, paymentInstructionsForm: D, hideMissingPaymentInstructions: O, onEditPaymentInstructions: k, paymentHistoryError: A, paymentHistoryLoading: j, isLoading: M, isError: N, labels: P }) {
|
|
24
|
+
let F = g(() => p(P), [P]), I = g(() => ({
|
|
25
|
+
...F.payToCard,
|
|
26
|
+
payToHeading: C?.paidOnLabel ? F.payToHeadingPaid : F.payToHeading
|
|
27
|
+
}), [F, C?.paidOnLabel]);
|
|
28
|
+
if (N) return /* @__PURE__ */ _(a, {
|
|
29
|
+
title: F.errorTitle,
|
|
30
|
+
description: F.errorDescription
|
|
30
31
|
});
|
|
31
|
-
if (
|
|
32
|
+
if (M || !C) return /* @__PURE__ */ v("div", {
|
|
32
33
|
"aria-hidden": !0,
|
|
33
34
|
className: "ttw:flex ttw:flex-col ttw:gap-6",
|
|
34
35
|
children: [
|
|
35
|
-
/* @__PURE__ */
|
|
36
|
-
/* @__PURE__ */
|
|
37
|
-
/* @__PURE__ */
|
|
36
|
+
/* @__PURE__ */ _(n, { className: "ttw:h-40 ttw:w-full" }),
|
|
37
|
+
/* @__PURE__ */ _(n, { className: "ttw:h-32 ttw:w-full" }),
|
|
38
|
+
/* @__PURE__ */ _(n, { className: "ttw:h-24 ttw:w-full" })
|
|
38
39
|
]
|
|
39
40
|
});
|
|
40
|
-
let
|
|
41
|
-
return /* @__PURE__ */
|
|
41
|
+
let L = O || C.payTo.fields.length > 0 ? void 0 : D;
|
|
42
|
+
return /* @__PURE__ */ v("div", {
|
|
42
43
|
className: "ttw:flex ttw:flex-col ttw:gap-6",
|
|
43
44
|
children: [
|
|
44
|
-
|
|
45
|
+
L ? /* @__PURE__ */ v("div", {
|
|
45
46
|
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",
|
|
46
47
|
children: [
|
|
47
|
-
/* @__PURE__ */
|
|
48
|
-
/* @__PURE__ */
|
|
48
|
+
/* @__PURE__ */ _(y, { className: "ttw:size-4 ttw:shrink-0 ttw:text-amber-800" }),
|
|
49
|
+
/* @__PURE__ */ _("p", {
|
|
49
50
|
className: "ttw:flex-1 ttw:text-sm ttw:text-foreground",
|
|
50
|
-
children:
|
|
51
|
+
children: F.missingPaymentInstructionsBanner
|
|
51
52
|
}),
|
|
52
|
-
/* @__PURE__ */
|
|
53
|
+
/* @__PURE__ */ _(t, {
|
|
53
54
|
type: "button",
|
|
54
55
|
variant: "outline",
|
|
55
56
|
size: "sm",
|
|
56
|
-
onClick:
|
|
57
|
-
children:
|
|
57
|
+
onClick: L.onOpen,
|
|
58
|
+
children: F.addPaymentInstructions
|
|
58
59
|
})
|
|
59
60
|
]
|
|
60
61
|
}) : null,
|
|
61
|
-
/* @__PURE__ */
|
|
62
|
+
/* @__PURE__ */ v("section", {
|
|
62
63
|
className: "ttw:flex ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:bg-muted/50 ttw:p-4",
|
|
63
64
|
children: [
|
|
64
|
-
|
|
65
|
+
C.paidOnLabel ? /* @__PURE__ */ v("div", {
|
|
65
66
|
className: "ttw:grid ttw:grid-cols-2 ttw:gap-x-6",
|
|
66
|
-
children: [/* @__PURE__ */
|
|
67
|
+
children: [/* @__PURE__ */ v("div", {
|
|
67
68
|
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
68
|
-
children: [/* @__PURE__ */
|
|
69
|
+
children: [/* @__PURE__ */ _("span", {
|
|
69
70
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
70
|
-
children:
|
|
71
|
-
}), /* @__PURE__ */
|
|
71
|
+
children: F.amountDueHeading
|
|
72
|
+
}), /* @__PURE__ */ _("span", {
|
|
72
73
|
className: "ttw:text-3xl ttw:font-semibold",
|
|
73
|
-
children:
|
|
74
|
+
children: C.amountDue
|
|
74
75
|
})]
|
|
75
|
-
}), /* @__PURE__ */
|
|
76
|
+
}), /* @__PURE__ */ v("div", {
|
|
76
77
|
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
77
|
-
children: [/* @__PURE__ */
|
|
78
|
+
children: [/* @__PURE__ */ _("span", {
|
|
78
79
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
79
|
-
children:
|
|
80
|
-
}), /* @__PURE__ */
|
|
80
|
+
children: F.amountPaidHeading
|
|
81
|
+
}), /* @__PURE__ */ _("span", {
|
|
81
82
|
className: "ttw:text-3xl ttw:font-semibold ttw:text-emerald-600",
|
|
82
|
-
children:
|
|
83
|
+
children: C.amountPaid
|
|
83
84
|
})]
|
|
84
85
|
})]
|
|
85
|
-
}) : /* @__PURE__ */
|
|
86
|
+
}) : /* @__PURE__ */ v("div", {
|
|
86
87
|
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
87
|
-
children: [/* @__PURE__ */
|
|
88
|
+
children: [/* @__PURE__ */ _("span", {
|
|
88
89
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
89
|
-
children:
|
|
90
|
-
}), /* @__PURE__ */
|
|
90
|
+
children: F.amountDueHeading
|
|
91
|
+
}), /* @__PURE__ */ _("span", {
|
|
91
92
|
className: "ttw:text-3xl ttw:font-semibold",
|
|
92
|
-
children:
|
|
93
|
+
children: C.amountDue
|
|
93
94
|
})]
|
|
94
95
|
}),
|
|
95
|
-
/* @__PURE__ */
|
|
96
|
+
/* @__PURE__ */ _("div", { children: C.paidOnLabel ? /* @__PURE__ */ _(e, {
|
|
96
97
|
variant: "outline",
|
|
97
98
|
className: "ttw:border-emerald-200 ttw:bg-emerald-50 ttw:text-emerald-700",
|
|
98
|
-
children:
|
|
99
|
-
}) : /* @__PURE__ */
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
99
|
+
children: C.paidOnLabel
|
|
100
|
+
}) : T ? /* @__PURE__ */ _(e, {
|
|
101
|
+
variant: "outline",
|
|
102
|
+
className: c.committed,
|
|
103
|
+
children: T
|
|
104
|
+
}) : /* @__PURE__ */ _(l, {
|
|
105
|
+
status: C.status,
|
|
106
|
+
tone: C.statusTone,
|
|
107
|
+
labels: F.statusBadge
|
|
103
108
|
}) }),
|
|
104
|
-
/* @__PURE__ */
|
|
109
|
+
/* @__PURE__ */ v("div", {
|
|
105
110
|
className: "ttw:grid ttw:grid-cols-2 ttw:gap-x-6",
|
|
106
|
-
children: [/* @__PURE__ */
|
|
111
|
+
children: [/* @__PURE__ */ v("div", {
|
|
107
112
|
className: "ttw:flex ttw:flex-col",
|
|
108
|
-
children: [/* @__PURE__ */
|
|
113
|
+
children: [/* @__PURE__ */ _("span", {
|
|
109
114
|
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
110
|
-
children:
|
|
111
|
-
}), /* @__PURE__ */
|
|
115
|
+
children: F.invoiceDateLabel
|
|
116
|
+
}), /* @__PURE__ */ _("span", {
|
|
112
117
|
className: "ttw:text-sm ttw:font-medium",
|
|
113
|
-
children:
|
|
118
|
+
children: C.invoiceDateLabel
|
|
114
119
|
})]
|
|
115
|
-
}), /* @__PURE__ */
|
|
120
|
+
}), /* @__PURE__ */ v("div", {
|
|
116
121
|
className: "ttw:flex ttw:flex-col",
|
|
117
|
-
children: [/* @__PURE__ */
|
|
122
|
+
children: [/* @__PURE__ */ _("span", {
|
|
118
123
|
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
119
|
-
children:
|
|
120
|
-
}), /* @__PURE__ */
|
|
124
|
+
children: F.dueDateLabel
|
|
125
|
+
}), /* @__PURE__ */ _(u, {
|
|
121
126
|
className: "ttw:text-sm ttw:font-medium",
|
|
122
|
-
value:
|
|
123
|
-
tone:
|
|
124
|
-
labels:
|
|
127
|
+
value: C.dueDateLabel,
|
|
128
|
+
tone: C.dueDateTone,
|
|
129
|
+
labels: F.dueDate
|
|
125
130
|
})]
|
|
126
131
|
})]
|
|
127
132
|
}),
|
|
128
|
-
|
|
129
|
-
|
|
133
|
+
C.rejection ? /* @__PURE__ */ _(s, { ...C.rejection }) : null,
|
|
134
|
+
E ? /* @__PURE__ */ _(r, {
|
|
130
135
|
variant: "caption",
|
|
131
136
|
color: "muted",
|
|
132
|
-
children:
|
|
137
|
+
children: F.approvalOverrideNotice
|
|
133
138
|
}) : null,
|
|
134
|
-
w ? /* @__PURE__ */
|
|
135
|
-
variant: "outline",
|
|
136
|
-
className: "ttw:border-emerald-200 ttw:bg-emerald-50 ttw:text-emerald-700",
|
|
137
|
-
children: w
|
|
138
|
-
}) }) : C.row.length ? /* @__PURE__ */ g("div", {
|
|
139
|
+
!T && w.row.length ? /* @__PURE__ */ _("div", {
|
|
139
140
|
className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:gap-2",
|
|
140
|
-
children: /* @__PURE__ */
|
|
141
|
+
children: /* @__PURE__ */ _(m, { actions: w.row })
|
|
141
142
|
}) : null
|
|
142
143
|
]
|
|
143
144
|
}),
|
|
144
|
-
/* @__PURE__ */
|
|
145
|
-
summary:
|
|
146
|
-
onEdit:
|
|
145
|
+
/* @__PURE__ */ _(f, {
|
|
146
|
+
summary: C.payTo,
|
|
147
|
+
onEdit: O ? void 0 : k,
|
|
147
148
|
instructionsCollapsed: !0,
|
|
148
|
-
paymentInstructions:
|
|
149
|
-
isOpen:
|
|
150
|
-
values:
|
|
151
|
-
errors:
|
|
152
|
-
isSaving:
|
|
153
|
-
onOpen:
|
|
154
|
-
onChange:
|
|
155
|
-
onSave:
|
|
156
|
-
onCancel:
|
|
149
|
+
paymentInstructions: D && !O ? {
|
|
150
|
+
isOpen: D.isOpen,
|
|
151
|
+
values: D.values,
|
|
152
|
+
errors: D.errors,
|
|
153
|
+
isSaving: D.isSaving,
|
|
154
|
+
onOpen: D.onOpen,
|
|
155
|
+
onChange: D.onChange,
|
|
156
|
+
onSave: D.onSave,
|
|
157
|
+
onCancel: D.onCancel
|
|
157
158
|
} : void 0,
|
|
158
|
-
labels:
|
|
159
|
+
labels: I
|
|
159
160
|
}),
|
|
160
|
-
|
|
161
|
+
C.paymentHistory.length || A || j ? /* @__PURE__ */ v("section", {
|
|
161
162
|
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
162
|
-
children: [/* @__PURE__ */
|
|
163
|
-
className:
|
|
164
|
-
children:
|
|
165
|
-
}),
|
|
163
|
+
children: [/* @__PURE__ */ _("h3", {
|
|
164
|
+
className: b,
|
|
165
|
+
children: F.paymentHistoryHeading
|
|
166
|
+
}), A ? /* @__PURE__ */ _("p", {
|
|
166
167
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
167
|
-
children:
|
|
168
|
-
}) :
|
|
168
|
+
children: F.paymentHistoryErrorDescription
|
|
169
|
+
}) : j ? /* @__PURE__ */ _(n, { className: "ttw:h-9 ttw:w-full" }) : /* @__PURE__ */ _(d, { records: C.paymentHistory })]
|
|
169
170
|
}) : null,
|
|
170
|
-
/* @__PURE__ */
|
|
171
|
+
/* @__PURE__ */ _("dl", {
|
|
171
172
|
className: "ttw:flex ttw:flex-col",
|
|
172
|
-
children:
|
|
173
|
-
className:
|
|
174
|
-
children: [/* @__PURE__ */
|
|
173
|
+
children: C.invoiceFields.map((e) => /* @__PURE__ */ v("div", {
|
|
174
|
+
className: S,
|
|
175
|
+
children: [/* @__PURE__ */ _("dt", {
|
|
175
176
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
176
177
|
children: e.label
|
|
177
|
-
}), /* @__PURE__ */
|
|
178
|
+
}), /* @__PURE__ */ _("dd", {
|
|
178
179
|
className: "ttw:text-right ttw:text-sm ttw:font-medium",
|
|
179
180
|
children: e.value
|
|
180
181
|
})]
|
|
181
182
|
}, e.label))
|
|
182
183
|
}),
|
|
183
|
-
/* @__PURE__ */
|
|
184
|
+
/* @__PURE__ */ _("section", { children: /* @__PURE__ */ v("table", {
|
|
184
185
|
className: "ttw:w-full ttw:text-sm",
|
|
185
|
-
children: [/* @__PURE__ */
|
|
186
|
+
children: [/* @__PURE__ */ _("thead", { children: /* @__PURE__ */ v("tr", {
|
|
186
187
|
className: "ttw:bg-muted/50 ttw:text-xs ttw:text-muted-foreground",
|
|
187
188
|
children: [
|
|
188
|
-
/* @__PURE__ */
|
|
189
|
-
className: i(
|
|
190
|
-
children:
|
|
189
|
+
/* @__PURE__ */ _("th", {
|
|
190
|
+
className: i(x, "ttw:text-left ttw:font-normal"),
|
|
191
|
+
children: F.descriptionAndGlCodeColumn
|
|
191
192
|
}),
|
|
192
|
-
/* @__PURE__ */
|
|
193
|
-
className: i(
|
|
194
|
-
children:
|
|
193
|
+
/* @__PURE__ */ _("th", {
|
|
194
|
+
className: i(x, "ttw:text-right ttw:font-normal"),
|
|
195
|
+
children: F.qtyPriceColumn
|
|
195
196
|
}),
|
|
196
|
-
/* @__PURE__ */
|
|
197
|
-
className: i(
|
|
198
|
-
children:
|
|
197
|
+
/* @__PURE__ */ _("th", {
|
|
198
|
+
className: i(x, "ttw:text-right ttw:font-normal"),
|
|
199
|
+
children: F.amountColumn
|
|
199
200
|
})
|
|
200
201
|
]
|
|
201
|
-
}) }), /* @__PURE__ */
|
|
202
|
+
}) }), /* @__PURE__ */ v("tbody", { children: [C.lineItems.map((e) => /* @__PURE__ */ v("tr", {
|
|
202
203
|
className: "ttw:border-b ttw:border-border",
|
|
203
204
|
children: [
|
|
204
|
-
/* @__PURE__ */
|
|
205
|
-
className:
|
|
206
|
-
children: /* @__PURE__ */
|
|
205
|
+
/* @__PURE__ */ _("td", {
|
|
206
|
+
className: x,
|
|
207
|
+
children: /* @__PURE__ */ v("div", {
|
|
207
208
|
className: "ttw:flex ttw:flex-col",
|
|
208
|
-
children: [/* @__PURE__ */
|
|
209
|
+
children: [/* @__PURE__ */ _("span", { children: e.description }), /* @__PURE__ */ _("span", {
|
|
209
210
|
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
210
211
|
children: e.glCodeLabel
|
|
211
212
|
})]
|
|
212
213
|
})
|
|
213
214
|
}),
|
|
214
|
-
/* @__PURE__ */
|
|
215
|
-
className: i(
|
|
215
|
+
/* @__PURE__ */ _("td", {
|
|
216
|
+
className: i(x, "ttw:text-right ttw:whitespace-nowrap ttw:text-muted-foreground"),
|
|
216
217
|
children: e.qtyPriceLabel
|
|
217
218
|
}),
|
|
218
|
-
/* @__PURE__ */
|
|
219
|
-
className: i(
|
|
219
|
+
/* @__PURE__ */ _("td", {
|
|
220
|
+
className: i(x, "ttw:text-right ttw:whitespace-nowrap"),
|
|
220
221
|
children: e.amount
|
|
221
222
|
})
|
|
222
223
|
]
|
|
223
|
-
}, e.id)),
|
|
224
|
+
}, e.id)), C.amountRows.map((e) => /* @__PURE__ */ v("tr", {
|
|
224
225
|
className: i(e.emphasis ? "ttw:font-semibold" : "ttw:text-muted-foreground"),
|
|
225
|
-
children: [/* @__PURE__ */
|
|
226
|
+
children: [/* @__PURE__ */ _("td", {
|
|
226
227
|
colSpan: 2,
|
|
227
|
-
className:
|
|
228
|
+
className: x,
|
|
228
229
|
children: e.label
|
|
229
|
-
}), /* @__PURE__ */
|
|
230
|
-
className: i(
|
|
230
|
+
}), /* @__PURE__ */ _("td", {
|
|
231
|
+
className: i(x, "ttw:text-right ttw:whitespace-nowrap", e.emphasis && "ttw:text-foreground"),
|
|
231
232
|
children: e.value
|
|
232
233
|
})]
|
|
233
234
|
}, e.label))] })]
|
|
234
235
|
}) }),
|
|
235
|
-
|
|
236
|
-
view:
|
|
237
|
-
labels:
|
|
236
|
+
C.approvalPolicy ? /* @__PURE__ */ _(o, {
|
|
237
|
+
view: C.approvalPolicy,
|
|
238
|
+
labels: F.approvalPolicy
|
|
238
239
|
}) : null,
|
|
239
|
-
|
|
240
|
+
C.history.length ? /* @__PURE__ */ v("section", {
|
|
240
241
|
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
241
|
-
children: [/* @__PURE__ */
|
|
242
|
-
className:
|
|
243
|
-
children:
|
|
244
|
-
}), /* @__PURE__ */
|
|
242
|
+
children: [/* @__PURE__ */ _("h3", {
|
|
243
|
+
className: b,
|
|
244
|
+
children: F.historyHeading
|
|
245
|
+
}), /* @__PURE__ */ _("ul", {
|
|
245
246
|
className: "ttw:flex ttw:flex-col",
|
|
246
|
-
children:
|
|
247
|
+
children: C.history.map((e) => /* @__PURE__ */ v("li", {
|
|
247
248
|
className: "ttw:flex ttw:gap-6 ttw:border-b ttw:border-border ttw:py-3 ttw:text-sm ttw:last:border-b-0",
|
|
248
|
-
children: [/* @__PURE__ */
|
|
249
|
+
children: [/* @__PURE__ */ _("span", {
|
|
249
250
|
className: "ttw:w-28 ttw:shrink-0 ttw:text-muted-foreground",
|
|
250
251
|
children: e.dateLabel
|
|
251
|
-
}), /* @__PURE__ */
|
|
252
|
+
}), /* @__PURE__ */ _("span", { children: e.description })]
|
|
252
253
|
}, e.id))
|
|
253
254
|
})]
|
|
254
255
|
}) : null
|
|
@@ -256,4 +257,4 @@ function S({ view: S, actions: C = m, scheduledSummary: w, showApprovalOverrideN
|
|
|
256
257
|
});
|
|
257
258
|
}
|
|
258
259
|
//#endregion
|
|
259
|
-
export {
|
|
260
|
+
export { C as BillDetailBody, C as default };
|
|
@@ -3,7 +3,7 @@ import { ADD_BILL_PANEL_LABELS_EN as t } from "./index6.js";
|
|
|
3
3
|
import "./index8.js";
|
|
4
4
|
import { APPROVAL_POLICY_CARD_LABELS_EN as n } from "./index12.js";
|
|
5
5
|
import "./index14.js";
|
|
6
|
-
import { BILL_STATUS_BADGE_LABELS_EN as r } from "./
|
|
6
|
+
import { BILL_STATUS_BADGE_LABELS_EN as r } from "./index18.js";
|
|
7
7
|
import "./index20.js";
|
|
8
8
|
import { DUE_DATE_VALUE_LABELS_EN as i } from "./index21.js";
|
|
9
9
|
import "./index23.js";
|