@feedmepos/mf-payment 0.0.0-beta.3 → 0.0.0-beta.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{PayoutAccount-BVljEwn3.js → PDFViewer-CjH_C1uT.js} +10851 -14329
- package/dist/PayoutAccount-0WC8znVs.js +3484 -0
- package/dist/{PayoutAccount-J3GJxUjj.js → PayoutAccount-DG7T6kD1.js} +99 -96
- package/dist/PayoutAccountSetting-CYEzOO_x.js +425 -0
- package/dist/{Settlement-C4IEccV6.js → Settlement-B7dxZllN.js} +3 -3
- package/dist/{Settlement-D4gdbOE0.js → Settlement-CcTtaP6I.js} +3 -3
- package/dist/{SettlementTransactions-DYelInkD.js → SettlementTransactions-CN80rfjl.js} +124 -128
- package/dist/{SettlementTransactions-C3dnWHkD.js → SettlementTransactions-DaPsFXU6.js} +4 -4
- package/dist/{Terminal-Co7KPrrb.js → Terminal-CMBB-Q32.js} +3 -3
- package/dist/{TerminalTransaction-CtVBUTMg.js → TerminalTransaction-MeyqLQ81.js} +4 -4
- package/dist/{Transaction-CvDEP2Uq.js → Transaction-BAQvj173.js} +4 -4
- package/dist/{Transaction-Rk0g5_Gn.js → Transaction-CATazx8y.js} +4 -4
- package/dist/api/payout/index.d.ts +2 -1
- package/dist/app.d.ts +3 -0
- package/dist/app.js +29 -23
- package/dist/{assets-CZ2m5tCN.js → assets-LSl507nH.js} +1 -1
- package/dist/components/PDFViewer.vue.d.ts +0 -2
- package/dist/error-K1CakhA9.js +6 -0
- package/dist/{index-B8_4waUa.js → index-B-3Vz_px.js} +1 -1
- package/dist/index-ONVv2EsB.js +40 -0
- package/dist/{index-DvzXwr90.js → index-RfsX2czs.js} +2 -3
- package/dist/{index-CjCiGW2Y.js → index-g9d8rwR_.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-y4tchjya.js → index.vue_vue_type_script_setup_true_lang-BB6McGpo.js} +1 -1
- package/dist/package.json +6 -6
- package/dist/{index-D-lMrCvM.js → payout-account-B1kRpd3u.js} +732 -763
- package/dist/plugins.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/{transaction-fdJNol6A.js → transaction-CfEK62PY.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/payout-account/PayoutAccountSetting.vue.d.ts +11 -1
- package/dist/views/admin/payout-account/cell/RateInput.vue.d.ts +8 -0
- package/dist/views/admin/payout-account/cell/TPlusInput.vue.d.ts +8 -0
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +81 -0
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +90 -0
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +81 -0
- package/package.json +18 -18
@@ -1,2 +1,12 @@
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2
|
+
accountId: {
|
3
|
+
type: StringConstructor;
|
4
|
+
required: true;
|
5
|
+
};
|
6
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
7
|
+
accountId: {
|
8
|
+
type: StringConstructor;
|
9
|
+
required: true;
|
10
|
+
};
|
11
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
2
12
|
export default _default;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
data: number;
|
3
|
+
onChange: (val: number) => void;
|
4
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
5
|
+
data: number;
|
6
|
+
onChange: (val: number) => void;
|
7
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
8
|
+
export default _default;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
2
|
+
data: number;
|
3
|
+
onChange: (val: number) => void;
|
4
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
5
|
+
data: number;
|
6
|
+
onChange: (val: number) => void;
|
7
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
8
|
+
export default _default;
|
@@ -0,0 +1,81 @@
|
|
1
|
+
import type { PropType } from 'vue';
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
3
|
+
payoutAccount: {
|
4
|
+
type: PropType<{
|
5
|
+
enable?: boolean | null | undefined;
|
6
|
+
ref?: any;
|
7
|
+
status: "NEW" | "PENDING" | "APPROVED";
|
8
|
+
_id: string;
|
9
|
+
store: {
|
10
|
+
bank?: {
|
11
|
+
type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
12
|
+
accountNumber?: string | null | undefined;
|
13
|
+
holderName?: string | null | undefined;
|
14
|
+
name: string;
|
15
|
+
} | null | undefined;
|
16
|
+
ssm?: string | null | undefined;
|
17
|
+
bankStatement?: string | null | undefined;
|
18
|
+
exteriorPhoto?: string | null | undefined;
|
19
|
+
keyPerson?: {
|
20
|
+
name: string;
|
21
|
+
phone: string;
|
22
|
+
email: string;
|
23
|
+
} | null | undefined;
|
24
|
+
id: string;
|
25
|
+
event: "ORDERING" | "MARKETING";
|
26
|
+
};
|
27
|
+
notifyUrl: string;
|
28
|
+
methods: {
|
29
|
+
rate?: {
|
30
|
+
amount: number;
|
31
|
+
precision: number;
|
32
|
+
} | null | undefined;
|
33
|
+
tPlus?: number | null | undefined;
|
34
|
+
issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
|
35
|
+
variant: string;
|
36
|
+
}[];
|
37
|
+
businessId: string;
|
38
|
+
}>;
|
39
|
+
required: true;
|
40
|
+
};
|
41
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
42
|
+
payoutAccount: {
|
43
|
+
type: PropType<{
|
44
|
+
enable?: boolean | null | undefined;
|
45
|
+
ref?: any;
|
46
|
+
status: "NEW" | "PENDING" | "APPROVED";
|
47
|
+
_id: string;
|
48
|
+
store: {
|
49
|
+
bank?: {
|
50
|
+
type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
51
|
+
accountNumber?: string | null | undefined;
|
52
|
+
holderName?: string | null | undefined;
|
53
|
+
name: string;
|
54
|
+
} | null | undefined;
|
55
|
+
ssm?: string | null | undefined;
|
56
|
+
bankStatement?: string | null | undefined;
|
57
|
+
exteriorPhoto?: string | null | undefined;
|
58
|
+
keyPerson?: {
|
59
|
+
name: string;
|
60
|
+
phone: string;
|
61
|
+
email: string;
|
62
|
+
} | null | undefined;
|
63
|
+
id: string;
|
64
|
+
event: "ORDERING" | "MARKETING";
|
65
|
+
};
|
66
|
+
notifyUrl: string;
|
67
|
+
methods: {
|
68
|
+
rate?: {
|
69
|
+
amount: number;
|
70
|
+
precision: number;
|
71
|
+
} | null | undefined;
|
72
|
+
tPlus?: number | null | undefined;
|
73
|
+
issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
|
74
|
+
variant: string;
|
75
|
+
}[];
|
76
|
+
businessId: string;
|
77
|
+
}>;
|
78
|
+
required: true;
|
79
|
+
};
|
80
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
81
|
+
export default _default;
|
@@ -0,0 +1,90 @@
|
|
1
|
+
import type { PayoutAccountWithRefDto } from '@feedmepos/payment-entity';
|
2
|
+
import { type PropType } from 'vue';
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
4
|
+
onUpdate: {
|
5
|
+
type: PropType<(account: PayoutAccountWithRefDto) => Promise<void>>;
|
6
|
+
required: true;
|
7
|
+
};
|
8
|
+
payoutAccount: {
|
9
|
+
type: PropType<{
|
10
|
+
enable?: boolean | null | undefined;
|
11
|
+
ref?: any;
|
12
|
+
status: "NEW" | "PENDING" | "APPROVED";
|
13
|
+
_id: string;
|
14
|
+
store: {
|
15
|
+
bank?: {
|
16
|
+
type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
17
|
+
accountNumber?: string | null | undefined;
|
18
|
+
holderName?: string | null | undefined;
|
19
|
+
name: string;
|
20
|
+
} | null | undefined;
|
21
|
+
ssm?: string | null | undefined;
|
22
|
+
bankStatement?: string | null | undefined;
|
23
|
+
exteriorPhoto?: string | null | undefined;
|
24
|
+
keyPerson?: {
|
25
|
+
name: string;
|
26
|
+
phone: string;
|
27
|
+
email: string;
|
28
|
+
} | null | undefined;
|
29
|
+
id: string;
|
30
|
+
event: "ORDERING" | "MARKETING";
|
31
|
+
};
|
32
|
+
notifyUrl: string;
|
33
|
+
methods: {
|
34
|
+
rate?: {
|
35
|
+
amount: number;
|
36
|
+
precision: number;
|
37
|
+
} | null | undefined;
|
38
|
+
tPlus?: number | null | undefined;
|
39
|
+
issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
|
40
|
+
variant: string;
|
41
|
+
}[];
|
42
|
+
businessId: string;
|
43
|
+
}>;
|
44
|
+
required: true;
|
45
|
+
};
|
46
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
47
|
+
onUpdate: {
|
48
|
+
type: PropType<(account: PayoutAccountWithRefDto) => Promise<void>>;
|
49
|
+
required: true;
|
50
|
+
};
|
51
|
+
payoutAccount: {
|
52
|
+
type: PropType<{
|
53
|
+
enable?: boolean | null | undefined;
|
54
|
+
ref?: any;
|
55
|
+
status: "NEW" | "PENDING" | "APPROVED";
|
56
|
+
_id: string;
|
57
|
+
store: {
|
58
|
+
bank?: {
|
59
|
+
type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
60
|
+
accountNumber?: string | null | undefined;
|
61
|
+
holderName?: string | null | undefined;
|
62
|
+
name: string;
|
63
|
+
} | null | undefined;
|
64
|
+
ssm?: string | null | undefined;
|
65
|
+
bankStatement?: string | null | undefined;
|
66
|
+
exteriorPhoto?: string | null | undefined;
|
67
|
+
keyPerson?: {
|
68
|
+
name: string;
|
69
|
+
phone: string;
|
70
|
+
email: string;
|
71
|
+
} | null | undefined;
|
72
|
+
id: string;
|
73
|
+
event: "ORDERING" | "MARKETING";
|
74
|
+
};
|
75
|
+
notifyUrl: string;
|
76
|
+
methods: {
|
77
|
+
rate?: {
|
78
|
+
amount: number;
|
79
|
+
precision: number;
|
80
|
+
} | null | undefined;
|
81
|
+
tPlus?: number | null | undefined;
|
82
|
+
issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
|
83
|
+
variant: string;
|
84
|
+
}[];
|
85
|
+
businessId: string;
|
86
|
+
}>;
|
87
|
+
required: true;
|
88
|
+
};
|
89
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
90
|
+
export default _default;
|
@@ -0,0 +1,81 @@
|
|
1
|
+
import type { PropType } from 'vue';
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
3
|
+
payoutAccount: {
|
4
|
+
type: PropType<{
|
5
|
+
enable?: boolean | null | undefined;
|
6
|
+
ref?: any;
|
7
|
+
status: "NEW" | "PENDING" | "APPROVED";
|
8
|
+
_id: string;
|
9
|
+
store: {
|
10
|
+
bank?: {
|
11
|
+
type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
12
|
+
accountNumber?: string | null | undefined;
|
13
|
+
holderName?: string | null | undefined;
|
14
|
+
name: string;
|
15
|
+
} | null | undefined;
|
16
|
+
ssm?: string | null | undefined;
|
17
|
+
bankStatement?: string | null | undefined;
|
18
|
+
exteriorPhoto?: string | null | undefined;
|
19
|
+
keyPerson?: {
|
20
|
+
name: string;
|
21
|
+
phone: string;
|
22
|
+
email: string;
|
23
|
+
} | null | undefined;
|
24
|
+
id: string;
|
25
|
+
event: "ORDERING" | "MARKETING";
|
26
|
+
};
|
27
|
+
notifyUrl: string;
|
28
|
+
methods: {
|
29
|
+
rate?: {
|
30
|
+
amount: number;
|
31
|
+
precision: number;
|
32
|
+
} | null | undefined;
|
33
|
+
tPlus?: number | null | undefined;
|
34
|
+
issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
|
35
|
+
variant: string;
|
36
|
+
}[];
|
37
|
+
businessId: string;
|
38
|
+
}>;
|
39
|
+
required: true;
|
40
|
+
};
|
41
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
42
|
+
payoutAccount: {
|
43
|
+
type: PropType<{
|
44
|
+
enable?: boolean | null | undefined;
|
45
|
+
ref?: any;
|
46
|
+
status: "NEW" | "PENDING" | "APPROVED";
|
47
|
+
_id: string;
|
48
|
+
store: {
|
49
|
+
bank?: {
|
50
|
+
type?: "OTHER" | "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
51
|
+
accountNumber?: string | null | undefined;
|
52
|
+
holderName?: string | null | undefined;
|
53
|
+
name: string;
|
54
|
+
} | null | undefined;
|
55
|
+
ssm?: string | null | undefined;
|
56
|
+
bankStatement?: string | null | undefined;
|
57
|
+
exteriorPhoto?: string | null | undefined;
|
58
|
+
keyPerson?: {
|
59
|
+
name: string;
|
60
|
+
phone: string;
|
61
|
+
email: string;
|
62
|
+
} | null | undefined;
|
63
|
+
id: string;
|
64
|
+
event: "ORDERING" | "MARKETING";
|
65
|
+
};
|
66
|
+
notifyUrl: string;
|
67
|
+
methods: {
|
68
|
+
rate?: {
|
69
|
+
amount: number;
|
70
|
+
precision: number;
|
71
|
+
} | null | undefined;
|
72
|
+
tPlus?: number | null | undefined;
|
73
|
+
issuer: "OTHER" | "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
|
74
|
+
variant: string;
|
75
|
+
}[];
|
76
|
+
businessId: string;
|
77
|
+
}>;
|
78
|
+
required: true;
|
79
|
+
};
|
80
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
81
|
+
export default _default;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@feedmepos/mf-payment",
|
3
|
-
"version": "0.0.0-beta.
|
3
|
+
"version": "0.0.0-beta.5",
|
4
4
|
"type": "module",
|
5
5
|
"files": [
|
6
6
|
"dist"
|
@@ -13,6 +13,22 @@
|
|
13
13
|
},
|
14
14
|
"./style": "./dist/style.css"
|
15
15
|
},
|
16
|
+
"scripts": {
|
17
|
+
"postinstall": "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity",
|
18
|
+
"lint": "eslint --ext .ts,vue --ignore-path .gitignore . --fix",
|
19
|
+
"dev": "vite --mode dev",
|
20
|
+
"prod": "vite --mode prod",
|
21
|
+
"preview": "vite preview",
|
22
|
+
"test": "jest",
|
23
|
+
"build:dts": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist",
|
24
|
+
"build-types": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false",
|
25
|
+
"build:mf:dev": "vite build --mode fmmf:dev",
|
26
|
+
"build:mf:prod": "vite build --mode fmmf:prod",
|
27
|
+
"build-only:dev": "pnpm build:mf:dev && pnpm build:dts && pnpm build-types && cp package.json ./dist",
|
28
|
+
"build-only:prod": "pnpm build:mf:prod && pnpm build:dts && pnpm build-types && cp package.json ./dist",
|
29
|
+
"deploy:dev": "pnpm run build-only:dev && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .",
|
30
|
+
"deploy:prod": "pnpm run build-only:prod && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks ."
|
31
|
+
},
|
16
32
|
"dependencies": {
|
17
33
|
"@casl/ability": "^3.2.0",
|
18
34
|
"@feedmepos/core": "^2.6.0",
|
@@ -81,21 +97,5 @@
|
|
81
97
|
"typescript": "~5.4.0",
|
82
98
|
"vite": "^5.2.11",
|
83
99
|
"vue-tsc": "^2.0.11"
|
84
|
-
},
|
85
|
-
"scripts": {
|
86
|
-
"lint": "eslint --ext .ts,vue --ignore-path .gitignore . --fix",
|
87
|
-
"dev": "vite --mode dev",
|
88
|
-
"prod": "vite --mode prod",
|
89
|
-
"preview": "vite preview",
|
90
|
-
"test": "jest",
|
91
|
-
"serve:prod": "yarn && vite --mode production",
|
92
|
-
"build:dts": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist",
|
93
|
-
"build-types": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false",
|
94
|
-
"build:mf:dev": "vite build --mode fmmf:dev",
|
95
|
-
"build:mf:prod": "vite build --mode fmmf:prod",
|
96
|
-
"build-only:dev": "pnpm build:mf:dev && pnpm build:dts && pnpm build-types && cp package.json ./dist && cd dist && pnpm version 0.0.0-beta.0 --no-git-tag-version",
|
97
|
-
"build-only:prod": "pnpm build:mf:prod && pnpm build:dts && pnpm build-types && cp package.json ./dist",
|
98
|
-
"deploy:dev": "pnpm run build-only:dev && pnpm publish --tag beta --no-git-checks .",
|
99
|
-
"deploy:prod": "pnpm run build-only:prod && pnpm publish --no-git-checks ."
|
100
100
|
}
|
101
|
-
}
|
101
|
+
}
|