@feedmepos/mf-payment 1.3.21 → 1.3.22

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.
@@ -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-DJJFmavW.js";
5
+ import { o as F } from "./index-DD6Cz4Kr.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-OFsbgQTk.js";
10
+ import { P as Lf } from "./payout-account-CadaCGj0.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, S;
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 = ((S = X.value.store.bank) == null ? void 0 : S.holderName) || "";
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 S = new FileReader();
263
- S.onload = (G) => {
264
- var i;
265
- t.value[V] = (i = G.target) == null ? void 0 : i.result;
266
- }, S.readAsDataURL(f);
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 S = w("FmPageHead"), G = w("FmCircularProgress"), i = 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");
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(S, {
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(i, {
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(i, {
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(i, {
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(i, {
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("outletPhoto", A))
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-DJJFmavW.js";
2
+ import { o as T } from "./index-DD6Cz4Kr.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-OFsbgQTk.js";
6
+ import { P as ee } from "./payout-account-CadaCGj0.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";
@@ -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-DJJFmavW.js";
2
+ import { o as K } from "./index-DD6Cz4Kr.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,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-DJJFmavW.js";
6
+ import { o as Z } from "./index-DD6Cz4Kr.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 = {
@@ -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-OFsbgQTk.js";
5
+ import { P as V } from "./payout-account-CadaCGj0.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";
@@ -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-OFsbgQTk.js";
6
+ import { c as cA, a as _, P as J } from "./payout-account-CadaCGj0.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-U8rab4vJ.js";
11
- import "./plugins-C0WdSJxl.js";
10
+ import "./app-PoLMBr_V.js";
11
+ import "./plugins-YHHXs8VO.js";
12
12
  import { _ as uA } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
13
13
  function wA() {
14
14
  return {
@@ -383,7 +383,7 @@ const Gn = {
383
383
  sidebarDisplay: "Payout Accounts",
384
384
  section: "payment-gateway"
385
385
  },
386
- component: () => import("./PayoutAccount-pxoe0HM6.js")
386
+ component: () => import("./PayoutAccount-CHbzkDBA.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-CUqrOqBi.js")
404
+ component: () => import("./OnboardSubmission-DoPx4EKf.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-UC7FlAKc.js")
413
+ component: () => import("./OnboardForm-BfGzCNlT.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-D2eUU8Qa.js"),
511
+ component: () => import("./PayoutAccount-Dy5K6CkB.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-CGI_T8K6.js"),
519
+ component: () => import("./OnboardSubmission-DwiFc9f5.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-ZIeFW3ZH.js"),
529
+ component: () => import("./OnboardForm-BMWpQjDs.js"),
530
530
  meta: {
531
531
  parent: "mf-payment-onboard-submission"
532
532
  }
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { h as e, i as r, f as o } from "./app-U8rab4vJ.js";
1
+ import { h as e, i as r, f as o } from "./app-PoLMBr_V.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r as i18nMessages,
@@ -1,5 +1,5 @@
1
1
  import { d as r, b as a, g as n, o as i } from "./index-C4FfKmPS.js";
2
- import { f as u } from "./plugins-C0WdSJxl.js";
2
+ import { f as u } from "./plugins-YHHXs8VO.js";
3
3
  import { h as m } from "./moment-h96o7c8I.js";
4
4
  const y = {
5
5
  async read(s) {
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-payment",
3
- "version": "1.3.21",
3
+ "version": "1.3.22",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -1,7 +1,7 @@
1
- import { f as j } from "./plugins-C0WdSJxl.js";
1
+ import { f as j } from "./plugins-YHHXs8VO.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-U8rab4vJ.js";
4
+ import { _ as ot } from "./app-PoLMBr_V.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-U8rab4vJ.js";
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-PoLMBr_V.js";
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2017 Google LLC