@tesouro/embedded-components-react 0.5.141 → 0.5.142
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/feature/dist/index.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +9 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +21 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +21 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +41 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +16 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +8 -98
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +4 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +98 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +78 -135
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +4 -45
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +139 -109
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +44 -186
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +108 -72
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +188 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +71 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +27 -406
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +88 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +403 -77
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +13 -80
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +77 -221
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +78 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +212 -234
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +44 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +234 -557
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +23 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +581 -40
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +4 -251
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +45 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +261 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +3 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +44 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +6 -127
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +13 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +126 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +3 -127
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +3 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +124 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +8 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +8 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +51 -20
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +20 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +19 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +28 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +76 -252
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +48 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +249 -142
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +27 -206
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +160 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js +217 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +3 -112
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index89.js +7 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index90.js +104 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index91.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index92.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +48 -48
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +102 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +2 -128
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +31 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index104.js +125 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index106.js +29 -177
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index107.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index108.js +178 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index109.js +2 -108
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index110.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index111.js +106 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index112.js +2 -52
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index113.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index114.js +52 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index115.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +26 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +14 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +19 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +2 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +26 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +28 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +1 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +27 -117
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index29.js +19 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +123 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +2 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +20 -99
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +2 -79
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +97 -273
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +79 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +273 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +2 -56
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +21 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +52 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +2 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +47 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +2 -374
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +369 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +2 -96
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +93 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +1 -51
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +49 -53
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +2 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +53 -194
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +195 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +2 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +37 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +2 -88
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +19 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +78 -308
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +311 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +1 -39
- 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 +37 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +2 -36
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +34 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +37 -199
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +12 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +199 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +2 -402
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +13 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +413 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +8 -91
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +9 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +93 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +2 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +118 -87
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +28 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +92 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +2 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +28 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +2 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +32 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +1 -105
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/relativeCalendarDay.js +12 -0
- 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/bill-pay-widget/ui/dist/index88.js +0 -125
|
@@ -1,403 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { EmptyState as d } from "../../../shared/ui/dist/lib/EmptyState/EmptyState.js";
|
|
3
|
-
import { ErrorState as ie } from "../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
|
|
4
|
-
import "../../../shared/ui/dist/index.js";
|
|
5
|
-
import { getAcceptedBillUploadFiles as ae } from "./index3.js";
|
|
6
|
-
import "./index5.js";
|
|
7
|
-
import { AddBillPanel as f } from "./index7.js";
|
|
8
|
-
import "./index8.js";
|
|
9
|
-
import { BillStatusBadge as oe } from "./index19.js";
|
|
10
|
-
import "./index20.js";
|
|
11
|
-
import { DueDateValue as se } from "./index22.js";
|
|
12
|
-
import "./index23.js";
|
|
13
|
-
import { MissingValue as p } from "./index31.js";
|
|
14
|
-
import "./index32.js";
|
|
15
|
-
import { NoValue as m } from "./index34.js";
|
|
16
|
-
import "./index35.js";
|
|
17
|
-
import { BILLS_SCREEN_LABELS_EN as h, BILLS_SCREEN_UPLOAD_ACCEPT as g } from "./index36.js";
|
|
18
|
-
import { BillsFilterBar as ce } from "./index79.js";
|
|
1
|
+
import "./index79.js";
|
|
19
2
|
import "./index80.js";
|
|
20
|
-
import
|
|
21
|
-
import { useMemo as v, useState as le } from "react";
|
|
22
|
-
import { Fragment as ue, jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
23
|
-
import { PaperclipIcon as de, PlusIcon as fe, SearchIcon as pe, SettingsIcon as me, UploadIcon as he } from "lucide-react";
|
|
24
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js
|
|
25
|
-
var ge = [
|
|
26
|
-
10,
|
|
27
|
-
25,
|
|
28
|
-
50,
|
|
29
|
-
100
|
|
30
|
-
], _e = 240, ve = {
|
|
31
|
-
default: "",
|
|
32
|
-
warning: "ttw:bg-amber-50 ttw:hover:bg-amber-100 ttw:border-l-4! ttw:border-l-amber-600!"
|
|
33
|
-
}, x = {
|
|
34
|
-
default: "",
|
|
35
|
-
warning: "ttw:-ml-1 ttw:font-semibold ttw:text-amber-800"
|
|
36
|
-
};
|
|
37
|
-
function ye(e, t) {
|
|
38
|
-
return e === "resolving" ? t.vendorResolving : e === "unavailable" ? t.vendorUnavailable : t.missingValue.missing;
|
|
39
|
-
}
|
|
40
|
-
var S = 40, be = [
|
|
41
|
-
_.Vendor,
|
|
42
|
-
_.Attachment,
|
|
43
|
-
_.IssueDate,
|
|
44
|
-
_.DueDate,
|
|
45
|
-
_.ScheduledDate,
|
|
46
|
-
_.PaidDate,
|
|
47
|
-
_.Status,
|
|
48
|
-
_.AmountDue,
|
|
49
|
-
_.AmountScheduled,
|
|
50
|
-
_.AmountPaid,
|
|
51
|
-
_.TotalAmount,
|
|
52
|
-
_.AddedOn
|
|
53
|
-
], C = [
|
|
54
|
-
_.Vendor,
|
|
55
|
-
_.Attachment,
|
|
56
|
-
_.DueDate,
|
|
57
|
-
_.Status,
|
|
58
|
-
_.AmountDue,
|
|
59
|
-
_.AddedOn
|
|
60
|
-
];
|
|
61
|
-
function w({ rows: w, isLoading: T, isError: E, sorting: xe, onSortingChange: Se, pageSize: Ce, onPageSizeChange: we, pageSizeOptions: Te = ge, pageInfo: Ee, hasNextPage: De, hasPrevPage: Oe, onNextPage: ke, onPrevPage: Ae, filterTabs: D, selectedFilterTabId: O, onFilterTabChange: je, searchValue: k, onSearchChange: Me, filters: A, visibleColumns: j = C, cellTestIds: M, isSearchActive: N, showAddPanelWhenEmpty: Ne, emptyState: P, onCreateClick: F, onSettingsClick: I, onRetry: L, onFilesSelected: R, maxFiles: z, onEnterManually: B, uploadStatus: V, uploadErrorMessage: H, emailAddress: U, onCopyEmail: W, labels: G, duplicateWarning: K, onReviewDuplicates: q }) {
|
|
62
|
-
let J = v(() => ({
|
|
63
|
-
...h,
|
|
64
|
-
...G,
|
|
65
|
-
statusBadge: {
|
|
66
|
-
...h.statusBadge,
|
|
67
|
-
...G?.statusBadge
|
|
68
|
-
},
|
|
69
|
-
addBill: {
|
|
70
|
-
...h.addBill,
|
|
71
|
-
...G?.addBill,
|
|
72
|
-
dropzone: {
|
|
73
|
-
...h.addBill.dropzone,
|
|
74
|
-
...G?.addBill?.dropzone
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
sortableHeader: {
|
|
78
|
-
...h.sortableHeader,
|
|
79
|
-
...G?.sortableHeader
|
|
80
|
-
},
|
|
81
|
-
missingValue: {
|
|
82
|
-
...h.missingValue,
|
|
83
|
-
...G?.missingValue
|
|
84
|
-
},
|
|
85
|
-
noValue: {
|
|
86
|
-
...h.noValue,
|
|
87
|
-
...G?.noValue
|
|
88
|
-
},
|
|
89
|
-
dueDate: {
|
|
90
|
-
...h.dueDate,
|
|
91
|
-
...G?.dueDate
|
|
92
|
-
}
|
|
93
|
-
}), [G]), [Pe, Y] = le(!1), X = !!R, Z = (e) => Array.from(e.dataTransfer.types).includes("Files"), Fe = (e) => {
|
|
94
|
-
X && Z(e) && (e.preventDefault(), Y(!0));
|
|
95
|
-
}, Ie = (e) => {
|
|
96
|
-
X && Z(e) && (e.preventDefault(), e.dataTransfer.dropEffect = "copy", Y(!0));
|
|
97
|
-
}, Le = (e) => {
|
|
98
|
-
!e.currentTarget.contains(e.relatedTarget) && X && Y(!1);
|
|
99
|
-
}, Re = (e) => {
|
|
100
|
-
if (!X) return;
|
|
101
|
-
e.preventDefault(), Y(!1);
|
|
102
|
-
let t = e.dataTransfer.files ? Array.from(e.dataTransfer.files) : [], n = ae(t, g, z !== 1);
|
|
103
|
-
n.length && R?.(n);
|
|
104
|
-
}, Q = v(() => {
|
|
105
|
-
let e = (e) => function({ column: t }) {
|
|
106
|
-
return /* @__PURE__ */ y(i, {
|
|
107
|
-
column: t,
|
|
108
|
-
title: e,
|
|
109
|
-
labels: J.sortableHeader
|
|
110
|
-
});
|
|
111
|
-
}, t = (e, t, n = /* @__PURE__ */ y(p, { labels: J.missingValue }), r) => function({ row: i }) {
|
|
112
|
-
let a = r && i.original[r] ? /* @__PURE__ */ y(p, { labels: J.missingValue }) : n;
|
|
113
|
-
return /* @__PURE__ */ y("span", {
|
|
114
|
-
className: "ttw:whitespace-nowrap",
|
|
115
|
-
"data-testid": M?.[t],
|
|
116
|
-
children: i.original[e] || a
|
|
117
|
-
});
|
|
118
|
-
}, n = function({ row: e }) {
|
|
119
|
-
return /* @__PURE__ */ y("span", {
|
|
120
|
-
className: "ttw:whitespace-nowrap",
|
|
121
|
-
"data-testid": M?.[_.DueDate],
|
|
122
|
-
children: /* @__PURE__ */ y(se, {
|
|
123
|
-
value: e.original.dueDateLabel || /* @__PURE__ */ y(p, { labels: J.missingValue }),
|
|
124
|
-
tone: e.original.dueDateTone,
|
|
125
|
-
labels: J.dueDate
|
|
126
|
-
})
|
|
127
|
-
});
|
|
128
|
-
}, r = (e, t, n = /* @__PURE__ */ y(p, { labels: J.missingValue }), r) => function({ row: i }) {
|
|
129
|
-
let a = r && i.original[r] ? /* @__PURE__ */ y(p, { labels: J.missingValue }) : n;
|
|
130
|
-
return /* @__PURE__ */ y("div", {
|
|
131
|
-
className: "ttw:text-right ttw:whitespace-nowrap",
|
|
132
|
-
"data-testid": M?.[t],
|
|
133
|
-
children: i.original[e] || a
|
|
134
|
-
});
|
|
135
|
-
}, a = /* @__PURE__ */ y(m, { labels: J.noValue }), o = (e) => function() {
|
|
136
|
-
return /* @__PURE__ */ y("div", {
|
|
137
|
-
className: "ttw:text-right",
|
|
138
|
-
children: e
|
|
139
|
-
});
|
|
140
|
-
};
|
|
141
|
-
return {
|
|
142
|
-
[_.Vendor]: {
|
|
143
|
-
accessorKey: "vendorLabel",
|
|
144
|
-
enableSorting: !0,
|
|
145
|
-
minSize: _e,
|
|
146
|
-
header: e(J.columnVendor),
|
|
147
|
-
cell: ({ row: e }) => {
|
|
148
|
-
let t = e.original.rowNote ? /* @__PURE__ */ y("span", {
|
|
149
|
-
className: "ttw:sr-only",
|
|
150
|
-
children: ` ${e.original.rowNote}`
|
|
151
|
-
}) : null;
|
|
152
|
-
return !e.original.vendorLabel && e.original.vendorLookup === "resolving" ? /* @__PURE__ */ b("div", {
|
|
153
|
-
className: x[e.original.rowTone ?? "default"],
|
|
154
|
-
"data-testid": M?.[_.Vendor],
|
|
155
|
-
children: [/* @__PURE__ */ y(ee, {
|
|
156
|
-
className: "ttw:h-4 ttw:w-32",
|
|
157
|
-
"aria-hidden": !0
|
|
158
|
-
}), t]
|
|
159
|
-
}) : /* @__PURE__ */ b("span", {
|
|
160
|
-
className: x[e.original.rowTone ?? "default"],
|
|
161
|
-
"data-testid": M?.[_.Vendor],
|
|
162
|
-
children: [e.original.vendorLabel || (e.original.vendorLookup === "unavailable" ? /* @__PURE__ */ y(m, { labels: { none: J.vendorUnavailable } }) : /* @__PURE__ */ y(p, { labels: J.missingValue })), t]
|
|
163
|
-
});
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
[_.Attachment]: {
|
|
167
|
-
accessorKey: "attachment",
|
|
168
|
-
enableSorting: !1,
|
|
169
|
-
size: S,
|
|
170
|
-
minSize: S,
|
|
171
|
-
header: () => /* @__PURE__ */ y("span", {
|
|
172
|
-
className: "ttw:sr-only",
|
|
173
|
-
children: J.columnAttachment
|
|
174
|
-
}),
|
|
175
|
-
cell: ({ row: e }) => e.original.attachment ? /* @__PURE__ */ y("div", {
|
|
176
|
-
className: "ttw:flex ttw:justify-center",
|
|
177
|
-
"data-testid": M?.[_.Attachment],
|
|
178
|
-
children: /* @__PURE__ */ y(l, { children: /* @__PURE__ */ b(s, { children: [/* @__PURE__ */ y(u, {
|
|
179
|
-
type: "button",
|
|
180
|
-
className: "ttw:inline-flex ttw:cursor-default",
|
|
181
|
-
"aria-label": e.original.attachment.label,
|
|
182
|
-
onClick: (e) => e.stopPropagation(),
|
|
183
|
-
children: /* @__PURE__ */ y(de, { className: "ttw:size-3.5 ttw:shrink-0 ttw:text-muted-foreground" })
|
|
184
|
-
}), /* @__PURE__ */ y(c, { children: e.original.attachment.label })] }) })
|
|
185
|
-
}) : null
|
|
186
|
-
},
|
|
187
|
-
[_.IssueDate]: {
|
|
188
|
-
accessorKey: "issueDateLabel",
|
|
189
|
-
enableSorting: !0,
|
|
190
|
-
header: e(J.columnIssueDate),
|
|
191
|
-
cell: t("issueDateLabel", _.IssueDate)
|
|
192
|
-
},
|
|
193
|
-
[_.DueDate]: {
|
|
194
|
-
accessorKey: "dueDateLabel",
|
|
195
|
-
enableSorting: !0,
|
|
196
|
-
header: e(J.columnDueDate),
|
|
197
|
-
cell: n
|
|
198
|
-
},
|
|
199
|
-
[_.ScheduledDate]: {
|
|
200
|
-
accessorKey: "scheduledDateLabel",
|
|
201
|
-
enableSorting: !0,
|
|
202
|
-
header: e(J.columnScheduledDate),
|
|
203
|
-
cell: t("scheduledDateLabel", _.ScheduledDate, a, "scheduledDateIsGap")
|
|
204
|
-
},
|
|
205
|
-
[_.PaidDate]: {
|
|
206
|
-
accessorKey: "paidDateLabel",
|
|
207
|
-
enableSorting: !1,
|
|
208
|
-
header: J.columnPaidDate,
|
|
209
|
-
cell: t("paidDateLabel", _.PaidDate)
|
|
210
|
-
},
|
|
211
|
-
[_.Status]: {
|
|
212
|
-
accessorKey: "status",
|
|
213
|
-
enableSorting: !1,
|
|
214
|
-
header: J.columnStatus,
|
|
215
|
-
cell: ({ row: e }) => /* @__PURE__ */ y("div", {
|
|
216
|
-
className: "ttw:flex ttw:items-center ttw:gap-1",
|
|
217
|
-
"data-testid": M?.[_.Status],
|
|
218
|
-
children: /* @__PURE__ */ y(oe, {
|
|
219
|
-
status: e.original.status,
|
|
220
|
-
tone: e.original.statusTone,
|
|
221
|
-
labels: J.statusBadge
|
|
222
|
-
})
|
|
223
|
-
})
|
|
224
|
-
},
|
|
225
|
-
[_.AmountDue]: {
|
|
226
|
-
accessorKey: "amountDueLabel",
|
|
227
|
-
enableSorting: !1,
|
|
228
|
-
header: o(J.columnAmountDue),
|
|
229
|
-
cell: r("amountDueLabel", _.AmountDue)
|
|
230
|
-
},
|
|
231
|
-
[_.AmountScheduled]: {
|
|
232
|
-
accessorKey: "amountScheduledLabel",
|
|
233
|
-
enableSorting: !1,
|
|
234
|
-
header: o(J.columnAmountScheduled),
|
|
235
|
-
cell: r("amountScheduledLabel", _.AmountScheduled)
|
|
236
|
-
},
|
|
237
|
-
[_.AmountPaid]: {
|
|
238
|
-
accessorKey: "amountPaidLabel",
|
|
239
|
-
enableSorting: !1,
|
|
240
|
-
header: o(J.columnAmountPaid),
|
|
241
|
-
cell: r("amountPaidLabel", _.AmountPaid, a, "amountPaidIsGap")
|
|
242
|
-
},
|
|
243
|
-
[_.TotalAmount]: {
|
|
244
|
-
accessorKey: "totalAmountLabel",
|
|
245
|
-
enableSorting: !1,
|
|
246
|
-
header: o(J.columnTotalAmount),
|
|
247
|
-
cell: r("totalAmountLabel", _.TotalAmount)
|
|
248
|
-
},
|
|
249
|
-
[_.AddedOn]: {
|
|
250
|
-
accessorKey: "addedOnLabel",
|
|
251
|
-
enableSorting: !0,
|
|
252
|
-
header: e(J.columnAddedOn),
|
|
253
|
-
cell: t("addedOnLabel", _.AddedOn)
|
|
254
|
-
}
|
|
255
|
-
};
|
|
256
|
-
}, [J, M]), ze = v(() => be.filter((e) => j.includes(e)).map((e) => Q[e]), [Q, j]), Be = !!(F && R) && !T && !E && !N && w.length === 0 && Ne === !0, $ = /* @__PURE__ */ b("div", {
|
|
257
|
-
className: "ttw:relative ttw:w-80",
|
|
258
|
-
children: [/* @__PURE__ */ y(pe, { className: "ttw:pointer-events-none ttw:absolute ttw:left-3 ttw:top-1/2 ttw:size-4 ttw:-translate-y-1/2 ttw:text-muted-foreground" }), /* @__PURE__ */ y(a, {
|
|
259
|
-
className: "ttw:pl-9",
|
|
260
|
-
type: "search",
|
|
261
|
-
"aria-label": J.searchLabel,
|
|
262
|
-
placeholder: J.searchPlaceholder,
|
|
263
|
-
value: k,
|
|
264
|
-
onChange: (e) => Me(e.target.value)
|
|
265
|
-
})]
|
|
266
|
-
}), Ve = A ? /* @__PURE__ */ y(ce, {
|
|
267
|
-
...A,
|
|
268
|
-
className: "ttw:px-4",
|
|
269
|
-
searchSlot: $
|
|
270
|
-
}) : /* @__PURE__ */ y("div", {
|
|
271
|
-
className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:gap-2 ttw:px-4",
|
|
272
|
-
children: $
|
|
273
|
-
});
|
|
274
|
-
return /* @__PURE__ */ b("div", {
|
|
275
|
-
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
276
|
-
children: [K ? /* @__PURE__ */ b(e, {
|
|
277
|
-
className: "ttw:flex ttw:items-center ttw:gap-3 ttw:rounded-none ttw:border-0 ttw:border-l-4 ttw:border-l-amber-600 ttw:bg-amber-50 ttw:py-2 ttw:text-amber-700",
|
|
278
|
-
children: [/* @__PURE__ */ y(t, {
|
|
279
|
-
className: "ttw:flex-1 ttw:font-semibold",
|
|
280
|
-
children: K
|
|
281
|
-
}), q ? /* @__PURE__ */ y(n, {
|
|
282
|
-
type: "button",
|
|
283
|
-
variant: "outline",
|
|
284
|
-
className: "ttw:text-foreground",
|
|
285
|
-
onClick: q,
|
|
286
|
-
children: J.duplicateBillsReviewButton
|
|
287
|
-
}) : null]
|
|
288
|
-
}) : null, /* @__PURE__ */ b(o, {
|
|
289
|
-
value: O,
|
|
290
|
-
onValueChange: je,
|
|
291
|
-
className: "ttw:flex ttw:flex-col ttw:gap-4",
|
|
292
|
-
children: [/* @__PURE__ */ b("div", {
|
|
293
|
-
className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:justify-between ttw:gap-3",
|
|
294
|
-
children: [/* @__PURE__ */ y(ne, {
|
|
295
|
-
"aria-label": J.filterTabsLabel,
|
|
296
|
-
children: D.map((e) => /* @__PURE__ */ b(re, {
|
|
297
|
-
value: e.id,
|
|
298
|
-
className: "ttw:group/tab ttw:min-w-28 ttw:gap-2",
|
|
299
|
-
children: [e.label, e.badge ? /* @__PURE__ */ b(ue, { children: [" ", /* @__PURE__ */ y("span", {
|
|
300
|
-
className: "ttw:inline-flex ttw:h-5 ttw:min-w-5 ttw:items-center ttw:justify-center ttw:rounded-full ttw:bg-background ttw:px-1 ttw:py-0.5 ttw:text-xs ttw:font-medium ttw:group-data-[state=active]/tab:bg-muted",
|
|
301
|
-
children: e.badge
|
|
302
|
-
})] }) : null]
|
|
303
|
-
}, e.id))
|
|
304
|
-
}), /* @__PURE__ */ b("div", {
|
|
305
|
-
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
306
|
-
children: [I ? /* @__PURE__ */ y(l, { children: /* @__PURE__ */ b(s, { children: [/* @__PURE__ */ y(u, {
|
|
307
|
-
asChild: !0,
|
|
308
|
-
children: /* @__PURE__ */ y(n, {
|
|
309
|
-
variant: "outline",
|
|
310
|
-
size: "icon",
|
|
311
|
-
"aria-label": J.settingsButton,
|
|
312
|
-
onClick: I,
|
|
313
|
-
children: /* @__PURE__ */ y(me, { className: "ttw:size-4" })
|
|
314
|
-
})
|
|
315
|
-
}), /* @__PURE__ */ y(c, { children: J.settingsButton })] }) }) : null, F ? /* @__PURE__ */ b(n, {
|
|
316
|
-
onClick: F,
|
|
317
|
-
children: [/* @__PURE__ */ y(fe, { className: "ttw:size-4" }), J.createButton]
|
|
318
|
-
}) : null]
|
|
319
|
-
})]
|
|
320
|
-
}), (() => {
|
|
321
|
-
let e = E ? /* @__PURE__ */ y(ie, {
|
|
322
|
-
title: J.errorTitle,
|
|
323
|
-
description: J.errorDescription,
|
|
324
|
-
retryLabel: L ? J.errorRetry : void 0,
|
|
325
|
-
onRetry: L
|
|
326
|
-
}) : Be && F && R ? /* @__PURE__ */ y("div", {
|
|
327
|
-
className: "ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card",
|
|
328
|
-
children: U && W ? /* @__PURE__ */ y(f, {
|
|
329
|
-
emailAddress: U,
|
|
330
|
-
onCopyEmail: W,
|
|
331
|
-
onFilesSelected: R,
|
|
332
|
-
accept: g,
|
|
333
|
-
maxFiles: z,
|
|
334
|
-
uploadStatus: V,
|
|
335
|
-
uploadErrorMessage: H,
|
|
336
|
-
onEnterManually: B ?? F,
|
|
337
|
-
labels: J.addBill
|
|
338
|
-
}) : /* @__PURE__ */ y(f, {
|
|
339
|
-
onFilesSelected: R,
|
|
340
|
-
accept: g,
|
|
341
|
-
maxFiles: z,
|
|
342
|
-
uploadStatus: V,
|
|
343
|
-
uploadErrorMessage: H,
|
|
344
|
-
onEnterManually: B ?? F,
|
|
345
|
-
labels: J.addBill
|
|
346
|
-
})
|
|
347
|
-
}) : /* @__PURE__ */ b("div", {
|
|
348
|
-
className: "ttw:relative",
|
|
349
|
-
onDragEnter: Fe,
|
|
350
|
-
onDragOver: Ie,
|
|
351
|
-
onDragLeave: Le,
|
|
352
|
-
onDrop: Re,
|
|
353
|
-
children: [/* @__PURE__ */ y(r, {
|
|
354
|
-
columns: ze,
|
|
355
|
-
data: w,
|
|
356
|
-
getRowId: (e) => e.rowKey,
|
|
357
|
-
animatesNewRows: !0,
|
|
358
|
-
isLoading: T,
|
|
359
|
-
sorting: xe,
|
|
360
|
-
onSortingChange: Se,
|
|
361
|
-
pageSize: Ce,
|
|
362
|
-
onPageSizeChange: we,
|
|
363
|
-
pageSizeOptions: Te,
|
|
364
|
-
pageInfo: Ee,
|
|
365
|
-
hasNextPage: De,
|
|
366
|
-
hasPrevPage: Oe,
|
|
367
|
-
onNextPage: ke,
|
|
368
|
-
onPrevPage: Ae,
|
|
369
|
-
onRowClick: (e) => e.onOpen(),
|
|
370
|
-
rowAriaLabel: (e) => J.openRow(e.vendorLabel || ye(e.vendorLookup, J)),
|
|
371
|
-
rowClassName: (e) => ve[e.rowTone ?? "default"],
|
|
372
|
-
filterComponent: Ve,
|
|
373
|
-
children: N ? /* @__PURE__ */ y(d, {
|
|
374
|
-
title: J.filteredEmptyTitle,
|
|
375
|
-
description: J.filteredEmptyDescription
|
|
376
|
-
}) : P ? /* @__PURE__ */ y(d, {
|
|
377
|
-
title: P.title,
|
|
378
|
-
description: P.description
|
|
379
|
-
}) : void 0
|
|
380
|
-
}), Pe ? /* @__PURE__ */ y("div", {
|
|
381
|
-
className: "ttw:pointer-events-none ttw:absolute ttw:inset-0 ttw:z-20 ttw:flex ttw:items-center ttw:justify-center ttw:rounded-xl ttw:border-2 ttw:border-dashed ttw:border-primary ttw:bg-background/85 ttw:backdrop-blur-[1px]",
|
|
382
|
-
children: /* @__PURE__ */ b("div", {
|
|
383
|
-
className: "ttw:flex ttw:items-center ttw:gap-3 ttw:rounded-lg ttw:border ttw:bg-card ttw:px-4 ttw:py-3 ttw:shadow-sm",
|
|
384
|
-
children: [/* @__PURE__ */ y(he, { className: "ttw:size-5 ttw:text-muted-foreground" }), /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("p", {
|
|
385
|
-
className: "ttw:text-sm ttw:font-medium",
|
|
386
|
-
children: J.tableDropzoneTitle
|
|
387
|
-
}), /* @__PURE__ */ y("p", {
|
|
388
|
-
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
389
|
-
children: z === void 0 ? J.addBill.dropzone.fileTypesHint : `${J.addBill.dropzone.fileTypesHint} · ${J.addBill.dropzone.fileCountHint(z)}`
|
|
390
|
-
})] })]
|
|
391
|
-
})
|
|
392
|
-
}) : null]
|
|
393
|
-
});
|
|
394
|
-
return D.map((t) => /* @__PURE__ */ y(te, {
|
|
395
|
-
value: t.id,
|
|
396
|
-
children: t.id === O ? e : null
|
|
397
|
-
}, t.id));
|
|
398
|
-
})()]
|
|
399
|
-
})]
|
|
400
|
-
});
|
|
401
|
-
}
|
|
402
|
-
//#endregion
|
|
403
|
-
export { w as BillsScreen, w as default, C as DEFAULT_BILL_COLUMNS };
|
|
3
|
+
import "./index81.js";
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js
|
|
2
2
|
var e = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
Vendor: "vendor",
|
|
4
|
+
Attachment: "attachment",
|
|
5
|
+
IssueDate: "issueDate",
|
|
6
|
+
DueDate: "dueDate",
|
|
7
|
+
ScheduledDate: "scheduledDate",
|
|
8
|
+
PaidDate: "paidDate",
|
|
9
|
+
Status: "status",
|
|
10
|
+
AmountDue: "amountDue",
|
|
11
|
+
AmountScheduled: "amountScheduled",
|
|
12
|
+
AmountPaid: "amountPaid",
|
|
13
|
+
TotalAmount: "totalAmount",
|
|
14
|
+
AddedOn: "addedOn"
|
|
8
15
|
};
|
|
9
16
|
//#endregion
|
|
10
|
-
export { e as
|
|
17
|
+
export { e as BillColumn };
|