@tesouro/embedded-components-react 0.4.12 → 0.4.14

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 (164) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/lib/BillPayWidget.js +1 -1
  3. package/dist/lib/monite-sdk.d.ts +204 -468
  4. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +14 -14
  5. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +37 -78
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +98 -7
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +81 -15
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +7 -26
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +16 -61
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +26 -2
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +63 -65
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +2 -6
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +66 -5
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +2 -2
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index2.js +6 -24
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +4 -32
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +3 -41
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +28 -166
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +40 -44
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +173 -1
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +45 -47
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +1 -7
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +45 -11
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +4 -8
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +13 -14
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +55 -22
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +8 -66
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +7 -19
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +58 -126
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +15 -11
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +134 -4
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +14 -31
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +4 -5
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +39 -87
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +78 -67
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +78 -48
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +24 -57
  38. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +47 -91
  39. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +119 -33
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +33 -168
  41. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +170 -75
  42. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +75 -21
  43. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +23 -210
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +199 -203
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +198 -89
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +105 -13
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +12 -47
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +23 -6
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +47 -31
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +27 -198
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +198 -30
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +30 -234
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +240 -19
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +19 -342
  55. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +364 -4
  56. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +4 -34
  57. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +32 -167
  58. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +186 -3
  59. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +56 -5
  60. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +3 -4
  61. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +2 -44
  62. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +46 -1
  63. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +1 -8
  64. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +6 -9
  65. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +9 -92
  66. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +94 -3
  67. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +3 -128
  68. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +125 -8
  69. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +8 -7
  70. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +5 -69
  71. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +8 -46
  72. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +43 -18
  73. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +20 -28
  74. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +27 -82
  75. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +83 -47
  76. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +47 -250
  77. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +239 -101
  78. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +107 -202
  79. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +209 -3
  80. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +4 -8
  81. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +5 -43
  82. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +6 -113
  83. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +115 -1
  84. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +0 -24
  85. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +25 -0
  86. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +64 -89
  87. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +40 -37
  88. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +10 -0
  89. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +52 -0
  90. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +2 -0
  91. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index15.js +2 -5
  92. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +12 -62
  93. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +12 -1
  94. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +16 -12
  95. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +2 -12
  96. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +2 -16
  97. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +30 -2
  98. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +2 -4
  99. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +28 -26
  100. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +0 -1
  101. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +6 -5
  102. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +161 -154
  103. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +16 -21
  104. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +47 -337
  105. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +20 -13
  106. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +327 -107
  107. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +13 -9
  108. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +113 -92
  109. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +9 -10
  110. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +95 -55
  111. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +9 -51
  112. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +56 -10
  113. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +2 -160
  114. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +54 -1
  115. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +11 -2
  116. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +178 -37
  117. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +1 -1
  118. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +2 -5
  119. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +37 -88
  120. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +5 -2
  121. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +88 -12
  122. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +2 -84
  123. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +11 -282
  124. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +2 -13
  125. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +87 -0
  126. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +294 -6
  127. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +9 -35
  128. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +0 -1
  129. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +5 -36
  130. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +37 -10
  131. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +2 -201
  132. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +39 -3
  133. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +3 -8
  134. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +187 -333
  135. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +3 -10
  136. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +13 -4
  137. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +335 -81
  138. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +10 -0
  139. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +8 -2
  140. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +87 -121
  141. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +2 -89
  142. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +127 -2
  143. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +25 -4
  144. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +85 -26
  145. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +3 -3
  146. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +26 -30
  147. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +4 -9
  148. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +30 -102
  149. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +9 -14
  150. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +85 -104
  151. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +10 -11
  152. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +123 -8
  153. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +2 -170
  154. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +18 -2
  155. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +7 -11
  156. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +158 -96
  157. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +1 -1
  158. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +11 -7
  159. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +100 -44
  160. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index618.js +1 -1
  161. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  162. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
  163. package/package.json +7 -7
  164. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +0 -28
