@feedmepos/mf-payment 1.7.8-dev → 1.7.11-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/{Actions.vue_vue_type_script_setup_true_lang-D_rXg9Fw.js → Actions.vue_vue_type_script_setup_true_lang-BK7eBqg8.js} +1 -1
- package/dist/{AdminBusinessSelector.vue_vue_type_script_setup_true_lang-CIaldv4s.js → AdminBusinessSelector.vue_vue_type_script_setup_true_lang-CJRHud1Y.js} +3 -3
- package/dist/{AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-CHRvN9A2.js → AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-kDEZmxJj.js} +2 -2
- package/dist/{Chargeback-D5qW-mVx.js → Chargeback-B24AygKB.js} +5 -5
- package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-DXV5KKN2.js → DocumentViewer.vue_vue_type_script_setup_true_lang-ZTBItxH4.js} +1 -1
- package/dist/{OnboardForm-W0k0TLHo.js → OnboardForm-BoMXyBfu.js} +5 -5
- package/dist/{OnboardForm-CGQE0m9f.js → OnboardForm-DDtgBR70.js} +5 -5
- package/dist/{OnboardSubmission-B3s4qhTG.js → OnboardSubmission-FVa7wqyw.js} +189 -188
- package/dist/{OnboardSubmission-DFH5vwUa.js → OnboardSubmission-NbKQg29f.js} +35 -39
- package/dist/{PayoutAccount-BtB8BhWG.js → PayoutAccount-B7uNxA-y.js} +5 -5
- package/dist/{PayoutAccount-Ch-QtROT.js → PayoutAccount-CbHUueB5.js} +42 -42
- package/dist/{PayoutAccountSetting-De2-ICCG.js → PayoutAccountSetting-Bi8us59u.js} +6 -6
- package/dist/{Restaurant-DTCzqBKj.js → Restaurant-ZKH4-27k.js} +4 -4
- package/dist/{RestaurantSetting-RYEI1ino.js → RestaurantSetting-5Ucv0fuX.js} +3 -3
- package/dist/{Settlement-CHRgvDyo.js → Settlement-Cs3498YL.js} +3 -3
- package/dist/{Settlement-DGYbwQ3e.js → Settlement-D8Yoyler.js} +4 -4
- package/dist/{SettlementTransactions-BACa5wVG.js → SettlementTransactions-CsLXxKAk.js} +11 -10
- package/dist/{SettlementTransactions-BqUAx9fY.js → SettlementTransactions-Lsb17Lxv.js} +11 -10
- package/dist/{Status.vue_vue_type_script_setup_true_lang-oKuE83KP.js → Status.vue_vue_type_script_setup_true_lang-eL7XwWJ3.js} +4 -4
- package/dist/{Terminal-4MpJyqma.js → Terminal-BPh2BCua.js} +5 -5
- package/dist/{TerminalSetting-CzpvtIyS.js → TerminalSetting-B79qs4mL.js} +958 -821
- package/dist/{Transaction-CDjn1yop.js → Transaction-DR2gQCKA.js} +10 -10
- package/dist/{Transaction-ByT89ppn.js → Transaction-DjLL4UN4.js} +37 -36
- package/dist/{TransactionOld-0U8W_P6p.js → TransactionOld-B5s1qngv.js} +7 -7
- package/dist/TransactionStatus.vue_vue_type_script_setup_true_lang-B8mW53hn.js +89 -0
- package/dist/{app-DIN7H6rk.js → app-D3wofEOS.js} +23 -23
- package/dist/app.js +1 -1
- package/dist/assets-_mNJ5BSj.js +92 -0
- package/dist/{grafana-BcpOE56P.js → grafana-DG-OOrc6.js} +1 -1
- package/dist/{index-DOUdnPtc.js → index-BkLu8qJc.js} +1 -1
- package/dist/{index-BxdFscFc.js → index-Bnlv9uae.js} +11502 -11016
- package/dist/{index-BxsmB_C3.js → index-BqgiQOtT.js} +1 -1
- package/dist/{index-Ce5HOW0V.js → index-C1BlMUKC.js} +1 -1
- package/dist/{index-Cdp_1070.js → index-COfZw5dL.js} +1 -1
- package/dist/{index-D_qtpNXT.js → index-NX5RT8X0.js} +1 -1
- package/dist/{index-BMNPErIg.js → index-k8hRO-Tp.js} +1 -1
- package/dist/{index-CAeTd4VM.js → index-zND3az_w.js} +2 -2
- package/dist/{index-GawC_j2y.js → index-zQrKAzs3.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-MX7Mb9Db.js → index.vue_vue_type_script_setup_true_lang-B6UiGJ2f.js} +1 -1
- package/dist/model/onboard-submission.d.ts +19 -0
- package/dist/onboard-submission-CCpAeH6U.js +23 -0
- package/dist/package.json +2 -2
- package/dist/{payout-account-CKdySLcf.js → payout-account-ae78i0IG.js} +3 -3
- package/dist/stores/payoutAccount.d.ts +22 -22
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +22 -22
- package/dist/views/admin/payout-account/tabs/PaymentChannel.vue.d.ts +26 -26
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +26 -26
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +22 -22
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +22 -22
- package/dist/views/admin/payout-account/tabs/TokenGateway.vue.d.ts +26 -26
- package/dist/views/admin/payout-account/tabs/token/ApplePayToken.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/token/GooglePayToken.vue.d.ts +2 -2
- package/dist/views/admin/settlement/SettlementTable.vue.d.ts +4 -4
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +30 -4
- package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +30 -4
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +30 -4
- package/dist/views/admin/terminal/tabs/PaymentCheckout.vue.d.ts +166 -0
- package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +30 -4
- package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +30 -4
- package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +30 -4
- package/dist/views/admin/terminal/tabs/ecr/Ghl2Gateway.vue.d.ts +30 -4
- package/dist/views/admin/terminal/tabs/ecr/Ghl3Gateway.vue.d.ts +30 -4
- package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +30 -4
- package/dist/views/admin/terminal/tabs/ecr/GlobalPaymentsGateway.vue.d.ts +30 -4
- package/dist/views/admin/terminal/tabs/ecr/HlbbGateway.vue.d.ts +30 -4
- package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +30 -4
- package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +30 -4
- package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +30 -4
- package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +30 -4
- package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +30 -4
- package/dist/views/admin/terminal/tabs/ecr/OmaGateway.vue.d.ts +30 -4
- package/dist/views/admin/terminal/tabs/ecr/RevenueGateway.vue.d.ts +30 -4
- package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +30 -4
- package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +30 -4
- package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +30 -4
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +44 -44
- package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +12 -12
- package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +6 -6
- package/dist/views/settlement/SettlementTable.vue.d.ts +4 -4
- package/package.json +2 -2
- package/dist/assets-BPLQQR2t.js +0 -177
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { o as R } from "./index-
|
|
3
|
-
import { p as
|
|
4
|
-
import { _ as
|
|
1
|
+
import { defineComponent as S, ref as w, watch as c, computed as f, resolveComponent as y, openBlock as O, createBlock as k, withCtx as _, createElementVNode as K, createVNode as m, isRef as n, unref as o, h as F } from "vue";
|
|
2
|
+
import { o as R } from "./index-zND3az_w.js";
|
|
3
|
+
import { p as b } from "./index-Bnlv9uae.js";
|
|
4
|
+
import { _ as C } from "./index.vue_vue_type_script_setup_true_lang-B6UiGJ2f.js";
|
|
5
5
|
import { useRouter as D } from "vue-router";
|
|
6
|
-
import { _ as
|
|
7
|
-
import { h as
|
|
8
|
-
import { u as
|
|
9
|
-
import { _ as
|
|
10
|
-
import { _ as I } from "./Status.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
|
|
6
|
+
import { _ as E } from "./AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js";
|
|
7
|
+
import { h as N } from "./moment-h96o7c8I.js";
|
|
8
|
+
import { u as T } from "./index-BqgiQOtT.js";
|
|
9
|
+
import { _ as U } from "./SelectAll.vue_vue_type_script_setup_true_lang-BNZTqdoF.js";
|
|
10
|
+
import { _ as I } from "./Status.vue_vue_type_script_setup_true_lang-eL7XwWJ3.js";
|
|
11
|
+
import { O as Y } from "./onboard-submission-CCpAeH6U.js";
|
|
12
|
+
const $ = { class: "flex items-start mb-6" }, X = /* @__PURE__ */ S({
|
|
12
13
|
__name: "OnboardSubmission",
|
|
13
|
-
setup(
|
|
14
|
-
const u = w(), h = D(), { status: l, type: s, search: r } =
|
|
15
|
-
status: [
|
|
14
|
+
setup(P) {
|
|
15
|
+
const u = w(), h = D(), { status: l, type: s, search: r } = T({
|
|
16
|
+
status: [b.FdoOnboardStatus.Enum.submitted],
|
|
16
17
|
type: "",
|
|
17
18
|
search: ""
|
|
18
19
|
});
|
|
19
|
-
|
|
20
|
+
c([l, s], () => {
|
|
20
21
|
var e;
|
|
21
22
|
return (e = u.value) == null ? void 0 : e.reset();
|
|
22
23
|
});
|
|
23
24
|
let i;
|
|
24
|
-
|
|
25
|
+
c(r, () => {
|
|
25
26
|
i && clearTimeout(i), i = setTimeout(() => {
|
|
26
27
|
var e;
|
|
27
28
|
(e = u.value) == null || e.reset();
|
|
@@ -30,7 +31,7 @@ const Y = { class: "flex items-start mb-6" }, L = /* @__PURE__ */ x({
|
|
|
30
31
|
const g = function(e) {
|
|
31
32
|
return {
|
|
32
33
|
...e,
|
|
33
|
-
updatedAt:
|
|
34
|
+
updatedAt: N(e.updatedAt).format("YYYY-MM-DD HH:mm:ss")
|
|
34
35
|
};
|
|
35
36
|
}, v = [
|
|
36
37
|
{
|
|
@@ -75,7 +76,7 @@ const Y = { class: "flex items-start mb-6" }, L = /* @__PURE__ */ x({
|
|
|
75
76
|
meta: {
|
|
76
77
|
textAlign: "left"
|
|
77
78
|
},
|
|
78
|
-
cell: ({ cell: e }) =>
|
|
79
|
+
cell: ({ cell: e }) => F(I, { data: e.getValue() })
|
|
79
80
|
},
|
|
80
81
|
{
|
|
81
82
|
accessorKey: "updatedAt",
|
|
@@ -84,65 +85,60 @@ const Y = { class: "flex items-start mb-6" }, L = /* @__PURE__ */ x({
|
|
|
84
85
|
textAlign: "left"
|
|
85
86
|
}
|
|
86
87
|
}
|
|
87
|
-
],
|
|
88
|
-
() =>
|
|
89
|
-
label: e,
|
|
90
|
-
value: e
|
|
91
|
-
}))
|
|
92
|
-
), p = y(
|
|
93
|
-
() => d.FdoOnboardStatus.options.map((e) => ({
|
|
88
|
+
], x = f(() => Y.typeOptions()), d = f(
|
|
89
|
+
() => b.FdoOnboardStatus.options.map((e) => ({
|
|
94
90
|
label: e,
|
|
95
91
|
value: e
|
|
96
92
|
}))
|
|
97
93
|
);
|
|
98
94
|
return (e, a) => {
|
|
99
|
-
const
|
|
100
|
-
return
|
|
95
|
+
const V = y("FmSearch"), p = y("FmSelect");
|
|
96
|
+
return O(), k(E, {
|
|
101
97
|
title: "Payment Onboarding",
|
|
102
98
|
loading: !1
|
|
103
99
|
}, {
|
|
104
|
-
default:
|
|
105
|
-
K("div",
|
|
106
|
-
m(
|
|
100
|
+
default: _(() => [
|
|
101
|
+
K("div", $, [
|
|
102
|
+
m(V, {
|
|
107
103
|
"model-value": o(r),
|
|
108
104
|
"onUpdate:modelValue": a[0] || (a[0] = (t) => n(r) ? r.value = t : null),
|
|
109
105
|
class: "mr-6",
|
|
110
106
|
label: "Search",
|
|
111
107
|
placeholder: "Search Restaurant ID"
|
|
112
108
|
}, null, 8, ["model-value"]),
|
|
113
|
-
m(
|
|
109
|
+
m(p, {
|
|
114
110
|
modelValue: o(s),
|
|
115
111
|
"onUpdate:modelValue": a[1] || (a[1] = (t) => n(s) ? s.value = t : null),
|
|
116
112
|
class: "mr-6 w-[128px]",
|
|
117
113
|
label: "Type",
|
|
118
114
|
"label-mark": "required",
|
|
119
|
-
items:
|
|
115
|
+
items: x.value
|
|
120
116
|
}, null, 8, ["modelValue", "items"]),
|
|
121
|
-
m(
|
|
117
|
+
m(p, {
|
|
122
118
|
modelValue: o(l),
|
|
123
119
|
"onUpdate:modelValue": a[3] || (a[3] = (t) => n(l) ? l.value = t : null),
|
|
124
120
|
class: "mr-6 w-[300px]",
|
|
125
121
|
label: "Status",
|
|
126
122
|
"label-mark": "required",
|
|
127
123
|
multiselect: "",
|
|
128
|
-
items:
|
|
124
|
+
items: d.value
|
|
129
125
|
}, {
|
|
130
|
-
"prepend-menu":
|
|
131
|
-
m(
|
|
126
|
+
"prepend-menu": _(() => [
|
|
127
|
+
m(U, {
|
|
132
128
|
modelValue: o(l),
|
|
133
129
|
"onUpdate:modelValue": a[2] || (a[2] = (t) => n(l) ? l.value = t : null),
|
|
134
|
-
items:
|
|
130
|
+
items: d.value
|
|
135
131
|
}, null, 8, ["modelValue", "items"])
|
|
136
132
|
]),
|
|
137
133
|
_: 1
|
|
138
134
|
}, 8, ["modelValue", "items"])
|
|
139
135
|
]),
|
|
140
|
-
m(
|
|
136
|
+
m(C, {
|
|
141
137
|
ref_key: "controller",
|
|
142
138
|
ref: u,
|
|
143
139
|
"column-defs": v,
|
|
144
140
|
"rows-defs": g,
|
|
145
|
-
paginate: (t,
|
|
141
|
+
paginate: (t, A) => o(R).read({ status: o(l), type: o(s), limit: t, cursor: A, search: o(r) }),
|
|
146
142
|
onRowClick: a[4] || (a[4] = (t) => {
|
|
147
143
|
o(h).push({
|
|
148
144
|
name: "mf-payment-admin.onboard-submission-form",
|
|
@@ -159,5 +155,5 @@ const Y = { class: "flex items-start mb-6" }, L = /* @__PURE__ */ x({
|
|
|
159
155
|
}
|
|
160
156
|
});
|
|
161
157
|
export {
|
|
162
|
-
|
|
158
|
+
X as default
|
|
163
159
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as P, ref as v, reactive as aA, computed as N, watch as AA, resolveComponent as G, openBlock as n, createElementBlock as X, Fragment as tA, unref as a, createVNode as i, createBlock as d, createCommentVNode as j, withCtx as Q, createElementVNode as B, toDisplayString as p, normalizeClass as L, h as z, onMounted as sA } from "vue";
|
|
2
2
|
import { defineStore as oA, storeToRefs as gA } from "pinia";
|
|
3
|
-
import { p as k } from "./index-
|
|
4
|
-
import { p as W, u as rA, e as lA } from "./index-
|
|
3
|
+
import { p as k } from "./index-k8hRO-Tp.js";
|
|
4
|
+
import { p as W, u as rA, e as lA } from "./index-Bnlv9uae.js";
|
|
5
5
|
import { useI18n as S, useCoreStore as eA } from "@feedmepos/mf-common";
|
|
6
|
-
import { c as nA, a as _, P as R } from "./payout-account-
|
|
6
|
+
import { c as nA, a as _, P as R } from "./payout-account-ae78i0IG.js";
|
|
7
7
|
import { useDialogChild as cA, useDialog as BA } from "@feedmepos/ui-library";
|
|
8
8
|
import { z as F, a as H } from "./validator-CTlVogBQ.js";
|
|
9
|
-
import { _ as T, P as $ } from "./DocumentViewer.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { h as uA, A as wA, o as iA, q as DA } from "./app-
|
|
9
|
+
import { _ as T, P as $ } from "./DocumentViewer.vue_vue_type_script_setup_true_lang-ZTBItxH4.js";
|
|
10
|
+
import { h as uA, A as wA, o as iA, q as DA } from "./app-D3wofEOS.js";
|
|
11
11
|
import { _ as dA } from "./Layout.vue_vue_type_script_setup_true_lang-BKIvkgA_.js";
|
|
12
12
|
function mA() {
|
|
13
13
|
return {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as x, resolveComponent as u, openBlock as f, createElementBlock as R, createVNode as n, normalizeClass as B, withCtx as y, createElementVNode as A, toDisplayString as E, createCommentVNode as K, createBlock as h, ref as C, computed as V, watch as D, unref as r, isRef as w, h as N } from "vue";
|
|
2
2
|
import { h as z } from "./moment-h96o7c8I.js";
|
|
3
|
-
import { u as L } from "./index-
|
|
4
|
-
import { p as P } from "./index-
|
|
3
|
+
import { u as L } from "./index-BqgiQOtT.js";
|
|
4
|
+
import { p as P } from "./index-Bnlv9uae.js";
|
|
5
5
|
import { _ as M } from "./AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js";
|
|
6
|
-
import { P as O } from "./payout-account-
|
|
7
|
-
import { p as T } from "./index-
|
|
6
|
+
import { P as O } from "./payout-account-ae78i0IG.js";
|
|
7
|
+
import { p as T } from "./index-k8hRO-Tp.js";
|
|
8
8
|
import { useSnackbar as W } from "@feedmepos/ui-library";
|
|
9
|
-
import { _ as j } from "./index.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as j } from "./index.vue_vue_type_script_setup_true_lang-B6UiGJ2f.js";
|
|
10
10
|
import { useRouter as H } from "vue-router";
|
|
11
11
|
import { _ as J } from "./SelectAll.vue_vue_type_script_setup_true_lang-BNZTqdoF.js";
|
|
12
|
-
import { _ as Q } from "./AdminBusinessSelector.vue_vue_type_script_setup_true_lang-
|
|
13
|
-
import { _ as X } from "./AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { _ as Q } from "./AdminBusinessSelector.vue_vue_type_script_setup_true_lang-CJRHud1Y.js";
|
|
13
|
+
import { _ as X } from "./AdminRestaurantSelector.vue_vue_type_script_setup_true_lang-kDEZmxJj.js";
|
|
14
14
|
import { z as U, a as $ } from "./validator-CTlVogBQ.js";
|
|
15
15
|
import { u as Z } from "./error-K1CakhA9.js";
|
|
16
16
|
import { useCoreStore as ee } from "@feedmepos/mf-common";
|
|
17
17
|
const ae = { class: "flex flex-col gap-1" }, te = {
|
|
18
18
|
key: 0,
|
|
19
19
|
class: "text-xs text-red-500"
|
|
20
|
-
}, oe = /* @__PURE__ */
|
|
20
|
+
}, oe = /* @__PURE__ */ x({
|
|
21
21
|
__name: "Status",
|
|
22
22
|
props: {
|
|
23
23
|
row: {},
|
|
@@ -31,7 +31,7 @@ const ae = { class: "flex flex-col gap-1" }, te = {
|
|
|
31
31
|
return (i, _) => {
|
|
32
32
|
const t = u("FmBadge");
|
|
33
33
|
return f(), R("div", ae, [
|
|
34
|
-
|
|
34
|
+
n(t, {
|
|
35
35
|
inline: "",
|
|
36
36
|
class: B(l())
|
|
37
37
|
}, {
|
|
@@ -44,7 +44,7 @@ const ae = { class: "flex flex-col gap-1" }, te = {
|
|
|
44
44
|
]);
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
}), se = /* @__PURE__ */
|
|
47
|
+
}), se = /* @__PURE__ */ x({
|
|
48
48
|
__name: "Bank",
|
|
49
49
|
props: {
|
|
50
50
|
row: {},
|
|
@@ -63,7 +63,7 @@ const ae = { class: "flex flex-col gap-1" }, te = {
|
|
|
63
63
|
tag: "label"
|
|
64
64
|
}, {
|
|
65
65
|
append: y(() => [
|
|
66
|
-
|
|
66
|
+
n(_, {
|
|
67
67
|
inline: "",
|
|
68
68
|
class: B(s(o.row.original.bankReady))
|
|
69
69
|
}, null, 8, ["class"])
|
|
@@ -72,7 +72,7 @@ const ae = { class: "flex flex-col gap-1" }, te = {
|
|
|
72
72
|
}, 8, ["label", "sublabel"]);
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
|
-
}), le = /* @__PURE__ */
|
|
75
|
+
}), le = /* @__PURE__ */ x({
|
|
76
76
|
__name: "PersonInCharge",
|
|
77
77
|
props: {
|
|
78
78
|
row: {},
|
|
@@ -91,7 +91,7 @@ const ae = { class: "flex flex-col gap-1" }, te = {
|
|
|
91
91
|
tag: "label"
|
|
92
92
|
}, {
|
|
93
93
|
append: y(() => [
|
|
94
|
-
|
|
94
|
+
n(_, {
|
|
95
95
|
inline: "",
|
|
96
96
|
class: B(s(o.row.original.picReady))
|
|
97
97
|
}, null, 8, ["class"])
|
|
@@ -100,7 +100,7 @@ const ae = { class: "flex flex-col gap-1" }, te = {
|
|
|
100
100
|
}, 8, ["label", "sublabel"]);
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
|
-
}),
|
|
103
|
+
}), re = /* @__PURE__ */ x({
|
|
104
104
|
__name: "DisplayName",
|
|
105
105
|
props: {
|
|
106
106
|
row: {}
|
|
@@ -108,7 +108,7 @@ const ae = { class: "flex flex-col gap-1" }, te = {
|
|
|
108
108
|
setup(o) {
|
|
109
109
|
return (s, l) => (f(), R("p", null, E(o.row.original.name) + " (" + E(o.row.original.regNo ?? "-") + ")", 1));
|
|
110
110
|
}
|
|
111
|
-
}),
|
|
111
|
+
}), ne = /* @__PURE__ */ x({
|
|
112
112
|
__name: "CreateDummyPayoutDialog",
|
|
113
113
|
emits: ["create"],
|
|
114
114
|
setup(o, { emit: s }) {
|
|
@@ -132,27 +132,27 @@ const ae = { class: "flex flex-col gap-1" }, te = {
|
|
|
132
132
|
};
|
|
133
133
|
};
|
|
134
134
|
return (I, c) => {
|
|
135
|
-
const g = u("FmButton"), p = u("FmSelect"), d = u("FmForm"),
|
|
136
|
-
return f(), h(
|
|
135
|
+
const g = u("FmButton"), p = u("FmSelect"), d = u("FmForm"), k = u("FmSideSheet");
|
|
136
|
+
return f(), h(k, {
|
|
137
137
|
modelValue: i.value,
|
|
138
138
|
"onUpdate:modelValue": c[3] || (c[3] = (b) => i.value = b),
|
|
139
139
|
header: "Create Payout Account",
|
|
140
140
|
"dismiss-away": ""
|
|
141
141
|
}, {
|
|
142
142
|
"side-sheet-button": y(() => [
|
|
143
|
-
|
|
143
|
+
n(g, {
|
|
144
144
|
variant: "primary",
|
|
145
145
|
label: "Create",
|
|
146
146
|
"prepend-icon": "add"
|
|
147
147
|
})
|
|
148
148
|
]),
|
|
149
149
|
default: y(() => [
|
|
150
|
-
|
|
150
|
+
n(d, {
|
|
151
151
|
class: "flex flex-col gap-16 px-4 py-6 mt-16",
|
|
152
152
|
onValidationSuccess: S
|
|
153
153
|
}, {
|
|
154
154
|
default: y(() => [
|
|
155
|
-
|
|
155
|
+
n(p, {
|
|
156
156
|
modelValue: t.value.type,
|
|
157
157
|
"onUpdate:modelValue": c[0] || (c[0] = (b) => t.value.type = b),
|
|
158
158
|
label: "Type",
|
|
@@ -167,7 +167,7 @@ const ae = { class: "flex flex-col gap-1" }, te = {
|
|
|
167
167
|
"label-mark": "required",
|
|
168
168
|
placeholder: "Select restaurant",
|
|
169
169
|
"search-placeholder": "Search restaurants",
|
|
170
|
-
rules:
|
|
170
|
+
rules: r(U)(r($).string().min(1, "Restaurant is required"))
|
|
171
171
|
}, null, 8, ["modelValue", "rules"])) : (f(), h(Q, {
|
|
172
172
|
key: 1,
|
|
173
173
|
modelValue: t.value.id,
|
|
@@ -176,9 +176,9 @@ const ae = { class: "flex flex-col gap-1" }, te = {
|
|
|
176
176
|
"label-mark": "required",
|
|
177
177
|
placeholder: "Select business",
|
|
178
178
|
"search-placeholder": "Search businesses",
|
|
179
|
-
rules:
|
|
179
|
+
rules: r(U)(r($).string().min(1, "Business is required"))
|
|
180
180
|
}, null, 8, ["modelValue", "rules"])),
|
|
181
|
-
|
|
181
|
+
n(g, {
|
|
182
182
|
type: "submit",
|
|
183
183
|
variant: "primary",
|
|
184
184
|
label: "Create",
|
|
@@ -195,7 +195,7 @@ const ae = { class: "flex flex-col gap-1" }, te = {
|
|
|
195
195
|
}), me = {
|
|
196
196
|
key: 0,
|
|
197
197
|
class: "flex justify-end mb-4"
|
|
198
|
-
}, ue = { class: "flex items-start mb-6" }, Ve = /* @__PURE__ */
|
|
198
|
+
}, ue = { class: "flex items-start mb-6" }, Ve = /* @__PURE__ */ x({
|
|
199
199
|
__name: "PayoutAccount",
|
|
200
200
|
setup(o) {
|
|
201
201
|
const s = V(() => O.storeEventOptions()), l = V(() => O.statusOptions()), i = C(), _ = H(), t = W(), { currentCountry: S } = ee(), I = V(() => S.value !== "MY");
|
|
@@ -223,9 +223,9 @@ const ae = { class: "flex flex-col gap-1" }, te = {
|
|
|
223
223
|
var e;
|
|
224
224
|
return (e = i.value) == null ? void 0 : e.reset();
|
|
225
225
|
});
|
|
226
|
-
let
|
|
226
|
+
let k;
|
|
227
227
|
D(d, async () => {
|
|
228
|
-
|
|
228
|
+
k && clearTimeout(k), k = setTimeout(() => {
|
|
229
229
|
var e;
|
|
230
230
|
return (e = i.value) == null ? void 0 : e.reset();
|
|
231
231
|
}, 700);
|
|
@@ -279,7 +279,7 @@ const ae = { class: "flex flex-col gap-1" }, te = {
|
|
|
279
279
|
{
|
|
280
280
|
header: () => "Name",
|
|
281
281
|
accessorKey: "name",
|
|
282
|
-
cell: ({ cell: e, row: a }) => N(
|
|
282
|
+
cell: ({ cell: e, row: a }) => N(re, { row: a })
|
|
283
283
|
},
|
|
284
284
|
{
|
|
285
285
|
header: () => "Status",
|
|
@@ -315,19 +315,19 @@ const ae = { class: "flex flex-col gap-1" }, te = {
|
|
|
315
315
|
}, {
|
|
316
316
|
default: y(() => [
|
|
317
317
|
I.value ? (f(), R("div", me, [
|
|
318
|
-
|
|
318
|
+
n(ne, { onCreate: c })
|
|
319
319
|
])) : K("", !0),
|
|
320
320
|
A("div", ue, [
|
|
321
|
-
|
|
322
|
-
modelValue:
|
|
321
|
+
n(v, {
|
|
322
|
+
modelValue: r(g),
|
|
323
323
|
"onUpdate:modelValue": a[0] || (a[0] = (m) => w(g) ? g.value = m : null),
|
|
324
324
|
class: "mr-6 w-[128px]",
|
|
325
325
|
label: "Type",
|
|
326
326
|
"label-mark": "required",
|
|
327
327
|
items: s.value
|
|
328
328
|
}, null, 8, ["modelValue", "items"]),
|
|
329
|
-
|
|
330
|
-
modelValue:
|
|
329
|
+
n(v, {
|
|
330
|
+
modelValue: r(p),
|
|
331
331
|
"onUpdate:modelValue": a[2] || (a[2] = (m) => w(p) ? p.value = m : null),
|
|
332
332
|
class: "mr-6 w-[300px]",
|
|
333
333
|
label: "Status",
|
|
@@ -336,23 +336,23 @@ const ae = { class: "flex flex-col gap-1" }, te = {
|
|
|
336
336
|
items: l.value
|
|
337
337
|
}, {
|
|
338
338
|
"prepend-menu": y(() => [
|
|
339
|
-
|
|
340
|
-
modelValue:
|
|
339
|
+
n(J, {
|
|
340
|
+
modelValue: r(p),
|
|
341
341
|
"onUpdate:modelValue": a[1] || (a[1] = (m) => w(p) ? p.value = m : null),
|
|
342
342
|
items: l.value
|
|
343
343
|
}, null, 8, ["modelValue", "items"])
|
|
344
344
|
]),
|
|
345
345
|
_: 1
|
|
346
346
|
}, 8, ["modelValue", "items"]),
|
|
347
|
-
|
|
347
|
+
n(Y, {
|
|
348
348
|
class: "w-[300px]",
|
|
349
|
-
modelValue:
|
|
349
|
+
modelValue: r(d),
|
|
350
350
|
"onUpdate:modelValue": a[4] || (a[4] = (m) => w(d) ? d.value = m : null),
|
|
351
351
|
label: "Search"
|
|
352
352
|
}, {
|
|
353
353
|
default: y(() => [
|
|
354
|
-
|
|
355
|
-
modelValue:
|
|
354
|
+
n(F, {
|
|
355
|
+
modelValue: r(d),
|
|
356
356
|
"onUpdate:modelValue": a[3] || (a[3] = (m) => w(d) ? d.value = m : null),
|
|
357
357
|
placeholder: "Search accounts ..."
|
|
358
358
|
}, null, 8, ["modelValue"])
|
|
@@ -360,13 +360,13 @@ const ae = { class: "flex flex-col gap-1" }, te = {
|
|
|
360
360
|
_: 1
|
|
361
361
|
}, 8, ["modelValue"])
|
|
362
362
|
]),
|
|
363
|
-
|
|
363
|
+
n(j, {
|
|
364
364
|
ref_key: "controller",
|
|
365
365
|
ref: i,
|
|
366
366
|
"column-defs": G,
|
|
367
367
|
"rows-defs": b,
|
|
368
|
-
paginate: (m, q) =>
|
|
369
|
-
onRowClick: a[5] || (a[5] = (m) =>
|
|
368
|
+
paginate: (m, q) => r(T).read({ event: r(g), status: r(p), searchKey: r(d), limit: m, cursor: q }),
|
|
369
|
+
onRowClick: a[5] || (a[5] = (m) => r(_).push({
|
|
370
370
|
name: "mf-payment-admin.payout-account-settings",
|
|
371
371
|
params: {
|
|
372
372
|
accountId: m._id
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as M, ref as U, resolveComponent as y, openBlock as g, createElementBlock as G, Fragment as K, createElementVNode as s, createVNode as o, withCtx as k, createTextVNode as _, toDisplayString as q, unref as i, createBlock as w, createCommentVNode as E, reactive as ye, watch as le, computed as L, isRef as ae, h as J, onMounted as me, resolveDynamicComponent as ue, normalizeProps as se, mergeProps as re } from "vue";
|
|
2
|
-
import { p as Y } from "./index-
|
|
3
|
-
import { u as ne, e as O } from "./index-
|
|
2
|
+
import { p as Y } from "./index-k8hRO-Tp.js";
|
|
3
|
+
import { u as ne, e as O } from "./index-Bnlv9uae.js";
|
|
4
4
|
import { _ as be } from "./Layout.vue_vue_type_script_setup_true_lang-BKIvkgA_.js";
|
|
5
5
|
import { useRouter as ve } from "vue-router";
|
|
6
|
-
import { u as oe } from "./index-
|
|
7
|
-
import { _ as Q, P as ee } from "./DocumentViewer.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { u as oe } from "./index-BqgiQOtT.js";
|
|
7
|
+
import { _ as Q, P as ee } from "./DocumentViewer.vue_vue_type_script_setup_true_lang-ZTBItxH4.js";
|
|
8
8
|
import { h as fe } from "./moment-h96o7c8I.js";
|
|
9
|
-
import { d as te } from "./index-
|
|
9
|
+
import { d as te } from "./index-zQrKAzs3.js";
|
|
10
10
|
import { useSnackbar as W, useDialogChild as ge, useDialog as de, components as Fe } from "@feedmepos/ui-library";
|
|
11
11
|
import { u as Z } from "./error-K1CakhA9.js";
|
|
12
|
-
import { P as xe } from "./payout-account-
|
|
12
|
+
import { P as xe } from "./payout-account-ae78i0IG.js";
|
|
13
13
|
import { s as X, o as ke, z as N, a as h } from "./validator-CTlVogBQ.js";
|
|
14
14
|
import { _ as we } from "./TextInputDialog.vue_vue_type_script_setup_true_lang-C3AeZqwO.js";
|
|
15
15
|
import { useCoreStore as pe } from "@feedmepos/mf-common";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as F, ref as y, resolveComponent as _, openBlock as x, createBlock as A, withCtx as $, createElementVNode as p, normalizeStyle as T, createElementBlock as R, Fragment as z, renderList as q, createVNode as v, computed as C, watch as I, onMounted as N, unref as h, toDisplayString as B, normalizeClass as W, isRef as E, h as P } from "vue";
|
|
2
|
-
import { u as O } from "./index-
|
|
2
|
+
import { u as O } from "./index-BqgiQOtT.js";
|
|
3
3
|
import { _ as j } from "./AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js";
|
|
4
4
|
import "@feedmepos/ui-library";
|
|
5
|
-
import { u as G } from "./index-
|
|
5
|
+
import { u as G } from "./index-Bnlv9uae.js";
|
|
6
6
|
import { _ as Q } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-DrBLdVka.js";
|
|
7
|
-
import { r as H } from "./index-
|
|
7
|
+
import { r as H } from "./index-COfZw5dL.js";
|
|
8
8
|
import { useRouter as J } from "vue-router";
|
|
9
|
-
import { g as X } from "./grafana-
|
|
9
|
+
import { g as X } from "./grafana-DG-OOrc6.js";
|
|
10
10
|
const Y = ["id"], L = /* @__PURE__ */ F({
|
|
11
11
|
__name: "FmTableSelection",
|
|
12
12
|
props: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as D, ref as w, resolveComponent as r, openBlock as g, createBlock as b, withCtx as S, createVNode as o, unref as n, createElementVNode as T, createCommentVNode as U, computed as O, onMounted as R, createElementBlock as N, Fragment as L, isRef as B, resolveDynamicComponent as $, mergeProps as Y, normalizeProps as H } from "vue";
|
|
2
|
-
import { g as q, b as M, u as K, e as I } from "./index-
|
|
2
|
+
import { g as q, b as M, u as K, e as I } from "./index-Bnlv9uae.js";
|
|
3
3
|
import { _ as z } from "./Layout.vue_vue_type_script_setup_true_lang-BKIvkgA_.js";
|
|
4
4
|
import { useRouter as Q } from "vue-router";
|
|
5
|
-
import { u as P } from "./index-
|
|
5
|
+
import { u as P } from "./index-BqgiQOtT.js";
|
|
6
6
|
import { z as y, a as f } from "./validator-CTlVogBQ.js";
|
|
7
7
|
import { useCoreStore as E } from "@feedmepos/mf-common";
|
|
8
8
|
import { u as Z } from "./error-K1CakhA9.js";
|
|
9
9
|
import { useSnackbar as J } from "@feedmepos/ui-library";
|
|
10
|
-
import { r as W } from "./index-
|
|
10
|
+
import { r as W } from "./index-COfZw5dL.js";
|
|
11
11
|
const C = {
|
|
12
12
|
async get(a) {
|
|
13
13
|
return q(
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as M, ref as h, computed as T, resolveComponent as d, openBlock as F, createBlock as V, h as E, watch as C, onMounted as L, unref as r, withCtx as g, createElementVNode as k, createVNode as i, isRef as R, createElementBlock as N, Fragment as O, renderList as P } from "vue";
|
|
2
|
-
import { u as A } from "./index-
|
|
2
|
+
import { u as A } from "./index-Bnlv9uae.js";
|
|
3
3
|
import { h as S } from "./moment-h96o7c8I.js";
|
|
4
|
-
import { s as _ } from "./index-
|
|
4
|
+
import { s as _ } from "./index-NX5RT8X0.js";
|
|
5
5
|
import { useSnackbar as U } from "@feedmepos/ui-library";
|
|
6
6
|
import { d as w } from "./dinero-CIVmXLL-.js";
|
|
7
7
|
import { _ as q } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-DrBLdVka.js";
|
|
8
8
|
import { useRouter as J } from "vue-router";
|
|
9
9
|
import { _ as j } from "./AdminLayout.vue_vue_type_script_setup_true_lang-0Mf1MhAL.js";
|
|
10
|
-
import { u as z } from "./index-
|
|
10
|
+
import { u as z } from "./index-BqgiQOtT.js";
|
|
11
11
|
import { u as G } from "./error-K1CakhA9.js";
|
|
12
12
|
import { _ as Q } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-CDjdQf-E.js";
|
|
13
13
|
const H = /* @__PURE__ */ M({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as x, resolveComponent as k, openBlock as R, createBlock as N, ref as A, computed as j, createElementBlock as B, Fragment as G, unref as e, withDirectives as Q, vShow as W, createCommentVNode as E, createVNode as p, h as L, watch as D, createElementVNode as i, withCtx as S, toDisplayString as _, createTextVNode as T, onMounted as z, renderList as X, isRef as U } from "vue";
|
|
2
|
-
import { u as q } from "./index-
|
|
2
|
+
import { u as q } from "./index-Bnlv9uae.js";
|
|
3
3
|
import { h as Y } from "./moment-h96o7c8I.js";
|
|
4
4
|
import { useCoreStore as H, useI18n as M } from "@feedmepos/mf-common";
|
|
5
5
|
import { _ as Z } from "./Layout.vue_vue_type_script_setup_true_lang-BKIvkgA_.js";
|
|
6
|
-
import { s as P } from "./index-
|
|
6
|
+
import { s as P } from "./index-NX5RT8X0.js";
|
|
7
7
|
import { useDialog as ee } from "@feedmepos/ui-library";
|
|
8
8
|
import { d as h } from "./dinero-CIVmXLL-.js";
|
|
9
9
|
import { _ as J } from "./AutoCopyCell.vue_vue_type_script_setup_true_lang-DrBLdVka.js";
|
|
10
10
|
import { useRouter as te } from "vue-router";
|
|
11
|
-
import { u as ae } from "./index-
|
|
11
|
+
import { u as ae } from "./index-BqgiQOtT.js";
|
|
12
12
|
import { _ as ne } from "./AsyncButton.vue_vue_type_script_setup_true_lang-DcjzvYwT.js";
|
|
13
13
|
import { _ as oe } from "./DateRangePicker.vue_vue_type_script_setup_true_lang-CDjdQf-E.js";
|
|
14
|
-
import { p as le } from "./index-
|
|
14
|
+
import { p as le } from "./index-k8hRO-Tp.js";
|
|
15
15
|
const se = /* @__PURE__ */ x({
|
|
16
16
|
__name: "InvoiceStatus",
|
|
17
17
|
props: {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { defineComponent as $, resolveComponent as f, openBlock as C, createBlock as K, withCtx as i, createElementVNode as n, unref as a, ref as h, onMounted as R, watch as L, createVNode as o, toDisplayString as l, createTextVNode as d, h as k } from "vue";
|
|
2
|
-
import { u as G } from "./index-
|
|
2
|
+
import { u as G } from "./index-Bnlv9uae.js";
|
|
3
3
|
import "@feedmepos/ui-library";
|
|
4
4
|
import { d as I } from "./dinero-CIVmXLL-.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { _ as H, t as P } from "./TransactionStatus.vue_vue_type_script_setup_true_lang-B8mW53hn.js";
|
|
6
|
+
import { g as U, a as q } from "./assets-_mNJ5BSj.js";
|
|
7
|
+
import { t as J } from "./index-BkLu8qJc.js";
|
|
7
8
|
import { _ as Q } from "./Layout.vue_vue_type_script_setup_true_lang-BKIvkgA_.js";
|
|
8
9
|
import { useRouter as W } from "vue-router";
|
|
9
|
-
import { s as X } from "./index-
|
|
10
|
+
import { s as X } from "./index-NX5RT8X0.js";
|
|
10
11
|
import { useI18n as Z, useCoreStore as ee } from "@feedmepos/mf-common";
|
|
11
12
|
import { h as te } from "./moment-h96o7c8I.js";
|
|
12
13
|
const ae = ["src"], ne = /* @__PURE__ */ $({
|
|
@@ -27,7 +28,7 @@ const ae = ["src"], ne = /* @__PURE__ */ $({
|
|
|
27
28
|
default: i(() => [
|
|
28
29
|
n("img", {
|
|
29
30
|
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
|
30
|
-
src: a(
|
|
31
|
+
src: a(U)(u.row.original.gateway)
|
|
31
32
|
}, null, 8, ae)
|
|
32
33
|
]),
|
|
33
34
|
_: 1
|
|
@@ -52,14 +53,14 @@ const ae = ["src"], ne = /* @__PURE__ */ $({
|
|
|
52
53
|
default: i(() => [
|
|
53
54
|
n("img", {
|
|
54
55
|
class: "rounded-md m-auto border-transparent w-[32px] h-[32px]",
|
|
55
|
-
src: a(
|
|
56
|
+
src: a(q)(u.row.original.method.issuer, u.row.original.method.variant)
|
|
56
57
|
}, null, 8, le)
|
|
57
58
|
]),
|
|
58
59
|
_: 1
|
|
59
60
|
}, 8, ["content"]);
|
|
60
61
|
};
|
|
61
62
|
}
|
|
62
|
-
}), se = { class: "flex mb-6" }, re = { class: "my-6 w-[240px]" },
|
|
63
|
+
}), se = { class: "flex mb-6" }, re = { class: "my-6 w-[240px]" }, be = /* @__PURE__ */ $({
|
|
63
64
|
__name: "SettlementTransactions",
|
|
64
65
|
props: {
|
|
65
66
|
settlementId: {
|
|
@@ -77,7 +78,7 @@ const ae = ["src"], ne = /* @__PURE__ */ $({
|
|
|
77
78
|
const e = await J.readBusinessTransactionsBySettlementId(
|
|
78
79
|
b.settlementId
|
|
79
80
|
);
|
|
80
|
-
x.value =
|
|
81
|
+
x.value = P(e), w.value = x.value;
|
|
81
82
|
});
|
|
82
83
|
}
|
|
83
84
|
function N() {
|
|
@@ -129,7 +130,7 @@ const ae = ["src"], ne = /* @__PURE__ */ $({
|
|
|
129
130
|
{
|
|
130
131
|
header: () => t("payment.settlements.dialog.feedme.status"),
|
|
131
132
|
accessorKey: "status",
|
|
132
|
-
cell: ({ cell: s }) => k(
|
|
133
|
+
cell: ({ cell: s }) => k(H, { data: s.getValue() })
|
|
133
134
|
},
|
|
134
135
|
{
|
|
135
136
|
header: () => t("payment.settlements.dialog.feedme.transaction_at"),
|
|
@@ -300,5 +301,5 @@ const ae = ["src"], ne = /* @__PURE__ */ $({
|
|
|
300
301
|
}
|
|
301
302
|
});
|
|
302
303
|
export {
|
|
303
|
-
|
|
304
|
+
be as default
|
|
304
305
|
};
|