@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.
Files changed (43) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/Sales/Summary/utils.d.ts +1 -1
  8. package/es/components/booking/addons/model.d.ts +10 -1
  9. package/es/components/booking/forms/model.d.ts +10 -1
  10. package/es/components/booking/info/model.d.ts +10 -1
  11. package/es/components/booking/info2/service/editService/index.js +32 -6
  12. package/es/components/booking/model.d.ts +9 -1
  13. package/es/components/booking/notes/model.d.ts +10 -1
  14. package/es/components/booking/payments/model.d.ts +10 -1
  15. package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +4 -4
  16. package/es/components/eftposPay/amount.d.ts +1 -1
  17. package/es/components/eftposPay/device.d.ts +1 -1
  18. package/es/components/eftposPay/hooks.d.ts +2 -2
  19. package/es/components/eftposPay/store/index.d.ts +6 -6
  20. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +61 -0
  21. package/es/components/pay/toC/model.d.ts +9 -1
  22. package/es/components/schedules/model.d.ts +9 -1
  23. package/es/components/ticketBooking/components/ProductDisplayAdapter/types.js +1 -1
  24. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  25. package/lib/components/Sales/Summary/utils.d.ts +1 -1
  26. package/lib/components/booking/addons/model.d.ts +10 -1
  27. package/lib/components/booking/forms/model.d.ts +10 -1
  28. package/lib/components/booking/info/model.d.ts +10 -1
  29. package/lib/components/booking/info2/service/editService/index.js +22 -1
  30. package/lib/components/booking/model.d.ts +9 -1
  31. package/lib/components/booking/notes/model.d.ts +10 -1
  32. package/lib/components/booking/payments/model.d.ts +10 -1
  33. package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.js +4 -3
  34. package/lib/components/eftposPay/amount.d.ts +1 -1
  35. package/lib/components/eftposPay/device.d.ts +1 -1
  36. package/lib/components/eftposPay/hooks.d.ts +2 -2
  37. package/lib/components/eftposPay/store/index.d.ts +6 -6
  38. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +61 -0
  39. package/lib/components/pay/toC/model.d.ts +9 -1
  40. package/lib/components/schedules/model.d.ts +9 -1
  41. package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.js +1 -1
  42. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  43. 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: any;
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: any;
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
+ }>;
@@ -150,7 +150,7 @@ var ProductDisplayPresets = {
150
150
  // 使用 switch 模式
151
151
  stickyTop: true,
152
152
  // Tab 吸顶
153
- columns: 5,
153
+ columns: 4,
154
154
  tabGroup: "category"
155
155
  },
156
156
  skuCardAllConfig: {
@@ -47,7 +47,7 @@ declare type ScanData = {
47
47
  };
48
48
  };
49
49
  export declare const formatScanCustomer: (data: ScanData) => {
50
- searchType: "customer" | "product" | "wallet" | "walletPass" | "local_product";
50
+ searchType: "product" | "customer" | "wallet" | "walletPass" | "local_product";
51
51
  data: any;
52
52
  scanCode: string;
53
53
  } | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "6.8.9",
3
+ "version": "6.8.11",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",