@@ -3,295 +3,302 @@ import { ErrorState as i } from "../../../shared/ui/dist/lib/ErrorState/ErrorSta
3
3
  import "../../../shared/ui/dist/index.js";
4
4
  import { ApprovalPolicyCard as a } from "./index13.js";
5
5
  import "./index14.js";
6
- import { BillOverflowMenu as o } from "./index16.js";
7
- import "./index17.js";
8
- import { BillStatusBadge as s } from "./index20.js";
9
- import "./index21.js";
10
- import { DueDateValue as c } from "./index23.js";
6
+ import { BillStatusBadge as o } from "./index18.js";
7
+ import "./index19.js";
8
+ import { DueDateValue as s } from "./index21.js";
9
+ import "./index22.js";
10
+ import { PaymentHistoryList as c } from "./index23.js";
11
11
  import "./index24.js";
12
12
  import { mergeBillDetailBodyLabels as l } from "./index25.js";
13
- import { BillActionButtons as u, NO_BILL_ACTIONS as d, hasBillActions as f } from "./index15.js";
14
- import { AchFieldGroup as p } from "../../../shared/counterpart-management/ui/dist/index5.js";
13
+ import { BillActionButtons as u, NO_BILL_ACTIONS as d } from "./index15.js";
14
+ import { AchFieldGroup as f } from "../../../shared/counterpart-management/ui/dist/index5.js";
15
15
  import "../../../shared/counterpart-management/ui/dist/index.js";
