@pisell/private-materials 3.3.64 → 3.3.65

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 (213) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +7 -7
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +6 -6
  11. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  12. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  13. package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  14. package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
  15. package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  16. package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  17. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  18. package/es/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
  19. package/es/components/appointmentBooking/components/Voucher/index.less +2 -0
  20. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
  21. package/es/components/appointmentBooking/deposit/index.d.ts +1 -0
  22. package/es/components/appointmentBooking/index.d.ts +1 -0
  23. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  24. package/es/components/booking/components/footer/index.js +15 -30
  25. package/es/components/booking/components/voucher/index.d.ts +1 -0
  26. package/es/components/booking/components/voucher/index.less +1 -0
  27. package/es/components/booking/forms/footer.d.ts +1 -0
  28. package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  29. package/es/components/booking/hooks/useClearCart.d.ts +1 -0
  30. package/es/components/booking/info/dateRange/index.d.ts +1 -0
  31. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  32. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  33. package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  34. package/es/components/booking/info/service/serviceItem/index.d.ts +1 -0
  35. package/es/components/booking/info/service2/utils.d.ts +1 -1
  36. package/es/components/booking/info2/service/editService/index.js +9 -13
  37. package/es/components/booking/info2/service/serviceItem/index.d.ts +1 -0
  38. package/es/components/booking/info2/utilsByBooking.js +10 -17
  39. package/es/components/booking/utils.js +4 -10
  40. package/es/components/eftposPay/amount.d.ts +1 -1
  41. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  42. package/es/components/eftposPay/component/fail/index.d.ts +1 -0
  43. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  44. package/es/components/eftposPay/device.d.ts +1 -1
  45. package/es/components/eftposPay/hooks.d.ts +1 -1
  46. package/es/components/eftposPay/index.d.ts +1 -0
  47. package/es/components/eftposPay/pay.d.ts +1 -0
  48. package/es/components/eftposPay/store/index.d.ts +2 -2
  49. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  50. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  51. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
  52. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
  53. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  54. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  55. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  56. package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  57. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  58. package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  59. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  60. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  61. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  62. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  63. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  64. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +1 -0
  65. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  66. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  67. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +1 -0
  68. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  69. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  70. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  71. package/es/components/eventBooking/components/timeResourceSelector/index.less +1 -0
  72. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  73. package/es/components/pay/toC/PaymentMethods/index.js +4 -5
  74. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  75. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  76. package/es/components/pisellSelectCustomerModal/index.d.ts +1 -0
  77. package/es/components/productSelect/components/TabProduct/index.d.ts +1 -0
  78. package/es/components/productSelect/components/productGroup/index.d.ts +1 -0
  79. package/es/components/ruleSetting/index.d.ts +1 -0
  80. package/es/components/schedules/calendar/index.less +152 -158
  81. package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  82. package/es/components/shoppingCart/components/Cart/index.d.ts +1 -0
  83. package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  84. package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  85. package/es/components/ticketBooking/components/addServiceVariant/addService.js +10 -12
  86. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  87. package/es/components/ticketBooking/components/ticketBooking/index.js +9 -135
  88. package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  89. package/es/components/ticketBooking/locales.d.ts +146 -164
  90. package/es/components/ticketBooking/locales.js +147 -195
  91. package/es/components/ticketBooking/serve.d.ts +0 -5
  92. package/es/components/ticketBooking/serve.js +0 -27
  93. package/es/components/wallet/DiscountCard/index.less +1 -0
  94. package/es/components/wallet/PointCard/index.less +1 -0
  95. package/es/components/wallet/RechargeableCard/index.less +9 -5
  96. package/es/components/wallet/Voucher/index.less +1 -0
  97. package/es/components/wallet/index.less +4 -0
  98. package/es/components/walletList/index.js +7 -55
  99. package/es/components/walletList/index.less +15 -17
  100. package/es/components/walletList/serve.d.ts +0 -8
  101. package/es/components/walletList/serve.js +0 -38
  102. package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
  103. package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  104. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  105. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  106. package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  107. package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
  108. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  109. package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
  110. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
  111. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
  112. package/lib/components/appointmentBooking/components/Voucher/index.less +2 -0
  113. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
  114. package/lib/components/appointmentBooking/deposit/index.d.ts +1 -0
  115. package/lib/components/appointmentBooking/index.d.ts +1 -0
  116. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  117. package/lib/components/booking/components/footer/index.js +2 -14
  118. package/lib/components/booking/components/voucher/index.d.ts +1 -0
  119. package/lib/components/booking/components/voucher/index.less +1 -0
  120. package/lib/components/booking/forms/footer.d.ts +1 -0
  121. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  122. package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
  123. package/lib/components/booking/info/dateRange/index.d.ts +1 -0
  124. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  125. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  126. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
  127. package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -0
  128. package/lib/components/booking/info/service2/utils.d.ts +1 -1
  129. package/lib/components/booking/info2/service/editService/index.js +3 -7
  130. package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -0
  131. package/lib/components/booking/info2/utilsByBooking.js +9 -7
  132. package/lib/components/booking/utils.js +3 -7
  133. package/lib/components/eftposPay/amount.d.ts +1 -1
  134. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  135. package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
  136. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  137. package/lib/components/eftposPay/device.d.ts +1 -1
  138. package/lib/components/eftposPay/hooks.d.ts +1 -1
  139. package/lib/components/eftposPay/index.d.ts +1 -0
  140. package/lib/components/eftposPay/pay.d.ts +1 -0
  141. package/lib/components/eftposPay/store/index.d.ts +2 -2
  142. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  143. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  144. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
  145. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
  146. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  147. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  148. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  149. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  150. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  151. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  152. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
  153. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  154. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  155. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  156. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  157. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +1 -0
  158. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  159. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  160. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +1 -0
  161. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  162. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
  163. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  164. package/lib/components/eventBooking/components/timeResourceSelector/index.less +1 -0
  165. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
  166. package/lib/components/pay/toC/PaymentMethods/index.js +9 -10
  167. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
  168. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  169. package/lib/components/pisellSelectCustomerModal/index.d.ts +1 -0
  170. package/lib/components/productSelect/components/TabProduct/index.d.ts +1 -0
  171. package/lib/components/productSelect/components/productGroup/index.d.ts +1 -0
  172. package/lib/components/ruleSetting/index.d.ts +1 -0
  173. package/lib/components/schedules/calendar/index.less +152 -158
  174. package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -0
  175. package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -0
  176. package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  177. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  178. package/lib/components/ticketBooking/components/addServiceVariant/addService.js +3 -5
  179. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
  180. package/lib/components/ticketBooking/components/ticketBooking/index.js +8 -134
  181. package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -0
  182. package/lib/components/ticketBooking/locales.d.ts +146 -164
  183. package/lib/components/ticketBooking/locales.js +4 -22
  184. package/lib/components/ticketBooking/serve.d.ts +0 -5
  185. package/lib/components/ticketBooking/serve.js +2 -8
  186. package/lib/components/wallet/DiscountCard/index.less +1 -0
  187. package/lib/components/wallet/PointCard/index.less +1 -0
  188. package/lib/components/wallet/RechargeableCard/index.less +9 -5
  189. package/lib/components/wallet/Voucher/index.less +1 -0
  190. package/lib/components/wallet/index.less +4 -0
  191. package/lib/components/walletList/index.js +14 -42
  192. package/lib/components/walletList/index.less +15 -17
  193. package/lib/components/walletList/serve.d.ts +0 -8
  194. package/lib/components/walletList/serve.js +2 -15
  195. package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
  196. package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
  197. package/package.json +3 -3
  198. package/es/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
  199. package/es/components/ticketBooking/utils/formatProductMessage.js +0 -53
  200. package/es/components/ticketBooking/utils/formatTime.d.ts +0 -31
  201. package/es/components/ticketBooking/utils/formatTime.js +0 -144
  202. package/es/components/walletList/locales.d.ts +0 -18
  203. package/es/components/walletList/locales.js +0 -17
  204. package/es/components/walletList/status.d.ts +0 -38
  205. package/es/components/walletList/status.js +0 -47
  206. package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
  207. package/lib/components/ticketBooking/utils/formatProductMessage.js +0 -76
  208. package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -31
  209. package/lib/components/ticketBooking/utils/formatTime.js +0 -139
  210. package/lib/components/walletList/locales.d.ts +0 -18
  211. package/lib/components/walletList/locales.js +0 -41
  212. package/lib/components/walletList/status.d.ts +0 -38
  213. package/lib/components/walletList/status.js +0 -66
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PosProps } from './const';
2
3
  import './index.less';
