@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.
Files changed (111) hide show
  1. package/dist/index.css +9 -344
  2. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index23.js +35 -38
  3. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index26.js +21 -14
  4. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index27.js +3 -105
  5. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index28.js +4 -0
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index31.js +47 -47
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index32.js +1 -1
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index34.js +1 -1
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index4.js +87 -90
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index44.js +238 -248
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index46.js +15 -34
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index47.js +199 -202
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index5.js +16 -14
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index.js +25 -25
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index10.js +18 -32
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index11.js +150 -19
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index12.js +2 -150
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index13.js +75 -1
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index14.js +272 -70
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index15.js +1 -279
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index16.js +20 -2
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index17.js +51 -16
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index18.js +2 -55
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index19.js +34 -2
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index20.js +369 -30
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index21.js +2 -373
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index22.js +22 -2
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index23.js +124 -20
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index24.js +2 -126
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index25.js +30 -1
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index26.js +51 -29
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index27.js +1 -52
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index28.js +54 -1
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index29.js +10 -54
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index3.js +35 -35
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index30.js +133 -10
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index31.js +1 -198
  38. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index32.js +30 -2
  39. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index33.js +52 -43
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index34.js +2 -315
  41. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index35.js +15 -2
  42. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index36.js +158 -14
  43. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index37.js +2 -162
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index38.js +3 -2
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index39.js +19 -2
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index40.js +2 -35
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index41.js +9 -2
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index42.js +31 -8
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index43.js +2 -33
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index44.js +6 -2
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index45.js +27 -5
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index46.js +2 -29
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index47.js +13 -2
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index48.js +100 -11
  55. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index49.js +2 -107
  56. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index5.js +12 -16
  57. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index50.js +9 -2
  58. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index51.js +41 -8
  59. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index52.js +2 -52
  60. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index6.js +1 -22
  61. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index7.js +31 -1
  62. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index8.js +1 -31
  63. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index9.js +34 -1
  64. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index14.js +1 -3
  65. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index19.js +2 -6
  66. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index15.js +1 -1
  67. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index17.js +2 -6
  68. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index10.js +119 -104
  69. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index11.js +2 -2
  70. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index14.js +1 -1
  71. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index2.js +2 -1
  72. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index4.js +11 -11
  73. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index9.js +9 -4
  74. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index.js +8 -8
  75. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index10.js +76 -171
  76. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index11.js +1 -1
  77. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index12.js +33 -0
  78. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index13.js +9 -0
  79. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index14.js +126 -0
  80. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index15.js +2 -0
  81. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index2.js +23 -29
  82. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index3.js +32 -126
  83. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index4.js +14 -2
  84. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index5.js +3 -13
  85. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index6.js +28 -104
  86. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index7.js +72 -1
  87. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index8.js +2 -33
  88. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index9.js +12 -7
  89. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +6 -9
  90. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index12.js +6 -9
  91. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js +32 -31
  92. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index2.js +4 -2
  93. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index3.js +15 -5
  94. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index4.js +53 -84
  95. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/index.js +17 -18
  96. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/billDetailLabels.js +12 -12
  97. package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index.js +4 -4
  98. package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index3.js +9 -9
  99. package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index4.js +13 -14
  100. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  101. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/document/documentPreview.js +1 -1
  102. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +20 -19
  103. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/MaskedAccountNumber/MaskedAccountNumber.js +30 -34
  104. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/TooltipIconButton/TooltipIconButton.js +55 -0
  105. package/dist/packages/shared-ui-shadcn/dist/index.js +1322 -1312
  106. package/package.json +1 -1
  107. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index53.js +0 -2
  108. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +0 -6
  109. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +0 -31
  110. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +0 -2
  111. 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, SCHEDULED_STATUS_BADGE_LABEL_EN as a, SCHEDULED_SUMMARY_LABEL_EN as o, mergeBillDetailActionsLabels as s, mergeDecisionDialogCopy as c, mergePaymentHistoryMethodLabels as l } from "./lib/billDetailLabels.js";
