@tesouro/embedded-components-react 0.4.13 → 0.4.15

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 (176) 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 -347
  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 +42 -40
  88. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +10 -2
  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/index23.js +29 -47
  92. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +1 -297
  93. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +52 -2
  94. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +307 -7
  95. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +2 -49
  96. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +9 -2
  97. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index29.js +45 -14
  98. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +2 -50
  99. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +18 -2
  100. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +48 -21
  101. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +2 -340
  102. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +23 -2
  103. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +338 -14
  104. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +2 -120
  105. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +16 -2
  106. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +118 -10
  107. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +2 -99
  108. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +12 -2
  109. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +97 -11
  110. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +1 -58
  111. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +12 -1
  112. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +53 -49
  113. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +2 -13
  114. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +52 -179
  115. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +13 -2
  116. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +180 -2
  117. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +2 -41
  118. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +4 -2
  119. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +39 -5
  120. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +2 -92
  121. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +7 -2
  122. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +90 -2
  123. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +2 -16
  124. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +4 -2
  125. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +14 -84
  126. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +2 -287
  127. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +86 -11
  128. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +296 -1
  129. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +11 -6
  130. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +1 -39
  131. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +8 -2
  132. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +37 -37
  133. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +2 -12
  134. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +37 -199
  135. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +12 -3
  136. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +199 -15
  137. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +2 -346
  138. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +13 -6
  139. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +345 -6
  140. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +8 -91
  141. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +8 -0
  142. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +93 -2
  143. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +2 -28
  144. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +120 -82
  145. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +28 -2
  146. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +87 -5
  147. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +2 -30
  148. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +7 -2
  149. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +28 -5
  150. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +2 -34
  151. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +7 -2
  152. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +32 -10
  153. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +1 -105
  154. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +12 -2
  155. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +104 -15
  156. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +2 -125
  157. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +17 -2
  158. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +123 -16
  159. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +2 -10
  160. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +15 -167
  161. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +10 -2
  162. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +167 -11
  163. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +2 -108
  164. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +14 -2
  165. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +106 -8
  166. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +2 -52
  167. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index3.js +15 -3
  168. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index9.js +63 -65
  169. package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsList.js +4 -2
  170. package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsListDetailsSheet.js +6 -5
  171. package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsListRow.js +1 -1
  172. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index618.js +1 -1
  173. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  174. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
  175. package/package.json +7 -7
  176. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +0 -127