3
4
  declare const _default: (props: PosProps) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PayProps } from './const';
2
3
  import './index.less';
3
4
  /**
@@ -174,7 +174,7 @@ export declare const updateCustom: (payload: {
174
174
  export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
175
175
  type: EActionTypes;
176
176
  payload: {
177
- status: "loading" | "success" | "warn" | "fail" | "question";
177
+ status: "success" | "warn" | "loading" | "fail" | "question";
178
178
  };
179
179
  };
180
180
  /**
@@ -308,7 +308,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
308
308
  net?: boolean | undefined;
309
309
  component?: string | undefined;
310
310
  form?: string | undefined;
311
- status?: "loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
311
+ status?: "success" | "warn" | "loading" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
312
312
  warn?: string | undefined;
313
313
  steps?: {
314
314
  /** 用于重置当前步骤 */
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: ({ api, onChange, formatAmount, }: {
2
3
  api: any;
3
4
  onChange: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ErrorTip: ({ text }: any) => JSX.Element;
3
4
  export default ErrorTip;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ContinueButton: () => JSX.Element;
3
4
  export default ContinueButton;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Total: ({ className, isFooter }: any) => JSX.Element;
3
4
  export default Total;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const CartItem: () => JSX.Element;
3
4
  export default CartItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Cart: ({ open, onCancel }: any) => JSX.Element;
3
4
  export default Cart;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const EmptyHolderModal: (props: any) => JSX.Element;
3
4
  export default EmptyHolderModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Event: () => JSX.Element;
3
4
  export default Event;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Footer: () => JSX.Element;
3
4
  export default Footer;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Information: () => JSX.Element;
3
4
  export default Information;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const InformationOptionsModal: (props: any) => JSX.Element;
3
4
  export default InformationOptionsModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const OrderProductModal: (props: any) => JSX.Element;
3
4
  export default OrderProductModal;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const RemoveOptionConfirmModal: (props: any) => JSX.Element;
2
3
  export default RemoveOptionConfirmModal;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Resource: () => JSX.Element;
3
4
  export default Resource;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type CallToBookProps = {
2
3
  show: boolean;
3
4
  type: string;
@@ -16,6 +16,7 @@
16
16
 
17
17
  .sales-close-tip {
18
18
  color: #1b1b1b;
19
+ font-family: Inter;
19
20
  font-size: 14px;
20
21
  font-style: normal;
21
22
  font-weight: 400;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const WeekItem: (props: any) => JSX.Element;
3
4
  export default WeekItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare type CalenDateWeekProps = {
3
4
  currentDate: string;
@@ -21,6 +21,7 @@
21
21
  // position: absolute;
22
22
  // bottom: 54px;
23
23
  // left: 0;
24
+ // font-family: Inter;
24
25
  // font-size: 12px;
25
26
  // font-style: normal;
26
27
  // font-weight: 600;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const BookingOptions: (props: {
2
3
  onChangeBookingOption?: ((bookingOption: any) => void) | undefined;
3
4
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarDataItem } from '../../type';
2
3
  declare type CalendarItemProps = {
3
4
  month: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ScheduleTimeItem: ({ timeList }: any) => JSX.Element;
3
4
  export default ScheduleTimeItem;
@@ -12,6 +12,7 @@
12
12
 
13
13
  .time-resource-title {
14
14
  color: var(--Gray-900, #101828);
15
+ font-family: Inter;
15
16
  font-size: 14px;
16
17
  font-style: normal;
17
18
  font-weight: 600;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SetupForm: ({ onReady, amount, order_id, payment_method, scene, }: any) => JSX.Element;
3
4
  export default SetupForm;
@@ -65,7 +65,7 @@ var isOfflinePayment = (type) => {
65
65
  ].includes(type);
66
66
  };
67
67
  var PaymentMethods = (props, ref) => {
68
- var _a, _b, _c;
68
+ var _a;
69
69
  const MWCreditCardRef2 = (0, import_react.useRef)(null);
70
70
  const SuperPayAliPayH5Ref2 = (0, import_react.useRef)(null);
71
71
  const StripePayRef2 = (0, import_react.useRef)(null);
@@ -83,9 +83,9 @@ var PaymentMethods = (props, ref) => {
83
83
  const context = (0, import_useEngineContext.default)();
84
84
  const { interaction } = (_a = context.appHelper) == null ? void 0 : _a.utils;
85
85
  const init = async ({ type, payGroup }) => {
86
- var _a2, _b2;
86
+ var _a2, _b;
87
87
  const waitAmount = (payGroup == null ? void 0 : payGroup.wait_amount) || 0;
88
- const cards = (_b2 = (_a2 = payGroup == null ? void 0 : payGroup.walletPass) == null ? void 0 : _a2.cards) == null ? void 0 : _b2.length;
88
+ const cards = (_b = (_a2 = payGroup == null ? void 0 : payGroup.walletPass) == null ? void 0 : _a2.cards) == null ? void 0 : _b.length;
89
89
  if (cards && (waitAmount <= 0 || isOfflinePayment(type))) {
90
90
  try {
91
91
  await (0, import_serve.walletPassPay)((0, import_utils.formatWalletPassParams)(payGroup));
@@ -115,11 +115,10 @@ var PaymentMethods = (props, ref) => {
115
115
  }
116
116
  await onPayByType({ type, payGroup });
117
117
  };
118
- console.log("paymentResult isAppEnv", (_c = (_b = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _b.isAppEnv) == null ? void 0 : _c.call(_b), interaction, context);
119
118
  (0, import_react.useEffect)(() => {
120
- var _a2, _b2, _c2, _d;
121
- console.log("paymentResult isAppEnv", (_b2 = (_a2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _a2.isAppEnv) == null ? void 0 : _b2.call(_a2));
122
- if ((_d = (_c2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _c2.isAppEnv) == null ? void 0 : _d.call(_c2)) {
119
+ var _a2, _b, _c, _d;
120
+ console.log("paymentResult isAppEnv", (_b = (_a2 = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _a2.isAppEnv) == null ? void 0 : _b.call(_a2));
121
+ if ((_d = (_c = interaction == null ? void 0 : interaction.utils) == null ? void 0 : _c.isAppEnv) == null ? void 0 : _d.call(_c)) {
123
122
  interaction.utils.mountFunction("global", "paymentResult", (strResult) => {
124
123
  console.log("paymentResult", strResult);
125
124
  if (!(0, import_utils2.isJson)(strResult)) return;
@@ -135,18 +134,18 @@ var PaymentMethods = (props, ref) => {
135
134
  }
136
135
  }, []);
137
136
  const onPayByType = async ({ type, payGroup }) => {
138
- var _a2, _b2, _c2, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
137
+ var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;
139
138
  console.log(type, payGroup);
140
139
  if (type === "mw.apple") {
141
140
  await ((_a2 = ApplePayRef2.current) == null ? void 0 : _a2.init({ payGroup }));
142
141
  return;
143
142
  }
144
143
  if (type === "mw.google") {
145
- await ((_b2 = GooglePayRef2.current) == null ? void 0 : _b2.init({ payGroup }));
144
+ await ((_b = GooglePayRef2.current) == null ? void 0 : _b.init({ payGroup }));
146
145
  return;
147
146
  }
148
147
  if (type === "mw.credit_card") {
149
- (_c2 = MWCreditCardRef2.current) == null ? void 0 : _c2.init({ payGroup });
148
+ (_c = MWCreditCardRef2.current) == null ? void 0 : _c.init({ payGroup });
150
149
  return;
151
150
  }
152
151
  if (type === "superpay.alipay.h5") {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { WalletPassDataType } from '../../../PaymentMethods/WalletPass/serve';
2
3
  import './index.less';
3
4
  interface WalletUseListProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface CustomerListProps {
3
4
  value: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PopoverProps } from 'antd';
2
3
  import { CustomerCardProps } from './CustomerCard';
3
4
  import './index.less';
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const TabProduct: (props: any) => JSX.Element;
2
3
  export default TabProduct;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare type BoolConfigVal = 0 | 1;
3
4
  export interface ProductCardConfig {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface RuleSettingProps {
3
4
  value: any;
@@ -1,173 +1,167 @@
1
1
  .calender-box {
2
- padding: 0 10px;
3
-
4
- .calender-year-wrap {
5
- position: relative;
6
- }
7
-
8
- .calender-year {
9
- padding: 20px 0;
10
- color: #000;
11
- font-size: 36px;
12
- font-style: normal;
13
- font-weight: 500;
14
- line-height: 44px;
15
- letter-spacing: -0.72px;
16
- background-color: #fff;
17
- position: sticky;
18
- top: 0;
19
- z-index: 1;
20
- }
21
-
22
- .caleddar-month {
23
- color: #344054;
24
- font-size: 16px;
25
- font-style: normal;
26
- font-weight: 600;
27
- line-height: 24px;
28
- margin-bottom: 4px;
29
- }
30
-
31
- // antd calendar样式修改
32
- .ant-picker-panel {
33
- border-top: none;
34
- }
35
-
36
- .pisell-lowcode-picker-cell {
37
- padding: 0;
38
- border-top: none;
39
- }
40
-
41
- .cell-size {
42
- width: 40px;
43
- height: 40px;
44
- padding: 4px;
45
- }
46
-
47
- .date-cell {
48
- .cell-size ();
49
- text-align: center;
50
- line-height: 50px;
51
- }
52
-
53
- .ant-picker-content th {
54
- .date-cell();
55
- }
56
-
57
- .caleddar-date-cell {
58
- .cell-size ();
59
- position: relative;
60
- border-radius: 50%;
61
-
62
- &.select {
63
- background-color: #fedf89;
64
- padding: 4px;
2
+ padding: 0 10px;
3
+
4
+ .calender-year-wrap {
5
+ position: relative;
6
+ }
7
+
8
+ .calender-year {
9
+ padding: 20px 0;
10
+ color: #000;
11
+ font-family: Inter;
12
+ font-size: 36px;
13
+ font-style: normal;
14
+ font-weight: 500;
15
+ line-height: 44px;
16
+ letter-spacing: -0.72px;
17
+ background-color: #fff;
18
+ position: sticky;
19
+ top: 0;
20
+ z-index: 1;
21
+ }
22
+
23
+ .caleddar-month {
24
+ color: #344054;
25
+ font-family: Inter;
26
+ font-size: 16px;
27
+ font-style: normal;
28
+ font-weight: 600;
29
+ line-height: 24px;
30
+ margin-bottom: 4px;
31
+
65
32
  }
66
33
 
67
- &.excluded {
68
- &::after {
69
- content: '';
70
- position: absolute;
71
- top: 0%;
72
- left: 0%;
73
- width: 100%;
74
- height: 100%;
75
- background: linear-gradient(
76
- -45deg,
77
- #ffffff 25%,
78
- transparent 25%,
79
- transparent 50%,
80
- #ffffff 50%,
81
- #ffffff 75%,
82
- transparent 75%,
83
- transparent
84
- );
85
- background-size: 10px 10px;
86
- }
34
+ // antd calendar样式修改
35
+ .ant-picker-panel {
36
+ border-top: none;
87
37
  }
88
38
 
89
- .caleddar-date {
90
- color: #101828;
91
- border-radius: 50%;
92
- width: 100%;
93
- height: 100%;
94
- display: flex;
95
- align-items: center;
96
- justify-content: center;
97
-
98
- &.has-status {
99
- color: #ffffff;
100
- }
101
-
102
- &.disabled-date {
103
- color: #7d89b0;
104
- }
39
+ .pisell-lowcode-picker-cell {
40
+ padding: 0;
41
+ border-top: none;
105
42
  }
106
- }
107
43
 
108
- .ant-picker-cell {
109
- padding: 0;
110
- .cell-size ();
111
- }
44
+ .cell-size {
45
+ width: 40px;
46
+ height: 40px;
47
+ padding: 4px;
48
+ }
49
+
50
+ .date-cell {
51
+ .cell-size ();
52
+ text-align: center;
53
+ line-height: 50px;
54
+ }
55
+
56
+ .ant-picker-content th {
57
+ .date-cell()
58
+ }
59
+
60
+ .caleddar-date-cell {
61
+ .cell-size ();
62
+ position: relative;
63
+ border-radius: 50%;
64
+
65
+ &.select {
66
+ background-color: #FEDF89;
67
+ padding: 4px;
68
+ }
69
+
70
+ &.excluded {
71
+ &::after {
72
+ content: '';
73
+ position: absolute;
74
+ top: 0%;
75
+ left: 0%;
76
+ width: 100%;
77
+ height: 100%;
78
+ background: linear-gradient(-45deg, #ffffff 25%, transparent 25%, transparent 50%, #ffffff 50%, #ffffff 75%, transparent 75%, transparent);
79
+ background-size: 10px 10px;
80
+ }
81
+ }
82
+
83
+ .caleddar-date {
84
+ color: #101828;
85
+ border-radius: 50%;
86
+ width: 100%;
87
+ height: 100%;
88
+ display: flex;
89
+ align-items: center;
90
+ justify-content: center;
91
+
92
+ &.has-status {
93
+ color: #ffffff;
94
+ }
95
+
96
+ &.disabled-date {
97
+ color: #7D89B0;
98
+ }
99
+ }
100
+ }
101
+
102
+ .ant-picker-cell {
103
+ padding: 0;
104
+ .cell-size ();
105
+ }
112
106
  }
113
107
 
114
108
  // 布局
115
109
  .month-list {
116
- display: flex;
117
- flex-wrap: wrap;
118
- justify-content: space-around;
119
-
120
- .month-item-box {
121
110
  display: flex;
122
- // &.month-item-1 {
123
- // justify-content: center;
124
- // }
125
-
126
- // &.month-item-2 {
127
- // justify-content: center;
128
- // }
129
-
130
- // &.month-item-3 {
131
- // &:nth-child(1n) {
132
- // justify-content: flex-start;
133
- // }
134
-
135
- // &:nth-child(2n) {
136
- // justify-content: center;
137
- // }
138
-
139
- // &:nth-child(3n) {
140
- // justify-content: flex-end;
141
- // }
142
- // }
143
-
144
- // &.month-item-4 {
145
- // &:nth-child(1n) {
146
- // justify-content: flex-start;
147
- // }
148
-
149
- // &:nth-child(2n) {
150
- // justify-content: center;
151
- // }
152
-
153
- // &:nth-child(3n) {
154
- // justify-content: center;
155
- // }
156
-
157
- // &:nth-child(4n) {
158
- // justify-content: flex-end;
159
- // }
160
- // }
161
- }
162
-
163
- .month-item {
164
- width: 280px;
165
- margin: 10px;
166
- }
111
+ flex-wrap: wrap;
112
+ justify-content: space-around;
113
+
114
+ .month-item-box {
115
+ display: flex;
116
+ // &.month-item-1 {
117
+ // justify-content: center;
118
+ // }
119
+
120
+ // &.month-item-2 {
121
+ // justify-content: center;
122
+ // }
123
+
124
+ // &.month-item-3 {
125
+ // &:nth-child(1n) {
126
+ // justify-content: flex-start;
127
+ // }
128
+
129
+ // &:nth-child(2n) {
130
+ // justify-content: center;
131
+ // }
132
+
133
+ // &:nth-child(3n) {
134
+ // justify-content: flex-end;
135
+ // }
136
+ // }
137
+
138
+ // &.month-item-4 {
139
+ // &:nth-child(1n) {
140
+ // justify-content: flex-start;
141
+ // }
142
+
143
+ // &:nth-child(2n) {
144
+ // justify-content: center;
145
+ // }
146
+
147
+ // &:nth-child(3n) {
148
+ // justify-content: center;
149
+ // }
150
+
151
+ // &:nth-child(4n) {
152
+ // justify-content: flex-end;
153
+ // }
154
+ // }
155
+ }
156
+
157
+ .month-item {
158
+ width: 280px;
159
+ margin: 10px;
160
+ }
167
161
  }
168
162
 
169
163
  .pisell-lowcode-picker-cell-disabled {
170
- &::before {
171
- display: none;
172
- }
173
- }
164
+ &::before {
165
+ display: none;
166
+ }
167
+ }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ProductProps } from '../../type';
2
3
  declare const Product: (props: ProductProps) => JSX.Element;
3
4
  export default Product;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Cart: () => JSX.Element;
3
4
  export default Cart;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const useAddService: (id?: number, type?: string) => JSX.Element | null;
2
3
  export default useAddService;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const useClearCart: (key?: number | undefined) => JSX.Element | null;
2
3
  export default useClearCart;