@feedmepos/mf-payment 1.5.13-dev → 1.5.15-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-BmOIDlHF.js → Actions.vue_vue_type_script_setup_true_lang-CLkp8JcO.js} +2 -2
- package/dist/{Chargeback-BwFrnuVw.js → Chargeback-R8rLkSPi.js} +5 -5
- package/dist/{DocumentViewer.vue_vue_type_script_setup_true_lang-VCdsMJXV.js → DocumentViewer.vue_vue_type_script_setup_true_lang-CnU1zi3r.js} +1 -1
- package/dist/{OnboardForm-DKVqamGW.js → OnboardForm-CNaKWFQX.js} +5 -5
- package/dist/{OnboardForm-BLWtYFzE.js → OnboardForm-DCRxmpgD.js} +518 -421
- package/dist/{OnboardSubmission-B1p_ss6c.js → OnboardSubmission-BUoveq0K.js} +5 -5
- package/dist/{OnboardSubmission-CsFQc3w-.js → OnboardSubmission-DhXtYG1S.js} +2 -2
- package/dist/{PayoutAccount-gCpEoJg-.js → PayoutAccount-C-quZLpf.js} +4 -4
- package/dist/{PayoutAccount-OK6gKchk.js → PayoutAccount-D8gaqc9Q.js} +5 -5
- package/dist/{PayoutAccountSetting-BoIhsg96.js → PayoutAccountSetting-Ec4vewxl.js} +4 -4
- package/dist/{Restaurant-tXUEtR_q.js → Restaurant-Ddhkd-G2.js} +4 -4
- package/dist/{RestaurantSetting-CgHsz4H3.js → RestaurantSetting-DuDZwZQg.js} +3 -3
- package/dist/{Settlement-c0bY9_gD.js → Settlement-Bw6ZMA1W.js} +3 -3
- package/dist/{Settlement-DOvppZAi.js → Settlement-DvPatpnE.js} +3 -3
- package/dist/{SettlementTransactions-bF7EFZ2j.js → SettlementTransactions-BK91LbDg.js} +4 -4
- package/dist/{SettlementTransactions-BouvzPU4.js → SettlementTransactions-UkVWc4IL.js} +4 -4
- package/dist/{Status.vue_vue_type_script_setup_true_lang-CvA16aFf.js → Status.vue_vue_type_script_setup_true_lang-D13rXkSg.js} +1 -1
- package/dist/{Terminal-CNqJtWgk.js → Terminal-BuAbeq_u.js} +5 -5
- package/dist/{TerminalSetting-CxbuTkH6.js → TerminalSetting-DtkRiJ-N.js} +3 -3
- package/dist/{Transaction-DsG8LE6e.js → Transaction-CGkWGf8H.js} +6 -6
- package/dist/{Transaction-BqSxZ7lr.js → Transaction-CbLXwJ6U.js} +9 -9
- package/dist/{TransactionOld-CJe-29ZZ.js → TransactionOld-B4axindL.js} +6 -6
- package/dist/{app-BJwn-7ZL.js → app-DtktuAyo.js} +23 -23
- package/dist/app.js +1 -1
- package/dist/{assets-BQ2aldLR.js → assets-ChQw3_h_.js} +1 -1
- package/dist/{grafana-BUZudDE4.js → grafana-ZadS2TAl.js} +1 -1
- package/dist/{index-oL7n2plf.js → index-BBDlHcZ5.js} +1 -1
- package/dist/{index-a1n8cWO_.js → index-BVqqyhEi.js} +1 -1
- package/dist/{index-p6MzFJyt.js → index-BXRGlmD3.js} +1 -1
- package/dist/{index-BXr5_TWx.js → index-BxzMGmCQ.js} +2 -2
- package/dist/{index-7Tof5vdq.js → index-Cr0VbxyI.js} +4667 -4659
- package/dist/{index-DxBjQBeA.js → index-DJumZDHb.js} +1 -1
- package/dist/{index-CxOPkwlX.js → index-DLZeFbnj.js} +1 -1
- package/dist/{index-y2BEVclv.js → index-Danmh2r0.js} +1 -1
- package/dist/{index-DltFdclg.js → index-sGfw2TZV.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-Bl3q7hOw.js → index.vue_vue_type_script_setup_true_lang-DY9xkB-6.js} +1 -1
- package/dist/package.json +2 -2
- package/dist/{payout-account-5-Wctd6v.js → payout-account-5IQ3sdbp.js} +3 -3
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/onboard-submission/forms/NTTSubmission.vue.d.ts +20 -20
- package/dist/views/admin/onboard-submission/forms/SoftspaceSubmission.vue.d.ts +20 -20
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/EcrGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/QrGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/SoftposGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/ecr/Ghl2Gateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/ecr/Ghl3Gateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/ecr/GhlGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/ecr/GlobalPaymentsGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/ecr/HlbbGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/ecr/KBankGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/ecr/Maybank2Gateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/ecr/Maybank3Gateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/ecr/MaybankGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/ecr/NetsGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/ecr/TerminalGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/qr/PromptPayGateway.vue.d.ts +14 -14
- package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +14 -14
- package/package.json +2 -2
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { o as
|
|
3
|
-
import { u as
|
|
4
|
-
import { useRouter as
|
|
1
|
+
import { defineComponent as G, ref as E, computed as Q, resolveComponent as q, openBlock as f, createElementBlock as O, createElementVNode as n, toDisplayString as x, createBlock as j, withCtx as v, createCommentVNode as $, createVNode as o, unref as e, Fragment as K, createTextVNode as L, renderList as te, onMounted as se, resolveDynamicComponent as ne } from "vue";
|
|
2
|
+
import { o as z } from "./index-BxzMGmCQ.js";
|
|
3
|
+
import { u as Z, p as oe } from "./index-Cr0VbxyI.js";
|
|
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
|
|
7
|
-
import { _
|
|
8
|
-
import { s as
|
|
9
|
-
import { _ as
|
|
10
|
-
import { useSnackbar as
|
|
11
|
-
import { u as
|
|
12
|
-
const
|
|
6
|
+
import { P as ie } from "./payout-account-5IQ3sdbp.js";
|
|
7
|
+
import { _ } from "./DocumentViewer.vue_vue_type_script_setup_true_lang-CnU1zi3r.js";
|
|
8
|
+
import { s as ue } from "./vue-signature-pad.esm-IXPjf4fL.js";
|
|
9
|
+
import { _ as ee } from "./Status.vue_vue_type_script_setup_true_lang-D13rXkSg.js";
|
|
10
|
+
import { useSnackbar as h } from "@feedmepos/ui-library";
|
|
11
|
+
import { u as H } from "./error-K1CakhA9.js";
|
|
12
|
+
const de = ["src"], w = /* @__PURE__ */ G({
|
|
13
13
|
__name: "UploadButton",
|
|
14
14
|
props: {
|
|
15
15
|
modelValue: {},
|
|
@@ -18,53 +18,53 @@ const se = ["src"], P = /* @__PURE__ */ M({
|
|
|
18
18
|
restaurantId: {}
|
|
19
19
|
},
|
|
20
20
|
emits: ["update:modelValue"],
|
|
21
|
-
setup(p, { emit:
|
|
22
|
-
const
|
|
21
|
+
setup(p, { emit: A }) {
|
|
22
|
+
const S = p, P = E(S.modelValue), k = A, F = (s) => {
|
|
23
23
|
const i = new FileReader();
|
|
24
|
-
i.onload = (
|
|
24
|
+
i.onload = (U) => {
|
|
25
25
|
var b;
|
|
26
|
-
|
|
26
|
+
P.value = (b = U.target) == null ? void 0 : b.result, k("update:modelValue", s);
|
|
27
27
|
}, i.readAsDataURL(s);
|
|
28
|
-
},
|
|
28
|
+
}, c = (s) => {
|
|
29
29
|
window.open(s, "_blank", "noopener,noreferrer");
|
|
30
|
-
},
|
|
30
|
+
}, I = Q(() => S.type === "image" ? ".png, .jpg, .jpeg" : ".pdf");
|
|
31
31
|
return (s, i) => {
|
|
32
|
-
const
|
|
33
|
-
return
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
const U = q("FmButton"), b = q("FmDropField");
|
|
33
|
+
return f(), O("div", null, [
|
|
34
|
+
n("p", null, x(p.label), 1),
|
|
35
|
+
P.value ? (f(), j(_, {
|
|
36
36
|
key: 0,
|
|
37
|
-
document:
|
|
37
|
+
document: P.value,
|
|
38
38
|
"restaurant-id": p.restaurantId
|
|
39
39
|
}, {
|
|
40
|
-
default: v(({ src:
|
|
41
|
-
p.type === "image" ? (
|
|
40
|
+
default: v(({ src: C }) => [
|
|
41
|
+
p.type === "image" ? (f(), O("img", {
|
|
42
42
|
key: 0,
|
|
43
|
-
src:
|
|
44
|
-
}, null, 8,
|
|
45
|
-
p.type === "pdf" ? (
|
|
43
|
+
src: C
|
|
44
|
+
}, null, 8, de)) : $("", !0),
|
|
45
|
+
p.type === "pdf" ? (f(), j(U, {
|
|
46
46
|
key: 1,
|
|
47
47
|
class: "mt-4 w-full",
|
|
48
48
|
"prepend-icon": "manage_accounts",
|
|
49
49
|
label: "View Document",
|
|
50
50
|
variant: "primary",
|
|
51
|
-
onVnodeMounted: () =>
|
|
52
|
-
onClick: () =>
|
|
53
|
-
}, null, 8, ["onVnodeMounted", "onClick"])) :
|
|
51
|
+
onVnodeMounted: () => c(C),
|
|
52
|
+
onClick: () => c(C)
|
|
53
|
+
}, null, 8, ["onVnodeMounted", "onClick"])) : $("", !0)
|
|
54
54
|
]),
|
|
55
55
|
_: 1
|
|
56
|
-
}, 8, ["document", "restaurant-id"])) : (
|
|
56
|
+
}, 8, ["document", "restaurant-id"])) : (f(), j(b, {
|
|
57
57
|
key: 1,
|
|
58
|
-
accept:
|
|
59
|
-
onFileUpload:
|
|
58
|
+
accept: I.value,
|
|
59
|
+
onFileUpload: F
|
|
60
60
|
}, null, 8, ["accept"]))
|
|
61
61
|
]);
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
|
-
}),
|
|
64
|
+
}), me = ["src"], pe = {
|
|
65
65
|
key: 0,
|
|
66
66
|
class: "text-center text-red-700 py-4"
|
|
67
|
-
},
|
|
67
|
+
}, be = { class: "flex justify-evenly py-3" }, ce = /* @__PURE__ */ G({
|
|
68
68
|
__name: "SignatureBoard",
|
|
69
69
|
props: {
|
|
70
70
|
modelValue: {},
|
|
@@ -72,73 +72,73 @@ const se = ["src"], P = /* @__PURE__ */ M({
|
|
|
72
72
|
restaurantId: {}
|
|
73
73
|
},
|
|
74
74
|
emits: ["update:modelValue"],
|
|
75
|
-
setup(p, { emit:
|
|
76
|
-
const
|
|
77
|
-
function s(
|
|
78
|
-
var
|
|
79
|
-
const
|
|
80
|
-
let m =
|
|
81
|
-
const
|
|
75
|
+
setup(p, { emit: A }) {
|
|
76
|
+
const S = p, P = A, k = E(S.modelValue), F = E(!1), c = E(), I = E(!1);
|
|
77
|
+
function s(U, b) {
|
|
78
|
+
var T;
|
|
79
|
+
const C = U.split(","), D = ((T = C[0].match(/:(.*?);/)) == null ? void 0 : T[1]) || "", N = atob(C[1]);
|
|
80
|
+
let m = N.length;
|
|
81
|
+
const B = new Uint8Array(m);
|
|
82
82
|
for (; m--; )
|
|
83
|
-
|
|
84
|
-
return new File([
|
|
83
|
+
B[m] = N.charCodeAt(m);
|
|
84
|
+
return new File([B], b, { type: D });
|
|
85
85
|
}
|
|
86
86
|
const i = function() {
|
|
87
|
-
const { isEmpty:
|
|
88
|
-
if (
|
|
89
|
-
return
|
|
90
|
-
|
|
87
|
+
const { isEmpty: U, data: b } = c.value.saveSignature();
|
|
88
|
+
if (U)
|
|
89
|
+
return F.value = !0;
|
|
90
|
+
k.value = b, I.value = !1, P("update:modelValue", s(b, "signature.png"));
|
|
91
91
|
};
|
|
92
|
-
return (
|
|
93
|
-
const
|
|
94
|
-
return
|
|
95
|
-
|
|
96
|
-
|
|
92
|
+
return (U, b) => {
|
|
93
|
+
const C = q("FmButton"), D = q("FmDialog");
|
|
94
|
+
return f(), O("div", null, [
|
|
95
|
+
n("p", null, x(p.label), 1),
|
|
96
|
+
k.value ? (f(), j(_, {
|
|
97
97
|
key: 0,
|
|
98
|
-
document:
|
|
98
|
+
document: k.value,
|
|
99
99
|
"restaurant-id": p.restaurantId
|
|
100
100
|
}, {
|
|
101
|
-
default: v(({ src:
|
|
102
|
-
|
|
103
|
-
src:
|
|
101
|
+
default: v(({ src: N }) => [
|
|
102
|
+
n("img", {
|
|
103
|
+
src: N,
|
|
104
104
|
alt: "Signature Preview",
|
|
105
105
|
class: "w-full h-auto"
|
|
106
|
-
}, null, 8,
|
|
106
|
+
}, null, 8, me)
|
|
107
107
|
]),
|
|
108
108
|
_: 1
|
|
109
|
-
}, 8, ["document", "restaurant-id"])) :
|
|
110
|
-
|
|
109
|
+
}, 8, ["document", "restaurant-id"])) : $("", !0),
|
|
110
|
+
k.value ? $("", !0) : (f(), j(D, {
|
|
111
111
|
key: 1,
|
|
112
|
-
modelValue:
|
|
113
|
-
"onUpdate:modelValue": b[1] || (b[1] = (
|
|
112
|
+
modelValue: I.value,
|
|
113
|
+
"onUpdate:modelValue": b[1] || (b[1] = (N) => I.value = N)
|
|
114
114
|
}, {
|
|
115
115
|
"dialog-button": v(() => [
|
|
116
|
-
|
|
116
|
+
o(C, {
|
|
117
117
|
"prepend-icon": "signature",
|
|
118
118
|
class: "w-full",
|
|
119
119
|
label: "Signature"
|
|
120
120
|
})
|
|
121
121
|
]),
|
|
122
122
|
"dialog-header": v(() => [...b[2] || (b[2] = [
|
|
123
|
-
|
|
123
|
+
n("div", null, "Signature Board", -1)
|
|
124
124
|
])]),
|
|
125
125
|
default: v(() => [
|
|
126
|
-
|
|
126
|
+
o(e(ue), {
|
|
127
127
|
ref_key: "signaturePad",
|
|
128
|
-
ref:
|
|
128
|
+
ref: c,
|
|
129
129
|
height: "300px",
|
|
130
130
|
customStyle: { border: "2px solid #ccc", borderRadius: "3px" },
|
|
131
131
|
options: { penColor: "#000000" }
|
|
132
132
|
}, null, 512),
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
133
|
+
F.value ? (f(), O("p", pe, " Please sign your signature before saving. ")) : $("", !0),
|
|
134
|
+
n("div", be, [
|
|
135
|
+
o(C, {
|
|
136
136
|
variant: "destructive",
|
|
137
137
|
label: "Clear",
|
|
138
138
|
"prepend-icon": "delete",
|
|
139
|
-
onClick: b[0] || (b[0] = (
|
|
139
|
+
onClick: b[0] || (b[0] = (N) => c.value.clearSignature())
|
|
140
140
|
}),
|
|
141
|
-
|
|
141
|
+
o(C, {
|
|
142
142
|
label: "Save",
|
|
143
143
|
"prepend-icon": "save",
|
|
144
144
|
onClick: i
|
|
@@ -150,7 +150,7 @@ const se = ["src"], P = /* @__PURE__ */ M({
|
|
|
150
150
|
]);
|
|
151
151
|
};
|
|
152
152
|
}
|
|
153
|
-
}),
|
|
153
|
+
}), ye = { class: "space-y-2" }, ge = { class: "text-gray-900" }, Ve = { class: "text-gray-900" }, ve = { class: "text-gray-900" }, fe = { class: "text-gray-900" }, ke = { class: "text-gray-900" }, Ce = { class: "text-gray-900" }, Ne = { class: "mt-6 grid grid-cols-4 gap-24" }, Se = { class: "w-full flex justify-end mt-6" }, Pe = { class: "mt-6 grid grid-cols-4 gap-24" }, qe = { class: "col-span-2" }, we = { class: "col-span-2" }, Fe = { class: "col-span-2" }, Ie = { class: "col-span-2" }, Ue = { class: "col-span-2" }, Re = { class: "col-span-2" }, xe = { class: "col-start-1 col-span-2" }, Be = { class: "col-span-2" }, Ee = { class: "col-span-2" }, Te = { class: "col-span-2" }, je = { class: "mt-6 grid grid-cols-4 gap-24" }, De = { class: "mt-6 grid grid-cols-2 gap-24" }, $e = /* @__PURE__ */ G({
|
|
154
154
|
__name: "SoftspaceSubmission",
|
|
155
155
|
props: {
|
|
156
156
|
submission: {
|
|
@@ -159,10 +159,10 @@ const se = ["src"], P = /* @__PURE__ */ M({
|
|
|
159
159
|
}
|
|
160
160
|
},
|
|
161
161
|
emits: ["update:submission"],
|
|
162
|
-
setup(p, { emit:
|
|
163
|
-
const
|
|
164
|
-
|
|
165
|
-
Object.entries(
|
|
162
|
+
setup(p, { emit: A }) {
|
|
163
|
+
const S = p, P = A, k = h(), F = E(!1), { isLoading: c, startAsyncCall: I } = Z(), { fields: s, documents: i, restaurantId: U, profile: b, status: C, statusReason: D } = S.submission, N = E(""), m = E(
|
|
164
|
+
S.submission.rates ? Object.fromEntries(
|
|
165
|
+
Object.entries(S.submission.rates).map(([R, l]) => [R, `${l}`])
|
|
166
166
|
) : {
|
|
167
167
|
duitNow: "0.8",
|
|
168
168
|
mydebitCard: "0.5",
|
|
@@ -172,12 +172,12 @@ const se = ["src"], P = /* @__PURE__ */ M({
|
|
|
172
172
|
jcbStandard: "2.2",
|
|
173
173
|
jcbPlatinum: "2.2"
|
|
174
174
|
}
|
|
175
|
-
),
|
|
176
|
-
() => Object.values(m.value).every((
|
|
177
|
-
),
|
|
175
|
+
), B = Q(
|
|
176
|
+
() => Object.values(m.value).every((R) => parseFloat(R) > 0)
|
|
177
|
+
), T = () => I(async () => {
|
|
178
178
|
try {
|
|
179
|
-
const
|
|
180
|
-
|
|
179
|
+
const R = await z.reviewById(
|
|
180
|
+
S.submission._id,
|
|
181
181
|
{
|
|
182
182
|
rates: {
|
|
183
183
|
duitNow: parseFloat(m.value.duitNow),
|
|
@@ -191,265 +191,265 @@ const se = ["src"], P = /* @__PURE__ */ M({
|
|
|
191
191
|
status: "approved"
|
|
192
192
|
}
|
|
193
193
|
);
|
|
194
|
-
|
|
194
|
+
P("update:submission", R), F.value = !1, k.open({
|
|
195
195
|
type: "success",
|
|
196
196
|
title: "Submission updated successfully"
|
|
197
197
|
});
|
|
198
|
-
} catch (
|
|
199
|
-
|
|
198
|
+
} catch (R) {
|
|
199
|
+
k.open({
|
|
200
200
|
type: "error",
|
|
201
201
|
title: "Error occurs when updating submission",
|
|
202
|
-
message:
|
|
202
|
+
message: H(R)
|
|
203
203
|
});
|
|
204
204
|
}
|
|
205
|
-
}),
|
|
205
|
+
}), Y = () => I(async () => {
|
|
206
206
|
try {
|
|
207
|
-
const
|
|
208
|
-
|
|
207
|
+
const R = await z.reviewById(
|
|
208
|
+
S.submission._id,
|
|
209
209
|
{
|
|
210
210
|
status: "rejected",
|
|
211
|
-
statusReason:
|
|
211
|
+
statusReason: N.value
|
|
212
212
|
}
|
|
213
213
|
);
|
|
214
|
-
|
|
214
|
+
P("update:submission", R), F.value = !1, k.open({
|
|
215
215
|
type: "success",
|
|
216
216
|
title: "Submission updated successfully"
|
|
217
217
|
});
|
|
218
|
-
} catch (
|
|
219
|
-
|
|
218
|
+
} catch (R) {
|
|
219
|
+
k.open({
|
|
220
220
|
type: "error",
|
|
221
221
|
title: "Error occurs when updating submission",
|
|
222
|
-
message:
|
|
222
|
+
message: H(R)
|
|
223
223
|
});
|
|
224
224
|
}
|
|
225
225
|
});
|
|
226
|
-
return (
|
|
227
|
-
const
|
|
228
|
-
return
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
l[33] || (l[33] =
|
|
232
|
-
|
|
226
|
+
return (R, l) => {
|
|
227
|
+
const y = q("FmTextField"), W = q("FmButton"), V = q("FmTextarea"), a = q("FmDialog"), g = q("FmPhoneNumber"), M = q("FmSelect"), X = q("FmForm");
|
|
228
|
+
return f(), O(K, null, [
|
|
229
|
+
n("div", ye, [
|
|
230
|
+
n("div", null, [
|
|
231
|
+
l[33] || (l[33] = n("span", { class: "w-40 font-medium text-gray-600" }, "Restaurant: ", -1)),
|
|
232
|
+
n("span", ge, x(e(U)), 1)
|
|
233
233
|
]),
|
|
234
|
-
|
|
235
|
-
l[34] || (l[34] =
|
|
236
|
-
|
|
234
|
+
n("div", null, [
|
|
235
|
+
l[34] || (l[34] = n("span", { class: "w-40 font-medium text-gray-600" }, "Profile: ", -1)),
|
|
236
|
+
n("span", Ve, x(e(b).name) + " ( " + x(e(b).legalName) + " )", 1)
|
|
237
237
|
]),
|
|
238
|
-
|
|
239
|
-
l[35] || (l[35] =
|
|
240
|
-
|
|
238
|
+
n("div", null, [
|
|
239
|
+
l[35] || (l[35] = n("span", { class: "w-40 font-medium text-gray-600" }, "Email: ", -1)),
|
|
240
|
+
n("span", ve, x(e(b).email), 1)
|
|
241
241
|
]),
|
|
242
|
-
|
|
243
|
-
l[36] || (l[36] =
|
|
244
|
-
|
|
242
|
+
n("div", null, [
|
|
243
|
+
l[36] || (l[36] = n("span", { class: "w-40 font-medium text-gray-600" }, "Phone: ", -1)),
|
|
244
|
+
n("span", fe, x(e(b).phoneNo), 1)
|
|
245
245
|
]),
|
|
246
|
-
|
|
247
|
-
l[37] || (l[37] =
|
|
248
|
-
|
|
249
|
-
|
|
246
|
+
n("div", null, [
|
|
247
|
+
l[37] || (l[37] = n("span", { class: "w-40 font-medium text-gray-600" }, "Status: ", -1)),
|
|
248
|
+
n("span", ke, [
|
|
249
|
+
o(ee, { data: e(C) }, null, 8, ["data"])
|
|
250
250
|
])
|
|
251
251
|
]),
|
|
252
|
-
|
|
253
|
-
l[38] || (l[38] =
|
|
254
|
-
|
|
252
|
+
n("div", null, [
|
|
253
|
+
l[38] || (l[38] = n("span", { class: "w-40 font-medium text-gray-600" }, "Status Reason: ", -1)),
|
|
254
|
+
n("span", Ce, x(e(D)), 1)
|
|
255
255
|
])
|
|
256
256
|
]),
|
|
257
|
-
l[50] || (l[50] =
|
|
258
|
-
|
|
259
|
-
|
|
257
|
+
l[50] || (l[50] = n("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, "Rate Settings", -1)),
|
|
258
|
+
n("div", Ne, [
|
|
259
|
+
o(y, {
|
|
260
260
|
modelValue: m.value.duitNow,
|
|
261
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
261
|
+
"onUpdate:modelValue": l[0] || (l[0] = (t) => m.value.duitNow = t),
|
|
262
262
|
label: "DuitNow QR",
|
|
263
263
|
"label-mark": "required",
|
|
264
264
|
type: "number",
|
|
265
265
|
inputmode: "numeric",
|
|
266
266
|
decimal: 2,
|
|
267
267
|
rules: e(u)(
|
|
268
|
-
e(d).string().min(1, "Rate is required").transform((
|
|
268
|
+
e(d).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
|
|
269
269
|
)
|
|
270
270
|
}, {
|
|
271
271
|
append: v(() => [...l[39] || (l[39] = [
|
|
272
|
-
|
|
272
|
+
L("%", -1)
|
|
273
273
|
])]),
|
|
274
274
|
_: 1
|
|
275
275
|
}, 8, ["modelValue", "rules"]),
|
|
276
|
-
|
|
276
|
+
o(y, {
|
|
277
277
|
modelValue: m.value.mydebitCard,
|
|
278
|
-
"onUpdate:modelValue": l[1] || (l[1] = (
|
|
278
|
+
"onUpdate:modelValue": l[1] || (l[1] = (t) => m.value.mydebitCard = t),
|
|
279
279
|
label: "myDebit Card",
|
|
280
280
|
"label-mark": "required",
|
|
281
281
|
type: "number",
|
|
282
282
|
inputmode: "numeric",
|
|
283
283
|
decimal: 2,
|
|
284
284
|
rules: e(u)(
|
|
285
|
-
e(d).string().min(1, "Rate is required").transform((
|
|
285
|
+
e(d).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
|
|
286
286
|
)
|
|
287
287
|
}, {
|
|
288
288
|
append: v(() => [...l[40] || (l[40] = [
|
|
289
|
-
|
|
289
|
+
L("%", -1)
|
|
290
290
|
])]),
|
|
291
291
|
_: 1
|
|
292
292
|
}, 8, ["modelValue", "rules"]),
|
|
293
|
-
|
|
293
|
+
o(y, {
|
|
294
294
|
modelValue: m.value.localDebit,
|
|
295
|
-
"onUpdate:modelValue": l[2] || (l[2] = (
|
|
295
|
+
"onUpdate:modelValue": l[2] || (l[2] = (t) => m.value.localDebit = t),
|
|
296
296
|
label: "Local Debit Card",
|
|
297
297
|
"label-mark": "required",
|
|
298
298
|
type: "number",
|
|
299
299
|
inputmode: "numeric",
|
|
300
300
|
decimal: 2,
|
|
301
301
|
rules: e(u)(
|
|
302
|
-
e(d).string().min(1, "Rate is required").transform((
|
|
302
|
+
e(d).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
|
|
303
303
|
)
|
|
304
304
|
}, {
|
|
305
305
|
append: v(() => [...l[41] || (l[41] = [
|
|
306
|
-
|
|
306
|
+
L("%", -1)
|
|
307
307
|
])]),
|
|
308
308
|
_: 1
|
|
309
309
|
}, 8, ["modelValue", "rules"]),
|
|
310
|
-
|
|
310
|
+
o(y, {
|
|
311
311
|
modelValue: m.value.localCredit,
|
|
312
|
-
"onUpdate:modelValue": l[3] || (l[3] = (
|
|
312
|
+
"onUpdate:modelValue": l[3] || (l[3] = (t) => m.value.localCredit = t),
|
|
313
313
|
label: "Local Credit Card",
|
|
314
314
|
"label-mark": "required",
|
|
315
315
|
type: "number",
|
|
316
316
|
inputmode: "numeric",
|
|
317
317
|
decimal: 2,
|
|
318
318
|
rules: e(u)(
|
|
319
|
-
e(d).string().min(1, "Rate is required").transform((
|
|
319
|
+
e(d).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
|
|
320
320
|
)
|
|
321
321
|
}, {
|
|
322
322
|
append: v(() => [...l[42] || (l[42] = [
|
|
323
|
-
|
|
323
|
+
L("%", -1)
|
|
324
324
|
])]),
|
|
325
325
|
_: 1
|
|
326
326
|
}, 8, ["modelValue", "rules"]),
|
|
327
|
-
|
|
327
|
+
o(y, {
|
|
328
328
|
modelValue: m.value.foreignCard,
|
|
329
|
-
"onUpdate:modelValue": l[4] || (l[4] = (
|
|
329
|
+
"onUpdate:modelValue": l[4] || (l[4] = (t) => m.value.foreignCard = t),
|
|
330
330
|
label: "Foreign Card",
|
|
331
331
|
"label-mark": "required",
|
|
332
332
|
type: "number",
|
|
333
333
|
inputmode: "numeric",
|
|
334
334
|
decimal: 2,
|
|
335
335
|
rules: e(u)(
|
|
336
|
-
e(d).string().min(1, "Rate is required").transform((
|
|
336
|
+
e(d).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
|
|
337
337
|
)
|
|
338
338
|
}, {
|
|
339
339
|
append: v(() => [...l[43] || (l[43] = [
|
|
340
|
-
|
|
340
|
+
L("%", -1)
|
|
341
341
|
])]),
|
|
342
342
|
_: 1
|
|
343
343
|
}, 8, ["modelValue", "rules"]),
|
|
344
|
-
|
|
344
|
+
o(y, {
|
|
345
345
|
modelValue: m.value.jcbStandard,
|
|
346
|
-
"onUpdate:modelValue": l[5] || (l[5] = (
|
|
346
|
+
"onUpdate:modelValue": l[5] || (l[5] = (t) => m.value.jcbStandard = t),
|
|
347
347
|
label: "JCB Standard",
|
|
348
348
|
"label-mark": "required",
|
|
349
349
|
type: "number",
|
|
350
350
|
inputmode: "numeric",
|
|
351
351
|
decimal: 2,
|
|
352
352
|
rules: e(u)(
|
|
353
|
-
e(d).string().min(1, "Rate is required").transform((
|
|
353
|
+
e(d).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
|
|
354
354
|
)
|
|
355
355
|
}, {
|
|
356
356
|
append: v(() => [...l[44] || (l[44] = [
|
|
357
|
-
|
|
357
|
+
L("%", -1)
|
|
358
358
|
])]),
|
|
359
359
|
_: 1
|
|
360
360
|
}, 8, ["modelValue", "rules"]),
|
|
361
|
-
|
|
361
|
+
o(y, {
|
|
362
362
|
modelValue: m.value.jcbPlatinum,
|
|
363
|
-
"onUpdate:modelValue": l[6] || (l[6] = (
|
|
363
|
+
"onUpdate:modelValue": l[6] || (l[6] = (t) => m.value.jcbPlatinum = t),
|
|
364
364
|
label: "JCB Platinum",
|
|
365
365
|
"label-mark": "required",
|
|
366
366
|
type: "number",
|
|
367
367
|
inputmode: "numeric",
|
|
368
368
|
decimal: 2,
|
|
369
369
|
rules: e(u)(
|
|
370
|
-
e(d).string().min(1, "Rate is required").transform((
|
|
370
|
+
e(d).string().min(1, "Rate is required").transform((t) => parseFloat(t)).refine((t) => !isNaN(t), { message: "Rate must be a number" })
|
|
371
371
|
)
|
|
372
372
|
}, {
|
|
373
373
|
append: v(() => [...l[45] || (l[45] = [
|
|
374
|
-
|
|
374
|
+
L("%", -1)
|
|
375
375
|
])]),
|
|
376
376
|
_: 1
|
|
377
377
|
}, 8, ["modelValue", "rules"])
|
|
378
378
|
]),
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
modelValue:
|
|
382
|
-
"onUpdate:modelValue": l[8] || (l[8] = (
|
|
379
|
+
n("div", Se, [
|
|
380
|
+
o(a, {
|
|
381
|
+
modelValue: F.value,
|
|
382
|
+
"onUpdate:modelValue": l[8] || (l[8] = (t) => F.value = t)
|
|
383
383
|
}, {
|
|
384
384
|
"dialog-button": v(() => [
|
|
385
|
-
|
|
385
|
+
o(W, {
|
|
386
386
|
class: "mr-6",
|
|
387
387
|
type: "button",
|
|
388
388
|
variant: "destructive",
|
|
389
389
|
"prepend-icon": "block",
|
|
390
|
-
loading: e(
|
|
390
|
+
loading: e(c),
|
|
391
391
|
label: "Reject Submission"
|
|
392
392
|
}, null, 8, ["loading"])
|
|
393
393
|
]),
|
|
394
394
|
"dialog-header": v(() => [...l[46] || (l[46] = [
|
|
395
|
-
|
|
395
|
+
n("div", null, "Rejecting Submission", -1)
|
|
396
396
|
])]),
|
|
397
397
|
default: v(() => [
|
|
398
|
-
|
|
399
|
-
modelValue:
|
|
400
|
-
"onUpdate:modelValue": l[7] || (l[7] = (
|
|
398
|
+
o(V, {
|
|
399
|
+
modelValue: N.value,
|
|
400
|
+
"onUpdate:modelValue": l[7] || (l[7] = (t) => N.value = t),
|
|
401
401
|
label: "Reason for Rejection",
|
|
402
402
|
"label-mark": "optional",
|
|
403
403
|
"helper-text": "Please provide a reason for rejection."
|
|
404
404
|
}, null, 8, ["modelValue"]),
|
|
405
|
-
|
|
405
|
+
o(W, {
|
|
406
406
|
class: "mb-2 mt-6 w-full",
|
|
407
407
|
label: "Submit",
|
|
408
408
|
"prepend-icon": "save",
|
|
409
|
-
onClick:
|
|
410
|
-
loading: e(
|
|
409
|
+
onClick: Y,
|
|
410
|
+
loading: e(c)
|
|
411
411
|
}, null, 8, ["loading"])
|
|
412
412
|
]),
|
|
413
413
|
_: 1
|
|
414
414
|
}, 8, ["modelValue"]),
|
|
415
|
-
|
|
415
|
+
o(W, {
|
|
416
416
|
type: "button",
|
|
417
417
|
variant: "primary",
|
|
418
418
|
"prepend-icon": "approval",
|
|
419
|
-
disabled: !
|
|
419
|
+
disabled: !B.value,
|
|
420
420
|
label: "Approve Submission with Rates",
|
|
421
|
-
onClick:
|
|
422
|
-
loading: e(
|
|
421
|
+
onClick: T,
|
|
422
|
+
loading: e(c)
|
|
423
423
|
}, null, 8, ["disabled", "loading"])
|
|
424
424
|
]),
|
|
425
|
-
|
|
425
|
+
o(X, { disabled: !0 }, {
|
|
426
426
|
default: v(() => [
|
|
427
|
-
l[47] || (l[47] =
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
427
|
+
l[47] || (l[47] = n("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Outlet Information ", -1)),
|
|
428
|
+
n("div", Pe, [
|
|
429
|
+
n("div", qe, [
|
|
430
|
+
o(y, {
|
|
431
431
|
modelValue: e(s).picName,
|
|
432
|
-
"onUpdate:modelValue": l[9] || (l[9] = (
|
|
432
|
+
"onUpdate:modelValue": l[9] || (l[9] = (t) => e(s).picName = t),
|
|
433
433
|
label: "PIC Name",
|
|
434
434
|
placeholder: "Enter your name",
|
|
435
435
|
"label-mark": "required",
|
|
436
436
|
rules: e(u)(e(d).string().min(1, "PIC Name is required"))
|
|
437
437
|
}, null, 8, ["modelValue", "rules"])
|
|
438
438
|
]),
|
|
439
|
-
|
|
440
|
-
|
|
439
|
+
n("div", we, [
|
|
440
|
+
o(y, {
|
|
441
441
|
modelValue: e(s).picRole,
|
|
442
|
-
"onUpdate:modelValue": l[10] || (l[10] = (
|
|
442
|
+
"onUpdate:modelValue": l[10] || (l[10] = (t) => e(s).picRole = t),
|
|
443
443
|
label: "PIC Role",
|
|
444
444
|
placeholder: "Enter your role",
|
|
445
445
|
"label-mark": "required",
|
|
446
446
|
rules: e(u)(e(d).string().min(1, "PIC Role is required"))
|
|
447
447
|
}, null, 8, ["modelValue", "rules"])
|
|
448
448
|
]),
|
|
449
|
-
|
|
450
|
-
|
|
449
|
+
n("div", Fe, [
|
|
450
|
+
o(y, {
|
|
451
451
|
modelValue: e(s).picEmail,
|
|
452
|
-
"onUpdate:modelValue": l[11] || (l[11] = (
|
|
452
|
+
"onUpdate:modelValue": l[11] || (l[11] = (t) => e(s).picEmail = t),
|
|
453
453
|
label: "PIC Email",
|
|
454
454
|
type: "email",
|
|
455
455
|
placeholder: "Enter your email address",
|
|
@@ -457,64 +457,64 @@ const se = ["src"], P = /* @__PURE__ */ M({
|
|
|
457
457
|
rules: e(u)(e(d).string().min(1, "PIC Email is required"))
|
|
458
458
|
}, null, 8, ["modelValue", "rules"])
|
|
459
459
|
]),
|
|
460
|
-
|
|
461
|
-
|
|
460
|
+
n("div", Ie, [
|
|
461
|
+
o(g, {
|
|
462
462
|
"model-value": e(s).picContact,
|
|
463
|
-
"onUpdate:modelValue": l[12] || (l[12] = (
|
|
463
|
+
"onUpdate:modelValue": l[12] || (l[12] = (t) => e(s).picContact = t),
|
|
464
464
|
"default-country": "MY",
|
|
465
465
|
label: "PIC Contact",
|
|
466
466
|
"label-mark": "required",
|
|
467
467
|
rules: e(u)(e(d).string().min(1, "PIC Contact is required"))
|
|
468
468
|
}, null, 8, ["model-value", "rules"])
|
|
469
469
|
]),
|
|
470
|
-
|
|
471
|
-
|
|
470
|
+
n("div", Ue, [
|
|
471
|
+
o(y, {
|
|
472
472
|
modelValue: e(s).outletName,
|
|
473
|
-
"onUpdate:modelValue": l[13] || (l[13] = (
|
|
473
|
+
"onUpdate:modelValue": l[13] || (l[13] = (t) => e(s).outletName = t),
|
|
474
474
|
label: "Outlet Name",
|
|
475
475
|
placeholder: "Enter outlet name",
|
|
476
476
|
"label-mark": "required",
|
|
477
477
|
rules: e(u)(e(d).string().min(1, "Outlet Name is required"))
|
|
478
478
|
}, null, 8, ["modelValue", "rules"])
|
|
479
479
|
]),
|
|
480
|
-
|
|
481
|
-
|
|
480
|
+
n("div", Re, [
|
|
481
|
+
o(y, {
|
|
482
482
|
modelValue: e(s).outletAddress,
|
|
483
|
-
"onUpdate:modelValue": l[14] || (l[14] = (
|
|
483
|
+
"onUpdate:modelValue": l[14] || (l[14] = (t) => e(s).outletAddress = t),
|
|
484
484
|
label: "Outlet Address",
|
|
485
485
|
placeholder: "Enter outlet address",
|
|
486
486
|
"label-mark": "required",
|
|
487
487
|
rules: e(u)(e(d).string().min(1, "Address is required"))
|
|
488
488
|
}, null, 8, ["modelValue", "rules"])
|
|
489
489
|
]),
|
|
490
|
-
|
|
490
|
+
o(y, {
|
|
491
491
|
modelValue: e(s).outletPostCode,
|
|
492
|
-
"onUpdate:modelValue": l[15] || (l[15] = (
|
|
492
|
+
"onUpdate:modelValue": l[15] || (l[15] = (t) => e(s).outletPostCode = t),
|
|
493
493
|
label: "Postal Code",
|
|
494
494
|
placeholder: "Enter postal code",
|
|
495
495
|
"label-mark": "required",
|
|
496
496
|
rules: e(u)(e(d).string().min(1, "Postal Code is required"))
|
|
497
497
|
}, null, 8, ["modelValue", "rules"]),
|
|
498
|
-
|
|
498
|
+
o(y, {
|
|
499
499
|
modelValue: e(s).outletState,
|
|
500
|
-
"onUpdate:modelValue": l[16] || (l[16] = (
|
|
500
|
+
"onUpdate:modelValue": l[16] || (l[16] = (t) => e(s).outletState = t),
|
|
501
501
|
label: "State",
|
|
502
502
|
placeholder: "Enter state",
|
|
503
503
|
"label-mark": "required",
|
|
504
504
|
rules: e(u)(e(d).string().min(1, "State is required"))
|
|
505
505
|
}, null, 8, ["modelValue", "rules"]),
|
|
506
|
-
|
|
506
|
+
o(y, {
|
|
507
507
|
modelValue: e(s).outletCity,
|
|
508
|
-
"onUpdate:modelValue": l[17] || (l[17] = (
|
|
508
|
+
"onUpdate:modelValue": l[17] || (l[17] = (t) => e(s).outletCity = t),
|
|
509
509
|
label: "City",
|
|
510
510
|
placeholder: "Enter city",
|
|
511
511
|
"label-mark": "required",
|
|
512
512
|
rules: e(u)(e(d).string().min(1, "City is required"))
|
|
513
513
|
}, null, 8, ["modelValue", "rules"]),
|
|
514
|
-
|
|
515
|
-
|
|
514
|
+
n("div", xe, [
|
|
515
|
+
o(M, {
|
|
516
516
|
modelValue: e(s).businessType,
|
|
517
|
-
"onUpdate:modelValue": l[18] || (l[18] = (
|
|
517
|
+
"onUpdate:modelValue": l[18] || (l[18] = (t) => e(s).businessType = t),
|
|
518
518
|
label: "Type",
|
|
519
519
|
placeholder: "Select business type",
|
|
520
520
|
"label-mark": "required",
|
|
@@ -533,121 +533,121 @@ const se = ["src"], P = /* @__PURE__ */ M({
|
|
|
533
533
|
]
|
|
534
534
|
}, null, 8, ["modelValue", "rules"])
|
|
535
535
|
]),
|
|
536
|
-
|
|
537
|
-
|
|
536
|
+
n("div", Be, [
|
|
537
|
+
o(y, {
|
|
538
538
|
modelValue: e(s).businessRegNo,
|
|
539
|
-
"onUpdate:modelValue": l[19] || (l[19] = (
|
|
539
|
+
"onUpdate:modelValue": l[19] || (l[19] = (t) => e(s).businessRegNo = t),
|
|
540
540
|
label: "Registration No",
|
|
541
541
|
placeholder: "Enter registration number",
|
|
542
542
|
"label-mark": "required",
|
|
543
543
|
rules: e(u)(e(d).string().min(1, "Reg No is required"))
|
|
544
544
|
}, null, 8, ["modelValue", "rules"])
|
|
545
545
|
]),
|
|
546
|
-
|
|
547
|
-
|
|
546
|
+
n("div", Ee, [
|
|
547
|
+
o(y, {
|
|
548
548
|
modelValue: e(s).tinNo,
|
|
549
|
-
"onUpdate:modelValue": l[20] || (l[20] = (
|
|
549
|
+
"onUpdate:modelValue": l[20] || (l[20] = (t) => e(s).tinNo = t),
|
|
550
550
|
label: "Tax Identification No (TIN)",
|
|
551
551
|
placeholder: "Enter your TIN number",
|
|
552
552
|
"label-mark": "required",
|
|
553
553
|
rules: e(u)(e(d).string().min(1, "TIN is required"))
|
|
554
554
|
}, null, 8, ["modelValue", "rules"])
|
|
555
555
|
]),
|
|
556
|
-
|
|
557
|
-
|
|
556
|
+
n("div", Te, [
|
|
557
|
+
o(y, {
|
|
558
558
|
modelValue: e(s).sstNo,
|
|
559
|
-
"onUpdate:modelValue": l[21] || (l[21] = (
|
|
559
|
+
"onUpdate:modelValue": l[21] || (l[21] = (t) => e(s).sstNo = t),
|
|
560
560
|
label: "SST Registration No (SST)",
|
|
561
561
|
placeholder: "Enter your SST number",
|
|
562
562
|
"label-mark": "optional"
|
|
563
563
|
}, null, 8, ["modelValue"])
|
|
564
564
|
])
|
|
565
565
|
]),
|
|
566
|
-
l[48] || (l[48] =
|
|
567
|
-
|
|
568
|
-
|
|
566
|
+
l[48] || (l[48] = n("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Payout Information & Documents ", -1)),
|
|
567
|
+
n("div", je, [
|
|
568
|
+
o(M, {
|
|
569
569
|
modelValue: e(s).bankName,
|
|
570
|
-
"onUpdate:modelValue": l[22] || (l[22] = (
|
|
570
|
+
"onUpdate:modelValue": l[22] || (l[22] = (t) => e(s).bankName = t),
|
|
571
571
|
label: "Bank",
|
|
572
572
|
placeholder: "Select bank type",
|
|
573
573
|
"label-mark": "required",
|
|
574
574
|
rules: e(u)(e(d).string().min(1, "Bank Type is required")),
|
|
575
|
-
items: e(
|
|
575
|
+
items: e(ie).bankNameOptions()
|
|
576
576
|
}, null, 8, ["modelValue", "rules", "items"]),
|
|
577
|
-
|
|
577
|
+
o(y, {
|
|
578
578
|
modelValue: e(s).bankHolderName,
|
|
579
|
-
"onUpdate:modelValue": l[23] || (l[23] = (
|
|
579
|
+
"onUpdate:modelValue": l[23] || (l[23] = (t) => e(s).bankHolderName = t),
|
|
580
580
|
label: "Beneficiary Name",
|
|
581
581
|
placeholder: "Enter Beneficiary Name",
|
|
582
582
|
"label-mark": "required",
|
|
583
583
|
rules: e(u)(e(d).string().min(1, "Beneficiary Name is required"))
|
|
584
584
|
}, null, 8, ["modelValue", "rules"]),
|
|
585
|
-
|
|
585
|
+
o(y, {
|
|
586
586
|
modelValue: e(s).bankAccountNo,
|
|
587
|
-
"onUpdate:modelValue": l[24] || (l[24] = (
|
|
587
|
+
"onUpdate:modelValue": l[24] || (l[24] = (t) => e(s).bankAccountNo = t),
|
|
588
588
|
label: "Account Number",
|
|
589
589
|
placeholder: "Enter Account Number",
|
|
590
590
|
"label-mark": "required",
|
|
591
591
|
rules: e(u)(e(d).string().min(1, "Account Number is required"))
|
|
592
592
|
}, null, 8, ["modelValue", "rules"]),
|
|
593
|
-
|
|
593
|
+
o(w, {
|
|
594
594
|
label: "Authorized Person ID",
|
|
595
595
|
modelValue: e(i).authorizedPersonID,
|
|
596
|
-
"onUpdate:modelValue": l[25] || (l[25] = (
|
|
596
|
+
"onUpdate:modelValue": l[25] || (l[25] = (t) => e(i).authorizedPersonID = t),
|
|
597
597
|
type: "image",
|
|
598
598
|
"restaurant-id": p.submission.restaurantId
|
|
599
599
|
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
600
|
-
|
|
600
|
+
o(w, {
|
|
601
601
|
label: "Outlet Photo",
|
|
602
602
|
modelValue: e(i).outletPhoto,
|
|
603
|
-
"onUpdate:modelValue": l[26] || (l[26] = (
|
|
603
|
+
"onUpdate:modelValue": l[26] || (l[26] = (t) => e(i).outletPhoto = t),
|
|
604
604
|
type: "image",
|
|
605
605
|
"restaurant-id": p.submission.restaurantId
|
|
606
606
|
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
607
|
-
|
|
607
|
+
o(w, {
|
|
608
608
|
label: "Interior Photo",
|
|
609
609
|
modelValue: e(i).interiorPhoto,
|
|
610
|
-
"onUpdate:modelValue": l[27] || (l[27] = (
|
|
610
|
+
"onUpdate:modelValue": l[27] || (l[27] = (t) => e(i).interiorPhoto = t),
|
|
611
611
|
type: "image",
|
|
612
612
|
"restaurant-id": p.submission.restaurantId
|
|
613
613
|
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
614
|
-
|
|
614
|
+
o(w, {
|
|
615
615
|
label: "Latest Bank Statement",
|
|
616
616
|
modelValue: e(i).bankStatement,
|
|
617
|
-
"onUpdate:modelValue": l[28] || (l[28] = (
|
|
617
|
+
"onUpdate:modelValue": l[28] || (l[28] = (t) => e(i).bankStatement = t),
|
|
618
618
|
type: "pdf",
|
|
619
619
|
"restaurant-id": p.submission.restaurantId
|
|
620
620
|
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
621
|
-
e(s).businessType === "private_limited" || e(s).businessType === "public_limited" ? (
|
|
621
|
+
e(s).businessType === "private_limited" || e(s).businessType === "public_limited" ? (f(), j(w, {
|
|
622
622
|
key: 0,
|
|
623
623
|
label: "Superform",
|
|
624
624
|
type: "pdf",
|
|
625
625
|
modelValue: e(i).certificate,
|
|
626
|
-
"onUpdate:modelValue": l[29] || (l[29] = (
|
|
626
|
+
"onUpdate:modelValue": l[29] || (l[29] = (t) => e(i).certificate = t),
|
|
627
627
|
"restaurant-id": p.submission.restaurantId
|
|
628
|
-
}, null, 8, ["modelValue", "restaurant-id"])) :
|
|
629
|
-
e(s).businessType === "sole_proprietorship" || e(s).businessType === "partnership" ? (
|
|
628
|
+
}, null, 8, ["modelValue", "restaurant-id"])) : $("", !0),
|
|
629
|
+
e(s).businessType === "sole_proprietorship" || e(s).businessType === "partnership" ? (f(), j(w, {
|
|
630
630
|
key: 1,
|
|
631
631
|
label: "SSM Certificate & Info",
|
|
632
632
|
type: "pdf",
|
|
633
633
|
modelValue: e(i).certificate,
|
|
634
|
-
"onUpdate:modelValue": l[30] || (l[30] = (
|
|
634
|
+
"onUpdate:modelValue": l[30] || (l[30] = (t) => e(i).certificate = t),
|
|
635
635
|
"restaurant-id": p.submission.restaurantId
|
|
636
|
-
}, null, 8, ["modelValue", "restaurant-id"])) :
|
|
636
|
+
}, null, 8, ["modelValue", "restaurant-id"])) : $("", !0)
|
|
637
637
|
]),
|
|
638
|
-
l[49] || (l[49] =
|
|
639
|
-
|
|
640
|
-
|
|
638
|
+
l[49] || (l[49] = n("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Declaration Information ", -1)),
|
|
639
|
+
n("div", De, [
|
|
640
|
+
o(ce, {
|
|
641
641
|
modelValue: e(i).signature,
|
|
642
|
-
"onUpdate:modelValue": l[31] || (l[31] = (
|
|
642
|
+
"onUpdate:modelValue": l[31] || (l[31] = (t) => e(i).signature = t),
|
|
643
643
|
"restaurant-id": p.submission.restaurantId,
|
|
644
644
|
label: "Signature"
|
|
645
645
|
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
646
|
-
|
|
646
|
+
o(w, {
|
|
647
647
|
label: "Company Stamp",
|
|
648
648
|
type: "image",
|
|
649
649
|
modelValue: e(i).companyStamp,
|
|
650
|
-
"onUpdate:modelValue": l[32] || (l[32] = (
|
|
650
|
+
"onUpdate:modelValue": l[32] || (l[32] = (t) => e(i).companyStamp = t),
|
|
651
651
|
"restaurant-id": p.submission.restaurantId
|
|
652
652
|
}, null, 8, ["modelValue", "restaurant-id"])
|
|
653
653
|
])
|
|
@@ -657,7 +657,7 @@ const se = ["src"], P = /* @__PURE__ */ M({
|
|
|
657
657
|
], 64);
|
|
658
658
|
};
|
|
659
659
|
}
|
|
660
|
-
}),
|
|
660
|
+
}), Ae = { class: "space-y-2" }, Oe = { class: "text-gray-900" }, Le = { class: "text-gray-900" }, ze = { class: "text-gray-900" }, Me = { class: "text-gray-900" }, He = { class: "text-gray-900" }, We = { class: "text-gray-900" }, Je = { class: "mt-6 grid grid-cols-4 gap-24" }, Qe = { class: "w-full flex justify-end mt-6" }, Ge = { class: "mt-6 grid grid-cols-4 gap-24" }, Ke = { class: "col-span-2" }, Ye = { class: "col-span-2" }, Xe = { class: "col-span-2" }, Ze = { class: "col-span-2" }, he = { class: "mt-6 grid grid-cols-4 gap-24" }, _e = { class: "mt-6 grid grid-cols-4 gap-24" }, el = { class: "mt-6 grid grid-cols-4 gap-24" }, ll = { class: "col-span-2" }, al = { class: "col-span-2" }, tl = { class: "col-span-2" }, sl = { class: "col-span-2" }, nl = { class: "col-span-2" }, ol = { class: "col-span-2" }, rl = /* @__PURE__ */ G({
|
|
661
661
|
__name: "NTTSubmission",
|
|
662
662
|
props: {
|
|
663
663
|
submission: {
|
|
@@ -666,365 +666,462 @@ const se = ["src"], P = /* @__PURE__ */ M({
|
|
|
666
666
|
}
|
|
667
667
|
},
|
|
668
668
|
emits: ["update:submission"],
|
|
669
|
-
setup(p, { emit:
|
|
670
|
-
const
|
|
669
|
+
setup(p, { emit: A }) {
|
|
670
|
+
const S = p, P = A, k = h(), F = E(!1), { isLoading: c, startAsyncCall: I } = Z(), { fields: s, documents: i, restaurantId: U, profile: b, status: C, statusReason: D } = S.submission, N = E(""), m = [
|
|
671
|
+
{ key: "localCardDebit", label: "Local Card (Debit)", defaultValue: "2.3" },
|
|
672
|
+
{
|
|
673
|
+
key: "localCardStandard",
|
|
674
|
+
label: "Local Card (Standard)",
|
|
675
|
+
defaultValue: "2.3"
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
key: "localCardPremium",
|
|
679
|
+
label: "Local Card (Premium)",
|
|
680
|
+
defaultValue: "2.3"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
key: "localCardSuperPremium",
|
|
684
|
+
label: "Local Card (Super Premium)",
|
|
685
|
+
defaultValue: "2.3"
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
key: "internationalCard",
|
|
689
|
+
label: "International Card",
|
|
690
|
+
defaultValue: "3.1"
|
|
691
|
+
},
|
|
692
|
+
{ key: "upiCard", label: "UPI Card", defaultValue: "3" },
|
|
693
|
+
{ key: "jcbCard", label: "JCB Card", defaultValue: "3" },
|
|
694
|
+
{ key: "dciCard", label: "DCI Card", defaultValue: "3" },
|
|
695
|
+
{ key: "amexCard", label: "Amex Card", defaultValue: "3" },
|
|
696
|
+
{ key: "alipay", label: "Alipay", defaultValue: "2.3" },
|
|
697
|
+
{ key: "alipayPlus", label: "Alipay+", defaultValue: "2.3" },
|
|
698
|
+
{ key: "trueMoney", label: "TrueMoney", defaultValue: "2.3" },
|
|
699
|
+
{ key: "shopeePay", label: "ShopeePay", defaultValue: "2.3" },
|
|
700
|
+
{ key: "linePay", label: "LinePay", defaultValue: "2.1" },
|
|
701
|
+
{ key: "thaiQr", label: "ThaiQR", defaultValue: "0.5" }
|
|
702
|
+
], B = Object.fromEntries(
|
|
703
|
+
m.map((V) => [V.key, V.defaultValue])
|
|
704
|
+
), T = E(
|
|
705
|
+
S.submission.rates ? Object.fromEntries(
|
|
706
|
+
Object.entries(S.submission.rates).map(([V, a]) => [V, `${a}`])
|
|
707
|
+
) : { ...B }
|
|
708
|
+
), Y = Q(
|
|
709
|
+
() => Object.values(T.value).every((V) => parseFloat(V) > 0)
|
|
710
|
+
), R = Q(() => s.businessType === "juristic" ? "Juristic" : s.businessType === "individual" ? "Individual" : s.businessType || "-"), l = () => I(async () => {
|
|
671
711
|
try {
|
|
672
|
-
const
|
|
673
|
-
|
|
712
|
+
const V = await z.reviewById(
|
|
713
|
+
S.submission._id,
|
|
674
714
|
{
|
|
715
|
+
status: oe.FdoOnboardStatus.enum.ready
|
|
716
|
+
}
|
|
717
|
+
);
|
|
718
|
+
P("update:submission", V), k.open({
|
|
719
|
+
type: "success",
|
|
720
|
+
title: "Submission marked as ready"
|
|
721
|
+
});
|
|
722
|
+
} catch (V) {
|
|
723
|
+
k.open({
|
|
724
|
+
type: "error",
|
|
725
|
+
title: "Error occurs when marking submission as ready",
|
|
726
|
+
message: H(V)
|
|
727
|
+
});
|
|
728
|
+
}
|
|
729
|
+
}), y = () => I(async () => {
|
|
730
|
+
try {
|
|
731
|
+
const V = await z.reviewById(
|
|
732
|
+
S.submission._id,
|
|
733
|
+
{
|
|
734
|
+
rates: Object.fromEntries(
|
|
735
|
+
m.map((a) => [
|
|
736
|
+
a.key,
|
|
737
|
+
parseFloat(T.value[a.key])
|
|
738
|
+
])
|
|
739
|
+
),
|
|
675
740
|
status: "approved"
|
|
676
741
|
}
|
|
677
742
|
);
|
|
678
|
-
|
|
743
|
+
P("update:submission", V), k.open({
|
|
679
744
|
type: "success",
|
|
680
745
|
title: "Submission updated successfully"
|
|
681
746
|
});
|
|
682
|
-
} catch (
|
|
683
|
-
|
|
747
|
+
} catch (V) {
|
|
748
|
+
k.open({
|
|
684
749
|
type: "error",
|
|
685
750
|
title: "Error occurs when updating submission",
|
|
686
|
-
message:
|
|
751
|
+
message: H(V)
|
|
687
752
|
});
|
|
688
753
|
}
|
|
689
|
-
}),
|
|
754
|
+
}), W = () => I(async () => {
|
|
690
755
|
try {
|
|
691
|
-
const
|
|
692
|
-
|
|
756
|
+
const V = await z.reviewById(
|
|
757
|
+
S.submission._id,
|
|
693
758
|
{
|
|
694
759
|
status: "rejected",
|
|
695
|
-
statusReason:
|
|
760
|
+
statusReason: N.value
|
|
696
761
|
}
|
|
697
762
|
);
|
|
698
|
-
|
|
763
|
+
P("update:submission", V), F.value = !1, k.open({
|
|
699
764
|
type: "success",
|
|
700
765
|
title: "Submission updated successfully"
|
|
701
766
|
});
|
|
702
|
-
} catch (
|
|
703
|
-
|
|
767
|
+
} catch (V) {
|
|
768
|
+
k.open({
|
|
704
769
|
type: "error",
|
|
705
770
|
title: "Error occurs when updating submission",
|
|
706
|
-
message:
|
|
771
|
+
message: H(V)
|
|
707
772
|
});
|
|
708
773
|
}
|
|
709
774
|
});
|
|
710
|
-
return (
|
|
711
|
-
const
|
|
712
|
-
return
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
775
|
+
return (V, a) => {
|
|
776
|
+
const g = q("FmTextField"), M = q("FmButton"), X = q("FmTextarea"), t = q("FmDialog"), le = q("FmPhoneNumber"), ae = q("FmForm");
|
|
777
|
+
return f(), O(K, null, [
|
|
778
|
+
n("div", Ae, [
|
|
779
|
+
n("div", null, [
|
|
780
|
+
a[31] || (a[31] = n("span", { class: "w-40 font-medium text-gray-600" }, "Restaurant: ", -1)),
|
|
781
|
+
n("span", Oe, x(e(U)), 1)
|
|
717
782
|
]),
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
783
|
+
n("div", null, [
|
|
784
|
+
a[32] || (a[32] = n("span", { class: "w-40 font-medium text-gray-600" }, "Profile: ", -1)),
|
|
785
|
+
n("span", Le, x(e(b).name) + " ( " + x(e(b).legalName) + " )", 1)
|
|
721
786
|
]),
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
787
|
+
n("div", null, [
|
|
788
|
+
a[33] || (a[33] = n("span", { class: "w-40 font-medium text-gray-600" }, "Email: ", -1)),
|
|
789
|
+
n("span", ze, x(e(b).email), 1)
|
|
725
790
|
]),
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
791
|
+
n("div", null, [
|
|
792
|
+
a[34] || (a[34] = n("span", { class: "w-40 font-medium text-gray-600" }, "Phone: ", -1)),
|
|
793
|
+
n("span", Me, x(e(b).phoneNo), 1)
|
|
729
794
|
]),
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
795
|
+
n("div", null, [
|
|
796
|
+
a[35] || (a[35] = n("span", { class: "w-40 font-medium text-gray-600" }, "Status: ", -1)),
|
|
797
|
+
n("span", He, [
|
|
798
|
+
o(ee, { data: e(C) }, null, 8, ["data"])
|
|
734
799
|
])
|
|
735
800
|
]),
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
801
|
+
n("div", null, [
|
|
802
|
+
a[36] || (a[36] = n("span", { class: "w-40 font-medium text-gray-600" }, "Status Reason: ", -1)),
|
|
803
|
+
n("span", We, x(e(D)), 1)
|
|
739
804
|
])
|
|
740
805
|
]),
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
806
|
+
a[43] || (a[43] = n("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, "Rate Settings", -1)),
|
|
807
|
+
n("div", Je, [
|
|
808
|
+
(f(), O(K, null, te(m, (r) => o(g, {
|
|
809
|
+
key: r.key,
|
|
810
|
+
modelValue: T.value[r.key],
|
|
811
|
+
"onUpdate:modelValue": (J) => T.value[r.key] = J,
|
|
812
|
+
label: r.label,
|
|
813
|
+
"label-mark": "required",
|
|
814
|
+
type: "number",
|
|
815
|
+
inputmode: "numeric",
|
|
816
|
+
decimal: 2,
|
|
817
|
+
rules: e(u)(
|
|
818
|
+
e(d).string().min(1, "Rate is required").transform((J) => parseFloat(J)).refine((J) => !isNaN(J), { message: "Rate must be a number" })
|
|
819
|
+
)
|
|
820
|
+
}, {
|
|
821
|
+
append: v(() => [...a[37] || (a[37] = [
|
|
822
|
+
L("%", -1)
|
|
823
|
+
])]),
|
|
824
|
+
_: 1
|
|
825
|
+
}, 8, ["modelValue", "onUpdate:modelValue", "label", "rules"])), 64))
|
|
826
|
+
]),
|
|
827
|
+
n("div", Qe, [
|
|
828
|
+
o(t, {
|
|
829
|
+
modelValue: F.value,
|
|
830
|
+
"onUpdate:modelValue": a[1] || (a[1] = (r) => F.value = r)
|
|
745
831
|
}, {
|
|
746
832
|
"dialog-button": v(() => [
|
|
747
|
-
|
|
833
|
+
o(M, {
|
|
748
834
|
class: "mr-6",
|
|
749
835
|
type: "button",
|
|
750
836
|
variant: "destructive",
|
|
751
837
|
"prepend-icon": "block",
|
|
752
|
-
loading: e(
|
|
838
|
+
loading: e(c),
|
|
753
839
|
label: "Reject Submission"
|
|
754
840
|
}, null, 8, ["loading"])
|
|
755
841
|
]),
|
|
756
|
-
"dialog-header": v(() => [...
|
|
757
|
-
|
|
842
|
+
"dialog-header": v(() => [...a[38] || (a[38] = [
|
|
843
|
+
n("div", null, "Rejecting Submission", -1)
|
|
758
844
|
])]),
|
|
759
845
|
default: v(() => [
|
|
760
|
-
|
|
761
|
-
modelValue:
|
|
762
|
-
"onUpdate:modelValue":
|
|
846
|
+
o(X, {
|
|
847
|
+
modelValue: N.value,
|
|
848
|
+
"onUpdate:modelValue": a[0] || (a[0] = (r) => N.value = r),
|
|
763
849
|
label: "Reason for Rejection",
|
|
764
850
|
"label-mark": "optional",
|
|
765
851
|
"helper-text": "Please provide a reason for rejection."
|
|
766
852
|
}, null, 8, ["modelValue"]),
|
|
767
|
-
|
|
853
|
+
o(M, {
|
|
768
854
|
class: "mb-2 mt-6 w-full",
|
|
769
855
|
label: "Submit",
|
|
770
856
|
"prepend-icon": "save",
|
|
771
|
-
onClick:
|
|
772
|
-
loading: e(
|
|
857
|
+
onClick: W,
|
|
858
|
+
loading: e(c)
|
|
773
859
|
}, null, 8, ["loading"])
|
|
774
860
|
]),
|
|
775
861
|
_: 1
|
|
776
862
|
}, 8, ["modelValue"]),
|
|
777
|
-
|
|
863
|
+
o(M, {
|
|
778
864
|
type: "button",
|
|
779
865
|
variant: "primary",
|
|
780
866
|
"prepend-icon": "approval",
|
|
781
|
-
label: "Approve Submission",
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
867
|
+
label: "Approve Submission with Rates",
|
|
868
|
+
disabled: !Y.value,
|
|
869
|
+
onClick: y,
|
|
870
|
+
loading: e(c)
|
|
871
|
+
}, null, 8, ["disabled", "loading"]),
|
|
872
|
+
e(C) === "approved" ? (f(), j(M, {
|
|
873
|
+
key: 0,
|
|
874
|
+
type: "button",
|
|
875
|
+
variant: "secondary",
|
|
876
|
+
"prepend-icon": "check_circle",
|
|
877
|
+
label: "Mark as Ready",
|
|
878
|
+
class: "ml-6",
|
|
879
|
+
onClick: l,
|
|
880
|
+
loading: e(c)
|
|
881
|
+
}, null, 8, ["loading"])) : $("", !0)
|
|
785
882
|
]),
|
|
786
|
-
|
|
883
|
+
o(ae, { disabled: !0 }, {
|
|
787
884
|
default: v(() => [
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
885
|
+
a[39] || (a[39] = n("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Outlet Information ", -1)),
|
|
886
|
+
n("div", Ge, [
|
|
887
|
+
n("div", Ke, [
|
|
888
|
+
o(g, {
|
|
792
889
|
modelValue: e(s).companyName,
|
|
793
|
-
"onUpdate:modelValue":
|
|
890
|
+
"onUpdate:modelValue": a[2] || (a[2] = (r) => e(s).companyName = r),
|
|
794
891
|
label: "Company Name",
|
|
795
892
|
"label-mark": "required",
|
|
796
893
|
rules: e(u)(e(d).string().min(1, "Company Name is required"))
|
|
797
894
|
}, null, 8, ["modelValue", "rules"])
|
|
798
895
|
]),
|
|
799
|
-
|
|
800
|
-
|
|
896
|
+
n("div", Ye, [
|
|
897
|
+
o(g, {
|
|
801
898
|
modelValue: e(s).outletName,
|
|
802
|
-
"onUpdate:modelValue":
|
|
899
|
+
"onUpdate:modelValue": a[3] || (a[3] = (r) => e(s).outletName = r),
|
|
803
900
|
label: "Outlet Name (Thai)",
|
|
804
901
|
"label-mark": "required",
|
|
805
902
|
rules: e(u)(e(d).string().min(1, "Outlet Name is required"))
|
|
806
903
|
}, null, 8, ["modelValue", "rules"])
|
|
807
904
|
]),
|
|
808
|
-
|
|
809
|
-
|
|
905
|
+
n("div", Xe, [
|
|
906
|
+
o(g, {
|
|
810
907
|
modelValue: e(s).outletNameEnglish,
|
|
811
|
-
"onUpdate:modelValue":
|
|
908
|
+
"onUpdate:modelValue": a[4] || (a[4] = (r) => e(s).outletNameEnglish = r),
|
|
812
909
|
label: "Outlet Name (English)",
|
|
813
910
|
"label-mark": "required",
|
|
814
911
|
rules: e(u)(e(d).string().min(1, "Outlet Name English is required"))
|
|
815
912
|
}, null, 8, ["modelValue", "rules"])
|
|
816
913
|
]),
|
|
817
|
-
|
|
818
|
-
|
|
914
|
+
n("div", Ze, [
|
|
915
|
+
o(g, {
|
|
819
916
|
modelValue: e(s).outletAddress,
|
|
820
|
-
"onUpdate:modelValue":
|
|
917
|
+
"onUpdate:modelValue": a[5] || (a[5] = (r) => e(s).outletAddress = r),
|
|
821
918
|
label: "Outlet Address",
|
|
822
919
|
"label-mark": "required",
|
|
823
920
|
rules: e(u)(e(d).string().min(1, "Outlet Address is required"))
|
|
824
921
|
}, null, 8, ["modelValue", "rules"])
|
|
825
922
|
]),
|
|
826
|
-
|
|
923
|
+
o(g, {
|
|
827
924
|
modelValue: e(s).outletPostCode,
|
|
828
|
-
"onUpdate:modelValue":
|
|
925
|
+
"onUpdate:modelValue": a[6] || (a[6] = (r) => e(s).outletPostCode = r),
|
|
829
926
|
label: "Post Code",
|
|
830
927
|
"label-mark": "required",
|
|
831
928
|
rules: e(u)(e(d).string().min(1, "Post Code is required"))
|
|
832
929
|
}, null, 8, ["modelValue", "rules"]),
|
|
833
|
-
|
|
930
|
+
o(g, {
|
|
834
931
|
modelValue: e(s).outletState,
|
|
835
|
-
"onUpdate:modelValue":
|
|
932
|
+
"onUpdate:modelValue": a[7] || (a[7] = (r) => e(s).outletState = r),
|
|
836
933
|
label: "State",
|
|
837
934
|
"label-mark": "required",
|
|
838
935
|
rules: e(u)(e(d).string().min(1, "State is required"))
|
|
839
936
|
}, null, 8, ["modelValue", "rules"]),
|
|
840
|
-
|
|
937
|
+
o(g, {
|
|
841
938
|
modelValue: e(s).outletCity,
|
|
842
|
-
"onUpdate:modelValue":
|
|
939
|
+
"onUpdate:modelValue": a[8] || (a[8] = (r) => e(s).outletCity = r),
|
|
843
940
|
label: "City",
|
|
844
941
|
"label-mark": "required",
|
|
845
942
|
rules: e(u)(e(d).string().min(1, "City is required"))
|
|
846
943
|
}, null, 8, ["modelValue", "rules"]),
|
|
847
|
-
|
|
848
|
-
"model-value":
|
|
944
|
+
o(g, {
|
|
945
|
+
"model-value": R.value,
|
|
849
946
|
label: "Business Type",
|
|
850
947
|
"label-mark": "required"
|
|
851
948
|
}, null, 8, ["model-value"]),
|
|
852
|
-
|
|
949
|
+
o(g, {
|
|
853
950
|
modelValue: e(s).numberOfDevices,
|
|
854
|
-
"onUpdate:modelValue":
|
|
951
|
+
"onUpdate:modelValue": a[9] || (a[9] = (r) => e(s).numberOfDevices = r),
|
|
855
952
|
label: "Number of Devices",
|
|
856
953
|
"label-mark": "required"
|
|
857
954
|
}, null, 8, ["modelValue"])
|
|
858
955
|
]),
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
956
|
+
a[40] || (a[40] = n("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Payout Information ", -1)),
|
|
957
|
+
n("div", he, [
|
|
958
|
+
o(g, {
|
|
862
959
|
modelValue: e(s).bankName,
|
|
863
|
-
"onUpdate:modelValue":
|
|
960
|
+
"onUpdate:modelValue": a[10] || (a[10] = (r) => e(s).bankName = r),
|
|
864
961
|
label: "Bank Name",
|
|
865
962
|
"label-mark": "required",
|
|
866
963
|
rules: e(u)(e(d).string().min(1, "Bank Name is required"))
|
|
867
964
|
}, null, 8, ["modelValue", "rules"]),
|
|
868
|
-
|
|
965
|
+
o(g, {
|
|
869
966
|
modelValue: e(s).bankHolderName,
|
|
870
|
-
"onUpdate:modelValue":
|
|
967
|
+
"onUpdate:modelValue": a[11] || (a[11] = (r) => e(s).bankHolderName = r),
|
|
871
968
|
label: "Bank Holder Name",
|
|
872
969
|
"label-mark": "required",
|
|
873
970
|
rules: e(u)(e(d).string().min(1, "Bank Holder Name is required"))
|
|
874
971
|
}, null, 8, ["modelValue", "rules"]),
|
|
875
|
-
|
|
972
|
+
o(g, {
|
|
876
973
|
modelValue: e(s).bankAccountNo,
|
|
877
|
-
"onUpdate:modelValue":
|
|
974
|
+
"onUpdate:modelValue": a[12] || (a[12] = (r) => e(s).bankAccountNo = r),
|
|
878
975
|
label: "Bank Account No",
|
|
879
976
|
"label-mark": "required",
|
|
880
977
|
rules: e(u)(e(d).string().min(1, "Bank Account No is required"))
|
|
881
978
|
}, null, 8, ["modelValue", "rules"]),
|
|
882
|
-
|
|
979
|
+
o(g, {
|
|
883
980
|
modelValue: e(s).bankBranch,
|
|
884
|
-
"onUpdate:modelValue":
|
|
981
|
+
"onUpdate:modelValue": a[13] || (a[13] = (r) => e(s).bankBranch = r),
|
|
885
982
|
label: "Bank Branch",
|
|
886
983
|
"label-mark": "required",
|
|
887
984
|
rules: e(u)(e(d).string().min(1, "Bank Branch is required"))
|
|
888
985
|
}, null, 8, ["modelValue", "rules"]),
|
|
889
|
-
|
|
986
|
+
o(g, {
|
|
890
987
|
modelValue: e(s).bankBranchCode,
|
|
891
|
-
"onUpdate:modelValue":
|
|
988
|
+
"onUpdate:modelValue": a[14] || (a[14] = (r) => e(s).bankBranchCode = r),
|
|
892
989
|
label: "Bank Branch Code",
|
|
893
990
|
"label-mark": "required",
|
|
894
991
|
rules: e(u)(e(d).string().min(1, "Bank Branch Code is required"))
|
|
895
992
|
}, null, 8, ["modelValue", "rules"])
|
|
896
993
|
]),
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
994
|
+
a[41] || (a[41] = n("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, "Documents", -1)),
|
|
995
|
+
n("div", _e, [
|
|
996
|
+
o(w, {
|
|
900
997
|
label: "Authorized Person ID",
|
|
901
998
|
modelValue: e(i).authorizedPersonID,
|
|
902
|
-
"onUpdate:modelValue":
|
|
999
|
+
"onUpdate:modelValue": a[15] || (a[15] = (r) => e(i).authorizedPersonID = r),
|
|
903
1000
|
type: "image",
|
|
904
1001
|
"restaurant-id": p.submission.restaurantId
|
|
905
1002
|
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
906
|
-
|
|
1003
|
+
o(w, {
|
|
907
1004
|
label: "Outlet Photo",
|
|
908
1005
|
modelValue: e(i).outletPhoto,
|
|
909
|
-
"onUpdate:modelValue":
|
|
1006
|
+
"onUpdate:modelValue": a[16] || (a[16] = (r) => e(i).outletPhoto = r),
|
|
910
1007
|
type: "image",
|
|
911
1008
|
"restaurant-id": p.submission.restaurantId
|
|
912
1009
|
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
913
|
-
|
|
1010
|
+
o(w, {
|
|
914
1011
|
label: "Interior Photo",
|
|
915
1012
|
modelValue: e(i).interiorPhoto,
|
|
916
|
-
"onUpdate:modelValue":
|
|
1013
|
+
"onUpdate:modelValue": a[17] || (a[17] = (r) => e(i).interiorPhoto = r),
|
|
917
1014
|
type: "image",
|
|
918
1015
|
"restaurant-id": p.submission.restaurantId
|
|
919
1016
|
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
920
|
-
|
|
1017
|
+
o(w, {
|
|
921
1018
|
label: "Bank Statement",
|
|
922
1019
|
modelValue: e(i).bankStatement,
|
|
923
|
-
"onUpdate:modelValue":
|
|
1020
|
+
"onUpdate:modelValue": a[18] || (a[18] = (r) => e(i).bankStatement = r),
|
|
924
1021
|
type: "pdf",
|
|
925
1022
|
"restaurant-id": p.submission.restaurantId
|
|
926
1023
|
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
927
|
-
e(s).businessType === "juristic" ? (
|
|
1024
|
+
e(s).businessType === "juristic" ? (f(), j(w, {
|
|
928
1025
|
key: 0,
|
|
929
1026
|
label: "Company Certificate",
|
|
930
1027
|
type: "pdf",
|
|
931
1028
|
modelValue: e(i).companyCertificate,
|
|
932
|
-
"onUpdate:modelValue":
|
|
1029
|
+
"onUpdate:modelValue": a[19] || (a[19] = (r) => e(i).companyCertificate = r),
|
|
933
1030
|
"restaurant-id": p.submission.restaurantId
|
|
934
|
-
}, null, 8, ["modelValue", "restaurant-id"])) :
|
|
935
|
-
e(s).businessType === "juristic" ? (
|
|
1031
|
+
}, null, 8, ["modelValue", "restaurant-id"])) : $("", !0),
|
|
1032
|
+
e(s).businessType === "juristic" ? (f(), j(w, {
|
|
936
1033
|
key: 1,
|
|
937
1034
|
label: "VAT Certificate",
|
|
938
1035
|
type: "pdf",
|
|
939
1036
|
modelValue: e(i).vatCertificate,
|
|
940
|
-
"onUpdate:modelValue":
|
|
1037
|
+
"onUpdate:modelValue": a[20] || (a[20] = (r) => e(i).vatCertificate = r),
|
|
941
1038
|
"restaurant-id": p.submission.restaurantId
|
|
942
|
-
}, null, 8, ["modelValue", "restaurant-id"])) :
|
|
943
|
-
e(s).businessType === "individual" ? (
|
|
1039
|
+
}, null, 8, ["modelValue", "restaurant-id"])) : $("", !0),
|
|
1040
|
+
e(s).businessType === "individual" ? (f(), j(w, {
|
|
944
1041
|
key: 2,
|
|
945
1042
|
label: "Commercial Certificate",
|
|
946
1043
|
type: "pdf",
|
|
947
1044
|
modelValue: e(i).commercialCertificate,
|
|
948
|
-
"onUpdate:modelValue":
|
|
1045
|
+
"onUpdate:modelValue": a[21] || (a[21] = (r) => e(i).commercialCertificate = r),
|
|
949
1046
|
"restaurant-id": p.submission.restaurantId
|
|
950
|
-
}, null, 8, ["modelValue", "restaurant-id"])) :
|
|
1047
|
+
}, null, 8, ["modelValue", "restaurant-id"])) : $("", !0)
|
|
951
1048
|
]),
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
1049
|
+
a[42] || (a[42] = n("h3", { class: "font-semibold text-lg border-b pb-1 mt-6 mb-4" }, " Declaration Information ", -1)),
|
|
1050
|
+
n("div", el, [
|
|
1051
|
+
n("div", ll, [
|
|
1052
|
+
o(g, {
|
|
956
1053
|
modelValue: e(s).picName,
|
|
957
|
-
"onUpdate:modelValue":
|
|
1054
|
+
"onUpdate:modelValue": a[22] || (a[22] = (r) => e(s).picName = r),
|
|
958
1055
|
label: "PIC Name",
|
|
959
1056
|
"label-mark": "required",
|
|
960
1057
|
rules: e(u)(e(d).string().min(1, "PIC Name is required"))
|
|
961
1058
|
}, null, 8, ["modelValue", "rules"])
|
|
962
1059
|
]),
|
|
963
|
-
|
|
964
|
-
|
|
1060
|
+
n("div", al, [
|
|
1061
|
+
o(g, {
|
|
965
1062
|
modelValue: e(s).picRole,
|
|
966
|
-
"onUpdate:modelValue":
|
|
1063
|
+
"onUpdate:modelValue": a[23] || (a[23] = (r) => e(s).picRole = r),
|
|
967
1064
|
label: "PIC Role",
|
|
968
1065
|
"label-mark": "required",
|
|
969
1066
|
rules: e(u)(e(d).string().min(1, "PIC Role is required"))
|
|
970
1067
|
}, null, 8, ["modelValue", "rules"])
|
|
971
1068
|
]),
|
|
972
|
-
|
|
973
|
-
|
|
1069
|
+
n("div", tl, [
|
|
1070
|
+
o(g, {
|
|
974
1071
|
modelValue: e(s).picEmail,
|
|
975
|
-
"onUpdate:modelValue":
|
|
1072
|
+
"onUpdate:modelValue": a[24] || (a[24] = (r) => e(s).picEmail = r),
|
|
976
1073
|
label: "PIC Email",
|
|
977
1074
|
"label-mark": "required",
|
|
978
1075
|
rules: e(u)(e(d).string().min(1, "PIC Email is required"))
|
|
979
1076
|
}, null, 8, ["modelValue", "rules"])
|
|
980
1077
|
]),
|
|
981
|
-
|
|
982
|
-
|
|
1078
|
+
n("div", sl, [
|
|
1079
|
+
o(le, {
|
|
983
1080
|
"model-value": e(s).picContact,
|
|
984
|
-
"onUpdate:modelValue":
|
|
1081
|
+
"onUpdate:modelValue": a[25] || (a[25] = (r) => e(s).picContact = r),
|
|
985
1082
|
"default-country": "TH",
|
|
986
1083
|
label: "PIC Contact",
|
|
987
1084
|
"label-mark": "required",
|
|
988
1085
|
rules: e(u)(e(d).string().min(1, "PIC Contact is required"))
|
|
989
1086
|
}, null, 8, ["model-value", "rules"])
|
|
990
1087
|
]),
|
|
991
|
-
|
|
992
|
-
|
|
1088
|
+
n("div", nl, [
|
|
1089
|
+
o(g, {
|
|
993
1090
|
modelValue: e(s).witnessName,
|
|
994
|
-
"onUpdate:modelValue":
|
|
1091
|
+
"onUpdate:modelValue": a[26] || (a[26] = (r) => e(s).witnessName = r),
|
|
995
1092
|
label: "Witness Name",
|
|
996
1093
|
"label-mark": "required",
|
|
997
1094
|
rules: e(u)(e(d).string().min(1, "Witness Name is required"))
|
|
998
1095
|
}, null, 8, ["modelValue", "rules"])
|
|
999
1096
|
]),
|
|
1000
|
-
|
|
1001
|
-
|
|
1097
|
+
n("div", ol, [
|
|
1098
|
+
o(g, {
|
|
1002
1099
|
modelValue: e(s).witnessRole,
|
|
1003
|
-
"onUpdate:modelValue":
|
|
1100
|
+
"onUpdate:modelValue": a[27] || (a[27] = (r) => e(s).witnessRole = r),
|
|
1004
1101
|
label: "Witness Role",
|
|
1005
1102
|
"label-mark": "required",
|
|
1006
1103
|
rules: e(u)(e(d).string().min(1, "Witness Role is required"))
|
|
1007
1104
|
}, null, 8, ["modelValue", "rules"])
|
|
1008
1105
|
]),
|
|
1009
|
-
|
|
1106
|
+
o(w, {
|
|
1010
1107
|
label: "Signature",
|
|
1011
1108
|
type: "image",
|
|
1012
1109
|
modelValue: e(i).signature,
|
|
1013
|
-
"onUpdate:modelValue":
|
|
1110
|
+
"onUpdate:modelValue": a[28] || (a[28] = (r) => e(i).signature = r),
|
|
1014
1111
|
"restaurant-id": p.submission.restaurantId
|
|
1015
1112
|
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
1016
|
-
|
|
1113
|
+
o(w, {
|
|
1017
1114
|
label: "Witness Signature",
|
|
1018
1115
|
type: "image",
|
|
1019
1116
|
modelValue: e(i).witnessSignature,
|
|
1020
|
-
"onUpdate:modelValue":
|
|
1117
|
+
"onUpdate:modelValue": a[29] || (a[29] = (r) => e(i).witnessSignature = r),
|
|
1021
1118
|
"restaurant-id": p.submission.restaurantId
|
|
1022
1119
|
}, null, 8, ["modelValue", "restaurant-id"]),
|
|
1023
|
-
|
|
1120
|
+
o(w, {
|
|
1024
1121
|
label: "Company Stamp",
|
|
1025
1122
|
type: "image",
|
|
1026
1123
|
modelValue: e(i).companyStamp,
|
|
1027
|
-
"onUpdate:modelValue":
|
|
1124
|
+
"onUpdate:modelValue": a[30] || (a[30] = (r) => e(i).companyStamp = r),
|
|
1028
1125
|
"restaurant-id": p.submission.restaurantId
|
|
1029
1126
|
}, null, 8, ["modelValue", "restaurant-id"])
|
|
1030
1127
|
])
|
|
@@ -1034,10 +1131,10 @@ const se = ["src"], P = /* @__PURE__ */ M({
|
|
|
1034
1131
|
], 64);
|
|
1035
1132
|
};
|
|
1036
1133
|
}
|
|
1037
|
-
}),
|
|
1134
|
+
}), il = {
|
|
1038
1135
|
key: 0,
|
|
1039
1136
|
class: "flex items-center justify-center min-h-[80vh]"
|
|
1040
|
-
},
|
|
1137
|
+
}, ul = { class: "px-32 pb-32" }, Cl = /* @__PURE__ */ G({
|
|
1041
1138
|
__name: "OnboardForm",
|
|
1042
1139
|
props: {
|
|
1043
1140
|
submissionId: {
|
|
@@ -1046,87 +1143,87 @@ const se = ["src"], P = /* @__PURE__ */ M({
|
|
|
1046
1143
|
}
|
|
1047
1144
|
},
|
|
1048
1145
|
setup(p) {
|
|
1049
|
-
const { startAsyncCall:
|
|
1146
|
+
const { startAsyncCall: A, isLoading: S } = Z(), P = h(), k = p, F = re(), c = E(null), I = () => {
|
|
1050
1147
|
if (window.history.length > 1) {
|
|
1051
|
-
|
|
1148
|
+
F.back();
|
|
1052
1149
|
return;
|
|
1053
1150
|
}
|
|
1054
|
-
|
|
1151
|
+
F.push({ name: "mf-payment-admin.onboard-submission" });
|
|
1055
1152
|
};
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1153
|
+
se(() => {
|
|
1154
|
+
A(async () => {
|
|
1155
|
+
c.value = await z.readById(k.submissionId);
|
|
1059
1156
|
});
|
|
1060
1157
|
});
|
|
1061
|
-
const s =
|
|
1062
|
-
if (!
|
|
1063
|
-
switch (
|
|
1158
|
+
const s = Q(() => {
|
|
1159
|
+
if (!c.value) return null;
|
|
1160
|
+
switch (c.value.type) {
|
|
1064
1161
|
case "softspace":
|
|
1065
|
-
return
|
|
1162
|
+
return $e;
|
|
1066
1163
|
case "ntt":
|
|
1067
|
-
return
|
|
1164
|
+
return rl;
|
|
1068
1165
|
default:
|
|
1069
1166
|
return null;
|
|
1070
1167
|
}
|
|
1071
|
-
}), i =
|
|
1072
|
-
function
|
|
1073
|
-
|
|
1168
|
+
}), i = E(0);
|
|
1169
|
+
function U(C) {
|
|
1170
|
+
c.value = C, i.value = Date.now();
|
|
1074
1171
|
}
|
|
1075
|
-
const b = async (
|
|
1076
|
-
var
|
|
1077
|
-
if (
|
|
1078
|
-
switch (
|
|
1172
|
+
const b = async (C) => {
|
|
1173
|
+
var D, N;
|
|
1174
|
+
if (c.value)
|
|
1175
|
+
switch (C) {
|
|
1079
1176
|
case "preview":
|
|
1080
1177
|
let m;
|
|
1081
1178
|
try {
|
|
1082
|
-
m =
|
|
1179
|
+
m = P.open({
|
|
1083
1180
|
message: "Generating preview document...",
|
|
1084
1181
|
type: "info"
|
|
1085
|
-
}), await
|
|
1086
|
-
(
|
|
1182
|
+
}), await z.previewDocument(
|
|
1183
|
+
(D = c.value) == null ? void 0 : D._id
|
|
1087
1184
|
);
|
|
1088
|
-
} catch (
|
|
1089
|
-
|
|
1185
|
+
} catch (B) {
|
|
1186
|
+
P.open({
|
|
1090
1187
|
type: "error",
|
|
1091
1188
|
title: "Error occurs when generating submission document",
|
|
1092
|
-
message:
|
|
1189
|
+
message: H(B)
|
|
1093
1190
|
});
|
|
1094
1191
|
} finally {
|
|
1095
|
-
m &&
|
|
1192
|
+
m && P.close(m);
|
|
1096
1193
|
}
|
|
1097
1194
|
break;
|
|
1098
1195
|
case "send":
|
|
1099
1196
|
try {
|
|
1100
|
-
|
|
1197
|
+
P.open({
|
|
1101
1198
|
message: "Sending onboarding document...",
|
|
1102
1199
|
type: "info"
|
|
1103
|
-
}), await
|
|
1104
|
-
(
|
|
1105
|
-
),
|
|
1200
|
+
}), await z.sendDocument(
|
|
1201
|
+
(N = c.value) == null ? void 0 : N._id
|
|
1202
|
+
), P.open({
|
|
1106
1203
|
type: "success",
|
|
1107
1204
|
title: "Submission documents send successfully"
|
|
1108
1205
|
});
|
|
1109
|
-
} catch (
|
|
1110
|
-
|
|
1206
|
+
} catch (B) {
|
|
1207
|
+
P.open({
|
|
1111
1208
|
type: "error",
|
|
1112
1209
|
title: "Error occurs when sending document",
|
|
1113
|
-
message:
|
|
1210
|
+
message: H(B)
|
|
1114
1211
|
});
|
|
1115
1212
|
}
|
|
1116
1213
|
break;
|
|
1117
1214
|
}
|
|
1118
1215
|
};
|
|
1119
|
-
return (
|
|
1120
|
-
var
|
|
1121
|
-
const
|
|
1122
|
-
return e(
|
|
1123
|
-
|
|
1124
|
-
])) : (
|
|
1125
|
-
|
|
1126
|
-
title: `Submission - ${(
|
|
1127
|
-
description: `ID - ${(
|
|
1216
|
+
return (C, D) => {
|
|
1217
|
+
var B, T;
|
|
1218
|
+
const N = q("FmCircularProgress"), m = q("FmPageHead");
|
|
1219
|
+
return e(S) ? (f(), O("div", il, [
|
|
1220
|
+
o(N, { size: "xxl" })
|
|
1221
|
+
])) : (f(), O(K, { key: 1 }, [
|
|
1222
|
+
o(m, {
|
|
1223
|
+
title: `Submission - ${(B = c.value) == null ? void 0 : B.type}`,
|
|
1224
|
+
description: `ID - ${(T = c.value) == null ? void 0 : T._id}`,
|
|
1128
1225
|
"back-button": !0,
|
|
1129
|
-
"onClick:back":
|
|
1226
|
+
"onClick:back": I,
|
|
1130
1227
|
"onClick:action": b,
|
|
1131
1228
|
actions: [
|
|
1132
1229
|
{
|
|
@@ -1142,11 +1239,11 @@ const se = ["src"], P = /* @__PURE__ */ M({
|
|
|
1142
1239
|
}
|
|
1143
1240
|
]
|
|
1144
1241
|
}, null, 8, ["title", "description"]),
|
|
1145
|
-
|
|
1146
|
-
(
|
|
1242
|
+
n("div", ul, [
|
|
1243
|
+
(f(), j(ne(s.value), {
|
|
1147
1244
|
key: i.value,
|
|
1148
|
-
submission:
|
|
1149
|
-
"onUpdate:submission":
|
|
1245
|
+
submission: c.value,
|
|
1246
|
+
"onUpdate:submission": U
|
|
1150
1247
|
}, null, 40, ["submission"]))
|
|
1151
1248
|
])
|
|
1152
1249
|
], 64));
|
|
@@ -1154,5 +1251,5 @@ const se = ["src"], P = /* @__PURE__ */ M({
|
|
|
1154
1251
|
}
|
|
1155
1252
|
});
|
|
1156
1253
|
export {
|
|
1157
|
-
|
|
1254
|
+
Cl as default
|
|
1158
1255
|
};
|