16
- import { jsx as m, jsxs as h } from "react/jsx-runtime";
17
- import { AlertTriangle as g, ChevronRight as _ } from "lucide-react";
16
+ import { jsx as p, jsxs as m } from "react/jsx-runtime";
17
+ import { AlertTriangle as h, ChevronRight as g } from "lucide-react";
18
18
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js
19
- var v = "ttw:text-base ttw:font-semibold", y = "ttw:px-3 ttw:py-2", b = "ttw:flex ttw:items-center ttw:justify-between ttw:gap-4 ttw:border-b ttw:border-border ttw:py-3 ttw:last:border-b-0";
20
- function x({ view: x, actions: S = d, scheduledSummary: C, paymentInstructionsForm: w, isLoading: T, isError: E, labels: D }) {
21
- let O = l(D);
22
- if (E) return /* @__PURE__ */ m(i, {
23
- title: O.errorTitle,
24
- description: O.errorDescription
19
+ var _ = "ttw:text-base ttw:font-semibold", v = "ttw:px-3 ttw:py-2", y = "ttw:flex ttw:items-center ttw:justify-between ttw:gap-4 ttw:border-b ttw:border-border ttw:py-3 ttw:last:border-b-0";
20
+ function b({ view: b, actions: x = d, scheduledSummary: S, paymentInstructionsForm: C, paymentHistoryError: w, paymentHistoryLoading: T, isLoading: E, isError: D, labels: O }) {
21
+ let k = l(O);
22
+ if (D) return /* @__PURE__ */ p(i, {
23
+ title: k.errorTitle,
24
+ description: k.errorDescription
25
25
  });
26
- if (T || !x) return /* @__PURE__ */ h("div", {
26
+ if (E || !b) return /* @__PURE__ */ m("div", {
27
27
  "aria-hidden": !0,
28
28
  className: "ttw:flex ttw:flex-col ttw:gap-6",
29
29
  children: [
30
- /* @__PURE__ */ m(n, { className: "ttw:h-40 ttw:w-full" }),
31
- /* @__PURE__ */ m(n, { className: "ttw:h-32 ttw:w-full" }),
32
- /* @__PURE__ */ m(n, { className: "ttw:h-24 ttw:w-full" })
30
+ /* @__PURE__ */ p(n, { className: "ttw:h-40 ttw:w-full" }),
31
+ /* @__PURE__ */ p(n, { className: "ttw:h-32 ttw:w-full" }),
32
+ /* @__PURE__ */ p(n, { className: "ttw:h-24 ttw:w-full" })
33
33
  ]
34
34
  });
35
- let k = !x.payTo.paymentInstructionsLabel && w;
36
- return /* @__PURE__ */ h("div", {
35
+ let A = !b.payTo.paymentInstructionsLabel && C;
36
+ return /* @__PURE__ */ m("div", {
37
37
  className: "ttw:flex ttw:flex-col ttw:gap-6",
38
38
  children: [
39
- k ? /* @__PURE__ */ h("div", {
39
+ A ? /* @__PURE__ */ m("div", {
40
40
  className: "ttw:flex ttw:items-center ttw:gap-3 ttw:rounded-md ttw:border ttw:border-amber-200 ttw:bg-amber-50 ttw:px-3 ttw:py-2.5",
41
41
  children: [
42
- /* @__PURE__ */ m(g, { className: "ttw:size-4 ttw:shrink-0 ttw:text-amber-800" }),
43
- /* @__PURE__ */ m("p", {
42
+ /* @__PURE__ */ p(h, { className: "ttw:size-4 ttw:shrink-0 ttw:text-amber-800" }),
43
+ /* @__PURE__ */ p("p", {
44
44
  className: "ttw:flex-1 ttw:text-sm ttw:text-foreground",
45
- children: O.missingPaymentInstructionsBanner
45
+ children: k.missingPaymentInstructionsBanner
46
46
  }),
47
- /* @__PURE__ */ m(t, {
47
+ /* @__PURE__ */ p(t, {
48
48
  type: "button",
49
49
  variant: "outline",
50
50
  size: "sm",
51
- onClick: w.onOpen,
52
- children: O.addPaymentInstructions
51
+ onClick: C.onOpen,
52
+ children: k.addPaymentInstructions
53
53
  })
54
54
  ]
55
55
  }) : null,
56
- /* @__PURE__ */ h("section", {
56
+ /* @__PURE__ */ m("section", {
57
57
  className: "ttw:flex ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:bg-muted/50 ttw:p-4",
58
58
  children: [
59
- x.paidOnLabel ? /* @__PURE__ */ h("div", {
59
+ b.paidOnLabel ? /* @__PURE__ */ m("div", {
60
60
  className: "ttw:grid ttw:grid-cols-2 ttw:gap-x-6",
61
- children: [/* @__PURE__ */ h("div", {
61
+ children: [/* @__PURE__ */ m("div", {
62
62
  className: "ttw:flex ttw:flex-col ttw:gap-1",
63
- children: [/* @__PURE__ */ m("span", {
63
+ children: [/* @__PURE__ */ p("span", {
64
64
  className: "ttw:text-sm ttw:text-muted-foreground",
65
- children: O.amountDueHeading
66
- }), /* @__PURE__ */ m("span", {
65
+ children: k.amountDueHeading
66
+ }), /* @__PURE__ */ p("span", {
67
67
  className: "ttw:text-3xl ttw:font-semibold",
68
- children: x.amountDue
68
+ children: b.amountDue
69
69
  })]
70
- }), /* @__PURE__ */ h("div", {
70
+ }), /* @__PURE__ */ m("div", {
71
71
  className: "ttw:flex ttw:flex-col ttw:gap-1",
72
- children: [/* @__PURE__ */ m("span", {
72
+ children: [/* @__PURE__ */ p("span", {
73
73
  className: "ttw:text-sm ttw:text-muted-foreground",
74
- children: O.amountPaidHeading
75
- }), /* @__PURE__ */ m("span", {
74
+ children: k.amountPaidHeading
75
+ }), /* @__PURE__ */ p("span", {
76
76
  className: "ttw:text-3xl ttw:font-semibold ttw:text-emerald-600",
77
- children: x.amountPaid
77
+ children: b.amountPaid
78
78
  })]
79
79
  })]
80
- }) : /* @__PURE__ */ h("div", {
80
+ }) : /* @__PURE__ */ m("div", {
81
81
  className: "ttw:flex ttw:flex-col ttw:gap-1",
82
- children: [/* @__PURE__ */ m("span", {
82
+ children: [/* @__PURE__ */ p("span", {
83
83
  className: "ttw:text-sm ttw:text-muted-foreground",
84
- children: O.amountDueHeading
85
- }), /* @__PURE__ */ m("span", {
84
+ children: k.amountDueHeading
85
+ }), /* @__PURE__ */ p("span", {
86
86
  className: "ttw:text-3xl ttw:font-semibold",
87
- children: x.amountDue
87
+ children: b.amountDue
88
88
  })]
89
89
  }),
90
- /* @__PURE__ */ m("div", { children: x.paidOnLabel ? /* @__PURE__ */ m(e, {
90
+ /* @__PURE__ */ p("div", { children: b.paidOnLabel ? /* @__PURE__ */ p(e, {
91
91
  variant: "outline",
92
92
  className: "ttw:border-emerald-200 ttw:bg-emerald-50 ttw:text-emerald-700",
93
- children: x.paidOnLabel
94
- }) : /* @__PURE__ */ m(s, {
95
- status: x.status,
96
- tone: x.statusTone,
97
- labels: O.statusBadge
93
+ children: b.paidOnLabel
94
+ }) : /* @__PURE__ */ p(o, {
95
+ status: b.status,
96
+ tone: b.statusTone,
97
+ labels: k.statusBadge
98
98
  }) }),
99
- /* @__PURE__ */ h("div", {
99
+ /* @__PURE__ */ m("div", {
100
100
  className: "ttw:grid ttw:grid-cols-2 ttw:gap-x-6",
101
- children: [/* @__PURE__ */ h("div", {
101
+ children: [/* @__PURE__ */ m("div", {
102
102
  className: "ttw:flex ttw:flex-col",
103
- children: [/* @__PURE__ */ m("span", {
103
+ children: [/* @__PURE__ */ p("span", {
104
104
  className: "ttw:text-xs ttw:text-muted-foreground",
105
- children: O.invoiceDateLabel
106
- }), /* @__PURE__ */ m("span", {
105
+ children: k.invoiceDateLabel
106
+ }), /* @__PURE__ */ p("span", {
107
107
  className: "ttw:text-sm ttw:font-medium",
108
- children: x.invoiceDateLabel
108
+ children: b.invoiceDateLabel
109
109
  })]
110
- }), /* @__PURE__ */ h("div", {
110
+ }), /* @__PURE__ */ m("div", {
111
111
  className: "ttw:flex ttw:flex-col",
112
- children: [/* @__PURE__ */ m("span", {
112
+ children: [/* @__PURE__ */ p("span", {
113
113
  className: "ttw:text-xs ttw:text-muted-foreground",
114
- children: O.dueDateLabel
115
- }), /* @__PURE__ */ m(c, {
114
+ children: k.dueDateLabel
115
+ }), /* @__PURE__ */ p(s, {
116
116
  className: "ttw:text-sm ttw:font-medium",
117
- value: x.dueDateLabel,
118
- tone: x.dueDateTone,
119
- labels: O.dueDate
117
+ value: b.dueDateLabel,
118
+ tone: b.dueDateTone,
119
+ labels: k.dueDate
120
120
  })]
121
121
  })]
122
122
  }),
123
- C ? /* @__PURE__ */ m("div", { children: /* @__PURE__ */ m(e, {
123
+ S ? /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(e, {
124
124
  variant: "outline",
125
125
  className: "ttw:border-emerald-200 ttw:bg-emerald-50 ttw:text-emerald-700",
126
- children: C
127
- }) }) : f(S) ? /* @__PURE__ */ h("div", {
126
+ children: S
127
+ }) }) : x.row.length ? /* @__PURE__ */ p("div", {
128
128
  className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:gap-2",
129
- children: [/* @__PURE__ */ m(u, { actions: S.row }), /* @__PURE__ */ m(o, {
130
- actions: S.menu,
131
- triggerLabel: O.overflowMenuTriggerLabel
132
- })]
129
+ children: /* @__PURE__ */ p(u, { actions: x.row })
133
130
  }) : null
134
131
  ]
135
132
  }),
136
- /* @__PURE__ */ h("section", {
133
+ /* @__PURE__ */ m("section", {
137
134
  className: "ttw:flex ttw:flex-col ttw:gap-1",
138
135
  children: [
139
- /* @__PURE__ */ m("h3", {
140
- className: v,
141
- children: x.paidOnLabel ? O.payToHeadingPaid : O.payToHeading
136
+ /* @__PURE__ */ p("h3", {
137
+ className: _,
138
+ children: b.paidOnLabel ? k.payToHeadingPaid : k.payToHeading
142
139
  }),
143
- /* @__PURE__ */ h("div", {
144
- className: b,
145
- children: [/* @__PURE__ */ m("span", {
140
+ /* @__PURE__ */ m("div", {
141
+ className: y,
142
+ children: [/* @__PURE__ */ p("span", {
146
143
  className: "ttw:text-sm ttw:text-muted-foreground",
147
- children: O.vendorRow
148
- }), /* @__PURE__ */ h("div", {
144
+ children: k.vendorRow
145
+ }), /* @__PURE__ */ m("div", {
149
146
  className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-right",
150
- children: [/* @__PURE__ */ h("div", {
147
+ children: [/* @__PURE__ */ m("div", {
151
148
  className: "ttw:flex ttw:flex-col",
152
- children: [/* @__PURE__ */ m("span", {
149
+ children: [/* @__PURE__ */ p("span", {
153
150
  className: "ttw:text-sm ttw:font-medium ttw:text-primary",
154
- children: x.payTo.name
155
- }), x.payTo.email ? /* @__PURE__ */ m("span", {
151
+ children: b.payTo.name
152
+ }), b.payTo.email ? /* @__PURE__ */ p("span", {
156
153
  className: "ttw:text-xs ttw:text-muted-foreground",
157
- children: x.payTo.email
154
+ children: b.payTo.email
158
155
  }) : null]
159
- }), /* @__PURE__ */ m(_, {
156
+ }), /* @__PURE__ */ p(g, {
160
157
  "aria-hidden": !0,
161
158
  className: "ttw:size-4 ttw:shrink-0 ttw:text-muted-foreground"
162
159
  })]
163
160
  })]
164
161
  }),
165
- /* @__PURE__ */ h("div", {
166
- className: b,
167
- children: [/* @__PURE__ */ m("span", {
162
+ /* @__PURE__ */ m("div", {
163
+ className: y,
164
+ children: [/* @__PURE__ */ p("span", {
168
165
  className: "ttw:text-sm ttw:text-muted-foreground",
169
- children: O.paymentInstructionsRow
170
- }), /* @__PURE__ */ h("div", {
166
+ children: k.paymentInstructionsRow
167
+ }), /* @__PURE__ */ m("div", {
171
168
  className: "ttw:flex ttw:items-center ttw:gap-2",
172
- children: [x.payTo.paymentInstructionsLabel ? /* @__PURE__ */ m("span", {
169
+ children: [b.payTo.paymentInstructionsLabel ? /* @__PURE__ */ p("span", {
173
170
  className: "ttw:text-sm ttw:font-medium",
174
- children: x.payTo.paymentInstructionsLabel
175
- }) : w ? /* @__PURE__ */ m("button", {
171
+ children: b.payTo.paymentInstructionsLabel
172
+ }) : C ? /* @__PURE__ */ p("button", {
176
173
  type: "button",
177
- onClick: w.onOpen,
174
+ onClick: C.onOpen,
178
175
  className: "ttw:text-sm ttw:font-medium ttw:text-destructive",
179
- children: O.addPaymentInstructions
180
- }) : /* @__PURE__ */ m("span", {
176
+ children: k.addPaymentInstructions
177
+ }) : /* @__PURE__ */ p("span", {
181
178
  className: "ttw:text-sm ttw:font-medium ttw:text-destructive",
182
- children: O.addPaymentInstructions
183
- }), /* @__PURE__ */ m(_, {
179
+ children: k.addPaymentInstructions
180
+ }), /* @__PURE__ */ p(g, {
184
181
  "aria-hidden": !0,
185
182
  className: "ttw:size-4 ttw:shrink-0 ttw:text-muted-foreground"
186
183
  })]
187
184
  })]
188
185
  }),
189
- w?.isOpen ? /* @__PURE__ */ h("div", {
186
+ C?.isOpen ? /* @__PURE__ */ m("div", {
190
187
  className: "ttw:mt-2 ttw:rounded-lg ttw:border ttw:border-border ttw:p-4",
191
- children: [/* @__PURE__ */ m(p, {
188
+ children: [/* @__PURE__ */ p(f, {
192
189
  idPrefix: "bill-detail-payment-instructions",
193
- values: w.values,
194
- errors: w.errors,
195
- onChange: w.onChange
196
- }), /* @__PURE__ */ h("div", {
190
+ values: C.values,
191
+ errors: C.errors,
192
+ onChange: C.onChange
193
+ }), /* @__PURE__ */ m("div", {
197
194
  className: "ttw:mt-4 ttw:flex ttw:justify-end ttw:gap-2",
198
- children: [/* @__PURE__ */ m(t, {
195
+ children: [/* @__PURE__ */ p(t, {
199
196
  type: "button",
200
197
  variant: "ghost",
201
- onClick: w.onCancel,
202
- children: O.paymentInstructionsCancel
203
- }), /* @__PURE__ */ m(t, {
198
+ onClick: C.onCancel,
199
+ children: k.paymentInstructionsCancel
200
+ }), /* @__PURE__ */ p(t, {
204
201
  type: "button",
205
- loading: w.isSaving,
206
- onClick: w.onSave,
207
- children: O.paymentInstructionsSave
202
+ loading: C.isSaving,
203
+ onClick: C.onSave,
204
+ children: k.paymentInstructionsSave
208
205
  })]
209
206
  })]
210
207
  }) : null
211
208
  ]
212
209
  }),
213
- /* @__PURE__ */ m("dl", {
210
+ b.paymentHistory.length || w || T ? /* @__PURE__ */ m("section", {
211
+ className: "ttw:flex ttw:flex-col ttw:gap-3",
212
+ children: [/* @__PURE__ */ p("h3", {
213
+ className: _,
214
+ children: k.paymentHistoryHeading
215
+ }), w ? /* @__PURE__ */ p("p", {
216
+ className: "ttw:text-sm ttw:text-muted-foreground",
217
+ children: k.paymentHistoryErrorDescription
218
+ }) : T ? /* @__PURE__ */ p(n, { className: "ttw:h-9 ttw:w-full" }) : /* @__PURE__ */ p(c, { records: b.paymentHistory })]
219
+ }) : null,
220
+ /* @__PURE__ */ p("dl", {
214
221
  className: "ttw:flex ttw:flex-col",
215
- children: x.invoiceFields.map((e) => /* @__PURE__ */ h("div", {
216
- className: b,
217
- children: [/* @__PURE__ */ m("dt", {
222
+ children: b.invoiceFields.map((e) => /* @__PURE__ */ m("div", {
223
+ className: y,
224
+ children: [/* @__PURE__ */ p("dt", {
218
225
  className: "ttw:text-sm ttw:text-muted-foreground",
219
226
  children: e.label
220
- }), /* @__PURE__ */ m("dd", {
227
+ }), /* @__PURE__ */ p("dd", {
221
228
  className: "ttw:text-right ttw:text-sm ttw:font-medium",
222
229
  children: e.value
223
230
  })]
224
231
  }, e.label))
225
232
  }),
226
- /* @__PURE__ */ m("section", { children: /* @__PURE__ */ h("table", {
233
+ /* @__PURE__ */ p("section", { children: /* @__PURE__ */ m("table", {
227
234
  className: "ttw:w-full ttw:text-sm",
228
- children: [/* @__PURE__ */ m("thead", { children: /* @__PURE__ */ h("tr", {
235
+ children: [/* @__PURE__ */ p("thead", { children: /* @__PURE__ */ m("tr", {
229
236
  className: "ttw:bg-muted/50 ttw:text-xs ttw:text-muted-foreground",
230
237
  children: [
231
- /* @__PURE__ */ m("th", {
232
- className: r(y, "ttw:text-left ttw:font-normal"),
233
- children: O.descriptionAndGlCodeColumn
238
+ /* @__PURE__ */ p("th", {
239
+ className: r(v, "ttw:text-left ttw:font-normal"),
240
+ children: k.descriptionAndGlCodeColumn
234
241
  }),
235
- /* @__PURE__ */ m("th", {
236
- className: r(y, "ttw:text-right ttw:font-normal"),
237
- children: O.qtyPriceColumn
242
+ /* @__PURE__ */ p("th", {
243
+ className: r(v, "ttw:text-right ttw:font-normal"),
244
+ children: k.qtyPriceColumn
238
245
  }),
239
- /* @__PURE__ */ m("th", {
240
- className: r(y, "ttw:text-right ttw:font-normal"),
241
- children: O.amountColumn
246
+ /* @__PURE__ */ p("th", {
247
+ className: r(v, "ttw:text-right ttw:font-normal"),
248
+ children: k.amountColumn
242
249
  })
243
250
  ]
244
- }) }), /* @__PURE__ */ h("tbody", { children: [x.lineItems.map((e) => /* @__PURE__ */ h("tr", {
251
+ }) }), /* @__PURE__ */ m("tbody", { children: [b.lineItems.map((e) => /* @__PURE__ */ m("tr", {
245
252
  className: "ttw:border-b ttw:border-border",
246
253
  children: [
247
- /* @__PURE__ */ m("td", {
248
- className: y,
249
- children: /* @__PURE__ */ h("div", {
254
+ /* @__PURE__ */ p("td", {
255
+ className: v,
256
+ children: /* @__PURE__ */ m("div", {
250
257
  className: "ttw:flex ttw:flex-col",
251
- children: [/* @__PURE__ */ m("span", { children: e.description }), /* @__PURE__ */ m("span", {
258
+ children: [/* @__PURE__ */ p("span", { children: e.description }), /* @__PURE__ */ p("span", {
252
259
  className: "ttw:text-xs ttw:text-muted-foreground",
253
260
  children: e.glCodeLabel
254
261
  })]
255
262
  })
256
263
  }),
257
- /* @__PURE__ */ m("td", {
258
- className: r(y, "ttw:text-right ttw:whitespace-nowrap ttw:text-muted-foreground"),
264
+ /* @__PURE__ */ p("td", {
265
+ className: r(v, "ttw:text-right ttw:whitespace-nowrap ttw:text-muted-foreground"),
259
266
  children: e.qtyPriceLabel
260
267
  }),
261
- /* @__PURE__ */ m("td", {
262
- className: r(y, "ttw:text-right ttw:whitespace-nowrap"),
268
+ /* @__PURE__ */ p("td", {
269
+ className: r(v, "ttw:text-right ttw:whitespace-nowrap"),
263
270
  children: e.amount
264
271
  })
265
272
  ]
266
- }, e.id)), x.amountRows.map((e) => /* @__PURE__ */ h("tr", {
273
+ }, e.id)), b.amountRows.map((e) => /* @__PURE__ */ m("tr", {
267
274
  className: r(e.emphasis ? "ttw:font-semibold" : "ttw:text-muted-foreground"),
268
- children: [/* @__PURE__ */ m("td", {
275
+ children: [/* @__PURE__ */ p("td", {
269
276
  colSpan: 2,
270
- className: y,
277
+ className: v,
271
278
  children: e.label
272
- }), /* @__PURE__ */ m("td", {
273
- className: r(y, "ttw:text-right ttw:whitespace-nowrap", e.emphasis && "ttw:text-foreground"),
279
+ }), /* @__PURE__ */ p("td", {
280
+ className: r(v, "ttw:text-right ttw:whitespace-nowrap", e.emphasis && "ttw:text-foreground"),
274
281
  children: e.value
275
282
  })]
276
283
  }, e.label))] })]
277
284
  }) }),
278
- x.approvalPolicy ? /* @__PURE__ */ m(a, {
279
- view: x.approvalPolicy,
280
- labels: O.approvalPolicy
285
+ b.approvalPolicy ? /* @__PURE__ */ p(a, {
286
+ view: b.approvalPolicy,
287
+ labels: k.approvalPolicy
281
288
  }) : null,
282
- x.history.length ? /* @__PURE__ */ h("section", {
289
+ b.history.length ? /* @__PURE__ */ m("section", {
283
290
  className: "ttw:flex ttw:flex-col ttw:gap-3",
284
- children: [/* @__PURE__ */ m("h3", {
285
- className: v,
286
- children: O.historyHeading
287
- }), /* @__PURE__ */ m("ul", {
291
+ children: [/* @__PURE__ */ p("h3", {
292
+ className: _,
293
+ children: k.historyHeading
294
+ }), /* @__PURE__ */ p("ul", {
288
295
  className: "ttw:flex ttw:flex-col",
289
- children: x.history.map((e) => /* @__PURE__ */ h("li", {
296
+ children: b.history.map((e) => /* @__PURE__ */ m("li", {
290
297
  className: "ttw:flex ttw:gap-6 ttw:border-b ttw:border-border ttw:py-3 ttw:text-sm ttw:last:border-b-0",
291
- children: [/* @__PURE__ */ m("span", {
298
+ children: [/* @__PURE__ */ p("span", {
292
299
  className: "ttw:w-28 ttw:shrink-0 ttw:text-muted-foreground",
293
300
  children: e.dateLabel
294
- }), /* @__PURE__ */ m("span", { children: e.description })]
301
+ }), /* @__PURE__ */ p("span", { children: e.description })]
295
302
  }, e.id))
296
303
  })]
297
304
  }) : null
@@ -299,4 +306,4 @@ function x({ view: x, actions: S = d, scheduledSummary: C, paymentInstructionsFo
299
306
  });
300
307
  }
301
308
  //#endregion
302
- export { x as BillDetailBody, x as default };
309
+ export { b as BillDetailBody, b as default };
@@ -1,23 +1,18 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js
2
- var e = {
3
- heading: "Line items",
4
- helpText: "Enter a single amount for this payment, or split it into line items to assign a GL code to each one.",
5
- description: "Description",
6
- descriptionPlaceholder: "e.g., Office supplies",
7
- glCode: "GL code (optional)",
8
- glCodePlaceholder: "Select",
9
- glCodeClear: "Clear GL code",
10
- quantity: "Quantity",
11
- price: "Price",
12
- amount: "Amount",
13
- currencySymbol: "$",
14
- discount: "Discounts",
15
- tax: "Tax",
16
- totalAmount: "Total amount",
17
- addLineItem: "+ Add line item",
18
- increaseQuantity: (e) => `Increase quantity — line item ${e}`,
19
- decreaseQuantity: (e) => `Decrease quantity — line item ${e}`,
20
- removeLineItem: (e) => `Remove line item ${e}`
21
- };
2
+ function e(e) {
3
+ let t = [];
4
+ for (let n of e) {
5
+ let e = t.at(-1);
6
+ if (e && e.heading === n.sectionHeading) {
7
+ e.items = [...e.items, n];
8
+ continue;
9
+ }
10
+ t.push({
11
+ heading: n.sectionHeading,
12
+ items: [n]
13
+ });
14
+ }
15
+ return t;
16
+ }
22
17
  //#endregion
23
- export { e as LINE_ITEMS_SECTION_LABELS_EN };
18
+ export { e as groupBySectionHeading };