@feedmepos/mf-payment 1.0.22 → 1.0.23-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{PayoutAccount-CfT28Qgv.js → PayoutAccount-B463eESm.js} +3 -3
- package/dist/{PayoutAccount-BGw_W7Ue.js → PayoutAccount-DDu-qHpZ.js} +5 -5
- package/dist/{PayoutAccountSetting-B5uUHaTF.js → PayoutAccountSetting-CxYQimCK.js} +3 -3
- package/dist/{Restaurant-DbAg20bj.js → Restaurant-CZgsNkFT.js} +4 -4
- package/dist/{RestaurantSetting-D5sNUOd9.js → RestaurantSetting-BrWh6gkg.js} +3 -3
- package/dist/{Settlement-CzZ8Y8v5.js → Settlement-BPoi-C2_.js} +3 -3
- package/dist/{Settlement-iuYm19qa.js → Settlement-BnUDYZdR.js} +3 -3
- package/dist/{SettlementTransactions-rAR1NgKQ.js → SettlementTransactions-Bi-3ZDn6.js} +4 -4
- package/dist/{SettlementTransactions-DtbFLz4D.js → SettlementTransactions-DtRw3Y-I.js} +4 -4
- package/dist/{Terminal-lfz4Wq0q.js → Terminal-CPA61km3.js} +6 -6
- package/dist/{TerminalSetting-C8lw8Fgu.js → TerminalSetting-e0On23IR.js} +3 -3
- package/dist/{TerminalTransaction-DcAWemIK.js → TerminalTransaction-BXGWLNMY.js} +5 -5
- package/dist/{TerminalTransaction-sTn_vgCM.js → TerminalTransaction-BfCeJOhY.js} +6 -6
- package/dist/{Transaction-CKKeqzvR.js → Transaction-C6XD2VJa.js} +95 -103
- package/dist/{Transaction-D3XboVRi.js → Transaction-DawTPwQf.js} +5 -5
- package/dist/{TransactionOld-Bp-srl5_.js → TransactionOld-DR-AWVlu.js} +4 -4
- package/dist/TransactionTable.vue_vue_type_script_setup_true_lang-CjPLBAWo.js +159 -0
- package/dist/{app-0cQs9OWt.js → app-GdoY1AYd.js} +165 -165
- package/dist/app.js +1 -1
- package/dist/{assets-BjvJVTsz.js → assets-CQPGNPef.js} +1 -1
- package/dist/{grafana-CuycLt4k.js → grafana-D69TtQST.js} +2 -2
- package/dist/{index-DeUid_93.js → index-BZQWoB1l.js} +1 -1
- package/dist/{index-WnCqt6BH.js → index-BfvYxxLn.js} +3370 -3239
- package/dist/{index-UV02LHu1.js → index-CEvkP-3s.js} +1 -1
- package/dist/{index-BsiQAXkR.js → index-CahwZpuN.js} +1 -1
- package/dist/{index-iXA-4HBH.js → index-Cy_U6AnG.js} +1 -1
- package/dist/{index-BXuo50Ge.js → index-Drmj-z-Z.js} +1 -1
- package/dist/{index-Dkb0wiHu.js → index-yHSwTSNd.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-DItAQGwT.js → index.vue_vue_type_script_setup_true_lang-C4HJObS4.js} +1 -1
- package/dist/model/payout-account.d.ts +1 -1
- package/dist/model/transaction.d.ts +1 -1
- package/dist/package.json +2 -2
- package/dist/{payout-account-5iyJnfnp.js → payout-account-D9CBV9oc.js} +2 -2
- package/dist/stores/payoutAccount.d.ts +2 -2
- package/dist/{transaction-DQE3s11C.js → transaction-DhGbTW2q.js} +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/PaymentStatus.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +2 -2
- 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 +28 -28
- package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +14 -14
- package/package.json +2 -2
- package/dist/TransactionTable.vue_vue_type_script_setup_true_lang-dHvp3T2E.js +0 -167
@@ -1,167 +0,0 @@
|
|
1
|
-
import { defineComponent as i, resolveComponent as _, openBlock as l, createBlock as g, normalizeClass as T, withCtx as h, createElementVNode as y, toDisplayString as N, createElementBlock as A, unref as f, ref as w, h as m } from "vue";
|
2
|
-
import "@feedmepos/ui-library";
|
3
|
-
import { e as p } from "./index-WnCqt6BH.js";
|
4
|
-
import "./dinero-CIVmXLL-.js";
|
5
|
-
import "./moment-h96o7c8I.js";
|
6
|
-
import { g as E, a as x } from "./assets-BjvJVTsz.js";
|
7
|
-
const F = /* @__PURE__ */ i({
|
8
|
-
__name: "Status",
|
9
|
-
props: {
|
10
|
-
row: {},
|
11
|
-
data: {}
|
12
|
-
},
|
13
|
-
setup(n) {
|
14
|
-
const a = n;
|
15
|
-
function r() {
|
16
|
-
return a.data === p.F_PAYMENT_TRANSACTION_STATUS.Enum.PENDING ? "!w-[16px] !h-[16px] bg-yellow-400" : a.data === p.F_PAYMENT_TRANSACTION_STATUS.Enum.FAILED ? "!w-[16px] !h-[16px] bg-red-400" : a.data === p.F_PAYMENT_TRANSACTION_STATUS.Enum.REFUNDED ? "!w-[16px] !h-[16px] bg-blue-400" : "!w-[16px] !h-[16px] bg-green-400";
|
17
|
-
}
|
18
|
-
return (o, c) => {
|
19
|
-
const d = _("FmBadge");
|
20
|
-
return l(), g(d, {
|
21
|
-
inline: "",
|
22
|
-
class: T(r())
|
23
|
-
}, {
|
24
|
-
default: h(() => [
|
25
|
-
y("div", null, N(o.data), 1)
|
26
|
-
]),
|
27
|
-
_: 1
|
28
|
-
}, 8, ["class"]);
|
29
|
-
};
|
30
|
-
}
|
31
|
-
}), I = ["src"], S = /* @__PURE__ */ i({
|
32
|
-
__name: "Gateway",
|
33
|
-
props: {
|
34
|
-
row: {},
|
35
|
-
data: {}
|
36
|
-
},
|
37
|
-
setup(n) {
|
38
|
-
return (a, r) => (l(), A("img", {
|
39
|
-
class: "rounded-md m-auto border-transparent object-contain w-[32px] h-[32px]",
|
40
|
-
src: f(E)(a.row.original.gateway)
|
41
|
-
}, null, 8, I));
|
42
|
-
}
|
43
|
-
}), b = ["src"], K = /* @__PURE__ */ i({
|
44
|
-
__name: "Method",
|
45
|
-
props: {
|
46
|
-
row: {},
|
47
|
-
data: {}
|
48
|
-
},
|
49
|
-
setup(n) {
|
50
|
-
return (a, r) => {
|
51
|
-
const o = _("FmTooltip");
|
52
|
-
return l(), g(o, {
|
53
|
-
variant: "plain",
|
54
|
-
placement: "top",
|
55
|
-
content: a.row.original.method.issuer,
|
56
|
-
"hide-arrow": !0
|
57
|
-
}, {
|
58
|
-
default: h(() => [
|
59
|
-
y("img", {
|
60
|
-
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
61
|
-
src: f(x)(a.row.original.method.issuer, a.row.original.method.variant)
|
62
|
-
}, null, 8, b)
|
63
|
-
]),
|
64
|
-
_: 1
|
65
|
-
}, 8, ["content"]);
|
66
|
-
};
|
67
|
-
}
|
68
|
-
}), V = /* @__PURE__ */ i({
|
69
|
-
__name: "TransactionTable",
|
70
|
-
props: {
|
71
|
-
data: {
|
72
|
-
type: Array,
|
73
|
-
required: !0
|
74
|
-
},
|
75
|
-
loading: {
|
76
|
-
type: Boolean,
|
77
|
-
required: !0
|
78
|
-
}
|
79
|
-
},
|
80
|
-
emits: ["row-click"],
|
81
|
-
setup(n, { emit: a }) {
|
82
|
-
const r = n, o = a, c = w(""), d = [
|
83
|
-
{
|
84
|
-
header: () => "Transaction ID",
|
85
|
-
accessorKey: "id"
|
86
|
-
},
|
87
|
-
{
|
88
|
-
header: () => "Pay ID",
|
89
|
-
accessorKey: "payId"
|
90
|
-
},
|
91
|
-
{
|
92
|
-
header: () => "Bill Seq No",
|
93
|
-
accessorKey: "seqNumber"
|
94
|
-
},
|
95
|
-
{
|
96
|
-
header: () => "Gateway",
|
97
|
-
accessorKey: "gateway",
|
98
|
-
meta: {
|
99
|
-
textAlign: "center"
|
100
|
-
},
|
101
|
-
cell: ({ cell: t, row: e }) => e.original.method ? m(S, { row: e, data: t.getValue() }) : ""
|
102
|
-
},
|
103
|
-
{
|
104
|
-
header: () => "Method",
|
105
|
-
accessorKey: "method",
|
106
|
-
meta: {
|
107
|
-
textAlign: "center"
|
108
|
-
},
|
109
|
-
cell: ({ cell: t, row: e }) => e.original.method ? m(K, { row: e, data: t.getValue() }) : ""
|
110
|
-
},
|
111
|
-
{
|
112
|
-
header: () => "Type",
|
113
|
-
accessorKey: "type",
|
114
|
-
meta: {
|
115
|
-
textAlign: "center"
|
116
|
-
},
|
117
|
-
cell: ({ row: t }) => {
|
118
|
-
let e = "ONLINE";
|
119
|
-
if (t.original.method != null) {
|
120
|
-
const s = t.original.method.variant;
|
121
|
-
s.includes("_ONLINE") && (e = "ONLINE"), s.includes("_OFFLINE") && (e = "OFFLINE");
|
122
|
-
}
|
123
|
-
return t.original.payType && (e = t.original.payType), e;
|
124
|
-
}
|
125
|
-
},
|
126
|
-
{
|
127
|
-
header: () => "Status",
|
128
|
-
accessorKey: "status",
|
129
|
-
cell: ({ cell: t, row: e }) => m(F, { row: e, data: t.getValue() })
|
130
|
-
},
|
131
|
-
{
|
132
|
-
header: () => "Transaction At",
|
133
|
-
accessorKey: "transactionAt",
|
134
|
-
meta: {
|
135
|
-
width: "180px"
|
136
|
-
},
|
137
|
-
cell: ({ cell: t, row: e }) => e.original.status === "REFUNDED" ? e.original.refundedAt : e.original.transactionAt
|
138
|
-
},
|
139
|
-
{
|
140
|
-
header: () => "Sales Amount",
|
141
|
-
accessorKey: "amount"
|
142
|
-
},
|
143
|
-
{
|
144
|
-
header: () => "Fee",
|
145
|
-
accessorKey: "fee"
|
146
|
-
},
|
147
|
-
{
|
148
|
-
header: () => "Settlement Amount",
|
149
|
-
accessorKey: "payout"
|
150
|
-
}
|
151
|
-
];
|
152
|
-
return (t, e) => {
|
153
|
-
const s = _("FmTable");
|
154
|
-
return l(), g(s, {
|
155
|
-
modelValue: c.value,
|
156
|
-
"onUpdate:modelValue": e[0] || (e[0] = (u) => c.value = u),
|
157
|
-
"column-defs": d,
|
158
|
-
"row-data": r.data,
|
159
|
-
loading: r.loading,
|
160
|
-
onRowClick: e[1] || (e[1] = (u) => o("row-click", r.data.at(u.index)))
|
161
|
-
}, null, 8, ["modelValue", "row-data", "loading"]);
|
162
|
-
};
|
163
|
-
}
|
164
|
-
});
|
165
|
-
export {
|
166
|
-
V as _
|
167
|
-
};
|