@tesouro/embedded-components-react 0.5.27 → 0.5.29

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 (121) hide show
  1. package/dist/index.css +18 -6
  2. package/dist/index.js +1 -1
  3. package/dist/lib/BillPayWidget.js +1 -1
  4. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js +5 -5
  5. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index14.js +2 -44
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +7 -7
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +1 -1
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +1 -1
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +2 -2
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +2 -2
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +52 -67
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +15 -12
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +57 -62
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +1 -1
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +68 -207
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +278 -175
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +13 -126
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +47 -12
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +53 -47
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +204 -49
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +32 -202
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +234 -32
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +21 -240
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +532 -19
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +4 -436
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +42 -4
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +230 -35
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +3 -233
  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 +46 -8
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +18 -43
  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 +122 -241
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +206 -126
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +3 -213
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +8 -4
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +113 -6
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +1 -115
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js +24 -0
  52. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +39 -33
  53. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +10 -11
  54. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +123 -8
  55. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +2 -170
  56. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index104.js +18 -2
  57. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js +7 -11
  58. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index106.js +158 -96
  59. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index107.js +1 -1
  60. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index108.js +11 -7
  61. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index109.js +100 -44
  62. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index111.js +10 -0
  63. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index112.js +52 -0
  64. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index113.js +2 -0
  65. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js +1 -1
  66. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +20 -22
  67. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +4 -9
  68. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +103 -146
  69. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +3 -2
  70. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +93 -88
  71. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +15 -16
  72. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +1 -0
  73. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +43 -29
  74. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +55 -51
  75. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +9 -2
  76. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +33 -1
  77. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +2 -8
  78. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +2 -39
  79. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +0 -1
  80. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +6 -2
  81. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +34 -31
  82. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +2 -37
  83. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +34 -10
  84. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +2 -201
  85. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +39 -3
  86. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +3 -8
  87. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +187 -350
  88. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +3 -10
  89. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +13 -5
  90. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +356 -85
  91. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +10 -0
  92. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +9 -2
  93. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +87 -119
  94. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +2 -94
  95. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +125 -2
  96. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +25 -4
  97. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +90 -26
  98. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +3 -3
  99. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +26 -30
  100. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +4 -9
  101. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +30 -102
  102. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +9 -14
  103. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +85 -104
  104. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +3 -0
  105. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +1 -1
  106. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +1 -1
  107. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +1 -1
  108. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +291 -351
  109. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +13 -21
  110. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +30 -30
  111. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +2 -2
  112. package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index615.js +1 -1
  113. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index.js +5 -5
  114. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +17 -17
  115. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartDetails.js +4 -0
  116. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartForm.js +92 -87
  117. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  118. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
  119. package/package.json +1 -1
  120. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +0 -25
  121. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +0 -28
