@tesouro/embedded-components-react 0.5.13 → 0.5.16
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/README.md +1 -0
- package/dist/index.css +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/lib/SettingsWidget.d.ts +3 -0
- package/dist/lib/WidgetSuite.d.ts +3 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +9 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +32 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +2 -170
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +158 -96
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index104.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js +11 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index106.js +100 -44
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index108.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index109.js +52 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index110.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +2 -88
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +17 -298
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +92 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +301 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +2 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +6 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +34 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +2 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +34 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +2 -201
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +39 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +3 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +186 -339
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +3 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +13 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +354 -85
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +87 -119
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +2 -94
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +125 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +25 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +90 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +26 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +4 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +30 -102
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +9 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +85 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +123 -8
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index3.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index4.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +57 -49
- package/dist/libs/tesouro-embedded-components-react/shared/bank-disclosures/data-access/dist/index.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/shared/bank-disclosures/feature/dist/index.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/shared/bank-disclosures/feature/dist/lib/BankDisclosuresWidget/BankDisclosuresWidget.js +64 -0
- package/dist/libs/tesouro-embedded-components-react/shared/bank-disclosures/feature/dist/lib/BankDisclosuresWidget/collectDisclosureDocuments.js +9 -0
- package/dist/libs/tesouro-embedded-components-react/shared/bank-disclosures/feature/dist/lib/BankDisclosuresWidget/testIds.js +9 -0
- package/dist/libs/tesouro-embedded-components-react/shared/bank-disclosures/feature/dist/lib/analytics/events.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/shared/bank-disclosures/ui/dist/index.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/shared/bank-disclosures/ui/dist/index2.js +20 -0
- package/dist/libs/tesouro-embedded-components-react/shared/bank-disclosures/ui/dist/index3.js +80 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +0 -28
|
@@ -1,303 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
4
|
-
import { BillRejectionNotice as p } from "./index16.js";
|
|
5
|
-
import { BillStatusBadge as m } from "./index19.js";
|
|
6
|
-
import "./index20.js";
|
|
7
|
-
import { DueDateValue as h } from "./index22.js";
|
|
8
|
-
import "./index23.js";
|
|
9
|
-
import { PaymentHistoryList as g } from "./index24.js";
|
|
10
|
-
import "./index25.js";
|
|
11
|
-
import { BillActionButtons as _, NO_BILL_ACTIONS as v } from "./index15.js";
|
|
12
|
-
import { BillOverflowMenu as y } from "./index37.js";
|
|
13
|
-
import "./index38.js";
|
|
14
|
-
import { BILL_DETAILS_SHEET_LABELS_EN as b } from "./index61.js";
|
|
15
|
-
import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
16
|
-
import { ChevronDownIcon as w, MoveDiagonal2Icon as T, XIcon as E } from "lucide-react";
|
|
1
|
+
import { cn as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { NO_VALUE_LABELS_EN as t } from "./index61.js";
|
|
3
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
17
4
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js
|
|
18
|
-
function
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
className: "ttw:flex ttw:items-start ttw:justify-between ttw:gap-6 ttw:border-b ttw:border-border ttw:py-3 ttw:last:border-b-0",
|
|
23
|
-
children: [/* @__PURE__ */ S("dt", {
|
|
24
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
25
|
-
children: e.label
|
|
26
|
-
}), /* @__PURE__ */ C("dd", {
|
|
27
|
-
className: "ttw:flex ttw:flex-col ttw:items-end ttw:text-right",
|
|
28
|
-
children: [/* @__PURE__ */ S("span", {
|
|
29
|
-
className: "ttw:text-sm ttw:font-medium",
|
|
30
|
-
children: e.value
|
|
31
|
-
}), e.secondaryValue ? /* @__PURE__ */ S("span", {
|
|
32
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
33
|
-
children: e.secondaryValue
|
|
34
|
-
}) : null]
|
|
35
|
-
})]
|
|
36
|
-
}, e.label))
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
function O({ heading: e, children: t }) {
|
|
40
|
-
return /* @__PURE__ */ C(n, {
|
|
41
|
-
defaultOpen: !0,
|
|
42
|
-
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
43
|
-
children: [/* @__PURE__ */ C(i, {
|
|
44
|
-
className: "ttw:group ttw:flex ttw:w-full ttw:items-center ttw:justify-between ttw:rounded-xs ttw:focus-visible:ring-2 ttw:focus-visible:ring-ring ttw:focus-visible:outline-hidden",
|
|
45
|
-
children: [/* @__PURE__ */ S(d, {
|
|
46
|
-
variant: "body1",
|
|
47
|
-
className: "ttw:font-semibold",
|
|
48
|
-
children: e
|
|
49
|
-
}), /* @__PURE__ */ S(w, { className: "ttw:size-4 ttw:text-muted-foreground ttw:transition-transform ttw:group-data-[state=closed]:-rotate-90" })]
|
|
50
|
-
}), /* @__PURE__ */ S(r, { children: t })]
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
function k({ open: n, onOpenChange: r, details: i, actions: w = v, approvalPolicy: k, showApprovalOverrideNotice: A, paymentHistory: j, paymentHistoryError: M, paymentHistoryLoading: N, isLoading: P, isError: F, notice: I, onClose: L, onExpand: R, testId: z, labels: B }) {
|
|
54
|
-
let V = {
|
|
55
|
-
...b,
|
|
56
|
-
...B,
|
|
57
|
-
statusBadge: {
|
|
58
|
-
...b.statusBadge,
|
|
59
|
-
...B?.statusBadge
|
|
60
|
-
},
|
|
61
|
-
approvalPolicy: {
|
|
62
|
-
...b.approvalPolicy,
|
|
63
|
-
...B?.approvalPolicy
|
|
64
|
-
},
|
|
65
|
-
dueDate: {
|
|
66
|
-
...b.dueDate,
|
|
67
|
-
...B?.dueDate
|
|
68
|
-
}
|
|
5
|
+
function i({ labels: i, className: a }) {
|
|
6
|
+
let o = {
|
|
7
|
+
...t,
|
|
8
|
+
...i
|
|
69
9
|
};
|
|
70
|
-
return /* @__PURE__ */
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"
|
|
77
|
-
children:
|
|
78
|
-
|
|
79
|
-
children: [/* @__PURE__ */ C("div", {
|
|
80
|
-
className: "ttw:flex ttw:flex-col ttw:gap-0.5",
|
|
81
|
-
children: [
|
|
82
|
-
/* @__PURE__ */ S(l, {
|
|
83
|
-
className: P ? "ttw:sr-only" : "ttw:text-xl ttw:font-semibold",
|
|
84
|
-
children: F ? V.errorTitle : P ? V.loadingTitle : i?.title
|
|
85
|
-
}),
|
|
86
|
-
P ? /* @__PURE__ */ C("div", {
|
|
87
|
-
"aria-hidden": !0,
|
|
88
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2 ttw:py-1",
|
|
89
|
-
children: [/* @__PURE__ */ S(u, { className: "ttw:h-6 ttw:w-48" }), /* @__PURE__ */ S(u, { className: "ttw:h-4 ttw:w-28" })]
|
|
90
|
-
}) : null,
|
|
91
|
-
i && !P && !F ? /* @__PURE__ */ S("p", {
|
|
92
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
93
|
-
children: i.subtitle
|
|
94
|
-
}) : null,
|
|
95
|
-
/* @__PURE__ */ S(s, {
|
|
96
|
-
className: "ttw:sr-only",
|
|
97
|
-
children: V.hiddenDescription
|
|
98
|
-
})
|
|
99
|
-
]
|
|
100
|
-
}), /* @__PURE__ */ C("div", {
|
|
101
|
-
className: "ttw:flex ttw:items-center ttw:gap-1",
|
|
102
|
-
children: [
|
|
103
|
-
R ? /* @__PURE__ */ S(t, {
|
|
104
|
-
type: "button",
|
|
105
|
-
variant: "ghost",
|
|
106
|
-
size: "icon",
|
|
107
|
-
"aria-label": V.expandButton,
|
|
108
|
-
onClick: R,
|
|
109
|
-
children: /* @__PURE__ */ S(T, { className: "ttw:size-4" })
|
|
110
|
-
}) : null,
|
|
111
|
-
i && !P && !F ? /* @__PURE__ */ S(y, {
|
|
112
|
-
actions: w.menu,
|
|
113
|
-
triggerLabel: V.overflowMenuTrigger,
|
|
114
|
-
placement: "header"
|
|
115
|
-
}) : null,
|
|
116
|
-
/* @__PURE__ */ S(t, {
|
|
117
|
-
type: "button",
|
|
118
|
-
variant: "ghost",
|
|
119
|
-
size: "icon",
|
|
120
|
-
"aria-label": V.closeButton,
|
|
121
|
-
onClick: L,
|
|
122
|
-
children: /* @__PURE__ */ S(E, { className: "ttw:size-4" })
|
|
123
|
-
})
|
|
124
|
-
]
|
|
125
|
-
})]
|
|
126
|
-
}), /* @__PURE__ */ S("div", {
|
|
127
|
-
className: "ttw:flex ttw:flex-col ttw:gap-6 ttw:px-6 ttw:pb-6",
|
|
128
|
-
children: F ? /* @__PURE__ */ S("p", {
|
|
129
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
130
|
-
children: V.errorDescription
|
|
131
|
-
}) : P ? /* @__PURE__ */ C("div", {
|
|
132
|
-
className: "ttw:flex ttw:flex-col ttw:gap-6",
|
|
133
|
-
children: [/* @__PURE__ */ S(u, { className: "ttw:h-32 ttw:w-full" }), /* @__PURE__ */ C("div", {
|
|
134
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2",
|
|
135
|
-
children: [
|
|
136
|
-
/* @__PURE__ */ S(u, { className: "ttw:h-4 ttw:w-40" }),
|
|
137
|
-
/* @__PURE__ */ S(u, { className: "ttw:h-9 ttw:w-full" }),
|
|
138
|
-
/* @__PURE__ */ S(u, { className: "ttw:h-9 ttw:w-full" })
|
|
139
|
-
]
|
|
140
|
-
})]
|
|
141
|
-
}) : i ? /* @__PURE__ */ C(x, { children: [
|
|
142
|
-
I,
|
|
143
|
-
/* @__PURE__ */ C("section", {
|
|
144
|
-
className: "ttw:flex ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:bg-muted/50 ttw:p-4",
|
|
145
|
-
children: [
|
|
146
|
-
/* @__PURE__ */ C("div", {
|
|
147
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2",
|
|
148
|
-
children: [i.paidOnLabel ? /* @__PURE__ */ C("div", {
|
|
149
|
-
className: "ttw:grid ttw:grid-cols-2 ttw:gap-x-6",
|
|
150
|
-
children: [/* @__PURE__ */ C("div", {
|
|
151
|
-
className: "ttw:flex ttw:flex-col",
|
|
152
|
-
children: [/* @__PURE__ */ S("span", {
|
|
153
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
154
|
-
children: V.amountDueHeading
|
|
155
|
-
}), /* @__PURE__ */ S("span", {
|
|
156
|
-
className: "ttw:text-3xl ttw:font-semibold",
|
|
157
|
-
children: i.amountDueLabel
|
|
158
|
-
})]
|
|
159
|
-
}), /* @__PURE__ */ C("div", {
|
|
160
|
-
className: "ttw:flex ttw:flex-col",
|
|
161
|
-
children: [/* @__PURE__ */ S("span", {
|
|
162
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
163
|
-
children: V.amountPaidHeading
|
|
164
|
-
}), /* @__PURE__ */ S("span", {
|
|
165
|
-
className: "ttw:text-3xl ttw:font-semibold ttw:text-emerald-600",
|
|
166
|
-
children: i.amountPaidLabel
|
|
167
|
-
})]
|
|
168
|
-
})]
|
|
169
|
-
}) : /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("span", {
|
|
170
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
171
|
-
children: V.amountDueHeading
|
|
172
|
-
}), /* @__PURE__ */ S("span", {
|
|
173
|
-
className: "ttw:text-3xl ttw:font-semibold",
|
|
174
|
-
children: i.amountDueLabel
|
|
175
|
-
})] }), /* @__PURE__ */ S("div", { children: i.paidOnLabel ? /* @__PURE__ */ S(e, {
|
|
176
|
-
variant: "outline",
|
|
177
|
-
className: "ttw:border-emerald-200 ttw:bg-emerald-50 ttw:text-emerald-700",
|
|
178
|
-
children: i.paidOnLabel
|
|
179
|
-
}) : /* @__PURE__ */ S(m, {
|
|
180
|
-
status: i.status,
|
|
181
|
-
tone: i.statusTone,
|
|
182
|
-
labels: V.statusBadge
|
|
183
|
-
}) })]
|
|
184
|
-
}),
|
|
185
|
-
/* @__PURE__ */ C("div", {
|
|
186
|
-
className: "ttw:grid ttw:grid-cols-2 ttw:gap-x-6 ttw:gap-y-1",
|
|
187
|
-
children: [/* @__PURE__ */ C("div", {
|
|
188
|
-
className: "ttw:flex ttw:flex-col",
|
|
189
|
-
children: [/* @__PURE__ */ S("span", {
|
|
190
|
-
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
191
|
-
children: V.invoiceDateLabel
|
|
192
|
-
}), /* @__PURE__ */ S("span", {
|
|
193
|
-
className: "ttw:text-sm ttw:font-medium",
|
|
194
|
-
children: i.invoiceDateLabel
|
|
195
|
-
})]
|
|
196
|
-
}), /* @__PURE__ */ C("div", {
|
|
197
|
-
className: "ttw:flex ttw:flex-col",
|
|
198
|
-
children: [/* @__PURE__ */ S("span", {
|
|
199
|
-
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
200
|
-
children: V.dueDateLabel
|
|
201
|
-
}), /* @__PURE__ */ S(h, {
|
|
202
|
-
className: "ttw:text-sm ttw:font-medium",
|
|
203
|
-
value: i.dueDateLabel,
|
|
204
|
-
tone: i.dueDateTone,
|
|
205
|
-
labels: V.dueDate
|
|
206
|
-
})]
|
|
207
|
-
})]
|
|
208
|
-
}),
|
|
209
|
-
i.rejection ? /* @__PURE__ */ S(p, { ...i.rejection }) : null,
|
|
210
|
-
A ? /* @__PURE__ */ S(d, {
|
|
211
|
-
variant: "caption",
|
|
212
|
-
color: "muted",
|
|
213
|
-
children: V.approvalOverrideNotice
|
|
214
|
-
}) : null,
|
|
215
|
-
w.row.length ? /* @__PURE__ */ S("div", {
|
|
216
|
-
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
217
|
-
children: /* @__PURE__ */ S(_, { actions: w.row })
|
|
218
|
-
}) : null
|
|
219
|
-
]
|
|
220
|
-
}),
|
|
221
|
-
/* @__PURE__ */ S(O, {
|
|
222
|
-
heading: i.paidOnLabel ? V.payToHeadingPaid : V.payToHeading,
|
|
223
|
-
children: /* @__PURE__ */ S(D, { items: i.payToItems })
|
|
224
|
-
}),
|
|
225
|
-
j?.length || M || N ? /* @__PURE__ */ S(O, {
|
|
226
|
-
heading: V.paymentHistoryHeading,
|
|
227
|
-
children: M ? /* @__PURE__ */ S("p", {
|
|
228
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
229
|
-
children: V.paymentHistoryErrorDescription
|
|
230
|
-
}) : N ? /* @__PURE__ */ S(u, { className: "ttw:h-9 ttw:w-full" }) : /* @__PURE__ */ S(g, { records: j ?? [] })
|
|
231
|
-
}) : null,
|
|
232
|
-
/* @__PURE__ */ S(O, {
|
|
233
|
-
heading: V.invoiceDetailsHeading,
|
|
234
|
-
children: /* @__PURE__ */ C("div", {
|
|
235
|
-
className: "ttw:flex ttw:flex-col ttw:gap-4",
|
|
236
|
-
children: [
|
|
237
|
-
/* @__PURE__ */ S(D, { items: i.invoiceItems }),
|
|
238
|
-
i.lineItems.length ? /* @__PURE__ */ C("table", {
|
|
239
|
-
className: "ttw:w-full ttw:text-sm",
|
|
240
|
-
children: [/* @__PURE__ */ S("thead", { children: /* @__PURE__ */ C("tr", {
|
|
241
|
-
className: "ttw:bg-muted/50 ttw:text-xs ttw:text-muted-foreground",
|
|
242
|
-
children: [
|
|
243
|
-
/* @__PURE__ */ S("th", {
|
|
244
|
-
className: "ttw:px-3 ttw:py-2 ttw:text-left ttw:font-normal",
|
|
245
|
-
children: V.lineItemsHeading
|
|
246
|
-
}),
|
|
247
|
-
/* @__PURE__ */ S("th", {
|
|
248
|
-
className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:font-normal",
|
|
249
|
-
children: V.lineItemsQuantityHeading
|
|
250
|
-
}),
|
|
251
|
-
/* @__PURE__ */ S("th", {
|
|
252
|
-
className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:font-normal",
|
|
253
|
-
children: V.lineItemsAmountHeading
|
|
254
|
-
})
|
|
255
|
-
]
|
|
256
|
-
}) }), /* @__PURE__ */ S("tbody", { children: i.lineItems.map((e) => /* @__PURE__ */ C("tr", {
|
|
257
|
-
className: "ttw:border-b ttw:border-border",
|
|
258
|
-
children: [
|
|
259
|
-
/* @__PURE__ */ C("td", {
|
|
260
|
-
className: "ttw:px-3 ttw:py-2",
|
|
261
|
-
children: [/* @__PURE__ */ S("span", {
|
|
262
|
-
className: "ttw:block",
|
|
263
|
-
children: e.description
|
|
264
|
-
}), /* @__PURE__ */ S("span", {
|
|
265
|
-
className: "ttw:block ttw:text-xs ttw:text-muted-foreground",
|
|
266
|
-
children: e.glCodeLabel
|
|
267
|
-
})]
|
|
268
|
-
}),
|
|
269
|
-
/* @__PURE__ */ S("td", {
|
|
270
|
-
className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:whitespace-nowrap ttw:text-muted-foreground",
|
|
271
|
-
children: e.quantityLabel
|
|
272
|
-
}),
|
|
273
|
-
/* @__PURE__ */ S("td", {
|
|
274
|
-
className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:whitespace-nowrap",
|
|
275
|
-
children: e.amountLabel
|
|
276
|
-
})
|
|
277
|
-
]
|
|
278
|
-
}, e.id)) })]
|
|
279
|
-
}) : null,
|
|
280
|
-
/* @__PURE__ */ S("dl", {
|
|
281
|
-
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
282
|
-
children: i.totals.map((e) => /* @__PURE__ */ C("div", {
|
|
283
|
-
className: e.emphasis ? "ttw:flex ttw:justify-between ttw:gap-6 ttw:border-t ttw:border-border ttw:pt-2 ttw:text-base ttw:font-semibold" : "ttw:flex ttw:justify-between ttw:gap-6 ttw:text-sm",
|
|
284
|
-
children: [/* @__PURE__ */ S("dt", {
|
|
285
|
-
className: e.emphasis ? "" : "ttw:text-muted-foreground",
|
|
286
|
-
children: e.label
|
|
287
|
-
}), /* @__PURE__ */ S("dd", { children: e.value })]
|
|
288
|
-
}, e.label))
|
|
289
|
-
})
|
|
290
|
-
]
|
|
291
|
-
})
|
|
292
|
-
}),
|
|
293
|
-
k ? /* @__PURE__ */ S(f, {
|
|
294
|
-
view: k,
|
|
295
|
-
labels: V.approvalPolicy
|
|
296
|
-
}) : null
|
|
297
|
-
] }) : null
|
|
298
|
-
})]
|
|
299
|
-
})
|
|
10
|
+
return /* @__PURE__ */ r("span", {
|
|
11
|
+
className: e("ttw:text-muted-foreground", a),
|
|
12
|
+
children: [/* @__PURE__ */ n("span", {
|
|
13
|
+
"aria-hidden": !0,
|
|
14
|
+
children: "—"
|
|
15
|
+
}), /* @__PURE__ */ n("span", {
|
|
16
|
+
className: "ttw:sr-only",
|
|
17
|
+
children: o.none
|
|
18
|
+
})]
|
|
300
19
|
});
|
|
301
20
|
}
|
|
302
21
|
//#endregion
|
|
303
|
-
export {
|
|
22
|
+
export { i as NoValue, i as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
1
|
+
import "./index61.js";
|
|
2
|
+
import "./index62.js";
|
|
@@ -1 +1,93 @@
|
|
|
1
|
+
import { DATA_TABLE_LABELS_EN as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { ADD_BILL_PANEL_LABELS_EN as t } from "./index6.js";
|
|
3
|
+
import "./index8.js";
|
|
4
|
+
import { APPROVAL_POLICY_CARD_LABELS_EN as n } from "./index12.js";
|
|
5
|
+
import "./index14.js";
|
|
6
|
+
import { BILL_STATUS_BADGE_LABELS_EN as r } from "./index17.js";
|
|
7
|
+
import "./index20.js";
|
|
8
|
+
import { DUE_DATE_VALUE_LABELS_EN as i } from "./index21.js";
|
|
9
|
+
import "./index23.js";
|
|
10
|
+
import { MISSING_VALUE_LABELS_EN as a } from "./index58.js";
|
|
11
|
+
import "./index60.js";
|
|
12
|
+
import { NO_VALUE_LABELS_EN as o } from "./index61.js";
|
|
1
13
|
import "./index63.js";
|
|
14
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js
|
|
15
|
+
var s = {
|
|
16
|
+
loadingTitle: "Loading bill…",
|
|
17
|
+
hiddenDescription: "Bill details",
|
|
18
|
+
errorTitle: "Couldn't load this bill",
|
|
19
|
+
errorDescription: "Something went wrong. Try again.",
|
|
20
|
+
amountDueHeading: "Amount due",
|
|
21
|
+
amountPaidHeading: "Amount paid",
|
|
22
|
+
invoiceDateLabel: "Invoice date",
|
|
23
|
+
dueDateLabel: "Due date",
|
|
24
|
+
approvalOverrideNotice: "If approvers are unavailable, you can override the approval policy from the overflow menu.",
|
|
25
|
+
payToHeading: "Pay to",
|
|
26
|
+
payToHeadingPaid: "Paid to",
|
|
27
|
+
paymentHistoryHeading: "Payment history",
|
|
28
|
+
paymentHistoryErrorDescription: "Couldn't load payment history.",
|
|
29
|
+
invoiceDetailsHeading: "Invoice details",
|
|
30
|
+
lineItemsHeading: "Line items",
|
|
31
|
+
lineItemsQuantityHeading: "Qty/Price",
|
|
32
|
+
lineItemsAmountHeading: "Amount",
|
|
33
|
+
editButton: "Edit bill",
|
|
34
|
+
payButton: "Pay",
|
|
35
|
+
markAsPaidButton: "Mark as paid",
|
|
36
|
+
rejectButton: "Reject",
|
|
37
|
+
approveButton: "Approve",
|
|
38
|
+
cancelButton: "Cancel bill",
|
|
39
|
+
cancelScheduledPaymentButton: "Cancel scheduled payment",
|
|
40
|
+
reopenButton: "Reopen bill",
|
|
41
|
+
forceApproveButton: "Approve",
|
|
42
|
+
forceRejectButton: "Reject",
|
|
43
|
+
policyOverridesGroup: "Policy overrides",
|
|
44
|
+
overflowMenuTrigger: "Bill actions",
|
|
45
|
+
expandButton: "Open full screen",
|
|
46
|
+
closeButton: "Close",
|
|
47
|
+
statusBadge: r,
|
|
48
|
+
approvalPolicy: n,
|
|
49
|
+
dueDate: i
|
|
50
|
+
}, c = ".pdf,.png,.jpg,.jpeg,.doc,.docx", l = {
|
|
51
|
+
...t,
|
|
52
|
+
dropzone: {
|
|
53
|
+
...t.dropzone,
|
|
54
|
+
fileTypesHint: "PDF, DOC, JPG, or PNG (max. 3MB)"
|
|
55
|
+
}
|
|
56
|
+
}, u = {
|
|
57
|
+
createButton: "Add bill",
|
|
58
|
+
columnVendor: "Vendor",
|
|
59
|
+
columnAttachment: "Attachment",
|
|
60
|
+
columnIssueDate: "Issue date",
|
|
61
|
+
columnDueDate: "Due date",
|
|
62
|
+
columnScheduledDate: "Scheduled date",
|
|
63
|
+
columnPaidDate: "Paid date",
|
|
64
|
+
columnAmountDue: "Amount due",
|
|
65
|
+
columnAmountScheduled: "Amount scheduled",
|
|
66
|
+
columnAmountPaid: "Amount paid",
|
|
67
|
+
columnTotalAmount: "Total amount",
|
|
68
|
+
columnStatus: "Status",
|
|
69
|
+
columnAddedOn: "Added on",
|
|
70
|
+
columnActions: "Actions",
|
|
71
|
+
openRow: (e) => `View bill — ${e}`,
|
|
72
|
+
duplicateBillsReviewButton: "Review duplicates",
|
|
73
|
+
searchPlaceholder: "Search by vendor name",
|
|
74
|
+
searchLabel: "Search bills by vendor name",
|
|
75
|
+
filterTabsLabel: "Filter bills by status",
|
|
76
|
+
filteredEmptyTitle: "No bills match",
|
|
77
|
+
filteredEmptyDescription: "Try a different search or status filter.",
|
|
78
|
+
errorTitle: "Couldn't load bills",
|
|
79
|
+
errorDescription: "Something went wrong. Try again.",
|
|
80
|
+
errorRetry: "Retry",
|
|
81
|
+
statusBadge: r,
|
|
82
|
+
addBill: l,
|
|
83
|
+
sortableHeader: {
|
|
84
|
+
sortedAscending: e.sortedAscending,
|
|
85
|
+
sortedDescending: e.sortedDescending,
|
|
86
|
+
notSorted: e.notSorted
|
|
87
|
+
},
|
|
88
|
+
missingValue: a,
|
|
89
|
+
noValue: o,
|
|
90
|
+
dueDate: i
|
|
91
|
+
};
|
|
92
|
+
//#endregion
|
|
93
|
+
export { u as BILLS_SCREEN_LABELS_EN, c as BILLS_SCREEN_UPLOAD_ACCEPT, s as BILL_DETAILS_SHEET_LABELS_EN };
|