@@ -1,9 +1,309 @@
1
+ import { Badge as e, Button as t, Skeleton as n, cn as r } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { ErrorState as i } from "../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
3
+ import "../../../shared/ui/dist/index.js";
4
+ import { ApprovalPolicyCard as a } from "./index13.js";
5
+ import "./index14.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
+ import "./index24.js";
12
+ import { mergeBillDetailBodyLabels as l } from "./index25.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
+ import "../../../shared/counterpart-management/ui/dist/index.js";
16
+ import { jsx as p, jsxs as m } from "react/jsx-runtime";
17
+ import { AlertTriangle as h, ChevronRight as g } from "lucide-react";
1
18
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js
2
- var e = {
3
- invoiceNumber: "Invoice number",
4
- invoiceDate: "Invoice date",
5
- dueDate: "Due date",
6
- poNumber: "PO number (optional)"
7
- };
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
+ });
26
+ if (E || !b) return /* @__PURE__ */ m("div", {
27
+ "aria-hidden": !0,
28
+ className: "ttw:flex ttw:flex-col ttw:gap-6",
29
+ children: [
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
+ ]
34
+ });
35
+ let A = !b.payTo.paymentInstructionsLabel && C;
36
+ return /* @__PURE__ */ m("div", {
37
+ className: "ttw:flex ttw:flex-col ttw:gap-6",
38
+ children: [
39
+ A ? /* @__PURE__ */ m("div", {
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
+ children: [
42
+ /* @__PURE__ */ p(h, { className: "ttw:size-4 ttw:shrink-0 ttw:text-amber-800" }),
43
+ /* @__PURE__ */ p("p", {
44
+ className: "ttw:flex-1 ttw:text-sm ttw:text-foreground",
45
+ children: k.missingPaymentInstructionsBanner
46
+ }),
47
+ /* @__PURE__ */ p(t, {
48
+ type: "button",
49
+ variant: "outline",
50
+ size: "sm",
51
+ onClick: C.onOpen,
52
+ children: k.addPaymentInstructions
53
+ })
54
+ ]
55
+ }) : null,
56
+ /* @__PURE__ */ m("section", {
57
+ className: "ttw:flex ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:bg-muted/50 ttw:p-4",
58
+ children: [
59
+ b.paidOnLabel ? /* @__PURE__ */ m("div", {
60
+ className: "ttw:grid ttw:grid-cols-2 ttw:gap-x-6",
61
+ children: [/* @__PURE__ */ m("div", {
62
+ className: "ttw:flex ttw:flex-col ttw:gap-1",
63
+ children: [/* @__PURE__ */ p("span", {
64
+ className: "ttw:text-sm ttw:text-muted-foreground",
65
+ children: k.amountDueHeading
66
+ }), /* @__PURE__ */ p("span", {
67
+ className: "ttw:text-3xl ttw:font-semibold",
68
+ children: b.amountDue
69
+ })]
70
+ }), /* @__PURE__ */ m("div", {
71
+ className: "ttw:flex ttw:flex-col ttw:gap-1",
72
+ children: [/* @__PURE__ */ p("span", {
73
+ className: "ttw:text-sm ttw:text-muted-foreground",
74
+ children: k.amountPaidHeading
75
+ }), /* @__PURE__ */ p("span", {
76
+ className: "ttw:text-3xl ttw:font-semibold ttw:text-emerald-600",
77
+ children: b.amountPaid
78
+ })]
79
+ })]
80
+ }) : /* @__PURE__ */ m("div", {
81
+ className: "ttw:flex ttw:flex-col ttw:gap-1",
82
+ children: [/* @__PURE__ */ p("span", {
83
+ className: "ttw:text-sm ttw:text-muted-foreground",
84
+ children: k.amountDueHeading
85
+ }), /* @__PURE__ */ p("span", {
86
+ className: "ttw:text-3xl ttw:font-semibold",
87
+ children: b.amountDue
88
+ })]
89
+ }),
90
+ /* @__PURE__ */ p("div", { children: b.paidOnLabel ? /* @__PURE__ */ p(e, {
91
+ variant: "outline",
92
+ className: "ttw:border-emerald-200 ttw:bg-emerald-50 ttw:text-emerald-700",
93
+ children: b.paidOnLabel
94
+ }) : /* @__PURE__ */ p(o, {
95
+ status: b.status,
96
+ tone: b.statusTone,
97
+ labels: k.statusBadge
98
+ }) }),
99
+ /* @__PURE__ */ m("div", {
100
+ className: "ttw:grid ttw:grid-cols-2 ttw:gap-x-6",
101
+ children: [/* @__PURE__ */ m("div", {
102
+ className: "ttw:flex ttw:flex-col",
103
+ children: [/* @__PURE__ */ p("span", {
104
+ className: "ttw:text-xs ttw:text-muted-foreground",
105
+ children: k.invoiceDateLabel
106
+ }), /* @__PURE__ */ p("span", {
107
+ className: "ttw:text-sm ttw:font-medium",
108
+ children: b.invoiceDateLabel
109
+ })]
110
+ }), /* @__PURE__ */ m("div", {
111
+ className: "ttw:flex ttw:flex-col",
112
+ children: [/* @__PURE__ */ p("span", {
113
+ className: "ttw:text-xs ttw:text-muted-foreground",
114
+ children: k.dueDateLabel
115
+ }), /* @__PURE__ */ p(s, {
116
+ className: "ttw:text-sm ttw:font-medium",
117
+ value: b.dueDateLabel,
118
+ tone: b.dueDateTone,
119
+ labels: k.dueDate
120
+ })]
121
+ })]
122
+ }),
123
+ S ? /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(e, {
124
+ variant: "outline",
125
+ className: "ttw:border-emerald-200 ttw:bg-emerald-50 ttw:text-emerald-700",
126
+ children: S
127
+ }) }) : x.row.length ? /* @__PURE__ */ p("div", {
128
+ className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:gap-2",
129
+ children: /* @__PURE__ */ p(u, { actions: x.row })
130
+ }) : null
131
+ ]
132
+ }),
133
+ /* @__PURE__ */ m("section", {
134
+ className: "ttw:flex ttw:flex-col ttw:gap-1",
135
+ children: [
136
+ /* @__PURE__ */ p("h3", {
137
+ className: _,
138
+ children: b.paidOnLabel ? k.payToHeadingPaid : k.payToHeading
139
+ }),
140
+ /* @__PURE__ */ m("div", {
141
+ className: y,
142
+ children: [/* @__PURE__ */ p("span", {
143
+ className: "ttw:text-sm ttw:text-muted-foreground",
144
+ children: k.vendorRow
145
+ }), /* @__PURE__ */ m("div", {
146
+ className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-right",
147
+ children: [/* @__PURE__ */ m("div", {
148
+ className: "ttw:flex ttw:flex-col",
149
+ children: [/* @__PURE__ */ p("span", {
150
+ className: "ttw:text-sm ttw:font-medium ttw:text-primary",
151
+ children: b.payTo.name
152
+ }), b.payTo.email ? /* @__PURE__ */ p("span", {
153
+ className: "ttw:text-xs ttw:text-muted-foreground",
154
+ children: b.payTo.email
155
+ }) : null]
156
+ }), /* @__PURE__ */ p(g, {
157
+ "aria-hidden": !0,
158
+ className: "ttw:size-4 ttw:shrink-0 ttw:text-muted-foreground"
159
+ })]
160
+ })]
161
+ }),
162
+ /* @__PURE__ */ m("div", {
163
+ className: y,
164
+ children: [/* @__PURE__ */ p("span", {
165
+ className: "ttw:text-sm ttw:text-muted-foreground",
166
+ children: k.paymentInstructionsRow
167
+ }), /* @__PURE__ */ m("div", {
168
+ className: "ttw:flex ttw:items-center ttw:gap-2",
169
+ children: [b.payTo.paymentInstructionsLabel ? /* @__PURE__ */ p("span", {
170
+ className: "ttw:text-sm ttw:font-medium",
171
+ children: b.payTo.paymentInstructionsLabel
172
+ }) : C ? /* @__PURE__ */ p("button", {
173
+ type: "button",
174
+ onClick: C.onOpen,
175
+ className: "ttw:text-sm ttw:font-medium ttw:text-destructive",
176
+ children: k.addPaymentInstructions
177
+ }) : /* @__PURE__ */ p("span", {
178
+ className: "ttw:text-sm ttw:font-medium ttw:text-destructive",
179
+ children: k.addPaymentInstructions
180
+ }), /* @__PURE__ */ p(g, {
181
+ "aria-hidden": !0,
182
+ className: "ttw:size-4 ttw:shrink-0 ttw:text-muted-foreground"
183
+ })]
184
+ })]
185
+ }),
186
+ C?.isOpen ? /* @__PURE__ */ m("div", {
187
+ className: "ttw:mt-2 ttw:rounded-lg ttw:border ttw:border-border ttw:p-4",
188
+ children: [/* @__PURE__ */ p(f, {
189
+ idPrefix: "bill-detail-payment-instructions",
190
+ values: C.values,
191
+ errors: C.errors,
192
+ onChange: C.onChange
193
+ }), /* @__PURE__ */ m("div", {
194
+ className: "ttw:mt-4 ttw:flex ttw:justify-end ttw:gap-2",
195
+ children: [/* @__PURE__ */ p(t, {
196
+ type: "button",
197
+ variant: "ghost",
198
+ onClick: C.onCancel,
199
+ children: k.paymentInstructionsCancel
200
+ }), /* @__PURE__ */ p(t, {
201
+ type: "button",
202
+ loading: C.isSaving,
203
+ onClick: C.onSave,
204
+ children: k.paymentInstructionsSave
205
+ })]
206
+ })]
207
+ }) : null
208
+ ]
209
+ }),
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", {
221
+ className: "ttw:flex ttw:flex-col",
222
+ children: b.invoiceFields.map((e) => /* @__PURE__ */ m("div", {
223
+ className: y,
224
+ children: [/* @__PURE__ */ p("dt", {
225
+ className: "ttw:text-sm ttw:text-muted-foreground",
226
+ children: e.label
227
+ }), /* @__PURE__ */ p("dd", {
228
+ className: "ttw:text-right ttw:text-sm ttw:font-medium",
229
+ children: e.value
230
+ })]
231
+ }, e.label))
232
+ }),
233
+ /* @__PURE__ */ p("section", { children: /* @__PURE__ */ m("table", {
234
+ className: "ttw:w-full ttw:text-sm",
235
+ children: [/* @__PURE__ */ p("thead", { children: /* @__PURE__ */ m("tr", {
236
+ className: "ttw:bg-muted/50 ttw:text-xs ttw:text-muted-foreground",
237
+ children: [
238
+ /* @__PURE__ */ p("th", {
239
+ className: r(v, "ttw:text-left ttw:font-normal"),
240
+ children: k.descriptionAndGlCodeColumn
241
+ }),
242
+ /* @__PURE__ */ p("th", {
243
+ className: r(v, "ttw:text-right ttw:font-normal"),
244
+ children: k.qtyPriceColumn
245
+ }),
246
+ /* @__PURE__ */ p("th", {
247
+ className: r(v, "ttw:text-right ttw:font-normal"),
248
+ children: k.amountColumn
249
+ })
250
+ ]
251
+ }) }), /* @__PURE__ */ m("tbody", { children: [b.lineItems.map((e) => /* @__PURE__ */ m("tr", {
252
+ className: "ttw:border-b ttw:border-border",
253
+ children: [
254
+ /* @__PURE__ */ p("td", {
255
+ className: v,
256
+ children: /* @__PURE__ */ m("div", {
257
+ className: "ttw:flex ttw:flex-col",
258
+ children: [/* @__PURE__ */ p("span", { children: e.description }), /* @__PURE__ */ p("span", {
259
+ className: "ttw:text-xs ttw:text-muted-foreground",
260
+ children: e.glCodeLabel
261
+ })]
262
+ })
263
+ }),
264
+ /* @__PURE__ */ p("td", {
265
+ className: r(v, "ttw:text-right ttw:whitespace-nowrap ttw:text-muted-foreground"),
266
+ children: e.qtyPriceLabel
267
+ }),
268
+ /* @__PURE__ */ p("td", {
269
+ className: r(v, "ttw:text-right ttw:whitespace-nowrap"),
270
+ children: e.amount
271
+ })
272
+ ]
273
+ }, e.id)), b.amountRows.map((e) => /* @__PURE__ */ m("tr", {
274
+ className: r(e.emphasis ? "ttw:font-semibold" : "ttw:text-muted-foreground"),
275
+ children: [/* @__PURE__ */ p("td", {
276
+ colSpan: 2,
277
+ className: v,
278
+ children: e.label
279
+ }), /* @__PURE__ */ p("td", {
280
+ className: r(v, "ttw:text-right ttw:whitespace-nowrap", e.emphasis && "ttw:text-foreground"),
281
+ children: e.value
282
+ })]
283
+ }, e.label))] })]
284
+ }) }),
285
+ b.approvalPolicy ? /* @__PURE__ */ p(a, {
286
+ view: b.approvalPolicy,
287
+ labels: k.approvalPolicy
288
+ }) : null,
289
+ b.history.length ? /* @__PURE__ */ m("section", {
290
+ className: "ttw:flex ttw:flex-col ttw:gap-3",
291
+ children: [/* @__PURE__ */ p("h3", {
292
+ className: _,
293
+ children: k.historyHeading
294
+ }), /* @__PURE__ */ p("ul", {
295
+ className: "ttw:flex ttw:flex-col",
296
+ children: b.history.map((e) => /* @__PURE__ */ m("li", {
297
+ className: "ttw:flex ttw:gap-6 ttw:border-b ttw:border-border ttw:py-3 ttw:text-sm ttw:last:border-b-0",
298
+ children: [/* @__PURE__ */ p("span", {
299
+ className: "ttw:w-28 ttw:shrink-0 ttw:text-muted-foreground",
300
+ children: e.dateLabel
301
+ }), /* @__PURE__ */ p("span", { children: e.description })]
302
+ }, e.id))
303
+ })]
304
+ }) : null
305
+ ]
306
+ });
307
+ }
8
308
  //#endregion
