@tesouro/embedded-components-react 0.11.9 → 0.11.11

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 (51) hide show
  1. package/dist/index.css +12 -49
  2. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index3.js +8 -6
  3. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index4.js +99 -94
  4. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index41.js +3 -4
  5. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index14.js +1 -1
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index15.js +1 -1
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index31.js +1 -1
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index33.js +1 -1
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index34.js +2 -2
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index36.js +2 -1
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index37.js +110 -100
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index48.js +1 -1
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index49.js +1 -1
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index5.js +1 -1
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/ui/dist/index4.js +45 -40
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index16.js +259 -210
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +190 -165
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index8.js +7 -1
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index18.js +1 -1
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index2.js +1 -1
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index20.js +151 -143
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index3.js +1 -1
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillPayWidget.js +1 -1
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index5.js +1 -1
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index6.js +1 -1
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +19 -17
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index10.js +13 -2
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index11.js +52 -2
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index12.js +2 -40
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js +3 -2
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index14.js +39 -9
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index15.js +2 -77
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +10 -0
  34. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +77 -2
  35. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +2 -3
  36. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +25 -26
  37. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +3 -2
  38. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +28 -5
  39. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +2 -33
  40. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +6 -2
  41. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +33 -0
  42. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +2 -0
  43. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index6.js +9 -30
  44. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index8.js +29 -11
  45. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index9.js +1 -53
  46. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/index.js +2 -1
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/groupCollapse.js +22 -0
  48. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  49. package/dist/packages/shared-ui-shadcn/dist/index.js +1637 -1507
  50. package/package.json +1 -1
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +0 -28
@@ -10,196 +10,218 @@ import "../../../../shared/data-access/dist/index.js";
10
10
  import "../../../../shared/ui/dist/index.js";
11
11
  import { useWidgetConfig as te, useWidgetInitStaleForToken as ne } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
12
12
  import "../../../../shared/feature/dist/index.js";
13
+ import { BILL_STATUS_BADGE_LABELS_EN as re } from "../../../../shared/document-status/ui/dist/index2.js";
14
+ import "../../../../shared/document-status/ui/dist/index.js";
13
15
  import { BillDecisionDialog as r } from "../../../ui/dist/index4.js";
14
16
  import "../../../ui/dist/index.js";
15
- import { AddBillDialog as re } from "../../ui/dist/index6.js";
16
- import { BillsScreen as i } from "../../ui/dist/index20.js";
17
+ import { AddBillDialog as ie } from "../../ui/dist/index6.js";
18
+ import { BillsScreen as ae } from "../../ui/dist/index20.js";
17
19
  import "../../ui/dist/index.js";
18
- import { BILL_QUEUE_ORDER as a, DUPLICATES_TAB_ID as o } from "./index5.js";
19
- import { BILLS_TAB_LABELS_EN as s } from "./index8.js";
20
- import { BillDuplicateView as c, useBillsTable as ie } from "./index16.js";
21
- import { useDuplicateBillsCount as ae } from "./index2.js";
22
- import { formatBillQueueBadge as l } from "./index3.js";
23
- import { copyTextToClipboard as u } from "./index6.js";
24
- import { resolveDuplicateWarning as d } from "./index7.js";
25
- import { billsTableCellTestIds as f } from "./index9.js";
26
- import { useBillQueueCounts as p } from "./index10.js";
27
- import { useCallback as m, useImperativeHandle as oe, useMemo as h, useState as g } from "react";
28
- import { Fragment as _, jsx as v, jsxs as se } from "react/jsx-runtime";
20
+ import { BILL_QUEUE_ORDER as i, DUPLICATES_TAB_ID as a } from "./index5.js";
21
+ import { BILLS_TAB_LABELS_EN as o } from "./index8.js";
22
+ import { BillDuplicateView as s, useBillsTable as c } from "./index16.js";
23
+ import { useDuplicateBillsCount as l } from "./index2.js";
24
+ import { formatBillQueueBadge as u } from "./index3.js";
25
+ import { copyTextToClipboard as oe } from "./index6.js";
26
+ import { resolveDuplicateWarning as se } from "./index7.js";
27
+ import { billsTableCellTestIds as ce } from "./index9.js";
28
+ import { useBillQueueCounts as le } from "./index10.js";
29
+ import { useCallback as d, useImperativeHandle as ue, useMemo as f, useState as p } from "react";
30
+ import { Fragment as m, jsx as h, jsxs as de } from "react/jsx-runtime";
29
31
  // ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js
