@tesouro/embedded-components-react 0.5.67 → 0.5.68
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/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +185 -188
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +30 -20
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +356 -351
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/labels.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartForm.js +71 -37
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index2.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
|
@@ -22,240 +22,245 @@ import "../../data-access/dist/index.js";
|
|
|
22
22
|
import { hasUnpaidBalance as ue } from "./index7.js";
|
|
23
23
|
import { resolveVendor as de } from "./index8.js";
|
|
24
24
|
import { BillCreateScreen as fe } from "../../ui/dist/index50.js";
|
|
25
|
-
import { BillDecisionDialog as
|
|
26
|
-
import { DiscardChangesDialog as
|
|
27
|
-
import { BillDuplicateNotice as
|
|
28
|
-
import { BillRejectedBanner as
|
|
29
|
-
import { ExtractionNotice as
|
|
30
|
-
import { MarkAsPaidDialog as
|
|
31
|
-
import { UnsavedBillDialog as
|
|
25
|
+
import { BillDecisionDialog as pe } from "../../ui/dist/index56.js";
|
|
26
|
+
import { DiscardChangesDialog as me } from "../../ui/dist/index67.js";
|
|
27
|
+
import { BillDuplicateNotice as he } from "../../ui/dist/index72.js";
|
|
28
|
+
import { BillRejectedBanner as ge } from "../../ui/dist/index75.js";
|
|
29
|
+
import { ExtractionNotice as _e } from "../../ui/dist/index93.js";
|
|
30
|
+
import { MarkAsPaidDialog as ve } from "../../ui/dist/index102.js";
|
|
31
|
+
import { UnsavedBillDialog as ye } from "../../ui/dist/index112.js";
|
|
32
32
|
import "../../ui/dist/index.js";
|
|
33
|
-
import { usePayableDuplicateReview as
|
|
33
|
+
import { usePayableDuplicateReview as be } from "./index13.js";
|
|
34
34
|
import "./index14.js";
|
|
35
|
-
import { isEditablePayableStatus as
|
|
36
|
-
import { canOverrideApprovalPolicy as
|
|
37
|
-
import { resolveAmountDueMinorUnits as
|
|
38
|
-
import { usePayableAchInstructions as
|
|
35
|
+
import { isEditablePayableStatus as xe } from "./index19.js";
|
|
36
|
+
import { canOverrideApprovalPolicy as Se, canReadCounterpartBankAccounts as Ce } from "./index20.js";
|
|
37
|
+
import { resolveAmountDueMinorUnits as we } from "./index21.js";
|
|
38
|
+
import { usePayableAchInstructions as Te } from "../../../shared/counterpart-management/feature/dist/lib/usePayableAchInstructions.js";
|
|
39
39
|
import "../../../shared/counterpart-management/feature/dist/index.js";
|
|
40
|
-
import { PayBillFlow as
|
|
40
|
+
import { PayBillFlow as Ee } from "./index27.js";
|
|
41
41
|
import "./index28.js";
|
|
42
|
-
import { useMarkAsPaidFlow as
|
|
42
|
+
import { useMarkAsPaidFlow as De } from "./index17.js";
|
|
43
43
|
import "./index18.js";
|
|
44
|
-
import { BILL_CREATE_MESSAGE_LABELS_EN as
|
|
45
|
-
import { useBillCreateController as
|
|
46
|
-
import { useBillForm as
|
|
47
|
-
import { buildPaymentHistory as
|
|
48
|
-
import { currentApprovalRound as
|
|
49
|
-
import { usePayableApprovalRoundStart as
|
|
50
|
-
import { useApprovalPolicyCardView as
|
|
51
|
-
import { resolveBillRejectionNotice as
|
|
52
|
-
import { useCurrentApprovalRequestId as
|
|
53
|
-
import { usePayableDetailActions as
|
|
54
|
-
import { useScheduledPayment as
|
|
55
|
-
import { useDraftDelete as
|
|
56
|
-
import { buildBillDetailView as
|
|
57
|
-
import { resolveEditorDismissal as
|
|
58
|
-
import { toBillDetailBodyHistory as
|
|
59
|
-
import { SourceDocumentContainer as
|
|
60
|
-
import { useVendorSectionProps as
|
|
61
|
-
import { billCreateTestIds as
|
|
62
|
-
import { cloneElement as
|
|
63
|
-
import { Fragment as
|
|
64
|
-
import { Trash2Icon as
|
|
44
|
+
import { BILL_CREATE_MESSAGE_LABELS_EN as Oe, mergeBillCreateScreenCopy as ke } from "./index49.js";
|
|
45
|
+
import { useBillCreateController as Ae } from "./index57.js";
|
|
46
|
+
import { useBillForm as je } from "./index59.js";
|
|
47
|
+
import { buildPaymentHistory as Me } from "./index3.js";
|
|
48
|
+
import { currentApprovalRound as Ne } from "./index4.js";
|
|
49
|
+
import { usePayableApprovalRoundStart as Pe } from "./index32.js";
|
|
50
|
+
import { useApprovalPolicyCardView as Fe } from "./index33.js";
|
|
51
|
+
import { resolveBillRejectionNotice as Ie } from "./index34.js";
|
|
52
|
+
import { useCurrentApprovalRequestId as Le } from "./index35.js";
|
|
53
|
+
import { usePayableDetailActions as Re } from "./index36.js";
|
|
54
|
+
import { useScheduledPayment as ze } from "./index37.js";
|
|
55
|
+
import { useDraftDelete as Be } from "./index38.js";
|
|
56
|
+
import { buildBillDetailView as Ve } from "./index43.js";
|
|
57
|
+
import { resolveEditorDismissal as He } from "./index44.js";
|
|
58
|
+
import { toBillDetailBodyHistory as Ue } from "./index45.js";
|
|
59
|
+
import { SourceDocumentContainer as We } from "./index50.js";
|
|
60
|
+
import { useVendorSectionProps as Ge } from "./index53.js";
|
|
61
|
+
import { billCreateTestIds as r } from "./index60.js";
|
|
62
|
+
import { cloneElement as Ke, isValidElement as qe, useCallback as i, useEffect as Je, useMemo as a, useRef as Ye, useState as o } from "react";
|
|
63
|
+
import { Fragment as Xe, jsx as s, jsxs as Ze } from "react/jsx-runtime";
|
|
64
|
+
import { Trash2Icon as Qe } from "lucide-react";
|
|
65
65
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js
|
|
66
|
-
function
|
|
66
|
+
function $e(e) {
|
|
67
67
|
let t = [...new Set(e)];
|
|
68
68
|
return t.length > 0 ? t : void 0;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
71
|
-
let f =
|
|
70
|
+
function c({ open: c, onOpenChange: l, payableId: et, readOnly: u = !1, copy: tt, onCollapse: d, onEdit: nt, poweredByBankName: rt }) {
|
|
71
|
+
let f = a(() => ke(tt), [tt]), [it, at] = o(), [p, ot] = o(!1), [st, ct] = o(!1), [m, h] = o(!1), [lt, ut] = o(), dt = i((e) => {
|
|
72
72
|
ut(() => e);
|
|
73
|
-
}, []), [
|
|
74
|
-
payable:
|
|
75
|
-
lineItems:
|
|
76
|
-
}),
|
|
77
|
-
|
|
78
|
-
p ||
|
|
79
|
-
}, [p,
|
|
80
|
-
let
|
|
73
|
+
}, []), [ft, pt] = o(), g = et ?? ft, _ = le(g, { pollWhileOcrProcessing: !0 }), v = se(g), { initResponse: y } = re(), mt = !!y, ht = t(y?.scopes, [n.AccountingConfigReadOrg]), b = ee({ enabled: ht }), x = _.data, S = !g || !!x, C = !u && S && !!g && x?.status !== "draft", gt = !u && !!x && !xe(x?.status), w = u || gt, T = je({
|
|
74
|
+
payable: x,
|
|
75
|
+
lineItems: v.lineItems
|
|
76
|
+
}), E = x?.counterpart_id;
|
|
77
|
+
Je(() => {
|
|
78
|
+
p || E && (at(E), ot(!0));
|
|
79
|
+
}, [p, E]);
|
|
80
|
+
let _t = i((e) => {
|
|
81
81
|
ot(!0), at(e);
|
|
82
|
-
}, []),
|
|
83
|
-
payableId:
|
|
84
|
-
scheduledPaymentDate:
|
|
85
|
-
enabled:
|
|
86
|
-
}),
|
|
87
|
-
payableId:
|
|
88
|
-
counterpartId:
|
|
89
|
-
payableCounterpartId:
|
|
90
|
-
isVendorKnown:
|
|
91
|
-
onCounterpartChange:
|
|
92
|
-
requiredError:
|
|
93
|
-
payableCounterpartBankAccountId:
|
|
94
|
-
extractedVendor:
|
|
95
|
-
readOnly:
|
|
96
|
-
canEditVendor: !
|
|
97
|
-
canEditPaymentInstructions: !
|
|
98
|
-
canAddPaymentInstructions: !
|
|
99
|
-
confirmDiscard:
|
|
100
|
-
}),
|
|
101
|
-
let { data: e } = await
|
|
82
|
+
}, []), D = ze({
|
|
83
|
+
payableId: g,
|
|
84
|
+
scheduledPaymentDate: x?.scheduled_payment_date,
|
|
85
|
+
enabled: u || C
|
|
86
|
+
}), O = Ce(y?.scopes), vt = t(y?.scopes, [n.PayableWriteOrg]), yt = t(y?.scopes, [n.CounterpartWriteOrg]) && vt, k = yt && ue(x?.status) && !D.hasScheduledPayment && !D.isResolving, bt = k && O, xt = k || yt && x?.status === "rejected", St = !u && S && (!g || x?.status === "draft") && !D.hasScheduledPayment && !D.isResolving, A = Ge({
|
|
87
|
+
payableId: g,
|
|
88
|
+
counterpartId: u ? E : it,
|
|
89
|
+
payableCounterpartId: E,
|
|
90
|
+
isVendorKnown: u ? !!x : S,
|
|
91
|
+
onCounterpartChange: _t,
|
|
92
|
+
requiredError: T.errors?.vendor,
|
|
93
|
+
payableCounterpartBankAccountId: x?.counterpart_bank_account_id ?? void 0,
|
|
94
|
+
extractedVendor: x?.counterpart_raw_data ?? void 0,
|
|
95
|
+
readOnly: u,
|
|
96
|
+
canEditVendor: !u || bt,
|
|
97
|
+
canEditPaymentInstructions: !u || k,
|
|
98
|
+
canAddPaymentInstructions: !u || xt,
|
|
99
|
+
confirmDiscard: dt
|
|
100
|
+
}), j = A.activePayToOperation === "missingInstructions" ? St || xt : A.activePayToOperation === "existingInstructions" ? St || k : A.activePayToOperation === "vendor" && u ? bt : !1, Ct = !!(g && p) && !it, M = _.refetch, wt = i(async () => {
|
|
101
|
+
let { data: e } = await M();
|
|
102
102
|
return e?.status ?? void 0;
|
|
103
|
-
}, [
|
|
104
|
-
if (
|
|
103
|
+
}, [M]), Tt = ce(), [N, Et] = o(!1), P = Ye(void 0), Dt = i(async () => {
|
|
104
|
+
if (P.current) return P.current;
|
|
105
105
|
let t = (async () => {
|
|
106
|
-
if (
|
|
107
|
-
|
|
106
|
+
if (j) {
|
|
107
|
+
Et(!0);
|
|
108
108
|
try {
|
|
109
109
|
let t;
|
|
110
110
|
try {
|
|
111
|
-
t = await
|
|
111
|
+
t = await A.prepareVendorForSave({ closeOnSuccess: !1 });
|
|
112
112
|
} catch {
|
|
113
113
|
e.error(f.detail.paymentInstructionsSaveError);
|
|
114
114
|
return;
|
|
115
115
|
}
|
|
116
116
|
if (!t.ok) return;
|
|
117
|
-
if (!
|
|
118
|
-
|
|
117
|
+
if (!g) {
|
|
118
|
+
A.finalizePayToSave();
|
|
119
119
|
return;
|
|
120
120
|
}
|
|
121
121
|
let n = t.counterpartBankAccountId;
|
|
122
|
-
if (n && n !==
|
|
122
|
+
if (n && n !== x?.counterpart_bank_account_id) {
|
|
123
|
+
let t = {
|
|
124
|
+
path: { payable_id: g },
|
|
125
|
+
body: { counterpart_bank_account_id: n }
|
|
126
|
+
};
|
|
123
127
|
try {
|
|
124
|
-
await
|
|
125
|
-
path: { payable_id: _ },
|
|
126
|
-
body: { counterpart_bank_account_id: n }
|
|
127
|
-
});
|
|
128
|
+
await Tt.mutateAsync(t);
|
|
128
129
|
} catch {
|
|
129
|
-
|
|
130
|
-
|
|
130
|
+
try {
|
|
131
|
+
await Tt.mutateAsync(t);
|
|
132
|
+
} catch {
|
|
133
|
+
e.error(f.detail.paymentInstructionsLinkError);
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
131
136
|
}
|
|
132
|
-
|
|
137
|
+
A.finalizePayToSave();
|
|
133
138
|
return;
|
|
134
139
|
}
|
|
135
|
-
|
|
140
|
+
A.finalizePayToSave(), await M();
|
|
136
141
|
} finally {
|
|
137
|
-
|
|
142
|
+
Et(!1);
|
|
138
143
|
}
|
|
139
144
|
}
|
|
140
145
|
})();
|
|
141
|
-
|
|
146
|
+
P.current = t;
|
|
142
147
|
try {
|
|
143
148
|
await t;
|
|
144
149
|
} finally {
|
|
145
|
-
|
|
150
|
+
P.current = void 0;
|
|
146
151
|
}
|
|
147
152
|
}, [
|
|
148
|
-
|
|
153
|
+
j,
|
|
149
154
|
f.detail.paymentInstructionsLinkError,
|
|
150
155
|
f.detail.paymentInstructionsSaveError,
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
]),
|
|
157
|
-
...
|
|
158
|
-
newVendorForm:
|
|
159
|
-
onSave:
|
|
160
|
-
isSaving:
|
|
156
|
+
Tt,
|
|
157
|
+
x?.counterpart_bank_account_id,
|
|
158
|
+
g,
|
|
159
|
+
M,
|
|
160
|
+
A
|
|
161
|
+
]), F = a(() => j ? A.mode === "creating" && qe(A.newVendorForm) ? {
|
|
162
|
+
...A,
|
|
163
|
+
newVendorForm: Ke(A.newVendorForm, {
|
|
164
|
+
onSave: Dt,
|
|
165
|
+
isSaving: N
|
|
161
166
|
})
|
|
162
|
-
} :
|
|
163
|
-
...
|
|
167
|
+
} : A.mode === "resolved" && A.paymentInstructions ? {
|
|
168
|
+
...A,
|
|
164
169
|
paymentInstructions: {
|
|
165
|
-
...
|
|
166
|
-
onSave:
|
|
167
|
-
isSaving:
|
|
170
|
+
...A.paymentInstructions,
|
|
171
|
+
onSave: Dt,
|
|
172
|
+
isSaving: N
|
|
168
173
|
}
|
|
169
|
-
} :
|
|
174
|
+
} : A : A, [
|
|
175
|
+
j,
|
|
170
176
|
N,
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
M
|
|
177
|
+
Dt,
|
|
178
|
+
A
|
|
174
179
|
]);
|
|
175
|
-
|
|
176
|
-
|
|
180
|
+
Je(() => {
|
|
181
|
+
u && A.isEditingPayTo && !j && A.discardPayToEdits();
|
|
177
182
|
}, [
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
183
|
+
j,
|
|
184
|
+
u,
|
|
185
|
+
A.discardPayToEdits,
|
|
186
|
+
A.isEditingPayTo
|
|
182
187
|
]);
|
|
183
|
-
let
|
|
184
|
-
payableId:
|
|
185
|
-
form:
|
|
186
|
-
labels:
|
|
188
|
+
let Ot = a(() => C ? { draftSaved: Oe.submittedSaved } : void 0, [C]), I = Ae({
|
|
189
|
+
payableId: et,
|
|
190
|
+
form: T,
|
|
191
|
+
labels: Ot,
|
|
187
192
|
counterpartId: it,
|
|
188
|
-
isVendorPending:
|
|
189
|
-
clearCounterpart:
|
|
190
|
-
prepareVendorForSave:
|
|
191
|
-
onPayableCreated:
|
|
192
|
-
onSaved:
|
|
193
|
-
onDraftSaved: () =>
|
|
194
|
-
onFinalized: () =>
|
|
195
|
-
readSavedStatus:
|
|
196
|
-
}),
|
|
197
|
-
payableId:
|
|
198
|
-
status:
|
|
199
|
-
}),
|
|
200
|
-
counterpartId:
|
|
201
|
-
currency:
|
|
202
|
-
currentBankAccountId:
|
|
203
|
-
enabled:
|
|
204
|
-
}),
|
|
205
|
-
payableId:
|
|
206
|
-
amountDueMinorUnits:
|
|
207
|
-
amountToPayMinorUnits:
|
|
208
|
-
currencyCode:
|
|
209
|
-
dueDate:
|
|
210
|
-
hasScheduledPayment:
|
|
193
|
+
isVendorPending: A.mode === "creating" || A.isPendingVendor,
|
|
194
|
+
clearCounterpart: Ct,
|
|
195
|
+
prepareVendorForSave: A.prepareVendorForSave,
|
|
196
|
+
onPayableCreated: pt,
|
|
197
|
+
onSaved: pt,
|
|
198
|
+
onDraftSaved: () => l(!1),
|
|
199
|
+
onFinalized: () => l(!1),
|
|
200
|
+
readSavedStatus: C ? wt : void 0
|
|
201
|
+
}), kt = !!(I.isSavingDraft || I.isFinalizing || A.isVendorSavePending), L = u ? g : void 0, R = Le({
|
|
202
|
+
payableId: L,
|
|
203
|
+
status: x?.status
|
|
204
|
+
}), At = Ye(null), jt = de(x), z = Te({
|
|
205
|
+
counterpartId: u ? E : void 0,
|
|
206
|
+
currency: x?.currency,
|
|
207
|
+
currentBankAccountId: u ? x?.counterpart_bank_account_id ?? void 0 : void 0,
|
|
208
|
+
enabled: O && u
|
|
209
|
+
}), B = De({
|
|
210
|
+
payableId: L,
|
|
211
|
+
amountDueMinorUnits: we(x) ?? 0,
|
|
212
|
+
amountToPayMinorUnits: x?.amount_to_pay ?? void 0,
|
|
213
|
+
currencyCode: x?.currency ?? void 0,
|
|
214
|
+
dueDate: x?.due_date,
|
|
215
|
+
hasScheduledPayment: D.hasScheduledPayment,
|
|
211
216
|
labels: f.markAsPaid
|
|
212
|
-
}),
|
|
213
|
-
payableId:
|
|
214
|
-
approvalPolicyId:
|
|
215
|
-
enabled:
|
|
217
|
+
}), V = Fe({
|
|
218
|
+
payableId: L,
|
|
219
|
+
approvalPolicyId: x?.approval_policy_id,
|
|
220
|
+
enabled: u,
|
|
216
221
|
copy: f.approvalPolicyCopy
|
|
217
|
-
}),
|
|
218
|
-
status:
|
|
219
|
-
scopes:
|
|
220
|
-
arePendingApproversUnknown:
|
|
221
|
-
hasApprovalPolicy: !!
|
|
222
|
-
hasWaitingRequest:
|
|
223
|
-
}),
|
|
222
|
+
}), Mt = Se({
|
|
223
|
+
status: x?.status,
|
|
224
|
+
scopes: y?.scopes,
|
|
225
|
+
arePendingApproversUnknown: V.isLoading,
|
|
226
|
+
hasApprovalPolicy: !!x?.approval_policy_id,
|
|
227
|
+
hasWaitingRequest: R.hasWaitingRequest
|
|
228
|
+
}), Nt = !!R.id, Pt = R.isLoading || V.isLoading, Ft = a(() => $e(V.pendingApprovers.flatMap((e) => e.names)), [V.pendingApprovers]), It = u || C ? g : void 0, Lt = u ? nt : void 0, H = i((e) => {
|
|
224
229
|
let t = () => {
|
|
225
|
-
|
|
230
|
+
A.discardPayToEdits(), e?.();
|
|
226
231
|
};
|
|
227
|
-
|
|
228
|
-
}, [
|
|
229
|
-
payableId:
|
|
230
|
-
status:
|
|
231
|
-
currentApprovalRequestId:
|
|
232
|
-
arePendingApproversUnknown:
|
|
233
|
-
hasScheduledPayment:
|
|
234
|
-
scheduledPaymentIntentId:
|
|
235
|
-
isScheduledPaymentUnknown:
|
|
236
|
-
isPayabilityUnknown:
|
|
237
|
-
hasApprovalPolicy: !!
|
|
238
|
-
hasWaitingRequest:
|
|
239
|
-
pendingApprovers:
|
|
232
|
+
A.hasUnsavedVendorChanges ? dt(t) : t();
|
|
233
|
+
}, [dt, A]), { actions: U, decisionDialog: Rt, isActionPending: zt } = Re({
|
|
234
|
+
payableId: It,
|
|
235
|
+
status: x?.status,
|
|
236
|
+
currentApprovalRequestId: R.id,
|
|
237
|
+
arePendingApproversUnknown: V.isLoading,
|
|
238
|
+
hasScheduledPayment: D.hasScheduledPayment,
|
|
239
|
+
scheduledPaymentIntentId: D.scheduledPaymentIntentId,
|
|
240
|
+
isScheduledPaymentUnknown: D.isResolving,
|
|
241
|
+
isPayabilityUnknown: z.isLoading,
|
|
242
|
+
hasApprovalPolicy: !!x?.approval_policy_id,
|
|
243
|
+
hasWaitingRequest: R.hasWaitingRequest,
|
|
244
|
+
pendingApprovers: V.pendingApprovers,
|
|
240
245
|
labels: f.actions,
|
|
241
|
-
isMarkAsPaidPending:
|
|
242
|
-
onMarkAsPaidSelect:
|
|
243
|
-
onPayBillSelect: () =>
|
|
244
|
-
onEditSelect:
|
|
246
|
+
isMarkAsPaidPending: B.isPending,
|
|
247
|
+
onMarkAsPaidSelect: B.open,
|
|
248
|
+
onPayBillSelect: () => H(() => At.current?.open()),
|
|
249
|
+
onEditSelect: Lt,
|
|
245
250
|
onActionSucceeded: (e) => {
|
|
246
251
|
if (e === "reopen") {
|
|
247
|
-
|
|
252
|
+
Lt?.();
|
|
248
253
|
return;
|
|
249
254
|
}
|
|
250
|
-
|
|
255
|
+
C && l(!1);
|
|
251
256
|
}
|
|
252
|
-
}),
|
|
253
|
-
payableId:
|
|
254
|
-
status:
|
|
255
|
-
enabled: !
|
|
257
|
+
}), W = Be({
|
|
258
|
+
payableId: g,
|
|
259
|
+
status: x?.status,
|
|
260
|
+
enabled: !u,
|
|
256
261
|
labels: f.deleteDraft,
|
|
257
|
-
onDeleted: () =>
|
|
258
|
-
}),
|
|
262
|
+
onDeleted: () => l(!1)
|
|
263
|
+
}), G = kt || zt, Bt = x?.ocr_status === "processing", Vt = _.isLoading || v.isResolving || Bt, K = _.isLoading || v.isResolving || b.isResolving || z.isLoading, Ht = _.isError || v.isError || b.isError, Ut = a(() => [...W.menuItems, ...C || u && !K && !Ht ? U.menu.map((e) => ({
|
|
259
264
|
id: e.id,
|
|
260
265
|
label: e.label,
|
|
261
266
|
onSelect: e.onSelect,
|
|
@@ -263,93 +268,93 @@ function l({ open: l, onOpenChange: u, payableId: $e, readOnly: d = !1, copy: et
|
|
|
263
268
|
icon: e.icon,
|
|
264
269
|
sectionHeading: e.sectionHeading
|
|
265
270
|
})) : []], [
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
+
U.menu,
|
|
272
|
+
W.menuItems,
|
|
273
|
+
C,
|
|
274
|
+
u,
|
|
275
|
+
K,
|
|
271
276
|
Ht
|
|
272
|
-
]), q =
|
|
277
|
+
]), q = a(() => (b.data?.data ?? []).map((e) => ({
|
|
273
278
|
value: e.id,
|
|
274
279
|
label: [e.nominal_code, e.name].filter(Boolean).join(" — ")
|
|
275
|
-
})), [
|
|
276
|
-
|
|
277
|
-
let Wt = !
|
|
280
|
+
})), [b.data]), J;
|
|
281
|
+
mt && (ht ? b.isError ? J = f.lineItemsGlCodeUnavailable.loadError : !b.isResolving && q.length === 0 && (J = f.lineItemsGlCodeUnavailable.empty) : J = f.lineItemsGlCodeUnavailable.noAccess);
|
|
282
|
+
let Wt = !mt || !!J || b.isResolving, Gt = ht && !b.isResolving && !b.isError, Y = oe(L), Kt = x?.status === "rejected" || !u && C, qt = t(y?.scopes, [n.ApprovalRequestReadOrg]), Jt = Kt && qt, Yt = t(y?.scopes, [n.UserReadOrg]), { userNames: X } = ie({ enabled: (u || Kt) && Yt }), Xt = a(() => Ue(ne(Y.data?.data ?? [], X, f.history), f.detail), [
|
|
278
283
|
Y.data,
|
|
279
284
|
X,
|
|
280
285
|
f.history,
|
|
281
286
|
f.detail
|
|
282
|
-
]), Zt =
|
|
283
|
-
payableId:
|
|
287
|
+
]), Zt = Pe({
|
|
288
|
+
payableId: g,
|
|
284
289
|
enabled: Jt
|
|
285
|
-
}), Qt = ae(
|
|
286
|
-
payableStatus:
|
|
290
|
+
}), Qt = ae(g, { enabled: Jt }), $t = a(() => Ne(Qt.data?.data, Zt.roundStartedAt), [Qt.data, Zt.roundStartedAt]), Z = a(() => Ie({
|
|
291
|
+
payableStatus: x?.status,
|
|
287
292
|
approvalRequests: $t,
|
|
288
293
|
userNames: X,
|
|
289
|
-
payableUpdatedAt:
|
|
294
|
+
payableUpdatedAt: x?.updated_at,
|
|
290
295
|
labels: f.detail
|
|
291
296
|
}), [
|
|
292
|
-
|
|
293
|
-
|
|
297
|
+
x?.status,
|
|
298
|
+
x?.updated_at,
|
|
294
299
|
$t,
|
|
295
300
|
X,
|
|
296
301
|
f.detail
|
|
297
|
-
]), en =
|
|
298
|
-
records:
|
|
302
|
+
]), en = a(() => Me({
|
|
303
|
+
records: D.paymentRecords,
|
|
299
304
|
events: Y.data?.data ?? [],
|
|
300
|
-
currencyCode:
|
|
305
|
+
currencyCode: x?.currency,
|
|
301
306
|
labels: f.detail
|
|
302
307
|
}), [
|
|
303
|
-
|
|
308
|
+
D.paymentRecords,
|
|
304
309
|
Y.data,
|
|
305
|
-
|
|
310
|
+
x?.currency,
|
|
306
311
|
f.detail
|
|
307
|
-
]), tn =
|
|
308
|
-
if (!
|
|
309
|
-
let e =
|
|
310
|
-
payable:
|
|
311
|
-
lineItems:
|
|
312
|
+
]), tn = a(() => {
|
|
313
|
+
if (!u || !x) return;
|
|
314
|
+
let e = Ve({
|
|
315
|
+
payable: x,
|
|
316
|
+
lineItems: v.lineItems,
|
|
312
317
|
glCodeOptions: q,
|
|
313
318
|
glCodeRosterAvailable: Gt,
|
|
314
319
|
history: Xt,
|
|
315
320
|
paymentHistory: en,
|
|
316
|
-
approvalPolicy:
|
|
321
|
+
approvalPolicy: V.view,
|
|
317
322
|
labels: f.detail,
|
|
318
|
-
hasScheduledPayment:
|
|
323
|
+
hasScheduledPayment: D.hasScheduledPayment,
|
|
319
324
|
rejection: Z,
|
|
320
|
-
payableAchInstructions:
|
|
321
|
-
payableAchInstructionsReadable:
|
|
325
|
+
payableAchInstructions: z.achInstructions,
|
|
326
|
+
payableAchInstructionsReadable: O && !z.isError
|
|
322
327
|
});
|
|
323
|
-
return
|
|
328
|
+
return A.mode === "resolved" && A.summary ? {
|
|
324
329
|
...e,
|
|
325
|
-
payTo:
|
|
330
|
+
payTo: A.summary
|
|
326
331
|
} : e;
|
|
327
332
|
}, [
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
333
|
+
D.hasScheduledPayment,
|
|
334
|
+
V.view,
|
|
335
|
+
O,
|
|
331
336
|
f.detail,
|
|
332
337
|
q,
|
|
333
338
|
Gt,
|
|
334
339
|
Xt,
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
340
|
+
v.lineItems,
|
|
341
|
+
x,
|
|
342
|
+
z.achInstructions,
|
|
343
|
+
z.isError,
|
|
339
344
|
en,
|
|
340
|
-
|
|
345
|
+
u,
|
|
341
346
|
Z,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
]), nn =
|
|
345
|
-
if (
|
|
346
|
-
|
|
347
|
+
A.mode,
|
|
348
|
+
A.summary
|
|
349
|
+
]), nn = x?.source_of_payable_data === "ocr", Q = jt?.name, rn = u ? Q ? f.viewTitle(Q) : f.readOnlyTitle : Q && (nn || C) ? f.extractedTitle(Q) : f.newTitle, an = u && x?.created_at ? f.addedOn(te(x.created_at.slice(0, 10))) : void 0, on = i(() => {
|
|
350
|
+
if (u && A.isEditingPayTo) {
|
|
351
|
+
H(() => l(!1));
|
|
347
352
|
return;
|
|
348
353
|
}
|
|
349
|
-
let e =
|
|
350
|
-
switch (
|
|
354
|
+
let e = T.isDirty || A.hasUnsavedVendorChanges || !!I.stagedFile || I.isFileDeletionPending;
|
|
355
|
+
switch (He({
|
|
351
356
|
isUnsavedPromptOpen: m,
|
|
352
|
-
isLocked:
|
|
357
|
+
isLocked: w,
|
|
353
358
|
isDirty: e
|
|
354
359
|
})) {
|
|
355
360
|
case "dismiss-prompt":
|
|
@@ -358,167 +363,167 @@ function l({ open: l, onOpenChange: u, payableId: $e, readOnly: d = !1, copy: et
|
|
|
358
363
|
case "prompt":
|
|
359
364
|
h(!0);
|
|
360
365
|
return;
|
|
361
|
-
default:
|
|
366
|
+
default: l(!1);
|
|
362
367
|
}
|
|
363
368
|
}, [
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
369
|
+
I.isFileDeletionPending,
|
|
370
|
+
I.stagedFile,
|
|
371
|
+
T.isDirty,
|
|
372
|
+
w,
|
|
368
373
|
m,
|
|
369
|
-
|
|
374
|
+
H,
|
|
375
|
+
l,
|
|
370
376
|
u,
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
G(tt);
|
|
377
|
+
A.hasUnsavedVendorChanges,
|
|
378
|
+
A.isEditingPayTo
|
|
379
|
+
]), sn = i(() => {
|
|
380
|
+
if (A.isEditingPayTo) {
|
|
381
|
+
H(d);
|
|
377
382
|
return;
|
|
378
383
|
}
|
|
379
|
-
|
|
384
|
+
d?.();
|
|
380
385
|
}, [
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
]), cn =
|
|
385
|
-
h(!1),
|
|
386
|
-
}, [
|
|
386
|
+
H,
|
|
387
|
+
d,
|
|
388
|
+
A.isEditingPayTo
|
|
389
|
+
]), cn = i(() => {
|
|
390
|
+
h(!1), l(!1);
|
|
391
|
+
}, [l]), ln = Vt || A.mode === "creating", un = i(async () => {
|
|
387
392
|
if (ln) return;
|
|
388
|
-
let e = await
|
|
389
|
-
h(!1), e &&
|
|
393
|
+
let e = await I.saveDraft();
|
|
394
|
+
h(!1), e && l(!1);
|
|
390
395
|
}, [
|
|
391
|
-
|
|
396
|
+
I,
|
|
392
397
|
ln,
|
|
393
|
-
|
|
394
|
-
]), $ =
|
|
395
|
-
payable:
|
|
396
|
-
onRemoved: () =>
|
|
397
|
-
canManage:
|
|
398
|
-
}), dn =
|
|
399
|
-
if (!(
|
|
398
|
+
l
|
|
399
|
+
]), $ = be({
|
|
400
|
+
payable: x,
|
|
401
|
+
onRemoved: () => l(!1),
|
|
402
|
+
canManage: vt
|
|
403
|
+
}), dn = i((e) => {
|
|
404
|
+
if (!(G || $.isBusy)) return e ? l(!0) : on();
|
|
400
405
|
}, [
|
|
401
406
|
$.isBusy,
|
|
402
|
-
|
|
407
|
+
G,
|
|
403
408
|
on,
|
|
404
|
-
|
|
405
|
-
]), fn = $.isPossibleDuplicate, pn = !
|
|
406
|
-
mn && Z ? /* @__PURE__ */
|
|
409
|
+
l
|
|
410
|
+
]), fn = $.isPossibleDuplicate, pn = !u && nn && !st, mn = !u && !!Z, hn = mn || fn || pn ? /* @__PURE__ */ Ze(Xe, { children: [
|
|
411
|
+
mn && Z ? /* @__PURE__ */ s(ge, {
|
|
407
412
|
...Z,
|
|
408
413
|
labels: f.rejectedBanner
|
|
409
414
|
}) : null,
|
|
410
|
-
fn ? /* @__PURE__ */
|
|
415
|
+
fn ? /* @__PURE__ */ s(he, {
|
|
411
416
|
onNotADuplicate: $.onNotADuplicate,
|
|
412
417
|
onRemoveBill: $.onRemoveBill,
|
|
413
418
|
isActionDisabled: $.isBusy,
|
|
414
419
|
labels: $.removeBillLabel ? { removeBillButton: $.removeBillLabel } : void 0,
|
|
415
|
-
testId:
|
|
420
|
+
testId: r.duplicateNotice
|
|
416
421
|
}) : null,
|
|
417
|
-
pn ? /* @__PURE__ */
|
|
422
|
+
pn ? /* @__PURE__ */ s(_e, { onDismiss: () => ct(!0) }) : null
|
|
418
423
|
] }) : void 0;
|
|
419
|
-
return /* @__PURE__ */ Xe
|
|
420
|
-
/* @__PURE__ */
|
|
421
|
-
open:
|
|
424
|
+
return /* @__PURE__ */ Ze(Xe, { children: [
|
|
425
|
+
/* @__PURE__ */ s(fe, {
|
|
426
|
+
open: c,
|
|
422
427
|
onOpenChange: dn,
|
|
423
428
|
title: rn,
|
|
424
429
|
subtitle: an,
|
|
425
430
|
notice: hn,
|
|
426
431
|
vendor: {
|
|
427
|
-
...
|
|
428
|
-
testId:
|
|
432
|
+
...F,
|
|
433
|
+
testId: r.vendorSection
|
|
429
434
|
},
|
|
430
|
-
values:
|
|
431
|
-
errors:
|
|
432
|
-
onChange:
|
|
435
|
+
values: T.values,
|
|
436
|
+
errors: T.errors,
|
|
437
|
+
onChange: T.onChange,
|
|
433
438
|
lineItems: {
|
|
434
|
-
items:
|
|
439
|
+
items: T.lineItemRows,
|
|
435
440
|
glCodeOptions: q,
|
|
436
441
|
glCodeDisabled: Wt,
|
|
437
442
|
glCodeUnavailableMessage: J,
|
|
438
|
-
discount:
|
|
439
|
-
onDiscountChange:
|
|
440
|
-
onDiscountBlur:
|
|
441
|
-
tax:
|
|
442
|
-
onTaxChange:
|
|
443
|
-
onTaxBlur:
|
|
444
|
-
total:
|
|
445
|
-
onTotalChange:
|
|
446
|
-
onTotalBlur:
|
|
447
|
-
onAddLineItem:
|
|
448
|
-
errors:
|
|
449
|
-
totalsErrors:
|
|
450
|
-
testId:
|
|
443
|
+
discount: T.discount,
|
|
444
|
+
onDiscountChange: T.onDiscountChange,
|
|
445
|
+
onDiscountBlur: T.onDiscountBlur,
|
|
446
|
+
tax: T.tax,
|
|
447
|
+
onTaxChange: T.onTaxChange,
|
|
448
|
+
onTaxBlur: T.onTaxBlur,
|
|
449
|
+
total: T.total,
|
|
450
|
+
onTotalChange: T.onTotalChange,
|
|
451
|
+
onTotalBlur: T.onTotalBlur,
|
|
452
|
+
onAddLineItem: T.onAddLineItem,
|
|
453
|
+
errors: T.lineItemErrors,
|
|
454
|
+
totalsErrors: T.totalsErrors,
|
|
455
|
+
testId: r.lineItems
|
|
451
456
|
},
|
|
452
|
-
documentPanel: /* @__PURE__ */
|
|
453
|
-
payableId:
|
|
454
|
-
readOnly:
|
|
455
|
-
isDocumentPending: !!
|
|
456
|
-
file:
|
|
457
|
-
id:
|
|
458
|
-
name:
|
|
459
|
-
url:
|
|
460
|
-
mimetype:
|
|
457
|
+
documentPanel: /* @__PURE__ */ s(We, {
|
|
458
|
+
payableId: g,
|
|
459
|
+
readOnly: w,
|
|
460
|
+
isDocumentPending: !!g && !x?.file && (_.isLoading || x?.ocr_status === "processing"),
|
|
461
|
+
file: x?.file ? {
|
|
462
|
+
id: x.file.id,
|
|
463
|
+
name: x.file.name,
|
|
464
|
+
url: x.file.url,
|
|
465
|
+
mimetype: x.file.mimetype
|
|
461
466
|
} : void 0,
|
|
462
467
|
staging: {
|
|
463
|
-
stagedFile:
|
|
464
|
-
onFileStaged:
|
|
465
|
-
onClearStagedFile:
|
|
466
|
-
isSaving:
|
|
468
|
+
stagedFile: I.stagedFile,
|
|
469
|
+
onFileStaged: I.stageFile,
|
|
470
|
+
onClearStagedFile: I.clearStagedFile,
|
|
471
|
+
isSaving: kt
|
|
467
472
|
},
|
|
468
473
|
deletion: {
|
|
469
|
-
isPending:
|
|
470
|
-
onRequest:
|
|
471
|
-
onDetachNow:
|
|
472
|
-
isDeleting:
|
|
473
|
-
hasFailed:
|
|
474
|
+
isPending: I.isFileDeletionPending,
|
|
475
|
+
onRequest: I.requestFileDeletion,
|
|
476
|
+
onDetachNow: I.detachFileNow,
|
|
477
|
+
isDeleting: I.isDeletingFile,
|
|
478
|
+
hasFailed: I.hasFileDeletionFailed
|
|
474
479
|
}
|
|
475
480
|
}),
|
|
476
481
|
menuItems: Ut,
|
|
477
|
-
readOnly:
|
|
478
|
-
detail:
|
|
482
|
+
readOnly: w,
|
|
483
|
+
detail: u ? {
|
|
479
484
|
view: tn,
|
|
480
|
-
actions:
|
|
481
|
-
scheduledSummary:
|
|
482
|
-
scheduledStatusLabel:
|
|
483
|
-
showApprovalOverrideNotice: !
|
|
484
|
-
awaitingApprovalNotice: !
|
|
485
|
+
actions: U,
|
|
486
|
+
scheduledSummary: D.hasScheduledPayment && D.scheduledDateLabel ? f.scheduledSummary(D.scheduledDateLabel) : void 0,
|
|
487
|
+
scheduledStatusLabel: D.hasScheduledPayment && D.scheduledDateLabel ? f.scheduledStatusBadge(D.scheduledDateLabel) : void 0,
|
|
488
|
+
showApprovalOverrideNotice: !Pt && !Nt && Mt && !!x?.approval_policy_id,
|
|
489
|
+
awaitingApprovalNotice: !Pt && !Nt && !Mt && x?.status === "approve_in_progress" && x?.approval_policy_id ? Ft ? f.awaitingApprovalNotice(Ft) : f.awaitingApprovalUnknownNotice : void 0,
|
|
485
490
|
payTo: {
|
|
486
|
-
onEdit:
|
|
487
|
-
paymentInstructions:
|
|
488
|
-
editForm:
|
|
491
|
+
onEdit: F.mode === "resolved" ? F.onEdit : void 0,
|
|
492
|
+
paymentInstructions: F.paymentInstructions,
|
|
493
|
+
editForm: F.mode === "creating" ? F.newVendorForm : void 0
|
|
489
494
|
},
|
|
490
|
-
hideMissingPaymentInstructions:
|
|
491
|
-
isLoading:
|
|
495
|
+
hideMissingPaymentInstructions: x?.status === "paid" || x?.status === "canceled",
|
|
496
|
+
isLoading: K,
|
|
492
497
|
isError: Ht,
|
|
493
|
-
paymentHistoryError:
|
|
494
|
-
paymentHistoryLoading:
|
|
498
|
+
paymentHistoryError: D.isError || Y.isError,
|
|
499
|
+
paymentHistoryLoading: D.isResolving || Y.isLoading
|
|
495
500
|
} : void 0,
|
|
496
|
-
isLineItemsLoading:
|
|
497
|
-
isSaving:
|
|
498
|
-
isSavingDraft:
|
|
499
|
-
isSubmitting:
|
|
501
|
+
isLineItemsLoading: Vt,
|
|
502
|
+
isSaving: G || N,
|
|
503
|
+
isSavingDraft: I.isSavingDraft,
|
|
504
|
+
isSubmitting: I.isFinalizing,
|
|
500
505
|
onCancel: on,
|
|
501
|
-
onCollapse:
|
|
502
|
-
onSaveDraft:
|
|
503
|
-
onFinalize:
|
|
504
|
-
scrollToErrorToken:
|
|
505
|
-
showSubmit: !
|
|
506
|
-
testId:
|
|
506
|
+
onCollapse: u ? sn : void 0,
|
|
507
|
+
onSaveDraft: I.saveDraft,
|
|
508
|
+
onFinalize: I.finalize,
|
|
509
|
+
scrollToErrorToken: I.scrollToErrorToken,
|
|
510
|
+
showSubmit: !w && S,
|
|
511
|
+
testId: r.dialog
|
|
507
512
|
}),
|
|
508
|
-
/* @__PURE__ */
|
|
513
|
+
/* @__PURE__ */ s(ye, {
|
|
509
514
|
open: m,
|
|
510
515
|
onSaveDraft: un,
|
|
511
516
|
onDiscard: cn,
|
|
512
517
|
onCancel: () => h(!1),
|
|
513
|
-
isSaving:
|
|
518
|
+
isSaving: I.isSavingDraft,
|
|
514
519
|
isSaveDraftDisabled: ln,
|
|
515
520
|
labels: f.unsavedChanges,
|
|
516
|
-
testId:
|
|
517
|
-
saveDraftTestId:
|
|
518
|
-
discardTestId:
|
|
519
|
-
closeTestId:
|
|
521
|
+
testId: r.unsavedDialog,
|
|
522
|
+
saveDraftTestId: r.unsavedSaveDraft,
|
|
523
|
+
discardTestId: r.unsavedDiscard,
|
|
524
|
+
closeTestId: r.unsavedClose
|
|
520
525
|
}),
|
|
521
|
-
/* @__PURE__ */
|
|
526
|
+
/* @__PURE__ */ s(me, {
|
|
522
527
|
open: !!lt,
|
|
523
528
|
onDiscard: () => {
|
|
524
529
|
let e = lt;
|
|
@@ -526,42 +531,42 @@ function l({ open: l, onOpenChange: u, payableId: $e, readOnly: d = !1, copy: et
|
|
|
526
531
|
},
|
|
527
532
|
onKeepEditing: () => ut(void 0),
|
|
528
533
|
labels: f.discardChanges,
|
|
529
|
-
testId:
|
|
530
|
-
discardTestId:
|
|
534
|
+
testId: r.discardDialog,
|
|
535
|
+
discardTestId: r.discardConfirm
|
|
531
536
|
}),
|
|
532
|
-
/* @__PURE__ */
|
|
533
|
-
...
|
|
537
|
+
/* @__PURE__ */ s(pe, {
|
|
538
|
+
...Rt,
|
|
534
539
|
labels: { cancelButton: f.actions.decisionDialog.cancelButton },
|
|
535
|
-
testId:
|
|
536
|
-
confirmTestId:
|
|
537
|
-
reasonTestId:
|
|
540
|
+
testId: r.decisionDialog,
|
|
541
|
+
confirmTestId: r.decisionConfirm,
|
|
542
|
+
reasonTestId: r.decisionReason
|
|
538
543
|
}),
|
|
539
|
-
/* @__PURE__ */
|
|
540
|
-
...
|
|
544
|
+
/* @__PURE__ */ s(pe, {
|
|
545
|
+
...W.dialog,
|
|
541
546
|
labels: { cancelButton: f.actions.decisionDialog.cancelButton },
|
|
542
|
-
testId:
|
|
543
|
-
confirmTestId:
|
|
547
|
+
testId: r.deleteDraftDialog,
|
|
548
|
+
confirmTestId: r.deleteDraftConfirm
|
|
544
549
|
}),
|
|
545
|
-
/* @__PURE__ */
|
|
550
|
+
/* @__PURE__ */ s(pe, {
|
|
546
551
|
open: $.removeConfirmation.open,
|
|
547
552
|
copy: $.removeConfirmation.copy,
|
|
548
553
|
onConfirm: $.removeConfirmation.onConfirm,
|
|
549
554
|
onCancel: $.removeConfirmation.onCancel,
|
|
550
555
|
isPending: $.removeConfirmation.isPending,
|
|
551
|
-
confirmIcon: /* @__PURE__ */
|
|
556
|
+
confirmIcon: /* @__PURE__ */ s(Qe, {}),
|
|
552
557
|
labels: { cancelButton: $.removeConfirmation.cancelButtonLabel },
|
|
553
|
-
testId:
|
|
554
|
-
confirmTestId:
|
|
558
|
+
testId: r.duplicateRemoveDialog,
|
|
559
|
+
confirmTestId: r.duplicateRemoveConfirm
|
|
555
560
|
}),
|
|
556
|
-
/* @__PURE__ */
|
|
557
|
-
|
|
558
|
-
ref:
|
|
559
|
-
payable:
|
|
560
|
-
onMissingAchInstructions:
|
|
561
|
+
/* @__PURE__ */ s(ve, { ...B.dialogProps }),
|
|
562
|
+
u && x ? /* @__PURE__ */ s(Ee, {
|
|
563
|
+
ref: At,
|
|
564
|
+
payable: x,
|
|
565
|
+
onMissingAchInstructions: yt ? A.openPaymentInstructions : void 0,
|
|
561
566
|
poweredByBankName: rt,
|
|
562
567
|
labels: f.payBill
|
|
563
568
|
}) : null
|
|
564
569
|
] });
|
|
565
570
|
}
|
|
566
571
|
//#endregion
|
|
567
|
-
export {
|
|
572
|
+
export { c as BillCreateDialog, c as default };
|