@tesouro/embedded-components-react 0.11.200 → 0.11.201
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/README.md +3 -1
- package/dist/index.d.ts +16 -1
- package/dist/index.js +43 -42
- package/dist/lib/BillPayWidget.d.ts +16 -1
- package/dist/lib/BillPayWidget.js +4 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +184 -174
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index18.js +208 -206
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +4 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillPayWidget.js +59 -56
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillsTab.js +61 -59
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/index.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
|
@@ -8,242 +8,244 @@ import { useMailboxAddress as ee } from "../../../../shared/data-access/dist/lib
|
|
|
8
8
|
import { Scope as n } 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 te, useWidgetInitStaleForToken as ne } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
12
12
|
import "../../../../shared/feature/dist/index.js";
|
|
13
|
-
import { BillDecisionDialog as
|
|
14
|
-
import { BillDuplicateIcon as
|
|
13
|
+
import { BillDecisionDialog as r } from "../../../ui/dist/index4.js";
|
|
14
|
+
import { BillDuplicateIcon as re } from "../../../ui/dist/index6.js";
|
|
15
15
|
import "../../../ui/dist/index.js";
|
|
16
|
-
import { AddBillDialog as
|
|
17
|
-
import { BillsScreen as
|
|
16
|
+
import { AddBillDialog as i } from "../../ui/dist/index6.js";
|
|
17
|
+
import { BillsScreen as a } from "../../ui/dist/index23.js";
|
|
18
18
|
import "../../ui/dist/index.js";
|
|
19
|
-
import { BILL_QUEUE_ORDER as
|
|
20
|
-
import { BILLS_TAB_LABELS_EN as
|
|
21
|
-
import { BillDuplicateView as
|
|
22
|
-
import { useDuplicateBillsCount as
|
|
23
|
-
import { formatBillQueueBadge as
|
|
24
|
-
import { copyTextToClipboard as
|
|
25
|
-
import { billsTableCellTestIds as
|
|
26
|
-
import { useAssignedToMeCount as
|
|
27
|
-
import { useBillSummaryCards as
|
|
28
|
-
import { useCallback as
|
|
29
|
-
import { Fragment as
|
|
19
|
+
import { BILL_QUEUE_ORDER as o, BillQueue as s } from "./index5.js";
|
|
20
|
+
import { BILLS_TAB_LABELS_EN as c } from "./index7.js";
|
|
21
|
+
import { BillDuplicateView as l, useBillsTable as ie } from "./index17.js";
|
|
22
|
+
import { useDuplicateBillsCount as u } from "./index2.js";
|
|
23
|
+
import { formatBillQueueBadge as d } from "./index3.js";
|
|
24
|
+
import { copyTextToClipboard as f } from "./index6.js";
|
|
25
|
+
import { billsTableCellTestIds as p } from "./index8.js";
|
|
26
|
+
import { useAssignedToMeCount as m } from "./index9.js";
|
|
27
|
+
import { useBillSummaryCards as h } from "./index11.js";
|
|
28
|
+
import { useCallback as g, useImperativeHandle as _, useMemo as v, useState as y } from "react";
|
|
29
|
+
import { Fragment as ae, jsx as b, jsxs as oe } from "react/jsx-runtime";
|
|
30
30
|
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index18.js
|
|
31
|
-
var
|
|
32
|
-
function
|
|
33
|
-
let
|
|
34
|
-
...
|
|
35
|
-
...
|
|
31
|
+
var se = () => void 0;
|
|
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 = v(() => ({
|
|
34
|
+
...c,
|
|
35
|
+
...x,
|
|
36
36
|
queues: {
|
|
37
|
-
...
|
|
38
|
-
...
|
|
37
|
+
...c.queues,
|
|
38
|
+
...x?.queues
|
|
39
39
|
},
|
|
40
40
|
summaryCards: {
|
|
41
|
-
...
|
|
42
|
-
...
|
|
41
|
+
...c.summaryCards,
|
|
42
|
+
...x?.summaryCards,
|
|
43
43
|
statusCount: {
|
|
44
|
-
...
|
|
45
|
-
...
|
|
44
|
+
...c.summaryCards.statusCount,
|
|
45
|
+
...x?.summaryCards?.statusCount
|
|
46
46
|
},
|
|
47
47
|
stageCount: {
|
|
48
|
-
...
|
|
49
|
-
...
|
|
48
|
+
...c.summaryCards.stageCount,
|
|
49
|
+
...x?.summaryCards?.stageCount
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
scheduledRelativeDay: {
|
|
53
|
-
...
|
|
54
|
-
...
|
|
53
|
+
...c.scheduledRelativeDay,
|
|
54
|
+
...x?.scheduledRelativeDay
|
|
55
55
|
},
|
|
56
56
|
dueDate: {
|
|
57
|
-
...
|
|
58
|
-
...
|
|
57
|
+
...c.dueDate,
|
|
58
|
+
...x?.dueDate
|
|
59
59
|
},
|
|
60
60
|
filters: {
|
|
61
|
-
...
|
|
62
|
-
...
|
|
61
|
+
...c.filters,
|
|
62
|
+
...x?.filters,
|
|
63
63
|
presets: {
|
|
64
|
-
...
|
|
65
|
-
...
|
|
64
|
+
...c.filters.presets,
|
|
65
|
+
...x?.filters?.presets
|
|
66
66
|
},
|
|
67
67
|
statuses: {
|
|
68
|
-
...
|
|
69
|
-
...
|
|
68
|
+
...c.filters.statuses,
|
|
69
|
+
...x?.filters?.statuses
|
|
70
70
|
},
|
|
71
71
|
dateFieldNames: {
|
|
72
|
-
...
|
|
73
|
-
...
|
|
72
|
+
...c.filters.dateFieldNames,
|
|
73
|
+
...x?.filters?.dateFieldNames
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
filterBar: {
|
|
77
|
-
...
|
|
78
|
-
...
|
|
77
|
+
...c.filterBar,
|
|
78
|
+
...x?.filterBar
|
|
79
79
|
},
|
|
80
80
|
duplicatesEmptyState: {
|
|
81
|
-
...
|
|
82
|
-
...
|
|
81
|
+
...c.duplicatesEmptyState,
|
|
82
|
+
...x?.duplicatesEmptyState
|
|
83
83
|
},
|
|
84
84
|
duplicateStatusCount: {
|
|
85
|
-
...
|
|
86
|
-
...
|
|
85
|
+
...c.duplicateStatusCount,
|
|
86
|
+
...x?.duplicateStatusCount
|
|
87
87
|
},
|
|
88
|
-
queueEmptyStates:
|
|
88
|
+
queueEmptyStates: o.reduce((e, t) => ({
|
|
89
89
|
...e,
|
|
90
90
|
[t]: {
|
|
91
|
-
...
|
|
92
|
-
...
|
|
91
|
+
...c.queueEmptyStates[t],
|
|
92
|
+
...x?.queueEmptyStates?.[t]
|
|
93
93
|
}
|
|
94
94
|
}), {})
|
|
95
|
-
}), [
|
|
96
|
-
menuTrigger:
|
|
97
|
-
notDuplicateAction:
|
|
98
|
-
notDuplicateConfirmTitle:
|
|
99
|
-
notDuplicateConfirmDescription:
|
|
100
|
-
notDuplicateConfirmButton:
|
|
101
|
-
notDuplicateConfirmBackButton:
|
|
102
|
-
deleteAction:
|
|
103
|
-
deleteConfirmTitle:
|
|
104
|
-
deleteConfirmDescription:
|
|
105
|
-
deleteConfirmButton:
|
|
106
|
-
deletedToast:
|
|
107
|
-
confirmAction:
|
|
108
|
-
confirmDuplicateTitle:
|
|
109
|
-
confirmDuplicateDescription:
|
|
110
|
-
confirmDuplicateButton:
|
|
111
|
-
confirmedToast:
|
|
112
|
-
cancelAction:
|
|
113
|
-
cancelConfirmTitle:
|
|
114
|
-
cancelConfirmDescription:
|
|
115
|
-
cancelConfirmButton:
|
|
116
|
-
cancelConfirmBackButton:
|
|
117
|
-
dismissedToast:
|
|
118
|
-
cancelledToast:
|
|
119
|
-
actionFailedToast:
|
|
120
|
-
groupHeader:
|
|
121
|
-
groupInvoice:
|
|
122
|
-
showMore:
|
|
123
|
-
showLess:
|
|
124
|
-
statusSummary:
|
|
125
|
-
statusCount:
|
|
126
|
-
pageInfo:
|
|
95
|
+
}), [x]), [_e, w] = y(!1), [T, E] = y(l.AllBills), { initResponse: D } = te(), O = ne(), k = t(D?.scopes, [n.PayableReadOrg]), A = t(D?.scopes, [n.PayableWriteOrg]), j = !D || k, M = !D || A, N = D && !O ? t(D.scopes, [n.PayablePayOrg]) : void 0, P = t(D?.scopes, [n.CounterpartReadOrg]), F = v(() => ({
|
|
96
|
+
menuTrigger: C.duplicateMenuTrigger,
|
|
97
|
+
notDuplicateAction: C.duplicateNotDuplicateAction,
|
|
98
|
+
notDuplicateConfirmTitle: C.duplicateNotDuplicateConfirmTitle,
|
|
99
|
+
notDuplicateConfirmDescription: C.duplicateNotDuplicateConfirmDescription,
|
|
100
|
+
notDuplicateConfirmButton: C.duplicateNotDuplicateConfirmButton,
|
|
101
|
+
notDuplicateConfirmBackButton: C.duplicateNotDuplicateConfirmBackButton,
|
|
102
|
+
deleteAction: C.duplicateDeleteAction,
|
|
103
|
+
deleteConfirmTitle: C.duplicateDeleteConfirmTitle,
|
|
104
|
+
deleteConfirmDescription: C.duplicateDeleteConfirmDescription,
|
|
105
|
+
deleteConfirmButton: C.duplicateDeleteConfirmButton,
|
|
106
|
+
deletedToast: C.duplicateDeletedToast,
|
|
107
|
+
confirmAction: C.duplicateConfirmAction,
|
|
108
|
+
confirmDuplicateTitle: C.duplicateConfirmDuplicateTitle,
|
|
109
|
+
confirmDuplicateDescription: C.duplicateConfirmDuplicateDescription,
|
|
110
|
+
confirmDuplicateButton: C.duplicateConfirmDuplicateButton,
|
|
111
|
+
confirmedToast: C.duplicateConfirmedToast,
|
|
112
|
+
cancelAction: C.duplicateCancelAction,
|
|
113
|
+
cancelConfirmTitle: C.duplicateCancelConfirmTitle,
|
|
114
|
+
cancelConfirmDescription: C.duplicateCancelConfirmDescription,
|
|
115
|
+
cancelConfirmButton: C.duplicateCancelConfirmButton,
|
|
116
|
+
cancelConfirmBackButton: C.duplicateCancelConfirmBackButton,
|
|
117
|
+
dismissedToast: C.duplicateDismissedToast,
|
|
118
|
+
cancelledToast: C.duplicateCancelledToast,
|
|
119
|
+
actionFailedToast: C.duplicateActionFailedToast,
|
|
120
|
+
groupHeader: C.duplicateGroupHeader,
|
|
121
|
+
groupInvoice: C.duplicateGroupInvoice,
|
|
122
|
+
showMore: C.duplicateShowMore,
|
|
123
|
+
showLess: C.duplicateShowLess,
|
|
124
|
+
statusSummary: C.duplicateStatusSummary,
|
|
125
|
+
statusCount: C.duplicateStatusCount,
|
|
126
|
+
pageInfo: C.duplicatePageInfo
|
|
127
127
|
}), [
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
]),
|
|
128
|
+
C.duplicateMenuTrigger,
|
|
129
|
+
C.duplicateNotDuplicateAction,
|
|
130
|
+
C.duplicateNotDuplicateConfirmTitle,
|
|
131
|
+
C.duplicateNotDuplicateConfirmDescription,
|
|
132
|
+
C.duplicateNotDuplicateConfirmButton,
|
|
133
|
+
C.duplicateNotDuplicateConfirmBackButton,
|
|
134
|
+
C.duplicateDeleteAction,
|
|
135
|
+
C.duplicateDeleteConfirmTitle,
|
|
136
|
+
C.duplicateDeleteConfirmDescription,
|
|
137
|
+
C.duplicateDeleteConfirmButton,
|
|
138
|
+
C.duplicateDeletedToast,
|
|
139
|
+
C.duplicateConfirmAction,
|
|
140
|
+
C.duplicateConfirmDuplicateTitle,
|
|
141
|
+
C.duplicateConfirmDuplicateDescription,
|
|
142
|
+
C.duplicateConfirmDuplicateButton,
|
|
143
|
+
C.duplicateConfirmedToast,
|
|
144
|
+
C.duplicateCancelAction,
|
|
145
|
+
C.duplicateCancelConfirmTitle,
|
|
146
|
+
C.duplicateCancelConfirmDescription,
|
|
147
|
+
C.duplicateCancelConfirmButton,
|
|
148
|
+
C.duplicateCancelConfirmBackButton,
|
|
149
|
+
C.duplicateDismissedToast,
|
|
150
|
+
C.duplicateCancelledToast,
|
|
151
|
+
C.duplicateActionFailedToast,
|
|
152
|
+
C.duplicateGroupHeader,
|
|
153
|
+
C.duplicateGroupInvoice,
|
|
154
|
+
C.duplicateShowMore,
|
|
155
|
+
C.duplicateShowLess,
|
|
156
|
+
C.duplicateStatusSummary,
|
|
157
|
+
C.duplicateStatusCount,
|
|
158
|
+
C.duplicatePageInfo
|
|
159
|
+
]), I = t(D?.scopes, [n.MailboxReadOrg]), { mailboxAddress: ve } = ee({
|
|
160
160
|
relatedObjectType: "payable",
|
|
161
|
-
enabled:
|
|
162
|
-
}), L =
|
|
163
|
-
enabled:
|
|
164
|
-
canPay:
|
|
165
|
-
canReadVendors:
|
|
166
|
-
isVendorFilterPaused:
|
|
167
|
-
filterLabels:
|
|
168
|
-
onOpenBill:
|
|
169
|
-
duplicateRowNote:
|
|
170
|
-
attachmentLabel:
|
|
171
|
-
duplicateGroupLabels:
|
|
172
|
-
canManageDuplicates:
|
|
173
|
-
duplicateView:
|
|
174
|
-
scheduledRelativeDayLabels:
|
|
175
|
-
dueDateLabels:
|
|
176
|
-
selectedSummaryCard:
|
|
177
|
-
onSummaryCardChange:
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
161
|
+
enabled: I && !O
|
|
162
|
+
}), L = I ? ve : void 0, R = ie({
|
|
163
|
+
enabled: j,
|
|
164
|
+
canPay: N,
|
|
165
|
+
canReadVendors: P,
|
|
166
|
+
isVendorFilterPaused: O,
|
|
167
|
+
filterLabels: C.filters,
|
|
168
|
+
onOpenBill: ce ?? se,
|
|
169
|
+
duplicateRowNote: C.duplicateRowNote,
|
|
170
|
+
attachmentLabel: C.attachmentIndicator,
|
|
171
|
+
duplicateGroupLabels: F,
|
|
172
|
+
canManageDuplicates: M,
|
|
173
|
+
duplicateView: T,
|
|
174
|
+
scheduledRelativeDayLabels: C.scheduledRelativeDay,
|
|
175
|
+
dueDateLabels: C.dueDate,
|
|
176
|
+
selectedSummaryCard: fe,
|
|
177
|
+
onSummaryCardChange: pe,
|
|
178
|
+
selectedQueue: me,
|
|
179
|
+
onQueueChange: he
|
|
180
|
+
}), z = u({ enabled: j }), B = T === l.PossibleDuplicates, V = m({
|
|
181
|
+
enabled: j,
|
|
182
|
+
canPay: N
|
|
183
|
+
}), H = h({
|
|
184
|
+
enabled: j,
|
|
185
|
+
labels: C.summaryCards,
|
|
184
186
|
selectedCard: R.summaryCard
|
|
185
|
-
}),
|
|
187
|
+
}), ye = v(() => o.map((e) => ({
|
|
186
188
|
id: e,
|
|
187
|
-
label:
|
|
188
|
-
badge: e ===
|
|
189
|
-
})), [
|
|
190
|
-
U(),
|
|
191
|
-
}, [U]), G =
|
|
192
|
-
|
|
193
|
-
}, [W]),
|
|
194
|
-
|
|
195
|
-
}, [W]),
|
|
196
|
-
B && (
|
|
197
|
-
let
|
|
189
|
+
label: C.queues[e],
|
|
190
|
+
badge: e === s.AssignedToMe ? d(V) : void 0
|
|
191
|
+
})), [C.queues, V]), { clearQueryConstraints: U, onFilterTabChange: W } = R, be = g(() => {
|
|
192
|
+
U(), E(l.PossibleDuplicates);
|
|
193
|
+
}, [U]), G = g(() => {
|
|
194
|
+
E(l.AllBills), W(s.All);
|
|
195
|
+
}, [W]), xe = g((e) => {
|
|
196
|
+
E(l.AllBills), W(e);
|
|
197
|
+
}, [W]), Se = !z.isError && z.groupCount > 0, Ce = M && Se, we = !z.isLoading && !z.isError && z.count === 0;
|
|
198
|
+
B && (we || R.summaryCard) && G();
|
|
199
|
+
let Te = Ce ? [{
|
|
198
200
|
id: "duplicates",
|
|
199
|
-
label:
|
|
201
|
+
label: C.attentionDuplicates(z.groupCount, z.isCapped),
|
|
200
202
|
tone: "warning",
|
|
201
|
-
icon: /* @__PURE__ */
|
|
203
|
+
icon: /* @__PURE__ */ b(re, {}),
|
|
202
204
|
pressed: B,
|
|
203
|
-
onToggle: B ? G :
|
|
204
|
-
}] : [],
|
|
205
|
-
...
|
|
206
|
-
createButton:
|
|
205
|
+
onToggle: B ? G : be
|
|
206
|
+
}] : [], K = x?.screen, Ee = v(() => ({
|
|
207
|
+
...K,
|
|
208
|
+
createButton: C.createButton,
|
|
207
209
|
addBill: {
|
|
208
|
-
...
|
|
209
|
-
heading:
|
|
210
|
+
...K?.addBill,
|
|
211
|
+
heading: C.nonEmptyHeading
|
|
210
212
|
},
|
|
211
213
|
...B ? {
|
|
212
|
-
columnAddedOn:
|
|
213
|
-
columnAmountDue:
|
|
214
|
+
columnAddedOn: C.duplicateColumnCreated,
|
|
215
|
+
columnAmountDue: C.duplicateColumnAmount
|
|
214
216
|
} : {}
|
|
215
217
|
}), [
|
|
216
218
|
B,
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
]),
|
|
219
|
+
C.duplicateColumnCreated,
|
|
220
|
+
C.duplicateColumnAmount,
|
|
221
|
+
K,
|
|
222
|
+
C.createButton,
|
|
223
|
+
C.nonEmptyHeading
|
|
224
|
+
]), q = v(() => ({
|
|
223
225
|
...R.filterBarProps,
|
|
224
|
-
labels:
|
|
225
|
-
}), [R.filterBarProps,
|
|
226
|
-
|
|
226
|
+
labels: C.filterBar
|
|
227
|
+
}), [R.filterBarProps, C.filterBar]), J = () => {
|
|
228
|
+
w(!1), le?.();
|
|
227
229
|
}, Y = (e) => {
|
|
228
|
-
|
|
230
|
+
w(!1), ue?.(e);
|
|
229
231
|
}, X = L ? {
|
|
230
232
|
emailAddress: L,
|
|
231
233
|
onCopyEmail: async () => {
|
|
232
|
-
L && (await
|
|
234
|
+
L && (await f(L) ? e.success(C.emailCopiedToast) : e.error(C.emailCopyFailedToast));
|
|
233
235
|
}
|
|
234
236
|
} : {
|
|
235
237
|
emailAddress: void 0,
|
|
236
238
|
onCopyEmail: void 0
|
|
237
|
-
}, { showVendorBills: Z } = R, Q =
|
|
238
|
-
|
|
239
|
-
}, [Z]), $ =
|
|
240
|
-
return
|
|
239
|
+
}, { showVendorBills: Z } = R, Q = g((e) => {
|
|
240
|
+
E(l.AllBills), Z(e);
|
|
241
|
+
}, [Z]), $ = g(() => w(!0), []);
|
|
242
|
+
return _(ge, () => ({
|
|
241
243
|
showVendorBills: Q,
|
|
242
244
|
openAddBill: $
|
|
243
|
-
}), [Q, $]), /* @__PURE__ */
|
|
244
|
-
/* @__PURE__ */
|
|
245
|
+
}), [Q, $]), /* @__PURE__ */ oe(ae, { children: [
|
|
246
|
+
/* @__PURE__ */ b(a, {
|
|
245
247
|
rows: R.rows,
|
|
246
|
-
isLoading: R.isLoading || !
|
|
248
|
+
isLoading: R.isLoading || !D,
|
|
247
249
|
isError: R.isError,
|
|
248
250
|
onRetry: R.onRetry,
|
|
249
251
|
sorting: R.sorting,
|
|
@@ -255,49 +257,49 @@ function b({ labels: b, onOpenBill: le, onEnterManually: ue, onFilesSelected: de
|
|
|
255
257
|
hasPrevPage: R.hasPrevPage,
|
|
256
258
|
onNextPage: R.onNextPage,
|
|
257
259
|
onPrevPage: R.onPrevPage,
|
|
258
|
-
filterTabs:
|
|
260
|
+
filterTabs: ye,
|
|
259
261
|
selectedFilterTabId: R.selectedFilterTabId,
|
|
260
|
-
onFilterTabChange:
|
|
262
|
+
onFilterTabChange: xe,
|
|
261
263
|
searchValue: R.searchValue,
|
|
262
264
|
onSearchChange: R.onSearchChange,
|
|
263
|
-
filters:
|
|
265
|
+
filters: q,
|
|
264
266
|
visibleColumns: R.visibleColumns,
|
|
265
267
|
keepsColumnOrder: R.keepsColumnOrder,
|
|
266
268
|
isSortable: R.isSortable,
|
|
267
269
|
pageInfo: R.pageInfo,
|
|
268
|
-
cellTestIds:
|
|
270
|
+
cellTestIds: p,
|
|
269
271
|
isSearchActive: R.isSearchActive,
|
|
270
272
|
showAddPanelWhenEmpty: R.showAddPanelWhenEmpty,
|
|
271
|
-
emptyState: B ?
|
|
272
|
-
onCreateClick:
|
|
273
|
-
headerActionContainer:
|
|
274
|
-
onEnterManually:
|
|
275
|
-
onFilesSelected:
|
|
276
|
-
maxFiles:
|
|
273
|
+
emptyState: B ? C.duplicatesEmptyState : C.queueEmptyStates[R.selectedFilterTabId],
|
|
274
|
+
onCreateClick: M ? () => w(!0) : void 0,
|
|
275
|
+
headerActionContainer: de,
|
|
276
|
+
onEnterManually: M ? J : void 0,
|
|
277
|
+
onFilesSelected: M ? Y : void 0,
|
|
278
|
+
maxFiles: S,
|
|
277
279
|
...X,
|
|
278
280
|
summaryCards: H ? {
|
|
279
281
|
view: H,
|
|
280
282
|
labels: {
|
|
281
|
-
group:
|
|
282
|
-
loading:
|
|
283
|
-
info:
|
|
283
|
+
group: C.summaryCards.group,
|
|
284
|
+
loading: C.summaryCards.loading,
|
|
285
|
+
info: C.summaryCards.info
|
|
284
286
|
},
|
|
285
287
|
onSelect: R.onSummaryCardSelect
|
|
286
288
|
} : void 0,
|
|
287
289
|
attentionStrip: {
|
|
288
|
-
label:
|
|
289
|
-
items:
|
|
290
|
+
label: C.attentionStripLabel,
|
|
291
|
+
items: Te
|
|
290
292
|
},
|
|
291
293
|
attentionView: B ? {
|
|
292
|
-
backLabel:
|
|
293
|
-
backAccessibleLabel:
|
|
294
|
-
title:
|
|
294
|
+
backLabel: C.queues[s.All],
|
|
295
|
+
backAccessibleLabel: C.attentionBackAccessible,
|
|
296
|
+
title: C.duplicatesViewTitle,
|
|
295
297
|
tone: "warning",
|
|
296
298
|
onBack: G
|
|
297
299
|
} : void 0,
|
|
298
|
-
labels:
|
|
300
|
+
labels: Ee
|
|
299
301
|
}),
|
|
300
|
-
/* @__PURE__ */
|
|
302
|
+
/* @__PURE__ */ b(r, {
|
|
301
303
|
open: R.cancelConfirmation.open,
|
|
302
304
|
copy: R.cancelConfirmation.copy,
|
|
303
305
|
onConfirm: R.cancelConfirmation.onConfirm,
|
|
@@ -305,7 +307,7 @@ function b({ labels: b, onOpenBill: le, onEnterManually: ue, onFilesSelected: de
|
|
|
305
307
|
isPending: R.cancelConfirmation.isPending,
|
|
306
308
|
labels: { cancelButton: R.cancelConfirmation.cancelButtonLabel }
|
|
307
309
|
}),
|
|
308
|
-
/* @__PURE__ */
|
|
310
|
+
/* @__PURE__ */ b(r, {
|
|
309
311
|
open: R.keepConfirmation.open,
|
|
310
312
|
copy: R.keepConfirmation.copy,
|
|
311
313
|
onConfirm: R.keepConfirmation.onConfirm,
|
|
@@ -313,19 +315,19 @@ function b({ labels: b, onOpenBill: le, onEnterManually: ue, onFilesSelected: de
|
|
|
313
315
|
isPending: R.keepConfirmation.isPending,
|
|
314
316
|
labels: { cancelButton: R.keepConfirmation.cancelButtonLabel }
|
|
315
317
|
}),
|
|
316
|
-
|
|
317
|
-
open:
|
|
318
|
-
onOpenChange:
|
|
318
|
+
M ? /* @__PURE__ */ b(i, {
|
|
319
|
+
open: _e,
|
|
320
|
+
onOpenChange: w,
|
|
319
321
|
onFilesSelected: Y,
|
|
320
|
-
maxFiles:
|
|
322
|
+
maxFiles: S,
|
|
321
323
|
onEnterManually: J,
|
|
322
324
|
...X,
|
|
323
|
-
dialogLabels:
|
|
325
|
+
dialogLabels: x?.addBillDialog?.dialog,
|
|
324
326
|
labels: {
|
|
325
|
-
...
|
|
326
|
-
heading: R.hasAnyBills ?
|
|
327
|
+
...x?.addBillDialog?.panel,
|
|
328
|
+
heading: R.hasAnyBills ? C.nonEmptyHeading : C.emptyHeading
|
|
327
329
|
}
|
|
328
330
|
}) : null
|
|
329
331
|
] });
|
|
330
332
|
}
|
|
331
|
-
export {
|
|
333
|
+
export { x as BillsList, x as default };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BillQueue as e } from "../../bills-list/feature/dist/index5.js";
|
|
2
|
+
import { BillSummaryCard as t } from "../../bills-list/feature/dist/index10.js";
|
|
3
|
+
import { BillPayWidget as n } from "./lib/BillPayWidget/BillPayWidget.js";
|
|
3
4
|
import "./lib/BillPayWidget/index.js";
|
|
4
|
-
export {
|
|
5
|
+
export { n as BillPayWidget, t as BillSummaryCard, e as BillsView };
|