@feedmepos/mf-payment 0.0.0-beta.32 → 0.0.0-beta.33
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{PayoutAccount-DnxAlZxo.js → PayoutAccount-CRf5uapK.js} +1 -1
- package/dist/{PayoutAccount-7lPdf3Xu.js → PayoutAccount-DSXNLvNP.js} +1 -1
- package/dist/{TerminalTransaction-GJ2KCmSi.js → TerminalTransaction-CwEwNN25.js} +16 -15
- package/dist/app.js +3 -3
- package/dist/package.json +1 -1
- package/dist/{payout-account-DU8aAkMw.js → payout-account-BKVSgJb4.js} +297 -297
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/api/auth/index.d.ts +0 -7
@@ -3,7 +3,7 @@ import { p as z } from "./index-ApzEWD1P.js";
|
|
3
3
|
import { _ as I, u as S, c as h } from "./index-Cnxt2xmc.js";
|
4
4
|
import { defineStore as _ } from "pinia";
|
5
5
|
import { useCoreStore as $ } from "@feedmepos/mf-common";
|
6
|
-
import { c as AA, P as j } from "./payout-account-
|
6
|
+
import { c as AA, P as j } from "./payout-account-BKVSgJb4.js";
|
7
7
|
import { useDialogChild as sA, useDialog as eA } from "@feedmepos/ui-library";
|
8
8
|
import { z as f, a as q } from "./validator-D5jtpt9A.js";
|
9
9
|
import { P as K } from "./PDFViewer-CjH_C1uT.js";
|
@@ -2,7 +2,7 @@ import { defineComponent as b, resolveComponent as m, openBlock as g, createBloc
|
|
2
2
|
import { u as S } from "./index-BgnU5ezY.js";
|
3
3
|
import { _ as O } from "./index-Cnxt2xmc.js";
|
4
4
|
import { _ as K } from "./AdminLayout.vue_vue_type_script_setup_true_lang-1DSAdvX7.js";
|
5
|
-
import { P as V } from "./payout-account-
|
5
|
+
import { P as V } from "./payout-account-BKVSgJb4.js";
|
6
6
|
import { p as D } from "./index-ApzEWD1P.js";
|
7
7
|
import "@feedmepos/ui-library";
|
8
8
|
import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-B7ePQpGr.js";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { defineComponent as g, openBlock as p, createElementBlock as
|
1
|
+
import { defineComponent as g, openBlock as p, createElementBlock as w, unref as n, createCommentVNode as F, createElementVNode as u, resolveComponent as A, createBlock as R, normalizeClass as k, withCtx as C, toDisplayString as S, ref as V, watch as N, createVNode as d, isRef as h, h as f } from "vue";
|
2
2
|
import { e as c } from "./index-Cnxt2xmc.js";
|
3
3
|
import { h as I } from "./moment-h96o7c8I.js";
|
4
4
|
import { u as D } from "./index-BgnU5ezY.js";
|
@@ -6,10 +6,10 @@ import { _ as K } from "./index.vue_vue_type_script_setup_true_lang-B7ePQpGr.js"
|
|
6
6
|
import { _ as $ } from "./AdminLayout.vue_vue_type_script_setup_true_lang-1DSAdvX7.js";
|
7
7
|
import "@feedmepos/ui-library";
|
8
8
|
import { g as M } from "./assets-sX1_K-nt.js";
|
9
|
-
import { E as L, t as
|
9
|
+
import { E as L, t as x } from "./index-RhSxYSBk.js";
|
10
10
|
import { d as B } from "./dinero-CIVmXLL-.js";
|
11
|
-
import { _ as
|
12
|
-
import { _ as
|
11
|
+
import { _ as G } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
12
|
+
import { _ as P } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js";
|
13
13
|
import { useRouter as U } from "vue-router";
|
14
14
|
const Y = { class: "flex" }, W = ["src"], j = ["src"], q = /* @__PURE__ */ g({
|
15
15
|
__name: "Gateway",
|
@@ -18,8 +18,8 @@ const Y = { class: "flex" }, W = ["src"], j = ["src"], q = /* @__PURE__ */ g({
|
|
18
18
|
data: {}
|
19
19
|
},
|
20
20
|
setup(i) {
|
21
|
-
return (a, r) => (p(),
|
22
|
-
a.row.original.ecrGateway ? (p(),
|
21
|
+
return (a, r) => (p(), w("div", Y, [
|
22
|
+
a.row.original.ecrGateway ? (p(), w("img", {
|
23
23
|
key: 0,
|
24
24
|
class: "bg-fm-color-overlay-background rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
25
25
|
src: n(L)
|
@@ -65,7 +65,7 @@ const Y = { class: "flex" }, W = ["src"], j = ["src"], q = /* @__PURE__ */ g({
|
|
65
65
|
function s() {
|
66
66
|
r.push(a.route);
|
67
67
|
}
|
68
|
-
return (l, m) => (p(),
|
68
|
+
return (l, m) => (p(), w("div", {
|
69
69
|
class: "fm-typo-en-link-md-600",
|
70
70
|
onClick: m[0] || (m[0] = (T) => {
|
71
71
|
T.stopPropagation(), s();
|
@@ -83,12 +83,12 @@ const Y = { class: "flex" }, W = ["src"], j = ["src"], q = /* @__PURE__ */ g({
|
|
83
83
|
endDate: I().endOf("day").toISOString()
|
84
84
|
}
|
85
85
|
});
|
86
|
-
|
86
|
+
N([r, s], () => {
|
87
87
|
var e;
|
88
88
|
return (e = a.value) == null ? void 0 : e.reset();
|
89
89
|
});
|
90
90
|
let m;
|
91
|
-
|
91
|
+
N(l, async () => {
|
92
92
|
m && clearTimeout(m), m = setTimeout(
|
93
93
|
() => {
|
94
94
|
var e;
|
@@ -125,6 +125,7 @@ const Y = { class: "flex" }, W = ["src"], j = ["src"], q = /* @__PURE__ */ g({
|
|
125
125
|
transactionAt: I(e.transactionAt).format("YYYY-MM-DD hh:mm:ss"),
|
126
126
|
action: e.action,
|
127
127
|
gateway: e.gateway,
|
128
|
+
ecrGateway: e.ecrGateway,
|
128
129
|
amount: _
|
129
130
|
};
|
130
131
|
}, E = [
|
@@ -134,7 +135,7 @@ const Y = { class: "flex" }, W = ["src"], j = ["src"], q = /* @__PURE__ */ g({
|
|
134
135
|
meta: {
|
135
136
|
textAlign: "left"
|
136
137
|
},
|
137
|
-
cell: ({ cell: e }) => f(
|
138
|
+
cell: ({ cell: e }) => f(P, { data: e.getValue() })
|
138
139
|
},
|
139
140
|
{
|
140
141
|
accessorKey: "terminalId",
|
@@ -201,7 +202,7 @@ const Y = { class: "flex" }, W = ["src"], j = ["src"], q = /* @__PURE__ */ g({
|
|
201
202
|
}
|
202
203
|
];
|
203
204
|
return (e, t) => {
|
204
|
-
const _ = A("FmSearch"),
|
205
|
+
const _ = A("FmSearch"), y = A("FmSelect"), O = A("FmDateRangePicker");
|
205
206
|
return p(), R($, {
|
206
207
|
title: "Offline Transactions",
|
207
208
|
loading: !1
|
@@ -216,7 +217,7 @@ const Y = { class: "flex" }, W = ["src"], j = ["src"], q = /* @__PURE__ */ g({
|
|
216
217
|
label: "Search",
|
217
218
|
placeholder: "Search Transactions ..."
|
218
219
|
}, null, 8, ["model-value"]),
|
219
|
-
d(
|
220
|
+
d(y, {
|
220
221
|
modelValue: n(s),
|
221
222
|
"onUpdate:modelValue": t[1] || (t[1] = (o) => h(s) ? s.value = o : null),
|
222
223
|
class: "mr-6 w-[300px]",
|
@@ -233,7 +234,7 @@ const Y = { class: "flex" }, W = ["src"], j = ["src"], q = /* @__PURE__ */ g({
|
|
233
234
|
}, null, 8, ["modelValue"])
|
234
235
|
]),
|
235
236
|
u("div", X, [
|
236
|
-
d(
|
237
|
+
d(G, {
|
237
238
|
button: {
|
238
239
|
appendIcon: "file_download",
|
239
240
|
variant: "primary",
|
@@ -241,7 +242,7 @@ const Y = { class: "flex" }, W = ["src"], j = ["src"], q = /* @__PURE__ */ g({
|
|
241
242
|
},
|
242
243
|
handler: () => {
|
243
244
|
var o;
|
244
|
-
return n(
|
245
|
+
return n(x).downloadTransactions(((o = a.value) == null ? void 0 : o.data()) ?? []);
|
245
246
|
}
|
246
247
|
}, null, 8, ["handler"])
|
247
248
|
])
|
@@ -251,7 +252,7 @@ const Y = { class: "flex" }, W = ["src"], j = ["src"], q = /* @__PURE__ */ g({
|
|
251
252
|
ref: a,
|
252
253
|
"column-defs": E,
|
253
254
|
"rows-defs": v,
|
254
|
-
paginate: (o, b) => n(
|
255
|
+
paginate: (o, b) => n(x).readTransactions({
|
255
256
|
status: n(s),
|
256
257
|
searchKey: n(l),
|
257
258
|
limit: o,
|
package/dist/app.js
CHANGED
@@ -9,7 +9,7 @@ const f = [
|
|
9
9
|
meta: {
|
10
10
|
sidebarDisplay: "Payout Accounts"
|
11
11
|
},
|
12
|
-
component: () => import("./PayoutAccount-
|
12
|
+
component: () => import("./PayoutAccount-DSXNLvNP.js")
|
13
13
|
},
|
14
14
|
{
|
15
15
|
path: "/admin/payout-accounts/:accountId",
|
@@ -37,7 +37,7 @@ const f = [
|
|
37
37
|
meta: {
|
38
38
|
sidebarDisplay: "Offline Transactions"
|
39
39
|
},
|
40
|
-
component: () => import("./TerminalTransaction-
|
40
|
+
component: () => import("./TerminalTransaction-CwEwNN25.js")
|
41
41
|
},
|
42
42
|
{
|
43
43
|
path: "/admin/transaction",
|
@@ -69,7 +69,7 @@ const f = [
|
|
69
69
|
{
|
70
70
|
path: "/payout-account",
|
71
71
|
name: "mf-payment-payout-account",
|
72
|
-
component: () => import("./PayoutAccount-
|
72
|
+
component: () => import("./PayoutAccount-CRf5uapK.js"),
|
73
73
|
meta: {
|
74
74
|
sidebarDisplay: "Payout Accounts"
|
75
75
|
}
|