@feedmepos/mf-payment 1.3.9 → 1.3.10
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-BlBxXNvQ.js → OnboardForm-D-EhpXe4.js} +2 -2
- package/dist/{OnboardForm-C0YWCDXr.js → OnboardForm-GdHLa6On.js} +2 -2
- package/dist/{OnboardSubmission-BxLJ76Gd.js → OnboardSubmission-BGxAySBi.js} +1 -1
- package/dist/{OnboardSubmission-BUH9EBp9.js → OnboardSubmission-CMFmo1qD.js} +1 -1
- package/dist/{PayoutAccount-DC_bIwCU.js → PayoutAccount-CjZ-xBFJ.js} +1 -1
- package/dist/{PayoutAccount-D6TQgPUP.js → PayoutAccount-MY4n1mYU.js} +3 -3
- package/dist/{TerminalSetting-ClzbzycY.js → TerminalSetting-Dq9cvaS6.js} +20 -20
- package/dist/{app-CU0L5rLn.js → app-DlVcqDjr.js} +9 -9
- package/dist/app.js +1 -1
- package/dist/{index-DOFcxZxn.js → index-CMefCjNG.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-CbmGMzzE.js → payout-account-CIM1L27H.js} +2 -2
- package/dist/{plugins-C_ElAUdX.js → plugins-Btzfeh9F.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-CMefCjNG.js";
|
3
3
|
import { u as M } from "./index-BaS5NvBk.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-CIM1L27H.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-DJqdH669.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-CMefCjNG.js";
|
6
6
|
import { p as ce } from "./index-BuuwDeHB.js";
|
7
7
|
import { useSnackbar as ve } from "@feedmepos/ui-library";
|
8
8
|
import { u as X } from "./index-BaS5NvBk.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-CIM1L27H.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-BaS5NvBk.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-CMefCjNG.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-CMefCjNG.js";
|
3
3
|
import { p as m } from "./index-BaS5NvBk.js";
|
4
4
|
import { _ as O } from "./index.vue_vue_type_script_setup_true_lang-DZpYH6rl.js";
|
5
5
|
import { useRouter as F } from "vue-router";
|
@@ -2,7 +2,7 @@ import { defineComponent as y, resolveComponent as u, openBlock as h, createBloc
|
|
2
2
|
import { u as O } from "./index-C3ELtK6q.js";
|
3
3
|
import { p as K } from "./index-BaS5NvBk.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-CIM1L27H.js";
|
6
6
|
import { p as D } from "./index-BuuwDeHB.js";
|
7
7
|
import "@feedmepos/ui-library";
|
8
8
|
import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-DZpYH6rl.js";
|
@@ -3,12 +3,12 @@ import { p as K } from "./index-BuuwDeHB.js";
|
|
3
3
|
import { p as U, u as gA, e as lA } from "./index-BaS5NvBk.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-CIM1L27H.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-DlVcqDjr.js";
|
11
|
+
import "./plugins-Btzfeh9F.js";
|
12
12
|
import { _ as uA } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
13
13
|
function wA() {
|
14
14
|
return {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as V, openBlock as f, createElementBlock as N, Fragment as M, createElementVNode as _, createTextVNode as
|
1
|
+
import { defineComponent as V, openBlock as f, createElementBlock as N, Fragment as M, createElementVNode as _, createTextVNode as B, toDisplayString as A, ref as I, resolveComponent as g, createVNode as v, createCommentVNode as C, unref as S, computed as q, 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 G } from "vue";
|
2
2
|
import { u as z, e as U } from "./index-BaS5NvBk.js";
|
3
3
|
import { useRouter as W } from "vue-router";
|
4
4
|
import { t as D } from "./index-DG_Tv3TM.js";
|
@@ -19,16 +19,16 @@ const te = /* @__PURE__ */ V({
|
|
19
19
|
setup(F) {
|
20
20
|
return (d, a) => (f(), N(M, null, [
|
21
21
|
a[0] || (a[0] = _("b", null, "Name", -1)),
|
22
|
-
|
22
|
+
B(": " + A(F.terminal.name), 1),
|
23
23
|
a[1] || (a[1] = _("br", null, null, -1)),
|
24
24
|
a[2] || (a[2] = _("b", null, "Status", -1)),
|
25
|
-
|
25
|
+
B(": " + A(F.terminal.status), 1),
|
26
26
|
a[3] || (a[3] = _("br", null, null, -1)),
|
27
27
|
a[4] || (a[4] = _("b", null, "Device ID", -1)),
|
28
|
-
|
28
|
+
B(": " + A(F.terminal.deviceId ?? "-"), 1),
|
29
29
|
a[5] || (a[5] = _("br", null, null, -1)),
|
30
30
|
a[6] || (a[6] = _("b", null, "Device Type", -1)),
|
31
|
-
|
31
|
+
B(": " + A(F.terminal.deviceType ?? "-"), 1),
|
32
32
|
a[7] || (a[7] = _("br", null, null, -1))
|
33
33
|
], 64));
|
34
34
|
}
|
@@ -115,7 +115,7 @@ const te = /* @__PURE__ */ V({
|
|
115
115
|
return f(), N(M, null, [
|
116
116
|
e[1] || (e[1] = _("p", { className: "mt-1 my-6 text-gray-600" }, [
|
117
117
|
_("b", null, "Note: "),
|
118
|
-
|
118
|
+
B(" Setting request will perform remotely without caching so make sure terminal is connected to the network also to our websocket as well. ")
|
119
119
|
], -1)),
|
120
120
|
v(m, {
|
121
121
|
"model-value": S(d),
|
@@ -123,7 +123,7 @@ const te = /* @__PURE__ */ V({
|
|
123
123
|
class: "mb-6",
|
124
124
|
items: a
|
125
125
|
}, null, 8, ["model-value"]),
|
126
|
-
S(d) ? (f(), w(
|
126
|
+
S(d) ? (f(), w(K((s = n.value) == null ? void 0 : s.render), Y(L({ key: 0 }, { terminal: b.terminal })), null, 16)) : C("", !0)
|
127
127
|
], 64);
|
128
128
|
};
|
129
129
|
}
|
@@ -959,12 +959,12 @@ const te = /* @__PURE__ */ V({
|
|
959
959
|
var u;
|
960
960
|
if (!a.value.ecrIntegrations)
|
961
961
|
return m();
|
962
|
-
const i = a.value.ecrIntegrations, t = i.findIndex((p) => p && p.gateway && p.gateway === "
|
962
|
+
const i = a.value.ecrIntegrations, t = i.findIndex((p) => p && p.gateway && p.gateway === "KBank");
|
963
963
|
if (t === -1)
|
964
964
|
return m();
|
965
965
|
n.value = t;
|
966
966
|
const l = i.at(t);
|
967
|
-
l.gateway === "
|
967
|
+
l.gateway === "KBank" && l.config && (e.value = {
|
968
968
|
receiptName: l.receiptName ?? "",
|
969
969
|
cardTypes: ((u = l.dialogConfig) == null ? void 0 : u.cardTypes) ?? []
|
970
970
|
});
|
@@ -1007,7 +1007,7 @@ const te = /* @__PURE__ */ V({
|
|
1007
1007
|
modelValue: e.value.receiptName,
|
1008
1008
|
"onUpdate:modelValue": t[0] || (t[0] = (o) => e.value.receiptName = o),
|
1009
1009
|
label: "Receipt Payment Name",
|
1010
|
-
"label-info": "Default receipt display will be '
|
1010
|
+
"label-info": "Default receipt display will be 'TERMINAL_KBANK'"
|
1011
1011
|
}, null, 8, ["modelValue"]),
|
1012
1012
|
_("div", Me, [
|
1013
1013
|
v(l, {
|
@@ -1050,7 +1050,7 @@ const te = /* @__PURE__ */ V({
|
|
1050
1050
|
}, 512);
|
1051
1051
|
};
|
1052
1052
|
}
|
1053
|
-
}), $e = { class: "flex items-center" }, Pe = { class: "w-[260px] self-start" },
|
1053
|
+
}), $e = { class: "flex items-center" }, Pe = { class: "w-[260px] self-start" }, Be = { class: "flex-1" }, De = /* @__PURE__ */ V({
|
1054
1054
|
__name: "EcrGateway",
|
1055
1055
|
props: {
|
1056
1056
|
terminal: {
|
@@ -1122,8 +1122,8 @@ const te = /* @__PURE__ */ V({
|
|
1122
1122
|
items: r.value
|
1123
1123
|
}, null, 8, ["model-value", "items"])
|
1124
1124
|
]),
|
1125
|
-
_("div",
|
1126
|
-
S(e) ? (f(), w(
|
1125
|
+
_("div", Be, [
|
1126
|
+
S(e) ? (f(), w(K((i = b.value) == null ? void 0 : i.render), Y(L({ key: 0 }, {
|
1127
1127
|
terminal: d.terminal,
|
1128
1128
|
onUpdate: d.onUpdate
|
1129
1129
|
})), null, 16)) : C("", !0)
|
@@ -1131,7 +1131,7 @@ const te = /* @__PURE__ */ V({
|
|
1131
1131
|
]);
|
1132
1132
|
};
|
1133
1133
|
}
|
1134
|
-
}), Ge = { class: "flex mt-6 space-x-6" },
|
1134
|
+
}), Ge = { class: "flex mt-6 space-x-6" }, Ae = /* @__PURE__ */ V({
|
1135
1135
|
__name: "PromptPayGateway",
|
1136
1136
|
props: {
|
1137
1137
|
terminal: {
|
@@ -1208,7 +1208,7 @@ const te = /* @__PURE__ */ V({
|
|
1208
1208
|
}, 512);
|
1209
1209
|
};
|
1210
1210
|
}
|
1211
|
-
}), he = { class: "flex items-center" },
|
1211
|
+
}), he = { class: "flex items-center" }, Ke = { class: "w-[260px] self-start" }, Ye = { class: "flex-1" }, Le = /* @__PURE__ */ V({
|
1212
1212
|
__name: "QrGateway",
|
1213
1213
|
props: {
|
1214
1214
|
terminal: {
|
@@ -1226,7 +1226,7 @@ const te = /* @__PURE__ */ V({
|
|
1226
1226
|
{
|
1227
1227
|
label: "PromptPay",
|
1228
1228
|
value: "promptpay",
|
1229
|
-
render:
|
1229
|
+
render: Ae,
|
1230
1230
|
region: [U.F_COUNTRY.enum.MY]
|
1231
1231
|
}
|
1232
1232
|
], b = q(() => a.find((s) => s.value === e.value)), n = j().currentCountry, r = q(() => a.filter((s) => !s.region || s.region.includes(n.value ?? U.F_COUNTRY.enum.MY))), { gatewayTab: e } = E({
|
@@ -1236,7 +1236,7 @@ const te = /* @__PURE__ */ V({
|
|
1236
1236
|
var i;
|
1237
1237
|
const c = g("FmTabs");
|
1238
1238
|
return f(), N("div", he, [
|
1239
|
-
_("div",
|
1239
|
+
_("div", Ke, [
|
1240
1240
|
v(c, {
|
1241
1241
|
"model-value": S(e),
|
1242
1242
|
"onUpdate:modelValue": y[0] || (y[0] = (t) => h(e) ? e.value = t : null),
|
@@ -1245,8 +1245,8 @@ const te = /* @__PURE__ */ V({
|
|
1245
1245
|
items: r.value
|
1246
1246
|
}, null, 8, ["model-value", "items"])
|
1247
1247
|
]),
|
1248
|
-
_("div",
|
1249
|
-
S(e) ? (f(), w(
|
1248
|
+
_("div", Ye, [
|
1249
|
+
S(e) ? (f(), w(K((i = b.value) == null ? void 0 : i.render), Y(L({ key: 0 }, {
|
1250
1250
|
terminal: d.terminal,
|
1251
1251
|
onUpdate: d.onUpdate
|
1252
1252
|
})), null, 16)) : C("", !0)
|
@@ -1356,7 +1356,7 @@ const te = /* @__PURE__ */ V({
|
|
1356
1356
|
class: "mb-6",
|
1357
1357
|
items: t.value
|
1358
1358
|
}, null, 8, ["model-value", "items"]),
|
1359
|
-
S(a) ? (f(), w(
|
1359
|
+
S(a) ? (f(), w(K(c.value), Y(L({ key: 0 }, {
|
1360
1360
|
terminal: m.value,
|
1361
1361
|
onUpdate: s
|
1362
1362
|
})), null, 16)) : C("", !0)
|
@@ -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-CjZ-xBFJ.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-CMFmo1qD.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-D-EhpXe4.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-Dq9cvaS6.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-Dq9cvaS6.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-Dq9cvaS6.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-MY4n1mYU.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-BGxAySBi.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-GdHLa6On.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-Btzfeh9F.js";
|
2
2
|
import { c as st, a as it, B as at, p as E } from "./index-BaS5NvBk.js";
|
3
3
|
import { useCoreStore as ut } from "@feedmepos/mf-common";
|
4
|
-
import { _ as ot } from "./app-
|
4
|
+
import { _ as ot } from "./app-DlVcqDjr.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-DlVcqDjr.js";
|
2
2
|
/**
|
3
3
|
* @license
|
4
4
|
* Copyright 2017 Google LLC
|