@tesouro/embedded-components-react 0.2.318 → 0.2.320

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 (135) hide show
  1. package/README.md +5 -4
  2. package/dist/index.css +9 -0
  3. package/dist/index.d.ts +4 -1
  4. package/dist/index.js +1 -1
  5. package/dist/lib/BillPayWidget.d.ts +4 -1
  6. package/dist/lib/BillPayWidget.js +1 -1
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js +10 -7
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index10.js +170 -32
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index11.js +13 -32
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index12.js +30 -0
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index13.js +50 -0
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index14.js +36 -0
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index3.js +11 -8
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index4.js +33 -16
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index5.js +47 -2
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index6.js +18 -63
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index7.js +40 -131
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index8.js +48 -11
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index9.js +30 -20
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +18 -16
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +29 -97
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +1 -9
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +13 -109
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +24 -4
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +30 -21
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +19 -46
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +49 -76
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +4 -45
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +73 -3
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +50 -2
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index2.js +4 -50
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +7 -43
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +38 -1
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +115 -31
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +56 -8
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +206 -16
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +195 -5
  38. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +58 -64
  39. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +46 -139
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +34 -5
  41. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +155 -6
  42. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +3 -60
  43. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +36 -7
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +92 -73
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +9 -3
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +191 -6
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +4 -114
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +26 -1
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +78 -21
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +92 -0
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +3 -0
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +4 -0
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +5 -206
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +45 -0
  55. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +1 -0
  56. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +53 -0
  57. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +11 -0
  58. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +18 -0
  59. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +8 -0
  60. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +79 -0
  61. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +148 -0
  62. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +5 -0
  63. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +8 -0
  64. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +3 -197
  65. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +9 -0
  66. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +85 -0
  67. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +3 -0
  68. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +8 -0
  69. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +115 -0
  70. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +1 -0
  71. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +25 -0
  72. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +30 -41
  73. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +38 -30
  74. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +20 -151
  75. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +158 -31
  76. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +29 -17
  77. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index12.js +13 -7
  78. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js +13 -47
  79. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index14.js +24 -2
  80. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index15.js +2 -22
  81. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +31 -283
  82. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +261 -1
  83. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +2 -16
  84. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +7 -118
  85. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +49 -2
  86. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +2 -10
  87. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +20 -94
  88. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +286 -2
  89. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +1 -12
  90. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +14 -56
  91. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +120 -2
  92. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +1 -19
  93. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +8 -157
  94. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index29.js +96 -2
  95. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +2 -7
  96. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +11 -42
  97. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +57 -1
  98. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +2 -14
  99. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +50 -20
  100. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +138 -1
  101. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +1 -54
  102. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +5 -227
  103. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +37 -188
  104. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +2 -10
  105. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +55 -5
  106. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +229 -84
  107. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +195 -0
  108. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +10 -2
  109. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +4 -3
  110. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +88 -25
  111. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +2 -14
  112. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +5 -87
  113. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +30 -2
  114. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +2 -0
  115. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +7 -0
  116. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +34 -0
  117. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +2 -0
  118. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +12 -0
  119. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +106 -0
  120. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +2 -0
  121. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +18 -0
  122. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +10 -0
  123. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +170 -0
  124. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +2 -0
  125. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +14 -0
  126. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +89 -0
  127. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +2 -0
  128. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +21 -21
  129. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +189 -156
  130. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +157 -97
  131. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/index.js +10 -10
  132. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  133. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index7.js +1 -1
  134. package/package.json +1 -1
  135. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +0 -2
