@feedmepos/mf-payment 1.3.21 → 1.4.0
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-ZIeFW3ZH.js → OnboardForm-B3Ej-hV_.js} +16 -16
- package/dist/{OnboardForm-UC7FlAKc.js → OnboardForm-BUITPCLG.js} +2 -2
- package/dist/{OnboardSubmission-CGI_T8K6.js → OnboardSubmission-BoMaHHzE.js} +1 -1
- package/dist/{OnboardSubmission-CUqrOqBi.js → OnboardSubmission-C0yZsQjU.js} +1 -1
- package/dist/{PayoutAccount-D2eUU8Qa.js → PayoutAccount-Bz_X_FDJ.js} +3 -3
- package/dist/{PayoutAccount-pxoe0HM6.js → PayoutAccount-D55CjZse.js} +1 -1
- package/dist/{app-U8rab4vJ.js → app-CwgKwO4j.js} +7 -7
- package/dist/app.js +1 -1
- package/dist/{index-DJJFmavW.js → index-BM7OisOh.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-OFsbgQTk.js → payout-account-BNS0PTHj.js} +2 -2
- package/dist/{plugins-C0WdSJxl.js → plugins-DEpfQnZI.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -2,12 +2,12 @@ import { defineComponent as U, ref as D, computed as vf, resolveComponent as w,
|
|
2
2
|
import { z as d, a as s } from "./validator-D5jtpt9A.js";
|
3
3
|
import { P as jf, _ as bf } from "./PDFViewer-DlSCBBxr.js";
|
4
4
|
import { useCoreStore as xf } from "@feedmepos/mf-common";
|
5
|
-
import { o as F } from "./index-
|
5
|
+
import { o as F } from "./index-BM7OisOh.js";
|
6
6
|
import { p as af } from "./index-BWjmOoX3.js";
|
7
7
|
import { useSnackbar as df } from "@feedmepos/ui-library";
|
8
8
|
import { u as Af } from "./index-C4FfKmPS.js";
|
9
9
|
import { s as sf } from "./vue-signature-pad.esm-IXPjf4fL.js";
|
10
|
-
import { P as Lf } from "./payout-account-
|
10
|
+
import { P as Lf } from "./payout-account-BNS0PTHj.js";
|
11
11
|
import { useRouter as yf } from "vue-router";
|
12
12
|
const uf = { class: "flex" }, pf = { class: "justify-self-center" }, Df = ["src"], o = /* @__PURE__ */ U({
|
13
13
|
__name: "UploadButton",
|
@@ -246,7 +246,7 @@ const uf = { class: "flex" }, pf = { class: "justify-self-center" }, Df = ["src"
|
|
246
246
|
});
|
247
247
|
lf(() => {
|
248
248
|
L(async () => {
|
249
|
-
var V, f,
|
249
|
+
var V, f, i;
|
250
250
|
if (!a.value) {
|
251
251
|
b.open({
|
252
252
|
message: "Please select a restaurant before proceeding.",
|
@@ -254,16 +254,16 @@ const uf = { class: "flex" }, pf = { class: "justify-self-center" }, Df = ["src"
|
|
254
254
|
});
|
255
255
|
return;
|
256
256
|
}
|
257
|
-
u.submission && (y.value = await F.getById(u.submission, a.value._id), v.value = y.value.fields, t.value = y.value.documents), X.value = await af.readByRestaurantId(a.value._id), v.value.bankName = ((V = X.value.store.bank) == null ? void 0 : V.name) || "", v.value.bankAccountNo = ((f = X.value.store.bank) == null ? void 0 : f.accountNumber) || "", v.value.bankHolderName = ((
|
257
|
+
u.submission && (y.value = await F.getById(u.submission, a.value._id), v.value = y.value.fields, t.value = y.value.documents), X.value = await af.readByRestaurantId(a.value._id), v.value.bankName = ((V = X.value.store.bank) == null ? void 0 : V.name) || "", v.value.bankAccountNo = ((f = X.value.store.bank) == null ? void 0 : f.accountNumber) || "", v.value.bankHolderName = ((i = X.value.store.bank) == null ? void 0 : i.holderName) || "";
|
258
258
|
});
|
259
259
|
});
|
260
260
|
const Z = (V, f) => {
|
261
261
|
if (M.value[V] = f, f) {
|
262
|
-
const
|
263
|
-
|
264
|
-
var
|
265
|
-
t.value[V] = (
|
266
|
-
},
|
262
|
+
const i = new FileReader();
|
263
|
+
i.onload = (G) => {
|
264
|
+
var S;
|
265
|
+
t.value[V] = (S = G.target) == null ? void 0 : S.result;
|
266
|
+
}, i.readAsDataURL(f);
|
267
267
|
} else
|
268
268
|
t.value[V] = null;
|
269
269
|
}, ef = vf(() => r.value === 4 ? R.value && t.value.signature && t.value.companyStamp : r.value === 3 ? t.value.authorizedPersonID && t.value.outletPhoto && t.value.bankStatement && t.value.certificate : r.value < 4), nf = () => {
|
@@ -297,9 +297,9 @@ const uf = { class: "flex" }, pf = { class: "justify-self-center" }, Df = ["src"
|
|
297
297
|
r.value++;
|
298
298
|
};
|
299
299
|
return (V, f) => {
|
300
|
-
const
|
300
|
+
const i = w("FmPageHead"), G = w("FmCircularProgress"), S = w("FmStep"), tf = w("FmStepper"), p = w("FmTextField"), rf = w("FmPhoneNumber"), ff = w("FmSelect"), h = w("FmIcon"), zf = w("FmCheckbox"), Xf = w("FmButton"), Hf = w("FmForm");
|
301
301
|
return H(), N(C, null, [
|
302
|
-
P(
|
302
|
+
P(i, {
|
303
303
|
title: "FASSPAY MERCHANT APPLICATION FORM",
|
304
304
|
description: `The Merchant Acquiring Services Agreement (together with this Fasspay Merchant Application Form, Letter of Offer and all the Schedules including
|
305
305
|
its Appendices) (“Agreement”), is entered into by and between Fass Payment Solutions Sdn. Bhd. (“Fasspay”) with its principal place of business at
|
@@ -320,28 +320,28 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
320
320
|
orientation: "horizontal"
|
321
321
|
}, {
|
322
322
|
default: l(() => [
|
323
|
-
P(
|
323
|
+
P(S, {
|
324
324
|
title: "Outlet Information",
|
325
325
|
description: "Enter your outlet details.",
|
326
326
|
value: 1,
|
327
327
|
complete: () => r.value > 1,
|
328
328
|
disabled: () => r.value < 1
|
329
329
|
}, null, 8, ["complete", "disabled"]),
|
330
|
-
P(
|
330
|
+
P(S, {
|
331
331
|
title: "Payout Information",
|
332
332
|
description: "Enter your payout details.",
|
333
333
|
value: 2,
|
334
334
|
complete: () => r.value > 2,
|
335
335
|
disabled: () => r.value < 2
|
336
336
|
}, null, 8, ["complete", "disabled"]),
|
337
|
-
P(
|
337
|
+
P(S, {
|
338
338
|
title: "Legal Documents",
|
339
339
|
description: "Upload your legal documents.",
|
340
340
|
value: 3,
|
341
341
|
complete: () => r.value > 3,
|
342
342
|
disabled: () => r.value < 3
|
343
343
|
}, null, 8, ["complete", "disabled"]),
|
344
|
-
P(
|
344
|
+
P(S, {
|
345
345
|
title: "Declaration",
|
346
346
|
description: "Accept Terms & Conditions.",
|
347
347
|
value: 4,
|
@@ -574,7 +574,7 @@ Unit 15-15, Level 15 Q Sentral, 2A, Jalan Stesen Sentral 2, Kuala Lumpur Sentral
|
|
574
574
|
modelValue: t.value.interiorPhoto,
|
575
575
|
"onUpdate:modelValue": [
|
576
576
|
f[21] || (f[21] = (A) => t.value.interiorPhoto = A),
|
577
|
-
f[22] || (f[22] = (A) => Z("
|
577
|
+
f[22] || (f[22] = (A) => Z("interiorPhoto", A))
|
578
578
|
],
|
579
579
|
type: "image"
|
580
580
|
}, null, 8, ["modelValue"]),
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as $, ref as P, computed as O, resolveComponent as f, openBlock as y, createElementBlock as q, createElementVNode as s, toDisplayString as I, Fragment as z, createBlock as j, withCtx as c, createVNode as o, createCommentVNode as B, unref as e, createTextVNode as D, onMounted as X, resolveDynamicComponent as Z } from "vue";
|
2
|
-
import { o as T } from "./index-
|
2
|
+
import { o as T } from "./index-BM7OisOh.js";
|
3
3
|
import { u as M } from "./index-C4FfKmPS.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-BNS0PTHj.js";
|
7
7
|
import { P as le } from "./PDFViewer-DlSCBBxr.js";
|
8
8
|
import { s as te } from "./vue-signature-pad.esm-IXPjf4fL.js";
|
9
9
|
import { _ as ae } from "./Status.vue_vue_type_script_setup_true_lang-B7a304Y6.js";
|
@@ -3,7 +3,7 @@ import { _ as q } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js
|
|
3
3
|
import { u as G, p as J, e as L } from "./index-C4FfKmPS.js";
|
4
4
|
import { useI18n as K, useCoreStore as Q } from "@feedmepos/mf-common";
|
5
5
|
import { _ as X } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-DyLnqQYe.js";
|
6
|
-
import { o as Z } from "./index-
|
6
|
+
import { o as Z } from "./index-BM7OisOh.js";
|
7
7
|
import { useRouter as w } from "vue-router";
|
8
8
|
import { i as ss } from "./softspace-25X2bjBx.js";
|
9
9
|
const es = { class: "flex justify-left items-center mb-6" }, ts = { class: "grid grid-cols-3 gap-6" }, os = { class: "flex items-center" }, ns = ["src"], is = { class: "px-16 text-sm flex-grow" }, rs = { class: "list-disc pl-6" }, ms = {
|
@@ -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-BM7OisOh.js";
|
3
3
|
import { p as m } from "./index-C4FfKmPS.js";
|
4
4
|
import { _ as O } from "./index.vue_vue_type_script_setup_true_lang-v7o6C5Pg.js";
|
5
5
|
import { useRouter as F } from "vue-router";
|
@@ -3,12 +3,12 @@ import { p as K } from "./index-BWjmOoX3.js";
|
|
3
3
|
import { p as U, u as gA, e as lA } from "./index-C4FfKmPS.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-BNS0PTHj.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-CwgKwO4j.js";
|
11
|
+
import "./plugins-DEpfQnZI.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-ILoz50zh.js";
|
3
3
|
import { p as K } from "./index-C4FfKmPS.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-BNS0PTHj.js";
|
6
6
|
import { p as D } from "./index-BWjmOoX3.js";
|
7
7
|
import "@feedmepos/ui-library";
|
8
8
|
import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-v7o6C5Pg.js";
|
@@ -383,7 +383,7 @@ const Gn = {
|
|
383
383
|
sidebarDisplay: "Payout Accounts",
|
384
384
|
section: "payment-gateway"
|
385
385
|
},
|
386
|
-
component: () => import("./PayoutAccount-
|
386
|
+
component: () => import("./PayoutAccount-D55CjZse.js")
|
387
387
|
},
|
388
388
|
{
|
389
389
|
path: "/admin/payout-accounts/:accountId",
|
@@ -401,7 +401,7 @@ const Gn = {
|
|
401
401
|
sidebarDisplay: "Payment Onboarding",
|
402
402
|
section: "payment-gateway"
|
403
403
|
},
|
404
|
-
component: () => import("./OnboardSubmission-
|
404
|
+
component: () => import("./OnboardSubmission-C0yZsQjU.js")
|
405
405
|
},
|
406
406
|
{
|
407
407
|
path: "/admin/onboarding/:submissionId",
|
@@ -410,7 +410,7 @@ const Gn = {
|
|
410
410
|
meta: {
|
411
411
|
parent: "mf-payment-admin.onboard-submission"
|
412
412
|
},
|
413
|
-
component: () => import("./OnboardForm-
|
413
|
+
component: () => import("./OnboardForm-BUITPCLG.js")
|
414
414
|
},
|
415
415
|
{
|
416
416
|
path: "/admin/terminal/pos",
|
@@ -508,7 +508,7 @@ const Gn = {
|
|
508
508
|
{
|
509
509
|
path: "/payout-account",
|
510
510
|
name: "mf-payment-payout-account",
|
511
|
-
component: () => import("./PayoutAccount-
|
511
|
+
component: () => import("./PayoutAccount-Bz_X_FDJ.js"),
|
512
512
|
meta: {
|
513
513
|
sidebarDisplay: "i18n:payment.routes.payout_account"
|
514
514
|
}
|
@@ -516,7 +516,7 @@ const Gn = {
|
|
516
516
|
{
|
517
517
|
path: "/onboard-submission",
|
518
518
|
name: "mf-payment-onboard-submission",
|
519
|
-
component: () => import("./OnboardSubmission-
|
519
|
+
component: () => import("./OnboardSubmission-BoMaHHzE.js"),
|
520
520
|
meta: {
|
521
521
|
sidebarDisplay: "i18n:payment.routes.onboard_submission",
|
522
522
|
region: { MY: !0 }
|
@@ -526,7 +526,7 @@ const Gn = {
|
|
526
526
|
path: "/onboard-submission/:type/:submission?",
|
527
527
|
name: "mf-payment-onboard-submission-form",
|
528
528
|
props: !0,
|
529
|
-
component: () => import("./OnboardForm-
|
529
|
+
component: () => import("./OnboardForm-B3Ej-hV_.js"),
|
530
530
|
meta: {
|
531
531
|
parent: "mf-payment-onboard-submission"
|
532
532
|
}
|
@@ -6828,7 +6828,7 @@ const Ra = /* @__PURE__ */ Mt({
|
|
6828
6828
|
};
|
6829
6829
|
}
|
6830
6830
|
});
|
6831
|
-
var Ca = { authClientId: "
|
6831
|
+
var Ca = { authClientId: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: { apiKey: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", authDomain: "feedme-253402.firebaseapp.com", databaseURL: "https://feedme-253402.firebaseio.com", projectId: "feedme-253402", storageBucket: "image.feedme.cc", messagingSenderId: "128512026847", appId: "1:128512026847:web:7c5c8ab7e8b90502dc616a", measurementId: "G-LTKS7N2HQS" }, assetBucketUrl: "static.feedme.cc" };
|
6832
6832
|
const xa = /* @__PURE__ */ Mt({
|
6833
6833
|
__name: "App",
|
6834
6834
|
setup(n) {
|
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-DEpfQnZI.js";
|
2
2
|
import { c as st, a as it, B as at, p as E } from "./index-C4FfKmPS.js";
|
3
3
|
import { useCoreStore as ut } from "@feedmepos/mf-common";
|
4
|
-
import { _ as ot } from "./app-
|
4
|
+
import { _ as ot } from "./app-CwgKwO4j.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-CwgKwO4j.js";
|
2
2
|
/**
|
3
3
|
* @license
|
4
4
|
* Copyright 2017 Google LLC
|