@pisell/private-materials 6.3.26 → 6.3.28

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 (41) 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/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +7 -7
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +7 -7
  11. package/es/components/eftposPay/linkly/index.js +64 -2
  12. package/es/components/pay/toC/PaymentMethods/ApplePay/index.js +68 -35
  13. package/es/components/pay/toC/PaymentMethods/GooglePay/index.js +70 -42
  14. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.js +72 -41
  15. package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +15 -0
  16. package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.js +143 -0
  17. package/es/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.less +34 -0
  18. package/es/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  19. package/es/components/pay/toC/PaymentMethods/hooks/index.js +126 -0
  20. package/es/components/pay/toC/index.js +3 -2
  21. package/es/components/pay/toC/locales.d.ts +9 -0
  22. package/es/components/pay/toC/locales.js +12 -3
  23. package/es/components/pay/toC/model.d.ts +1 -0
  24. package/es/components/pay/toC/serve.d.ts +5 -0
  25. package/es/components/pay/toC/serve.js +9 -1
  26. package/lib/components/eftposPay/linkly/index.js +31 -1
  27. package/lib/components/pay/toC/PaymentMethods/ApplePay/index.js +27 -7
  28. package/lib/components/pay/toC/PaymentMethods/GooglePay/index.js +32 -8
  29. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.js +30 -4
  30. package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.d.ts +15 -0
  31. package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.js +88 -0
  32. package/lib/components/pay/toC/PaymentMethods/components/PaymentReturnContent/index.less +34 -0
  33. package/lib/components/pay/toC/PaymentMethods/hooks/index.d.ts +19 -0
  34. package/lib/components/pay/toC/PaymentMethods/hooks/index.js +90 -0
  35. package/lib/components/pay/toC/index.js +2 -1
  36. package/lib/components/pay/toC/locales.d.ts +9 -0
  37. package/lib/components/pay/toC/locales.js +12 -3
  38. package/lib/components/pay/toC/model.d.ts +1 -0
  39. package/lib/components/pay/toC/serve.d.ts +5 -0
  40. package/lib/components/pay/toC/serve.js +3 -0
  41. package/package.json +4 -4
@@ -94,6 +94,9 @@ declare const _default: {
94
94
  'tocPay.text.youCanSelectMultipleWalletPassesToCombineForPayment': (walletName: string) => string;
95
95
  'tocPay.text.bestValueCombination': string;
96
96
  'tocPay.text.viewDetail': string;
97
+ 'tocPay.text.returnAndSelectOtherPaymentMethod': string;
98
+ 'tocPay.text.paymentCompletedAndViewOrder': string;
99
+ 'tocPay.text.paymentFailed': string;
97
100
  };
