@tesouro/embedded-components-react 0.11.253 → 0.11.254
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.css +9 -344
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index23.js +35 -38
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index26.js +21 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index27.js +3 -105
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index28.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index31.js +47 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index32.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index34.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index4.js +87 -90
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index44.js +238 -248
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index46.js +15 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index47.js +199 -202
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index5.js +16 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index10.js +18 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index11.js +150 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index12.js +2 -150
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index13.js +75 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index14.js +272 -70
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index15.js +1 -279
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index16.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index17.js +51 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index18.js +2 -55
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index19.js +34 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index20.js +369 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index21.js +2 -373
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index22.js +22 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index23.js +124 -20
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index24.js +2 -126
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index25.js +30 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index26.js +51 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index27.js +1 -52
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index28.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index29.js +10 -54
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index3.js +35 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index30.js +133 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index31.js +1 -198
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index32.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index33.js +52 -43
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index34.js +2 -315
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index35.js +15 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index36.js +158 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index37.js +2 -162
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index38.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index39.js +19 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index40.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index41.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index42.js +31 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index43.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index44.js +6 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index45.js +27 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index46.js +2 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index47.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index48.js +100 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index49.js +2 -107
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index5.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index50.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index51.js +41 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index52.js +2 -52
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index6.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index7.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index8.js +1 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index9.js +34 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index14.js +1 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index19.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index17.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index10.js +119 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index14.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index2.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index4.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index9.js +9 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index10.js +76 -171
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index11.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index12.js +33 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index13.js +9 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index14.js +126 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index15.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index2.js +23 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index3.js +32 -126
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index4.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index5.js +3 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index6.js +28 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index7.js +72 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index8.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index9.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +6 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index12.js +6 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js +32 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index2.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index3.js +15 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index4.js +53 -84
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/index.js +17 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/billDetailLabels.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index3.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index4.js +13 -14
- 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/feature/dist/lib/document/documentPreview.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +20 -19
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/MaskedAccountNumber/MaskedAccountNumber.js +30 -34
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/TooltipIconButton/TooltipIconButton.js +55 -0
- package/dist/packages/shared-ui-shadcn/dist/index.js +1322 -1312
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index53.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/maskAccountNumber.js +0 -5
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import { AWAITING_APPROVAL_LABEL_EN as e, AWAITING_APPROVAL_UNKNOWN_LABEL_EN as t, BILL_DETAIL_ACTIONS_LABELS_EN as n, PAYMENT_HISTORY_LABELS_EN as r, SCHEDULED_RELATIVE_DAY_LABELS_EN as i,
|
|
2
|
-
import { DuplicateVerdict as
|
|
3
|
-
import { formatBillMoney as
|
|
4
|
-
import { formatScheduledDateLabel as
|
|
5
|
-
import { countSuspectedPayableDuplicateGroups as
|
|
6
|
-
import { compareByArrival as
|
|
7
|
-
import { isEditablePayableStatus as
|
|
8
|
-
import { isLiveScheduledPaymentRecord as
|
|
9
|
-
import {
|
|
10
|
-
import { payableRemoval as C } from "./lib/payableRemoval.js";
|
|
1
|
+
import { AWAITING_APPROVAL_LABEL_EN as e, AWAITING_APPROVAL_UNKNOWN_LABEL_EN as t, BILL_DETAIL_ACTIONS_LABELS_EN as n, PAYMENT_HISTORY_LABELS_EN as r, SCHEDULED_RELATIVE_DAY_LABELS_EN as i, SCHEDULED_SUMMARY_LABEL_EN as a, mergeBillDetailActionsLabels as o, mergeDecisionDialogCopy as s, mergePaymentHistoryMethodLabels as c } from "./lib/billDetailLabels.js";
|
|
2
|
+
import { DuplicateVerdict as l } from "./lib/duplicateVerdict.js";
|
|
3
|
+
import { formatBillMoney as u } from "./lib/formatBillMoney.js";
|
|
4
|
+
import { formatScheduledDateLabel as d } from "./lib/formatScheduledDateLabel.js";
|
|
5
|
+
import { countSuspectedPayableDuplicateGroups as f, hasSuspectedPayableDuplicate as p, suspectedPayableDuplicates as m } from "./lib/payableDuplicates.js";
|
|
6
|
+
import { compareByArrival as h, duplicateVerdictMatches as g, groupSuspectedDuplicates as _, resolveDuplicateOriginalId as v } from "./lib/groupDuplicates.js";
|
|
7
|
+
import { isEditablePayableStatus as y } from "./lib/isEditablePayableStatus.js";
|
|
8
|
+
import { isLiveScheduledPaymentRecord as b } from "./lib/isLiveScheduledPaymentRecord.js";
|
|
9
|
+
import { payableRemoval as x } from "./lib/payableRemoval.js";
|
|
11
10
|
import "./lib/payableTotals.js";
|
|
12
|
-
import { resolveAmountDueMinorUnits as
|
|
13
|
-
import { BILL_DUE_DATE_LABELS_EN as
|
|
14
|
-
import { resolveLineItemAmountMinorUnits as
|
|
15
|
-
import { resolveLineItemQuantity as
|
|
16
|
-
import { resolveVendor as
|
|
17
|
-
import { BILL_PAY_WIDGET_NAME as
|
|
18
|
-
import { buildGroupCollapse as
|
|
19
|
-
export { e as AWAITING_APPROVAL_LABEL_EN, t as AWAITING_APPROVAL_UNKNOWN_LABEL_EN, n as BILL_DETAIL_ACTIONS_LABELS_EN,
|
|
11
|
+
import { resolveAmountDueMinorUnits as S } from "./lib/resolveAmountDue.js";
|
|
12
|
+
import { BILL_DUE_DATE_LABELS_EN as C, resolveBillDueDate as w } from "./lib/resolveBillDueDate.js";
|
|
13
|
+
import { resolveLineItemAmountMinorUnits as T } from "./lib/resolveLineItemAmount.js";
|
|
14
|
+
import { resolveLineItemQuantity as E } from "./lib/resolveLineItemQuantity.js";
|
|
15
|
+
import { resolveVendor as D, resolveVendorName as O } from "./lib/resolveVendor.js";
|
|
16
|
+
import { BILL_PAY_WIDGET_NAME as k } from "./lib/widgetName.js";
|
|
17
|
+
import { buildGroupCollapse as A } from "./lib/groupCollapse.js";
|
|
18
|
+
export { e as AWAITING_APPROVAL_LABEL_EN, t as AWAITING_APPROVAL_UNKNOWN_LABEL_EN, n as BILL_DETAIL_ACTIONS_LABELS_EN, C as BILL_DUE_DATE_LABELS_EN, k as BILL_PAY_WIDGET_NAME, l as DuplicateVerdict, r as PAYMENT_HISTORY_LABELS_EN, i as SCHEDULED_RELATIVE_DAY_LABELS_EN, a as SCHEDULED_SUMMARY_LABEL_EN, A as buildGroupCollapse, h as compareByArrival, f as countSuspectedPayableDuplicateGroups, g as duplicateVerdictMatches, u as formatBillMoney, d as formatScheduledDateLabel, _ as groupSuspectedDuplicates, p as hasSuspectedPayableDuplicate, y as isEditablePayableStatus, b as isLiveScheduledPaymentRecord, o as mergeBillDetailActionsLabels, s as mergeDecisionDialogCopy, c as mergePaymentHistoryMethodLabels, x as payableRemoval, S as resolveAmountDueMinorUnits, w as resolveBillDueDate, v as resolveDuplicateOriginalId, T as resolveLineItemAmountMinorUnits, E as resolveLineItemQuantity, D as resolveVendor, O as resolveVendorName, m as suspectedPayableDuplicates };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/billDetailLabels.js
|
|
2
2
|
var e = {
|
|
3
|
-
edit: "Edit
|
|
3
|
+
edit: "Edit",
|
|
4
4
|
payBill: "Pay bill",
|
|
5
5
|
markAsPaid: "Mark as paid",
|
|
6
6
|
reject: "Reject",
|
|
@@ -69,17 +69,17 @@ var e = {
|
|
|
69
69
|
}, t = {
|
|
70
70
|
today: "today",
|
|
71
71
|
tomorrow: "tomorrow"
|
|
72
|
-
}, n = (e) => `
|
|
72
|
+
}, n = (e) => `for ${e}`, r = (e) => `Awaiting approval from ${new Intl.ListFormat("en", {
|
|
73
73
|
style: "long",
|
|
74
74
|
type: "conjunction"
|
|
75
|
-
}).format(e)}.`,
|
|
75
|
+
}).format(e)}.`, i = "Awaiting approval.", a = [
|
|
76
76
|
"reject",
|
|
77
77
|
"cancel",
|
|
78
78
|
"cancelScheduledPayment",
|
|
79
79
|
"forceApprove",
|
|
80
80
|
"forceReject"
|
|
81
81
|
];
|
|
82
|
-
function
|
|
82
|
+
function o(e, t) {
|
|
83
83
|
let n = e.reason ? {
|
|
84
84
|
...e.reason,
|
|
85
85
|
...t?.reason
|
|
@@ -94,27 +94,27 @@ function s(e, t) {
|
|
|
94
94
|
};
|
|
95
95
|
return n || delete i.reason, r || delete i.noApprovalPolicy, i;
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function s(e, t) {
|
|
98
98
|
let n = {
|
|
99
99
|
...e,
|
|
100
100
|
...t
|
|
101
101
|
};
|
|
102
|
-
for (let r of
|
|
102
|
+
for (let r of a) n[r] = o(e[r], t?.[r]);
|
|
103
103
|
return n;
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function c(t) {
|
|
106
106
|
let n = e;
|
|
107
107
|
return {
|
|
108
108
|
...n,
|
|
109
109
|
...t,
|
|
110
|
-
decisionDialog:
|
|
110
|
+
decisionDialog: s(n.decisionDialog, t?.decisionDialog),
|
|
111
111
|
actionSuccess: {
|
|
112
112
|
...n.actionSuccess,
|
|
113
113
|
...t?.actionSuccess
|
|
114
114
|
}
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
|
-
var
|
|
117
|
+
var l = {
|
|
118
118
|
paymentHistorySentLabel: "Payment sent",
|
|
119
119
|
paymentHistoryScheduledLabel: "Payment scheduled",
|
|
120
120
|
paymentHistoryCanceledLabel: "Payment canceled",
|
|
@@ -136,10 +136,10 @@ var u = {
|
|
|
136
136
|
card: "Card"
|
|
137
137
|
}
|
|
138
138
|
};
|
|
139
|
-
function
|
|
139
|
+
function u(e) {
|
|
140
140
|
return {
|
|
141
|
-
...
|
|
141
|
+
...l.paymentHistoryMethodLabels,
|
|
142
142
|
...e
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
|
-
export {
|
|
145
|
+
export { r as AWAITING_APPROVAL_LABEL_EN, i as AWAITING_APPROVAL_UNKNOWN_LABEL_EN, e as BILL_DETAIL_ACTIONS_LABELS_EN, l as PAYMENT_HISTORY_LABELS_EN, t as SCHEDULED_RELATIVE_DAY_LABELS_EN, n as SCHEDULED_SUMMARY_LABEL_EN, c as mergeBillDetailActionsLabels, s as mergeDecisionDialogCopy, u as mergePaymentHistoryMethodLabels };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BILL_STATUS_BADGE_LABELS_EN as e } from "./index2.js";
|
|
2
|
-
import
|
|
3
|
-
import { BillStatusBadge as
|
|
2
|
+
import "./index3.js";
|
|
3
|
+
import { BillStatusBadge as t } from "./index4.js";
|
|
4
4
|
import "./index5.js";
|
|
5
|
-
import { RECEIVABLE_STATUS_BADGE_LABELS_EN as
|
|
5
|
+
import { RECEIVABLE_STATUS_BADGE_LABELS_EN as n } from "./index6.js";
|
|
6
6
|
import "./index7.js";
|
|
7
7
|
import "./index8.js";
|
|
8
|
-
export { e as BILL_STATUS_BADGE_LABELS_EN, t as
|
|
8
|
+
export { e as BILL_STATUS_BADGE_LABELS_EN, t as BillStatusBadge, n as RECEIVABLE_STATUS_BADGE_LABELS_EN };
|
package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index3.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// ../../libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index3.js
|
|
2
2
|
var e = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
settled:
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
neutral: { tone: "neutral" },
|
|
4
|
+
accent: { accent: "violet" },
|
|
5
|
+
info: { tone: "info" },
|
|
6
|
+
committed: { accent: "cyan" },
|
|
7
|
+
success: { tone: "success" },
|
|
8
|
+
settled: { tone: "neutral" },
|
|
9
|
+
warning: { tone: "warning" },
|
|
10
|
+
danger: { tone: "destructive" }
|
|
11
11
|
};
|
|
12
|
-
export { e as
|
|
12
|
+
export { e as BILL_STATUS_BADGE_COLOR };
|
package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index4.js
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { Badge as e
|
|
2
|
-
import { BILL_STATUS_BADGE_LABELS_EN as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Badge as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { BILL_STATUS_BADGE_LABELS_EN as t } from "./index2.js";
|
|
3
|
+
import { BILL_STATUS_BADGE_COLOR as n } from "./index3.js";
|
|
4
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
// ../../libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index4.js
|
|
6
|
-
function
|
|
7
|
-
let
|
|
8
|
-
...
|
|
9
|
-
...
|
|
10
|
-
},
|
|
11
|
-
return /* @__PURE__ */
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
children: [l, d]
|
|
6
|
+
function i({ status: i, label: a, tone: o, labels: s }) {
|
|
7
|
+
let c = {
|
|
8
|
+
...t,
|
|
9
|
+
...s
|
|
10
|
+
}, l = a ?? (i ? c[i] : c.unknown);
|
|
11
|
+
return /* @__PURE__ */ r(e, {
|
|
12
|
+
...n[o],
|
|
13
|
+
children: l
|
|
15
14
|
});
|
|
16
15
|
}
|
|
17
|
-
export {
|
|
16
|
+
export { i as BillStatusBadge, i as default };
|
package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
|
|
2
|
-
var e = "@tesouro/embedded-components-react", t = "0.11.
|
|
2
|
+
var e = "@tesouro/embedded-components-react", t = "0.11.254", n = "668ee3e88a208e294d8ad290a8c7f7813223b11a", r = Object.freeze({
|
|
3
3
|
library_name: e,
|
|
4
4
|
library_version: t,
|
|
5
5
|
library_sha: n
|
|
@@ -79,7 +79,7 @@ function f({ url: a, labels: o }) {
|
|
|
79
79
|
role: "region",
|
|
80
80
|
"aria-label": o.previewRegion,
|
|
81
81
|
tabIndex: 0,
|
|
82
|
-
className: "ttw:flex ttw:h-full ttw:w-full ttw:justify-center ttw:overflow-auto ttw:bg-
|
|
82
|
+
className: "ttw:flex ttw:h-full ttw:w-full ttw:justify-center ttw:overflow-auto ttw:bg-card",
|
|
83
83
|
children: /* @__PURE__ */ i(w, {
|
|
84
84
|
suspense: !1,
|
|
85
85
|
file: u(a),
|
|
@@ -20,29 +20,30 @@ import { ERROR_STATE_ID as _, ErrorState as v } from "./lib/ErrorState/ErrorStat
|
|
|
20
20
|
import { NoAccessState as y } from "./lib/StatePanel/NoAccessState.js";
|
|
21
21
|
import { AmountInput as b } from "./lib/AmountInput/AmountInput.js";
|
|
22
22
|
import { LoadingRegion as x } from "./lib/LoadingRegion/LoadingRegion.js";
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
23
|
+
import { TooltipIconButton as S } from "./lib/TooltipIconButton/TooltipIconButton.js";
|
|
24
|
+
import { MASKED_ACCOUNT_NUMBER_LABELS_EN as C } from "./lib/MaskedAccountNumber/labels.js";
|
|
25
|
+
import { MaskedAccountNumber as w } from "./lib/MaskedAccountNumber/MaskedAccountNumber.js";
|
|
26
|
+
import { InlineErrorAlert as T } from "./lib/InlineErrorAlert/InlineErrorAlert.js";
|
|
27
|
+
import { PAGINATION_FOOTER_LABELS_EN as E } from "./lib/PaginationFooter/labels.js";
|
|
28
|
+
import { PaginationFooter as D } from "./lib/PaginationFooter/PaginationFooter.js";
|
|
28
29
|
import "./lib/OnboardingShell/labels.js";
|
|
29
30
|
import "./lib/OnboardingShell/OnboardingShellStepper.js";
|
|
30
31
|
import "./lib/OnboardingShell/OnboardingShellOverlayPortal.js";
|
|
31
|
-
import { OnboardingShell as
|
|
32
|
-
import { SectionHeading as
|
|
33
|
-
import { HintDisclosure as
|
|
34
|
-
import { EMPTY_VALUE_LABELS_EN as
|
|
35
|
-
import { EmptyValue as
|
|
36
|
-
import { RowStatusIcon as
|
|
37
|
-
import { DueDateText as
|
|
38
|
-
import { AttentionStrip as
|
|
39
|
-
import { AttentionViewBar as
|
|
40
|
-
import { ConsentBlock as
|
|
41
|
-
import { FileDropZone as
|
|
32
|
+
import { OnboardingShell as O } from "./lib/OnboardingShell/OnboardingShell.js";
|
|
33
|
+
import { SectionHeading as k } from "./lib/SectionHeading/SectionHeading.js";
|
|
34
|
+
import { HintDisclosure as A } from "./lib/HintDisclosure/HintDisclosure.js";
|
|
35
|
+
import { EMPTY_VALUE_LABELS_EN as j } from "./lib/EmptyValue/labels.js";
|
|
36
|
+
import { EmptyValue as M } from "./lib/EmptyValue/EmptyValue.js";
|
|
37
|
+
import { RowStatusIcon as N } from "./lib/RowStatusIcon/RowStatusIcon.js";
|
|
38
|
+
import { DueDateText as P } from "./lib/DueDateText/DueDateText.js";
|
|
39
|
+
import { AttentionStrip as F } from "./lib/AttentionStrip/AttentionStrip.js";
|
|
40
|
+
import { AttentionViewBar as I } from "./lib/AttentionStrip/AttentionViewBar.js";
|
|
41
|
+
import { ConsentBlock as L, ConsentLink as R } from "./lib/ConsentBlock/ConsentBlock.js";
|
|
42
|
+
import { FileDropZone as z } from "./lib/FileDropZone/FileDropZone.js";
|
|
42
43
|
import "./lib/CopyButton/labels.js";
|
|
43
44
|
import "./lib/CopyButton/CopyButton.js";
|
|
44
|
-
import { CopyAddress as
|
|
45
|
-
import { UploadTray as
|
|
45
|
+
import { CopyAddress as B } from "./lib/CopyAddress/CopyAddress.js";
|
|
46
|
+
import { UploadTray as V } from "./lib/UploadTray/UploadTray.js";
|
|
46
47
|
import "./lib/UploadEmailOption/UploadEmailOption.js";
|
|
47
48
|
import "./lib/UploadPopover/UploadPopover.js";
|
|
48
|
-
export { m as AddTile, b as AmountInput,
|
|
49
|
+
export { m as AddTile, b as AmountInput, F as AttentionStrip, I as AttentionViewBar, L as ConsentBlock, R as ConsentLink, B as CopyAddress, P as DueDateText, j as EMPTY_VALUE_LABELS_EN, _ as ERROR_STATE_ID, t as EmbeddedToaster, g as EmptyState, M as EmptyValue, v as ErrorState, z as FileDropZone, A as HintDisclosure, u as HostIsolationScope, T as InlineErrorAlert, d as Link, x as LoadingRegion, C as MASKED_ACCOUNT_NUMBER_LABELS_EN, w as MaskedAccountNumber, y as NoAccessState, O as OnboardingShell, E as PAGINATION_FOOTER_LABELS_EN, D as PaginationFooter, N as RowStatusIcon, k as SectionHeading, h as StatePanel, n as ToastNameMessage, S as TooltipIconButton, r as UIFramework, a as UIProvider, V as UploadTray, p as WidgetContainer, f as WidgetFrame, o as registerDesignSystemEnsurer, s as registerUIRenderers, i as resolveUIFramework, e as toast, c as useDesignSystemEnsurer, l as useFrameworkRenderer };
|
|
@@ -1,57 +1,53 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { formatLabel as e } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { TooltipIconButton as t } from "../TooltipIconButton/TooltipIconButton.js";
|
|
3
|
+
import { MASKED_ACCOUNT_NUMBER_LABELS_EN as n } from "./labels.js";
|
|
4
|
+
import { useState as r } from "react";
|
|
5
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
|
+
import { Asterisk as o, Eye as s, EyeOff as c } from "lucide-react";
|
|
6
7
|
// ../../libs/tesouro-embedded-components-react/shared/ui/dist/lib/MaskedAccountNumber/MaskedAccountNumber.js
|
|
7
|
-
function
|
|
8
|
-
let
|
|
9
|
-
...
|
|
10
|
-
...
|
|
11
|
-
}, [
|
|
8
|
+
function l({ last4: l, fullNumber: u, labels: d }) {
|
|
9
|
+
let f = {
|
|
10
|
+
...n,
|
|
11
|
+
...d
|
|
12
|
+
}, [p, m] = r(!1), h = /* @__PURE__ */ a("span", {
|
|
12
13
|
className: "ttw:whitespace-nowrap ttw:tabular-nums",
|
|
13
|
-
children: [/* @__PURE__ */
|
|
14
|
+
children: [/* @__PURE__ */ a("span", {
|
|
14
15
|
"aria-hidden": "true",
|
|
15
16
|
children: [
|
|
16
|
-
/* @__PURE__ */
|
|
17
|
+
/* @__PURE__ */ i("span", {
|
|
17
18
|
className: "ttw:inline-flex",
|
|
18
19
|
children: [
|
|
19
20
|
0,
|
|
20
21
|
1,
|
|
21
22
|
2,
|
|
22
23
|
3
|
|
23
|
-
].map((e) => /* @__PURE__ */
|
|
24
|
+
].map((e) => /* @__PURE__ */ i(o, {
|
|
24
25
|
strokeWidth: 3,
|
|
25
26
|
className: "ttw:-mx-[0.1em] ttw:size-[0.75em]"
|
|
26
27
|
}, e))
|
|
27
28
|
}),
|
|
28
29
|
" ",
|
|
29
|
-
|
|
30
|
+
l
|
|
30
31
|
]
|
|
31
|
-
}), /* @__PURE__ */
|
|
32
|
+
}), /* @__PURE__ */ i("span", {
|
|
32
33
|
className: "ttw:sr-only",
|
|
33
|
-
children:
|
|
34
|
+
children: e(f.endingIn, { last4: l })
|
|
34
35
|
})]
|
|
35
36
|
});
|
|
36
|
-
if (!
|
|
37
|
-
let
|
|
38
|
-
return /* @__PURE__ */
|
|
37
|
+
if (!u) return h;
|
|
38
|
+
let g = p ? f.hideNumber : f.showNumber;
|
|
39
|
+
return /* @__PURE__ */ a("span", {
|
|
39
40
|
className: "ttw:inline-flex ttw:items-center ttw:gap-1",
|
|
40
|
-
children: [
|
|
41
|
+
children: [p ? /* @__PURE__ */ i("span", {
|
|
41
42
|
className: "ttw:tabular-nums",
|
|
42
|
-
children:
|
|
43
|
-
}) :
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"aria-label": b,
|
|
51
|
-
onClick: () => v((e) => !e),
|
|
52
|
-
children: c(_ ? f : d, { "aria-hidden": !0 })
|
|
53
|
-
})
|
|
54
|
-
}), /* @__PURE__ */ c(n, { children: b })] }) })]
|
|
43
|
+
children: u
|
|
44
|
+
}) : h, /* @__PURE__ */ i(t, {
|
|
45
|
+
label: g,
|
|
46
|
+
icon: p ? c : s,
|
|
47
|
+
size: "icon-sm",
|
|
48
|
+
className: "ttw:-my-1.5",
|
|
49
|
+
onClick: () => m((e) => !e)
|
|
50
|
+
})]
|
|
55
51
|
});
|
|
56
52
|
}
|
|
57
|
-
export {
|
|
53
|
+
export { l as MaskedAccountNumber };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
"use client";
|
|
4
|
+
"use client";
|
|
5
|
+
import { Button as e, Tooltip as t, TooltipContent as n, TooltipProvider as r, TooltipTrigger as i } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
+
import { useEffect as a, useRef as o, useState as s } from "react";
|
|
7
|
+
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
8
|
+
// ../../libs/tesouro-embedded-components-react/shared/ui/dist/lib/TooltipIconButton/TooltipIconButton.js
|
|
9
|
+
function u({ label: a, icon: u, size: d = "icon", testId: f, type: p = "button", ref: m, ..._ }) {
|
|
10
|
+
let [v, y] = s(!1), b = o(!1), x = o(null);
|
|
11
|
+
return h(), /* @__PURE__ */ c(r, { children: /* @__PURE__ */ l(t, {
|
|
12
|
+
open: v,
|
|
13
|
+
onOpenChange: (e) => {
|
|
14
|
+
(!e || b.current || g(x)) && y(e);
|
|
15
|
+
},
|
|
16
|
+
children: [/* @__PURE__ */ c(i, {
|
|
17
|
+
asChild: !0,
|
|
18
|
+
children: /* @__PURE__ */ c(e, {
|
|
19
|
+
..._,
|
|
20
|
+
ref: (e) => {
|
|
21
|
+
x.current = e, typeof m == "function" ? m(e) : m && (m.current = e);
|
|
22
|
+
},
|
|
23
|
+
onPointerEnter: (e) => {
|
|
24
|
+
b.current = !0, _.onPointerEnter?.(e);
|
|
25
|
+
},
|
|
26
|
+
onPointerLeave: (e) => {
|
|
27
|
+
b.current = !1, _.onPointerLeave?.(e);
|
|
28
|
+
},
|
|
29
|
+
type: p,
|
|
30
|
+
variant: "ghost",
|
|
31
|
+
size: d,
|
|
32
|
+
"aria-label": a,
|
|
33
|
+
"data-testid": f,
|
|
34
|
+
children: /* @__PURE__ */ c(u, {
|
|
35
|
+
className: "ttw:size-4",
|
|
36
|
+
"aria-hidden": !0
|
|
37
|
+
})
|
|
38
|
+
})
|
|
39
|
+
}), /* @__PURE__ */ c(n, { children: a })]
|
|
40
|
+
}) });
|
|
41
|
+
}
|
|
42
|
+
var d, f = 0, p = (e) => {
|
|
43
|
+
d = e.key;
|
|
44
|
+
}, m = () => {
|
|
45
|
+
d = void 0;
|
|
46
|
+
};
|
|
47
|
+
function h() {
|
|
48
|
+
a(() => (f++ === 0 && (document.addEventListener("keydown", p, !0), document.addEventListener("pointerdown", m, !0)), () => {
|
|
49
|
+
--f === 0 && (document.removeEventListener("keydown", p, !0), document.removeEventListener("pointerdown", m, !0), d = void 0);
|
|
50
|
+
}), []);
|
|
51
|
+
}
|
|
52
|
+
function g(e) {
|
|
53
|
+
return !!e.current?.matches(":focus") && d === "Tab";
|
|
54
|
+
}
|
|
55
|
+
export { u as TooltipIconButton, u as default };
|