@tesouro/embedded-components-react 0.4.21 → 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 -210
  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 -385
  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 -11
  118. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +9 -94
  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,10 +1,2 @@
1
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js
2
- var e = {
3
- title: "Save this bill as a draft?",
4
- description: "This bill has changes that have not been saved. Save it as a draft to finish later, or discard the changes.",
5
- saveDraftButton: "Save as draft",
6
- discardButton: "Discard changes",
7
- closeButton: "Close"
8
- };
9
- //#endregion
10
- export { e as UNSAVED_BILL_DIALOG_LABELS_EN };
1
+ import "./index98.js";
2
+ import "./index100.js";
@@ -1,52 +1,14 @@
1
- import { AlertDialog as e, AlertDialogContent as t, AlertDialogDescription as n, AlertDialogFooter as r, AlertDialogHeader as i, AlertDialogTitle as a, Button as o } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { UNSAVED_BILL_DIALOG_LABELS_EN as s } from "./index101.js";
3
- import { jsx as c, jsxs as l } from "react/jsx-runtime";
4
- import { XIcon as u } from "lucide-react";
1
+ import { BILL_UPLOAD_DROPZONE_LABELS_EN as e } from "./index2.js";
2
+ import "./index5.js";
5
3
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js
6
- function d({ open: d, onSaveDraft: f, onDiscard: p, onCancel: m, isSaving: h, isSaveDraftDisabled: g, labels: _, testId: v, saveDraftTestId: y, discardTestId: b, closeTestId: x }) {
7
- let S = {
8
- ...s,
9
- ..._
10
- };
11
- return /* @__PURE__ */ c(e, {
12
- open: d,
13
- onOpenChange: (e) => {
14
- !e && !h && m();
15
- },
16
- children: /* @__PURE__ */ l(t, {
17
- "data-testid": v,
18
- children: [
19
- /* @__PURE__ */ l("button", {
20
- type: "button",
21
- onClick: m,
22
- disabled: h,
23
- "data-testid": x,
24
- className: "ttw:absolute ttw:right-4 ttw:top-4 ttw:cursor-pointer ttw:rounded-sm ttw:opacity-70 ttw:ring-offset-background ttw:transition-opacity ttw:hover:opacity-100 ttw:focus:outline-hidden ttw:focus:ring-2 ttw:focus:ring-ring ttw:focus:ring-offset-2 ttw:disabled:pointer-events-none",
25
- children: [/* @__PURE__ */ c(u, { className: "ttw:size-4" }), /* @__PURE__ */ c("span", {
26
- className: "ttw:sr-only",
27
- children: S.closeButton
28
- })]
29
- }),
30
- /* @__PURE__ */ l(i, { children: [/* @__PURE__ */ c(a, { children: S.title }), /* @__PURE__ */ c(n, { children: S.description })] }),
31
- /* @__PURE__ */ l(r, { children: [/* @__PURE__ */ c(o, {
32
- type: "button",
33
- variant: "outline",
34
- onClick: p,
35
- disabled: h,
36
- "data-testid": b,
37
- children: S.discardButton
38
- }), /* @__PURE__ */ c(o, {
39
- type: "button",
40
- variant: "default",
41
- loading: h,
42
- disabled: h || g,
43
- onClick: f,
44
- "data-testid": y,
45
- children: S.saveDraftButton
46
- })] })
47
- ]
48
- })
49
- });
50
- }
4
+ var t = {
5
+ uploadHeading: "Attach an invoice (optional)",
6
+ scannedAttachment: (e) => `Scanned attachment: ${e}`,
7
+ scanning: "Scanning attachment…",
8
+ scanningAttachment: (e) => `Scanning attachment: ${e}`,
9
+ download: "Download the scanned attachment",
10
+ delete: "Delete the scanned attachment",
11
+ dropzone: e
12
+ };
51
13
  //#endregion
