@pisell/private-materials 3.3.13 → 3.3.14

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 (193) 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 +2 -2
  6. package/build/lowcode/view.js +2 -2
  7. package/es/components/appointmentBooking/components/Services/index.js +2 -2
  8. package/es/components/booking/deposit/DepositItem/index.js +1 -0
  9. package/es/components/booking/info/utils.js +1 -1
  10. package/es/components/booking/info2/utils.js +2 -1
  11. package/lib/components/appointmentBooking/components/Services/index.js +1 -1
  12. package/lib/components/booking/deposit/DepositItem/index.js +1 -0
  13. package/lib/components/booking/info/utils.js +1 -1
  14. package/lib/components/booking/info2/utils.js +2 -1
  15. package/package.json +3 -3
  16. package/es/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +0 -7
  17. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -3
  18. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -3
  19. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -3
  20. package/es/components/appointmentBooking/components/Cart/utils.d.ts +0 -36
  21. package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +0 -4
  22. package/es/components/appointmentBooking/components/Content/index.d.ts +0 -3
  23. package/es/components/appointmentBooking/components/Date/index.d.ts +0 -4
  24. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -3
  25. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -3
  26. package/es/components/appointmentBooking/components/Form/index.d.ts +0 -4
  27. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -3
  28. package/es/components/appointmentBooking/components/Guest/index.d.ts +0 -4
  29. package/es/components/appointmentBooking/components/Header/index.d.ts +0 -3
  30. package/es/components/appointmentBooking/components/Resource/index.d.ts +0 -7
  31. package/es/components/appointmentBooking/components/Resource/utils.d.ts +0 -5
  32. package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
  33. package/es/components/appointmentBooking/components/TimeSlicing/index.d.ts +0 -4
  34. package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -4
  35. package/es/components/appointmentBooking/context.d.ts +0 -29
  36. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
  37. package/es/components/appointmentBooking/deposit/index.d.ts +0 -3
  38. package/es/components/appointmentBooking/hooks.d.ts +0 -106
  39. package/es/components/appointmentBooking/index.d.ts +0 -3
  40. package/es/components/appointmentBooking/utils.d.ts +0 -114
  41. package/es/components/booking/components/voucher/index.d.ts +0 -3
  42. package/es/components/booking/forms/footer.d.ts +0 -6
  43. package/es/components/booking/forms/forms.d.ts +0 -26
  44. package/es/components/booking/forms/sendModal/index.d.ts +0 -27
  45. package/es/components/booking/info/client/index.d.ts +0 -4
  46. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -43
  47. package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -3
  48. package/es/components/booking/info/service/addTimeModal/utils.d.ts +0 -31
  49. package/es/components/booking/info/service/editService/index.d.ts +0 -7
  50. package/es/components/booking/info/utils.d.ts +0 -46
  51. package/es/components/booking/info2/service/editService/index.d.ts +0 -7
  52. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -3
  53. package/es/components/eftposPay/component/fail/index.d.ts +0 -3
  54. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -9
  55. package/es/components/eftposPay/hooks.d.ts +0 -35
  56. package/es/components/eftposPay/locales.d.ts +0 -330
  57. package/es/components/eftposPay/pay.d.ts +0 -20
  58. package/es/components/eftposPay/payo/config.d.ts +0 -12
  59. package/es/components/eftposPay/payo/hooks.d.ts +0 -10
  60. package/es/components/eftposPay/tyro/index.d.ts +0 -9
  61. package/es/components/eftposPay/windcave/helper.d.ts +0 -23
  62. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -3
  63. package/es/components/eventBooking/components/progressBar/index.d.ts +0 -16
  64. package/es/components/eventBooking/components/resourceDisplay/index.d.ts +0 -23
  65. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
  66. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +0 -2
  67. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
  68. package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +0 -2
  69. package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +0 -2
  70. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
  71. package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +0 -2
  72. package/es/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +0 -2
  73. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
  74. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +0 -2
  75. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +0 -10
  76. package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +0 -2
  77. package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -111
  78. package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -3
  79. package/es/components/pay/toC/index.d.ts +0 -3
  80. package/es/components/pay/toC/utils.d.ts +0 -49
  81. package/es/components/productSelect/components/TabProduct/index.d.ts +0 -2
  82. package/es/components/productSelect/components/gridLayout/index.d.ts +0 -9
  83. package/es/components/productSelect/components/productGroup/index.d.ts +0 -34
  84. package/es/components/productSelect/index.d.ts +0 -23
  85. package/es/components/ruleSetting/server.d.ts +0 -4
  86. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -3
  87. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -2
  88. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -2
  89. package/es/components/subTotal/index.d.ts +0 -22
  90. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
  91. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -3
  92. package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -12
  93. package/es/components/wallet/Detail/index.d.ts +0 -42
  94. package/es/components/wallet/Voucher/index.d.ts +0 -12
  95. package/es/components/wallet/components/WalletCard.d.ts +0 -11
  96. package/es/components/wallet/index.d.ts +0 -10
  97. package/es/components/walletList/index.d.ts +0 -28
  98. package/es/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +0 -11
  99. package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
  100. package/es/components/workSpaceList/components/Card/constants.d.ts +0 -2
  101. package/es/components/workSpaceList/components/EditableString/index.d.ts +0 -21
  102. package/es/components/workSpaceList/components/SearchBar/index.d.ts +0 -17
  103. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -3
  104. package/es/components/workSpaceList/components/Sort/index.d.ts +0 -7
  105. package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +0 -7
  106. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -3
  107. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -3
  108. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -3
  109. package/lib/components/appointmentBooking/components/Cart/utils.d.ts +0 -36
  110. package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +0 -4
  111. package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -3
  112. package/lib/components/appointmentBooking/components/Date/index.d.ts +0 -4
  113. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -3
  114. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -3
  115. package/lib/components/appointmentBooking/components/Form/index.d.ts +0 -4
  116. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -3
  117. package/lib/components/appointmentBooking/components/Guest/index.d.ts +0 -4
  118. package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -3
  119. package/lib/components/appointmentBooking/components/Resource/index.d.ts +0 -7
  120. package/lib/components/appointmentBooking/components/Resource/utils.d.ts +0 -5
  121. package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
  122. package/lib/components/appointmentBooking/components/TimeSlicing/index.d.ts +0 -4
  123. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -4
  124. package/lib/components/appointmentBooking/context.d.ts +0 -29
  125. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
  126. package/lib/components/appointmentBooking/deposit/index.d.ts +0 -3
  127. package/lib/components/appointmentBooking/hooks.d.ts +0 -106
  128. package/lib/components/appointmentBooking/index.d.ts +0 -3
  129. package/lib/components/appointmentBooking/utils.d.ts +0 -114
  130. package/lib/components/booking/components/voucher/index.d.ts +0 -3
  131. package/lib/components/booking/forms/footer.d.ts +0 -6
  132. package/lib/components/booking/forms/forms.d.ts +0 -26
  133. package/lib/components/booking/forms/sendModal/index.d.ts +0 -27
  134. package/lib/components/booking/info/client/index.d.ts +0 -4
  135. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -43
  136. package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -3
  137. package/lib/components/booking/info/service/addTimeModal/utils.d.ts +0 -31
  138. package/lib/components/booking/info/service/editService/index.d.ts +0 -7
  139. package/lib/components/booking/info/utils.d.ts +0 -46
  140. package/lib/components/booking/info2/service/editService/index.d.ts +0 -7
  141. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -3
  142. package/lib/components/eftposPay/component/fail/index.d.ts +0 -3
  143. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -9
  144. package/lib/components/eftposPay/hooks.d.ts +0 -35
  145. package/lib/components/eftposPay/locales.d.ts +0 -330
  146. package/lib/components/eftposPay/pay.d.ts +0 -20
  147. package/lib/components/eftposPay/payo/config.d.ts +0 -12
  148. package/lib/components/eftposPay/payo/hooks.d.ts +0 -10
  149. package/lib/components/eftposPay/tyro/index.d.ts +0 -9
  150. package/lib/components/eftposPay/windcave/helper.d.ts +0 -23
  151. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -3
  152. package/lib/components/eventBooking/components/progressBar/index.d.ts +0 -16
  153. package/lib/components/eventBooking/components/resourceDisplay/index.d.ts +0 -23
  154. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
  155. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +0 -2
  156. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +0 -10
  157. package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +0 -2
  158. package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +0 -2
  159. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +0 -10
  160. package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +0 -2
  161. package/lib/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +0 -2
  162. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
  163. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +0 -2
  164. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +0 -10
  165. package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +0 -2
  166. package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -111
  167. package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +0 -3
  168. package/lib/components/pay/toC/index.d.ts +0 -3
  169. package/lib/components/pay/toC/utils.d.ts +0 -49
  170. package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -2
  171. package/lib/components/productSelect/components/gridLayout/index.d.ts +0 -9
  172. package/lib/components/productSelect/components/productGroup/index.d.ts +0 -34
  173. package/lib/components/productSelect/index.d.ts +0 -23
  174. package/lib/components/ruleSetting/server.d.ts +0 -4
  175. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -3
  176. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -2
  177. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -2
  178. package/lib/components/subTotal/index.d.ts +0 -22
  179. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
  180. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -3
  181. package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -12
  182. package/lib/components/wallet/Detail/index.d.ts +0 -42
  183. package/lib/components/wallet/Voucher/index.d.ts +0 -12
  184. package/lib/components/wallet/components/WalletCard.d.ts +0 -11
  185. package/lib/components/wallet/index.d.ts +0 -10
  186. package/lib/components/walletList/index.d.ts +0 -28
  187. package/lib/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +0 -11
  188. package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +0 -8
  189. package/lib/components/workSpaceList/components/Card/constants.d.ts +0 -2
  190. package/lib/components/workSpaceList/components/EditableString/index.d.ts +0 -21
  191. package/lib/components/workSpaceList/components/SearchBar/index.d.ts +0 -17
  192. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -3
  193. package/lib/components/workSpaceList/components/Sort/index.d.ts +0 -7
