@tesouro/embedded-components-react 0.4.12 → 0.4.14
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/index.js +1 -1
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/lib/monite-sdk.d.ts +204 -468
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +37 -78
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +98 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +81 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +7 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +16 -61
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +26 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +63 -65
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +66 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index2.js +6 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +4 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +3 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +28 -166
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +40 -44
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +173 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +45 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +1 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +45 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +13 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +55 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index30.js +8 -66
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +7 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +58 -126
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +15 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +134 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +14 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +4 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +39 -87
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +78 -67
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +78 -48
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +24 -57
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +47 -91
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +119 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +33 -168
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +170 -75
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +75 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +23 -210
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +199 -203
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +198 -89
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +105 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +12 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +23 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +47 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +27 -198
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +198 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +30 -234
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +240 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +19 -342
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +364 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +4 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +32 -167
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +186 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +56 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +3 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +2 -44
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +46 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +6 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +9 -92
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +94 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +3 -128
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +125 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +8 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +5 -69
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +8 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +43 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +20 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +27 -82
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +83 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +47 -250
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +239 -101
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +107 -202
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +209 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +5 -43
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +6 -113
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +115 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +25 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +64 -89
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +40 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +52 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index15.js +2 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +12 -62
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +28 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +6 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +161 -154
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +47 -337
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +20 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +327 -107
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +13 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +113 -92
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +95 -55
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +9 -51
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +56 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +2 -160
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +11 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +178 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +2 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +37 -88
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +5 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +88 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +2 -84
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +11 -282
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +2 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +87 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +294 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +9 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +5 -36
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +37 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +2 -201
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +39 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +3 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +187 -333
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +3 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +335 -81
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +8 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +87 -121
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +2 -89
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +127 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +25 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +85 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +26 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +4 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +30 -102
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +9 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +85 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +123 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +2 -170
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +158 -96
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +11 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +100 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index618.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
- package/package.json +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +0 -28
|
@@ -1,128 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "
|
|
3
|
-
|
|
4
|
-
var t = {
|
|
5
|
-
Drafts: "drafts",
|
|
6
|
-
Pending: "pending",
|
|
7
|
-
Scheduled: "scheduled",
|
|
8
|
-
Paid: "paid",
|
|
9
|
-
All: "all"
|
|
10
|
-
}, n = {
|
|
11
|
-
[t.Drafts]: ["draft"],
|
|
12
|
-
[t.Pending]: [
|
|
13
|
-
"new",
|
|
14
|
-
"approve_in_progress",
|
|
15
|
-
"waiting_to_be_paid",
|
|
16
|
-
"partially_paid"
|
|
17
|
-
],
|
|
18
|
-
[t.Scheduled]: [
|
|
19
|
-
"new",
|
|
20
|
-
"approve_in_progress",
|
|
21
|
-
"waiting_to_be_paid",
|
|
22
|
-
"partially_paid"
|
|
23
|
-
],
|
|
24
|
-
[t.Paid]: ["paid"],
|
|
25
|
-
[t.All]: void 0
|
|
26
|
-
}, r = {
|
|
27
|
-
[t.Drafts]: void 0,
|
|
28
|
-
[t.Pending]: !1,
|
|
29
|
-
[t.Scheduled]: !0,
|
|
30
|
-
[t.Paid]: void 0,
|
|
31
|
-
[t.All]: void 0
|
|
32
|
-
};
|
|
33
|
-
function i(e) {
|
|
34
|
-
return e === t.Pending || e === t.Drafts;
|
|
35
|
-
}
|
|
36
|
-
var a = t.Pending, o = [
|
|
37
|
-
t.Pending,
|
|
38
|
-
t.Drafts,
|
|
39
|
-
t.Scheduled,
|
|
40
|
-
t.Paid,
|
|
41
|
-
t.All
|
|
42
|
-
], s = {
|
|
43
|
-
[t.Drafts]: [
|
|
44
|
-
e.Vendor,
|
|
45
|
-
e.Attachment,
|
|
46
|
-
e.IssueDate,
|
|
47
|
-
e.DueDate,
|
|
48
|
-
e.Status,
|
|
49
|
-
e.AmountDue,
|
|
50
|
-
e.TotalAmount,
|
|
51
|
-
e.AddedOn
|
|
52
|
-
],
|
|
53
|
-
[t.Pending]: [
|
|
54
|
-
e.Vendor,
|
|
55
|
-
e.Attachment,
|
|
56
|
-
e.IssueDate,
|
|
57
|
-
e.DueDate,
|
|
58
|
-
e.Status,
|
|
59
|
-
e.AmountDue,
|
|
60
|
-
e.TotalAmount,
|
|
61
|
-
e.AddedOn
|
|
62
|
-
],
|
|
63
|
-
[t.Scheduled]: [
|
|
64
|
-
e.Vendor,
|
|
65
|
-
e.Attachment,
|
|
66
|
-
e.IssueDate,
|
|
67
|
-
e.DueDate,
|
|
68
|
-
e.ScheduledDate,
|
|
69
|
-
e.Status,
|
|
70
|
-
e.AmountScheduled,
|
|
71
|
-
e.TotalAmount,
|
|
72
|
-
e.AddedOn
|
|
73
|
-
],
|
|
74
|
-
[t.Paid]: [
|
|
75
|
-
e.Vendor,
|
|
76
|
-
e.Attachment,
|
|
77
|
-
e.IssueDate,
|
|
78
|
-
e.DueDate,
|
|
79
|
-
e.PaidDate,
|
|
80
|
-
e.Status,
|
|
81
|
-
e.AmountPaid,
|
|
82
|
-
e.TotalAmount,
|
|
83
|
-
e.AddedOn
|
|
84
|
-
],
|
|
85
|
-
[t.All]: [
|
|
86
|
-
e.Vendor,
|
|
87
|
-
e.Attachment,
|
|
88
|
-
e.IssueDate,
|
|
89
|
-
e.DueDate,
|
|
90
|
-
e.ScheduledDate,
|
|
91
|
-
e.Status,
|
|
92
|
-
e.AmountDue,
|
|
93
|
-
e.AmountPaid,
|
|
94
|
-
e.TotalAmount,
|
|
95
|
-
e.AddedOn
|
|
96
|
-
]
|
|
97
|
-
};
|
|
98
|
-
function c(e) {
|
|
99
|
-
return s[e];
|
|
100
|
-
}
|
|
101
|
-
function l(e) {
|
|
102
|
-
let t = n[e];
|
|
103
|
-
return t ? [...t] : void 0;
|
|
104
|
-
}
|
|
105
|
-
function u(e) {
|
|
106
|
-
return r[e];
|
|
107
|
-
}
|
|
108
|
-
var d = {
|
|
109
|
-
vendorLabel: "counterpart_name",
|
|
110
|
-
issueDateLabel: "issued_at",
|
|
111
|
-
dueDateLabel: "due_date",
|
|
112
|
-
scheduledDateLabel: "scheduled_payment_date",
|
|
113
|
-
addedOnLabel: "created_at"
|
|
114
|
-
}, f = {
|
|
115
|
-
[e.Vendor]: "vendorLabel",
|
|
116
|
-
[e.IssueDate]: "issueDateLabel",
|
|
117
|
-
[e.DueDate]: "dueDateLabel",
|
|
118
|
-
[e.ScheduledDate]: "scheduledDateLabel",
|
|
119
|
-
[e.AddedOn]: "addedOnLabel"
|
|
120
|
-
};
|
|
121
|
-
function p(e) {
|
|
122
|
-
return f[e];
|
|
123
|
-
}
|
|
124
|
-
function m(e) {
|
|
125
|
-
if (e) return d[e];
|
|
126
|
-
}
|
|
127
|
-
//#endregion
|
|
128
|
-
export { s as BILL_QUEUE_COLUMNS, r as BILL_QUEUE_HAS_SCHEDULED_PAYMENT, o as BILL_QUEUE_ORDER, n as BILL_QUEUE_STATUSES, d as BILL_SORT_FIELDS, t as BillQueue, a as DEFAULT_BILL_QUEUE, c as billQueueColumns, u as billQueueHasScheduledPayment, i as billQueueOffersAddPanel, l as billQueueStatuses, p as billSortColumnId, m as billSortField };
|
|
1
|
+
import "./index64.js";
|
|
2
|
+
import "./index65.js";
|
|
3
|
+
import "./index66.js";
|
|
@@ -1,11 +1,128 @@
|
|
|
1
|
+
import { BillColumn as e } from "../../ui/dist/index70.js";
|
|
2
|
+
import "../../ui/dist/index.js";
|
|
1
3
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
var t = {
|
|
5
|
+
Drafts: "drafts",
|
|
6
|
+
Pending: "pending",
|
|
7
|
+
Scheduled: "scheduled",
|
|
8
|
+
Paid: "paid",
|
|
9
|
+
All: "all"
|
|
10
|
+
}, n = {
|
|
11
|
+
[t.Drafts]: ["draft"],
|
|
12
|
+
[t.Pending]: [
|
|
13
|
+
"new",
|
|
14
|
+
"approve_in_progress",
|
|
15
|
+
"waiting_to_be_paid",
|
|
16
|
+
"partially_paid"
|
|
17
|
+
],
|
|
18
|
+
[t.Scheduled]: [
|
|
19
|
+
"new",
|
|
20
|
+
"approve_in_progress",
|
|
21
|
+
"waiting_to_be_paid",
|
|
22
|
+
"partially_paid"
|
|
23
|
+
],
|
|
24
|
+
[t.Paid]: ["paid"],
|
|
25
|
+
[t.All]: void 0
|
|
26
|
+
}, r = {
|
|
27
|
+
[t.Drafts]: void 0,
|
|
28
|
+
[t.Pending]: !1,
|
|
29
|
+
[t.Scheduled]: !0,
|
|
30
|
+
[t.Paid]: void 0,
|
|
31
|
+
[t.All]: void 0
|
|
32
|
+
};
|
|
33
|
+
function i(e) {
|
|
34
|
+
return e === t.Pending || e === t.Drafts;
|
|
35
|
+
}
|
|
36
|
+
var a = t.Pending, o = [
|
|
37
|
+
t.Pending,
|
|
38
|
+
t.Drafts,
|
|
39
|
+
t.Scheduled,
|
|
40
|
+
t.Paid,
|
|
41
|
+
t.All
|
|
42
|
+
], s = {
|
|
43
|
+
[t.Drafts]: [
|
|
44
|
+
e.Vendor,
|
|
45
|
+
e.Attachment,
|
|
46
|
+
e.IssueDate,
|
|
47
|
+
e.DueDate,
|
|
48
|
+
e.Status,
|
|
49
|
+
e.AmountDue,
|
|
50
|
+
e.TotalAmount,
|
|
51
|
+
e.AddedOn
|
|
52
|
+
],
|
|
53
|
+
[t.Pending]: [
|
|
54
|
+
e.Vendor,
|
|
55
|
+
e.Attachment,
|
|
56
|
+
e.IssueDate,
|
|
57
|
+
e.DueDate,
|
|
58
|
+
e.Status,
|
|
59
|
+
e.AmountDue,
|
|
60
|
+
e.TotalAmount,
|
|
61
|
+
e.AddedOn
|
|
62
|
+
],
|
|
63
|
+
[t.Scheduled]: [
|
|
64
|
+
e.Vendor,
|
|
65
|
+
e.Attachment,
|
|
66
|
+
e.IssueDate,
|
|
67
|
+
e.DueDate,
|
|
68
|
+
e.ScheduledDate,
|
|
69
|
+
e.Status,
|
|
70
|
+
e.AmountScheduled,
|
|
71
|
+
e.TotalAmount,
|
|
72
|
+
e.AddedOn
|
|
73
|
+
],
|
|
74
|
+
[t.Paid]: [
|
|
75
|
+
e.Vendor,
|
|
76
|
+
e.Attachment,
|
|
77
|
+
e.IssueDate,
|
|
78
|
+
e.DueDate,
|
|
79
|
+
e.PaidDate,
|
|
80
|
+
e.Status,
|
|
81
|
+
e.AmountPaid,
|
|
82
|
+
e.TotalAmount,
|
|
83
|
+
e.AddedOn
|
|
84
|
+
],
|
|
85
|
+
[t.All]: [
|
|
86
|
+
e.Vendor,
|
|
87
|
+
e.Attachment,
|
|
88
|
+
e.IssueDate,
|
|
89
|
+
e.DueDate,
|
|
90
|
+
e.ScheduledDate,
|
|
91
|
+
e.Status,
|
|
92
|
+
e.AmountDue,
|
|
93
|
+
e.AmountPaid,
|
|
94
|
+
e.TotalAmount,
|
|
95
|
+
e.AddedOn
|
|
96
|
+
]
|
|
97
|
+
};
|
|
98
|
+
function c(e) {
|
|
99
|
+
return s[e];
|
|
100
|
+
}
|
|
101
|
+
function l(e) {
|
|
102
|
+
let t = n[e];
|
|
103
|
+
return t ? [...t] : void 0;
|
|
104
|
+
}
|
|
105
|
+
function u(e) {
|
|
106
|
+
return r[e];
|
|
107
|
+
}
|
|
108
|
+
var d = {
|
|
109
|
+
vendorLabel: "counterpart_name",
|
|
110
|
+
issueDateLabel: "issued_at",
|
|
111
|
+
dueDateLabel: "due_date",
|
|
112
|
+
scheduledDateLabel: "scheduled_payment_date",
|
|
113
|
+
addedOnLabel: "created_at"
|
|
114
|
+
}, f = {
|
|
115
|
+
[e.Vendor]: "vendorLabel",
|
|
116
|
+
[e.IssueDate]: "issueDateLabel",
|
|
117
|
+
[e.DueDate]: "dueDateLabel",
|
|
118
|
+
[e.ScheduledDate]: "scheduledDateLabel",
|
|
119
|
+
[e.AddedOn]: "addedOnLabel"
|
|
120
|
+
};
|
|
121
|
+
function p(e) {
|
|
122
|
+
return f[e];
|
|
123
|
+
}
|
|
124
|
+
function m(e) {
|
|
125
|
+
if (e) return d[e];
|
|
9
126
|
}
|
|
10
127
|
//#endregion
|
|
11
|
-
export {
|
|
128
|
+
export { s as BILL_QUEUE_COLUMNS, r as BILL_QUEUE_HAS_SCHEDULED_PAYMENT, o as BILL_QUEUE_ORDER, n as BILL_QUEUE_STATUSES, d as BILL_SORT_FIELDS, t as BillQueue, a as DEFAULT_BILL_QUEUE, c as billQueueColumns, u as billQueueHasScheduledPayment, i as billQueueOffersAddPanel, l as billQueueStatuses, p as billSortColumnId, m as billSortField };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import "./index7.js";
|
|
2
|
-
import "./index11.js";
|
|
3
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js
|
|
4
|
-
function e(e
|
|
5
|
-
if (e.
|
|
6
|
-
|
|
7
|
-
|
|
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;
|
|
8
|
+
}
|
|
8
9
|
}
|
|
9
10
|
//#endregion
|
|
10
|
-
export { e as
|
|
11
|
+
export { e as copyTextToClipboard };
|
|
@@ -1,73 +1,9 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
"use client";
|
|
4
|
-
"use client";
|
|
5
|
-
import { formatCalendarDate as e } from "../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
6
|
-
import { formatMoneyExact as t } from "../../../shared/util/dist/lib/formatMoneyExact.js";
|
|
7
|
-
import { suspectedPayableDuplicates as n } from "../../data-access/dist/index7.js";
|
|
8
|
-
import { useAllSuspectedDuplicatePayablesQuery as r, usePayablesQuery as i } from "../../data-access/dist/index15.js";
|
|
9
|
-
import "../../data-access/dist/index.js";
|
|
10
|
-
import { groupSuspectedDuplicates as a } from "./index3.js";
|
|
11
|
-
import { derivePayableStatus as o } from "./index4.js";
|
|
12
|
-
import { payableRemoval as s } from "./index6.js";
|
|
13
|
-
import { resolveVendorName as c } from "./index5.js";
|
|
14
|
-
import { useMemo as l } from "react";
|
|
15
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js
|
|
16
|
-
function
|
|
17
|
-
return e
|
|
2
|
+
function e(e) {
|
|
3
|
+
return e?.counterpart ?? e?.counterpart_raw_data ?? void 0;
|
|
18
4
|
}
|
|
19
|
-
function
|
|
20
|
-
return e
|
|
21
|
-
}
|
|
22
|
-
function f(t) {
|
|
23
|
-
let r = t.status ? o({
|
|
24
|
-
apiStatus: t.status,
|
|
25
|
-
dueDate: t.due_date,
|
|
26
|
-
scheduledPaymentDate: t.scheduled_payment_date
|
|
27
|
-
}) : void 0;
|
|
28
|
-
return {
|
|
29
|
-
id: t.id,
|
|
30
|
-
status: r?.status,
|
|
31
|
-
statusTone: r?.tone,
|
|
32
|
-
matches: n(t).map((e) => ({
|
|
33
|
-
matchId: e.id,
|
|
34
|
-
matchedPayableId: e.matched_payable_id
|
|
35
|
-
})),
|
|
36
|
-
removeBy: s(t.status),
|
|
37
|
-
vendorLabel: c(t),
|
|
38
|
-
invoiceNumberLabel: t.document_id ?? "",
|
|
39
|
-
amountLabel: d(t.total_amount ?? t.amount_due, t.currency),
|
|
40
|
-
invoiceDateLabel: e(t.issued_at),
|
|
41
|
-
addedOnLabel: e(t.created_at?.slice(0, 10))
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
function p(e) {
|
|
45
|
-
return a(e).map(({ members: e }) => e).filter((e) => e.length > 1).map((e) => ({
|
|
46
|
-
id: e[0].id,
|
|
47
|
-
vendorLabel: e.map(c).find(Boolean) ?? "",
|
|
48
|
-
bills: e.map(f)
|
|
49
|
-
}));
|
|
50
|
-
}
|
|
51
|
-
function m({ enabled: e = !0 } = {}) {
|
|
52
|
-
let t = r({ enabled: e }), n = t.data?.data;
|
|
53
|
-
return {
|
|
54
|
-
groups: l(() => p(n ?? []), [n]),
|
|
55
|
-
isLoading: t.isLoading,
|
|
56
|
-
isError: u(t)
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
function h({ enabled: e = !0 } = {}) {
|
|
60
|
-
let t = i({
|
|
61
|
-
duplicate_match_status: "suspected",
|
|
62
|
-
limit: 100,
|
|
63
|
-
enabled: e
|
|
64
|
-
});
|
|
65
|
-
return {
|
|
66
|
-
count: t.data?.data?.length ?? 0,
|
|
67
|
-
isCapped: !!t.data?.next_pagination_token,
|
|
68
|
-
isError: u(t),
|
|
69
|
-
isLoading: t.isLoading
|
|
70
|
-
};
|
|
5
|
+
function t(e) {
|
|
6
|
+
return e?.counterpart?.name ?? e?.counterpart_raw_data?.name ?? "";
|
|
71
7
|
}
|
|
72
8
|
//#endregion
|
|
73
|
-
export {
|
|
9
|
+
export { e as resolveVendor, t as resolveVendorName };
|
|
@@ -1,48 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./index9.js";
|
|
2
|
+
import "./index13.js";
|
|
2
3
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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."
|
|
29
|
-
}
|
|
30
|
-
}, r = {
|
|
31
|
-
duplicateWarningOne: "1 possible duplicate bill found",
|
|
32
|
-
duplicateWarningMany: (e) => `${e} possible duplicate bills found`,
|
|
33
|
-
duplicateWarningManyCapped: (e) => `${e}+ possible duplicate bills found`,
|
|
34
|
-
duplicateWarningUnavailable: "Couldn't check for possible duplicates. Try again shortly.",
|
|
35
|
-
duplicateBadge: "Duplicate?",
|
|
36
|
-
attachmentIndicator: "Has an attachment",
|
|
37
|
-
emptyHeading: "Add your first bill",
|
|
38
|
-
nonEmptyHeading: "Add a bill",
|
|
39
|
-
createButton: "Add bill",
|
|
40
|
-
emailCopiedToast: "Email address copied to clipboard",
|
|
41
|
-
emailCopyFailedToast: "Could not copy the email address",
|
|
42
|
-
queues: t,
|
|
43
|
-
queueEmptyStates: n,
|
|
44
|
-
filters: {},
|
|
45
|
-
filterBar: {}
|
|
46
|
-
};
|
|
4
|
+
function e(e, t) {
|
|
5
|
+
if (e.isError) return t.duplicateWarningUnavailable;
|
|
6
|
+
if (e.isCapped) return t.duplicateWarningManyCapped(100);
|
|
7
|
+
if (e.count !== 0) return e.count === 1 ? t.duplicateWarningOne : t.duplicateWarningMany(e.count);
|
|
8
|
+
}
|
|
47
9
|
//#endregion
|
|
48
|
-
export {
|
|
10
|
+
export { e as resolveDuplicateWarning };
|
|
@@ -1,23 +1,48 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../../ui/dist/index.js";
|
|
1
|
+
import { BillQueue as e } from "./index68.js";
|
|
3
2
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js
|
|
4
3
|
var t = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
[e.Drafts]: "Drafts",
|
|
5
|
+
[e.Pending]: "Pending",
|
|
6
|
+
[e.Scheduled]: "Scheduled",
|
|
7
|
+
[e.Paid]: "Paid",
|
|
8
|
+
[e.All]: "All bills"
|
|
8
9
|
}, n = {
|
|
9
|
-
[e.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
[e.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
[e.
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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."
|
|
29
|
+
}
|
|
30
|
+
}, r = {
|
|
31
|
+
duplicateWarningOne: "1 possible duplicate bill found",
|
|
32
|
+
duplicateWarningMany: (e) => `${e} possible duplicate bills found`,
|
|
33
|
+
duplicateWarningManyCapped: (e) => `${e}+ possible duplicate bills found`,
|
|
34
|
+
duplicateWarningUnavailable: "Couldn't check for possible duplicates. Try again shortly.",
|
|
35
|
+
duplicateBadge: "Duplicate?",
|
|
36
|
+
attachmentIndicator: "Has an attachment",
|
|
37
|
+
emptyHeading: "Add your first bill",
|
|
38
|
+
nonEmptyHeading: "Add a bill",
|
|
39
|
+
createButton: "Add bill",
|
|
40
|
+
emailCopiedToast: "Email address copied to clipboard",
|
|
41
|
+
emailCopyFailedToast: "Could not copy the email address",
|
|
42
|
+
queues: t,
|
|
43
|
+
queueEmptyStates: n,
|
|
44
|
+
filters: {},
|
|
45
|
+
filterBar: {}
|
|
21
46
|
};
|
|
22
47
|
//#endregion
|
|
23
|
-
export {
|
|
48
|
+
export { r as BILLS_TAB_LABELS_EN, n as BILL_QUEUE_EMPTY_STATES_EN, t as BILL_QUEUE_LABELS_EN };
|
|
@@ -1,31 +1,23 @@
|
|
|
1
|
+
import { BillColumn as e } from "../../ui/dist/index70.js";
|
|
2
|
+
import "../../ui/dist/index.js";
|
|
1
3
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
e.
|
|
12
|
-
e.
|
|
13
|
-
e.
|
|
14
|
-
e.
|
|
15
|
-
e.
|
|
16
|
-
e.
|
|
17
|
-
e.
|
|
18
|
-
]
|
|
19
|
-
[e.Draft]: ["draft", "new"],
|
|
20
|
-
[e.PendingApproval]: ["approve_in_progress"],
|
|
21
|
-
[e.ReadyToPay]: ["waiting_to_be_paid"],
|
|
22
|
-
[e.PartiallyPaid]: ["partially_paid"],
|
|
23
|
-
[e.Paid]: ["paid"],
|
|
24
|
-
[e.Rejected]: ["rejected"],
|
|
25
|
-
[e.Canceled]: ["canceled"]
|
|
4
|
+
var t = {
|
|
5
|
+
root: "bill-pay-bills-tab",
|
|
6
|
+
uploadTray: "bill-pay-upload-tray",
|
|
7
|
+
detailsSheet: "bill-pay-details-sheet"
|
|
8
|
+
}, n = {
|
|
9
|
+
[e.Vendor]: "bill-pay-bills-cell-vendor",
|
|
10
|
+
[e.Attachment]: "bill-pay-bills-cell-attachment",
|
|
11
|
+
[e.IssueDate]: "bill-pay-bills-cell-issue-date",
|
|
12
|
+
[e.DueDate]: "bill-pay-bills-cell-due-date",
|
|
13
|
+
[e.ScheduledDate]: "bill-pay-bills-cell-scheduled-date",
|
|
14
|
+
[e.PaidDate]: "bill-pay-bills-cell-paid-date",
|
|
15
|
+
[e.Status]: "bill-pay-bills-cell-status",
|
|
16
|
+
[e.AmountDue]: "bill-pay-bills-cell-amount-due",
|
|
17
|
+
[e.AmountScheduled]: "bill-pay-bills-cell-amount-scheduled",
|
|
18
|
+
[e.AmountPaid]: "bill-pay-bills-cell-amount-paid",
|
|
19
|
+
[e.TotalAmount]: "bill-pay-bills-cell-total-amount",
|
|
20
|
+
[e.AddedOn]: "bill-pay-bills-cell-added-on"
|
|
26
21
|
};
|
|
27
|
-
function r(e) {
|
|
28
|
-
return e.flatMap((e) => n[e] ?? [e]);
|
|
29
|
-
}
|
|
30
22
|
//#endregion
|
|
31
|
-
export { t as
|
|
23
|
+
export { t as billsTabTestIds, n as billsTableCellTestIds };
|
|
@@ -1,86 +1,31 @@
|
|
|
1
|
-
import { endOfDay as e, endOfMonth as t, endOfQuarter as n, endOfWeek as r, endOfYear as i, startOfDay as a, startOfMonth as o, startOfQuarter as s, startOfWeek as c, startOfYear as l, subDays as u, subMonths as d, subQuarters as f, subWeeks as p, subYears as m } from "date-fns";
|
|
2
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
2
|
+
var e = {
|
|
3
|
+
Draft: "draft",
|
|
4
|
+
PendingApproval: "pending_approval",
|
|
5
|
+
ReadyToPay: "ready_to_pay",
|
|
6
|
+
PartiallyPaid: "partially_paid",
|
|
7
|
+
Paid: "paid",
|
|
8
|
+
Rejected: "rejected",
|
|
9
|
+
Canceled: "canceled"
|
|
10
|
+
}, t = [
|
|
11
|
+
e.Draft,
|
|
12
|
+
e.PendingApproval,
|
|
13
|
+
e.ReadyToPay,
|
|
14
|
+
e.PartiallyPaid,
|
|
15
|
+
e.Paid,
|
|
16
|
+
e.Rejected,
|
|
17
|
+
e.Canceled
|
|
18
|
+
], n = {
|
|
19
|
+
[e.Draft]: ["draft", "new"],
|
|
20
|
+
[e.PendingApproval]: ["approve_in_progress"],
|
|
21
|
+
[e.ReadyToPay]: ["waiting_to_be_paid"],
|
|
22
|
+
[e.PartiallyPaid]: ["partially_paid"],
|
|
23
|
+
[e.Paid]: ["paid"],
|
|
24
|
+
[e.Rejected]: ["rejected"],
|
|
25
|
+
[e.Canceled]: ["canceled"]
|
|
16
26
|
};
|
|
17
|
-
function
|
|
18
|
-
|
|
19
|
-
switch (g) {
|
|
20
|
-
case h.Today: return {
|
|
21
|
-
from: v,
|
|
22
|
-
to: e(v)
|
|
23
|
-
};
|
|
24
|
-
case h.ThisWeek: return {
|
|
25
|
-
from: c(v),
|
|
26
|
-
to: r(v)
|
|
27
|
-
};
|
|
28
|
-
case h.ThisMonth: return {
|
|
29
|
-
from: o(v),
|
|
30
|
-
to: t(v)
|
|
31
|
-
};
|
|
32
|
-
case h.ThisQuarter: return {
|
|
33
|
-
from: s(v),
|
|
34
|
-
to: n(v)
|
|
35
|
-
};
|
|
36
|
-
case h.ThisYear: return {
|
|
37
|
-
from: l(v),
|
|
38
|
-
to: i(v)
|
|
39
|
-
};
|
|
40
|
-
case h.Yesterday: {
|
|
41
|
-
let t = u(v, 1);
|
|
42
|
-
return {
|
|
43
|
-
from: t,
|
|
44
|
-
to: e(t)
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
case h.LastWeek: {
|
|
48
|
-
let e = c(p(v, 1));
|
|
49
|
-
return {
|
|
50
|
-
from: e,
|
|
51
|
-
to: r(e)
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
case h.LastMonth: {
|
|
55
|
-
let e = o(d(v, 1));
|
|
56
|
-
return {
|
|
57
|
-
from: e,
|
|
58
|
-
to: t(e)
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
case h.Last30Days: return {
|
|
62
|
-
from: u(v, 29),
|
|
63
|
-
to: e(v)
|
|
64
|
-
};
|
|
65
|
-
case h.Last90Days: return {
|
|
66
|
-
from: u(v, 89),
|
|
67
|
-
to: e(v)
|
|
68
|
-
};
|
|
69
|
-
case h.LastQuarter: {
|
|
70
|
-
let e = s(f(v, 1));
|
|
71
|
-
return {
|
|
72
|
-
from: e,
|
|
73
|
-
to: n(e)
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
case h.LastYear: {
|
|
77
|
-
let e = l(m(v, 1));
|
|
78
|
-
return {
|
|
79
|
-
from: e,
|
|
80
|
-
to: i(e)
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
}
|
|
27
|
+
function r(e) {
|
|
28
|
+
return e.flatMap((e) => n[e] ?? [e]);
|
|
84
29
|
}
|
|
85
30
|
//#endregion
|
|
86
|
-
export {
|
|
31
|
+
export { t as BILL_STATUS_FILTER_ORDER, e as BillStatusFilter, r as billStatusFilterApiValues };
|