@feedmepos/mf-payment 1.5.25-dev → 1.5.27-dev
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/DocumentViewer.vue_vue_type_script_setup_true_lang-B0ThjP1l.js +94 -0
- package/dist/{OnboardForm-C5e22OaA.js → OnboardForm-BwuKMUCZ.js} +37 -38
- package/dist/{OnboardForm-DepiUIOr.js → OnboardForm-D3q5YAEo.js} +3 -3
- package/dist/{OnboardSubmission-V8jeo8Za.js → OnboardSubmission-BBdqr387.js} +1 -1
- package/dist/{OnboardSubmission-BB6qLr3p.js → OnboardSubmission-D958LAp4.js} +1 -1
- package/dist/{PayoutAccount-BmA6yq1q.js → PayoutAccount-DOrQRIwu.js} +2 -2
- package/dist/{PayoutAccount-BeC2YgKa.js → PayoutAccount-DPkIAGxl.js} +1 -1
- package/dist/{PayoutAccountSetting-DtFbOHVm.js → PayoutAccountSetting-BeN4xXv3.js} +241 -238
- package/dist/api/document/index.d.ts +1 -0
- package/dist/{app-BI2iqyvj.js → app-U26B2g_2.js} +126 -135
- package/dist/app.js +1 -1
- package/dist/components/DocumentViewer.vue.d.ts +1 -0
- package/dist/index-BxuQxtra.js +36 -0
- package/dist/{index-Ci4uxsSz.js → index-PpSEr3rk.js} +1 -1
- package/dist/package.json +2 -2
- package/dist/{payout-account-Th15UywB.js → payout-account-9xeRIv-9.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/DocumentViewer.vue_vue_type_script_setup_true_lang-KCfloaC1.js +0 -89
- package/dist/index-ey7xefKL.js +0 -27
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as C, resolveComponent as m, openBlock as g, createElementBlock as P, Fragment as $, createElementVNode as i, createVNode as l, withCtx as F, createTextVNode as
|
|
1
|
+
import { defineComponent as C, resolveComponent as m, openBlock as g, createElementBlock as P, Fragment as $, createElementVNode as i, createVNode as l, withCtx as F, createTextVNode as _, toDisplayString as D, ref as T, watch as Z, createBlock as x, computed as K, isRef as q, unref as s, createCommentVNode as I, h as O, onMounted as ne, resolveDynamicComponent as Q, normalizeProps as W, mergeProps as J } from "vue";
|
|
2
2
|
import { p as R } from "./index-OA39241x.js";
|
|
3
3
|
import { u as j, e as h } from "./index-DRKoa7dT.js";
|
|
4
4
|
import { _ as oe } from "./Layout.vue_vue_type_script_setup_true_lang-BKIvkgA_.js";
|
|
5
5
|
import { useRouter as ue } from "vue-router";
|
|
6
6
|
import { u as Y } from "./index-zMl6AuFw.js";
|
|
7
|
-
import { _ as L } from "./DocumentViewer.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { _ as L } from "./DocumentViewer.vue_vue_type_script_setup_true_lang-B0ThjP1l.js";
|
|
8
8
|
import { P as te } from "./PDFViewer-CIPPbzWD.js";
|
|
9
|
-
import { useSnackbar as z, components as
|
|
9
|
+
import { useSnackbar as z, components as se } from "@feedmepos/ui-library";
|
|
10
10
|
import { u as E } from "./error-K1CakhA9.js";
|
|
11
11
|
import { z as V, a as w } from "./validator-DzjyJnvv.js";
|
|
12
|
-
import { useCoreStore as
|
|
13
|
-
const
|
|
12
|
+
import { useCoreStore as ae } from "@feedmepos/mf-common";
|
|
13
|
+
const re = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
14
14
|
__name: "Information",
|
|
15
15
|
props: {
|
|
16
16
|
payoutAccount: {
|
|
@@ -18,37 +18,37 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
18
18
|
required: !0
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
|
-
setup(
|
|
21
|
+
setup(n) {
|
|
22
22
|
return (p, e) => {
|
|
23
23
|
var u, f;
|
|
24
|
-
const d = m("FmCardHeader"),
|
|
24
|
+
const d = m("FmCardHeader"), r = m("FmCardSection"), t = m("FmCard");
|
|
25
25
|
return g(), P($, null, [
|
|
26
|
-
i("div",
|
|
26
|
+
i("div", re, [
|
|
27
27
|
l(t, {
|
|
28
28
|
horizontal: "",
|
|
29
29
|
class: "flex-1 p-6",
|
|
30
30
|
variant: "elevated"
|
|
31
31
|
}, {
|
|
32
32
|
default: F(() => [
|
|
33
|
-
l(
|
|
33
|
+
l(r, { class: "flex flex-col gap-16 justify-between" }, {
|
|
34
34
|
default: F(() => [
|
|
35
35
|
l(d, {
|
|
36
36
|
class: "p-0",
|
|
37
37
|
title: "Account Info",
|
|
38
38
|
subtitle: ""
|
|
39
39
|
}),
|
|
40
|
-
l(
|
|
40
|
+
l(r, { class: "p-0" }, {
|
|
41
41
|
default: F(() => {
|
|
42
|
-
var c,
|
|
42
|
+
var c, a, o, v, y;
|
|
43
43
|
return [
|
|
44
44
|
e[0] || (e[0] = i("b", null, "For", -1)),
|
|
45
|
-
|
|
45
|
+
_(": " + D((a = (c = n.payoutAccount) == null ? void 0 : c.store) == null ? void 0 : a.event) + " ", 1),
|
|
46
46
|
e[1] || (e[1] = i("br", null, null, -1)),
|
|
47
47
|
e[2] || (e[2] = i("b", null, "Reference", -1)),
|
|
48
|
-
|
|
48
|
+
_(": " + D((v = (o = n.payoutAccount) == null ? void 0 : o.store) == null ? void 0 : v.id), 1),
|
|
49
49
|
e[3] || (e[3] = i("br", null, null, -1)),
|
|
50
50
|
e[4] || (e[4] = i("b", null, "Business", -1)),
|
|
51
|
-
|
|
51
|
+
_(": " + D((y = n.payoutAccount) == null ? void 0 : y.businessId), 1),
|
|
52
52
|
e[5] || (e[5] = i("br", null, null, -1))
|
|
53
53
|
];
|
|
54
54
|
}),
|
|
@@ -66,25 +66,25 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
66
66
|
variant: "elevated"
|
|
67
67
|
}, {
|
|
68
68
|
default: F(() => [
|
|
69
|
-
l(
|
|
69
|
+
l(r, { class: "flex flex-col gap-16 justify-between" }, {
|
|
70
70
|
default: F(() => [
|
|
71
71
|
l(d, {
|
|
72
72
|
class: "p-0",
|
|
73
73
|
title: "Key Person",
|
|
74
74
|
subtitle: ""
|
|
75
75
|
}),
|
|
76
|
-
l(
|
|
76
|
+
l(r, { class: "p-0" }, {
|
|
77
77
|
default: F(() => {
|
|
78
|
-
var c,
|
|
78
|
+
var c, a, o, v, y, b, U, A;
|
|
79
79
|
return [
|
|
80
80
|
e[6] || (e[6] = i("b", null, "Email", -1)),
|
|
81
|
-
|
|
81
|
+
_(": " + D((o = (a = (c = n.payoutAccount) == null ? void 0 : c.store) == null ? void 0 : a.keyPerson) == null ? void 0 : o.email) + " ", 1),
|
|
82
82
|
e[7] || (e[7] = i("br", null, null, -1)),
|
|
83
83
|
e[8] || (e[8] = i("b", null, "Name", -1)),
|
|
84
|
-
|
|
84
|
+
_(": " + D((b = (y = (v = n.payoutAccount) == null ? void 0 : v.store) == null ? void 0 : y.keyPerson) == null ? void 0 : b.name), 1),
|
|
85
85
|
e[9] || (e[9] = i("br", null, null, -1)),
|
|
86
86
|
e[10] || (e[10] = i("b", null, "Phone", -1)),
|
|
87
|
-
|
|
87
|
+
_(": " + D((A = (U = n.payoutAccount) == null ? void 0 : U.store.keyPerson) == null ? void 0 : A.phone), 1),
|
|
88
88
|
e[11] || (e[11] = i("br", null, null, -1))
|
|
89
89
|
];
|
|
90
90
|
}),
|
|
@@ -99,9 +99,10 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
99
99
|
]),
|
|
100
100
|
e[12] || (e[12] = i("p", { class: "fm-typo-en-body-lg-600 mb-6" }, "Exterior Photo", -1)),
|
|
101
101
|
l(L, {
|
|
102
|
-
document:
|
|
103
|
-
"
|
|
104
|
-
|
|
102
|
+
document: n.payoutAccount.store.exteriorPhoto,
|
|
103
|
+
"business-id": n.payoutAccount.businessId,
|
|
104
|
+
"restaurant-id": ((f = (u = n.payoutAccount) == null ? void 0 : u.store) == null ? void 0 : f.event) === "ORDERING" ? n.payoutAccount.store.id : void 0
|
|
105
|
+
}, null, 8, ["document", "business-id", "restaurant-id"])
|
|
105
106
|
], 64);
|
|
106
107
|
};
|
|
107
108
|
}
|
|
@@ -113,10 +114,10 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
113
114
|
required: !0
|
|
114
115
|
}
|
|
115
116
|
},
|
|
116
|
-
setup(
|
|
117
|
+
setup(n) {
|
|
117
118
|
return (p, e) => {
|
|
118
|
-
var u, f, c,
|
|
119
|
-
const d = m("FmCardHeader"),
|
|
119
|
+
var u, f, c, a;
|
|
120
|
+
const d = m("FmCardHeader"), r = m("FmCardSection"), t = m("FmCard");
|
|
120
121
|
return g(), P($, null, [
|
|
121
122
|
i("div", ce, [
|
|
122
123
|
l(t, {
|
|
@@ -125,22 +126,22 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
125
126
|
variant: "elevated"
|
|
126
127
|
}, {
|
|
127
128
|
default: F(() => [
|
|
128
|
-
l(
|
|
129
|
+
l(r, { class: "flex flex-col gap-16 justify-between" }, {
|
|
129
130
|
default: F(() => [
|
|
130
131
|
l(d, {
|
|
131
132
|
class: "p-0",
|
|
132
133
|
title: "Company Info",
|
|
133
134
|
subtitle: ""
|
|
134
135
|
}),
|
|
135
|
-
l(
|
|
136
|
+
l(r, { class: "p-0" }, {
|
|
136
137
|
default: F(() => {
|
|
137
138
|
var o, v;
|
|
138
139
|
return [
|
|
139
140
|
e[0] || (e[0] = i("b", null, "Name", -1)),
|
|
140
|
-
|
|
141
|
+
_(": " + D((o = n.payoutAccount) == null ? void 0 : o.store.companyName), 1),
|
|
141
142
|
e[1] || (e[1] = i("br", null, null, -1)),
|
|
142
143
|
e[2] || (e[2] = i("b", null, "Registration Number", -1)),
|
|
143
|
-
|
|
144
|
+
_(": " + D((v = n.payoutAccount) == null ? void 0 : v.store.regNo), 1),
|
|
144
145
|
e[3] || (e[3] = i("br", null, null, -1))
|
|
145
146
|
];
|
|
146
147
|
}),
|
|
@@ -158,25 +159,25 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
158
159
|
variant: "elevated"
|
|
159
160
|
}, {
|
|
160
161
|
default: F(() => [
|
|
161
|
-
l(
|
|
162
|
+
l(r, { class: "flex flex-col gap-16 justify-between" }, {
|
|
162
163
|
default: F(() => [
|
|
163
164
|
l(d, {
|
|
164
165
|
class: "p-0",
|
|
165
166
|
title: "Bank Info",
|
|
166
167
|
subtitle: ""
|
|
167
168
|
}),
|
|
168
|
-
l(
|
|
169
|
+
l(r, { class: "p-0" }, {
|
|
169
170
|
default: F(() => {
|
|
170
|
-
var o, v, y, b,
|
|
171
|
+
var o, v, y, b, U, A;
|
|
171
172
|
return [
|
|
172
173
|
e[4] || (e[4] = i("b", null, "Bank", -1)),
|
|
173
|
-
|
|
174
|
+
_(": " + D((v = (o = n.payoutAccount) == null ? void 0 : o.store.bank) == null ? void 0 : v.name), 1),
|
|
174
175
|
e[5] || (e[5] = i("br", null, null, -1)),
|
|
175
176
|
e[6] || (e[6] = i("b", null, "Name", -1)),
|
|
176
|
-
|
|
177
|
+
_(": " + D((b = (y = n.payoutAccount) == null ? void 0 : y.store.bank) == null ? void 0 : b.holderName), 1),
|
|
177
178
|
e[7] || (e[7] = i("br", null, null, -1)),
|
|
178
179
|
e[8] || (e[8] = i("b", null, "Number", -1)),
|
|
179
|
-
|
|
180
|
+
_(": " + D((A = (U = n.payoutAccount) == null ? void 0 : U.store.bank) == null ? void 0 : A.accountNumber), 1)
|
|
180
181
|
];
|
|
181
182
|
}),
|
|
182
183
|
_: 1
|
|
@@ -192,8 +193,9 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
192
193
|
i("div", de, [
|
|
193
194
|
e[9] || (e[9] = i("p", { class: "fm-typo-en-body-lg-600 mb-6" }, "SSM", -1)),
|
|
194
195
|
l(L, {
|
|
195
|
-
"
|
|
196
|
-
|
|
196
|
+
"business-id": n.payoutAccount.businessId,
|
|
197
|
+
"restaurant-id": ((f = (u = n.payoutAccount) == null ? void 0 : u.store) == null ? void 0 : f.event) === "ORDERING" ? n.payoutAccount.store.id : void 0,
|
|
198
|
+
document: n.payoutAccount.store.ssm
|
|
197
199
|
}, {
|
|
198
200
|
default: F(({ src: o }) => [
|
|
199
201
|
l(te, {
|
|
@@ -203,13 +205,14 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
203
205
|
}, null, 8, ["pdf"])
|
|
204
206
|
]),
|
|
205
207
|
_: 1
|
|
206
|
-
}, 8, ["restaurant-id", "document"])
|
|
208
|
+
}, 8, ["business-id", "restaurant-id", "document"])
|
|
207
209
|
]),
|
|
208
210
|
i("div", pe, [
|
|
209
211
|
e[10] || (e[10] = i("p", { class: "fm-typo-en-body-lg-600 mb-6" }, "Bank Statement", -1)),
|
|
210
212
|
l(L, {
|
|
211
|
-
"
|
|
212
|
-
|
|
213
|
+
"business-id": n.payoutAccount.businessId,
|
|
214
|
+
"restaurant-id": ((a = (c = n.payoutAccount) == null ? void 0 : c.store) == null ? void 0 : a.event) === "ORDERING" ? n.payoutAccount.store.id : void 0,
|
|
215
|
+
document: n.payoutAccount.store.bankStatement
|
|
213
216
|
}, {
|
|
214
217
|
default: F(({ src: o }) => [
|
|
215
218
|
l(te, {
|
|
@@ -219,7 +222,7 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
219
222
|
}, null, 8, ["pdf"])
|
|
220
223
|
]),
|
|
221
224
|
_: 1
|
|
222
|
-
}, 8, ["restaurant-id", "document"])
|
|
225
|
+
}, 8, ["business-id", "restaurant-id", "document"])
|
|
223
226
|
])
|
|
224
227
|
])
|
|
225
228
|
], 64);
|
|
@@ -231,19 +234,19 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
231
234
|
data: {},
|
|
232
235
|
onChange: { type: Function }
|
|
233
236
|
},
|
|
234
|
-
setup(
|
|
235
|
-
const p =
|
|
237
|
+
setup(n) {
|
|
238
|
+
const p = n, e = T(p.data.toString());
|
|
236
239
|
return Z(e, (d) => {
|
|
237
240
|
p.onChange(parseFloat(d));
|
|
238
|
-
}), (d,
|
|
241
|
+
}), (d, r) => {
|
|
239
242
|
const t = m("FmTextField");
|
|
240
243
|
return g(), x(t, {
|
|
241
244
|
inputmode: "decimal",
|
|
242
245
|
modelValue: e.value,
|
|
243
|
-
"onUpdate:modelValue":
|
|
246
|
+
"onUpdate:modelValue": r[0] || (r[0] = (u) => e.value = u)
|
|
244
247
|
}, {
|
|
245
|
-
append: F(() => [...
|
|
246
|
-
|
|
248
|
+
append: F(() => [...r[1] || (r[1] = [
|
|
249
|
+
_("%", -1)
|
|
247
250
|
])]),
|
|
248
251
|
_: 1
|
|
249
252
|
}, 8, ["modelValue"]);
|
|
@@ -255,16 +258,16 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
255
258
|
data: {},
|
|
256
259
|
onChange: { type: Function }
|
|
257
260
|
},
|
|
258
|
-
setup(
|
|
259
|
-
const p =
|
|
261
|
+
setup(n) {
|
|
262
|
+
const p = n, e = T(p.data.toString());
|
|
260
263
|
return Z(e, (d) => {
|
|
261
264
|
p.onChange(parseInt(d));
|
|
262
|
-
}), (d,
|
|
265
|
+
}), (d, r) => {
|
|
263
266
|
const t = m("FmTextField");
|
|
264
267
|
return g(), x(t, {
|
|
265
268
|
inputmode: "numeric",
|
|
266
269
|
modelValue: e.value,
|
|
267
|
-
"onUpdate:modelValue":
|
|
270
|
+
"onUpdate:modelValue": r[0] || (r[0] = (u) => e.value = u)
|
|
268
271
|
}, null, 8, ["modelValue"]);
|
|
269
272
|
};
|
|
270
273
|
}
|
|
@@ -274,19 +277,19 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
274
277
|
data: {},
|
|
275
278
|
onChange: { type: Function }
|
|
276
279
|
},
|
|
277
|
-
setup(
|
|
278
|
-
const p =
|
|
280
|
+
setup(n) {
|
|
281
|
+
const p = n, e = T(p.data.toString());
|
|
279
282
|
return Z(e, (d) => {
|
|
280
283
|
p.onChange(parseFloat(d));
|
|
281
|
-
}), (d,
|
|
284
|
+
}), (d, r) => {
|
|
282
285
|
const t = m("FmTextField");
|
|
283
286
|
return g(), x(t, {
|
|
284
287
|
inputmode: "numeric",
|
|
285
288
|
modelValue: e.value,
|
|
286
|
-
"onUpdate:modelValue":
|
|
289
|
+
"onUpdate:modelValue": r[0] || (r[0] = (u) => e.value = u)
|
|
287
290
|
}, {
|
|
288
|
-
prepend: F(() => [...
|
|
289
|
-
|
|
291
|
+
prepend: F(() => [...r[1] || (r[1] = [
|
|
292
|
+
_("$", -1)
|
|
290
293
|
])]),
|
|
291
294
|
_: 1
|
|
292
295
|
}, 8, ["modelValue"]);
|
|
@@ -304,10 +307,10 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
304
307
|
required: !0
|
|
305
308
|
}
|
|
306
309
|
},
|
|
307
|
-
setup(
|
|
308
|
-
const p =
|
|
310
|
+
setup(n) {
|
|
311
|
+
const p = n, e = T(!1), d = z(), r = async (a) => {
|
|
309
312
|
try {
|
|
310
|
-
e.value = !0, await p.onUpdate(
|
|
313
|
+
e.value = !0, await p.onUpdate(a), d.open({
|
|
311
314
|
type: "success",
|
|
312
315
|
title: "Payout account update succesfully"
|
|
313
316
|
});
|
|
@@ -323,23 +326,23 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
323
326
|
}, { search: t } = Y({
|
|
324
327
|
search: ""
|
|
325
328
|
}), u = K(() => {
|
|
326
|
-
const { ssm:
|
|
327
|
-
return
|
|
328
|
-
}), f =
|
|
329
|
+
const { ssm: a, bank: o, bankStatement: v } = p.payoutAccount.store;
|
|
330
|
+
return a && o && o.name && o.accountNumber && o.holderName && v;
|
|
331
|
+
}), f = T(""), c = [
|
|
329
332
|
{
|
|
330
333
|
header: () => "Payment Method",
|
|
331
334
|
accessorKey: "issuer",
|
|
332
|
-
cell: (
|
|
335
|
+
cell: (a) => `${a.row.original.issuer} (${a.row.original.variant})`
|
|
333
336
|
},
|
|
334
337
|
{
|
|
335
338
|
header: () => "Rate",
|
|
336
339
|
accessorKey: "rate",
|
|
337
|
-
cell: ({ row:
|
|
340
|
+
cell: ({ row: a }) => {
|
|
338
341
|
let o = 0;
|
|
339
|
-
return
|
|
342
|
+
return a.original.rate && (o = a.original.rate.amount / Math.pow(10, a.original.rate.precision)), O(ve, {
|
|
340
343
|
data: o,
|
|
341
344
|
onChange: (v) => {
|
|
342
|
-
const y = p.payoutAccount.methods.at(
|
|
345
|
+
const y = p.payoutAccount.methods.at(a.index);
|
|
343
346
|
y.rate || (y.rate = {
|
|
344
347
|
amount: 0,
|
|
345
348
|
precision: 4
|
|
@@ -351,12 +354,12 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
351
354
|
{
|
|
352
355
|
header: () => "Minimum Fee",
|
|
353
356
|
accessorKey: "minimumFee",
|
|
354
|
-
cell: ({ row:
|
|
357
|
+
cell: ({ row: a }) => {
|
|
355
358
|
let o = 0;
|
|
356
|
-
return
|
|
359
|
+
return a.original.minimumFee && (o = a.original.minimumFee.amount / Math.pow(10, a.original.minimumFee.precision)), O(ge, {
|
|
357
360
|
data: o,
|
|
358
361
|
onChange: (v) => {
|
|
359
|
-
const y = p.payoutAccount.methods.at(
|
|
362
|
+
const y = p.payoutAccount.methods.at(a.index);
|
|
360
363
|
y.minimumFee || (y.minimumFee = {
|
|
361
364
|
amount: 0,
|
|
362
365
|
precision: 2
|
|
@@ -368,23 +371,23 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
368
371
|
{
|
|
369
372
|
header: () => "T plus",
|
|
370
373
|
accessorKey: "tPlus",
|
|
371
|
-
cell: ({ row:
|
|
372
|
-
data:
|
|
374
|
+
cell: ({ row: a }) => O(fe, {
|
|
375
|
+
data: a.original.tPlus ?? 0,
|
|
373
376
|
onChange: (o) => {
|
|
374
|
-
const v = p.payoutAccount.methods.at(
|
|
377
|
+
const v = p.payoutAccount.methods.at(a.index);
|
|
375
378
|
v.tPlus = o;
|
|
376
379
|
}
|
|
377
380
|
})
|
|
378
381
|
}
|
|
379
382
|
];
|
|
380
|
-
return (
|
|
381
|
-
const v = m("FmRadio"), y = m("FmRadioGroup"), b = m("FmSwitch"),
|
|
383
|
+
return (a, o) => {
|
|
384
|
+
const v = m("FmRadio"), y = m("FmRadioGroup"), b = m("FmSwitch"), U = m("FmSearch"), A = m("FmTable"), S = m("FmButton");
|
|
382
385
|
return g(), P($, null, [
|
|
383
386
|
i("div", be, [
|
|
384
387
|
i("div", Fe, [
|
|
385
388
|
l(y, {
|
|
386
|
-
modelValue:
|
|
387
|
-
"onUpdate:modelValue": o[0] || (o[0] = (k) =>
|
|
389
|
+
modelValue: n.payoutAccount.status,
|
|
390
|
+
"onUpdate:modelValue": o[0] || (o[0] = (k) => n.payoutAccount.status = k),
|
|
388
391
|
label: "Account Status"
|
|
389
392
|
}, {
|
|
390
393
|
default: F(() => [
|
|
@@ -406,19 +409,19 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
406
409
|
]),
|
|
407
410
|
i("div", xe, [
|
|
408
411
|
l(b, {
|
|
409
|
-
modelValue:
|
|
410
|
-
"onUpdate:modelValue": o[1] || (o[1] = (k) =>
|
|
412
|
+
modelValue: n.payoutAccount.enable,
|
|
413
|
+
"onUpdate:modelValue": o[1] || (o[1] = (k) => n.payoutAccount.enable = k),
|
|
411
414
|
disabled: !u.value,
|
|
412
415
|
label: "Enabled",
|
|
413
416
|
sublabel: "Merchant can use online features such as e-payment, settlement"
|
|
414
417
|
}, null, 8, ["modelValue", "disabled"])
|
|
415
418
|
])
|
|
416
419
|
]),
|
|
417
|
-
|
|
420
|
+
n.payoutAccount.enable ? (g(), P($, { key: 0 }, [
|
|
418
421
|
i("div", Ve, [
|
|
419
422
|
i("div", we, [
|
|
420
|
-
l(
|
|
421
|
-
modelValue:
|
|
423
|
+
l(U, {
|
|
424
|
+
modelValue: s(t),
|
|
422
425
|
"onUpdate:modelValue": o[2] || (o[2] = (k) => q(t) ? t.value = k : null),
|
|
423
426
|
placeholder: "Search Method ..."
|
|
424
427
|
}, null, 8, ["modelValue"])
|
|
@@ -429,8 +432,8 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
429
432
|
modelValue: f.value,
|
|
430
433
|
"onUpdate:modelValue": o[3] || (o[3] = (k) => f.value = k),
|
|
431
434
|
"shrink-at": !1,
|
|
432
|
-
"search-value":
|
|
433
|
-
"row-data":
|
|
435
|
+
"search-value": s(t),
|
|
436
|
+
"row-data": n.payoutAccount.methods,
|
|
434
437
|
"column-defs": c
|
|
435
438
|
}, null, 8, ["modelValue", "search-value", "row-data"])
|
|
436
439
|
], 64)) : I("", !0),
|
|
@@ -439,7 +442,7 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
439
442
|
variant: "primary",
|
|
440
443
|
label: "Save",
|
|
441
444
|
loading: e.value,
|
|
442
|
-
onclick: () =>
|
|
445
|
+
onclick: () => r(n.payoutAccount)
|
|
443
446
|
}, null, 8, ["loading", "onclick"])
|
|
444
447
|
], 64);
|
|
445
448
|
};
|
|
@@ -447,22 +450,22 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
447
450
|
}), ke = { class: "flex" }, Ce = /* @__PURE__ */ C({
|
|
448
451
|
__name: "Actions",
|
|
449
452
|
emits: ["edit", "delete"],
|
|
450
|
-
setup(
|
|
453
|
+
setup(n, { emit: p }) {
|
|
451
454
|
const e = p;
|
|
452
|
-
return (d,
|
|
455
|
+
return (d, r) => {
|
|
453
456
|
const t = m("FmButton");
|
|
454
457
|
return g(), P("div", ke, [
|
|
455
458
|
l(t, {
|
|
456
459
|
variant: "plain",
|
|
457
460
|
"prepend-icon": "delete",
|
|
458
|
-
onClick:
|
|
461
|
+
onClick: r[0] || (r[0] = (u) => {
|
|
459
462
|
u.stopPropagation(), e("delete");
|
|
460
463
|
})
|
|
461
464
|
})
|
|
462
465
|
]);
|
|
463
466
|
};
|
|
464
467
|
}
|
|
465
|
-
}),
|
|
468
|
+
}), Ue = { class: "flex justify-end px-6 pb-6" }, Te = /* @__PURE__ */ C({
|
|
466
469
|
__name: "PaymentChannel",
|
|
467
470
|
props: {
|
|
468
471
|
payoutAccount: {
|
|
@@ -470,16 +473,16 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
470
473
|
required: !0
|
|
471
474
|
}
|
|
472
475
|
},
|
|
473
|
-
setup(
|
|
474
|
-
const p = z(), e =
|
|
476
|
+
setup(n) {
|
|
477
|
+
const p = z(), e = n, { isLoading: d, startAsyncCall: r } = j(), t = T([]);
|
|
475
478
|
function u() {
|
|
476
|
-
|
|
479
|
+
r(async () => {
|
|
477
480
|
t.value = await R.getChannels(e.payoutAccount._id);
|
|
478
481
|
});
|
|
479
482
|
}
|
|
480
|
-
|
|
483
|
+
ne(u);
|
|
481
484
|
function f() {
|
|
482
|
-
|
|
485
|
+
r(async () => {
|
|
483
486
|
try {
|
|
484
487
|
await R.updateChannels(e.payoutAccount._id, t.value), p.open({
|
|
485
488
|
type: "success",
|
|
@@ -495,7 +498,7 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
495
498
|
});
|
|
496
499
|
}
|
|
497
500
|
function c() {
|
|
498
|
-
|
|
501
|
+
r(async () => {
|
|
499
502
|
try {
|
|
500
503
|
await R.resetChannels(e.payoutAccount._id), t.value = await R.getChannels(e.payoutAccount._id), p.open({
|
|
501
504
|
type: "success",
|
|
@@ -510,7 +513,7 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
510
513
|
}
|
|
511
514
|
});
|
|
512
515
|
}
|
|
513
|
-
const
|
|
516
|
+
const a = [
|
|
514
517
|
{
|
|
515
518
|
header: () => "Gateway",
|
|
516
519
|
accessorKey: "gateway"
|
|
@@ -527,7 +530,7 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
527
530
|
{
|
|
528
531
|
header: () => "Label",
|
|
529
532
|
accessorKey: "label",
|
|
530
|
-
cell: ({ row: o }) => O(
|
|
533
|
+
cell: ({ row: o }) => O(se.FmTextField, {
|
|
531
534
|
modelValue: o.original.label,
|
|
532
535
|
"onUpdate:modelValue": (v) => o.original.label = v
|
|
533
536
|
})
|
|
@@ -543,7 +546,7 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
543
546
|
return (o, v) => {
|
|
544
547
|
const y = m("FmButton"), b = m("FmTable");
|
|
545
548
|
return g(), P($, null, [
|
|
546
|
-
i("div",
|
|
549
|
+
i("div", Ue, [
|
|
547
550
|
l(y, {
|
|
548
551
|
class: "mx-4",
|
|
549
552
|
variant: "destructive",
|
|
@@ -561,15 +564,15 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
561
564
|
})
|
|
562
565
|
]),
|
|
563
566
|
l(b, {
|
|
564
|
-
loading:
|
|
567
|
+
loading: s(d),
|
|
565
568
|
"row-data": t.value,
|
|
566
|
-
"column-defs":
|
|
569
|
+
"column-defs": a,
|
|
567
570
|
"shrink-at": !1
|
|
568
571
|
}, null, 8, ["loading", "row-data"])
|
|
569
572
|
], 64);
|
|
570
573
|
};
|
|
571
574
|
}
|
|
572
|
-
}),
|
|
575
|
+
}), _e = { class: "flex mt-6 space-x-6" }, Ie = /* @__PURE__ */ C({
|
|
573
576
|
__name: "FiuuGateway",
|
|
574
577
|
props: {
|
|
575
578
|
gateway: {
|
|
@@ -585,46 +588,46 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
585
588
|
required: !0
|
|
586
589
|
}
|
|
587
590
|
},
|
|
588
|
-
setup(
|
|
591
|
+
setup(n) {
|
|
589
592
|
var d;
|
|
590
|
-
const e =
|
|
593
|
+
const e = T(((d = n.gateway) == null ? void 0 : d.config) || {
|
|
591
594
|
merchantId: "",
|
|
592
595
|
verifyKey: "",
|
|
593
596
|
secretKey: ""
|
|
594
597
|
});
|
|
595
|
-
return (
|
|
598
|
+
return (r, t) => {
|
|
596
599
|
const u = m("FmTextField"), f = m("FmButton"), c = m("FmForm");
|
|
597
600
|
return g(), x(c, {
|
|
598
601
|
ref: "form",
|
|
599
602
|
class: "flex flex-col gap-16",
|
|
600
|
-
onValidationSuccess: t[3] || (t[3] = () =>
|
|
603
|
+
onValidationSuccess: t[3] || (t[3] = () => n.onUpdate(e.value))
|
|
601
604
|
}, {
|
|
602
605
|
default: F(() => [
|
|
603
606
|
l(u, {
|
|
604
607
|
modelValue: e.value.merchantId,
|
|
605
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
608
|
+
"onUpdate:modelValue": t[0] || (t[0] = (a) => e.value.merchantId = a),
|
|
606
609
|
label: "Merchant ID",
|
|
607
|
-
rules:
|
|
610
|
+
rules: s(V)(s(w).string())
|
|
608
611
|
}, null, 8, ["modelValue", "rules"]),
|
|
609
612
|
l(u, {
|
|
610
613
|
modelValue: e.value.verifyKey,
|
|
611
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
614
|
+
"onUpdate:modelValue": t[1] || (t[1] = (a) => e.value.verifyKey = a),
|
|
612
615
|
label: "Verify Key",
|
|
613
|
-
rules:
|
|
616
|
+
rules: s(V)(s(w).string())
|
|
614
617
|
}, null, 8, ["modelValue", "rules"]),
|
|
615
618
|
l(u, {
|
|
616
619
|
modelValue: e.value.secretKey,
|
|
617
|
-
"onUpdate:modelValue": t[2] || (t[2] = (
|
|
620
|
+
"onUpdate:modelValue": t[2] || (t[2] = (a) => e.value.secretKey = a),
|
|
618
621
|
label: "Secret Key",
|
|
619
|
-
rules:
|
|
622
|
+
rules: s(V)(s(w).string())
|
|
620
623
|
}, null, 8, ["modelValue", "rules"]),
|
|
621
|
-
i("div",
|
|
622
|
-
|
|
624
|
+
i("div", _e, [
|
|
625
|
+
n.gateway ? (g(), x(f, {
|
|
623
626
|
key: 0,
|
|
624
627
|
class: "flex-1",
|
|
625
628
|
variant: "secondary",
|
|
626
629
|
label: "Delete",
|
|
627
|
-
onclick: () =>
|
|
630
|
+
onclick: () => n.onDelete()
|
|
628
631
|
}, null, 8, ["onclick"])) : I("", !0),
|
|
629
632
|
l(f, {
|
|
630
633
|
type: "submit",
|
|
@@ -654,60 +657,60 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
654
657
|
required: !0
|
|
655
658
|
}
|
|
656
659
|
},
|
|
657
|
-
setup(
|
|
660
|
+
setup(n) {
|
|
658
661
|
var d;
|
|
659
|
-
const e =
|
|
662
|
+
const e = T(((d = n.gateway) == null ? void 0 : d.config) || {
|
|
660
663
|
merchantId: "",
|
|
661
664
|
merchantName: "",
|
|
662
665
|
merchantCategoryCode: "",
|
|
663
666
|
storeID: "",
|
|
664
667
|
storeName: ""
|
|
665
668
|
});
|
|
666
|
-
return (
|
|
669
|
+
return (r, t) => {
|
|
667
670
|
const u = m("FmTextField"), f = m("FmButton"), c = m("FmForm");
|
|
668
671
|
return g(), x(c, {
|
|
669
672
|
ref: "form",
|
|
670
673
|
class: "flex flex-col gap-16",
|
|
671
|
-
onValidationSuccess: t[5] || (t[5] = () =>
|
|
674
|
+
onValidationSuccess: t[5] || (t[5] = () => n.onUpdate(e.value))
|
|
672
675
|
}, {
|
|
673
676
|
default: F(() => [
|
|
674
677
|
l(u, {
|
|
675
678
|
modelValue: e.value.merchantId,
|
|
676
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
679
|
+
"onUpdate:modelValue": t[0] || (t[0] = (a) => e.value.merchantId = a),
|
|
677
680
|
label: "Merchant ID",
|
|
678
|
-
rules:
|
|
681
|
+
rules: s(V)(s(w).string())
|
|
679
682
|
}, null, 8, ["modelValue", "rules"]),
|
|
680
683
|
l(u, {
|
|
681
684
|
modelValue: e.value.merchantName,
|
|
682
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
685
|
+
"onUpdate:modelValue": t[1] || (t[1] = (a) => e.value.merchantName = a),
|
|
683
686
|
label: "Merchant Name",
|
|
684
|
-
rules:
|
|
687
|
+
rules: s(V)(s(w).string())
|
|
685
688
|
}, null, 8, ["modelValue", "rules"]),
|
|
686
689
|
l(u, {
|
|
687
690
|
modelValue: e.value.merchantCategoryCode,
|
|
688
|
-
"onUpdate:modelValue": t[2] || (t[2] = (
|
|
691
|
+
"onUpdate:modelValue": t[2] || (t[2] = (a) => e.value.merchantCategoryCode = a),
|
|
689
692
|
label: "Merchant MCC",
|
|
690
|
-
rules:
|
|
693
|
+
rules: s(V)(s(w).string())
|
|
691
694
|
}, null, 8, ["modelValue", "rules"]),
|
|
692
695
|
l(u, {
|
|
693
696
|
modelValue: e.value.storeID,
|
|
694
|
-
"onUpdate:modelValue": t[3] || (t[3] = (
|
|
697
|
+
"onUpdate:modelValue": t[3] || (t[3] = (a) => e.value.storeID = a),
|
|
695
698
|
label: "Store ID",
|
|
696
|
-
rules:
|
|
699
|
+
rules: s(V)(s(w).string())
|
|
697
700
|
}, null, 8, ["modelValue", "rules"]),
|
|
698
701
|
l(u, {
|
|
699
702
|
modelValue: e.value.storeName,
|
|
700
|
-
"onUpdate:modelValue": t[4] || (t[4] = (
|
|
703
|
+
"onUpdate:modelValue": t[4] || (t[4] = (a) => e.value.storeName = a),
|
|
701
704
|
label: "Store Name",
|
|
702
|
-
rules:
|
|
705
|
+
rules: s(V)(s(w).string())
|
|
703
706
|
}, null, 8, ["modelValue", "rules"]),
|
|
704
707
|
i("div", Se, [
|
|
705
|
-
|
|
708
|
+
n.gateway ? (g(), x(f, {
|
|
706
709
|
key: 0,
|
|
707
710
|
class: "flex-1",
|
|
708
711
|
variant: "secondary",
|
|
709
712
|
label: "Delete",
|
|
710
|
-
onclick: () =>
|
|
713
|
+
onclick: () => n.onDelete()
|
|
711
714
|
}, null, 8, ["onclick"])) : I("", !0),
|
|
712
715
|
l(f, {
|
|
713
716
|
type: "submit",
|
|
@@ -737,39 +740,39 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
737
740
|
required: !0
|
|
738
741
|
}
|
|
739
742
|
},
|
|
740
|
-
setup(
|
|
743
|
+
setup(n) {
|
|
741
744
|
var d;
|
|
742
|
-
const e =
|
|
745
|
+
const e = T(((d = n.gateway) == null ? void 0 : d.config) || {
|
|
743
746
|
merchantId: "",
|
|
744
747
|
cardMerchantId: ""
|
|
745
748
|
});
|
|
746
|
-
return (
|
|
749
|
+
return (r, t) => {
|
|
747
750
|
const u = m("FmTextField"), f = m("FmButton"), c = m("FmForm");
|
|
748
751
|
return g(), x(c, {
|
|
749
752
|
ref: "form",
|
|
750
753
|
class: "flex flex-col gap-16",
|
|
751
|
-
onValidationSuccess: t[2] || (t[2] = () =>
|
|
754
|
+
onValidationSuccess: t[2] || (t[2] = () => n.onUpdate(e.value))
|
|
752
755
|
}, {
|
|
753
756
|
default: F(() => [
|
|
754
757
|
l(u, {
|
|
755
758
|
modelValue: e.value.merchantId,
|
|
756
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
759
|
+
"onUpdate:modelValue": t[0] || (t[0] = (a) => e.value.merchantId = a),
|
|
757
760
|
label: "Merchant ID",
|
|
758
|
-
rules:
|
|
761
|
+
rules: s(V)(s(w).string())
|
|
759
762
|
}, null, 8, ["modelValue", "rules"]),
|
|
760
763
|
l(u, {
|
|
761
764
|
modelValue: e.value.cardMerchantId,
|
|
762
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
765
|
+
"onUpdate:modelValue": t[1] || (t[1] = (a) => e.value.cardMerchantId = a),
|
|
763
766
|
label: "Card Merchant ID",
|
|
764
|
-
rules:
|
|
767
|
+
rules: s(V)(s(w).string())
|
|
765
768
|
}, null, 8, ["modelValue", "rules"]),
|
|
766
769
|
i("div", Pe, [
|
|
767
|
-
|
|
770
|
+
n.gateway ? (g(), x(f, {
|
|
768
771
|
key: 0,
|
|
769
772
|
class: "flex-1",
|
|
770
773
|
variant: "secondary",
|
|
771
774
|
label: "Delete",
|
|
772
|
-
onclick: () =>
|
|
775
|
+
onclick: () => n.onDelete()
|
|
773
776
|
}, null, 8, ["onclick"])) : I("", !0),
|
|
774
777
|
l(f, {
|
|
775
778
|
type: "submit",
|
|
@@ -799,9 +802,9 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
799
802
|
required: !0
|
|
800
803
|
}
|
|
801
804
|
},
|
|
802
|
-
setup(
|
|
805
|
+
setup(n) {
|
|
803
806
|
var d;
|
|
804
|
-
const e =
|
|
807
|
+
const e = T(((d = n.gateway) == null ? void 0 : d.config) || {
|
|
805
808
|
merchantAccount: "",
|
|
806
809
|
username: "",
|
|
807
810
|
apiKey: "",
|
|
@@ -809,56 +812,56 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
809
812
|
endpoint: "",
|
|
810
813
|
hmacKey: ""
|
|
811
814
|
});
|
|
812
|
-
return (
|
|
815
|
+
return (r, t) => {
|
|
813
816
|
const u = m("FmTextField"), f = m("FmButton"), c = m("FmForm");
|
|
814
817
|
return g(), x(c, {
|
|
815
818
|
ref: "form",
|
|
816
819
|
class: "flex flex-col gap-16",
|
|
817
|
-
onValidationSuccess: t[6] || (t[6] = () =>
|
|
820
|
+
onValidationSuccess: t[6] || (t[6] = () => n.onUpdate(e.value))
|
|
818
821
|
}, {
|
|
819
822
|
default: F(() => [
|
|
820
823
|
l(u, {
|
|
821
824
|
modelValue: e.value.endpoint,
|
|
822
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
825
|
+
"onUpdate:modelValue": t[0] || (t[0] = (a) => e.value.endpoint = a),
|
|
823
826
|
label: "Endpoint",
|
|
824
|
-
rules:
|
|
827
|
+
rules: s(V)(s(w).string())
|
|
825
828
|
}, null, 8, ["modelValue", "rules"]),
|
|
826
829
|
l(u, {
|
|
827
830
|
modelValue: e.value.merchantAccount,
|
|
828
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
831
|
+
"onUpdate:modelValue": t[1] || (t[1] = (a) => e.value.merchantAccount = a),
|
|
829
832
|
label: "Merchant Account",
|
|
830
|
-
rules:
|
|
833
|
+
rules: s(V)(s(w).string())
|
|
831
834
|
}, null, 8, ["modelValue", "rules"]),
|
|
832
835
|
l(u, {
|
|
833
836
|
modelValue: e.value.username,
|
|
834
|
-
"onUpdate:modelValue": t[2] || (t[2] = (
|
|
837
|
+
"onUpdate:modelValue": t[2] || (t[2] = (a) => e.value.username = a),
|
|
835
838
|
label: "Username",
|
|
836
|
-
rules:
|
|
839
|
+
rules: s(V)(s(w).string())
|
|
837
840
|
}, null, 8, ["modelValue", "rules"]),
|
|
838
841
|
l(u, {
|
|
839
842
|
modelValue: e.value.apiKey,
|
|
840
|
-
"onUpdate:modelValue": t[3] || (t[3] = (
|
|
843
|
+
"onUpdate:modelValue": t[3] || (t[3] = (a) => e.value.apiKey = a),
|
|
841
844
|
label: "API Key",
|
|
842
|
-
rules:
|
|
845
|
+
rules: s(V)(s(w).string())
|
|
843
846
|
}, null, 8, ["modelValue", "rules"]),
|
|
844
847
|
l(u, {
|
|
845
848
|
modelValue: e.value.clientKey,
|
|
846
|
-
"onUpdate:modelValue": t[4] || (t[4] = (
|
|
849
|
+
"onUpdate:modelValue": t[4] || (t[4] = (a) => e.value.clientKey = a),
|
|
847
850
|
label: "Client Key",
|
|
848
|
-
rules:
|
|
851
|
+
rules: s(V)(s(w).string())
|
|
849
852
|
}, null, 8, ["modelValue", "rules"]),
|
|
850
853
|
l(u, {
|
|
851
854
|
modelValue: e.value.hmacKey,
|
|
852
|
-
"onUpdate:modelValue": t[5] || (t[5] = (
|
|
855
|
+
"onUpdate:modelValue": t[5] || (t[5] = (a) => e.value.hmacKey = a),
|
|
853
856
|
label: "HMac Key"
|
|
854
857
|
}, null, 8, ["modelValue"]),
|
|
855
858
|
i("div", Ne, [
|
|
856
|
-
|
|
859
|
+
n.gateway ? (g(), x(f, {
|
|
857
860
|
key: 0,
|
|
858
861
|
class: "flex-1",
|
|
859
862
|
variant: "secondary",
|
|
860
863
|
label: "Delete",
|
|
861
|
-
onclick: () =>
|
|
864
|
+
onclick: () => n.onDelete()
|
|
862
865
|
}, null, 8, ["onclick"])) : I("", !0),
|
|
863
866
|
l(f, {
|
|
864
867
|
type: "submit",
|
|
@@ -888,40 +891,40 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
888
891
|
required: !0
|
|
889
892
|
}
|
|
890
893
|
},
|
|
891
|
-
setup(
|
|
894
|
+
setup(n) {
|
|
892
895
|
var d;
|
|
893
|
-
const e =
|
|
896
|
+
const e = T(((d = n.gateway) == null ? void 0 : d.config) || {
|
|
894
897
|
appId: "",
|
|
895
898
|
privateKey: ""
|
|
896
899
|
});
|
|
897
|
-
return (
|
|
898
|
-
const u = m("FmTextField"), f = m("FmTextarea"), c = m("FmButton"),
|
|
899
|
-
return g(), x(
|
|
900
|
+
return (r, t) => {
|
|
901
|
+
const u = m("FmTextField"), f = m("FmTextarea"), c = m("FmButton"), a = m("FmForm");
|
|
902
|
+
return g(), x(a, {
|
|
900
903
|
ref: "form",
|
|
901
904
|
class: "flex flex-col gap-16",
|
|
902
|
-
onValidationSuccess: t[2] || (t[2] = () =>
|
|
905
|
+
onValidationSuccess: t[2] || (t[2] = () => n.onUpdate(e.value))
|
|
903
906
|
}, {
|
|
904
907
|
default: F(() => [
|
|
905
908
|
l(u, {
|
|
906
909
|
modelValue: e.value.appId,
|
|
907
910
|
"onUpdate:modelValue": t[0] || (t[0] = (o) => e.value.appId = o),
|
|
908
911
|
label: "App ID",
|
|
909
|
-
rules:
|
|
912
|
+
rules: s(V)(s(w).string())
|
|
910
913
|
}, null, 8, ["modelValue", "rules"]),
|
|
911
914
|
l(f, {
|
|
912
915
|
modelValue: e.value.privateKey,
|
|
913
916
|
"onUpdate:modelValue": t[1] || (t[1] = (o) => e.value.privateKey = o),
|
|
914
917
|
label: "Private Key",
|
|
915
918
|
placeholder: "Paste your private key including BEGIN and END markers",
|
|
916
|
-
rules:
|
|
919
|
+
rules: s(V)(s(w).string())
|
|
917
920
|
}, null, 8, ["modelValue", "rules"]),
|
|
918
921
|
i("div", Re, [
|
|
919
|
-
|
|
922
|
+
n.gateway ? (g(), x(c, {
|
|
920
923
|
key: 0,
|
|
921
924
|
class: "flex-1",
|
|
922
925
|
variant: "secondary",
|
|
923
926
|
label: "Delete",
|
|
924
|
-
onclick: () =>
|
|
927
|
+
onclick: () => n.onDelete()
|
|
925
928
|
}, null, 8, ["onclick"])) : I("", !0),
|
|
926
929
|
l(c, {
|
|
927
930
|
type: "submit",
|
|
@@ -949,10 +952,10 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
949
952
|
required: !0
|
|
950
953
|
}
|
|
951
954
|
},
|
|
952
|
-
setup(
|
|
953
|
-
const p =
|
|
955
|
+
setup(n) {
|
|
956
|
+
const p = ae().currentCountry, e = p.value, d = z(), { isLoading: r, startAsyncCall: t } = j(), { gatewayTab: u } = Y({
|
|
954
957
|
gatewayTab: ""
|
|
955
|
-
}), f =
|
|
958
|
+
}), f = n, c = [
|
|
956
959
|
{
|
|
957
960
|
label: "Fiuu",
|
|
958
961
|
value: "RAZER_MERCHANT_SERVICE",
|
|
@@ -983,7 +986,7 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
983
986
|
render: Me,
|
|
984
987
|
region: [h.F_COUNTRY.enum.MY, h.F_COUNTRY.enum.SG]
|
|
985
988
|
}
|
|
986
|
-
],
|
|
989
|
+
], a = T(
|
|
987
990
|
f.payoutAccount.gateways ?? []
|
|
988
991
|
), o = K(() => c.find((A) => A.value === u.value)), v = K(() => c.filter(
|
|
989
992
|
(A) => A.region.includes(p.value ?? h.F_COUNTRY.enum.MY)
|
|
@@ -1004,59 +1007,59 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
1004
1007
|
}
|
|
1005
1008
|
});
|
|
1006
1009
|
}
|
|
1007
|
-
const b =
|
|
1010
|
+
const b = T((f.payoutAccount.gateways ?? []).length === 0), U = K(() => e !== "MY" || !b.value);
|
|
1008
1011
|
return (A, S) => {
|
|
1009
1012
|
var B;
|
|
1010
1013
|
const k = m("FmCircularProgress"), N = m("FmSwitch"), H = m("FmTabs");
|
|
1011
1014
|
return g(), P($, null, [
|
|
1012
|
-
|
|
1015
|
+
s(e) ? (g(), P("p", $e, [...S[2] || (S[2] = [
|
|
1013
1016
|
i("b", null, "Note: ", -1),
|
|
1014
|
-
|
|
1017
|
+
_(" There's no setup required for Malaysia Payment Gateway, once Payout Account is ready you will able to configure the payment channels. ", -1)
|
|
1015
1018
|
])])) : I("", !0),
|
|
1016
|
-
r
|
|
1019
|
+
s(r) ? (g(), P("div", Ke, [
|
|
1017
1020
|
l(k, { size: "xxl" })
|
|
1018
1021
|
])) : (g(), P($, { key: 2 }, [
|
|
1019
|
-
|
|
1022
|
+
s(e) === "MY" ? (g(), x(N, {
|
|
1020
1023
|
key: 0,
|
|
1021
1024
|
modelValue: b.value,
|
|
1022
1025
|
"onUpdate:modelValue": S[0] || (S[0] = (M) => b.value = M),
|
|
1023
1026
|
style: { "padding-bottom": "12px" },
|
|
1024
1027
|
label: "Use FeedMe's Fiuu Account?"
|
|
1025
1028
|
}, null, 8, ["modelValue"])) : I("", !0),
|
|
1026
|
-
|
|
1029
|
+
U.value ? (g(), x(H, {
|
|
1027
1030
|
key: 1,
|
|
1028
|
-
"model-value":
|
|
1031
|
+
"model-value": s(u),
|
|
1029
1032
|
"onUpdate:modelValue": S[1] || (S[1] = (M) => q(u) ? u.value = M : null),
|
|
1030
1033
|
class: "mb-6",
|
|
1031
1034
|
items: v.value
|
|
1032
1035
|
}, null, 8, ["model-value", "items"])) : I("", !0),
|
|
1033
|
-
|
|
1034
|
-
gateway:
|
|
1036
|
+
U.value && s(u) ? (g(), x(Q((B = o.value) == null ? void 0 : B.render), W(J({ key: 2 }, {
|
|
1037
|
+
gateway: a.value.find(
|
|
1035
1038
|
(M) => {
|
|
1036
1039
|
var G;
|
|
1037
1040
|
return M.paymentGateway === ((G = o.value) == null ? void 0 : G.value);
|
|
1038
1041
|
}
|
|
1039
1042
|
),
|
|
1040
1043
|
onDelete: async () => {
|
|
1041
|
-
|
|
1044
|
+
a.value = a.value.filter(
|
|
1042
1045
|
(M) => {
|
|
1043
1046
|
var G;
|
|
1044
1047
|
return M.paymentGateway !== ((G = o.value) == null ? void 0 : G.value);
|
|
1045
1048
|
}
|
|
1046
|
-
), y(
|
|
1049
|
+
), y(a.value);
|
|
1047
1050
|
},
|
|
1048
1051
|
onUpdate: (M) => {
|
|
1049
1052
|
var X;
|
|
1050
|
-
let G =
|
|
1053
|
+
let G = a.value.find(
|
|
1051
1054
|
(le) => {
|
|
1052
1055
|
var ee;
|
|
1053
1056
|
return le.paymentGateway === ((ee = o.value) == null ? void 0 : ee.value);
|
|
1054
1057
|
}
|
|
1055
1058
|
);
|
|
1056
|
-
G ? G.config = M :
|
|
1059
|
+
G ? G.config = M : a.value.push({
|
|
1057
1060
|
paymentGateway: (X = o.value) == null ? void 0 : X.value,
|
|
1058
1061
|
config: M
|
|
1059
|
-
}), y(
|
|
1062
|
+
}), y(a.value);
|
|
1060
1063
|
}
|
|
1061
1064
|
})), null, 16)) : I("", !0)
|
|
1062
1065
|
], 64))
|
|
@@ -1079,9 +1082,9 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
1079
1082
|
required: !0
|
|
1080
1083
|
}
|
|
1081
1084
|
},
|
|
1082
|
-
setup(
|
|
1083
|
-
const e =
|
|
1084
|
-
|
|
1085
|
+
setup(n) {
|
|
1086
|
+
const e = T(
|
|
1087
|
+
n.gateway || {
|
|
1085
1088
|
type: "googlePay",
|
|
1086
1089
|
gateway: "RAZER_MERCHANT_SERVICE",
|
|
1087
1090
|
config: {
|
|
@@ -1090,42 +1093,42 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
1090
1093
|
}
|
|
1091
1094
|
}
|
|
1092
1095
|
);
|
|
1093
|
-
return (d,
|
|
1096
|
+
return (d, r) => {
|
|
1094
1097
|
const t = m("FmTextField"), u = m("FmButton"), f = m("FmForm");
|
|
1095
1098
|
return g(), x(f, {
|
|
1096
1099
|
ref: "form",
|
|
1097
1100
|
class: "flex flex-col gap-16",
|
|
1098
|
-
onValidationSuccess:
|
|
1101
|
+
onValidationSuccess: r[3] || (r[3] = () => n.onUpdate(e.value))
|
|
1099
1102
|
}, {
|
|
1100
1103
|
default: F(() => [
|
|
1101
1104
|
l(t, {
|
|
1102
1105
|
modelValue: e.value.gateway,
|
|
1103
|
-
"onUpdate:modelValue":
|
|
1106
|
+
"onUpdate:modelValue": r[0] || (r[0] = (c) => e.value.gateway = c),
|
|
1104
1107
|
label: "Gateway",
|
|
1105
1108
|
disabled: !0,
|
|
1106
|
-
rules:
|
|
1109
|
+
rules: s(V)(s(w).string())
|
|
1107
1110
|
}, null, 8, ["modelValue", "rules"]),
|
|
1108
1111
|
l(t, {
|
|
1109
1112
|
modelValue: e.value.config.gateway,
|
|
1110
|
-
"onUpdate:modelValue":
|
|
1113
|
+
"onUpdate:modelValue": r[1] || (r[1] = (c) => e.value.config.gateway = c),
|
|
1111
1114
|
label: "Gateway ID",
|
|
1112
1115
|
disabled: !0,
|
|
1113
|
-
rules:
|
|
1116
|
+
rules: s(V)(s(w).string())
|
|
1114
1117
|
}, null, 8, ["modelValue", "rules"]),
|
|
1115
1118
|
l(t, {
|
|
1116
1119
|
modelValue: e.value.config.gatewayMerchantId,
|
|
1117
|
-
"onUpdate:modelValue":
|
|
1120
|
+
"onUpdate:modelValue": r[2] || (r[2] = (c) => e.value.config.gatewayMerchantId = c),
|
|
1118
1121
|
label: "Gateway Merchant ID",
|
|
1119
1122
|
disabled: !0,
|
|
1120
|
-
rules:
|
|
1123
|
+
rules: s(V)(s(w).string())
|
|
1121
1124
|
}, null, 8, ["modelValue", "rules"]),
|
|
1122
1125
|
i("div", Be, [
|
|
1123
|
-
|
|
1126
|
+
n.gateway ? (g(), x(u, {
|
|
1124
1127
|
key: 0,
|
|
1125
1128
|
class: "flex-1",
|
|
1126
1129
|
variant: "secondary",
|
|
1127
1130
|
label: "Delete",
|
|
1128
|
-
onclick: () =>
|
|
1131
|
+
onclick: () => n.onDelete()
|
|
1129
1132
|
}, null, 8, ["onclick"])) : I("", !0),
|
|
1130
1133
|
l(u, {
|
|
1131
1134
|
type: "submit",
|
|
@@ -1155,9 +1158,9 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
1155
1158
|
required: !0
|
|
1156
1159
|
}
|
|
1157
1160
|
},
|
|
1158
|
-
setup(
|
|
1159
|
-
const e =
|
|
1160
|
-
|
|
1161
|
+
setup(n) {
|
|
1162
|
+
const e = T(
|
|
1163
|
+
n.gateway || {
|
|
1161
1164
|
type: "applePay",
|
|
1162
1165
|
gateway: "RAZER_MERCHANT_SERVICE",
|
|
1163
1166
|
config: {
|
|
@@ -1165,35 +1168,35 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
1165
1168
|
}
|
|
1166
1169
|
}
|
|
1167
1170
|
);
|
|
1168
|
-
return (d,
|
|
1171
|
+
return (d, r) => {
|
|
1169
1172
|
const t = m("FmTextField"), u = m("FmButton"), f = m("FmForm");
|
|
1170
1173
|
return g(), x(f, {
|
|
1171
1174
|
ref: "form",
|
|
1172
1175
|
class: "flex flex-col gap-16",
|
|
1173
|
-
onValidationSuccess:
|
|
1176
|
+
onValidationSuccess: r[2] || (r[2] = () => n.onUpdate(e.value))
|
|
1174
1177
|
}, {
|
|
1175
1178
|
default: F(() => [
|
|
1176
1179
|
l(t, {
|
|
1177
1180
|
modelValue: e.value.gateway,
|
|
1178
|
-
"onUpdate:modelValue":
|
|
1181
|
+
"onUpdate:modelValue": r[0] || (r[0] = (c) => e.value.gateway = c),
|
|
1179
1182
|
label: "Gateway",
|
|
1180
1183
|
disabled: !0,
|
|
1181
|
-
rules:
|
|
1184
|
+
rules: s(V)(s(w).string())
|
|
1182
1185
|
}, null, 8, ["modelValue", "rules"]),
|
|
1183
1186
|
l(t, {
|
|
1184
1187
|
modelValue: e.value.config.merchantId,
|
|
1185
|
-
"onUpdate:modelValue":
|
|
1188
|
+
"onUpdate:modelValue": r[1] || (r[1] = (c) => e.value.config.merchantId = c),
|
|
1186
1189
|
label: "Merchant ID",
|
|
1187
1190
|
disabled: !0,
|
|
1188
|
-
rules:
|
|
1191
|
+
rules: s(V)(s(w).string())
|
|
1189
1192
|
}, null, 8, ["modelValue", "rules"]),
|
|
1190
1193
|
i("div", qe, [
|
|
1191
|
-
|
|
1194
|
+
n.gateway ? (g(), x(u, {
|
|
1192
1195
|
key: 0,
|
|
1193
1196
|
class: "flex-1",
|
|
1194
1197
|
variant: "secondary",
|
|
1195
1198
|
label: "Delete",
|
|
1196
|
-
onclick: () =>
|
|
1199
|
+
onclick: () => n.onDelete()
|
|
1197
1200
|
}, null, 8, ["onclick"])) : I("", !0),
|
|
1198
1201
|
l(u, {
|
|
1199
1202
|
type: "submit",
|
|
@@ -1218,10 +1221,10 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
1218
1221
|
required: !0
|
|
1219
1222
|
}
|
|
1220
1223
|
},
|
|
1221
|
-
setup(
|
|
1222
|
-
const p =
|
|
1224
|
+
setup(n) {
|
|
1225
|
+
const p = ae().currentCountry, e = z(), { isLoading: d, startAsyncCall: r } = j(), { tokenTab: t } = Y({
|
|
1223
1226
|
tokenTab: ""
|
|
1224
|
-
}), u =
|
|
1227
|
+
}), u = n, f = [
|
|
1225
1228
|
{
|
|
1226
1229
|
label: "Google Pay",
|
|
1227
1230
|
value: "googlePay",
|
|
@@ -1236,11 +1239,11 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
1236
1239
|
render: je,
|
|
1237
1240
|
region: [h.F_COUNTRY.enum.MY, h.F_COUNTRY.enum.SG]
|
|
1238
1241
|
}
|
|
1239
|
-
], c =
|
|
1242
|
+
], c = T(u.payoutAccount.tokens ?? []), a = K(() => f.find((y) => y.value === t.value)), o = K(() => f.filter(
|
|
1240
1243
|
(y) => y.region.includes(p.value ?? h.F_COUNTRY.enum.MY)
|
|
1241
1244
|
));
|
|
1242
1245
|
async function v(y) {
|
|
1243
|
-
await
|
|
1246
|
+
await r(async () => {
|
|
1244
1247
|
try {
|
|
1245
1248
|
await R.updateTokens(u.payoutAccount._id, y), e.open({
|
|
1246
1249
|
type: "success",
|
|
@@ -1257,40 +1260,40 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
1257
1260
|
}
|
|
1258
1261
|
return (y, b) => {
|
|
1259
1262
|
var S;
|
|
1260
|
-
const
|
|
1263
|
+
const U = m("FmCircularProgress"), A = m("FmTabs");
|
|
1261
1264
|
return g(), P($, null, [
|
|
1262
1265
|
b[1] || (b[1] = i("p", { className: "mt-1 my-6 text-gray-600" }, [
|
|
1263
1266
|
i("b", null, "Note: "),
|
|
1264
|
-
|
|
1267
|
+
_(" Token gateways appear above other online payment channels to comply with provider branding requirements. Configuration is standardized, so you generally only need to select the provider. "),
|
|
1265
1268
|
i("br"),
|
|
1266
1269
|
i("br"),
|
|
1267
1270
|
i("b", null, ` Token payments are automatically enabled for "Pay-First" merchants. You do not need to adjust settings here unless you're modifying for a non-Pay-First merchant who wishes to manually enable this feature. `),
|
|
1268
1271
|
i("br")
|
|
1269
1272
|
], -1)),
|
|
1270
|
-
|
|
1271
|
-
l(
|
|
1273
|
+
s(d) ? (g(), P("div", Ye, [
|
|
1274
|
+
l(U, { size: "xxl" })
|
|
1272
1275
|
])) : (g(), x(A, {
|
|
1273
1276
|
key: 1,
|
|
1274
|
-
"model-value":
|
|
1277
|
+
"model-value": s(t),
|
|
1275
1278
|
"onUpdate:modelValue": b[0] || (b[0] = (k) => q(t) ? t.value = k : null),
|
|
1276
1279
|
class: "mb-6 mt-6",
|
|
1277
1280
|
items: o.value
|
|
1278
1281
|
}, null, 8, ["model-value", "items"])),
|
|
1279
|
-
|
|
1282
|
+
s(t) ? (g(), x(Q((S = a.value) == null ? void 0 : S.render), W(J({ key: 2 }, {
|
|
1280
1283
|
gateway: c.value.find((k) => {
|
|
1281
1284
|
var N;
|
|
1282
|
-
return k.type === ((N =
|
|
1285
|
+
return k.type === ((N = a.value) == null ? void 0 : N.value);
|
|
1283
1286
|
}),
|
|
1284
1287
|
onDelete: async () => {
|
|
1285
1288
|
c.value = c.value.filter((k) => {
|
|
1286
1289
|
var N;
|
|
1287
|
-
return k.type !== ((N =
|
|
1290
|
+
return k.type !== ((N = a.value) == null ? void 0 : N.value);
|
|
1288
1291
|
}), v(c.value);
|
|
1289
1292
|
},
|
|
1290
1293
|
onUpdate: (k) => {
|
|
1291
1294
|
let N = c.value.find((H) => {
|
|
1292
1295
|
var B;
|
|
1293
|
-
return H.type === ((B =
|
|
1296
|
+
return H.type === ((B = a.value) == null ? void 0 : B.value);
|
|
1294
1297
|
});
|
|
1295
1298
|
N ? N.config = k : c.value.push(k), v(c.value);
|
|
1296
1299
|
}
|
|
@@ -1306,10 +1309,10 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
1306
1309
|
required: !0
|
|
1307
1310
|
}
|
|
1308
1311
|
},
|
|
1309
|
-
setup(
|
|
1310
|
-
const p =
|
|
1312
|
+
setup(n) {
|
|
1313
|
+
const p = n, { tab: e } = Y({
|
|
1311
1314
|
tab: "information"
|
|
1312
|
-
}), { isLoading: d, startAsyncCall:
|
|
1315
|
+
}), { isLoading: d, startAsyncCall: r } = j(!0), t = ue(), u = T();
|
|
1313
1316
|
async function f(v) {
|
|
1314
1317
|
await R.updateById(
|
|
1315
1318
|
p.accountId,
|
|
@@ -1351,35 +1354,35 @@ const se = { class: "flex gap-16 mb-6" }, ie = /* @__PURE__ */ C({
|
|
|
1351
1354
|
label: "Online Channels",
|
|
1352
1355
|
icon: "shopping_cart",
|
|
1353
1356
|
value: "channels",
|
|
1354
|
-
render:
|
|
1357
|
+
render: Te
|
|
1355
1358
|
}
|
|
1356
1359
|
];
|
|
1357
|
-
function
|
|
1358
|
-
|
|
1360
|
+
function a() {
|
|
1361
|
+
r(async () => {
|
|
1359
1362
|
u.value = await R.readById(p.accountId);
|
|
1360
1363
|
});
|
|
1361
1364
|
}
|
|
1362
|
-
|
|
1365
|
+
ne(a);
|
|
1363
1366
|
const o = K(() => {
|
|
1364
|
-
const v = c.reduce((y, b) => y || (b.children ? b.children.find((
|
|
1367
|
+
const v = c.reduce((y, b) => y || (b.children ? b.children.find((U) => U.value === e.value) || null : b.value === e.value ? b : null), null);
|
|
1365
1368
|
return v == null ? void 0 : v.render;
|
|
1366
1369
|
});
|
|
1367
1370
|
return (v, y) => {
|
|
1368
|
-
var
|
|
1371
|
+
var U;
|
|
1369
1372
|
const b = m("FmTabs");
|
|
1370
1373
|
return g(), x(oe, {
|
|
1371
|
-
title: `Payout Account (${(
|
|
1372
|
-
loading:
|
|
1373
|
-
onBack:
|
|
1374
|
+
title: `Payout Account (${(U = u.value) == null ? void 0 : U._id})`,
|
|
1375
|
+
loading: s(d),
|
|
1376
|
+
onBack: s(t).back
|
|
1374
1377
|
}, {
|
|
1375
1378
|
default: F(() => [
|
|
1376
1379
|
l(b, {
|
|
1377
|
-
"model-value":
|
|
1380
|
+
"model-value": s(e),
|
|
1378
1381
|
"onUpdate:modelValue": y[0] || (y[0] = (A) => q(e) ? e.value = A : null),
|
|
1379
1382
|
class: "mb-6",
|
|
1380
1383
|
items: c
|
|
1381
1384
|
}, null, 8, ["model-value"]),
|
|
1382
|
-
|
|
1385
|
+
s(e) ? (g(), x(Q(o.value), W(J({ key: 0 }, {
|
|
1383
1386
|
payoutAccount: u.value,
|
|
1384
1387
|
onUpdate: f
|
|
1385
1388
|
})), null, 16)) : I("", !0)
|