@@ -1,31 +0,0 @@
1
- /**
2
- * @title: 根据商品生成加时列表
3
- * @description:
4
- * @param {any} config
5
- * @param {number} price
6
- * @return {*}
7
- * @Author: zhiwei.Wang
8
- * @Date: 2024-07-01 09:34
9
- */
10
- export declare const getAddTimeSplits: (product: any, cacheItem: any, currentResourceTimeEndDate: any) => {
11
- label: any;
12
- value: any;
13
- price: any;
14
- }[];
15
- /**
16
- * @title: 判断当前商品是否可用
17
- * @description:
18
- * @param {any} relationProduct
19
- * @param {any} currentItem
20
- * @return {*}
21
- * @Author: zhiwei.Wang
22
- * @Date: 2024-07-01 09:33
23
- */
24
- export declare const isUsableProduct: (addTime: any, currentItem: any) => any;
25
- export declare const addTimeRowKey: {
26
- create: (product_id: number, time: number) => string;
27
- getValue: (str: string) => {
28
- product_id: number;
29
- time: number | string;
30
- };
31
- };
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface EditServiceRef {
4
- init: (cacheItem?: any) => void;
5
- }
6
- declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
7
- export default _default;
@@ -1,46 +0,0 @@
1
- export declare const getIsBundleOrCombination: (productDetail: any) => boolean;
2
- export declare const uniqueByField: (arr: any[], field: string) => any[];
3
- export declare const moveItemToFront: (arr: any[], targetId: string | number) => any[];
4
- /**
5
- * @title: 判断两个时间是否在同一个时间段内
6
- * @description:
7
- * @param {number} time1 开始时间
8
- * @param {number} time2 结束时间
9
- * @param {number} interval 时间间隔
10
- * @return {*}
11
- * @Author: zhiwei.Wang
12
- * @Date: 2024-08-13 19:37
13
- */
14
- export declare const isInterval: (time1: number, time2: number, interval?: number) => boolean;
15
- /**
16
- * @title: 根据时间间隔格式化服务列表
17
- * @description: 防止短时间内添加多个相同服务, 如果两个服务的时间间隔小于1秒,则合并为一个服务
18
- * @param {any} list 服务列表
19
- * @return {*}
20
- * @Author: zhiwei.Wang
21
- * @Date: 2024-08-13 19:36
22
- */
23
- export declare const formatServiceListByTime: (list: any[]) => any[];
24
- export declare const isBooking4Shop: (shopId: number, renderType?: string) => boolean;
25
- declare type DataEntry = {
26
- total: number;
27
- origin_total: number;
28
- num: number;
29
- quotation_id: number;
30
- start_date: string;
31
- end_date: string;
32
- };
33
- declare type ResultStructure = Record<string, Record<string, any>>;
34
- export declare const getMultiDayPrices: (data: DataEntry[]) => ResultStructure;
35
- /**
36
- * @title: 是否是跨日预约
37
- * @description:
38
- * @param {number} shopId
39
- * @return {*}
40
- * @Author: WangHan
41
- * @Date: 2024-11-29 11:19
42
- */
43
- export declare const isDayBooking: (shopId: number) => boolean;
44
- export declare const isOpenAddTime: (state: any) => boolean;
45
- export declare const isShowAddTime: (state: any, currentService: any) => boolean;
46
- export {};
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface EditServiceRef {
4
- init: (cacheItem?: any) => void;
5
- }
6
- declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
7
- export default _default;
@@ -1,3 +0,0 @@
1
- import { ActionProps } from '../../const';
2
- declare const _default: ({ className, isMobile, onChange }: ActionProps) => JSX.Element;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import { ActionProps } from '../../const';
2
- declare const _default: ({ onChange, className, isMobile }: ActionProps) => JSX.Element;
3
- export default _default;
@@ -1,9 +0,0 @@
1
- import { ActionProps } from '../../const';
2
- /**
3
- * @title: 支付状态未知页面
4
- * @description:
5
- * @Author: hongbing.wang
6
- * @Date: 2024-08-20 11:42
7
- */
8
- declare const _default: ({ onChange, className }: ActionProps) => JSX.Element;
9
- export default _default;
@@ -1,35 +0,0 @@
1
- import React from 'react';
2
- import { PayStatus } from './const';
3
- import { ModeEnum, ClientEnum } from './const';
4
- export declare const useStoreRef: <T extends {
5
- [key: string]: unknown;
6
- } = {
7
- [key: string]: unknown;
8
- }, U extends {
9
- [key: string]: unknown;
10
- } = {
11
- [key: string]: unknown;
12
- }>() => {
13
- readonly deviceRef: React.MutableRefObject<T>;
14
- readonly payRef: React.MutableRefObject<U>;
15
- readonly numRef: React.MutableRefObject<string | number | undefined>;
16
- readonly orderIdRef: React.MutableRefObject<string | number>;
17
- readonly modeRef: React.MutableRefObject<ModeEnum>;
18
- readonly statusRef: React.MutableRefObject<"loading" | "warn" | "success" | "fail" | "pedding" | "resove" | "reject" | "question">;
19
- readonly netRef: React.MutableRefObject<boolean | undefined>;
20
- readonly symbolRef: React.MutableRefObject<string>;
21
- readonly amountRef: React.MutableRefObject<string | number>;
22
- readonly eftposRef: React.MutableRefObject<"stripe" | "tyro" | "windcave" | "payo">;
23
- readonly clientRef: React.MutableRefObject<ClientEnum>;
24
- readonly dataRef: React.MutableRefObject<import("./store").State>;
25
- };
26
- /**
27
- * @title: 通用失败处理
28
- * @description: 固定步骤 错误处理逻辑
29
- * @return null
30
- * @Author: hongbing.wang
31
- * @Date: 2024-08-12 11:54
32
- */
33
- export declare const useFail: (index: number) => (res: {
34
- code?: `${PayStatus}`;
35
- }, isMark?: boolean) => void;
@@ -1,330 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'page.eftpos-pay.text.loading': (mode: string) => string;
4
- 'page.eftpos-pay.text.wait': (val: string, mode: string) => string;
5
- 'page.eftpos-pay.text.surcharge': string;
6
- 'page.eftpos-pay.text.card': string;
7
- 'page.eftpos-pay.text.account': string;
8
- 'page.eftpos-pay.text.pin': string;
9
- 'page.eftpos-pay.text.receipt': string;
10
- 'page.eftpos-pay.text.receipt.again.title': string;
11
- 'page.eftpos-pay.text.receipt.again.text': string;
12
- 'page.eftpos-pay.text.signature.title': string;
13
- 'page.eftpos-pay.text.signature.text': (mode: string) => "Decline will cause payment failure, need to pay again." | "Decline will cause refund failure; a refund needs to be processed again.";
14
- 'page.eftpos-pay.text.timedout.title': string;
15
- 'page.eftpos-pay.text.timedout.text': (mode: string) => "Please manually mark the payment result based on the payment status displayed on the card reader, to ensure the accuracy of the transaction." | "Please manually verify the refund result based on the refund status displayed on the card reader to ensure the transaction's accuracy.";
16
- 'page.eftpos-pay.text.request.title': (mode: string) => string;
17
- 'page.eftpos-pay.text.request.text': (mode: string) => "Please manually mark the payment result based on the payment status displayed on the card reader, to ensure the accuracy of the transaction." | "Please manually verify the refund result based on the refund status displayed on the card reader to ensure the transaction's accuracy.";
18
- 'page.eftpos-pay.text.request.unknown.title': (mode: string) => string;
19
- 'page.eftpos-pay.text.request.unknown.text': (mode: string) => "Please manually mark the payment result based on the payment status displayed on the card reader, to ensure the accuracy of the transaction." | "Please manually mark the refund result based on the refund status displayed on the card reader, to ensure the accuracy of the transaction.";
20
- 'page.eftpos-pay.text.interrupted': string;
21
- 'page.eftpos-pay.text.reconnect': string;
22
- 'page.eftpos-pay.text.waiting.pay': (mode: string) => "If you have confirmed the payment status from the EFTPOS, you can press Manual marking buttonto skip." | "If you have confirmed the refund status on the EFTPOS, you can press the Manual Marking button to skip.";
23
- 'page.eftpos-pay.text.restored': string;
24
- 'page.eftpos-pay.text.disconnected': string;
25
- 'page.eftpos-pay.text.waiting.network': string;
26
- 'page.eftpos-pay.text.waiting.wifi.title': string;
27
- 'page.eftpos-pay.text.waiting.wifi.connection': string;
28
- 'page.eftpos-pay.text.waiting.wifi.router': string;
29
- 'page.eftpos-pay.text.waiting.wifi.forget.reconnect': string;
30
- 'page.eftpos-pay.text.accept': string;
31
- 'page.eftpos-pay.text.decline': string;
32
- 'page.eftpos-pay.text.manual.marking': string;
33
- 'page.eftpos-pay.text.manual.title': string;
34
- 'page.eftpos-pay.text.manual.subtitle': (money: string) => string;
35
- 'page.eftpos-pay.text.manual.confirm': string;
36
- 'page.eftpos-pay.text.manual.btn.confirm': (money: string) => string;
37
- 'page.eftpos-pay.text.manual.diff': string;
38
- 'page.eftpos-pay.text.manual.tip': string;
39
- 'page.eftpos-pay.text.manual.cancel': string;
40
- 'page.eftpos-pay.text.manual.print_receipt': string;
41
- 'page.eftpos-pay.text.modify.payment.info': (mode: string) => "Modify payment info" | "Modify refund information";
42
- 'page.eftpos-pay.text.successful': (mode: string) => string;
43
- 'page.eftpos-pay.text.failed': (mode: string) => string;
44
- 'page.eftpos-pay.text.confirm': string;
45
- 'page.eftpos-pay.text.confirm.decline': string;
46
- 'page.eftpos-pay.text.back': string;
47
- 'page.eftpos-pay.text.cancel': string;
48
- 'page.eftpos-pay.text.waiting.processing': string;
49
- 'page.eftpos-pay.text.waiting.signature': string;
50
- 'page.eftpos-pay.text.waiting.decline': string;
51
- 'page.eftpos-pay.text.processing': string;
52
- 'page.eftpos-pay.text.transaction.processing': string;
53
- 'page.eftpos-pay.text.retry': string;
54
- 'page.eftpos-pay.text.sure': string;
55
- 'page.eftpos-pay.text.device': string;
56
- 'page.eftpos-pay.text.leave': string;
57
- 'page.eftpos-pay.text.latest.success': string;
58
- 'page.eftpos-pay.text.latest.amount': string;
59
- 'page.eftpos-pay.text.latest.surcharge': string;
60
- 'page.eftpos-pay.text.latest.time': string;
61
- 'page.eftpos-pay.text.latest.confirm': string;
62
- 'page.eftpos-pay.text.amount.to.pay': string;
63
- 'page.eftpos-pay.text.surcharge.percentage': string;
64
- 'page.eftpos-pay.text.surcharge.fixed': string;
65
- 'page.eftpos-pay.text.surcharge.percentage-fixed': string;
66
- 'page.eftpos-pay.text.surcharge.edit.title': string;
67
- 'page.eftpos-pay.text.input.title': (name: string) => string;
68
- 'page.eftpos-pay.text.amount.cash.left.pay.paid': (money: string) => string;
69
- 'page.eftpos-pay.text.surcharge.edit.actual.pay': string;
70
- 'page.eftpos-pay.text.surcharge.edit.inc.surcharge': string;
71
- 'page.eftpos-pay.text.surcharge.edit.rate': string;
72
- 'page.eftpos-pay.text.surcharge.edit.surcharge': string;
73
- 'page.eftpos-pay.text.transaction.end': string;
74
- 'page.eftpos-pay.text.transaction.user.declined.title': string;
75
- 'page.eftpos-pay.text.transaction.user.declined.text': string;
76
- 'page.eftpos-pay.text.transaction.user.config.title': string;
77
- 'page.eftpos-pay.text.transaction.user.config.text': string;
78
- 'page.eftpos-pay.text.transaction.back.declined.title': string;
79
- 'page.eftpos-pay.text.transaction.back.declined.text': string;
80
- 'page.eftpos-pay.text.transaction.fail': string;
81
- 'page.eftpos-pay.text.transaction.fail.timeout': string;
82
- 'page.eftpos-pay.text.transaction.pay.fail.timeout': string;
83
- 'page.eftpos-pay.text.transaction.fail.terminal.title': string;
84
- 'page.eftpos-pay.text.transaction.fail.terminal': string;
85
- 'page.eftpos-pay.text.transaction.fail.cancel.title': string;
86
- 'page.eftpos-pay.text.transaction.fail.cancel': string;
87
- 'page.eftpos-pay.text.transaction.fail.socket': string;
88
- 'page.eftpos-pay.text.transaction.eftpos.fail': string;
89
- 'page.eftpos-pay.text.transaction.eftpos.fail.title': string;
90
- 'page.eftpos-pay.text.transaction.eftpos.fail.power': string;
91
- 'page.eftpos-pay.text.transaction.eftpos.fail.device': string;
92
- 'page.eftpos-pay.text.transaction.eftpos.fail.network': string;
93
- 'page.eftpos-pay.text.transaction.eftpos.fail.if': (mode: string) => "If you have confirmed the payment status of this order, please click on Manual marking." | "If you have confirmed the refund status of this order, please click on Manual Marking.";
94
- 'page.eftpos-pay.text.transaction.eftpos.fail.other': string;
95
- 'page.eftpos-pay.text.application': string;
96
- 'page.eftpos-pay.text.approved': string;
97
- 'page.eftpos-pay.text.device.no.title': string;
98
- 'page.eftpos-pay.text.device.no.add': string;
99
- 'page.eftpos-pay.text.device.no.web': string;
100
- 'page.eftpos-pay.text.device.no.terminal': string;
101
- 'page.eftpos-pay.text.waiting.decline.signature': string;
102
- 'page.eftpos-pay.text.unknown.title': (mode: string) => string;
103
- 'page.eftpos-pay.text.unknown.text': (mode: string) => string;
104
- 'page.eftpos-pay.text.reconnecting': string;
105
- 'page.eftpos-pay.text.reconnect.network': string;
106
- 'page.eftpos-pay.text.network.disconnected': string;
107
- 'page.eftpos-pay.text.not.connected': string;
108
- 'page.eftpos-pay.text.tyro-btn': (key: string) => string;
109
- 'page.eftpos-pay.text.tyro': (key: string) => string;
110
- };
111
- 'zh-CN': {
112
- 'page.eftpos-pay.text.loading': (mode: string) => string;
113
- 'page.eftpos-pay.text.wait': (val: string, mode: string) => string;
114
- 'page.eftpos-pay.text.surcharge': string;
115
- 'page.eftpos-pay.text.card': string;
116
- 'page.eftpos-pay.text.account': string;
117
- 'page.eftpos-pay.text.pin': string;
118
- 'page.eftpos-pay.text.receipt': string;
119
- 'page.eftpos-pay.text.receipt.again.title': string;
120
- 'page.eftpos-pay.text.receipt.again.text': string;
121
- 'page.eftpos-pay.text.signature.title': string;
122
- 'page.eftpos-pay.text.signature.text': (mode: string) => "拒绝将导致支付失败,需重新支付。" | "拒绝将导致退款失败;需要重新退款";
123
- 'page.eftpos-pay.text.timedout.title': string;
124
- 'page.eftpos-pay.text.timedout.text': (mode: string) => "请您根据刷卡机上的支付状态,手动标记支付结果,以确保交易的准确性。" | "请根据显示在刷卡机上的退款状态,手动标记退款结果,以确保交易准确性。";
125
- 'page.eftpos-pay.text.request.title': (mode: string) => string;
126
- 'page.eftpos-pay.text.request.text': (mode: string) => "请您根据刷卡机上的支付状态,手动标记支付结果,以确保交易的准确性。" | "请根据显示在刷卡机上的退款状态,手动标记退款结果,以确保交易准确性。";
127
- 'page.eftpos-pay.text.request.unknown.title': (mode: string) => string;
128
- 'page.eftpos-pay.text.request.unknown.text': (mode: string) => "请您根据刷卡机上的支付状态,手动标记支付结果,以确保交易的准确性。" | "请您根据刷卡机上的退款状态,手动标记退款结果,以确保交易的准确性。";
129
- 'page.eftpos-pay.text.interrupted': string;
130
- 'page.eftpos-pay.text.reconnect': string;
131
- 'page.eftpos-pay.text.waiting.pay': (mode: string) => "如果您已经从EFTPOS确认了付款状态,您可以按手动标记按钮跳过。" | "如果您已确认了EFTPOS上的退款状态,您可以按下手动标记按钮跳过。";
132
- 'page.eftpos-pay.text.restored': string;
133
- 'page.eftpos-pay.text.disconnected': string;
134
- 'page.eftpos-pay.text.waiting.network': string;
135
- 'page.eftpos-pay.text.waiting.wifi.title': string;
136
- 'page.eftpos-pay.text.waiting.wifi.connection': string;
137
- 'page.eftpos-pay.text.waiting.wifi.router': string;
138
- 'page.eftpos-pay.text.waiting.wifi.forget.reconnect': string;
139
- 'page.eftpos-pay.text.accept': string;
140
- 'page.eftpos-pay.text.decline': string;
141
- 'page.eftpos-pay.text.manual.marking': string;
142
- 'page.eftpos-pay.text.manual.title': string;
143
- 'page.eftpos-pay.text.manual.subtitle': (money: string) => string;
144
- 'page.eftpos-pay.text.manual.confirm': string;
145
- 'page.eftpos-pay.text.manual.btn.confirm': (money: string) => string;
146
- 'page.eftpos-pay.text.manual.diff': string;
147
- 'page.eftpos-pay.text.manual.tip': string;
148
- 'page.eftpos-pay.text.manual.cancel': string;
149
- 'page.eftpos-pay.text.manual.print_receipt': string;
150
- 'page.eftpos-pay.text.modify.payment.info': (mode: string) => "修改支付信息" | "修改退款信息";
151
- 'page.eftpos-pay.text.successful': (mode: string) => string;
152
- 'page.eftpos-pay.text.failed': (mode: string) => string;
153
- 'page.eftpos-pay.text.confirm': string;
154
- 'page.eftpos-pay.text.confirm.decline': string;
155
- 'page.eftpos-pay.text.back': string;
156
- 'page.eftpos-pay.text.cancel': string;
157
- 'page.eftpos-pay.text.waiting.processing': string;
158
- 'page.eftpos-pay.text.waiting.signature': string;
159
- 'page.eftpos-pay.text.waiting.decline': string;
160
- 'page.eftpos-pay.text.processing': string;
161
- 'page.eftpos-pay.text.transaction.processing': string;
162
- 'page.eftpos-pay.text.retry': string;
163
- 'page.eftpos-pay.text.sure': string;
164
- 'page.eftpos-pay.text.device': string;
165
- 'page.eftpos-pay.text.leave': string;
166
- 'page.eftpos-pay.text.latest.success': string;
167
- 'page.eftpos-pay.text.latest.amount': string;
168
- 'page.eftpos-pay.text.latest.surcharge': string;
169
- 'page.eftpos-pay.text.latest.time': string;
170
- 'page.eftpos-pay.text.latest.confirm': string;
171
- 'page.eftpos-pay.text.amount.to.pay': string;
172
- 'page.eftpos-pay.text.surcharge.percentage': string;
173
- 'page.eftpos-pay.text.surcharge.fixed': string;
174
- 'page.eftpos-pay.text.surcharge.percentage-fixed': string;
175
- 'page.eftpos-pay.text.surcharge.edit.title': string;
176
- 'page.eftpos-pay.text.input.title': (name: string) => string;
177
- 'page.eftpos-pay.text.amount.cash.left.pay.paid': (money: string) => string;
178
- 'page.eftpos-pay.text.surcharge.edit.actual.pay': string;
179
- 'page.eftpos-pay.text.surcharge.edit.inc.surcharge': string;
180
- 'page.eftpos-pay.text.surcharge.edit.rate': string;
181
- 'page.eftpos-pay.text.surcharge.edit.surcharge': string;
182
- 'page.eftpos-pay.text.transaction.end': string;
183
- 'page.eftpos-pay.text.transaction.user.declined.title': string;
184
- 'page.eftpos-pay.text.transaction.user.declined.text': string;
185
- 'page.eftpos-pay.text.transaction.user.config.title': string;
186
- 'page.eftpos-pay.text.transaction.user.config.text': string;
187
- 'page.eftpos-pay.text.transaction.back.declined.title': string;
188
- 'page.eftpos-pay.text.transaction.back.declined.text': string;
189
- 'page.eftpos-pay.text.transaction.fail': string;
190
- 'page.eftpos-pay.text.transaction.fail.timeout': string;
191
- 'page.eftpos-pay.text.transaction.pay.fail.timeout': string;
192
- 'page.eftpos-pay.text.transaction.fail.terminal.title': string;
193
- 'page.eftpos-pay.text.transaction.fail.terminal': string;
194
- 'page.eftpos-pay.text.transaction.fail.cancel.title': string;
195
- 'page.eftpos-pay.text.transaction.fail.cancel': string;
196
- 'page.eftpos-pay.text.transaction.fail.socket': string;
197
- 'page.eftpos-pay.text.transaction.eftpos.fail': string;
198
- 'page.eftpos-pay.text.transaction.eftpos.fail.title': string;
199
- 'page.eftpos-pay.text.transaction.eftpos.fail.power': string;
200
- 'page.eftpos-pay.text.transaction.eftpos.fail.device': string;
201
- 'page.eftpos-pay.text.transaction.eftpos.fail.network': string;
202
- 'page.eftpos-pay.text.transaction.eftpos.fail.if': (mode: string) => "如果您已确认此交易的付款状态,请点击手动标记" | "如果您已确认此订单的退款状态,请点击手动标记。";
203
- 'page.eftpos-pay.text.transaction.eftpos.fail.other': string;
204
- 'page.eftpos-pay.text.application': string;
205
- 'page.eftpos-pay.text.approved': string;
206
- 'page.eftpos-pay.text.device.no.title': string;
207
- 'page.eftpos-pay.text.device.no.add': string;
208
- 'page.eftpos-pay.text.device.no.web': string;
209
- 'page.eftpos-pay.text.device.no.terminal': string;
210
- 'page.eftpos-pay.text.waiting.decline.signature': string;
211
- 'page.eftpos-pay.text.unknown.title': (mode: string) => string;
212
- 'page.eftpos-pay.text.unknown.text': (mode: string) => string;
213
- 'page.eftpos-pay.text.reconnecting': string;
214
- 'page.eftpos-pay.text.reconnect.network': string;
215
- 'page.eftpos-pay.text.network.disconnected': string;
216
- 'page.eftpos-pay.text.not.connected': string;
217
- 'page.eftpos-pay.text.tyro-btn': (key: string) => string;
218
- 'page.eftpos-pay.text.tyro': (key: string) => string | string[];
219
- };
220
- 'zh-HK': {
221
- 'page.eftpos-pay.text.loading': (mode: string) => string;
222
- 'page.eftpos-pay.text.wait': (val: string, mode: string) => string;
223
- 'page.eftpos-pay.text.surcharge': string;
224
- 'page.eftpos-pay.text.card': string;
225
- 'page.eftpos-pay.text.account': string;
226
- 'page.eftpos-pay.text.pin': string;
227
- 'page.eftpos-pay.text.receipt': string;
228
- 'page.eftpos-pay.text.receipt.again.title': string;
229
- 'page.eftpos-pay.text.receipt.again.text': string;
230
- 'page.eftpos-pay.text.signature.title': string;
231
- 'page.eftpos-pay.text.signature.text': (mode: string) => "拒絕將導致支付失敗,需重新支付。" | "拒絕將導致退款失敗;需要重新退款";
232
- 'page.eftpos-pay.text.timedout.title': string;
233
- 'page.eftpos-pay.text.timedout.text': (mode: string) => "請您根據刷卡機上的支付狀態,手動標記支付結果,以確保交易的準確性。" | "請根據顯示在刷卡機上的退款狀態,手動標記退款結果,以確保交易準確性。";
234
- 'page.eftpos-pay.text.request.title': (mode: string) => string;
235
- 'page.eftpos-pay.text.request.text': (mode: string) => "請您根據刷卡機上的支付狀態,手動標記支付結果,以確保交易的準確性。" | "請根據顯示在刷卡機上的退款狀態,手動標記退款結果,以確保交易準確性。";
236
- 'page.eftpos-pay.text.request.unknown.title': (mode: string) => string;
237
- 'page.eftpos-pay.text.request.unknown.text': (mode: string) => "請您根據刷卡機上的支付狀態,手動標記支付結果,以確保交易的準確性。" | "請您根據刷卡機上的退款狀態,手動標記退款結果,以確保交易的準確性。";
238
- 'page.eftpos-pay.text.interrupted': string;
239
- 'page.eftpos-pay.text.reconnect': string;
240
- 'page.eftpos-pay.text.waiting.pay': (mode: string) => "如果您已經從EFTPOS確認了付款狀態,您可以按手動標記按鈕跳過。" | "如果您已確認了EFTPOS上的退款狀態,您可以按下手動標記按鈕跳過。";
241
- 'page.eftpos-pay.text.restored': string;
242
- 'page.eftpos-pay.text.disconnected': string;
243
- 'page.eftpos-pay.text.waiting.network': string;
244
- 'page.eftpos-pay.text.waiting.wifi.title': string;
245
- 'page.eftpos-pay.text.waiting.wifi.connection': string;
246
- 'page.eftpos-pay.text.waiting.wifi.router': string;
247
- 'page.eftpos-pay.text.waiting.wifi.forget.reconnect': string;
248
- 'page.eftpos-pay.text.accept': string;
249
- 'page.eftpos-pay.text.decline': string;
250
- 'page.eftpos-pay.text.manual.marking': string;
251
- 'page.eftpos-pay.text.manual.title': string;
252
- 'page.eftpos-pay.text.manual.subtitle': (money: string) => string;
253
- 'page.eftpos-pay.text.manual.confirm': string;
254
- 'page.eftpos-pay.text.manual.btn.confirm': (money: string) => string;
255
- 'page.eftpos-pay.text.manual.diff': string;
256
- 'page.eftpos-pay.text.manual.tip': string;
257
- 'page.eftpos-pay.text.manual.cancel': string;
258
- 'page.eftpos-pay.text.manual.print_receipt': string;
259
- 'page.eftpos-pay.text.modify.payment.info': (mode: string) => "修改支付信息" | "修改退款信息";
260
- 'page.eftpos-pay.text.successful': (mode: string) => string;
261
- 'page.eftpos-pay.text.failed': (mode: string) => string;
262
- 'page.eftpos-pay.text.confirm': string;
263
- 'page.eftpos-pay.text.confirm.decline': string;
264
- 'page.eftpos-pay.text.back': string;
265
- 'page.eftpos-pay.text.cancel': string;
266
- 'page.eftpos-pay.text.waiting.processing': string;
267
- 'page.eftpos-pay.text.waiting.signature': string;
268
- 'page.eftpos-pay.text.waiting.decline': string;
269
- 'page.eftpos-pay.text.processing': string;
270
- 'page.eftpos-pay.text.transaction.processing': string;
271
- 'page.eftpos-pay.text.retry': string;
272
- 'page.eftpos-pay.text.sure': string;
273
- 'page.eftpos-pay.text.device': string;
274
- 'page.eftpos-pay.text.leave': string;
275
- 'page.eftpos-pay.text.latest.success': string;
276
- 'page.eftpos-pay.text.latest.amount': string;
277
- 'page.eftpos-pay.text.latest.surcharge': string;
278
- 'page.eftpos-pay.text.latest.time': string;
279
- 'page.eftpos-pay.text.latest.confirm': string;
280
- 'page.eftpos-pay.text.amount.to.pay': string;
281
- 'page.eftpos-pay.text.surcharge.percentage': string;
282
- 'page.eftpos-pay.text.surcharge.fixed': string;
283
- 'page.eftpos-pay.text.surcharge.percentage-fixed': string;
284
- 'page.eftpos-pay.text.surcharge.edit.title': string;
285
- 'page.eftpos-pay.text.input.title': (name: string) => string;
286
- 'page.eftpos-pay.text.amount.cash.left.pay.paid': (money: string) => string;
287
- 'page.eftpos-pay.text.surcharge.edit.actual.pay': string;
288
- 'page.eftpos-pay.text.surcharge.edit.inc.surcharge': string;
289
- 'page.eftpos-pay.text.surcharge.edit.rate': string;
290
- 'page.eftpos-pay.text.surcharge.edit.surcharge': string;
291
- 'page.eftpos-pay.text.transaction.end': string;
292
- 'page.eftpos-pay.text.transaction.user.declined.title': string;
293
- 'page.eftpos-pay.text.transaction.user.declined.text': string;
294
- 'page.eftpos-pay.text.transaction.user.config.title': string;
295
- 'page.eftpos-pay.text.transaction.user.config.text': string;
296
- 'page.eftpos-pay.text.transaction.back.declined.title': string;
297
- 'page.eftpos-pay.text.transaction.back.declined.text': string;
298
- 'page.eftpos-pay.text.transaction.fail': string;
299
- 'page.eftpos-pay.text.transaction.fail.timeout': string;
300
- 'page.eftpos-pay.text.transaction.pay.fail.timeout': string;
301
- 'page.eftpos-pay.text.transaction.fail.terminal.title': string;
302
- 'page.eftpos-pay.text.transaction.fail.terminal': string;
303
- 'page.eftpos-pay.text.transaction.fail.cancel.title': string;
304
- 'page.eftpos-pay.text.transaction.fail.cancel': string;
305
- 'page.eftpos-pay.text.transaction.fail.socket': string;
306
- 'page.eftpos-pay.text.transaction.eftpos.fail': string;
307
- 'page.eftpos-pay.text.transaction.eftpos.fail.title': string;
308
- 'page.eftpos-pay.text.transaction.eftpos.fail.power': string;
309
- 'page.eftpos-pay.text.transaction.eftpos.fail.device': string;
310
- 'page.eftpos-pay.text.transaction.eftpos.fail.network': string;
311
- 'page.eftpos-pay.text.transaction.eftpos.fail.if': (mode: string) => "如果您已確認此交易的付款狀態,請點擊手動標記" | "如果您已確認此訂單的退款狀態,請點擊手動標記。";
312
- 'page.eftpos-pay.text.transaction.eftpos.fail.other': string;
313
- 'page.eftpos-pay.text.application': string;
314
- 'page.eftpos-pay.text.approved': string;
315
- 'page.eftpos-pay.text.device.no.title': string;
316
- 'page.eftpos-pay.text.device.no.add': string;
317
- 'page.eftpos-pay.text.device.no.web': string;
318
- 'page.eftpos-pay.text.device.no.terminal': string;
319
- 'page.eftpos-pay.text.waiting.decline.signature': string;
320
- 'page.eftpos-pay.text.unknown.title': (mode: string) => string;
321
- 'page.eftpos-pay.text.unknown.text': (mode: string) => string;
322
- 'page.eftpos-pay.text.reconnecting': string;
323
- 'page.eftpos-pay.text.reconnect.network': string;
324
- 'page.eftpos-pay.text.network.disconnected': string;
325
- 'page.eftpos-pay.text.not.connected': string;
326
- 'page.eftpos-pay.text.tyro-btn': (key: string) => string;
327
- 'page.eftpos-pay.text.tyro': (key: string) => string | string[];
328
- };
329
- };
330
- export default _default;
@@ -1,20 +0,0 @@
1
- import { PayProps } from './const';
2
- import './index.less';
3
- /**
4
- * @title: 支付组件
5
- * @description:
6
- * @Author: hongbing.wang
7
- * @Date: 2024-08-20 14:59
8
- */
9
- declare const Pay: ({ api, onChange: onChangeStatus, className, terminal, net, isMobile, tyroUrl, tyroVersion, formatAmount, client }: PayProps & {
10
- terminal: {
11
- network: boolean;
12
- };
13
- net: boolean;
14
- isMobile: boolean;
15
- tyroUrl?: string | undefined;
16
- tyroVersion?: string | undefined;
17
- formatAmount(amount: number | string, precision: number, symbol: string): string;
18
- client: string;
19
- }) => JSX.Element;
20
- export default Pay;
@@ -1,12 +0,0 @@
1
- import { StatusEnum } from '../const';
2
- export declare const POS: ({ api, onChange, }: {
3
- api: {
4
- [key: string]: (...agrn: unknown[]) => Promise<unknown>;
5
- };
6
- onChange: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}`, params?: {
7
- [keys: string]: unknown;
8
- } | undefined) => void;
9
- }) => JSX.Element;
10
- export declare const Action: ({ onChange }: {
11
- onChange: any;
12
- }) => JSX.Element;
@@ -1,10 +0,0 @@
1
- import { PayStatus } from '../const';
2
- /**
3
- * @title: 循环查询 接口状态
4
- * @Author: hongbing.wang
5
- * @Date: 2024-08-20 13:29
6
- */
7
- export declare const useValidate: (timeout: number) => readonly [(params_0: (...agrn: unknown[]) => Promise<any>, params_1: number, params_2?: number | undefined) => Promise<{
8
- [key: string]: unknown;
9
- code: `${PayStatus}`;
10
- }>, () => void];
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- declare const _default: ({ api, onChange, children, url, version, }: {
3
- api: any;
4
- onChange: any;
5
- children?: React.ReactNode;
6
- url?: string | undefined;
7
- version?: string | undefined;
8
- }) => JSX.Element;
9
- export default _default;
@@ -1,23 +0,0 @@
1
- import React from 'react';
2
- import { PayStatus } from '../const';
3
- import XhrTimer from './timer';
4
- /**
5
- * @title: windcave 支付,退款,查询 错误逻辑处理
6
- * @description: 动态步骤页 异常前往 FailCustom 页面
7
- * @return null
8
- * @Author: hongbing.wang
9
- * @Date: 2024-08-12 10:29
10
- */
11
- export declare const useFail: () => (res: {
12
- code?: `${PayStatus}`;
13
- }, isMark?: boolean) => void;
14
- /**
15
- * @title: 轮询 check 接口
16
- * @description: 轮询 终止条件 1.超时 , 2. 返回非200状态码 , 3. 外部关闭
17
- * @return [run, XhrTimer] run: 启动函数 , XhrTimer 轮询类
18
- * @Author: hongbing.wang
19
- * @Date: 2024-08-12 10:30
20
- */
21
- export declare const useValidate: (check: (...agrn: unknown[]) => Promise<unknown>, num: number, onChange: (params: {
22
- [key: string]: unknown;
23
- }) => unknown) => readonly [(timeout?: number) => void, React.MutableRefObject<((res: any, isRun?: boolean) => unknown) | undefined>, React.MutableRefObject<XhrTimer | undefined>];
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Information: () => JSX.Element;
3
- export default Information;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface ProgressBarProps {
4
- title?: string | number;
5
- description?: string;
6
- isConfirmClose?: boolean;
7
- showClose?: boolean;
8
- showStep?: boolean;
9
- showBack?: boolean;
10
- className?: string;
11
- style?: React.CSSProperties;
12
- onBack?: () => void;
13
- onClose?: () => void;
14
- }
15
- declare const ProgressBar: React.FC<ProgressBarProps>;
16
- export default ProgressBar;
@@ -1,23 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export declare type ResourceMode = 'normal' | 'rule' | 'campus';
4
- export declare type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
5
- export interface PisellResourceCardProps {
6
- dataSource?: any;
7
- mode?: ResourceMode;
8
- showImage?: boolean;
9
- showTitle?: boolean;
10
- showSubtitle?: boolean;
11
- showLocation?: boolean;
12
- showContact?: boolean;
13
- direction?: 'horizontal' | 'vertical';
14
- shape?: 'circle' | 'square';
15
- size?: AvatarSize;
16
- useTextAvatar?: boolean;
17
- className?: string;
18
- style?: React.CSSProperties;
19
- onClick?: () => void;
20
- [key: string]: any;
21
- }
22
- declare const PisellResourceCard: React.FC<PisellResourceCardProps>;
23
- export default PisellResourceCard;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface GlobePayAliPayH5Ref {
4
- init: (res: any) => void;
5
- }
6
- export interface GlobePayAliPayH5Props {
7
- onChange?: (values: any) => void;
8
- }
9
- declare const _default: React.ForwardRefExoticComponent<GlobePayAliPayH5Props & React.RefAttributes<any>>;
10
- export default _default;
@@ -1,2 +0,0 @@
1
- export declare const getReturnUrl: () => string;
2
- export declare const getAliPayUrl: (orderId: number, values: any) => Promise<any>;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface GlobePayPaypalH5Ref {
4
- init: (res: any) => void;
5
- }
6
- export interface GlobePayPaypalH5Props {
7
- onChange?: (values: any) => void;
8
- }
9
- declare const _default: React.ForwardRefExoticComponent<GlobePayPaypalH5Props & React.RefAttributes<any>>;
10
- export default _default;