@@ -18,16 +18,16 @@ import { ChevronDownIcon as T, MoveDiagonal2Icon as E, XIcon as D } from "lucide
18
18
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js
19
19
  function O({ items: e }) {
20
20
  return /* @__PURE__ */ C("dl", {
21
- className: "ttw:flex ttw:flex-col",
21
+ className: "ttw:flex ttw:flex-col ttw:divide-y ttw:divide-border",
22
22
  children: e.map((e) => /* @__PURE__ */ w("div", {
23
- 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
+ className: "ttw:flex ttw:items-start ttw:gap-4 ttw:py-2.5",
24
24
  children: [/* @__PURE__ */ C("dt", {
25
- className: "ttw:text-sm ttw:text-muted-foreground",
25
+ className: "ttw:w-[140px] ttw:shrink-0 ttw:text-sm ttw:font-medium ttw:text-muted-foreground",
26
26
  children: e.label
27
27
  }), /* @__PURE__ */ w("dd", {
28
- className: "ttw:flex ttw:flex-col ttw:items-end ttw:text-right",
28
+ className: "ttw:flex ttw:flex-1 ttw:flex-col ttw:items-start",
29
29
  children: [/* @__PURE__ */ C("span", {
30
- className: "ttw:text-sm ttw:font-medium",
30
+ className: "ttw:text-sm ttw:font-medium ttw:text-foreground",
31
31
  children: e.value
32
32
  }), e.secondaryValue ? /* @__PURE__ */ C("span", {
33
33
  className: "ttw:text-sm ttw:text-muted-foreground",
@@ -51,85 +51,85 @@ function k({ heading: e, children: t }) {
51
51
  }), /* @__PURE__ */ C(r, { children: t })]
52
52
  });
53
53
  }
54
- function A({ open: n, onOpenChange: r, details: i, actions: T = y, approvalPolicy: A, showApprovalOverrideNotice: j, scheduledSummary: M, paymentHistory: N, paymentHistoryError: P, paymentHistoryLoading: F, isLoading: I, isError: L, notice: R, onClose: z, onExpand: B, testId: V, labels: H }) {
55
- let U = {
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
56
  ...x,
57
- ...H,
57
+ ...U,
58
58
  statusBadge: {
59
59
  ...x.statusBadge,
60
- ...H?.statusBadge
60
+ ...U?.statusBadge
61
61
  },
62
62
  approvalPolicy: {
63
63
  ...x.approvalPolicy,
64
- ...H?.approvalPolicy
64
+ ...U?.approvalPolicy
65
65
  },
66
66
  dueDate: {
67
67
  ...x.dueDate,
68
- ...H?.dueDate
68
+ ...U?.dueDate
69
69
  }
70
70
  };
71
71
  return /* @__PURE__ */ C(a, {
72
72
  open: n,
73
- onOpenChange: (e) => e ? r(e) : z(),
73
+ onOpenChange: (e) => e ? r(e) : B(),
74
74
  children: /* @__PURE__ */ w(o, {
75
75
  showCloseButton: !1,
76
76
  className: "ttw:w-150 ttw:gap-0 ttw:overflow-y-auto ttw:sm:max-w-150",
77
- "data-testid": V,
77
+ "data-testid": H,
78
78
  children: [/* @__PURE__ */ w(c, {
79
79
  className: "ttw:flex ttw:flex-row ttw:items-start ttw:justify-between ttw:gap-3",
80
80
  children: [/* @__PURE__ */ w("div", {
81
81
  className: "ttw:flex ttw:flex-col ttw:gap-0.5",
82
82
  children: [
83
83
  /* @__PURE__ */ C(l, {
84
- className: I ? "ttw:sr-only" : "ttw:text-xl ttw:font-semibold",
85
- children: L ? U.errorTitle : I ? U.loadingTitle : i?.title
84
+ className: L ? "ttw:sr-only" : "ttw:text-xl ttw:font-semibold",
85
+ children: R ? W.errorTitle : L ? W.loadingTitle : i?.title
86
86
  }),
87
- I ? /* @__PURE__ */ w("div", {
87
+ L ? /* @__PURE__ */ w("div", {
88
88
  "aria-hidden": !0,
89
89
  className: "ttw:flex ttw:flex-col ttw:gap-2 ttw:py-1",
90
90
  children: [/* @__PURE__ */ C(u, { className: "ttw:h-6 ttw:w-48" }), /* @__PURE__ */ C(u, { className: "ttw:h-4 ttw:w-28" })]
91
91
  }) : null,
92
- i && !I && !L ? /* @__PURE__ */ C("p", {
92
+ i && !L && !R ? /* @__PURE__ */ C("p", {
93
93
  className: "ttw:text-sm ttw:text-muted-foreground",
94
94
  children: i.subtitle
95
95
  }) : null,
96
96
  /* @__PURE__ */ C(s, {
97
97
  className: "ttw:sr-only",
98
- children: U.hiddenDescription
98
+ children: W.hiddenDescription
99
99
  })
100
100
  ]
101
101
  }), /* @__PURE__ */ w("div", {
102
102
  className: "ttw:flex ttw:items-center ttw:gap-1",
103
103
  children: [
104
- B ? /* @__PURE__ */ C(t, {
104
+ V ? /* @__PURE__ */ C(t, {
105
105
  type: "button",
106
106
  variant: "ghost",
107
107
  size: "icon",
108
- "aria-label": U.expandButton,
109
- onClick: B,
108
+ "aria-label": W.expandButton,
109
+ onClick: V,
110
110
  children: /* @__PURE__ */ C(E, { className: "ttw:size-4" })
111
111
  }) : null,
112
- i && !I && !L ? /* @__PURE__ */ C(b, {
112
+ i && !L && !R ? /* @__PURE__ */ C(b, {
113
113
  actions: T.menu,
114
- triggerLabel: U.overflowMenuTrigger,
114
+ triggerLabel: W.overflowMenuTrigger,
115
115
  placement: "header"
116
116
  }) : null,
117
117
  /* @__PURE__ */ C(t, {
118
118
  type: "button",
119
119
  variant: "ghost",
120
120
  size: "icon",
121
- "aria-label": U.closeButton,
122
- onClick: z,
121
+ "aria-label": W.closeButton,
122
+ onClick: B,
123
123
  children: /* @__PURE__ */ C(D, { className: "ttw:size-4" })
124
124
  })
125
125
  ]
126
126
  })]
127
127
  }), /* @__PURE__ */ C("div", {
128
128
  className: "ttw:flex ttw:flex-col ttw:gap-6 ttw:px-6 ttw:pb-6",
129
- children: L ? /* @__PURE__ */ C("p", {
129
+ children: R ? /* @__PURE__ */ C("p", {
130
130
  className: "ttw:text-sm ttw:text-muted-foreground",
131
- children: U.errorDescription
132
- }) : I ? /* @__PURE__ */ w("div", {
131
+ children: W.errorDescription
132
+ }) : L ? /* @__PURE__ */ w("div", {
133
133
  className: "ttw:flex ttw:flex-col ttw:gap-6",
134
134
  children: [/* @__PURE__ */ C(u, { className: "ttw:h-32 ttw:w-full" }), /* @__PURE__ */ w("div", {
135
135
  className: "ttw:flex ttw:flex-col ttw:gap-2",
@@ -140,9 +140,9 @@ function A({ open: n, onOpenChange: r, details: i, actions: T = y, approvalPolic
140
140
  ]
141
141
  })]
142
142
  }) : i ? /* @__PURE__ */ w(S, { children: [
143
- R,
143
+ z,
144
144
  /* @__PURE__ */ w("section", {
145
- className: "ttw:flex ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:bg-muted/50 ttw:p-4",
145
+ className: "ttw:flex ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:bg-muted ttw:p-4",
146
146
  children: [
147
147
  /* @__PURE__ */ w("div", {
148
148
  className: "ttw:flex ttw:flex-col ttw:gap-2",
@@ -152,7 +152,7 @@ function A({ open: n, onOpenChange: r, details: i, actions: T = y, approvalPolic
152
152
  className: "ttw:flex ttw:flex-col",
153
153
  children: [/* @__PURE__ */ C("span", {
154
154
  className: "ttw:text-sm ttw:text-muted-foreground",
155
- children: U.amountDueHeading
155
+ children: W.amountDueHeading
156
156
  }), /* @__PURE__ */ C("span", {
157
157
  className: "ttw:text-3xl ttw:font-semibold",
158
158
  children: i.amountDueLabel
@@ -161,7 +161,7 @@ function A({ open: n, onOpenChange: r, details: i, actions: T = y, approvalPolic
161
161
  className: "ttw:flex ttw:flex-col",
162
162
  children: [/* @__PURE__ */ C("span", {
163
163
  className: "ttw:text-sm ttw:text-muted-foreground",
164
- children: U.amountPaidHeading
164
+ children: W.amountPaidHeading
165
165
  }), /* @__PURE__ */ C("span", {
166
166
  className: "ttw:text-3xl ttw:font-semibold ttw:text-emerald-600",
167
167
  children: i.amountPaidLabel
@@ -169,7 +169,7 @@ function A({ open: n, onOpenChange: r, details: i, actions: T = y, approvalPolic
169
169
  })]
170
170
  }) : /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ C("span", {
171
171
  className: "ttw:text-sm ttw:text-muted-foreground",
172
- children: U.amountDueHeading
172
+ children: W.amountDueHeading
173
173
  }), /* @__PURE__ */ C("span", {
174
174
  className: "ttw:text-3xl ttw:font-semibold",
175
175
  children: i.amountDueLabel
@@ -177,14 +177,14 @@ function A({ open: n, onOpenChange: r, details: i, actions: T = y, approvalPolic
177
177
  variant: "outline",
178
178
  className: "ttw:border-emerald-200 ttw:bg-emerald-50 ttw:text-emerald-700",
179
179
  children: i.paidOnLabel
180
- }) : M ? /* @__PURE__ */ C(e, {
180
+ }) : N ? /* @__PURE__ */ C(e, {
181
181
  variant: "outline",
182
182
  className: m.committed,
183
- children: M
183
+ children: N
184
184
  }) : /* @__PURE__ */ C(h, {
185
185
  status: i.status,
186
186
  tone: i.statusTone,
187
- labels: U.statusBadge
187
+ labels: W.statusBadge
188
188
  }) })]
189
189
  }),
190
190
  /* @__PURE__ */ w("div", {
@@ -193,7 +193,7 @@ function A({ open: n, onOpenChange: r, details: i, actions: T = y, approvalPolic
193
193
  className: "ttw:flex ttw:flex-col",
194
194
  children: [/* @__PURE__ */ C("span", {
195
195
  className: "ttw:text-xs ttw:text-muted-foreground",
196
- children: U.invoiceDateLabel
196
+ children: W.invoiceDateLabel
197
197
  }), /* @__PURE__ */ C("span", {
198
198
  className: "ttw:text-sm ttw:font-medium",
199
199
  children: i.invoiceDateLabel
@@ -202,12 +202,12 @@ function A({ open: n, onOpenChange: r, details: i, actions: T = y, approvalPolic
202
202
  className: "ttw:flex ttw:flex-col",
203
203
  children: [/* @__PURE__ */ C("span", {
204
204
  className: "ttw:text-xs ttw:text-muted-foreground",
205
- children: U.dueDateLabel
205
+ children: W.dueDateLabel
206
206
  }), /* @__PURE__ */ C(g, {
207
207
  className: "ttw:text-sm ttw:font-medium",
208
208
  value: i.dueDateLabel,
209
209
  tone: i.dueDateTone,
210
- labels: U.dueDate
210
+ labels: W.dueDate
211
211
  })]
212
212
  })]
213
213
  }),
@@ -215,7 +215,11 @@ function A({ open: n, onOpenChange: r, details: i, actions: T = y, approvalPolic
215
215
  j ? /* @__PURE__ */ C(d, {
216
216
  variant: "caption",
217
217
  color: "muted",
218
- children: U.approvalOverrideNotice
218
+ children: W.approvalOverrideNotice
219
+ }) : M ? /* @__PURE__ */ C(d, {
220
+ variant: "caption",
221
+ color: "muted",
222
+ children: M
219
223
  }) : null,
220
224
  T.row.length ? /* @__PURE__ */ C("div", {
221
225
  className: "ttw:flex ttw:items-center ttw:gap-2",
@@ -224,18 +228,18 @@ function A({ open: n, onOpenChange: r, details: i, actions: T = y, approvalPolic
224
228
  ]
225
229
  }),
226
230
  /* @__PURE__ */ C(k, {
227
- heading: i.paidOnLabel ? U.payToHeadingPaid : U.payToHeading,
231
+ heading: i.paidOnLabel ? W.payToHeadingPaid : W.payToHeading,
228
232
  children: /* @__PURE__ */ C(O, { items: i.payToItems })
229
233
  }),
230
- N?.length || P || F ? /* @__PURE__ */ C(k, {
231
- heading: U.paymentHistoryHeading,
232
- children: P ? /* @__PURE__ */ C("p", {
234
+ P?.length || F || I ? /* @__PURE__ */ C(k, {
235
+ heading: W.paymentHistoryHeading,
236
+ children: F ? /* @__PURE__ */ C("p", {
233
237
  className: "ttw:text-sm ttw:text-muted-foreground",
234
- children: U.paymentHistoryErrorDescription
235
- }) : F ? /* @__PURE__ */ C(u, { className: "ttw:h-9 ttw:w-full" }) : /* @__PURE__ */ C(_, { records: N ?? [] })
238
+ children: W.paymentHistoryErrorDescription
239
+ }) : I ? /* @__PURE__ */ C(u, { className: "ttw:h-9 ttw:w-full" }) : /* @__PURE__ */ C(_, { records: P ?? [] })
236
240
  }) : null,
237
241
  /* @__PURE__ */ C(k, {
238
- heading: U.invoiceDetailsHeading,
242
+ heading: W.invoiceDetailsHeading,
239
243
  children: /* @__PURE__ */ w("div", {
240
244
  className: "ttw:flex ttw:flex-col ttw:gap-4",
241
245
  children: [
@@ -247,15 +251,15 @@ function A({ open: n, onOpenChange: r, details: i, actions: T = y, approvalPolic
247
251
  children: [
248
252
  /* @__PURE__ */ C("th", {
249
253
  className: "ttw:px-3 ttw:py-2 ttw:text-left ttw:font-normal",
250
- children: U.lineItemsHeading
254
+ children: W.lineItemsHeading
251
255
  }),
252
256
  /* @__PURE__ */ C("th", {
253
257
  className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:font-normal",
254
- children: U.lineItemsQuantityHeading
258
+ children: W.lineItemsQuantityHeading
255
259
  }),
256
260
  /* @__PURE__ */ C("th", {
257
261
  className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:font-normal",
258
- children: U.lineItemsAmountHeading
262
+ children: W.lineItemsAmountHeading
259
263
  })
260
264
  ]
261
265
  }) }), /* @__PURE__ */ C("tbody", { children: i.lineItems.map((e) => /* @__PURE__ */ w("tr", {
@@ -297,7 +301,7 @@ function A({ open: n, onOpenChange: r, details: i, actions: T = y, approvalPolic
297
301
  }),
298
302
  A ? /* @__PURE__ */ C(f, {
299
303
  view: A,
300
- labels: U.approvalPolicy
304
+ labels: W.approvalPolicy
301
305
  }) : null
302
306
  ] }) : null
303
307
  })]
@@ -1,2 +1,9 @@
1
- import "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import "react/jsx-runtime";
1
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js
2
+ var e = {
3
+ title: "Discard unsaved changes?",
4
+ description: "Your changes will be lost if you stop editing now.",
5
+ keepEditingButton: "Keep editing",
6
+ discardButton: "Discard changes"
7
+ };
8
+ //#endregion
9
+ export { e as DISCARD_CHANGES_DIALOG_LABELS_EN };
@@ -1 +1,33 @@
1
- import "./index66.js";
1
+ import { AlertDialog as e, AlertDialogContent as t, AlertDialogDescription as n, AlertDialogFooter as r, AlertDialogHeader as i, AlertDialogTitle as a, Button as o } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { DISCARD_CHANGES_DIALOG_LABELS_EN as s } from "./index66.js";
3
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
4
+ //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js
5
+ function u({ open: u, onDiscard: d, onKeepEditing: f, labels: p, testId: m, discardTestId: h }) {
6
+ let g = {
7
+ ...s,
8
+ ...p
9
+ };
10
+ return /* @__PURE__ */ c(e, {
11
+ open: u,
12
+ onOpenChange: (e) => {
13
+ e || f();
14
+ },
15
+ children: /* @__PURE__ */ l(t, {
16
+ "data-testid": m,
17
+ children: [/* @__PURE__ */ l(i, { children: [/* @__PURE__ */ c(a, { children: g.title }), /* @__PURE__ */ c(n, { children: g.description })] }), /* @__PURE__ */ l(r, { children: [/* @__PURE__ */ c(o, {
18
+ type: "button",
19
+ variant: "outline",
20
+ onClick: f,
21
+ children: g.keepEditingButton
22
+ }), /* @__PURE__ */ c(o, {
23
+ type: "button",
24
+ variant: "destructive",
25
+ onClick: d,
26
+ "data-testid": h,
27
+ children: g.discardButton
28
+ })] })]
29
+ })
30
+ });
31
+ }
32
+ //#endregion
33
+ export { u as DiscardChangesDialog, u as default };
@@ -1,8 +1,2 @@
1
- //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.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 "./index66.js";
2
+ import "./index67.js";
@@ -1,39 +1,2 @@
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 "./index68.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/index69.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
+ import "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import "react/jsx-runtime";
@@ -1,2 +1 @@
1
- import "./index68.js";
2
1
  import "./index69.js";
@@ -1,4 +1,8 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js
2
- var e = { title: "Bill rejected and returned to you for rework." };
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
+ };
3
7
  //#endregion
4
- export { e as BILL_REJECTED_BANNER_LABELS_EN };
8
+ export { e as BILL_DUPLICATE_NOTICE_LABELS_EN };
@@ -1,36 +1,39 @@
1
- import { BILL_REJECTED_BANNER_LABELS_EN as e } from "./index71.js";
2
- import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
- import { AlertTriangleIcon as r } from "lucide-react";
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 "./index71.js";
3
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
4
+ import { CopyX as o } from "lucide-react";
4
5
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js
5
- function i({ actorLabel: i, message: a, labels: o }) {
6
- let s = {
7
- ...e,
8
- ...o
6
+ function s({ onNotADuplicate: s, onRemoveBill: c, isActionDisabled: l, testId: u, labels: d }) {
7
+ let f = {
8
+ ...r,
9
+ ...d
9
10
  };
10
- return /* @__PURE__ */ n("div", {
11
- role: "alert",
12
- className: "ttw:flex ttw:gap-2 ttw:rounded-md ttw:border ttw:border-destructive/20 ttw:bg-destructive/5 ttw:p-3",
13
- children: [/* @__PURE__ */ t(r, {
14
- "aria-hidden": !0,
15
- className: "ttw:mt-0.5 ttw:size-4 ttw:shrink-0 ttw:text-destructive"
16
- }), /* @__PURE__ */ n("div", {
17
- className: "ttw:flex ttw:flex-col ttw:gap-1",
18
- children: [
19
- /* @__PURE__ */ t("p", {
20
- className: "ttw:text-sm ttw:font-medium ttw:text-destructive",
21
- children: s.title
22
- }),
23
- a ? /* @__PURE__ */ t("p", {
24
- className: "ttw:text-sm ttw:text-foreground",
25
- children: a
26
- }) : null,
27
- /* @__PURE__ */ t("p", {
28
- className: "ttw:text-sm ttw:text-muted-foreground",
29
- children: i
30
- })
31
- ]
32
- })]
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
+ ]
33
36
  });
34
37
  }
35
38
  //#endregion
36
- export { i as BillRejectedBanner, i as default };
39
+ export { s as BillDuplicateNotice, s as default };
@@ -1,39 +1,4 @@
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
1
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.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
- };
2
+ var e = { title: "Bill rejected and returned to you for rework." };
38
3
  //#endregion
39
- export { i as BILLS_FILTER_BAR_LABELS_EN };
4
+ export { e as BILL_REJECTED_BANNER_LABELS_EN };
@@ -1,12 +1,36 @@
1
+ import { BILL_REJECTED_BANNER_LABELS_EN as e } from "./index74.js";
2
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
+ import { AlertTriangleIcon as r } from "lucide-react";
1
4
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.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
- };
5
+ function i({ actorLabel: i, message: a, labels: o }) {
6
+ let s = {
7
+ ...e,
8
+ ...o
9
+ };
10
+ return /* @__PURE__ */ n("div", {
11
+ role: "alert",
12
+ className: "ttw:flex ttw:gap-2 ttw:rounded-md ttw:border ttw:border-destructive/20 ttw:bg-destructive/5 ttw:p-3",
13
+ children: [/* @__PURE__ */ t(r, {
14
+ "aria-hidden": !0,
15
+ className: "ttw:mt-0.5 ttw:size-4 ttw:shrink-0 ttw:text-destructive"
16
+ }), /* @__PURE__ */ n("div", {
17
+ className: "ttw:flex ttw:flex-col ttw:gap-1",
18
+ children: [
19
+ /* @__PURE__ */ t("p", {
20
+ className: "ttw:text-sm ttw:font-medium ttw:text-destructive",
21
+ children: s.title
22
+ }),
23
+ a ? /* @__PURE__ */ t("p", {
24
+ className: "ttw:text-sm ttw:text-foreground",
25
+ children: a
26
+ }) : null,
27
+ /* @__PURE__ */ t("p", {
28
+ className: "ttw:text-sm ttw:text-muted-foreground",
29
+ children: i
30
+ })
31
+ ]
32
+ })]
33
+ });
34
+ }
11
35
  //#endregion
12
- export { e as BillsFilterField };
36
+ export { i as BillRejectedBanner, i as default };