@pisell/private-materials 3.4.101 → 3.4.103

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 (260) 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 +145 -153
  7. package/build/lowcode/render/default/view.js +10 -10
  8. package/build/lowcode/view.js +10 -10
  9. package/build/lowcode.zip +0 -0
  10. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  11. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  12. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  13. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
  14. package/es/components/appointmentBooking/hooks.js +27 -20
  15. package/es/components/booking/addons/model.d.ts +10 -1
  16. package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  17. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  18. package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
  19. package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
  20. package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  21. package/es/components/booking/forms/footer.d.ts +0 -1
  22. package/es/components/booking/forms/model.d.ts +10 -1
  23. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  24. package/es/components/booking/forms/single/index.d.ts +0 -1
  25. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  26. package/es/components/booking/info/date/index.d.ts +0 -1
  27. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  28. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  29. package/es/components/booking/info/model.d.ts +10 -1
  30. package/es/components/booking/info/notes/index.d.ts +0 -1
  31. package/es/components/booking/info/service/Lists.d.ts +0 -1
  32. package/es/components/booking/info/service/actions/index.d.ts +0 -1
  33. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  34. package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
  35. package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
  36. package/es/components/booking/info/service2/Lists.d.ts +0 -1
  37. package/es/components/booking/info2/service/actions/index.d.ts +0 -1
  38. package/es/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
  39. package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  40. package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
  41. package/es/components/booking/materiels/contacts/index.d.ts +0 -1
  42. package/es/components/booking/materiels/duration/index.d.ts +0 -1
  43. package/es/components/booking/materiels/holder/index.d.ts +0 -1
  44. package/es/components/booking/materiels/startTime/index.d.ts +0 -1
  45. package/es/components/booking/model.d.ts +9 -1
  46. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  47. package/es/components/booking/notes/addNote/index.d.ts +0 -1
  48. package/es/components/booking/notes/model.d.ts +10 -1
  49. package/es/components/booking/payments/model.d.ts +10 -1
  50. package/es/components/ecocup/components/MoreDropdown/index.d.ts +1 -0
  51. package/es/components/ecocup/cupList/hooks/useColumns.d.ts +1 -0
  52. package/es/components/ecocup/cupList/hooks/useSummary.d.ts +1 -0
  53. package/es/components/eftpos/pos.d.ts +0 -1
  54. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  55. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  56. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  57. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  58. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  59. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  60. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  61. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  62. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  63. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  64. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  65. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  66. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  67. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  68. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  69. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  70. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  71. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  72. package/es/components/login/index.d.ts +0 -1
  73. package/es/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.js +3 -1
  74. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  75. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  76. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  77. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  78. package/es/components/pay/toC/model.d.ts +9 -1
  79. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  80. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  81. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  82. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  83. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  84. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  85. package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  86. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  87. package/es/components/productSelect/components/TabProduct/index.d.ts +0 -1
  88. package/es/components/productSelect/components/productGroup/index.d.ts +0 -1
  89. package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  90. package/es/components/schedules/calendar/index.d.ts +0 -1
  91. package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
  92. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  93. package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
  94. package/es/components/schedules/model.d.ts +9 -1
  95. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  96. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  97. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  98. package/es/components/schedules/products/index.d.ts +0 -1
  99. package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  100. package/es/components/schedules/products/list/index.d.ts +0 -1
  101. package/es/components/schedules/resources/index.d.ts +0 -1
  102. package/es/components/schedules/resources/list/index.d.ts +0 -1
  103. package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  104. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  105. package/es/components/schedules/schedules/index.d.ts +0 -1
  106. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  107. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
  108. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  109. package/es/components/shoppingCart/index.d.ts +0 -1
  110. package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  111. package/es/hooks/usePaymentLogger.d.ts +0 -1
  112. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  113. package/es/plus/orderList/components/HandleActions.d.ts +1 -0
  114. package/es/plus/orderList/components/QuickFilter.d.ts +1 -0
  115. package/es/plus/orderList/components/Reset.d.ts +1 -0
  116. package/es/plus/orderList/components/Toolbar.d.ts +1 -0
  117. package/es/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  118. package/es/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  119. package/es/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  120. package/es/plus/saasRegister/components/GoLogin.d.ts +0 -1
  121. package/es/plus/saasRegister/components/Header.d.ts +0 -1
  122. package/es/plus/saasRegister/components/VerifyError.d.ts +0 -1
  123. package/es/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  124. package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  125. package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
  126. package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
  127. package/es/plus/walletEditor/components/relationProduct/index.d.ts +0 -1
  128. package/es/pro/Login2.0/Login2.js +60 -60
  129. package/es/pro/Login2.0/components/PhoneInput.js +1 -1
  130. package/es/pro/Login2.0/shared/registerFlow.d.ts +3 -2
  131. package/es/pro/Login2.0/steps/CodeInput.js +6 -1
  132. package/es/pro/Login2.0/steps/WaitEmailLink.js +2 -1
  133. package/es/pro/Selector/demo.d.ts +1 -0
  134. package/es/pro/pisellPaymentList/example.d.ts +0 -1
  135. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  136. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  137. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  138. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
  139. package/lib/components/appointmentBooking/hooks.js +8 -1
  140. package/lib/components/booking/addons/model.d.ts +10 -1
  141. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
  142. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  143. package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
  144. package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
  145. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
  146. package/lib/components/booking/forms/footer.d.ts +0 -1
  147. package/lib/components/booking/forms/model.d.ts +10 -1
  148. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  149. package/lib/components/booking/forms/single/index.d.ts +0 -1
  150. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
  151. package/lib/components/booking/info/date/index.d.ts +0 -1
  152. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  153. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  154. package/lib/components/booking/info/model.d.ts +10 -1
  155. package/lib/components/booking/info/notes/index.d.ts +0 -1
  156. package/lib/components/booking/info/service/Lists.d.ts +0 -1
  157. package/lib/components/booking/info/service/actions/index.d.ts +0 -1
  158. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  159. package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
  160. package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
  161. package/lib/components/booking/info/service2/Lists.d.ts +0 -1
  162. package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
  163. package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +0 -1
  164. package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  165. package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
  166. package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
  167. package/lib/components/booking/materiels/duration/index.d.ts +0 -1
  168. package/lib/components/booking/materiels/holder/index.d.ts +0 -1
  169. package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
  170. package/lib/components/booking/model.d.ts +9 -1
  171. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
  172. package/lib/components/booking/notes/addNote/index.d.ts +0 -1
  173. package/lib/components/booking/notes/model.d.ts +10 -1
  174. package/lib/components/booking/payments/model.d.ts +10 -1
  175. package/lib/components/ecocup/components/MoreDropdown/index.d.ts +1 -0
  176. package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +1 -0
  177. package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +1 -0
  178. package/lib/components/eftpos/pos.d.ts +0 -1
  179. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
  180. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  181. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  182. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  183. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  184. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  185. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  186. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  187. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  188. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  189. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  190. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  191. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  192. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  193. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  194. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  195. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
  196. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  197. package/lib/components/login/index.d.ts +0 -1
  198. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/Add/index.js +2 -1
  199. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
  200. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
  201. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
  202. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  203. package/lib/components/pay/toC/model.d.ts +9 -1
  204. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
  205. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
  206. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
  207. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  208. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
  209. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
  210. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
  211. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
  212. package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -1
  213. package/lib/components/productSelect/components/productGroup/index.d.ts +0 -1
  214. package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
  215. package/lib/components/schedules/calendar/index.d.ts +0 -1
  216. package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
  217. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
  218. package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
  219. package/lib/components/schedules/model.d.ts +9 -1
  220. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
  221. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
  222. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
  223. package/lib/components/schedules/products/index.d.ts +0 -1
  224. package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
  225. package/lib/components/schedules/products/list/index.d.ts +0 -1
  226. package/lib/components/schedules/resources/index.d.ts +0 -1
  227. package/lib/components/schedules/resources/list/index.d.ts +0 -1
  228. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
  229. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
  230. package/lib/components/schedules/schedules/index.d.ts +0 -1
  231. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  232. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
  233. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  234. package/lib/components/shoppingCart/index.d.ts +0 -1
  235. package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -1
  236. package/lib/hooks/usePaymentLogger.d.ts +0 -1
  237. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
  238. package/lib/plus/orderList/components/HandleActions.d.ts +1 -0
  239. package/lib/plus/orderList/components/QuickFilter.d.ts +1 -0
  240. package/lib/plus/orderList/components/Reset.d.ts +1 -0
  241. package/lib/plus/orderList/components/Toolbar.d.ts +1 -0
  242. package/lib/plus/saasCreateOrganization/components/Header.d.ts +0 -1
  243. package/lib/plus/saasRegister/components/EntryEmail.d.ts +0 -1
  244. package/lib/plus/saasRegister/components/EntryInfo.d.ts +0 -1
  245. package/lib/plus/saasRegister/components/GoLogin.d.ts +0 -1
  246. package/lib/plus/saasRegister/components/Header.d.ts +0 -1
  247. package/lib/plus/saasRegister/components/VerifyError.d.ts +0 -1
  248. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +0 -1
  249. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
  250. package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
  251. package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
  252. package/lib/plus/walletEditor/components/relationProduct/index.d.ts +0 -1
  253. package/lib/pro/Login2.0/Login2.js +50 -50
  254. package/lib/pro/Login2.0/components/PhoneInput.js +1 -0
  255. package/lib/pro/Login2.0/shared/registerFlow.d.ts +3 -2
  256. package/lib/pro/Login2.0/steps/CodeInput.js +6 -1
  257. package/lib/pro/Login2.0/steps/WaitEmailLink.js +2 -1
  258. package/lib/pro/Selector/demo.d.ts +1 -0
  259. package/lib/pro/pisellPaymentList/example.d.ts +0 -1
  260. package/package.json +1 -1
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductItemPreview: ({ item, onClick, onRemove, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItemPreview;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface valueType {
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SelectResourcesTable: ({ value, onChange }: any) => JSX.Element;
4
3
  export default SelectResourcesTable;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const TabProduct: (props: any) => JSX.Element;
3
2
  export default TabProduct;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare type BoolConfigVal = 0 | 1;
4
3
  export interface ProductCardConfig {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface RuleSettingProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const Calendar: () => JSX.Element;
4
3
  export default Calendar;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type CurrentDayProps = {
4
3
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ScheduleItem } from "../../type";
3
2
  import "./index.less";
4
3
  declare type ScheduleDetailListPropsType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ButtonProps } from 'antd';
3
2
  import { ScheduleItem } from '../../type';
4
3
  import './index.less';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CalendarDataItem, ScheduleItem } from "./type";
2
3
  import dayjs from "dayjs";
3
4
  export interface FormState {
@@ -68,4 +69,11 @@ export interface FormState {
68
69
  };
69
70
  setGlobalState: Function | null;
70
71
  }
71
- export declare const Provider: any, Context: any;
72
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
73
+ state: FormState;
74
+ } & {
75
+ dispatch: (params: {
76
+ type: string;
77
+ payload: any;
78
+ }) => void;
79
+ }>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const MaxParticipantsModule: ({ form, value, onChange, useSchedule, isAutoChange, onData, }: {
4
3
  form: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const ResourcesModule: ({ product }: {
3
2
  product: any;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const ProductDetailDrawer: () => JSX.Element;
4
3
  export default ProductDetailDrawer;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Products: () => JSX.Element;
4
3
  export default Products;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type Item = any;
4
3
  interface ProductItemProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface ProductListProps {
4
3
  loading: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Resources: () => JSX.Element;
4
3
  export default Resources;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare type ResourcesListProps = {
4
3
  list: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ScheduleItem } from '../../type';
3
2
  import './index.less';
4
3
  declare type AllSchedulesPropsType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { DrawerProps } from "antd";
3
2
  import { ScheduleItem } from "../../type";
4
3
  import "./index.less";
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SchedulesConnect: () => JSX.Element;
3
2
  export default SchedulesConnect;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ProductProps } from '../../type';
3
2
  declare const Product: (props: ProductProps) => JSX.Element;
4
3
  export default Product;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Cart: () => JSX.Element;
4
3
  export default Cart;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useAddService: (id?: number, type?: string) => JSX.Element | null;
3
2
  export default useAddService;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { shoppingCartProps } from './type';
3
2
  declare const shoppingCart: ({ onCard, onAction, onChange, onAddProduct, onActiveKey, ...props }: shoppingCartProps) => JSX.Element;
4
3
  export default shoppingCart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const index: () => JSX.Element;
4
3
  export default index;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface LogData {
3
2
  key: string;
4
3
  value: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PhoneField: ({ value, onChange }: any) => JSX.Element;
2
3
  export default PhoneField;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const HandleActions: (props: {
2
3
  locales: any;
3
4
  __id?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const QuickFilter: (props: {
2
3
  locales: any;
3
4
  }) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const Reset: (props: {
2
3
  locales: any;
3
4
  setValueType: (value: any) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const Toolbar: (props: {
2
3
  locales: any;
3
4
  clearSelectedData: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SCOProps } from '../types';
3
2
  import '../index.less';
4
3
  export declare const Header: (props: SCOProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormInstance } from 'antd';
3
2
  import { SRProps } from '../types';
4
3
  import '../index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormInstance } from 'antd';
3
2
  import { SRProps } from '../types';
4
3
  import '../index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SRProps } from '../types';
3
2
  import '../index.less';
4
3
  declare const GoLogin: (props: SRProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SRProps } from '../types';
3
2
  import '../index.less';
4
3
  export declare const Header: (props: SRProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SRStepStatus } from '../types';
3
2
  import '../index.less';
4
3
  declare const VerifyError: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../index.less';
3
2
  declare const VerifyingEmailLink: (props: {
4
3
  onVerifyLink: () => Promise<void>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../index.less';
3
2
  declare const VertifyEmail: (props: {
4
3
  email: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const TitleExtra: (props: any) => JSX.Element;
4
3
  export default TitleExtra;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const VariantCard: (props: any) => JSX.Element;
4
3
  export default VariantCard;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const RelationProduct: ({ value, onChange, }: {
4
3
  value?: string[] | undefined;
@@ -1218,66 +1218,6 @@ var Login2 = function Login2(_ref) {
1218
1218
  trailing: false
1219
1219
  }),
1220
1220
  handleGuestLogin = _useDebounceFn4.run;
1221
- var oauthProviders = useMemo(function () {
1222
- return loginMethods.filter(function (method) {
1223
- return ['google', 'facebook', 'apple', 'guest'].includes(method.type);
1224
- }).map(function (method) {
1225
- var isLast = isLastLoginMethod(method.type);
1226
- var commonConfig = {
1227
- className: classNames('login2-oauth-button', method.type, {
1228
- 'has-last-login-badge': isLast
1229
- }),
1230
- badge: isLast ? locales.getText('pisell-login2-last-login-badge') : undefined,
1231
- badgeClassName: 'last-login-badge'
1232
- };
1233
- switch (method.type) {
1234
- case 'google':
1235
- return _objectSpread({
1236
- key: 'google',
1237
- label: /*#__PURE__*/React.createElement("span", null, locales.getText('pisell-login2-continue-with'), " Google"),
1238
- icon: /*#__PURE__*/React.createElement(Iconfont, {
1239
- type: "pisell2-google"
1240
- }),
1241
- onClick: function onClick() {
1242
- return handleOAuthClick('google');
1243
- }
1244
- }, commonConfig);
1245
- case 'facebook':
1246
- return _objectSpread({
1247
- key: 'facebook',
1248
- label: /*#__PURE__*/React.createElement("span", null, locales.getText('pisell-login2-continue-with'), " Facebook"),
1249
- icon: /*#__PURE__*/React.createElement(Iconfont, {
1250
- type: "pisell2-facebook"
1251
- }),
1252
- onClick: function onClick() {
1253
- return handleOAuthClick('facebook');
1254
- }
1255
- }, commonConfig);
1256
- case 'apple':
1257
- return _objectSpread({
1258
- key: 'apple',
1259
- label: /*#__PURE__*/React.createElement("span", null, locales.getText('pisell-login2-continue-with'), " Apple"),
1260
- icon: /*#__PURE__*/React.createElement(Iconfont, {
1261
- type: "pisell2-apple"
1262
- }),
1263
- onClick: function onClick() {
1264
- return handleOAuthClick('apple');
1265
- }
1266
- }, commonConfig);
1267
- case 'guest':
1268
- return _objectSpread({
1269
- key: 'guest',
1270
- label: locales.getText('pisell-login2-login-as-guest'),
1271
- icon: /*#__PURE__*/React.createElement(Iconfont, {
1272
- type: "pisell2-user-01"
1273
- }),
1274
- onClick: handleGuestLogin
1275
- }, commonConfig);
1276
- default:
1277
- return null;
1278
- }
1279
- }).filter(Boolean);
1280
- }, [handleGuestLogin, handleOAuthClick, isLastLoginMethod, loginMethods]);
1281
1221
 
1282
1222
  // 处理登录
1283
1223
  var handleLoginInternal = /*#__PURE__*/function () {
@@ -1548,6 +1488,66 @@ var Login2 = function Login2(_ref) {
1548
1488
  trailing: false
1549
1489
  }),
1550
1490
  handleOAuthClick = _useDebounceFn6.run;
1491
+ var oauthProviders = useMemo(function () {
1492
+ return loginMethods.filter(function (method) {
1493
+ return ['google', 'facebook', 'apple', 'guest'].includes(method.type);
1494
+ }).map(function (method) {
1495
+ var isLast = isLastLoginMethod(method.type);
1496
+ var commonConfig = {
1497
+ className: classNames('login2-oauth-button', method.type, {
1498
+ 'has-last-login-badge': isLast
1499
+ }),
1500
+ badge: isLast ? locales.getText('pisell-login2-last-login-badge') : undefined,
1501
+ badgeClassName: 'last-login-badge'
1502
+ };
1503
+ switch (method.type) {
1504
+ case 'google':
1505
+ return _objectSpread({
1506
+ key: 'google',
1507
+ label: /*#__PURE__*/React.createElement("span", null, locales.getText('pisell-login2-continue-with'), " Google"),
1508
+ icon: /*#__PURE__*/React.createElement(Iconfont, {
1509
+ type: "pisell2-google"
1510
+ }),
1511
+ onClick: function onClick() {
1512
+ return handleOAuthClick('google');
1513
+ }
1514
+ }, commonConfig);
1515
+ case 'facebook':
1516
+ return _objectSpread({
1517
+ key: 'facebook',
1518
+ label: /*#__PURE__*/React.createElement("span", null, locales.getText('pisell-login2-continue-with'), " Facebook"),
1519
+ icon: /*#__PURE__*/React.createElement(Iconfont, {
1520
+ type: "pisell2-facebook"
1521
+ }),
1522
+ onClick: function onClick() {
1523
+ return handleOAuthClick('facebook');
1524
+ }
1525
+ }, commonConfig);
1526
+ case 'apple':
1527
+ return _objectSpread({
1528
+ key: 'apple',
1529
+ label: /*#__PURE__*/React.createElement("span", null, locales.getText('pisell-login2-continue-with'), " Apple"),
1530
+ icon: /*#__PURE__*/React.createElement(Iconfont, {
1531
+ type: "pisell2-apple"
1532
+ }),
1533
+ onClick: function onClick() {
1534
+ return handleOAuthClick('apple');
1535
+ }
1536
+ }, commonConfig);
1537
+ case 'guest':
1538
+ return _objectSpread({
1539
+ key: 'guest',
1540
+ label: locales.getText('pisell-login2-login-as-guest'),
1541
+ icon: /*#__PURE__*/React.createElement(Iconfont, {
1542
+ type: "pisell2-user-01"
1543
+ }),
1544
+ onClick: handleGuestLogin
1545
+ }, commonConfig);
1546
+ default:
1547
+ return null;
1548
+ }
1549
+ }).filter(Boolean);
1550
+ }, [handleGuestLogin, handleOAuthClick, isLastLoginMethod, loginMethods]);
1551
1551
 
1552
1552
  // 渲染主登录表单
1553
1553
  var renderMainLoginForm = function renderMainLoginForm() {
@@ -225,7 +225,7 @@ function PhoneInput(_ref) {
225
225
  // 将输入值标准化为字符串格式(内部统一使用字符串)
226
226
  var normalizedValue = useMemo(function () {
227
227
  if (!value) return '';
228
-
228
+ console.log('value', value);
229
229
  // 如果是对象格式,转换为字符串
230
230
  if (_typeof(value) === 'object' && 'phone' in value) {
231
231
  var phone = value.phone,
@@ -2,6 +2,7 @@
2
2
  * 注册流程配置和状态管理
3
3
  * 支持多种验证方式的不同步骤流程
4
4
  */
5
+ import type { PhoneValueObject } from './types';
5
6
  /** 注册步骤类型 */
6
7
  export declare enum RegisterStep {
7
8
  /** 初始表单 - 输入账号密码 */
@@ -66,8 +67,8 @@ export interface RegisterStepDefinition {
66
67
  export interface RegisterFlowData {
67
68
  /** 当前步骤 */
68
69
  currentStep: RegisterStep;
69
- /** 账号(邮箱或手机号) */
70
- account: string;
70
+ /** 账号(邮箱字符串或手机号对象) */
71
+ account: string | PhoneValueObject;
71
72
  /** 账号类型 */
72
73
  accountType: 'email' | 'phone';
73
74
  /** 密码(如果在第一步就输入了) */
@@ -16,6 +16,11 @@ import React, { useState, useRef, useEffect } from 'react';
16
16
  import { Button } from '@pisell/materials';
17
17
  import { locales } from '@pisell/utils';
18
18
  import IconFont from '@pisell/materials/src/components/iconfont';
19
+ function formatDisplayAccount(account) {
20
+ if (!account) return '';
21
+ if (typeof account === 'string') return account;
22
+ return "+".concat(account.country_calling_code).concat(account.phone);
23
+ }
19
24
  function CodeInput(_ref) {
20
25
  var flowData = _ref.flowData,
21
26
  _ref$codeLength = _ref.codeLength,
@@ -160,7 +165,7 @@ function CodeInput(_ref) {
160
165
  // 根据账号类型显示不同的标题和描述
161
166
  var title = flowData.accountType === 'email' ? locales.getText('pisell-register2-check-email-title') : locales.getText('pisell-register2-check-phone-title');
162
167
  var description = flowData.accountType === 'email' ? locales.getText('pisell-register2-check-email-desc') : locales.getText('pisell-register2-check-phone-desc');
163
- var displayAccount = flowData.account;
168
+ var displayAccount = formatDisplayAccount(flowData.account);
164
169
 
165
170
  // 根据账号类型显示不同的"没有收到"提示
166
171
  var noReceiveText = flowData.accountType === 'email' ? locales.getText('pisell-register2-no-email-received') : locales.getText('pisell-register2-no-message-received');
@@ -13,6 +13,7 @@ function WaitEmailLink(_ref) {
13
13
  countdown = _ref$countdown === void 0 ? 0 : _ref$countdown,
14
14
  verificationMethod = _ref.verificationMethod;
15
15
  var canResend = countdown === 0;
16
+ var displayEmail = typeof flowData.account === 'string' ? flowData.account : '';
16
17
  return /*#__PURE__*/React.createElement("div", {
17
18
  className: "register-step-container"
18
19
  }, onBack && /*#__PURE__*/React.createElement("button", {
@@ -31,7 +32,7 @@ function WaitEmailLink(_ref) {
31
32
  className: "register-email-display"
32
33
  }, /*#__PURE__*/React.createElement("span", {
33
34
  className: "email-text"
34
- }, flowData.account), onEditEmail && /*#__PURE__*/React.createElement("button", {
35
+ }, displayEmail), onEditEmail && /*#__PURE__*/React.createElement("button", {
35
36
  className: "edit-email-btn",
36
37
  onClick: onEditEmail,
37
38
  "aria-label": "Edit email"
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectorDemo: () => JSX.Element;
2
3
  export default SelectorDemo;
@@ -4,7 +4,6 @@
4
4
  * 这个文件演示了如何使用 PisellPaymentList 和 PisellPaymentListItem 组件
5
5
  * 包括如何通过 Context 访问父组件配置
6
6
  */
7
- /// <reference types="react" />
8
7
  export declare const BasicExample: () => JSX.Element;
9
8
  export declare const ChildrenExample: () => JSX.Element;
10
9
  export declare const CustomItemExample: () => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Total: ({ className, isFooter }: any) => JSX.Element;
4
3
  export default Total;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Cart: ({ open, onCancel, onNext }: any) => JSX.Element;
4
3
  export default Cart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface DepositProps {
4
3
  showTitle?: boolean;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectDate: (props: any) => JSX.Element | null;
3
2
  export default SelectDate;
@@ -498,9 +498,16 @@ var useAppointmentBookingResource = () => {
498
498
  return { resources: processedResources, resourceCodes };
499
499
  };
500
500
  const getResourceTimeSlot = async (index) => {
501
+ var _a, _b;
501
502
  const { resourceCodes } = getResourceList();
503
+ let split = 10;
504
+ const { basic } = ((_a = appointmentBooking == null ? void 0 : appointmentBooking.otherParams) == null ? void 0 : _a.appointmentBoard) || {};
505
+ const serviceTime = (_b = basic == null ? void 0 : basic.service_time) == null ? void 0 : _b.value;
506
+ if (serviceTime) {
507
+ split = serviceTime;
508
+ }
502
509
  const code = resourceCodes == null ? void 0 : resourceCodes[index || 0];
503
- const data = await appointmentBooking.getTimeSlotByAllResources(code);
510
+ const data = await appointmentBooking.getTimeSlotByAllResources(code, split);
504
511
  setTimes(data || []);
505
512
  };
506
513
  return { getResourceTimeSlot, getResourceList };
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ import { FormState } from "../model";
3
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
+ state: FormState;
5
+ } & {
6
+ dispatch: (params: {
7
+ type: string;
8
+ payload: any;
9
+ }) => void;
10
+ }>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
4
3
  export default ProductItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const SelectProductItem: ({ item, onClick, onChangeQuantity, amountSymbol, style, className, disabled, }: any) => JSX.Element;
4
3
  export default SelectProductItem;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const renderBundles: (item: any, amountSymbol: string) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 空状态
4
3
  * @description:
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const FooterMenus: ({ state, menuChange, items }: any) => JSX.Element | null;
4
3
  export default FooterMenus;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface FooterProps {
3
2
  state: any;
4
3
  reload: () => void;
@@ -1 +1,10 @@
1
- export declare const Provider: any, Context: any;
1
+ /// <reference types="react" />
2
+ import { FormState } from "../model";
3
+ export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
+ state: FormState;
5
+ } & {
6
+ dispatch: (params: {
7
+ type: string;
8
+ payload: any;
9
+ }) => void;
10
+ }>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SendModalValues } from './index';
3
2
  declare const useSendModal: (bookingId?: number) => {
4
3
  open: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  /**
4
3
  * @title: 表单选择器
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FormState } from '../../../model';
3
2
  interface useClientFnParams {
4
3
  state: any;