@tesouro/embedded-components-react 0.11.170 → 0.11.172
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.d.ts +6 -0
- package/dist/lib/ReceivablesWidget.d.ts +6 -0
- package/dist/lib/WidgetSuite.d.ts +6 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index26.js +75 -66
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index27.js +62 -53
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index31.js +44 -38
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index44.js +331 -326
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index46.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index47.js +190 -187
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index14.js +12 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index15.js +25 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index33.js +4 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index34.js +23 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index5.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index16.js +196 -187
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +6 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index8.js +20 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index18.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index20.js +157 -161
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index5.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +5 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +32 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +2 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/index.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/resolveBillDueDate.js +22 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/details.js +116 -98
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/helpers.js +99 -92
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/labels.js +7 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/recurringSeries.js +15 -24
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index60.js +59 -69
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/DateDisclosure/DateDisclosure.js +28 -0
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/DueDateText/DueDateText.js +19 -0
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/index.js +28 -27
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/dueDateDisplay.js +23 -0
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +0 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +0 -2
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index15.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { AuditHistoryList as e, Badge as t, Button as n, RequiredFieldsLegend as r, Skeleton as i, Typography as a, cn as o } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
2
|
import { ErrorState as s } from "../../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
|
|
3
|
+
import { DueDateText as c } from "../../../../shared/ui/dist/lib/DueDateText/DueDateText.js";
|
|
3
4
|
import "../../../../shared/ui/dist/index.js";
|
|
4
|
-
import { ApprovalPolicyCard as
|
|
5
|
+
import { ApprovalPolicyCard as l } from "./index3.js";
|
|
5
6
|
import "./index4.js";
|
|
6
|
-
import { BillRejectionNotice as
|
|
7
|
+
import { BillRejectionNotice as u } from "./index6.js";
|
|
7
8
|
import "./index7.js";
|
|
8
|
-
import { PaymentHistoryList as
|
|
9
|
+
import { PaymentHistoryList as d } from "./index8.js";
|
|
9
10
|
import "./index9.js";
|
|
10
|
-
import { VendorSummaryCard as
|
|
11
|
+
import { VendorSummaryCard as f } from "./index12.js";
|
|
11
12
|
import "./index13.js";
|
|
12
|
-
import { BillStatusBadge as
|
|
13
|
+
import { BillStatusBadge as p } from "../../../../shared/document-status/ui/dist/index4.js";
|
|
13
14
|
import "../../../../shared/document-status/ui/dist/index.js";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
15
|
+
import { mergeBillDetailBodyLabels as m } from "./index14.js";
|
|
16
|
+
import { ScheduledSummaryBadge as h } from "./index5.js";
|
|
17
|
+
import { BillActionButtons as g, NO_BILL_ACTIONS as _ } from "../../../ui/dist/index2.js";
|
|
16
18
|
import "../../../ui/dist/index.js";
|
|
17
|
-
import { mergeBillDetailBodyLabels as g } from "./index14.js";
|
|
18
|
-
import { ScheduledSummaryBadge as _ } from "./index5.js";
|
|
19
19
|
import { useMemo as v } from "react";
|
|
20
20
|
import { jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
21
21
|
import { AlertTriangle as x } from "lucide-react";
|
|
22
22
|
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index15.js
|
|
23
23
|
var S = "ttw:text-base ttw:font-semibold", C = "ttw:px-3 ttw:py-2", w = "ttw:py-2 ttw:pr-3", T = "ttw:flex ttw:items-start ttw:gap-4 ttw:py-2.5", E = "ttw:w-[140px] ttw:shrink-0 ttw:text-sm ttw:font-medium ttw:text-muted-foreground";
|
|
24
|
-
function D({ view: D, actions: O =
|
|
25
|
-
let U = v(() =>
|
|
24
|
+
function D({ view: D, actions: O = _, scheduledSummary: k, scheduledSummaryDate: A, scheduledStatusLabel: j, showApprovalOverrideNotice: M, awaitingApprovalNotice: N, payTo: P, paymentHistoryError: F, paymentHistoryLoading: I, historyError: L, historyLoading: R, historyNamesError: z, isLoading: B, isError: V, labels: H }) {
|
|
25
|
+
let U = v(() => m(H), [H]), W = v(() => ({
|
|
26
26
|
...U.payToCard,
|
|
27
27
|
payToHeading: D?.paidOnLabel ? U.payToHeadingPaid : U.payToHeading,
|
|
28
28
|
vendorLabel: U.vendorRow,
|
|
@@ -103,10 +103,10 @@ function D({ view: D, actions: O = m, scheduledSummary: k, scheduledSummaryDate:
|
|
|
103
103
|
variant: "outline",
|
|
104
104
|
className: "ttw:border-emerald-200 ttw:bg-emerald-50 ttw:text-emerald-700",
|
|
105
105
|
children: D.paidOnLabel
|
|
106
|
-
}) : k ? /* @__PURE__ */ y(
|
|
106
|
+
}) : k ? /* @__PURE__ */ y(h, {
|
|
107
107
|
summary: k,
|
|
108
108
|
date: A
|
|
109
|
-
}) : /* @__PURE__ */ y(
|
|
109
|
+
}) : /* @__PURE__ */ y(p, {
|
|
110
110
|
status: D.status,
|
|
111
111
|
tone: D.statusTone,
|
|
112
112
|
labels: G
|
|
@@ -127,15 +127,17 @@ function D({ view: D, actions: O = m, scheduledSummary: k, scheduledSummaryDate:
|
|
|
127
127
|
children: [/* @__PURE__ */ y("span", {
|
|
128
128
|
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
129
129
|
children: U.dueDateLabel
|
|
130
|
-
}), /* @__PURE__ */ y(
|
|
130
|
+
}), /* @__PURE__ */ y("span", {
|
|
131
131
|
className: "ttw:text-sm ttw:font-medium",
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
132
|
+
children: /* @__PURE__ */ y(c, {
|
|
133
|
+
label: D.dueDateLabel,
|
|
134
|
+
overdueLabel: D.dueDateOverdueLabel,
|
|
135
|
+
accessibleLabel: D.dueDateAccessibleLabel
|
|
136
|
+
})
|
|
135
137
|
})]
|
|
136
138
|
})]
|
|
137
139
|
}),
|
|
138
|
-
D.rejection ? /* @__PURE__ */ y(
|
|
140
|
+
D.rejection ? /* @__PURE__ */ y(u, { ...D.rejection }) : null,
|
|
139
141
|
M ? /* @__PURE__ */ y(a, {
|
|
140
142
|
variant: "caption",
|
|
141
143
|
color: "muted",
|
|
@@ -147,20 +149,20 @@ function D({ view: D, actions: O = m, scheduledSummary: k, scheduledSummaryDate:
|
|
|
147
149
|
}) : null,
|
|
148
150
|
!k && O.row.length ? /* @__PURE__ */ y("div", {
|
|
149
151
|
className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:gap-2",
|
|
150
|
-
children: /* @__PURE__ */ y(
|
|
152
|
+
children: /* @__PURE__ */ y(g, { actions: O.row })
|
|
151
153
|
}) : null
|
|
152
154
|
]
|
|
153
155
|
}),
|
|
154
156
|
K?.isOpen ? /* @__PURE__ */ y(r, { labels: U.requiredFieldsLegend }) : null,
|
|
155
157
|
P?.editForm ? /* @__PURE__ */ b("div", {
|
|
156
158
|
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
157
|
-
children: [P.editForm, /* @__PURE__ */ y(
|
|
159
|
+
children: [P.editForm, /* @__PURE__ */ y(f, {
|
|
158
160
|
summary: D.payTo,
|
|
159
161
|
paymentInstructions: K,
|
|
160
162
|
detailsWarning: P?.detailsWarning,
|
|
161
163
|
labels: W
|
|
162
164
|
})]
|
|
163
|
-
}) : /* @__PURE__ */ y(
|
|
165
|
+
}) : /* @__PURE__ */ y(f, {
|
|
164
166
|
summary: D.payTo,
|
|
165
167
|
onEdit: P?.onEdit,
|
|
166
168
|
paymentInstructions: K,
|
|
@@ -175,7 +177,7 @@ function D({ view: D, actions: O = m, scheduledSummary: k, scheduledSummaryDate:
|
|
|
175
177
|
}), F ? /* @__PURE__ */ y("p", {
|
|
176
178
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
177
179
|
children: U.paymentHistoryErrorDescription
|
|
178
|
-
}) : I ? /* @__PURE__ */ y(i, { className: "ttw:h-9 ttw:w-full" }) : /* @__PURE__ */ y(
|
|
180
|
+
}) : I ? /* @__PURE__ */ y(i, { className: "ttw:h-9 ttw:w-full" }) : /* @__PURE__ */ y(d, { records: D.paymentHistory })]
|
|
179
181
|
}) : null,
|
|
180
182
|
/* @__PURE__ */ b("section", {
|
|
181
183
|
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
@@ -248,7 +250,7 @@ function D({ view: D, actions: O = m, scheduledSummary: k, scheduledSummaryDate:
|
|
|
248
250
|
})]
|
|
249
251
|
}, e.label))] })]
|
|
250
252
|
}) }),
|
|
251
|
-
D.approvalPolicy ? /* @__PURE__ */ y(
|
|
253
|
+
D.approvalPolicy ? /* @__PURE__ */ y(l, {
|
|
252
254
|
view: D.approvalPolicy,
|
|
253
255
|
labels: U.approvalPolicy
|
|
254
256
|
}) : null,
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index33.js
CHANGED
|
@@ -2,12 +2,10 @@ import { APPROVAL_POLICY_CARD_LABELS_EN as e } from "./index2.js";
|
|
|
2
2
|
import "./index4.js";
|
|
3
3
|
import { BILL_STATUS_BADGE_LABELS_EN as t } from "../../../../shared/document-status/ui/dist/index2.js";
|
|
4
4
|
import "../../../../shared/document-status/ui/dist/index.js";
|
|
5
|
-
import {
|
|
6
|
-
import "../../../ui/dist/index.js";
|
|
7
|
-
import { BILL_AUDIT_HISTORY_SECTION_LABELS_EN as r } from "./index14.js";
|
|
5
|
+
import { BILL_AUDIT_HISTORY_SECTION_LABELS_EN as n } from "./index14.js";
|
|
8
6
|
import "./index16.js";
|
|
9
7
|
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index33.js
|
|
10
|
-
var
|
|
8
|
+
var r = {
|
|
11
9
|
loadingTitle: "Loading bill…",
|
|
12
10
|
hiddenDescription: "Bill details",
|
|
13
11
|
errorTitle: "Couldn't load this bill",
|
|
@@ -41,7 +39,6 @@ var i = {
|
|
|
41
39
|
closeButton: "Close",
|
|
42
40
|
statusBadge: t,
|
|
43
41
|
approvalPolicy: e,
|
|
44
|
-
|
|
45
|
-
auditHistory: r
|
|
42
|
+
auditHistory: n
|
|
46
43
|
};
|
|
47
|
-
export {
|
|
44
|
+
export { r as BILL_DETAILS_SHEET_LABELS_EN };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index34.js
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { AuditHistoryList as e, Badge as t, Button as n, CollapsibleSection as r, Sheet as i, SheetContent as a, SheetDescription as o, SheetHeader as s, SheetTitle as c, Skeleton as l, Typography as u } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
-
import {
|
|
2
|
+
import { DueDateText as d } from "../../../../shared/ui/dist/lib/DueDateText/DueDateText.js";
|
|
3
|
+
import "../../../../shared/ui/dist/index.js";
|
|
4
|
+
import { ApprovalPolicyCard as f } from "./index3.js";
|
|
3
5
|
import "./index4.js";
|
|
4
|
-
import { BillRejectionNotice as
|
|
6
|
+
import { BillRejectionNotice as p } from "./index6.js";
|
|
5
7
|
import "./index7.js";
|
|
6
|
-
import { PaymentHistoryList as
|
|
8
|
+
import { PaymentHistoryList as m } from "./index8.js";
|
|
7
9
|
import "./index9.js";
|
|
8
|
-
import { BillStatusBadge as
|
|
10
|
+
import { BillStatusBadge as h } from "../../../../shared/document-status/ui/dist/index4.js";
|
|
9
11
|
import "../../../../shared/document-status/ui/dist/index.js";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
12
|
+
import { ScheduledSummaryBadge as g } from "./index5.js";
|
|
13
|
+
import { BillActionButtons as _, NO_BILL_ACTIONS as v } from "../../../ui/dist/index2.js";
|
|
14
|
+
import { BillOverflowMenu as y } from "../../../ui/dist/index11.js";
|
|
13
15
|
import "../../../ui/dist/index.js";
|
|
14
|
-
import { ScheduledSummaryBadge as y } from "./index5.js";
|
|
15
16
|
import { BILL_DETAILS_SHEET_LABELS_EN as b } from "./index33.js";
|
|
16
17
|
import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
17
18
|
import { MoveDiagonal2Icon as w, XIcon as T } from "lucide-react";
|
|
@@ -37,7 +38,7 @@ function E({ items: e }) {
|
|
|
37
38
|
}, e.label))
|
|
38
39
|
});
|
|
39
40
|
}
|
|
40
|
-
function D({ open: D, onOpenChange: O, details: k, actions: A =
|
|
41
|
+
function D({ open: D, onOpenChange: O, details: k, actions: A = v, approvalPolicy: j, showApprovalOverrideNotice: M, awaitingApprovalNotice: N, scheduledSummary: P, scheduledSummaryDate: F, paymentHistory: I, paymentHistoryError: L, paymentHistoryLoading: R, auditHistory: z, auditHistoryError: B, auditHistoryLoading: V, auditHistoryNamesError: H, isLoading: U, isError: W, notice: G, onClose: K, onExpand: q, testId: J, labels: Y }) {
|
|
41
42
|
let X = {
|
|
42
43
|
...b,
|
|
43
44
|
...Y,
|
|
@@ -49,10 +50,6 @@ function D({ open: D, onOpenChange: O, details: k, actions: A = g, approvalPolic
|
|
|
49
50
|
...b.approvalPolicy,
|
|
50
51
|
...Y?.approvalPolicy
|
|
51
52
|
},
|
|
52
|
-
dueDate: {
|
|
53
|
-
...b.dueDate,
|
|
54
|
-
...Y?.dueDate
|
|
55
|
-
},
|
|
56
53
|
auditHistory: {
|
|
57
54
|
...b.auditHistory,
|
|
58
55
|
...Y?.auditHistory
|
|
@@ -99,7 +96,7 @@ function D({ open: D, onOpenChange: O, details: k, actions: A = g, approvalPolic
|
|
|
99
96
|
onClick: q,
|
|
100
97
|
children: /* @__PURE__ */ S(w, { className: "ttw:size-4" })
|
|
101
98
|
}) : null,
|
|
102
|
-
k && !U && !W ? /* @__PURE__ */ S(
|
|
99
|
+
k && !U && !W ? /* @__PURE__ */ S(y, {
|
|
103
100
|
actions: A.menu,
|
|
104
101
|
triggerLabel: X.overflowMenuTrigger,
|
|
105
102
|
placement: "header"
|
|
@@ -167,10 +164,10 @@ function D({ open: D, onOpenChange: O, details: k, actions: A = g, approvalPolic
|
|
|
167
164
|
variant: "outline",
|
|
168
165
|
className: "ttw:border-emerald-200 ttw:bg-emerald-50 ttw:text-emerald-700",
|
|
169
166
|
children: k.paidOnLabel
|
|
170
|
-
}) : P ? /* @__PURE__ */ S(
|
|
167
|
+
}) : P ? /* @__PURE__ */ S(g, {
|
|
171
168
|
summary: P,
|
|
172
169
|
date: F
|
|
173
|
-
}) : /* @__PURE__ */ S(
|
|
170
|
+
}) : /* @__PURE__ */ S(h, {
|
|
174
171
|
status: k.status,
|
|
175
172
|
tone: k.statusTone,
|
|
176
173
|
labels: X.statusBadge
|
|
@@ -192,15 +189,17 @@ function D({ open: D, onOpenChange: O, details: k, actions: A = g, approvalPolic
|
|
|
192
189
|
children: [/* @__PURE__ */ S("span", {
|
|
193
190
|
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
194
191
|
children: X.dueDateLabel
|
|
195
|
-
}), /* @__PURE__ */ S(
|
|
192
|
+
}), /* @__PURE__ */ S("span", {
|
|
196
193
|
className: "ttw:text-sm ttw:font-medium",
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
194
|
+
children: /* @__PURE__ */ S(d, {
|
|
195
|
+
label: k.dueDateLabel,
|
|
196
|
+
overdueLabel: k.dueDateOverdueLabel,
|
|
197
|
+
accessibleLabel: k.dueDateAccessibleLabel
|
|
198
|
+
})
|
|
200
199
|
})]
|
|
201
200
|
})]
|
|
202
201
|
}),
|
|
203
|
-
k.rejection ? /* @__PURE__ */ S(
|
|
202
|
+
k.rejection ? /* @__PURE__ */ S(p, { ...k.rejection }) : null,
|
|
204
203
|
M ? /* @__PURE__ */ S(u, {
|
|
205
204
|
variant: "caption",
|
|
206
205
|
color: "muted",
|
|
@@ -212,7 +211,7 @@ function D({ open: D, onOpenChange: O, details: k, actions: A = g, approvalPolic
|
|
|
212
211
|
}) : null,
|
|
213
212
|
A.row.length ? /* @__PURE__ */ S("div", {
|
|
214
213
|
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
215
|
-
children: /* @__PURE__ */ S(
|
|
214
|
+
children: /* @__PURE__ */ S(_, { actions: A.row })
|
|
216
215
|
}) : null
|
|
217
216
|
]
|
|
218
217
|
}),
|
|
@@ -227,7 +226,7 @@ function D({ open: D, onOpenChange: O, details: k, actions: A = g, approvalPolic
|
|
|
227
226
|
children: L ? /* @__PURE__ */ S("p", {
|
|
228
227
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
229
228
|
children: X.paymentHistoryErrorDescription
|
|
230
|
-
}) : R ? /* @__PURE__ */ S(l, { className: "ttw:h-9 ttw:w-full" }) : /* @__PURE__ */ S(
|
|
229
|
+
}) : R ? /* @__PURE__ */ S(l, { className: "ttw:h-9 ttw:w-full" }) : /* @__PURE__ */ S(m, { records: I ?? [] })
|
|
231
230
|
}) : null,
|
|
232
231
|
/* @__PURE__ */ S(r, {
|
|
233
232
|
defaultOpen: !0,
|
|
@@ -304,7 +303,7 @@ function D({ open: D, onOpenChange: O, details: k, actions: A = g, approvalPolic
|
|
|
304
303
|
labels: X.auditHistory
|
|
305
304
|
})]
|
|
306
305
|
}),
|
|
307
|
-
j ? /* @__PURE__ */ S(
|
|
306
|
+
j ? /* @__PURE__ */ S(f, {
|
|
308
307
|
view: j,
|
|
309
308
|
labels: X.approvalPolicy
|
|
310
309
|
}) : null
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index5.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Badge as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
-
import {
|
|
2
|
+
import { DateDisclosure as t } from "../../../../shared/ui/dist/lib/DateDisclosure/DateDisclosure.js";
|
|
3
|
+
import "../../../../shared/ui/dist/index.js";
|
|
4
|
+
import { BILL_STATUS_TONE_CLASS_NAME as n } from "../../../../shared/document-status/ui/dist/index3.js";
|
|
3
5
|
import "../../../../shared/document-status/ui/dist/index.js";
|
|
4
|
-
import { DateDisclosure as n } from "../../../ui/dist/index20.js";
|
|
5
|
-
import "../../../ui/dist/index.js";
|
|
6
6
|
import { jsx as r } from "react/jsx-runtime";
|
|
7
7
|
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index5.js
|
|
8
8
|
function i({ summary: i, date: a }) {
|
|
9
9
|
let o = /* @__PURE__ */ r(e, {
|
|
10
10
|
variant: "outline",
|
|
11
|
-
className:
|
|
11
|
+
className: n.committed,
|
|
12
12
|
children: i
|
|
13
13
|
});
|
|
14
|
-
return a ? /* @__PURE__ */ r(
|
|
14
|
+
return a ? /* @__PURE__ */ r(t, {
|
|
15
15
|
date: a,
|
|
16
16
|
children: o
|
|
17
17
|
}) : o;
|