2
- import { DuplicateVerdict as u } from "./lib/duplicateVerdict.js";
3
- import { formatBillMoney as d } from "./lib/formatBillMoney.js";
4
- import { formatScheduledDateLabel as f } from "./lib/formatScheduledDateLabel.js";
5
- import { countSuspectedPayableDuplicateGroups as p, hasSuspectedPayableDuplicate as m, suspectedPayableDuplicates as h } from "./lib/payableDuplicates.js";
6
- import { compareByArrival as g, duplicateVerdictMatches as _, groupSuspectedDuplicates as v, resolveDuplicateOriginalId as y } from "./lib/groupDuplicates.js";
7
- import { isEditablePayableStatus as b } from "./lib/isEditablePayableStatus.js";
8
- import { isLiveScheduledPaymentRecord as x } from "./lib/isLiveScheduledPaymentRecord.js";
9
- import { maskAccountNumber as S } from "./lib/maskAccountNumber.js";
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 w } from "./lib/resolveAmountDue.js";
13
- import { BILL_DUE_DATE_LABELS_EN as T, resolveBillDueDate as E } from "./lib/resolveBillDueDate.js";
14
- import { resolveLineItemAmountMinorUnits as D } from "./lib/resolveLineItemAmount.js";
15
- import { resolveLineItemQuantity as O } from "./lib/resolveLineItemQuantity.js";
16
- import { resolveVendor as k, resolveVendorName as A } from "./lib/resolveVendor.js";
17
- import { BILL_PAY_WIDGET_NAME as j } from "./lib/widgetName.js";
18
- import { buildGroupCollapse as M } from "./lib/groupCollapse.js";
19
- export { e as AWAITING_APPROVAL_LABEL_EN, t as AWAITING_APPROVAL_UNKNOWN_LABEL_EN, n as BILL_DETAIL_ACTIONS_LABELS_EN, T as BILL_DUE_DATE_LABELS_EN, j as BILL_PAY_WIDGET_NAME, u as DuplicateVerdict, r as PAYMENT_HISTORY_LABELS_EN, i as SCHEDULED_RELATIVE_DAY_LABELS_EN, a as SCHEDULED_STATUS_BADGE_LABEL_EN, o as SCHEDULED_SUMMARY_LABEL_EN, M as buildGroupCollapse, g as compareByArrival, p as countSuspectedPayableDuplicateGroups, _ as duplicateVerdictMatches, d as formatBillMoney, f as formatScheduledDateLabel, v as groupSuspectedDuplicates, m as hasSuspectedPayableDuplicate, b as isEditablePayableStatus, x as isLiveScheduledPaymentRecord, S as maskAccountNumber, s as mergeBillDetailActionsLabels, c as mergeDecisionDialogCopy, l as mergePaymentHistoryMethodLabels, C as payableRemoval, w as resolveAmountDueMinorUnits, E as resolveBillDueDate, y as resolveDuplicateOriginalId, D as resolveLineItemAmountMinorUnits, O as resolveLineItemQuantity, k as resolveVendor, A as resolveVendorName, h as suspectedPayableDuplicates };
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 bill",
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) => `Payment scheduled for ${e}`, r = (e) => `Scheduled - ${e}`, i = (e) => `Awaiting approval from ${new Intl.ListFormat("en", {
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)}.`, a = "Awaiting approval.", o = [
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 s(e, t) {
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 c(e, t) {
97
+ function s(e, t) {
98
98
  let n = {
99
99
  ...e,
100
100
  ...t
101
101
  };
102
- for (let r of o) n[r] = s(e[r], t?.[r]);
102
+ for (let r of a) n[r] = o(e[r], t?.[r]);
103
103
  return n;
104
104
  }
105
- function l(t) {
105
+ function c(t) {
106
106
  let n = e;
107
107
  return {
108
108
  ...n,
109
109
  ...t,
110
- decisionDialog: c(n.decisionDialog, t?.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 u = {
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 d(e) {
139
+ function u(e) {
140
140
  return {
141
- ...u.paymentHistoryMethodLabels,
141
+ ...l.paymentHistoryMethodLabels,
142
142
  ...e
143
143
  };
144
144
  }
145
- export { i as AWAITING_APPROVAL_LABEL_EN, a as AWAITING_APPROVAL_UNKNOWN_LABEL_EN, e as BILL_DETAIL_ACTIONS_LABELS_EN, u as PAYMENT_HISTORY_LABELS_EN, t as SCHEDULED_RELATIVE_DAY_LABELS_EN, r as SCHEDULED_STATUS_BADGE_LABEL_EN, n as SCHEDULED_SUMMARY_LABEL_EN, l as mergeBillDetailActionsLabels, c as mergeDecisionDialogCopy, d as mergePaymentHistoryMethodLabels };
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 { BILL_STATUS_TONE_CLASS_NAME as t } from "./index3.js";
3
- import { BillStatusBadge as n } from "./index4.js";
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 r } from "./index6.js";
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 BILL_STATUS_TONE_CLASS_NAME, n as BillStatusBadge, r as RECEIVABLE_STATUS_BADGE_LABELS_EN };
8
+ export { e as BILL_STATUS_BADGE_LABELS_EN, t as BillStatusBadge, n as RECEIVABLE_STATUS_BADGE_LABELS_EN };
@@ -1,12 +1,12 @@
1
1
  // ../../libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index3.js
2
2
  var e = {
3
- accent: "ttw:border-violet-100 ttw:bg-violet-100 ttw:text-violet-700 ttw:hover:bg-violet-100",
4
- committed: "ttw:border-cyan-200 ttw:bg-cyan-50 ttw:text-cyan-700 ttw:hover:bg-cyan-50",
5
- danger: "ttw:border-destructive-subtle ttw:bg-destructive-subtle ttw:text-destructive-subtle-foreground ttw:hover:bg-destructive-subtle",
6
- info: "ttw:border-blue-100 ttw:bg-blue-100 ttw:text-blue-700 ttw:hover:bg-blue-100",
7
- neutral: "ttw:border-border ttw:bg-muted ttw:text-foreground ttw:hover:bg-muted",
8
- settled: "ttw:border-border ttw:bg-background ttw:text-green-900 ttw:hover:bg-background",
9
- success: "ttw:border-green-100 ttw:bg-green-100 ttw:text-green-700 ttw:hover:bg-green-100",
10
- warning: "ttw:border-amber-100 ttw:bg-amber-100 ttw:text-amber-700 ttw:hover:bg-amber-100"
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 BILL_STATUS_TONE_CLASS_NAME };
12
+ export { e as BILL_STATUS_BADGE_COLOR };
@@ -1,17 +1,16 @@
1
- import { Badge as e, cn as t } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { BILL_STATUS_BADGE_LABELS_EN as n } from "./index2.js";
3
- import { BILL_STATUS_TONE_CLASS_NAME as r } from "./index3.js";
4
- import { jsxs as i } from "react/jsx-runtime";
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 a({ status: a, label: o, tone: s, labels: c, icon: l }) {
7
- let u = {
8
- ...n,
9
- ...c
10
- }, d = o ?? (a ? u[a] : u.unknown);
11
- return /* @__PURE__ */ i(e, {
12
- variant: "outline",
13
- className: t(l && "ttw:gap-1", r[s]),
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 { a as BillStatusBadge, a as default };
16
+ export { i as BillStatusBadge, i as default };
@@ -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.253", n = "42434195c7add652639c1edae483c6cacfcf3717", r = Object.freeze({
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-white",
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 { MASKED_ACCOUNT_NUMBER_LABELS_EN as S } from "./lib/MaskedAccountNumber/labels.js";
24
- import { MaskedAccountNumber as C } from "./lib/MaskedAccountNumber/MaskedAccountNumber.js";
25
- import { InlineErrorAlert as w } from "./lib/InlineErrorAlert/InlineErrorAlert.js";
26
- import { PAGINATION_FOOTER_LABELS_EN as T } from "./lib/PaginationFooter/labels.js";
27
- import { PaginationFooter as E } from "./lib/PaginationFooter/PaginationFooter.js";
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 D } from "./lib/OnboardingShell/OnboardingShell.js";
32
- import { SectionHeading as O } from "./lib/SectionHeading/SectionHeading.js";
33
- import { HintDisclosure as k } from "./lib/HintDisclosure/HintDisclosure.js";
34
- import { EMPTY_VALUE_LABELS_EN as A } from "./lib/EmptyValue/labels.js";
35
- import { EmptyValue as j } from "./lib/EmptyValue/EmptyValue.js";
36
- import { RowStatusIcon as M } from "./lib/RowStatusIcon/RowStatusIcon.js";
37
- import { DueDateText as N } from "./lib/DueDateText/DueDateText.js";
38
- import { AttentionStrip as P } from "./lib/AttentionStrip/AttentionStrip.js";
39
- import { AttentionViewBar as F } from "./lib/AttentionStrip/AttentionViewBar.js";
40
- import { ConsentBlock as I, ConsentLink as L } from "./lib/ConsentBlock/ConsentBlock.js";
41
- import { FileDropZone as R } from "./lib/FileDropZone/FileDropZone.js";
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 z } from "./lib/CopyAddress/CopyAddress.js";
45
- import { UploadTray as B } from "./lib/UploadTray/UploadTray.js";
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, P as AttentionStrip, F as AttentionViewBar, I as ConsentBlock, L as ConsentLink, z as CopyAddress, N as DueDateText, A as EMPTY_VALUE_LABELS_EN, _ as ERROR_STATE_ID, t as EmbeddedToaster, g as EmptyState, j as EmptyValue, v as ErrorState, R as FileDropZone, k as HintDisclosure, u as HostIsolationScope, w as InlineErrorAlert, d as Link, x as LoadingRegion, S as MASKED_ACCOUNT_NUMBER_LABELS_EN, C as MaskedAccountNumber, y as NoAccessState, D as OnboardingShell, T as PAGINATION_FOOTER_LABELS_EN, E as PaginationFooter, M as RowStatusIcon, O as SectionHeading, h as StatePanel, n as ToastNameMessage, r as UIFramework, a as UIProvider, B 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 };
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 { Button as e, Tooltip as t, TooltipContent as n, TooltipProvider as r, TooltipTrigger as i, formatLabel as a } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { MASKED_ACCOUNT_NUMBER_LABELS_EN as o } from "./labels.js";
3
- import { useState as s } from "react";
4
- import { jsx as c, jsxs as l } from "react/jsx-runtime";
5
- import { Asterisk as u, Eye as d, EyeOff as f } from "lucide-react";
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 p({ last4: p, fullNumber: m, labels: h }) {
8
- let g = {
9
- ...o,
10
- ...h
11
- }, [_, v] = s(!1), y = /* @__PURE__ */ l("span", {
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__ */ l("span", {
14
+ children: [/* @__PURE__ */ a("span", {
14
15
  "aria-hidden": "true",
15
16
  children: [
16
- /* @__PURE__ */ c("span", {
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__ */ c(u, {
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
- p
30
+ l
30
31
  ]
31
- }), /* @__PURE__ */ c("span", {
32
+ }), /* @__PURE__ */ i("span", {
32
33
  className: "ttw:sr-only",
33
- children: a(g.endingIn, { last4: p })
34
+ children: e(f.endingIn, { last4: l })
34
35
  })]
35
36
  });
36
- if (!m) return y;
37
- let b = _ ? g.hideNumber : g.showNumber;
38
- return /* @__PURE__ */ l("span", {
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: [_ ? /* @__PURE__ */ c("span", {
41
+ children: [p ? /* @__PURE__ */ i("span", {
41
42
  className: "ttw:tabular-nums",
42
- children: m
43
- }) : y, /* @__PURE__ */ c(r, { children: /* @__PURE__ */ l(t, { children: [/* @__PURE__ */ c(i, {
44
- asChild: !0,
45
- children: /* @__PURE__ */ c(e, {
46
- type: "button",
47
- variant: "ghost",
48
- size: "icon-sm",
49
- className: "ttw:-my-1.5",
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 { p as MaskedAccountNumber };
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 };