@tesouro/embedded-components-react 0.4.20 → 0.4.22

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 (179) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/lib/BillPayWidget.js +1 -1
  3. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +12 -12
  4. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +64 -37
  5. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +38 -110
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +104 -73
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +87 -7
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +7 -21
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +17 -22
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +23 -63
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +66 -2
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +2 -77
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +74 -3
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +4 -5
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +5 -4
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +3 -32
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +30 -39
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +37 -166
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +164 -39
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +48 -1
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +1 -50
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +47 -4
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +1 -1
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +7 -7
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +8 -24
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +18 -125
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +135 -16
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +24 -4
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +4 -41
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +39 -87
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +79 -84
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +5 -25
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +95 -48
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +47 -119
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +119 -33
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +33 -177
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +186 -75
  38. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +75 -21
  39. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +22 -232
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +223 -204
  41. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +202 -103
  42. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +121 -13
  43. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +25 -24
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +12 -47
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +47 -31
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +27 -198
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +198 -30
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +30 -234
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +240 -19
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +19 -383
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +416 -4
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +4 -35
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +35 -189
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +21 -57
  55. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +214 -3
  56. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +3 -4
  57. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +2 -44
  58. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +46 -1
  59. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +1 -8
  60. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +6 -10
  61. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +10 -110
  62. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +112 -3
  63. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +3 -127
  64. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +124 -8
  65. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +58 -5
  66. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +8 -7
  67. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +8 -46
  68. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +43 -18
  69. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +20 -28
  70. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +27 -82
  71. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +83 -47
  72. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +47 -250
  73. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +239 -101
  74. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +107 -202
  75. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +209 -3
  76. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +5 -4
  77. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +4 -8
  78. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +6 -113
  79. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +115 -1
  80. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +0 -24
  81. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +25 -0
  82. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +5 -70
  83. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +44 -40
  84. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +170 -2
  85. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +2 -10
  86. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +12 -50
  87. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +108 -2
  88. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index104.js +2 -0
  89. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js +10 -0
  90. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index106.js +52 -0
  91. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index107.js +2 -0
  92. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +21 -12
  93. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +10 -9
  94. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +11 -16
  95. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +18 -2
  96. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +2 -4
  97. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +2 -28
  98. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +30 -2
  99. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +2 -32
  100. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +32 -1
  101. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +1 -29
  102. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +26 -19
  103. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +20 -152
  104. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +154 -2
  105. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index29.js +1 -64
  106. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +61 -253
  107. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +258 -1
  108. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +2 -9
  109. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +7 -47
  110. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +49 -2
  111. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +2 -18
  112. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +15 -47
  113. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +50 -2
  114. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +2 -23
  115. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +21 -338
  116. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +340 -2
  117. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +2 -12
  118. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +9 -97
  119. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +96 -2
  120. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +1 -12
  121. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +11 -57
  122. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +58 -1
  123. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +1 -54
  124. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +52 -10
  125. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +10 -179
  126. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +181 -1
  127. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +2 -4
  128. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +2 -39
  129. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +41 -2
  130. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +2 -7
  131. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +5 -90
  132. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +92 -2
  133. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +2 -4
  134. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +2 -14
  135. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +16 -2
  136. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +1 -88
  137. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +86 -298
  138. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +299 -9
  139. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +13 -1
  140. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +1 -8
  141. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +6 -37
  142. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +39 -2
  143. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +2 -39
  144. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +2 -10
  145. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +30 -195
  146. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +0 -1
  147. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +36 -14
  148. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +10 -345
  149. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +199 -8
  150. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +3 -9
  151. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +15 -91
  152. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +347 -0
  153. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +10 -2
  154. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +7 -123
  155. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +91 -26
  156. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +1 -1
  157. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +123 -5
  158. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +26 -28
  159. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +94 -2
  160. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +2 -7
  161. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +5 -32
  162. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +30 -2
  163. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +2 -12
  164. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +5 -104
  165. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +34 -2
  166. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +2 -17
  167. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +10 -123
  168. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +105 -1
  169. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +2 -18
  170. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +13 -6
  171. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +74 -119
  172. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +1 -1
  173. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +15 -11
  174. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +8 -106
  175. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  176. package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/formatRejectionDate.js +11 -0
  177. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
  178. package/package.json +1 -1
  179. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +0 -94
