@pisell/private-materials 6.2.9 → 6.2.10

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 (245) 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.css +1 -1
  6. package/build/lowcode/render/default/view.js +1 -1
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +1 -1
  9. package/es/components/appointmentBooking/components/Cart/utils.js +8 -13
  10. package/es/components/appointmentBooking/components/Content/index.js +87 -8
  11. package/es/components/appointmentBooking/components/Services/index.js +7 -2
  12. package/es/components/appointmentBooking/components/Voucher/index.js +10 -10
  13. package/es/components/appointmentBooking/hooks.js +28 -30
  14. package/es/components/productSelect/components/TabProduct/index.js +103 -39
  15. package/es/components/productSelect/components/TabProduct/tabs/index.less +1 -0
  16. package/es/components/productSelect/index.d.ts +2 -0
  17. package/es/components/ticketBooking/components/menuBar/index.js +38 -2
  18. package/es/components/ticketBooking/components/menuBar/index.less +8 -0
  19. package/es/components/ticketBooking/locales.d.ts +3 -0
  20. package/es/components/ticketBooking/locales.js +6 -3
  21. package/es/components/walletList/index.js +4 -4
  22. package/lib/components/appointmentBooking/components/Cart/utils.js +0 -10
  23. package/lib/components/appointmentBooking/components/Content/index.js +44 -7
  24. package/lib/components/appointmentBooking/components/Services/index.js +6 -1
  25. package/lib/components/appointmentBooking/components/Voucher/index.js +0 -11
  26. package/lib/components/appointmentBooking/hooks.js +5 -16
  27. package/lib/components/productSelect/components/TabProduct/index.js +74 -37
  28. package/lib/components/productSelect/components/TabProduct/tabs/index.less +1 -0
  29. package/lib/components/productSelect/index.d.ts +2 -0
  30. package/lib/components/ticketBooking/components/menuBar/index.js +42 -2
  31. package/lib/components/ticketBooking/components/menuBar/index.less +8 -0
  32. package/lib/components/ticketBooking/locales.d.ts +3 -0
  33. package/lib/components/ticketBooking/locales.js +6 -3
  34. package/lib/components/walletList/index.js +3 -3
  35. package/package.json +4 -4
  36. package/es/businessModel/SalesModel/Sales/index.d.ts +0 -24
  37. package/es/components/Sales/Cart/index.d.ts +0 -53
  38. package/es/components/Sales/Cart/utils.d.ts +0 -63
  39. package/es/components/Sales/Checkout/index.d.ts +0 -37
  40. package/es/components/Sales/Checkout/serve.d.ts +0 -15
  41. package/es/components/Sales/Checkout/utils.d.ts +0 -40
  42. package/es/components/Sales/Customer/index.d.ts +0 -25
  43. package/es/components/Sales/Resource/index.d.ts +0 -26
  44. package/es/components/Sales/Resource/serve.d.ts +0 -12
  45. package/es/components/Sales/Summary/index.d.ts +0 -35
  46. package/es/components/Sales/Summary/serve.d.ts +0 -1
  47. package/es/components/Sales/Summary/utils.d.ts +0 -51
  48. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -3
  49. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -9
  50. package/es/components/appointmentBooking/components/Form/index.d.ts +0 -4
  51. package/es/components/appointmentBooking/components/Form/utils.d.ts +0 -8
  52. package/es/components/appointmentBooking/components/Header/index.d.ts +0 -3
  53. package/es/components/appointmentBooking/components/Resource/index.d.ts +0 -7
  54. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
  55. package/es/components/appointmentBooking/deposit/index.d.ts +0 -3
  56. package/es/components/appointmentBooking/index.d.ts +0 -3
  57. package/es/components/booking/components/customSelect/index.d.ts +0 -38
  58. package/es/components/booking/components/footer/index.d.ts +0 -11
  59. package/es/components/booking/components/footer/utils.d.ts +0 -41
  60. package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -8
  61. package/es/components/booking/components/voucher/index.d.ts +0 -3
  62. package/es/components/booking/editBookingModal/index.d.ts +0 -5
  63. package/es/components/booking/editBookingModal/locales.d.ts +0 -21
  64. package/es/components/booking/editBookingModal/mock.d.ts +0 -807
  65. package/es/components/booking/editBookingModal/serve.d.ts +0 -51
  66. package/es/components/booking/editBookingModal/type.d.ts +0 -12
  67. package/es/components/booking/editBookingModal/utils.d.ts +0 -12
  68. package/es/components/booking/hooks/useClearCart.d.ts +0 -2
  69. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  70. package/es/components/booking/info/addServiceVariant/index.d.ts +0 -6
  71. package/es/components/booking/info/client/index.d.ts +0 -4
  72. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -9
  73. package/es/components/booking/info/index.d.ts +0 -3
  74. package/es/components/booking/info/model.d.ts +0 -5
  75. package/es/components/booking/info/service/Lists.d.ts +0 -2
  76. package/es/components/booking/info/service/addService/index.d.ts +0 -11
  77. package/es/components/booking/info/service/editService/index.d.ts +0 -7
  78. package/es/components/booking/info/service/serviceManager/index.d.ts +0 -20
  79. package/es/components/booking/info/service2/utils.d.ts +0 -247
  80. package/es/components/booking/info/utils.d.ts +0 -50
  81. package/es/components/booking/info2/index.d.ts +0 -12
  82. package/es/components/booking/info2/service/addService/index.d.ts +0 -11
  83. package/es/components/booking/info2/service/addService/utils.d.ts +0 -98
  84. package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -3
  85. package/es/components/booking/info2/service/editService/Resources/index.d.ts +0 -4
  86. package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +0 -7
  87. package/es/components/booking/info2/service/editService/ResourcesV2/index.d.ts +0 -10
  88. package/es/components/booking/info2/service/editService/index.d.ts +0 -7
  89. package/es/components/booking/info2/service/index.d.ts +0 -4
  90. package/es/components/booking/info2/utils.d.ts +0 -4
  91. package/es/components/booking/info2/utilsByBooking.d.ts +0 -35
  92. package/es/components/booking/locales.d.ts +0 -828
  93. package/es/components/booking/materiels/duration/index.d.ts +0 -13
  94. package/es/components/booking/model.d.ts +0 -108
  95. package/es/components/eftposPay/const.d.ts +0 -184
  96. package/es/components/eftposPay/hooks.d.ts +0 -35
  97. package/es/components/eftposPay/index.d.ts +0 -4
  98. package/es/components/eftposPay/linkly/const.d.ts +0 -23
  99. package/es/components/eftposPay/linkly/hooks/index.d.ts +0 -2
  100. package/es/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
  101. package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
  102. package/es/components/eftposPay/linkly/index.d.ts +0 -2
  103. package/es/components/eftposPay/linkly/service.d.ts +0 -32
  104. package/es/components/eftposPay/manufacturer.d.ts +0 -7
  105. package/es/components/eftposPay/pay.d.ts +0 -20
  106. package/es/components/eftposPay/payo/config.d.ts +0 -12
  107. package/es/components/eftposPay/store/index.d.ts +0 -355
  108. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -3
  109. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -2
  110. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -3
  111. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -3
  112. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -3
  113. package/es/components/eventBooking/components/bookingDetailModal/index.d.ts +0 -7
  114. package/es/components/eventBooking/index.d.ts +0 -3
  115. package/es/components/eventBooking/locales.d.ts +0 -246
  116. package/es/components/index.d.ts +0 -20
  117. package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
  118. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -3
  119. package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -61
  120. package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
  121. package/es/components/pay/toC/PaymentMethods/index.d.ts +0 -9
  122. package/es/components/pay/toC/index.d.ts +0 -3
  123. package/es/components/pay/toC/locales.d.ts +0 -289
  124. package/es/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
  125. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -3
  126. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -3
  127. package/es/components/stepController/components/Content/index.d.ts +0 -7
  128. package/es/components/stepController/components/Footer/index.d.ts +0 -8
  129. package/es/components/stepController/components/Header/index.d.ts +0 -20
  130. package/es/components/stepController/index.d.ts +0 -5
  131. package/es/components/stepController/locales.d.ts +0 -27
  132. package/es/components/stepController/types.d.ts +0 -23
  133. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
  134. package/es/components/ticketBooking/serve.d.ts +0 -287
  135. package/es/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
  136. package/es/components/ticketBooking/utils/formatTime.d.ts +0 -31
  137. package/es/components/ticketBooking/utils/index.d.ts +0 -23
  138. package/es/hooks/useWindowSize.d.ts +0 -5
  139. package/es/index.d.ts +0 -47
  140. package/es/utils/index.d.ts +0 -23
  141. package/lib/businessModel/SalesModel/Sales/index.d.ts +0 -24
  142. package/lib/components/Sales/Cart/index.d.ts +0 -53
  143. package/lib/components/Sales/Cart/utils.d.ts +0 -63
  144. package/lib/components/Sales/Checkout/index.d.ts +0 -37
  145. package/lib/components/Sales/Checkout/serve.d.ts +0 -15
  146. package/lib/components/Sales/Checkout/utils.d.ts +0 -40
  147. package/lib/components/Sales/Customer/index.d.ts +0 -25
  148. package/lib/components/Sales/Resource/index.d.ts +0 -26
  149. package/lib/components/Sales/Resource/serve.d.ts +0 -12
  150. package/lib/components/Sales/Summary/index.d.ts +0 -35
  151. package/lib/components/Sales/Summary/serve.d.ts +0 -1
  152. package/lib/components/Sales/Summary/utils.d.ts +0 -51
  153. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -3
  154. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -9
  155. package/lib/components/appointmentBooking/components/Form/index.d.ts +0 -4
  156. package/lib/components/appointmentBooking/components/Form/utils.d.ts +0 -8
  157. package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -3
  158. package/lib/components/appointmentBooking/components/Resource/index.d.ts +0 -7
  159. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
  160. package/lib/components/appointmentBooking/deposit/index.d.ts +0 -3
  161. package/lib/components/appointmentBooking/index.d.ts +0 -3
  162. package/lib/components/booking/components/customSelect/index.d.ts +0 -38
  163. package/lib/components/booking/components/footer/index.d.ts +0 -11
  164. package/lib/components/booking/components/footer/utils.d.ts +0 -41
  165. package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -8
  166. package/lib/components/booking/components/voucher/index.d.ts +0 -3
  167. package/lib/components/booking/editBookingModal/index.d.ts +0 -5
  168. package/lib/components/booking/editBookingModal/locales.d.ts +0 -21
  169. package/lib/components/booking/editBookingModal/mock.d.ts +0 -807
  170. package/lib/components/booking/editBookingModal/serve.d.ts +0 -51
  171. package/lib/components/booking/editBookingModal/type.d.ts +0 -12
  172. package/lib/components/booking/editBookingModal/utils.d.ts +0 -12
  173. package/lib/components/booking/hooks/useClearCart.d.ts +0 -2
  174. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
  175. package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -6
  176. package/lib/components/booking/info/client/index.d.ts +0 -4
  177. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -9
  178. package/lib/components/booking/info/index.d.ts +0 -3
  179. package/lib/components/booking/info/model.d.ts +0 -5
  180. package/lib/components/booking/info/service/Lists.d.ts +0 -2
  181. package/lib/components/booking/info/service/addService/index.d.ts +0 -11
  182. package/lib/components/booking/info/service/editService/index.d.ts +0 -7
  183. package/lib/components/booking/info/service/serviceManager/index.d.ts +0 -20
  184. package/lib/components/booking/info/service2/utils.d.ts +0 -247
  185. package/lib/components/booking/info/utils.d.ts +0 -50
  186. package/lib/components/booking/info2/index.d.ts +0 -12
  187. package/lib/components/booking/info2/service/addService/index.d.ts +0 -11
  188. package/lib/components/booking/info2/service/addService/utils.d.ts +0 -98
  189. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -3
  190. package/lib/components/booking/info2/service/editService/Resources/index.d.ts +0 -4
  191. package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +0 -7
  192. package/lib/components/booking/info2/service/editService/ResourcesV2/index.d.ts +0 -10
  193. package/lib/components/booking/info2/service/editService/index.d.ts +0 -7
  194. package/lib/components/booking/info2/service/index.d.ts +0 -4
  195. package/lib/components/booking/info2/utils.d.ts +0 -4
  196. package/lib/components/booking/info2/utilsByBooking.d.ts +0 -35
  197. package/lib/components/booking/locales.d.ts +0 -828
  198. package/lib/components/booking/materiels/duration/index.d.ts +0 -13
  199. package/lib/components/booking/model.d.ts +0 -108
  200. package/lib/components/eftposPay/const.d.ts +0 -184
  201. package/lib/components/eftposPay/hooks.d.ts +0 -35
  202. package/lib/components/eftposPay/index.d.ts +0 -4
  203. package/lib/components/eftposPay/linkly/const.d.ts +0 -23
  204. package/lib/components/eftposPay/linkly/hooks/index.d.ts +0 -2
  205. package/lib/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
  206. package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
  207. package/lib/components/eftposPay/linkly/index.d.ts +0 -2
  208. package/lib/components/eftposPay/linkly/service.d.ts +0 -32
  209. package/lib/components/eftposPay/manufacturer.d.ts +0 -7
  210. package/lib/components/eftposPay/pay.d.ts +0 -20
  211. package/lib/components/eftposPay/payo/config.d.ts +0 -12
  212. package/lib/components/eftposPay/store/index.d.ts +0 -355
  213. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -3
  214. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -2
  215. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -3
  216. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -3
  217. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -3
  218. package/lib/components/eventBooking/components/bookingDetailModal/index.d.ts +0 -7
  219. package/lib/components/eventBooking/index.d.ts +0 -3
  220. package/lib/components/eventBooking/locales.d.ts +0 -246
  221. package/lib/components/index.d.ts +0 -20
  222. package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
  223. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -3
  224. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -61
  225. package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
  226. package/lib/components/pay/toC/PaymentMethods/index.d.ts +0 -9
  227. package/lib/components/pay/toC/index.d.ts +0 -3
  228. package/lib/components/pay/toC/locales.d.ts +0 -289
  229. package/lib/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
  230. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -3
  231. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -3
  232. package/lib/components/stepController/components/Content/index.d.ts +0 -7
  233. package/lib/components/stepController/components/Footer/index.d.ts +0 -8
  234. package/lib/components/stepController/components/Header/index.d.ts +0 -20
  235. package/lib/components/stepController/index.d.ts +0 -5
  236. package/lib/components/stepController/locales.d.ts +0 -27
  237. package/lib/components/stepController/types.d.ts +0 -23
  238. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
  239. package/lib/components/ticketBooking/serve.d.ts +0 -287
  240. package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
  241. package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -31
  242. package/lib/components/ticketBooking/utils/index.d.ts +0 -23
  243. package/lib/hooks/useWindowSize.d.ts +0 -5
  244. package/lib/index.d.ts +0 -47
  245. package/lib/utils/index.d.ts +0 -23
