@feedmepos/mf-payment 1.0.8 → 1.0.9
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-B4COODQv.js → PayoutAccount-Br3Cug44.js} +3 -3
- package/dist/{PayoutAccount-DkEtMHeq.js → PayoutAccount-g2FDE-px.js} +5 -5
- package/dist/{PayoutAccountSelector.vue_vue_type_script_setup_true_lang-BVTLPeW1.js → PayoutAccountSelector.vue_vue_type_script_setup_true_lang-COl_Wwn4.js} +2 -2
- package/dist/{PayoutAccountSetting-DePjQhXX.js → PayoutAccountSetting-Ma0Kk96H.js} +4 -4
- package/dist/{Restaurant-DwzXFEt8.js → Restaurant-E-KrKN8f.js} +4 -4
- package/dist/{RestaurantSetting-o5L8T1Gg.js → RestaurantSetting-B0n1_tSv.js} +4 -4
- package/dist/{Settlement-BEdTLRrA.js → Settlement-C7bSbTBb.js} +3 -3
- package/dist/{Settlement-BtTuifH-.js → Settlement-D-2hI9k8.js} +3 -3
- package/dist/{SettlementTransactions-B0yuPv23.js → SettlementTransactions-D8UziVjz.js} +4 -4
- package/dist/{SettlementTransactions-D8JmK21e.js → SettlementTransactions-Wq5NIhMx.js} +4 -4
- package/dist/{Terminal-Bvl0ENtb.js → Terminal-BsEhnhbP.js} +5 -5
- package/dist/{TerminalSetting-BelvYhOi.js → TerminalSetting-DaxogFY0.js} +3 -3
- package/dist/{TerminalTransaction-k0OaQzLD.js → TerminalTransaction-BVoXsl_B.js} +6 -6
- package/dist/{TerminalTransaction-B0HupimA.js → TerminalTransaction-Dg9akSQ7.js} +310 -310
- package/dist/{Transaction-D8Z-dg_P.js → Transaction-CWsdRULE.js} +5 -5
- package/dist/{Transaction-DYpSUT1M.js → Transaction-f7MyYTeG.js} +7 -7
- package/dist/{TransactionOld-NQEj9905.js → TransactionOld-Dg1VfoPL.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-Dw740DXL.js → TransactionTable.vue_vue_type_script_setup_true_lang-BvVe_h5o.js} +30 -29
- package/dist/{app-BJnX0yK8.js → app-Btr2qPjz.js} +190 -190
- package/dist/app.js +1 -1
- package/dist/{assets-D9C3wFv9.js → assets-Df86JtwT.js} +1 -1
- package/dist/{grafana-DLW-VT-s.js → grafana-D_odlNlk.js} +1 -1
- package/dist/{index-B9blRs9i.js → index-88uVCPBC.js} +1 -1
- package/dist/{index-BqLSq9b2.js → index-B0Il8Cyt.js} +1 -1
- package/dist/{index-CG-04tuK.js → index-B3bL56uQ.js} +1 -1
- package/dist/{index-BfIQoCk2.js → index-C04zXgLq.js} +1 -1
- package/dist/{index-BfGiSNAW.js → index-C4CzRp85.js} +1 -1
- package/dist/{index-DHcqjQ7c.js → index-Ce0UCIxc.js} +1 -1
- package/dist/{index-DU6b3QcM.js → index-DSsz2xN0.js} +1 -1
- package/dist/{index-D60yqRi2.js → index-DjUkx9xh.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-DHfowoZm.js → index.vue_vue_type_script_setup_true_lang-6UaAppN6.js} +1 -1
- package/dist/model/transaction.d.ts +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-Bq9m04Hj.js → payout-account-DTIZuvPO.js} +2 -2
- package/dist/{transaction-DKbHsJ3H.js → transaction-DeAbXoT4.js} +15 -11
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -1,15 +1,15 @@
|
|
1
1
|
import { defineComponent as Y, ref as E, onMounted as b, watch as T, resolveComponent as y, openBlock as w, createBlock as D, withCtx as x, createElementVNode as _, createVNode as n, unref as o, isRef as m } from "vue";
|
2
|
-
import { t as V, a as F } from "./transaction-
|
3
|
-
import { _ as d, u as I } from "./index-
|
4
|
-
import { _ as M } from "./TransactionTable.vue_vue_type_script_setup_true_lang-
|
2
|
+
import { t as V, a as F } from "./transaction-DeAbXoT4.js";
|
3
|
+
import { _ as d, u as I } from "./index-C4CzRp85.js";
|
4
|
+
import { _ as M } from "./TransactionTable.vue_vue_type_script_setup_true_lang-BvVe_h5o.js";
|
5
5
|
import { h as g } from "./moment-h96o7c8I.js";
|
6
6
|
import { useCoreStore as O } from "@feedmepos/mf-common";
|
7
7
|
import { _ as P } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
8
|
-
import { u as $ } from "./index-
|
8
|
+
import { u as $ } from "./index-88uVCPBC.js";
|
9
9
|
import { _ as k } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
10
10
|
import { _ as L } from "./SelectAll.vue_vue_type_script_setup_true_lang-DA4rs3tk.js";
|
11
11
|
import { _ as B } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
|
12
|
-
import { _ as J } from "./PayoutAccountSelector.vue_vue_type_script_setup_true_lang-
|
12
|
+
import { _ as J } from "./PayoutAccountSelector.vue_vue_type_script_setup_true_lang-COl_Wwn4.js";
|
13
13
|
const K = { class: "flex justify-between mb-6 items-center" }, j = { class: "flex space-x-8 items-start" }, q = { class: "flex space-x-4 self-center" }, G = { class: "flex space-x-12 mb-6" }, re = /* @__PURE__ */ Y({
|
14
14
|
__name: "Transaction",
|
15
15
|
setup(Q) {
|
@@ -1,17 +1,17 @@
|
|
1
1
|
import { defineComponent as b, resolveComponent as g, openBlock as p, createBlock as E, normalizeClass as R, withCtx as w, createElementVNode as h, toDisplayString as V, createElementBlock as A, unref as u, createVNode as d, Fragment as Y, renderList as $, ref as C, watch as N, isRef as v, h as y } from "vue";
|
2
|
-
import { t as _, a as P, b as I } from "./transaction-
|
2
|
+
import { t as _, a as P, b as I } from "./transaction-DeAbXoT4.js";
|
3
3
|
import { h as T } from "./moment-h96o7c8I.js";
|
4
|
-
import { u as L } from "./index-
|
4
|
+
import { u as L } from "./index-88uVCPBC.js";
|
5
5
|
import { _ as B } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
|
6
6
|
import { _ as U } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
7
7
|
import { useSnackbar as G, useDialog as j } from "@feedmepos/ui-library";
|
8
8
|
import { w as D } from "./Modal-DB8M9o1T.js";
|
9
9
|
import { u as x } from "./error-K1CakhA9.js";
|
10
10
|
import { _ as Q } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
|
11
|
-
import { g as z } from "./grafana-
|
12
|
-
import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-
|
13
|
-
import { e as S } from "./index-
|
14
|
-
import { g as J, a as W } from "./assets-
|
11
|
+
import { g as z } from "./grafana-D_odlNlk.js";
|
12
|
+
import { _ as H } from "./index.vue_vue_type_script_setup_true_lang-6UaAppN6.js";
|
13
|
+
import { e as S } from "./index-C4CzRp85.js";
|
14
|
+
import { g as J, a as W } from "./assets-Df86JtwT.js";
|
15
15
|
import { _ as X } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-CdmfrBoW.js";
|
16
16
|
const Z = /* @__PURE__ */ b({
|
17
17
|
__name: "Status",
|
@@ -266,7 +266,7 @@ const Z = /* @__PURE__ */ b({
|
|
266
266
|
queryKey: "transaction.id",
|
267
267
|
queryValue: t.id
|
268
268
|
}
|
269
|
-
], t.
|
269
|
+
], t.transactionAt);
|
270
270
|
window.open(r, "_blank");
|
271
271
|
}
|
272
272
|
const O = [
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { defineComponent as R, ref as v, onMounted as Y, watch as m, resolveComponent as S, openBlock as b, createBlock as V, unref as r, withCtx as C, createElementVNode as d, createVNode as l, isRef as h } from "vue";
|
2
|
-
import { t as y, a as M } from "./transaction-
|
3
|
-
import { u as O } from "./index-
|
4
|
-
import { _ as $ } from "./TransactionTable.vue_vue_type_script_setup_true_lang-
|
2
|
+
import { t as y, a as M } from "./transaction-DeAbXoT4.js";
|
3
|
+
import { u as O } from "./index-C4CzRp85.js";
|
4
|
+
import { _ as $ } from "./TransactionTable.vue_vue_type_script_setup_true_lang-BvVe_h5o.js";
|
5
5
|
import { h as g } from "./moment-h96o7c8I.js";
|
6
6
|
import { useCoreStore as k } from "@feedmepos/mf-common";
|
7
7
|
import { _ as E } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
8
|
-
import { u as N } from "./index-
|
8
|
+
import { u as N } from "./index-88uVCPBC.js";
|
9
9
|
import { _ as L } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
10
10
|
import { _ as P } from "./RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js";
|
11
11
|
import { _ as A } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-dP_5WjEJ.js";
|
@@ -1,19 +1,19 @@
|
|
1
|
-
import { defineComponent as
|
1
|
+
import { defineComponent as o, resolveComponent as p, openBlock as s, createBlock as _, normalizeClass as f, withCtx as A, createElementVNode as N, toDisplayString as T, createElementBlock as g, unref as h, ref as x, h as u } from "vue";
|
2
2
|
import "@feedmepos/ui-library";
|
3
|
-
import { e as m } from "./index-
|
3
|
+
import { e as m } from "./index-C4CzRp85.js";
|
4
4
|
import "./dinero-CIVmXLL-.js";
|
5
5
|
import "./moment-h96o7c8I.js";
|
6
|
-
import { g as
|
7
|
-
const
|
6
|
+
import { g as w, a as E } from "./assets-Df86JtwT.js";
|
7
|
+
const F = /* @__PURE__ */ o({
|
8
8
|
__name: "Status",
|
9
9
|
props: {
|
10
10
|
row: {},
|
11
11
|
data: {}
|
12
12
|
},
|
13
|
-
setup(
|
14
|
-
const
|
13
|
+
setup(n) {
|
14
|
+
const a = n;
|
15
15
|
function r() {
|
16
|
-
return
|
16
|
+
return a.data === m.F_PAYMENT_TRANSACTION_STATUS.Enum.PENDING ? "!w-[16px] !h-[16px] bg-yellow-400" : a.data === m.F_PAYMENT_TRANSACTION_STATUS.Enum.FAILED ? "!w-[16px] !h-[16px] bg-red-400" : a.data === m.F_PAYMENT_TRANSACTION_STATUS.Enum.REFUNDED ? "!w-[16px] !h-[16px] bg-blue-400" : "!w-[16px] !h-[16px] bg-green-400";
|
17
17
|
}
|
18
18
|
return (c, l) => {
|
19
19
|
const i = p("FmBadge");
|
@@ -21,38 +21,38 @@ const S = /* @__PURE__ */ n({
|
|
21
21
|
inline: "",
|
22
22
|
class: f(r())
|
23
23
|
}, {
|
24
|
-
default:
|
25
|
-
|
24
|
+
default: A(() => [
|
25
|
+
N("div", null, T(c.data), 1)
|
26
26
|
]),
|
27
27
|
_: 1
|
28
28
|
}, 8, ["class"]);
|
29
29
|
};
|
30
30
|
}
|
31
|
-
}),
|
31
|
+
}), S = ["src"], I = /* @__PURE__ */ o({
|
32
32
|
__name: "Gateway",
|
33
33
|
props: {
|
34
34
|
row: {},
|
35
35
|
data: {}
|
36
36
|
},
|
37
|
-
setup(
|
38
|
-
return (
|
37
|
+
setup(n) {
|
38
|
+
return (a, r) => (s(), g("img", {
|
39
39
|
class: "rounded-md m-auto border-transparent object-contain w-[32px] h-[32px]",
|
40
|
-
src: h(
|
41
|
-
}, null, 8,
|
40
|
+
src: h(w)(a.row.original.gateway)
|
41
|
+
}, null, 8, S));
|
42
42
|
}
|
43
|
-
}), b = ["src"], K = /* @__PURE__ */
|
43
|
+
}), b = ["src"], K = /* @__PURE__ */ o({
|
44
44
|
__name: "Method",
|
45
45
|
props: {
|
46
46
|
row: {},
|
47
47
|
data: {}
|
48
48
|
},
|
49
|
-
setup(
|
50
|
-
return (
|
49
|
+
setup(n) {
|
50
|
+
return (a, r) => (s(), g("img", {
|
51
51
|
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
52
|
-
src: h(E)(
|
52
|
+
src: h(E)(a.row.original.method.issuer)
|
53
53
|
}, null, 8, b));
|
54
54
|
}
|
55
|
-
}), v = /* @__PURE__ */
|
55
|
+
}), v = /* @__PURE__ */ o({
|
56
56
|
__name: "TransactionTable",
|
57
57
|
props: {
|
58
58
|
data: {
|
@@ -65,8 +65,8 @@ const S = /* @__PURE__ */ n({
|
|
65
65
|
}
|
66
66
|
},
|
67
67
|
emits: ["row-click"],
|
68
|
-
setup(
|
69
|
-
const r =
|
68
|
+
setup(n, { emit: a }) {
|
69
|
+
const r = n, c = a, l = x(""), i = [
|
70
70
|
{
|
71
71
|
header: () => "Transaction ID",
|
72
72
|
accessorKey: "id"
|
@@ -85,7 +85,7 @@ const S = /* @__PURE__ */ n({
|
|
85
85
|
meta: {
|
86
86
|
textAlign: "center"
|
87
87
|
},
|
88
|
-
cell: ({ cell:
|
88
|
+
cell: ({ cell: t, row: e }) => e.original.method ? u(I, { row: e, data: t.getValue() }) : ""
|
89
89
|
},
|
90
90
|
{
|
91
91
|
header: () => "Method",
|
@@ -93,7 +93,7 @@ const S = /* @__PURE__ */ n({
|
|
93
93
|
meta: {
|
94
94
|
textAlign: "center"
|
95
95
|
},
|
96
|
-
cell: ({ cell:
|
96
|
+
cell: ({ cell: t, row: e }) => e.original.method ? u(K, { row: e, data: t.getValue() }) : ""
|
97
97
|
},
|
98
98
|
{
|
99
99
|
header: () => "Type",
|
@@ -101,24 +101,25 @@ const S = /* @__PURE__ */ n({
|
|
101
101
|
meta: {
|
102
102
|
textAlign: "center"
|
103
103
|
},
|
104
|
-
cell: ({ row:
|
105
|
-
if (!
|
104
|
+
cell: ({ row: t }) => {
|
105
|
+
if (!t.original.method)
|
106
106
|
return "";
|
107
|
-
const e =
|
107
|
+
const e = t.original.method.variant;
|
108
108
|
return e.includes("_ONLINE") ? "ONLINE" : e.includes("_OFFLINE") ? "OFFLINE" : e;
|
109
109
|
}
|
110
110
|
},
|
111
111
|
{
|
112
112
|
header: () => "Status",
|
113
113
|
accessorKey: "status",
|
114
|
-
cell: ({ cell:
|
114
|
+
cell: ({ cell: t, row: e }) => u(F, { row: e, data: t.getValue() })
|
115
115
|
},
|
116
116
|
{
|
117
117
|
header: () => "Transaction At",
|
118
118
|
accessorKey: "transactionAt",
|
119
119
|
meta: {
|
120
120
|
width: "180px"
|
121
|
-
}
|
121
|
+
},
|
122
|
+
cell: ({ cell: t, row: e }) => e.original.status === "REFUNDED" ? e.original.refundedAt : e.original.transactionAt
|
122
123
|
},
|
123
124
|
{
|
124
125
|
header: () => "Sales Amount",
|
@@ -133,7 +134,7 @@ const S = /* @__PURE__ */ n({
|
|
133
134
|
accessorKey: "payout"
|
134
135
|
}
|
135
136
|
];
|
136
|
-
return (
|
137
|
+
return (t, e) => {
|
137
138
|
const y = p("FmTable");
|
138
139
|
return s(), _(y, {
|
139
140
|
modelValue: l.value,
|