@tesouro/embedded-components-react 0.7.0 → 0.7.1

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.
@@ -8,9 +8,9 @@ import { useAllOrganizationUsersQuery as n } from "../../../../../shared/data-ac
8
8
  import "../../../../../shared/data-access/dist/index.js";
9
9
  import "../../../../../shared/ui/dist/index.js";
10
10
  import { useAnalyticsTrack as r } from "../../../../../shared/feature/dist/lib/analytics/hooks.js";
11
- import { WidgetProvider as i } from "../../../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
12
- import { useOptionalWidgetToken as a } from "../../../../../shared/feature/dist/lib/WidgetProvider/useWidgetToken.js";
13
- import { useWidgetConfig as ee, useWidgetInitStaleForToken as o, useWidgetLoading as s } from "../../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
11
+ import { WidgetProvider as ee } from "../../../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
12
+ import { useOptionalWidgetToken as i } from "../../../../../shared/feature/dist/lib/WidgetProvider/useWidgetToken.js";
13
+ import { useWidgetConfig as a, useWidgetInitStaleForToken as o, useWidgetLoading as s } from "../../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
14
14
  import "../../../../../shared/feature/dist/index.js";
15
15
  import { EXPENSE_STATUS_BADGE_LABELS_EN as c } from "../expenseStatus.js";
16
16
  import { TRANSACTION_DETAILS_FEATURE_LABELS_EN as l } from "../TransactionDetails/labels.js";
@@ -29,216 +29,159 @@ import { ReceiptMatchWidget as ae } from "../../../../receipt-match/feature/dist
29
29
  import "../../../../receipt-match/feature/dist/index.js";
30
30
  import { TransactionDetailsFeature as oe } from "../TransactionDetails/TransactionDetailsFeature.js";
31
31
  import { ExpenseManagementWidgetAnalyticsEvent as se, WIDGET_NAME as v } from "./analytics/events.js";
32
- import { useExpensesTransactions as ce } from "./useExpensesTransactions.js";
33
- import { useExpenseActionItems as le } from "./useExpenseActionItems.js";
34
- import { useExpenseTabBadgeCounts as ue } from "./useExpenseTabBadgeCounts.js";
35
- import { UploadReceiptWidget as de } from "../../../../../upload-receipt-widget/feature/dist/lib/UploadReceiptWidget.js";
32
+ import { useExpensesTransactions as y } from "./useExpensesTransactions.js";
33
+ import { useExpenseActionItems as ce } from "./useExpenseActionItems.js";
34
+ import { useExpenseTabBadgeCounts as le } from "./useExpenseTabBadgeCounts.js";
35
+ import { UploadReceiptWidget as ue } from "../../../../../upload-receipt-widget/feature/dist/lib/UploadReceiptWidget.js";
36
36
  import "../../../../../upload-receipt-widget/feature/dist/index.js";
37
- import { useEffect as fe, useMemo as y, useRef as b, useState as x } from "react";
38
- import { Fragment as S, jsx as C, jsxs as w } from "react/jsx-runtime";
37
+ import { useEffect as de, useMemo as b, useRef as x, useState as S } from "react";
38
+ import { Fragment as C, jsx as w, jsxs as T } from "react/jsx-runtime";
39
39
  //#region ../../libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/lib/ExpenseManagementWidget/ExpenseManagementWidget.js
