@pisell/private-materials 6.8.9 → 6.8.11
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/Sales/Summary/utils.d.ts +1 -1
- package/es/components/booking/addons/model.d.ts +10 -1
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/info/model.d.ts +10 -1
- package/es/components/booking/info2/service/editService/index.js +32 -6
- package/es/components/booking/model.d.ts +9 -1
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +4 -4
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/store/index.d.ts +6 -6
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +61 -0
- package/es/components/pay/toC/model.d.ts +9 -1
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.js +1 -1
- package/es/components/ticketBooking/utils/index.d.ts +1 -1
- package/lib/components/Sales/Summary/utils.d.ts +1 -1
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/info/model.d.ts +10 -1
- package/lib/components/booking/info2/service/editService/index.js +22 -1
- package/lib/components/booking/model.d.ts +9 -1
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +4 -3
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/store/index.d.ts +6 -6
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +61 -0
- package/lib/components/pay/toC/model.d.ts +9 -1
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.js +1 -1
- package/lib/components/ticketBooking/utils/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title: 点击支付
|
|
3
|
+
* @description:
|
|
4
|
+
* @param {any} param1
|
|
5
|
+
* @return {*}
|
|
6
|
+
* @Author: Wzw
|
|
7
|
+
* @Date: 2022-10-22 10:05
|
|
8
|
+
*/
|
|
9
|
+
export declare const startPayment: ({ orderId, cardInfo, payData }: any, callback?: any) => Promise<boolean | undefined>;
|
|
10
|
+
/*******
|
|
11
|
+
* @title: 步骤2
|
|
12
|
+
* @description: 提交卡信息到后端
|
|
13
|
+
* @return {*}
|
|
14
|
+
* @Author: Wzw
|
|
15
|
+
* @Date: 2022-10-18 10:26
|
|
16
|
+
*/
|
|
17
|
+
export declare const checkEnrollment: (orderId: string, cardInfo: any, callback: any) => Promise<any>;
|
|
18
|
+
/**
|
|
19
|
+
* @title: 步骤3
|
|
20
|
+
* @description: 创建iframe, 监听
|
|
21
|
+
* @param {any} threeDSMethodData
|
|
22
|
+
* @return {*}
|
|
23
|
+
* @Author: Wzw
|
|
24
|
+
* @Date: 2022-10-18 10:36
|
|
25
|
+
*/
|
|
26
|
+
export declare const createThreeDSMethodIframe: (threeDSMethodData: any, callback: any) => Promise<unknown>;
|
|
27
|
+
/**
|
|
28
|
+
* @title: 步骤4
|
|
29
|
+
* @description:
|
|
30
|
+
* @param {any} param1
|
|
31
|
+
* @return {*}
|
|
32
|
+
* @Author: Wzw
|
|
33
|
+
* @Date: 2022-10-18 10:43
|
|
34
|
+
*/
|
|
35
|
+
export declare const checkTDSAuth: (step2: any, step3: any, callback?: any) => Promise<any>;
|
|
36
|
+
/**
|
|
37
|
+
* @title: 步骤5
|
|
38
|
+
* @description: 监听
|
|
39
|
+
* @param {any} challengeData
|
|
40
|
+
* @return {*}
|
|
41
|
+
* @Author: Wzw
|
|
42
|
+
* @Date: 2022-10-18 10:45
|
|
43
|
+
*/
|
|
44
|
+
export declare const createChallengeIframe: (challengeData: any, callback?: any) => Promise<unknown>;
|
|
45
|
+
/**
|
|
46
|
+
* @title: 步骤6
|
|
47
|
+
* @description:
|
|
48
|
+
* @param {any} cres
|
|
49
|
+
* @return {*}
|
|
50
|
+
* @Author: Wzw
|
|
51
|
+
* @Date: 2022-10-18 10:48
|
|
52
|
+
*/
|
|
53
|
+
export declare const checkPARes: (step2: any, step4: any, step5: any) => Promise<any>;
|
|
54
|
+
/**
|
|
55
|
+
* @title: 支付结束
|
|
56
|
+
* @description:
|
|
57
|
+
* @return {*}
|
|
58
|
+
* @Author: Wzw
|
|
59
|
+
* @Date: 2022-10-18 14:28
|
|
60
|
+
*/
|
|
61
|
+
export declare const paymentEnd: (props: any, callback: any) => void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export interface FormState {
|
|
2
3
|
platform: 'pc' | 'h5' | '' | undefined;
|
|
3
4
|
order: any;
|
|
@@ -29,4 +30,11 @@ export interface PayGroup {
|
|
|
29
30
|
_order: any;
|
|
30
31
|
front_order_uuid?: string;
|
|
31
32
|
}
|
|
32
|
-
export declare const Provider: any, Context:
|
|
33
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
34
|
+
state: FormState;
|
|
35
|
+
} & {
|
|
36
|
+
dispatch: (params: {
|
|
37
|
+
type: string;
|
|
38
|
+
payload: any;
|
|
39
|
+
}) => void;
|
|
40
|
+
}>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { CalendarDataItem, ScheduleItem } from "./type";
|
|
2
3
|
import dayjs from "dayjs";
|
|
3
4
|
export interface FormState {
|
|
@@ -68,4 +69,11 @@ export interface FormState {
|
|
|
68
69
|
};
|
|
69
70
|
setGlobalState: Function | null;
|
|
70
71
|
}
|
|
71
|
-
export declare const Provider: any, Context:
|
|
72
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
73
|
+
state: FormState;
|
|
74
|
+
} & {
|
|
75
|
+
dispatch: (params: {
|
|
76
|
+
type: string;
|
|
77
|
+
payload: any;
|
|
78
|
+
}) => void;
|
|
79
|
+
}>;
|
|
@@ -47,7 +47,7 @@ declare type ScanData = {
|
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
49
|
export declare const formatScanCustomer: (data: ScanData) => {
|
|
50
|
-
searchType: "
|
|
50
|
+
searchType: "product" | "customer" | "wallet" | "walletPass" | "local_product";
|
|
51
51
|
data: any;
|
|
52
52
|
scanCode: string;
|
|
53
53
|
} | null;
|