@pisell/private-materials 6.3.141 → 6.3.142

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 (181) 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/scanOrder/components/Content/index.js +21 -14
  8. package/es/components/scanOrder/components/Menu/index.d.ts +1 -0
  9. package/es/components/scanOrder/components/Menu/index.js +2 -1
  10. package/es/components/scanOrder/locales.d.ts +5 -0
  11. package/es/components/scanOrder/locales.js +5 -0
  12. package/lib/components/scanOrder/components/Content/index.js +4 -0
  13. package/lib/components/scanOrder/components/Menu/index.d.ts +1 -0
  14. package/lib/components/scanOrder/components/Menu/index.js +2 -2
  15. package/lib/components/scanOrder/locales.d.ts +5 -0
  16. package/lib/components/scanOrder/locales.js +5 -0
  17. package/package.json +1 -1
  18. package/es/components/appointmentBooking/components/Form/index.d.ts +0 -4
  19. package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
  20. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
  21. package/es/components/appointmentBooking/hooks.d.ts +0 -107
  22. package/es/components/appointmentBooking/utils.d.ts +0 -227
  23. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
  24. package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +0 -6
  25. package/es/components/booking/components/footer/utils.d.ts +0 -47
  26. package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -9
  27. package/es/components/booking/components/voucher/index.d.ts +0 -3
  28. package/es/components/booking/info/service/editService/constants.d.ts +0 -1
  29. package/es/components/booking/info/service/editService/index.d.ts +0 -7
  30. package/es/components/booking/info/service2/utils.d.ts +0 -248
  31. package/es/components/booking/info2/index.d.ts +0 -12
  32. package/es/components/booking/info2/service/addService/index.d.ts +0 -11
  33. package/es/components/booking/locales.d.ts +0 -1489
  34. package/es/components/booking/model.d.ts +0 -120
  35. package/es/components/eftposPay/amount.d.ts +0 -21
  36. package/es/components/eftposPay/app.d.ts +0 -10
  37. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -3
  38. package/es/components/eftposPay/component/fail/index.d.ts +0 -3
  39. package/es/components/eftposPay/component/fail/network.d.ts +0 -9
  40. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -10
  41. package/es/components/eftposPay/component/manual/index.d.ts +0 -9
  42. package/es/components/eftposPay/component/signature/index.d.ts +0 -9
  43. package/es/components/eftposPay/device.d.ts +0 -23
  44. package/es/components/eftposPay/index.d.ts +0 -4
  45. package/es/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
  46. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
  47. package/es/components/eftposPay/linkly/index.d.ts +0 -2
  48. package/es/components/eftposPay/pay.d.ts +0 -20
  49. package/es/components/eftposPay/payo/config.d.ts +0 -13
  50. package/es/components/eftposPay/payo/hooks.d.ts +0 -10
  51. package/es/components/eftposPay/payo/payment.d.ts +0 -66
  52. package/es/components/eftposPay/tip.d.ts +0 -10
  53. package/es/components/eftposPay/tyro/index.d.ts +0 -9
  54. package/es/components/eftposPay/utils/payLog.d.ts +0 -81
  55. package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -23
  56. package/es/components/eftposPay/windcave/windcave.d.ts +0 -7
  57. package/es/components/kioskSkuDetail/index.d.ts +0 -39
  58. package/es/components/kioskSkuDetail/locales.d.ts +0 -48
  59. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
  60. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
  61. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
  62. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +0 -16
  63. package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +0 -15
  64. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -83
  65. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
  66. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +0 -10
  67. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -22
  68. package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
  69. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -16
  70. package/es/components/pay/toC/PaymentMethods/index.d.ts +0 -9
  71. package/es/components/pay/toC/index.d.ts +0 -3
  72. package/es/components/pay/toC/locales.d.ts +0 -631
  73. package/es/components/pay/toC/payGroup.d.ts +0 -59
  74. package/es/components/pay/toC/serve.d.ts +0 -87
  75. package/es/components/pay/toC/utils.d.ts +0 -65
  76. package/es/components/ruleSetting/locales.d.ts +0 -78
  77. package/es/components/systemSettings/registry/components/GroupModal.d.ts +0 -4
  78. package/es/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
  79. package/es/components/systemSettings/registry/index.d.ts +0 -5
  80. package/es/components/systemSettings/registry/services.d.ts +0 -99
  81. package/es/components/systemSettings/registry/types.d.ts +0 -143
  82. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
  83. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
  84. package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -12
  85. package/es/components/ticketBooking/index.d.ts +0 -7
  86. package/es/index.d.ts +0 -87
  87. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
  88. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -4
  89. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -16
  90. package/es/plus/skuOptionsSelection/index.d.ts +0 -5
  91. package/es/plus/skuOptionsSelection/locales.d.ts +0 -58
  92. package/es/plus/skuOptionsSelection/types.d.ts +0 -458
  93. package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
  94. package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
  95. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
  96. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  97. package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
  98. package/es/pro/Cards/components/SKUCard/index.d.ts +0 -5
  99. package/es/pro/Login2.0/components/phoneValidation.d.ts +0 -17
  100. package/lib/components/appointmentBooking/components/Form/index.d.ts +0 -4
  101. package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
  102. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
  103. package/lib/components/appointmentBooking/hooks.d.ts +0 -107
  104. package/lib/components/appointmentBooking/utils.d.ts +0 -227
  105. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +0 -6
  106. package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +0 -6
  107. package/lib/components/booking/components/footer/utils.d.ts +0 -47
  108. package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -9
  109. package/lib/components/booking/components/voucher/index.d.ts +0 -3
  110. package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
  111. package/lib/components/booking/info/service/editService/index.d.ts +0 -7
  112. package/lib/components/booking/info/service2/utils.d.ts +0 -248
  113. package/lib/components/booking/info2/index.d.ts +0 -12
  114. package/lib/components/booking/info2/service/addService/index.d.ts +0 -11
  115. package/lib/components/booking/locales.d.ts +0 -1489
  116. package/lib/components/booking/model.d.ts +0 -120
  117. package/lib/components/eftposPay/amount.d.ts +0 -21
  118. package/lib/components/eftposPay/app.d.ts +0 -10
  119. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -3
  120. package/lib/components/eftposPay/component/fail/index.d.ts +0 -3
  121. package/lib/components/eftposPay/component/fail/network.d.ts +0 -9
  122. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -10
  123. package/lib/components/eftposPay/component/manual/index.d.ts +0 -9
  124. package/lib/components/eftposPay/component/signature/index.d.ts +0 -9
  125. package/lib/components/eftposPay/device.d.ts +0 -23
  126. package/lib/components/eftposPay/index.d.ts +0 -4
  127. package/lib/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
  128. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
  129. package/lib/components/eftposPay/linkly/index.d.ts +0 -2
  130. package/lib/components/eftposPay/pay.d.ts +0 -20
  131. package/lib/components/eftposPay/payo/config.d.ts +0 -13
  132. package/lib/components/eftposPay/payo/hooks.d.ts +0 -10
  133. package/lib/components/eftposPay/payo/payment.d.ts +0 -66
  134. package/lib/components/eftposPay/tip.d.ts +0 -10
  135. package/lib/components/eftposPay/tyro/index.d.ts +0 -9
  136. package/lib/components/eftposPay/utils/payLog.d.ts +0 -81
  137. package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -23
  138. package/lib/components/eftposPay/windcave/windcave.d.ts +0 -7
  139. package/lib/components/kioskSkuDetail/index.d.ts +0 -39
  140. package/lib/components/kioskSkuDetail/locales.d.ts +0 -48
  141. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
  142. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
  143. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
  144. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +0 -16
  145. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +0 -15
  146. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -83
  147. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
  148. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +0 -10
  149. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +0 -22
  150. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -25
  151. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -16
  152. package/lib/components/pay/toC/PaymentMethods/index.d.ts +0 -9
  153. package/lib/components/pay/toC/index.d.ts +0 -3
  154. package/lib/components/pay/toC/locales.d.ts +0 -631
  155. package/lib/components/pay/toC/payGroup.d.ts +0 -59
  156. package/lib/components/pay/toC/serve.d.ts +0 -87
  157. package/lib/components/pay/toC/utils.d.ts +0 -65
  158. package/lib/components/ruleSetting/locales.d.ts +0 -78
  159. package/lib/components/systemSettings/registry/components/GroupModal.d.ts +0 -4
  160. package/lib/components/systemSettings/registry/components/ItemModal.d.ts +0 -4
  161. package/lib/components/systemSettings/registry/index.d.ts +0 -5
  162. package/lib/components/systemSettings/registry/services.d.ts +0 -99
  163. package/lib/components/systemSettings/registry/types.d.ts +0 -143
  164. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
  165. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
  166. package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -12
  167. package/lib/components/ticketBooking/index.d.ts +0 -7
  168. package/lib/index.d.ts +0 -87
  169. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -6
  170. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -4
  171. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -16
  172. package/lib/plus/skuOptionsSelection/index.d.ts +0 -5
  173. package/lib/plus/skuOptionsSelection/locales.d.ts +0 -58
  174. package/lib/plus/skuOptionsSelection/types.d.ts +0 -458
  175. package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +0 -19
  176. package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +0 -1
  177. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +0 -4
  178. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +0 -4
  179. package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +0 -1
  180. package/lib/pro/Cards/components/SKUCard/index.d.ts +0 -5
  181. package/lib/pro/Login2.0/components/phoneValidation.d.ts +0 -17
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- interface MWCreditCardProps {
4
- /** 店铺名称,用于授权说明文案 */
5
- shopName?: string;
6
- /** 商家联系电话(用于 3DS 错误弹窗联系方式) */
7
- shopPhone?: string;
8
- /** 商家联系邮箱(用于 3DS 错误弹窗联系方式) */
9
- shopEmail?: string;
10
- }
11
- export interface MWCreditCardRef {
12
- init: (res: any) => void;
13
- }
14
- declare const _default: React.ForwardRefExoticComponent<MWCreditCardProps & React.RefAttributes<unknown>>;
15
- export default _default;
@@ -1,83 +0,0 @@
1
- /**
2
- * 取消当前支付流程中残留的 message 监听器和定时器,
3
- * 并 reject 挂起的 Promise 使 startPayment 的 await 结束。
4
- * reject 值为 0,startPayment catch 中 `if (err === 0) return` 会静默处理。
5
- */
6
- export declare const cancelCurrentPayment: () => void;
7
- interface PaymentOptions {
8
- callback?: (res: any) => void;
9
- isCancelled?: () => boolean;
10
- /** 引擎 token.get(),供 setPayNumber 写入 stash */
11
- stashAuthToken?: string;
12
- }
13
- /**
14
- * @title: 点击支付
15
- * @description:
16
- * @param {any} param1
17
- * @return {*}
18
- * @Author: Wzw
19
- * @Date: 2022-10-22 10:05
20
- */
21
- export declare const startPayment: ({ orderId, cardInfo, payData }: any, options?: PaymentOptions) => Promise<boolean | undefined>;
22
- /**
23
- * @title: 前置检查 - 提交卡信息到后端(预检查版本)
24
- * @description: 与 checkEnrollment 调用相同 API,但不包含 Toast/callback/closeIframe 等副作用。
25
- * 失败时直接 throw error,由调用方(MWCreditCard)捕获并展示 3DS 错误弹窗。
26
- * @param {string} orderId 订单ID
27
- * @param {any} cardInfo 卡信息
28
- * @return {Promise<any>} 返回后端数据(含 pay_info),失败则 throw
29
- */
30
- export declare const preCheckEnrollment: (orderId: string, cardInfo: any, stashAuthToken?: string) => Promise<any>;
31
- /*******
32
- * @title: 步骤2
33
- * @description: 提交卡信息到后端
34
- * @return {*}
35
- * @Author: Wzw
36
- * @Date: 2022-10-18 10:26
37
- */
38
- export declare const checkEnrollment: (orderId: string, cardInfo: any, options?: PaymentOptions) => Promise<any>;
39
- /**
40
- * @title: 步骤3
41
- * @description: 创建iframe, 监听
42
- * @param {any} threeDSMethodData
43
- * @return {*}
44
- * @Author: Wzw
45
- * @Date: 2022-10-18 10:36
46
- */
47
- export declare const createThreeDSMethodIframe: (threeDSMethodData: any, callback: any) => Promise<unknown>;
48
- /**
49
- * @title: 步骤4
50
- * @description:
51
- * @param {any} param1
52
- * @return {*}
53
- * @Author: Wzw
54
- * @Date: 2022-10-18 10:43
55
- */
56
- export declare const checkTDSAuth: (step2: any, step3: any, options?: PaymentOptions) => Promise<any>;
57
- /**
58
- * @title: 步骤5
59
- * @description: 监听
60
- * @param {any} challengeData
61
- * @return {*}
62
- * @Author: Wzw
63
- * @Date: 2022-10-18 10:45
64
- */
65
- export declare const createChallengeIframe: (challengeData: any, callback?: any) => Promise<unknown>;
66
- /**
67
- * @title: 步骤6
68
- * @description:
69
- * @param {any} cres
70
- * @return {*}
71
- * @Author: Wzw
72
- * @Date: 2022-10-18 10:48
73
- */
74
- export declare const checkPARes: (step2: any, step4: any, step5: any) => Promise<any>;
75
- /**
76
- * @title: 支付结束
77
- * @description:
78
- * @return {*}
79
- * @Author: Wzw
80
- * @Date: 2022-10-18 14:28
81
- */
82
- export declare const paymentEnd: (props: any, callback: any) => void;
83
- export {};
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface SuperPayAliPayH5Ref {
4
- init: (res: any) => void;
5
- }
6
- export interface SuperPayAliPayH5Props {
7
- onChange?: (values: any) => void;
8
- }
9
- declare const _default: React.ForwardRefExoticComponent<SuperPayAliPayH5Props & React.RefAttributes<any>>;
10
- export default _default;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface SuperPayWxPayH5Ref {
4
- init: (res: any) => void;
5
- }
6
- export interface SuperPayWxPayH5Props {
7
- onChange?: (values: any) => void;
8
- }
9
- declare const _default: React.ForwardRefExoticComponent<SuperPayWxPayH5Props & React.RefAttributes<any>>;
10
- export default _default;
@@ -1,22 +0,0 @@
1
- import React from 'react';
2
- import type { PisellWalletPassCardProps } from '@pisell/materials/es/components/pisellWalletPassCard';
3
- import { MachineCodeListParams, WalletPassDataType } from '../serve';
4
- import './index.less';
5
- export interface WalletPassListProps {
6
- title?: React.ReactNode;
7
- data?: PisellWalletPassCardProps[];
8
- onChange?: (val: number[], valDetail: PisellWalletPassCardProps[]) => void;
9
- value?: number[];
10
- walletSetting: {
11
- name: string;
12
- };
13
- onChangeDebounce?: boolean;
14
- loading?: boolean;
15
- onLoadingChange?: (loading: boolean) => void;
16
- customer_id?: number;
17
- }
18
- export declare type WalletPassListRef = {
19
- init: (params: MachineCodeListParams, formatList?: (val: WalletPassDataType[]) => WalletPassDataType[]) => void;
20
- };
21
- declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<WalletPassListProps & React.RefAttributes<WalletPassListRef>>>;
22
- export default _default;
@@ -1,25 +0,0 @@
1
- import React from 'react';
2
- import { WalletPassDataType } from './serve';
3
- import { PayGroup } from '../../model';
4
- import './index.less';
5
- export interface WalletPassRef {
6
- init: (val?: PayGroup & {
7
- customer_id?: number;
8
- }) => void;
9
- }
10
- export interface WalletPassProps {
11
- onWalletPassChange?: (walletPass: {
12
- cards: WalletPassDataType[];
13
- amount: number;
14
- }) => void;
15
- walletPass: {
16
- cards: WalletPassDataType[];
17
- amount: number;
18
- };
19
- walletSetting: {
20
- name: string;
21
- popup_status: 0 | 1;
22
- };
23
- }
24
- declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<WalletPassProps & React.RefAttributes<WalletPassRef>>>;
25
- export default _default;
@@ -1,16 +0,0 @@
1
- import { WalletPassDataType } from './serve';
2
- export declare const formatMachineCodeServer2CardList: (data: WalletPassDataType[], selectId?: number[]) => any;
3
- export declare const getDataByIds: (arr: any[], ids: number[]) => any[];
4
- /**
5
- * 判断是否是wallet code
6
- * @param val
7
- * @returns
8
- */
9
- export declare const getIsWalletCode: (val: string) => boolean;
10
- export declare const formatWalletPassWithUniquePaymentNumber: (currentWalletPass: {
11
- cards: any[];
12
- amount: number;
13
- }) => {
14
- cards: any[];
15
- amount: number;
16
- };
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- export interface PaymentMethodsRef {
3
- onPay: (props: any) => void;
4
- }
5
- interface PaymentMethodsProps {
6
- payCallback: (props: any) => void;
7
- }
8
- declare const _default: React.ForwardRefExoticComponent<PaymentMethodsProps & React.RefAttributes<unknown>>;
9
- export default _default;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const _default: any;
3
- export default _default;