@feedmepos/mf-payment 1.2.31 → 1.2.32
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-BYg_c2SU.js → OnboardForm-C6PtSsCN.js} +24 -23
- package/dist/{OnboardForm-o7R9cvkb.js → OnboardForm-DzKMzOTu.js} +2 -2
- package/dist/{OnboardSubmission-C8xv5IM5.js → OnboardSubmission-BJd4ad6M.js} +1 -1
- package/dist/{OnboardSubmission-dF9rYw0v.js → OnboardSubmission-ZXMWLseU.js} +1 -1
- package/dist/{PayoutAccount-DD130QQ8.js → PayoutAccount-CXACf-wl.js} +3 -3
- package/dist/{PayoutAccount-BdycCvTK.js → PayoutAccount-DuxyDGjW.js} +1 -1
- package/dist/{app-DlXv8aCe.js → app-Diwu0mTm.js} +6 -6
- package/dist/app.js +1 -1
- package/dist/{index-fIckJxVg.js → index-kKYhoPJ0.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-Bxz-8KNR.js → payout-account-BruzOhyM.js} +2 -2
- package/dist/{plugins-XkCbEIqR.js → plugins-1r8hV_Pp.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -1,12 +1,12 @@
|
|
1
|
-
import { defineComponent as O, ref as V, computed as Z, resolveComponent as v, openBlock as u, createElementBlock as F, createElementVNode as d, toDisplayString as ee, Fragment as $, createBlock as w, withCtx as
|
1
|
+
import { defineComponent as O, ref as V, computed as Z, resolveComponent as v, openBlock as u, createElementBlock as F, createElementVNode as d, toDisplayString as ee, Fragment as $, createBlock as w, withCtx as q, createVNode as n, createCommentVNode as y, onMounted as se, unref as o, createTextVNode as z, resolveDynamicComponent as ue } from "vue";
|
2
2
|
import { z as p, a as c } from "./validator-D5jtpt9A.js";
|
3
3
|
import { P as de, _ as me } from "./PDFViewer-DlSCBBxr.js";
|
4
4
|
import { useCoreStore as pe } from "@feedmepos/mf-common";
|
5
|
-
import { o as L } from "./index-
|
5
|
+
import { o as L } from "./index-kKYhoPJ0.js";
|
6
6
|
import { p as ce } from "./index-DoD23lHB.js";
|
7
7
|
import { useSnackbar as ve } from "@feedmepos/ui-library";
|
8
8
|
import { u as X } from "./index-BasdAonL.js";
|
9
|
-
import { P as ye } from "./payout-account-
|
9
|
+
import { P as ye } from "./payout-account-BruzOhyM.js";
|
10
10
|
import { useRouter as be } from "vue-router";
|
11
11
|
const fe = ["src"], R = /* @__PURE__ */ O({
|
12
12
|
__name: "UploadButton",
|
@@ -19,13 +19,13 @@ const fe = ["src"], R = /* @__PURE__ */ O({
|
|
19
19
|
setup(D, { emit: N }) {
|
20
20
|
const P = D, b = V(P.modelValue), g = N, I = (k) => {
|
21
21
|
const C = new FileReader();
|
22
|
-
C.onload = (
|
22
|
+
C.onload = (x) => {
|
23
23
|
var f;
|
24
|
-
b.value = (f =
|
24
|
+
b.value = (f = x.target) == null ? void 0 : f.result, g("update:modelValue", k);
|
25
25
|
}, C.readAsDataURL(k);
|
26
26
|
}, A = Z(() => P.type === "image" ? ".png, .jpg, .jpeg" : ".pdf");
|
27
27
|
return (k, C) => {
|
28
|
-
const
|
28
|
+
const x = v("FmButton"), f = v("FmDialog"), s = v("FmDropField");
|
29
29
|
return u(), F("div", null, [
|
30
30
|
d("p", null, ee(k.label), 1),
|
31
31
|
b.value ? (u(), F($, { key: 0 }, [
|
@@ -33,17 +33,17 @@ const fe = ["src"], R = /* @__PURE__ */ O({
|
|
33
33
|
key: 0,
|
34
34
|
'"': ""
|
35
35
|
}, {
|
36
|
-
"dialog-button":
|
37
|
-
n(
|
36
|
+
"dialog-button": q(() => [
|
37
|
+
n(x, {
|
38
38
|
class: "mt-4",
|
39
39
|
"prepend-icon": "preview",
|
40
40
|
label: "Preview"
|
41
41
|
})
|
42
42
|
]),
|
43
|
-
"dialog-header":
|
43
|
+
"dialog-header": q(() => C[1] || (C[1] = [
|
44
44
|
d("div", null, "Document Preview", -1)
|
45
45
|
])),
|
46
|
-
default:
|
46
|
+
default: q(() => [
|
47
47
|
n(de, {
|
48
48
|
height: 450,
|
49
49
|
pdf: b.value,
|
@@ -58,7 +58,7 @@ const fe = ["src"], R = /* @__PURE__ */ O({
|
|
58
58
|
src: b.value
|
59
59
|
}, null, 8, fe)) : y("", !0)
|
60
60
|
], 64)) : y("", !0),
|
61
|
-
b.value ? (u(), w(
|
61
|
+
b.value ? (u(), w(x, {
|
62
62
|
key: 1,
|
63
63
|
class: "mt-4 w-full",
|
64
64
|
"prepend-icon": "delete",
|
@@ -69,6 +69,7 @@ const fe = ["src"], R = /* @__PURE__ */ O({
|
|
69
69
|
})
|
70
70
|
})) : (u(), w(s, {
|
71
71
|
key: 2,
|
72
|
+
"max-file-size": 2097152,
|
72
73
|
accept: A.value,
|
73
74
|
onFileUpload: I
|
74
75
|
}, null, 8, ["accept"]))
|
@@ -96,7 +97,7 @@ const fe = ["src"], R = /* @__PURE__ */ O({
|
|
96
97
|
E[i] = B.charCodeAt(i);
|
97
98
|
return new File([E], s, { type: m });
|
98
99
|
}
|
99
|
-
const
|
100
|
+
const x = function() {
|
100
101
|
const { isEmpty: f, data: s } = A.value.saveSignature();
|
101
102
|
if (f)
|
102
103
|
return I.value = !0;
|
@@ -127,17 +128,17 @@ const fe = ["src"], R = /* @__PURE__ */ O({
|
|
127
128
|
modelValue: k.value,
|
128
129
|
"onUpdate:modelValue": s[2] || (s[2] = (i) => k.value = i)
|
129
130
|
}, {
|
130
|
-
"dialog-button":
|
131
|
+
"dialog-button": q(() => [
|
131
132
|
n(l, {
|
132
133
|
"prepend-icon": "signature",
|
133
134
|
class: "w-full",
|
134
135
|
label: "Signature"
|
135
136
|
})
|
136
137
|
]),
|
137
|
-
"dialog-header":
|
138
|
+
"dialog-header": q(() => s[3] || (s[3] = [
|
138
139
|
d("div", null, "Signature Board", -1)
|
139
140
|
])),
|
140
|
-
default:
|
141
|
+
default: q(() => [
|
141
142
|
n(m, {
|
142
143
|
ref_key: "signaturePad",
|
143
144
|
ref: A,
|
@@ -156,7 +157,7 @@ const fe = ["src"], R = /* @__PURE__ */ O({
|
|
156
157
|
n(l, {
|
157
158
|
label: "Save",
|
158
159
|
"prepend-icon": "save",
|
159
|
-
onClick:
|
160
|
+
onClick: x
|
160
161
|
})
|
161
162
|
])
|
162
163
|
]),
|
@@ -168,7 +169,7 @@ const fe = ["src"], R = /* @__PURE__ */ O({
|
|
168
169
|
}), Se = {
|
169
170
|
key: 0,
|
170
171
|
class: "grid grid-cols-4 gap-24"
|
171
|
-
}, Fe = { class: "col-span-2" }, Ne = { class: "col-span-2" }, Ce = { class: "col-span-2" }, we = { class: "col-span-2" }, Pe = { class: "col-span-2" }, Ie = { class: "col-span-2" }, Ae = { class: "col-start-1 col-span-2" },
|
172
|
+
}, Fe = { class: "col-span-2" }, Ne = { class: "col-span-2" }, Ce = { class: "col-span-2" }, we = { class: "col-span-2" }, Pe = { class: "col-span-2" }, Ie = { class: "col-span-2" }, Ae = { class: "col-start-1 col-span-2" }, xe = { class: "col-span-2" }, qe = { class: "col-span-2" }, _e = { class: "col-span-2" }, Te = {
|
172
173
|
key: 1,
|
173
174
|
class: "grid grid-cols-4 gap-24"
|
174
175
|
}, Ue = {
|
@@ -181,7 +182,7 @@ const fe = ["src"], R = /* @__PURE__ */ O({
|
|
181
182
|
},
|
182
183
|
setup(D) {
|
183
184
|
var j, H, K, Y, J, Q;
|
184
|
-
const { currentRestaurant: N, sessionUser: P } = pe(), b = ve(), g = D, I = be(), { isLoading: A, startAsyncCall: k } = X(!1), { isLoading: C, startAsyncCall:
|
185
|
+
const { currentRestaurant: N, sessionUser: P } = pe(), b = ve(), g = D, I = be(), { isLoading: A, startAsyncCall: k } = X(!1), { isLoading: C, startAsyncCall: x } = X(!1), f = V(null), s = V(null), l = N.value, m = P.value, B = V(), i = V(1), E = V(!1), a = V({
|
185
186
|
bankName: ((H = (j = s.value) == null ? void 0 : j.store.bank) == null ? void 0 : H.name) || "",
|
186
187
|
bankAccountNo: ((Y = (K = s.value) == null ? void 0 : K.store.bank) == null ? void 0 : Y.accountNumber) || "",
|
187
188
|
bankHolderName: ((Q = (J = s.value) == null ? void 0 : J.store.bank) == null ? void 0 : Q.holderName) || "",
|
@@ -237,7 +238,7 @@ const fe = ["src"], R = /* @__PURE__ */ O({
|
|
237
238
|
r.value[S] = null;
|
238
239
|
}, te = Z(() => i.value === 4 ? E.value && r.value.signature && r.value.companyStamp : i.value === 3 ? r.value.authorizedPersonID && r.value.outletPhoto && r.value.bankStatement && r.value.certificate : i.value < 4), ae = () => {
|
239
240
|
if (i.value === 4)
|
240
|
-
return
|
241
|
+
return x(async () => {
|
241
242
|
try {
|
242
243
|
for (const S of Object.keys(M.value)) {
|
243
244
|
const e = M.value[S];
|
@@ -288,7 +289,7 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
288
289
|
class: "px-16 pb-16",
|
289
290
|
orientation: "horizontal"
|
290
291
|
}, {
|
291
|
-
default:
|
292
|
+
default: q(() => [
|
292
293
|
n(U, {
|
293
294
|
title: "Outlet Information",
|
294
295
|
description: "Enter your outlet details.",
|
@@ -327,7 +328,7 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
327
328
|
onValidationSuccess: ae,
|
328
329
|
class: "px-24 pb-24"
|
329
330
|
}, {
|
330
|
-
default:
|
331
|
+
default: q(() => [
|
331
332
|
i.value === 1 ? (u(), F("div", Se, [
|
332
333
|
d("div", Fe, [
|
333
334
|
n(h, {
|
@@ -430,7 +431,7 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
430
431
|
]
|
431
432
|
}, null, 8, ["modelValue", "rules"])
|
432
433
|
]),
|
433
|
-
d("div",
|
434
|
+
d("div", xe, [
|
434
435
|
n(h, {
|
435
436
|
modelValue: a.value.businessRegNo,
|
436
437
|
"onUpdate:modelValue": e[11] || (e[11] = (t) => a.value.businessRegNo = t),
|
@@ -440,7 +441,7 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
440
441
|
rules: o(p)(o(c).string().min(1, "Reg No is required"))
|
441
442
|
}, null, 8, ["modelValue", "rules"])
|
442
443
|
]),
|
443
|
-
d("div",
|
444
|
+
d("div", qe, [
|
444
445
|
n(h, {
|
445
446
|
modelValue: a.value.tinNo,
|
446
447
|
"onUpdate:modelValue": e[12] || (e[12] = (t) => a.value.tinNo = t),
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as $, ref as w, computed as L, resolveComponent as y, openBlock as v, createElementBlock as N, createElementVNode as a, toDisplayString as D, Fragment as z, createBlock as _, withCtx as c, createVNode as n, createCommentVNode as E, unref as e, createTextVNode as I, onMounted as X, resolveDynamicComponent as Z } from "vue";
|
2
|
-
import { o as j } from "./index-
|
2
|
+
import { o as j } from "./index-kKYhoPJ0.js";
|
3
3
|
import { u as M } from "./index-BasdAonL.js";
|
4
4
|
import { useRouter as h } from "vue-router";
|
5
5
|
import { z as u, a as d } from "./validator-D5jtpt9A.js";
|
6
|
-
import { P as ee } from "./payout-account-
|
6
|
+
import { P as ee } from "./payout-account-BruzOhyM.js";
|
7
7
|
import { P as le } from "./PDFViewer-DlSCBBxr.js";
|
8
8
|
import { _ as te } from "./Status.vue_vue_type_script_setup_true_lang-wrcEbNj3.js";
|
9
9
|
import { useSnackbar as J } from "@feedmepos/ui-library";
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { defineComponent as A, ref as V, watch as v, computed as p, resolveComponent as x, openBlock as h, createBlock as w, withCtx as f, createElementVNode as S, createVNode as r, unref as l, isRef as n, h as k } from "vue";
|
2
|
-
import { o as K } from "./index-
|
2
|
+
import { o as K } from "./index-kKYhoPJ0.js";
|
3
3
|
import { p as m } from "./index-BasdAonL.js";
|
4
4
|
import { _ as O } from "./index.vue_vue_type_script_setup_true_lang-D4bLM6th.js";
|
5
5
|
import { useRouter as F } from "vue-router";
|
@@ -3,7 +3,7 @@ import { _ as W } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js
|
|
3
3
|
import { u as q, p as G, e as S } from "./index-BasdAonL.js";
|
4
4
|
import { useI18n as J, useCoreStore as K } from "@feedmepos/mf-common";
|
5
5
|
import { _ as Q } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-DyLnqQYe.js";
|
6
|
-
import { o as X } from "./index-
|
6
|
+
import { o as X } from "./index-kKYhoPJ0.js";
|
7
7
|
import { useRouter as Z } from "vue-router";
|
8
8
|
import { i as w } from "./softspace-25X2bjBx.js";
|
9
9
|
const ss = { class: "flex justify-left items-center mb-6" }, es = { class: "grid grid-cols-3 gap-6" }, ts = { class: "flex items-center" }, os = ["src"], ns = { class: "px-16 text-sm flex-grow" }, is = { class: "list-disc pl-6" }, rs = {
|
@@ -3,12 +3,12 @@ import { p as K } from "./index-DoD23lHB.js";
|
|
3
3
|
import { p as U, u as gA, e as lA } from "./index-BasdAonL.js";
|
4
4
|
import { defineStore as rA } from "pinia";
|
5
5
|
import { useI18n as R, useCoreStore as eA } from "@feedmepos/mf-common";
|
6
|
-
import { c as cA, a as _, P as J } from "./payout-account-
|
6
|
+
import { c as cA, a as _, P as J } from "./payout-account-BruzOhyM.js";
|
7
7
|
import { useDialogChild as nA, useDialog as BA } from "@feedmepos/ui-library";
|
8
8
|
import { z as F, a as H } from "./validator-D5jtpt9A.js";
|
9
9
|
import { P as $ } from "./PDFViewer-DlSCBBxr.js";
|
10
|
-
import "./app-
|
11
|
-
import "./plugins-
|
10
|
+
import "./app-Diwu0mTm.js";
|
11
|
+
import "./plugins-1r8hV_Pp.js";
|
12
12
|
import { _ as uA } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
13
13
|
function wA() {
|
14
14
|
return {
|
@@ -2,7 +2,7 @@ import { defineComponent as y, resolveComponent as u, openBlock as h, createBloc
|
|
2
2
|
import { u as O } from "./index-DGF3hKwg.js";
|
3
3
|
import { p as K } from "./index-BasdAonL.js";
|
4
4
|
import { _ as A } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
|
5
|
-
import { P as V } from "./payout-account-
|
5
|
+
import { P as V } from "./payout-account-BruzOhyM.js";
|
6
6
|
import { p as D } from "./index-DoD23lHB.js";
|
7
7
|
import "@feedmepos/ui-library";
|
8
8
|
import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-D4bLM6th.js";
|
@@ -373,7 +373,7 @@ const Gn = {
|
|
373
373
|
sidebarDisplay: "Payout Accounts",
|
374
374
|
section: "payment-gateway"
|
375
375
|
},
|
376
|
-
component: () => import("./PayoutAccount-
|
376
|
+
component: () => import("./PayoutAccount-DuxyDGjW.js")
|
377
377
|
},
|
378
378
|
{
|
379
379
|
path: "/admin/payout-accounts/:accountId",
|
@@ -391,7 +391,7 @@ const Gn = {
|
|
391
391
|
sidebarDisplay: "Payment Onboarding",
|
392
392
|
section: "payment-gateway"
|
393
393
|
},
|
394
|
-
component: () => import("./OnboardSubmission-
|
394
|
+
component: () => import("./OnboardSubmission-BJd4ad6M.js")
|
395
395
|
},
|
396
396
|
{
|
397
397
|
path: "/admin/onboarding/:submissionId",
|
@@ -400,7 +400,7 @@ const Gn = {
|
|
400
400
|
meta: {
|
401
401
|
parent: "mf-payment-admin.onboard-submission"
|
402
402
|
},
|
403
|
-
component: () => import("./OnboardForm-
|
403
|
+
component: () => import("./OnboardForm-DzKMzOTu.js")
|
404
404
|
},
|
405
405
|
{
|
406
406
|
path: "/admin/terminal/pos",
|
@@ -498,7 +498,7 @@ const Gn = {
|
|
498
498
|
{
|
499
499
|
path: "/payout-account",
|
500
500
|
name: "mf-payment-payout-account",
|
501
|
-
component: () => import("./PayoutAccount-
|
501
|
+
component: () => import("./PayoutAccount-CXACf-wl.js"),
|
502
502
|
meta: {
|
503
503
|
sidebarDisplay: "i18n:payment.routes.payout_account"
|
504
504
|
}
|
@@ -506,7 +506,7 @@ const Gn = {
|
|
506
506
|
{
|
507
507
|
path: "/onboard-submission",
|
508
508
|
name: "mf-payment-onboard-submission",
|
509
|
-
component: () => import("./OnboardSubmission-
|
509
|
+
component: () => import("./OnboardSubmission-ZXMWLseU.js"),
|
510
510
|
meta: {
|
511
511
|
sidebarDisplay: "i18n:payment.routes.onboard_submission"
|
512
512
|
}
|
@@ -515,7 +515,7 @@ const Gn = {
|
|
515
515
|
path: "/onboard-submission/:type/:submission?",
|
516
516
|
name: "mf-payment-onboard-submission-form",
|
517
517
|
props: !0,
|
518
|
-
component: () => import("./OnboardForm-
|
518
|
+
component: () => import("./OnboardForm-C6PtSsCN.js"),
|
519
519
|
meta: {
|
520
520
|
parent: "mf-payment-onboard-submission"
|
521
521
|
}
|
package/dist/app.js
CHANGED
package/dist/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import { f as j } from "./plugins-
|
1
|
+
import { f as j } from "./plugins-1r8hV_Pp.js";
|
2
2
|
import { c as st, a as it, B as at, p as E } from "./index-BasdAonL.js";
|
3
3
|
import { useCoreStore as ut } from "@feedmepos/mf-common";
|
4
|
-
import { _ as ot } from "./app-
|
4
|
+
import { _ as ot } from "./app-Diwu0mTm.js";
|
5
5
|
var Q = { exports: {} };
|
6
6
|
(function(i, a) {
|
7
7
|
(function(t, m) {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a as be, C as we, r as K, g as C, b as Te, c as ye, d as H, S as ke, e as Ee, F as Ae } from "./app-
|
1
|
+
import { a as be, C as we, r as K, g as C, b as Te, c as ye, d as H, S as ke, e as Ee, F as Ae } from "./app-Diwu0mTm.js";
|
2
2
|
/**
|
3
3
|
* @license
|
4
4
|
* Copyright 2017 Google LLC
|