@tesouro/embedded-components-react 0.5.19 → 0.5.20
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/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index6.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +4 -91
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +78 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +98 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +3 -49
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +47 -136
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +136 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +33 -187
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +188 -75
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +75 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +22 -232
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +223 -210
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +202 -108
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +126 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +12 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +47 -53
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +49 -202
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +202 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +32 -234
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +240 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +19 -434
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +436 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +4 -38
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +35 -231
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +235 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +3 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +2 -44
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +46 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +10 -110
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +112 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +3 -127
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +124 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +8 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +8 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +43 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +20 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +27 -82
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +83 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +47 -250
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +239 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +110 -206
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +213 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +6 -113
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +115 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +25 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index10.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index11.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index12.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index13.js +24 -0
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index14.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index15.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index16.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index17.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index18.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index19.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index2.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index20.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index21.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index22.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index23.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index3.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index4.js +29 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index5.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/data-access/dist/index6.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index7.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index8.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/data-access/dist/index9.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index10.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index11.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index12.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index13.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index14.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index15.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index16.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index17.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index2.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index5.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index7.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index8.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index9.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index10.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index11.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index12.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index13.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index14.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index15.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index16.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index17.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index18.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index2.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index5.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index8.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index9.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +12 -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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index11.js +0 -3
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index13.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index2.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index4.js +0 -29
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index5.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index6.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index2.js +0 -9
- /package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/feature/dist/index.js +0 -0
- /package/dist/libs/tesouro-embedded-components-react/{team-widget → settings-widget/team}/ui/dist/index.js +0 -0
|
@@ -1,112 +1,12 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
"use client";
|
|
4
|
-
"use client";
|
|
5
|
-
import { toast as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
-
import { useEmbedApi as t } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
7
|
-
import "../../../shared/ui/dist/index.js";
|
|
8
|
-
import { useUploadPayableFromFileMutation as n } from "../../data-access/dist/index13.js";
|
|
9
|
-
import { usePayableOcrQueries as r } from "../../data-access/dist/index15.js";
|
|
10
|
-
import "../../data-access/dist/index.js";
|
|
11
|
-
import { billPayUploadQueueKey as i } from "./index68.js";
|
|
12
|
-
import { BILL_UPLOAD_QUEUE_LABELS_EN as a } from "./index69.js";
|
|
13
|
-
import { useCallback as o, useEffect as s, useMemo as c, useState as l } from "react";
|
|
14
|
-
import { useQuery as u, useQueryClient as d } from "@tanstack/react-query";
|
|
15
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
initialData: []
|
|
26
|
-
}), w = o((e, t) => {
|
|
27
|
-
v.setQueryData(y, (n) => (n ?? []).map((n) => n.localId === e ? {
|
|
28
|
-
...n,
|
|
29
|
-
...t
|
|
30
|
-
} : n));
|
|
31
|
-
}, [v, y]), T = o((e) => {
|
|
32
|
-
v.setQueryData(y, (t) => (t ?? []).filter((t) => t.localId !== e));
|
|
33
|
-
}, [v, y]), E = o((t) => {
|
|
34
|
-
let n = (v.getQueryData(y) ?? []).filter((e) => e.status === "uploading").length;
|
|
35
|
-
if (t.length + n > 10) {
|
|
36
|
-
e.error(n > 0 ? g(10 - n) : h(10));
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
S(!1);
|
|
40
|
-
for (let e of t) {
|
|
41
|
-
let t = crypto.randomUUID();
|
|
42
|
-
v.setQueryData(y, (n) => [...n ?? [], {
|
|
43
|
-
localId: t,
|
|
44
|
-
fileName: e.name,
|
|
45
|
-
status: "uploading"
|
|
46
|
-
}]), b.mutateAsync({ file: e }).then((e) => w(t, { payableId: e?.id })).catch(() => w(t, { status: "failed" }));
|
|
47
|
-
}
|
|
48
|
-
}, [
|
|
49
|
-
w,
|
|
50
|
-
v,
|
|
51
|
-
y,
|
|
52
|
-
g,
|
|
53
|
-
h,
|
|
54
|
-
b
|
|
55
|
-
]), D = r({ payableIds: C.filter((e) => e.status === "uploading" && e.payableId).map((e) => e.payableId) });
|
|
56
|
-
s(() => {
|
|
57
|
-
let e = /* @__PURE__ */ new Set();
|
|
58
|
-
for (let t of D) if (t.suspectedDuplicateOf.length !== 0) {
|
|
59
|
-
e.add(t.payableId);
|
|
60
|
-
for (let n of t.suspectedDuplicateOf) e.add(n);
|
|
61
|
-
}
|
|
62
|
-
for (let { payableId: t, ocrStatus: n, isError: r } of D) {
|
|
63
|
-
let i = C.find((e) => e.payableId === t && e.status === "uploading");
|
|
64
|
-
i && (n === "success" ? w(i.localId, { status: e.has(t) ? "duplicate" : "ready" }) : (r || n === "error" || n === "canceled") && w(i.localId, { status: "failed" }));
|
|
65
|
-
}
|
|
66
|
-
for (let t of C) t.status === "ready" && t.payableId && e.has(t.payableId) && w(t.localId, { status: "duplicate" });
|
|
67
|
-
}, [
|
|
68
|
-
C,
|
|
69
|
-
D,
|
|
70
|
-
w
|
|
71
|
-
]);
|
|
72
|
-
let O = C.filter((e) => e.status === "uploading"), k = C.filter((e) => e.status === "ready"), A = C.filter((e) => e.status === "duplicate"), j = C.filter((e) => e.status === "failed"), M = (e) => ({
|
|
73
|
-
id: e.localId,
|
|
74
|
-
fileName: e.fileName,
|
|
75
|
-
status: e.status,
|
|
76
|
-
onOpen: (e.status === "ready" || e.status === "duplicate") && e.payableId && f ? () => {
|
|
77
|
-
f(e.payableId), T(e.localId);
|
|
78
|
-
} : void 0
|
|
79
|
-
}), N = O.length ? [{
|
|
80
|
-
id: "in-progress",
|
|
81
|
-
items: C.map(M)
|
|
82
|
-
}] : [
|
|
83
|
-
...k.length ? [{
|
|
84
|
-
id: "ready",
|
|
85
|
-
caption: m.readyCaption(k.length),
|
|
86
|
-
items: k.map(M)
|
|
87
|
-
}] : [],
|
|
88
|
-
...A.length ? [{
|
|
89
|
-
id: "duplicate",
|
|
90
|
-
caption: m.duplicateCaption(A.length),
|
|
91
|
-
items: A.map(M)
|
|
92
|
-
}] : [],
|
|
93
|
-
...j.length ? [{
|
|
94
|
-
id: "failed",
|
|
95
|
-
caption: m.failedCaption(j.length),
|
|
96
|
-
items: j.map(M)
|
|
97
|
-
}] : []
|
|
98
|
-
], P = k.length + A.length, F = O.length ? m.uploadingSummary(C.length) : P ? m.completeSummary(P) : m.failedCaption(j.length), I = o(() => {
|
|
99
|
-
v.setQueryData(y, []);
|
|
100
|
-
}, [v, y]);
|
|
101
|
-
return {
|
|
102
|
-
enqueue: E,
|
|
103
|
-
sections: N,
|
|
104
|
-
summaryLabel: F,
|
|
105
|
-
collapsed: x,
|
|
106
|
-
onToggleCollapsed: o(() => S((e) => !e), []),
|
|
107
|
-
onClose: I,
|
|
108
|
-
isVisible: C.length > 0
|
|
109
|
-
};
|
|
110
|
-
}
|
|
2
|
+
var e = {
|
|
3
|
+
uploadingSummary: (e) => `Uploading and scanning ${e} ${e === 1 ? "file" : "files"}`,
|
|
4
|
+
completeSummary: (e) => `${e} ${e === 1 ? "upload" : "uploads"} complete`,
|
|
5
|
+
readyCaption: (e) => `${e} new ${e === 1 ? "bill" : "bills"} ready`,
|
|
6
|
+
duplicateCaption: (e) => `${e} possible ${e === 1 ? "duplicate" : "duplicates"}`,
|
|
7
|
+
failedCaption: (e) => `${e} failed to upload`,
|
|
8
|
+
tooManyFilesError: (e) => `You can only upload up to ${e} files at a time`,
|
|
9
|
+
remainingCapacityError: (e) => e === 0 ? "Wait for the current uploads to finish before adding more files" : `You can upload ${e} more ${e === 1 ? "file" : "files"} right now`
|
|
10
|
+
};
|
|
111
11
|
//#endregion
|
|
112
|
-
export {
|
|
12
|
+
export { e as BILL_UPLOAD_QUEUE_LABELS_EN };
|
|
@@ -1,3 +1,112 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
"use client";
|
|
4
|
+
"use client";
|
|
5
|
+
import { toast as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
+
import { useEmbedApi as t } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
7
|
+
import "../../../shared/ui/dist/index.js";
|
|
8
|
+
import { useUploadPayableFromFileMutation as n } from "../../data-access/dist/index13.js";
|
|
9
|
+
import { usePayableOcrQueries as r } from "../../data-access/dist/index15.js";
|
|
10
|
+
import "../../data-access/dist/index.js";
|
|
11
|
+
import { billPayUploadQueueKey as i } from "./index69.js";
|
|
12
|
+
import { BILL_UPLOAD_QUEUE_LABELS_EN as a } from "./index70.js";
|
|
13
|
+
import { useCallback as o, useEffect as s, useMemo as c, useState as l } from "react";
|
|
14
|
+
import { useQuery as u, useQueryClient as d } from "@tanstack/react-query";
|
|
15
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js
|
|
16
|
+
function f({ onOpenBill: f, labels: p } = {}) {
|
|
17
|
+
let m = {
|
|
18
|
+
...a,
|
|
19
|
+
...p
|
|
20
|
+
}, h = p?.tooManyFilesError ?? a.tooManyFilesError, g = p?.remainingCapacityError ?? a.remainingCapacityError, { organizationId: _ } = t(), v = d(), y = c(() => i(_), [_]), b = n(), [x, S] = l(!1), { data: C = [] } = u({
|
|
21
|
+
queryKey: y,
|
|
22
|
+
queryFn: () => v.getQueryData(y) ?? [],
|
|
23
|
+
staleTime: Infinity,
|
|
24
|
+
gcTime: Infinity,
|
|
25
|
+
initialData: []
|
|
26
|
+
}), w = o((e, t) => {
|
|
27
|
+
v.setQueryData(y, (n) => (n ?? []).map((n) => n.localId === e ? {
|
|
28
|
+
...n,
|
|
29
|
+
...t
|
|
30
|
+
} : n));
|
|
31
|
+
}, [v, y]), T = o((e) => {
|
|
32
|
+
v.setQueryData(y, (t) => (t ?? []).filter((t) => t.localId !== e));
|
|
33
|
+
}, [v, y]), E = o((t) => {
|
|
34
|
+
let n = (v.getQueryData(y) ?? []).filter((e) => e.status === "uploading").length;
|
|
35
|
+
if (t.length + n > 10) {
|
|
36
|
+
e.error(n > 0 ? g(10 - n) : h(10));
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
S(!1);
|
|
40
|
+
for (let e of t) {
|
|
41
|
+
let t = crypto.randomUUID();
|
|
42
|
+
v.setQueryData(y, (n) => [...n ?? [], {
|
|
43
|
+
localId: t,
|
|
44
|
+
fileName: e.name,
|
|
45
|
+
status: "uploading"
|
|
46
|
+
}]), b.mutateAsync({ file: e }).then((e) => w(t, { payableId: e?.id })).catch(() => w(t, { status: "failed" }));
|
|
47
|
+
}
|
|
48
|
+
}, [
|
|
49
|
+
w,
|
|
50
|
+
v,
|
|
51
|
+
y,
|
|
52
|
+
g,
|
|
53
|
+
h,
|
|
54
|
+
b
|
|
55
|
+
]), D = r({ payableIds: C.filter((e) => e.status === "uploading" && e.payableId).map((e) => e.payableId) });
|
|
56
|
+
s(() => {
|
|
57
|
+
let e = /* @__PURE__ */ new Set();
|
|
58
|
+
for (let t of D) if (t.suspectedDuplicateOf.length !== 0) {
|
|
59
|
+
e.add(t.payableId);
|
|
60
|
+
for (let n of t.suspectedDuplicateOf) e.add(n);
|
|
61
|
+
}
|
|
62
|
+
for (let { payableId: t, ocrStatus: n, isError: r } of D) {
|
|
63
|
+
let i = C.find((e) => e.payableId === t && e.status === "uploading");
|
|
64
|
+
i && (n === "success" ? w(i.localId, { status: e.has(t) ? "duplicate" : "ready" }) : (r || n === "error" || n === "canceled") && w(i.localId, { status: "failed" }));
|
|
65
|
+
}
|
|
66
|
+
for (let t of C) t.status === "ready" && t.payableId && e.has(t.payableId) && w(t.localId, { status: "duplicate" });
|
|
67
|
+
}, [
|
|
68
|
+
C,
|
|
69
|
+
D,
|
|
70
|
+
w
|
|
71
|
+
]);
|
|
72
|
+
let O = C.filter((e) => e.status === "uploading"), k = C.filter((e) => e.status === "ready"), A = C.filter((e) => e.status === "duplicate"), j = C.filter((e) => e.status === "failed"), M = (e) => ({
|
|
73
|
+
id: e.localId,
|
|
74
|
+
fileName: e.fileName,
|
|
75
|
+
status: e.status,
|
|
76
|
+
onOpen: (e.status === "ready" || e.status === "duplicate") && e.payableId && f ? () => {
|
|
77
|
+
f(e.payableId), T(e.localId);
|
|
78
|
+
} : void 0
|
|
79
|
+
}), N = O.length ? [{
|
|
80
|
+
id: "in-progress",
|
|
81
|
+
items: C.map(M)
|
|
82
|
+
}] : [
|
|
83
|
+
...k.length ? [{
|
|
84
|
+
id: "ready",
|
|
85
|
+
caption: m.readyCaption(k.length),
|
|
86
|
+
items: k.map(M)
|
|
87
|
+
}] : [],
|
|
88
|
+
...A.length ? [{
|
|
89
|
+
id: "duplicate",
|
|
90
|
+
caption: m.duplicateCaption(A.length),
|
|
91
|
+
items: A.map(M)
|
|
92
|
+
}] : [],
|
|
93
|
+
...j.length ? [{
|
|
94
|
+
id: "failed",
|
|
95
|
+
caption: m.failedCaption(j.length),
|
|
96
|
+
items: j.map(M)
|
|
97
|
+
}] : []
|
|
98
|
+
], P = k.length + A.length, F = O.length ? m.uploadingSummary(C.length) : P ? m.completeSummary(P) : m.failedCaption(j.length), I = o(() => {
|
|
99
|
+
v.setQueryData(y, []);
|
|
100
|
+
}, [v, y]);
|
|
101
|
+
return {
|
|
102
|
+
enqueue: E,
|
|
103
|
+
sections: N,
|
|
104
|
+
summaryLabel: F,
|
|
105
|
+
collapsed: x,
|
|
106
|
+
onToggleCollapsed: o(() => S((e) => !e), []),
|
|
107
|
+
onClose: I,
|
|
108
|
+
isVisible: C.length > 0
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
//#endregion
|
|
112
|
+
export { f as useBillUploadQueue };
|
|
@@ -1,127 +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", "new"],
|
|
12
|
-
[t.Pending]: [
|
|
13
|
-
"approve_in_progress",
|
|
14
|
-
"waiting_to_be_paid",
|
|
15
|
-
"partially_paid"
|
|
16
|
-
],
|
|
17
|
-
[t.Scheduled]: [
|
|
18
|
-
"new",
|
|
19
|
-
"approve_in_progress",
|
|
20
|
-
"waiting_to_be_paid",
|
|
21
|
-
"partially_paid"
|
|
22
|
-
],
|
|
23
|
-
[t.Paid]: ["paid"],
|
|
24
|
-
[t.All]: void 0
|
|
25
|
-
}, r = {
|
|
26
|
-
[t.Drafts]: void 0,
|
|
27
|
-
[t.Pending]: !1,
|
|
28
|
-
[t.Scheduled]: !0,
|
|
29
|
-
[t.Paid]: void 0,
|
|
30
|
-
[t.All]: void 0
|
|
31
|
-
};
|
|
32
|
-
function i(e) {
|
|
33
|
-
return e === t.Pending || e === t.Drafts;
|
|
34
|
-
}
|
|
35
|
-
var a = t.Drafts, o = [
|
|
36
|
-
t.Drafts,
|
|
37
|
-
t.Pending,
|
|
38
|
-
t.Scheduled,
|
|
39
|
-
t.Paid,
|
|
40
|
-
t.All
|
|
41
|
-
], s = {
|
|
42
|
-
[t.Drafts]: [
|
|
43
|
-
e.Vendor,
|
|
44
|
-
e.Attachment,
|
|
45
|
-
e.IssueDate,
|
|
46
|
-
e.DueDate,
|
|
47
|
-
e.Status,
|
|
48
|
-
e.AmountDue,
|
|
49
|
-
e.TotalAmount,
|
|
50
|
-
e.AddedOn
|
|
51
|
-
],
|
|
52
|
-
[t.Pending]: [
|
|
53
|
-
e.Vendor,
|
|
54
|
-
e.Attachment,
|
|
55
|
-
e.IssueDate,
|
|
56
|
-
e.DueDate,
|
|
57
|
-
e.Status,
|
|
58
|
-
e.AmountDue,
|
|
59
|
-
e.TotalAmount,
|
|
60
|
-
e.AddedOn
|
|
61
|
-
],
|
|
62
|
-
[t.Scheduled]: [
|
|
63
|
-
e.Vendor,
|
|
64
|
-
e.Attachment,
|
|
65
|
-
e.IssueDate,
|
|
66
|
-
e.DueDate,
|
|
67
|
-
e.ScheduledDate,
|
|
68
|
-
e.Status,
|
|
69
|
-
e.AmountScheduled,
|
|
70
|
-
e.TotalAmount,
|
|
71
|
-
e.AddedOn
|
|
72
|
-
],
|
|
73
|
-
[t.Paid]: [
|
|
74
|
-
e.Vendor,
|
|
75
|
-
e.Attachment,
|
|
76
|
-
e.IssueDate,
|
|
77
|
-
e.DueDate,
|
|
78
|
-
e.PaidDate,
|
|
79
|
-
e.Status,
|
|
80
|
-
e.AmountPaid,
|
|
81
|
-
e.TotalAmount,
|
|
82
|
-
e.AddedOn
|
|
83
|
-
],
|
|
84
|
-
[t.All]: [
|
|
85
|
-
e.Vendor,
|
|
86
|
-
e.Attachment,
|
|
87
|
-
e.IssueDate,
|
|
88
|
-
e.DueDate,
|
|
89
|
-
e.ScheduledDate,
|
|
90
|
-
e.Status,
|
|
91
|
-
e.AmountDue,
|
|
92
|
-
e.AmountPaid,
|
|
93
|
-
e.TotalAmount,
|
|
94
|
-
e.AddedOn
|
|
95
|
-
]
|
|
96
|
-
};
|
|
97
|
-
function c(e) {
|
|
98
|
-
return s[e];
|
|
99
|
-
}
|
|
100
|
-
function l(e) {
|
|
101
|
-
let t = n[e];
|
|
102
|
-
return t ? [...t] : void 0;
|
|
103
|
-
}
|
|
104
|
-
function u(e) {
|
|
105
|
-
return r[e];
|
|
106
|
-
}
|
|
107
|
-
var d = {
|
|
108
|
-
vendorLabel: "counterpart_name",
|
|
109
|
-
issueDateLabel: "issued_at",
|
|
110
|
-
dueDateLabel: "due_date",
|
|
111
|
-
scheduledDateLabel: "scheduled_payment_date",
|
|
112
|
-
addedOnLabel: "created_at"
|
|
113
|
-
}, f = {
|
|
114
|
-
[e.Vendor]: "vendorLabel",
|
|
115
|
-
[e.IssueDate]: "issueDateLabel",
|
|
116
|
-
[e.DueDate]: "dueDateLabel",
|
|
117
|
-
[e.ScheduledDate]: "scheduledDateLabel",
|
|
118
|
-
[e.AddedOn]: "addedOnLabel"
|
|
119
|
-
};
|
|
120
|
-
function p(e) {
|
|
121
|
-
return f[e];
|
|
122
|
-
}
|
|
123
|
-
function m(e) {
|
|
124
|
-
if (e) return d[e];
|
|
125
|
-
}
|
|
126
|
-
//#endregion
|
|
127
|
-
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 "./index69.js";
|
|
2
|
+
import "./index70.js";
|
|
3
|
+
import "./index71.js";
|
|
@@ -1,11 +1,127 @@
|
|
|
1
|
+
import { BillColumn as e } from "../../ui/dist/index78.js";
|
|
2
|
+
import "../../ui/dist/index.js";
|
|
1
3
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.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", "new"],
|
|
12
|
+
[t.Pending]: [
|
|
13
|
+
"approve_in_progress",
|
|
14
|
+
"waiting_to_be_paid",
|
|
15
|
+
"partially_paid"
|
|
16
|
+
],
|
|
17
|
+
[t.Scheduled]: [
|
|
18
|
+
"new",
|
|
19
|
+
"approve_in_progress",
|
|
20
|
+
"waiting_to_be_paid",
|
|
21
|
+
"partially_paid"
|
|
22
|
+
],
|
|
23
|
+
[t.Paid]: ["paid"],
|
|
24
|
+
[t.All]: void 0
|
|
25
|
+
}, r = {
|
|
26
|
+
[t.Drafts]: void 0,
|
|
27
|
+
[t.Pending]: !1,
|
|
28
|
+
[t.Scheduled]: !0,
|
|
29
|
+
[t.Paid]: void 0,
|
|
30
|
+
[t.All]: void 0
|
|
31
|
+
};
|
|
32
|
+
function i(e) {
|
|
33
|
+
return e === t.Pending || e === t.Drafts;
|
|
34
|
+
}
|
|
35
|
+
var a = t.Drafts, o = [
|
|
36
|
+
t.Drafts,
|
|
37
|
+
t.Pending,
|
|
38
|
+
t.Scheduled,
|
|
39
|
+
t.Paid,
|
|
40
|
+
t.All
|
|
41
|
+
], s = {
|
|
42
|
+
[t.Drafts]: [
|
|
43
|
+
e.Vendor,
|
|
44
|
+
e.Attachment,
|
|
45
|
+
e.IssueDate,
|
|
46
|
+
e.DueDate,
|
|
47
|
+
e.Status,
|
|
48
|
+
e.AmountDue,
|
|
49
|
+
e.TotalAmount,
|
|
50
|
+
e.AddedOn
|
|
51
|
+
],
|
|
52
|
+
[t.Pending]: [
|
|
53
|
+
e.Vendor,
|
|
54
|
+
e.Attachment,
|
|
55
|
+
e.IssueDate,
|
|
56
|
+
e.DueDate,
|
|
57
|
+
e.Status,
|
|
58
|
+
e.AmountDue,
|
|
59
|
+
e.TotalAmount,
|
|
60
|
+
e.AddedOn
|
|
61
|
+
],
|
|
62
|
+
[t.Scheduled]: [
|
|
63
|
+
e.Vendor,
|
|
64
|
+
e.Attachment,
|
|
65
|
+
e.IssueDate,
|
|
66
|
+
e.DueDate,
|
|
67
|
+
e.ScheduledDate,
|
|
68
|
+
e.Status,
|
|
69
|
+
e.AmountScheduled,
|
|
70
|
+
e.TotalAmount,
|
|
71
|
+
e.AddedOn
|
|
72
|
+
],
|
|
73
|
+
[t.Paid]: [
|
|
74
|
+
e.Vendor,
|
|
75
|
+
e.Attachment,
|
|
76
|
+
e.IssueDate,
|
|
77
|
+
e.DueDate,
|
|
78
|
+
e.PaidDate,
|
|
79
|
+
e.Status,
|
|
80
|
+
e.AmountPaid,
|
|
81
|
+
e.TotalAmount,
|
|
82
|
+
e.AddedOn
|
|
83
|
+
],
|
|
84
|
+
[t.All]: [
|
|
85
|
+
e.Vendor,
|
|
86
|
+
e.Attachment,
|
|
87
|
+
e.IssueDate,
|
|
88
|
+
e.DueDate,
|
|
89
|
+
e.ScheduledDate,
|
|
90
|
+
e.Status,
|
|
91
|
+
e.AmountDue,
|
|
92
|
+
e.AmountPaid,
|
|
93
|
+
e.TotalAmount,
|
|
94
|
+
e.AddedOn
|
|
95
|
+
]
|
|
96
|
+
};
|
|
97
|
+
function c(e) {
|
|
98
|
+
return s[e];
|
|
99
|
+
}
|
|
100
|
+
function l(e) {
|
|
101
|
+
let t = n[e];
|
|
102
|
+
return t ? [...t] : void 0;
|
|
103
|
+
}
|
|
104
|
+
function u(e) {
|
|
105
|
+
return r[e];
|
|
106
|
+
}
|
|
107
|
+
var d = {
|
|
108
|
+
vendorLabel: "counterpart_name",
|
|
109
|
+
issueDateLabel: "issued_at",
|
|
110
|
+
dueDateLabel: "due_date",
|
|
111
|
+
scheduledDateLabel: "scheduled_payment_date",
|
|
112
|
+
addedOnLabel: "created_at"
|
|
113
|
+
}, f = {
|
|
114
|
+
[e.Vendor]: "vendorLabel",
|
|
115
|
+
[e.IssueDate]: "issueDateLabel",
|
|
116
|
+
[e.DueDate]: "dueDateLabel",
|
|
117
|
+
[e.ScheduledDate]: "scheduledDateLabel",
|
|
118
|
+
[e.AddedOn]: "addedOnLabel"
|
|
119
|
+
};
|
|
120
|
+
function p(e) {
|
|
121
|
+
return f[e];
|
|
122
|
+
}
|
|
123
|
+
function m(e) {
|
|
124
|
+
if (e) return d[e];
|
|
9
125
|
}
|
|
10
126
|
//#endregion
|
|
11
|
-
export {
|
|
127
|
+
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 "./index10.js";
|
|
2
|
-
import "./index14.js";
|
|
3
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.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,48 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./index10.js";
|
|
2
|
+
import "./index14.js";
|
|
2
3
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.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
|
-
duplicateRowNote: "Possible 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 "./index73.js";
|
|
3
2
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.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
|
+
duplicateRowNote: "Possible 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 };
|