30
- var ce = () => void 0;
31
- function y({ labels: y, onOpenBill: b, onEnterManually: x, onFilesSelected: le, maxFiles: S, onSettingsClick: ue, ref: de }) {
32
- let C = h(() => ({
33
- ...s,
34
- ...y,
32
+ var fe = () => void 0;
33
+ function g({ labels: g, onOpenBill: _, onEnterManually: v, onFilesSelected: y, maxFiles: b, onSettingsClick: pe, ref: me }) {
34
+ let x = f(() => ({
35
+ ...o,
36
+ ...g,
35
37
  queues: {
36
- ...s.queues,
37
- ...y?.queues
38
+ ...o.queues,
39
+ ...g?.queues
38
40
  },
39
41
  scheduledRelativeDay: {
40
- ...s.scheduledRelativeDay,
41
- ...y?.scheduledRelativeDay
42
+ ...o.scheduledRelativeDay,
43
+ ...g?.scheduledRelativeDay
42
44
  },
43
45
  filters: {
44
- ...s.filters,
45
- ...y?.filters,
46
+ ...o.filters,
47
+ ...g?.filters,
46
48
  presets: {
47
- ...s.filters.presets,
48
- ...y?.filters?.presets
49
+ ...o.filters.presets,
50
+ ...g?.filters?.presets
49
51
  },
50
52
  statuses: {
51
- ...s.filters.statuses,
52
- ...y?.filters?.statuses
53
+ ...o.filters.statuses,
54
+ ...g?.filters?.statuses
53
55
  },
54
56
  dateFieldNames: {
55
- ...s.filters.dateFieldNames,
56
- ...y?.filters?.dateFieldNames
57
+ ...o.filters.dateFieldNames,
58
+ ...g?.filters?.dateFieldNames
57
59
  }
58
60
  },
59
61
  filterBar: {
60
- ...s.filterBar,
61
- ...y?.filterBar
62
+ ...o.filterBar,
63
+ ...g?.filterBar
62
64
  },
63
65
  duplicatesEmptyState: {
64
- ...s.duplicatesEmptyState,
65
- ...y?.duplicatesEmptyState
66
+ ...o.duplicatesEmptyState,
67
+ ...g?.duplicatesEmptyState
66
68
  },
67
- queueEmptyStates: a.reduce((e, t) => ({
69
+ queueEmptyStates: i.reduce((e, t) => ({
68
70
  ...e,
69
71
  [t]: {
70
- ...s.queueEmptyStates[t],
71
- ...y?.queueEmptyStates?.[t]
72
+ ...o.queueEmptyStates[t],
73
+ ...g?.queueEmptyStates?.[t]
72
74
  }
73
75
  }), {})
74
- }), [y]), [fe, w] = g(!1), [T, E] = g(c.AllBills), { initResponse: D } = te(), O = ne(), k = t(D?.scopes, [n.PayableReadOrg]), A = t(D?.scopes, [n.PayableWriteOrg]), j = !D || k, M = !D || A, N = D && !O ? t(D.scopes, [n.PayablePayOrg]) : void 0, P = t(D?.scopes, [n.CounterpartReadOrg]), F = h(() => ({
75
- copyRow: C.duplicateCopyRowLabel,
76
- menuTrigger: C.duplicateMenuTrigger,
77
- notDuplicateAction: C.duplicateNotDuplicateAction,
78
- notDuplicateConfirmTitle: C.duplicateNotDuplicateConfirmTitle,
79
- notDuplicateConfirmDescription: C.duplicateNotDuplicateConfirmDescription,
80
- notDuplicateConfirmButton: C.duplicateNotDuplicateConfirmButton,
81
- notDuplicateConfirmBackButton: C.duplicateNotDuplicateConfirmBackButton,
82
- deleteAction: C.duplicateDeleteAction,
83
- deleteConfirmTitle: C.duplicateDeleteConfirmTitle,
84
- deleteConfirmDescription: C.duplicateDeleteConfirmDescription,
85
- deleteConfirmButton: C.duplicateDeleteConfirmButton,
86
- deletedToast: C.duplicateDeletedToast,
87
- confirmAction: C.duplicateConfirmAction,
88
- confirmDuplicateTitle: C.duplicateConfirmDuplicateTitle,
89
- confirmDuplicateDescription: C.duplicateConfirmDuplicateDescription,
90
- confirmDuplicateButton: C.duplicateConfirmDuplicateButton,
91
- confirmedToast: C.duplicateConfirmedToast,
92
- cancelAction: C.duplicateCancelAction,
93
- cancelConfirmTitle: C.duplicateCancelConfirmTitle,
94
- cancelConfirmDescription: C.duplicateCancelConfirmDescription,
95
- cancelConfirmButton: C.duplicateCancelConfirmButton,
96
- cancelConfirmBackButton: C.duplicateCancelConfirmBackButton,
97
- dismissedToast: C.duplicateDismissedToast,
98
- cancelledToast: C.duplicateCancelledToast,
99
- actionFailedToast: C.duplicateActionFailedToast,
100
- groupHeader: C.duplicateGroupHeader
76
+ }), [g]), [he, S] = p(!1), [C, w] = p(s.AllBills), { initResponse: T } = te(), E = ne(), D = t(T?.scopes, [n.PayableReadOrg]), O = t(T?.scopes, [n.PayableWriteOrg]), k = !T || D, A = !T || O, j = T && !E ? t(T.scopes, [n.PayablePayOrg]) : void 0, M = t(T?.scopes, [n.CounterpartReadOrg]), N = g?.screen?.statusBadge, P = f(() => ({
77
+ ...re,
78
+ ...N
79
+ }), [N]), F = f(() => ({
80
+ menuTrigger: x.duplicateMenuTrigger,
81
+ notDuplicateAction: x.duplicateNotDuplicateAction,
82
+ notDuplicateConfirmTitle: x.duplicateNotDuplicateConfirmTitle,
83
+ notDuplicateConfirmDescription: x.duplicateNotDuplicateConfirmDescription,
84
+ notDuplicateConfirmButton: x.duplicateNotDuplicateConfirmButton,
85
+ notDuplicateConfirmBackButton: x.duplicateNotDuplicateConfirmBackButton,
86
+ deleteAction: x.duplicateDeleteAction,
87
+ deleteConfirmTitle: x.duplicateDeleteConfirmTitle,
88
+ deleteConfirmDescription: x.duplicateDeleteConfirmDescription,
89
+ deleteConfirmButton: x.duplicateDeleteConfirmButton,
90
+ deletedToast: x.duplicateDeletedToast,
91
+ confirmAction: x.duplicateConfirmAction,
92
+ confirmDuplicateTitle: x.duplicateConfirmDuplicateTitle,
93
+ confirmDuplicateDescription: x.duplicateConfirmDuplicateDescription,
94
+ confirmDuplicateButton: x.duplicateConfirmDuplicateButton,
95
+ confirmedToast: x.duplicateConfirmedToast,
96
+ cancelAction: x.duplicateCancelAction,
97
+ cancelConfirmTitle: x.duplicateCancelConfirmTitle,
98
+ cancelConfirmDescription: x.duplicateCancelConfirmDescription,
99
+ cancelConfirmButton: x.duplicateCancelConfirmButton,
100
+ cancelConfirmBackButton: x.duplicateCancelConfirmBackButton,
101
+ dismissedToast: x.duplicateDismissedToast,
102
+ cancelledToast: x.duplicateCancelledToast,
103
+ actionFailedToast: x.duplicateActionFailedToast,
104
+ groupHeader: x.duplicateGroupHeader,
105
+ groupInvoice: x.duplicateGroupInvoice,
106
+ showMore: x.duplicateShowMore,
107
+ showLess: x.duplicateShowLess,
108
+ statusSummary: x.duplicateStatusSummary,
109
+ statusLabels: P,
110
+ pageInfo: x.duplicatePageInfo
101
111
  }), [
102
- C.duplicateCopyRowLabel,
103
- C.duplicateMenuTrigger,
104
- C.duplicateNotDuplicateAction,
105
- C.duplicateNotDuplicateConfirmTitle,
106
- C.duplicateNotDuplicateConfirmDescription,
107
- C.duplicateNotDuplicateConfirmButton,
108
- C.duplicateNotDuplicateConfirmBackButton,
109
- C.duplicateDeleteAction,
110
- C.duplicateDeleteConfirmTitle,
111
- C.duplicateDeleteConfirmDescription,
112
- C.duplicateDeleteConfirmButton,
113
- C.duplicateDeletedToast,
114
- C.duplicateConfirmAction,
115
- C.duplicateConfirmDuplicateTitle,
116
- C.duplicateConfirmDuplicateDescription,
117
- C.duplicateConfirmDuplicateButton,
118
- C.duplicateConfirmedToast,
119
- C.duplicateCancelAction,
120
- C.duplicateCancelConfirmTitle,
121
- C.duplicateCancelConfirmDescription,
122
- C.duplicateCancelConfirmButton,
123
- C.duplicateCancelConfirmBackButton,
124
- C.duplicateDismissedToast,
125
- C.duplicateCancelledToast,
126
- C.duplicateActionFailedToast,
127
- C.duplicateGroupHeader
128
- ]), I = t(D?.scopes, [n.MailboxReadOrg]), { mailboxAddress: L } = ee({
112
+ x.duplicateMenuTrigger,
113
+ x.duplicateNotDuplicateAction,
114
+ x.duplicateNotDuplicateConfirmTitle,
115
+ x.duplicateNotDuplicateConfirmDescription,
116
+ x.duplicateNotDuplicateConfirmButton,
117
+ x.duplicateNotDuplicateConfirmBackButton,
118
+ x.duplicateDeleteAction,
119
+ x.duplicateDeleteConfirmTitle,
120
+ x.duplicateDeleteConfirmDescription,
121
+ x.duplicateDeleteConfirmButton,
122
+ x.duplicateDeletedToast,
123
+ x.duplicateConfirmAction,
124
+ x.duplicateConfirmDuplicateTitle,
125
+ x.duplicateConfirmDuplicateDescription,
126
+ x.duplicateConfirmDuplicateButton,
127
+ x.duplicateConfirmedToast,
128
+ x.duplicateCancelAction,
129
+ x.duplicateCancelConfirmTitle,
130
+ x.duplicateCancelConfirmDescription,
131
+ x.duplicateCancelConfirmButton,
132
+ x.duplicateCancelConfirmBackButton,
133
+ x.duplicateDismissedToast,
134
+ x.duplicateCancelledToast,
135
+ x.duplicateActionFailedToast,
136
+ x.duplicateGroupHeader,
137
+ x.duplicateGroupInvoice,
138
+ x.duplicateShowMore,
139
+ x.duplicateShowLess,
140
+ x.duplicateStatusSummary,
141
+ P,
142
+ x.duplicatePageInfo
143
+ ]), I = t(T?.scopes, [n.MailboxReadOrg]), { mailboxAddress: L } = ee({
129
144
  relatedObjectType: "payable",
130
- enabled: I && !O
131
- }), R = I ? L : void 0, z = ie({
132
- enabled: j,
133
- canPay: N,
134
- canReadVendors: P,
135
- isVendorFilterPaused: O,
136
- filterLabels: C.filters,
137
- onOpenBill: b ?? ce,
138
- duplicateRowNote: C.duplicateRowNote,
139
- attachmentLabel: C.attachmentIndicator,
145
+ enabled: I && !E
146
+ }), R = I ? L : void 0, z = c({
147
+ enabled: k,
148
+ canPay: j,
149
+ canReadVendors: M,
150
+ isVendorFilterPaused: E,
151
+ filterLabels: x.filters,
152
+ onOpenBill: _ ?? fe,
153
+ duplicateRowNote: x.duplicateRowNote,
154
+ attachmentLabel: x.attachmentIndicator,
140
155
  duplicateGroupLabels: F,
141
- canManageDuplicates: M,
142
- duplicateView: T,
143
- scheduledRelativeDayLabels: C.scheduledRelativeDay
144
- }), B = ae({ enabled: j }), V = T === c.PossibleDuplicates, pe = d(B, C), H = p({
145
- enabled: j,
146
- canPay: N
147
- }), U = !B.isError && B.count > 0, me = h(() => [...a.map((e) => ({
156
+ canManageDuplicates: A,
157
+ duplicateView: C,
158
+ scheduledRelativeDayLabels: x.scheduledRelativeDay
159
+ }), B = l({ enabled: k }), V = C === s.PossibleDuplicates, ge = se(B, x), H = le({
160
+ enabled: k,
161
+ canPay: j
162
+ }), U = !B.isError && B.count > 0, _e = f(() => [...i.map((e) => ({
148
163
  id: e,
149
- label: C.queues[e],
150
- badge: l(H[e])
164
+ label: x.queues[e],
165
+ badge: u(H[e])
151
166
  })), {
152
- id: o,
153
- label: C.duplicatesTab,
154
- badge: B.isError ? void 0 : l(B.count),
167
+ id: a,
168
+ label: x.duplicatesTab,
169
+ badge: B.isError ? void 0 : u(B.count),
155
170
  tone: U ? "warning" : void 0,
156
171
  startsGroup: !0
157
172
  }], [
158
- C.queues,
159
- C.duplicatesTab,
173
+ x.queues,
174
+ x.duplicatesTab,
160
175
  H,
161
176
  B.isError,
162
177
  B.count,
163
178
  U
164
- ]), { clearQueryConstraints: W, onFilterTabChange: G } = z, K = m(() => {
165
- W(), E(c.PossibleDuplicates);
166
- }, [W]), he = m((e) => {
167
- e === "duplicates" ? K() : (E(c.AllBills), G(e));
168
- }, [G, K]), q = y?.screen, ge = h(() => ({
169
- ...q,
170
- createButton: C.createButton,
171
- settingsButton: C.settingsButton,
179
+ ]), { clearQueryConstraints: W, onFilterTabChange: G } = z, K = d(() => {
180
+ W(), w(s.PossibleDuplicates);
181
+ }, [W]), q = d((e) => {
182
+ e === "duplicates" ? K() : (w(s.AllBills), G(e));
183
+ }, [G, K]), J = g?.screen, ve = f(() => ({
184
+ ...J,
185
+ createButton: x.createButton,
186
+ settingsButton: x.settingsButton,
172
187
  addBill: {
173
- ...q?.addBill,
174
- heading: C.nonEmptyHeading
175
- }
188
+ ...J?.addBill,
189
+ heading: x.nonEmptyHeading
190
+ },
191
+ ...V ? {
192
+ columnAddedOn: x.duplicateColumnCreated,
193
+ columnAmountDue: x.duplicateColumnAmount
194
+ } : {}
176
195
  }), [
177
- q,
178
- C.createButton,
179
- C.settingsButton,
180
- C.nonEmptyHeading
181
- ]), J = h(() => ({
196
+ V,
197
+ x.duplicateColumnCreated,
198
+ x.duplicateColumnAmount,
199
+ J,
200
+ x.createButton,
201
+ x.settingsButton,
202
+ x.nonEmptyHeading
203
+ ]), ye = f(() => ({
182
204
  ...z.filterBarProps,
183
- labels: C.filterBar
184
- }), [z.filterBarProps, C.filterBar]), Y = () => {
185
- w(!1), x?.();
205
+ labels: x.filterBar
206
+ }), [z.filterBarProps, x.filterBar]), Y = () => {
207
+ S(!1), v?.();
186
208
  }, X = (e) => {
187
- w(!1), le?.(e);
209
+ S(!1), y?.(e);
188
210
  }, Z = R ? {
189
211
  emailAddress: R,
190
212
  onCopyEmail: async () => {
191
- R && (await u(R) ? e.success(C.emailCopiedToast) : e.error(C.emailCopyFailedToast));
213
+ R && (await oe(R) ? e.success(x.emailCopiedToast) : e.error(x.emailCopyFailedToast));
192
214
  }
193
215
  } : {
194
216
  emailAddress: void 0,
195
217
  onCopyEmail: void 0
196
- }, { showVendorBills: Q } = z, $ = m((e) => {
197
- E(c.AllBills), Q(e);
218
+ }, { showVendorBills: Q } = z, $ = d((e) => {
219
+ w(s.AllBills), Q(e);
198
220
  }, [Q]);
199
- return oe(de, () => ({ showVendorBills: $ }), [$]), /* @__PURE__ */ se(_, { children: [
200
- /* @__PURE__ */ v(i, {
221
+ return ue(me, () => ({ showVendorBills: $ }), [$]), /* @__PURE__ */ de(m, { children: [
222
+ /* @__PURE__ */ h(ae, {
201
223
  rows: z.rows,
202
- isLoading: z.isLoading || !D,
224
+ isLoading: z.isLoading || !T,
203
225
  isError: z.isError,
204
226
  onRetry: z.onRetry,
205
227
  sorting: z.sorting,
@@ -211,31 +233,34 @@ function y({ labels: y, onOpenBill: b, onEnterManually: x, onFilesSelected: le,
211
233
  hasPrevPage: z.hasPrevPage,
212
234
  onNextPage: z.onNextPage,
213
235
  onPrevPage: z.onPrevPage,
214
- filterTabs: me,
215
- selectedFilterTabId: V ? o : z.selectedFilterTabId,
216
- onFilterTabChange: he,
236
+ filterTabs: _e,
237
+ selectedFilterTabId: V ? a : z.selectedFilterTabId,
238
+ onFilterTabChange: q,
217
239
  searchValue: z.searchValue,
218
240
  onSearchChange: z.onSearchChange,
219
- filters: J,
241
+ filters: ye,
220
242
  visibleColumns: z.visibleColumns,
221
- cellTestIds: f,
243
+ keepsColumnOrder: z.keepsColumnOrder,
244
+ isSortable: z.isSortable,
245
+ pageInfo: z.pageInfo,
246
+ cellTestIds: ce,
222
247
  isSearchActive: z.isSearchActive,
223
248
  showAddPanelWhenEmpty: z.showAddPanelWhenEmpty,
224
- emptyState: V ? C.duplicatesEmptyState : C.queueEmptyStates[z.selectedFilterTabId],
225
- onCreateClick: M ? () => w(!0) : void 0,
226
- onSettingsClick: ue,
227
- onEnterManually: M ? Y : void 0,
228
- onFilesSelected: M ? X : void 0,
229
- maxFiles: S,
249
+ emptyState: V ? x.duplicatesEmptyState : x.queueEmptyStates[z.selectedFilterTabId],
250
+ onCreateClick: A ? () => S(!0) : void 0,
251
+ onSettingsClick: pe,
252
+ onEnterManually: A ? Y : void 0,
253
+ onFilesSelected: A ? X : void 0,
254
+ maxFiles: b,
230
255
  ...Z,
231
- duplicateWarning: pe,
256
+ duplicateWarning: ge,
232
257
  duplicateReviewControl: V ? void 0 : {
233
- reviewLabel: C.duplicateReviewButton,
258
+ reviewLabel: x.duplicateReviewButton,
234
259
  onReview: K
235
260
  },
236
- labels: ge
261
+ labels: ve
237
262
  }),
238
- /* @__PURE__ */ v(r, {
263
+ /* @__PURE__ */ h(r, {
239
264
  open: z.cancelConfirmation.open,
240
265
  copy: z.cancelConfirmation.copy,
241
266
  onConfirm: z.cancelConfirmation.onConfirm,
@@ -243,7 +268,7 @@ function y({ labels: y, onOpenBill: b, onEnterManually: x, onFilesSelected: le,
243
268
  isPending: z.cancelConfirmation.isPending,
244
269
  labels: { cancelButton: z.cancelConfirmation.cancelButtonLabel }
245
270
  }),
246
- /* @__PURE__ */ v(r, {
271
+ /* @__PURE__ */ h(r, {
247
272
  open: z.keepConfirmation.open,
248
273
  copy: z.keepConfirmation.copy,
249
274
  onConfirm: z.keepConfirmation.onConfirm,
@@ -251,19 +276,19 @@ function y({ labels: y, onOpenBill: b, onEnterManually: x, onFilesSelected: le,
251
276
  isPending: z.keepConfirmation.isPending,
252
277
  labels: { cancelButton: z.keepConfirmation.cancelButtonLabel }
253
278
  }),
254
- M ? /* @__PURE__ */ v(re, {
255
- open: fe,
256
- onOpenChange: w,
279
+ A ? /* @__PURE__ */ h(ie, {
280
+ open: he,
281
+ onOpenChange: S,
257
282
  onFilesSelected: X,
258
- maxFiles: S,
283
+ maxFiles: b,
259
284
  onEnterManually: Y,
260
285
  ...Z,
261
- dialogLabels: y?.addBillDialog?.dialog,
286
+ dialogLabels: g?.addBillDialog?.dialog,
262
287
  labels: {
263
- ...y?.addBillDialog?.panel,
264
- heading: z.hasAnyBills ? C.nonEmptyHeading : C.emptyHeading
288
+ ...g?.addBillDialog?.panel,
289
+ heading: z.hasAnyBills ? x.nonEmptyHeading : x.emptyHeading
265
290
  }
266
291
  }) : null
267
292
  ] });
268
293
  }
269
- export { y as BillsList, y as default };
294
+ export { g as BillsList, g as default };
@@ -63,7 +63,13 @@ var t = {
63
63
  duplicateCancelledToast: "Duplicate cancelled",
64
64
  duplicateActionFailedToast: "Couldn't update this duplicate. Try again.",
65
65
  duplicateGroupHeader: ({ vendorLabel: e, invoiceNumberLabel: t }) => t ? `${e} - ${t}` : e,
66
- duplicateCopyRowLabel: "Possible duplicate",
66
+ duplicateGroupInvoice: (e) => `Invoice ${e}`,
67
+ duplicateColumnCreated: "Created",
68
+ duplicateShowMore: (e) => `Show ${e} more`,
69
+ duplicateShowLess: "Show less",
70
+ duplicateStatusSummary: (e) => e.join(", "),
71
+ duplicateColumnAmount: "Amount",
72
+ duplicatePageInfo: ({ billCount: e, invoiceCount: t }) => `${e} ${e === 1 ? "bill" : "bills"} across ${t} ${t === 1 ? "invoice" : "invoices"}`,
67
73
  attachmentIndicator: "Has an attachment",
68
74
  scheduledRelativeDay: {
69
75
  today: "Today",
@@ -1,7 +1,7 @@
1
1
  import { DATA_TABLE_LABELS_EN as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
2
2
  import { BILL_STATUS_BADGE_LABELS_EN as t } from "../../../../shared/document-status/ui/dist/index2.js";
3
3
  import "../../../../shared/document-status/ui/dist/index.js";
4
- import { DUE_DATE_VALUE_LABELS_EN as n } from "../../../ui/dist/index19.js";
4
+ import { DUE_DATE_VALUE_LABELS_EN as n } from "../../../ui/dist/index21.js";
5
5
  import "../../../ui/dist/index.js";
6
6
  import { ADD_BILL_PANEL_LABELS_EN as r } from "./index2.js";
7
7
  import "./index4.js";
@@ -1,4 +1,4 @@
1
- import { BILL_UPLOAD_DROPZONE_LABELS_EN as e } from "../../../ui/dist/index14.js";
1
+ import { BILL_UPLOAD_DROPZONE_LABELS_EN as e } from "../../../ui/dist/index16.js";
2
2
  import "../../../ui/dist/index.js";
3
3
  // ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index2.js
4
4
  var t = {