@feedmepos/mf-payment 1.5.52-dev → 1.5.54-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/{OnboardForm-B3vBfHTj.js → OnboardForm-D924S9mQ.js} +1 -1
- package/dist/{OnboardForm-BtslgSp5.js → OnboardForm-Igt2ovw-.js} +1 -1
- package/dist/{OnboardSubmission-D1i7tUeJ.js → OnboardSubmission-D8aJPkMw.js} +101 -101
- package/dist/{OnboardSubmission-C1ppdHRu.js → OnboardSubmission-gps62Ktl.js} +32 -30
- package/dist/{PayoutAccount-TVQGDmi8.js → PayoutAccount-B2GxeB0d.js} +2 -2
- package/dist/{PayoutAccount-BgcUH3Lk.js → PayoutAccount-DzbgV3Wi.js} +1 -1
- package/dist/{app-BaSrnCcC.js → app-DE2K_1Zt.js} +12 -6
- package/dist/app.js +1 -1
- package/dist/package.json +2 -2
- package/dist/{payout-account-C6Z0yAIR.js → payout-account-DmrMAX3c.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as x, ref as w, watch as f, computed as y, resolveComponent as _, openBlock as
|
|
2
|
-
import { o as
|
|
3
|
-
import { p as
|
|
4
|
-
import { _ as
|
|
1
|
+
import { defineComponent as x, ref as w, watch as f, computed as y, resolveComponent as _, openBlock as F, createBlock as O, withCtx as b, createElementVNode as k, createVNode as m, isRef as n, unref as o, h as K } from "vue";
|
|
2
|
+
import { o as T } from "./index-DMhjy8uJ.js";
|
|
3
|
+
import { p as u } from "./index-BeeoiRHZ.js";
|
|
4
|
+
import { _ as R } from "./index.vue_vue_type_script_setup_true_lang-CL_J8vkd.js";
|
|
5
5
|
import { useRouter as D } from "vue-router";
|
|
6
6
|
import { _ as N } from "./AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js";
|
|
7
7
|
import { h as U } from "./moment-h96o7c8I.js";
|
|
@@ -11,20 +11,20 @@ import { _ as I } from "./Status.vue_vue_type_script_setup_true_lang-BESgeD2u.js
|
|
|
11
11
|
const Y = { class: "flex items-start mb-6" }, L = /* @__PURE__ */ x({
|
|
12
12
|
__name: "OnboardSubmission",
|
|
13
13
|
setup($) {
|
|
14
|
-
const
|
|
15
|
-
status: [
|
|
14
|
+
const i = w(), h = D(), { status: l, type: r, search: s } = C({
|
|
15
|
+
status: [u.FdoOnboardStatus.Enum.submitted],
|
|
16
16
|
type: "",
|
|
17
17
|
search: ""
|
|
18
18
|
});
|
|
19
|
-
f([l,
|
|
19
|
+
f([l, r], () => {
|
|
20
20
|
var e;
|
|
21
|
-
return (e =
|
|
21
|
+
return (e = i.value) == null ? void 0 : e.reset();
|
|
22
22
|
});
|
|
23
|
-
let
|
|
24
|
-
f(
|
|
25
|
-
|
|
23
|
+
let d;
|
|
24
|
+
f(s, () => {
|
|
25
|
+
d && clearTimeout(d), d = setTimeout(() => {
|
|
26
26
|
var e;
|
|
27
|
-
(e =
|
|
27
|
+
(e = i.value) == null || e.reset();
|
|
28
28
|
}, 700);
|
|
29
29
|
});
|
|
30
30
|
const g = function(e) {
|
|
@@ -75,7 +75,7 @@ const Y = { class: "flex items-start mb-6" }, L = /* @__PURE__ */ x({
|
|
|
75
75
|
meta: {
|
|
76
76
|
textAlign: "left"
|
|
77
77
|
},
|
|
78
|
-
cell: ({ cell: e }) =>
|
|
78
|
+
cell: ({ cell: e }) => K(I, { data: e.getValue() })
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
accessorKey: "updatedAt",
|
|
@@ -85,34 +85,34 @@ const Y = { class: "flex items-start mb-6" }, L = /* @__PURE__ */ x({
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
], V = y(
|
|
88
|
-
() =>
|
|
88
|
+
() => u.FdoOnboardType.options.map((e) => ({
|
|
89
89
|
label: e,
|
|
90
90
|
value: e
|
|
91
91
|
}))
|
|
92
92
|
), p = y(
|
|
93
|
-
() =>
|
|
93
|
+
() => u.FdoOnboardStatus.options.map((e) => ({
|
|
94
94
|
label: e,
|
|
95
95
|
value: e
|
|
96
96
|
}))
|
|
97
97
|
);
|
|
98
98
|
return (e, a) => {
|
|
99
99
|
const A = _("FmSearch"), c = _("FmSelect");
|
|
100
|
-
return
|
|
100
|
+
return F(), O(N, {
|
|
101
101
|
title: "Payment Onboarding",
|
|
102
102
|
loading: !1
|
|
103
103
|
}, {
|
|
104
104
|
default: b(() => [
|
|
105
|
-
|
|
105
|
+
k("div", Y, [
|
|
106
106
|
m(A, {
|
|
107
|
-
"model-value": o(
|
|
108
|
-
"onUpdate:modelValue": a[0] || (a[0] = (t) => n(
|
|
107
|
+
"model-value": o(s),
|
|
108
|
+
"onUpdate:modelValue": a[0] || (a[0] = (t) => n(s) ? s.value = t : null),
|
|
109
109
|
class: "mr-6",
|
|
110
110
|
label: "Search",
|
|
111
111
|
placeholder: "Search Restaurant ID"
|
|
112
112
|
}, null, 8, ["model-value"]),
|
|
113
113
|
m(c, {
|
|
114
|
-
modelValue: o(
|
|
115
|
-
"onUpdate:modelValue": a[1] || (a[1] = (t) => n(
|
|
114
|
+
modelValue: o(r),
|
|
115
|
+
"onUpdate:modelValue": a[1] || (a[1] = (t) => n(r) ? r.value = t : null),
|
|
116
116
|
class: "mr-6 w-[128px]",
|
|
117
117
|
label: "Type",
|
|
118
118
|
"label-mark": "required",
|
|
@@ -137,18 +137,20 @@ const Y = { class: "flex items-start mb-6" }, L = /* @__PURE__ */ x({
|
|
|
137
137
|
_: 1
|
|
138
138
|
}, 8, ["modelValue", "items"])
|
|
139
139
|
]),
|
|
140
|
-
m(
|
|
140
|
+
m(R, {
|
|
141
141
|
ref_key: "controller",
|
|
142
|
-
ref:
|
|
142
|
+
ref: i,
|
|
143
143
|
"column-defs": v,
|
|
144
144
|
"rows-defs": g,
|
|
145
|
-
paginate: (t, S) => o(
|
|
146
|
-
onRowClick: a[4] || (a[4] = (t) =>
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
145
|
+
paginate: (t, S) => o(T).read({ status: o(l), type: o(r), limit: t, cursor: S, search: o(s) }),
|
|
146
|
+
onRowClick: a[4] || (a[4] = (t) => {
|
|
147
|
+
t.type !== o(u.FdoOnboardType).enum.tyro && o(h).push({
|
|
148
|
+
name: "mf-payment-admin.onboard-submission-form",
|
|
149
|
+
params: {
|
|
150
|
+
submissionId: t._id
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
})
|
|
152
154
|
}, null, 8, ["paginate"])
|
|
153
155
|
]),
|
|
154
156
|
_: 1
|
|
@@ -3,7 +3,7 @@ import { defineStore as rA, storeToRefs as lA } from "pinia";
|
|
|
3
3
|
import { p as J } from "./index-BKbdCXBS.js";
|
|
4
4
|
import { p as v, u as nA, e as cA } from "./index-BeeoiRHZ.js";
|
|
5
5
|
import { useI18n as L, useCoreStore as sA } from "@feedmepos/mf-common";
|
|
6
|
-
import { c as BA, a as AA, P as k } from "./payout-account-
|
|
6
|
+
import { c as BA, a as AA, P as k } from "./payout-account-DmrMAX3c.js";
|
|
7
7
|
import { useDialogChild as uA, useDialog as wA } from "@feedmepos/ui-library";
|
|
8
8
|
import { z as q, a as F } from "./validator-DzjyJnvv.js";
|
|
9
9
|
import { P as tA } from "./PDFViewer-CIPPbzWD.js";
|
|
@@ -668,7 +668,7 @@ const mA = rA("mf-payment-payoutAccount", {
|
|
|
668
668
|
}), zA = {
|
|
669
669
|
key: 1,
|
|
670
670
|
class: "flex items-center justify-center min-h-[80vh]"
|
|
671
|
-
}, UA = { class: "
|
|
671
|
+
}, UA = { class: "mr-6 lg:block lg:w-1/6" }, hA = ["src"], KA = { class: "w-full max-w-lg text-left" }, JA = { class: "py-4" }, kA = { class: "flex justify-end items-center mb-6" }, RA = { class: "flex space-x-4 items-center" }, r2 = /* @__PURE__ */ j({
|
|
672
672
|
__name: "PayoutAccount",
|
|
673
673
|
setup(e) {
|
|
674
674
|
const { currentBusiness: B, restaurants: s } = sA(), { isLoading: V, startAsyncCall: b } = nA(!0), M = Z(!0), { t } = L(), E = wA(), o = mA(), { getBusinessPayoutAccounts: g } = lA(o), Q = U(() => s.value.filter(
|
|
@@ -2,7 +2,7 @@ import { defineComponent as _, resolveComponent as p, openBlock as y, createBloc
|
|
|
2
2
|
import { u as K } from "./index-Kpua9F5o.js";
|
|
3
3
|
import { p as D } from "./index-BeeoiRHZ.js";
|
|
4
4
|
import { _ as $ } from "./AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js";
|
|
5
|
-
import { P } from "./payout-account-
|
|
5
|
+
import { P } from "./payout-account-DmrMAX3c.js";
|
|
6
6
|
import { p as A } from "./index-BKbdCXBS.js";
|
|
7
7
|
import "@feedmepos/ui-library";
|
|
8
8
|
import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-CL_J8vkd.js";
|
|
@@ -182,6 +182,8 @@ const Kn = {
|
|
|
182
182
|
},
|
|
183
183
|
edit: "Edit Submission",
|
|
184
184
|
apply: "Apply",
|
|
185
|
+
authorize: "Authorize",
|
|
186
|
+
reauthorize: "Re-authorize",
|
|
185
187
|
note: "Review Notes",
|
|
186
188
|
softspace: {
|
|
187
189
|
description: "Enable SoftPOS and QR payments for in-store transactions.",
|
|
@@ -569,6 +571,8 @@ const Kn = {
|
|
|
569
571
|
},
|
|
570
572
|
edit: "แก้ไขคำขอ",
|
|
571
573
|
apply: "สมัคร",
|
|
574
|
+
authorize: "อนุญาต",
|
|
575
|
+
reauthorize: "อนุญาตใหม่",
|
|
572
576
|
note: "หมายเหตุการตรวจสอบ",
|
|
573
577
|
softspace: {
|
|
574
578
|
description: "เปิดใช้งาน SoftPOS และการชำระเงินด้วย QR สำหรับธุรกรรมหน้าร้าน",
|
|
@@ -950,6 +954,8 @@ const Kn = {
|
|
|
950
954
|
},
|
|
951
955
|
edit: "编辑提交",
|
|
952
956
|
apply: "申请",
|
|
957
|
+
authorize: "授权",
|
|
958
|
+
reauthorize: "重新授权",
|
|
953
959
|
note: "审核备注",
|
|
954
960
|
softspace: {
|
|
955
961
|
description: "启用 SoftPOS 和二维码支付用于店内交易。",
|
|
@@ -1186,7 +1192,7 @@ const Kn = {
|
|
|
1186
1192
|
sidebarDisplay: "Payout Accounts",
|
|
1187
1193
|
section: "payment-gateway"
|
|
1188
1194
|
},
|
|
1189
|
-
component: () => import("./PayoutAccount-
|
|
1195
|
+
component: () => import("./PayoutAccount-DzbgV3Wi.js")
|
|
1190
1196
|
},
|
|
1191
1197
|
{
|
|
1192
1198
|
path: "/admin/payout-accounts/:accountId",
|
|
@@ -1204,7 +1210,7 @@ const Kn = {
|
|
|
1204
1210
|
sidebarDisplay: "Payment Onboarding",
|
|
1205
1211
|
section: "payment-gateway"
|
|
1206
1212
|
},
|
|
1207
|
-
component: () => import("./OnboardSubmission-
|
|
1213
|
+
component: () => import("./OnboardSubmission-gps62Ktl.js")
|
|
1208
1214
|
},
|
|
1209
1215
|
{
|
|
1210
1216
|
path: "/admin/onboarding/:submissionId",
|
|
@@ -1213,7 +1219,7 @@ const Kn = {
|
|
|
1213
1219
|
meta: {
|
|
1214
1220
|
parent: "mf-payment-admin.onboard-submission"
|
|
1215
1221
|
},
|
|
1216
|
-
component: () => import("./OnboardForm-
|
|
1222
|
+
component: () => import("./OnboardForm-Igt2ovw-.js")
|
|
1217
1223
|
},
|
|
1218
1224
|
{
|
|
1219
1225
|
path: "/admin/terminal/pos",
|
|
@@ -1319,7 +1325,7 @@ const Kn = {
|
|
|
1319
1325
|
{
|
|
1320
1326
|
path: "/payout-account",
|
|
1321
1327
|
name: "mf-payment-payout-account",
|
|
1322
|
-
component: () => import("./PayoutAccount-
|
|
1328
|
+
component: () => import("./PayoutAccount-B2GxeB0d.js"),
|
|
1323
1329
|
meta: {
|
|
1324
1330
|
sidebarDisplay: "i18n:payment.routes.payout_account"
|
|
1325
1331
|
}
|
|
@@ -1327,7 +1333,7 @@ const Kn = {
|
|
|
1327
1333
|
{
|
|
1328
1334
|
path: "/onboard-submission",
|
|
1329
1335
|
name: "mf-payment-onboard-submission",
|
|
1330
|
-
component: () => import("./OnboardSubmission-
|
|
1336
|
+
component: () => import("./OnboardSubmission-D8aJPkMw.js"),
|
|
1331
1337
|
meta: {
|
|
1332
1338
|
sidebarDisplay: "i18n:payment.routes.onboard_submission",
|
|
1333
1339
|
region: { MY: !0, TH: !0, AU: !0 }
|
|
@@ -1337,7 +1343,7 @@ const Kn = {
|
|
|
1337
1343
|
path: "/onboard-submission/:type/:submission?",
|
|
1338
1344
|
name: "mf-payment-onboard-submission-form",
|
|
1339
1345
|
props: !0,
|
|
1340
|
-
component: () => import("./OnboardForm-
|
|
1346
|
+
component: () => import("./OnboardForm-D924S9mQ.js"),
|
|
1341
1347
|
meta: {
|
|
1342
1348
|
parent: "mf-payment-onboard-submission"
|
|
1343
1349
|
}
|
package/dist/app.js
CHANGED
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as st, c as it, p as E, B as at } from "./index-BeeoiRHZ.js";
|
|
2
2
|
import { useCoreStore as ut } from "@feedmepos/mf-common";
|
|
3
3
|
import { d as H } from "./index-B8KU4_R2.js";
|
|
4
|
-
import { _ as ot } from "./app-
|
|
4
|
+
import { _ as ot } from "./app-DE2K_1Zt.js";
|
|
5
5
|
var Q = { exports: {} };
|
|
6
6
|
(function(i, a) {
|
|
7
7
|
(function(t, m) {
|