@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,2 +0,0 @@
1
- export declare const getReturnUrl: () => string;
2
- export declare const getAliPayUrl: (orderId: number, values: any) => Promise<any>;
@@ -1,2 +0,0 @@
1
- export declare const getReturnUrl: () => string;
2
- export declare const getAliPayUrl: (orderId: number) => Promise<any>;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface GlobePayWxH5Ref {
4
- init: (res: any) => void;
5
- }
6
- export interface GlobePayWxH5Props {
7
- onChange?: (values: any) => void;
8
- }
9
- declare const _default: React.ForwardRefExoticComponent<GlobePayWxH5Props & 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,2 +0,0 @@
1
- export declare const getReturnUrl: () => string;
2
- export declare const getAliPayUrl: (orderId: number) => Promise<any>;
@@ -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,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 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,2 +0,0 @@
1
- export declare const getReturnUrl: () => string;
2
- export declare const getWxPayUrl: (orderId: number, values: any) => Promise<any>;
@@ -1,111 +0,0 @@
1
- export declare type MachineCodeListParams = {
2
- order_id: number | string;
3
- available: number;
4
- prepare_payments: {
5
- voucher_id: number;
6
- amount: number;
7
- tag: string;
8
- }[];
9
- filter_prepare_wallet_pass: 1 | 0;
10
- sale_channel: string;
11
- };
12
- export declare type WalletPassDataType = {
13
- id: number;
14
- shop_id: number;
15
- customer_id: number;
16
- code: string;
17
- encoded: string;
18
- status: string;
19
- cover: string;
20
- tag: string;
21
- relation_type: string;
22
- product_id: number;
23
- limit_status: string;
24
- sales_status: number;
25
- par_value: string;
26
- used_par_value: string;
27
- start_date: string;
28
- expire_date: string;
29
- end_time: string;
30
- start_time: string;
31
- created_at: string;
32
- product_name: string;
33
- expire_time: string;
34
- available_max_par_value: string;
35
- available_max_amount: string;
36
- custom_expire_status: number;
37
- wallet_pass_usage_unit: WalletPassUsageUnit;
38
- custom_order_deduct_exhausted: number;
39
- available_product_status: number;
40
- available_product_ids: any[];
41
- available_product_type: string;
42
- available_num: number;
43
- available_product_title: string;
44
- unified_available_status: number;
45
- unified_messages: UnifiedMessages;
46
- external_card: any[];
47
- product: Product;
48
- shop: Shop;
49
- wallet_pass_usage?: any;
50
- balance_par_value: string;
51
- };
52
- declare type Shop = {
53
- id: number;
54
- name: string;
55
- default_url: string;
56
- };
57
- declare type Product = {
58
- id: number;
59
- title: string;
60
- cover: string;
61
- is_charge_tax: number;
62
- };
63
- declare type UnifiedMessages = {
64
- title: string;
65
- desc: string;
66
- alert: string;
67
- };
68
- declare type WalletPassUsageUnit = {
69
- price: number;
70
- points: number;
71
- };
72
- /**
73
- * 查询支付识别码列表
74
- */
75
- export declare const getMachineCodeList: (params: MachineCodeListParams) => Promise<WalletPassDataType[]>;
76
- /**
77
- * 获取推荐的支付识别码
78
- */
79
- export declare const getRecommendMachineCodeList: (order_id: number) => Promise<WalletPassDataType[]>;
80
- /**
81
- * 搜索支付识别码
82
- */
83
- export declare const searchMachineCodeList: (params: {
84
- order_id: number | string;
85
- code: string;
86
- sale_channel: string;
87
- prepare_payments: {
88
- voucher_id: number;
89
- amount: number;
90
- tag: string;
91
- }[];
92
- filter_prepare_wallet_pass: 1 | 0;
93
- }) => Promise<WalletPassDataType[]>;
94
- /**
95
- * walletpass支付
96
- */
97
- export declare const walletPassPay: (params: {
98
- order_id: number | string;
99
- payment_group_id: number;
100
- payments: {
101
- amount: string;
102
- wallet_pass_use_value: string;
103
- voucher_id: number;
104
- tag: string;
105
- wallet_pass_usage_unit: {
106
- price: number;
107
- points: number;
108
- };
109
- }[];
110
- }) => Promise<WalletPassDataType[]>;
111
- export {};
@@ -1,3 +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[];
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const _default: any;
3
- export default _default;
@@ -1,49 +0,0 @@
1
- import { PayGroup } from "./model";
2
- /**
3
- * 计算walletPass列表数据的总金额
4
- * @param list
5
- */
6
- export declare const calcWalletPassListAmount: (list: any[]) => any;
7
- /**
8
- * 将walletPass列表数据转换为prepare_payments需要的数据格式
9
- * @param list
10
- */
11
- export declare const formatWalletPassList2PreparePayments: (list?: any[]) => {
12
- voucher_id: any;
13
- amount: number;
14
- tag: any;
15
- }[];
16
- /**
17
- * walletPass支付params
18
- * @param payGroup
19
- */
20
- export declare const formatWalletPassParams: (payGroup: PayGroup) => {
21
- order_id: string;
22
- payment_group_id: number;
23
- payments: {
24
- amount: any;
25
- wallet_pass_use_value: any;
26
- voucher_id: any;
27
- tag: any;
28
- wallet_pass_usage_unit: any;
29
- }[];
30
- };
31
- /**
32
- * @title: 获取是否walletPass和三方支付的组合支付
33
- * @description: 三方支付 (stripe 支付宝 微信 苹果 谷歌)
34
- * @return: *
35
- * @Author: shengjie.zuo
36
- * @Date: 2024-08-30 10:06:17
37
- */
38
- export declare const getIsWalletPassAndTripartitePayment: (payGroup: PayGroup) => boolean | 0 | undefined;
39
- export declare const isFranchiseeShop: (path?: any, history?: any) => any;
40
- /**
41
- * @title: 获取当前连锁加盟店铺shopid
42
- * @description:
43
- * @param {any} param1
44
- * @return {*}
45
- * @Author: chensheng.gu
46
- * @Date: 2024-08-07 10:04
47
- */
48
- export declare const getFranchiseeShopId: (path?: any, history?: any) => number;
49
- export declare const formatFranchiseeRoute: (url: string, history?: any) => string;
@@ -1,2 +0,0 @@
1
- declare const TabProduct: (props: any) => JSX.Element;
2
- export default TabProduct;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- interface GridLayoutProps {
4
- gridConfig?: string;
5
- items: any[];
6
- renderItem: (item: any) => React.ReactNode;
7
- }
8
- declare const GridLayout: React.FC<GridLayoutProps>;
9
- export default GridLayout;
@@ -1,34 +0,0 @@
1
- import './index.less';
2
- export interface ProductCardConfig {
3
- showImg: boolean;
4
- imgWidth: string;
5
- imgHeight: string;
6
- showTitle: boolean;
7
- showSpec: boolean;
8
- showTags: boolean;
9
- showPrice: boolean;
10
- showOriginalPrice: boolean;
11
- showZeroPrice: boolean;
12
- showMarketingTag: boolean;
13
- showRemark: boolean;
14
- showStock: boolean;
15
- }
16
- interface ProductGroupProps {
17
- data: {
18
- icon: string;
19
- id: number;
20
- name: string;
21
- products: any[];
22
- slug: string;
23
- sort: number;
24
- };
25
- layout: {
26
- grid: boolean;
27
- config?: string;
28
- };
29
- onSelectProduct?: (id: number) => void;
30
- currentProductId?: number;
31
- }
32
- declare const ProductGroup: ({ data, layout, onSelectProduct, currentProductId, showImg, imgWidth, imgHeight, showTitle, showSpec, showTags, showPrice, showOriginalPrice, showZeroPrice, showMarketingTag, showRemark, showStock, }: ProductGroupProps & ProductCardConfig) => JSX.Element;
33
- export declare const ProductGroupSkeleton: ({ layout }: any) => JSX.Element;
34
- export default ProductGroup;
@@ -1,23 +0,0 @@
1
- import React from 'react';
2
- import { ProductCardConfig } from './components/productGroup';
3
- import type { ProductSelectToken } from './theme/token';
4
- import './index.less';
5
- interface ProductSelectProps {
6
- dataSource: any[];
7
- theme?: 'light' | 'dark';
8
- showSearch?: boolean;
9
- showTab?: boolean;
10
- layout?: {
11
- grid: boolean;
12
- config: string;
13
- };
14
- onChange: (value: any) => void;
15
- value?: number;
16
- loading?: boolean;
17
- scrollDom?: string;
18
- style?: React.CSSProperties;
19
- emptyDescription?: string;
20
- token?: Partial<ProductSelectToken>;
21
- }
22
- declare const index: ({ dataSource, theme, showSearch, scrollDom, style, token: customToken, ...rest }: ProductSelectProps & Partial<ProductCardConfig>) => JSX.Element;
23
- export default index;
@@ -1,4 +0,0 @@
1
- export declare const getStaffList: () => Promise<any>;
2
- export declare const getProductChannel: () => Promise<any>;
3
- export declare const getOrderTypes: () => Promise<any>;
4
- export declare const getPaymentTypes: () => Promise<any>;
@@ -1,3 +0,0 @@
1
- import { ProductProps } from '../../type';
2
- declare const Product: (props: ProductProps) => JSX.Element;
3
- export default Product;
@@ -1,2 +0,0 @@
1
- declare const useAddService: (id?: number, type?: string) => JSX.Element | null;
2
- export default useAddService;
@@ -1,2 +0,0 @@
1
- declare const useClearCart: (key?: number | undefined) => JSX.Element | null;
2
- export default useClearCart;
@@ -1,22 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare type SubTotalKey = 'deposit' | 'total' | 'sub_total' | 'tax' | 'delivery_fee' | 'discount' | 'point_deduction' | 'member_deduction' | 'custom' | string;
4
- export interface SubTotalItem extends React.HTMLAttributes<HTMLDivElement> {
5
- key: SubTotalKey;
6
- label?: string | React.ReactNode;
7
- value: number;
8
- count?: number;
9
- hidden?: boolean;
10
- tax?: {
11
- rate?: number;
12
- is_price_include_tax?: boolean;
13
- title?: string;
14
- };
15
- }
16
- interface SubTotalProps extends React.HTMLAttributes<HTMLDivElement> {
17
- list: SubTotalItem[];
18
- mode?: 'column1' | 'column2';
19
- describe?: string;
20
- }
21
- declare const SubTotal: (props: SubTotalProps) => JSX.Element;
22
- export default SubTotal;
@@ -1,9 +0,0 @@
1
- import './index.less';
2
- interface AddServiceProps {
3
- onEdit?: any;
4
- dispatch?: any;
5
- state?: any;
6
- renderMode?: 'current' | 'drawer';
7
- }
8
- declare const AddSerivce: (props: AddServiceProps) => JSX.Element | null;
9
- export default AddSerivce;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const TicketBooking: () => JSX.Element;
3
- export default TicketBooking;
@@ -1,12 +0,0 @@
1
- import type { Dayjs } from 'dayjs';
2
- import './index.less';
3
- interface ITimeBarProps {
4
- globalState: any;
5
- setGlobalState: any;
6
- onDateChange: (date: Dayjs, dateString?: string) => void;
7
- onDateTimeChange: (date: Dayjs, timeString: string) => void;
8
- setIntervalTime: (value: boolean) => void;
9
- locale: string;
10
- }
11
- declare const TimeBar: (props: ITimeBarProps) => JSX.Element;
12
- export default TimeBar;
@@ -1,42 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare global {
4
- interface Window {
5
- PKPass?: any;
6
- GoogleWalletPass?: any;
7
- }
8
- interface Navigator {
9
- pkpass?: {
10
- addPass(pass: any): Promise<string>;
11
- };
12
- googlewallet?: {
13
- addPass(pass: any): Promise<string>;
14
- };
15
- }
16
- }
17
- interface DetailProps {
18
- detail: {
19
- id?: string;
20
- tag?: string;
21
- code?: string;
22
- product_title?: string;
23
- encoded?: string;
24
- balance?: number;
25
- expire_date?: string;
26
- product?: any;
27
- machinecode_config?: any;
28
- [key: string]: any;
29
- };
30
- isDiscoundCard?: boolean;
31
- showWalletBar?: boolean;
32
- onBack?: () => void;
33
- buttonGroupList?: any[][];
34
- className?: string;
35
- style?: React.CSSProperties;
36
- addWalletCallback?: (addWallet: () => void) => void;
37
- }
38
- export interface WalletDetailRef {
39
- addWalletCard: () => void;
40
- }
41
- declare const Detail: React.ForwardRefExoticComponent<DetailProps & React.RefAttributes<WalletDetailRef>>;
42
- export default Detail;
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface VoucherProps {
4
- globalState: any;
5
- setGlobalState: (state: any) => void;
6
- }
7
- /**
8
- * 代金券组件
9
- * 展示用户的代金券列表和详情
10
- */
11
- declare const Voucher: React.FC<VoucherProps>;
12
- export default Voucher;
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { IWalletListItemProps } from '../serve';
3
- export interface WalletCardProps {
4
- item: IWalletListItemProps;
5
- currentId?: string | number;
6
- isDiscountCard?: boolean;
7
- onClick?: () => void;
8
- balanceTitle?: string;
9
- }
10
- declare const _default: React.NamedExoticComponent<WalletCardProps>;
11
- export default _default;
@@ -1,10 +0,0 @@
1
- import './index.less';
2
- import { DetailProvider, useDetail } from './DetailContext';
3
- export { default as WalletCard } from './components/WalletCard';
4
- export * from './utils/formatUtils';
5
- export * from './hooks/useWalletCard';
6
- export * from './serve';
7
- export * from './model';
8
- export { DetailProvider, useDetail };
9
- declare const Wallet: any;
10
- export default Wallet;
@@ -1,28 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare module 'react' {
4
- interface HTMLAttributes<T> {
5
- role?: string;
6
- }
7
- }
8
- declare global {
9
- namespace JSX {
10
- interface IntrinsicElements {
11
- div: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
12
- children?: React.ReactNode;
13
- onClick?: React.MouseEventHandler<HTMLDivElement>;
14
- onMouseDown?: React.MouseEventHandler<HTMLDivElement>;
15
- onMouseUp?: React.MouseEventHandler<HTMLDivElement>;
16
- onTouchStart?: React.TouchEventHandler<HTMLDivElement>;
17
- onTouchEnd?: React.TouchEventHandler<HTMLDivElement>;
18
- role?: string;
19
- };
20
- img: React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>;
21
- span: React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement> & {
22
- children?: React.ReactNode;
23
- };
24
- }
25
- }
26
- }
27
- declare const WalletList: (props: any) => JSX.Element;
28
- export default WalletList;
@@ -1,11 +0,0 @@
1
- /// <reference types="react" />
2
- import './IconPanel.less';
3
- interface IconPanel {
4
- name: string;
5
- color?: string;
6
- value?: string;
7
- defaultValue?: string;
8
- onChange?: (val: string) => void;
9
- }
10
- declare const IconPanel: React.FC<IconPanel>;
11
- export default IconPanel;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- interface IconItem {
3
- name: string;
4
- icon: React.ComponentType;
5
- }
6
- export declare const icons: IconItem[];
7
- export declare const iconMap: Record<string, React.ComponentType>;
8
- export {};
@@ -1,2 +0,0 @@
1
- import { MenuProps } from 'antd';
2
- export declare const items: MenuProps['items'];
@@ -1,21 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- interface EditableString {
4
- text: string;
5
- style?: React.CSSProperties;
6
- onChange?: (value: string) => void;
7
- editable?: boolean;
8
- editing?: boolean;
9
- maxLength?: number;
10
- className?: string;
11
- ellipsis?: {
12
- row: number;
13
- };
14
- }
15
- /**
16
- * 可编辑string
17
- * @param props
18
- * @constructor
19
- */
20
- declare const EditableString: React.FC<EditableString>;
21
- export default EditableString;
@@ -1,17 +0,0 @@
1
- import { CreateBaseModalProps } from './../CreateBaseModal';
2
- import { SortProps } from './../../../workSpaceList/components/Sort';
3
- import React from 'react';
4
- import './index.less';
5
- export interface SearchBarProps {
6
- title: string;
7
- describe?: string;
8
- onTitleChange?: (value: string) => void;
9
- onDescribeChange?: (value: string) => void;
10
- onDelete?: () => void;
11
- onSort?: SortProps['onChange'];
12
- isDetail?: boolean;
13
- onAddBase: CreateBaseModalProps['onAddBase'];
14
- editingTitle?: boolean;
15
- }
16
- declare const SearchBar: React.FC<SearchBarProps>;
17
- export default SearchBar;
@@ -1,3 +0,0 @@
1
- import './../../index.less';
2
- declare const Search: () => JSX.Element;
3
- export default Search;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface SortProps {
4
- onChange?: (val: string[]) => void;
5
- }
6
- declare const Sort: React.FC<SortProps>;
7
- export default Sort;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- interface ContinueButtonProps {
4
- onNext?: () => void;
5
- }
6
- declare const ContinueButton: React.FC<ContinueButtonProps>;
7
- export default ContinueButton;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Total: ({ className, isFooter }: any) => JSX.Element;
3
- export default Total;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const CartItem: ({ onNext }: any) => JSX.Element;
3
- export default CartItem;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Cart: ({ open, onCancel, onNext }: any) => JSX.Element;
3
- export default Cart;
@@ -1,36 +0,0 @@
1
- interface CheckLoginParams {
2
- isLogin: boolean;
3
- openLoginModal: (params: {
4
- callback: (status: string) => void;
5
- }) => void;
6
- isFormSubject: boolean;
7
- utils: any;
8
- accountLists: any[];
9
- appointmentBooking: any;
10
- getHolders: () => void;
11
- }
12
- export declare const checkLogin: ({ isLogin, openLoginModal, isFormSubject, utils, accountLists, appointmentBooking, getHolders, }: CheckLoginParams) => Promise<boolean>;
13
- interface CheckHolderParams {
14
- isFormSubject: boolean;
15
- checkAccount: (type: string) => boolean;
16
- carts: any[];
17
- }
18
- export declare const checkHolder: ({ isFormSubject, checkAccount, carts }: CheckHolderParams) => false | any[];
19
- interface CheckResourceParams {
20
- carts: any[];
21
- resources: any[];
22
- }
23
- /**
24
- * @title: 检测资源数据
25
- * @description:
26
- * @param {CheckResourceParams} param1
27
- * @return {*}
28
- * @Author: WangHan
29
- * @Date: 2025-04-29 18:02
30
- */
31
- export declare const checkResource: ({ carts, resources }: CheckResourceParams) => false | any[];
32
- interface CheckResourceParams {
33
- carts: any[];
34
- }
35
- export declare type StepKey = 'select-resource' | 'fill-form' | 'select-time' | 'confirm-information' | 'select-service' | 'select-date' | 'select-guest';
36
- export {};
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare const ConfirmInformation: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
4
- export default ConfirmInformation;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Layout: () => JSX.Element;
3
- export default Layout;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare const Date: React.ForwardRefExoticComponent<React.RefAttributes<unknown>>;
4
- export default Date;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Deposit: () => JSX.Element;
3
- export default Deposit;