@feedmepos/mf-payment 1.1.2-beta.2 → 1.1.3
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/{PayoutAccount-CGcfRlND.js → PayoutAccount-QN56UYcn.js} +5 -5
- package/dist/{PayoutAccount-Cq63Lchn.js → PayoutAccount-R63Nclyl.js} +3 -3
- package/dist/{PayoutAccountSetting-mp5XADlV.js → PayoutAccountSetting-BZLLqj9W.js} +75 -70
- package/dist/{Restaurant-Bh-Swmnc.js → Restaurant-DPtLZz_t.js} +4 -4
- package/dist/{RestaurantSetting-DD3fBa82.js → RestaurantSetting-BKEXfi-2.js} +3 -3
- package/dist/{Settlement-ByLto4lA.js → Settlement-C9XlPvOC.js} +3 -3
- package/dist/{Settlement-D6V7hXB0.js → Settlement-FrNSATfN.js} +3 -3
- package/dist/{SettlementTransactions-CpcZ6a8t.js → SettlementTransactions-B97pfd3e.js} +3 -3
- package/dist/{SettlementTransactions-CLkClb0y.js → SettlementTransactions-vIaQzZLb.js} +3 -3
- package/dist/{Terminal-Bf4K0SU6.js → Terminal-CJNtq_6a.js} +6 -6
- package/dist/{TerminalSetting-C5MfEECE.js → TerminalSetting-CZz6PeyG.js} +3 -3
- package/dist/{Transaction-B4h34xHh.js → Transaction-C0sBCFLp.js} +64 -69
- package/dist/{Transaction-DH9KvyRn.js → Transaction-DYXeI4Ja.js} +6 -6
- package/dist/{TransactionOld-D-Blr5IV.js → TransactionOld-BbmFHV9b.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-pKkCwcN4.js → TransactionTable.vue_vue_type_script_setup_true_lang-B2WaeKlW.js} +3 -3
- package/dist/{app-Cx_4amzP.js → app-BZBrPMGI.js} +323 -323
- package/dist/app.js +1 -1
- package/dist/{assets-DwQ9WbsQ.js → assets-DK8qcvvE.js} +2 -2
- package/dist/{grafana-BHFm9kPb.js → grafana-D9CUCenW.js} +4 -4
- package/dist/{index-8FeljzPy.js → index-1ek_J3MH.js} +1 -1
- package/dist/{index-BStG1ssC.js → index-BJG6JQZI.js} +7129 -7185
- package/dist/{index-BXmakOBx.js → index-Ba92Mso-.js} +1 -1
- package/dist/{index-DqqNNVB5.js → index-CsecEOgx.js} +1 -1
- package/dist/{index-n0CcC4-P.js → index-DzKrZEv8.js} +1 -1
- package/dist/{index-V6QYtm9V.js → index-c7WpvZdX.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-B1-3Fz1G.js → index.vue_vue_type_script_setup_true_lang-CrVUe88c.js} +1 -1
- package/dist/package.json +2 -2
- package/dist/{payout-account-L8vExmhH.js → payout-account-DJwjD_DL.js} +2 -2
- package/dist/stores/payoutAccount.d.ts +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +2 -2
- package/dist/views/admin/restaurant/tabs/PaymentGateway.vue.d.ts +2 -2
- package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/GhlGateway.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/tabs/gateway/RevenueMonsterGateway.vue.d.ts +4 -4
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +2 -2
- package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +2 -2
- package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +2 -2
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +2 -2
- package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +2 -2
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +4 -4
- package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +12 -12
- package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +6 -6
- package/package.json +2 -2
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as y, resolveComponent as u, openBlock as h, createBlock as k, normalizeClass as N, withCtx as c, createElementVNode as P, toDisplayString as I, createVNode as i, computed as x, ref as S, watch as F, unref as r, isRef as f, h as v } from "vue";
|
2
|
-
import { u as O } from "./index-
|
3
|
-
import { _ as K } from "./index-
|
2
|
+
import { u as O } from "./index-Ba92Mso-.js";
|
3
|
+
import { _ as K } from "./index-BJG6JQZI.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-
|
6
|
-
import { p as D } from "./index-
|
5
|
+
import { P as V } from "./payout-account-DJwjD_DL.js";
|
6
|
+
import { p as D } from "./index-1ek_J3MH.js";
|
7
7
|
import "@feedmepos/ui-library";
|
8
|
-
import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-
|
8
|
+
import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-CrVUe88c.js";
|
9
9
|
import { useRouter as U } from "vue-router";
|
10
10
|
import { _ as $ } from "./SelectAll.vue_vue_type_script_setup_true_lang-DA4rs3tk.js";
|
11
11
|
const G = /* @__PURE__ */ y({
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as P, ref as W, reactive as eA, computed as I, watch as _, resolveComponent as C, openBlock as r, createElementBlock as f, Fragment as $, unref as s, createVNode as Y, createBlock as i, createCommentVNode as j, withCtx as q, createElementVNode as B, toDisplayString as N, normalizeClass as k, h as U, onMounted as sA } from "vue";
|
2
|
-
import { p as J } from "./index-
|
3
|
-
import { _ as h, u as aA, e as oA } from "./index-
|
2
|
+
import { p as J } from "./index-1ek_J3MH.js";
|
3
|
+
import { _ as h, u as aA, e as oA } from "./index-BJG6JQZI.js";
|
4
4
|
import { defineStore as gA } from "pinia";
|
5
5
|
import { useI18n as R, useCoreStore as AA } from "@feedmepos/mf-common";
|
6
|
-
import { c as lA, P as z } from "./payout-account-
|
6
|
+
import { c as lA, P as z } from "./payout-account-DJwjD_DL.js";
|
7
7
|
import { useDialogChild as rA, useDialog as cA } from "@feedmepos/ui-library";
|
8
8
|
import { z as F, a as H } from "./validator-D5jtpt9A.js";
|
9
9
|
import { P as S } from "./PDFViewer-BQfgFexr.js";
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import { defineComponent as k, resolveComponent as y, openBlock as b, createElementBlock as A, Fragment as $, createElementVNode as l, createVNode as s, withCtx as F, createTextVNode as _, toDisplayString as h, createCommentVNode as S, createBlock as C, ref as V, watch as
|
2
|
-
import { p as P } from "./index-
|
3
|
-
import { u as K, e as N } from "./index-
|
4
|
-
import { _ as
|
5
|
-
import { useRouter as
|
6
|
-
import { u as D } from "./index-
|
7
|
-
import { P as
|
8
|
-
import { useSnackbar as j, components as
|
1
|
+
import { defineComponent as k, resolveComponent as y, openBlock as b, createElementBlock as A, Fragment as $, createElementVNode as l, createVNode as s, withCtx as F, createTextVNode as _, toDisplayString as h, createCommentVNode as S, createBlock as C, ref as V, watch as L, computed as G, unref as v, isRef as M, h as B, onMounted as H, resolveDynamicComponent as Y, normalizeProps as Q, mergeProps as W } from "vue";
|
2
|
+
import { p as P } from "./index-1ek_J3MH.js";
|
3
|
+
import { u as K, e as N } from "./index-BJG6JQZI.js";
|
4
|
+
import { _ as J } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
5
|
+
import { useRouter as X } from "vue-router";
|
6
|
+
import { u as D } from "./index-Ba92Mso-.js";
|
7
|
+
import { P as z, _ as ee } from "./PDFViewer-BQfgFexr.js";
|
8
|
+
import { useSnackbar as j, components as te } from "@feedmepos/ui-library";
|
9
9
|
import { u as I } from "./error-K1CakhA9.js";
|
10
10
|
import { z as R, a as E } from "./validator-D5jtpt9A.js";
|
11
|
-
import { useCoreStore as
|
12
|
-
const
|
11
|
+
import { useCoreStore as ne } from "@feedmepos/mf-common";
|
12
|
+
const ae = { class: "flex gap-16 mb-6" }, oe = ["src"], le = /* @__PURE__ */ k({
|
13
13
|
__name: "Information",
|
14
14
|
props: {
|
15
15
|
payoutAccount: {
|
@@ -21,7 +21,7 @@ const te = { class: "flex gap-16 mb-6" }, ne = ["src"], ae = /* @__PURE__ */ k({
|
|
21
21
|
return (r, e) => {
|
22
22
|
const p = y("FmCardHeader"), c = y("FmCardSection"), o = y("FmCard");
|
23
23
|
return b(), A($, null, [
|
24
|
-
l("div",
|
24
|
+
l("div", ae, [
|
25
25
|
s(o, {
|
26
26
|
horizontal: "",
|
27
27
|
class: "flex-1 p-6",
|
@@ -99,11 +99,11 @@ const te = { class: "flex gap-16 mb-6" }, ne = ["src"], ae = /* @__PURE__ */ k({
|
|
99
99
|
n.payoutAccount.store.exteriorPhoto ? (b(), A("img", {
|
100
100
|
key: 0,
|
101
101
|
src: n.payoutAccount.store.exteriorPhoto
|
102
|
-
}, null, 8,
|
102
|
+
}, null, 8, oe)) : S("", !0)
|
103
103
|
], 64);
|
104
104
|
};
|
105
105
|
}
|
106
|
-
}),
|
106
|
+
}), ue = { class: "flex gap-16" }, se = { class: "flex-1" }, re = { class: "flex-1" }, ce = /* @__PURE__ */ k({
|
107
107
|
__name: "Settlement",
|
108
108
|
props: {
|
109
109
|
payoutAccount: {
|
@@ -150,19 +150,19 @@ const te = { class: "flex gap-16 mb-6" }, ne = ["src"], ae = /* @__PURE__ */ k({
|
|
150
150
|
]),
|
151
151
|
_: 1
|
152
152
|
}),
|
153
|
-
l("div",
|
154
|
-
l("div",
|
153
|
+
l("div", ue, [
|
154
|
+
l("div", se, [
|
155
155
|
e[5] || (e[5] = l("p", { class: "fm-typo-en-body-lg-600 mb-6" }, "SSM", -1)),
|
156
|
-
n.payoutAccount.store.ssm ? (b(), C(
|
156
|
+
n.payoutAccount.store.ssm ? (b(), C(z, {
|
157
157
|
key: 0,
|
158
158
|
pdf: n.payoutAccount.store.ssm,
|
159
159
|
"disable-text-layer": !0,
|
160
160
|
"disable-annotation-layer": !0
|
161
161
|
}, null, 8, ["pdf"])) : S("", !0)
|
162
162
|
]),
|
163
|
-
l("div",
|
163
|
+
l("div", re, [
|
164
164
|
e[6] || (e[6] = l("p", { class: "fm-typo-en-body-lg-600 mb-6" }, "Bank Statement", -1)),
|
165
|
-
n.payoutAccount.store.bankStatement ? (b(), C(
|
165
|
+
n.payoutAccount.store.bankStatement ? (b(), C(z, {
|
166
166
|
key: 0,
|
167
167
|
pdf: n.payoutAccount.store.bankStatement,
|
168
168
|
"disable-text-layer": !0,
|
@@ -173,7 +173,7 @@ const te = { class: "flex gap-16 mb-6" }, ne = ["src"], ae = /* @__PURE__ */ k({
|
|
173
173
|
], 64);
|
174
174
|
};
|
175
175
|
}
|
176
|
-
}),
|
176
|
+
}), ie = /* @__PURE__ */ k({
|
177
177
|
__name: "RateInput",
|
178
178
|
props: {
|
179
179
|
data: {},
|
@@ -181,7 +181,7 @@ const te = { class: "flex gap-16 mb-6" }, ne = ["src"], ae = /* @__PURE__ */ k({
|
|
181
181
|
},
|
182
182
|
setup(n) {
|
183
183
|
const r = n, e = V(r.data.toString());
|
184
|
-
return
|
184
|
+
return L(e, (p) => {
|
185
185
|
r.onChange(parseFloat(p));
|
186
186
|
}), (p, c) => {
|
187
187
|
const o = y("FmTextField");
|
@@ -197,7 +197,7 @@ const te = { class: "flex gap-16 mb-6" }, ne = ["src"], ae = /* @__PURE__ */ k({
|
|
197
197
|
}, 8, ["modelValue"]);
|
198
198
|
};
|
199
199
|
}
|
200
|
-
}),
|
200
|
+
}), de = /* @__PURE__ */ k({
|
201
201
|
__name: "TPlusInput",
|
202
202
|
props: {
|
203
203
|
data: {},
|
@@ -205,7 +205,7 @@ const te = { class: "flex gap-16 mb-6" }, ne = ["src"], ae = /* @__PURE__ */ k({
|
|
205
205
|
},
|
206
206
|
setup(n) {
|
207
207
|
const r = n, e = V(r.data.toString());
|
208
|
-
return
|
208
|
+
return L(e, (p) => {
|
209
209
|
r.onChange(parseInt(p));
|
210
210
|
}), (p, c) => {
|
211
211
|
const o = y("FmTextField");
|
@@ -216,7 +216,7 @@ const te = { class: "flex gap-16 mb-6" }, ne = ["src"], ae = /* @__PURE__ */ k({
|
|
216
216
|
}, null, 8, ["modelValue"]);
|
217
217
|
};
|
218
218
|
}
|
219
|
-
}),
|
219
|
+
}), me = { class: "flex gap-16 mt-6" }, pe = { class: "flex-1" }, ye = { class: "flex-1" }, fe = { class: "my-6 w-full flex justify-end" }, be = { class: "w-[320px]" }, ve = /* @__PURE__ */ k({
|
220
220
|
__name: "PaymentStatus",
|
221
221
|
props: {
|
222
222
|
onUpdate: {
|
@@ -246,7 +246,7 @@ const te = { class: "flex gap-16 mb-6" }, ne = ["src"], ae = /* @__PURE__ */ k({
|
|
246
246
|
}
|
247
247
|
}, { search: o } = D({
|
248
248
|
search: ""
|
249
|
-
}), u =
|
249
|
+
}), u = G(() => {
|
250
250
|
const { ssm: a, bank: t, bankStatement: i } = r.payoutAccount.store;
|
251
251
|
return a && t && t.name && t.accountNumber && t.holderName && i;
|
252
252
|
}), f = V(""), d = [
|
@@ -260,7 +260,7 @@ const te = { class: "flex gap-16 mb-6" }, ne = ["src"], ae = /* @__PURE__ */ k({
|
|
260
260
|
accessorKey: "rate",
|
261
261
|
cell: ({ row: a }) => {
|
262
262
|
let t = 0;
|
263
|
-
return a.original.rate && (t = a.original.rate.amount / Math.pow(10, a.original.rate.precision)), B(
|
263
|
+
return a.original.rate && (t = a.original.rate.amount / Math.pow(10, a.original.rate.precision)), B(ie, {
|
264
264
|
data: t,
|
265
265
|
onChange: (i) => {
|
266
266
|
const m = r.payoutAccount.methods.at(a.index);
|
@@ -275,7 +275,7 @@ const te = { class: "flex gap-16 mb-6" }, ne = ["src"], ae = /* @__PURE__ */ k({
|
|
275
275
|
{
|
276
276
|
header: () => "T plus",
|
277
277
|
accessorKey: "tPlus",
|
278
|
-
cell: ({ row: a }) => B(
|
278
|
+
cell: ({ row: a }) => B(de, {
|
279
279
|
data: a.original.tPlus ?? 0,
|
280
280
|
onChange: (t) => {
|
281
281
|
const i = r.payoutAccount.methods.at(a.index);
|
@@ -287,8 +287,8 @@ const te = { class: "flex gap-16 mb-6" }, ne = ["src"], ae = /* @__PURE__ */ k({
|
|
287
287
|
return (a, t) => {
|
288
288
|
const i = y("FmRadio"), m = y("FmRadioGroup"), w = y("FmSwitch"), T = y("FmSearch"), U = y("FmTable"), x = y("FmButton");
|
289
289
|
return b(), A($, null, [
|
290
|
-
l("div",
|
291
|
-
l("div",
|
290
|
+
l("div", me, [
|
291
|
+
l("div", pe, [
|
292
292
|
s(m, {
|
293
293
|
modelValue: n.payoutAccount.status,
|
294
294
|
"onUpdate:modelValue": t[0] || (t[0] = (g) => n.payoutAccount.status = g),
|
@@ -311,7 +311,7 @@ const te = { class: "flex gap-16 mb-6" }, ne = ["src"], ae = /* @__PURE__ */ k({
|
|
311
311
|
_: 1
|
312
312
|
}, 8, ["modelValue"])
|
313
313
|
]),
|
314
|
-
l("div",
|
314
|
+
l("div", ye, [
|
315
315
|
s(w, {
|
316
316
|
modelValue: n.payoutAccount.enable,
|
317
317
|
"onUpdate:modelValue": t[1] || (t[1] = (g) => n.payoutAccount.enable = g),
|
@@ -322,11 +322,11 @@ const te = { class: "flex gap-16 mb-6" }, ne = ["src"], ae = /* @__PURE__ */ k({
|
|
322
322
|
])
|
323
323
|
]),
|
324
324
|
n.payoutAccount.enable ? (b(), A($, { key: 0 }, [
|
325
|
-
l("div",
|
326
|
-
l("div",
|
325
|
+
l("div", fe, [
|
326
|
+
l("div", be, [
|
327
327
|
s(T, {
|
328
328
|
modelValue: v(o),
|
329
|
-
"onUpdate:modelValue": t[2] || (t[2] = (g) =>
|
329
|
+
"onUpdate:modelValue": t[2] || (t[2] = (g) => M(o) ? o.value = g : null),
|
330
330
|
placeholder: "Search Method ..."
|
331
331
|
}, null, 8, ["modelValue"])
|
332
332
|
])
|
@@ -351,14 +351,14 @@ const te = { class: "flex gap-16 mb-6" }, ne = ["src"], ae = /* @__PURE__ */ k({
|
|
351
351
|
], 64);
|
352
352
|
};
|
353
353
|
}
|
354
|
-
}),
|
354
|
+
}), ge = { class: "flex" }, Fe = /* @__PURE__ */ k({
|
355
355
|
__name: "Actions",
|
356
356
|
emits: ["edit", "delete"],
|
357
357
|
setup(n, { emit: r }) {
|
358
358
|
const e = r;
|
359
359
|
return (p, c) => {
|
360
360
|
const o = y("FmButton");
|
361
|
-
return b(), A("div",
|
361
|
+
return b(), A("div", ge, [
|
362
362
|
s(o, {
|
363
363
|
variant: "plain",
|
364
364
|
"prepend-icon": "delete",
|
@@ -369,7 +369,7 @@ const te = { class: "flex gap-16 mb-6" }, ne = ["src"], ae = /* @__PURE__ */ k({
|
|
369
369
|
]);
|
370
370
|
};
|
371
371
|
}
|
372
|
-
}),
|
372
|
+
}), xe = { class: "flex justify-end px-6 pb-6" }, _e = /* @__PURE__ */ k({
|
373
373
|
__name: "PaymentChannel",
|
374
374
|
props: {
|
375
375
|
payoutAccount: {
|
@@ -384,7 +384,7 @@ const te = { class: "flex gap-16 mb-6" }, ne = ["src"], ae = /* @__PURE__ */ k({
|
|
384
384
|
o.value = await P.getChannels(e.payoutAccount._id);
|
385
385
|
});
|
386
386
|
}
|
387
|
-
|
387
|
+
H(u);
|
388
388
|
function f() {
|
389
389
|
c(async () => {
|
390
390
|
try {
|
@@ -434,7 +434,7 @@ const te = { class: "flex gap-16 mb-6" }, ne = ["src"], ae = /* @__PURE__ */ k({
|
|
434
434
|
{
|
435
435
|
header: () => "Label",
|
436
436
|
accessorKey: "label",
|
437
|
-
cell: ({ row: t }) => B(
|
437
|
+
cell: ({ row: t }) => B(te.FmTextField, {
|
438
438
|
modelValue: t.original.label,
|
439
439
|
"onUpdate:modelValue": (i) => t.original.label = i
|
440
440
|
})
|
@@ -442,7 +442,7 @@ const te = { class: "flex gap-16 mb-6" }, ne = ["src"], ae = /* @__PURE__ */ k({
|
|
442
442
|
{
|
443
443
|
id: "actions",
|
444
444
|
header: () => "Actions",
|
445
|
-
cell: ({ row: t }) => B(
|
445
|
+
cell: ({ row: t }) => B(Fe, {
|
446
446
|
onDelete: () => o.value.splice(t.index, 1)
|
447
447
|
})
|
448
448
|
}
|
@@ -450,7 +450,7 @@ const te = { class: "flex gap-16 mb-6" }, ne = ["src"], ae = /* @__PURE__ */ k({
|
|
450
450
|
return (t, i) => {
|
451
451
|
const m = y("FmButton"), w = y("FmTable");
|
452
452
|
return b(), A($, null, [
|
453
|
-
l("div",
|
453
|
+
l("div", xe, [
|
454
454
|
s(m, {
|
455
455
|
class: "mx-4",
|
456
456
|
variant: "destructive",
|
@@ -476,7 +476,7 @@ const te = { class: "flex gap-16 mb-6" }, ne = ["src"], ae = /* @__PURE__ */ k({
|
|
476
476
|
], 64);
|
477
477
|
};
|
478
478
|
}
|
479
|
-
}),
|
479
|
+
}), we = { class: "flex mt-6 space-x-6" }, Ae = /* @__PURE__ */ k({
|
480
480
|
__name: "FiuuGateway",
|
481
481
|
props: {
|
482
482
|
gateway: {
|
@@ -525,7 +525,7 @@ const te = { class: "flex gap-16 mb-6" }, ne = ["src"], ae = /* @__PURE__ */ k({
|
|
525
525
|
label: "Secret Key",
|
526
526
|
rules: v(R)(v(E).string())
|
527
527
|
}, null, 8, ["modelValue", "rules"]),
|
528
|
-
l("div",
|
528
|
+
l("div", we, [
|
529
529
|
n.gateway ? (b(), C(f, {
|
530
530
|
key: 0,
|
531
531
|
class: "flex-1",
|
@@ -545,16 +545,16 @@ const te = { class: "flex gap-16 mb-6" }, ne = ["src"], ae = /* @__PURE__ */ k({
|
|
545
545
|
}, 512);
|
546
546
|
};
|
547
547
|
}
|
548
|
-
}),
|
549
|
-
function
|
550
|
-
return b(), A("div",
|
548
|
+
}), Ce = {}, ke = { class: "flex items-center justify-center h-screen" };
|
549
|
+
function he(n, r) {
|
550
|
+
return b(), A("div", ke, r[0] || (r[0] = [
|
551
551
|
l("h1", { class: "text-4xl font-bold text-gray-800" }, "Coming Soon", -1)
|
552
552
|
]));
|
553
553
|
}
|
554
|
-
const
|
554
|
+
const Pe = /* @__PURE__ */ ee(Ce, [["render", he]]), Ve = {
|
555
555
|
key: 0,
|
556
556
|
class: "flex items-center justify-center min-h-[80vh]"
|
557
|
-
},
|
557
|
+
}, Se = /* @__PURE__ */ k({
|
558
558
|
__name: "PaymentGateway",
|
559
559
|
props: {
|
560
560
|
payoutAccount: {
|
@@ -563,22 +563,22 @@ const ke = /* @__PURE__ */ J(we, [["render", Ce]]), he = {
|
|
563
563
|
}
|
564
564
|
},
|
565
565
|
setup(n) {
|
566
|
-
const r =
|
566
|
+
const r = ne().currentCountry, e = j(), { isLoading: p, startAsyncCall: c } = K(), { gatewayTab: o } = D({
|
567
567
|
gatewayTab: ""
|
568
568
|
}), u = n, f = [
|
569
569
|
{
|
570
570
|
label: "Fiuu",
|
571
571
|
value: "RAZER_MERCHANT_SERVICE",
|
572
|
-
render:
|
572
|
+
render: Ae,
|
573
573
|
region: [N.F_COUNTRY.enum.SG]
|
574
574
|
},
|
575
575
|
{
|
576
576
|
label: "Macau Pass",
|
577
577
|
value: "MACAU_PASS",
|
578
|
-
render:
|
578
|
+
render: Pe,
|
579
579
|
region: [N.F_COUNTRY.enum.MO]
|
580
580
|
}
|
581
|
-
], d = V(u.payoutAccount.gateways ?? []), a =
|
581
|
+
], d = V(u.payoutAccount.gateways ?? []), a = G(() => f.find((i) => i.value === o.value));
|
582
582
|
async function t(i) {
|
583
583
|
await c(async () => {
|
584
584
|
try {
|
@@ -603,16 +603,16 @@ const ke = /* @__PURE__ */ J(we, [["render", Ce]]), he = {
|
|
603
603
|
l("b", null, "Note: "),
|
604
604
|
_(" There's no setup required for Malaysia Payment Gateway, once Payout Account is ready you will able to configure the payment channels. ")
|
605
605
|
], -1)),
|
606
|
-
v(p) ? (b(), A("div",
|
606
|
+
v(p) ? (b(), A("div", Ve, [
|
607
607
|
s(w, { size: "xxl" })
|
608
608
|
])) : (b(), C(T, {
|
609
609
|
key: 1,
|
610
610
|
"model-value": v(o),
|
611
|
-
"onUpdate:modelValue": m[0] || (m[0] = (x) =>
|
611
|
+
"onUpdate:modelValue": m[0] || (m[0] = (x) => M(o) ? o.value = x : null),
|
612
612
|
class: "mb-6",
|
613
613
|
items: f.filter((x) => x.region.includes(v(r) ?? v(N.F_COUNTRY).enum.MY))
|
614
614
|
}, null, 8, ["model-value", "items"])),
|
615
|
-
v(o) ? (b(), C(
|
615
|
+
v(o) ? (b(), C(Y((U = a.value) == null ? void 0 : U.render), Q(W({ key: 2 }, {
|
616
616
|
gateway: d.value.find((x) => {
|
617
617
|
var g;
|
618
618
|
return x.paymentGateway === ((g = a.value) == null ? void 0 : g.value);
|
@@ -624,16 +624,21 @@ const ke = /* @__PURE__ */ J(we, [["render", Ce]]), he = {
|
|
624
624
|
}), t(d.value);
|
625
625
|
},
|
626
626
|
onUpdate: (x) => {
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
627
|
+
var O;
|
628
|
+
let g = d.value.find((Z) => {
|
629
|
+
var q;
|
630
|
+
return Z.paymentGateway === ((q = a.value) == null ? void 0 : q.value);
|
631
|
+
});
|
632
|
+
g ? g.config = x : d.value.push({
|
633
|
+
paymentGateway: (O = a.value) == null ? void 0 : O.value,
|
634
|
+
config: x
|
635
|
+
}), t(d.value);
|
631
636
|
}
|
632
637
|
})), null, 16)) : S("", !0)
|
633
638
|
], 64);
|
634
639
|
};
|
635
640
|
}
|
636
|
-
}),
|
641
|
+
}), De = /* @__PURE__ */ k({
|
637
642
|
__name: "PayoutAccountSetting",
|
638
643
|
props: {
|
639
644
|
accountId: {
|
@@ -644,7 +649,7 @@ const ke = /* @__PURE__ */ J(we, [["render", Ce]]), he = {
|
|
644
649
|
setup(n) {
|
645
650
|
const r = n, { tab: e } = D({
|
646
651
|
tab: "information"
|
647
|
-
}), { isLoading: p, startAsyncCall: c } = K(!0), o =
|
652
|
+
}), { isLoading: p, startAsyncCall: c } = K(!0), o = X(), u = V();
|
648
653
|
async function f(i) {
|
649
654
|
await P.updateById(
|
650
655
|
r.accountId,
|
@@ -656,31 +661,31 @@ const ke = /* @__PURE__ */ J(we, [["render", Ce]]), he = {
|
|
656
661
|
label: "Information",
|
657
662
|
value: "information",
|
658
663
|
icon: "overview",
|
659
|
-
render:
|
664
|
+
render: le
|
660
665
|
},
|
661
666
|
{
|
662
667
|
label: "Settlement",
|
663
668
|
value: "settlement",
|
664
669
|
icon: "payments",
|
665
|
-
render:
|
670
|
+
render: ce
|
666
671
|
},
|
667
672
|
{
|
668
673
|
label: "MDR Status",
|
669
674
|
value: "payment",
|
670
675
|
icon: "account_box",
|
671
|
-
render:
|
676
|
+
render: ve
|
672
677
|
},
|
673
678
|
{
|
674
679
|
label: "Online Gateways",
|
675
680
|
value: "gateways",
|
676
681
|
icon: "account_balance",
|
677
|
-
render:
|
682
|
+
render: Se
|
678
683
|
},
|
679
684
|
{
|
680
685
|
label: "Online Channels",
|
681
686
|
value: "channels",
|
682
687
|
icon: "assured_workload",
|
683
|
-
render:
|
688
|
+
render: _e
|
684
689
|
}
|
685
690
|
];
|
686
691
|
function a() {
|
@@ -688,15 +693,15 @@ const ke = /* @__PURE__ */ J(we, [["render", Ce]]), he = {
|
|
688
693
|
u.value = await P.readById(r.accountId);
|
689
694
|
});
|
690
695
|
}
|
691
|
-
|
692
|
-
const t =
|
696
|
+
H(a);
|
697
|
+
const t = G(() => {
|
693
698
|
var i;
|
694
699
|
return (i = d.find((m) => m.value === e.value)) == null ? void 0 : i.render;
|
695
700
|
});
|
696
701
|
return (i, m) => {
|
697
702
|
var T;
|
698
703
|
const w = y("FmTabs");
|
699
|
-
return b(), C(
|
704
|
+
return b(), C(J, {
|
700
705
|
title: `Payout Account (${(T = u.value) == null ? void 0 : T._id})`,
|
701
706
|
loading: v(p),
|
702
707
|
onBack: v(o).back
|
@@ -704,11 +709,11 @@ const ke = /* @__PURE__ */ J(we, [["render", Ce]]), he = {
|
|
704
709
|
default: F(() => [
|
705
710
|
s(w, {
|
706
711
|
"model-value": v(e),
|
707
|
-
"onUpdate:modelValue": m[0] || (m[0] = (U) =>
|
712
|
+
"onUpdate:modelValue": m[0] || (m[0] = (U) => M(e) ? e.value = U : null),
|
708
713
|
class: "mb-6",
|
709
714
|
items: d
|
710
715
|
}, null, 8, ["model-value"]),
|
711
|
-
v(e) ? (b(), C(
|
716
|
+
v(e) ? (b(), C(Y(t.value), Q(W({ key: 0 }, {
|
712
717
|
payoutAccount: u.value,
|
713
718
|
onUpdate: f
|
714
719
|
})), null, 16)) : S("", !0)
|
@@ -719,5 +724,5 @@ const ke = /* @__PURE__ */ J(we, [["render", Ce]]), he = {
|
|
719
724
|
}
|
720
725
|
});
|
721
726
|
export {
|
722
|
-
|
727
|
+
De as default
|
723
728
|
};
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { defineComponent as F, ref as y, resolveComponent as g, openBlock as x, createBlock as A, withCtx as $, createVNode as f, createElementVNode as d, normalizeStyle as T, createElementBlock as R, Fragment as z, renderList as q, computed as C, watch as I, onMounted as N, unref as h, toDisplayString as B, normalizeClass as W, isRef as E, h as P } from "vue";
|
2
|
-
import { u as O } from "./index-
|
2
|
+
import { u as O } from "./index-Ba92Mso-.js";
|
3
3
|
import { _ as j } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
|
4
4
|
import "@feedmepos/ui-library";
|
5
|
-
import { u as G } from "./index-
|
5
|
+
import { u as G } from "./index-BJG6JQZI.js";
|
6
6
|
import { _ as Q } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-CdmfrBoW.js";
|
7
|
-
import { r as H } from "./index-
|
7
|
+
import { r as H } from "./index-c7WpvZdX.js";
|
8
8
|
import { useRouter as J } from "vue-router";
|
9
|
-
import { g as X } from "./grafana-
|
9
|
+
import { g as X } from "./grafana-D9CUCenW.js";
|
10
10
|
const Y = ["id"], L = /* @__PURE__ */ F({
|
11
11
|
__name: "FmTableSelection",
|
12
12
|
props: {
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as C, ref as I, resolveComponent as d, openBlock as f, createBlock as F, withCtx as k, createVNode as u, unref as a, createElementVNode as D, createCommentVNode as S, onMounted as P, computed as q, createElementBlock as K, Fragment as M, resolveDynamicComponent as O, normalizeProps as $, mergeProps as B, isRef as N } from "vue";
|
2
|
-
import { g as T, b as R, u as E, e as U } from "./index-
|
2
|
+
import { g as T, b as R, u as E, e as U } from "./index-BJG6JQZI.js";
|
3
3
|
import { _ as Y } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
4
4
|
import { useRouter as A } from "vue-router";
|
5
|
-
import { u as L } from "./index-
|
5
|
+
import { u as L } from "./index-Ba92Mso-.js";
|
6
6
|
import { z as p, a as v } from "./validator-D5jtpt9A.js";
|
7
7
|
import { useCoreStore as j } from "@feedmepos/mf-common";
|
8
|
-
import { r as z } from "./index-
|
8
|
+
import { r as z } from "./index-c7WpvZdX.js";
|
9
9
|
const _ = {
|
10
10
|
async get(n) {
|
11
11
|
return T(
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { defineComponent as C, ref as F, computed as A, resolveComponent as k, openBlock as V, createBlock as S, h as M, watch as B, createElementBlock as j, Fragment as q, createElementVNode as l, createVNode as u, withCtx as b, unref as e, toDisplayString as m, createTextVNode as _, onMounted as z, isRef as T, createCommentVNode as Y } from "vue";
|
2
|
-
import { u as E } from "./index-
|
2
|
+
import { u as E } from "./index-BJG6JQZI.js";
|
3
3
|
import { h as K } from "./moment-h96o7c8I.js";
|
4
4
|
import { useI18n as D, useCoreStore as O } from "@feedmepos/mf-common";
|
5
5
|
import { _ as I } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
6
|
-
import { s as N } from "./index-
|
6
|
+
import { s as N } from "./index-CsecEOgx.js";
|
7
7
|
import { useDialog as L } from "@feedmepos/ui-library";
|
8
8
|
import { d as c } from "./dinero-CIVmXLL-.js";
|
9
9
|
import { _ as P } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-CdmfrBoW.js";
|
10
10
|
import { useRouter as H } from "vue-router";
|
11
|
-
import { u as J } from "./index-
|
11
|
+
import { u as J } from "./index-Ba92Mso-.js";
|
12
12
|
import { _ as Q } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
13
13
|
import { _ as W } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-hJAJYKmE.js";
|
14
14
|
import { _ as G } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { defineComponent as h, ref as C, computed as x, resolveComponent as d, openBlock as k, createBlock as A, h as B, watch as V, onMounted as I, unref as a, withCtx as b, createElementVNode as y, createVNode as s, isRef as $, createElementBlock as L, Fragment as K, renderList as E } from "vue";
|
2
|
-
import { u as D } from "./index-
|
2
|
+
import { u as D } from "./index-BJG6JQZI.js";
|
3
3
|
import { h as g } from "./moment-h96o7c8I.js";
|
4
|
-
import { s as c } from "./index-
|
4
|
+
import { s as c } from "./index-CsecEOgx.js";
|
5
5
|
import { useSnackbar as T } from "@feedmepos/ui-library";
|
6
6
|
import { d as v } from "./dinero-CIVmXLL-.js";
|
7
7
|
import { _ as P } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-CdmfrBoW.js";
|
8
8
|
import { useRouter as q } from "vue-router";
|
9
9
|
import { _ as N } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
|
10
|
-
import { u as O } from "./index-
|
10
|
+
import { u as O } from "./index-Ba92Mso-.js";
|
11
11
|
import { u as U } from "./error-K1CakhA9.js";
|
12
12
|
import { _ as j } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
|
13
13
|
const z = /* @__PURE__ */ h({
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as w, resolveComponent as g, openBlock as F, createBlock as B, normalizeClass as G, withCtx as l, createElementVNode as t, toDisplayString as u, createElementBlock as L, unref as p, ref as x, onMounted as Y, watch as H, createVNode as n, createTextVNode as i, h as N } from "vue";
|
2
|
-
import { e as E, u as q } from "./index-
|
2
|
+
import { e as E, u as q } from "./index-BJG6JQZI.js";
|
3
3
|
import { useDialog as J, useSnackbar as Q } from "@feedmepos/ui-library";
|
4
4
|
import { d as k } from "./dinero-CIVmXLL-.js";
|
5
|
-
import { g as W, a as X, t as P, b as Z } from "./assets-
|
5
|
+
import { g as W, a as X, t as P, b as Z } from "./assets-DK8qcvvE.js";
|
6
6
|
import { _ as ee } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
7
7
|
import { useRouter as te } from "vue-router";
|
8
|
-
import { s as ae } from "./index-
|
8
|
+
import { s as ae } from "./index-CsecEOgx.js";
|
9
9
|
import { u as ne } from "./error-K1CakhA9.js";
|
10
10
|
import { w as oe } from "./Modal-DB8M9o1T.js";
|
11
11
|
const re = /* @__PURE__ */ w({
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as w, resolveComponent as g, openBlock as T, createBlock as L, normalizeClass as z, withCtx as i, createElementVNode as l, toDisplayString as n, createElementBlock as O, unref as a, ref as v, onMounted as G, watch as R, createVNode as o, createTextVNode as d, h as I } from "vue";
|
2
|
-
import { e as C, u as Y } from "./index-
|
2
|
+
import { e as C, u as Y } from "./index-BJG6JQZI.js";
|
3
3
|
import "@feedmepos/ui-library";
|
4
4
|
import { d as E } from "./dinero-CIVmXLL-.js";
|
5
|
-
import { g as H, a as q, t as J, b as Q } from "./assets-
|
5
|
+
import { g as H, a as q, t as J, b as Q } from "./assets-DK8qcvvE.js";
|
6
6
|
import { _ as W } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
7
7
|
import { useRouter as X } from "vue-router";
|
8
|
-
import { s as Z } from "./index-
|
8
|
+
import { s as Z } from "./index-CsecEOgx.js";
|
9
9
|
import { useI18n as ee, useCoreStore as te } from "@feedmepos/mf-common";
|
10
10
|
const ae = /* @__PURE__ */ w({
|
11
11
|
__name: "Status",
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import { defineComponent as z, ref as I, onUpdated as oe, h as M, onMounted as he, Fragment as ie, openBlock as N, createElementBlock as G, createElementVNode as A, createTextVNode as ee, toDisplayString as se, createVNode as k, resolveComponent as _, normalizeClass as me, withCtx as q, createBlock as D, createCommentVNode as V, computed as pe, unref as P, watch as te, isRef as ge } from "vue";
|
2
|
-
import { e as Ce } from "./index-
|
2
|
+
import { e as Ce } from "./index-BJG6JQZI.js";
|
3
3
|
import { h as ye } from "./moment-h96o7c8I.js";
|
4
|
-
import { u as we } from "./index-
|
5
|
-
import { _ as Ee } from "./index.vue_vue_type_script_setup_true_lang-
|
4
|
+
import { u as we } from "./index-Ba92Mso-.js";
|
5
|
+
import { _ as Ee } from "./index.vue_vue_type_script_setup_true_lang-CrVUe88c.js";
|
6
6
|
import { _ as Me } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
|
7
7
|
import { useSnackbar as W, useDialogChild as Re, useDialog as Ae } from "@feedmepos/ui-library";
|
8
|
-
import { t as Q } from "./index-
|
8
|
+
import { t as Q } from "./index-DzKrZEv8.js";
|
9
9
|
import { c as le } from "./clipboard-4jh1WteU.js";
|
10
10
|
import { useCoreStore as ue } from "@feedmepos/mf-common";
|
11
|
-
import { g as Se } from "./grafana-
|
11
|
+
import { g as Se } from "./grafana-D9CUCenW.js";
|
12
12
|
import { u as Y } from "./error-K1CakhA9.js";
|
13
13
|
import { z as re, a as ne } from "./validator-D5jtpt9A.js";
|
14
14
|
import { w as ae } from "./Modal-DB8M9o1T.js";
|
@@ -695,7 +695,7 @@ const ke = { class: "t-caption" }, Be = { class: "t-caption" }, Fe = { class: "m
|
|
695
695
|
d.open({ title: "Clipboard API incompatible." }, 1e3);
|
696
696
|
}
|
697
697
|
}
|
698
|
-
const e = `
|
698
|
+
const e = `production,${m.toLowerCase()},${c.code}`;
|
699
699
|
return (t, r) => (N(), G(ie, null, [
|
700
700
|
A("div", ke, [
|
701
701
|
r[1] || (r[1] = ee(" Enter the binding code below on your device to link it with this terminal and apply the configuration. ")),
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { defineComponent as T, openBlock as b, createElementBlock as N, Fragment as Y, createElementVNode as g, createTextVNode as V, toDisplayString as S, toRef as M, ref as F, watch as D, onMounted as G, computed as O, resolveComponent as f, unref as _, createVNode as I, createBlock as x, withCtx as q, createCommentVNode as B, isRef as h, resolveDynamicComponent as L, normalizeProps as j, mergeProps as z } from "vue";
|
2
|
-
import { u as R, e as U } from "./index-
|
2
|
+
import { u as R, e as U } from "./index-BJG6JQZI.js";
|
3
3
|
import { useRouter as E } from "vue-router";
|
4
|
-
import { t as C } from "./index-
|
4
|
+
import { t as C } from "./index-DzKrZEv8.js";
|
5
5
|
import { _ as A } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
6
|
-
import { u as H } from "./index-
|
6
|
+
import { u as H } from "./index-Ba92Mso-.js";
|
7
7
|
import { useSnackbar as Q } from "@feedmepos/ui-library";
|
8
8
|
import { u as J } from "./error-K1CakhA9.js";
|
9
9
|
import { z as W, a as X } from "./validator-D5jtpt9A.js";
|