@tesouro/embedded-components-react 0.5.74 → 0.5.76

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 (97) hide show
  1. package/dist/experimental/InvoiceSettings.d.ts +660 -0
  2. package/dist/experimental/InvoiceSettings.js +3 -0
  3. package/dist/experimental/index.d.ts +31 -2
  4. package/dist/experimental/index.js +4 -2
  5. package/dist/index.css +0 -8
  6. package/dist/index.js +1 -1
  7. package/dist/lib/BillPayWidget.js +1 -1
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +8 -8
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +140 -7
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +46 -140
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +114 -47
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +163 -112
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +75 -164
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +21 -75
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +71 -23
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +376 -65
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +12 -381
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +84 -12
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +54 -79
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +223 -54
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +37 -223
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +245 -37
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +21 -252
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +571 -21
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +4 -572
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +44 -4
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +247 -38
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +3 -234
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +4 -3
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +44 -2
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +1 -46
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +8 -1
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +11 -6
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +127 -11
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +3 -129
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +127 -3
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +8 -124
  38. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +7 -8
  39. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +47 -8
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +18 -44
  41. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +28 -20
  42. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +82 -27
  43. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +47 -83
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +250 -47
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +123 -241
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +211 -126
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +3 -219
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +7 -4
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +98 -5
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +1 -100
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js +26 -0
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +10 -10
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +2 -72
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +12 -269
  55. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +2 -19
  56. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +16 -50
  57. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +97 -15
  58. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +76 -47
  59. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +277 -2
  60. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +2 -35
  61. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +16 -369
  62. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +56 -2
  63. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +2 -23
  64. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +15 -93
  65. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +50 -2
  66. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +1 -31
  67. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +32 -49
  68. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +374 -2
  69. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +1 -55
  70. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +20 -10
  71. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +87 -188
  72. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +1 -1
  73. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +30 -2
  74. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +48 -37
  75. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +47 -10
  76. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +10 -85
  77. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +197 -2
  78. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +2 -4
  79. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +2 -14
  80. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +41 -2
  81. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +2 -4
  82. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +14 -17
  83. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +88 -2
  84. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +1 -94
  85. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +167 -161
  86. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +5 -5
  87. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index.js +3 -1
  88. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index.js +4 -0
  89. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index2.js +5 -0
  90. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index3.js +29 -0
  91. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index4.js +2 -0
  92. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  93. package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/auditHistory/buildPayableAuditHistory.js +5 -1
  94. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
  95. package/dist/packages/shared-ui-shadcn/dist/index.js +1391 -1369
  96. package/package.json +1 -1
  97. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +0 -27
