@tesouro/embedded-components-react 0.4.20 → 0.4.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/lib/BillPayWidget.js +1 -1
  3. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +12 -12
  4. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +64 -37
  5. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +38 -110
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +104 -73
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +87 -7
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +7 -21
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +17 -22
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +23 -63
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +66 -2
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +2 -77
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +74 -3
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +4 -5
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +5 -4
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +3 -32
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +30 -39
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +37 -166
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +164 -39
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +48 -1
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +1 -50
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +47 -4
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +1 -1
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +7 -7
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +8 -24
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +18 -125
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +135 -16
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +24 -4
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +4 -41
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +39 -87
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +79 -84
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +5 -25
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +95 -48
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +47 -119
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +119 -33
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +33 -177
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +186 -75
  38. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +75 -21
  39. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +22 -232
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +223 -204
  41. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +202 -103
  42. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +121 -13
  43. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +25 -24
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +12 -47
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +47 -31
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +27 -198
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +198 -30
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +30 -234
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +240 -19
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +19 -383
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +416 -4
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +4 -35
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +35 -189
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +21 -57
  55. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +214 -3
  56. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +3 -4
  57. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +2 -44
  58. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +46 -1
  59. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +1 -8
  60. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +6 -10
  61. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +10 -110
  62. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +112 -3
  63. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +3 -127
  64. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +124 -8
  65. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +58 -5
  66. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +8 -7
  67. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +8 -46
  68. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +43 -18
  69. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +20 -28
  70. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +27 -82
  71. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +83 -47
  72. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +47 -250
  73. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +239 -101
  74. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +107 -202
  75. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +209 -3
  76. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +5 -4
  77. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +4 -8
  78. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +6 -113
  79. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +115 -1
  80. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +0 -24
  81. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +25 -0
  82. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +5 -70
  83. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +44 -40
  84. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +170 -2
  85. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +2 -10
  86. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +12 -50
  87. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +108 -2
  88. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index104.js +2 -0
  89. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js +10 -0
  90. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index106.js +52 -0
  91. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index107.js +2 -0
  92. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +21 -12
  93. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +10 -9
  94. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +11 -16
  95. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +18 -2
  96. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +2 -4
  97. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +2 -28
  98. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +30 -2
  99. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +2 -32
  100. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +32 -1
  101. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +1 -29
  102. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +26 -19
  103. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +20 -152
  104. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +154 -2
  105. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index29.js +1 -64
  106. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +61 -253
  107. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +258 -1
  108. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +2 -9
  109. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +7 -47
  110. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +49 -2
  111. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +2 -18
  112. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +15 -47
  113. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +50 -2
  114. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +2 -23
  115. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +21 -338
  116. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +340 -2
  117. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +2 -12
  118. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +9 -97
  119. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +96 -2
  120. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +1 -12
  121. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +11 -57
  122. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +58 -1
  123. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +1 -54
  124. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +52 -10
  125. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +10 -179
  126. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +181 -1
  127. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +2 -4
  128. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +2 -39
  129. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +41 -2
  130. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +2 -7
  131. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +5 -90
  132. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +92 -2
  133. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +2 -4
  134. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +2 -14
  135. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +16 -2
  136. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +1 -88
  137. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +86 -298
  138. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +299 -9
  139. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +13 -1
  140. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +1 -8
  141. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +6 -37
  142. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +39 -2
  143. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +2 -39
  144. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +2 -10
  145. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +30 -195
  146. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +0 -1
  147. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +36 -14
  148. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +10 -345
  149. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +199 -8
  150. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +3 -9
  151. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +15 -91
  152. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +347 -0
  153. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +10 -2
  154. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +7 -123
  155. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +91 -26
  156. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +1 -1
  157. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +123 -5
  158. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +26 -28
  159. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +94 -2
  160. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +2 -7
  161. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +5 -32
  162. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +30 -2
  163. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +2 -12
  164. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +5 -104
  165. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +34 -2
  166. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +2 -17
  167. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +10 -123
  168. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +105 -1
  169. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +2 -18
  170. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +13 -6
  171. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +74 -119
  172. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +1 -1
  173. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +15 -11
  174. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +8 -106
  175. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  176. package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/formatRejectionDate.js +11 -0
  177. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
  178. package/package.json +1 -1
  179. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +0 -94
