@tesouro/embedded-components-react 0.11.4 → 0.11.5
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.
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index10.js +17 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index11.js +14 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index13.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index14.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index16.js +186 -180
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +144 -140
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index18.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index4.js +26 -127
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index5.js +130 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index6.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index7.js +7 -81
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index8.js +80 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index9.js +18 -20
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/mocks/billPay.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/mocks/labels.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,133 @@
|
|
|
1
|
+
import { BillStatusFilter as e, billStatusFilterApiValues as t } from "./index4.js";
|
|
2
|
+
import { BillColumn as n } from "../../ui/dist/index19.js";
|
|
3
|
+
import "../../ui/dist/index.js";
|
|
1
4
|
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index5.js
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
var r = {
|
|
6
|
+
AssignedToMe: "assigned_to_me",
|
|
7
|
+
Pending: "pending",
|
|
8
|
+
Scheduled: "scheduled",
|
|
9
|
+
Paid: "paid",
|
|
10
|
+
All: "all"
|
|
11
|
+
}, i = t([e.ReadyToPay]);
|
|
12
|
+
function a(e, t) {
|
|
13
|
+
switch (e) {
|
|
14
|
+
case r.AssignedToMe: return {
|
|
15
|
+
status__in: [
|
|
16
|
+
"draft",
|
|
17
|
+
"new",
|
|
18
|
+
"approve_in_progress",
|
|
19
|
+
...t ? i : []
|
|
20
|
+
],
|
|
21
|
+
has_scheduled_payment: !1,
|
|
22
|
+
approval_queue: "mine"
|
|
23
|
+
};
|
|
24
|
+
case r.Pending: return {
|
|
25
|
+
status__in: ["approve_in_progress", ...t ? [] : i],
|
|
26
|
+
has_scheduled_payment: !1,
|
|
27
|
+
approval_queue: "others"
|
|
28
|
+
};
|
|
29
|
+
case r.Scheduled: return {
|
|
30
|
+
status__in: [
|
|
31
|
+
"new",
|
|
32
|
+
"approve_in_progress",
|
|
33
|
+
...i
|
|
34
|
+
],
|
|
35
|
+
has_scheduled_payment: !0
|
|
36
|
+
};
|
|
37
|
+
case r.Paid: return { status__in: ["paid"] };
|
|
38
|
+
case r.All: return {};
|
|
8
39
|
}
|
|
9
40
|
}
|
|
10
|
-
|
|
41
|
+
function o(e) {
|
|
42
|
+
return e === r.Pending || e === r.AssignedToMe;
|
|
43
|
+
}
|
|
44
|
+
var s = "duplicates", c = r.AssignedToMe, l = [
|
|
45
|
+
r.AssignedToMe,
|
|
46
|
+
r.Pending,
|
|
47
|
+
r.Scheduled,
|
|
48
|
+
r.Paid,
|
|
49
|
+
r.All
|
|
50
|
+
], u = {
|
|
51
|
+
[r.AssignedToMe]: [
|
|
52
|
+
n.Vendor,
|
|
53
|
+
n.InvoiceNumber,
|
|
54
|
+
n.Attachment,
|
|
55
|
+
n.IssueDate,
|
|
56
|
+
n.DueDate,
|
|
57
|
+
n.Status,
|
|
58
|
+
n.AmountDue,
|
|
59
|
+
n.TotalAmount,
|
|
60
|
+
n.AddedOn
|
|
61
|
+
],
|
|
62
|
+
[r.Pending]: [
|
|
63
|
+
n.Vendor,
|
|
64
|
+
n.InvoiceNumber,
|
|
65
|
+
n.Attachment,
|
|
66
|
+
n.IssueDate,
|
|
67
|
+
n.DueDate,
|
|
68
|
+
n.Status,
|
|
69
|
+
n.AmountDue,
|
|
70
|
+
n.TotalAmount,
|
|
71
|
+
n.AddedOn
|
|
72
|
+
],
|
|
73
|
+
[r.Scheduled]: [
|
|
74
|
+
n.Vendor,
|
|
75
|
+
n.InvoiceNumber,
|
|
76
|
+
n.Attachment,
|
|
77
|
+
n.IssueDate,
|
|
78
|
+
n.DueDate,
|
|
79
|
+
n.ScheduledDate,
|
|
80
|
+
n.Status,
|
|
81
|
+
n.AmountScheduled,
|
|
82
|
+
n.TotalAmount,
|
|
83
|
+
n.AddedOn
|
|
84
|
+
],
|
|
85
|
+
[r.Paid]: [
|
|
86
|
+
n.Vendor,
|
|
87
|
+
n.InvoiceNumber,
|
|
88
|
+
n.Attachment,
|
|
89
|
+
n.IssueDate,
|
|
90
|
+
n.DueDate,
|
|
91
|
+
n.PaidDate,
|
|
92
|
+
n.Status,
|
|
93
|
+
n.AmountPaid,
|
|
94
|
+
n.TotalAmount,
|
|
95
|
+
n.AddedOn
|
|
96
|
+
],
|
|
97
|
+
[r.All]: [
|
|
98
|
+
n.Vendor,
|
|
99
|
+
n.InvoiceNumber,
|
|
100
|
+
n.Attachment,
|
|
101
|
+
n.IssueDate,
|
|
102
|
+
n.DueDate,
|
|
103
|
+
n.ScheduledDate,
|
|
104
|
+
n.Status,
|
|
105
|
+
n.AmountDue,
|
|
106
|
+
n.AmountPaid,
|
|
107
|
+
n.TotalAmount,
|
|
108
|
+
n.AddedOn
|
|
109
|
+
]
|
|
110
|
+
};
|
|
111
|
+
function d(e) {
|
|
112
|
+
return u[e];
|
|
113
|
+
}
|
|
114
|
+
var f = {
|
|
115
|
+
vendorLabel: "counterpart_name",
|
|
116
|
+
issueDateLabel: "issued_at",
|
|
117
|
+
dueDateLabel: "due_date",
|
|
118
|
+
scheduledDateLabel: "scheduled_payment_date",
|
|
119
|
+
addedOnLabel: "created_at"
|
|
120
|
+
}, p = {
|
|
121
|
+
[n.Vendor]: "vendorLabel",
|
|
122
|
+
[n.IssueDate]: "issueDateLabel",
|
|
123
|
+
[n.DueDate]: "dueDateLabel",
|
|
124
|
+
[n.ScheduledDate]: "scheduledDateLabel",
|
|
125
|
+
[n.AddedOn]: "addedOnLabel"
|
|
126
|
+
};
|
|
127
|
+
function m(e) {
|
|
128
|
+
return p[e];
|
|
129
|
+
}
|
|
130
|
+
function h(e) {
|
|
131
|
+
if (e) return f[e];
|
|
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 };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import "./index2.js";
|
|
2
1
|
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index6.js
|
|
3
|
-
function e(e
|
|
4
|
-
if (!e.
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
async function e(e) {
|
|
3
|
+
if (!e.trim()) return !1;
|
|
4
|
+
try {
|
|
5
|
+
return await navigator.clipboard.writeText(e), !0;
|
|
6
|
+
} catch {
|
|
7
|
+
return !1;
|
|
7
8
|
}
|
|
8
9
|
}
|
|
9
|
-
export { e as
|
|
10
|
+
export { e as copyTextToClipboard };
|
|
@@ -1,83 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./index2.js";
|
|
2
2
|
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index7.js
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
[e.Paid]: "Paid",
|
|
8
|
-
[e.All]: "All bills"
|
|
9
|
-
}, n = {
|
|
10
|
-
[e.Drafts]: {
|
|
11
|
-
title: "No drafts",
|
|
12
|
-
description: "Bills wait here until someone submits them for approval."
|
|
13
|
-
},
|
|
14
|
-
[e.Pending]: {
|
|
15
|
-
title: "Nothing to act on",
|
|
16
|
-
description: "Every bill has been paid, scheduled, or is still a draft."
|
|
17
|
-
},
|
|
18
|
-
[e.Scheduled]: {
|
|
19
|
-
title: "No scheduled bills",
|
|
20
|
-
description: "Bills appear here once a payment date is set for them."
|
|
21
|
-
},
|
|
22
|
-
[e.Paid]: {
|
|
23
|
-
title: "No paid bills",
|
|
24
|
-
description: "Bills appear here once their payment has gone out."
|
|
25
|
-
},
|
|
26
|
-
[e.All]: {
|
|
27
|
-
title: "No bills",
|
|
28
|
-
description: "Bills appear here as soon as they are added."
|
|
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);
|
|
29
7
|
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
duplicateWarningMany: (e, t) => `${e} possible duplicate bills found across ${t} original ${t === 1 ? "bill" : "bills"}`,
|
|
33
|
-
duplicateWarningManyCapped: (e) => `${e}+ possible duplicate bills found`,
|
|
34
|
-
duplicateRowNote: "Possible duplicate",
|
|
35
|
-
duplicateReviewButton: "Review duplicates",
|
|
36
|
-
duplicatesTab: "Duplicates",
|
|
37
|
-
duplicatesEmptyState: {
|
|
38
|
-
title: "No possible duplicates",
|
|
39
|
-
description: "Bills flagged as possible duplicates appear here for review."
|
|
40
|
-
},
|
|
41
|
-
duplicateMenuTrigger: ({ vendorLabel: e, invoiceNumberLabel: t }) => t ? `Open duplicate actions for ${e}, invoice ${t}` : `Open duplicate actions for ${e}`,
|
|
42
|
-
duplicateNotDuplicateAction: "Not a duplicate",
|
|
43
|
-
duplicateNotDuplicateConfirmTitle: "Mark as not a duplicate?",
|
|
44
|
-
duplicateNotDuplicateConfirmDescription: "You can't undo this action.",
|
|
45
|
-
duplicateNotDuplicateConfirmButton: "Not a duplicate",
|
|
46
|
-
duplicateNotDuplicateConfirmBackButton: "Back",
|
|
47
|
-
duplicateDeleteAction: "Remove bill",
|
|
48
|
-
duplicateDeleteConfirmTitle: "Remove duplicate bill?",
|
|
49
|
-
duplicateDeleteConfirmDescription: "You can't undo this action.",
|
|
50
|
-
duplicateDeleteConfirmButton: "Remove bill",
|
|
51
|
-
duplicateDeletedToast: "Duplicate removed",
|
|
52
|
-
duplicateConfirmAction: "Confirm duplicate",
|
|
53
|
-
duplicateConfirmDuplicateTitle: "Confirm duplicate?",
|
|
54
|
-
duplicateConfirmDuplicateDescription: "This bill is already cancelled. This records it as a duplicate.",
|
|
55
|
-
duplicateConfirmDuplicateButton: "Confirm duplicate",
|
|
56
|
-
duplicateConfirmedToast: "Duplicate confirmed",
|
|
57
|
-
duplicateCancelAction: "Cancel bill",
|
|
58
|
-
duplicateCancelConfirmTitle: "Cancel duplicate bill?",
|
|
59
|
-
duplicateCancelConfirmDescription: "You can't undo this action.",
|
|
60
|
-
duplicateCancelConfirmButton: "Cancel bill",
|
|
61
|
-
duplicateCancelConfirmBackButton: "Back",
|
|
62
|
-
duplicateDismissedToast: "Marked as not a duplicate.",
|
|
63
|
-
duplicateCancelledToast: "Duplicate cancelled",
|
|
64
|
-
duplicateActionFailedToast: "Couldn't update this duplicate. Try again.",
|
|
65
|
-
duplicateGroupHeader: ({ vendorLabel: e, invoiceNumberLabel: t }) => t ? `${e} - ${t}` : e,
|
|
66
|
-
duplicateCopyRowLabel: "Possible duplicate",
|
|
67
|
-
attachmentIndicator: "Has an attachment",
|
|
68
|
-
scheduledRelativeDay: {
|
|
69
|
-
today: "Today",
|
|
70
|
-
tomorrow: "Tomorrow"
|
|
71
|
-
},
|
|
72
|
-
emptyHeading: "Add your first bill",
|
|
73
|
-
nonEmptyHeading: "Add a bill",
|
|
74
|
-
createButton: "Add bill",
|
|
75
|
-
settingsButton: "Bill pay settings",
|
|
76
|
-
emailCopiedToast: "Email address copied to clipboard",
|
|
77
|
-
emailCopyFailedToast: "Could not copy the email address",
|
|
78
|
-
queues: t,
|
|
79
|
-
queueEmptyStates: n,
|
|
80
|
-
filters: {},
|
|
81
|
-
filterBar: {}
|
|
82
|
-
};
|
|
83
|
-
export { r as BILLS_TAB_LABELS_EN, n as BILL_QUEUE_EMPTY_STATES_EN, t as BILL_QUEUE_LABELS_EN };
|
|
8
|
+
}
|
|
9
|
+
export { e as resolveDuplicateWarning };
|
|
@@ -1,19 +1,83 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../../ui/dist/index.js";
|
|
1
|
+
import { BillQueue as e } from "./index5.js";
|
|
3
2
|
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index8.js
|
|
4
3
|
var t = {
|
|
5
|
-
[e.
|
|
6
|
-
[e.
|
|
7
|
-
[e.
|
|
8
|
-
[e.
|
|
9
|
-
[e.
|
|
10
|
-
|
|
11
|
-
[e.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
[e.
|
|
16
|
-
|
|
17
|
-
|
|
4
|
+
[e.AssignedToMe]: "Assigned to me",
|
|
5
|
+
[e.Pending]: "Pending",
|
|
6
|
+
[e.Scheduled]: "Scheduled",
|
|
7
|
+
[e.Paid]: "Paid",
|
|
8
|
+
[e.All]: "All bills"
|
|
9
|
+
}, n = {
|
|
10
|
+
[e.AssignedToMe]: {
|
|
11
|
+
title: "Nothing needs you",
|
|
12
|
+
description: "Bills you need to submit, approve, or pay appear here."
|
|
13
|
+
},
|
|
14
|
+
[e.Pending]: {
|
|
15
|
+
title: "Nothing waiting on others",
|
|
16
|
+
description: "Bills appear here while they wait on someone else to approve or pay them."
|
|
17
|
+
},
|
|
18
|
+
[e.Scheduled]: {
|
|
19
|
+
title: "No scheduled bills",
|
|
20
|
+
description: "Bills appear here once a payment date is set for them."
|
|
21
|
+
},
|
|
22
|
+
[e.Paid]: {
|
|
23
|
+
title: "No paid bills",
|
|
24
|
+
description: "Bills appear here once their payment has gone out."
|
|
25
|
+
},
|
|
26
|
+
[e.All]: {
|
|
27
|
+
title: "No bills",
|
|
28
|
+
description: "Bills appear here as soon as they are added."
|
|
29
|
+
}
|
|
30
|
+
}, r = {
|
|
31
|
+
duplicateWarningOne: "1 possible duplicate found",
|
|
32
|
+
duplicateWarningMany: (e, t) => `${e} possible duplicate bills found across ${t} original ${t === 1 ? "bill" : "bills"}`,
|
|
33
|
+
duplicateWarningManyCapped: (e) => `${e}+ possible duplicate bills found`,
|
|
34
|
+
duplicateRowNote: "Possible duplicate",
|
|
35
|
+
duplicateReviewButton: "Review duplicates",
|
|
36
|
+
duplicatesTab: "Duplicates",
|
|
37
|
+
duplicatesEmptyState: {
|
|
38
|
+
title: "No possible duplicates",
|
|
39
|
+
description: "Bills flagged as possible duplicates appear here for review."
|
|
40
|
+
},
|
|
41
|
+
duplicateMenuTrigger: ({ vendorLabel: e, invoiceNumberLabel: t }) => t ? `Open duplicate actions for ${e}, invoice ${t}` : `Open duplicate actions for ${e}`,
|
|
42
|
+
duplicateNotDuplicateAction: "Not a duplicate",
|
|
43
|
+
duplicateNotDuplicateConfirmTitle: "Mark as not a duplicate?",
|
|
44
|
+
duplicateNotDuplicateConfirmDescription: "You can't undo this action.",
|
|
45
|
+
duplicateNotDuplicateConfirmButton: "Not a duplicate",
|
|
46
|
+
duplicateNotDuplicateConfirmBackButton: "Back",
|
|
47
|
+
duplicateDeleteAction: "Remove bill",
|
|
48
|
+
duplicateDeleteConfirmTitle: "Remove duplicate bill?",
|
|
49
|
+
duplicateDeleteConfirmDescription: "You can't undo this action.",
|
|
50
|
+
duplicateDeleteConfirmButton: "Remove bill",
|
|
51
|
+
duplicateDeletedToast: "Duplicate removed",
|
|
52
|
+
duplicateConfirmAction: "Confirm duplicate",
|
|
53
|
+
duplicateConfirmDuplicateTitle: "Confirm duplicate?",
|
|
54
|
+
duplicateConfirmDuplicateDescription: "This bill is already cancelled. This records it as a duplicate.",
|
|
55
|
+
duplicateConfirmDuplicateButton: "Confirm duplicate",
|
|
56
|
+
duplicateConfirmedToast: "Duplicate confirmed",
|
|
57
|
+
duplicateCancelAction: "Cancel bill",
|
|
58
|
+
duplicateCancelConfirmTitle: "Cancel duplicate bill?",
|
|
59
|
+
duplicateCancelConfirmDescription: "You can't undo this action.",
|
|
60
|
+
duplicateCancelConfirmButton: "Cancel bill",
|
|
61
|
+
duplicateCancelConfirmBackButton: "Back",
|
|
62
|
+
duplicateDismissedToast: "Marked as not a duplicate.",
|
|
63
|
+
duplicateCancelledToast: "Duplicate cancelled",
|
|
64
|
+
duplicateActionFailedToast: "Couldn't update this duplicate. Try again.",
|
|
65
|
+
duplicateGroupHeader: ({ vendorLabel: e, invoiceNumberLabel: t }) => t ? `${e} - ${t}` : e,
|
|
66
|
+
duplicateCopyRowLabel: "Possible duplicate",
|
|
67
|
+
attachmentIndicator: "Has an attachment",
|
|
68
|
+
scheduledRelativeDay: {
|
|
69
|
+
today: "Today",
|
|
70
|
+
tomorrow: "Tomorrow"
|
|
71
|
+
},
|
|
72
|
+
emptyHeading: "Add your first bill",
|
|
73
|
+
nonEmptyHeading: "Add a bill",
|
|
74
|
+
createButton: "Add bill",
|
|
75
|
+
settingsButton: "Bill pay settings",
|
|
76
|
+
emailCopiedToast: "Email address copied to clipboard",
|
|
77
|
+
emailCopyFailedToast: "Could not copy the email address",
|
|
78
|
+
queues: t,
|
|
79
|
+
queueEmptyStates: n,
|
|
80
|
+
filters: {},
|
|
81
|
+
filterBar: {}
|
|
18
82
|
};
|
|
19
|
-
export { t as
|
|
83
|
+
export { r as BILLS_TAB_LABELS_EN, n as BILL_QUEUE_EMPTY_STATES_EN, t as BILL_QUEUE_LABELS_EN };
|
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
"use client";
|
|
4
|
-
"use client";
|
|
5
|
-
import { BILL_QUEUE_ORDER as e, billQueueHasScheduledPayment as t, billQueueStatuses as n } from "./index4.js";
|
|
6
|
-
import { usePayablesCountQueries as r } from "../../data-access/dist/index3.js";
|
|
7
|
-
import "../../data-access/dist/index.js";
|
|
8
|
-
import { useMemo as i } from "react";
|
|
1
|
+
import { BillColumn as e } from "../../ui/dist/index19.js";
|
|
2
|
+
import "../../ui/dist/index.js";
|
|
9
3
|
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index9.js
|
|
10
|
-
var
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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"
|
|
18
|
+
};
|
|
19
|
+
export { t as billsTableCellTestIds };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/mocks/billPay.js
CHANGED
|
@@ -125,7 +125,7 @@ var g = (e, t = "8000", n = "2") => `00000000-0000-4000-${t}-000000000${n}${Stri
|
|
|
125
125
|
let n = t.getAll("status__in");
|
|
126
126
|
if (n.length && !n.includes(e.status)) return !1;
|
|
127
127
|
let r = t.get("has_scheduled_payment");
|
|
128
|
-
if (r !== null && r === "true" != !!e.scheduled_payment_date || t.get("duplicate_match_status") === "suspected" && !J(e).some((e) => e.status === "suspected")) return !1;
|
|
128
|
+
if (r !== null && r === "true" != !!e.scheduled_payment_date || e.status === "approve_in_progress" && t.get("approval_queue") === "others" || t.get("duplicate_match_status") === "suspected" && !J(e).some((e) => e.status === "suspected")) return !1;
|
|
129
129
|
let i = t.get("counterpart_name__icontains")?.toLowerCase(), a = e.counterpart_raw_data?.name ?? "";
|
|
130
130
|
if (i && !a.toLowerCase().includes(i)) return !1;
|
|
131
131
|
let o = [...t.getAll("counterpart_id__in"), ...t.getAll("counterpart_id")];
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/mocks/labels.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
var e = { scenarios: {
|
|
3
3
|
populated: {
|
|
4
4
|
label: "Populated",
|
|
5
|
-
blurb: "Nine bills across the queues, with a count on each queue tab. Switch between
|
|
5
|
+
blurb: "Nine bills across the queues, with a count on each queue tab. Switch between Assigned to me, Pending, Scheduled, Paid and All bills, or open any row: a draft opens in the bill editor, a submitted bill opens read-only. On the Vendors tab, open a vendor for its balance and recent bills, and View all to jump back to just that vendor’s bills."
|
|
6
6
|
},
|
|
7
7
|
"mark-as-paid": {
|
|
8
8
|
label: "Mark as paid",
|
|
9
|
-
blurb: "The same bills, with payable:pay:org. Open Metro Utilities on the
|
|
9
|
+
blurb: "The same bills, with payable:pay:org. Open Metro Utilities on the Assigned to me tab, press Mark as paid and confirm: the bill moves to Paid and the tab counts follow."
|
|
10
10
|
},
|
|
11
11
|
duplicates: {
|
|
12
12
|
label: "Possible duplicates",
|
|
@@ -14,7 +14,7 @@ var e = { scenarios: {
|
|
|
14
14
|
},
|
|
15
15
|
empty: {
|
|
16
16
|
label: "No bills yet",
|
|
17
|
-
blurb: "The organization has no bills, so
|
|
17
|
+
blurb: "The organization has no bills, so Assigned to me shows the add-a-bill panel with the address bills can be emailed to, and every tab count reads 0."
|
|
18
18
|
},
|
|
19
19
|
"read-only": {
|
|
20
20
|
label: "Read only",
|
package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
|
|
2
|
-
var e = "@tesouro/embedded-components-react", t = "0.11.
|
|
2
|
+
var e = "@tesouro/embedded-components-react", t = "0.11.5", n = "0795140eeff33203a4d7c2b6af99e1f36f5cfc5b", r = Object.freeze({
|
|
3
3
|
library_name: e,
|
|
4
4
|
library_version: t,
|
|
5
5
|
library_sha: n
|