@feedmepos/mf-payment 1.0.28 → 1.1.0-beta.1
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/{PDFViewer-xrBtzrlR.js → PDFViewer-BQfgFexr.js} +2 -1
- package/dist/{PayoutAccount-QybE7meK.js → PayoutAccount-BHJpjUqD.js} +5 -5
- package/dist/{PayoutAccount-C53rv89t.js → PayoutAccount-DCkf_1yL.js} +5 -4
- package/dist/PayoutAccountSetting-Bk-g7ucZ.js +723 -0
- package/dist/{Restaurant-B1ed_oVp.js → Restaurant-D2qq84VL.js} +56 -54
- package/dist/{RestaurantSetting-CKG5jn2J.js → RestaurantSetting-DAtrtX6S.js} +3 -3
- package/dist/{Settlement-SeGVEdZj.js → Settlement-BVIsszEJ.js} +37 -34
- package/dist/{Settlement-Fh86ozFD.js → Settlement-Cx1tc5wt.js} +9 -8
- package/dist/{SettlementTransactions-BSF2Jw-L.js → SettlementTransactions-C82DyYlO.js} +14 -14
- package/dist/{SettlementTransactions-CHRsIcoh.js → SettlementTransactions-CeN4SRWa.js} +39 -39
- package/dist/{Terminal-BUBkiYYw.js → Terminal-Az2k8E6F.js} +323 -342
- package/dist/{TerminalSetting-CfCa-6pK.js → TerminalSetting-C-xlLYXa.js} +27 -27
- package/dist/Transaction-CC8hc8_r.js +250 -0
- package/dist/{Transaction-DWzZ31qR.js → Transaction-Y_mc0yQv.js} +123 -105
- package/dist/{TransactionOld-Pj412ujb.js → TransactionOld-BxhI-wwm.js} +7 -7
- package/dist/TransactionTable.vue_vue_type_script_setup_true_lang-dwwesT4_.js +304 -0
- package/dist/api/payout/index.d.ts +5 -1
- package/dist/api/terminal/index.d.ts +6 -10
- package/dist/api/transaction/index.d.ts +12 -11
- package/dist/{app-DC4HbItX.js → app-OBp4HaEY.js} +853 -791
- package/dist/app.js +1 -1
- package/dist/{assets-BySnqkmr.js → assets-pLBp82yE.js} +208 -56
- package/dist/components/SourceSelector.vue.d.ts +12 -0
- package/dist/{grafana-b2ht7XmY.js → grafana-hv7inD36.js} +2 -2
- package/dist/{index-d3nubgyT.js → index-1xF00w89.js} +1 -1
- package/dist/{index-CvJ2nft4.js → index-CFYD8Dv4.js} +1 -1
- package/dist/index-Cqq3p9PP.js +66 -0
- package/dist/{index-DXV5GQaF.js → index-DD5mEX0D.js} +1 -1
- package/dist/{index-iiG_kivD.js → index-DGKxdJVj.js} +8163 -8081
- package/dist/index-oM4Z9ffu.js +45 -0
- package/dist/{index.vue_vue_type_script_setup_true_lang-Du3twb8U.js → index.vue_vue_type_script_setup_true_lang-C9tnqgzY.js} +8 -7
- package/dist/model/payout-account.d.ts +1 -1
- package/dist/model/transaction.d.ts +13 -5
- package/dist/package.json +2 -2
- package/dist/{payout-account-DPdwKVTr.js → payout-account-DPaS3dIs.js} +2 -2
- package/dist/router/index.d.ts +1 -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 +133 -0
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +133 -0
- 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/cell/Actions.vue.d.ts +8 -0
- package/dist/views/admin/payout-account/tabs/gateway/FiuuGateway.vue.d.ts +10 -23
- package/dist/views/admin/{terminal-transaction/TerminalTransaction.vue.d.ts → payout-account/tabs/gateway/MacauPassGateway.vue.d.ts} +1 -1
- 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/Terminal.vue.d.ts +4 -1
- 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/admin/transaction/cell/Actions.vue.d.ts +2 -0
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +8 -8
- package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +16 -16
- package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +8 -8
- package/dist/views/{admin/terminal-transaction → transaction}/cell/Actions.vue.d.ts +3 -3
- package/package.json +2 -2
- package/dist/PayoutAccountSetting-Zhkm_GN8.js +0 -426
- package/dist/TerminalTransaction-DIM7WO_C.js +0 -589
- package/dist/TerminalTransaction-DQZnx7dy.js +0 -333
- package/dist/Transaction-DRYwBnHK.js +0 -247
- package/dist/TransactionTable.vue_vue_type_script_setup_true_lang-B3FGhKjA.js +0 -159
- package/dist/components/PayoutAccountSelector.vue.d.ts +0 -23
- package/dist/index-BJpE0YhF.js +0 -52
- package/dist/index-BqzuW2qa.js +0 -40
- package/dist/index-Dwv1hbHU.js +0 -77
- package/dist/transaction-CzLoSCVe.js +0 -136
- package/dist/views/admin/payout-account/tabs/gateway/GhlGateway.vue.d.ts +0 -50
- package/dist/views/admin/payout-account/tabs/gateway/RevenueMonsterGateway.vue.d.ts +0 -52
- package/dist/views/admin/terminal-transaction/cell/Gateway.vue.d.ts +0 -7
- package/dist/views/admin/terminal-transaction/cell/Method.vue.d.ts +0 -7
- package/dist/views/admin/terminal-transaction/cell/Status.vue.d.ts +0 -7
- package/dist/views/terminal-transaction/TerminalTransaction.vue.d.ts +0 -2
- package/dist/views/terminal-transaction/cell/Gateway.vue.d.ts +0 -7
- package/dist/views/terminal-transaction/cell/Method.vue.d.ts +0 -7
- package/dist/views/terminal-transaction/cell/Status.vue.d.ts +0 -7
@@ -1,12 +1,11 @@
|
|
1
|
-
import { defineComponent as T, resolveComponent as g, openBlock as F, createBlock as P, normalizeClass as j, withCtx as
|
2
|
-
import { e as C, u as G } from "./index-
|
1
|
+
import { defineComponent as T, resolveComponent as g, openBlock as F, createBlock as P, normalizeClass as j, withCtx as o, createElementVNode as t, toDisplayString as u, createElementBlock as L, unref as c, ref as _, onMounted as z, watch as $, createVNode as a, createTextVNode as i, h } from "vue";
|
2
|
+
import { e as C, u as G } from "./index-DGKxdJVj.js";
|
3
3
|
import "@feedmepos/ui-library";
|
4
4
|
import { d as E } from "./dinero-CIVmXLL-.js";
|
5
|
-
import { g as Y, a as H } from "./assets-
|
6
|
-
import { t as q, a as J } from "./transaction-CzLoSCVe.js";
|
5
|
+
import { g as Y, a as H, t as q, b as J } from "./assets-pLBp82yE.js";
|
7
6
|
import { _ as Q } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
8
7
|
import { useRouter as W } from "vue-router";
|
9
|
-
import { s as X } from "./index-
|
8
|
+
import { s as X } from "./index-DD5mEX0D.js";
|
10
9
|
import { useCoreStore as Z } from "@feedmepos/mf-common";
|
11
10
|
const ee = /* @__PURE__ */ T({
|
12
11
|
__name: "Status",
|
@@ -15,9 +14,9 @@ const ee = /* @__PURE__ */ T({
|
|
15
14
|
data: {}
|
16
15
|
},
|
17
16
|
setup(y) {
|
18
|
-
const
|
17
|
+
const l = y;
|
19
18
|
function p() {
|
20
|
-
return
|
19
|
+
return l.data === C.F_PAYMENT_TRANSACTION_STATUS.Enum.PENDING ? "!w-[16px] !h-[16px] bg-yellow-400" : l.data === C.F_PAYMENT_TRANSACTION_STATUS.Enum.FAILED ? "!w-[16px] !h-[16px] bg-red-400" : l.data === C.F_PAYMENT_TRANSACTION_STATUS.Enum.REFUNDED ? "!w-[16px] !h-[16px] bg-blue-400" : "!w-[16px] !h-[16px] bg-green-400";
|
21
20
|
}
|
22
21
|
return (w, B) => {
|
23
22
|
const S = g("FmBadge");
|
@@ -25,7 +24,7 @@ const ee = /* @__PURE__ */ T({
|
|
25
24
|
inline: "",
|
26
25
|
class: j(p())
|
27
26
|
}, {
|
28
|
-
default:
|
27
|
+
default: o(() => [
|
29
28
|
t("div", null, u(w.data), 1)
|
30
29
|
]),
|
31
30
|
_: 1
|
@@ -39,24 +38,24 @@ const ee = /* @__PURE__ */ T({
|
|
39
38
|
data: {}
|
40
39
|
},
|
41
40
|
setup(y) {
|
42
|
-
return (
|
41
|
+
return (l, p) => (F(), L("img", {
|
43
42
|
class: "rounded-md m-auto border-transparent object-contain w-[32px] h-[32px]",
|
44
|
-
src: c(Y)(
|
43
|
+
src: c(Y)(l.row.original.gateway)
|
45
44
|
}, null, 8, te));
|
46
45
|
}
|
47
|
-
}), ne = ["src"],
|
46
|
+
}), ne = ["src"], re = /* @__PURE__ */ T({
|
48
47
|
__name: "Method",
|
49
48
|
props: {
|
50
49
|
row: {},
|
51
50
|
data: {}
|
52
51
|
},
|
53
52
|
setup(y) {
|
54
|
-
return (
|
53
|
+
return (l, p) => (F(), L("img", {
|
55
54
|
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
56
|
-
src: c(H)(
|
55
|
+
src: c(H)(l.row.original.method.issuer, l.row.original.method.variant)
|
57
56
|
}, null, 8, ne));
|
58
57
|
}
|
59
|
-
}),
|
58
|
+
}), le = { class: "flex mb-6" }, oe = { class: "my-6 w-[240px]" }, ye = /* @__PURE__ */ T({
|
60
59
|
__name: "SettlementTransactions",
|
61
60
|
props: {
|
62
61
|
settlementId: {
|
@@ -65,11 +64,11 @@ const ee = /* @__PURE__ */ T({
|
|
65
64
|
}
|
66
65
|
},
|
67
66
|
setup(y) {
|
68
|
-
const
|
67
|
+
const l = y, { isLoading: p, startAsyncCall: w } = G(!0), { currentRestaurant: B } = Z(), S = W(), s = _(), x = _([]), N = _([]);
|
69
68
|
async function O(n = !1) {
|
70
69
|
w(async () => {
|
71
|
-
n || (s.value = await X.readRestaurantSettlementById(
|
72
|
-
const e = await q.readRestaurantTransactionsBySettlementId(
|
70
|
+
n || (s.value = await X.readRestaurantSettlementById(l.settlementId));
|
71
|
+
const e = await q.readRestaurantTransactionsBySettlementId(l.settlementId);
|
73
72
|
x.value = J(e), N.value = x.value;
|
74
73
|
});
|
75
74
|
}
|
@@ -100,7 +99,7 @@ const ee = /* @__PURE__ */ T({
|
|
100
99
|
meta: {
|
101
100
|
textAlign: "center"
|
102
101
|
},
|
103
|
-
cell: ({ cell: n, row: e }) => e.original.method ? h(
|
102
|
+
cell: ({ cell: n, row: e }) => e.original.method ? h(re, { row: e, data: n.getValue() }) : ""
|
104
103
|
},
|
105
104
|
{
|
106
105
|
header: () => "Type",
|
@@ -157,27 +156,27 @@ const ee = /* @__PURE__ */ T({
|
|
157
156
|
loading: c(p),
|
158
157
|
onBack: c(S).back
|
159
158
|
}, {
|
160
|
-
default:
|
161
|
-
t("div",
|
159
|
+
default: o(() => [
|
160
|
+
t("div", le, [
|
162
161
|
a(I, {
|
163
162
|
horizontal: "",
|
164
163
|
class: "flex-1 p-6",
|
165
164
|
variant: "elevated"
|
166
165
|
}, {
|
167
|
-
default:
|
166
|
+
default: o(() => [
|
168
167
|
a(f, { class: "flex flex-col gap-16 justify-between" }, {
|
169
|
-
default:
|
168
|
+
default: o(() => [
|
170
169
|
a(b, {
|
171
170
|
class: "p-0",
|
172
171
|
title: "Transaction Info",
|
173
172
|
subtitle: ""
|
174
173
|
}),
|
175
174
|
a(f, { class: "p-0" }, {
|
176
|
-
default:
|
177
|
-
var
|
175
|
+
default: o(() => {
|
176
|
+
var r, d, m, R;
|
178
177
|
return [
|
179
178
|
e[2] || (e[2] = t("b", null, "For", -1)),
|
180
|
-
i(": " + u((d = (
|
179
|
+
i(": " + u((d = (r = s.value) == null ? void 0 : r.store) == null ? void 0 : d.event) + " ", 1),
|
181
180
|
e[3] || (e[3] = t("br", null, null, -1)),
|
182
181
|
e[4] || (e[4] = t("b", null, "Reference", -1)),
|
183
182
|
i(": " + u((R = (m = s.value) == null ? void 0 : m.store) == null ? void 0 : R.id), 1),
|
@@ -199,20 +198,20 @@ const ee = /* @__PURE__ */ T({
|
|
199
198
|
class: "flex-1 p-6 mx-6",
|
200
199
|
variant: "elevated"
|
201
200
|
}, {
|
202
|
-
default:
|
201
|
+
default: o(() => [
|
203
202
|
a(f, { class: "flex flex-col gap-16 justify-between" }, {
|
204
|
-
default:
|
203
|
+
default: o(() => [
|
205
204
|
a(b, {
|
206
205
|
class: "p-0",
|
207
206
|
title: "Bank Info",
|
208
207
|
subtitle: ""
|
209
208
|
}),
|
210
209
|
a(f, { class: "p-0" }, {
|
211
|
-
default:
|
212
|
-
var
|
210
|
+
default: o(() => {
|
211
|
+
var r, d, m;
|
213
212
|
return [
|
214
213
|
e[7] || (e[7] = t("b", null, "Bank", -1)),
|
215
|
-
i(": " + u((
|
214
|
+
i(": " + u((r = s.value) == null ? void 0 : r.beneficiaryBank.name), 1),
|
216
215
|
e[8] || (e[8] = t("br", null, null, -1)),
|
217
216
|
e[9] || (e[9] = t("b", null, "Name", -1)),
|
218
217
|
i(": " + u((d = s.value) == null ? void 0 : d.beneficiaryBank.holderName), 1),
|
@@ -234,20 +233,20 @@ const ee = /* @__PURE__ */ T({
|
|
234
233
|
class: "flex-1 p-6",
|
235
234
|
variant: "elevated"
|
236
235
|
}, {
|
237
|
-
default:
|
236
|
+
default: o(() => [
|
238
237
|
a(f, { class: "flex flex-col gap-16 justify-between" }, {
|
239
|
-
default:
|
238
|
+
default: o(() => [
|
240
239
|
a(b, {
|
241
240
|
class: "p-0",
|
242
241
|
title: "Payout Info",
|
243
242
|
subtitle: ""
|
244
243
|
}),
|
245
244
|
a(f, { class: "p-0" }, {
|
246
|
-
default:
|
247
|
-
var
|
245
|
+
default: o(() => {
|
246
|
+
var r, d, m;
|
248
247
|
return [
|
249
248
|
e[12] || (e[12] = t("b", null, "Amount", -1)),
|
250
|
-
i(": " + u(c(E)((
|
249
|
+
i(": " + u(c(E)((r = s.value) == null ? void 0 : r.totalAmount).toFormat("$0.00")), 1),
|
251
250
|
e[13] || (e[13] = t("br", null, null, -1)),
|
252
251
|
e[14] || (e[14] = t("b", null, "Fee", -1)),
|
253
252
|
i(": " + u(c(E)((d = s.value) == null ? void 0 : d.totalFee).toFormat("$0.00")), 1),
|
@@ -265,16 +264,17 @@ const ee = /* @__PURE__ */ T({
|
|
265
264
|
_: 1
|
266
265
|
})
|
267
266
|
]),
|
268
|
-
t("div",
|
267
|
+
t("div", oe, [
|
269
268
|
a(M, {
|
270
269
|
modelValue: v.value,
|
271
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
270
|
+
"onUpdate:modelValue": e[0] || (e[0] = (r) => v.value = r),
|
272
271
|
placeholder: "Search Transactions ..."
|
273
272
|
}, null, 8, ["modelValue"])
|
274
273
|
]),
|
275
274
|
a(U, {
|
276
275
|
modelValue: V.value,
|
277
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
276
|
+
"onUpdate:modelValue": e[1] || (e[1] = (r) => V.value = r),
|
277
|
+
"shrink-at": !1,
|
278
278
|
"search-value": v.value,
|
279
279
|
"row-data": N.value,
|
280
280
|
"column-defs": D,
|
@@ -287,5 +287,5 @@ const ee = /* @__PURE__ */ T({
|
|
287
287
|
}
|
288
288
|
});
|
289
289
|
export {
|
290
|
-
|
290
|
+
ye as default
|
291
291
|
};
|