@@ -1,93 +1,238 @@
1
- import { cn as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { BILL_UPLOAD_STATUS_TRAY_LABELS_EN as t } from "./index39.js";
3
- import { UPLOAD_ITEM_ICON_TONE as n } from "./index40.js";
4
- import { useId as r } from "react";
5
- import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
6
- import { CheckCircle2 as s, ChevronDown as c, ChevronRight as l, ChevronUp as u, Loader2 as d, X as f, XCircle as p } from "lucide-react";
1
+ import { Button as e, Collapsible as t, CollapsibleContent as n, CollapsibleTrigger as r, Sheet as i, SheetContent as a, SheetDescription as o, SheetHeader as s, SheetTitle as c, Skeleton as l, Typography as u } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { BillStatusBadge as d } from "./index14.js";
3
+ import "./index15.js";
4
+ import { BillActionButtons as f } from "./index12.js";
5
+ import { BILL_DETAILS_SHEET_LABELS_EN as p } from "./index40.js";
6
+ import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
7
+ import { ChevronDownIcon as _, MoveDiagonal2Icon as v, XIcon as y } from "lucide-react";
7
8
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js
8
- function m({ status: t }) {
9
- let r = e("ttw:size-4", n[t]);
10
- return t === "uploading" ? /* @__PURE__ */ a(d, {
11
- "aria-hidden": !0,
12
- className: e(r, "ttw:animate-spin")
13
- }) : a(t === "ready" ? s : p, {
14
- "aria-hidden": !0,
15
- className: r
9
+ function b({ items: e }) {
10
+ return /* @__PURE__ */ h("dl", {
11
+ className: "ttw:flex ttw:flex-col",
12
+ children: e.map((e) => /* @__PURE__ */ g("div", {
13
+ 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",
14
+ children: [/* @__PURE__ */ h("dt", {
15
+ className: "ttw:text-sm ttw:text-muted-foreground",
16
+ children: e.label
17
+ }), /* @__PURE__ */ g("dd", {
18
+ className: "ttw:flex ttw:flex-col ttw:items-end ttw:text-right",
19
+ children: [/* @__PURE__ */ h("span", {
20
+ className: "ttw:text-sm ttw:font-medium",
21
+ children: e.value
22
+ }), e.secondaryValue ? /* @__PURE__ */ h("span", {
23
+ className: "ttw:text-sm ttw:text-muted-foreground",
24
+ children: e.secondaryValue
25
+ }) : null]
26
+ })]
27
+ }, e.label))
16
28
  });
17
29
  }
18
- function h({ item: t, labels: n }) {
19
- let s = r(), c = /* @__PURE__ */ o(i, { children: [
20
- /* @__PURE__ */ a(m, { status: t.status }),
21
- /* @__PURE__ */ a("span", {
22
- id: s,
23
- className: "ttw:sr-only",
24
- children: n.statusLabel(t.status)
25
- }),
26
- /* @__PURE__ */ a("span", {
27
- className: "ttw:flex-1 ttw:truncate ttw:text-left ttw:text-sm ttw:text-foreground",
28
- children: t.fileName
29
- }),
30
- t.onOpen ? /* @__PURE__ */ a(l, {
31
- "aria-hidden": !0,
32
- className: "ttw:size-4"
33
- }) : null
34
- ] }), u = "ttw:flex ttw:items-center ttw:gap-3 ttw:px-4 ttw:py-2.5";
35
- return t.onOpen ? /* @__PURE__ */ a("button", {
36
- type: "button",
37
- onClick: t.onOpen,
38
- "aria-describedby": s,
39
- "aria-label": n.openItem(t.fileName),
40
- className: e(u, "ttw:w-full ttw:text-muted-foreground ttw:transition-colors ttw:hover:bg-muted/50 ttw:hover:text-foreground"),
41
- children: c
42
- }) : /* @__PURE__ */ a("div", {
43
- "aria-describedby": s,
44
- className: u,
45
- children: c
30
+ function x({ heading: e, children: i }) {
31
+ return /* @__PURE__ */ g(t, {
32
+ defaultOpen: !0,
33
+ className: "ttw:flex ttw:flex-col ttw:gap-3",
34
+ children: [/* @__PURE__ */ g(r, {
35
+ 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",
36
+ children: [/* @__PURE__ */ h(u, {
37
+ variant: "body1",
38
+ className: "ttw:font-semibold",
39
+ children: e
40
+ }), /* @__PURE__ */ h(_, { className: "ttw:size-4 ttw:text-muted-foreground ttw:transition-transform ttw:group-data-[state=closed]:-rotate-90" })]
41
+ }), /* @__PURE__ */ h(n, { children: i })]
46
42
  });
47
43
  }
48
- function g({ sections: e, summaryLabel: n, collapsed: r, onToggleCollapsed: i, onClose: s, testId: l, labels: d }) {
49
- let p = {
50
- ...t,
51
- ...d
44
+ function S({ open: t, onOpenChange: n, details: r, actions: u = [], isLoading: _, isError: S, notice: C, onClose: w, onExpand: T, testId: E, labels: D }) {
45
+ let O = {
46
+ ...p,
47
+ ...D,
48
+ statusBadge: {
49
+ ...p.statusBadge,
50
+ ...D?.statusBadge
51
+ }
52
52
  };
53
- return /* @__PURE__ */ o("div", {
54
- className: "ttw:fixed ttw:right-4 ttw:bottom-4 ttw:z-50 ttw:w-96 ttw:max-w-[calc(100vw-2rem)] ttw:overflow-hidden ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card",
55
- "data-testid": l,
56
- children: [/* @__PURE__ */ o("div", {
57
- className: "ttw:flex ttw:items-center ttw:gap-2 ttw:border-b ttw:border-border ttw:bg-muted/40 ttw:px-4 ttw:py-3",
58
- children: [
59
- /* @__PURE__ */ a("span", {
60
- "aria-live": "polite",
61
- className: "ttw:flex-1 ttw:text-base ttw:font-semibold ttw:text-foreground",
62
- children: n
63
- }),
64
- /* @__PURE__ */ a("button", {
65
- type: "button",
66
- onClick: i,
67
- "aria-label": r ? p.expand : p.collapse,
68
- "aria-expanded": !r,
69
- className: "ttw:text-muted-foreground ttw:hover:text-foreground",
70
- children: a(r ? u : c, { className: "ttw:size-4" })
71
- }),
72
- /* @__PURE__ */ a("button", {
73
- type: "button",
74
- onClick: s,
75
- "aria-label": p.close,
76
- className: "ttw:text-muted-foreground ttw:hover:text-foreground",
77
- children: /* @__PURE__ */ a(f, { className: "ttw:size-4" })
78
- })
79
- ]
80
- }), r ? null : /* @__PURE__ */ a("div", {
81
- className: "ttw:max-h-96 ttw:overflow-y-auto",
82
- children: e.map((e) => /* @__PURE__ */ o("div", { children: [e.caption ? /* @__PURE__ */ a("p", {
83
- className: "ttw:px-4 ttw:pt-3 ttw:pb-1 ttw:text-xs ttw:text-muted-foreground",
84
- children: e.caption
85
- }) : null, e.items.map((e) => /* @__PURE__ */ a(h, {
86
- item: e,
87
- labels: p
88
- }, e.id))] }, e.id))
89
- })]
53
+ return /* @__PURE__ */ h(i, {
54
+ open: t,
55
+ onOpenChange: (e) => e ? n(e) : w(),
56
+ children: /* @__PURE__ */ g(a, {
57
+ showCloseButton: !1,
58
+ className: "ttw:w-150 ttw:gap-0 ttw:overflow-y-auto ttw:sm:max-w-150",
59
+ "data-testid": E,
60
+ children: [/* @__PURE__ */ g(s, {
61
+ className: "ttw:flex ttw:flex-row ttw:items-start ttw:justify-between ttw:gap-3",
62
+ children: [/* @__PURE__ */ g("div", {
63
+ className: "ttw:flex ttw:flex-col ttw:gap-0.5",
64
+ children: [
65
+ /* @__PURE__ */ h(c, {
66
+ className: _ ? "ttw:sr-only" : "ttw:text-xl ttw:font-semibold",
67
+ children: S ? O.errorTitle : _ ? O.loadingTitle : r?.title
68
+ }),
69
+ _ ? /* @__PURE__ */ g("div", {
70
+ "aria-hidden": !0,
71
+ className: "ttw:flex ttw:flex-col ttw:gap-2 ttw:py-1",
72
+ children: [/* @__PURE__ */ h(l, { className: "ttw:h-6 ttw:w-48" }), /* @__PURE__ */ h(l, { className: "ttw:h-4 ttw:w-28" })]
73
+ }) : null,
74
+ r && !_ && !S ? /* @__PURE__ */ h("p", {
75
+ className: "ttw:text-sm ttw:text-muted-foreground",
76
+ children: r.subtitle
77
+ }) : null,
78
+ /* @__PURE__ */ h(o, {
79
+ className: "ttw:sr-only",
80
+ children: O.hiddenDescription
81
+ })
82
+ ]
83
+ }), /* @__PURE__ */ g("div", {
84
+ className: "ttw:flex ttw:items-center ttw:gap-1",
85
+ children: [T ? /* @__PURE__ */ h(e, {
86
+ type: "button",
87
+ variant: "ghost",
88
+ size: "icon",
89
+ "aria-label": O.expandButton,
90
+ onClick: T,
91
+ children: /* @__PURE__ */ h(v, { className: "ttw:size-4" })
92
+ }) : null, /* @__PURE__ */ h(e, {
93
+ type: "button",
94
+ variant: "ghost",
95
+ size: "icon",
96
+ "aria-label": O.closeButton,
97
+ onClick: w,
98
+ children: /* @__PURE__ */ h(y, { className: "ttw:size-4" })
99
+ })]
100
+ })]
101
+ }), /* @__PURE__ */ h("div", {
102
+ className: "ttw:flex ttw:flex-col ttw:gap-6 ttw:px-6 ttw:pb-6",
103
+ children: S ? /* @__PURE__ */ h("p", {
104
+ className: "ttw:text-sm ttw:text-muted-foreground",
105
+ children: O.errorDescription
106
+ }) : _ ? /* @__PURE__ */ g("div", {
107
+ className: "ttw:flex ttw:flex-col ttw:gap-6",
108
+ children: [/* @__PURE__ */ h(l, { className: "ttw:h-32 ttw:w-full" }), /* @__PURE__ */ g("div", {
109
+ className: "ttw:flex ttw:flex-col ttw:gap-2",
110
+ children: [
111
+ /* @__PURE__ */ h(l, { className: "ttw:h-4 ttw:w-40" }),
112
+ /* @__PURE__ */ h(l, { className: "ttw:h-9 ttw:w-full" }),
113
+ /* @__PURE__ */ h(l, { className: "ttw:h-9 ttw:w-full" })
114
+ ]
115
+ })]
116
+ }) : r ? /* @__PURE__ */ g(m, { children: [
117
+ C,
118
+ /* @__PURE__ */ g("section", {
119
+ className: "ttw:flex ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:bg-muted/50 ttw:p-4",
120
+ children: [
121
+ /* @__PURE__ */ g("div", {
122
+ className: "ttw:flex ttw:flex-col ttw:gap-2",
123
+ children: [
124
+ /* @__PURE__ */ h("span", {
125
+ className: "ttw:text-sm ttw:text-muted-foreground",
126
+ children: O.amountDueHeading
127
+ }),
128
+ /* @__PURE__ */ h("span", {
129
+ className: "ttw:text-3xl ttw:font-semibold",
130
+ children: r.amountDueLabel
131
+ }),
132
+ /* @__PURE__ */ h("div", { children: /* @__PURE__ */ h(d, {
133
+ status: r.status,
134
+ tone: r.statusTone,
135
+ labels: O.statusBadge
136
+ }) })
137
+ ]
138
+ }),
139
+ /* @__PURE__ */ g("div", {
140
+ className: "ttw:grid ttw:grid-cols-2 ttw:gap-x-6 ttw:gap-y-1",
141
+ children: [/* @__PURE__ */ g("div", {
142
+ className: "ttw:flex ttw:flex-col",
143
+ children: [/* @__PURE__ */ h("span", {
144
+ className: "ttw:text-xs ttw:text-muted-foreground",
145
+ children: O.invoiceDateLabel
146
+ }), /* @__PURE__ */ h("span", {
147
+ className: "ttw:text-sm ttw:font-medium",
148
+ children: r.invoiceDateLabel
149
+ })]
150
+ }), /* @__PURE__ */ g("div", {
151
+ className: "ttw:flex ttw:flex-col",
152
+ children: [/* @__PURE__ */ h("span", {
153
+ className: "ttw:text-xs ttw:text-muted-foreground",
154
+ children: O.dueDateLabel
155
+ }), /* @__PURE__ */ h("span", {
156
+ className: "ttw:text-sm ttw:font-medium",
157
+ children: r.dueDateLabel
158
+ })]
159
+ })]
160
+ }),
161
+ u.length ? /* @__PURE__ */ h("div", {
162
+ className: "ttw:flex ttw:gap-2",
163
+ children: /* @__PURE__ */ h(f, { actions: u })
164
+ }) : null
165
+ ]
166
+ }),
167
+ /* @__PURE__ */ h(x, {
168
+ heading: O.payToHeading,
169
+ children: /* @__PURE__ */ h(b, { items: r.payToItems })
170
+ }),
171
+ /* @__PURE__ */ h(x, {
172
+ heading: O.invoiceDetailsHeading,
173
+ children: /* @__PURE__ */ g("div", {
174
+ className: "ttw:flex ttw:flex-col ttw:gap-4",
175
+ children: [
176
+ /* @__PURE__ */ h(b, { items: r.invoiceItems }),
177
+ r.lineItems.length ? /* @__PURE__ */ g("table", {
178
+ className: "ttw:w-full ttw:text-sm",
179
+ children: [/* @__PURE__ */ h("thead", { children: /* @__PURE__ */ g("tr", {
180
+ className: "ttw:bg-muted/50 ttw:text-xs ttw:text-muted-foreground",
181
+ children: [
182
+ /* @__PURE__ */ h("th", {
183
+ className: "ttw:px-3 ttw:py-2 ttw:text-left ttw:font-normal",
184
+ children: O.lineItemsHeading
185
+ }),
186
+ /* @__PURE__ */ h("th", {
187
+ className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:font-normal",
188
+ children: O.lineItemsQuantityHeading
189
+ }),
190
+ /* @__PURE__ */ h("th", {
191
+ className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:font-normal",
192
+ children: O.lineItemsAmountHeading
193
+ })
194
+ ]
195
+ }) }), /* @__PURE__ */ h("tbody", { children: r.lineItems.map((e) => /* @__PURE__ */ g("tr", {
196
+ className: "ttw:border-b ttw:border-border",
197
+ children: [
198
+ /* @__PURE__ */ g("td", {
199
+ className: "ttw:px-3 ttw:py-2",
200
+ children: [/* @__PURE__ */ h("span", {
201
+ className: "ttw:block",
202
+ children: e.description
203
+ }), /* @__PURE__ */ h("span", {
204
+ className: "ttw:block ttw:text-xs ttw:text-muted-foreground",
205
+ children: e.glCodeLabel
206
+ })]
207
+ }),
208
+ /* @__PURE__ */ h("td", {
209
+ className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:whitespace-nowrap ttw:text-muted-foreground",
210
+ children: e.quantityLabel
211
+ }),
212
+ /* @__PURE__ */ h("td", {
213
+ className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:whitespace-nowrap",
214
+ children: e.amountLabel
215
+ })
216
+ ]
217
+ }, e.id)) })]
218
+ }) : null,
219
+ /* @__PURE__ */ h("dl", {
220
+ className: "ttw:flex ttw:flex-col ttw:gap-1",
221
+ children: r.totals.map((e) => /* @__PURE__ */ g("div", {
222
+ 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",
223
+ children: [/* @__PURE__ */ h("dt", {
224
+ className: e.emphasis ? "" : "ttw:text-muted-foreground",
225
+ children: e.label
226
+ }), /* @__PURE__ */ h("dd", { children: e.value })]
227
+ }, e.label))
228
+ })
229
+ ]
230
+ })
231
+ })
232
+ ] }) : null
233
+ })]
234
+ })
90
235
  });
91
236
  }
92
237
  //#endregion
93
- export { g as BillUploadStatusTray, g as default };
238
+ export { S as BillDetailsSheet, S as default };
@@ -0,0 +1,195 @@
1
+ import { Button as e, DataTable as t, DataTableSortableHeader as n, Input as r, Tabs as i, TabsContent as a, TabsList as o, TabsTrigger as s } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { EmptyState as c } from "../../../shared/ui/dist/lib/EmptyState/EmptyState.js";
3
+ import { ErrorState as l } from "../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
4
+ import "../../../shared/ui/dist/index.js";
5
+ import { AddBillPanel as u } from "./index7.js";
6
+ import "./index8.js";
7
+ import { BillStatusBadge as d } from "./index14.js";
8
+ import "./index15.js";
9
+ import { BILLS_SCREEN_LABELS_EN as f, BILLS_SCREEN_UPLOAD_ACCEPT as p } from "./index40.js";
10
+ import { useMemo as m } from "react";
11
+ import { jsx as h, jsxs as g } from "react/jsx-runtime";
12
+ import { ChevronRightIcon as _, PlusIcon as v, SearchIcon as y } from "lucide-react";
13
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js
14
+ var b = [
15
+ 10,
16
+ 25,
17
+ 50,
18
+ 100
19
+ ];
20
+ function x({ rows: x, isLoading: S, isError: C, sorting: w, onSortingChange: T, pageSize: E, onPageSizeChange: D, pageSizeOptions: O = b, pageInfo: k, hasNextPage: A, hasPrevPage: j, onNextPage: M, onPrevPage: N, filterTabs: P, selectedFilterTabId: F, onFilterTabChange: I, searchValue: L, onSearchChange: R, isFiltering: z, onCreateClick: B, onRetry: V, onFilesSelected: H, onEnterManually: U, uploadStatus: W, uploadErrorMessage: G, emailAddress: K, onCopyEmail: q, labels: J }) {
21
+ let Y = m(() => ({
22
+ ...f,
23
+ ...J,
24
+ statusBadge: {
25
+ ...f.statusBadge,
26
+ ...J?.statusBadge
27
+ },
28
+ addBill: {
29
+ ...f.addBill,
30
+ ...J?.addBill,
31
+ dropzone: {
32
+ ...f.addBill.dropzone,
33
+ ...J?.addBill?.dropzone
34
+ }
35
+ },
36
+ sortableHeader: {
37
+ ...f.sortableHeader,
38
+ ...J?.sortableHeader
39
+ }
40
+ }), [J]), X = m(() => [
41
+ {
42
+ accessorKey: "vendorLabel",
43
+ enableSorting: !0,
44
+ header: ({ column: e }) => /* @__PURE__ */ h(n, {
45
+ column: e,
46
+ title: Y.columnVendor,
47
+ labels: Y.sortableHeader
48
+ })
49
+ },
50
+ {
51
+ accessorKey: "dueDateLabel",
52
+ enableSorting: !0,
53
+ header: ({ column: e }) => /* @__PURE__ */ h(n, {
54
+ column: e,
55
+ title: Y.columnDueDate,
56
+ labels: Y.sortableHeader
57
+ })
58
+ },
59
+ {
60
+ accessorKey: "status",
61
+ enableSorting: !1,
62
+ header: Y.columnStatus,
63
+ cell: ({ row: e }) => /* @__PURE__ */ h(d, {
64
+ status: e.original.status,
65
+ tone: e.original.statusTone,
66
+ labels: Y.statusBadge
67
+ })
68
+ },
69
+ {
70
+ accessorKey: "amountDueLabel",
71
+ enableSorting: !1,
72
+ header: () => /* @__PURE__ */ h("div", {
73
+ className: "ttw:text-right",
74
+ children: Y.columnAmountDue
75
+ }),
76
+ cell: ({ row: e }) => /* @__PURE__ */ h("div", {
77
+ className: "ttw:text-right",
78
+ children: e.original.amountDueLabel
79
+ })
80
+ },
81
+ {
82
+ accessorKey: "addedOnLabel",
83
+ enableSorting: !0,
84
+ header: ({ column: e }) => /* @__PURE__ */ h(n, {
85
+ column: e,
86
+ title: Y.columnAddedOn,
87
+ labels: Y.sortableHeader
88
+ })
89
+ },
90
+ {
91
+ id: "actions",
92
+ enableSorting: !1,
93
+ header: () => /* @__PURE__ */ h("span", {
94
+ className: "ttw:sr-only",
95
+ children: Y.columnActions
96
+ }),
97
+ cell: ({ row: t }) => /* @__PURE__ */ h("div", {
98
+ className: "ttw:flex ttw:justify-end",
99
+ children: /* @__PURE__ */ h(e, {
100
+ variant: "ghost",
101
+ size: "icon",
102
+ "aria-label": Y.openRow(t.original.vendorLabel),
103
+ onClick: (e) => {
104
+ e.stopPropagation(), t.original.onOpen();
105
+ },
106
+ children: /* @__PURE__ */ h(_, { className: "ttw:size-4" })
107
+ })
108
+ })
109
+ }
110
+ ], [Y]), Z = !!(B && H) && !S && !C && !z && x.length === 0, Q = /* @__PURE__ */ h("div", {
111
+ className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:gap-2 ttw:px-4",
112
+ children: /* @__PURE__ */ g("div", {
113
+ className: "ttw:relative ttw:w-80",
114
+ children: [/* @__PURE__ */ h(y, { className: "ttw:pointer-events-none ttw:absolute ttw:left-3 ttw:top-1/2 ttw:size-4 ttw:-translate-y-1/2 ttw:text-muted-foreground" }), /* @__PURE__ */ h(r, {
115
+ className: "ttw:pl-9",
116
+ type: "search",
117
+ "aria-label": Y.searchLabel,
118
+ placeholder: Y.searchPlaceholder,
119
+ value: L,
120
+ onChange: (e) => R(e.target.value)
121
+ })]
122
+ })
123
+ });
124
+ return /* @__PURE__ */ g(i, {
125
+ value: F,
126
+ onValueChange: I,
127
+ className: "ttw:flex ttw:flex-col ttw:gap-4",
128
+ children: [/* @__PURE__ */ g("div", {
129
+ className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:justify-between ttw:gap-3",
130
+ children: [/* @__PURE__ */ h(o, {
131
+ "aria-label": Y.filterTabsLabel,
132
+ children: P.map((e) => /* @__PURE__ */ g(s, {
133
+ value: e.id,
134
+ className: "ttw:min-w-28",
135
+ children: [e.icon, e.label]
136
+ }, e.id))
137
+ }), B && !Z ? /* @__PURE__ */ g(e, {
138
+ onClick: B,
139
+ children: [/* @__PURE__ */ h(v, { className: "ttw:size-4" }), Y.createButton]
140
+ }) : null]
141
+ }), (() => {
142
+ let e = C ? /* @__PURE__ */ h(l, {
143
+ title: Y.errorTitle,
144
+ description: Y.errorDescription,
145
+ retryLabel: V ? Y.errorRetry : void 0,
146
+ onRetry: V
147
+ }) : Z && B && H ? /* @__PURE__ */ h("div", {
148
+ className: "ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card",
149
+ children: K && q ? /* @__PURE__ */ h(u, {
150
+ emailAddress: K,
151
+ onCopyEmail: q,
152
+ onFilesSelected: H,
153
+ accept: p,
154
+ uploadStatus: W,
155
+ uploadErrorMessage: G,
156
+ onEnterManually: U ?? B,
157
+ labels: Y.addBill
158
+ }) : /* @__PURE__ */ h(u, {
159
+ onFilesSelected: H,
160
+ accept: p,
161
+ uploadStatus: W,
162
+ uploadErrorMessage: G,
163
+ onEnterManually: U ?? B,
164
+ labels: Y.addBill
165
+ })
166
+ }) : /* @__PURE__ */ h(t, {
167
+ columns: X,
168
+ data: x,
169
+ isLoading: S,
170
+ sorting: w,
171
+ onSortingChange: T,
172
+ pageSize: E,
173
+ onPageSizeChange: D,
174
+ pageSizeOptions: O,
175
+ pageInfo: k,
176
+ hasNextPage: A,
177
+ hasPrevPage: j,
178
+ onNextPage: M,
179
+ onPrevPage: N,
180
+ onRowClick: (e) => e.onOpen(),
181
+ filterComponent: Q,
182
+ children: z ? /* @__PURE__ */ h(c, {
183
+ title: Y.filteredEmptyTitle,
184
+ description: Y.filteredEmptyDescription
185
+ }) : void 0
186
+ });
187
+ return P.map((t) => /* @__PURE__ */ h(a, {
188
+ value: t.id,
189
+ children: t.id === F ? e : null
190
+ }, t.id));
191
+ })()]
192
+ });
193
+ }
194
+ //#endregion
195
+ export { x as BillsScreen, x as default };
@@ -1,2 +1,10 @@
1
- import "./index39.js";
2
- import "./index41.js";
1
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js
2
+ var e = {
3
+ collapse: "Collapse upload status",
4
+ expand: "Expand upload status",
5
+ close: "Close upload status",
6
+ statusLabel: (e) => e === "uploading" ? "Uploading" : e === "ready" ? "Ready" : "Failed",
7
+ openItem: (e) => `Open ${e}`
8
+ };
9
+ //#endregion
10
+ export { e as BILL_UPLOAD_STATUS_TRAY_LABELS_EN };
@@ -1,7 +1,8 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js
2
2
  var e = {
3
- message: "Data extracted automatically — please review all details to make sure they match",
4
- dismiss: "Dismiss this notice"
3
+ uploading: "ttw:text-muted-foreground",
4
+ ready: "ttw:text-emerald-600",
5
+ failed: "ttw:text-destructive"
5
6
  };
6
7
  //#endregion
7
- export { e as EXTRACTION_NOTICE_LABELS_EN };
8
+ export { e as UPLOAD_ITEM_ICON_TONE };
@@ -1,30 +1,93 @@
1
- import { EXTRACTION_NOTICE_LABELS_EN as e } from "./index44.js";
2
- import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
- import { Info as r, X as i } from "lucide-react";
1
+ import { cn as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { BILL_UPLOAD_STATUS_TRAY_LABELS_EN as t } from "./index43.js";
3
+ import { UPLOAD_ITEM_ICON_TONE as n } from "./index44.js";
4
+ import { useId as r } from "react";
5
+ import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
6
+ import { CheckCircle2 as s, ChevronDown as c, ChevronRight as l, ChevronUp as u, Loader2 as d, X as f, XCircle as p } from "lucide-react";
4
7
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js
5
- function a({ onDismiss: a, testId: o, labels: s }) {
6
- let c = {
7
- ...e,
8
- ...s
8
+ function m({ status: t }) {
9
+ let r = e("ttw:size-4", n[t]);
10
+ return t === "uploading" ? /* @__PURE__ */ a(d, {
11
+ "aria-hidden": !0,
12
+ className: e(r, "ttw:animate-spin")
13
+ }) : a(t === "ready" ? s : p, {
14
+ "aria-hidden": !0,
15
+ className: r
16
+ });
17
+ }
18
+ function h({ item: t, labels: n }) {
19
+ let s = r(), c = /* @__PURE__ */ o(i, { children: [
20
+ /* @__PURE__ */ a(m, { status: t.status }),
21
+ /* @__PURE__ */ a("span", {
22
+ id: s,
23
+ className: "ttw:sr-only",
24
+ children: n.statusLabel(t.status)
25
+ }),
26
+ /* @__PURE__ */ a("span", {
27
+ className: "ttw:flex-1 ttw:truncate ttw:text-left ttw:text-sm ttw:text-foreground",
28
+ children: t.fileName
29
+ }),
30
+ t.onOpen ? /* @__PURE__ */ a(l, {
31
+ "aria-hidden": !0,
32
+ className: "ttw:size-4"
33
+ }) : null
34
+ ] }), u = "ttw:flex ttw:items-center ttw:gap-3 ttw:px-4 ttw:py-2.5";
35
+ return t.onOpen ? /* @__PURE__ */ a("button", {
36
+ type: "button",
37
+ onClick: t.onOpen,
38
+ "aria-describedby": s,
39
+ "aria-label": n.openItem(t.fileName),
40
+ className: e(u, "ttw:w-full ttw:text-muted-foreground ttw:transition-colors ttw:hover:bg-muted/50 ttw:hover:text-foreground"),
41
+ children: c
42
+ }) : /* @__PURE__ */ a("div", {
43
+ "aria-describedby": s,
44
+ className: u,
45
+ children: c
46
+ });
47
+ }
48
+ function g({ sections: e, summaryLabel: n, collapsed: r, onToggleCollapsed: i, onClose: s, testId: l, labels: d }) {
49
+ let p = {
50
+ ...t,
51
+ ...d
9
52
  };
10
- return /* @__PURE__ */ n("div", {
11
- className: "ttw:flex ttw:items-start ttw:gap-3 ttw:rounded-md ttw:border ttw:border-primary/30 ttw:bg-primary/5 ttw:px-3 ttw:py-2.5",
12
- "data-testid": o,
13
- children: [
14
- /* @__PURE__ */ t(r, { className: "ttw:mt-0.5 ttw:size-4 ttw:shrink-0 ttw:text-primary" }),
15
- /* @__PURE__ */ t("p", {
16
- className: "ttw:flex-1 ttw:text-sm ttw:text-foreground",
17
- children: c.message
18
- }),
19
- /* @__PURE__ */ t("button", {
20
- type: "button",
21
- onClick: a,
22
- "aria-label": c.dismiss,
23
- className: "ttw:shrink-0 ttw:text-muted-foreground ttw:hover:text-foreground",
24
- children: /* @__PURE__ */ t(i, { className: "ttw:size-4" })
25
- })
26
- ]
53
+ return /* @__PURE__ */ o("div", {
54
+ className: "ttw:fixed ttw:right-4 ttw:bottom-4 ttw:z-50 ttw:w-96 ttw:max-w-[calc(100vw-2rem)] ttw:overflow-hidden ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card",
55
+ "data-testid": l,
56
+ children: [/* @__PURE__ */ o("div", {
57
+ className: "ttw:flex ttw:items-center ttw:gap-2 ttw:border-b ttw:border-border ttw:bg-muted/40 ttw:px-4 ttw:py-3",
58
+ children: [
59
+ /* @__PURE__ */ a("span", {
60
+ "aria-live": "polite",
61
+ className: "ttw:flex-1 ttw:text-base ttw:font-semibold ttw:text-foreground",
62
+ children: n
63
+ }),
64
+ /* @__PURE__ */ a("button", {
65
+ type: "button",
66
+ onClick: i,
67
+ "aria-label": r ? p.expand : p.collapse,
68
+ "aria-expanded": !r,
69
+ className: "ttw:text-muted-foreground ttw:hover:text-foreground",
70
+ children: a(r ? u : c, { className: "ttw:size-4" })
71
+ }),
72
+ /* @__PURE__ */ a("button", {
73
+ type: "button",
74
+ onClick: s,
75
+ "aria-label": p.close,
76
+ className: "ttw:text-muted-foreground ttw:hover:text-foreground",
77
+ children: /* @__PURE__ */ a(f, { className: "ttw:size-4" })
78
+ })
79
+ ]
80
+ }), r ? null : /* @__PURE__ */ a("div", {
81
+ className: "ttw:max-h-96 ttw:overflow-y-auto",
82
+ children: e.map((e) => /* @__PURE__ */ o("div", { children: [e.caption ? /* @__PURE__ */ a("p", {
83
+ className: "ttw:px-4 ttw:pt-3 ttw:pb-1 ttw:text-xs ttw:text-muted-foreground",
84
+ children: e.caption
85
+ }) : null, e.items.map((e) => /* @__PURE__ */ a(h, {
86
+ item: e,
87
+ labels: p
88
+ }, e.id))] }, e.id))
89
+ })]
27
90
  });
28
91
  }
29
92
  //#endregion
30
- export { a as ExtractionNotice, a as default };
93
+ export { g as BillUploadStatusTray, g as default };