52
- export { d as UnsavedBillDialog, d as default };
14
+ export { t as SOURCE_DOCUMENT_PANEL_LABELS_EN };
@@ -1,2 +1,108 @@
1
- import "./index101.js";
2
- import "./index102.js";
1
+ import { Button as e, Skeleton as t } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { BillUploadDropzone as n } from "./index3.js";
3
+ import "./index5.js";
4
+ import { SOURCE_DOCUMENT_PANEL_LABELS_EN as r } from "./index102.js";
5
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
+ import { Download as o, Trash2 as s } from "lucide-react";
7
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js
8
+ function c(c) {
9
+ let { mode: l, testId: u, labels: d } = c, f = {
10
+ ...r,
11
+ ...d,
12
+ dropzone: {
13
+ ...r.dropzone,
14
+ ...d?.dropzone
15
+ }
16
+ };
17
+ if (l === "loading") return /* @__PURE__ */ a("div", {
18
+ className: "ttw:flex ttw:flex-col ttw:gap-3",
19
+ "data-testid": u,
20
+ children: [/* @__PURE__ */ i("div", {
21
+ className: "ttw:flex ttw:items-center ttw:justify-end ttw:gap-1",
22
+ children: /* @__PURE__ */ i("span", {
23
+ "aria-live": "polite",
24
+ className: "ttw:text-sm ttw:text-muted-foreground",
25
+ children: c.fileName ? f.scanningAttachment(c.fileName) : f.scanning
26
+ })
27
+ }), /* @__PURE__ */ a("div", {
28
+ className: "ttw:flex ttw:h-[min(70vh,44rem)] ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4",
29
+ children: [
30
+ /* @__PURE__ */ i(t, { className: "ttw:h-6 ttw:w-2/5" }),
31
+ /* @__PURE__ */ i(t, { className: "ttw:h-4 ttw:w-3/5" }),
32
+ /* @__PURE__ */ i(t, { className: "ttw:mt-4 ttw:h-4 ttw:w-full" }),
33
+ /* @__PURE__ */ i(t, { className: "ttw:h-4 ttw:w-full" }),
34
+ /* @__PURE__ */ i(t, { className: "ttw:h-4 ttw:w-4/5" }),
35
+ /* @__PURE__ */ i(t, { className: "ttw:mt-auto ttw:h-24 ttw:w-full" })
36
+ ]
37
+ })]
38
+ });
39
+ if (l === "document") {
40
+ let { fileName: t, preview: n, onDownload: r, onDelete: l, isDeleting: d, deleteErrorMessage: p } = c;
41
+ return /* @__PURE__ */ a("div", {
42
+ className: "ttw:flex ttw:flex-col ttw:gap-3",
43
+ "data-testid": u,
44
+ children: [
45
+ /* @__PURE__ */ a("div", {
46
+ className: "ttw:flex ttw:items-center ttw:justify-end ttw:gap-1",
47
+ children: [
48
+ /* @__PURE__ */ i("span", {
49
+ className: "ttw:text-sm ttw:text-muted-foreground",
50
+ children: f.scannedAttachment(t ?? "")
51
+ }),
52
+ r ? /* @__PURE__ */ i(e, {
53
+ type: "button",
54
+ variant: "ghost",
55
+ size: "icon",
56
+ "aria-label": f.download,
57
+ onClick: r,
58
+ children: /* @__PURE__ */ i(o, { className: "ttw:size-4" })
59
+ }) : null,
60
+ l ? /* @__PURE__ */ i(e, {
61
+ type: "button",
62
+ variant: "ghost",
63
+ size: "icon",
64
+ "aria-label": f.delete,
65
+ disabled: d,
66
+ onClick: l,
67
+ children: /* @__PURE__ */ i(s, { className: "ttw:size-4" })
68
+ }) : null
69
+ ]
70
+ }),
71
+ p ? /* @__PURE__ */ i("p", {
72
+ role: "alert",
73
+ className: "ttw:text-sm ttw:text-destructive",
74
+ "data-testid": u ? `${u}-delete-error` : void 0,
75
+ children: p
76
+ }) : null,
77
+ /* @__PURE__ */ i("div", {
78
+ className: "ttw:flex ttw:h-[min(70vh,44rem)] ttw:items-start ttw:justify-center ttw:overflow-auto ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4",
79
+ children: n
80
+ })
81
+ ]
82
+ });
83
+ }
84
+ return /* @__PURE__ */ a("div", {
85
+ className: "ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4",
86
+ "data-testid": u,
87
+ children: [
88
+ /* @__PURE__ */ i("p", {
89
+ className: "ttw:mb-3 ttw:text-sm ttw:font-medium ttw:text-foreground",
90
+ children: f.uploadHeading
91
+ }),
92
+ c.noticeMessage ? /* @__PURE__ */ i("p", {
93
+ "aria-live": "polite",
94
+ className: "ttw:mb-3 ttw:text-sm ttw:text-muted-foreground",
95
+ "data-testid": u ? `${u}-notice` : void 0,
96
+ children: c.noticeMessage
97
+ }) : null,
98
+ /* @__PURE__ */ i(n, {
99
+ status: c.uploadStatus,
100
+ errorMessage: c.uploadErrorMessage,
101
+ onFilesSelected: c.onFilesSelected,
102
+ labels: f.dropzone
103
+ })
104
+ ]
105
+ });
106
+ }
107
+ //#endregion
108
+ export { c as SourceDocumentPanel, c as default };
@@ -0,0 +1,2 @@
1
+ import "./index102.js";
2
+ import "./index103.js";
@@ -0,0 +1,10 @@
1
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js
2
+ var e = {
3
+ title: "Save this bill as a draft?",
4
+ description: "This bill has changes that have not been saved. Save it as a draft to finish later, or discard the changes.",
5
+ saveDraftButton: "Save as draft",
6
+ discardButton: "Discard changes",
7
+ closeButton: "Close"
8
+ };
9
+ //#endregion
10
+ export { e as UNSAVED_BILL_DIALOG_LABELS_EN };
@@ -0,0 +1,52 @@
1
+ import { AlertDialog as e, AlertDialogContent as t, AlertDialogDescription as n, AlertDialogFooter as r, AlertDialogHeader as i, AlertDialogTitle as a, Button as o } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { UNSAVED_BILL_DIALOG_LABELS_EN as s } from "./index105.js";
3
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
4
+ import { XIcon as u } from "lucide-react";
5
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index106.js
6
+ function d({ open: d, onSaveDraft: f, onDiscard: p, onCancel: m, isSaving: h, isSaveDraftDisabled: g, labels: _, testId: v, saveDraftTestId: y, discardTestId: b, closeTestId: x }) {
7
+ let S = {
8
+ ...s,
9
+ ..._
10
+ };
11
+ return /* @__PURE__ */ c(e, {
12
+ open: d,
13
+ onOpenChange: (e) => {
14
+ !e && !h && m();
15
+ },
16
+ children: /* @__PURE__ */ l(t, {
17
+ "data-testid": v,
18
+ children: [
19
+ /* @__PURE__ */ l("button", {
20
+ type: "button",
21
+ onClick: m,
22
+ disabled: h,
23
+ "data-testid": x,
24
+ className: "ttw:absolute ttw:right-4 ttw:top-4 ttw:cursor-pointer ttw:rounded-sm ttw:opacity-70 ttw:ring-offset-background ttw:transition-opacity ttw:hover:opacity-100 ttw:focus:outline-hidden ttw:focus:ring-2 ttw:focus:ring-ring ttw:focus:ring-offset-2 ttw:disabled:pointer-events-none",
25
+ children: [/* @__PURE__ */ c(u, { className: "ttw:size-4" }), /* @__PURE__ */ c("span", {
26
+ className: "ttw:sr-only",
27
+ children: S.closeButton
28
+ })]
29
+ }),
30
+ /* @__PURE__ */ l(i, { children: [/* @__PURE__ */ c(a, { children: S.title }), /* @__PURE__ */ c(n, { children: S.description })] }),
31
+ /* @__PURE__ */ l(r, { children: [/* @__PURE__ */ c(o, {
32
+ type: "button",
33
+ variant: "outline",
34
+ onClick: p,
35
+ disabled: h,
36
+ "data-testid": b,
37
+ children: S.discardButton
38
+ }), /* @__PURE__ */ c(o, {
39
+ type: "button",
40
+ variant: "default",
41
+ loading: h,
42
+ disabled: h || g,
43
+ onClick: f,
44
+ "data-testid": y,
45
+ children: S.saveDraftButton
46
+ })] })
47
+ ]
48
+ })
49
+ });
50
+ }
51
+ //#endregion
52
+ export { d as UnsavedBillDialog, d as default };
@@ -0,0 +1,2 @@
1
+ import "./index105.js";
2
+ import "./index106.js";
@@ -1,14 +1,23 @@
1
+ import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
+ import { AlertTriangleIcon as n } from "lucide-react";
1
3
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js
2
- var e = {
3
- draft: "Draft",
4
- ready_to_submit: "Ready to submit",
5
- pending_approval: "Pending review",
6
- ready_to_pay: "Ready to pay",
7
- scheduled: "Scheduled",
8
- paid: "Paid",
9
- canceled: "Cancelled",
10
- rejected: "Rejected",
11
- unknown: "Unknown"
12
- };
4
+ function r({ actorLabel: r, message: i }) {
5
+ return /* @__PURE__ */ t("div", {
6
+ className: "ttw:flex ttw:gap-2 ttw:rounded-md ttw:border ttw:border-destructive/20 ttw:bg-destructive/5 ttw:p-3",
7
+ children: [/* @__PURE__ */ e(n, {
8
+ "aria-hidden": !0,
9
+ className: "ttw:mt-0.5 ttw:size-4 ttw:shrink-0 ttw:text-destructive"
10
+ }), /* @__PURE__ */ t("div", {
11
+ className: "ttw:flex ttw:flex-col ttw:gap-1",
12
+ children: [/* @__PURE__ */ e("p", {
13
+ className: "ttw:text-sm ttw:font-medium ttw:text-destructive",
14
+ children: r
15
+ }), i ? /* @__PURE__ */ e("p", {
16
+ className: "ttw:text-sm ttw:text-foreground",
17
+ children: i
18
+ }) : null]
19
+ })]
20
+ });
21
+ }
13
22
  //#endregion
