@feedmepos/mf-payment 1.5.41-dev → 1.5.43-dev
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-CKnr2tAK.js → OnboardForm-JFN5N5WO.js} +1 -1
- package/dist/{OnboardForm-C3QrEDT9.js → OnboardForm-LSOhpFq_.js} +1 -1
- package/dist/{PayoutAccount-D9cui2Wy.js → PayoutAccount-BAkoGh3_.js} +327 -305
- package/dist/{PayoutAccount-D1DlOJDm.js → PayoutAccount-C41lBul5.js} +1 -1
- package/dist/{Settlement-XhN_oxNt.js → Settlement-BN4xG-Lw.js} +6 -3
- package/dist/{Transaction-_m6N2d--.js → Transaction-CGp1ln-T.js} +26 -20
- package/dist/{app-D6nhI-sI.js → app-TNeYRGWg.js} +6 -6
- package/dist/app.js +1 -1
- package/dist/components/ForbiddenView.vue.d.ts +2 -0
- package/dist/package.json +1 -1
- package/dist/{payout-account-BbXW0roB.js → payout-account-tndmaoRQ.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { defineComponent as _, resolveComponent as p, openBlock as y, createBloc
|
|
|
2
2
|
import { u as K } from "./index-Q0ELb0wB.js";
|
|
3
3
|
import { p as D } from "./index-T2CVm7-_.js";
|
|
4
4
|
import { _ as $ } from "./AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js";
|
|
5
|
-
import { P } from "./payout-account-
|
|
5
|
+
import { P } from "./payout-account-tndmaoRQ.js";
|
|
6
6
|
import { p as A } from "./index-Dq4IAN2N.js";
|
|
7
7
|
import "@feedmepos/ui-library";
|
|
8
8
|
import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-CkzD8rQP.js";
|
|
@@ -407,9 +407,12 @@ const se = /* @__PURE__ */ x({
|
|
|
407
407
|
});
|
|
408
408
|
async function F() {
|
|
409
409
|
return y(async () => {
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
return o;
|
|
410
|
+
try {
|
|
411
|
+
let o = await le.readBusinessPayoutAccounts();
|
|
412
|
+
return o.length === 0 ? void 0 : o;
|
|
413
|
+
} catch {
|
|
414
|
+
return [];
|
|
415
|
+
}
|
|
413
416
|
});
|
|
414
417
|
}
|
|
415
418
|
async function T() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as G, ref as C, watch as V, onMounted as H, resolveComponent as
|
|
1
|
+
import { defineComponent as G, ref as C, watch as V, onMounted as H, resolveComponent as h, unref as n, openBlock as P, createBlock as w, createElementBlock as O, createVNode as y, withCtx as B, createElementVNode as F, Fragment as W, renderList as X, createTextVNode as Z, toDisplayString as ee, onBeforeUnmount as te, isRef as D, h as x } from "vue";
|
|
2
2
|
import { t as U } from "./index-jfRfVr4R.js";
|
|
3
3
|
import { h as z } from "./moment-h96o7c8I.js";
|
|
4
4
|
import { useI18n as J, useCoreStore as Q } from "@feedmepos/mf-common";
|
|
@@ -17,8 +17,8 @@ import { g as ve } from "./grafana-VY3mqepx.js";
|
|
|
17
17
|
import { w as j } from "./Modal-DB8M9o1T.js";
|
|
18
18
|
import { u as q } from "./error-K1CakhA9.js";
|
|
19
19
|
import { _ as be } from "./index.vue_vue_type_script_setup_true_lang-CkzD8rQP.js";
|
|
20
|
-
import { u as Te, a as
|
|
21
|
-
const
|
|
20
|
+
import { u as Te, a as he } from "./index-BwdnN4a2.js";
|
|
21
|
+
const Ae = {
|
|
22
22
|
key: 1,
|
|
23
23
|
class: "inline-flex"
|
|
24
24
|
}, Se = { class: "relative" }, Ne = { class: "sticky top-0 py-8 bg-white translate-y-[-12px]" }, Ee = /* @__PURE__ */ G({
|
|
@@ -35,9 +35,9 @@ const he = {
|
|
|
35
35
|
emits: ["update:id", "update:by"],
|
|
36
36
|
setup(M, { emit: f }) {
|
|
37
37
|
const g = M, m = f, { t: r } = J(), { currentBusiness: K, readRestaurants: b } = Q(), { isLoading: d, startAsyncCall: v } = de(!0), p = C([]), u = C(), _ = C(""), T = C([]);
|
|
38
|
-
let
|
|
38
|
+
let A;
|
|
39
39
|
V(_, async () => {
|
|
40
|
-
|
|
40
|
+
A && clearTimeout(A), A = setTimeout(() => {
|
|
41
41
|
var l = new RegExp(_.value, "i");
|
|
42
42
|
T.value = p.value.filter((o) => {
|
|
43
43
|
const a = JSON.stringify(o);
|
|
@@ -50,16 +50,22 @@ const he = {
|
|
|
50
50
|
});
|
|
51
51
|
async function L() {
|
|
52
52
|
return v(async () => {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
return l;
|
|
53
|
+
try {
|
|
54
|
+
let l = await ue.readBusinessPayoutAccounts();
|
|
55
|
+
return l.length === 0 ? [] : l;
|
|
56
|
+
} catch {
|
|
57
|
+
return [];
|
|
58
|
+
}
|
|
56
59
|
});
|
|
57
60
|
}
|
|
58
61
|
async function Y() {
|
|
59
62
|
return v(async () => {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
return l;
|
|
63
|
+
try {
|
|
64
|
+
let l = await me.getBusinessTerminals();
|
|
65
|
+
return l.length === 0 ? [] : l;
|
|
66
|
+
} catch {
|
|
67
|
+
return [];
|
|
68
|
+
}
|
|
63
69
|
});
|
|
64
70
|
}
|
|
65
71
|
async function k() {
|
|
@@ -110,11 +116,11 @@ const he = {
|
|
|
110
116
|
p.value = l, T.value = p.value, d.value = !1;
|
|
111
117
|
}
|
|
112
118
|
return H(k), V(K, k), (l, o) => {
|
|
113
|
-
const a =
|
|
119
|
+
const a = h("FmCircularProgress"), I = h("FmChip"), S = h("FmSearch"), N = h("FmMenuItem"), E = h("FmMenu");
|
|
114
120
|
return n(d) ? (P(), w(a, {
|
|
115
121
|
key: 0,
|
|
116
122
|
size: "md"
|
|
117
|
-
})) : (P(), O("div",
|
|
123
|
+
})) : (P(), O("div", Ae, [
|
|
118
124
|
y(E, { "close-on-click": !0 }, {
|
|
119
125
|
"menu-button": B(() => {
|
|
120
126
|
var e;
|
|
@@ -159,7 +165,7 @@ const he = {
|
|
|
159
165
|
},
|
|
160
166
|
setup(M) {
|
|
161
167
|
return (f, g) => {
|
|
162
|
-
const m =
|
|
168
|
+
const m = h("FmIcon");
|
|
163
169
|
return P(), O("span", Fe, [
|
|
164
170
|
Z(ee(M.row.original.seqNumber) + " ", 1),
|
|
165
171
|
y(m, {
|
|
@@ -174,7 +180,7 @@ const he = {
|
|
|
174
180
|
__name: "Transaction",
|
|
175
181
|
setup(M) {
|
|
176
182
|
var N, E;
|
|
177
|
-
const f = pe(), g = ye(), { sessionUser: m } = Q(), { t: r } = J(), { getBillLink: K } =
|
|
183
|
+
const f = pe(), g = ye(), { sessionUser: m } = Q(), { t: r } = J(), { getBillLink: K } = he(), b = C(), { dateRange: d, searchKey: v, status: p, id: u, by: _ } = se({
|
|
178
184
|
by: "",
|
|
179
185
|
id: "",
|
|
180
186
|
searchKey: "",
|
|
@@ -185,7 +191,7 @@ const he = {
|
|
|
185
191
|
}
|
|
186
192
|
});
|
|
187
193
|
let T;
|
|
188
|
-
const
|
|
194
|
+
const A = () => {
|
|
189
195
|
T && (clearTimeout(T), T = void 0);
|
|
190
196
|
}, {
|
|
191
197
|
promptSuggestion: L,
|
|
@@ -193,10 +199,10 @@ const he = {
|
|
|
193
199
|
} = Te({
|
|
194
200
|
searchKey: v,
|
|
195
201
|
dateRange: d,
|
|
196
|
-
onBeforeApply:
|
|
202
|
+
onBeforeApply: A
|
|
197
203
|
});
|
|
198
204
|
V(v, () => {
|
|
199
|
-
|
|
205
|
+
A(), L(), T = setTimeout(() => {
|
|
200
206
|
var e;
|
|
201
207
|
return (e = b.value) == null ? void 0 : e.reset();
|
|
202
208
|
}, 700);
|
|
@@ -204,7 +210,7 @@ const he = {
|
|
|
204
210
|
var e;
|
|
205
211
|
(e = b.value) == null || e.reset();
|
|
206
212
|
}), te(() => {
|
|
207
|
-
|
|
213
|
+
A(), Y();
|
|
208
214
|
});
|
|
209
215
|
const k = [
|
|
210
216
|
{
|
|
@@ -419,7 +425,7 @@ ID: ` + t.original.transactionId : t.original.id;
|
|
|
419
425
|
}
|
|
420
426
|
})
|
|
421
427
|
}), (e, t) => {
|
|
422
|
-
const s =
|
|
428
|
+
const s = h("FmSearch"), c = h("FmSelect");
|
|
423
429
|
return P(), w(ae, {
|
|
424
430
|
title: n(r)("payment.transactions.title"),
|
|
425
431
|
description: n(r)("payment.transactions.description"),
|
|
@@ -1174,7 +1174,7 @@ const Kn = {
|
|
|
1174
1174
|
sidebarDisplay: "Payout Accounts",
|
|
1175
1175
|
section: "payment-gateway"
|
|
1176
1176
|
},
|
|
1177
|
-
component: () => import("./PayoutAccount-
|
|
1177
|
+
component: () => import("./PayoutAccount-C41lBul5.js")
|
|
1178
1178
|
},
|
|
1179
1179
|
{
|
|
1180
1180
|
path: "/admin/payout-accounts/:accountId",
|
|
@@ -1201,7 +1201,7 @@ const Kn = {
|
|
|
1201
1201
|
meta: {
|
|
1202
1202
|
parent: "mf-payment-admin.onboard-submission"
|
|
1203
1203
|
},
|
|
1204
|
-
component: () => import("./OnboardForm-
|
|
1204
|
+
component: () => import("./OnboardForm-JFN5N5WO.js")
|
|
1205
1205
|
},
|
|
1206
1206
|
{
|
|
1207
1207
|
path: "/admin/terminal/pos",
|
|
@@ -1307,7 +1307,7 @@ const Kn = {
|
|
|
1307
1307
|
{
|
|
1308
1308
|
path: "/payout-account",
|
|
1309
1309
|
name: "mf-payment-payout-account",
|
|
1310
|
-
component: () => import("./PayoutAccount-
|
|
1310
|
+
component: () => import("./PayoutAccount-BAkoGh3_.js"),
|
|
1311
1311
|
meta: {
|
|
1312
1312
|
sidebarDisplay: "i18n:payment.routes.payout_account"
|
|
1313
1313
|
}
|
|
@@ -1325,7 +1325,7 @@ const Kn = {
|
|
|
1325
1325
|
path: "/onboard-submission/:type/:submission?",
|
|
1326
1326
|
name: "mf-payment-onboard-submission-form",
|
|
1327
1327
|
props: !0,
|
|
1328
|
-
component: () => import("./OnboardForm-
|
|
1328
|
+
component: () => import("./OnboardForm-LSOhpFq_.js"),
|
|
1329
1329
|
meta: {
|
|
1330
1330
|
parent: "mf-payment-onboard-submission"
|
|
1331
1331
|
}
|
|
@@ -1341,7 +1341,7 @@ const Kn = {
|
|
|
1341
1341
|
{
|
|
1342
1342
|
path: "/transaction",
|
|
1343
1343
|
name: "mf-payment-transaction",
|
|
1344
|
-
component: () => import("./Transaction-
|
|
1344
|
+
component: () => import("./Transaction-CGp1ln-T.js"),
|
|
1345
1345
|
meta: {
|
|
1346
1346
|
sidebarDisplay: "i18n:payment.routes.transaction_new",
|
|
1347
1347
|
sidebarNew: !0
|
|
@@ -1350,7 +1350,7 @@ const Kn = {
|
|
|
1350
1350
|
{
|
|
1351
1351
|
path: "/settlement",
|
|
1352
1352
|
name: "mf-payment-settlement",
|
|
1353
|
-
component: () => import("./Settlement-
|
|
1353
|
+
component: () => import("./Settlement-BN4xG-Lw.js"),
|
|
1354
1354
|
meta: {
|
|
1355
1355
|
sidebarDisplay: "i18n:payment.routes.settlement",
|
|
1356
1356
|
region: { MY: !0, SG: !0 }
|
package/dist/app.js
CHANGED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as st, c as it, p as E, B as at } from "./index-T2CVm7-_.js";
|
|
2
2
|
import { useCoreStore as ut } from "@feedmepos/mf-common";
|
|
3
3
|
import { d as H } from "./index-BGIv1us6.js";
|
|
4
|
-
import { _ as ot } from "./app-
|
|
4
|
+
import { _ as ot } from "./app-TNeYRGWg.js";
|
|
5
5
|
var Q = { exports: {} };
|
|
6
6
|
(function(i, a) {
|
|
7
7
|
(function(t, m) {
|