40
- var pe = ".pdf,.png,.jpg,.jpeg,.gif,.svg";
41
- function T({ screenLabels: i, headerLabels: v, transactionsTableLabels: T, filterBarLabels: E, actionItemsLabels: D, statusBadgeLabels: O, transactionDetailsLabels: me, transactionDetailsCardLabels: he, transactionDetailsActionsLabels: ge, fileViewerLabels: _e, receiptUpload: ve, bankDisplayName: ye, bankLogoSrc: be, bankLogoAlt: xe, isBankingTaglineVisible: Se, onSettingsClick: Ce }) {
42
- let k = r();
43
- fe(() => {
44
- k(se.Mounted);
45
- }, [k]);
46
- let { initResponse: A, organizationId: we } = ee(), j = s(), Te = o(), M = A?.scopes, N = re(M), { hasDirectReports: Ee, isLoading: De } = te({
47
- userId: A?.userId ?? void 0,
48
- enabled: !j && !N
49
- }), P = N || Ee, F = !N && De, Oe = j && !A, ke = a()?.state.status === "loading" && !A, Ae = Oe || ke || F, I = `${we ?? ""}:${A?.userId ?? ""}`, [L, R] = x("my-transactions"), z = b(null), B = b(null), je = (e) => {
50
- z.current = I, R(e);
40
+ var fe = ".pdf,.png,.jpg,.jpeg,.gif,.svg";
41
+ function E({ screenLabels: ee, headerLabels: v, transactionsTableLabels: E, filterBarLabels: D, actionItemsLabels: O, statusBadgeLabels: k, transactionDetailsLabels: pe, transactionDetailsCardLabels: me, transactionDetailsActionsLabels: he, fileViewerLabels: ge, receiptUpload: _e, bankDisplayName: ve, bankLogoSrc: ye, bankLogoAlt: be, isBankingTaglineVisible: xe, onSettingsClick: Se }) {
42
+ let A = r();
43
+ de(() => {
44
+ A(se.Mounted);
45
+ }, [A]);
46
+ let { initResponse: j, organizationId: Ce } = a(), M = s(), we = o(), N = j?.scopes, P = re(N), { hasDirectReports: Te, isLoading: Ee } = te({
47
+ userId: j?.userId ?? void 0,
48
+ enabled: !M && !P
49
+ }), F = P || Te, I = !P && Ee, De = M && !j, Oe = i()?.state.status === "loading" && !j, ke = De || Oe || I, L = `${Ce ?? ""}:${j?.userId ?? ""}`, [R, z] = S("my-transactions"), B = x(null), V = x(null), Ae = (e) => {
50
+ B.current = L, z(e);
51
51
  };
52
- fe(() => {
53
- j || F || B.current === I || (B.current = I, z.current !== I && R(P ? "team-transactions" : "my-transactions"));
52
+ de(() => {
53
+ M || I || V.current === L || (V.current = L, B.current !== L && z(F ? "team-transactions" : "my-transactions"));
54
54
  }, [
55
- j,
55
+ M,
56
+ I,
56
57
  F,
57
- P,
58
- I
58
+ L
59
59
  ]);
60
- let Me = L === "team-transactions" && !P ? "my-transactions" : L, { data: V } = n({ enabled: P }), Ne = y(() => (V?.data ?? []).map((e) => ({
60
+ let je = R === "team-transactions" && !F ? "my-transactions" : R, { data: H } = n({ enabled: F }), Me = b(() => (H?.data ?? []).map((e) => ({
61
61
  value: e.id,
62
62
  label: e.name || e.email || e.id
63
- })), [V]), H = y(() => {
63
+ })), [H]), U = b(() => {
64
64
  let e = /* @__PURE__ */ new Map();
65
- for (let t of V?.data ?? []) e.set(t.id, t.name || t.email || t.id);
65
+ for (let t of H?.data ?? []) e.set(t.id, t.name || t.email || t.id);
66
66
  return e;
67
- }, [V]), U = y(() => ({
67
+ }, [H]), W = b(() => ({
68
68
  ...c,
69
- ...O
70
- }), [O]), W = ce({
69
+ ...k
70
+ }), [k]), G = y({
71
71
  scope: "mine",
72
- statusBadgeLabels: U
73
- }), G = ce({
72
+ statusBadgeLabels: W
73
+ }), K = y({
74
74
  scope: "team",
75
- cardholderByUserId: H,
76
- enabled: P,
77
- statusBadgeLabels: U
78
- }), [K, q] = x(null), [Pe, J] = x(!1), Y = (e) => {
79
- e.length !== 0 && q({ transactionIds: e });
80
- }, Fe = {
81
- onReviewNewTransactions: Y,
82
- onReviewRejectedTransactions: Y,
83
- onReviewPendingApproval: Y,
75
+ cardholderByUserId: U,
76
+ enabled: F,
77
+ statusBadgeLabels: W
78
+ }), [q, J] = S(null), [Ne, Y] = S(!1), X = (e) => {
79
+ e.length !== 0 && J({ transactionIds: e });
80
+ }, Pe = {
81
+ onReviewNewTransactions: X,
82
+ onReviewRejectedTransactions: X,
83
+ onReviewPendingApproval: X,
84
84
  onReviewUnmatchedReceipts: () => {
85
- J(!0);
85
+ Y(!0);
86
86
  }
87
- }, Ie = le({
87
+ }, Fe = ce({
88
88
  scope: "mine",
89
- ...Fe
90
- }), Le = le({
89
+ ...Pe
90
+ }), Ie = ce({
91
91
  scope: "team",
92
- isTeamVisible: P,
93
- ...Fe
94
- }), { mailboxAddress: Re } = t({
92
+ isTeamVisible: F,
93
+ ...Pe
94
+ }), { mailboxAddress: Le } = t({
95
95
  relatedObjectType: "receipt",
96
- enabled: _(M) && !Te
97
- }), ze = _(M) ? Re : void 0, X = h(), Be = m(), Ve = b(null), Z = b(null), [He, Q] = x(null), $ = ie(M), { trackBatch: Ue } = g(), We = b([]), { myTransactionsCount: Ge, teamTransactionsCount: Ke } = ue({ isTeamVisible: P }), { onFileUpload: qe, onAwaitMatching: Je, ...Ye } = ve ?? {}, Xe = async (e) => {
98
- let t = await X.mutateAsync({ body: { file: e } });
99
- return t.id && We.current.push(t.id), t;
100
- }, Ze = () => {
101
- let e = We.current.splice(0);
96
+ enabled: _(N) && !we
97
+ }), Re = _(N) ? Le : void 0, Z = h(), ze = m(), Be = x(null), Q = x(null), [Ve, He] = S(null), $ = ie(N), { trackBatch: Ue, trackAttachedReceipt: We } = g(), Ge = x([]), { myTransactionsCount: Ke, teamTransactionsCount: qe } = le({ isTeamVisible: F }), { onFileUpload: Je, onAwaitMatching: Ye, ...Xe } = _e ?? {}, Ze = async (e) => {
98
+ let t = await Z.mutateAsync({ body: { file: e } });
99
+ return t.id && Ge.current.push(t.id), t;
100
+ }, Qe = () => {
101
+ let e = Ge.current.splice(0);
102
102
  return Ue(e);
103
- }, Qe = (e) => {
104
- Z.current = e, Ve.current?.click();
105
- }, $e = async (t) => {
106
- let n = Z.current;
107
- if (Z.current = null, n) {
108
- Q(n);
103
+ }, $e = (e) => {
104
+ Q.current = e, Be.current?.click();
105
+ }, et = async (t) => {
106
+ let n = Q.current;
107
+ if (Q.current = null, n) {
108
+ He(n);
109
109
  try {
110
- let e = await X.mutateAsync({ body: { file: t } });
110
+ let e = await Z.mutateAsync({ body: { file: t } });
111
111
  if (!e.id) throw Error("Receipt upload returned no id");
112
- await Be.mutateAsync({
112
+ await ze.mutateAsync({
113
113
  path: { receipt_id: e.id },
114
114
  body: { transaction_id: n }
115
- });
115
+ }), We({
116
+ receiptId: e.id,
117
+ transactionId: n
118
+ }).catch(() => void 0);
116
119
  } catch {
117
120
  e.error(l.receiptUploadFailed);
118
121
  } finally {
119
- Q(null);
122
+ He(null);
120
123
  }
121
124
  }
122
- }, et = /* @__PURE__ */ C(de, {
123
- emailAddress: ze,
124
- isUploading: X.isPending,
125
- ...Ye,
126
- onFileUpload: qe ?? Xe,
127
- onAwaitMatching: Je ?? (qe ? void 0 : Ze)
128
- }), tt = /* @__PURE__ */ C(oe, {
129
- open: K !== null,
130
- onClose: () => q(null),
131
- selectedTransactionId: K?.transactionId,
132
- actionItemIds: K?.transactionIds,
133
- cardholderByUserId: H,
134
- detailsLabels: me,
135
- cardLabels: he,
136
- actionsLabels: ge,
137
- statusBadgeLabels: O,
138
- fileViewerLabels: _e
125
+ }, tt = /* @__PURE__ */ w(ue, {
126
+ emailAddress: Re,
127
+ isUploading: Z.isPending,
128
+ ...Xe,
129
+ onFileUpload: Je ?? Ze,
130
+ onAwaitMatching: Ye ?? (Je ? void 0 : Qe)
131
+ }), nt = /* @__PURE__ */ w(oe, {
132
+ open: q !== null,
133
+ onClose: () => J(null),
134
+ selectedTransactionId: q?.transactionId,
135
+ actionItemIds: q?.transactionIds,
136
+ cardholderByUserId: U,
137
+ detailsLabels: pe,
138
+ cardLabels: me,
139
+ actionsLabels: he,
140
+ statusBadgeLabels: k,
141
+ fileViewerLabels: ge
139
142
  });
140
- return /* @__PURE__ */ w(S, { children: [
141
- tt,
142
- /* @__PURE__ */ C(ae, {
143
- isOpen: Pe,
144
- onClose: () => J(!1)
143
+ return /* @__PURE__ */ T(C, { children: [
144
+ nt,
145
+ /* @__PURE__ */ w(ae, {
146
+ isOpen: Ne,
147
+ onClose: () => Y(!1)
145
148
  }),
146
- $ && /* @__PURE__ */ C("input", {
147
- ref: Ve,
149
+ $ && /* @__PURE__ */ w("input", {
150
+ ref: Be,
148
151
  type: "file",
149
- accept: pe,
152
+ accept: fe,
150
153
  className: "ttw:hidden",
151
154
  "aria-hidden": !0,
152
155
  tabIndex: -1,
153
156
  onChange: (e) => {
154
157
  let t = e.target.files?.[0];
155
- e.target.value = "", t && $e(t);
158
+ e.target.value = "", t && et(t);
156
159
  }
157
160
  }),
158
- /* @__PURE__ */ C(p, {
159
- labels: i,
161
+ /* @__PURE__ */ w(p, {
162
+ labels: ee,
160
163
  headerLabels: v,
161
164
  header: {
162
- bankDisplayName: ye,
163
- bankLogoSrc: be,
164
- bankLogoAlt: xe,
165
- isBankingTaglineVisible: Se,
166
- onSettingsClick: ne(M) ? Ce : void 0,
167
- actions: et
165
+ bankDisplayName: ve,
166
+ bankLogoSrc: ye,
167
+ bankLogoAlt: be,
168
+ isBankingTaglineVisible: xe,
169
+ onSettingsClick: ne(N) ? Se : void 0,
170
+ actions: tt
168
171
  },
169
- activeTab: Me,
170
- onActiveTabChange: je,
171
- isLoading: Ae,
172
- myTransactionsCount: Ge,
173
- teamTransactionsCount: P ? Ke : void 0,
174
- myTransactionsContent: /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ C(u, {
175
- labels: D,
176
- items: Ie
177
- }), /* @__PURE__ */ C(d, {
178
- onRowClick: (e) => q({ transactionId: e }),
179
- onAddReceiptClick: $ ? Qe : void 0,
180
- uploadingReceiptId: He ?? void 0,
181
- labels: T,
182
- rows: W.rows,
183
- isLoading: W.isLoading,
184
- sorting: W.sorting,
185
- onSortingChange: W.onSortingChange,
186
- pageSize: W.pageSize,
187
- onPageSizeChange: W.onPageSizeChange,
188
- pageSizeOptions: W.pageSizeOptions,
189
- hasNextPage: W.hasNextPage,
190
- hasPrevPage: W.hasPrevPage,
191
- onNextPage: W.onNextPage,
192
- onPrevPage: W.onPrevPage,
193
- showCardholderColumn: W.showCardholderColumn,
194
- showDepartmentColumn: W.showDepartmentColumn,
195
- filterComponent: /* @__PURE__ */ C(f, {
196
- labels: E,
197
- searchValue: W.searchValue,
198
- onSearchChange: W.onSearchChange,
199
- activeFilterCount: W.activeFilterCount,
200
- activeChips: W.activeChips,
201
- onDismissChip: W.onDismissChip,
202
- onClearAll: W.onClearAll,
203
- allPresets: W.allPresets,
204
- selectedDatePreset: W.selectedDatePreset,
205
- dateFrom: W.dateFrom,
206
- dateTo: W.dateTo,
207
- onDateRangeChange: W.onDateRangeChange,
208
- onDatePresetChange: W.onDatePresetChange,
209
- paymentStatusOptions: W.paymentStatusOptions,
210
- selectedPaymentStatus: W.selectedPaymentStatus,
211
- onPaymentStatusChange: W.onPaymentStatusChange,
212
- approvalStatusOptions: W.approvalStatusOptions,
213
- selectedApprovalStatus: W.selectedApprovalStatus,
214
- onApprovalStatusChange: W.onApprovalStatusChange,
215
- typeOptions: W.typeOptions,
216
- selectedTypes: W.selectedTypes,
217
- onTypeChange: W.onTypeChange,
218
- amountMode: W.amountMode,
219
- onAmountModeChange: W.onAmountModeChange,
220
- amountMin: W.amountMin,
221
- amountMax: W.amountMax,
222
- onAmountMinChange: W.onAmountMinChange,
223
- onAmountMaxChange: W.onAmountMaxChange,
224
- amountFlowDirection: W.amountFlowDirection,
225
- onAmountFlowDirectionChange: W.onAmountFlowDirectionChange,
226
- teamMemberOptions: [],
227
- selectedTeamMembers: W.selectedTeamMembers,
228
- onTeamMembersChange: W.onTeamMembersChange,
229
- cardOnly: W.cardOnly,
230
- onCardToggle: W.onCardToggle,
231
- showTeamMemberFilter: !1
232
- })
233
- })] }),
234
- teamTransactionsContent: P ? /* @__PURE__ */ w(S, { children: [/* @__PURE__ */ C(u, {
235
- labels: D,
236
- items: Le
237
- }), /* @__PURE__ */ C(d, {
238
- onRowClick: (e) => q({ transactionId: e }),
239
- onAddReceiptClick: $ ? Qe : void 0,
240
- uploadingReceiptId: He ?? void 0,
241
- labels: T,
172
+ activeTab: je,
173
+ onActiveTabChange: Ae,
174
+ isLoading: ke,
175
+ myTransactionsCount: Ke,
176
+ teamTransactionsCount: F ? qe : void 0,
177
+ myTransactionsContent: /* @__PURE__ */ T(C, { children: [/* @__PURE__ */ w(u, {
178
+ labels: O,
179
+ items: Fe
180
+ }), /* @__PURE__ */ w(d, {
181
+ onRowClick: (e) => J({ transactionId: e }),
182
+ onAddReceiptClick: $ ? $e : void 0,
183
+ uploadingReceiptId: Ve ?? void 0,
184
+ labels: E,
242
185
  rows: G.rows,
243
186
  isLoading: G.isLoading,
244
187
  sorting: G.sorting,
@@ -252,8 +195,8 @@ function T({ screenLabels: i, headerLabels: v, transactionsTableLabels: T, filte
252
195
  onPrevPage: G.onPrevPage,
253
196
  showCardholderColumn: G.showCardholderColumn,
254
197
  showDepartmentColumn: G.showDepartmentColumn,
255
- filterComponent: /* @__PURE__ */ C(f, {
256
- labels: E,
198
+ filterComponent: /* @__PURE__ */ w(f, {
199
+ labels: D,
257
200
  searchValue: G.searchValue,
258
201
  onSearchChange: G.onSearchChange,
259
202
  activeFilterCount: G.activeFilterCount,
@@ -283,27 +226,87 @@ function T({ screenLabels: i, headerLabels: v, transactionsTableLabels: T, filte
283
226
  onAmountMaxChange: G.onAmountMaxChange,
284
227
  amountFlowDirection: G.amountFlowDirection,
285
228
  onAmountFlowDirectionChange: G.onAmountFlowDirectionChange,
286
- teamMemberOptions: Ne,
229
+ teamMemberOptions: [],
287
230
  selectedTeamMembers: G.selectedTeamMembers,
288
231
  onTeamMembersChange: G.onTeamMembersChange,
289
232
  cardOnly: G.cardOnly,
290
- onCardToggle: G.onCardToggle
233
+ onCardToggle: G.onCardToggle,
234
+ showTeamMemberFilter: !1
235
+ })
236
+ })] }),
237
+ teamTransactionsContent: F ? /* @__PURE__ */ T(C, { children: [/* @__PURE__ */ w(u, {
238
+ labels: O,
239
+ items: Ie
240
+ }), /* @__PURE__ */ w(d, {
241
+ onRowClick: (e) => J({ transactionId: e }),
242
+ onAddReceiptClick: $ ? $e : void 0,
243
+ uploadingReceiptId: Ve ?? void 0,
244
+ labels: E,
245
+ rows: K.rows,
246
+ isLoading: K.isLoading,
247
+ sorting: K.sorting,
248
+ onSortingChange: K.onSortingChange,
249
+ pageSize: K.pageSize,
250
+ onPageSizeChange: K.onPageSizeChange,
251
+ pageSizeOptions: K.pageSizeOptions,
252
+ hasNextPage: K.hasNextPage,
253
+ hasPrevPage: K.hasPrevPage,
254
+ onNextPage: K.onNextPage,
255
+ onPrevPage: K.onPrevPage,
256
+ showCardholderColumn: K.showCardholderColumn,
257
+ showDepartmentColumn: K.showDepartmentColumn,
258
+ filterComponent: /* @__PURE__ */ w(f, {
259
+ labels: D,
260
+ searchValue: K.searchValue,
261
+ onSearchChange: K.onSearchChange,
262
+ activeFilterCount: K.activeFilterCount,
263
+ activeChips: K.activeChips,
264
+ onDismissChip: K.onDismissChip,
265
+ onClearAll: K.onClearAll,
266
+ allPresets: K.allPresets,
267
+ selectedDatePreset: K.selectedDatePreset,
268
+ dateFrom: K.dateFrom,
269
+ dateTo: K.dateTo,
270
+ onDateRangeChange: K.onDateRangeChange,
271
+ onDatePresetChange: K.onDatePresetChange,
272
+ paymentStatusOptions: K.paymentStatusOptions,
273
+ selectedPaymentStatus: K.selectedPaymentStatus,
274
+ onPaymentStatusChange: K.onPaymentStatusChange,
275
+ approvalStatusOptions: K.approvalStatusOptions,
276
+ selectedApprovalStatus: K.selectedApprovalStatus,
277
+ onApprovalStatusChange: K.onApprovalStatusChange,
278
+ typeOptions: K.typeOptions,
279
+ selectedTypes: K.selectedTypes,
280
+ onTypeChange: K.onTypeChange,
281
+ amountMode: K.amountMode,
282
+ onAmountModeChange: K.onAmountModeChange,
283
+ amountMin: K.amountMin,
284
+ amountMax: K.amountMax,
285
+ onAmountMinChange: K.onAmountMinChange,
286
+ onAmountMaxChange: K.onAmountMaxChange,
287
+ amountFlowDirection: K.amountFlowDirection,
288
+ onAmountFlowDirectionChange: K.onAmountFlowDirectionChange,
289
+ teamMemberOptions: Me,
290
+ selectedTeamMembers: K.selectedTeamMembers,
291
+ onTeamMembersChange: K.onTeamMembersChange,
292
+ cardOnly: K.cardOnly,
293
+ onCardToggle: K.onCardToggle
291
294
  })
292
295
  })] }) : void 0
293
296
  })
294
297
  ] });
295
298
  }
296
- function E({ screenLabels: e, headerLabels: t, transactionsTableLabels: n, filterBarLabels: r, actionItemsLabels: a, statusBadgeLabels: ee, transactionDetailsLabels: o, transactionDetailsCardLabels: s, transactionDetailsActionsLabels: c, fileViewerLabels: l, receiptUpload: u, bankDisplayName: d, bankLogoSrc: f, bankLogoAlt: p, isBankingTaglineVisible: m, onSettingsClick: h, ...g }) {
297
- return /* @__PURE__ */ C(i, {
299
+ function D({ screenLabels: e, headerLabels: t, transactionsTableLabels: n, filterBarLabels: r, actionItemsLabels: i, statusBadgeLabels: a, transactionDetailsLabels: o, transactionDetailsCardLabels: s, transactionDetailsActionsLabels: c, fileViewerLabels: l, receiptUpload: u, bankDisplayName: d, bankLogoSrc: f, bankLogoAlt: p, isBankingTaglineVisible: m, onSettingsClick: h, ...g }) {
300
+ return /* @__PURE__ */ w(ee, {
298
301
  ...g,
299
302
  widgetName: v,
300
- children: /* @__PURE__ */ C(T, {
303
+ children: /* @__PURE__ */ w(E, {
301
304
  screenLabels: e,
302
305
  headerLabels: t,
303
306
  transactionsTableLabels: n,
304
307
  filterBarLabels: r,
305
- actionItemsLabels: a,
306
- statusBadgeLabels: ee,
308
+ actionItemsLabels: i,
309
+ statusBadgeLabels: a,
307
310
  transactionDetailsLabels: o,
308
311
  transactionDetailsCardLabels: s,
309
312
  transactionDetailsActionsLabels: c,
@@ -318,4 +321,4 @@ function E({ screenLabels: e, headerLabels: t, transactionsTableLabels: n, filte
318
321
  });
319
322
  }
320
323
  //#endregion
321
- export { E as ExpenseManagementWidget, E as default };
324
+ export { D as ExpenseManagementWidget, D as default };