98
101
  'zh-CN': {
99
102
  'tocPay.text.checkout': string;
@@ -189,6 +192,9 @@ declare const _default: {
189
192
  'tocPay.text.youCanSelectMultipleWalletPassesToCombineForPayment': (walletName: string) => string;
190
193
  'tocPay.text.bestValueCombination': string;
191
194
  'tocPay.text.viewDetail': string;
195
+ 'tocPay.text.returnAndSelectOtherPaymentMethod': string;
196
+ 'tocPay.text.paymentCompletedAndViewOrder': string;
197
+ 'tocPay.text.paymentFailed': string;
192
198
  };
193
199
  'zh-HK': {
194
200
  'tocPay.text.checkout': string;
@@ -284,6 +290,9 @@ declare const _default: {
284
290
  'tocPay.text.youCanSelectMultipleWalletPassesToCombineForPayment': (walletName: string) => string;
285
291
  'tocPay.text.bestValueCombination': string;
286
292
  'tocPay.text.viewDetail': string;
293
+ 'tocPay.text.returnAndSelectOtherPaymentMethod': string;
294
+ 'tocPay.text.paymentCompletedAndViewOrder': string;
295
+ 'tocPay.text.paymentFailed': string;
287
296
  };
288
297
  };
289
298
  export default _default;
@@ -117,7 +117,10 @@ var locales_default = {
117
117
  "tocPay.text.multipleSelectionAvailable": "Multiple selection available",
118
118
  "tocPay.text.youCanSelectMultipleWalletPassesToCombineForPayment": (walletName) => `You can select multiple ${walletName} to combine for payment`,
119
119
  "tocPay.text.bestValueCombination": "Best value combination",
120
- "tocPay.text.viewDetail": "View detail"
120
+ "tocPay.text.viewDetail": "View detail",
121
+ "tocPay.text.returnAndSelectOtherPaymentMethod": "Go Back / Choose Another Payment",
122
+ "tocPay.text.paymentCompletedAndViewOrder": "Payment Completed / View Order",
123
+ "tocPay.text.paymentFailed": "Not paid yet, please check if the payment is successful"
121
124
  },
122
125
  "zh-CN": {
123
126
  "tocPay.text.checkout": "结账",
@@ -212,7 +215,10 @@ var locales_default = {
212
215
  "tocPay.text.multipleSelectionAvailable": "可多选",
213
216
  "tocPay.text.youCanSelectMultipleWalletPassesToCombineForPayment": (walletName) => `您可以选择多个${walletName}进行组合付款`,
214
217
  "tocPay.text.bestValueCombination": "最佳组合",
215
- "tocPay.text.viewDetail": "查看详情"
218
+ "tocPay.text.viewDetail": "查看详情",
219
+ "tocPay.text.returnAndSelectOtherPaymentMethod": "返回 / 选择其他支付方式",
220
+ "tocPay.text.paymentCompletedAndViewOrder": "支付完成 / 查看订单",
221
+ "tocPay.text.paymentFailed": "未支付完成,请检查是否支付成功"
216
222
  },
217
223
  "zh-HK": {
218
224
  "tocPay.text.checkout": "結帳",
@@ -307,6 +313,9 @@ var locales_default = {
307
313
  "tocPay.text.multipleSelectionAvailable": "可多選",
308
314
  "tocPay.text.youCanSelectMultipleWalletPassesToCombineForPayment": (walletName) => `您可以選擇多個${walletName}進行組合付款`,
309
315
  "tocPay.text.bestValueCombination": "最佳組合",
310
- "tocPay.text.viewDetail": "查看詳情"
316
+ "tocPay.text.viewDetail": "查看詳情",
317
+ "tocPay.text.returnAndSelectOtherPaymentMethod": "返回 / 選擇其他支付方式",
318
+ "tocPay.text.paymentCompletedAndViewOrder": "支付完成 / 查看訂單",
319
+ "tocPay.text.paymentFailed": "未支付完成,请检查是否支付成功"
311
320
  }
312
321
  };
@@ -27,5 +27,6 @@ export interface PayGroup {
27
27
  payment_priority?: string[];
28
28
  pay_number?: string;
29
29
  _order: any;
30
+ front_order_uuid?: string;
30
31
  }
31
32
  export declare const Provider: any, Context: any;
@@ -55,3 +55,8 @@ export declare const getWalletNameAndPopupStatus: (values: {
55
55
  popup_status?: 1 | 0;
56
56
  };
57
57
  }>;
58
+ /**
59
+ * @title: 获取支付结果
60
+ * @description: 获取支付结果
61
+ */
62
+ export declare const getPaymentResult: (values: any) => Promise<any>;
@@ -21,6 +21,7 @@ var serve_exports = {};
21
21
  __export(serve_exports, {
22
22
  getPaymentInit: () => getPaymentInit,
23
23
  getPaymentList: () => getPaymentList,
24
+ getPaymentResult: () => getPaymentResult,
24
25
  getPaymentsAndWalletPass: () => getPaymentsAndWalletPass,
25
26
  getWalletNameAndPopupStatus: () => getWalletNameAndPopupStatus
26
27
  });
@@ -75,10 +76,12 @@ var getWalletNameAndPopupStatus = async (values) => {
75
76
  const { data } = await import_utils.request.getRequest().get("/h5/wallet/setting", values);
76
77
  return data;
77
78
  };
79
+ var getPaymentResult = (values) => import_utils.request.getRequest().get(`/h5/pay/order/payment/result`, values);
78
80
  // Annotate the CommonJS export names for ESM import in node:
79
81
  0 && (module.exports = {
80
82
  getPaymentInit,
81
83
  getPaymentList,
84
+ getPaymentResult,
82
85
  getPaymentsAndWalletPass,
83
86
  getWalletNameAndPopupStatus
84
87
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "6.3.26",
3
+ "version": "6.3.28",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -59,10 +59,10 @@
59
59
  "react-infinite-scroll-component": "^6.1.0",
60
60
  "rc-virtual-list": "^3.11.3",
61
61
  "decimal.js": "^10.4.3",
62
- "@pisell/date-picker": "3.0.4",
63
- "@pisell/icon": "0.0.11",
64
62
  "@pisell/utils": "3.0.1",
65
- "@pisell/materials": "6.3.7"
63
+ "@pisell/materials": "6.3.7",
64
+ "@pisell/icon": "0.0.11",
65
+ "@pisell/date-picker": "3.0.4"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "react": "^18.0.0",