@feedmepos/mf-payment 1.6.30 → 1.7.0-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/{Actions.vue_vue_type_script_setup_true_lang-CReFUvXP.js → Actions.vue_vue_type_script_setup_true_lang-BX2bMjao.js} +1 -1
- package/dist/{AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-BW-kIzrr.js → AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-CPRdjNud.js} +2 -2
- package/dist/{Chargeback-D-1shCEc.js → Chargeback-MMmCnSz-.js} +5 -5
- package/dist/{PDFViewer-CIPPbzWD.js → DocumentViewer.vue_vue_type_script_setup_true_lang-DiVfAn4G.js} +5069 -4948
- package/dist/{OnboardForm-BTmf0Q57.js → OnboardForm-Bz-2E5fr.js} +7 -8
- package/dist/{OnboardForm-CoM_9V9O.js → OnboardForm-DvyEoD0l.js} +5 -5
- package/dist/{OnboardSubmission-CnqRhpLP.js → OnboardSubmission-DsWvHgAm.js} +2 -2
- package/dist/{OnboardSubmission-CuXzPfZW.js → OnboardSubmission-mSm_0xxl.js} +5 -5
- package/dist/{PayoutAccount-CcvLfFvm.js → PayoutAccount-BnesOO6f.js} +5 -5
- package/dist/{PayoutAccount-DTsomWZN.js → PayoutAccount-DDxg4ecY.js} +7 -8
- package/dist/{PayoutAccountSetting-yGR9xN6A.js → PayoutAccountSetting-D2zMCl80.js} +133 -134
- package/dist/{Restaurant-yQZ4g8Rd.js → Restaurant-DGvP7Csh.js} +4 -4
- package/dist/{RestaurantSetting-DAJ94ttS.js → RestaurantSetting-Brne3iti.js} +3 -3
- package/dist/{Settlement-C5SQzTL7.js → Settlement-CowH0Zk2.js} +4 -4
- package/dist/{Settlement-CCLPP12V.js → Settlement-D2TlUSAw.js} +3 -3
- package/dist/{SettlementTransactions-gonII7cV.js → SettlementTransactions-CaSEBnSk.js} +4 -4
- package/dist/{SettlementTransactions-aXZS4MSd.js → SettlementTransactions-Dls7DVNX.js} +4 -4
- package/dist/{Status.vue_vue_type_script_setup_true_lang-DUfg8gqj.js → Status.vue_vue_type_script_setup_true_lang-BRLsY7E6.js} +1 -1
- package/dist/{Terminal-CPjNWxK4.js → Terminal-CkGdLWBY.js} +5 -5
- package/dist/{TerminalSetting-B-8Tfbk9.js → TerminalSetting-Rh5yvzQW.js} +4 -4
- package/dist/{Transaction-YCrPQ4lU.js → Transaction-DzxKjZi_.js} +10 -10
- package/dist/{Transaction-BnuSy__A.js → Transaction-VqXHPbcx.js} +9 -9
- package/dist/{TransactionOld-CSpSjwoB.js → TransactionOld-CHqFMsE8.js} +7 -7
- package/dist/{app-JCviXoxR.js → app-PiirQzeM.js} +451 -442
- package/dist/app.js +1 -1
- package/dist/{assets-lxJ38liW.js → assets-ByE2qHVM.js} +1 -1
- package/dist/components/DocumentViewer.vue.d.ts +1 -0
- package/dist/{grafana-LZXZH1NC.js → grafana-BZFzGv64.js} +1 -1
- package/dist/{index-nfDq-G0W.js → index-B5Ht48-A.js} +1 -1
- package/dist/{index-B6udqJ7N.js → index-B_WQwGvV.js} +1 -1
- package/dist/{index-CIoiU_cn.js → index-Bg4iuklW.js} +1 -1
- package/dist/{index-xea-_IPr.js → index-CarXrx98.js} +1 -1
- package/dist/{index-CiTGroUP.js → index-DASI_ipo.js} +1 -1
- package/dist/{index-BEMHQA9W.js → index-DZJ_rc-c.js} +1 -1
- package/dist/{index-CaCIHYcl.js → index-LpnDYp0T.js} +1 -1
- package/dist/{index-DvaB_DBS.js → index-SSlRVsVp.js} +1 -1
- package/dist/{index-ZkExxH5u.js → index-fcqPRT7k.js} +2 -2
- package/dist/{index.vue_vue_type_script_setup_true_lang-D4xzJCnm.js → index.vue_vue_type_script_setup_true_lang-BzI-1UVQ.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-DaOSQs3Q.js → payout-account-B2kRoBqh.js} +3 -3
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/DocumentViewer.vue_vue_type_script_setup_true_lang-CQCPlLlW.js +0 -93
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { defineComponent as D, resolveComponent as y, openBlock as g, createElementBlock as E, Fragment as j, createElementVNode as
|
|
2
|
-
import { p as G } from "./index-
|
|
3
|
-
import { u as X, e as _ } from "./index-
|
|
1
|
+
import { defineComponent as D, resolveComponent as y, openBlock as g, createElementBlock as E, Fragment as j, createElementVNode as s, createVNode as n, withCtx as k, createTextVNode as h, toDisplayString as B, unref as r, reactive as de, ref as C, createBlock as w, watch as te, computed as Y, isRef as W, createCommentVNode as $, h as H, onMounted as re, resolveDynamicComponent as ae, normalizeProps as ne, mergeProps as oe } from "vue";
|
|
2
|
+
import { p as G } from "./index-SSlRVsVp.js";
|
|
3
|
+
import { u as X, e as _ } from "./index-B5Ht48-A.js";
|
|
4
4
|
import { _ as pe } from "./Layout.vue_vue_type_script_setup_true_lang-BKIvkgA_.js";
|
|
5
5
|
import { useRouter as ye } from "vue-router";
|
|
6
|
-
import { u as ee } from "./index-
|
|
7
|
-
import { _ as Z } from "./DocumentViewer.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { u as ee } from "./index-Bg4iuklW.js";
|
|
7
|
+
import { _ as Z, P as Q } from "./DocumentViewer.vue_vue_type_script_setup_true_lang-DiVfAn4G.js";
|
|
8
8
|
import { h as be } from "./moment-h96o7c8I.js";
|
|
9
9
|
import { useDialogChild as fe, useDialog as ie, useSnackbar as J, components as ve } from "@feedmepos/ui-library";
|
|
10
|
-
import { P as Q } from "./PDFViewer-CIPPbzWD.js";
|
|
11
10
|
import { u as z } from "./error-K1CakhA9.js";
|
|
12
|
-
import { P as ge } from "./payout-account-
|
|
13
|
-
import { d as
|
|
11
|
+
import { P as ge } from "./payout-account-B2kRoBqh.js";
|
|
12
|
+
import { d as se } from "./index-B_WQwGvV.js";
|
|
14
13
|
import { s as L, o as Fe, z as A, a as N } from "./validator-CTlVogBQ.js";
|
|
15
14
|
import { _ as xe } from "./TextInputDialog.vue_vue_type_script_setup_true_lang-C3AeZqwO.js";
|
|
16
15
|
import { useCoreStore as me } from "@feedmepos/mf-common";
|
|
@@ -27,7 +26,7 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
27
26
|
var m, v;
|
|
28
27
|
const b = y("FmCardHeader"), l = y("FmCardSection"), t = y("FmCard");
|
|
29
28
|
return g(), E(j, null, [
|
|
30
|
-
|
|
29
|
+
s("div", ke, [
|
|
31
30
|
n(t, {
|
|
32
31
|
horizontal: "",
|
|
33
32
|
class: "flex-1 p-6",
|
|
@@ -45,15 +44,15 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
45
44
|
default: k(() => {
|
|
46
45
|
var p, i, d, o, c;
|
|
47
46
|
return [
|
|
48
|
-
e[0] || (e[0] =
|
|
47
|
+
e[0] || (e[0] = s("b", null, "For", -1)),
|
|
49
48
|
h(": " + B((i = (p = a.payoutAccount) == null ? void 0 : p.store) == null ? void 0 : i.event) + " ", 1),
|
|
50
|
-
e[1] || (e[1] =
|
|
51
|
-
e[2] || (e[2] =
|
|
49
|
+
e[1] || (e[1] = s("br", null, null, -1)),
|
|
50
|
+
e[2] || (e[2] = s("b", null, "Reference", -1)),
|
|
52
51
|
h(": " + B((o = (d = a.payoutAccount) == null ? void 0 : d.store) == null ? void 0 : o.id), 1),
|
|
53
|
-
e[3] || (e[3] =
|
|
54
|
-
e[4] || (e[4] =
|
|
52
|
+
e[3] || (e[3] = s("br", null, null, -1)),
|
|
53
|
+
e[4] || (e[4] = s("b", null, "Business", -1)),
|
|
55
54
|
h(": " + B((c = a.payoutAccount) == null ? void 0 : c.businessId), 1),
|
|
56
|
-
e[5] || (e[5] =
|
|
55
|
+
e[5] || (e[5] = s("br", null, null, -1))
|
|
57
56
|
];
|
|
58
57
|
}),
|
|
59
58
|
_: 1
|
|
@@ -81,15 +80,15 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
81
80
|
default: k(() => {
|
|
82
81
|
var p, i, d, o, c, f, F, S;
|
|
83
82
|
return [
|
|
84
|
-
e[6] || (e[6] =
|
|
83
|
+
e[6] || (e[6] = s("b", null, "Email", -1)),
|
|
85
84
|
h(": " + B((d = (i = (p = a.payoutAccount) == null ? void 0 : p.store) == null ? void 0 : i.keyPerson) == null ? void 0 : d.email) + " ", 1),
|
|
86
|
-
e[7] || (e[7] =
|
|
87
|
-
e[8] || (e[8] =
|
|
85
|
+
e[7] || (e[7] = s("br", null, null, -1)),
|
|
86
|
+
e[8] || (e[8] = s("b", null, "Name", -1)),
|
|
88
87
|
h(": " + B((f = (c = (o = a.payoutAccount) == null ? void 0 : o.store) == null ? void 0 : c.keyPerson) == null ? void 0 : f.name), 1),
|
|
89
|
-
e[9] || (e[9] =
|
|
90
|
-
e[10] || (e[10] =
|
|
88
|
+
e[9] || (e[9] = s("br", null, null, -1)),
|
|
89
|
+
e[10] || (e[10] = s("b", null, "Phone", -1)),
|
|
91
90
|
h(": " + B((S = (F = a.payoutAccount) == null ? void 0 : F.store.keyPerson) == null ? void 0 : S.phone), 1),
|
|
92
|
-
e[11] || (e[11] =
|
|
91
|
+
e[11] || (e[11] = s("br", null, null, -1))
|
|
93
92
|
];
|
|
94
93
|
}),
|
|
95
94
|
_: 1
|
|
@@ -101,7 +100,7 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
101
100
|
_: 1
|
|
102
101
|
})
|
|
103
102
|
]),
|
|
104
|
-
|
|
103
|
+
s("div", Ve, [
|
|
105
104
|
n(t, {
|
|
106
105
|
horizontal: "",
|
|
107
106
|
class: "flex-1 p-6",
|
|
@@ -119,17 +118,17 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
119
118
|
default: k(() => {
|
|
120
119
|
var p, i, d;
|
|
121
120
|
return [
|
|
122
|
-
e[12] || (e[12] =
|
|
123
|
-
h(": " + B((p = a.payoutAccount) != null && p.submissionDate ?
|
|
121
|
+
e[12] || (e[12] = s("b", null, "Submission Date", -1)),
|
|
122
|
+
h(": " + B((p = a.payoutAccount) != null && p.submissionDate ? r(be)(a.payoutAccount.submissionDate).format(
|
|
124
123
|
"YYYY-MM-DD HH:mm:ss"
|
|
125
124
|
) : "—"), 1),
|
|
126
|
-
e[13] || (e[13] =
|
|
127
|
-
e[14] || (e[14] =
|
|
125
|
+
e[13] || (e[13] = s("br", null, null, -1)),
|
|
126
|
+
e[14] || (e[14] = s("b", null, "Status By", -1)),
|
|
128
127
|
h(": " + B(((i = a.payoutAccount) == null ? void 0 : i.statusBy) ?? "—"), 1),
|
|
129
|
-
e[15] || (e[15] =
|
|
130
|
-
e[16] || (e[16] =
|
|
128
|
+
e[15] || (e[15] = s("br", null, null, -1)),
|
|
129
|
+
e[16] || (e[16] = s("b", null, "Status Reason", -1)),
|
|
131
130
|
h(": " + B(((d = a.payoutAccount) == null ? void 0 : d.statusReason) ?? "—"), 1),
|
|
132
|
-
e[17] || (e[17] =
|
|
131
|
+
e[17] || (e[17] = s("br", null, null, -1))
|
|
133
132
|
];
|
|
134
133
|
}),
|
|
135
134
|
_: 1
|
|
@@ -141,7 +140,7 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
141
140
|
_: 1
|
|
142
141
|
})
|
|
143
142
|
]),
|
|
144
|
-
e[18] || (e[18] =
|
|
143
|
+
e[18] || (e[18] = s("p", { class: "fm-typo-en-body-lg-600 mb-6" }, "Exterior Photo", -1)),
|
|
145
144
|
n(Z, {
|
|
146
145
|
document: a.payoutAccount.store.exteriorPhoto,
|
|
147
146
|
"business-id": a.payoutAccount.businessId,
|
|
@@ -220,10 +219,10 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
220
219
|
onValidationSuccess: S
|
|
221
220
|
}, {
|
|
222
221
|
default: k(() => [
|
|
223
|
-
x[9] || (x[9] =
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
222
|
+
x[9] || (x[9] = s("div", { class: "flex items-center my-2" }, [
|
|
223
|
+
s("hr", { class: "w-[80px] border-t border-gray-300" }),
|
|
224
|
+
s("span", { class: "text-left mx-6 text-gray-500" }, "Account"),
|
|
225
|
+
s("hr", { class: "flex-grow border-t border-gray-300" })
|
|
227
226
|
], -1)),
|
|
228
227
|
n(q, {
|
|
229
228
|
modelValue: l.regNo,
|
|
@@ -231,7 +230,7 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
231
230
|
label: "Registration Number",
|
|
232
231
|
"label-mark": "required",
|
|
233
232
|
"helper-text": "Registration Number must match uploaded SSM registration number.",
|
|
234
|
-
rules:
|
|
233
|
+
rules: r(A)(r(d)),
|
|
235
234
|
autofocus: ""
|
|
236
235
|
}, null, 8, ["modelValue", "rules"]),
|
|
237
236
|
n(q, {
|
|
@@ -240,12 +239,12 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
240
239
|
label: "Company Name",
|
|
241
240
|
"label-mark": "required",
|
|
242
241
|
"helper-text": "Company Name must match uploaded SSM registration name.",
|
|
243
|
-
rules:
|
|
242
|
+
rules: r(A)(r(i))
|
|
244
243
|
}, null, 8, ["modelValue", "rules"]),
|
|
245
|
-
x[10] || (x[10] =
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
244
|
+
x[10] || (x[10] = s("div", { class: "flex items-center my-2" }, [
|
|
245
|
+
s("hr", { class: "w-[80px] border-t border-gray-300" }),
|
|
246
|
+
s("span", { class: "text-left mx-6 text-gray-500" }, "Bank"),
|
|
247
|
+
s("hr", { class: "flex-grow border-t border-gray-300" })
|
|
249
248
|
], -1)),
|
|
250
249
|
n(K, {
|
|
251
250
|
modelValue: l.bankName,
|
|
@@ -253,14 +252,14 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
253
252
|
label: "Bank",
|
|
254
253
|
"label-mark": "required",
|
|
255
254
|
items: u.bankNameOptions,
|
|
256
|
-
rules:
|
|
255
|
+
rules: r(A)(r(o))
|
|
257
256
|
}, null, 8, ["modelValue", "items", "rules"]),
|
|
258
257
|
n(q, {
|
|
259
258
|
modelValue: l.bankHolderName,
|
|
260
259
|
"onUpdate:modelValue": x[3] || (x[3] = (P) => l.bankHolderName = P),
|
|
261
260
|
label: "Bank Holder",
|
|
262
261
|
"label-mark": "required",
|
|
263
|
-
rules:
|
|
262
|
+
rules: r(A)(r(c))
|
|
264
263
|
}, null, 8, ["modelValue", "rules"]),
|
|
265
264
|
n(q, {
|
|
266
265
|
modelValue: l.bankAccountNumber,
|
|
@@ -268,15 +267,15 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
268
267
|
label: "Bank Account Number",
|
|
269
268
|
"label-mark": "required",
|
|
270
269
|
type: "number",
|
|
271
|
-
rules:
|
|
270
|
+
rules: r(A)(r(f))
|
|
272
271
|
}, null, 8, ["modelValue", "rules"]),
|
|
273
|
-
x[11] || (x[11] =
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
272
|
+
x[11] || (x[11] = s("div", { class: "flex items-center my-2" }, [
|
|
273
|
+
s("hr", { class: "w-[80px] border-t border-gray-300" }),
|
|
274
|
+
s("span", { class: "text-left mx-6 text-gray-500" }, "Document"),
|
|
275
|
+
s("hr", { class: "flex-grow border-t border-gray-300" })
|
|
277
276
|
], -1)),
|
|
278
|
-
|
|
279
|
-
x[7] || (x[7] =
|
|
277
|
+
s("div", Ae, [
|
|
278
|
+
x[7] || (x[7] = s("p", { class: "fm-typo-en-body-md-500" }, "SSM (PDF)", -1)),
|
|
280
279
|
v.value ? (g(), w(le, {
|
|
281
280
|
key: 0,
|
|
282
281
|
modelValue: v.value,
|
|
@@ -315,8 +314,8 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
315
314
|
onFileUpload: I
|
|
316
315
|
}))
|
|
317
316
|
]),
|
|
318
|
-
|
|
319
|
-
x[8] || (x[8] =
|
|
317
|
+
s("div", Se, [
|
|
318
|
+
x[8] || (x[8] = s("p", { class: "fm-typo-en-body-md-500" }, "Bank Statement (PDF)", -1)),
|
|
320
319
|
p.value ? (g(), w(le, {
|
|
321
320
|
key: 0,
|
|
322
321
|
modelValue: p.value,
|
|
@@ -355,7 +354,7 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
355
354
|
onFileUpload: T
|
|
356
355
|
}))
|
|
357
356
|
]),
|
|
358
|
-
|
|
357
|
+
s("div", Ne, [
|
|
359
358
|
n(O, {
|
|
360
359
|
type: "submit",
|
|
361
360
|
variant: "primary",
|
|
@@ -395,14 +394,14 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
395
394
|
var F;
|
|
396
395
|
const c = (/* @__PURE__ */ new Date()).toISOString();
|
|
397
396
|
if (((F = u.payoutAccount.store) == null ? void 0 : F.event) === "ORDERING")
|
|
398
|
-
return await
|
|
397
|
+
return await se.adminUpload(
|
|
399
398
|
`restaurant/${u.payoutAccount.store.id}/documents/${d}/${c}.pdf`,
|
|
400
399
|
o,
|
|
401
400
|
u.payoutAccount.businessId,
|
|
402
401
|
u.payoutAccount.store.id
|
|
403
402
|
);
|
|
404
403
|
const f = u.payoutAccount.businessId || u.payoutAccount.store.id;
|
|
405
|
-
return await
|
|
404
|
+
return await se.adminUpload(
|
|
406
405
|
`business/${f}/documents/${d}/${c}.pdf`,
|
|
407
406
|
o,
|
|
408
407
|
f,
|
|
@@ -468,7 +467,7 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
468
467
|
var U, I, T, R;
|
|
469
468
|
const c = y("FmButton"), f = y("FmCardHeader"), F = y("FmCardSection"), S = y("FmCard");
|
|
470
469
|
return g(), E(j, null, [
|
|
471
|
-
|
|
470
|
+
s("div", Ue, [
|
|
472
471
|
n(c, {
|
|
473
472
|
variant: "primary",
|
|
474
473
|
label: "Edit Settlement Info",
|
|
@@ -476,7 +475,7 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
476
475
|
onclick: i
|
|
477
476
|
}, null, 8, ["loading"])
|
|
478
477
|
]),
|
|
479
|
-
|
|
478
|
+
s("div", Ie, [
|
|
480
479
|
n(S, {
|
|
481
480
|
horizontal: "",
|
|
482
481
|
class: "flex-1 p-6",
|
|
@@ -494,12 +493,12 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
494
493
|
default: k(() => {
|
|
495
494
|
var M, V;
|
|
496
495
|
return [
|
|
497
|
-
o[0] || (o[0] =
|
|
496
|
+
o[0] || (o[0] = s("b", null, "Name", -1)),
|
|
498
497
|
h(": " + B((M = a.payoutAccount) == null ? void 0 : M.store.companyName), 1),
|
|
499
|
-
o[1] || (o[1] =
|
|
500
|
-
o[2] || (o[2] =
|
|
498
|
+
o[1] || (o[1] = s("br", null, null, -1)),
|
|
499
|
+
o[2] || (o[2] = s("b", null, "Registration Number", -1)),
|
|
501
500
|
h(": " + B((V = a.payoutAccount) == null ? void 0 : V.store.regNo), 1),
|
|
502
|
-
o[3] || (o[3] =
|
|
501
|
+
o[3] || (o[3] = s("br", null, null, -1))
|
|
503
502
|
];
|
|
504
503
|
}),
|
|
505
504
|
_: 1
|
|
@@ -527,13 +526,13 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
527
526
|
default: k(() => {
|
|
528
527
|
var M, V, x, q, K, O;
|
|
529
528
|
return [
|
|
530
|
-
o[4] || (o[4] =
|
|
529
|
+
o[4] || (o[4] = s("b", null, "Bank", -1)),
|
|
531
530
|
h(": " + B((V = (M = a.payoutAccount) == null ? void 0 : M.store.bank) == null ? void 0 : V.name), 1),
|
|
532
|
-
o[5] || (o[5] =
|
|
533
|
-
o[6] || (o[6] =
|
|
531
|
+
o[5] || (o[5] = s("br", null, null, -1)),
|
|
532
|
+
o[6] || (o[6] = s("b", null, "Name", -1)),
|
|
534
533
|
h(": " + B((q = (x = a.payoutAccount) == null ? void 0 : x.store.bank) == null ? void 0 : q.holderName), 1),
|
|
535
|
-
o[7] || (o[7] =
|
|
536
|
-
o[8] || (o[8] =
|
|
534
|
+
o[7] || (o[7] = s("br", null, null, -1)),
|
|
535
|
+
o[8] || (o[8] = s("b", null, "Number", -1)),
|
|
537
536
|
h(": " + B((O = (K = a.payoutAccount) == null ? void 0 : K.store.bank) == null ? void 0 : O.accountNumber), 1)
|
|
538
537
|
];
|
|
539
538
|
}),
|
|
@@ -546,9 +545,9 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
546
545
|
_: 1
|
|
547
546
|
})
|
|
548
547
|
]),
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
o[9] || (o[9] =
|
|
548
|
+
s("div", Te, [
|
|
549
|
+
s("div", De, [
|
|
550
|
+
o[9] || (o[9] = s("p", { class: "fm-typo-en-body-lg-600 mb-6" }, "SSM", -1)),
|
|
552
551
|
n(Z, {
|
|
553
552
|
"business-id": a.payoutAccount.businessId,
|
|
554
553
|
"restaurant-id": ((I = (U = a.payoutAccount) == null ? void 0 : U.store) == null ? void 0 : I.event) === "ORDERING" ? a.payoutAccount.store.id : void 0,
|
|
@@ -564,8 +563,8 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
564
563
|
_: 1
|
|
565
564
|
}, 8, ["business-id", "restaurant-id", "document"])
|
|
566
565
|
]),
|
|
567
|
-
|
|
568
|
-
o[10] || (o[10] =
|
|
566
|
+
s("div", Re, [
|
|
567
|
+
o[10] || (o[10] = s("p", { class: "fm-typo-en-body-lg-600 mb-6" }, "Bank Statement", -1)),
|
|
569
568
|
n(Z, {
|
|
570
569
|
"business-id": a.payoutAccount.businessId,
|
|
571
570
|
"restaurant-id": ((R = (T = a.payoutAccount) == null ? void 0 : T.store) == null ? void 0 : R.event) === "ORDERING" ? a.payoutAccount.store.id : void 0,
|
|
@@ -784,8 +783,8 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
784
783
|
return (o, c) => {
|
|
785
784
|
const f = y("FmRadio"), F = y("FmRadioGroup"), S = y("FmSwitch"), U = y("FmSearch"), I = y("FmTable"), T = y("FmButton");
|
|
786
785
|
return g(), E(j, null, [
|
|
787
|
-
|
|
788
|
-
|
|
786
|
+
s("div", _e, [
|
|
787
|
+
s("div", $e, [
|
|
789
788
|
n(F, {
|
|
790
789
|
modelValue: a.payoutAccount.status,
|
|
791
790
|
"onUpdate:modelValue": c[0] || (c[0] = (R) => a.payoutAccount.status = R),
|
|
@@ -809,7 +808,7 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
809
808
|
_: 1
|
|
810
809
|
}, 8, ["modelValue"])
|
|
811
810
|
]),
|
|
812
|
-
|
|
811
|
+
s("div", qe, [
|
|
813
812
|
n(S, {
|
|
814
813
|
modelValue: a.payoutAccount.enable,
|
|
815
814
|
"onUpdate:modelValue": c[1] || (c[1] = (R) => a.payoutAccount.enable = R),
|
|
@@ -820,10 +819,10 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
820
819
|
])
|
|
821
820
|
]),
|
|
822
821
|
a.payoutAccount.enable ? (g(), E(j, { key: 0 }, [
|
|
823
|
-
|
|
824
|
-
|
|
822
|
+
s("div", Oe, [
|
|
823
|
+
s("div", Ee, [
|
|
825
824
|
n(U, {
|
|
826
|
-
modelValue:
|
|
825
|
+
modelValue: r(v),
|
|
827
826
|
"onUpdate:modelValue": c[2] || (c[2] = (R) => W(v) ? v.value = R : null),
|
|
828
827
|
placeholder: "Search Method ..."
|
|
829
828
|
}, null, 8, ["modelValue"])
|
|
@@ -834,7 +833,7 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
834
833
|
modelValue: i.value,
|
|
835
834
|
"onUpdate:modelValue": c[3] || (c[3] = (R) => i.value = R),
|
|
836
835
|
"shrink-at": !1,
|
|
837
|
-
"search-value":
|
|
836
|
+
"search-value": r(v),
|
|
838
837
|
"row-data": a.payoutAccount.methods,
|
|
839
838
|
"column-defs": d
|
|
840
839
|
}, null, 8, ["modelValue", "search-value", "row-data"])
|
|
@@ -882,7 +881,7 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
882
881
|
t.value = await G.getChannels(e.payoutAccount._id);
|
|
883
882
|
});
|
|
884
883
|
}
|
|
885
|
-
|
|
884
|
+
re(m);
|
|
886
885
|
function v() {
|
|
887
886
|
l(async () => {
|
|
888
887
|
try {
|
|
@@ -948,7 +947,7 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
948
947
|
return (d, o) => {
|
|
949
948
|
const c = y("FmButton"), f = y("FmTable");
|
|
950
949
|
return g(), E(j, null, [
|
|
951
|
-
|
|
950
|
+
s("div", Ye, [
|
|
952
951
|
n(c, {
|
|
953
952
|
class: "mx-4",
|
|
954
953
|
variant: "destructive",
|
|
@@ -966,7 +965,7 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
966
965
|
})
|
|
967
966
|
]),
|
|
968
967
|
n(f, {
|
|
969
|
-
loading:
|
|
968
|
+
loading: r(b),
|
|
970
969
|
"row-data": t.value,
|
|
971
970
|
"column-defs": i,
|
|
972
971
|
"shrink-at": !1
|
|
@@ -1009,21 +1008,21 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
1009
1008
|
modelValue: e.value.merchantId,
|
|
1010
1009
|
"onUpdate:modelValue": t[0] || (t[0] = (i) => e.value.merchantId = i),
|
|
1011
1010
|
label: "Merchant ID",
|
|
1012
|
-
rules:
|
|
1011
|
+
rules: r(A)(r(N).string())
|
|
1013
1012
|
}, null, 8, ["modelValue", "rules"]),
|
|
1014
1013
|
n(m, {
|
|
1015
1014
|
modelValue: e.value.verifyKey,
|
|
1016
1015
|
"onUpdate:modelValue": t[1] || (t[1] = (i) => e.value.verifyKey = i),
|
|
1017
1016
|
label: "Verify Key",
|
|
1018
|
-
rules:
|
|
1017
|
+
rules: r(A)(r(N).string())
|
|
1019
1018
|
}, null, 8, ["modelValue", "rules"]),
|
|
1020
1019
|
n(m, {
|
|
1021
1020
|
modelValue: e.value.secretKey,
|
|
1022
1021
|
"onUpdate:modelValue": t[2] || (t[2] = (i) => e.value.secretKey = i),
|
|
1023
1022
|
label: "Secret Key",
|
|
1024
|
-
rules:
|
|
1023
|
+
rules: r(A)(r(N).string())
|
|
1025
1024
|
}, null, 8, ["modelValue", "rules"]),
|
|
1026
|
-
|
|
1025
|
+
s("div", ze, [
|
|
1027
1026
|
a.gateway ? (g(), w(v, {
|
|
1028
1027
|
key: 0,
|
|
1029
1028
|
class: "flex-1",
|
|
@@ -1080,33 +1079,33 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
1080
1079
|
modelValue: e.value.merchantId,
|
|
1081
1080
|
"onUpdate:modelValue": t[0] || (t[0] = (i) => e.value.merchantId = i),
|
|
1082
1081
|
label: "Merchant ID",
|
|
1083
|
-
rules:
|
|
1082
|
+
rules: r(A)(r(N).string())
|
|
1084
1083
|
}, null, 8, ["modelValue", "rules"]),
|
|
1085
1084
|
n(m, {
|
|
1086
1085
|
modelValue: e.value.merchantName,
|
|
1087
1086
|
"onUpdate:modelValue": t[1] || (t[1] = (i) => e.value.merchantName = i),
|
|
1088
1087
|
label: "Merchant Name",
|
|
1089
|
-
rules:
|
|
1088
|
+
rules: r(A)(r(N).string())
|
|
1090
1089
|
}, null, 8, ["modelValue", "rules"]),
|
|
1091
1090
|
n(m, {
|
|
1092
1091
|
modelValue: e.value.merchantCategoryCode,
|
|
1093
1092
|
"onUpdate:modelValue": t[2] || (t[2] = (i) => e.value.merchantCategoryCode = i),
|
|
1094
1093
|
label: "Merchant MCC",
|
|
1095
|
-
rules:
|
|
1094
|
+
rules: r(A)(r(N).string())
|
|
1096
1095
|
}, null, 8, ["modelValue", "rules"]),
|
|
1097
1096
|
n(m, {
|
|
1098
1097
|
modelValue: e.value.storeID,
|
|
1099
1098
|
"onUpdate:modelValue": t[3] || (t[3] = (i) => e.value.storeID = i),
|
|
1100
1099
|
label: "Store ID",
|
|
1101
|
-
rules:
|
|
1100
|
+
rules: r(A)(r(N).string())
|
|
1102
1101
|
}, null, 8, ["modelValue", "rules"]),
|
|
1103
1102
|
n(m, {
|
|
1104
1103
|
modelValue: e.value.storeName,
|
|
1105
1104
|
"onUpdate:modelValue": t[4] || (t[4] = (i) => e.value.storeName = i),
|
|
1106
1105
|
label: "Store Name",
|
|
1107
|
-
rules:
|
|
1106
|
+
rules: r(A)(r(N).string())
|
|
1108
1107
|
}, null, 8, ["modelValue", "rules"]),
|
|
1109
|
-
|
|
1108
|
+
s("div", Ze, [
|
|
1110
1109
|
a.gateway ? (g(), w(v, {
|
|
1111
1110
|
key: 0,
|
|
1112
1111
|
class: "flex-1",
|
|
@@ -1160,15 +1159,15 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
1160
1159
|
modelValue: e.value.merchantId,
|
|
1161
1160
|
"onUpdate:modelValue": t[0] || (t[0] = (i) => e.value.merchantId = i),
|
|
1162
1161
|
label: "Merchant ID",
|
|
1163
|
-
rules:
|
|
1162
|
+
rules: r(A)(r(N).string())
|
|
1164
1163
|
}, null, 8, ["modelValue", "rules"]),
|
|
1165
1164
|
n(m, {
|
|
1166
1165
|
modelValue: e.value.cardMerchantId,
|
|
1167
1166
|
"onUpdate:modelValue": t[1] || (t[1] = (i) => e.value.cardMerchantId = i),
|
|
1168
1167
|
label: "Card Merchant ID",
|
|
1169
|
-
rules:
|
|
1168
|
+
rules: r(A)(r(N).string())
|
|
1170
1169
|
}, null, 8, ["modelValue", "rules"]),
|
|
1171
|
-
|
|
1170
|
+
s("div", Qe, [
|
|
1172
1171
|
a.gateway ? (g(), w(v, {
|
|
1173
1172
|
key: 0,
|
|
1174
1173
|
class: "flex-1",
|
|
@@ -1226,38 +1225,38 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
1226
1225
|
modelValue: e.value.endpoint,
|
|
1227
1226
|
"onUpdate:modelValue": t[0] || (t[0] = (i) => e.value.endpoint = i),
|
|
1228
1227
|
label: "Endpoint",
|
|
1229
|
-
rules:
|
|
1228
|
+
rules: r(A)(r(N).string())
|
|
1230
1229
|
}, null, 8, ["modelValue", "rules"]),
|
|
1231
1230
|
n(m, {
|
|
1232
1231
|
modelValue: e.value.merchantAccount,
|
|
1233
1232
|
"onUpdate:modelValue": t[1] || (t[1] = (i) => e.value.merchantAccount = i),
|
|
1234
1233
|
label: "Merchant Account",
|
|
1235
|
-
rules:
|
|
1234
|
+
rules: r(A)(r(N).string())
|
|
1236
1235
|
}, null, 8, ["modelValue", "rules"]),
|
|
1237
1236
|
n(m, {
|
|
1238
1237
|
modelValue: e.value.username,
|
|
1239
1238
|
"onUpdate:modelValue": t[2] || (t[2] = (i) => e.value.username = i),
|
|
1240
1239
|
label: "Username",
|
|
1241
|
-
rules:
|
|
1240
|
+
rules: r(A)(r(N).string())
|
|
1242
1241
|
}, null, 8, ["modelValue", "rules"]),
|
|
1243
1242
|
n(m, {
|
|
1244
1243
|
modelValue: e.value.apiKey,
|
|
1245
1244
|
"onUpdate:modelValue": t[3] || (t[3] = (i) => e.value.apiKey = i),
|
|
1246
1245
|
label: "API Key",
|
|
1247
|
-
rules:
|
|
1246
|
+
rules: r(A)(r(N).string())
|
|
1248
1247
|
}, null, 8, ["modelValue", "rules"]),
|
|
1249
1248
|
n(m, {
|
|
1250
1249
|
modelValue: e.value.clientKey,
|
|
1251
1250
|
"onUpdate:modelValue": t[4] || (t[4] = (i) => e.value.clientKey = i),
|
|
1252
1251
|
label: "Client Key",
|
|
1253
|
-
rules:
|
|
1252
|
+
rules: r(A)(r(N).string())
|
|
1254
1253
|
}, null, 8, ["modelValue", "rules"]),
|
|
1255
1254
|
n(m, {
|
|
1256
1255
|
modelValue: e.value.hmacKey,
|
|
1257
1256
|
"onUpdate:modelValue": t[5] || (t[5] = (i) => e.value.hmacKey = i),
|
|
1258
1257
|
label: "HMac Key"
|
|
1259
1258
|
}, null, 8, ["modelValue"]),
|
|
1260
|
-
|
|
1259
|
+
s("div", Xe, [
|
|
1261
1260
|
a.gateway ? (g(), w(v, {
|
|
1262
1261
|
key: 0,
|
|
1263
1262
|
class: "flex-1",
|
|
@@ -1311,16 +1310,16 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
1311
1310
|
modelValue: e.value.appId,
|
|
1312
1311
|
"onUpdate:modelValue": t[0] || (t[0] = (d) => e.value.appId = d),
|
|
1313
1312
|
label: "App ID",
|
|
1314
|
-
rules:
|
|
1313
|
+
rules: r(A)(r(N).string())
|
|
1315
1314
|
}, null, 8, ["modelValue", "rules"]),
|
|
1316
1315
|
n(v, {
|
|
1317
1316
|
modelValue: e.value.privateKey,
|
|
1318
1317
|
"onUpdate:modelValue": t[1] || (t[1] = (d) => e.value.privateKey = d),
|
|
1319
1318
|
label: "Private Key",
|
|
1320
1319
|
placeholder: "Paste your private key including BEGIN and END markers",
|
|
1321
|
-
rules:
|
|
1320
|
+
rules: r(A)(r(N).string())
|
|
1322
1321
|
}, null, 8, ["modelValue", "rules"]),
|
|
1323
|
-
|
|
1322
|
+
s("div", tt, [
|
|
1324
1323
|
a.gateway ? (g(), w(p, {
|
|
1325
1324
|
key: 0,
|
|
1326
1325
|
class: "flex-1",
|
|
@@ -1376,7 +1375,7 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
1376
1375
|
"onUpdate:modelValue": t[0] || (t[0] = (p) => e.value.locationId = p),
|
|
1377
1376
|
label: "Location ID",
|
|
1378
1377
|
readonly: !0,
|
|
1379
|
-
rules:
|
|
1378
|
+
rules: r(A)(r(N).string())
|
|
1380
1379
|
}, null, 8, ["modelValue", "rules"])
|
|
1381
1380
|
]),
|
|
1382
1381
|
_: 1
|
|
@@ -1463,14 +1462,14 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
1463
1462
|
var M;
|
|
1464
1463
|
const I = y("FmCircularProgress"), T = y("FmSwitch"), R = y("FmTabs");
|
|
1465
1464
|
return g(), E(j, null, [
|
|
1466
|
-
|
|
1467
|
-
|
|
1465
|
+
r(e) ? (g(), E("p", ot, [...U[2] || (U[2] = [
|
|
1466
|
+
s("b", null, "Note: ", -1),
|
|
1468
1467
|
h(" There's no setup required for Malaysia Payment Gateway, once Payout Account is ready you will able to configure the payment channels. ", -1)
|
|
1469
1468
|
])])) : $("", !0),
|
|
1470
|
-
|
|
1469
|
+
r(l) ? (g(), E("div", lt, [
|
|
1471
1470
|
n(I, { size: "xxl" })
|
|
1472
1471
|
])) : (g(), E(j, { key: 2 }, [
|
|
1473
|
-
|
|
1472
|
+
r(e) === "MY" ? (g(), w(T, {
|
|
1474
1473
|
key: 0,
|
|
1475
1474
|
modelValue: f.value,
|
|
1476
1475
|
"onUpdate:modelValue": U[0] || (U[0] = (V) => f.value = V),
|
|
@@ -1479,12 +1478,12 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
1479
1478
|
}, null, 8, ["modelValue"])) : $("", !0),
|
|
1480
1479
|
F.value ? (g(), w(R, {
|
|
1481
1480
|
key: 1,
|
|
1482
|
-
"model-value":
|
|
1481
|
+
"model-value": r(m),
|
|
1483
1482
|
"onUpdate:modelValue": U[1] || (U[1] = (V) => W(m) ? m.value = V : null),
|
|
1484
1483
|
class: "mb-6",
|
|
1485
1484
|
items: o.value
|
|
1486
1485
|
}, null, 8, ["model-value", "items"])) : $("", !0),
|
|
1487
|
-
F.value &&
|
|
1486
|
+
F.value && r(m) ? (g(), w(ae((M = d.value) == null ? void 0 : M.render), ne(oe({ key: 2 }, {
|
|
1488
1487
|
gateway: i.value.find(
|
|
1489
1488
|
(V) => {
|
|
1490
1489
|
var x;
|
|
@@ -1517,7 +1516,7 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
1517
1516
|
], 64);
|
|
1518
1517
|
};
|
|
1519
1518
|
}
|
|
1520
|
-
}),
|
|
1519
|
+
}), st = { class: "flex mt-6 space-x-6" }, rt = /* @__PURE__ */ D({
|
|
1521
1520
|
__name: "GooglePayToken",
|
|
1522
1521
|
props: {
|
|
1523
1522
|
gateway: {
|
|
@@ -1557,23 +1556,23 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
1557
1556
|
"onUpdate:modelValue": l[0] || (l[0] = (p) => e.value.gateway = p),
|
|
1558
1557
|
label: "Gateway",
|
|
1559
1558
|
disabled: !0,
|
|
1560
|
-
rules:
|
|
1559
|
+
rules: r(A)(r(N).string())
|
|
1561
1560
|
}, null, 8, ["modelValue", "rules"]),
|
|
1562
1561
|
n(t, {
|
|
1563
1562
|
modelValue: e.value.config.gateway,
|
|
1564
1563
|
"onUpdate:modelValue": l[1] || (l[1] = (p) => e.value.config.gateway = p),
|
|
1565
1564
|
label: "Gateway ID",
|
|
1566
1565
|
disabled: !0,
|
|
1567
|
-
rules:
|
|
1566
|
+
rules: r(A)(r(N).string())
|
|
1568
1567
|
}, null, 8, ["modelValue", "rules"]),
|
|
1569
1568
|
n(t, {
|
|
1570
1569
|
modelValue: e.value.config.gatewayMerchantId,
|
|
1571
1570
|
"onUpdate:modelValue": l[2] || (l[2] = (p) => e.value.config.gatewayMerchantId = p),
|
|
1572
1571
|
label: "Gateway Merchant ID",
|
|
1573
1572
|
disabled: !0,
|
|
1574
|
-
rules:
|
|
1573
|
+
rules: r(A)(r(N).string())
|
|
1575
1574
|
}, null, 8, ["modelValue", "rules"]),
|
|
1576
|
-
|
|
1575
|
+
s("div", st, [
|
|
1577
1576
|
a.gateway ? (g(), w(m, {
|
|
1578
1577
|
key: 0,
|
|
1579
1578
|
class: "flex-1",
|
|
@@ -1632,16 +1631,16 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
1632
1631
|
"onUpdate:modelValue": l[0] || (l[0] = (p) => e.value.gateway = p),
|
|
1633
1632
|
label: "Gateway",
|
|
1634
1633
|
disabled: !0,
|
|
1635
|
-
rules:
|
|
1634
|
+
rules: r(A)(r(N).string())
|
|
1636
1635
|
}, null, 8, ["modelValue", "rules"]),
|
|
1637
1636
|
n(t, {
|
|
1638
1637
|
modelValue: e.value.config.merchantId,
|
|
1639
1638
|
"onUpdate:modelValue": l[1] || (l[1] = (p) => e.value.config.merchantId = p),
|
|
1640
1639
|
label: "Merchant ID",
|
|
1641
1640
|
disabled: !0,
|
|
1642
|
-
rules:
|
|
1641
|
+
rules: r(A)(r(N).string())
|
|
1643
1642
|
}, null, 8, ["modelValue", "rules"]),
|
|
1644
|
-
|
|
1643
|
+
s("div", it, [
|
|
1645
1644
|
a.gateway ? (g(), w(m, {
|
|
1646
1645
|
key: 0,
|
|
1647
1646
|
class: "flex-1",
|
|
@@ -1680,7 +1679,7 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
1680
1679
|
label: "Google Pay",
|
|
1681
1680
|
value: "googlePay",
|
|
1682
1681
|
icon: "android",
|
|
1683
|
-
render:
|
|
1682
|
+
render: rt,
|
|
1684
1683
|
region: [_.F_COUNTRY.enum.MY, _.F_COUNTRY.enum.SG]
|
|
1685
1684
|
},
|
|
1686
1685
|
{
|
|
@@ -1713,24 +1712,24 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
1713
1712
|
var U;
|
|
1714
1713
|
const F = y("FmCircularProgress"), S = y("FmTabs");
|
|
1715
1714
|
return g(), E(j, null, [
|
|
1716
|
-
f[1] || (f[1] =
|
|
1717
|
-
|
|
1715
|
+
f[1] || (f[1] = s("p", { className: "mt-1 my-6 text-gray-600" }, [
|
|
1716
|
+
s("b", null, "Note: "),
|
|
1718
1717
|
h(" 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. "),
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1718
|
+
s("br"),
|
|
1719
|
+
s("br"),
|
|
1720
|
+
s("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. `),
|
|
1721
|
+
s("br")
|
|
1723
1722
|
], -1)),
|
|
1724
|
-
|
|
1723
|
+
r(b) ? (g(), E("div", ct, [
|
|
1725
1724
|
n(F, { size: "xxl" })
|
|
1726
1725
|
])) : (g(), w(S, {
|
|
1727
1726
|
key: 1,
|
|
1728
|
-
"model-value":
|
|
1727
|
+
"model-value": r(t),
|
|
1729
1728
|
"onUpdate:modelValue": f[0] || (f[0] = (I) => W(t) ? t.value = I : null),
|
|
1730
1729
|
class: "mb-6 mt-6",
|
|
1731
1730
|
items: d.value
|
|
1732
1731
|
}, null, 8, ["model-value", "items"])),
|
|
1733
|
-
|
|
1732
|
+
r(t) ? (g(), w(ae((U = i.value) == null ? void 0 : U.render), ne(oe({ key: 2 }, {
|
|
1734
1733
|
gateway: p.value.find((I) => {
|
|
1735
1734
|
var T;
|
|
1736
1735
|
return I.type === ((T = i.value) == null ? void 0 : T.value);
|
|
@@ -1752,7 +1751,7 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
1752
1751
|
], 64);
|
|
1753
1752
|
};
|
|
1754
1753
|
}
|
|
1755
|
-
}),
|
|
1754
|
+
}), Ut = /* @__PURE__ */ D({
|
|
1756
1755
|
__name: "PayoutAccountSetting",
|
|
1757
1756
|
props: {
|
|
1758
1757
|
accountId: {
|
|
@@ -1813,7 +1812,7 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
1813
1812
|
m.value = await G.readById(u.accountId);
|
|
1814
1813
|
});
|
|
1815
1814
|
}
|
|
1816
|
-
|
|
1815
|
+
re(i);
|
|
1817
1816
|
const d = Y(() => {
|
|
1818
1817
|
const o = p.reduce((c, f) => c || (f.children ? f.children.find((F) => F.value === e.value) || null : f.value === e.value ? f : null), null);
|
|
1819
1818
|
return o == null ? void 0 : o.render;
|
|
@@ -1823,17 +1822,17 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
1823
1822
|
const f = y("FmTabs");
|
|
1824
1823
|
return g(), w(pe, {
|
|
1825
1824
|
title: `Payout Account (${(F = m.value) == null ? void 0 : F._id})`,
|
|
1826
|
-
loading:
|
|
1827
|
-
onBack:
|
|
1825
|
+
loading: r(b),
|
|
1826
|
+
onBack: r(t).back
|
|
1828
1827
|
}, {
|
|
1829
1828
|
default: k(() => [
|
|
1830
1829
|
n(f, {
|
|
1831
|
-
"model-value":
|
|
1830
|
+
"model-value": r(e),
|
|
1832
1831
|
"onUpdate:modelValue": c[0] || (c[0] = (S) => W(e) ? e.value = S : null),
|
|
1833
1832
|
class: "mb-6",
|
|
1834
1833
|
items: p
|
|
1835
1834
|
}, null, 8, ["model-value"]),
|
|
1836
|
-
|
|
1835
|
+
r(e) ? (g(), w(ae(d.value), ne(oe({ key: 0 }, {
|
|
1837
1836
|
payoutAccount: m.value,
|
|
1838
1837
|
onUpdate: v
|
|
1839
1838
|
})), null, 16)) : $("", !0)
|
|
@@ -1844,5 +1843,5 @@ const ke = { class: "flex gap-16 mb-6" }, Ve = { class: "flex gap-16 mb-6" }, we
|
|
|
1844
1843
|
}
|
|
1845
1844
|
});
|
|
1846
1845
|
export {
|
|
1847
|
-
|
|
1846
|
+
Ut as default
|
|
1848
1847
|
};
|