9
- export { e as BILL_FORM_FIELDS_LABELS_EN };
309
+ export { b as BillDetailBody, b as default };
@@ -1,49 +1,2 @@
1
- import { Input as e, Label as t } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { BILL_FORM_FIELDS_LABELS_EN as n } from "./index26.js";
3
- import { useId as r } from "react";
4
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
5
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js
6
- function o({ values: o, errors: s, onChange: c, disabled: l, testId: u, labels: d }) {
7
- let f = {
8
- ...n,
9
- ...d
10
- }, p = r(), m = (n, r, u) => {
11
- let d = `${p}-${n}`, f = `${d}-error`, m = s?.[n];
12
- return /* @__PURE__ */ a("div", {
13
- className: "ttw:flex ttw:flex-col ttw:gap-1.5",
14
- children: [
15
- /* @__PURE__ */ i(t, {
16
- htmlFor: d,
17
- children: r
18
- }),
19
- /* @__PURE__ */ i(e, {
20
- id: d,
21
- type: u,
22
- value: o[n],
23
- disabled: l,
24
- "aria-invalid": m ? !0 : void 0,
25
- "aria-describedby": m ? f : void 0,
26
- onChange: (e) => c({ [n]: e.target.value })
27
- }),
28
- m ? /* @__PURE__ */ i("p", {
29
- id: f,
30
- className: "ttw:text-sm ttw:text-destructive",
31
- children: m
32
- }) : null
33
- ]
34
- });
35
- };
36
- return /* @__PURE__ */ a("div", {
37
- className: "ttw:flex ttw:flex-col ttw:gap-4",
38
- "data-testid": u,
39
- children: [/* @__PURE__ */ a("div", {
40
- className: "ttw:grid ttw:grid-cols-2 ttw:gap-4",
41
- children: [m("invoiceDate", f.invoiceDate, "date"), m("dueDate", f.dueDate, "date")]
42
- }), /* @__PURE__ */ a("div", {
43
- className: "ttw:grid ttw:grid-cols-2 ttw:gap-4",
44
- children: [m("invoiceNumber", f.invoiceNumber), m("poNumber", f.poNumber)]
45
- })]
46
- });
47
- }
48
- //#endregion
49
- export { o as BillFormFields, o as default };
1
+ import "./index25.js";
2
+ import "./index26.js";
@@ -1,2 +1,9 @@
1
- import "./index26.js";
2
- import "./index27.js";
1
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js
2
+ var e = {
3
+ invoiceNumber: "Invoice number",
4
+ invoiceDate: "Invoice date",
5
+ dueDate: "Due date",
6
+ poNumber: "PO number (optional)"
7
+ };
8
+ //#endregion
9
+ export { e as BILL_FORM_FIELDS_LABELS_EN };
@@ -1,18 +1,49 @@
1
+ import { Input as e, Label as t } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { BILL_FORM_FIELDS_LABELS_EN as n } from "./index28.js";
3
+ import { useId as r } from "react";
4
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
1
5
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index29.js
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]
6
+ function o({ values: o, errors: s, onChange: c, disabled: l, testId: u, labels: d }) {
7
+ let f = {
8
+ ...n,
9
+ ...d
10
+ }, p = r(), m = (n, r, u) => {
11
+ let d = `${p}-${n}`, f = `${d}-error`, m = s?.[n];
12
+ return /* @__PURE__ */ a("div", {
13
+ className: "ttw:flex ttw:flex-col ttw:gap-1.5",
14
+ children: [
15
+ /* @__PURE__ */ i(t, {
16
+ htmlFor: d,
17
+ children: r
18
+ }),
19
+ /* @__PURE__ */ i(e, {
20
+ id: d,
21
+ type: u,
22
+ value: o[n],
23
+ disabled: l,
24
+ "aria-invalid": m ? !0 : void 0,
25
+ "aria-describedby": m ? f : void 0,
26
+ onChange: (e) => c({ [n]: e.target.value })
27
+ }),
28
+ m ? /* @__PURE__ */ i("p", {
29
+ id: f,
30
+ className: "ttw:text-sm ttw:text-destructive",
31
+ children: m
32
+ }) : null
33
+ ]
13
34
  });
14
- }
15
- return t;
35
+ };
36
+ return /* @__PURE__ */ a("div", {
37
+ className: "ttw:flex ttw:flex-col ttw:gap-4",
38
+ "data-testid": u,
39
+ children: [/* @__PURE__ */ a("div", {
40
+ className: "ttw:grid ttw:grid-cols-2 ttw:gap-4",
41
+ children: [m("invoiceDate", f.invoiceDate, "date"), m("dueDate", f.dueDate, "date")]
42
+ }), /* @__PURE__ */ a("div", {
43
+ className: "ttw:grid ttw:grid-cols-2 ttw:gap-4",
44
+ children: [m("invoiceNumber", f.invoiceNumber), m("poNumber", f.poNumber)]
45
+ })]
46
+ });
16
47
  }
