@pisell/private-materials 6.2.42 → 6.2.44

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 (347) 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 +2 -2
  6. package/build/lowcode/preview.js +13 -29
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +9 -9
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +9 -9
  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/Header/index.d.ts +1 -0
  17. package/es/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
  18. package/es/components/appointmentBooking/deposit/index.d.ts +1 -0
  19. package/es/components/appointmentBooking/index.d.ts +1 -0
  20. package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  21. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  22. package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
  23. package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
  24. package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  25. package/es/components/booking/deposit/index.d.ts +1 -0
  26. package/es/components/booking/editBookingModal/index.js +3 -4
  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/forms/single/index.d.ts +1 -0
  30. package/es/components/booking/hooks/useClearCart.d.ts +1 -0
  31. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  32. package/es/components/booking/info/date/index.d.ts +1 -0
  33. package/es/components/booking/info/header/index.d.ts +1 -0
  34. package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  35. package/es/components/booking/info/notes/index.d.ts +1 -0
  36. package/es/components/booking/info/service/Lists.d.ts +0 -1
  37. package/es/components/booking/info/service/actions/index.d.ts +1 -0
  38. package/es/components/booking/info/service/addService/index.d.ts +1 -0
  39. package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  40. package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
  41. package/es/components/booking/info/utils.js +1 -1
  42. package/es/components/booking/info2/service/actions/index.d.ts +1 -0
  43. package/es/components/booking/info2/service/addService/utils.js +16 -1
  44. package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
  45. package/es/components/booking/materiels/contacts/index.d.ts +1 -0
  46. package/es/components/booking/materiels/duration/index.d.ts +1 -0
  47. package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  48. package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
  49. package/es/components/eftpos/index.d.ts +1 -0
  50. package/es/components/eftpos/pos.d.ts +1 -0
  51. package/es/components/eftposPay/amount.d.ts +1 -0
  52. package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  53. package/es/components/eftposPay/component/fail/index.d.ts +1 -0
  54. package/es/components/eftposPay/component/fail/network.d.ts +1 -0
  55. package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
  56. package/es/components/eftposPay/component/manual/index.d.ts +1 -0
  57. package/es/components/eftposPay/component/signature/index.d.ts +1 -0
  58. package/es/components/eftposPay/device.d.ts +1 -0
  59. package/es/components/eftposPay/index.d.ts +1 -0
  60. package/es/components/eftposPay/linkly/index.d.ts +1 -0
  61. package/es/components/eftposPay/pay.d.ts +1 -0
  62. package/es/components/eftposPay/payo/config.d.ts +1 -0
  63. package/es/components/eftposPay/store/index.d.ts +2 -2
  64. package/es/components/eftposPay/tip.d.ts +1 -0
  65. package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  66. package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
  67. package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
  68. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
  69. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  70. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  71. package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  72. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  73. package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  74. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  75. package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  76. package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  77. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  78. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  79. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  80. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  81. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  82. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  83. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  84. package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  85. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  86. package/es/components/eventBooking/index.d.ts +1 -0
  87. package/es/components/login/index.d.ts +1 -0
  88. package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  89. package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  90. package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  91. package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  92. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  93. package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  94. package/es/components/pisellSelectCustomerModal/index.d.ts +1 -0
  95. package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  96. package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  97. package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  98. package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  99. package/es/components/productExtension/index.d.ts +1 -0
  100. package/es/components/ruleSetting/index.d.ts +1 -0
  101. package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  102. package/es/components/schedules/calendar/index.d.ts +1 -0
  103. package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  104. package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
  105. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  106. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  107. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  108. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  109. package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  110. package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  111. package/es/components/schedules/products/list/index.d.ts +1 -0
  112. package/es/components/schedules/resources/index.d.ts +1 -0
  113. package/es/components/schedules/resources/list/index.d.ts +1 -0
  114. package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  115. package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  116. package/es/components/schedules/schedules/index.d.ts +1 -0
  117. package/es/components/schedules/utils.d.ts +1 -1
  118. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  119. package/es/components/shoppingCart/components/Cart/index.d.ts +1 -0
  120. package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  121. package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  122. package/es/components/shoppingCart/index.d.ts +1 -0
  123. package/es/components/taxSelect/index.d.ts +1 -0
  124. package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -0
  125. package/es/components/ticketBooking/components/ticketBooking/index.js +3 -0
  126. package/es/components/ticketBooking/utils/index.d.ts +1 -1
  127. package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
  128. package/es/index.d.ts +3 -0
  129. package/es/index.js +4 -1
  130. package/es/plus/clientName/index.d.ts +0 -1
  131. package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
  132. package/es/plus/productSelect/ProductCard/index.less +5 -22
  133. package/es/plus/productSelect/components/pisellPriceText/index.d.ts +1 -0
  134. package/es/plus/productSelect/components/pisellPriceText/index.js +1 -0
  135. package/es/plus/productSelect/components/pisellPriceText/index.less +4 -0
  136. package/es/plus/saasCreateOrganization/components/Header.d.ts +4 -0
  137. package/es/plus/saasCreateOrganization/components/Header.js +62 -0
  138. package/es/plus/saasCreateOrganization/index.d.ts +5 -0
  139. package/es/plus/saasCreateOrganization/index.js +15 -0
  140. package/es/plus/saasCreateOrganization/index.less +55 -0
  141. package/es/plus/saasCreateOrganization/locales.d.ts +15 -0
  142. package/es/plus/saasCreateOrganization/locales.js +14 -0
  143. package/es/plus/saasCreateOrganization/types.d.ts +69 -0
  144. package/es/plus/saasCreateOrganization/types.js +1 -0
  145. package/es/plus/saasLogin/index.d.ts +5 -0
  146. package/es/plus/saasLogin/index.js +165 -0
  147. package/es/plus/saasLogin/index.less +136 -0
  148. package/es/plus/saasLogin/locales.d.ts +51 -0
  149. package/es/plus/saasLogin/locales.js +50 -0
  150. package/es/plus/saasLogin/types.d.ts +62 -0
  151. package/es/plus/saasLogin/types.js +1 -0
  152. package/es/plus/saasLogin/utils.d.ts +35 -0
  153. package/es/plus/saasLogin/utils.js +31 -0
  154. package/es/plus/saasRegister/components/EntryEmail.d.ts +10 -0
  155. package/es/plus/saasRegister/components/EntryEmail.js +92 -0
  156. package/es/plus/saasRegister/components/EntryInfo.d.ts +10 -0
  157. package/es/plus/saasRegister/components/EntryInfo.js +145 -0
  158. package/es/plus/saasRegister/components/GoLogin.d.ts +5 -0
  159. package/es/plus/saasRegister/components/GoLogin.js +27 -0
  160. package/es/plus/saasRegister/components/Header.d.ts +4 -0
  161. package/es/plus/saasRegister/components/Header.js +62 -0
  162. package/es/plus/saasRegister/components/VerifyError.d.ts +9 -0
  163. package/es/plus/saasRegister/components/VerifyError.js +68 -0
  164. package/es/plus/saasRegister/components/VerifyingLink.d.ts +6 -0
  165. package/es/plus/saasRegister/components/VerifyingLink.js +16 -0
  166. package/es/plus/saasRegister/components/VertifyEmail.d.ts +8 -0
  167. package/es/plus/saasRegister/components/VertifyEmail.js +121 -0
  168. package/es/plus/saasRegister/index.d.ts +5 -0
  169. package/es/plus/saasRegister/index.js +246 -0
  170. package/es/plus/saasRegister/index.less +218 -0
  171. package/es/plus/saasRegister/locales.d.ts +117 -0
  172. package/es/plus/saasRegister/locales.js +116 -0
  173. package/es/plus/saasRegister/types.d.ts +114 -0
  174. package/es/plus/saasRegister/types.js +24 -0
  175. package/es/utils/index.d.ts +1 -1
  176. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
  177. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
  178. package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
  179. package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
  180. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
  181. package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
  182. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
  183. package/lib/components/appointmentBooking/deposit/index.d.ts +1 -0
  184. package/lib/components/appointmentBooking/index.d.ts +1 -0
  185. package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
  186. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
  187. package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
  188. package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
  189. package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
  190. package/lib/components/booking/deposit/index.d.ts +1 -0
  191. package/lib/components/booking/editBookingModal/index.js +3 -4
  192. package/lib/components/booking/forms/footer.d.ts +1 -0
  193. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
  194. package/lib/components/booking/forms/single/index.d.ts +1 -0
  195. package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
  196. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
  197. package/lib/components/booking/info/date/index.d.ts +1 -0
  198. package/lib/components/booking/info/header/index.d.ts +1 -0
  199. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -1
  200. package/lib/components/booking/info/notes/index.d.ts +1 -0
  201. package/lib/components/booking/info/service/Lists.d.ts +0 -1
  202. package/lib/components/booking/info/service/actions/index.d.ts +1 -0
  203. package/lib/components/booking/info/service/addService/index.d.ts +1 -0
  204. package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
  205. package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
  206. package/lib/components/booking/info/utils.js +2 -1
  207. package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
  208. package/lib/components/booking/info2/service/addService/utils.js +15 -3
  209. package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
  210. package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
  211. package/lib/components/booking/materiels/duration/index.d.ts +1 -0
  212. package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
  213. package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
  214. package/lib/components/eftpos/index.d.ts +1 -0
  215. package/lib/components/eftpos/pos.d.ts +1 -0
  216. package/lib/components/eftposPay/amount.d.ts +1 -0
  217. package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
  218. package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
  219. package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
  220. package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
  221. package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
  222. package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
  223. package/lib/components/eftposPay/device.d.ts +1 -0
  224. package/lib/components/eftposPay/index.d.ts +1 -0
  225. package/lib/components/eftposPay/linkly/index.d.ts +1 -0
  226. package/lib/components/eftposPay/pay.d.ts +1 -0
  227. package/lib/components/eftposPay/payo/config.d.ts +1 -0
  228. package/lib/components/eftposPay/store/index.d.ts +2 -2
  229. package/lib/components/eftposPay/tip.d.ts +1 -0
  230. package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
  231. package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
  232. package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
  233. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
  234. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
  235. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
  236. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
  237. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
  238. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
  239. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
  240. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
  241. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
  242. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
  243. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
  244. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
  245. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
  246. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
  247. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
  248. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
  249. package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
  250. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
  251. package/lib/components/eventBooking/index.d.ts +1 -0
  252. package/lib/components/login/index.d.ts +1 -0
  253. package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
  254. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
  255. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
  256. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
  257. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
  258. package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
  259. package/lib/components/pisellSelectCustomerModal/index.d.ts +1 -0
  260. package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
  261. package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
  262. package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
  263. package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
  264. package/lib/components/productExtension/index.d.ts +1 -0
  265. package/lib/components/ruleSetting/index.d.ts +1 -0
  266. package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
  267. package/lib/components/schedules/calendar/index.d.ts +1 -0
  268. package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
  269. package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
  270. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
  271. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
  272. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -0
  273. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -0
  274. package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
  275. package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
  276. package/lib/components/schedules/products/list/index.d.ts +1 -0
  277. package/lib/components/schedules/resources/index.d.ts +1 -0
  278. package/lib/components/schedules/resources/list/index.d.ts +1 -0
  279. package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
  280. package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
  281. package/lib/components/schedules/schedules/index.d.ts +1 -0
  282. package/lib/components/schedules/utils.d.ts +1 -1
  283. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -1
  284. package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -0
  285. package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
  286. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
  287. package/lib/components/shoppingCart/index.d.ts +1 -0
  288. package/lib/components/taxSelect/index.d.ts +1 -0
  289. package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -0
  290. package/lib/components/ticketBooking/components/ticketBooking/index.js +3 -0
  291. package/lib/components/ticketBooking/utils/index.d.ts +1 -1
  292. package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
  293. package/lib/index.d.ts +3 -0
  294. package/lib/index.js +9 -0
  295. package/lib/plus/clientName/index.d.ts +0 -1
  296. package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
  297. package/lib/plus/productSelect/ProductCard/index.less +5 -22
  298. package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +1 -0
  299. package/lib/plus/productSelect/components/pisellPriceText/index.js +1 -0
  300. package/lib/plus/productSelect/components/pisellPriceText/index.less +4 -0
  301. package/lib/plus/saasCreateOrganization/components/Header.d.ts +4 -0
  302. package/lib/plus/saasCreateOrganization/components/Header.js +99 -0
  303. package/lib/plus/saasCreateOrganization/index.d.ts +5 -0
  304. package/lib/plus/saasCreateOrganization/index.js +47 -0
  305. package/lib/plus/saasCreateOrganization/index.less +55 -0
  306. package/lib/plus/saasCreateOrganization/locales.d.ts +15 -0
  307. package/lib/plus/saasCreateOrganization/locales.js +38 -0
  308. package/lib/plus/saasCreateOrganization/types.d.ts +69 -0
  309. package/lib/plus/saasCreateOrganization/types.js +17 -0
  310. package/lib/plus/saasLogin/index.d.ts +5 -0
  311. package/lib/plus/saasLogin/index.js +171 -0
  312. package/lib/plus/saasLogin/index.less +136 -0
  313. package/lib/plus/saasLogin/locales.d.ts +51 -0
  314. package/lib/plus/saasLogin/locales.js +74 -0
  315. package/lib/plus/saasLogin/types.d.ts +62 -0
  316. package/lib/plus/saasLogin/types.js +17 -0
  317. package/lib/plus/saasLogin/utils.d.ts +35 -0
  318. package/lib/plus/saasLogin/utils.js +50 -0
  319. package/lib/plus/saasRegister/components/EntryEmail.d.ts +10 -0
  320. package/lib/plus/saasRegister/components/EntryEmail.js +92 -0
  321. package/lib/plus/saasRegister/components/EntryInfo.d.ts +10 -0
  322. package/lib/plus/saasRegister/components/EntryInfo.js +128 -0
  323. package/lib/plus/saasRegister/components/GoLogin.d.ts +5 -0
  324. package/lib/plus/saasRegister/components/GoLogin.js +58 -0
  325. package/lib/plus/saasRegister/components/Header.d.ts +4 -0
  326. package/lib/plus/saasRegister/components/Header.js +99 -0
  327. package/lib/plus/saasRegister/components/VerifyError.d.ts +9 -0
  328. package/lib/plus/saasRegister/components/VerifyError.js +123 -0
  329. package/lib/plus/saasRegister/components/VerifyingLink.d.ts +6 -0
  330. package/lib/plus/saasRegister/components/VerifyingLink.js +44 -0
  331. package/lib/plus/saasRegister/components/VertifyEmail.d.ts +8 -0
  332. package/lib/plus/saasRegister/components/VertifyEmail.js +110 -0
  333. package/lib/plus/saasRegister/index.d.ts +5 -0
  334. package/lib/plus/saasRegister/index.js +205 -0
  335. package/lib/plus/saasRegister/index.less +218 -0
  336. package/lib/plus/saasRegister/locales.d.ts +117 -0
  337. package/lib/plus/saasRegister/locales.js +140 -0
  338. package/lib/plus/saasRegister/types.d.ts +114 -0
  339. package/lib/plus/saasRegister/types.js +54 -0
  340. package/lib/utils/index.d.ts +1 -1
  341. package/lowcode/saas-create-organization/meta.ts +214 -0
  342. package/lowcode/saas-create-organization/snippets.ts +25 -0
  343. package/lowcode/saas-login/meta.ts +370 -0
  344. package/lowcode/saas-login/snippets.ts +38 -0
  345. package/lowcode/saas-register/meta.ts +386 -0
  346. package/lowcode/saas-register/snippets.ts +31 -0
  347. package/package.json +4 -4
