@feedmepos/mf-payment 1.5.55-dev → 1.5.57-dev
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/{OnboardForm-CziPCl4D.js → OnboardForm-D-wyJQY9.js} +1 -1
- package/dist/{OnboardForm-6AxZrEAf.js → OnboardForm-DvRA8ZFe.js} +1 -1
- package/dist/{PayoutAccount-BT_92dvG.js → PayoutAccount-CFlQtAoG.js} +87 -81
- package/dist/{PayoutAccount-BKxMz4dT.js → PayoutAccount-NlE9-0J7.js} +218 -211
- package/dist/{PayoutAccountSetting-CUK1KEM0.js → PayoutAccountSetting-CZwxUzo3.js} +516 -510
- package/dist/TextInputDialog.vue_vue_type_script_setup_true_lang-D8W8_SO2.js +55 -0
- package/dist/{Transaction-44TKMEDC.js → Transaction-DbeYRQ8Z.js} +157 -204
- package/dist/{app-CxJUOgZy.js → app-C5xqFDpA.js} +6 -6
- package/dist/app.js +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-CP6qQFlB.js → payout-account-CrHhzFPk.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ import { p as En } from "./index-C80a7-Ks.js";
|
|
|
8
8
|
import { useSnackbar as Vn, useFormChild as Kn, useDialog as Qn } from "@feedmepos/ui-library";
|
|
9
9
|
import { u as yn } from "./index-D0j1LZAB.js";
|
|
10
10
|
import { s as Sn } from "./vue-signature-pad.esm-IXPjf4fL.js";
|
|
11
|
-
import { P as Un } from "./payout-account-
|
|
11
|
+
import { P as Un } from "./payout-account-CrHhzFPk.js";
|
|
12
12
|
import { useRouter as In } from "vue-router";
|
|
13
13
|
const _n = { class: "flex" }, $n = { class: "justify-self-center font-semibold" }, nt = ["src"], tt = ["src"], C = /* @__PURE__ */ rn({
|
|
14
14
|
__name: "UploadButton",
|
|
@@ -3,7 +3,7 @@ import { o as z } from "./index-CnN_MV2-.js";
|
|
|
3
3
|
import { u as Z, p as oe } from "./index-D0j1LZAB.js";
|
|
4
4
|
import { useRouter as re } from "vue-router";
|
|
5
5
|
import { z as u, a as d } from "./validator-DzjyJnvv.js";
|
|
6
|
-
import { P as ie } from "./payout-account-
|
|
6
|
+
import { P as ie } from "./payout-account-CrHhzFPk.js";
|
|
7
7
|
import { _ } from "./DocumentViewer.vue_vue_type_script_setup_true_lang-KebV8Zws.js";
|
|
8
8
|
import { s as ue } from "./vue-signature-pad.esm-IXPjf4fL.js";
|
|
9
9
|
import { _ as ee } from "./Status.vue_vue_type_script_setup_true_lang-CUnCf_fx.js";
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { h as
|
|
3
|
-
import { u as
|
|
4
|
-
import { p as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { P } from "./payout-account-
|
|
1
|
+
import { defineComponent as y, resolveComponent as p, openBlock as f, createElementBlock as N, createVNode as m, normalizeClass as v, withCtx as b, createElementVNode as P, toDisplayString as k, createCommentVNode as I, createBlock as V, computed as F, ref as O, watch as R, isRef as _, unref as l, h as x } from "vue";
|
|
2
|
+
import { h as K } from "./moment-h96o7c8I.js";
|
|
3
|
+
import { u as T } from "./index-BkQ7t3F6.js";
|
|
4
|
+
import { p as $ } from "./index-D0j1LZAB.js";
|
|
5
|
+
import { _ as U } from "./AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js";
|
|
6
|
+
import { P as E } from "./payout-account-CrHhzFPk.js";
|
|
7
7
|
import { p as A } from "./index-C80a7-Ks.js";
|
|
8
8
|
import "@feedmepos/ui-library";
|
|
9
|
-
import { _ as
|
|
10
|
-
import { useRouter as
|
|
11
|
-
import { _ as
|
|
12
|
-
const
|
|
9
|
+
import { _ as G } from "./index.vue_vue_type_script_setup_true_lang-BksGFeSf.js";
|
|
10
|
+
import { useRouter as Y } from "vue-router";
|
|
11
|
+
import { _ as L } from "./SelectAll.vue_vue_type_script_setup_true_lang-BNZTqdoF.js";
|
|
12
|
+
const W = { class: "flex flex-col gap-1" }, j = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "text-xs text-red-500"
|
|
15
|
+
}, q = /* @__PURE__ */ y({
|
|
13
16
|
__name: "Status",
|
|
14
17
|
props: {
|
|
15
18
|
row: {},
|
|
@@ -17,42 +20,45 @@ const L = /* @__PURE__ */ _({
|
|
|
17
20
|
},
|
|
18
21
|
setup(t) {
|
|
19
22
|
const s = t;
|
|
20
|
-
function
|
|
21
|
-
return s.data === "NEW" ? "!w-[16px] !h-[16px] bg-yellow-400" : s.data === "PENDING" ? "!w-[16px] !h-[16px] bg-
|
|
23
|
+
function n() {
|
|
24
|
+
return s.data === "NEW" ? "!w-[16px] !h-[16px] bg-yellow-400" : s.data === "PENDING" ? "!w-[16px] !h-[16px] bg-orange-400" : s.data === "REJECTED" ? "!w-[16px] !h-[16px] bg-red-500" : "!w-[16px] !h-[16px] bg-green-400";
|
|
22
25
|
}
|
|
23
26
|
return (c, d) => {
|
|
24
|
-
const
|
|
25
|
-
return
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
const r = p("FmBadge");
|
|
28
|
+
return f(), N("div", W, [
|
|
29
|
+
m(r, {
|
|
30
|
+
inline: "",
|
|
31
|
+
class: v(n())
|
|
32
|
+
}, {
|
|
33
|
+
default: b(() => [
|
|
34
|
+
P("div", null, k(t.data), 1)
|
|
35
|
+
]),
|
|
36
|
+
_: 1
|
|
37
|
+
}, 8, ["class"]),
|
|
38
|
+
s.data === "REJECTED" && s.row.original.statusReason ? (f(), N("div", j, k(s.row.original.statusReason), 1)) : I("", !0)
|
|
39
|
+
]);
|
|
34
40
|
};
|
|
35
41
|
}
|
|
36
|
-
}),
|
|
42
|
+
}), H = /* @__PURE__ */ y({
|
|
37
43
|
__name: "Bank",
|
|
38
44
|
props: {
|
|
39
45
|
row: {},
|
|
40
46
|
data: {}
|
|
41
47
|
},
|
|
42
48
|
setup(t) {
|
|
43
|
-
function s(
|
|
44
|
-
return
|
|
49
|
+
function s(n) {
|
|
50
|
+
return n ? "!w-[16px] !h-[16px] bg-green-400" : "!w-[16px] !h-[16px] bg-red-400";
|
|
45
51
|
}
|
|
46
|
-
return (
|
|
47
|
-
const d = p("FmBadge"),
|
|
48
|
-
return
|
|
52
|
+
return (n, c) => {
|
|
53
|
+
const d = p("FmBadge"), r = p("FmListItem");
|
|
54
|
+
return f(), V(r, {
|
|
49
55
|
label: t.row.original.holderName,
|
|
50
56
|
sublabel: t.row.original.bankName + " - " + t.row.original.bankNumber,
|
|
51
57
|
clickable: !1,
|
|
52
58
|
tag: "label"
|
|
53
59
|
}, {
|
|
54
60
|
append: b(() => [
|
|
55
|
-
|
|
61
|
+
m(d, {
|
|
56
62
|
inline: "",
|
|
57
63
|
class: v(s(t.row.original.bankReady))
|
|
58
64
|
}, null, 8, ["class"])
|
|
@@ -61,26 +67,26 @@ const L = /* @__PURE__ */ _({
|
|
|
61
67
|
}, 8, ["label", "sublabel"]);
|
|
62
68
|
};
|
|
63
69
|
}
|
|
64
|
-
}),
|
|
70
|
+
}), J = /* @__PURE__ */ y({
|
|
65
71
|
__name: "PersonInCharge",
|
|
66
72
|
props: {
|
|
67
73
|
row: {},
|
|
68
74
|
data: {}
|
|
69
75
|
},
|
|
70
76
|
setup(t) {
|
|
71
|
-
function s(
|
|
72
|
-
return
|
|
77
|
+
function s(n) {
|
|
78
|
+
return n ? "!w-[16px] !h-[16px] bg-green-400" : "!w-[16px] !h-[16px] bg-red-400";
|
|
73
79
|
}
|
|
74
|
-
return (
|
|
75
|
-
const d = p("FmBadge"),
|
|
76
|
-
return
|
|
80
|
+
return (n, c) => {
|
|
81
|
+
const d = p("FmBadge"), r = p("FmListItem");
|
|
82
|
+
return f(), V(r, {
|
|
77
83
|
label: t.row.original.picName,
|
|
78
84
|
sublabel: t.row.original.picEmail + " - " + t.row.original.picPhone,
|
|
79
85
|
clickable: !1,
|
|
80
86
|
tag: "label"
|
|
81
87
|
}, {
|
|
82
88
|
append: b(() => [
|
|
83
|
-
|
|
89
|
+
m(d, {
|
|
84
90
|
inline: "",
|
|
85
91
|
class: v(s(t.row.original.picReady))
|
|
86
92
|
}, null, 8, ["class"])
|
|
@@ -89,28 +95,28 @@ const L = /* @__PURE__ */ _({
|
|
|
89
95
|
}, 8, ["label", "sublabel"]);
|
|
90
96
|
};
|
|
91
97
|
}
|
|
92
|
-
}),
|
|
98
|
+
}), M = /* @__PURE__ */ y({
|
|
93
99
|
__name: "DisplayName",
|
|
94
100
|
props: {
|
|
95
101
|
row: {}
|
|
96
102
|
},
|
|
97
103
|
setup(t) {
|
|
98
|
-
return (s,
|
|
104
|
+
return (s, n) => (f(), N("p", null, k(t.row.original.name) + " (" + k(t.row.original.regNo ?? "-") + ")", 1));
|
|
99
105
|
}
|
|
100
|
-
}),
|
|
106
|
+
}), z = { class: "flex items-start mb-6" }, me = /* @__PURE__ */ y({
|
|
101
107
|
__name: "PayoutAccount",
|
|
102
108
|
setup(t) {
|
|
103
|
-
const s = F(() =>
|
|
109
|
+
const s = F(() => E.storeEventOptions()), n = F(() => E.statusOptions()), c = O(), d = Y(), { event: r, status: i, searchKey: u } = T({
|
|
104
110
|
searchKey: "",
|
|
105
|
-
event:
|
|
106
|
-
status:
|
|
111
|
+
event: $.F_PAYOUT_FOR.Enum.ORDERING,
|
|
112
|
+
status: n.value.map((e) => e.value)
|
|
107
113
|
});
|
|
108
|
-
|
|
114
|
+
R([r, i], () => {
|
|
109
115
|
var e;
|
|
110
116
|
return (e = c.value) == null ? void 0 : e.reset();
|
|
111
117
|
});
|
|
112
118
|
let w;
|
|
113
|
-
|
|
119
|
+
R(u, async () => {
|
|
114
120
|
w && clearTimeout(w), w = setTimeout(() => {
|
|
115
121
|
var e;
|
|
116
122
|
return (e = c.value) == null ? void 0 : e.reset();
|
|
@@ -129,13 +135,13 @@ const L = /* @__PURE__ */ _({
|
|
|
129
135
|
bankName: e.store.bank.name,
|
|
130
136
|
holderName: e.store.bank.holderName
|
|
131
137
|
});
|
|
132
|
-
const
|
|
138
|
+
const g = {
|
|
133
139
|
picReady: !1,
|
|
134
140
|
picName: "",
|
|
135
141
|
picPhone: "",
|
|
136
142
|
picEmail: ""
|
|
137
143
|
};
|
|
138
|
-
e.store.keyPerson && Object.assign(
|
|
144
|
+
e.store.keyPerson && Object.assign(g, {
|
|
139
145
|
picReady: !0,
|
|
140
146
|
picName: e.store.keyPerson.name,
|
|
141
147
|
picPhone: e.store.keyPerson.phone,
|
|
@@ -147,13 +153,14 @@ const L = /* @__PURE__ */ _({
|
|
|
147
153
|
event: e.store.event,
|
|
148
154
|
name: h,
|
|
149
155
|
status: e.status,
|
|
150
|
-
|
|
156
|
+
statusReason: e.statusReason,
|
|
157
|
+
submissionDate: e.submissionDate ? K(e.submissionDate).format("YYYY-MM-DD HH:mm:ss") : "—",
|
|
151
158
|
regNo: e.store.regNo,
|
|
152
159
|
companyName: e.store.companyName,
|
|
153
160
|
...a,
|
|
154
|
-
...
|
|
161
|
+
...g
|
|
155
162
|
};
|
|
156
|
-
},
|
|
163
|
+
}, C = [
|
|
157
164
|
{
|
|
158
165
|
header: () => "Type",
|
|
159
166
|
accessorKey: "event",
|
|
@@ -164,15 +171,14 @@ const L = /* @__PURE__ */ _({
|
|
|
164
171
|
{
|
|
165
172
|
header: () => "Name",
|
|
166
173
|
accessorKey: "name",
|
|
167
|
-
cell: ({ cell: e, row: a }) => x(
|
|
174
|
+
cell: ({ cell: e, row: a }) => x(M, { row: a })
|
|
168
175
|
},
|
|
169
176
|
{
|
|
170
177
|
header: () => "Status",
|
|
171
178
|
accessorKey: "status",
|
|
172
|
-
cell: ({ cell: e, row: a }) => x(
|
|
179
|
+
cell: ({ cell: e, row: a }) => x(q, { row: a, data: e.getValue() }),
|
|
173
180
|
meta: {
|
|
174
|
-
maxWidth: "108px"
|
|
175
|
-
textAlign: "right"
|
|
181
|
+
maxWidth: "108px"
|
|
176
182
|
}
|
|
177
183
|
},
|
|
178
184
|
{
|
|
@@ -185,74 +191,74 @@ const L = /* @__PURE__ */ _({
|
|
|
185
191
|
{
|
|
186
192
|
header: () => "Bank Details",
|
|
187
193
|
accessorKey: "bank",
|
|
188
|
-
cell: ({ cell: e, row: a }) => x(
|
|
194
|
+
cell: ({ cell: e, row: a }) => x(H, { row: a, data: e.getValue() })
|
|
189
195
|
},
|
|
190
196
|
{
|
|
191
197
|
header: () => "Person In-Charge (PIC)",
|
|
192
198
|
accessorKey: "pic",
|
|
193
|
-
cell: ({ cell: e, row: a }) => x(
|
|
199
|
+
cell: ({ cell: e, row: a }) => x(J, { row: a, data: e.getValue() })
|
|
194
200
|
}
|
|
195
201
|
];
|
|
196
202
|
return (e, a) => {
|
|
197
|
-
const
|
|
198
|
-
return
|
|
203
|
+
const g = p("FmSelect"), h = p("FmSearch"), B = p("FmFormGroup");
|
|
204
|
+
return f(), V(U, {
|
|
199
205
|
title: "Payout Accounts",
|
|
200
206
|
loading: !1
|
|
201
207
|
}, {
|
|
202
208
|
default: b(() => [
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
modelValue: l(
|
|
206
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
209
|
+
P("div", z, [
|
|
210
|
+
m(g, {
|
|
211
|
+
modelValue: l(r),
|
|
212
|
+
"onUpdate:modelValue": a[0] || (a[0] = (o) => _(r) ? r.value = o : null),
|
|
207
213
|
class: "mr-6 w-[128px]",
|
|
208
214
|
label: "Type",
|
|
209
215
|
"label-mark": "required",
|
|
210
216
|
items: s.value
|
|
211
217
|
}, null, 8, ["modelValue", "items"]),
|
|
212
|
-
|
|
213
|
-
modelValue: l(
|
|
214
|
-
"onUpdate:modelValue": a[2] || (a[2] = (
|
|
218
|
+
m(g, {
|
|
219
|
+
modelValue: l(i),
|
|
220
|
+
"onUpdate:modelValue": a[2] || (a[2] = (o) => _(i) ? i.value = o : null),
|
|
215
221
|
class: "mr-6 w-[300px]",
|
|
216
222
|
label: "Status",
|
|
217
223
|
"label-mark": "required",
|
|
218
224
|
multiselect: "",
|
|
219
|
-
items:
|
|
225
|
+
items: n.value
|
|
220
226
|
}, {
|
|
221
227
|
"prepend-menu": b(() => [
|
|
222
|
-
|
|
223
|
-
modelValue: l(
|
|
224
|
-
"onUpdate:modelValue": a[1] || (a[1] = (
|
|
225
|
-
items:
|
|
228
|
+
m(L, {
|
|
229
|
+
modelValue: l(i),
|
|
230
|
+
"onUpdate:modelValue": a[1] || (a[1] = (o) => _(i) ? i.value = o : null),
|
|
231
|
+
items: n.value
|
|
226
232
|
}, null, 8, ["modelValue", "items"])
|
|
227
233
|
]),
|
|
228
234
|
_: 1
|
|
229
235
|
}, 8, ["modelValue", "items"]),
|
|
230
|
-
|
|
236
|
+
m(B, {
|
|
231
237
|
class: "w-[300px]",
|
|
232
|
-
modelValue: l(
|
|
233
|
-
"onUpdate:modelValue": a[4] || (a[4] = (
|
|
238
|
+
modelValue: l(u),
|
|
239
|
+
"onUpdate:modelValue": a[4] || (a[4] = (o) => _(u) ? u.value = o : null),
|
|
234
240
|
label: "Search"
|
|
235
241
|
}, {
|
|
236
242
|
default: b(() => [
|
|
237
|
-
|
|
238
|
-
modelValue: l(
|
|
239
|
-
"onUpdate:modelValue": a[3] || (a[3] = (
|
|
243
|
+
m(h, {
|
|
244
|
+
modelValue: l(u),
|
|
245
|
+
"onUpdate:modelValue": a[3] || (a[3] = (o) => _(u) ? u.value = o : null),
|
|
240
246
|
placeholder: "Search accounts ..."
|
|
241
247
|
}, null, 8, ["modelValue"])
|
|
242
248
|
]),
|
|
243
249
|
_: 1
|
|
244
250
|
}, 8, ["modelValue"])
|
|
245
251
|
]),
|
|
246
|
-
|
|
252
|
+
m(G, {
|
|
247
253
|
ref_key: "controller",
|
|
248
254
|
ref: c,
|
|
249
|
-
"column-defs":
|
|
255
|
+
"column-defs": C,
|
|
250
256
|
"rows-defs": D,
|
|
251
|
-
paginate: (
|
|
252
|
-
onRowClick: a[5] || (a[5] = (
|
|
257
|
+
paginate: (o, S) => l(A).read({ event: l(r), status: l(i), searchKey: l(u), limit: o, cursor: S }),
|
|
258
|
+
onRowClick: a[5] || (a[5] = (o) => l(d).push({
|
|
253
259
|
name: "mf-payment-admin.payout-account-settings",
|
|
254
260
|
params: {
|
|
255
|
-
accountId:
|
|
261
|
+
accountId: o._id
|
|
256
262
|
}
|
|
257
263
|
}))
|
|
258
264
|
}, null, 8, ["paginate"])
|
|
@@ -263,5 +269,5 @@ const L = /* @__PURE__ */ _({
|
|
|
263
269
|
}
|
|
264
270
|
});
|
|
265
271
|
export {
|
|
266
|
-
|
|
272
|
+
me as default
|
|
267
273
|
};
|