@tesouro/embedded-components-react 0.11.180 → 0.11.183

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 (31) hide show
  1. package/README.md +5 -0
  2. package/dist/index.css +22 -0
  3. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index.js +4 -4
  4. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index10.js +14 -17
  5. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index11.js +82 -13
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index12.js +47 -83
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index13.js +261 -47
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index14.js +23 -251
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index15.js +450 -25
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index16.js +286 -442
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +4 -300
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index18.js +5 -4
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index19.js +37 -4
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index20.js +1 -38
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index5.js +11 -11
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index7.js +88 -7
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index8.js +17 -89
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index9.js +18 -18
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index10.js +4 -4
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index18.js +0 -1
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index20.js +263 -262
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillsTab.js +1 -1
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/mocks/labels.js +1 -1
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index14.js +1 -1
  25. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js +2 -2
  26. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  27. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +7 -5
  28. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/AttentionStrip/AttentionStrip.js +29 -0
  29. package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/AttentionStrip/AttentionViewBar.js +33 -0
  30. package/package.json +3 -1
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index21.js +0 -1
@@ -1,300 +1,4 @@
1
- "use client";
2
- "use client";
3
- "use client";
4
- "use client";
5
- import { toast as e } from "../../../../../../node_modules/sonner/dist/index.js";
6
- import { hasAnyScope as t } from "../../../../shared/data-access/dist/lib/hasAnyScope.js";
7
- import { useMailboxAddress as ee } from "../../../../shared/data-access/dist/lib/useMailboxAddress.js";
8
- import { Scope as n } from "../../../../shared/data-access/dist/lib/scopes.js";
9
- import "../../../../shared/data-access/dist/index.js";
10
- import "../../../../shared/ui/dist/index.js";
11
- import { useWidgetConfig as te, useWidgetInitStaleForToken as ne } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
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";
15
- import { BillDecisionDialog as r } from "../../../ui/dist/index4.js";
16
- import "../../../ui/dist/index.js";
17
- import { AddBillDialog as ie } from "../../ui/dist/index6.js";
18
- import { BillsScreen as ae } from "../../ui/dist/index20.js";
19
- import "../../ui/dist/index.js";
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";
31
- // ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js
32
- var fe = () => void 0;
33
- function g({ labels: g, onOpenBill: _, onEnterManually: v, onFilesSelected: y, maxFiles: b, headerActionContainer: pe, ref: me }) {
34
- let x = f(() => ({
35
- ...o,
36
- ...g,
37
- queues: {
38
- ...o.queues,
39
- ...g?.queues
40
- },
41
- scheduledRelativeDay: {
42
- ...o.scheduledRelativeDay,
43
- ...g?.scheduledRelativeDay
44
- },
45
- dueDate: {
46
- ...o.dueDate,
47
- ...g?.dueDate
48
- },
49
- filters: {
50
- ...o.filters,
51
- ...g?.filters,
52
- presets: {
53
- ...o.filters.presets,
54
- ...g?.filters?.presets
55
- },
56
- statuses: {
57
- ...o.filters.statuses,
58
- ...g?.filters?.statuses
59
- },
60
- dateFieldNames: {
61
- ...o.filters.dateFieldNames,
62
- ...g?.filters?.dateFieldNames
63
- }
64
- },
65
- filterBar: {
66
- ...o.filterBar,
67
- ...g?.filterBar
68
- },
69
- duplicatesEmptyState: {
70
- ...o.duplicatesEmptyState,
71
- ...g?.duplicatesEmptyState
72
- },
73
- queueEmptyStates: i.reduce((e, t) => ({
74
- ...e,
75
- [t]: {
76
- ...o.queueEmptyStates[t],
77
- ...g?.queueEmptyStates?.[t]
78
- }
79
- }), {})
80
- }), [g]), [he, S] = p(!1), [C, w] = p(s.AllBills), { initResponse: T } = te(), E = ne(), ge = t(T?.scopes, [n.PayableReadOrg]), D = t(T?.scopes, [n.PayableWriteOrg]), O = !T || ge, k = !T || D, A = T && !E ? t(T.scopes, [n.PayablePayOrg]) : void 0, j = t(T?.scopes, [n.CounterpartReadOrg]), M = g?.screen?.statusBadge, N = f(() => ({
81
- ...re,
82
- ...M
83
- }), [M]), P = f(() => ({
84
- menuTrigger: x.duplicateMenuTrigger,
85
- notDuplicateAction: x.duplicateNotDuplicateAction,
86
- notDuplicateConfirmTitle: x.duplicateNotDuplicateConfirmTitle,
87
- notDuplicateConfirmDescription: x.duplicateNotDuplicateConfirmDescription,
88
- notDuplicateConfirmButton: x.duplicateNotDuplicateConfirmButton,
89
- notDuplicateConfirmBackButton: x.duplicateNotDuplicateConfirmBackButton,
90
- deleteAction: x.duplicateDeleteAction,
91
- deleteConfirmTitle: x.duplicateDeleteConfirmTitle,
92
- deleteConfirmDescription: x.duplicateDeleteConfirmDescription,
93
- deleteConfirmButton: x.duplicateDeleteConfirmButton,
94
- deletedToast: x.duplicateDeletedToast,
95
- confirmAction: x.duplicateConfirmAction,
96
- confirmDuplicateTitle: x.duplicateConfirmDuplicateTitle,
97
- confirmDuplicateDescription: x.duplicateConfirmDuplicateDescription,
98
- confirmDuplicateButton: x.duplicateConfirmDuplicateButton,
99
- confirmedToast: x.duplicateConfirmedToast,
100
- cancelAction: x.duplicateCancelAction,
101
- cancelConfirmTitle: x.duplicateCancelConfirmTitle,
102
- cancelConfirmDescription: x.duplicateCancelConfirmDescription,
103
- cancelConfirmButton: x.duplicateCancelConfirmButton,
104
- cancelConfirmBackButton: x.duplicateCancelConfirmBackButton,
105
- dismissedToast: x.duplicateDismissedToast,
106
- cancelledToast: x.duplicateCancelledToast,
107
- actionFailedToast: x.duplicateActionFailedToast,
108
- groupHeader: x.duplicateGroupHeader,
109
- groupInvoice: x.duplicateGroupInvoice,
110
- showMore: x.duplicateShowMore,
111
- showLess: x.duplicateShowLess,
112
- statusSummary: x.duplicateStatusSummary,
113
- statusLabels: N,
114
- pageInfo: x.duplicatePageInfo
115
- }), [
116
- x.duplicateMenuTrigger,
117
- x.duplicateNotDuplicateAction,
118
- x.duplicateNotDuplicateConfirmTitle,
119
- x.duplicateNotDuplicateConfirmDescription,
120
- x.duplicateNotDuplicateConfirmButton,
121
- x.duplicateNotDuplicateConfirmBackButton,
122
- x.duplicateDeleteAction,
123
- x.duplicateDeleteConfirmTitle,
124
- x.duplicateDeleteConfirmDescription,
125
- x.duplicateDeleteConfirmButton,
126
- x.duplicateDeletedToast,
127
- x.duplicateConfirmAction,
128
- x.duplicateConfirmDuplicateTitle,
129
- x.duplicateConfirmDuplicateDescription,
130
- x.duplicateConfirmDuplicateButton,
131
- x.duplicateConfirmedToast,
132
- x.duplicateCancelAction,
133
- x.duplicateCancelConfirmTitle,
134
- x.duplicateCancelConfirmDescription,
135
- x.duplicateCancelConfirmButton,
136
- x.duplicateCancelConfirmBackButton,
137
- x.duplicateDismissedToast,
138
- x.duplicateCancelledToast,
139
- x.duplicateActionFailedToast,
140
- x.duplicateGroupHeader,
141
- x.duplicateGroupInvoice,
142
- x.duplicateShowMore,
143
- x.duplicateShowLess,
144
- x.duplicateStatusSummary,
145
- N,
146
- x.duplicatePageInfo
147
- ]), F = t(T?.scopes, [n.MailboxReadOrg]), { mailboxAddress: I } = ee({
148
- relatedObjectType: "payable",
149
- enabled: F && !E
150
- }), L = F ? I : void 0, R = c({
151
- enabled: O,
152
- canPay: A,
153
- canReadVendors: j,
154
- isVendorFilterPaused: E,
155
- filterLabels: x.filters,
156
- onOpenBill: _ ?? fe,
157
- duplicateRowNote: x.duplicateRowNote,
158
- attachmentLabel: x.attachmentIndicator,
159
- duplicateGroupLabels: P,
160
- canManageDuplicates: k,
161
- duplicateView: C,
162
- scheduledRelativeDayLabels: x.scheduledRelativeDay,
163
- dueDateLabels: x.dueDate
164
- }), z = l({ enabled: O }), B = C === s.PossibleDuplicates, _e = se(z, x), V = le({
165
- enabled: O,
166
- canPay: A
167
- }), H = !z.isError && z.count > 0, ve = f(() => [...i.map((e) => ({
168
- id: e,
169
- label: x.queues[e],
170
- badge: u(V[e])
171
- })), {
172
- id: a,
173
- label: x.duplicatesTab,
174
- badge: z.isError ? void 0 : u(z.count),
175
- tone: H ? "warning" : void 0,
176
- startsGroup: !0
177
- }], [
178
- x.queues,
179
- x.duplicatesTab,
180
- V,
181
- z.isError,
182
- z.count,
183
- H
184
- ]), { clearQueryConstraints: U, onFilterTabChange: W } = R, G = d(() => {
185
- U(), w(s.PossibleDuplicates);
186
- }, [U]), K = d((e) => {
187
- e === "duplicates" ? G() : (w(s.AllBills), W(e));
188
- }, [W, G]), q = g?.screen, ye = f(() => ({
189
- ...q,
190
- createButton: x.createButton,
191
- addBill: {
192
- ...q?.addBill,
193
- heading: x.nonEmptyHeading
194
- },
195
- ...B ? {
196
- columnAddedOn: x.duplicateColumnCreated,
197
- columnAmountDue: x.duplicateColumnAmount
198
- } : {}
199
- }), [
200
- B,
201
- x.duplicateColumnCreated,
202
- x.duplicateColumnAmount,
203
- q,
204
- x.createButton,
205
- x.nonEmptyHeading
206
- ]), be = f(() => ({
207
- ...R.filterBarProps,
208
- labels: x.filterBar
209
- }), [R.filterBarProps, x.filterBar]), J = () => {
210
- S(!1), v?.();
211
- }, Y = (e) => {
212
- S(!1), y?.(e);
213
- }, X = L ? {
214
- emailAddress: L,
215
- onCopyEmail: async () => {
216
- L && (await oe(L) ? e.success(x.emailCopiedToast) : e.error(x.emailCopyFailedToast));
217
- }
218
- } : {
219
- emailAddress: void 0,
220
- onCopyEmail: void 0
221
- }, { showVendorBills: Z } = R, Q = d((e) => {
222
- w(s.AllBills), Z(e);
223
- }, [Z]), $ = d(() => S(!0), []);
224
- return ue(me, () => ({
225
- showVendorBills: Q,
226
- openAddBill: $
227
- }), [Q, $]), /* @__PURE__ */ de(m, { children: [
228
- /* @__PURE__ */ h(ae, {
229
- rows: R.rows,
230
- isLoading: R.isLoading || !T,
231
- isError: R.isError,
232
- onRetry: R.onRetry,
233
- sorting: R.sorting,
234
- onSortingChange: R.onSortingChange,
235
- pageSize: R.pageSize,
236
- onPageSizeChange: R.onPageSizeChange,
237
- pageSizeOptions: R.pageSizeOptions,
238
- hasNextPage: R.hasNextPage,
239
- hasPrevPage: R.hasPrevPage,
240
- onNextPage: R.onNextPage,
241
- onPrevPage: R.onPrevPage,
242
- filterTabs: ve,
243
- selectedFilterTabId: B ? a : R.selectedFilterTabId,
244
- onFilterTabChange: K,
245
- searchValue: R.searchValue,
246
- onSearchChange: R.onSearchChange,
247
- filters: be,
248
- visibleColumns: R.visibleColumns,
249
- keepsColumnOrder: R.keepsColumnOrder,
250
- isSortable: R.isSortable,
251
- pageInfo: R.pageInfo,
252
- cellTestIds: ce,
253
- isSearchActive: R.isSearchActive,
254
- showAddPanelWhenEmpty: R.showAddPanelWhenEmpty,
255
- emptyState: B ? x.duplicatesEmptyState : x.queueEmptyStates[R.selectedFilterTabId],
256
- onCreateClick: k ? () => S(!0) : void 0,
257
- headerActionContainer: pe,
258
- onEnterManually: k ? J : void 0,
259
- onFilesSelected: k ? Y : void 0,
260
- maxFiles: b,
261
- ...X,
262
- duplicateWarning: _e,
263
- duplicateReviewControl: B ? void 0 : {
264
- reviewLabel: x.duplicateReviewButton,
265
- onReview: G
266
- },
267
- labels: ye
268
- }),
269
- /* @__PURE__ */ h(r, {
270
- open: R.cancelConfirmation.open,
271
- copy: R.cancelConfirmation.copy,
272
- onConfirm: R.cancelConfirmation.onConfirm,
273
- onCancel: R.cancelConfirmation.onCancel,
274
- isPending: R.cancelConfirmation.isPending,
275
- labels: { cancelButton: R.cancelConfirmation.cancelButtonLabel }
276
- }),
277
- /* @__PURE__ */ h(r, {
278
- open: R.keepConfirmation.open,
279
- copy: R.keepConfirmation.copy,
280
- onConfirm: R.keepConfirmation.onConfirm,
281
- onCancel: R.keepConfirmation.onCancel,
282
- isPending: R.keepConfirmation.isPending,
283
- labels: { cancelButton: R.keepConfirmation.cancelButtonLabel }
284
- }),
285
- k ? /* @__PURE__ */ h(ie, {
286
- open: he,
287
- onOpenChange: S,
288
- onFilesSelected: Y,
289
- maxFiles: b,
290
- onEnterManually: J,
291
- ...X,
292
- dialogLabels: g?.addBillDialog?.dialog,
293
- labels: {
294
- ...g?.addBillDialog?.panel,
295
- heading: R.hasAnyBills ? x.nonEmptyHeading : x.emptyHeading
296
- }
297
- }) : null
298
- ] });
299
- }
300
- export { g as BillsList, g as default };
1
+ import "./index5.js";
2
+ import "./index7.js";
3
+ import "./index15.js";
4
+ import "./index16.js";
@@ -1,4 +1,5 @@
1
- import "./index5.js";
2
- import "./index8.js";
3
- import "./index16.js";
4
- import "./index17.js";
1
+ import { BILL_PAY_WIDGET_NAME as e } from "../../../util/dist/lib/widgetName.js";
2
+ import "../../../util/dist/index.js";
3
+ // ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index18.js
4
+ var t = `${e}.bills_list`, n = { Mounted: `${t}.mounted` };
5
+ export { n as BillsListWidgetAnalyticsEvent, t as WIDGET_NAME };
@@ -1,5 +1,38 @@
1
- import { BILL_PAY_WIDGET_NAME as e } from "../../../util/dist/lib/widgetName.js";
2
- import "../../../util/dist/index.js";
1
+ "use client";
2
+ "use client";
3
+ "use client";
4
+ "use client";
5
+ import { useAnalyticsTrack as e } from "../../../../shared/feature/dist/lib/analytics/hooks.js";
6
+ import { WidgetProvider as t } from "../../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
7
+ import "../../../../shared/feature/dist/index.js";
8
+ import { BillsList as n } from "./index16.js";
9
+ import "./index17.js";
10
+ import { BillsListWidgetAnalyticsEvent as r, WIDGET_NAME as i } from "./index18.js";
11
+ import { useEffect as a } from "react";
12
+ import { jsx as o } from "react/jsx-runtime";
3
13
  // ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index19.js
