@feedmepos/mf-payment 1.3.11 → 1.3.12
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-Cotw1raq.js → OnboardForm-B7eW8jKT.js} +2 -2
- package/dist/{OnboardForm-MyT0SGg8.js → OnboardForm-cIQFP7qq.js} +2 -2
- package/dist/{OnboardSubmission-D_jaHIRD.js → OnboardSubmission-C9MPsDJL.js} +1 -1
- package/dist/{OnboardSubmission-BpXxAhNV.js → OnboardSubmission-YAZAgP1W.js} +1 -1
- package/dist/{PayoutAccount-CpcApn3D.js → PayoutAccount-351bOKrS.js} +3 -3
- package/dist/{PayoutAccount-B5XaqIrW.js → PayoutAccount-BTUMCZSC.js} +1 -1
- package/dist/{TerminalSetting-CmoakLAK.js → TerminalSetting-DT4ZicMV.js} +22 -22
- package/dist/{app-DSOFnaIK.js → app-C_eXBmWD.js} +9 -9
- package/dist/app.js +1 -1
- package/dist/{index-DhYEJDjl.js → index-BhvhNgSj.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-C5MhJYFJ.js → payout-account-BxDix6Cp.js} +2 -2
- package/dist/{plugins-yvkah14k.js → plugins-BQd6KOEt.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -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 o, toDisplayString as E, Fragment as z, createBlock as j, withCtx as c, createVNode as s, createCommentVNode as I, 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-BhvhNgSj.js";
|
3
3
|
import { u as M } from "./index-DAUG5toW.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-BxDix6Cp.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-CBRF0-0x.js";
|
@@ -2,12 +2,12 @@ import { defineComponent as O, ref as V, computed as Z, resolveComponent as y, o
|
|
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-BhvhNgSj.js";
|
6
6
|
import { p as ce } from "./index-DSEt22V0.js";
|
7
7
|
import { useSnackbar as ve } from "@feedmepos/ui-library";
|
8
8
|
import { u as X } from "./index-DAUG5toW.js";
|
9
9
|
import { s as ye } from "./vue-signature-pad.esm-IXPjf4fL.js";
|
10
|
-
import { P as be } from "./payout-account-
|
10
|
+
import { P as be } from "./payout-account-BxDix6Cp.js";
|
11
11
|
import { useRouter as fe } from "vue-router";
|
12
12
|
const ge = ["src"], R = /* @__PURE__ */ O({
|
13
13
|
__name: "UploadButton",
|
@@ -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-DAUG5toW.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-BhvhNgSj.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 = {
|
@@ -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-BhvhNgSj.js";
|
3
3
|
import { p as m } from "./index-DAUG5toW.js";
|
4
4
|
import { _ as O } from "./index.vue_vue_type_script_setup_true_lang-BIc1-DIt.js";
|
5
5
|
import { useRouter as F } from "vue-router";
|
@@ -3,12 +3,12 @@ import { p as K } from "./index-DSEt22V0.js";
|
|
3
3
|
import { p as U, u as gA, e as lA } from "./index-DAUG5toW.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-BxDix6Cp.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-C_eXBmWD.js";
|
11
|
+
import "./plugins-BQd6KOEt.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-BngXbjSX.js";
|
3
3
|
import { p as K } from "./index-DAUG5toW.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-BxDix6Cp.js";
|
6
6
|
import { p as D } from "./index-DSEt22V0.js";
|
7
7
|
import "@feedmepos/ui-library";
|
8
8
|
import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-BIc1-DIt.js";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as V, openBlock as f, createElementBlock as N, Fragment as
|
1
|
+
import { defineComponent as V, openBlock as f, createElementBlock as N, Fragment as q, createElementVNode as _, createTextVNode as D, toDisplayString as B, ref as I, resolveComponent as g, createVNode as v, createCommentVNode as C, unref as S, computed as M, isRef as h, createBlock as w, resolveDynamicComponent as K, normalizeProps as Y, mergeProps as L, toRef as $, watch as P, onMounted as O, withCtx as R, renderList as A } from "vue";
|
2
2
|
import { u as z, e as U } from "./index-DAUG5toW.js";
|
3
3
|
import { useRouter as W } from "vue-router";
|
4
4
|
import { t as G } from "./index-xwX5AZeh.js";
|
@@ -17,7 +17,7 @@ const te = /* @__PURE__ */ V({
|
|
17
17
|
}
|
18
18
|
},
|
19
19
|
setup(F) {
|
20
|
-
return (d, a) => (f(), N(
|
20
|
+
return (d, a) => (f(), N(q, null, [
|
21
21
|
a[0] || (a[0] = _("b", null, "Name", -1)),
|
22
22
|
D(": " + B(F.terminal.name), 1),
|
23
23
|
a[1] || (a[1] = _("br", null, null, -1)),
|
@@ -66,7 +66,7 @@ const te = /* @__PURE__ */ V({
|
|
66
66
|
}
|
67
67
|
return (m, s) => {
|
68
68
|
const y = g("FmSwitch"), c = g("FmPinField"), i = g("FmButton");
|
69
|
-
return f(), N(
|
69
|
+
return f(), N(q, null, [
|
70
70
|
v(y, {
|
71
71
|
modelValue: n.value.enable,
|
72
72
|
"onUpdate:modelValue": s[0] || (s[0] = (t) => n.value.enable = t),
|
@@ -108,11 +108,11 @@ const te = /* @__PURE__ */ V({
|
|
108
108
|
value: "kiosk_mode",
|
109
109
|
render: oe
|
110
110
|
}
|
111
|
-
], b = F, n =
|
111
|
+
], b = F, n = M(() => a.find((r) => r.value === d.value));
|
112
112
|
return (r, e) => {
|
113
113
|
var s;
|
114
114
|
const m = g("FmTabs");
|
115
|
-
return f(), N(
|
115
|
+
return f(), N(q, null, [
|
116
116
|
e[1] || (e[1] = _("p", { className: "mt-1 my-6 text-gray-600" }, [
|
117
117
|
_("b", null, "Note: "),
|
118
118
|
D(" Setting request will perform remotely without caching so make sure terminal is connected to the network also to our websocket as well. ")
|
@@ -217,7 +217,7 @@ const te = /* @__PURE__ */ V({
|
|
217
217
|
var l;
|
218
218
|
(l = n.value.gateways) == null || l.splice(t, 1), d.onUpdate(n.value);
|
219
219
|
}
|
220
|
-
const c =
|
220
|
+
const c = M(() => b.filter((t) => t.region === a.value)), i = M(() => c.value.find((t) => t.value === e.value.packageId));
|
221
221
|
return (t, l) => {
|
222
222
|
const u = g("FmSelect"), p = g("FmTextField"), x = g("FmCheckbox"), o = g("FmButton"), T = g("FmForm");
|
223
223
|
return f(), w(T, {
|
@@ -246,14 +246,14 @@ const te = /* @__PURE__ */ V({
|
|
246
246
|
label: "Package ID",
|
247
247
|
items: c.value
|
248
248
|
}, null, 8, ["modelValue", "items"]),
|
249
|
-
i.value && i.value.isLegacy ? (f(), N(
|
249
|
+
i.value && i.value.isLegacy ? (f(), N(q, { key: 0 }, [
|
250
250
|
v(p, {
|
251
251
|
modelValue: e.value.uniqueId,
|
252
252
|
"onUpdate:modelValue": l[1] || (l[1] = (k) => e.value.uniqueId = k),
|
253
253
|
label: "Unique ID (TID)"
|
254
254
|
}, null, 8, ["modelValue"]),
|
255
255
|
i.value.isOutdated ? (f(), N("span", ue, " Note: For outdated gateway is no longer continued development, please use the new gateway instead. ")) : C("", !0)
|
256
|
-
], 64)) : (f(), N(
|
256
|
+
], 64)) : (f(), N(q, { key: 1 }, [
|
257
257
|
v(p, {
|
258
258
|
modelValue: e.value.developerId,
|
259
259
|
"onUpdate:modelValue": l[2] || (l[2] = (k) => e.value.developerId = k),
|
@@ -326,7 +326,7 @@ const te = /* @__PURE__ */ V({
|
|
326
326
|
});
|
327
327
|
};
|
328
328
|
P(n, c), O(c);
|
329
|
-
const i =
|
329
|
+
const i = M(() => (r.value ?? []).map((l) => ({
|
330
330
|
label: l.name ?? l._id,
|
331
331
|
value: l._id
|
332
332
|
})));
|
@@ -550,7 +550,7 @@ const te = /* @__PURE__ */ V({
|
|
550
550
|
})
|
551
551
|
]),
|
552
552
|
_("div", fe, [
|
553
|
-
(f(!0), N(
|
553
|
+
(f(!0), N(q, null, A(e.value.cardTypes, (o) => (f(), w(p, {
|
554
554
|
key: o,
|
555
555
|
label: o,
|
556
556
|
removable: !0,
|
@@ -670,7 +670,7 @@ const te = /* @__PURE__ */ V({
|
|
670
670
|
})
|
671
671
|
]),
|
672
672
|
_("div", Ie, [
|
673
|
-
(f(!0), N(
|
673
|
+
(f(!0), N(q, null, A(e.value.cardTypes, (o) => (f(), w(p, {
|
674
674
|
key: o,
|
675
675
|
label: o,
|
676
676
|
removable: !0,
|
@@ -790,7 +790,7 @@ const te = /* @__PURE__ */ V({
|
|
790
790
|
})
|
791
791
|
]),
|
792
792
|
_("div", xe, [
|
793
|
-
(f(!0), N(
|
793
|
+
(f(!0), N(q, null, A(e.value.cardTypes, (o) => (f(), w(p, {
|
794
794
|
key: o,
|
795
795
|
label: o,
|
796
796
|
removable: !0,
|
@@ -910,7 +910,7 @@ const te = /* @__PURE__ */ V({
|
|
910
910
|
})
|
911
911
|
]),
|
912
912
|
_("div", Ve, [
|
913
|
-
(f(!0), N(
|
913
|
+
(f(!0), N(q, null, A(e.value.cardTypes, (o) => (f(), w(p, {
|
914
914
|
key: o,
|
915
915
|
label: o,
|
916
916
|
removable: !0,
|
@@ -937,7 +937,7 @@ const te = /* @__PURE__ */ V({
|
|
937
937
|
}, 512);
|
938
938
|
};
|
939
939
|
}
|
940
|
-
}),
|
940
|
+
}), qe = { class: "flex items-end" }, Me = { class: "flex flex-wrap gap-8 items-center mt-4" }, Oe = { class: "flex mt-6 space-x-6" }, Re = /* @__PURE__ */ V({
|
941
941
|
__name: "KBankGateway",
|
942
942
|
props: {
|
943
943
|
terminal: {
|
@@ -1009,7 +1009,7 @@ const te = /* @__PURE__ */ V({
|
|
1009
1009
|
label: "Receipt Payment Name",
|
1010
1010
|
"label-info": "Default receipt display will be 'TERMINAL_KBANK'"
|
1011
1011
|
}, null, 8, ["modelValue"]),
|
1012
|
-
_("div",
|
1012
|
+
_("div", qe, [
|
1013
1013
|
v(l, {
|
1014
1014
|
modelValue: r.value,
|
1015
1015
|
"onUpdate:modelValue": t[1] || (t[1] = (o) => r.value = o),
|
@@ -1022,8 +1022,8 @@ const te = /* @__PURE__ */ V({
|
|
1022
1022
|
onClick: c
|
1023
1023
|
})
|
1024
1024
|
]),
|
1025
|
-
_("div",
|
1026
|
-
(f(!0), N(
|
1025
|
+
_("div", Me, [
|
1026
|
+
(f(!0), N(q, null, A(e.value.cardTypes, (o) => (f(), w(p, {
|
1027
1027
|
key: o,
|
1028
1028
|
label: o,
|
1029
1029
|
removable: !0,
|
@@ -1106,7 +1106,7 @@ const te = /* @__PURE__ */ V({
|
|
1106
1106
|
render: Re,
|
1107
1107
|
region: [U.F_COUNTRY.enum.TH]
|
1108
1108
|
}
|
1109
|
-
], b =
|
1109
|
+
], b = M(() => a.find((s) => s.value === e.value)), n = j().currentCountry, r = M(() => a.filter((s) => !s.region || s.region.includes(n.value ?? U.F_COUNTRY.enum.MY))), { gatewayTab: e } = E({
|
1110
1110
|
gatewayTab: (m = r.value[0]) == null ? void 0 : m.value
|
1111
1111
|
});
|
1112
1112
|
return (s, y) => {
|
@@ -1227,9 +1227,9 @@ const te = /* @__PURE__ */ V({
|
|
1227
1227
|
label: "PromptPay",
|
1228
1228
|
value: "promptpay",
|
1229
1229
|
render: Be,
|
1230
|
-
region: [U.F_COUNTRY.enum.
|
1230
|
+
region: [U.F_COUNTRY.enum.TH]
|
1231
1231
|
}
|
1232
|
-
], b =
|
1232
|
+
], b = M(() => a.find((s) => s.value === e.value)), n = j().currentCountry, r = M(() => a.filter((s) => !s.region || s.region.includes(n.value ?? U.F_COUNTRY.enum.MY))), { gatewayTab: e } = E({
|
1233
1233
|
gatewayTab: (m = r.value[0]) == null ? void 0 : m.value
|
1234
1234
|
});
|
1235
1235
|
return (s, y) => {
|
@@ -1328,7 +1328,7 @@ const te = /* @__PURE__ */ V({
|
|
1328
1328
|
}
|
1329
1329
|
];
|
1330
1330
|
j().currentCountry;
|
1331
|
-
const c =
|
1331
|
+
const c = M(() => {
|
1332
1332
|
var l;
|
1333
1333
|
return (l = y.find((u) => u.value === a.value)) == null ? void 0 : l.render;
|
1334
1334
|
});
|
@@ -1337,7 +1337,7 @@ const te = /* @__PURE__ */ V({
|
|
1337
1337
|
m.value = await G.readById(d.terminalId);
|
1338
1338
|
});
|
1339
1339
|
}
|
1340
|
-
const t =
|
1340
|
+
const t = M(() => y.filter((l) => {
|
1341
1341
|
var u;
|
1342
1342
|
return !l.onlyFor || l.onlyFor.includes(((u = m.value) == null ? void 0 : u.deviceType) ?? "");
|
1343
1343
|
}));
|
@@ -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-BTUMCZSC.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-YAZAgP1W.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-B7eW8jKT.js")
|
404
404
|
},
|
405
405
|
{
|
406
406
|
path: "/admin/terminal/pos",
|
@@ -445,7 +445,7 @@ const Gn = {
|
|
445
445
|
meta: {
|
446
446
|
parent: "mf-payment-admin.pos"
|
447
447
|
},
|
448
|
-
component: () => import("./TerminalSetting-
|
448
|
+
component: () => import("./TerminalSetting-DT4ZicMV.js")
|
449
449
|
},
|
450
450
|
{
|
451
451
|
path: "/admin/terminal/kiosk/:terminalId",
|
@@ -454,7 +454,7 @@ const Gn = {
|
|
454
454
|
meta: {
|
455
455
|
parent: "mf-payment-admin.kiosk"
|
456
456
|
},
|
457
|
-
component: () => import("./TerminalSetting-
|
457
|
+
component: () => import("./TerminalSetting-DT4ZicMV.js")
|
458
458
|
},
|
459
459
|
{
|
460
460
|
path: "/admin/terminal/terminal/:terminalId",
|
@@ -463,7 +463,7 @@ const Gn = {
|
|
463
463
|
meta: {
|
464
464
|
parent: "mf-payment-admin.terminal"
|
465
465
|
},
|
466
|
-
component: () => import("./TerminalSetting-
|
466
|
+
component: () => import("./TerminalSetting-DT4ZicMV.js")
|
467
467
|
},
|
468
468
|
{
|
469
469
|
path: "/admin/transaction",
|
@@ -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-351bOKrS.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-C9MPsDJL.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-cIQFP7qq.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-BQd6KOEt.js";
|
2
2
|
import { c as st, a as it, B as at, p as E } from "./index-DAUG5toW.js";
|
3
3
|
import { useCoreStore as ut } from "@feedmepos/mf-common";
|
4
|
-
import { _ as ot } from "./app-
|
4
|
+
import { _ as ot } from "./app-C_eXBmWD.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-C_eXBmWD.js";
|
2
2
|
/**
|
3
3
|
* @license
|
4
4
|
* Copyright 2017 Google LLC
|