@tesouro/embedded-components-react 0.11.189 → 0.11.191

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 (38) hide show
  1. package/README.md +12 -8
  2. package/dist/index.d.ts +16 -1
  3. package/dist/index.js +40 -39
  4. package/dist/lib/BillPayWidget.d.ts +16 -1
  5. package/dist/lib/BillPayWidget.js +3 -1
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index27.js +4 -4
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index32.js +8 -8
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index35.js +1 -1
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index36.js +180 -180
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index45.js +62 -62
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index48.js +32 -32
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index14.js +7 -7
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index15.js +20 -20
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index33.js +5 -5
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index34.js +16 -16
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index37.js +7 -7
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index.js +3 -1
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index10.js +101 -58
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index11.js +19 -17
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index14.js +2 -0
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index15.js +169 -138
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +227 -204
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index18.js +208 -204
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index19.js +1 -0
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index21.js +10 -10
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index23.js +212 -212
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index9.js +9 -5
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +3 -1
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillPayWidget.js +43 -39
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillsTab.js +66 -64
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/index.js +1 -0
  32. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/viewModels.js +9 -9
  33. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +5 -5
  34. package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/helpers.js +21 -21
  35. package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index7.js +4 -4
  36. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  37. package/dist/packages/shared-ui-shadcn/dist/index.js +1 -1
  38. package/package.json +1 -1
@@ -10,238 +10,241 @@ 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 r } from "../../../../shared/document-status/ui/dist/index2.js";
14
- import "../../../../shared/document-status/ui/dist/index.js";
15
- import { BillDecisionDialog as i } from "../../../ui/dist/index4.js";
16
- import { BillDuplicateIcon as a } from "../../../ui/dist/index6.js";
13
+ import { BillDecisionDialog as r } from "../../../ui/dist/index4.js";
14
+ import { BillDuplicateIcon as re } from "../../../ui/dist/index6.js";
17
15
  import "../../../ui/dist/index.js";
18
- import { AddBillDialog as re } from "../../ui/dist/index6.js";
19
- import { BillsScreen as ie } from "../../ui/dist/index23.js";
16
+ import { AddBillDialog as i } from "../../ui/dist/index6.js";
17
+ import { BILL_STATUS_BADGE_LABELS_EN as a } from "../../../../shared/document-status/ui/dist/index2.js";
18
+ import "../../../../shared/document-status/ui/dist/index.js";
19
+ import { BillsScreen as o } from "../../ui/dist/index23.js";
20
20
  import "../../ui/dist/index.js";
21
- import { BILL_QUEUE_ORDER as o, BillQueue as s } from "./index5.js";
22
- import { BILLS_TAB_LABELS_EN as c } from "./index7.js";
23
- import { BillDuplicateView as l, useBillsTable as u } from "./index17.js";
24
- import { useDuplicateBillsCount as d } from "./index2.js";
25
- import { formatBillQueueBadge as ae } from "./index3.js";
26
- import { copyTextToClipboard as oe } from "./index6.js";
27
- import { billsTableCellTestIds as se } from "./index8.js";
28
- import { useBillQueueCounts as ce } from "./index9.js";
29
- import { useBillSummaryCards as le } from "./index11.js";
30
- import { useCallback as f, useImperativeHandle as ue, useMemo as p, useState as m } from "react";
31
- import { Fragment as de, jsx as h, jsxs as fe } from "react/jsx-runtime";
21
+ import { BILL_QUEUE_ORDER as s, BillQueue as c } from "./index5.js";
22
+ import { BILLS_TAB_LABELS_EN as l } from "./index7.js";
23
+ import { BillDuplicateView as u, useBillsTable as ie } from "./index17.js";
24
+ import { useDuplicateBillsCount as ae } from "./index2.js";
25
+ import { formatBillQueueBadge as oe } from "./index3.js";
26
+ import { copyTextToClipboard as d } from "./index6.js";
27
+ import { billsTableCellTestIds as f } from "./index8.js";
28
+ import { useBillQueueCounts as p } from "./index9.js";
29
+ import { useBillSummaryCards as m } from "./index11.js";
30
+ import { useCallback as h, useImperativeHandle as g, useMemo as _, useState as v } from "react";
31
+ import { Fragment as se, jsx as y, jsxs as ce } from "react/jsx-runtime";
32
32
  // ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index18.js
