@tesouro/embedded-components-react 0.11.198 → 0.11.201

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