@feedmepos/mf-financing 0.0.6 → 0.0.7
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/Application-CyMgeDII.js +13832 -0
- package/dist/Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js +45 -0
- package/dist/Submission-BdBXosJD.js +164 -0
- package/dist/api/api.d.ts +34 -0
- package/dist/api/financing/index.d.ts +7 -0
- package/dist/api/{index.d.ts → portal_api.d.ts} +0 -16
- package/dist/api/workbook.d.ts +16 -0
- package/dist/app.d.ts +202 -0
- package/dist/app.js +433 -226
- package/dist/model/financing.d.ts +42 -0
- package/dist/package.json +2 -2
- package/dist/stores/app.d.ts +189 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/Submission.vue.d.ts +2 -0
- package/dist/views/components/FinancingDashboard.vue.d.ts +6 -0
- package/dist/views/components/FinancingStepper.vue.d.ts +7 -0
- package/package.json +2 -2
- package/dist/Application-BULHvQmM.js +0 -119
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { defineComponent as p, resolveComponent as i, openBlock as a, createElementBlock as c, createVNode as r, createElementVNode as d, renderSlot as u } from "vue";
|
|
2
|
+
import "@feedmepos/ui-library";
|
|
3
|
+
const k = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "flex items-center justify-center min-h-[80vh]"
|
|
6
|
+
}, b = {
|
|
7
|
+
key: 1,
|
|
8
|
+
class: "m-6"
|
|
9
|
+
}, f = { class: "bg-white fm-corner-radius-md p-6" }, v = /* @__PURE__ */ p({
|
|
10
|
+
__name: "Layout",
|
|
11
|
+
props: {
|
|
12
|
+
loading: { type: Boolean },
|
|
13
|
+
title: {},
|
|
14
|
+
description: {},
|
|
15
|
+
onBack: { type: Function },
|
|
16
|
+
actions: {}
|
|
17
|
+
},
|
|
18
|
+
setup(g) {
|
|
19
|
+
return (e, t) => {
|
|
20
|
+
const l = i("FmCircularProgress"), m = i("FmPageHead");
|
|
21
|
+
return e.loading ? (a(), c("div", k, [
|
|
22
|
+
r(l, { size: "xxl" })
|
|
23
|
+
])) : (a(), c("div", b, [
|
|
24
|
+
r(m, {
|
|
25
|
+
class: "flex-grow mb-6",
|
|
26
|
+
title: e.title,
|
|
27
|
+
description: e.description,
|
|
28
|
+
"back-button": !!e.onBack,
|
|
29
|
+
actions: e.actions && e.actions.map((n, o) => ({ ...n, value: `cta-${o}` })),
|
|
30
|
+
"onClick:back": e.onBack,
|
|
31
|
+
"onClick:action": t[0] || (t[0] = (n) => {
|
|
32
|
+
var o, s;
|
|
33
|
+
return (s = (o = e.actions) == null ? void 0 : o.at(parseInt(n.substring(4)))) == null ? void 0 : s.fn();
|
|
34
|
+
})
|
|
35
|
+
}, null, 8, ["title", "description", "back-button", "actions", "onClick:back"]),
|
|
36
|
+
d("div", f, [
|
|
37
|
+
u(e.$slots, "default")
|
|
38
|
+
])
|
|
39
|
+
]));
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
export {
|
|
44
|
+
v as _
|
|
45
|
+
};
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { defineComponent as P, ref as f, computed as x, resolveComponent as m, openBlock as q, createBlock as E, unref as a, withCtx as p, createElementVNode as r, toDisplayString as c, createVNode as t } from "vue";
|
|
2
|
+
import { _ as A } from "./Layout.vue_vue_type_script_setup_true_lang-DJm5br5a.js";
|
|
3
|
+
import { useI18n as F } from "@feedmepos/mf-common";
|
|
4
|
+
import { useRouter as k } from "vue-router";
|
|
5
|
+
const C = { class: "max-w-3xl" }, U = { class: "mb-8" }, B = { class: "text-lg font-medium text-fm-color-typo-primary mb-4 pb-2 border-b border-fm-color-neutral-gray-200" }, D = { class: "grid grid-cols-1 md:grid-cols-2 gap-4" }, S = { class: "mb-8" }, T = { class: "text-lg font-medium text-fm-color-typo-primary mb-4 pb-2 border-b border-fm-color-neutral-gray-200" }, j = { class: "grid grid-cols-1 md:grid-cols-2 gap-4" }, w = { class: "mb-8" }, $ = { class: "text-lg font-medium text-fm-color-typo-primary mb-4 pb-2 border-b border-fm-color-neutral-gray-200" }, M = { class: "grid grid-cols-1 md:grid-cols-2 gap-4" }, R = { class: "flex justify-end gap-4 pt-4 border-t border-fm-color-neutral-gray-200" }, I = { class: "text-lg font-medium" }, O = { class: "text-fm-color-typo-secondary mb-6" }, z = { class: "flex justify-end gap-3" }, W = /* @__PURE__ */ P({
|
|
6
|
+
__name: "Submission",
|
|
7
|
+
setup(G) {
|
|
8
|
+
const b = k(), { t: e } = F(), l = f({
|
|
9
|
+
businessName: "",
|
|
10
|
+
registrationNumber: "",
|
|
11
|
+
contactName: "",
|
|
12
|
+
contactEmail: "",
|
|
13
|
+
contactPhone: "",
|
|
14
|
+
loanAmount: void 0,
|
|
15
|
+
loanPurpose: ""
|
|
16
|
+
}), o = f({}), u = f(!1), v = x(() => l.value.businessName && l.value.registrationNumber && l.value.contactName && l.value.contactEmail && l.value.contactPhone && l.value.loanAmount && l.value.loanAmount > 0 && l.value.loanPurpose);
|
|
17
|
+
function y() {
|
|
18
|
+
return o.value = {}, l.value.businessName || (o.value.businessName = e("financing.apply.errors.required")), l.value.registrationNumber || (o.value.registrationNumber = e("financing.apply.errors.required")), l.value.contactName || (o.value.contactName = e("financing.apply.errors.required")), l.value.contactEmail ? /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(l.value.contactEmail) || (o.value.contactEmail = e("financing.apply.errors.invalidEmail")) : o.value.contactEmail = e("financing.apply.errors.required"), l.value.contactPhone || (o.value.contactPhone = e("financing.apply.errors.required")), (!l.value.loanAmount || l.value.loanAmount <= 0) && (o.value.loanAmount = e("financing.apply.errors.invalidAmount")), l.value.loanPurpose || (o.value.loanPurpose = e("financing.apply.errors.required")), Object.keys(o.value).length === 0;
|
|
19
|
+
}
|
|
20
|
+
function h() {
|
|
21
|
+
y() && (u.value = !0);
|
|
22
|
+
}
|
|
23
|
+
function N() {
|
|
24
|
+
u.value = !1, b.push({ name: "mf-financing-application" });
|
|
25
|
+
}
|
|
26
|
+
function g() {
|
|
27
|
+
b.push({ name: "mf-financing-application" });
|
|
28
|
+
}
|
|
29
|
+
return (H, n) => {
|
|
30
|
+
const s = m("FmTextField"), _ = m("FmTextarea"), d = m("FmButton"), V = m("FmDialog");
|
|
31
|
+
return q(), E(A, {
|
|
32
|
+
title: a(e)("financing.apply.title"),
|
|
33
|
+
description: a(e)("financing.apply.description"),
|
|
34
|
+
"on-back": g,
|
|
35
|
+
loading: !1
|
|
36
|
+
}, {
|
|
37
|
+
default: p(() => [
|
|
38
|
+
r("div", C, [
|
|
39
|
+
r("div", U, [
|
|
40
|
+
r("h3", B, c(a(e)("financing.apply.sections.business")), 1),
|
|
41
|
+
r("div", D, [
|
|
42
|
+
t(s, {
|
|
43
|
+
modelValue: l.value.businessName,
|
|
44
|
+
"onUpdate:modelValue": n[0] || (n[0] = (i) => l.value.businessName = i),
|
|
45
|
+
label: a(e)("financing.apply.fields.businessName"),
|
|
46
|
+
placeholder: a(e)("financing.apply.fields.businessNamePlaceholder"),
|
|
47
|
+
error: o.value.businessName,
|
|
48
|
+
required: ""
|
|
49
|
+
}, null, 8, ["modelValue", "label", "placeholder", "error"]),
|
|
50
|
+
t(s, {
|
|
51
|
+
modelValue: l.value.registrationNumber,
|
|
52
|
+
"onUpdate:modelValue": n[1] || (n[1] = (i) => l.value.registrationNumber = i),
|
|
53
|
+
label: a(e)("financing.apply.fields.registrationNumber"),
|
|
54
|
+
placeholder: a(e)("financing.apply.fields.registrationNumberPlaceholder"),
|
|
55
|
+
error: o.value.registrationNumber,
|
|
56
|
+
required: ""
|
|
57
|
+
}, null, 8, ["modelValue", "label", "placeholder", "error"])
|
|
58
|
+
])
|
|
59
|
+
]),
|
|
60
|
+
r("div", S, [
|
|
61
|
+
r("h3", T, c(a(e)("financing.apply.sections.contact")), 1),
|
|
62
|
+
r("div", j, [
|
|
63
|
+
t(s, {
|
|
64
|
+
modelValue: l.value.contactName,
|
|
65
|
+
"onUpdate:modelValue": n[2] || (n[2] = (i) => l.value.contactName = i),
|
|
66
|
+
label: a(e)("financing.apply.fields.contactName"),
|
|
67
|
+
placeholder: a(e)("financing.apply.fields.contactNamePlaceholder"),
|
|
68
|
+
error: o.value.contactName,
|
|
69
|
+
required: ""
|
|
70
|
+
}, null, 8, ["modelValue", "label", "placeholder", "error"]),
|
|
71
|
+
t(s, {
|
|
72
|
+
modelValue: l.value.contactEmail,
|
|
73
|
+
"onUpdate:modelValue": n[3] || (n[3] = (i) => l.value.contactEmail = i),
|
|
74
|
+
label: a(e)("financing.apply.fields.contactEmail"),
|
|
75
|
+
placeholder: a(e)("financing.apply.fields.contactEmailPlaceholder"),
|
|
76
|
+
error: o.value.contactEmail,
|
|
77
|
+
required: ""
|
|
78
|
+
}, null, 8, ["modelValue", "label", "placeholder", "error"]),
|
|
79
|
+
t(s, {
|
|
80
|
+
modelValue: l.value.contactPhone,
|
|
81
|
+
"onUpdate:modelValue": n[4] || (n[4] = (i) => l.value.contactPhone = i),
|
|
82
|
+
label: a(e)("financing.apply.fields.contactPhone"),
|
|
83
|
+
placeholder: a(e)("financing.apply.fields.contactPhonePlaceholder"),
|
|
84
|
+
error: o.value.contactPhone,
|
|
85
|
+
required: "",
|
|
86
|
+
class: "md:col-span-2"
|
|
87
|
+
}, null, 8, ["modelValue", "label", "placeholder", "error"])
|
|
88
|
+
])
|
|
89
|
+
]),
|
|
90
|
+
r("div", w, [
|
|
91
|
+
r("h3", $, c(a(e)("financing.apply.sections.loan")), 1),
|
|
92
|
+
r("div", M, [
|
|
93
|
+
t(s, {
|
|
94
|
+
modelValue: l.value.loanAmount,
|
|
95
|
+
"onUpdate:modelValue": n[5] || (n[5] = (i) => l.value.loanAmount = i),
|
|
96
|
+
modelModifiers: { number: !0 },
|
|
97
|
+
label: a(e)("financing.apply.fields.loanAmount"),
|
|
98
|
+
placeholder: a(e)("financing.apply.fields.loanAmountPlaceholder"),
|
|
99
|
+
error: o.value.loanAmount,
|
|
100
|
+
type: "number",
|
|
101
|
+
prefix: "RM",
|
|
102
|
+
required: ""
|
|
103
|
+
}, null, 8, ["modelValue", "label", "placeholder", "error"]),
|
|
104
|
+
t(_, {
|
|
105
|
+
modelValue: l.value.loanPurpose,
|
|
106
|
+
"onUpdate:modelValue": n[6] || (n[6] = (i) => l.value.loanPurpose = i),
|
|
107
|
+
label: a(e)("financing.apply.fields.loanPurpose"),
|
|
108
|
+
placeholder: a(e)("financing.apply.fields.loanPurposePlaceholder"),
|
|
109
|
+
error: o.value.loanPurpose,
|
|
110
|
+
required: "",
|
|
111
|
+
class: "md:col-span-2"
|
|
112
|
+
}, null, 8, ["modelValue", "label", "placeholder", "error"])
|
|
113
|
+
])
|
|
114
|
+
]),
|
|
115
|
+
r("div", R, [
|
|
116
|
+
t(d, {
|
|
117
|
+
variant: "secondary",
|
|
118
|
+
label: a(e)("financing.apply.buttons.cancel"),
|
|
119
|
+
onClick: g
|
|
120
|
+
}, null, 8, ["label"]),
|
|
121
|
+
t(d, {
|
|
122
|
+
variant: "primary",
|
|
123
|
+
label: a(e)("financing.apply.buttons.submit"),
|
|
124
|
+
disabled: !v.value,
|
|
125
|
+
onClick: h
|
|
126
|
+
}, null, 8, ["label", "disabled"])
|
|
127
|
+
])
|
|
128
|
+
]),
|
|
129
|
+
t(V, {
|
|
130
|
+
modelValue: u.value,
|
|
131
|
+
"onUpdate:modelValue": n[8] || (n[8] = (i) => u.value = i)
|
|
132
|
+
}, {
|
|
133
|
+
"dialog-button": p(() => n[9] || (n[9] = [
|
|
134
|
+
r("span", null, null, -1)
|
|
135
|
+
])),
|
|
136
|
+
"dialog-header": p(() => [
|
|
137
|
+
r("div", I, c(a(e)("financing.apply.confirm.title")), 1)
|
|
138
|
+
]),
|
|
139
|
+
default: p(() => [
|
|
140
|
+
r("p", O, c(a(e)("financing.apply.confirm.message")), 1),
|
|
141
|
+
r("div", z, [
|
|
142
|
+
t(d, {
|
|
143
|
+
variant: "secondary",
|
|
144
|
+
label: a(e)("financing.apply.confirm.cancel"),
|
|
145
|
+
onClick: n[7] || (n[7] = (i) => u.value = !1)
|
|
146
|
+
}, null, 8, ["label"]),
|
|
147
|
+
t(d, {
|
|
148
|
+
variant: "primary",
|
|
149
|
+
label: a(e)("financing.apply.confirm.confirm"),
|
|
150
|
+
onClick: N
|
|
151
|
+
}, null, 8, ["label"])
|
|
152
|
+
])
|
|
153
|
+
]),
|
|
154
|
+
_: 1
|
|
155
|
+
}, 8, ["modelValue"])
|
|
156
|
+
]),
|
|
157
|
+
_: 1
|
|
158
|
+
}, 8, ["title", "description"]);
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
});
|
|
162
|
+
export {
|
|
163
|
+
W as default
|
|
164
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines the contract for any API request. Each concrete request must
|
|
3
|
+
* specify its method, endpoint, and how to transform the response.
|
|
4
|
+
*/
|
|
5
|
+
export interface ApiContract {
|
|
6
|
+
/** The HTTP method (e.g., 'GET', 'POST', 'PUT', 'DELETE', 'PATCH'). */
|
|
7
|
+
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
8
|
+
/** The API endpoint path (e.g., '/users/1'). */
|
|
9
|
+
endpoint: string;
|
|
10
|
+
/** Optional query parameters for the request. */
|
|
11
|
+
query?: Record<string, string>;
|
|
12
|
+
/** Optional request body data. */
|
|
13
|
+
body?: unknown;
|
|
14
|
+
/** Workbook setting to download as file directly. */
|
|
15
|
+
workbook?: {
|
|
16
|
+
is: boolean;
|
|
17
|
+
filename: string;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export declare class ApiErrors extends Error {
|
|
21
|
+
code: string;
|
|
22
|
+
message: string;
|
|
23
|
+
constructor(code: string, message: string);
|
|
24
|
+
toString(): string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Executes a typed API request and returns the deserialized response.
|
|
28
|
+
*
|
|
29
|
+
* @template TResponse The expected shape of the JSON response body.
|
|
30
|
+
* @param request The request configuration (method, endpoint, body, query).
|
|
31
|
+
* @returns A promise that resolves to the response body of type TResponse.
|
|
32
|
+
*/
|
|
33
|
+
declare function request<TResponse>(contract: ApiContract, token?: string | null): Promise<TResponse>;
|
|
34
|
+
export default request;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Financing } from "@/model/financing";
|
|
2
|
+
import type { ApiContract } from "../api";
|
|
3
|
+
export type { Financing } from "@/model/financing";
|
|
4
|
+
export type GetFinancingsResponse = Financing[];
|
|
5
|
+
export declare function GetFinancings(restaurantId: string): ApiContract;
|
|
6
|
+
export type GetFinancingByIdResponse = Financing;
|
|
7
|
+
export declare function GetFinancingById(restaurantId: string, id: string): ApiContract;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { type PaginatedResult } from "@/model/pagination";
|
|
2
2
|
import { type AxiosInstance, type AxiosResponse } from "axios";
|
|
3
|
-
import type { WorkBook } from "xlsx";
|
|
4
3
|
type ApiVariant = "portal" | "auth";
|
|
5
4
|
interface ApiUrl {
|
|
6
5
|
portalBackendUrl: string;
|
|
@@ -30,21 +29,6 @@ export declare const authInstance: (config?: {
|
|
|
30
29
|
}) => AxiosInstance;
|
|
31
30
|
export declare const businessClientInstance: () => AxiosInstance;
|
|
32
31
|
export declare const restaurantClientInstance: (prefix?: string) => AxiosInstance;
|
|
33
|
-
type TransformFunction<T> = (value: T) => any;
|
|
34
|
-
type TransformFunctions<T> = {
|
|
35
|
-
[K in keyof T | string]?: TransformFunction<T[K | any]>;
|
|
36
|
-
};
|
|
37
|
-
export declare function flattenObject(obj: Record<string, any>, parentKey?: string): Record<string, any>;
|
|
38
|
-
export declare function localWorkbookAndDownload<T extends Object>(data: T[], options?: {
|
|
39
|
-
transformers?: TransformFunctions<T>;
|
|
40
|
-
exclude?: (keyof T | string)[];
|
|
41
|
-
include?: (keyof T | string)[];
|
|
42
|
-
rename?: Partial<Record<keyof T | string, string>>;
|
|
43
|
-
filename?: string;
|
|
44
|
-
}): void;
|
|
45
|
-
export declare function getWorkbookAndDownload(response: AxiosResponse<WorkBook>, filename: string): void;
|
|
46
|
-
export declare function openWith(blob: Blob, filename: string): void;
|
|
47
|
-
export declare function downloadAs(blob: Blob, filename: string): void;
|
|
48
32
|
export declare function getData<T>(response: AxiosResponse<T>): T;
|
|
49
33
|
export declare function getPaginatedResult<T>(response: AxiosResponse<PaginatedResult<T>>): PaginatedResult<T>;
|
|
50
34
|
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type TransformFunction<T> = (value: T) => any;
|
|
2
|
+
type TransformFunctions<T> = {
|
|
3
|
+
[K in keyof T | string]?: TransformFunction<T[K | any]>;
|
|
4
|
+
};
|
|
5
|
+
export declare function flattenObject(obj: Record<string, any>, parentKey?: string): Record<string, any>;
|
|
6
|
+
export declare function localWorkbookAndDownload<T extends Object>(data: T[], options?: {
|
|
7
|
+
transformers?: TransformFunctions<T>;
|
|
8
|
+
exclude?: (keyof T | string)[];
|
|
9
|
+
include?: (keyof T | string)[];
|
|
10
|
+
rename?: Partial<Record<keyof T | string, string>>;
|
|
11
|
+
filename?: string;
|
|
12
|
+
}): void;
|
|
13
|
+
export declare function getWorkbookAndDownload(response: ArrayBuffer, filename: string): void;
|
|
14
|
+
export declare function openWith(blob: Blob, filename: string): void;
|
|
15
|
+
export declare function downloadAs(blob: Blob, filename: string): void;
|
|
16
|
+
export {};
|
package/dist/app.d.ts
CHANGED
|
@@ -8,6 +8,107 @@ export declare const i18nMessages: {
|
|
|
8
8
|
routes: {
|
|
9
9
|
application: string;
|
|
10
10
|
};
|
|
11
|
+
components: {
|
|
12
|
+
restaurant: string;
|
|
13
|
+
select: string;
|
|
14
|
+
};
|
|
15
|
+
infoCard: {
|
|
16
|
+
title: string;
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
19
|
+
stepper: {
|
|
20
|
+
title: string;
|
|
21
|
+
description: string;
|
|
22
|
+
steps: {
|
|
23
|
+
eligibility: {
|
|
24
|
+
title: string;
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
apply: {
|
|
28
|
+
title: string;
|
|
29
|
+
description: string;
|
|
30
|
+
};
|
|
31
|
+
processing: {
|
|
32
|
+
title: string;
|
|
33
|
+
description: string;
|
|
34
|
+
};
|
|
35
|
+
disbursed: {
|
|
36
|
+
title: string;
|
|
37
|
+
description: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
dashboard: {
|
|
42
|
+
totalLoan: string;
|
|
43
|
+
totalPaid: string;
|
|
44
|
+
remainingBalance: string;
|
|
45
|
+
repaymentProgress: string;
|
|
46
|
+
payments: string;
|
|
47
|
+
completed: string;
|
|
48
|
+
upcomingPayments: string;
|
|
49
|
+
dueDate: string;
|
|
50
|
+
allPaid: string;
|
|
51
|
+
paymentHistory: string;
|
|
52
|
+
table: {
|
|
53
|
+
dueDate: string;
|
|
54
|
+
amount: string;
|
|
55
|
+
status: string;
|
|
56
|
+
paidDate: string;
|
|
57
|
+
};
|
|
58
|
+
status: {
|
|
59
|
+
pending: string;
|
|
60
|
+
paid: string;
|
|
61
|
+
overdue: string;
|
|
62
|
+
};
|
|
63
|
+
principalLoan: string;
|
|
64
|
+
paidAmount: string;
|
|
65
|
+
overdueAmount: string;
|
|
66
|
+
lastUpdated: string;
|
|
67
|
+
};
|
|
68
|
+
apply: {
|
|
69
|
+
title: string;
|
|
70
|
+
description: string;
|
|
71
|
+
sections: {
|
|
72
|
+
business: string;
|
|
73
|
+
contact: string;
|
|
74
|
+
loan: string;
|
|
75
|
+
documents: string;
|
|
76
|
+
};
|
|
77
|
+
fields: {
|
|
78
|
+
businessName: string;
|
|
79
|
+
businessNamePlaceholder: string;
|
|
80
|
+
registrationNumber: string;
|
|
81
|
+
registrationNumberPlaceholder: string;
|
|
82
|
+
contactName: string;
|
|
83
|
+
contactNamePlaceholder: string;
|
|
84
|
+
contactEmail: string;
|
|
85
|
+
contactEmailPlaceholder: string;
|
|
86
|
+
contactPhone: string;
|
|
87
|
+
contactPhonePlaceholder: string;
|
|
88
|
+
loanAmount: string;
|
|
89
|
+
loanAmountPlaceholder: string;
|
|
90
|
+
loanPurpose: string;
|
|
91
|
+
loanPurposePlaceholder: string;
|
|
92
|
+
ssmCertificate: string;
|
|
93
|
+
bankStatement: string;
|
|
94
|
+
financialStatement: string;
|
|
95
|
+
};
|
|
96
|
+
errors: {
|
|
97
|
+
required: string;
|
|
98
|
+
invalidEmail: string;
|
|
99
|
+
invalidAmount: string;
|
|
100
|
+
};
|
|
101
|
+
buttons: {
|
|
102
|
+
cancel: string;
|
|
103
|
+
submit: string;
|
|
104
|
+
};
|
|
105
|
+
confirm: {
|
|
106
|
+
title: string;
|
|
107
|
+
message: string;
|
|
108
|
+
cancel: string;
|
|
109
|
+
confirm: string;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
11
112
|
};
|
|
12
113
|
};
|
|
13
114
|
"zh-CN": {
|
|
@@ -16,6 +117,107 @@ export declare const i18nMessages: {
|
|
|
16
117
|
routes: {
|
|
17
118
|
application: string;
|
|
18
119
|
};
|
|
120
|
+
components: {
|
|
121
|
+
restaurant: string;
|
|
122
|
+
select: string;
|
|
123
|
+
};
|
|
124
|
+
infoCard: {
|
|
125
|
+
title: string;
|
|
126
|
+
description: string;
|
|
127
|
+
};
|
|
128
|
+
stepper: {
|
|
129
|
+
title: string;
|
|
130
|
+
description: string;
|
|
131
|
+
steps: {
|
|
132
|
+
eligibility: {
|
|
133
|
+
title: string;
|
|
134
|
+
description: string;
|
|
135
|
+
};
|
|
136
|
+
apply: {
|
|
137
|
+
title: string;
|
|
138
|
+
description: string;
|
|
139
|
+
};
|
|
140
|
+
processing: {
|
|
141
|
+
title: string;
|
|
142
|
+
description: string;
|
|
143
|
+
};
|
|
144
|
+
disbursed: {
|
|
145
|
+
title: string;
|
|
146
|
+
description: string;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
dashboard: {
|
|
151
|
+
totalLoan: string;
|
|
152
|
+
totalPaid: string;
|
|
153
|
+
remainingBalance: string;
|
|
154
|
+
repaymentProgress: string;
|
|
155
|
+
payments: string;
|
|
156
|
+
completed: string;
|
|
157
|
+
upcomingPayments: string;
|
|
158
|
+
dueDate: string;
|
|
159
|
+
allPaid: string;
|
|
160
|
+
paymentHistory: string;
|
|
161
|
+
table: {
|
|
162
|
+
dueDate: string;
|
|
163
|
+
amount: string;
|
|
164
|
+
status: string;
|
|
165
|
+
paidDate: string;
|
|
166
|
+
};
|
|
167
|
+
status: {
|
|
168
|
+
pending: string;
|
|
169
|
+
paid: string;
|
|
170
|
+
overdue: string;
|
|
171
|
+
};
|
|
172
|
+
principalLoan: string;
|
|
173
|
+
paidAmount: string;
|
|
174
|
+
overdueAmount: string;
|
|
175
|
+
lastUpdated: string;
|
|
176
|
+
};
|
|
177
|
+
apply: {
|
|
178
|
+
title: string;
|
|
179
|
+
description: string;
|
|
180
|
+
sections: {
|
|
181
|
+
business: string;
|
|
182
|
+
contact: string;
|
|
183
|
+
loan: string;
|
|
184
|
+
documents: string;
|
|
185
|
+
};
|
|
186
|
+
fields: {
|
|
187
|
+
businessName: string;
|
|
188
|
+
businessNamePlaceholder: string;
|
|
189
|
+
registrationNumber: string;
|
|
190
|
+
registrationNumberPlaceholder: string;
|
|
191
|
+
contactName: string;
|
|
192
|
+
contactNamePlaceholder: string;
|
|
193
|
+
contactEmail: string;
|
|
194
|
+
contactEmailPlaceholder: string;
|
|
195
|
+
contactPhone: string;
|
|
196
|
+
contactPhonePlaceholder: string;
|
|
197
|
+
loanAmount: string;
|
|
198
|
+
loanAmountPlaceholder: string;
|
|
199
|
+
loanPurpose: string;
|
|
200
|
+
loanPurposePlaceholder: string;
|
|
201
|
+
ssmCertificate: string;
|
|
202
|
+
bankStatement: string;
|
|
203
|
+
financialStatement: string;
|
|
204
|
+
};
|
|
205
|
+
errors: {
|
|
206
|
+
required: string;
|
|
207
|
+
invalidEmail: string;
|
|
208
|
+
invalidAmount: string;
|
|
209
|
+
};
|
|
210
|
+
buttons: {
|
|
211
|
+
cancel: string;
|
|
212
|
+
submit: string;
|
|
213
|
+
};
|
|
214
|
+
confirm: {
|
|
215
|
+
title: string;
|
|
216
|
+
message: string;
|
|
217
|
+
cancel: string;
|
|
218
|
+
confirm: string;
|
|
219
|
+
};
|
|
220
|
+
};
|
|
19
221
|
};
|
|
20
222
|
};
|
|
21
223
|
};
|