@feedmepos/mf-payment 0.0.0-beta.9 → 1.0.0-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js +39 -0
- package/dist/AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js +42 -0
- package/dist/AutoCopyCell.vue_vue_type_script_setup_true_lang-GXPXBEf5.js +40 -0
- package/dist/Modal-DB8M9o1T.js +13 -0
- package/dist/PayoutAccount-BHRhEZ9h.js +613 -0
- package/dist/{PayoutAccount-DLhMMlw_.js → PayoutAccount-Bj5zvmoj.js} +38 -35
- package/dist/PayoutAccountSetting-kUQLeAcb.js +780 -0
- package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-CY4ttpKj.js +33 -0
- package/dist/Settlement-Crdfq22j.js +149 -0
- package/dist/Settlement-JHOJNkhd.js +194 -0
- package/dist/{SettlementTransactions-CoEzdtYT.js → SettlementTransactions-BxuLXUR-.js} +99 -105
- package/dist/{SettlementTransactions-Dl1H4jvh.js → SettlementTransactions-daWMAmtz.js} +117 -130
- package/dist/Terminal-gxGnjFGc.js +372 -0
- package/dist/TerminalSetting--ZAJJ_Hf.js +379 -0
- package/dist/TerminalTransaction---9nk_4q.js +249 -0
- package/dist/TerminalTransaction-B77YK3hF.js +425 -0
- package/dist/Transaction-8LlOLPeZ.js +404 -0
- package/dist/Transaction-DRQ_uZ30.js +241 -0
- package/dist/api/index.d.ts +14 -0
- package/dist/api/pagination.d.ts +20 -0
- package/dist/api/payment-gateway/index.d.ts +9 -0
- package/dist/api/settlement/index.d.ts +12 -13
- package/dist/api/terminal/index.d.ts +13 -1
- package/dist/api/terminal-transaction/index.d.ts +12 -1
- package/dist/api/transaction/index.d.ts +7 -2
- package/dist/app-DjzULXn3.js +6356 -0
- package/dist/app.js +3 -198
- package/dist/assets-NrCec-W0.js +45 -0
- package/dist/clipboard-4jh1WteU.js +10 -0
- package/dist/components/AsyncButton.vue.d.ts +21 -0
- package/dist/components/AutoCopyCell.vue.d.ts +6 -0
- package/dist/components/CursorTable/index.vue.d.ts +24 -5
- package/dist/components/RestaurantSelector.vue.d.ts +2 -0
- package/dist/components/RouteCell.vue.d.ts +8 -0
- package/dist/helpers/assets.d.ts +2 -0
- package/dist/{index-Bmka-1lQ.js → index-7KNaibcq.js} +1 -1
- package/dist/index-BWUtjGg7.js +47 -0
- package/dist/{index-CF56zGyu.js → index-BwcJZFsi.js} +1 -1
- package/dist/index-CWaKb7bG.js +56107 -0
- package/dist/index-CojhNtuG.js +127 -0
- package/dist/index-DbJpbpSs.js +52 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-JdAFa8vy.js +167 -0
- package/dist/model/transaction.d.ts +2 -1
- package/dist/package.json +5 -5
- package/dist/payout-account-CBT1rfSS.js +1805 -0
- package/dist/router/index.d.ts +1 -0
- package/dist/stores/payoutAccount.d.ts +4 -4
- package/dist/transaction-CQiT7Y_s.js +87 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/validator-D5jtpt9A.js +2877 -0
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +4 -4
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +81 -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/gateway/FiuuGateway.vue.d.ts +56 -0
- package/dist/views/admin/payout-account/tabs/gateway/GhlGateway.vue.d.ts +50 -0
- package/dist/views/admin/payout-account/tabs/gateway/RevenueMonsterGateway.vue.d.ts +52 -0
- package/dist/views/admin/settlement/SettlementTable.vue.d.ts +12 -12
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +83 -0
- package/dist/views/admin/terminal/TerminalSetting.vue.d.ts +12 -0
- package/dist/views/admin/terminal/cell/Actions.vue.d.ts +80 -9
- package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +94 -0
- package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +94 -0
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +85 -0
- package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +94 -0
- package/dist/views/admin/terminal-transaction/cell/Actions.vue.d.ts +7 -0
- package/dist/views/admin/transaction/TransactionTable.vue.d.ts +6 -2
- package/dist/views/admin/transaction/cell/Actions.vue.d.ts +7 -0
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +8 -8
- package/dist/views/settlement/SettlementTable.vue.d.ts +12 -12
- package/dist/views/terminal-transaction/TerminalTransaction.vue.d.ts +2 -0
- package/dist/views/terminal-transaction/cell/Gateway.vue.d.ts +9 -0
- package/dist/views/terminal-transaction/cell/Status.vue.d.ts +9 -0
- package/package.json +5 -5
- package/dist/AdminLayout.vue_vue_type_script_setup_true_lang-oPYFBeEo.js +0 -42
- package/dist/PayoutAccount-xxSxqBTL.js +0 -3485
- package/dist/PayoutAccountSetting-CIeos0md.js +0 -425
- package/dist/Settlement-BVGACeme.js +0 -136
- package/dist/Settlement-Ce48KHrc.js +0 -132
- package/dist/Terminal-ByKV2Rof.js +0 -204
- package/dist/TerminalTransaction-RuSxBAxf.js +0 -240
- package/dist/Transaction-CYo-uLQi.js +0 -241
- package/dist/Transaction-Cjw9WwX8.js +0 -242
- package/dist/api/auth/index.d.ts +0 -7
- package/dist/assets-BuLGUMIx.js +0 -472
- package/dist/index-Coz5aeIO.js +0 -61
- package/dist/index-DCPNrUDq.js +0 -40075
- package/dist/index.vue_vue_type_script_setup_true_lang-CAR-bNaR.js +0 -150
- package/dist/mascot-side-3VXskf9y.js +0 -4
- package/dist/payout-account-iAM7HPtG.js +0 -3317
- package/dist/transaction-vRrBf3FN.js +0 -64
@@ -1,12 +1,12 @@
|
|
1
1
|
import { defineComponent as b, resolveComponent as m, openBlock as g, createBlock as h, normalizeClass as N, withCtx as f, createElementVNode as P, toDisplayString as C, createVNode as c, computed as x, ref as E, watch as F, unref as l, isRef as k, h as w } from "vue";
|
2
|
-
import { u as S } from "./index-
|
3
|
-
import { _ as O } from "./index-
|
4
|
-
import { _ as K } from "./AdminLayout.vue_vue_type_script_setup_true_lang-
|
5
|
-
import { P as V } from "./payout-account-
|
6
|
-
import { p as
|
2
|
+
import { u as S } from "./index-7KNaibcq.js";
|
3
|
+
import { _ as O } from "./index-CWaKb7bG.js";
|
4
|
+
import { _ as K } from "./AdminLayout.vue_vue_type_script_setup_true_lang-BTmMOzwx.js";
|
5
|
+
import { P as V } from "./payout-account-CBT1rfSS.js";
|
6
|
+
import { p as D } from "./index-BwcJZFsi.js";
|
7
7
|
import "@feedmepos/ui-library";
|
8
|
-
import { _ as
|
9
|
-
import { useRouter as
|
8
|
+
import { _ as T } from "./index.vue_vue_type_script_setup_true_lang-JdAFa8vy.js";
|
9
|
+
import { useRouter as $ } from "vue-router";
|
10
10
|
const G = /* @__PURE__ */ b({
|
11
11
|
__name: "Status",
|
12
12
|
props: {
|
@@ -14,13 +14,13 @@ const G = /* @__PURE__ */ b({
|
|
14
14
|
data: {}
|
15
15
|
},
|
16
16
|
setup(d) {
|
17
|
-
const
|
17
|
+
const r = d;
|
18
18
|
function t() {
|
19
|
-
return
|
19
|
+
return r.data === "NEW" ? "!w-[16px] !h-[16px] bg-yellow-400" : r.data === "PENDING" ? "!w-[16px] !h-[16px] bg-red-400" : "!w-[16px] !h-[16px] bg-green-400";
|
20
20
|
}
|
21
21
|
return (s, u) => {
|
22
|
-
const
|
23
|
-
return g(), h(
|
22
|
+
const n = m("FmBadge");
|
23
|
+
return g(), h(n, {
|
24
24
|
inline: "",
|
25
25
|
class: N(t())
|
26
26
|
}, {
|
@@ -38,14 +38,14 @@ const G = /* @__PURE__ */ b({
|
|
38
38
|
data: {}
|
39
39
|
},
|
40
40
|
setup(d) {
|
41
|
-
const
|
41
|
+
const r = d;
|
42
42
|
function t() {
|
43
|
-
return
|
43
|
+
return r.data ? "#66BB6A" : "#EF5350";
|
44
44
|
}
|
45
45
|
function s() {
|
46
|
-
return
|
46
|
+
return r.data ? "check" : "close";
|
47
47
|
}
|
48
|
-
return (u,
|
48
|
+
return (u, n) => {
|
49
49
|
const p = m("FmIcon");
|
50
50
|
return g(), h(p, {
|
51
51
|
name: s(),
|
@@ -61,12 +61,12 @@ const G = /* @__PURE__ */ b({
|
|
61
61
|
data: {}
|
62
62
|
},
|
63
63
|
setup(d) {
|
64
|
-
function
|
64
|
+
function r(t) {
|
65
65
|
return t ? "!w-[16px] !h-[16px] bg-green-400" : "!w-[16px] !h-[16px] bg-red-400";
|
66
66
|
}
|
67
67
|
return (t, s) => {
|
68
|
-
const u = m("FmBadge"),
|
69
|
-
return g(), h(
|
68
|
+
const u = m("FmBadge"), n = m("FmListItem");
|
69
|
+
return g(), h(n, {
|
70
70
|
label: t.row.original.holderName,
|
71
71
|
sublabel: t.row.original.bankName + " - " + t.row.original.bankNumber,
|
72
72
|
clickable: !1,
|
@@ -75,7 +75,7 @@ const G = /* @__PURE__ */ b({
|
|
75
75
|
append: f(() => [
|
76
76
|
c(u, {
|
77
77
|
inline: "",
|
78
|
-
class: N(
|
78
|
+
class: N(r(t.row.original.bankReady))
|
79
79
|
}, null, 8, ["class"])
|
80
80
|
]),
|
81
81
|
_: 1
|
@@ -89,12 +89,12 @@ const G = /* @__PURE__ */ b({
|
|
89
89
|
data: {}
|
90
90
|
},
|
91
91
|
setup(d) {
|
92
|
-
function
|
92
|
+
function r(t) {
|
93
93
|
return t ? "!w-[16px] !h-[16px] bg-green-400" : "!w-[16px] !h-[16px] bg-red-400";
|
94
94
|
}
|
95
95
|
return (t, s) => {
|
96
|
-
const u = m("FmBadge"),
|
97
|
-
return g(), h(
|
96
|
+
const u = m("FmBadge"), n = m("FmListItem");
|
97
|
+
return g(), h(n, {
|
98
98
|
label: t.row.original.picName,
|
99
99
|
sublabel: t.row.original.picEmail + " - " + t.row.original.picPhone,
|
100
100
|
clickable: !1,
|
@@ -103,31 +103,31 @@ const G = /* @__PURE__ */ b({
|
|
103
103
|
append: f(() => [
|
104
104
|
c(u, {
|
105
105
|
inline: "",
|
106
|
-
class: N(
|
106
|
+
class: N(r(t.row.original.picReady))
|
107
107
|
}, null, 8, ["class"])
|
108
108
|
]),
|
109
109
|
_: 1
|
110
110
|
}, 8, ["label", "sublabel"]);
|
111
111
|
};
|
112
112
|
}
|
113
|
-
}),
|
113
|
+
}), j = { class: "flex items-start mb-6" }, ee = /* @__PURE__ */ b({
|
114
114
|
__name: "PayoutAccount",
|
115
115
|
setup(d) {
|
116
|
-
const
|
116
|
+
const r = x(() => V.storeEventOptions), t = x(() => V.statusOptions), s = E(), u = $(), { event: n, status: p, searchKey: i } = S({
|
117
117
|
searchKey: "",
|
118
118
|
event: O.F_PAYOUT_FOR.Enum.ORDERING,
|
119
119
|
status: t.value.map((e) => e.value)
|
120
120
|
});
|
121
|
-
F([
|
121
|
+
F([n, p], () => {
|
122
122
|
var e;
|
123
|
-
return (e = s.value) == null ? void 0 : e.
|
123
|
+
return (e = s.value) == null ? void 0 : e.reset();
|
124
124
|
});
|
125
125
|
let v;
|
126
126
|
F(i, async () => {
|
127
127
|
v && clearTimeout(v), v = setTimeout(
|
128
128
|
() => {
|
129
129
|
var e;
|
130
|
-
return (e = s.value) == null ? void 0 : e.
|
130
|
+
return (e = s.value) == null ? void 0 : e.reset();
|
131
131
|
},
|
132
132
|
700
|
133
133
|
);
|
@@ -214,14 +214,14 @@ const G = /* @__PURE__ */ b({
|
|
214
214
|
loading: !1
|
215
215
|
}, {
|
216
216
|
default: f(() => [
|
217
|
-
P("div",
|
217
|
+
P("div", j, [
|
218
218
|
c(_, {
|
219
|
-
modelValue: l(
|
220
|
-
"onUpdate:modelValue": a[0] || (a[0] = (o) => k(
|
219
|
+
modelValue: l(n),
|
220
|
+
"onUpdate:modelValue": a[0] || (a[0] = (o) => k(n) ? n.value = o : null),
|
221
221
|
class: "mr-6 w-[128px]",
|
222
222
|
label: "Type",
|
223
223
|
"label-mark": "required",
|
224
|
-
items:
|
224
|
+
items: r.value
|
225
225
|
}, null, 8, ["modelValue", "items"]),
|
226
226
|
c(_, {
|
227
227
|
modelValue: l(p),
|
@@ -248,14 +248,17 @@ const G = /* @__PURE__ */ b({
|
|
248
248
|
_: 1
|
249
249
|
}, 8, ["modelValue"])
|
250
250
|
]),
|
251
|
-
c(
|
251
|
+
c(T, {
|
252
252
|
ref_key: "controller",
|
253
253
|
ref: s,
|
254
254
|
"column-defs": R,
|
255
255
|
"rows-defs": I,
|
256
|
-
paginate: (o, A) => l(
|
256
|
+
paginate: (o, A) => l(D).read({ event: l(n), status: l(p), searchKey: l(i), limit: o, cursor: A }),
|
257
257
|
onRowClick: a[4] || (a[4] = (o) => l(u).push({
|
258
|
-
|
258
|
+
name: "mf-payment-admin.payout-account-settings",
|
259
|
+
params: {
|
260
|
+
accountId: o._id
|
261
|
+
}
|
259
262
|
}))
|
260
263
|
}, null, 8, ["paginate"])
|
261
264
|
]),
|