@tesouro/embedded-components-react 0.3.24 → 0.3.26

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