33
- var pe = () => void 0;
34
- function g({ labels: g, onOpenBill: _, onEnterManually: v, onFilesSelected: y, maxFiles: b, headerActionContainer: me, ref: he }) {
35
- let x = p(() => ({
36
- ...c,
37
- ...g,
33
+ var le = () => void 0;
34
+ function b({ labels: b, onOpenBill: ue, onEnterManually: de, onFilesSelected: fe, maxFiles: x, headerActionContainer: pe, selectedSummaryCard: me, onSummaryCardChange: he, ref: ge }) {
35
+ let S = _(() => ({
36
+ ...l,
37
+ ...b,
38
38
  queues: {
39
- ...c.queues,
40
- ...g?.queues
39
+ ...l.queues,
40
+ ...b?.queues
41
41
  },
42
42
  summaryCards: {
43
- ...c.summaryCards,
44
- ...g?.summaryCards,
43
+ ...l.summaryCards,
44
+ ...b?.summaryCards,
45
45
  statusCount: {
46
- ...c.summaryCards.statusCount,
47
- ...g?.summaryCards?.statusCount
46
+ ...l.summaryCards.statusCount,
47
+ ...b?.summaryCards?.statusCount
48
48
  },
49
49
  stageCount: {
50
- ...c.summaryCards.stageCount,
51
- ...g?.summaryCards?.stageCount
50
+ ...l.summaryCards.stageCount,
51
+ ...b?.summaryCards?.stageCount
52
52
  }
53
53
  },
54
54
  scheduledRelativeDay: {
55
- ...c.scheduledRelativeDay,
56
- ...g?.scheduledRelativeDay
55
+ ...l.scheduledRelativeDay,
56
+ ...b?.scheduledRelativeDay
57
57
  },
58
58
  dueDate: {
59
- ...c.dueDate,
60
- ...g?.dueDate
59
+ ...l.dueDate,
60
+ ...b?.dueDate
61
61
  },
62
62
  filters: {
63
- ...c.filters,
64
- ...g?.filters,
63
+ ...l.filters,
64
+ ...b?.filters,
65
65
  presets: {
66
- ...c.filters.presets,
67
- ...g?.filters?.presets
66
+ ...l.filters.presets,
67
+ ...b?.filters?.presets
68
68
  },
69
69
  statuses: {
70
- ...c.filters.statuses,
71
- ...g?.filters?.statuses
70
+ ...l.filters.statuses,
71
+ ...b?.filters?.statuses
72
72
  },
73
73
  dateFieldNames: {
74
- ...c.filters.dateFieldNames,
75
- ...g?.filters?.dateFieldNames
74
+ ...l.filters.dateFieldNames,
75
+ ...b?.filters?.dateFieldNames
76
76
  }
77
77
  },
78
78
  filterBar: {
79
- ...c.filterBar,
80
- ...g?.filterBar
79
+ ...l.filterBar,
80
+ ...b?.filterBar
81
81
  },
82
82
  duplicatesEmptyState: {
83
- ...c.duplicatesEmptyState,
84
- ...g?.duplicatesEmptyState
83
+ ...l.duplicatesEmptyState,
84
+ ...b?.duplicatesEmptyState
85
85
  },
86
- queueEmptyStates: o.reduce((e, t) => ({
86
+ queueEmptyStates: s.reduce((e, t) => ({
87
87
  ...e,
88
88
  [t]: {
89
- ...c.queueEmptyStates[t],
90
- ...g?.queueEmptyStates?.[t]
89
+ ...l.queueEmptyStates[t],
90
+ ...b?.queueEmptyStates?.[t]
91
91
  }
92
92
  }), {})
93
- }), [g]), [ge, S] = m(!1), [C, w] = m(l.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 = p(() => ({
94
- ...r,
95
- ...N
96
- }), [N]), F = p(() => ({
97
- menuTrigger: x.duplicateMenuTrigger,
98
- notDuplicateAction: x.duplicateNotDuplicateAction,
99
- notDuplicateConfirmTitle: x.duplicateNotDuplicateConfirmTitle,
100
- notDuplicateConfirmDescription: x.duplicateNotDuplicateConfirmDescription,
101
- notDuplicateConfirmButton: x.duplicateNotDuplicateConfirmButton,
102
- notDuplicateConfirmBackButton: x.duplicateNotDuplicateConfirmBackButton,
103
- deleteAction: x.duplicateDeleteAction,
104
- deleteConfirmTitle: x.duplicateDeleteConfirmTitle,
105
- deleteConfirmDescription: x.duplicateDeleteConfirmDescription,
106
- deleteConfirmButton: x.duplicateDeleteConfirmButton,
107
- deletedToast: x.duplicateDeletedToast,
108
- confirmAction: x.duplicateConfirmAction,
109
- confirmDuplicateTitle: x.duplicateConfirmDuplicateTitle,
110
- confirmDuplicateDescription: x.duplicateConfirmDuplicateDescription,
111
- confirmDuplicateButton: x.duplicateConfirmDuplicateButton,
112
- confirmedToast: x.duplicateConfirmedToast,
113
- cancelAction: x.duplicateCancelAction,
114
- cancelConfirmTitle: x.duplicateCancelConfirmTitle,
115
- cancelConfirmDescription: x.duplicateCancelConfirmDescription,
116
- cancelConfirmButton: x.duplicateCancelConfirmButton,
117
- cancelConfirmBackButton: x.duplicateCancelConfirmBackButton,
118
- dismissedToast: x.duplicateDismissedToast,
119
- cancelledToast: x.duplicateCancelledToast,
120
- actionFailedToast: x.duplicateActionFailedToast,
121
- groupHeader: x.duplicateGroupHeader,
122
- groupInvoice: x.duplicateGroupInvoice,
123
- showMore: x.duplicateShowMore,
124
- showLess: x.duplicateShowLess,
125
- statusSummary: x.duplicateStatusSummary,
126
- statusLabels: P,
127
- pageInfo: x.duplicatePageInfo
93
+ }), [b]), [_e, C] = v(!1), [w, T] = v(u.AllBills), { initResponse: E } = te(), D = ne(), O = t(E?.scopes, [n.PayableReadOrg]), k = t(E?.scopes, [n.PayableWriteOrg]), A = !E || O, j = !E || k, M = E && !D ? t(E.scopes, [n.PayablePayOrg]) : void 0, N = t(E?.scopes, [n.CounterpartReadOrg]), P = b?.screen?.statusBadge, F = _(() => ({
94
+ ...a,
95
+ ...P
96
+ }), [P]), I = _(() => ({
97
+ menuTrigger: S.duplicateMenuTrigger,
98
+ notDuplicateAction: S.duplicateNotDuplicateAction,
99
+ notDuplicateConfirmTitle: S.duplicateNotDuplicateConfirmTitle,
100
+ notDuplicateConfirmDescription: S.duplicateNotDuplicateConfirmDescription,
101
+ notDuplicateConfirmButton: S.duplicateNotDuplicateConfirmButton,
102
+ notDuplicateConfirmBackButton: S.duplicateNotDuplicateConfirmBackButton,
103
+ deleteAction: S.duplicateDeleteAction,
104
+ deleteConfirmTitle: S.duplicateDeleteConfirmTitle,
105
+ deleteConfirmDescription: S.duplicateDeleteConfirmDescription,
106
+ deleteConfirmButton: S.duplicateDeleteConfirmButton,
107
+ deletedToast: S.duplicateDeletedToast,
108
+ confirmAction: S.duplicateConfirmAction,
109
+ confirmDuplicateTitle: S.duplicateConfirmDuplicateTitle,
110
+ confirmDuplicateDescription: S.duplicateConfirmDuplicateDescription,
111
+ confirmDuplicateButton: S.duplicateConfirmDuplicateButton,
112
+ confirmedToast: S.duplicateConfirmedToast,
113
+ cancelAction: S.duplicateCancelAction,
114
+ cancelConfirmTitle: S.duplicateCancelConfirmTitle,
115
+ cancelConfirmDescription: S.duplicateCancelConfirmDescription,
116
+ cancelConfirmButton: S.duplicateCancelConfirmButton,
117
+ cancelConfirmBackButton: S.duplicateCancelConfirmBackButton,
118
+ dismissedToast: S.duplicateDismissedToast,
119
+ cancelledToast: S.duplicateCancelledToast,
120
+ actionFailedToast: S.duplicateActionFailedToast,
121
+ groupHeader: S.duplicateGroupHeader,
122
+ groupInvoice: S.duplicateGroupInvoice,
123
+ showMore: S.duplicateShowMore,
124
+ showLess: S.duplicateShowLess,
125
+ statusSummary: S.duplicateStatusSummary,
126
+ statusLabels: F,
127
+ pageInfo: S.duplicatePageInfo
128
128
  }), [
129
- x.duplicateMenuTrigger,
130
- x.duplicateNotDuplicateAction,
131
- x.duplicateNotDuplicateConfirmTitle,
132
- x.duplicateNotDuplicateConfirmDescription,
133
- x.duplicateNotDuplicateConfirmButton,
134
- x.duplicateNotDuplicateConfirmBackButton,
135
- x.duplicateDeleteAction,
136
- x.duplicateDeleteConfirmTitle,
137
- x.duplicateDeleteConfirmDescription,
138
- x.duplicateDeleteConfirmButton,
139
- x.duplicateDeletedToast,
140
- x.duplicateConfirmAction,
141
- x.duplicateConfirmDuplicateTitle,
142
- x.duplicateConfirmDuplicateDescription,
143
- x.duplicateConfirmDuplicateButton,
144
- x.duplicateConfirmedToast,
145
- x.duplicateCancelAction,
146
- x.duplicateCancelConfirmTitle,
147
- x.duplicateCancelConfirmDescription,
148
- x.duplicateCancelConfirmButton,
149
- x.duplicateCancelConfirmBackButton,
150
- x.duplicateDismissedToast,
151
- x.duplicateCancelledToast,
152
- x.duplicateActionFailedToast,
153
- x.duplicateGroupHeader,
154
- x.duplicateGroupInvoice,
155
- x.duplicateShowMore,
156
- x.duplicateShowLess,
157
- x.duplicateStatusSummary,
158
- P,
159
- x.duplicatePageInfo
160
- ]), I = t(T?.scopes, [n.MailboxReadOrg]), { mailboxAddress: L } = ee({
129
+ S.duplicateMenuTrigger,
130
+ S.duplicateNotDuplicateAction,
131
+ S.duplicateNotDuplicateConfirmTitle,
132
+ S.duplicateNotDuplicateConfirmDescription,
133
+ S.duplicateNotDuplicateConfirmButton,
134
+ S.duplicateNotDuplicateConfirmBackButton,
135
+ S.duplicateDeleteAction,
136
+ S.duplicateDeleteConfirmTitle,
137
+ S.duplicateDeleteConfirmDescription,
138
+ S.duplicateDeleteConfirmButton,
139
+ S.duplicateDeletedToast,
140
+ S.duplicateConfirmAction,
141
+ S.duplicateConfirmDuplicateTitle,
142
+ S.duplicateConfirmDuplicateDescription,
143
+ S.duplicateConfirmDuplicateButton,
144
+ S.duplicateConfirmedToast,
145
+ S.duplicateCancelAction,
146
+ S.duplicateCancelConfirmTitle,
147
+ S.duplicateCancelConfirmDescription,
148
+ S.duplicateCancelConfirmButton,
149
+ S.duplicateCancelConfirmBackButton,
150
+ S.duplicateDismissedToast,
151
+ S.duplicateCancelledToast,
152
+ S.duplicateActionFailedToast,
153
+ S.duplicateGroupHeader,
154
+ S.duplicateGroupInvoice,
155
+ S.duplicateShowMore,
156
+ S.duplicateShowLess,
157
+ S.duplicateStatusSummary,
158
+ F,
159
+ S.duplicatePageInfo
160
+ ]), L = t(E?.scopes, [n.MailboxReadOrg]), { mailboxAddress: ve } = ee({
161
161
  relatedObjectType: "payable",
162
- enabled: I && !E
163
- }), R = I ? L : void 0, z = u({
164
- enabled: k,
165
- canPay: j,
166
- canReadVendors: M,
167
- isVendorFilterPaused: E,
168
- filterLabels: x.filters,
169
- onOpenBill: _ ?? pe,
170
- duplicateRowNote: x.duplicateRowNote,
171
- attachmentLabel: x.attachmentIndicator,
172
- duplicateGroupLabels: F,
173
- canManageDuplicates: A,
174
- duplicateView: C,
175
- scheduledRelativeDayLabels: x.scheduledRelativeDay,
176
- dueDateLabels: x.dueDate
177
- }), B = d({ enabled: k }), V = C === l.PossibleDuplicates, H = ce({
178
- enabled: k,
179
- canPay: j
180
- }), U = le({
181
- enabled: k,
182
- labels: x.summaryCards
183
- }), _e = p(() => o.map((e) => ({
162
+ enabled: L && !D
163
+ }), R = L ? ve : void 0, z = ie({
164
+ enabled: A,
165
+ canPay: M,
166
+ canReadVendors: N,
167
+ isVendorFilterPaused: D,
168
+ filterLabels: S.filters,
169
+ onOpenBill: ue ?? le,
170
+ duplicateRowNote: S.duplicateRowNote,
171
+ attachmentLabel: S.attachmentIndicator,
172
+ duplicateGroupLabels: I,
173
+ canManageDuplicates: j,
174
+ duplicateView: w,
175
+ scheduledRelativeDayLabels: S.scheduledRelativeDay,
176
+ dueDateLabels: S.dueDate,
177
+ selectedSummaryCard: me,
178
+ onSummaryCardChange: he
179
+ }), B = ae({ enabled: A }), V = w === u.PossibleDuplicates, H = p({
180
+ enabled: A,
181
+ canPay: M
182
+ }), U = m({
183
+ enabled: A,
184
+ labels: S.summaryCards,
185
+ selectedCard: z.summaryCard
186
+ }), ye = _(() => s.map((e) => ({
184
187
  id: e,
185
- label: x.queues[e],
186
- badge: ae(H[e])
187
- })), [x.queues, H]), { clearQueryConstraints: W, onFilterTabChange: G } = z, ve = f(() => {
188
- W(), w(l.PossibleDuplicates);
189
- }, [W]), K = f(() => {
190
- w(l.AllBills), G(s.All);
191
- }, [G]), ye = f((e) => {
192
- w(l.AllBills), G(e);
193
- }, [G]), be = !B.isError && B.groupCount > 0, xe = A && be, Se = !B.isLoading && !B.isError && B.count === 0;
194
- V && Se && K();
195
- let Ce = xe ? [{
188
+ label: S.queues[e],
189
+ badge: oe(H[e])
190
+ })), [S.queues, H]), { clearQueryConstraints: W, onFilterTabChange: G } = z, be = h(() => {
191
+ W(), T(u.PossibleDuplicates);
192
+ }, [W]), K = h(() => {
193
+ T(u.AllBills), G(c.All);
194
+ }, [G]), xe = h((e) => {
195
+ T(u.AllBills), G(e);
196
+ }, [G]), Se = !B.isError && B.groupCount > 0, Ce = j && Se, we = !B.isLoading && !B.isError && B.count === 0;
197
+ V && (we || z.summaryCard) && K();
198
+ let Te = Ce ? [{
196
199
  id: "duplicates",
197
- label: x.attentionDuplicates(B.groupCount, B.isCapped),
200
+ label: S.attentionDuplicates(B.groupCount, B.isCapped),
198
201
  tone: "warning",
199
- icon: /* @__PURE__ */ h(a, {}),
202
+ icon: /* @__PURE__ */ y(re, {}),
200
203
  pressed: V,
201
- onToggle: V ? K : ve
202
- }] : [], q = g?.screen, we = p(() => ({
204
+ onToggle: V ? K : be
205
+ }] : [], q = b?.screen, Ee = _(() => ({
203
206
  ...q,
204
- createButton: x.createButton,
207
+ createButton: S.createButton,
205
208
  addBill: {
206
209
  ...q?.addBill,
207
- heading: x.nonEmptyHeading
210
+ heading: S.nonEmptyHeading
208
211
  },
209
212
  ...V ? {
210
- columnAddedOn: x.duplicateColumnCreated,
211
- columnAmountDue: x.duplicateColumnAmount
213
+ columnAddedOn: S.duplicateColumnCreated,
214
+ columnAmountDue: S.duplicateColumnAmount
212
215
  } : {}
213
216
  }), [
214
217
  V,
215
- x.duplicateColumnCreated,
216
- x.duplicateColumnAmount,
218
+ S.duplicateColumnCreated,
219
+ S.duplicateColumnAmount,
217
220
  q,
218
- x.createButton,
219
- x.nonEmptyHeading
220
- ]), Te = p(() => ({
221
+ S.createButton,
222
+ S.nonEmptyHeading
223
+ ]), De = _(() => ({
221
224
  ...z.filterBarProps,
222
- labels: x.filterBar
223
- }), [z.filterBarProps, x.filterBar]), J = () => {
224
- S(!1), v?.();
225
+ labels: S.filterBar
226
+ }), [z.filterBarProps, S.filterBar]), J = () => {
227
+ C(!1), de?.();
225
228
  }, Y = (e) => {
226
- S(!1), y?.(e);
229
+ C(!1), fe?.(e);
227
230
  }, X = R ? {
228
231
  emailAddress: R,
229
232
  onCopyEmail: async () => {
230
- R && (await oe(R) ? e.success(x.emailCopiedToast) : e.error(x.emailCopyFailedToast));
233
+ R && (await d(R) ? e.success(S.emailCopiedToast) : e.error(S.emailCopyFailedToast));
231
234
  }
232
235
  } : {
233
236
  emailAddress: void 0,
234
237
  onCopyEmail: void 0
235
- }, { showVendorBills: Z } = z, Q = f((e) => {
236
- w(l.AllBills), Z(e);
237
- }, [Z]), $ = f(() => S(!0), []);
238
- return ue(he, () => ({
238
+ }, { showVendorBills: Z } = z, Q = h((e) => {
239
+ T(u.AllBills), Z(e);
240
+ }, [Z]), $ = h(() => C(!0), []);
241
+ return g(ge, () => ({
239
242
  showVendorBills: Q,
240
243
  openAddBill: $
241
- }), [Q, $]), /* @__PURE__ */ fe(de, { children: [
242
- /* @__PURE__ */ h(ie, {
244
+ }), [Q, $]), /* @__PURE__ */ ce(se, { children: [
245
+ /* @__PURE__ */ y(o, {
243
246
  rows: z.rows,
244
- isLoading: z.isLoading || !T,
247
+ isLoading: z.isLoading || !E,
245
248
  isError: z.isError,
246
249
  onRetry: z.onRetry,
247
250
  sorting: z.sorting,
@@ -253,48 +256,49 @@ function g({ labels: g, onOpenBill: _, onEnterManually: v, onFilesSelected: y, m
253
256
  hasPrevPage: z.hasPrevPage,
254
257
  onNextPage: z.onNextPage,
255
258
  onPrevPage: z.onPrevPage,
256
- filterTabs: _e,
259
+ filterTabs: ye,
257
260
  selectedFilterTabId: z.selectedFilterTabId,
258
- onFilterTabChange: ye,
261
+ onFilterTabChange: xe,
259
262
  searchValue: z.searchValue,
260
263
  onSearchChange: z.onSearchChange,
261
- filters: Te,
264
+ filters: De,
262
265
  visibleColumns: z.visibleColumns,
263
266
  keepsColumnOrder: z.keepsColumnOrder,
264
267
  isSortable: z.isSortable,
265
268
  pageInfo: z.pageInfo,
266
- cellTestIds: se,
269
+ cellTestIds: f,
267
270
  isSearchActive: z.isSearchActive,
268
271
  showAddPanelWhenEmpty: z.showAddPanelWhenEmpty,
269
- emptyState: V ? x.duplicatesEmptyState : x.queueEmptyStates[z.selectedFilterTabId],
270
- onCreateClick: A ? () => S(!0) : void 0,
271
- headerActionContainer: me,
272
- onEnterManually: A ? J : void 0,
273
- onFilesSelected: A ? Y : void 0,
274
- maxFiles: b,
272
+ emptyState: V ? S.duplicatesEmptyState : S.queueEmptyStates[z.selectedFilterTabId],
273
+ onCreateClick: j ? () => C(!0) : void 0,
274
+ headerActionContainer: pe,
275
+ onEnterManually: j ? J : void 0,
276
+ onFilesSelected: j ? Y : void 0,
277
+ maxFiles: x,
275
278
  ...X,
276
279
  summaryCards: U ? {
277
280
  view: U,
278
281
  labels: {
279
- group: x.summaryCards.group,
280
- loading: x.summaryCards.loading,
281
- info: x.summaryCards.info
282
- }
282
+ group: S.summaryCards.group,
283
+ loading: S.summaryCards.loading,
284
+ info: S.summaryCards.info
285
+ },
286
+ onSelect: z.onSummaryCardSelect
283
287
  } : void 0,
284
288
  attentionStrip: {
285
- label: x.attentionStripLabel,
286
- items: Ce
289
+ label: S.attentionStripLabel,
290
+ items: Te
287
291
  },
288
292
  attentionView: V ? {
289
- backLabel: x.queues[s.All],
290
- backAccessibleLabel: x.attentionBackAccessible,
291
- title: x.duplicatesViewTitle,
293
+ backLabel: S.queues[c.All],
294
+ backAccessibleLabel: S.attentionBackAccessible,
295
+ title: S.duplicatesViewTitle,
292
296
  tone: "warning",
293
297
  onBack: K
294
298
  } : void 0,
295
- labels: we
299
+ labels: Ee
296
300
  }),
297
- /* @__PURE__ */ h(i, {
301
+ /* @__PURE__ */ y(r, {
298
302
  open: z.cancelConfirmation.open,
299
303
  copy: z.cancelConfirmation.copy,
300
304
  onConfirm: z.cancelConfirmation.onConfirm,
@@ -302,7 +306,7 @@ function g({ labels: g, onOpenBill: _, onEnterManually: v, onFilesSelected: y, m
302
306
  isPending: z.cancelConfirmation.isPending,
303
307
  labels: { cancelButton: z.cancelConfirmation.cancelButtonLabel }
304
308
  }),
305
- /* @__PURE__ */ h(i, {
309
+ /* @__PURE__ */ y(r, {
306
310
  open: z.keepConfirmation.open,
307
311
  copy: z.keepConfirmation.copy,
308
312
  onConfirm: z.keepConfirmation.onConfirm,
@@ -310,19 +314,19 @@ function g({ labels: g, onOpenBill: _, onEnterManually: v, onFilesSelected: y, m
310
314
  isPending: z.keepConfirmation.isPending,
311
315
  labels: { cancelButton: z.keepConfirmation.cancelButtonLabel }
312
316
  }),
313
- A ? /* @__PURE__ */ h(re, {
314
- open: ge,
315
- onOpenChange: S,
317
+ j ? /* @__PURE__ */ y(i, {
318
+ open: _e,
319
+ onOpenChange: C,
316
320
  onFilesSelected: Y,
317
- maxFiles: b,
321
+ maxFiles: x,
318
322
  onEnterManually: J,
319
323
  ...X,
320
- dialogLabels: g?.addBillDialog?.dialog,
324
+ dialogLabels: b?.addBillDialog?.dialog,
321
325
  labels: {
322
- ...g?.addBillDialog?.panel,
323
- heading: z.hasAnyBills ? x.nonEmptyHeading : x.emptyHeading
326
+ ...b?.addBillDialog?.panel,
327
+ heading: z.hasAnyBills ? S.nonEmptyHeading : S.emptyHeading
324
328
  }
325
329
  }) : null
326
330
  ] });
327
331
  }
328
- export { g as BillsList, g as default };
332
+ export { b as BillsList, b as default };
@@ -1,4 +1,5 @@
1
1
  import "./index5.js";
2
2
  import "./index7.js";
3
+ import "./index10.js";
3
4
  import "./index17.js";
4
5
  import "./index18.js";
@@ -1,17 +1,17 @@
1
1
  import { DATA_TABLE_LABELS_EN as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { BILL_STATUS_BADGE_LABELS_EN as t } from "../../../../shared/document-status/ui/dist/index2.js";
3
- import "../../../../shared/document-status/ui/dist/index.js";
4
- import { ADD_BILL_PANEL_LABELS_EN as n } from "./index2.js";
2
+ import { ADD_BILL_PANEL_LABELS_EN as t } from "./index2.js";
5
3
  import "./index4.js";
6
- import { MISSING_VALUE_LABELS_EN as r } from "./index15.js";
4
+ import { MISSING_VALUE_LABELS_EN as n } from "./index15.js";
7
5
  import "./index17.js";
8
- import { NO_VALUE_LABELS_EN as i } from "./index18.js";
6
+ import { NO_VALUE_LABELS_EN as r } from "./index18.js";
9
7
  import "./index20.js";
8
+ import { BILL_STATUS_BADGE_LABELS_EN as i } from "../../../../shared/document-status/ui/dist/index2.js";
9
+ import "../../../../shared/document-status/ui/dist/index.js";
10
10
  // ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index21.js
11
11
  var a = ".pdf,.png,.jpg,.jpeg,.doc,.docx", o = {
12
- ...n,
12
+ ...t,
13
13
  dropzone: {
14
- ...n.dropzone,
14
+ ...t.dropzone,
15
15
  fileTypesHint: "PDF, DOC, JPG, or PNG (max. 3MB)"
16
16
  }
17
17
  }, s = {
@@ -42,14 +42,14 @@ var a = ".pdf,.png,.jpg,.jpeg,.doc,.docx", o = {
42
42
  errorDescription: "Something went wrong. Try again.",
43
43
  errorRetry: "Retry",
44
44
  tableDropzoneTitle: "Drop your files here",
45
- statusBadge: t,
45
+ statusBadge: i,
46
46
  addBill: o,
47
47
  sortableHeader: {
48
48
  sortedAscending: e.sortedAscending,
49
49
  sortedDescending: e.sortedDescending,
50
50
  notSorted: e.notSorted
51
51
  },
52
- missingValue: r,
53
- noValue: i
52
+ missingValue: n,
53
+ noValue: r
54
54
  };
55
55
  export { s as BILLS_SCREEN_LABELS_EN, a as BILLS_SCREEN_UPLOAD_ACCEPT };