14
- export { e as BILL_STATUS_BADGE_LABELS_EN };
23
+ export { r as BillRejectionNotice, r as default };
@@ -1,13 +1,14 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.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/20 ttw:bg-destructive/20 ttw:text-destructive ttw:hover:bg-destructive/20",
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
+ draft: "Draft",
4
+ ready_to_submit: "Ready to submit",
5
+ pending_approval: "Pending review",
6
+ ready_to_pay: "Ready to pay",
7
+ scheduled: "Scheduled",
8
+ paid: "Paid",
9
+ canceled: "Cancelled",
10
+ rejected: "Rejected",
11
+ unknown: "Unknown"
11
12
  };
12
13
  //#endregion
13
- export { e as BADGE_TONE_CLASS_NAME };
14
+ export { e as BILL_STATUS_BADGE_LABELS_EN };
@@ -1,18 +1,13 @@
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 "./index16.js";
3
- import { BADGE_TONE_CLASS_NAME as r } from "./index17.js";
4
- import { jsxs as i } from "react/jsx-runtime";
5
1
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js
6
- function a({ status: a, tone: o, labels: s, icon: c }) {
7
- let l = {
8
- ...n,
9
- ...s
10
- }, u = l[a] ?? l.unknown;
11
- return /* @__PURE__ */ i(e, {
12
- variant: "outline",
13
- className: t(c && "ttw:gap-1", r[o]),
14
- children: [c, u]
15
- });
16
- }
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/20 ttw:bg-destructive/20 ttw:text-destructive ttw:hover:bg-destructive/20",
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"
11
+ };
17
12
  //#endregion
