@tesouro/embedded-components-react 0.11.216 → 0.11.217
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.css +0 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index5.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index14.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index15.js +49 -49
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +287 -298
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index18.js +62 -63
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index5.js +12 -54
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index7.js +4 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index8.js +1 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index15.js +45 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index16.js +10 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index17.js +390 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index18.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillPayWidget.js +9 -9
- 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/ui/dist/index.js +12 -9
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/DueDateText/DueDateText.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/{bill-pay-widget/bills-list/ui/dist/index19.js → shared/ui/dist/lib/EmptyValue/EmptyValue.js} +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/EmptyValue/labels.js +3 -0
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/{DateDisclosure/DateDisclosure.js → HintDisclosure/HintDisclosure.js} +9 -8
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/RowStatusIcon/RowStatusIcon.js +19 -0
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index20.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index21.js +0 -55
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index22.js +0 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index23.js +0 -468
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index24.js +0 -3
|
@@ -4,33 +4,33 @@
|
|
|
4
4
|
"use client";
|
|
5
5
|
import { toast as e } from "../../../../../../node_modules/sonner/dist/index.js";
|
|
6
6
|
import { hasAnyScope as t } from "../../../../shared/data-access/dist/lib/hasAnyScope.js";
|
|
7
|
-
import { useMailboxAddress as
|
|
8
|
-
import { Scope as
|
|
7
|
+
import { useMailboxAddress as n } from "../../../../shared/data-access/dist/lib/useMailboxAddress.js";
|
|
8
|
+
import { Scope as r } from "../../../../shared/data-access/dist/lib/scopes.js";
|
|
9
9
|
import "../../../../shared/data-access/dist/index.js";
|
|
10
10
|
import "../../../../shared/ui/dist/index.js";
|
|
11
|
-
import { useWidgetConfig as
|
|
11
|
+
import { useWidgetConfig as i, useWidgetInitStaleForToken as a } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
12
12
|
import "../../../../shared/feature/dist/index.js";
|
|
13
|
-
import { BillDecisionDialog as r } from "../../../ui/dist/index4.js";
|
|
14
|
-
import { BillDuplicateIcon as re } from "../../../ui/dist/index6.js";
|
|
15
|
-
import "../../../ui/dist/index.js";
|
|
16
|
-
import { AddBillDialog as i } from "../../ui/dist/index6.js";
|
|
17
|
-
import { BillsScreen as a } from "../../ui/dist/index23.js";
|
|
18
|
-
import "../../ui/dist/index.js";
|
|
19
13
|
import { BILL_QUEUE_ORDER as o, BillQueue as s } from "./index5.js";
|
|
20
14
|
import { BILLS_TAB_LABELS_EN as c } from "./index7.js";
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
15
|
+
import { BillDecisionDialog as l } from "../../../ui/dist/index4.js";
|
|
16
|
+
import { BillDuplicateIcon as ee } from "../../../ui/dist/index6.js";
|
|
17
|
+
import "../../../ui/dist/index.js";
|
|
18
|
+
import { AddBillDialog as u } from "../../ui/dist/index6.js";
|
|
19
|
+
import { BillsScreen as d } from "../../ui/dist/index17.js";
|
|
20
|
+
import "../../ui/dist/index.js";
|
|
21
|
+
import { BillDuplicateView as f, useBillsTable as p } from "./index17.js";
|
|
22
|
+
import { useDuplicateBillsCount as m } from "./index2.js";
|
|
23
|
+
import { formatBillQueueBadge as te } from "./index3.js";
|
|
24
|
+
import { copyTextToClipboard as ne } from "./index6.js";
|
|
25
|
+
import { billsTableCellTestIds as re } from "./index8.js";
|
|
26
|
+
import { useAssignedToMeCount as ie } from "./index9.js";
|
|
27
|
+
import { useBillSummaryCards as ae } from "./index11.js";
|
|
28
|
+
import { useCallback as h, useImperativeHandle as oe, useMemo as g, useState as _ } from "react";
|
|
29
|
+
import { Fragment as se, jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
30
30
|
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index18.js
|
|
31
|
-
var
|
|
31
|
+
var b = () => void 0;
|
|
32
32
|
function x({ labels: x, onOpenBill: ce, onEnterManually: le, onFilesSelected: ue, maxFiles: S, headerActionContainer: de, selectedSummaryCard: fe, onSummaryCardChange: pe, selectedQueue: me, onQueueChange: he, ref: ge }) {
|
|
33
|
-
let C =
|
|
33
|
+
let C = g(() => ({
|
|
34
34
|
...c,
|
|
35
35
|
...x,
|
|
36
36
|
queues: {
|
|
@@ -49,9 +49,9 @@ function x({ labels: x, onOpenBill: ce, onEnterManually: le, onFilesSelected: ue
|
|
|
49
49
|
...x?.summaryCards?.stageCount
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
|
-
|
|
53
|
-
...c.
|
|
54
|
-
...x?.
|
|
52
|
+
scheduledStatus: {
|
|
53
|
+
...c.scheduledStatus,
|
|
54
|
+
...x?.scheduledStatus
|
|
55
55
|
},
|
|
56
56
|
dueDate: {
|
|
57
57
|
...c.dueDate,
|
|
@@ -92,7 +92,7 @@ function x({ labels: x, onOpenBill: ce, onEnterManually: le, onFilesSelected: ue
|
|
|
92
92
|
...x?.queueEmptyStates?.[t]
|
|
93
93
|
}
|
|
94
94
|
}), {})
|
|
95
|
-
}), [x]), [_e, w] =
|
|
95
|
+
}), [x]), [_e, w] = _(!1), [T, E] = _(f.AllBills), { initResponse: D } = i(), O = a(), k = t(D?.scopes, [r.PayableReadOrg]), A = t(D?.scopes, [r.PayableWriteOrg]), j = !D || k, M = !D || A, N = D && !O ? t(D.scopes, [r.PayablePayOrg]) : void 0, P = t(D?.scopes, [r.CounterpartReadOrg]), F = g(() => ({
|
|
96
96
|
menuTrigger: C.duplicateMenuTrigger,
|
|
97
97
|
notDuplicateAction: C.duplicateNotDuplicateAction,
|
|
98
98
|
notDuplicateConfirmTitle: C.duplicateNotDuplicateConfirmTitle,
|
|
@@ -156,58 +156,57 @@ function x({ labels: x, onOpenBill: ce, onEnterManually: le, onFilesSelected: ue
|
|
|
156
156
|
C.duplicateStatusSummary,
|
|
157
157
|
C.duplicateStatusCount,
|
|
158
158
|
C.duplicatePageInfo
|
|
159
|
-
]), I = t(D?.scopes, [
|
|
159
|
+
]), I = t(D?.scopes, [r.MailboxReadOrg]), { mailboxAddress: ve } = n({
|
|
160
160
|
relatedObjectType: "payable",
|
|
161
161
|
enabled: I && !O
|
|
162
|
-
}), L = I ? ve : void 0, R =
|
|
162
|
+
}), L = I ? ve : void 0, R = p({
|
|
163
163
|
enabled: j,
|
|
164
164
|
canPay: N,
|
|
165
165
|
canReadVendors: P,
|
|
166
166
|
isVendorFilterPaused: O,
|
|
167
167
|
filterLabels: C.filters,
|
|
168
|
-
onOpenBill: ce ??
|
|
169
|
-
|
|
170
|
-
attachmentLabel: C.attachmentIndicator,
|
|
168
|
+
onOpenBill: ce ?? b,
|
|
169
|
+
duplicateFlagLabel: C.duplicateFlag,
|
|
171
170
|
duplicateGroupLabels: F,
|
|
172
171
|
canManageDuplicates: M,
|
|
173
172
|
duplicateView: T,
|
|
174
|
-
|
|
173
|
+
scheduledStatusLabels: C.scheduledStatus,
|
|
175
174
|
dueDateLabels: C.dueDate,
|
|
176
175
|
selectedSummaryCard: fe,
|
|
177
176
|
onSummaryCardChange: pe,
|
|
178
177
|
selectedQueue: me,
|
|
179
178
|
onQueueChange: he
|
|
180
|
-
}), z =
|
|
179
|
+
}), z = m({ enabled: j }), B = T === f.PossibleDuplicates, V = ie({
|
|
181
180
|
enabled: j,
|
|
182
181
|
canPay: N
|
|
183
|
-
}), H =
|
|
182
|
+
}), H = ae({
|
|
184
183
|
enabled: j,
|
|
185
184
|
labels: C.summaryCards,
|
|
186
185
|
selectedCard: R.summaryCard
|
|
187
|
-
}), ye =
|
|
186
|
+
}), ye = g(() => o.map((e) => ({
|
|
188
187
|
id: e,
|
|
189
188
|
label: C.queues[e],
|
|
190
|
-
badge: e === s.AssignedToMe ?
|
|
191
|
-
})), [C.queues, V]), { clearQueryConstraints: U, onFilterTabChange: W } = R, be =
|
|
192
|
-
U(), E(
|
|
193
|
-
}, [U]), G =
|
|
194
|
-
E(
|
|
195
|
-
}, [W]), xe =
|
|
196
|
-
E(
|
|
197
|
-
}, [W]), Se = !z.isError && z.groupCount > 0, Ce = M && Se,
|
|
198
|
-
B && (
|
|
199
|
-
let
|
|
189
|
+
badge: e === s.AssignedToMe ? te(V) : void 0
|
|
190
|
+
})), [C.queues, V]), { clearQueryConstraints: U, onFilterTabChange: W } = R, be = h(() => {
|
|
191
|
+
U(), E(f.PossibleDuplicates);
|
|
192
|
+
}, [U]), G = h(() => {
|
|
193
|
+
E(f.AllBills), W(s.All);
|
|
194
|
+
}, [W]), xe = h((e) => {
|
|
195
|
+
E(f.AllBills), W(e);
|
|
196
|
+
}, [W]), Se = !z.isError && z.groupCount > 0, Ce = M && Se, K = !z.isLoading && !z.isError && z.count === 0;
|
|
197
|
+
B && (K || R.summaryCard) && G();
|
|
198
|
+
let we = Ce ? [{
|
|
200
199
|
id: "duplicates",
|
|
201
200
|
label: C.attentionDuplicates(z.groupCount, z.isCapped),
|
|
202
201
|
tone: "warning",
|
|
203
|
-
icon: /* @__PURE__ */
|
|
202
|
+
icon: /* @__PURE__ */ v(ee, {}),
|
|
204
203
|
pressed: B,
|
|
205
204
|
onToggle: B ? G : be
|
|
206
|
-
}] : [],
|
|
207
|
-
...
|
|
205
|
+
}] : [], q = x?.screen, Te = g(() => ({
|
|
206
|
+
...q,
|
|
208
207
|
createButton: C.createButton,
|
|
209
208
|
addBill: {
|
|
210
|
-
...
|
|
209
|
+
...q?.addBill,
|
|
211
210
|
heading: C.nonEmptyHeading
|
|
212
211
|
},
|
|
213
212
|
...B ? {
|
|
@@ -218,10 +217,10 @@ function x({ labels: x, onOpenBill: ce, onEnterManually: le, onFilesSelected: ue
|
|
|
218
217
|
B,
|
|
219
218
|
C.duplicateColumnCreated,
|
|
220
219
|
C.duplicateColumnAmount,
|
|
221
|
-
|
|
220
|
+
q,
|
|
222
221
|
C.createButton,
|
|
223
222
|
C.nonEmptyHeading
|
|
224
|
-
]),
|
|
223
|
+
]), Ee = g(() => ({
|
|
225
224
|
...R.filterBarProps,
|
|
226
225
|
labels: C.filterBar
|
|
227
226
|
}), [R.filterBarProps, C.filterBar]), J = () => {
|
|
@@ -231,19 +230,19 @@ function x({ labels: x, onOpenBill: ce, onEnterManually: le, onFilesSelected: ue
|
|
|
231
230
|
}, X = L ? {
|
|
232
231
|
emailAddress: L,
|
|
233
232
|
onCopyEmail: async () => {
|
|
234
|
-
L && (await
|
|
233
|
+
L && (await ne(L) ? e.success(C.emailCopiedToast) : e.error(C.emailCopyFailedToast));
|
|
235
234
|
}
|
|
236
235
|
} : {
|
|
237
236
|
emailAddress: void 0,
|
|
238
237
|
onCopyEmail: void 0
|
|
239
|
-
}, { showVendorBills: Z } = R, Q =
|
|
240
|
-
E(
|
|
241
|
-
}, [Z]), $ =
|
|
242
|
-
return
|
|
238
|
+
}, { showVendorBills: Z } = R, Q = h((e) => {
|
|
239
|
+
E(f.AllBills), Z(e);
|
|
240
|
+
}, [Z]), $ = h(() => w(!0), []);
|
|
241
|
+
return oe(ge, () => ({
|
|
243
242
|
showVendorBills: Q,
|
|
244
243
|
openAddBill: $
|
|
245
|
-
}), [Q, $]), /* @__PURE__ */
|
|
246
|
-
/* @__PURE__ */
|
|
244
|
+
}), [Q, $]), /* @__PURE__ */ y(se, { children: [
|
|
245
|
+
/* @__PURE__ */ v(d, {
|
|
247
246
|
rows: R.rows,
|
|
248
247
|
isLoading: R.isLoading || !D,
|
|
249
248
|
isError: R.isError,
|
|
@@ -262,12 +261,12 @@ function x({ labels: x, onOpenBill: ce, onEnterManually: le, onFilesSelected: ue
|
|
|
262
261
|
onFilterTabChange: xe,
|
|
263
262
|
searchValue: R.searchValue,
|
|
264
263
|
onSearchChange: R.onSearchChange,
|
|
265
|
-
filters:
|
|
264
|
+
filters: Ee,
|
|
266
265
|
visibleColumns: R.visibleColumns,
|
|
267
266
|
keepsColumnOrder: R.keepsColumnOrder,
|
|
268
267
|
isSortable: R.isSortable,
|
|
269
268
|
pageInfo: R.pageInfo,
|
|
270
|
-
cellTestIds:
|
|
269
|
+
cellTestIds: re,
|
|
271
270
|
isSearchActive: R.isSearchActive,
|
|
272
271
|
showAddPanelWhenEmpty: R.showAddPanelWhenEmpty,
|
|
273
272
|
emptyState: B ? C.duplicatesEmptyState : C.queueEmptyStates[R.selectedFilterTabId],
|
|
@@ -288,7 +287,7 @@ function x({ labels: x, onOpenBill: ce, onEnterManually: le, onFilesSelected: ue
|
|
|
288
287
|
} : void 0,
|
|
289
288
|
attentionStrip: {
|
|
290
289
|
label: C.attentionStripLabel,
|
|
291
|
-
items:
|
|
290
|
+
items: we
|
|
292
291
|
},
|
|
293
292
|
attentionView: B ? {
|
|
294
293
|
backLabel: C.queues[s.All],
|
|
@@ -297,9 +296,9 @@ function x({ labels: x, onOpenBill: ce, onEnterManually: le, onFilesSelected: ue
|
|
|
297
296
|
tone: "warning",
|
|
298
297
|
onBack: G
|
|
299
298
|
} : void 0,
|
|
300
|
-
labels:
|
|
299
|
+
labels: Te
|
|
301
300
|
}),
|
|
302
|
-
/* @__PURE__ */
|
|
301
|
+
/* @__PURE__ */ v(l, {
|
|
303
302
|
open: R.cancelConfirmation.open,
|
|
304
303
|
copy: R.cancelConfirmation.copy,
|
|
305
304
|
onConfirm: R.cancelConfirmation.onConfirm,
|
|
@@ -307,7 +306,7 @@ function x({ labels: x, onOpenBill: ce, onEnterManually: le, onFilesSelected: ue
|
|
|
307
306
|
isPending: R.cancelConfirmation.isPending,
|
|
308
307
|
labels: { cancelButton: R.cancelConfirmation.cancelButtonLabel }
|
|
309
308
|
}),
|
|
310
|
-
/* @__PURE__ */
|
|
309
|
+
/* @__PURE__ */ v(l, {
|
|
311
310
|
open: R.keepConfirmation.open,
|
|
312
311
|
copy: R.keepConfirmation.copy,
|
|
313
312
|
onConfirm: R.keepConfirmation.onConfirm,
|
|
@@ -315,7 +314,7 @@ function x({ labels: x, onOpenBill: ce, onEnterManually: le, onFilesSelected: ue
|
|
|
315
314
|
isPending: R.keepConfirmation.isPending,
|
|
316
315
|
labels: { cancelButton: R.keepConfirmation.cancelButtonLabel }
|
|
317
316
|
}),
|
|
318
|
-
M ? /* @__PURE__ */
|
|
317
|
+
M ? /* @__PURE__ */ v(u, {
|
|
319
318
|
open: _e,
|
|
320
319
|
onOpenChange: w,
|
|
321
320
|
onFilesSelected: Y,
|
|
@@ -1,75 +1,33 @@
|
|
|
1
1
|
import { BILL_STATUS_FILTER_ORDER as e, BillStatusFilter as t, billStatusFilterApiValues as n } from "./index4.js";
|
|
2
|
-
import { BillColumn as r } from "../../ui/dist/index22.js";
|
|
3
|
-
import "../../ui/dist/index.js";
|
|
4
2
|
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index5.js
|
|
5
|
-
var
|
|
3
|
+
var r = {
|
|
6
4
|
All: "all",
|
|
7
5
|
AssignedToMe: "assigned_to_me"
|
|
8
|
-
},
|
|
6
|
+
}, i = /* @__PURE__ */ new Set([
|
|
9
7
|
t.Draft,
|
|
10
8
|
t.ReadyToSubmit,
|
|
11
9
|
t.PendingApproval,
|
|
12
10
|
t.Rejected
|
|
13
11
|
]);
|
|
14
|
-
function
|
|
15
|
-
return n ===
|
|
12
|
+
function a(n, a) {
|
|
13
|
+
return n === r.All ? e : e.filter((e) => i.has(e) || a && e === t.ReadyToPay);
|
|
16
14
|
}
|
|
17
|
-
function
|
|
15
|
+
function o(e, t) {
|
|
18
16
|
switch (e) {
|
|
19
|
-
case
|
|
20
|
-
status__in: n(
|
|
17
|
+
case r.AssignedToMe: return {
|
|
18
|
+
status__in: n(a(e, t)),
|
|
21
19
|
has_scheduled_payment: !1,
|
|
22
20
|
approval_queue: "mine"
|
|
23
21
|
};
|
|
24
|
-
case
|
|
22
|
+
case r.All: return {};
|
|
25
23
|
}
|
|
26
24
|
}
|
|
27
|
-
var
|
|
28
|
-
[i.All]: [
|
|
29
|
-
r.Vendor,
|
|
30
|
-
r.InvoiceNumber,
|
|
31
|
-
r.Attachment,
|
|
32
|
-
r.IssueDate,
|
|
33
|
-
r.DueDate,
|
|
34
|
-
r.ScheduledDate,
|
|
35
|
-
r.Status,
|
|
36
|
-
r.AmountDue,
|
|
37
|
-
r.AmountPaid,
|
|
38
|
-
r.TotalAmount,
|
|
39
|
-
r.AddedOn
|
|
40
|
-
],
|
|
41
|
-
[i.AssignedToMe]: [
|
|
42
|
-
r.Vendor,
|
|
43
|
-
r.InvoiceNumber,
|
|
44
|
-
r.Attachment,
|
|
45
|
-
r.IssueDate,
|
|
46
|
-
r.DueDate,
|
|
47
|
-
r.Status,
|
|
48
|
-
r.AmountDue,
|
|
49
|
-
r.TotalAmount,
|
|
50
|
-
r.AddedOn
|
|
51
|
-
]
|
|
52
|
-
};
|
|
53
|
-
function d(e) {
|
|
54
|
-
return u[e];
|
|
55
|
-
}
|
|
56
|
-
var f = {
|
|
25
|
+
var s = r.All, c = [r.All, r.AssignedToMe], l = {
|
|
57
26
|
vendorLabel: "counterpart_name",
|
|
58
|
-
issueDateLabel: "issued_at",
|
|
59
27
|
dueDateLabel: "due_date",
|
|
60
|
-
scheduledDateLabel: "scheduled_payment_date",
|
|
61
28
|
addedOnLabel: "created_at"
|
|
62
|
-
}, p = {
|
|
63
|
-
[r.Vendor]: "vendorLabel",
|
|
64
|
-
[r.IssueDate]: "issueDateLabel",
|
|
65
|
-
[r.DueDate]: "dueDateLabel",
|
|
66
|
-
[r.ScheduledDate]: "scheduledDateLabel",
|
|
67
|
-
[r.AddedOn]: "addedOnLabel"
|
|
68
29
|
};
|
|
69
|
-
function
|
|
70
|
-
return
|
|
71
|
-
}
|
|
72
|
-
function h(e) {
|
|
73
|
-
if (e) return f[e];
|
|
30
|
+
function u(e) {
|
|
31
|
+
if (e) return l[e];
|
|
74
32
|
}
|
|
75
|
-
export {
|
|
33
|
+
export { c as BILL_QUEUE_ORDER, l as BILL_SORT_FIELDS, r as BillQueue, s as DEFAULT_BILL_QUEUE, o as billQueueFilters, a as billQueueStatusFilters, u as billSortField };
|
|
@@ -47,7 +47,7 @@ var n = {
|
|
|
47
47
|
attentionDuplicates: (e, t) => `${e}${t ? "+" : ""} possible ${e === 1 && !t ? "duplicate" : "duplicates"}`,
|
|
48
48
|
attentionBackAccessible: "Back to all bills",
|
|
49
49
|
duplicatesViewTitle: "Possible duplicates",
|
|
50
|
-
|
|
50
|
+
duplicateFlag: "Possible duplicate",
|
|
51
51
|
duplicatesEmptyState: {
|
|
52
52
|
title: "No possible duplicates",
|
|
53
53
|
description: "Bills flagged as possible duplicates appear here for review."
|
|
@@ -95,10 +95,9 @@ var n = {
|
|
|
95
95
|
duplicateStatusSummary: (e) => e.join(", "),
|
|
96
96
|
duplicateColumnAmount: "Amount",
|
|
97
97
|
duplicatePageInfo: ({ billCount: e, groupCount: t }) => `${i(e, "bill", "bills")} across ${i(t, "duplicate group", "duplicate groups")}`,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
tomorrow: "Tomorrow"
|
|
98
|
+
scheduledStatus: {
|
|
99
|
+
hint: (e) => `Sends ${e}`,
|
|
100
|
+
accessibleLabel: (e) => `Scheduled, sends ${e}`
|
|
102
101
|
},
|
|
103
102
|
dueDate: e,
|
|
104
103
|
emptyHeading: "Add your first bill",
|
|
@@ -1,18 +1,12 @@
|
|
|
1
|
-
import { BillColumn as e } from "../../ui/dist/
|
|
1
|
+
import { BillColumn as e } from "../../ui/dist/index16.js";
|
|
2
2
|
import "../../ui/dist/index.js";
|
|
3
3
|
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index8.js
|
|
4
4
|
var t = {
|
|
5
5
|
[e.Vendor]: "bill-pay-bills-cell-vendor",
|
|
6
6
|
[e.InvoiceNumber]: "bill-pay-bills-cell-invoice-number",
|
|
7
|
-
[e.Attachment]: "bill-pay-bills-cell-attachment",
|
|
8
|
-
[e.IssueDate]: "bill-pay-bills-cell-issue-date",
|
|
9
7
|
[e.DueDate]: "bill-pay-bills-cell-due-date",
|
|
10
|
-
[e.ScheduledDate]: "bill-pay-bills-cell-scheduled-date",
|
|
11
|
-
[e.PaidDate]: "bill-pay-bills-cell-paid-date",
|
|
12
8
|
[e.Status]: "bill-pay-bills-cell-status",
|
|
13
9
|
[e.AmountDue]: "bill-pay-bills-cell-amount-due",
|
|
14
|
-
[e.AmountScheduled]: "bill-pay-bills-cell-amount-scheduled",
|
|
15
|
-
[e.AmountPaid]: "bill-pay-bills-cell-amount-paid",
|
|
16
10
|
[e.TotalAmount]: "bill-pay-bills-cell-total-amount",
|
|
17
11
|
[e.AddedOn]: "bill-pay-bills-cell-added-on"
|
|
18
12
|
};
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index.js
CHANGED
|
@@ -12,13 +12,7 @@ import { BillsFilterField as t } from "./index12.js";
|
|
|
12
12
|
import "./index13.js";
|
|
13
13
|
import "./index14.js";
|
|
14
14
|
import "./index15.js";
|
|
15
|
-
import "./index16.js";
|
|
16
|
-
import "./index17.js";
|
|
15
|
+
import { BillColumn as n } from "./index16.js";
|
|
16
|
+
import { BillsScreen as r } from "./index17.js";
|
|
17
17
|
import "./index18.js";
|
|
18
|
-
import "./index19.js";
|
|
19
|
-
import "./index20.js";
|
|
20
|
-
import "./index21.js";
|
|
21
|
-
import { BillColumn as n } from "./index22.js";
|
|
22
|
-
import { BillsScreen as r } from "./index23.js";
|
|
23
|
-
import "./index24.js";
|
|
24
18
|
export { e as AddBillDialog, n as BillColumn, t as BillsFilterField, r as BillsScreen };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index15.js
CHANGED
|
@@ -1,3 +1,46 @@
|
|
|
1
|
+
import { DATA_TABLE_LABELS_EN as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { EMPTY_VALUE_LABELS_EN as t } from "../../../../shared/ui/dist/lib/EmptyValue/labels.js";
|
|
3
|
+
import "../../../../shared/ui/dist/index.js";
|
|
4
|
+
import { ADD_BILL_PANEL_LABELS_EN as n } from "./index2.js";
|
|
5
|
+
import "./index4.js";
|
|
6
|
+
import { BILL_STATUS_BADGE_LABELS_EN as r } from "../../../../shared/document-status/ui/dist/index2.js";
|
|
7
|
+
import "../../../../shared/document-status/ui/dist/index.js";
|
|
1
8
|
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index15.js
|
|
2
|
-
var
|
|
3
|
-
|
|
9
|
+
var i = ".pdf,.png,.jpg,.jpeg,.doc,.docx", a = {
|
|
10
|
+
...n,
|
|
11
|
+
dropzone: {
|
|
12
|
+
...n.dropzone,
|
|
13
|
+
fileTypesHint: "PDF, DOC, JPG, or PNG (max. 3MB)"
|
|
14
|
+
}
|
|
15
|
+
}, o = {
|
|
16
|
+
createButton: "Add bill",
|
|
17
|
+
columnVendor: "Vendor",
|
|
18
|
+
columnInvoiceNumber: "Invoice number",
|
|
19
|
+
columnDueDate: "Due date",
|
|
20
|
+
columnAmountDue: "Amount due",
|
|
21
|
+
columnTotalAmount: "Amount",
|
|
22
|
+
columnStatus: "Status",
|
|
23
|
+
columnAddedOn: "Created",
|
|
24
|
+
columnActions: "Actions",
|
|
25
|
+
openRow: (e) => `View bill — ${e}`,
|
|
26
|
+
vendorResolving: "Loading vendor",
|
|
27
|
+
vendorUnavailable: "Vendor unavailable",
|
|
28
|
+
searchPlaceholder: "Search by vendor name",
|
|
29
|
+
searchLabel: "Search bills by vendor name",
|
|
30
|
+
filterTabsLabel: "Bill views",
|
|
31
|
+
filteredEmptyTitle: "No bills match",
|
|
32
|
+
filteredEmptyDescription: "Try a different search or status filter.",
|
|
33
|
+
errorTitle: "Couldn't load bills",
|
|
34
|
+
errorDescription: "Something went wrong. Try again.",
|
|
35
|
+
errorRetry: "Retry",
|
|
36
|
+
tableDropzoneTitle: "Drop your files here",
|
|
37
|
+
statusBadge: r,
|
|
38
|
+
addBill: a,
|
|
39
|
+
sortableHeader: {
|
|
40
|
+
sortedAscending: e.sortedAscending,
|
|
41
|
+
sortedDescending: e.sortedDescending,
|
|
42
|
+
notSorted: e.notSorted
|
|
43
|
+
},
|
|
44
|
+
emptyValue: t
|
|
45
|
+
};
|
|
46
|
+
export { o as BILLS_SCREEN_LABELS_EN, i as BILLS_SCREEN_UPLOAD_ACCEPT };
|
package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index16.js
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import { cn as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
-
import { MISSING_VALUE_LABELS_EN as t } from "./index15.js";
|
|
3
|
-
import { jsx as n } from "react/jsx-runtime";
|
|
4
1
|
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index16.js
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
export { r as MissingValue, r as default };
|
|
2
|
+
var e = {
|
|
3
|
+
Vendor: "vendor",
|
|
4
|
+
InvoiceNumber: "invoiceNumber",
|
|
5
|
+
TotalAmount: "totalAmount",
|
|
6
|
+
AmountDue: "amountDue",
|
|
7
|
+
Status: "status",
|
|
8
|
+
DueDate: "dueDate",
|
|
9
|
+
AddedOn: "addedOn"
|
|
10
|
+
};
|
|
11
|
+
export { e as BillColumn };
|