@@ -1,13 +1,303 @@
1
- import { Badge as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { BADGE_TONE_CLASS_NAME as t } from "./index17.js";
3
- import { jsx as n } from "react/jsx-runtime";
1
+ import { Badge as e, Button as t, Collapsible as n, CollapsibleContent as r, CollapsibleTrigger as i, Sheet as a, SheetContent as o, SheetDescription as s, SheetHeader as c, SheetTitle as l, Skeleton as u, Typography as d } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { ApprovalPolicyCard as f } from "./index13.js";
3
+ import "./index14.js";
4
+ import { BillRejectionNotice as p } from "./index16.js";
5
+ import { BillStatusBadge as m } from "./index19.js";
6
+ import "./index20.js";
7
+ import { DueDateValue as h } from "./index22.js";
8
+ import "./index23.js";
9
+ import { PaymentHistoryList as g } from "./index24.js";
10
+ import "./index25.js";
11
+ import { BillActionButtons as _, NO_BILL_ACTIONS as v } from "./index15.js";
12
+ import { BillOverflowMenu as y } from "./index37.js";
13
+ import "./index38.js";
14
+ import { BILL_DETAILS_SHEET_LABELS_EN as b } from "./index61.js";
15
+ import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
16
+ import { ChevronDownIcon as w, MoveDiagonal2Icon as T, XIcon as E } from "lucide-react";
4
17
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js
5
- function r({ label: r, tone: i = "warning" }) {
6
- return /* @__PURE__ */ n(e, {
7
- variant: "outline",
8
- className: t[i],
9
- children: r
18
+ function D({ items: e }) {
19
+ return /* @__PURE__ */ S("dl", {
20
+ className: "ttw:flex ttw:flex-col",
21
+ children: e.map((e) => /* @__PURE__ */ C("div", {
22
+ className: "ttw:flex ttw:items-start ttw:justify-between ttw:gap-6 ttw:border-b ttw:border-border ttw:py-3 ttw:last:border-b-0",
23
+ children: [/* @__PURE__ */ S("dt", {
24
+ className: "ttw:text-sm ttw:text-muted-foreground",
25
+ children: e.label
26
+ }), /* @__PURE__ */ C("dd", {
27
+ className: "ttw:flex ttw:flex-col ttw:items-end ttw:text-right",
28
+ children: [/* @__PURE__ */ S("span", {
29
+ className: "ttw:text-sm ttw:font-medium",
30
+ children: e.value
31
+ }), e.secondaryValue ? /* @__PURE__ */ S("span", {
32
+ className: "ttw:text-sm ttw:text-muted-foreground",
33
+ children: e.secondaryValue
34
+ }) : null]
35
+ })]
36
+ }, e.label))
37
+ });
38
+ }
39
+ function O({ heading: e, children: t }) {
40
+ return /* @__PURE__ */ C(n, {
41
+ defaultOpen: !0,
42
+ className: "ttw:flex ttw:flex-col ttw:gap-3",
43
+ children: [/* @__PURE__ */ C(i, {
44
+ className: "ttw:group ttw:flex ttw:w-full ttw:items-center ttw:justify-between ttw:rounded-xs ttw:focus-visible:ring-2 ttw:focus-visible:ring-ring ttw:focus-visible:outline-hidden",
45
+ children: [/* @__PURE__ */ S(d, {
46
+ variant: "body1",
47
+ className: "ttw:font-semibold",
48
+ children: e
49
+ }), /* @__PURE__ */ S(w, { className: "ttw:size-4 ttw:text-muted-foreground ttw:transition-transform ttw:group-data-[state=closed]:-rotate-90" })]
50
+ }), /* @__PURE__ */ S(r, { children: t })]
51
+ });
52
+ }
53
+ function k({ open: n, onOpenChange: r, details: i, actions: w = v, approvalPolicy: k, showApprovalOverrideNotice: A, paymentHistory: j, paymentHistoryError: M, paymentHistoryLoading: N, isLoading: P, isError: F, notice: I, onClose: L, onExpand: R, testId: z, labels: B }) {
54
+ let V = {
55
+ ...b,
56
+ ...B,
57
+ statusBadge: {
58
+ ...b.statusBadge,
59
+ ...B?.statusBadge
60
+ },
61
+ approvalPolicy: {
62
+ ...b.approvalPolicy,
63
+ ...B?.approvalPolicy
64
+ },
65
+ dueDate: {
66
+ ...b.dueDate,
67
+ ...B?.dueDate
68
+ }
69
+ };
70
+ return /* @__PURE__ */ S(a, {
71
+ open: n,
72
+ onOpenChange: (e) => e ? r(e) : L(),
73
+ children: /* @__PURE__ */ C(o, {
74
+ showCloseButton: !1,
75
+ className: "ttw:w-150 ttw:gap-0 ttw:overflow-y-auto ttw:sm:max-w-150",
76
+ "data-testid": z,
77
+ children: [/* @__PURE__ */ C(c, {
78
+ className: "ttw:flex ttw:flex-row ttw:items-start ttw:justify-between ttw:gap-3",
79
+ children: [/* @__PURE__ */ C("div", {
80
+ className: "ttw:flex ttw:flex-col ttw:gap-0.5",
81
+ children: [
82
+ /* @__PURE__ */ S(l, {
83
+ className: P ? "ttw:sr-only" : "ttw:text-xl ttw:font-semibold",
84
+ children: F ? V.errorTitle : P ? V.loadingTitle : i?.title
85
+ }),
86
+ P ? /* @__PURE__ */ C("div", {
87
+ "aria-hidden": !0,
88
+ className: "ttw:flex ttw:flex-col ttw:gap-2 ttw:py-1",
89
+ children: [/* @__PURE__ */ S(u, { className: "ttw:h-6 ttw:w-48" }), /* @__PURE__ */ S(u, { className: "ttw:h-4 ttw:w-28" })]
90
+ }) : null,
91
+ i && !P && !F ? /* @__PURE__ */ S("p", {
92
+ className: "ttw:text-sm ttw:text-muted-foreground",
93
+ children: i.subtitle
94
+ }) : null,
95
+ /* @__PURE__ */ S(s, {
96
+ className: "ttw:sr-only",
97
+ children: V.hiddenDescription
98
+ })
99
+ ]
100
+ }), /* @__PURE__ */ C("div", {
101
+ className: "ttw:flex ttw:items-center ttw:gap-1",
102
+ children: [
103
+ R ? /* @__PURE__ */ S(t, {
104
+ type: "button",
105
+ variant: "ghost",
106
+ size: "icon",
107
+ "aria-label": V.expandButton,
108
+ onClick: R,
109
+ children: /* @__PURE__ */ S(T, { className: "ttw:size-4" })
110
+ }) : null,
111
+ i && !P && !F ? /* @__PURE__ */ S(y, {
112
+ actions: w.menu,
113
+ triggerLabel: V.overflowMenuTrigger,
114
+ placement: "header"
115
+ }) : null,
116
+ /* @__PURE__ */ S(t, {
117
+ type: "button",
118
+ variant: "ghost",
119
+ size: "icon",
120
+ "aria-label": V.closeButton,
121
+ onClick: L,
122
+ children: /* @__PURE__ */ S(E, { className: "ttw:size-4" })
123
+ })
124
+ ]
125
+ })]
126
+ }), /* @__PURE__ */ S("div", {
127
+ className: "ttw:flex ttw:flex-col ttw:gap-6 ttw:px-6 ttw:pb-6",
128
+ children: F ? /* @__PURE__ */ S("p", {
129
+ className: "ttw:text-sm ttw:text-muted-foreground",
130
+ children: V.errorDescription
131
+ }) : P ? /* @__PURE__ */ C("div", {
132
+ className: "ttw:flex ttw:flex-col ttw:gap-6",
133
+ children: [/* @__PURE__ */ S(u, { className: "ttw:h-32 ttw:w-full" }), /* @__PURE__ */ C("div", {
134
+ className: "ttw:flex ttw:flex-col ttw:gap-2",
135
+ children: [
136
+ /* @__PURE__ */ S(u, { className: "ttw:h-4 ttw:w-40" }),
137
+ /* @__PURE__ */ S(u, { className: "ttw:h-9 ttw:w-full" }),
138
+ /* @__PURE__ */ S(u, { className: "ttw:h-9 ttw:w-full" })
139
+ ]
140
+ })]
141
+ }) : i ? /* @__PURE__ */ C(x, { children: [
142
+ I,
143
+ /* @__PURE__ */ C("section", {
144
+ className: "ttw:flex ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:bg-muted/50 ttw:p-4",
145
+ children: [
146
+ /* @__PURE__ */ C("div", {
147
+ className: "ttw:flex ttw:flex-col ttw:gap-2",
148
+ children: [i.paidOnLabel ? /* @__PURE__ */ C("div", {
149
+ className: "ttw:grid ttw:grid-cols-2 ttw:gap-x-6",
150
+ children: [/* @__PURE__ */ C("div", {
151
+ className: "ttw:flex ttw:flex-col",
152
+ children: [/* @__PURE__ */ S("span", {
153
+ className: "ttw:text-sm ttw:text-muted-foreground",
154
+ children: V.amountDueHeading
155
+ }), /* @__PURE__ */ S("span", {
156
+ className: "ttw:text-3xl ttw:font-semibold",
157
+ children: i.amountDueLabel
158
+ })]
159
+ }), /* @__PURE__ */ C("div", {
160
+ className: "ttw:flex ttw:flex-col",
161
+ children: [/* @__PURE__ */ S("span", {
162
+ className: "ttw:text-sm ttw:text-muted-foreground",
163
+ children: V.amountPaidHeading
164
+ }), /* @__PURE__ */ S("span", {
165
+ className: "ttw:text-3xl ttw:font-semibold ttw:text-emerald-600",
166
+ children: i.amountPaidLabel
167
+ })]
168
+ })]
169
+ }) : /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("span", {
170
+ className: "ttw:text-sm ttw:text-muted-foreground",
171
+ children: V.amountDueHeading
172
+ }), /* @__PURE__ */ S("span", {
173
+ className: "ttw:text-3xl ttw:font-semibold",
174
+ children: i.amountDueLabel
175
+ })] }), /* @__PURE__ */ S("div", { children: i.paidOnLabel ? /* @__PURE__ */ S(e, {
176
+ variant: "outline",
177
+ className: "ttw:border-emerald-200 ttw:bg-emerald-50 ttw:text-emerald-700",
178
+ children: i.paidOnLabel
179
+ }) : /* @__PURE__ */ S(m, {
180
+ status: i.status,
181
+ tone: i.statusTone,
182
+ labels: V.statusBadge
183
+ }) })]
184
+ }),
185
+ /* @__PURE__ */ C("div", {
186
+ className: "ttw:grid ttw:grid-cols-2 ttw:gap-x-6 ttw:gap-y-1",
187
+ children: [/* @__PURE__ */ C("div", {
188
+ className: "ttw:flex ttw:flex-col",
189
+ children: [/* @__PURE__ */ S("span", {
190
+ className: "ttw:text-xs ttw:text-muted-foreground",
191
+ children: V.invoiceDateLabel
192
+ }), /* @__PURE__ */ S("span", {
193
+ className: "ttw:text-sm ttw:font-medium",
194
+ children: i.invoiceDateLabel
195
+ })]
196
+ }), /* @__PURE__ */ C("div", {
197
+ className: "ttw:flex ttw:flex-col",
198
+ children: [/* @__PURE__ */ S("span", {
199
+ className: "ttw:text-xs ttw:text-muted-foreground",
200
+ children: V.dueDateLabel
201
+ }), /* @__PURE__ */ S(h, {
202
+ className: "ttw:text-sm ttw:font-medium",
203
+ value: i.dueDateLabel,
204
+ tone: i.dueDateTone,
205
+ labels: V.dueDate
206
+ })]
207
+ })]
208
+ }),
209
+ i.rejection ? /* @__PURE__ */ S(p, { ...i.rejection }) : null,
210
+ A ? /* @__PURE__ */ S(d, {
211
+ variant: "caption",
212
+ color: "muted",
213
+ children: V.approvalOverrideNotice
214
+ }) : null,
215
+ w.row.length ? /* @__PURE__ */ S("div", {
216
+ className: "ttw:flex ttw:items-center ttw:gap-2",
217
+ children: /* @__PURE__ */ S(_, { actions: w.row })
218
+ }) : null
219
+ ]
220
+ }),
221
+ /* @__PURE__ */ S(O, {
222
+ heading: i.paidOnLabel ? V.payToHeadingPaid : V.payToHeading,
223
+ children: /* @__PURE__ */ S(D, { items: i.payToItems })
224
+ }),
225
+ j?.length || M || N ? /* @__PURE__ */ S(O, {
226
+ heading: V.paymentHistoryHeading,
227
+ children: M ? /* @__PURE__ */ S("p", {
228
+ className: "ttw:text-sm ttw:text-muted-foreground",
229
+ children: V.paymentHistoryErrorDescription
230
+ }) : N ? /* @__PURE__ */ S(u, { className: "ttw:h-9 ttw:w-full" }) : /* @__PURE__ */ S(g, { records: j ?? [] })
231
+ }) : null,
232
+ /* @__PURE__ */ S(O, {
233
+ heading: V.invoiceDetailsHeading,
234
+ children: /* @__PURE__ */ C("div", {
235
+ className: "ttw:flex ttw:flex-col ttw:gap-4",
236
+ children: [
237
+ /* @__PURE__ */ S(D, { items: i.invoiceItems }),
238
+ i.lineItems.length ? /* @__PURE__ */ C("table", {
239
+ className: "ttw:w-full ttw:text-sm",
240
+ children: [/* @__PURE__ */ S("thead", { children: /* @__PURE__ */ C("tr", {
241
+ className: "ttw:bg-muted/50 ttw:text-xs ttw:text-muted-foreground",
242
+ children: [
243
+ /* @__PURE__ */ S("th", {
244
+ className: "ttw:px-3 ttw:py-2 ttw:text-left ttw:font-normal",
245
+ children: V.lineItemsHeading
246
+ }),
247
+ /* @__PURE__ */ S("th", {
248
+ className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:font-normal",
249
+ children: V.lineItemsQuantityHeading
250
+ }),
251
+ /* @__PURE__ */ S("th", {
252
+ className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:font-normal",
253
+ children: V.lineItemsAmountHeading
254
+ })
255
+ ]
256
+ }) }), /* @__PURE__ */ S("tbody", { children: i.lineItems.map((e) => /* @__PURE__ */ C("tr", {
257
+ className: "ttw:border-b ttw:border-border",
258
+ children: [
259
+ /* @__PURE__ */ C("td", {
260
+ className: "ttw:px-3 ttw:py-2",
261
+ children: [/* @__PURE__ */ S("span", {
262
+ className: "ttw:block",
263
+ children: e.description
264
+ }), /* @__PURE__ */ S("span", {
265
+ className: "ttw:block ttw:text-xs ttw:text-muted-foreground",
266
+ children: e.glCodeLabel
267
+ })]
268
+ }),
269
+ /* @__PURE__ */ S("td", {
270
+ className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:whitespace-nowrap ttw:text-muted-foreground",
271
+ children: e.quantityLabel
272
+ }),
273
+ /* @__PURE__ */ S("td", {
274
+ className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:whitespace-nowrap",
275
+ children: e.amountLabel
276
+ })
277
+ ]
278
+ }, e.id)) })]
279
+ }) : null,
280
+ /* @__PURE__ */ S("dl", {
281
+ className: "ttw:flex ttw:flex-col ttw:gap-1",
282
+ children: i.totals.map((e) => /* @__PURE__ */ C("div", {
283
+ className: e.emphasis ? "ttw:flex ttw:justify-between ttw:gap-6 ttw:border-t ttw:border-border ttw:pt-2 ttw:text-base ttw:font-semibold" : "ttw:flex ttw:justify-between ttw:gap-6 ttw:text-sm",
284
+ children: [/* @__PURE__ */ S("dt", {
285
+ className: e.emphasis ? "" : "ttw:text-muted-foreground",
286
+ children: e.label
287
+ }), /* @__PURE__ */ S("dd", { children: e.value })]
288
+ }, e.label))
289
+ })
290
+ ]
291
+ })
292
+ }),
293
+ k ? /* @__PURE__ */ S(f, {
294
+ view: k,
295
+ labels: V.approvalPolicy
296
+ }) : null
297
+ ] }) : null
298
+ })]
299
+ })
10
300
  });
11
301
  }
12
302
  //#endregion
13
- export { r as BillDuplicateBadge, r as default };
303
+ export { k as BillDetailsSheet, k as default };
@@ -1 +1,13 @@
1
- import "./index62.js";
1
+ import { Badge as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { BADGE_TONE_CLASS_NAME as t } from "./index18.js";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js
5
+ function r({ label: r, tone: i = "warning" }) {
6
+ return /* @__PURE__ */ n(e, {
7
+ variant: "outline",
8
+ className: t[i],
9
+ children: r
10
+ });
11
+ }
12
+ //#endregion
13
+ export { r as BillDuplicateBadge, r as default };
@@ -1,8 +1 @@
1
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js
2
- var e = {
3
- message: "This bill is a possible duplicate of another bill.",
4
- notADuplicateButton: "Not a duplicate",
5
- removeBillButton: "Remove this bill"
6
- };
7
- //#endregion
8
- export { e as BILL_DUPLICATE_NOTICE_LABELS_EN };
1
+ import "./index63.js";
@@ -1,39 +1,8 @@
1
- import { Alert as e, AlertTitle as t, Button as n } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { BILL_DUPLICATE_NOTICE_LABELS_EN as r } from "./index64.js";
3
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
4
- import { CopyX as o } from "lucide-react";
5
1
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js
6
- function s({ onNotADuplicate: s, onRemoveBill: c, isActionDisabled: l, testId: u, labels: d }) {
7
- let f = {
8
- ...r,
9
- ...d
10
- };
11
- return /* @__PURE__ */ a(e, {
12
- className: "ttw:[&>svg]:size-6 ttw:flex ttw:items-center ttw:bg-amber-50 ttw:text-amber-700 ttw:border-amber-300",
13
- "data-testid": u,
14
- children: [
15
- /* @__PURE__ */ i(o, {}),
16
- /* @__PURE__ */ i(t, {
17
- className: "ttw:flex-1",
18
- children: f.message
19
- }),
20
- s ? /* @__PURE__ */ i(n, {
21
- type: "button",
22
- variant: "outline",
23
- className: "ttw:text-foreground",
24
- disabled: l,
25
- onClick: s,
26
- children: f.notADuplicateButton
27
- }) : null,
28
- c ? /* @__PURE__ */ i(n, {
29
- type: "button",
30
- variant: "destructive",
31
- disabled: l,
32
- onClick: c,
33
- children: f.removeBillButton
34
- }) : null
35
- ]
36
- });
37
- }
2
+ var e = {
3
+ message: "This bill is a possible duplicate of another bill.",
4
+ notADuplicateButton: "Not a duplicate",
5
+ removeBillButton: "Remove this bill"
6
+ };
38
7
  //#endregion
39
- export { s as BillDuplicateNotice, s as default };
8
+ export { e as BILL_DUPLICATE_NOTICE_LABELS_EN };
@@ -1,2 +1,39 @@
1
- import "./index64.js";
2
- import "./index65.js";
1
+ import { Alert as e, AlertTitle as t, Button as n } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { BILL_DUPLICATE_NOTICE_LABELS_EN as r } from "./index65.js";
3
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
4
+ import { CopyX as o } from "lucide-react";
5
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js
6
+ function s({ onNotADuplicate: s, onRemoveBill: c, isActionDisabled: l, testId: u, labels: d }) {
7
+ let f = {
8
+ ...r,
9
+ ...d
10
+ };
11
+ return /* @__PURE__ */ a(e, {
12
+ className: "ttw:[&>svg]:size-6 ttw:flex ttw:items-center ttw:bg-amber-50 ttw:text-amber-700 ttw:border-amber-300",
13
+ "data-testid": u,
14
+ children: [
15
+ /* @__PURE__ */ i(o, {}),
16
+ /* @__PURE__ */ i(t, {
17
+ className: "ttw:flex-1",
18
+ children: f.message
19
+ }),
20
+ s ? /* @__PURE__ */ i(n, {
21
+ type: "button",
22
+ variant: "outline",
23
+ className: "ttw:text-foreground",
24
+ disabled: l,
25
+ onClick: s,
26
+ children: f.notADuplicateButton
27
+ }) : null,
28
+ c ? /* @__PURE__ */ i(n, {
29
+ type: "button",
30
+ variant: "destructive",
31
+ disabled: l,
32
+ onClick: c,
33
+ children: f.removeBillButton
34
+ }) : null
35
+ ]
36
+ });
37
+ }
38
+ //#endregion
39
+ export { s as BillDuplicateNotice, s as default };
@@ -1,39 +1,2 @@
1
- import { AMOUNT_FILTER_LABELS_EN as e, DATE_RANGE_PICKER_LABELS_EN as t, FILTER_MENU_BUTTON_LABELS_EN as n, FILTER_TAG_LABELS_EN as r } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js
3
- var i = {
4
- fields: {
5
- vendor: "Vendor",
6
- issueDate: "Issue date",
7
- dueDate: "Due date",
8
- status: "Status",
9
- totalAmount: "Total amount",
10
- addedOn: "Added on",
11
- attachment: "Attachment"
12
- },
13
- fieldMenuLabel: "Filter bills by",
14
- amountMin: "No less than",
15
- amountMax: "No more than",
16
- vendorSearchPlaceholder: "Search vendors",
17
- vendorSearchLabel: "Search vendors",
18
- vendorEmpty: "No vendors match",
19
- vendorLoading: "Loading vendors",
20
- vendorError: "Couldn't load vendors",
21
- attachmentAny: "Any",
22
- attachmentHas: "Has attachment",
23
- attachmentNone: "No attachment",
24
- attachmentLabel: "Filter by attachment",
25
- clearAll: "Clear all",
26
- filterMenuButton: n,
27
- filterTag: r,
28
- amountFilter: {
29
- modeAny: e.modeAny,
30
- modeExact: e.modeExact,
31
- modeRange: e.modeRange,
32
- flowAny: e.flowAny,
33
- flowIn: e.flowIn,
34
- flowOut: e.flowOut
35
- },
36
- dateRangePicker: { presetPlaceholder: t.presetPlaceholder }
37
- };
38
- //#endregion
39
- export { i as BILLS_FILTER_BAR_LABELS_EN };
1
+ import "./index65.js";
2
+ import "./index66.js";
@@ -1,12 +1,4 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js
2
- var e = {
3
- Vendor: "vendor",
4
- IssueDate: "issueDate",
5
- DueDate: "dueDate",
6
- Status: "status",
7
- TotalAmount: "totalAmount",
8
- AddedOn: "addedOn",
9
- Attachment: "attachment"
10
- };
2
+ var e = { title: "Bill rejected and returned to you for rework." };
11
3
  //#endregion
12
- export { e as BillsFilterField };
4
+ export { e as BILL_REJECTED_BANNER_LABELS_EN };