18
- export { a as BillStatusBadge, a as default };
13
+ export { e as BADGE_TONE_CLASS_NAME };
@@ -1,2 +1,18 @@
1
- import "./index16.js";
2
- import "./index18.js";
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 "./index17.js";
3
+ import { BADGE_TONE_CLASS_NAME as r } from "./index18.js";
4
+ import { jsxs as i } from "react/jsx-runtime";
5
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js
6
+ function a({ status: a, tone: o, labels: s, icon: c }) {
7
+ let l = {
8
+ ...n,
9
+ ...s
10
+ }, u = l[a] ?? l.unknown;
11
+ return /* @__PURE__ */ i(e, {
12
+ variant: "outline",
13
+ className: t(c && "ttw:gap-1", r[o]),
14
+ children: [c, u]
15
+ });
16
+ }
17
+ //#endregion
18
+ export { a as BillStatusBadge, a as default };
@@ -1,4 +1,2 @@
1
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js
2
- var e = { overdue: "Overdue" };
3
- //#endregion
4
- export { e as DUE_DATE_VALUE_LABELS_EN };
1
+ import "./index17.js";
2
+ import "./index19.js";
@@ -1,30 +1,4 @@
1
- import { cn as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { DUE_DATE_VALUE_LABELS_EN as t } from "./index20.js";
3
- import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
- import { AlertTriangleIcon as i } from "lucide-react";
5
1
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js
6
- function a({ value: a, tone: o = "default", labels: s, className: c }) {
7
- let l = {
8
- ...t,
9
- ...s
10
- };
11
- return o === "danger" ? /* @__PURE__ */ r("span", {
12
- className: e("ttw:inline-flex ttw:items-center ttw:gap-1 ttw:font-medium ttw:text-destructive", c),
13
- children: [
14
- /* @__PURE__ */ n(i, {
15
- "aria-hidden": !0,
16
- className: "ttw:size-3.5 ttw:shrink-0"
17
- }),
18
- a,
19
- /* @__PURE__ */ n("span", {
20
- className: "ttw:sr-only",
21
- children: l.overdue
22
- })
23
- ]
24
- }) : /* @__PURE__ */ n("span", {
25
- className: c,
26
- children: a
27
- });
28
- }
2
+ var e = { overdue: "Overdue" };
29
3
  //#endregion
30
- export { a as DueDateValue, a as default };
4
+ export { e as DUE_DATE_VALUE_LABELS_EN };
@@ -1,2 +1,30 @@
1
- import "./index20.js";
2
- import "./index21.js";
1
+ import { cn as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { DUE_DATE_VALUE_LABELS_EN as t } from "./index21.js";
3
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
+ import { AlertTriangleIcon as i } from "lucide-react";
5
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js
6
+ function a({ value: a, tone: o = "default", labels: s, className: c }) {
7
+ let l = {
8
+ ...t,
9
+ ...s
10
+ };
11
+ return o === "danger" ? /* @__PURE__ */ r("span", {
12
+ className: e("ttw:inline-flex ttw:items-center ttw:gap-1 ttw:font-medium ttw:text-destructive", c),
13
+ children: [
14
+ /* @__PURE__ */ n(i, {
15
+ "aria-hidden": !0,
16
+ className: "ttw:size-3.5 ttw:shrink-0"
17
+ }),
18
+ a,
19
+ /* @__PURE__ */ n("span", {
20
+ className: "ttw:sr-only",
21
+ children: l.overdue
22
+ })
23
+ ]
24
+ }) : /* @__PURE__ */ n("span", {
25
+ className: c,
26
+ children: a
27
+ });
28
+ }
29
+ //#endregion
30
+ export { a as DueDateValue, a as default };
@@ -1,32 +1,2 @@
1
- import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js
3
- function n({ records: n }) {
4
- return /* @__PURE__ */ e("div", {
5
- className: "ttw:flex ttw:flex-col",
6
- children: n.map((n) => /* @__PURE__ */ t("div", {
7
- className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-6 ttw:border-b ttw:border-border ttw:py-3 ttw:last:border-b-0",
8
- children: [
9
- /* @__PURE__ */ e("span", {
10
- className: "ttw:flex-1 ttw:text-sm",
11
- children: n.dateLabel
12
- }),
13
- /* @__PURE__ */ e("span", {
14
- className: "ttw:flex-1 ttw:text-sm",
15
- children: n.statusLabel
16
- }),
17
- /* @__PURE__ */ t("span", {
18
- className: "ttw:flex ttw:flex-1 ttw:flex-col ttw:items-end ttw:text-right",
19
- children: [/* @__PURE__ */ e("span", {
20
- className: "ttw:text-sm ttw:font-medium",
21
- children: n.amountLabel
22
- }), n.overpaidLabel ? /* @__PURE__ */ e("span", {
23
- className: "ttw:text-sm ttw:text-muted-foreground",
24
- children: n.overpaidLabel
25
- }) : null]
26
- })
27
- ]
28
- }, n.id))
29
- });
30
- }
31
- //#endregion
32
- export { n as PaymentHistoryList, n as default };
1
+ import "./index21.js";
2
+ import "./index22.js";
@@ -1 +1,32 @@
1
- import "./index23.js";
1
+ import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js
3
+ function n({ records: n }) {
4
+ return /* @__PURE__ */ e("div", {
5
+ className: "ttw:flex ttw:flex-col",
6
+ children: n.map((n) => /* @__PURE__ */ t("div", {
7
+ className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-6 ttw:border-b ttw:border-border ttw:py-3 ttw:last:border-b-0",
8
+ children: [
9
+ /* @__PURE__ */ e("span", {
10
+ className: "ttw:flex-1 ttw:text-sm",
11
+ children: n.dateLabel
12
+ }),
13
+ /* @__PURE__ */ e("span", {
14
+ className: "ttw:flex-1 ttw:text-sm",
15
+ children: n.statusLabel
16
+ }),
17
+ /* @__PURE__ */ t("span", {
18
+ className: "ttw:flex ttw:flex-1 ttw:flex-col ttw:items-end ttw:text-right",
19
+ children: [/* @__PURE__ */ e("span", {
20
+ className: "ttw:text-sm ttw:font-medium",
21
+ children: n.amountLabel
22
+ }), n.overpaidLabel ? /* @__PURE__ */ e("span", {
23
+ className: "ttw:text-sm ttw:text-muted-foreground",
24
+ children: n.overpaidLabel
25
+ }) : null]
26
+ })
27
+ ]
28
+ }, n.id))
29
+ });
30
+ }
31
+ //#endregion
32
+ export { n as PaymentHistoryList, n as default };
@@ -1,29 +1 @@
1
- import { Button as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { AchFieldGroup as t } from "../../../shared/counterpart-management/ui/dist/index5.js";
3
- import "../../../shared/counterpart-management/ui/dist/index.js";
4
- import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
5
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js
6
- function a({ paymentInstructions: a, labels: o, onCancel: s }) {
7
- return /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r(t, {
8
- idPrefix: "vendor-summary-ach",
9
- values: a.values,
10
- errors: a.errors,
11
- onChange: a.onChange,
12
- labels: o.ach
13
- }), a.onSave ? /* @__PURE__ */ i("div", {
14
- className: "ttw:flex ttw:justify-end ttw:gap-2",
15
- children: [/* @__PURE__ */ r(e, {
16
- type: "button",
17
- variant: "ghost",
18
- onClick: s,
19
- children: o.cancelAction
20
- }), /* @__PURE__ */ r(e, {
21
- type: "button",
22
- loading: a.isSaving,
23
- onClick: a.onSave,
24
- children: o.saveAction
25
- })]
26
- }) : null] });
27
- }
28
- //#endregion
29
- export { a as AchEditGroup };
1
+ import "./index24.js";
@@ -1,22 +1,29 @@
1
- import { ACH_FIELD_GROUP_LABELS_EN as e } from "../../../shared/counterpart-management/ui/dist/index2.js";
1
+ import { Button as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { AchFieldGroup as t } from "../../../shared/counterpart-management/ui/dist/index5.js";
2
3
  import "../../../shared/counterpart-management/ui/dist/index.js";
4
+ import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
3
5
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js
4
- var t = {
5
- payToHeading: "Pay to",
6
- editAction: "Edit",
7
- clearAction: "Clear",
8
- paymentInstructionsHeading: "Payment instructions",
9
- paymentInstructionsDescription: "How and where will the money be sent. This information is required to send a payment.",
10
- addPaymentInstructions: "Add payment instructions",
11
- saveAction: "Save",
12
- cancelAction: "Cancel",
13
- discardConfirmTitle: "Discard payment instructions?",
14
- discardConfirmDescription: "Your changes will be lost if you stop editing now.",
15
- keepEditingAction: "Keep editing",
16
- discardChangesAction: "Discard changes",
17
- ach: e,
18
- revealField: (e) => `Show ${e.toLowerCase()}`,
19
- hideField: (e) => `Hide ${e.toLowerCase()}`
20
- };
6
+ function a({ paymentInstructions: a, labels: o, onCancel: s }) {
7
+ return /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r(t, {
8
+ idPrefix: "vendor-summary-ach",
9
+ values: a.values,
10
+ errors: a.errors,
11
+ onChange: a.onChange,
12
+ labels: o.ach
13
+ }), a.onSave ? /* @__PURE__ */ i("div", {
14
+ className: "ttw:flex ttw:justify-end ttw:gap-2",
15
+ children: [/* @__PURE__ */ r(e, {
16
+ type: "button",
17
+ variant: "ghost",
18
+ onClick: s,
19
+ children: o.cancelAction
20
+ }), /* @__PURE__ */ r(e, {
21
+ type: "button",
22
+ loading: a.isSaving,
23
+ onClick: a.onSave,
24
+ children: o.saveAction
25
+ })]
26
+ }) : null] });
27
+ }
21
28
  //#endregion
22
- export { t as VENDOR_SUMMARY_CARD_LABELS_EN };
29
+ export { a as AchEditGroup };