17
48
  //#endregion
18
- export { e as groupBySectionHeading };
49
+ export { o as BillFormFields, o as default };
@@ -1,50 +1,2 @@
1
- import { Button as e, DropdownMenu as t, DropdownMenuContent as n, DropdownMenuGroup as r, DropdownMenuItem as i, DropdownMenuLabel as a, DropdownMenuSeparator as o, DropdownMenuTrigger as s } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { groupBySectionHeading as c } from "./index29.js";
3
- import { Fragment as l, useId as u } from "react";
4
- import { jsx as d, jsxs as f } from "react/jsx-runtime";
5
- import { MoreHorizontalIcon as p, MoreVerticalIcon as m } from "lucide-react";
6
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js
7
- function h({ actions: h, triggerLabel: g, placement: _ = "row", testId: v }) {
8
- let y = u();
9
- if (!h.length) return null;
10
- let b = _ === "header", x = b ? p : m, S = c(h);
11
- return /* @__PURE__ */ f(t, { children: [/* @__PURE__ */ d(s, {
12
- asChild: !0,
13
- children: /* @__PURE__ */ d(e, {
14
- type: "button",
15
- variant: b ? "ghost" : "outline",
16
- size: "icon",
17
- "aria-label": g,
18
- "data-testid": v,
19
- children: /* @__PURE__ */ d(x, { className: "ttw:size-4" })
20
- })
21
- }), /* @__PURE__ */ d(n, {
22
- align: "end",
23
- children: S.map((e, t) => {
24
- let n = e.items.map((e) => {
25
- let t = e.icon;
26
- return /* @__PURE__ */ f(i, {
27
- disabled: e.disabled,
28
- onClick: e.onSelect,
29
- children: [t ? /* @__PURE__ */ d(t, { className: "ttw:size-4" }) : null, e.label]
30
- }, e.id);
31
- });
32
- if (!e.heading) return /* @__PURE__ */ d(l, { children: n }, e.items[0]?.id);
33
- let s = `${y}-${t}`;
34
- return /* @__PURE__ */ f(l, { children: [
35
- t > 0 ? /* @__PURE__ */ d(o, {}) : null,
36
- /* @__PURE__ */ d(a, {
37
- id: s,
38
- className: "ttw:py-1 ttw:text-xs ttw:font-medium ttw:text-muted-foreground",
39
- children: e.heading
40
- }),
41
- /* @__PURE__ */ d(r, {
42
- "aria-labelledby": s,
43
- children: n
44
- })
45
- ] }, e.items[0]?.id);
46
- })
47
- })] });
48
- }
49
- //#endregion
50
- export { h as BillOverflowMenu, h as default };
1
+ import "./index28.js";
2
+ import "./index29.js";
@@ -1,2 +1,18 @@
1
- import "./index29.js";
2
- import "./index30.js";
1
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js
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
+ }
17
+ //#endregion
18
+ export { e as groupBySectionHeading };
@@ -1,23 +1,50 @@
1
+ import { Button as e, DropdownMenu as t, DropdownMenuContent as n, DropdownMenuGroup as r, DropdownMenuItem as i, DropdownMenuLabel as a, DropdownMenuSeparator as o, DropdownMenuTrigger as s } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { groupBySectionHeading as c } from "./index31.js";
3
+ import { Fragment as l, useId as u } from "react";
4
+ import { jsx as d, jsxs as f } from "react/jsx-runtime";
5
+ import { MoreHorizontalIcon as p, MoreVerticalIcon as m } from "lucide-react";
1
6
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.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
- };
7
+ function h({ actions: h, triggerLabel: g, placement: _ = "row", testId: v }) {
8
+ let y = u();
9
+ if (!h.length) return null;
10
+ let b = _ === "header", x = b ? p : m, S = c(h);
11
+ return /* @__PURE__ */ f(t, { children: [/* @__PURE__ */ d(s, {
12
+ asChild: !0,
13
+ children: /* @__PURE__ */ d(e, {
14
+ type: "button",
15
+ variant: b ? "ghost" : "outline",
16
+ size: "icon",
17
+ "aria-label": g,
18
+ "data-testid": v,
19
+ children: /* @__PURE__ */ d(x, { className: "ttw:size-4" })
20
+ })
21
+ }), /* @__PURE__ */ d(n, {
22
+ align: "end",
23
+ children: S.map((e, t) => {
24
+ let n = e.items.map((e) => {
25
+ let t = e.icon;
26
+ return /* @__PURE__ */ f(i, {
27
+ disabled: e.disabled,
28
+ onClick: e.onSelect,
29
+ children: [t ? /* @__PURE__ */ d(t, { className: "ttw:size-4" }) : null, e.label]
30
+ }, e.id);
31
+ });
32
+ if (!e.heading) return /* @__PURE__ */ d(l, { children: n }, e.items[0]?.id);
33
+ let s = `${y}-${t}`;
34
+ return /* @__PURE__ */ f(l, { children: [
35
+ t > 0 ? /* @__PURE__ */ d(o, {}) : null,
36
+ /* @__PURE__ */ d(a, {
37
+ id: s,
38
+ className: "ttw:py-1 ttw:text-xs ttw:font-medium ttw:text-muted-foreground",
39
+ children: e.heading
40
+ }),
41
+ /* @__PURE__ */ d(r, {
42
+ "aria-labelledby": s,
43
+ children: n
44
+ })
45
+ ] }, e.items[0]?.id);
46
+ })
47
+ })] });
48
+ }
22
49
  //#endregion
23
- export { e as LINE_ITEMS_SECTION_LABELS_EN };
50
+ export { h as BillOverflowMenu, h as default };