@@ -1,35 +1,35 @@
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";
1
+ import { AuditHistoryList as e, Badge as t, Button as n, CollapsibleSection 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 { ApprovalPolicyCard as d } from "./index13.js";
3
3
  import "./index14.js";
4
- import { BillRejectionNotice as p } from "./index17.js";
5
- import { BADGE_TONE_CLASS_NAME as m } from "./index15.js";
6
- import { BillStatusBadge as h } from "./index19.js";
4
+ import { BillRejectionNotice as f } from "./index17.js";
5
+ import { BADGE_TONE_CLASS_NAME as p } from "./index15.js";
6
+ import { BillStatusBadge as m } from "./index19.js";
7
7
  import "./index20.js";
8
- import { DueDateValue as g } from "./index22.js";
8
+ import { DueDateValue as h } from "./index22.js";
9
9
  import "./index23.js";
10
- import { PaymentHistoryList as _ } from "./index24.js";
10
+ import { PaymentHistoryList as g } from "./index24.js";
11
11
  import "./index25.js";
12
+ import { BILL_DETAILS_SHEET_LABELS_EN as _ } from "./index36.js";
12
13
  import { BillActionButtons as v, NO_BILL_ACTIONS as y } from "./index16.js";
13
- import { BillOverflowMenu as b } from "./index37.js";
14
- import "./index38.js";
15
- import { BILL_DETAILS_SHEET_LABELS_EN as x } from "./index64.js";
16
- import { Fragment as S, jsx as C, jsxs as w } from "react/jsx-runtime";
17
- import { ChevronDownIcon as T, MoveDiagonal2Icon as E, XIcon as D } from "lucide-react";
14
+ import { BillOverflowMenu as b } from "./index44.js";
15
+ import "./index45.js";
16
+ import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
17
+ import { MoveDiagonal2Icon as w, XIcon as T } from "lucide-react";
18
18
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js
19
- function O({ items: e }) {
20
- return /* @__PURE__ */ C("dl", {
19
+ function E({ items: e }) {
20
+ return /* @__PURE__ */ S("dl", {
21
21
  className: "ttw:flex ttw:flex-col ttw:divide-y ttw:divide-border",
22
- children: e.map((e) => /* @__PURE__ */ w("div", {
22
+ children: e.map((e) => /* @__PURE__ */ C("div", {
23
23
  className: "ttw:flex ttw:items-start ttw:gap-4 ttw:py-2.5",
24
- children: [/* @__PURE__ */ C("dt", {
24
+ children: [/* @__PURE__ */ S("dt", {
25
25
  className: "ttw:w-[140px] ttw:shrink-0 ttw:text-sm ttw:font-medium ttw:text-muted-foreground",
26
26
  children: e.label
27
- }), /* @__PURE__ */ w("dd", {
27
+ }), /* @__PURE__ */ C("dd", {
28
28
  className: "ttw:flex ttw:flex-1 ttw:flex-col ttw:items-start",
29
- children: [/* @__PURE__ */ C("span", {
29
+ children: [/* @__PURE__ */ S("span", {
30
30
  className: "ttw:text-sm ttw:font-medium ttw:text-foreground",
31
31
  children: e.value
32
- }), e.secondaryValue ? /* @__PURE__ */ C("span", {
32
+ }), e.secondaryValue ? /* @__PURE__ */ S("span", {
33
33
  className: "ttw:text-sm ttw:text-muted-foreground",
34
34
  children: e.secondaryValue
35
35
  }) : null]
@@ -37,271 +37,277 @@ function O({ items: e }) {
37
37
  }, e.label))
38
38
  });
39
39
  }
40
- function k({ heading: e, children: t }) {
41
- return /* @__PURE__ */ w(n, {
42
- defaultOpen: !0,
43
- className: "ttw:flex ttw:flex-col ttw:gap-3",
44
- children: [/* @__PURE__ */ w(i, {
45
- 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",
46
- children: [/* @__PURE__ */ C(d, {
47
- variant: "body1",
48
- className: "ttw:font-semibold",
49
- children: e
50
- }), /* @__PURE__ */ C(T, { className: "ttw:size-4 ttw:text-muted-foreground ttw:transition-transform ttw:group-data-[state=closed]:-rotate-90" })]
51
- }), /* @__PURE__ */ C(r, { children: t })]
52
- });
53
- }
54
- function A({ open: n, onOpenChange: r, details: i, actions: T = y, approvalPolicy: A, showApprovalOverrideNotice: j, awaitingApprovalNotice: M, scheduledSummary: N, paymentHistory: P, paymentHistoryError: F, paymentHistoryLoading: I, isLoading: L, isError: R, notice: z, onClose: B, onExpand: V, testId: H, labels: U }) {
55
- let W = {
56
- ...x,
57
- ...U,
40
+ function D({ open: D, onOpenChange: O, details: k, actions: A = y, approvalPolicy: j, showApprovalOverrideNotice: M, awaitingApprovalNotice: N, scheduledSummary: P, paymentHistory: F, paymentHistoryError: I, paymentHistoryLoading: L, auditHistory: R, auditHistoryError: z, auditHistoryLoading: B, auditHistoryNamesError: V, isLoading: H, isError: U, notice: W, onClose: G, onExpand: K, testId: q, labels: J }) {
41
+ let Y = {
42
+ ..._,
43
+ ...J,
58
44
  statusBadge: {
59
- ...x.statusBadge,
60
- ...U?.statusBadge
45
+ ..._.statusBadge,
46
+ ...J?.statusBadge
61
47
  },
62
48
  approvalPolicy: {
63
- ...x.approvalPolicy,
64
- ...U?.approvalPolicy
49
+ ..._.approvalPolicy,
50
+ ...J?.approvalPolicy
65
51
  },
66
52
  dueDate: {
67
- ...x.dueDate,
68
- ...U?.dueDate
53
+ ..._.dueDate,
54
+ ...J?.dueDate
55
+ },
56
+ auditHistory: {
57
+ ..._.auditHistory,
58
+ ...J?.auditHistory
69
59
  }
70
60
  };
71
- return /* @__PURE__ */ C(a, {
72
- open: n,
73
- onOpenChange: (e) => e ? r(e) : B(),
74
- children: /* @__PURE__ */ w(o, {
61
+ return /* @__PURE__ */ S(i, {
62
+ open: D,
63
+ onOpenChange: (e) => e ? O(e) : G(),
64
+ children: /* @__PURE__ */ C(a, {
75
65
  showCloseButton: !1,
76
66
  className: "ttw:w-150 ttw:gap-0 ttw:overflow-y-auto ttw:sm:max-w-150",
77
- "data-testid": H,
78
- children: [/* @__PURE__ */ w(c, {
67
+ "data-testid": q,
68
+ children: [/* @__PURE__ */ C(s, {
79
69
  className: "ttw:flex ttw:flex-row ttw:items-start ttw:justify-between ttw:gap-3",
80
- children: [/* @__PURE__ */ w("div", {
70
+ children: [/* @__PURE__ */ C("div", {
81
71
  className: "ttw:flex ttw:flex-col ttw:gap-0.5",
82
72
  children: [
83
- /* @__PURE__ */ C(l, {
84
- className: L ? "ttw:sr-only" : "ttw:text-xl ttw:font-semibold",
85
- children: R ? W.errorTitle : L ? W.loadingTitle : i?.title
73
+ /* @__PURE__ */ S(c, {
74
+ className: H ? "ttw:sr-only" : "ttw:text-xl ttw:font-semibold",
75
+ children: U ? Y.errorTitle : H ? Y.loadingTitle : k?.title
86
76
  }),
87
- L ? /* @__PURE__ */ w("div", {
77
+ H ? /* @__PURE__ */ C("div", {
88
78
  "aria-hidden": !0,
89
79
  className: "ttw:flex ttw:flex-col ttw:gap-2 ttw:py-1",
90
- children: [/* @__PURE__ */ C(u, { className: "ttw:h-6 ttw:w-48" }), /* @__PURE__ */ C(u, { className: "ttw:h-4 ttw:w-28" })]
80
+ children: [/* @__PURE__ */ S(l, { className: "ttw:h-6 ttw:w-48" }), /* @__PURE__ */ S(l, { className: "ttw:h-4 ttw:w-28" })]
91
81
  }) : null,
92
- i && !L && !R ? /* @__PURE__ */ C("p", {
82
+ k && !H && !U ? /* @__PURE__ */ S("p", {
93
83
  className: "ttw:text-sm ttw:text-muted-foreground",
94
- children: i.subtitle
84
+ children: k.subtitle
95
85
  }) : null,
96
- /* @__PURE__ */ C(s, {
86
+ /* @__PURE__ */ S(o, {
97
87
  className: "ttw:sr-only",
98
- children: W.hiddenDescription
88
+ children: Y.hiddenDescription
99
89
  })
100
90
  ]
101
- }), /* @__PURE__ */ w("div", {
91
+ }), /* @__PURE__ */ C("div", {
102
92
  className: "ttw:flex ttw:items-center ttw:gap-1",
103
93
  children: [
104
- V ? /* @__PURE__ */ C(t, {
94
+ K ? /* @__PURE__ */ S(n, {
105
95
  type: "button",
106
96
  variant: "ghost",
107
97
  size: "icon",
108
- "aria-label": W.expandButton,
109
- onClick: V,
110
- children: /* @__PURE__ */ C(E, { className: "ttw:size-4" })
98
+ "aria-label": Y.expandButton,
99
+ onClick: K,
100
+ children: /* @__PURE__ */ S(w, { className: "ttw:size-4" })
111
101
  }) : null,
112
- i && !L && !R ? /* @__PURE__ */ C(b, {
113
- actions: T.menu,
114
- triggerLabel: W.overflowMenuTrigger,
102
+ k && !H && !U ? /* @__PURE__ */ S(b, {
103
+ actions: A.menu,
104
+ triggerLabel: Y.overflowMenuTrigger,
115
105
  placement: "header"
116
106
  }) : null,
117
- /* @__PURE__ */ C(t, {
107
+ /* @__PURE__ */ S(n, {
118
108
  type: "button",
119
109
  variant: "ghost",
120
110
  size: "icon",
121
- "aria-label": W.closeButton,
122
- onClick: B,
123
- children: /* @__PURE__ */ C(D, { className: "ttw:size-4" })
111
+ "aria-label": Y.closeButton,
112
+ onClick: G,
113
+ children: /* @__PURE__ */ S(T, { className: "ttw:size-4" })
124
114
  })
125
115
  ]
126
116
  })]
127
- }), /* @__PURE__ */ C("div", {
117
+ }), /* @__PURE__ */ S("div", {
128
118
  className: "ttw:flex ttw:flex-col ttw:gap-6 ttw:px-6 ttw:pb-6",
129
- children: R ? /* @__PURE__ */ C("p", {
119
+ children: U ? /* @__PURE__ */ S("p", {
130
120
  className: "ttw:text-sm ttw:text-muted-foreground",
131
- children: W.errorDescription
132
- }) : L ? /* @__PURE__ */ w("div", {
121
+ children: Y.errorDescription
122
+ }) : H ? /* @__PURE__ */ C("div", {
133
123
  className: "ttw:flex ttw:flex-col ttw:gap-6",
134
- children: [/* @__PURE__ */ C(u, { className: "ttw:h-32 ttw:w-full" }), /* @__PURE__ */ w("div", {
124
+ children: [/* @__PURE__ */ S(l, { className: "ttw:h-32 ttw:w-full" }), /* @__PURE__ */ C("div", {
135
125
  className: "ttw:flex ttw:flex-col ttw:gap-2",
136
126
  children: [
137
- /* @__PURE__ */ C(u, { className: "ttw:h-4 ttw:w-40" }),
138
- /* @__PURE__ */ C(u, { className: "ttw:h-9 ttw:w-full" }),
139
- /* @__PURE__ */ C(u, { className: "ttw:h-9 ttw:w-full" })
127
+ /* @__PURE__ */ S(l, { className: "ttw:h-4 ttw:w-40" }),
128
+ /* @__PURE__ */ S(l, { className: "ttw:h-9 ttw:w-full" }),
129
+ /* @__PURE__ */ S(l, { className: "ttw:h-9 ttw:w-full" })
140
130
  ]
141
131
  })]
142
- }) : i ? /* @__PURE__ */ w(S, { children: [
143
- z,
144
- /* @__PURE__ */ w("section", {
132
+ }) : k ? /* @__PURE__ */ C(x, { children: [
133
+ W,
134
+ /* @__PURE__ */ C("section", {
145
135
  className: "ttw:flex ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:bg-muted ttw:p-4",
146
136
  children: [
147
- /* @__PURE__ */ w("div", {
137
+ /* @__PURE__ */ C("div", {
148
138
  className: "ttw:flex ttw:flex-col ttw:gap-2",
149
- children: [i.paidOnLabel ? /* @__PURE__ */ w("div", {
139
+ children: [k.paidOnLabel ? /* @__PURE__ */ C("div", {
150
140
  className: "ttw:grid ttw:grid-cols-2 ttw:gap-x-6",
151
- children: [/* @__PURE__ */ w("div", {
141
+ children: [/* @__PURE__ */ C("div", {
152
142
  className: "ttw:flex ttw:flex-col",
153
- children: [/* @__PURE__ */ C("span", {
143
+ children: [/* @__PURE__ */ S("span", {
154
144
  className: "ttw:text-sm ttw:text-muted-foreground",
155
- children: W.amountDueHeading
156
- }), /* @__PURE__ */ C("span", {
145
+ children: Y.amountDueHeading
146
+ }), /* @__PURE__ */ S("span", {
157
147
  className: "ttw:text-3xl ttw:font-semibold",
158
- children: i.amountDueLabel
148
+ children: k.amountDueLabel
159
149
  })]
160
- }), /* @__PURE__ */ w("div", {
150
+ }), /* @__PURE__ */ C("div", {
161
151
  className: "ttw:flex ttw:flex-col",
162
- children: [/* @__PURE__ */ C("span", {
152
+ children: [/* @__PURE__ */ S("span", {
163
153
  className: "ttw:text-sm ttw:text-muted-foreground",
164
- children: W.amountPaidHeading
165
- }), /* @__PURE__ */ C("span", {
154
+ children: Y.amountPaidHeading
155
+ }), /* @__PURE__ */ S("span", {
166
156
  className: "ttw:text-3xl ttw:font-semibold ttw:text-emerald-600",
167
- children: i.amountPaidLabel
157
+ children: k.amountPaidLabel
168
158
  })]
169
159
  })]
170
- }) : /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ C("span", {
160
+ }) : /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("span", {
171
161
  className: "ttw:text-sm ttw:text-muted-foreground",
172
- children: W.amountDueHeading
173
- }), /* @__PURE__ */ C("span", {
162
+ children: Y.amountDueHeading
163
+ }), /* @__PURE__ */ S("span", {
174
164
  className: "ttw:text-3xl ttw:font-semibold",
175
- children: i.amountDueLabel
176
- })] }), /* @__PURE__ */ C("div", { children: i.paidOnLabel ? /* @__PURE__ */ C(e, {
165
+ children: k.amountDueLabel
166
+ })] }), /* @__PURE__ */ S("div", { children: k.paidOnLabel ? /* @__PURE__ */ S(t, {
177
167
  variant: "outline",
178
168
  className: "ttw:border-emerald-200 ttw:bg-emerald-50 ttw:text-emerald-700",
179
- children: i.paidOnLabel
180
- }) : N ? /* @__PURE__ */ C(e, {
169
+ children: k.paidOnLabel
170
+ }) : P ? /* @__PURE__ */ S(t, {
181
171
  variant: "outline",
182
- className: m.committed,
183
- children: N
184
- }) : /* @__PURE__ */ C(h, {
185
- status: i.status,
186
- tone: i.statusTone,
187
- labels: W.statusBadge
172
+ className: p.committed,
173
+ children: P
174
+ }) : /* @__PURE__ */ S(m, {
175
+ status: k.status,
176
+ tone: k.statusTone,
177
+ labels: Y.statusBadge
188
178
  }) })]
189
179
  }),
190
- /* @__PURE__ */ w("div", {
180
+ /* @__PURE__ */ C("div", {
191
181
  className: "ttw:grid ttw:grid-cols-2 ttw:gap-x-6 ttw:gap-y-1",
192
- children: [/* @__PURE__ */ w("div", {
182
+ children: [/* @__PURE__ */ C("div", {
193
183
  className: "ttw:flex ttw:flex-col",
194
- children: [/* @__PURE__ */ C("span", {
184
+ children: [/* @__PURE__ */ S("span", {
195
185
  className: "ttw:text-xs ttw:text-muted-foreground",
196
- children: W.invoiceDateLabel
197
- }), /* @__PURE__ */ C("span", {
186
+ children: Y.invoiceDateLabel
187
+ }), /* @__PURE__ */ S("span", {
198
188
  className: "ttw:text-sm ttw:font-medium",
199
- children: i.invoiceDateLabel
189
+ children: k.invoiceDateLabel
200
190
  })]
201
- }), /* @__PURE__ */ w("div", {
191
+ }), /* @__PURE__ */ C("div", {
202
192
  className: "ttw:flex ttw:flex-col",
203
- children: [/* @__PURE__ */ C("span", {
193
+ children: [/* @__PURE__ */ S("span", {
204
194
  className: "ttw:text-xs ttw:text-muted-foreground",
205
- children: W.dueDateLabel
206
- }), /* @__PURE__ */ C(g, {
195
+ children: Y.dueDateLabel
196
+ }), /* @__PURE__ */ S(h, {
207
197
  className: "ttw:text-sm ttw:font-medium",
208
- value: i.dueDateLabel,
209
- tone: i.dueDateTone,
210
- labels: W.dueDate
198
+ value: k.dueDateLabel,
199
+ tone: k.dueDateTone,
200
+ labels: Y.dueDate
211
201
  })]
212
202
  })]
213
203
  }),
214
- i.rejection ? /* @__PURE__ */ C(p, { ...i.rejection }) : null,
215
- j ? /* @__PURE__ */ C(d, {
204
+ k.rejection ? /* @__PURE__ */ S(f, { ...k.rejection }) : null,
205
+ M ? /* @__PURE__ */ S(u, {
216
206
  variant: "caption",
217
207
  color: "muted",
218
- children: W.approvalOverrideNotice
219
- }) : M ? /* @__PURE__ */ C(d, {
208
+ children: Y.approvalOverrideNotice
209
+ }) : N ? /* @__PURE__ */ S(u, {
220
210
  variant: "caption",
221
211
  color: "muted",
222
- children: M
212
+ children: N
223
213
  }) : null,
224
- T.row.length ? /* @__PURE__ */ C("div", {
214
+ A.row.length ? /* @__PURE__ */ S("div", {
225
215
  className: "ttw:flex ttw:items-center ttw:gap-2",
226
- children: /* @__PURE__ */ C(v, { actions: T.row })
216
+ children: /* @__PURE__ */ S(v, { actions: A.row })
227
217
  }) : null
228
218
  ]
229
219
  }),
230
- /* @__PURE__ */ C(k, {
231
- heading: i.paidOnLabel ? W.payToHeadingPaid : W.payToHeading,
232
- children: /* @__PURE__ */ C(O, { items: i.payToItems })
220
+ /* @__PURE__ */ S(r, {
221
+ defaultOpen: !0,
222
+ heading: k.paidOnLabel ? Y.payToHeadingPaid : Y.payToHeading,
223
+ children: /* @__PURE__ */ S(E, { items: k.payToItems })
233
224
  }),
234
- P?.length || F || I ? /* @__PURE__ */ C(k, {
235
- heading: W.paymentHistoryHeading,
236
- children: F ? /* @__PURE__ */ C("p", {
225
+ F?.length || I || L ? /* @__PURE__ */ S(r, {
226
+ defaultOpen: !0,
227
+ heading: Y.paymentHistoryHeading,
228
+ children: I ? /* @__PURE__ */ S("p", {
237
229
  className: "ttw:text-sm ttw:text-muted-foreground",
238
- children: W.paymentHistoryErrorDescription
239
- }) : I ? /* @__PURE__ */ C(u, { className: "ttw:h-9 ttw:w-full" }) : /* @__PURE__ */ C(_, { records: P ?? [] })
230
+ children: Y.paymentHistoryErrorDescription
231
+ }) : L ? /* @__PURE__ */ S(l, { className: "ttw:h-9 ttw:w-full" }) : /* @__PURE__ */ S(g, { records: F ?? [] })
240
232
  }) : null,
241
- /* @__PURE__ */ C(k, {
242
- heading: W.invoiceDetailsHeading,
243
- children: /* @__PURE__ */ w("div", {
233
+ /* @__PURE__ */ S(r, {
234
+ defaultOpen: !0,
235
+ heading: Y.invoiceDetailsHeading,
236
+ children: /* @__PURE__ */ C("div", {
244
237
  className: "ttw:flex ttw:flex-col ttw:gap-4",
245
238
  children: [
246
- /* @__PURE__ */ C(O, { items: i.invoiceItems }),
247
- i.lineItems.length ? /* @__PURE__ */ w("table", {
239
+ /* @__PURE__ */ S(E, { items: k.invoiceItems }),
240
+ k.lineItems.length ? /* @__PURE__ */ C("table", {
248
241
  className: "ttw:w-full ttw:text-sm",
249
- children: [/* @__PURE__ */ C("thead", { children: /* @__PURE__ */ w("tr", {
242
+ children: [/* @__PURE__ */ S("thead", { children: /* @__PURE__ */ C("tr", {
250
243
  className: "ttw:bg-muted/50 ttw:text-xs ttw:text-muted-foreground",
251
244
  children: [
252
- /* @__PURE__ */ C("th", {
245
+ /* @__PURE__ */ S("th", {
253
246
  className: "ttw:px-3 ttw:py-2 ttw:text-left ttw:font-normal",
254
- children: W.lineItemsHeading
247
+ children: Y.lineItemsHeading
255
248
  }),
256
- /* @__PURE__ */ C("th", {
249
+ /* @__PURE__ */ S("th", {
257
250
  className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:font-normal",
258
- children: W.lineItemsQuantityHeading
251
+ children: Y.lineItemsQuantityHeading
259
252
  }),
260
- /* @__PURE__ */ C("th", {
253
+ /* @__PURE__ */ S("th", {
261
254
  className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:font-normal",
262
- children: W.lineItemsAmountHeading
255
+ children: Y.lineItemsAmountHeading
263
256
  })
264
257
  ]
265
- }) }), /* @__PURE__ */ C("tbody", { children: i.lineItems.map((e) => /* @__PURE__ */ w("tr", {
258
+ }) }), /* @__PURE__ */ S("tbody", { children: k.lineItems.map((e) => /* @__PURE__ */ C("tr", {
266
259
  className: "ttw:border-b ttw:border-border",
267
260
  children: [
268
- /* @__PURE__ */ w("td", {
261
+ /* @__PURE__ */ C("td", {
269
262
  className: "ttw:px-3 ttw:py-2",
270
- children: [/* @__PURE__ */ C("span", {
263
+ children: [/* @__PURE__ */ S("span", {
271
264
  className: "ttw:block",
272
265
  children: e.description
273
- }), /* @__PURE__ */ C("span", {
266
+ }), /* @__PURE__ */ S("span", {
274
267
  className: "ttw:block ttw:text-xs ttw:text-muted-foreground",
275
268
  children: e.glCodeLabel
276
269
  })]
277
270
  }),
278
- /* @__PURE__ */ C("td", {
271
+ /* @__PURE__ */ S("td", {
279
272
  className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:whitespace-nowrap ttw:text-muted-foreground",
280
273
  children: e.quantityLabel
281
274
  }),
282
- /* @__PURE__ */ C("td", {
275
+ /* @__PURE__ */ S("td", {
283
276
  className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:whitespace-nowrap",
284
277
  children: e.amountLabel
285
278
  })
286
279
  ]
287
280
  }, e.id)) })]
288
281
  }) : null,
289
- /* @__PURE__ */ C("dl", {
282
+ /* @__PURE__ */ S("dl", {
290
283
  className: "ttw:flex ttw:flex-col ttw:gap-1",
291
- children: i.totals.map((e) => /* @__PURE__ */ w("div", {
284
+ children: k.totals.map((e) => /* @__PURE__ */ C("div", {
292
285
  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",
293
- children: [/* @__PURE__ */ C("dt", {
286
+ children: [/* @__PURE__ */ S("dt", {
294
287
  className: e.emphasis ? "" : "ttw:text-muted-foreground",
295
288
  children: e.label
296
- }), /* @__PURE__ */ C("dd", { children: e.value })]
289
+ }), /* @__PURE__ */ S("dd", { children: e.value })]
297
290
  }, e.label))
298
291
  })
299
292
  ]
300
293
  })
301
294
  }),
302
- A ? /* @__PURE__ */ C(f, {
303
- view: A,
304
- labels: W.approvalPolicy
295
+ /* @__PURE__ */ C(r, {
296
+ heading: Y.auditHistory.heading,
297
+ children: [V ? /* @__PURE__ */ S(u, {
298
+ variant: "caption",
299
+ color: "muted",
300
+ children: Y.auditHistory.namesError
301
+ }) : null, /* @__PURE__ */ S(e, {
302
+ rows: R ?? [],
303
+ isLoading: B,
304
+ isError: z,
305
+ labels: Y.auditHistory
306
+ })]
307
+ }),
308
+ j ? /* @__PURE__ */ S(d, {
309
+ view: j,
310
+ labels: Y.approvalPolicy
305
311
  }) : null
306
312
  ] }) : null
307
313
  })]
@@ -309,4 +315,4 @@ function A({ open: n, onOpenChange: r, details: i, actions: T = y, approvalPolic
309
315
  });
310
316
  }
311
317
  //#endregion
312
- export { A as BillDetailsSheet, A as default };
318
+ export { D as BillDetailsSheet, D as default };
@@ -10,11 +10,11 @@ import { BillStatusBadge as ae } from "./index19.js";
10
10
  import "./index20.js";
11
11
  import { DueDateValue as p } from "./index22.js";
12
12
  import "./index23.js";
13
- import { MissingValue as m } from "./index59.js";
14
- import "./index60.js";
15
- import { NoValue as oe } from "./index62.js";
16
- import "./index63.js";
17
- import { BILLS_SCREEN_LABELS_EN as h, BILLS_SCREEN_UPLOAD_ACCEPT as g } from "./index64.js";
13
+ import { MissingValue as m } from "./index31.js";
14
+ import "./index32.js";
15
+ import { NoValue as oe } from "./index34.js";
16
+ import "./index35.js";
17
+ import { BILLS_SCREEN_LABELS_EN as h, BILLS_SCREEN_UPLOAD_ACCEPT as g } from "./index36.js";
18
18
  import { BillsFilterBar as se } from "./index79.js";
19
19
  import "./index80.js";
20
20
  import { BillColumn as _ } from "./index81.js";
@@ -3,4 +3,6 @@ import { SettingsSection as e } from "./index4.js";
3
3
  import { HELP_FAQ_EN as t } from "../../help/ui/contract/dist/index3.js";
4
4
  import { SettingsWidget as n } from "./index6.js";
5
5
  import "./index7.js";
6
- export { t as HELP_FAQ_EN, e as SettingsSection, n as SettingsWidget };
6
+ import { InvoiceSettings as r } from "../../invoice-settings/feature/dist/index3.js";
7
+ import "../../invoice-settings/feature/dist/index.js";
8
+ export { t as HELP_FAQ_EN, r as InvoiceSettings, e as SettingsSection, n as SettingsWidget };
@@ -0,0 +1,4 @@
1
+ import "./index2.js";
2
+ import { InvoiceSettings as e } from "./index3.js";
3
+ import "./index4.js";
4
+ export { e as InvoiceSettings };
@@ -0,0 +1,5 @@
1
+ import { SETTINGS_WIDGET_NAME as e } from "../../../shared/util/dist/lib/widgetName.js";
2
+ //#region ../../libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index2.js
3
+ var t = `${e}.invoice_settings`, n = { Mounted: `${t}.mounted` };
4
+ //#endregion
5
+ export { n as InvoiceSettingsAnalyticsEvent, t as WIDGET_NAME };
@@ -0,0 +1,29 @@
1
+ "use client";
2
+ "use client";
3
+ "use client";
4
+ "use client";
5
+ import { useAnalyticsTrack as e } from "../../../../shared/feature/dist/lib/analytics/hooks.js";
6
+ import "../../../../shared/feature/dist/index.js";
7
+ import { TemplateSettings as t } from "../../../../monite-sdk/dist/index618.js";
8
+ import "../../../../monite-sdk/dist/index.js";
9
+ import { MoniteRegionProvider as n } from "../../../../shared/monite-wrapper/feature/dist/lib/MoniteRegionProvider.js";
10
+ import "../../../../shared/monite-wrapper/feature/dist/index.js";
11
+ import { InvoiceSettingsAnalyticsEvent as r, WIDGET_NAME as i } from "./index2.js";
12
+ import { useEffect as a } from "react";
13
+ import { jsx as o } from "react/jsx-runtime";
14
+ //#region ../../libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index3.js
15
+ function s() {
16
+ let n = e();
17
+ return a(() => {
18
+ n(r.Mounted);
19
+ }, [n]), /* @__PURE__ */ o(t, { showHeader: !1 });
20
+ }
21
+ function c(e) {
22
+ return /* @__PURE__ */ o(n, {
23
+ widgetName: i,
24
+ ...e,
25
+ children: /* @__PURE__ */ o(s, {})
26
+ });
27
+ }
28
+ //#endregion
29
+ export { c as InvoiceSettings };
@@ -0,0 +1,2 @@
1
+ import "./index2.js";
2
+ import "./index3.js";
@@ -1,5 +1,5 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
2
- var e = "@tesouro/embedded-components-react", t = "0.5.74", n = "49fe68b21961818b74da7c9f614505178d899dec", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.5.76", n = "25521c203c12f57de4afe405adb14d898c40abb3", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
@@ -133,5 +133,9 @@ function f(e, n, r) {
133
133
  }] : [];
134
134
  });
135
135
  }
136
+ function p(t, n, r) {
137
+ let i = new Set(n.map((e) => e.id));
138
+ return t.some((t) => i.has(t.id) && t.recorded_by === "user" && !!t.entity_user_id && !e(t, r));
139
+ }
136
140
  //#endregion
137
- export { f as buildPayableAuditHistory };
141
+ export { f as buildPayableAuditHistory, p as hasUnattributedAuditRows };
@@ -4,7 +4,7 @@
4
4
  "use client";
5
5
  import { Scope as e } from "../../../shared/data-access/dist/lib/scopes.js";
6
6
  import "../../../shared/data-access/dist/index.js";
7
- import { BillPayWidget as t } from "../../../bill-pay-widget/feature/dist/index88.js";
7
+ import { BillPayWidget as t } from "../../../bill-pay-widget/feature/dist/index87.js";
8
8
  import "../../../bill-pay-widget/feature/dist/index.js";
9
9
  import { jsx as n } from "react/jsx-runtime";
10
10
  //#region ../../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js