@@ -1,26 +0,0 @@
1
- import React from 'react';
2
- interface ResourceData {
3
- }
4
- interface ResourceContextType {
5
- getResourceList: {
6
- run: (params: any) => void;
7
- loading: boolean;
8
- data?: any;
9
- };
10
- selectResource: (newResourceData: Partial<ResourceData>) => void;
11
- }
12
- interface ResourceProviderProps {
13
- children: React.ReactNode;
14
- }
15
- export declare const ResourceContext: React.Context<ResourceContextType | undefined>;
16
- export declare const ResourceProvider: React.FC<ResourceProviderProps>;
17
- /**
18
- * 使用步骤管理的Hook
19
- * @throws {Error} 如果在StepProvider外部使用会抛出错误
20
- * @returns {StepContextType} 步骤管理上下文
21
- */
22
- export declare const useResource: () => ResourceContextType;
23
- declare const _default: {
24
- defaultState: ResourceData;
25
- };
26
- export default _default;
@@ -1,12 +0,0 @@
1
- export declare const getResourceListApi: (params: {
2
- form_id: string;
3
- shop_id: string;
4
- form_data_status: string;
5
- }) => Promise<any>;
6
- /**
7
- * @title: 获取特殊资源列表
8
- * @Author: xiangfeng.xue
9
- */
10
- export declare const getSpecialResourceListApi: (params: {
11
- event_item_ids?: string | number[];
12
- }) => Promise<any>;
@@ -1,35 +0,0 @@
1
- import React from 'react';
2
- interface SummaryData {
3
- }
4
- interface SummaryContextType {
5
- subtotal: number | string;
6
- total: number | string;
7
- taxTitle?: string;
8
- totalTaxFee?: string;
9
- isPriceIncludeTax?: 0 | 1;
10
- deposit?: {
11
- total: string;
12
- protocols: any[];
13
- hasDeposit: boolean;
14
- };
15
- isAgreeDepositPolicy: boolean;
16
- setIsAgreeDepositPolicy: (value: boolean) => void;
17
- getDepositProtocol: (params: {
18
- id: string;
19
- }) => Promise<any>;
20
- }
21
- interface SummaryProviderProps {
22
- children: React.ReactNode;
23
- }
24
- export declare const SummaryContext: React.Context<SummaryContextType | undefined>;
25
- export declare const SummaryProvider: React.FC<SummaryProviderProps>;
26
- /**
27
- * 使用步骤管理的Hook
28
- * @throws {Error} 如果在StepProvider外部使用会抛出错误
29
- * @returns {StepContextType} 步骤管理上下文
30
- */
31
- export declare const useSummary: () => SummaryContextType;
32
- declare const _default: {
33
- defaultState: SummaryData;
34
- };
35
- export default _default;
@@ -1 +0,0 @@
1
- export declare const getDepositProtocolApi: (id: string) => Promise<any>;
@@ -1,51 +0,0 @@
1
- import Decimal from 'decimal.js';
2
- interface CartItem {
3
- price: number | string;
4
- quantity?: number;
5
- [k: string]: any;
6
- }
7
- interface PriceDetail {
8
- subtotal: string;
9
- total: string;
10
- taxTitle?: string;
11
- totalTaxFee?: string;
12
- isPriceIncludeTax?: 0 | 1;
13
- deposit?: {
14
- total: string;
15
- protocols: any[];
16
- hasDeposit: boolean;
17
- };
18
- }
19
- /**
20
- * 计算商品小计(不含其他费用)
21
- * @param items - 购物车商品数组
22
- * @returns 商品总价字符串,保留2位小数
23
- */
24
- export declare const calculateSubtotal: (items: CartItem[]) => string;
25
- /**
26
- * @title: 单个商品的税费
27
- * @description:
28
- * 单个商品的税费 = 商品销售单价(折扣后) * 税率 * is_charge_tax /( 1+ 税率 * is_price_include_tax)
29
- * $taxFee = $price * $taxRate * $isChargeTax / (1 + $taxRate * $isPriceIncludeTax);
30
- * @return {*}
31
- * @Author: xiangfeng.xue
32
- */
33
- export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => "0.00" | Decimal;
34
- /**
35
- * 计算所有价格明细
36
- * @param items - 购物车商品数组
37
- * @param options - 其他费用配置
38
- * @returns 价格明细对象
39
- */
40
- export declare const calculatePriceDetails: (shopInfo: any, items: CartItem[]) => PriceDetail;
41
- /**
42
- * @title: 计算定金
43
- * @param items - 购物车商品数组
44
- * @returns 定金字符串,保留2位小数
45
- */
46
- export declare const calculateDeposit: (items: CartItem[]) => {
47
- total: string;
48
- protocols: any[];
49
- hasDeposit: never;
50
- } | undefined;
51
- export {};
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const CartItem: ({ onNext }: any) => JSX.Element;
3
- export default CartItem;
@@ -1,9 +0,0 @@
1
- import './index.less';
2
- export declare const DepositContent: (props: {
3
- isAgreeDepositPolicy: boolean;
4
- setIsAgreeDepositPolicy: (value: boolean) => void;
5
- deposit: any;
6
- depositProtocolRequest?: any;
7
- }) => JSX.Element;
8
- declare const Deposit: () => JSX.Element;
9
- export default Deposit;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare const Form: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
4
- export default Form;
@@ -1,8 +0,0 @@
1
- /**
2
- * @title: 更新表单数据
3
- * @description:
4
- * @return {*}
5
- * @Author: WangHan
6
- * @Date: 2025-05-26 16:58
7
- */
8
- export declare const updateRelationForms: (carts: any[], currentCart: any, values: any, currentStepKey?: string) => any;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Header: () => JSX.Element;
3
- export default Header;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- interface ResourceProps {
4
- onChange?: (val: any) => void;
5
- }
6
- declare const Resource: React.ForwardRefExoticComponent<ResourceProps & React.RefAttributes<any>>;
7
- export default Resource;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const DepositModal: (props: any) => JSX.Element;
3
- export default DepositModal;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Deposit: (props: any) => JSX.Element;
3
- export default Deposit;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const AppointmentBooking: () => JSX.Element;
3
- export default AppointmentBooking;
@@ -1,38 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- interface CustomSelectProps {
4
- options: any[];
5
- onValueChange: (value: any[]) => void;
6
- value: any[];
7
- rowKey: string;
8
- previewItemRender?: (item: any) => React.ReactNode;
9
- previewItemTitleRender?: (item: any, index: number, values: any[]) => React.ReactNode;
10
- addButtonRender?: () => React.ReactNode;
11
- optionRender: (item: any) => React.ReactNode;
12
- addButtonProps?: any;
13
- drawerProps?: any;
14
- createItemText?: string;
15
- loading?: boolean;
16
- previewItemClassName?: string;
17
- optionClassName?: string;
18
- mode?: 'single' | 'multiple' | 'form';
19
- filterItem?: (item: any, search: string) => boolean;
20
- isPreview?: boolean;
21
- name?: string;
22
- handleCreateItem?: () => void;
23
- handleViewItem?: (item: any) => void;
24
- searchChange?: (e: string) => void;
25
- loadMore?: any;
26
- virtualListHeight?: number;
27
- disabled?: boolean;
28
- searchValue?: string;
29
- onVirtualListScroll?: any;
30
- modalOpen?: boolean;
31
- closeCallback?: () => any;
32
- autoFocus?: boolean;
33
- showDropDown?: boolean;
34
- handleOpenModal?: () => void;
35
- handleDayChange?: (value: any) => void;
36
- }
37
- declare const _default: React.ForwardRefExoticComponent<CustomSelectProps & React.RefAttributes<unknown>>;
38
- export default _default;
@@ -1,11 +0,0 @@
1
- import './index.less';
2
- /**
3
- * @title: 底部
4
- * @description:
5
- * @param {any} props
6
- * @return {*}
7
- * @Author: zhiwei.Wang
8
- * @Date: 2024-01-30 16:51
9
- */
10
- declare const Footer: (props: any) => JSX.Element;
11
- export default Footer;
@@ -1,41 +0,0 @@
1
- /**
2
- * @title: 套餐单规格信息
3
- * @description:
4
- * @param {any} option
5
- * @return {*}
6
- * @Author: zhiwei.Wang
7
- * @Date: 2024-02-19 09:26
8
- */
9
- export declare const formatProductOption: (option: any) => any;
10
- /**
11
- * @title: 套餐信息
12
- * @description:
13
- * @param {any} bundle
14
- * @return {*}
15
- * @Author: zhiwei.Wang
16
- * @Date: 2024-02-19 09:26
17
- */
18
- export declare const formatProductBundle: (bundle: any) => any;
19
- export interface ResourceItem {
20
- [key: string]: any;
21
- }
22
- /**
23
- * @title: 传入资源,如果有子资源,会根据组合资源的 capacity 计算修改子资源的 capacity
24
- * @description:
25
- * @param {object} resource
26
- * @return {*}
27
- * @Author: jinglin.tan
28
- */
29
- export declare const checkSubResourcesCapacity: (resource: ResourceItem) => void;
30
- export declare const checkResourcesFormat: (resources: any[], service: any, isChild?: boolean) => any[];
31
- /**
32
- * @title: 格式化商品单价
33
- * @description:
34
- * @param {any} item
35
- * @return {*}
36
- * @Author: WangHan
37
- * @Date: 2024-12-23 12:05
38
- */
39
- export declare const formatProductPrice: (item: any) => number;
40
- export declare const formatValues: (state: any) => any;
41
- export declare const checkHolderIsError: (state: any) => any;
@@ -1,8 +0,0 @@
1
- import './index.less';
2
- interface IProps {
3
- modal: any;
4
- onReload: () => Promise<any>;
5
- onCancel: () => void;
6
- }
7
- declare const ReloadResourceModal: ({ modal, onReload, onCancel }: IProps) => JSX.Element;
8
- export default ReloadResourceModal;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const VoucherCard: (props: any) => JSX.Element | null;
3
- export default VoucherCard;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { EditBookingModalProps } from './type';
3
- import './index.less';
4
- declare const _default: React.ForwardRefExoticComponent<EditBookingModalProps & React.RefAttributes<unknown>>;
5
- export default _default;
@@ -1,21 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'pisell2.text.login': string;
4
- 'pisell2.text.booking.confirm-changes': string;
5
- 'pisell2.text.booking.time-change': string;
6
- 'pisell2.text.booking.resource-change.detail': string;
7
- };
8
- 'zh-CN': {
9
- 'pisell2.text.login': string;
10
- 'pisell2.text.booking.confirm-changes': string;
11
- 'pisell2.text.booking.time-change': string;
12
- 'pisell2.text.booking.resource-change.detail': string;
13
- };
14
- 'zh-HK': {
15
- 'pisell2.text.login': string;
16
- 'pisell2.text.booking.confirm-changes': string;
17
- 'pisell2.text.booking.time-change': string;
18
- 'pisell2.text.booking.resource-change.detail': string;
19
- };
20
- };
21
- export default _default;