@@ -1,127 +1,3 @@
1
- import { BillColumn as e } from "../../ui/dist/index71.js";
2
- import "../../ui/dist/index.js";
3
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js
4
- var t = {
5
- Drafts: "drafts",
6
- Pending: "pending",
7
- Scheduled: "scheduled",
8
- Paid: "paid",
9
- All: "all"
10
- }, n = {
11
- [t.Drafts]: ["draft", "new"],
12
- [t.Pending]: [
13
- "approve_in_progress",
14
- "waiting_to_be_paid",
15
- "partially_paid"
16
- ],
17
- [t.Scheduled]: [
18
- "new",
19
- "approve_in_progress",
20
- "waiting_to_be_paid",
21
- "partially_paid"
22
- ],
23
- [t.Paid]: ["paid"],
24
- [t.All]: void 0
25
- }, r = {
26
- [t.Drafts]: void 0,
27
- [t.Pending]: !1,
28
- [t.Scheduled]: !0,
29
- [t.Paid]: void 0,
30
- [t.All]: void 0
31
- };
32
- function i(e) {
33
- return e === t.Pending || e === t.Drafts;
34
- }
35
- var a = t.Drafts, o = [
36
- t.Drafts,
37
- t.Pending,
38
- t.Scheduled,
39
- t.Paid,
40
- t.All
41
- ], s = {
42
- [t.Drafts]: [
43
- e.Vendor,
44
- e.Attachment,
45
- e.IssueDate,
46
- e.DueDate,
47
- e.Status,
48
- e.AmountDue,
49
- e.TotalAmount,
50
- e.AddedOn
51
- ],
52
- [t.Pending]: [
53
- e.Vendor,
54
- e.Attachment,
55
- e.IssueDate,
56
- e.DueDate,
57
- e.Status,
58
- e.AmountDue,
59
- e.TotalAmount,
60
- e.AddedOn
61
- ],
62
- [t.Scheduled]: [
63
- e.Vendor,
64
- e.Attachment,
65
- e.IssueDate,
66
- e.DueDate,
67
- e.ScheduledDate,
68
- e.Status,
69
- e.AmountScheduled,
70
- e.TotalAmount,
71
- e.AddedOn
72
- ],
73
- [t.Paid]: [
74
- e.Vendor,
75
- e.Attachment,
76
- e.IssueDate,
77
- e.DueDate,
78
- e.PaidDate,
79
- e.Status,
80
- e.AmountPaid,
81
- e.TotalAmount,
82
- e.AddedOn
83
- ],
84
- [t.All]: [
85
- e.Vendor,
86
- e.Attachment,
87
- e.IssueDate,
88
- e.DueDate,
89
- e.ScheduledDate,
90
- e.Status,
91
- e.AmountDue,
92
- e.AmountPaid,
93
- e.TotalAmount,
94
- e.AddedOn
95
- ]
96
- };
97
- function c(e) {
98
- return s[e];
99
- }
100
- function l(e) {
101
- let t = n[e];
102
- return t ? [...t] : void 0;
103
- }
104
- function u(e) {
105
- return r[e];
106
- }
107
- var d = {
108
- vendorLabel: "counterpart_name",
109
- issueDateLabel: "issued_at",
110
- dueDateLabel: "due_date",
111
- scheduledDateLabel: "scheduled_payment_date",
112
- addedOnLabel: "created_at"
113
- }, f = {
114
- [e.Vendor]: "vendorLabel",
115
- [e.IssueDate]: "issueDateLabel",
116
- [e.DueDate]: "dueDateLabel",
117
- [e.ScheduledDate]: "scheduledDateLabel",
118
- [e.AddedOn]: "addedOnLabel"
119
- };
120
- function p(e) {
121
- return f[e];
122
- }
123
- function m(e) {
124
- if (e) return d[e];
125
- }
126
- //#endregion
127
- export { s as BILL_QUEUE_COLUMNS, r as BILL_QUEUE_HAS_SCHEDULED_PAYMENT, o as BILL_QUEUE_ORDER, n as BILL_QUEUE_STATUSES, d as BILL_SORT_FIELDS, t as BillQueue, a as DEFAULT_BILL_QUEUE, c as billQueueColumns, u as billQueueHasScheduledPayment, i as billQueueOffersAddPanel, l as billQueueStatuses, p as billSortColumnId, m as billSortField };
1
+ import "./index65.js";
2
+ import "./index66.js";
3
+ import "./index67.js";
@@ -1,11 +1,127 @@
1
+ import { BillColumn as e } from "../../ui/dist/index75.js";
2
+ import "../../ui/dist/index.js";
1
3
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js
2
- async function e(e) {
3
- if (!e.trim()) return !1;
4
- try {
5
- return await navigator.clipboard.writeText(e), !0;
6
- } catch {
7
- return !1;
8
- }
4
+ var t = {
5
+ Drafts: "drafts",
6
+ Pending: "pending",
7
+ Scheduled: "scheduled",
8
+ Paid: "paid",
9
+ All: "all"
10
+ }, n = {
11
+ [t.Drafts]: ["draft", "new"],
12
+ [t.Pending]: [
13
+ "approve_in_progress",
14
+ "waiting_to_be_paid",
15
+ "partially_paid"
16
+ ],
17
+ [t.Scheduled]: [
18
+ "new",
19
+ "approve_in_progress",
20
+ "waiting_to_be_paid",
21
+ "partially_paid"
22
+ ],
23
+ [t.Paid]: ["paid"],
24
+ [t.All]: void 0
25
+ }, r = {
26
+ [t.Drafts]: void 0,
27
+ [t.Pending]: !1,
28
+ [t.Scheduled]: !0,
29
+ [t.Paid]: void 0,
30
+ [t.All]: void 0
31
+ };
32
+ function i(e) {
33
+ return e === t.Pending || e === t.Drafts;
34
+ }
35
+ var a = t.Drafts, o = [
36
+ t.Drafts,
37
+ t.Pending,
38
+ t.Scheduled,
39
+ t.Paid,
40
+ t.All
41
+ ], s = {
42
+ [t.Drafts]: [
43
+ e.Vendor,
44
+ e.Attachment,
45
+ e.IssueDate,
46
+ e.DueDate,
47
+ e.Status,
48
+ e.AmountDue,
49
+ e.TotalAmount,
50
+ e.AddedOn
51
+ ],
52
+ [t.Pending]: [
53
+ e.Vendor,
54
+ e.Attachment,
55
+ e.IssueDate,
56
+ e.DueDate,
57
+ e.Status,
58
+ e.AmountDue,
59
+ e.TotalAmount,
60
+ e.AddedOn
61
+ ],
62
+ [t.Scheduled]: [
63
+ e.Vendor,
64
+ e.Attachment,
65
+ e.IssueDate,
66
+ e.DueDate,
67
+ e.ScheduledDate,
68
+ e.Status,
69
+ e.AmountScheduled,
70
+ e.TotalAmount,
71
+ e.AddedOn
72
+ ],
73
+ [t.Paid]: [
74
+ e.Vendor,
75
+ e.Attachment,
76
+ e.IssueDate,
77
+ e.DueDate,
78
+ e.PaidDate,
79
+ e.Status,
80
+ e.AmountPaid,
81
+ e.TotalAmount,
82
+ e.AddedOn
83
+ ],
84
+ [t.All]: [
85
+ e.Vendor,
86
+ e.Attachment,
87
+ e.IssueDate,
88
+ e.DueDate,
89
+ e.ScheduledDate,
90
+ e.Status,
91
+ e.AmountDue,
92
+ e.AmountPaid,
93
+ e.TotalAmount,
94
+ e.AddedOn
95
+ ]
96
+ };
97
+ function c(e) {
98
+ return s[e];
99
+ }
100
+ function l(e) {
101
+ let t = n[e];
102
+ return t ? [...t] : void 0;
103
+ }
104
+ function u(e) {
105
+ return r[e];
106
+ }
107
+ var d = {
108
+ vendorLabel: "counterpart_name",
109
+ issueDateLabel: "issued_at",
110
+ dueDateLabel: "due_date",
111
+ scheduledDateLabel: "scheduled_payment_date",
112
+ addedOnLabel: "created_at"
113
+ }, f = {
114
+ [e.Vendor]: "vendorLabel",
115
+ [e.IssueDate]: "issueDateLabel",
116
+ [e.DueDate]: "dueDateLabel",
117
+ [e.ScheduledDate]: "scheduledDateLabel",
118
+ [e.AddedOn]: "addedOnLabel"
119
+ };
120
+ function p(e) {
121
+ return f[e];
122
+ }
123
+ function m(e) {
124
+ if (e) return d[e];
9
125
  }
10
126
  //#endregion
11
- export { e as copyTextToClipboard };
127
+ export { s as BILL_QUEUE_COLUMNS, r as BILL_QUEUE_HAS_SCHEDULED_PAYMENT, o as BILL_QUEUE_ORDER, n as BILL_QUEUE_STATUSES, d as BILL_SORT_FIELDS, t as BillQueue, a as DEFAULT_BILL_QUEUE, c as billQueueColumns, u as billQueueHasScheduledPayment, i as billQueueOffersAddPanel, l as billQueueStatuses, p as billSortColumnId, m as billSortField };
@@ -1,9 +1,62 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js
2
- function e(e) {
3
- return e?.counterpart ?? e?.counterpart_raw_data ?? void 0;
2
+ var e = /* @__PURE__ */ new Set([
3
+ "new",
4
+ "approve_in_progress",
5
+ "waiting_to_be_paid",
6
+ "partially_paid"
7
+ ]);
8
+ function t(t) {
9
+ return !!(t && e.has(t));
4
10
  }
5
- function t(e) {
6
- return e?.counterpart?.name ?? e?.counterpart_raw_data?.name ?? "";
11
+ function n(e, t) {
12
+ let n = /* @__PURE__ */ new Date(`${e.slice(0, 10)}T00:00:00Z`), r = Date.UTC(t.getUTCFullYear(), t.getUTCMonth(), t.getUTCDate());
13
+ return n.getTime() < r;
14
+ }
15
+ function r({ apiStatus: t, dueDate: r, scheduledPaymentDate: i, hasScheduledPayment: a = !!i, now: o = /* @__PURE__ */ new Date() }) {
16
+ if (e.has(t) && a) return {
17
+ status: "scheduled",
18
+ tone: "committed",
19
+ isOverdue: !1
20
+ };
21
+ let s = !!(e.has(t) && r && n(r, o));
22
+ switch (t) {
23
+ case "draft": return {
24
+ status: "draft",
25
+ tone: "neutral",
26
+ isOverdue: s
27
+ };
28
+ case "new": return {
29
+ status: "ready_to_submit",
30
+ tone: "accent",
31
+ isOverdue: s
32
+ };
33
+ case "approve_in_progress": return {
34
+ status: "pending_approval",
35
+ tone: "info",
36
+ isOverdue: s
37
+ };
38
+ case "waiting_to_be_paid":
39
+ case "partially_paid": return {
40
+ status: "ready_to_pay",
41
+ tone: "success",
42
+ isOverdue: s
43
+ };
44
+ case "paid": return {
45
+ status: "paid",
46
+ tone: "settled",
47
+ isOverdue: s
48
+ };
49
+ case "canceled": return {
50
+ status: "canceled",
51
+ tone: "neutral",
52
+ isOverdue: s
53
+ };
54
+ case "rejected": return {
55
+ status: "rejected",
56
+ tone: "danger",
57
+ isOverdue: s
58
+ };
59
+ }
7
60
  }
8
61
  //#endregion
9
- export { e as resolveVendor, t as resolveVendorName };
62
+ export { r as derivePayableStatus, t as hasUnpaidBalance };
@@ -1,10 +1,11 @@
1
- import "./index9.js";
2
- import "./index13.js";
3
1
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js
4
- function e(e, t) {
5
- if (e.isError) return t.duplicateWarningUnavailable;
6
- if (e.isCapped) return t.duplicateWarningManyCapped(100);
7
- if (e.count !== 0) return e.count === 1 ? t.duplicateWarningOne : t.duplicateWarningMany(e.count);
2
+ async function e(e) {
3
+ if (!e.trim()) return !1;
4
+ try {
5
+ return await navigator.clipboard.writeText(e), !0;
6
+ } catch {
7
+ return !1;
8
+ }
8
9
  }
9
10
  //#endregion
10
- export { e as resolveDuplicateWarning };
11
+ export { e as copyTextToClipboard };
@@ -1,48 +1,10 @@
1
- import { BillQueue as e } from "./index68.js";
1
+ import "./index10.js";
2
+ import "./index14.js";
2
3
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js
3
- var t = {
4
- [e.Drafts]: "Drafts",
5
- [e.Pending]: "Pending",
6
- [e.Scheduled]: "Scheduled",
7
- [e.Paid]: "Paid",
8
- [e.All]: "All bills"
9
- }, n = {
10
- [e.Drafts]: {
11
- title: "No drafts",
12
- description: "Bills wait here until someone submits them for approval."
13
- },
14
- [e.Pending]: {
15
- title: "Nothing to act on",
16
- description: "Every bill has been paid, scheduled, or is still a draft."
17
- },
18
- [e.Scheduled]: {
19
- title: "No scheduled bills",
20
- description: "Bills appear here once a payment date is set for them."
21
- },
22
- [e.Paid]: {
23
- title: "No paid bills",
24
- description: "Bills appear here once their payment has gone out."
25
- },
26
- [e.All]: {
27
- title: "No bills",
28
- description: "Bills appear here as soon as they are added."
29
- }
30
- }, r = {
31
- duplicateWarningOne: "1 possible duplicate bill found",
32
- duplicateWarningMany: (e) => `${e} possible duplicate bills found`,
33
- duplicateWarningManyCapped: (e) => `${e}+ possible duplicate bills found`,
34
- duplicateWarningUnavailable: "Couldn't check for possible duplicates. Try again shortly.",
35
- duplicateBadge: "Duplicate?",
36
- attachmentIndicator: "Has an attachment",
37
- emptyHeading: "Add your first bill",
38
- nonEmptyHeading: "Add a bill",
39
- createButton: "Add bill",
40
- emailCopiedToast: "Email address copied to clipboard",
41
- emailCopyFailedToast: "Could not copy the email address",
42
- queues: t,
43
- queueEmptyStates: n,
44
- filters: {},
45
- filterBar: {}
46
- };
4
+ function e(e, t) {
5
+ if (e.isError) return t.duplicateWarningUnavailable;
6
+ if (e.isCapped) return t.duplicateWarningManyCapped(100);
7
+ if (e.count !== 0) return e.count === 1 ? t.duplicateWarningOne : t.duplicateWarningMany(e.count);
8
+ }
47
9
  //#endregion
48
- export { r as BILLS_TAB_LABELS_EN, n as BILL_QUEUE_EMPTY_STATES_EN, t as BILL_QUEUE_LABELS_EN };
10
+ export { e as resolveDuplicateWarning };
@@ -1,23 +1,48 @@
1
- import { BillColumn as e } from "../../ui/dist/index71.js";
2
- import "../../ui/dist/index.js";
1
+ import { BillQueue as e } from "./index69.js";
3
2
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js
4
3
  var t = {
5
- root: "bill-pay-bills-tab",
6
- uploadTray: "bill-pay-upload-tray",
7
- detailsSheet: "bill-pay-details-sheet"
4
+ [e.Drafts]: "Drafts",
5
+ [e.Pending]: "Pending",
6
+ [e.Scheduled]: "Scheduled",
7
+ [e.Paid]: "Paid",
8
+ [e.All]: "All bills"
8
9
  }, n = {
9
- [e.Vendor]: "bill-pay-bills-cell-vendor",
10
- [e.Attachment]: "bill-pay-bills-cell-attachment",
11
- [e.IssueDate]: "bill-pay-bills-cell-issue-date",
12
- [e.DueDate]: "bill-pay-bills-cell-due-date",
13
- [e.ScheduledDate]: "bill-pay-bills-cell-scheduled-date",
14
- [e.PaidDate]: "bill-pay-bills-cell-paid-date",
15
- [e.Status]: "bill-pay-bills-cell-status",
16
- [e.AmountDue]: "bill-pay-bills-cell-amount-due",
17
- [e.AmountScheduled]: "bill-pay-bills-cell-amount-scheduled",
18
- [e.AmountPaid]: "bill-pay-bills-cell-amount-paid",
19
- [e.TotalAmount]: "bill-pay-bills-cell-total-amount",
20
- [e.AddedOn]: "bill-pay-bills-cell-added-on"
10
+ [e.Drafts]: {
11
+ title: "No drafts",
12
+ description: "Bills wait here until someone submits them for approval."
13
+ },
14
+ [e.Pending]: {
15
+ title: "Nothing to act on",
16
+ description: "Every bill has been paid, scheduled, or is still a draft."
17
+ },
18
+ [e.Scheduled]: {
19
+ title: "No scheduled bills",
20
+ description: "Bills appear here once a payment date is set for them."
21
+ },
22
+ [e.Paid]: {
23
+ title: "No paid bills",
24
+ description: "Bills appear here once their payment has gone out."
25
+ },
26
+ [e.All]: {
27
+ title: "No bills",
28
+ description: "Bills appear here as soon as they are added."
29
+ }
30
+ }, r = {
31
+ duplicateWarningOne: "1 possible duplicate bill found",
32
+ duplicateWarningMany: (e) => `${e} possible duplicate bills found`,
33
+ duplicateWarningManyCapped: (e) => `${e}+ possible duplicate bills found`,
34
+ duplicateWarningUnavailable: "Couldn't check for possible duplicates. Try again shortly.",
35
+ duplicateBadge: "Duplicate?",
36
+ attachmentIndicator: "Has an attachment",
37
+ emptyHeading: "Add your first bill",
38
+ nonEmptyHeading: "Add a bill",
39
+ createButton: "Add bill",
40
+ emailCopiedToast: "Email address copied to clipboard",
41
+ emailCopyFailedToast: "Could not copy the email address",
42
+ queues: t,
43
+ queueEmptyStates: n,
44
+ filters: {},
45
+ filterBar: {}
21
46
  };
22
47
  //#endregion
23
- export { t as billsTabTestIds, n as billsTableCellTestIds };
48
+ export { r as BILLS_TAB_LABELS_EN, n as BILL_QUEUE_EMPTY_STATES_EN, t as BILL_QUEUE_LABELS_EN };
@@ -1,31 +1,23 @@
1
+ import { BillColumn as e } from "../../ui/dist/index75.js";
2
+ import "../../ui/dist/index.js";
1
3
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js
2
- var e = {
3
- Draft: "draft",
4
- ReadyToSubmit: "ready_to_submit",
5
- PendingApproval: "pending_approval",
6
- ReadyToPay: "ready_to_pay",
7
- Paid: "paid",
8
- Canceled: "canceled",
9
- Rejected: "rejected"
10
- }, t = [
11
- e.Draft,
12
- e.ReadyToSubmit,
13
- e.PendingApproval,
14
- e.ReadyToPay,
15
- e.Paid,
16
- e.Canceled,
17
- e.Rejected
18
- ], n = {
19
- [e.Draft]: ["draft"],
20
- [e.ReadyToSubmit]: ["new"],
21
- [e.PendingApproval]: ["approve_in_progress"],
22
- [e.ReadyToPay]: ["waiting_to_be_paid", "partially_paid"],
23
- [e.Paid]: ["paid"],
24
- [e.Canceled]: ["canceled"],
25
- [e.Rejected]: ["rejected"]
4
+ var t = {
5
+ root: "bill-pay-bills-tab",
6
+ uploadTray: "bill-pay-upload-tray",
7
+ detailsSheet: "bill-pay-details-sheet"
8
+ }, n = {
9
+ [e.Vendor]: "bill-pay-bills-cell-vendor",
10
+ [e.Attachment]: "bill-pay-bills-cell-attachment",
11
+ [e.IssueDate]: "bill-pay-bills-cell-issue-date",
12
+ [e.DueDate]: "bill-pay-bills-cell-due-date",
13
+ [e.ScheduledDate]: "bill-pay-bills-cell-scheduled-date",
14
+ [e.PaidDate]: "bill-pay-bills-cell-paid-date",
15
+ [e.Status]: "bill-pay-bills-cell-status",
16
+ [e.AmountDue]: "bill-pay-bills-cell-amount-due",
17
+ [e.AmountScheduled]: "bill-pay-bills-cell-amount-scheduled",
18
+ [e.AmountPaid]: "bill-pay-bills-cell-amount-paid",
19
+ [e.TotalAmount]: "bill-pay-bills-cell-total-amount",
20
+ [e.AddedOn]: "bill-pay-bills-cell-added-on"
26
21
  };
27
- function r(e) {
28
- return e.flatMap((e) => n[e] ?? [e]);
29
- }
30
22
  //#endregion
31
- export { t as BILL_STATUS_FILTER_ORDER, e as BillStatusFilter, r as billStatusFilterApiValues };
23
+ export { t as billsTabTestIds, n as billsTableCellTestIds };
@@ -1,86 +1,31 @@
1
- import { endOfDay as e, endOfMonth as t, endOfQuarter as n, endOfWeek as r, endOfYear as i, startOfDay as a, startOfMonth as o, startOfQuarter as s, startOfWeek as c, startOfYear as l, subDays as u, subMonths as d, subQuarters as f, subWeeks as p, subYears as m } from "date-fns";
2
1
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js
3
- var h = {
4
- Today: "today",
5
- ThisWeek: "this_week",
6
- ThisMonth: "this_month",
7
- ThisQuarter: "this_quarter",
8
- ThisYear: "this_year",
9
- Yesterday: "yesterday",
10
- LastWeek: "last_week",
11
- LastMonth: "last_month",
12
- Last30Days: "last_30_days",
13
- Last90Days: "last_90_days",
14
- LastQuarter: "last_quarter",
15
- LastYear: "last_year"
2
+ var e = {
3
+ Draft: "draft",
4
+ ReadyToSubmit: "ready_to_submit",
5
+ PendingApproval: "pending_approval",
6
+ ReadyToPay: "ready_to_pay",
7
+ Paid: "paid",
8
+ Canceled: "canceled",
9
+ Rejected: "rejected"
10
+ }, t = [
11
+ e.Draft,
12
+ e.ReadyToSubmit,
13
+ e.PendingApproval,
14
+ e.ReadyToPay,
15
+ e.Paid,
16
+ e.Canceled,
17
+ e.Rejected
18
+ ], n = {
19
+ [e.Draft]: ["draft"],
20
+ [e.ReadyToSubmit]: ["new"],
21
+ [e.PendingApproval]: ["approve_in_progress"],
22
+ [e.ReadyToPay]: ["waiting_to_be_paid", "partially_paid"],
23
+ [e.Paid]: ["paid"],
24
+ [e.Canceled]: ["canceled"],
25
+ [e.Rejected]: ["rejected"]
16
26
  };
17
- function g(g, _ = /* @__PURE__ */ new Date()) {
18
- let v = a(_);
19
- switch (g) {
20
- case h.Today: return {
21
- from: v,
22
- to: e(v)
23
- };
24
- case h.ThisWeek: return {
25
- from: c(v),
26
- to: r(v)
27
- };
28
- case h.ThisMonth: return {
29
- from: o(v),
30
- to: t(v)
31
- };
32
- case h.ThisQuarter: return {
33
- from: s(v),
34
- to: n(v)
35
- };
36
- case h.ThisYear: return {
37
- from: l(v),
38
- to: i(v)
39
- };
40
- case h.Yesterday: {
41
- let t = u(v, 1);
42
- return {
43
- from: t,
44
- to: e(t)
45
- };
46
- }
47
- case h.LastWeek: {
48
- let e = c(p(v, 1));
49
- return {
50
- from: e,
51
- to: r(e)
52
- };
53
- }
54
- case h.LastMonth: {
55
- let e = o(d(v, 1));
56
- return {
57
- from: e,
58
- to: t(e)
59
- };
60
- }
61
- case h.Last30Days: return {
62
- from: u(v, 29),
63
- to: e(v)
64
- };
65
- case h.Last90Days: return {
66
- from: u(v, 89),
67
- to: e(v)
68
- };
69
- case h.LastQuarter: {
70
- let e = s(f(v, 1));
71
- return {
72
- from: e,
73
- to: n(e)
74
- };
75
- }
76
- case h.LastYear: {
77
- let e = l(m(v, 1));
78
- return {
79
- from: e,
80
- to: i(e)
81
- };
82
- }
83
- }
27
+ function r(e) {
28
+ return e.flatMap((e) => n[e] ?? [e]);
84
29
  }
85
30
  //#endregion
86
- export { h as BillsDatePreset, g as resolveDatePreset };
31
+ export { t as BILL_STATUS_FILTER_ORDER, e as BillStatusFilter, r as billStatusFilterApiValues };