@feedmepos/mf-payment 1.4.33 → 1.4.34
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-bTd7xNCg.js → OnboardForm-1NFbYR_G.js} +2 -2
- package/dist/{OnboardForm-BYEeREWi.js → OnboardForm-D7YhO1Ws.js} +2 -2
- package/dist/{OnboardSubmission-B7-gOLSC.js → OnboardSubmission-lXiMOlng.js} +1 -1
- package/dist/{OnboardSubmission-DMuLcjKw.js → OnboardSubmission-xPEkh68U.js} +1 -1
- package/dist/{PayoutAccount-iSIW-72s.js → PayoutAccount-BfmsvetE.js} +3 -3
- package/dist/{PayoutAccount-BbRAKWfO.js → PayoutAccount-C3QAsgyZ.js} +1 -1
- package/dist/{TerminalSetting-BTCP3pC0.js → TerminalSetting-D1HF1unx.js} +48 -48
- package/dist/{app-DopaVelR.js → app-C7HXerto.js} +9 -9
- package/dist/app.js +1 -1
- package/dist/{index-rkiQgUCX.js → index-DDr_-beD.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-BXR5QHz1.js → payout-account-DG61q62p.js} +2 -2
- package/dist/{plugins-CY87Za1G.js → plugins-laA3NA9a.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-DDr_-beD.js";
|
|
6
6
|
import { p as af } from "./index-BksZxG5X.js";
|
|
7
7
|
import { useSnackbar as df } from "@feedmepos/ui-library";
|
|
8
8
|
import { u as Af } from "./index-B8ejEL5n.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-DG61q62p.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",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as $, ref as P, computed as O, resolveComponent as f, openBlock as y, createElementBlock as R, createElementVNode as n, toDisplayString as B, Fragment as z, createBlock as T, withCtx as c, createVNode as o, createCommentVNode as j, unref as e, createTextVNode as E, onMounted as X, resolveDynamicComponent as Z } from "vue";
|
|
2
|
-
import { o as _ } from "./index-
|
|
2
|
+
import { o as _ } from "./index-DDr_-beD.js";
|
|
3
3
|
import { u as M } from "./index-B8ejEL5n.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-DG61q62p.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-DIXUpnkm.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as x, ref as w, watch as f, computed as y, resolveComponent as _, openBlock as k, createBlock as F, withCtx as b, createElementVNode as K, createVNode as m, unref as o, isRef as n, h as O } from "vue";
|
|
2
|
-
import { o as R } from "./index-
|
|
2
|
+
import { o as R } from "./index-DDr_-beD.js";
|
|
3
3
|
import { p as d } from "./index-B8ejEL5n.js";
|
|
4
4
|
import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-Bb8EC5LM.js";
|
|
5
5
|
import { useRouter as D } 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-B8ejEL5n.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-DDr_-beD.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 = {
|
|
@@ -3,12 +3,12 @@ import { p as K } from "./index-BksZxG5X.js";
|
|
|
3
3
|
import { p as U, u as gA, e as lA } from "./index-B8ejEL5n.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-DG61q62p.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-C7HXerto.js";
|
|
11
|
+
import "./plugins-laA3NA9a.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-BBn7cvxH.js";
|
|
3
3
|
import { p as K } from "./index-B8ejEL5n.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-DG61q62p.js";
|
|
6
6
|
import { p as D } from "./index-BksZxG5X.js";
|
|
7
7
|
import "@feedmepos/ui-library";
|
|
8
8
|
import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-Bb8EC5LM.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as N, openBlock as g, createElementBlock as U, Fragment as
|
|
1
|
+
import { defineComponent as N, openBlock as g, createElementBlock as U, Fragment as G, createElementVNode as F, createTextVNode as $, toDisplayString as A, ref as _, resolveComponent as y, createVNode as v, createCommentVNode as k, unref as S, computed as R, isRef as B, createBlock as w, resolveDynamicComponent as Y, normalizeProps as L, mergeProps as K, toRef as h, watch as O, onMounted as M, withCtx as q, renderList as P } from "vue";
|
|
2
2
|
import { u as H, e as V } from "./index-B8ejEL5n.js";
|
|
3
3
|
import { useRouter as W } from "vue-router";
|
|
4
|
-
import { t as
|
|
4
|
+
import { t as D } from "./index-CRxYHQ1I.js";
|
|
5
5
|
import { _ as X } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
|
6
6
|
import { u as E } from "./index-BBn7cvxH.js";
|
|
7
7
|
import { useSnackbar as Q } from "@feedmepos/ui-library";
|
|
@@ -17,18 +17,18 @@ const te = /* @__PURE__ */ N({
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
setup(I) {
|
|
20
|
-
return (d, a) => (g(), U(
|
|
20
|
+
return (d, a) => (g(), U(G, null, [
|
|
21
21
|
a[0] || (a[0] = F("b", null, "Name", -1)),
|
|
22
|
-
$(": " +
|
|
22
|
+
$(": " + A(I.terminal.name), 1),
|
|
23
23
|
a[1] || (a[1] = F("br", null, null, -1)),
|
|
24
24
|
a[2] || (a[2] = F("b", null, "Status", -1)),
|
|
25
|
-
$(": " +
|
|
25
|
+
$(": " + A(I.terminal.status), 1),
|
|
26
26
|
a[3] || (a[3] = F("br", null, null, -1)),
|
|
27
27
|
a[4] || (a[4] = F("b", null, "Device ID", -1)),
|
|
28
|
-
$(": " +
|
|
28
|
+
$(": " + A(I.terminal.deviceId ?? "-"), 1),
|
|
29
29
|
a[5] || (a[5] = F("br", null, null, -1)),
|
|
30
30
|
a[6] || (a[6] = F("b", null, "Device Type", -1)),
|
|
31
|
-
$(": " +
|
|
31
|
+
$(": " + A(I.terminal.deviceType ?? "-"), 1),
|
|
32
32
|
a[7] || (a[7] = F("br", null, null, -1))
|
|
33
33
|
], 64));
|
|
34
34
|
}
|
|
@@ -54,7 +54,7 @@ const te = /* @__PURE__ */ N({
|
|
|
54
54
|
m.enable && Object.assign(m, {
|
|
55
55
|
password: l.value.password.join("")
|
|
56
56
|
});
|
|
57
|
-
const c = await
|
|
57
|
+
const c = await D.kioskModeRequest(o.terminal._id, m);
|
|
58
58
|
if (c === "OK")
|
|
59
59
|
return b.open({ type: "info", message: "Kiosk mode applied successfully." });
|
|
60
60
|
let f = c;
|
|
@@ -66,7 +66,7 @@ const te = /* @__PURE__ */ N({
|
|
|
66
66
|
}
|
|
67
67
|
return (m, c) => {
|
|
68
68
|
const f = y("FmSwitch"), s = y("FmPinField"), i = y("FmButton");
|
|
69
|
-
return g(), U(
|
|
69
|
+
return g(), U(G, null, [
|
|
70
70
|
v(f, {
|
|
71
71
|
modelValue: l.value.enable,
|
|
72
72
|
"onUpdate:modelValue": c[0] || (c[0] = (t) => l.value.enable = t),
|
|
@@ -112,7 +112,7 @@ const te = /* @__PURE__ */ N({
|
|
|
112
112
|
return (o, e) => {
|
|
113
113
|
var c;
|
|
114
114
|
const m = y("FmTabs");
|
|
115
|
-
return g(), U(
|
|
115
|
+
return g(), U(G, null, [
|
|
116
116
|
e[1] || (e[1] = F("p", { className: "mt-1 my-6 text-gray-600" }, [
|
|
117
117
|
F("b", null, "Note: "),
|
|
118
118
|
$(" Setting request will perform remotely without caching so make sure terminal is connected to the network also to our websocket as well. ")
|
|
@@ -123,7 +123,7 @@ const te = /* @__PURE__ */ N({
|
|
|
123
123
|
class: "mb-6",
|
|
124
124
|
items: a
|
|
125
125
|
}, null, 8, ["model-value"]),
|
|
126
|
-
S(d) ? (g(), w(Y((c = l.value) == null ? void 0 : c.render), K(
|
|
126
|
+
S(d) ? (g(), w(Y((c = l.value) == null ? void 0 : c.render), L(K({ key: 0 }, { terminal: b.terminal })), null, 16)) : k("", !0)
|
|
127
127
|
], 64);
|
|
128
128
|
};
|
|
129
129
|
}
|
|
@@ -178,7 +178,7 @@ const te = /* @__PURE__ */ N({
|
|
|
178
178
|
gateway: "Digio",
|
|
179
179
|
region: V.F_COUNTRY.enum.TH
|
|
180
180
|
}
|
|
181
|
-
], l =
|
|
181
|
+
], l = h(() => d.terminal), o = _(), e = _({
|
|
182
182
|
packageId: "",
|
|
183
183
|
uniqueId: "",
|
|
184
184
|
developerId: "",
|
|
@@ -246,14 +246,14 @@ const te = /* @__PURE__ */ N({
|
|
|
246
246
|
label: "Package ID",
|
|
247
247
|
items: s.value
|
|
248
248
|
}, null, 8, ["modelValue", "items"]),
|
|
249
|
-
i.value && i.value.isLegacy ? (g(), U(
|
|
249
|
+
i.value && i.value.isLegacy ? (g(), U(G, { key: 0 }, [
|
|
250
250
|
v(p, {
|
|
251
251
|
modelValue: e.value.uniqueId,
|
|
252
252
|
"onUpdate:modelValue": n[1] || (n[1] = (C) => e.value.uniqueId = C),
|
|
253
253
|
label: "Unique ID (TID)"
|
|
254
254
|
}, null, 8, ["modelValue"]),
|
|
255
255
|
i.value.isOutdated ? (g(), U("span", ie, " Note: For outdated gateway is no longer continued development, please use the new gateway instead. ")) : k("", !0)
|
|
256
|
-
], 64)) : (g(), U(
|
|
256
|
+
], 64)) : (g(), U(G, { key: 1 }, [
|
|
257
257
|
v(p, {
|
|
258
258
|
modelValue: e.value.developerId,
|
|
259
259
|
"onUpdate:modelValue": n[2] || (n[2] = (C) => e.value.developerId = C),
|
|
@@ -307,13 +307,13 @@ const te = /* @__PURE__ */ N({
|
|
|
307
307
|
}
|
|
308
308
|
},
|
|
309
309
|
setup(I) {
|
|
310
|
-
const { isLoading: d, startAsyncCall: a } = H(), b = I, l =
|
|
310
|
+
const { isLoading: d, startAsyncCall: a } = H(), b = I, l = h(() => b.terminal), o = _(), e = _(), m = _(-1), c = _({
|
|
311
311
|
terminalId: ""
|
|
312
312
|
}), f = () => {
|
|
313
313
|
c.value.terminalId = "", m.value = -1;
|
|
314
314
|
}, s = () => {
|
|
315
315
|
if (a(async () => {
|
|
316
|
-
o.value = await
|
|
316
|
+
o.value = await D.getRestaurantTerminals(b.terminal.referenceId);
|
|
317
317
|
}), !b.terminal.ecrs)
|
|
318
318
|
return f();
|
|
319
319
|
const n = b.terminal.ecrs.findIndex((p) => p && p.gateway && p.gateway === "FeedMe");
|
|
@@ -387,7 +387,7 @@ const te = /* @__PURE__ */ N({
|
|
|
387
387
|
}
|
|
388
388
|
},
|
|
389
389
|
setup(I) {
|
|
390
|
-
const d = I, a =
|
|
390
|
+
const d = I, a = h(() => d.terminal), b = _(), l = _(-1), o = _({
|
|
391
391
|
merchantId: "",
|
|
392
392
|
terminalId: "",
|
|
393
393
|
privateKey: ""
|
|
@@ -472,7 +472,7 @@ const te = /* @__PURE__ */ N({
|
|
|
472
472
|
}
|
|
473
473
|
},
|
|
474
474
|
setup(I) {
|
|
475
|
-
const d = I, a =
|
|
475
|
+
const d = I, a = h(() => d.terminal), b = _(), l = _(-1), o = _(), e = _({
|
|
476
476
|
ip: "",
|
|
477
477
|
receiptName: "",
|
|
478
478
|
cardTypes: []
|
|
@@ -552,7 +552,7 @@ const te = /* @__PURE__ */ N({
|
|
|
552
552
|
})
|
|
553
553
|
]),
|
|
554
554
|
F("div", ye, [
|
|
555
|
-
(g(!0), U(
|
|
555
|
+
(g(!0), U(G, null, P(e.value.cardTypes, (r) => (g(), w(p, {
|
|
556
556
|
key: r,
|
|
557
557
|
label: r,
|
|
558
558
|
removable: !0,
|
|
@@ -592,7 +592,7 @@ const te = /* @__PURE__ */ N({
|
|
|
592
592
|
}
|
|
593
593
|
},
|
|
594
594
|
setup(I) {
|
|
595
|
-
const d = I, a =
|
|
595
|
+
const d = I, a = h(() => d.terminal), b = _(), l = _(-1), o = _(), e = _({
|
|
596
596
|
ip: "",
|
|
597
597
|
receiptName: "",
|
|
598
598
|
cardTypes: []
|
|
@@ -672,7 +672,7 @@ const te = /* @__PURE__ */ N({
|
|
|
672
672
|
})
|
|
673
673
|
]),
|
|
674
674
|
F("div", Fe, [
|
|
675
|
-
(g(!0), U(
|
|
675
|
+
(g(!0), U(G, null, P(e.value.cardTypes, (r) => (g(), w(p, {
|
|
676
676
|
key: r,
|
|
677
677
|
label: r,
|
|
678
678
|
removable: !0,
|
|
@@ -712,7 +712,7 @@ const te = /* @__PURE__ */ N({
|
|
|
712
712
|
}
|
|
713
713
|
},
|
|
714
714
|
setup(I) {
|
|
715
|
-
const d = I, a =
|
|
715
|
+
const d = I, a = h(() => d.terminal), b = _(), l = _(-1), o = _(), e = _({
|
|
716
716
|
receiptName: "",
|
|
717
717
|
config: {},
|
|
718
718
|
cardTypes: []
|
|
@@ -787,7 +787,7 @@ const te = /* @__PURE__ */ N({
|
|
|
787
787
|
})
|
|
788
788
|
]),
|
|
789
789
|
F("div", xe, [
|
|
790
|
-
(g(!0), U(
|
|
790
|
+
(g(!0), U(G, null, P(e.value.cardTypes, (r) => (g(), w(p, {
|
|
791
791
|
key: r,
|
|
792
792
|
label: r,
|
|
793
793
|
removable: !0,
|
|
@@ -827,7 +827,7 @@ const te = /* @__PURE__ */ N({
|
|
|
827
827
|
}
|
|
828
828
|
},
|
|
829
829
|
setup(I) {
|
|
830
|
-
const d = I, a =
|
|
830
|
+
const d = I, a = h(() => d.terminal), b = _(), l = _(-1), o = _(), e = _({
|
|
831
831
|
ip: "",
|
|
832
832
|
receiptName: "",
|
|
833
833
|
cardTypes: []
|
|
@@ -907,7 +907,7 @@ const te = /* @__PURE__ */ N({
|
|
|
907
907
|
})
|
|
908
908
|
]),
|
|
909
909
|
F("div", Ve, [
|
|
910
|
-
(g(!0), U(
|
|
910
|
+
(g(!0), U(G, null, P(e.value.cardTypes, (r) => (g(), w(p, {
|
|
911
911
|
key: r,
|
|
912
912
|
label: r,
|
|
913
913
|
removable: !0,
|
|
@@ -934,7 +934,7 @@ const te = /* @__PURE__ */ N({
|
|
|
934
934
|
}, 512);
|
|
935
935
|
};
|
|
936
936
|
}
|
|
937
|
-
}), Me = { class: "flex items-end" }, qe = { class: "flex flex-wrap gap-8 items-center mt-4" },
|
|
937
|
+
}), Me = { class: "flex items-end" }, qe = { class: "flex flex-wrap gap-8 items-center mt-4" }, Ge = { class: "flex mt-6 space-x-6" }, he = /* @__PURE__ */ N({
|
|
938
938
|
__name: "KBankGateway",
|
|
939
939
|
props: {
|
|
940
940
|
terminal: {
|
|
@@ -947,7 +947,7 @@ const te = /* @__PURE__ */ N({
|
|
|
947
947
|
}
|
|
948
948
|
},
|
|
949
949
|
setup(I) {
|
|
950
|
-
const d = I, a =
|
|
950
|
+
const d = I, a = h(() => d.terminal), b = _(), l = _(-1), o = _(), e = _({
|
|
951
951
|
receiptName: "",
|
|
952
952
|
cardTypes: []
|
|
953
953
|
}), m = () => {
|
|
@@ -1020,14 +1020,14 @@ const te = /* @__PURE__ */ N({
|
|
|
1020
1020
|
})
|
|
1021
1021
|
]),
|
|
1022
1022
|
F("div", qe, [
|
|
1023
|
-
(g(!0), U(
|
|
1023
|
+
(g(!0), U(G, null, P(e.value.cardTypes, (r) => (g(), w(p, {
|
|
1024
1024
|
key: r,
|
|
1025
1025
|
label: r,
|
|
1026
1026
|
removable: !0,
|
|
1027
1027
|
onChipClosed: () => e.value.cardTypes.splice(e.value.cardTypes.indexOf(r), 1)
|
|
1028
1028
|
}, null, 8, ["label", "onChipClosed"]))), 128))
|
|
1029
1029
|
]),
|
|
1030
|
-
F("div",
|
|
1030
|
+
F("div", Ge, [
|
|
1031
1031
|
l.value > -1 ? (g(), w(u, {
|
|
1032
1032
|
key: 0,
|
|
1033
1033
|
class: "flex-1",
|
|
@@ -1060,7 +1060,7 @@ const te = /* @__PURE__ */ N({
|
|
|
1060
1060
|
}
|
|
1061
1061
|
},
|
|
1062
1062
|
setup(I) {
|
|
1063
|
-
const d = I, a =
|
|
1063
|
+
const d = I, a = h(() => d.terminal), b = _(), l = _(-1), o = _({
|
|
1064
1064
|
ip: "",
|
|
1065
1065
|
receiptName: ""
|
|
1066
1066
|
}), e = () => {
|
|
@@ -1132,7 +1132,7 @@ const te = /* @__PURE__ */ N({
|
|
|
1132
1132
|
}, 512);
|
|
1133
1133
|
};
|
|
1134
1134
|
}
|
|
1135
|
-
}), Pe = { class: "flex items-end" }, $e = { class: "flex flex-wrap gap-8 items-center mt-4" },
|
|
1135
|
+
}), Pe = { class: "flex items-end" }, $e = { class: "flex flex-wrap gap-8 items-center mt-4" }, De = { class: "flex mt-6 space-x-6" }, Ae = /* @__PURE__ */ N({
|
|
1136
1136
|
__name: "Ghl3Gateway",
|
|
1137
1137
|
props: {
|
|
1138
1138
|
terminal: {
|
|
@@ -1145,7 +1145,7 @@ const te = /* @__PURE__ */ N({
|
|
|
1145
1145
|
}
|
|
1146
1146
|
},
|
|
1147
1147
|
setup(I) {
|
|
1148
|
-
const d = I, a =
|
|
1148
|
+
const d = I, a = h(() => d.terminal), b = _(), l = _(-1), o = _(), e = _({
|
|
1149
1149
|
receiptName: "",
|
|
1150
1150
|
config: {},
|
|
1151
1151
|
cardTypes: []
|
|
@@ -1156,7 +1156,7 @@ const te = /* @__PURE__ */ N({
|
|
|
1156
1156
|
if (!a.value.ecrIntegrations)
|
|
1157
1157
|
return m();
|
|
1158
1158
|
const i = a.value.ecrIntegrations, t = i.findIndex(
|
|
1159
|
-
(p) => p && p.gateway && p.gateway === "
|
|
1159
|
+
(p) => p && p.gateway && p.gateway === "Ghl3"
|
|
1160
1160
|
);
|
|
1161
1161
|
if (t === -1)
|
|
1162
1162
|
return m();
|
|
@@ -1206,7 +1206,7 @@ const te = /* @__PURE__ */ N({
|
|
|
1206
1206
|
modelValue: e.value.receiptName,
|
|
1207
1207
|
"onUpdate:modelValue": t[0] || (t[0] = (r) => e.value.receiptName = r),
|
|
1208
1208
|
label: "Receipt Payment Name",
|
|
1209
|
-
"label-info": "Default receipt display will be '
|
|
1209
|
+
"label-info": "Default receipt display will be 'TERMINAL_GHL'"
|
|
1210
1210
|
}, null, 8, ["modelValue"]),
|
|
1211
1211
|
F("div", Pe, [
|
|
1212
1212
|
v(n, {
|
|
@@ -1222,14 +1222,14 @@ const te = /* @__PURE__ */ N({
|
|
|
1222
1222
|
})
|
|
1223
1223
|
]),
|
|
1224
1224
|
F("div", $e, [
|
|
1225
|
-
(g(!0), U(
|
|
1225
|
+
(g(!0), U(G, null, P(e.value.cardTypes, (r) => (g(), w(p, {
|
|
1226
1226
|
key: r,
|
|
1227
1227
|
label: r,
|
|
1228
1228
|
removable: !0,
|
|
1229
1229
|
onChipClosed: () => e.value.cardTypes.splice(e.value.cardTypes.indexOf(r), 1)
|
|
1230
1230
|
}, null, 8, ["label", "onChipClosed"]))), 128))
|
|
1231
1231
|
]),
|
|
1232
|
-
F("div",
|
|
1232
|
+
F("div", De, [
|
|
1233
1233
|
l.value > -1 ? (g(), w(u, {
|
|
1234
1234
|
key: 0,
|
|
1235
1235
|
class: "flex-1",
|
|
@@ -1249,7 +1249,7 @@ const te = /* @__PURE__ */ N({
|
|
|
1249
1249
|
}, 512);
|
|
1250
1250
|
};
|
|
1251
1251
|
}
|
|
1252
|
-
}), Be = { class: "flex items-center" }, Ye = { class: "w-[260px] self-start" },
|
|
1252
|
+
}), Be = { class: "flex items-center" }, Ye = { class: "w-[260px] self-start" }, Le = { class: "flex-1" }, Ke = /* @__PURE__ */ N({
|
|
1253
1253
|
__name: "EcrGateway",
|
|
1254
1254
|
props: {
|
|
1255
1255
|
terminal: {
|
|
@@ -1308,13 +1308,13 @@ const te = /* @__PURE__ */ N({
|
|
|
1308
1308
|
{
|
|
1309
1309
|
label: "KBank Terminal",
|
|
1310
1310
|
value: "kbank",
|
|
1311
|
-
render:
|
|
1311
|
+
render: he,
|
|
1312
1312
|
region: [V.F_COUNTRY.enum.TH]
|
|
1313
1313
|
},
|
|
1314
1314
|
{
|
|
1315
1315
|
label: "GHL Terminal",
|
|
1316
1316
|
value: "ghl3",
|
|
1317
|
-
render:
|
|
1317
|
+
render: Ae,
|
|
1318
1318
|
region: [V.F_COUNTRY.enum.TH]
|
|
1319
1319
|
}
|
|
1320
1320
|
], b = R(() => a.find((c) => c.value === e.value)), l = j().currentCountry, o = R(() => a.filter(
|
|
@@ -1335,8 +1335,8 @@ const te = /* @__PURE__ */ N({
|
|
|
1335
1335
|
items: o.value
|
|
1336
1336
|
}, null, 8, ["model-value", "items"])
|
|
1337
1337
|
]),
|
|
1338
|
-
F("div",
|
|
1339
|
-
S(e) ? (g(), w(Y((i = b.value) == null ? void 0 : i.render), K(
|
|
1338
|
+
F("div", Le, [
|
|
1339
|
+
S(e) ? (g(), w(Y((i = b.value) == null ? void 0 : i.render), L(K({ key: 0 }, {
|
|
1340
1340
|
terminal: d.terminal,
|
|
1341
1341
|
onUpdate: d.onUpdate
|
|
1342
1342
|
})), null, 16)) : k("", !0)
|
|
@@ -1357,7 +1357,7 @@ const te = /* @__PURE__ */ N({
|
|
|
1357
1357
|
}
|
|
1358
1358
|
},
|
|
1359
1359
|
setup(I) {
|
|
1360
|
-
const d = I, a =
|
|
1360
|
+
const d = I, a = h(() => d.terminal), b = _(), l = _(-1), o = _({
|
|
1361
1361
|
account: "",
|
|
1362
1362
|
receiptName: ""
|
|
1363
1363
|
}), e = () => {
|
|
@@ -1460,7 +1460,7 @@ const te = /* @__PURE__ */ N({
|
|
|
1460
1460
|
}, null, 8, ["model-value", "items"])
|
|
1461
1461
|
]),
|
|
1462
1462
|
F("div", Qe, [
|
|
1463
|
-
S(e) ? (g(), w(Y((i = b.value) == null ? void 0 : i.render), K(
|
|
1463
|
+
S(e) ? (g(), w(Y((i = b.value) == null ? void 0 : i.render), L(K({ key: 0 }, {
|
|
1464
1464
|
terminal: d.terminal,
|
|
1465
1465
|
onUpdate: d.onUpdate
|
|
1466
1466
|
})), null, 16)) : k("", !0)
|
|
@@ -1483,7 +1483,7 @@ const te = /* @__PURE__ */ N({
|
|
|
1483
1483
|
async function c(n) {
|
|
1484
1484
|
l(async () => {
|
|
1485
1485
|
try {
|
|
1486
|
-
await
|
|
1486
|
+
await D.updateById(
|
|
1487
1487
|
d.terminalId,
|
|
1488
1488
|
{
|
|
1489
1489
|
name: n.name,
|
|
@@ -1493,7 +1493,7 @@ const te = /* @__PURE__ */ N({
|
|
|
1493
1493
|
ecrIntegrations: n.ecrIntegrations ?? [],
|
|
1494
1494
|
qrIntegrations: n.qrIntegrations ?? []
|
|
1495
1495
|
}
|
|
1496
|
-
), m.value = await
|
|
1496
|
+
), m.value = await D.readById(d.terminalId), e.open({
|
|
1497
1497
|
type: "success",
|
|
1498
1498
|
message: "Terminal updated successfully"
|
|
1499
1499
|
});
|
|
@@ -1530,7 +1530,7 @@ const te = /* @__PURE__ */ N({
|
|
|
1530
1530
|
label: "ECR Gateway",
|
|
1531
1531
|
value: "ecr",
|
|
1532
1532
|
icon: "point_of_sale",
|
|
1533
|
-
render:
|
|
1533
|
+
render: Ke,
|
|
1534
1534
|
onlyFor: ["POS", "KIOSK"]
|
|
1535
1535
|
},
|
|
1536
1536
|
{
|
|
@@ -1548,7 +1548,7 @@ const te = /* @__PURE__ */ N({
|
|
|
1548
1548
|
});
|
|
1549
1549
|
async function i() {
|
|
1550
1550
|
l(async () => {
|
|
1551
|
-
m.value = await
|
|
1551
|
+
m.value = await D.readById(d.terminalId);
|
|
1552
1552
|
});
|
|
1553
1553
|
}
|
|
1554
1554
|
const t = R(() => f.filter((n) => {
|
|
@@ -1570,7 +1570,7 @@ const te = /* @__PURE__ */ N({
|
|
|
1570
1570
|
class: "mb-6",
|
|
1571
1571
|
items: t.value
|
|
1572
1572
|
}, null, 8, ["model-value", "items"]),
|
|
1573
|
-
S(a) ? (g(), w(Y(s.value), K(
|
|
1573
|
+
S(a) ? (g(), w(Y(s.value), L(K({ key: 0 }, {
|
|
1574
1574
|
terminal: m.value,
|
|
1575
1575
|
onUpdate: c
|
|
1576
1576
|
})), null, 16)) : k("", !0)
|
|
@@ -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-C3QAsgyZ.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-lXiMOlng.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-D7YhO1Ws.js")
|
|
414
414
|
},
|
|
415
415
|
{
|
|
416
416
|
path: "/admin/terminal/pos",
|
|
@@ -455,7 +455,7 @@ const Gn = {
|
|
|
455
455
|
meta: {
|
|
456
456
|
parent: "mf-payment-admin.pos"
|
|
457
457
|
},
|
|
458
|
-
component: () => import("./TerminalSetting-
|
|
458
|
+
component: () => import("./TerminalSetting-D1HF1unx.js")
|
|
459
459
|
},
|
|
460
460
|
{
|
|
461
461
|
path: "/admin/terminal/kiosk/:terminalId",
|
|
@@ -464,7 +464,7 @@ const Gn = {
|
|
|
464
464
|
meta: {
|
|
465
465
|
parent: "mf-payment-admin.kiosk"
|
|
466
466
|
},
|
|
467
|
-
component: () => import("./TerminalSetting-
|
|
467
|
+
component: () => import("./TerminalSetting-D1HF1unx.js")
|
|
468
468
|
},
|
|
469
469
|
{
|
|
470
470
|
path: "/admin/terminal/terminal/:terminalId",
|
|
@@ -473,7 +473,7 @@ const Gn = {
|
|
|
473
473
|
meta: {
|
|
474
474
|
parent: "mf-payment-admin.terminal"
|
|
475
475
|
},
|
|
476
|
-
component: () => import("./TerminalSetting-
|
|
476
|
+
component: () => import("./TerminalSetting-D1HF1unx.js")
|
|
477
477
|
},
|
|
478
478
|
{
|
|
479
479
|
path: "/admin/transaction",
|
|
@@ -516,7 +516,7 @@ const Gn = {
|
|
|
516
516
|
{
|
|
517
517
|
path: "/payout-account",
|
|
518
518
|
name: "mf-payment-payout-account",
|
|
519
|
-
component: () => import("./PayoutAccount-
|
|
519
|
+
component: () => import("./PayoutAccount-BfmsvetE.js"),
|
|
520
520
|
meta: {
|
|
521
521
|
sidebarDisplay: "i18n:payment.routes.payout_account"
|
|
522
522
|
}
|
|
@@ -524,7 +524,7 @@ const Gn = {
|
|
|
524
524
|
{
|
|
525
525
|
path: "/onboard-submission",
|
|
526
526
|
name: "mf-payment-onboard-submission",
|
|
527
|
-
component: () => import("./OnboardSubmission-
|
|
527
|
+
component: () => import("./OnboardSubmission-xPEkh68U.js"),
|
|
528
528
|
meta: {
|
|
529
529
|
sidebarDisplay: "i18n:payment.routes.onboard_submission",
|
|
530
530
|
region: { MY: !0 }
|
|
@@ -534,7 +534,7 @@ const Gn = {
|
|
|
534
534
|
path: "/onboard-submission/:type/:submission?",
|
|
535
535
|
name: "mf-payment-onboard-submission-form",
|
|
536
536
|
props: !0,
|
|
537
|
-
component: () => import("./OnboardForm-
|
|
537
|
+
component: () => import("./OnboardForm-1NFbYR_G.js"),
|
|
538
538
|
meta: {
|
|
539
539
|
parent: "mf-payment-onboard-submission"
|
|
540
540
|
}
|
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-laA3NA9a.js";
|
|
2
2
|
import { c as st, a as it, B as at, p as E } from "./index-B8ejEL5n.js";
|
|
3
3
|
import { useCoreStore as ut } from "@feedmepos/mf-common";
|
|
4
|
-
import { _ as ot } from "./app-
|
|
4
|
+
import { _ as ot } from "./app-C7HXerto.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-C7HXerto.js";
|
|
2
2
|
/**
|
|
3
3
|
* @license
|
|
4
4
|
* Copyright 2017 Google LLC
|