@feedmepos/mf-payment 1.1.12 → 1.1.13-beta.5
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-BM7A4bW5.js → PayoutAccount-CNhu91aM.js} +8 -7
- package/dist/{PayoutAccount-ugb6V8hj.js → PayoutAccount-DYV8V0bc.js} +7 -6
- package/dist/{PayoutAccountSetting-CzUuLQA2.js → PayoutAccountSetting-DIg1S0VN.js} +3 -3
- package/dist/{Restaurant-Drr8mkjz.js → Restaurant-Cpdr27hp.js} +4 -4
- package/dist/{RestaurantSetting-MFg5FvZa.js → RestaurantSetting-COb6jgUF.js} +3 -3
- package/dist/{Settlement-BX7pVMGC.js → Settlement-CdxBCc9B.js} +3 -3
- package/dist/{Settlement-C9F8zmy3.js → Settlement-DcNRxtcN.js} +3 -3
- package/dist/{SettlementTransactions-D2y_roLB.js → SettlementTransactions-C-NSu-tD.js} +3 -3
- package/dist/{SettlementTransactions-yhn9MKH7.js → SettlementTransactions-tY5QcDpI.js} +3 -3
- package/dist/{Terminal-DdShAIeA.js → Terminal-B-qgtRO8.js} +6 -6
- package/dist/TerminalSetting-BYuUWq7_.js +587 -0
- package/dist/{Transaction-URqAtCkV.js → Transaction-DwF1Mu6l.js} +27 -26
- package/dist/{Transaction-Brs4BT_C.js → Transaction-DyJfyFMq.js} +5 -5
- package/dist/{TransactionOld-C2dpIMOU.js → TransactionOld-kwohRIbn.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-CAR10vY1.js → TransactionTable.vue_vue_type_script_setup_true_lang-BHckmXyF.js} +3 -3
- package/dist/{app-UB5wJquJ.js → app-DcR_Bp7b.js} +228 -228
- package/dist/app.js +1 -1
- package/dist/{assets-DqLB1U49.js → assets-DSLf6nL-.js} +29 -27
- package/dist/{grafana-BgXZdm4K.js → grafana-D2IYqhBP.js} +2 -2
- package/dist/{index-B5lU8T15.js → index-B6LK2jna.js} +1 -1
- package/dist/index-BhHLIthD.js +162 -0
- package/dist/{index-D77sR91a.js → index-BsBqMpqq.js} +1 -1
- package/dist/{index-BQCQEh9J.js → index-C22ceuxa.js} +1 -1
- package/dist/{index-DhhivUzc.js → index-CHMmAndn.js} +4 -3
- package/dist/{index-CZFgJv51.js → index-Xj4boEbC.js} +1 -1
- package/dist/{index-DryEqWVE.js → index-cDcgQW6J.js} +13127 -12529
- package/dist/{index.vue_vue_type_script_setup_true_lang-BNrUdKfe.js → index.vue_vue_type_script_setup_true_lang-C-YH-5Lr.js} +1 -1
- package/dist/model/transaction.d.ts +1 -2
- package/dist/package.json +2 -2
- package/dist/payout-account-0jRWtBO3.js +1953 -0
- package/dist/stores/payoutAccount.d.ts +4 -4
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +16 -16
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +16 -16
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +4 -4
- package/dist/views/admin/restaurant/tabs/gateway/FiuuGateway.vue.d.ts +8 -8
- 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 +22 -28
- package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +22 -28
- package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +22 -28
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +22 -28
- package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +22 -28
- package/dist/views/admin/terminal/tabs/SoftspaceGateway.vue.d.ts +90 -0
- package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +22 -28
- package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +22 -28
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +8 -8
- package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +40 -40
- package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +20 -20
- package/package.json +2 -2
- package/dist/TerminalSetting-DE0E3JKw.js +0 -497
- package/dist/payout-account-rg1K_sDl.js +0 -1819
@@ -1,16 +1,17 @@
|
|
1
1
|
import { defineComponent as B, ref as g, watch as E, computed as I, onMounted as J, resolveComponent as b, openBlock as v, createElementBlock as P, Fragment as Y, unref as t, createBlock as N, createCommentVNode as O, withCtx as T, createVNode as i, renderList as k, createElementVNode as V, isRef as y } from "vue";
|
2
|
-
import { t as L, b as G } from "./assets-
|
3
|
-
import { u as K
|
4
|
-
import { _ as Q } from "./TransactionTable.vue_vue_type_script_setup_true_lang-
|
2
|
+
import { t as L, b as G } from "./assets-DSLf6nL-.js";
|
3
|
+
import { u as K } from "./index-cDcgQW6J.js";
|
4
|
+
import { _ as Q } from "./TransactionTable.vue_vue_type_script_setup_true_lang-BHckmXyF.js";
|
5
5
|
import { h as $ } from "./moment-h96o7c8I.js";
|
6
6
|
import { useI18n as j, useCoreStore as q } from "@feedmepos/mf-common";
|
7
7
|
import { _ as H } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
8
|
-
import { u as W } from "./index-
|
8
|
+
import { u as W } from "./index-BsBqMpqq.js";
|
9
9
|
import { _ as X } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
10
10
|
import { _ as Z } from "./SelectAll.vue_vue_type_script_setup_true_lang-DA4rs3tk.js";
|
11
11
|
import { _ as ee } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
|
12
|
-
import { p as te } from "./index-
|
13
|
-
import { t as ae } from "./index-
|
12
|
+
import { p as te } from "./index-CHMmAndn.js";
|
13
|
+
import { t as ae } from "./index-C22ceuxa.js";
|
14
|
+
import { _ as C } from "./index-BhHLIthD.js";
|
14
15
|
const ne = /* @__PURE__ */ B({
|
15
16
|
__name: "SourceSelector",
|
16
17
|
props: {
|
@@ -19,33 +20,33 @@ const ne = /* @__PURE__ */ B({
|
|
19
20
|
},
|
20
21
|
emits: ["update:id", "update:by"],
|
21
22
|
setup(z, { emit: x }) {
|
22
|
-
const F = x, { t: f } = j(), { restaurants: s, currentBusiness: m, readRestaurants: r } = q(), { isLoading: l, startAsyncCall: c } = K(!0),
|
23
|
+
const F = x, { t: f } = j(), { restaurants: s, currentBusiness: m, readRestaurants: r } = q(), { isLoading: l, startAsyncCall: c } = K(!0), p = g([]), u = g([]), a = g();
|
23
24
|
E(a, () => {
|
24
25
|
a.value && (F("update:id", a.value.value), F("update:by", a.value.by));
|
25
26
|
});
|
26
27
|
const h = I(() => [
|
27
28
|
s.value.length > 0 && "payment.components.restaurant",
|
28
29
|
u.value.length > 0 && "payment.components.device",
|
29
|
-
|
30
|
+
p.value.length > 0 && "payment.components.payout_account"
|
30
31
|
].filter((e) => !!e)), w = I(() => ({
|
31
|
-
"components.restaurant": s.value.filter((e) => e.managable).map((e) => ({
|
32
|
+
"payment.components.restaurant": s.value.filter((e) => e.managable).map((e) => ({
|
32
33
|
by: "RESTAURANT",
|
33
34
|
prefix: f("payment.components.restaurant"),
|
34
35
|
label: e.profile.name,
|
35
36
|
value: e._id
|
36
37
|
})),
|
37
|
-
"components.device": u.value.filter((e) => e.deviceType).map((e) => ({
|
38
|
+
"payment.components.device": u.value.filter((e) => e.deviceType).map((e) => ({
|
38
39
|
by: "DEVICE",
|
39
40
|
prefix: f("payment.components.device"),
|
40
41
|
label: e.deviceType + " | " + (e.deviceType === "TERMINAL" ? e.name : e.restaurant.profile.name),
|
41
42
|
value: e._id
|
42
43
|
})),
|
43
|
-
"components.payout_account":
|
44
|
-
var o,
|
44
|
+
"payment.components.payout_account": p.value.filter((e) => e.store.event).map((e) => {
|
45
|
+
var o, d;
|
45
46
|
return {
|
46
47
|
by: "PAYOUT_ACCOUNT",
|
47
48
|
prefix: f("payment.components.payout_account"),
|
48
|
-
label: e.store.event + " | " + (((
|
49
|
+
label: e.store.event + " | " + (((d = (o = e.ref) == null ? void 0 : o.profile) == null ? void 0 : d.name) ?? e.ref.name),
|
49
50
|
value: e._id
|
50
51
|
};
|
51
52
|
})
|
@@ -53,7 +54,7 @@ const ne = /* @__PURE__ */ B({
|
|
53
54
|
async function A() {
|
54
55
|
return c(async () => {
|
55
56
|
let e = await te.readBusinessPayoutAccounts();
|
56
|
-
e.length !== 0 && (
|
57
|
+
e.length !== 0 && (p.value = e);
|
57
58
|
});
|
58
59
|
}
|
59
60
|
async function R() {
|
@@ -66,9 +67,9 @@ const ne = /* @__PURE__ */ B({
|
|
66
67
|
l.value = !0, await A(), await r(), await R(), l.value = !1;
|
67
68
|
}
|
68
69
|
return J(_), E(m, _), (e, o) => {
|
69
|
-
const
|
70
|
+
const d = b("FmCircularProgress"), n = b("FmChip"), U = b("FmMenuItem"), D = b("FmMenu");
|
70
71
|
return v(), P(Y, null, [
|
71
|
-
t(l) ? (v(), N(
|
72
|
+
t(l) ? (v(), N(d, {
|
72
73
|
key: 0,
|
73
74
|
size: "md"
|
74
75
|
})) : O("", !0),
|
@@ -111,10 +112,10 @@ const ne = /* @__PURE__ */ B({
|
|
111
112
|
], 64);
|
112
113
|
};
|
113
114
|
}
|
114
|
-
}), le = { class: "flex justify-between mb-6 items-center" }, oe = { class: "flex space-x-8 items-start" }, se = { class: "flex space-x-4 self-center" }, re = { class: "flex space-x-12 mb-6" },
|
115
|
+
}), le = { class: "flex justify-between mb-6 items-center" }, oe = { class: "flex space-x-8 items-start" }, se = { class: "flex space-x-4 self-center" }, re = { class: "flex space-x-12 mb-6" }, Ne = /* @__PURE__ */ B({
|
115
116
|
__name: "Transaction",
|
116
117
|
setup(z) {
|
117
|
-
const { isLoading: x, startAsyncCall: F } = K(!0), { currentBusiness: f } = q(), { t: s } = j(), { dateRange: m, searchKey: r, status: l, id: c, by:
|
118
|
+
const { isLoading: x, startAsyncCall: F } = K(!0), { currentBusiness: f } = q(), { t: s } = j(), { dateRange: m, searchKey: r, status: l, id: c, by: p } = W({
|
118
119
|
by: "",
|
119
120
|
id: "",
|
120
121
|
searchKey: "",
|
@@ -129,15 +130,15 @@ const ne = /* @__PURE__ */ B({
|
|
129
130
|
const { startDate: _, endDate: e } = m.value, o = await L.readTransactionsV2({
|
130
131
|
status: l.value,
|
131
132
|
id: c.value,
|
132
|
-
by:
|
133
|
+
by: p.value,
|
133
134
|
start: _,
|
134
135
|
end: e
|
135
136
|
});
|
136
137
|
if (u.value = G(o), a.value = u.value, r.value > "") {
|
137
|
-
var
|
138
|
+
var d = new RegExp(r.value, "i");
|
138
139
|
a.value = u.value.filter((n) => {
|
139
140
|
const U = JSON.stringify(n);
|
140
|
-
return
|
141
|
+
return d.test(U);
|
141
142
|
});
|
142
143
|
}
|
143
144
|
});
|
@@ -175,7 +176,7 @@ const ne = /* @__PURE__ */ B({
|
|
175
176
|
}
|
176
177
|
];
|
177
178
|
return (_, e) => {
|
178
|
-
const o = b("FmSearch"),
|
179
|
+
const o = b("FmSearch"), d = b("FmSelect");
|
179
180
|
return v(), N(H, {
|
180
181
|
title: t(s)("payment.transactions.title"),
|
181
182
|
description: t(s)("payment.transactions.description"),
|
@@ -191,7 +192,7 @@ const ne = /* @__PURE__ */ B({
|
|
191
192
|
label: t(s)("payment.transactions.search.title"),
|
192
193
|
placeholder: t(s)("payment.transactions.search.placeholder")
|
193
194
|
}, null, 8, ["model-value", "label", "placeholder"]),
|
194
|
-
i(
|
195
|
+
i(d, {
|
195
196
|
modelValue: t(l),
|
196
197
|
"onUpdate:modelValue": e[2] || (e[2] = (n) => y(l) ? l.value = n : null),
|
197
198
|
class: "mr-6 w-[300px]",
|
@@ -227,8 +228,8 @@ const ne = /* @__PURE__ */ B({
|
|
227
228
|
i(ne, {
|
228
229
|
id: t(c),
|
229
230
|
"onUpdate:id": e[3] || (e[3] = (n) => y(c) ? c.value = n : null),
|
230
|
-
by: t(
|
231
|
-
"onUpdate:by": e[4] || (e[4] = (n) => y(
|
231
|
+
by: t(p),
|
232
|
+
"onUpdate:by": e[4] || (e[4] = (n) => y(p) ? p.value = n : null)
|
232
233
|
}, null, 8, ["id", "by"]),
|
233
234
|
i(ee, {
|
234
235
|
modelValue: t(m),
|
@@ -246,5 +247,5 @@ const ne = /* @__PURE__ */ B({
|
|
246
247
|
}
|
247
248
|
});
|
248
249
|
export {
|
249
|
-
|
250
|
+
Ne as default
|
250
251
|
};
|
@@ -1,16 +1,16 @@
|
|
1
1
|
import { defineComponent as b, resolveComponent as h, openBlock as m, createBlock as F, normalizeClass as R, withCtx as w, createElementVNode as _, toDisplayString as V, createElementBlock as S, unref as d, createVNode as f, Fragment as Y, renderList as C, ref as O, watch as v, isRef as I, h as y } from "vue";
|
2
|
-
import { g as P, a as U, t as g, b as B, c as N } from "./assets-
|
2
|
+
import { g as P, a as U, t as g, b as B, c as N } from "./assets-DSLf6nL-.js";
|
3
3
|
import { h as T } from "./moment-h96o7c8I.js";
|
4
|
-
import { u as G } from "./index-
|
4
|
+
import { u as G } from "./index-BsBqMpqq.js";
|
5
5
|
import { _ as L } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
|
6
6
|
import { _ as j } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
7
7
|
import { useSnackbar as Q, useDialog as z } from "@feedmepos/ui-library";
|
8
8
|
import { w as k } from "./Modal-DB8M9o1T.js";
|
9
9
|
import { u as x } from "./error-K1CakhA9.js";
|
10
10
|
import { _ as H } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
|
11
|
-
import { g as J } from "./grafana-
|
12
|
-
import { _ as W } from "./index.vue_vue_type_script_setup_true_lang-
|
13
|
-
import { e as D } from "./index-
|
11
|
+
import { g as J } from "./grafana-D2IYqhBP.js";
|
12
|
+
import { _ as W } from "./index.vue_vue_type_script_setup_true_lang-C-YH-5Lr.js";
|
13
|
+
import { e as D } from "./index-cDcgQW6J.js";
|
14
14
|
import { _ as X } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-CdmfrBoW.js";
|
15
15
|
const Z = /* @__PURE__ */ b({
|
16
16
|
__name: "Status",
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as T, ref as y, onMounted as Y, watch as f, resolveComponent as V, openBlock as C, createBlock as M, unref as t, withCtx as O, createElementVNode as u, createVNode as i, isRef as h } from "vue";
|
2
|
-
import { t as g, b as S } from "./assets-
|
3
|
-
import { u as $ } from "./index-
|
4
|
-
import { _ as N } from "./TransactionTable.vue_vue_type_script_setup_true_lang-
|
2
|
+
import { t as g, b as S } from "./assets-DSLf6nL-.js";
|
3
|
+
import { u as $ } from "./index-cDcgQW6J.js";
|
4
|
+
import { _ as N } from "./TransactionTable.vue_vue_type_script_setup_true_lang-BHckmXyF.js";
|
5
5
|
import { h as x } from "./moment-h96o7c8I.js";
|
6
6
|
import { useCoreStore as k, useI18n as E } from "@feedmepos/mf-common";
|
7
7
|
import { _ as L } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
8
|
-
import { u as P } from "./index-
|
8
|
+
import { u as P } from "./index-BsBqMpqq.js";
|
9
9
|
import { _ as A } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
10
10
|
import { _ as B } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-DyLnqQYe.js";
|
11
11
|
import { _ as F } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { defineComponent as m, resolveComponent as d, openBlock as l, createBlock as f, normalizeClass as v, withCtx as y, createElementVNode as x, toDisplayString as P, createElementBlock as w, unref as E, createVNode as q, Fragment as R, renderList as V, ref as D, h as p } from "vue";
|
2
2
|
import { useSnackbar as U, useDialog as B } from "@feedmepos/ui-library";
|
3
|
-
import { g as $, a as L, t as b, c as N } from "./assets-
|
4
|
-
import { e as h } from "./index-
|
5
|
-
import { g as G } from "./grafana-
|
3
|
+
import { g as $, a as L, t as b, c as N } from "./assets-DSLf6nL-.js";
|
4
|
+
import { e as h } from "./index-cDcgQW6J.js";
|
5
|
+
import { g as G } from "./grafana-D2IYqhBP.js";
|
6
6
|
import { w as k } from "./Modal-DB8M9o1T.js";
|
7
7
|
import { u as T } from "./error-K1CakhA9.js";
|
8
8
|
import { useCoreStore as O, useI18n as Y } from "@feedmepos/mf-common";
|