4
- var t = `${e}.bills_list`, n = { Mounted: `${t}.mounted` };
5
- export { n as BillsListWidgetAnalyticsEvent, t as WIDGET_NAME };
14
+ function s(t) {
15
+ let i = e();
16
+ return a(() => {
17
+ i(r.Mounted);
18
+ }, [i]), /* @__PURE__ */ o(n, { ...t });
19
+ }
20
+ function c({ baseUrl: e, widgetToken: n, organizationId: r, configClient: a, gatewayRouting: c, linkComponent: l, uiFramework: u, errorFallback: d, onError: f, analytics: p, disclosuresAcceptance: m, providerLabels: h, ...g }) {
21
+ return /* @__PURE__ */ o(t, {
22
+ widgetName: i,
23
+ baseUrl: e,
24
+ widgetToken: n,
25
+ organizationId: r,
26
+ configClient: a,
27
+ gatewayRouting: c,
28
+ linkComponent: l,
29
+ uiFramework: u,
30
+ errorFallback: d,
31
+ onError: f,
32
+ analytics: p,
33
+ disclosuresAcceptance: m,
34
+ providerLabels: h,
35
+ children: /* @__PURE__ */ o(s, { ...g })
36
+ });
37
+ }
38
+ export { c as BillsListWidget };
@@ -1,38 +1 @@
1
- "use client";
2
- "use client";
3
- "use client";
4
- "use client";
5
- import { useAnalyticsTrack as e } from "../../../../shared/feature/dist/lib/analytics/hooks.js";
6
- import { WidgetProvider as t } from "../../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
7
- import "../../../../shared/feature/dist/index.js";
8
- import { BillsList as n } from "./index17.js";
9
- import "./index18.js";
10
- import { BillsListWidgetAnalyticsEvent as r, WIDGET_NAME as i } from "./index19.js";
11
- import { useEffect as a } from "react";
12
- import { jsx as o } from "react/jsx-runtime";
13
- // ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index20.js
14
- function s(t) {
15
- let i = e();
16
- return a(() => {
17
- i(r.Mounted);
18
- }, [i]), /* @__PURE__ */ o(n, { ...t });
19
- }
20
- function c({ baseUrl: e, widgetToken: n, organizationId: r, configClient: a, gatewayRouting: c, linkComponent: l, uiFramework: u, errorFallback: d, onError: f, analytics: p, disclosuresAcceptance: m, providerLabels: h, ...g }) {
21
- return /* @__PURE__ */ o(t, {
22
- widgetName: i,
23
- baseUrl: e,
24
- widgetToken: n,
25
- organizationId: r,
26
- configClient: a,
27
- gatewayRouting: c,
28
- linkComponent: l,
29
- uiFramework: u,
30
- errorFallback: d,
31
- onError: f,
32
- analytics: p,
33
- disclosuresAcceptance: m,
34
- providerLabels: h,
35
- children: /* @__PURE__ */ o(s, { ...g })
36
- });
37
- }
38
- export { c as BillsListWidget };
1
+ import "./index19.js";
@@ -41,13 +41,13 @@ function a(e, t) {
41
41
  function o(e) {
42
42
  return e === r.Pending || e === r.AssignedToMe;
43
43
  }
44
- var s = "duplicates", c = r.AssignedToMe, l = [
44
+ var s = r.AssignedToMe, c = [
45
45
  r.AssignedToMe,
46
46
  r.Pending,
47
47
  r.Scheduled,
48
48
  r.Paid,
49
49
  r.All
50
- ], u = {
50
+ ], l = {
51
51
  [r.AssignedToMe]: [
52
52
  n.Vendor,
53
53
  n.InvoiceNumber,
@@ -108,26 +108,26 @@ var s = "duplicates", c = r.AssignedToMe, l = [
108
108
  n.AddedOn
109
109
  ]
110
110
  };
111
- function d(e) {
112
- return u[e];
111
+ function u(e) {
112
+ return l[e];
113
113
  }
114
- var f = {
114
+ var d = {
115
115
  vendorLabel: "counterpart_name",
116
116
  issueDateLabel: "issued_at",
117
117
  dueDateLabel: "due_date",
118
118
  scheduledDateLabel: "scheduled_payment_date",
119
119
  addedOnLabel: "created_at"
120
- }, p = {
120
+ }, f = {
121
121
  [n.Vendor]: "vendorLabel",
122
122
  [n.IssueDate]: "issueDateLabel",
123
123
  [n.DueDate]: "dueDateLabel",
124
124
  [n.ScheduledDate]: "scheduledDateLabel",
125
125
  [n.AddedOn]: "addedOnLabel"
126
126
  };
127
- function m(e) {
128
- return p[e];
127
+ function p(e) {
128
+ return f[e];
129
129
  }
130
- function h(e) {
131
- if (e) return f[e];
130
+ function m(e) {
131
+ if (e) return d[e];
132
132
  }
133
- export { u as BILL_QUEUE_COLUMNS, l as BILL_QUEUE_ORDER, f as BILL_SORT_FIELDS, r as BillQueue, c as DEFAULT_BILL_QUEUE, s as DUPLICATES_TAB_ID, d as billQueueColumns, a as billQueueFilters, o as billQueueOffersAddPanel, m as billSortColumnId, h as billSortField };
133
+ export { l as BILL_QUEUE_COLUMNS, c as BILL_QUEUE_ORDER, d as BILL_SORT_FIELDS, r as BillQueue, s as DEFAULT_BILL_QUEUE, u as billQueueColumns, a as billQueueFilters, o as billQueueOffersAddPanel, p as billSortColumnId, m as billSortField };
@@ -1,9 +1,90 @@
1
- import "./index2.js";
1
+ import { BILL_DUE_DATE_LABELS_EN as e } from "../../../util/dist/lib/resolveBillDueDate.js";
2
+ import "../../../util/dist/index.js";
3
+ import { BillQueue as t } from "./index5.js";
2
4
  // ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index7.js
3
- function e(e, t) {
4
- if (!e.isError) {
5
- if (e.isCapped) return t.duplicateWarningManyCapped(100);
6
- if (e.count !== 0) return e.count === 1 ? t.duplicateWarningOne : t.duplicateWarningMany(e.count, e.groupCount);
5
+ var n = {
6
+ [t.AssignedToMe]: "Assigned to me",
7
+ [t.Pending]: "Pending",
8
+ [t.Scheduled]: "Scheduled",
9
+ [t.Paid]: "Paid",
10
+ [t.All]: "All bills"
11
+ }, r = {
12
+ [t.AssignedToMe]: {
13
+ title: "Nothing needs you",
14
+ description: "Bills you need to submit, approve, or pay appear here."
15
+ },
16
+ [t.Pending]: {
17
+ title: "Nothing waiting on others",
18
+ description: "Bills appear here while they wait on someone else to approve or pay them."
19
+ },
20
+ [t.Scheduled]: {
21
+ title: "No scheduled bills",
22
+ description: "Bills appear here once a payment date is set for them."
23
+ },
24
+ [t.Paid]: {
25
+ title: "No paid bills",
26
+ description: "Bills appear here once their payment has gone out."
27
+ },
28
+ [t.All]: {
29
+ title: "No bills",
30
+ description: "Bills appear here as soon as they are added."
7
31
  }
8
- }
9
- export { e as resolveDuplicateWarning };
32
+ }, i = {
33
+ attentionStripLabel: "Needs attention",
34
+ attentionDuplicates: (e, t) => `${e}${t ? "+" : ""} possible ${e === 1 && !t ? "duplicate" : "duplicates"}`,
35
+ attentionBackAccessible: "Back to all bills",
36
+ duplicatesViewTitle: "Possible duplicates",
37
+ duplicateRowNote: "Possible duplicate",
38
+ duplicatesEmptyState: {
39
+ title: "No possible duplicates",
40
+ description: "Bills flagged as possible duplicates appear here for review."
41
+ },
42
+ duplicateMenuTrigger: ({ vendorLabel: e, invoiceNumberLabel: t }) => t ? `Open duplicate actions for ${e}, invoice ${t}` : `Open duplicate actions for ${e}`,
43
+ duplicateNotDuplicateAction: "Not a duplicate",
44
+ duplicateNotDuplicateConfirmTitle: "Mark as not a duplicate?",
45
+ duplicateNotDuplicateConfirmDescription: "You can't undo this action.",
46
+ duplicateNotDuplicateConfirmButton: "Not a duplicate",
47
+ duplicateNotDuplicateConfirmBackButton: "Back",
48
+ duplicateDeleteAction: "Remove bill",
49
+ duplicateDeleteConfirmTitle: "Remove duplicate bill?",
50
+ duplicateDeleteConfirmDescription: "You can't undo this action.",
51
+ duplicateDeleteConfirmButton: "Remove bill",
52
+ duplicateDeletedToast: "Duplicate removed",
53
+ duplicateConfirmAction: "Confirm duplicate",
54
+ duplicateConfirmDuplicateTitle: "Confirm duplicate?",
55
+ duplicateConfirmDuplicateDescription: "This bill is already cancelled. This records it as a duplicate.",
56
+ duplicateConfirmDuplicateButton: "Confirm duplicate",
57
+ duplicateConfirmedToast: "Duplicate confirmed",
58
+ duplicateCancelAction: "Cancel bill",
59
+ duplicateCancelConfirmTitle: "Cancel duplicate bill?",
60
+ duplicateCancelConfirmDescription: "You can't undo this action.",
61
+ duplicateCancelConfirmButton: "Cancel bill",
62
+ duplicateCancelConfirmBackButton: "Back",
63
+ duplicateDismissedToast: "Marked as not a duplicate.",
64
+ duplicateCancelledToast: "Duplicate cancelled",
65
+ duplicateActionFailedToast: "Couldn't update this duplicate. Try again.",
66
+ duplicateGroupHeader: ({ vendorLabel: e, invoiceNumberLabel: t }) => t ? `${e} - ${t}` : e,
67
+ duplicateGroupInvoice: (e) => `Invoice ${e}`,
68
+ duplicateColumnCreated: "Created",
69
+ duplicateShowMore: (e) => `Show ${e} more`,
70
+ duplicateShowLess: "Show less",
71
+ duplicateStatusSummary: (e) => e.join(", "),
72
+ duplicateColumnAmount: "Amount",
73
+ duplicatePageInfo: ({ billCount: e, invoiceCount: t }) => `${e} ${e === 1 ? "bill" : "bills"} across ${t} ${t === 1 ? "invoice" : "invoices"}`,
74
+ attachmentIndicator: "Has an attachment",
75
+ scheduledRelativeDay: {
76
+ today: "Today",
77
+ tomorrow: "Tomorrow"
78
+ },
79
+ dueDate: e,
80
+ emptyHeading: "Add your first bill",
81
+ nonEmptyHeading: "Add a bill",
82
+ createButton: "Add bill",
83
+ emailCopiedToast: "Email address copied to clipboard",
84
+ emailCopyFailedToast: "Could not copy the email address",
85
+ queues: n,
86
+ queueEmptyStates: r,
87
+ filters: {},
88
+ filterBar: {}
89
+ };
90
+ export { i as BILLS_TAB_LABELS_EN, r as BILL_QUEUE_EMPTY_STATES_EN, n as BILL_QUEUE_LABELS_EN };
@@ -1,91 +1,19 @@
1
- import { BILL_DUE_DATE_LABELS_EN as e } from "../../../util/dist/lib/resolveBillDueDate.js";
2
- import "../../../util/dist/index.js";
3
- import { BillQueue as t } from "./index5.js";
1
+ import { BillColumn as e } from "../../ui/dist/index19.js";
2
+ import "../../ui/dist/index.js";
4
3
  // ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index8.js
5
- var n = {
6
- [t.AssignedToMe]: "Assigned to me",
7
- [t.Pending]: "Pending",
8
- [t.Scheduled]: "Scheduled",
9
- [t.Paid]: "Paid",
10
- [t.All]: "All bills"
11
- }, r = {
12
- [t.AssignedToMe]: {
13
- title: "Nothing needs you",
14
- description: "Bills you need to submit, approve, or pay appear here."
15
- },
16
- [t.Pending]: {
17
- title: "Nothing waiting on others",
18
- description: "Bills appear here while they wait on someone else to approve or pay them."
19
- },
20
- [t.Scheduled]: {
21
- title: "No scheduled bills",
22
- description: "Bills appear here once a payment date is set for them."
23
- },
24
- [t.Paid]: {
25
- title: "No paid bills",
26
- description: "Bills appear here once their payment has gone out."
27
- },
28
- [t.All]: {
29
- title: "No bills",
30
- description: "Bills appear here as soon as they are added."
31
- }
32
- }, i = {
33
- duplicateWarningOne: "1 possible duplicate found",
34
- duplicateWarningMany: (e, t) => `${e} possible duplicate bills found across ${t} original ${t === 1 ? "bill" : "bills"}`,
35
- duplicateWarningManyCapped: (e) => `${e}+ possible duplicate bills found`,
36
- duplicateRowNote: "Possible duplicate",
37
- duplicateReviewButton: "Review duplicates",
38
- duplicatesTab: "Duplicates",
39
- duplicatesEmptyState: {
40
- title: "No possible duplicates",
41
- description: "Bills flagged as possible duplicates appear here for review."
42
- },
43
- duplicateMenuTrigger: ({ vendorLabel: e, invoiceNumberLabel: t }) => t ? `Open duplicate actions for ${e}, invoice ${t}` : `Open duplicate actions for ${e}`,
44
- duplicateNotDuplicateAction: "Not a duplicate",
45
- duplicateNotDuplicateConfirmTitle: "Mark as not a duplicate?",
46
- duplicateNotDuplicateConfirmDescription: "You can't undo this action.",
47
- duplicateNotDuplicateConfirmButton: "Not a duplicate",
48
- duplicateNotDuplicateConfirmBackButton: "Back",
49
- duplicateDeleteAction: "Remove bill",
50
- duplicateDeleteConfirmTitle: "Remove duplicate bill?",
51
- duplicateDeleteConfirmDescription: "You can't undo this action.",
52
- duplicateDeleteConfirmButton: "Remove bill",
53
- duplicateDeletedToast: "Duplicate removed",
54
- duplicateConfirmAction: "Confirm duplicate",
55
- duplicateConfirmDuplicateTitle: "Confirm duplicate?",
56
- duplicateConfirmDuplicateDescription: "This bill is already cancelled. This records it as a duplicate.",
57
- duplicateConfirmDuplicateButton: "Confirm duplicate",
58
- duplicateConfirmedToast: "Duplicate confirmed",
59
- duplicateCancelAction: "Cancel bill",
60
- duplicateCancelConfirmTitle: "Cancel duplicate bill?",
61
- duplicateCancelConfirmDescription: "You can't undo this action.",
62
- duplicateCancelConfirmButton: "Cancel bill",
63
- duplicateCancelConfirmBackButton: "Back",
64
- duplicateDismissedToast: "Marked as not a duplicate.",
65
- duplicateCancelledToast: "Duplicate cancelled",
66
- duplicateActionFailedToast: "Couldn't update this duplicate. Try again.",
67
- duplicateGroupHeader: ({ vendorLabel: e, invoiceNumberLabel: t }) => t ? `${e} - ${t}` : e,
68
- duplicateGroupInvoice: (e) => `Invoice ${e}`,
69
- duplicateColumnCreated: "Created",
70
- duplicateShowMore: (e) => `Show ${e} more`,
71
- duplicateShowLess: "Show less",
72
- duplicateStatusSummary: (e) => e.join(", "),
73
- duplicateColumnAmount: "Amount",
74
- duplicatePageInfo: ({ billCount: e, invoiceCount: t }) => `${e} ${e === 1 ? "bill" : "bills"} across ${t} ${t === 1 ? "invoice" : "invoices"}`,
75
- attachmentIndicator: "Has an attachment",
76
- scheduledRelativeDay: {
77
- today: "Today",
78
- tomorrow: "Tomorrow"
79
- },
80
- dueDate: e,
81
- emptyHeading: "Add your first bill",
82
- nonEmptyHeading: "Add a bill",
83
- createButton: "Add bill",
84
- emailCopiedToast: "Email address copied to clipboard",
85
- emailCopyFailedToast: "Could not copy the email address",
86
- queues: n,
87
- queueEmptyStates: r,
88
- filters: {},
89
- filterBar: {}
4
+ var t = {
5
+ [e.Vendor]: "bill-pay-bills-cell-vendor",
6
+ [e.InvoiceNumber]: "bill-pay-bills-cell-invoice-number",
7
+ [e.Attachment]: "bill-pay-bills-cell-attachment",
8
+ [e.IssueDate]: "bill-pay-bills-cell-issue-date",
9
+ [e.DueDate]: "bill-pay-bills-cell-due-date",
10
+ [e.ScheduledDate]: "bill-pay-bills-cell-scheduled-date",
11
+ [e.PaidDate]: "bill-pay-bills-cell-paid-date",
12
+ [e.Status]: "bill-pay-bills-cell-status",
13
+ [e.AmountDue]: "bill-pay-bills-cell-amount-due",
14
+ [e.AmountScheduled]: "bill-pay-bills-cell-amount-scheduled",
15
+ [e.AmountPaid]: "bill-pay-bills-cell-amount-paid",
16
+ [e.TotalAmount]: "bill-pay-bills-cell-total-amount",
17
+ [e.AddedOn]: "bill-pay-bills-cell-added-on"
90
18
  };
91
- export { i as BILLS_TAB_LABELS_EN, r as BILL_QUEUE_EMPTY_STATES_EN, n as BILL_QUEUE_LABELS_EN };
19
+ export { t as billsTableCellTestIds };