@@ -0,0 +1,121 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
3
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
4
+ function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
5
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
6
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
7
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
8
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
9
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
10
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
11
+ import React, { useEffect, useRef, useState } from 'react';
12
+ import { locales } from '@pisell/utils';
13
+ import { Button, Iconfont } from '@pisell/materials';
14
+ import "../index.less";
15
+ var COUNTDOWN_NUM = 60;
16
+ var VertifyEmail = function VertifyEmail(props) {
17
+ var _useState = useState(false),
18
+ _useState2 = _slicedToArray(_useState, 2),
19
+ loading = _useState2[0],
20
+ setLoading = _useState2[1];
21
+ var _useState3 = useState(0),
22
+ _useState4 = _slicedToArray(_useState3, 2),
23
+ countdown = _useState4[0],
24
+ setCountdown = _useState4[1];
25
+ var countdownRef = useRef(0);
26
+ var timerRef = useRef(null);
27
+
28
+ // 倒计时
29
+ useEffect(function () {
30
+ _onSendEmail();
31
+ return function () {
32
+ timerRef.current && clearInterval(timerRef.current);
33
+ timerRef.current = null;
34
+ };
35
+ }, []);
36
+ var _startCountdown = function _startCountdown() {
37
+ if (timerRef.current) {
38
+ return;
39
+ }
40
+ countdownRef.current = COUNTDOWN_NUM;
41
+ setCountdown(countdownRef.current);
42
+ timerRef.current = setInterval(function () {
43
+ if (countdownRef.current > 0) {
44
+ countdownRef.current = countdownRef.current - 1;
45
+ setCountdown(countdownRef.current);
46
+ } else {
47
+ clearInterval(timerRef.current);
48
+ timerRef.current = null;
49
+ }
50
+ }, 1000);
51
+ };
52
+ var _onSendEmail = /*#__PURE__*/function () {
53
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
54
+ var _props$onSendEmail;
55
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
56
+ while (1) switch (_context.prev = _context.next) {
57
+ case 0:
58
+ if (!(countdownRef.current > 0 || loading)) {
59
+ _context.next = 2;
60
+ break;
61
+ }
62
+ return _context.abrupt("return");
63
+ case 2:
64
+ setLoading(true);
65
+ _context.prev = 3;
66
+ _context.next = 6;
67
+ return props === null || props === void 0 || (_props$onSendEmail = props.onSendEmail) === null || _props$onSendEmail === void 0 ? void 0 : _props$onSendEmail.call(props);
68
+ case 6:
69
+ _startCountdown();
70
+ _context.next = 12;
71
+ break;
72
+ case 9:
73
+ _context.prev = 9;
74
+ _context.t0 = _context["catch"](3);
75
+ console.error('onResend failed:', _context.t0);
76
+ case 12:
77
+ _context.prev = 12;
78
+ setLoading(false);
79
+ return _context.finish(12);
80
+ case 15:
81
+ case "end":
82
+ return _context.stop();
83
+ }
84
+ }, _callee, null, [[3, 9, 12, 15]]);
85
+ }));
86
+ return function _onSendEmail() {
87
+ return _ref.apply(this, arguments);
88
+ };
89
+ }();
90
+ return /*#__PURE__*/React.createElement("div", {
91
+ className: "pisell-saas-register-form"
92
+ }, /*#__PURE__*/React.createElement("div", {
93
+ className: "pisell-saas-register-form-main"
94
+ }, /*#__PURE__*/React.createElement("div", {
95
+ className: "pisell-saas-register-form-title"
96
+ }, locales.getText('pisell-saas-register-verify-email-title')), /*#__PURE__*/React.createElement("div", {
97
+ className: "pisell-saas-register-form-subtitle"
98
+ }, locales.getText('pisell-saas-register-verify-email-subtitle')), /*#__PURE__*/React.createElement("div", {
99
+ className: "pisell-saas-register-form-email"
100
+ }, props.email, /*#__PURE__*/React.createElement(Iconfont, {
101
+ type: "pisell2-edit-05",
102
+ className: "pisell-saas-register-form-email-icon",
103
+ onClick: props.onEditEmail
104
+ }))), /*#__PURE__*/React.createElement("div", {
105
+ className: "pisell-saas-register-action",
106
+ style: {
107
+ marginTop: '32px',
108
+ textAlign: 'center'
109
+ }
110
+ }, locales.getText('pisell-saas-register-resend-text'), /*#__PURE__*/React.createElement(Button, {
111
+ type: "link",
112
+ onClick: _onSendEmail,
113
+ disabled: countdown > 0 || loading,
114
+ className: "pisell-saas-register-link-button"
115
+ }, locales.getText('pisell-saas-register-resend-button-text'), /*#__PURE__*/React.createElement("span", {
116
+ style: {
117
+ marginLeft: '4px'
118
+ }
119
+ }, countdown > 0 && "(".concat(countdown, ")")))));
120
+ };
121
+ export default VertifyEmail;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { SRProps } from './types';
3
+ import './index.less';
4
+ declare const _default: React.ForwardRefExoticComponent<SRProps & React.RefAttributes<any>>;
5
+ export default _default;
@@ -0,0 +1,246 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
+ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
4
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
5
+ function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
6
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
7
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
8
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
9
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
10
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
11
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
12
+ import React, { forwardRef, useImperativeHandle, useMemo, useState, useEffect } from 'react';
13
+ import { locales } from '@pisell/utils';
14
+ import { Form } from 'antd';
15
+ import { PisellToast } from '@pisell/materials';
16
+ import useEngineContext from "../../hooks/useEngineContext";
17
+ import { Header } from "./components/Header";
18
+ import EntryEmail from "./components/EntryEmail";
19
+ import GoLogin from "./components/GoLogin";
20
+ import VerifyEmail from "./components/VertifyEmail";
21
+ import VerifyingLink from "./components/VerifyingLink";
22
+ import VerifyError from "./components/VerifyError";
23
+ import EntryInfo from "./components/EntryInfo";
24
+ import localeTexts from "./locales";
25
+ import { SRStepKey, SRStepStatus, SRVerifyCode } from "./types";
26
+ import "./index.less";
27
+ var SaasRegister = function SaasRegister(props, ref) {
28
+ var _context$engine, _step$params7;
29
+ var context = useEngineContext();
30
+ locales.init(localeTexts, (context === null || context === void 0 || (_context$engine = context.engine) === null || _context$engine === void 0 || (_context$engine = _context$engine.props) === null || _context$engine === void 0 ? void 0 : _context$engine.locale) || 'en');
31
+ var _Form$useForm = Form.useForm(),
32
+ _Form$useForm2 = _slicedToArray(_Form$useForm, 1),
33
+ form = _Form$useForm2[0];
34
+ var _useState = useState({
35
+ key: SRStepKey.ENTRY_EMAIL
36
+ }),
37
+ _useState2 = _slicedToArray(_useState, 2),
38
+ step = _useState2[0],
39
+ setStep = _useState2[1];
40
+ var init = function init(emailToken) {
41
+ // 如果 emailToken 存在,则跳转到邮箱验证中步骤
42
+ if (emailToken) {
43
+ setStep({
44
+ key: SRStepKey.VERIFYING_EMAIL,
45
+ params: {
46
+ emailToken: emailToken
47
+ }
48
+ });
49
+ }
50
+ };
51
+ useImperativeHandle(ref, function () {
52
+ return {
53
+ init: init
54
+ };
55
+ });
56
+ useEffect(function () {
57
+ var _props$onStepChange;
58
+ (_props$onStepChange = props.onStepChange) === null || _props$onStepChange === void 0 || _props$onStepChange.call(props, step);
59
+ }, [step]);
60
+ useEffect(function () {
61
+ var _step$params, _step$params3;
62
+ // 如果step中存在页面标题
63
+ if ((_step$params = step.params) !== null && _step$params !== void 0 && _step$params.documentTitle) {
64
+ var _step$params2;
65
+ document.title = (_step$params2 = step.params) === null || _step$params2 === void 0 ? void 0 : _step$params2.documentTitle;
66
+ }
67
+ // 如果step中存在页面描述
68
+ if ((_step$params3 = step.params) !== null && _step$params3 !== void 0 && _step$params3.documentDescription) {
69
+ var metaDescription = document.querySelector('meta[name="description"]');
70
+ if (metaDescription) {
71
+ var _step$params4;
72
+ metaDescription.setAttribute('content', (_step$params4 = step.params) === null || _step$params4 === void 0 ? void 0 : _step$params4.documentDescription);
73
+ } else {
74
+ var _step$params5;
75
+ var meta = document.createElement('meta');
76
+ meta.name = 'description';
77
+ meta.content = (_step$params5 = step.params) === null || _step$params5 === void 0 ? void 0 : _step$params5.documentDescription;
78
+ document.head.appendChild(meta);
79
+ }
80
+ }
81
+ }, [step]);
82
+
83
+ // 验证邮箱
84
+ var handleVerifyEmail = /*#__PURE__*/function () {
85
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(result) {
86
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
87
+ while (1) switch (_context.prev = _context.next) {
88
+ case 0:
89
+ if (result) {
90
+ // 验证成功,跳转到邮箱等待验证步骤
91
+ setStep({
92
+ key: SRStepKey.WAIT_VERIFY_EMAIL
93
+ });
94
+ } else {
95
+ // 验证失败,邮箱被使用
96
+ setStep({
97
+ key: SRStepKey.VERIFY_FAILED,
98
+ status: SRStepStatus.FAILED_EMAIL_REGISTERED
99
+ });
100
+ }
101
+ case 1:
102
+ case "end":
103
+ return _context.stop();
104
+ }
105
+ }, _callee);
106
+ }));
107
+ return function handleVerifyEmail(_x) {
108
+ return _ref.apply(this, arguments);
109
+ };
110
+ }();
111
+
112
+ // 编辑邮箱
113
+ var handleEditEmail = function handleEditEmail() {
114
+ setStep({
115
+ key: SRStepKey.ENTRY_EMAIL
116
+ });
117
+ };
118
+
119
+ // 发送邮箱验证码
120
+ var handleSendEmail = /*#__PURE__*/function () {
121
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
122
+ var _props$onSendEmail;
123
+ var email;
124
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
125
+ while (1) switch (_context2.prev = _context2.next) {
126
+ case 0:
127
+ email = form.getFieldValue('email');
128
+ _context2.next = 3;
129
+ return (_props$onSendEmail = props.onSendEmail) === null || _props$onSendEmail === void 0 ? void 0 : _props$onSendEmail.call(props, email);
130
+ case 3:
131
+ case "end":
132
+ return _context2.stop();
133
+ }
134
+ }, _callee2);
135
+ }));
136
+ return function handleSendEmail() {
137
+ return _ref2.apply(this, arguments);
138
+ };
139
+ }();
140
+
141
+ // 验证邮箱链接
142
+ var handleVerifyLink = /*#__PURE__*/function () {
143
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
144
+ var _step$params6, _props$onVerifyLink, emailToken, result;
145
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
146
+ while (1) switch (_context3.prev = _context3.next) {
147
+ case 0:
148
+ _context3.prev = 0;
149
+ emailToken = (_step$params6 = step.params) === null || _step$params6 === void 0 ? void 0 : _step$params6.emailToken;
150
+ _context3.next = 4;
151
+ return (_props$onVerifyLink = props.onVerifyLink) === null || _props$onVerifyLink === void 0 ? void 0 : _props$onVerifyLink.call(props, emailToken);
152
+ case 4:
153
+ result = _context3.sent;
154
+ console.log('result>>>>>>>', result);
155
+ if ((result === null || result === void 0 ? void 0 : result.code) === SRVerifyCode.SUCCESS) {
156
+ setStep({
157
+ key: SRStepKey.ENTRY_INFO,
158
+ params: {
159
+ emailToken: emailToken,
160
+ documentTitle: locales.getText('pisell-saas-register-entry-info-document-title'),
161
+ documentDescription: locales.getText('pisell-saas-register-entry-info-document-description')
162
+ }
163
+ });
164
+ }
165
+ _context3.next = 13;
166
+ break;
167
+ case 9:
168
+ _context3.prev = 9;
169
+ _context3.t0 = _context3["catch"](0);
170
+ if ((_context3.t0 === null || _context3.t0 === void 0 ? void 0 : _context3.t0.code) === SRVerifyCode.LINK_EXPIRED) {
171
+ // 链接已过期
172
+ setStep({
173
+ key: SRStepKey.VERIFY_FAILED,
174
+ status: SRStepStatus.FAILED_LINK_EXPIRED
175
+ });
176
+ } else if ((_context3.t0 === null || _context3.t0 === void 0 ? void 0 : _context3.t0.code) === SRVerifyCode.EMAIL_REGISTERED) {
177
+ // 邮箱已被注册
178
+ setStep({
179
+ key: SRStepKey.VERIFY_FAILED,
180
+ status: SRStepStatus.FAILED_LINK_EMAIL_REGISTERED
181
+ });
182
+ } else {
183
+ PisellToast({
184
+ content: _context3.t0 === null || _context3.t0 === void 0 ? void 0 : _context3.t0.message,
185
+ duration: 2
186
+ });
187
+ }
188
+ console.error('handleVerifyLink_failed:', _context3.t0);
189
+ case 13:
190
+ case "end":
191
+ return _context3.stop();
192
+ }
193
+ }, _callee3, null, [[0, 9]]);
194
+ }));
195
+ return function handleVerifyLink() {
196
+ return _ref3.apply(this, arguments);
197
+ };
198
+ }();
199
+
200
+ // 返回注册页面
201
+ var handleBackToRegister = function handleBackToRegister() {
202
+ setStep({
203
+ key: SRStepKey.ENTRY_EMAIL
204
+ });
205
+ };
206
+
207
+ // 自定义 Header 的 props
208
+ var customHeaderProps = useMemo(function () {
209
+ if (step.key === SRStepKey.ENTRY_INFO) {
210
+ return {
211
+ showLogo: false,
212
+ showWelcomeMessage: false,
213
+ showTitle: true,
214
+ title: locales.getText('pisell-saas-register-entry-info-title'),
215
+ showSubtitle: true,
216
+ subtitle: locales.getText('pisell-saas-register-entry-info-subtitle')
217
+ };
218
+ }
219
+ return {};
220
+ }, [step.key]);
221
+ return /*#__PURE__*/React.createElement("div", {
222
+ className: "pisell-saas-register-main"
223
+ }, /*#__PURE__*/React.createElement("div", {
224
+ className: "pisell-saas-register-container"
225
+ }, /*#__PURE__*/React.createElement(Header, _extends({}, props, customHeaderProps)), /*#__PURE__*/React.createElement(Form, {
226
+ form: form,
227
+ preserve: true
228
+ }, step.key === SRStepKey.ENTRY_EMAIL && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(EntryEmail, _extends({}, props, {
229
+ form: form,
230
+ handleVerifyEmail: handleVerifyEmail
231
+ })), /*#__PURE__*/React.createElement(GoLogin, props)), step.key === SRStepKey.WAIT_VERIFY_EMAIL && /*#__PURE__*/React.createElement(VerifyEmail, {
232
+ email: form.getFieldValue('email'),
233
+ onSendEmail: handleSendEmail,
234
+ onEditEmail: handleEditEmail
235
+ }), step.key === SRStepKey.VERIFYING_EMAIL && /*#__PURE__*/React.createElement(VerifyingLink, {
236
+ onVerifyLink: handleVerifyLink
237
+ }), step.key === SRStepKey.VERIFY_FAILED && /*#__PURE__*/React.createElement(VerifyError, {
238
+ status: step.status,
239
+ onBackToRegister: handleBackToRegister,
240
+ onGoLogin: props === null || props === void 0 ? void 0 : props.onGoLogin
241
+ }), step.key === SRStepKey.ENTRY_INFO && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(EntryInfo, _extends({}, props, {
242
+ form: form,
243
+ emailToken: (_step$params7 = step.params) === null || _step$params7 === void 0 ? void 0 : _step$params7.emailToken
244
+ })), /*#__PURE__*/React.createElement(GoLogin, props)))));
245
+ };
246
+ export default /*#__PURE__*/forwardRef(SaasRegister);
@@ -0,0 +1,218 @@
1
+ .pisell-saas-register-container {
2
+ width: 360px;
3
+ max-width: 360px;
4
+ min-width: 266px;
5
+ margin: 0 20px;
6
+ overflow-x: hidden;
7
+
8
+ // Logo样式
9
+ .pisell-saas-register-logo {
10
+ width: fit-content;
11
+ height: 48px;
12
+ border-radius: 8px;
13
+
14
+ &.left {
15
+ margin-right: auto;
16
+ margin-left: 0;
17
+ }
18
+
19
+ &.center {
20
+ margin: 0 auto;
21
+ }
22
+
23
+ &.right {
24
+ margin-left: auto;
25
+ margin-right: 0;
26
+ }
27
+
28
+ img {
29
+ height: 48px;
30
+ object-fit: contain;
31
+ }
32
+ }
33
+
34
+ .pisell-saas-register-welcome-message {
35
+ margin-top: 10px;
36
+ color: #101828;
37
+ text-align: center;
38
+ font-size: 20px;
39
+ font-weight: 500;
40
+ }
41
+
42
+ .pisell-saas-register-title {
43
+ margin-top: 24px;
44
+ font-size: 30px;
45
+ font-weight: 600;
46
+ color: #101828;
47
+ }
48
+
49
+ .pisell-saas-register-subtitle {
50
+ margin-top: 12px;
51
+ font-size: 16px;
52
+ color: #475467;
53
+ font-weight: 400;
54
+ }
55
+
56
+ // 表单区域样式
57
+ .pisell-saas-register-form {
58
+ margin-top: 32px;
59
+ margin-bottom: 16px;
60
+
61
+ // 表单项标题
62
+ .form-item-label {
63
+ font-size: 14px;
64
+ font-weight: 500;
65
+ color: #344054;
66
+ margin-bottom: 6px;
67
+ text-align: left;
68
+ }
69
+
70
+ // 输入框样式
71
+ .pisell-saas-register-input {
72
+ height: 44px;
73
+ border-radius: 8px;
74
+ border: 1px solid #d0d5dd;
75
+ background: #fff;
76
+
77
+ &:hover {
78
+ border-color: var(--theme-color);
79
+ }
80
+
81
+ &:focus {
82
+ border-color: var(--theme-color);
83
+ box-shadow: 0 0 0 4px rgba(127, 86, 217, 0.1);
84
+ }
85
+
86
+ &.ant-input-password {
87
+ padding: 4px 11px;
88
+
89
+ .ant-input {
90
+ height: 34px;
91
+ }
92
+ }
93
+ }
94
+
95
+ // 登录按钮样式
96
+ .pisell-saas-register-button {
97
+ height: 44px;
98
+ border-radius: 8px;
99
+ background: var(--theme-color);
100
+ border: none;
101
+ font-weight: 500;
102
+
103
+ &:hover {
104
+ background: #6941c6;
105
+ }
106
+
107
+ &:focus {
108
+ background: var(--theme-color);
109
+ box-shadow: 0 0 0 4px rgba(127, 86, 217, 0.1);
110
+ }
111
+
112
+ &.margin-top-32 {
113
+ margin-top: 32px;
114
+ }
115
+ }
116
+ }
117
+
118
+ .pisell-saas-register-form-main {
119
+ display: flex;
120
+ flex-direction: column;
121
+ gap: 8px;
122
+ }
123
+
124
+ .pisell-saas-register-form-title {
125
+ color: #101828;
126
+ text-align: center;
127
+ font-size: 16px;
128
+ font-weight: 600;
129
+ }
130
+
131
+ .pisell-saas-register-form-subtitle {
132
+ color: #475467;
133
+ text-align: center;
134
+ font-size: 14px;
135
+ font-weight: 400;
136
+ }
137
+
138
+ .pisell-saas-register-form-email {
139
+ display: flex;
140
+ align-items: center;
141
+ justify-content: center;
142
+ color: #475467;
143
+ font-size: 14px;
144
+ font-weight: 400;
145
+
146
+ &-icon {
147
+ font-size: 20px;
148
+ margin-left: 10px;
149
+ cursor: pointer;
150
+ color: #6941c6;
151
+ }
152
+ }
153
+
154
+ // 页脚样式
155
+ .pisell-saas-register-action {
156
+ margin-top: 32px;
157
+ margin-bottom: 16px;
158
+ font-size: 14px;
159
+ color: #475467;
160
+ font-weight: 400;
161
+
162
+ a {
163
+ margin-left: 4px;
164
+ cursor: pointer;
165
+ color: #6941c6;
166
+ font-size: 14px;
167
+ font-weight: 600;
168
+
169
+ &:hover {
170
+ color: #6941c6;
171
+ }
172
+ }
173
+
174
+ .pisell-saas-register-link-button {
175
+ padding: 0;
176
+ margin: 0;
177
+ font-size: 14px;
178
+ font-weight: 600;
179
+ }
180
+ }
181
+
182
+ .pisell-saas-register-divider {
183
+ display: flex;
184
+ align-items: center;
185
+ justify-content: center;
186
+ margin: 24px 0;
187
+
188
+ .pisell-saas-register-divider-text {
189
+ flex: 1;
190
+ display: flex;
191
+ align-items: center;
192
+ color: #475467;
193
+ text-align: center;
194
+ font-size: 14px;
195
+ font-weight: 500;
196
+
197
+ &::before,
198
+ &::after {
199
+ content: '';
200
+ flex: 1;
201
+ height: 1px;
202
+ background-color: #eaecf0;
203
+ }
204
+
205
+ &::before {
206
+ margin-right: 8px;
207
+ }
208
+
209
+ &::after {
210
+ margin-left: 8px;
211
+ }
212
+ }
213
+ }
214
+
215
+ .pisell-lowcode-form-item {
216
+ margin-bottom: 16px;
217
+ }
218
+ }