@pisell/private-materials 6.3.29 → 6.3.31

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 (313) 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 +9 -1
  6. package/build/lowcode/preview.js +144 -144
  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/index.js +3 -2
  12. package/es/components/appointmentBooking/components/ConfirmInformation/index.js +267 -76
  13. package/es/components/appointmentBooking/components/ConfirmInformation/index.less +15 -0
  14. package/es/components/appointmentBooking/hooks.js +30 -30
  15. package/es/components/appointmentBooking/locales.js +9 -6
  16. package/es/components/booking/components/TabProduct/index.d.ts +1 -0
  17. package/es/components/booking/components/footer/index.d.ts +1 -0
  18. package/es/components/booking/components/footer/index.js +4 -1
  19. package/es/components/booking/components/footer/utils.js +62 -46
  20. package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  21. package/es/components/booking/forms/table/index.d.ts +1 -0
  22. package/es/components/booking/info/clientVariant/hooks/useClientFn.js +2 -2
  23. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  24. package/es/components/booking/info/clientVariant/vertical/index.js +1 -1
  25. package/es/components/booking/info/main.js +3 -2
  26. package/es/components/booking/info/model.js +5 -0
  27. package/es/components/booking/info/service/like/index.d.ts +1 -0
  28. package/es/components/booking/info2/index.js +3 -2
  29. package/es/components/booking/info2/service/contactInfoMode/index.js +93 -0
  30. package/es/components/booking/locales.js +9 -3
  31. package/es/components/booking/model.js +3 -0
  32. package/es/components/eftpos/deviceList/index.d.ts +1 -0
  33. package/es/components/eftpos/form/index.d.ts +1 -0
  34. package/es/components/eftpos/group/index.d.ts +1 -0
  35. package/es/components/eftpos/hooks.d.ts +1 -0
  36. package/es/components/eftpos/icon/apiKey.d.ts +1 -0
  37. package/es/components/eftpos/icon/device.d.ts +1 -0
  38. package/es/components/eftpos/receipt/index.d.ts +1 -0
  39. package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
  40. package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
  41. package/es/components/eftposPay/component/step/index.d.ts +1 -0
  42. package/es/components/eftposPay/component/step/step.d.ts +1 -0
  43. package/es/components/eftposPay/hooks.d.ts +1 -1
  44. package/es/components/eftposPay/store/index.d.ts +1 -1
  45. package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
  46. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  47. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  48. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  49. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  50. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  51. package/es/components/pay/toC/PaymentMethods/ApplePay/index.js +1 -1
  52. package/es/components/pay/toC/PaymentMethods/GooglePay/index.js +1 -1
  53. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  54. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  55. package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
  56. package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
  57. package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
  58. package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  59. package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  60. package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
  61. package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
  62. package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
  63. package/es/index.d.ts +3 -0
  64. package/es/index.js +4 -1
  65. package/es/plus/clientName/index.js +18 -0
  66. package/es/plus/clientName/index.less +10 -0
  67. package/es/plus/clientName/type.js +1 -0
  68. package/es/plus/clientName/utils.js +18 -0
  69. package/es/plus/contactInfo/components/Avatar/index.js +30 -0
  70. package/es/plus/contactInfo/components/SwipeAction/index.js +360 -0
  71. package/es/plus/contactInfo/components/SwipeAction/index.less +74 -0
  72. package/es/plus/contactInfo/index.js +198 -0
  73. package/es/plus/contactInfo/index.less +621 -0
  74. package/es/plus/contactInfo/locales.js +14 -0
  75. package/es/plus/contactInfo/types.js +1 -0
  76. package/es/plus/contactInfo/utils.js +50 -0
  77. package/es/plus/contactInfoModal/ContactInfoContent.js +74 -0
  78. package/es/plus/contactInfoModal/index.js +154 -0
  79. package/es/plus/contactInfoModal/index.less +19 -0
  80. package/es/plus/contactInfoModal/locales.js +65 -0
  81. package/es/pro/Login2.0/AuthModal.d.ts +143 -0
  82. package/es/pro/Login2.0/AuthModal.js +624 -0
  83. package/es/pro/Login2.0/Login2.d.ts +61 -0
  84. package/es/pro/Login2.0/Login2.js +2157 -0
  85. package/es/pro/Login2.0/Register2.d.ts +65 -0
  86. package/es/pro/Login2.0/Register2.js +1501 -0
  87. package/es/pro/Login2.0/components/ForgotPasswordFlow.js +330 -0
  88. package/es/pro/Login2.0/components/LegalTerms.d.ts +8 -0
  89. package/es/pro/Login2.0/components/LegalTerms.js +51 -0
  90. package/es/pro/Login2.0/components/LegalTerms.less +74 -0
  91. package/es/pro/Login2.0/components/LoginCodeInput.js +207 -0
  92. package/es/pro/Login2.0/components/OAuthButtonGroup.js +55 -0
  93. package/es/pro/Login2.0/components/PhoneInput.js +414 -0
  94. package/es/pro/Login2.0/components/PhoneInput.less +148 -0
  95. package/es/pro/Login2.0/components/phoneValidation.js +228 -0
  96. package/es/pro/Login2.0/hooks/index.d.ts +2 -0
  97. package/es/pro/Login2.0/hooks/index.js +1 -0
  98. package/es/pro/Login2.0/hooks/usePasswordValidationRules.js +87 -0
  99. package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  100. package/es/pro/Login2.0/hooks/useRegisterFlow.js +158 -0
  101. package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  102. package/es/pro/Login2.0/hooks/useRegistrationMethods.js +31 -0
  103. package/es/pro/Login2.0/index.js +8 -0
  104. package/es/pro/Login2.0/index.less +993 -0
  105. package/es/pro/Login2.0/locales.js +622 -0
  106. package/es/pro/Login2.0/shared/Header.d.ts +11 -0
  107. package/es/pro/Login2.0/shared/Header.js +42 -0
  108. package/es/pro/Login2.0/shared/OAuthButtons.d.ts +11 -0
  109. package/es/pro/Login2.0/shared/OAuthButtons.js +59 -0
  110. package/es/pro/Login2.0/shared/registerFlow.js +171 -0
  111. package/es/pro/Login2.0/shared/types.d.ts +232 -0
  112. package/es/pro/Login2.0/shared/types.js +1 -0
  113. package/es/pro/Login2.0/steps/CodeInput.js +209 -0
  114. package/es/pro/Login2.0/steps/EmailAlreadyRegistered.js +35 -0
  115. package/es/pro/Login2.0/steps/EmailLinkAlreadyUsed.js +25 -0
  116. package/es/pro/Login2.0/steps/EmailLinkExpired.js +33 -0
  117. package/es/pro/Login2.0/steps/SetPassword.js +148 -0
  118. package/es/pro/Login2.0/steps/VerificationSuccess.js +35 -0
  119. package/es/pro/Login2.0/steps/VerifyingEmailLink.js +17 -0
  120. package/es/pro/Login2.0/steps/WaitEmailLink.js +54 -0
  121. package/es/pro/Login2.0/steps/index.js +11 -0
  122. package/es/pro/Login2.0/steps/steps.less +423 -0
  123. package/es/pro/Login2.0/types.js +1 -0
  124. package/lib/components/appointmentBooking/components/Cart/Item/index.js +5 -3
  125. package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +151 -13
  126. package/lib/components/appointmentBooking/components/ConfirmInformation/index.less +15 -0
  127. package/lib/components/appointmentBooking/hooks.js +73 -35
  128. package/lib/components/appointmentBooking/locales.js +6 -3
  129. package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
  130. package/lib/components/booking/components/footer/index.d.ts +1 -0
  131. package/lib/components/booking/components/footer/index.js +4 -1
  132. package/lib/components/booking/components/footer/utils.js +70 -38
  133. package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
  134. package/lib/components/booking/forms/table/index.d.ts +1 -0
  135. package/lib/components/booking/info/clientVariant/hooks/useClientFn.js +1 -1
  136. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
  137. package/lib/components/booking/info/clientVariant/vertical/index.js +34 -17
  138. package/lib/components/booking/info/main.js +5 -4
  139. package/lib/components/booking/info/model.js +5 -0
  140. package/lib/components/booking/info/service/like/index.d.ts +1 -0
  141. package/lib/components/booking/info2/index.js +5 -4
  142. package/lib/components/booking/info2/service/contactInfoMode/index.js +104 -0
  143. package/lib/components/booking/locales.js +9 -3
  144. package/lib/components/booking/model.js +3 -0
  145. package/lib/components/eftpos/deviceList/index.d.ts +1 -0
  146. package/lib/components/eftpos/form/index.d.ts +1 -0
  147. package/lib/components/eftpos/group/index.d.ts +1 -0
  148. package/lib/components/eftpos/hooks.d.ts +1 -0
  149. package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
  150. package/lib/components/eftpos/icon/device.d.ts +1 -0
  151. package/lib/components/eftpos/receipt/index.d.ts +1 -0
  152. package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
  153. package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
  154. package/lib/components/eftposPay/component/step/index.d.ts +1 -0
  155. package/lib/components/eftposPay/component/step/step.d.ts +1 -0
  156. package/lib/components/eftposPay/hooks.d.ts +1 -1
  157. package/lib/components/eftposPay/store/index.d.ts +1 -1
  158. package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
  159. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
  160. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
  161. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
  162. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
  163. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
  164. package/lib/components/pay/toC/PaymentMethods/ApplePay/index.js +1 -1
  165. package/lib/components/pay/toC/PaymentMethods/GooglePay/index.js +1 -1
  166. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
  167. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
  168. package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
  169. package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
  170. package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
  171. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
  172. package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
  173. package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
  174. package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
  175. package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
  176. package/lib/index.d.ts +3 -0
  177. package/lib/index.js +13 -0
  178. package/lib/plus/clientName/index.js +53 -0
  179. package/lib/plus/clientName/index.less +10 -0
  180. package/lib/plus/clientName/type.js +17 -0
  181. package/lib/plus/clientName/utils.js +43 -0
  182. package/lib/plus/contactInfo/components/Avatar/index.js +56 -0
  183. package/lib/plus/contactInfo/components/SwipeAction/index.js +373 -0
  184. package/lib/plus/contactInfo/components/SwipeAction/index.less +74 -0
  185. package/lib/plus/contactInfo/index.js +226 -0
  186. package/lib/plus/contactInfo/index.less +621 -0
  187. package/lib/plus/contactInfo/locales.js +38 -0
  188. package/lib/plus/contactInfo/types.js +17 -0
  189. package/lib/plus/contactInfo/utils.js +64 -0
  190. package/lib/plus/contactInfoModal/ContactInfoContent.js +129 -0
  191. package/lib/plus/contactInfoModal/index.js +138 -0
  192. package/lib/plus/contactInfoModal/index.less +19 -0
  193. package/lib/plus/contactInfoModal/locales.js +89 -0
  194. package/lib/pro/Login2.0/AuthModal.d.ts +143 -0
  195. package/lib/pro/Login2.0/AuthModal.js +498 -0
  196. package/lib/pro/Login2.0/Login2.d.ts +61 -0
  197. package/lib/pro/Login2.0/Login2.js +1468 -0
  198. package/lib/pro/Login2.0/Register2.d.ts +65 -0
  199. package/lib/pro/Login2.0/Register2.js +1062 -0
  200. package/lib/pro/Login2.0/components/ForgotPasswordFlow.js +213 -0
  201. package/lib/pro/Login2.0/components/LegalTerms.d.ts +8 -0
  202. package/lib/pro/Login2.0/components/LegalTerms.js +76 -0
  203. package/lib/pro/Login2.0/components/LegalTerms.less +74 -0
  204. package/lib/pro/Login2.0/components/LoginCodeInput.js +161 -0
  205. package/lib/pro/Login2.0/components/OAuthButtonGroup.js +87 -0
  206. package/lib/pro/Login2.0/components/PhoneInput.js +263 -0
  207. package/lib/pro/Login2.0/components/PhoneInput.less +148 -0
  208. package/lib/pro/Login2.0/components/phoneValidation.js +153 -0
  209. package/lib/pro/Login2.0/hooks/index.d.ts +2 -0
  210. package/lib/pro/Login2.0/hooks/index.js +29 -0
  211. package/lib/pro/Login2.0/hooks/usePasswordValidationRules.js +140 -0
  212. package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
  213. package/lib/pro/Login2.0/hooks/useRegisterFlow.js +149 -0
  214. package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
  215. package/lib/pro/Login2.0/hooks/useRegistrationMethods.js +51 -0
  216. package/lib/pro/Login2.0/index.js +45 -0
  217. package/lib/pro/Login2.0/index.less +993 -0
  218. package/lib/pro/Login2.0/locales.js +646 -0
  219. package/lib/pro/Login2.0/shared/Header.d.ts +11 -0
  220. package/lib/pro/Login2.0/shared/Header.js +81 -0
  221. package/lib/pro/Login2.0/shared/OAuthButtons.d.ts +11 -0
  222. package/lib/pro/Login2.0/shared/OAuthButtons.js +78 -0
  223. package/lib/pro/Login2.0/shared/registerFlow.js +235 -0
  224. package/lib/pro/Login2.0/shared/types.d.ts +232 -0
  225. package/lib/pro/Login2.0/shared/types.js +17 -0
  226. package/lib/pro/Login2.0/steps/CodeInput.js +160 -0
  227. package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.js +46 -0
  228. package/lib/pro/Login2.0/steps/EmailLinkAlreadyUsed.js +51 -0
  229. package/lib/pro/Login2.0/steps/EmailLinkExpired.js +51 -0
  230. package/lib/pro/Login2.0/steps/SetPassword.js +131 -0
  231. package/lib/pro/Login2.0/steps/VerificationSuccess.js +49 -0
  232. package/lib/pro/Login2.0/steps/VerifyingEmailLink.js +41 -0
  233. package/lib/pro/Login2.0/steps/WaitEmailLink.js +67 -0
  234. package/lib/pro/Login2.0/steps/index.js +60 -0
  235. package/lib/pro/Login2.0/steps/steps.less +423 -0
  236. package/lib/pro/Login2.0/types.js +17 -0
  237. package/lowcode/authmodal/meta.ts +395 -0
  238. package/lowcode/contact-info/fragments/cardStyle.ts +68 -0
  239. package/lowcode/contact-info/fragments/nameStyle.ts +33 -0
  240. package/lowcode/contact-info/fragments/pisellAvatar.ts +103 -0
  241. package/lowcode/contact-info/fragments/textStyle.ts +33 -0
  242. package/lowcode/contact-info/meta.ts +199 -0
  243. package/lowcode/contact-info-modal/meta.ts +98 -0
  244. package/lowcode/login2/CONFIG.md +447 -0
  245. package/lowcode/login2/TEST_CONFIG.md +324 -0
  246. package/lowcode/login2/VERIFICATION_METHODS.md +364 -0
  247. package/lowcode/login2/meta.ts +560 -0
  248. package/lowcode/login2/snippets.ts +124 -0
  249. package/lowcode/register2/meta.ts +562 -0
  250. package/lowcode/register2/snippets.ts +257 -0
  251. package/package.json +7 -5
  252. package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -3
  253. package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +0 -4
  254. package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
  255. package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
  256. package/es/components/appointmentBooking/hooks.d.ts +0 -106
  257. package/es/components/appointmentBooking/locales.d.ts +0 -360
  258. package/es/components/booking/components/footer/utils.d.ts +0 -41
  259. package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -8
  260. package/es/components/booking/components/voucher/index.d.ts +0 -3
  261. package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -43
  262. package/es/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
  263. package/es/components/booking/info/main.d.ts +0 -12
  264. package/es/components/booking/info/model.d.ts +0 -14
  265. package/es/components/booking/info/service/editService/constants.d.ts +0 -1
  266. package/es/components/booking/info/service/editService/index.d.ts +0 -7
  267. package/es/components/booking/info2/index.d.ts +0 -12
  268. package/es/components/booking/info2/service/addService/index.d.ts +0 -11
  269. package/es/components/booking/locales.d.ts +0 -837
  270. package/es/components/booking/model.d.ts +0 -116
  271. package/es/components/eftposPay/component/fail/index.d.ts +0 -3
  272. package/es/components/index.d.ts +0 -22
  273. package/es/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +0 -10
  274. package/es/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +0 -9
  275. package/es/components/pay/toC/PaymentMethods/index.d.ts +0 -9
  276. package/es/components/ruleSetting/locales.d.ts +0 -48
  277. package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
  278. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
  279. package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -12
  280. package/es/components/ticketBooking/index.d.ts +0 -7
  281. package/es/plus/productSelect/ProductCard/index.d.ts +0 -47
  282. package/es/plus/productSelect/index.d.ts +0 -32
  283. package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -3
  284. package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +0 -4
  285. package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
  286. package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
  287. package/lib/components/appointmentBooking/hooks.d.ts +0 -106
  288. package/lib/components/appointmentBooking/locales.d.ts +0 -360
  289. package/lib/components/booking/components/footer/utils.d.ts +0 -41
  290. package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -8
  291. package/lib/components/booking/components/voucher/index.d.ts +0 -3
  292. package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -43
  293. package/lib/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
  294. package/lib/components/booking/info/main.d.ts +0 -12
  295. package/lib/components/booking/info/model.d.ts +0 -14
  296. package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
  297. package/lib/components/booking/info/service/editService/index.d.ts +0 -7
  298. package/lib/components/booking/info2/index.d.ts +0 -12
  299. package/lib/components/booking/info2/service/addService/index.d.ts +0 -11
  300. package/lib/components/booking/locales.d.ts +0 -837
  301. package/lib/components/booking/model.d.ts +0 -116
  302. package/lib/components/eftposPay/component/fail/index.d.ts +0 -3
  303. package/lib/components/index.d.ts +0 -22
  304. package/lib/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +0 -10
  305. package/lib/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +0 -9
  306. package/lib/components/pay/toC/PaymentMethods/index.d.ts +0 -9
  307. package/lib/components/ruleSetting/locales.d.ts +0 -48
  308. package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
  309. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
  310. package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -12
  311. package/lib/components/ticketBooking/index.d.ts +0 -7
  312. package/lib/plus/productSelect/ProductCard/index.d.ts +0 -47
  313. package/lib/plus/productSelect/index.d.ts +0 -32
@@ -0,0 +1,993 @@
1
+ /**
2
+ * 登录注册 2.0 组件样式
3
+ * 基于 Figma 设计,总宽 360px
4
+ */
5
+
6
+ .login2-container {
7
+ position: relative; /* 为 LegalTerms 组件提供定位基准 */
8
+ width: 100%;
9
+ max-width: 360px;
10
+ min-width: 280px;
11
+ margin: 0 auto;
12
+ display: flex;
13
+ align-items: center;
14
+ flex-direction: column;
15
+
16
+ /* 默认底部内边距 */
17
+ padding-bottom: 24px;
18
+
19
+ /* 在弹窗模式下不需要额外的底部内边距,因为使用 sticky 定位 */
20
+ .pisell-lowcode-modal-body & {
21
+ padding-top: 24px;
22
+ padding-bottom: 24px;
23
+ }
24
+
25
+
26
+ .login2-header{
27
+ display: flex;
28
+ flex-direction: column;
29
+ gap: 24px;
30
+
31
+ .login2-header-top{
32
+ display: flex;
33
+ flex-direction: column;
34
+ gap: 10px;
35
+ }
36
+
37
+ .login2-header-bottom{
38
+ display: flex;
39
+ flex-direction: column;
40
+ gap: 8px;
41
+ }
42
+ }
43
+
44
+ // Logo 样式
45
+ .login2-logo {
46
+ display: flex;
47
+ align-items: center;
48
+ margin-bottom: 0;
49
+
50
+ &.left {
51
+ justify-content: flex-start;
52
+ }
53
+
54
+ &.center {
55
+ justify-content: center;
56
+ }
57
+
58
+ &.right {
59
+ justify-content: flex-end;
60
+ }
61
+
62
+ img {
63
+ object-fit: contain;
64
+ }
65
+ }
66
+
67
+ // 标题样式
68
+ .login2-title {
69
+ font-size: 20px;
70
+ font-weight: 500;
71
+ line-height: 30px;
72
+ color: #101828;
73
+ margin-bottom: 0;
74
+ }
75
+
76
+ // 副标题样式
77
+ .login2-subtitle {
78
+ color: #101828;
79
+ font-size: 24px;
80
+ font-weight: 600;
81
+ line-height: 32px;
82
+ margin-bottom: 0;
83
+ }
84
+
85
+ // 描述样式
86
+ .login2-desc {
87
+ font-size: 16px;
88
+ font-weight: 400;
89
+ line-height: 24px;
90
+ color: #475467;
91
+ word-wrap: break-word;
92
+ margin: 0;
93
+ }
94
+
95
+ // 标签页样式
96
+ .login2-tabs {
97
+ display: flex;
98
+ justify-content: center;
99
+ gap: 8px;
100
+ margin-bottom: 32px;
101
+ border-bottom: 1px solid #eaecf0;
102
+
103
+ .tab {
104
+ flex: 1;
105
+ text-align: center;
106
+ padding: 12px 16px;
107
+ font-size: 14px;
108
+ font-weight: 600;
109
+ line-height: 20px;
110
+ color: #667085;
111
+ cursor: pointer;
112
+ position: relative;
113
+ transition: all 0.2s;
114
+
115
+ &.active {
116
+ color: var(--theme-color, #7f56d9);
117
+
118
+ &::after {
119
+ content: '';
120
+ position: absolute;
121
+ bottom: -1px;
122
+ left: 0;
123
+ right: 0;
124
+ height: 2px;
125
+ background: var(--theme-color, #7f56d9);
126
+ }
127
+ }
128
+
129
+ &:hover:not(.active) {
130
+ color: #344054;
131
+ }
132
+ }
133
+ }
134
+
135
+ // 内容区域
136
+ .login2-content {
137
+ width: 100%;
138
+ padding-bottom: 0;
139
+ display: flex;
140
+ flex-direction: column;
141
+ gap: 24px;
142
+ }
143
+
144
+ // 表单样式
145
+ .login2-form {
146
+ width: 100%;
147
+ display: flex;
148
+ flex-direction: column;
149
+ gap: 16px;
150
+
151
+ .pisell-lowcode-form-item {
152
+ margin-bottom: 0;
153
+ }
154
+
155
+ .pisell-lowcode-form-item-label {
156
+ padding-bottom: 0;
157
+
158
+ > label {
159
+ font-size: 14px;
160
+ font-weight: 500;
161
+ line-height: 20px;
162
+ color: #344054;
163
+
164
+ &::before {
165
+ display: none !important;
166
+ }
167
+ }
168
+ }
169
+
170
+ // 输入框样式
171
+ .login2-input {
172
+ height: 44px;
173
+ border-radius: 8px;
174
+ border: 1px solid #d0d5dd;
175
+ background: #ffffff;
176
+ font-size: 16px;
177
+ padding: 10px 14px;
178
+ box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
179
+
180
+ &:hover {
181
+ border-color: var(--theme-color, #7f56d9);
182
+ }
183
+
184
+ &:focus,
185
+ &.pisell-lowcode-input-focused {
186
+ border-color: var(--theme-color, #7f56d9);
187
+ box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05),
188
+ 0px 0px 0px 4px rgba(127, 86, 217, 0.1);
189
+ }
190
+
191
+ &::placeholder {
192
+ color: #98a2b3;
193
+ font-size: 16px;
194
+ }
195
+
196
+ // 密码输入框
197
+ &.pisell-lowcode-input-password {
198
+ padding: 10px 14px;
199
+
200
+ .pisell-lowcode-input {
201
+ height: auto;
202
+ padding: 0;
203
+ font-size: 16px;
204
+ }
205
+
206
+ .pisell-lowcode-input-suffix {
207
+ color: #667085;
208
+ }
209
+ }
210
+ }
211
+
212
+ // 验证方式选择器
213
+ .verification-method-selector {
214
+ display: flex;
215
+ gap: 8px;
216
+ margin-bottom: 20px;
217
+
218
+ .method-option {
219
+ flex: 1;
220
+ text-align: center;
221
+ padding: 8px 12px;
222
+ border: 1px solid #d0d5dd;
223
+ border-radius: 8px;
224
+ font-size: 14px;
225
+ font-weight: 500;
226
+ color: #344054;
227
+ cursor: pointer;
228
+ transition: all 0.2s;
229
+
230
+ &:hover {
231
+ border-color: var(--theme-color, #7f56d9);
232
+ color: var(--theme-color, #7f56d9);
233
+ }
234
+
235
+ &.active {
236
+ border-color: var(--theme-color, #7f56d9);
237
+ background: rgba(127, 86, 217, 0.05);
238
+ color: var(--theme-color, #7f56d9);
239
+ }
240
+ }
241
+ }
242
+
243
+ // 验证码输入框
244
+ .verification-code-input {
245
+ display: flex;
246
+ gap: 8px;
247
+
248
+ .pisell-lowcode-input-wrapper {
249
+ flex: 1;
250
+ }
251
+
252
+ .send-code-button {
253
+ height: 44px;
254
+ padding: 10px 16px;
255
+ border-radius: 8px;
256
+ border: 1px solid #d0d5dd;
257
+ background: #ffffff;
258
+ font-size: 14px;
259
+ font-weight: 600;
260
+ color: var(--theme-color, #7f56d9);
261
+ white-space: nowrap;
262
+
263
+ &:hover:not(:disabled) {
264
+ border-color: var(--theme-color, #7f56d9);
265
+ background: rgba(127, 86, 217, 0.05);
266
+ }
267
+
268
+ &:disabled {
269
+ color: #98a2b3;
270
+ border-color: #eaecf0;
271
+ background: #f9fafb;
272
+ cursor: not-allowed;
273
+ }
274
+ }
275
+ }
276
+
277
+ // 表单底部
278
+ .login2-form-footer {
279
+ display: flex;
280
+ justify-content: space-between;
281
+ align-items: center;
282
+
283
+ .pisell-lowcode-checkbox-wrapper {
284
+ font-size: 14px;
285
+ font-weight: 500;
286
+ color: #344054;
287
+
288
+ .pisell-lowcode-checkbox {
289
+ .pisell-lowcode-checkbox-inner {
290
+ width: 16px;
291
+ height: 16px;
292
+ border-radius: 4px;
293
+ border-color: #d0d5dd;
294
+ }
295
+
296
+ &.pisell-lowcode-checkbox-checked {
297
+ .pisell-lowcode-checkbox-inner {
298
+ background-color: var(--theme-color, #7f56d9);
299
+ border-color: var(--theme-color, #7f56d9);
300
+ }
301
+ }
302
+ }
303
+ }
304
+
305
+ .forgot-password {
306
+ font-size: 14px;
307
+ font-weight: 600;
308
+ color: var(--theme-color, #7f56d9);
309
+ cursor: pointer;
310
+
311
+ &:hover {
312
+ color: #6941c6;
313
+ }
314
+ }
315
+ }
316
+
317
+ // 提交按钮
318
+ .login2-submit-button {
319
+ height: 44px;
320
+ border-radius: 8px;
321
+ border: 1px solid var(--theme-color, #7f56d9);
322
+ background: var(--theme-color, #7f56d9);
323
+ box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
324
+ font-size: 16px;
325
+ font-weight: 600;
326
+ color: #ffffff;
327
+
328
+ &:hover:not(:disabled) {
329
+ background: #6941c6;
330
+ border-color: #6941c6;
331
+ }
332
+
333
+ &:focus {
334
+ background: var(--theme-color, #7f56d9);
335
+ border-color: var(--theme-color, #7f56d9);
336
+ box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05),
337
+ 0px 0px 0px 4px rgba(127, 86, 217, 0.1);
338
+ }
339
+
340
+ &:disabled {
341
+ background: #f2f4f7;
342
+ border-color: #f2f4f7;
343
+ color: #98a2b3;
344
+ }
345
+ }
346
+ }
347
+
348
+ .divider {
349
+ display: flex;
350
+ align-items: center;
351
+ margin-bottom: 0;
352
+
353
+ &::before,
354
+ &::after {
355
+ content: '';
356
+ flex: 1;
357
+ height: 1px;
358
+ background: #eaecf0;
359
+ }
360
+
361
+ span {
362
+ padding: 0 12px;
363
+ font-size: 14px;
364
+ font-weight: 500;
365
+ color: #98a2b3;
366
+ }
367
+ }
368
+
369
+ // OAuth 区域
370
+ .oauth-section {
371
+ margin-top: 0;
372
+
373
+ .oauth-buttons-container{
374
+ display: flex;
375
+ flex-direction: column;
376
+ gap: 12px;
377
+ width: 100%;
378
+
379
+ .pisell-lowcode-btn-icon, .ant-btn-icon {
380
+ margin-right: 0!important;
381
+ }
382
+
383
+ .oauth-icon{
384
+ margin-right: 0!important;
385
+ font-size: 24px;
386
+ }
387
+ }
388
+
389
+ .oauth-button {
390
+ height: 44px;
391
+ border-radius: 8px;
392
+ border: 1px solid #d0d5dd;
393
+ // background: #ffffff;
394
+ box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
395
+ font-size: 16px;
396
+ font-weight: 600;
397
+ color: #344054;
398
+ display: flex;
399
+ align-items: center;
400
+ justify-content: center;
401
+ gap: 12px;
402
+
403
+ .anticon {
404
+ font-size: 24px;
405
+ }
406
+
407
+ &:hover {
408
+ background: #f9fafb;
409
+ border-color: #d0d5dd;
410
+ color: #344054;
411
+ }
412
+
413
+ &.google {
414
+ .anticon {
415
+ color: #db4437;
416
+ }
417
+ }
418
+
419
+ &.facebook {
420
+ .anticon {
421
+ color: #1877f2;
422
+ }
423
+ }
424
+
425
+ &.apple {
426
+ .anticon {
427
+ color: #000000;
428
+ }
429
+ }
430
+
431
+ }
432
+ }
433
+
434
+ // 底部链接
435
+ .login2-footer {
436
+ margin-top: 32px;
437
+ text-align: center;
438
+
439
+ .footer-text {
440
+ font-size: 14px;
441
+ font-weight: 400;
442
+ color: #475467;
443
+ margin: 0;
444
+
445
+ a {
446
+ font-weight: 600;
447
+ color: var(--theme-color, #7f56d9);
448
+ cursor: pointer;
449
+ margin-left: 4px;
450
+
451
+ &:hover {
452
+ color: #6941c6;
453
+ }
454
+ }
455
+ }
456
+ }
457
+ }
458
+
459
+ .register2-container{
460
+ gap: 32px;
461
+ padding-bottom: 0;
462
+ .login-lm-drawer-popover & {
463
+ padding-bottom: 100px;
464
+ }
465
+ }
466
+
467
+ // 错误提示样式优化
468
+ .pisell-lowcode-form-item-explain-error, .ant-form-item-explain-error {
469
+ font-size: 14px;
470
+ color: #f04438;
471
+ margin-top: 0;
472
+ text-align: left;
473
+ margin-bottom: 0;
474
+ }
475
+
476
+ // 修复错误消息切换时的高度闪动问题
477
+ // 方案:通过固定容器高度和绝对定位,避免多条错误消息同时存在导致的高度变化
478
+ // .login2-form {
479
+ // .pisell-lowcode-form-item-explain,
480
+ // .ant-form-item-explain {
481
+ // // 错误消息容器使用固定高度,避免切换时高度闪动
482
+ // &-connected {
483
+ // // 使用最小高度保证单行时不闪动,同时允许根据内容自适应高度
484
+ // min-height: 22px;
485
+ // position: relative;
486
+ // // 平滑过渡
487
+ // transition: min-height 0.2s ease;
488
+ // }
489
+
490
+ // // 单个错误消息项默认参与文档流,隐藏时再脱离布局,避免高度闪动
491
+ // .pisell-lowcode-form-show-help-item,
492
+ // .ant-form-item-explain-error {
493
+ // position: relative;
494
+ // min-height: 22px;
495
+ // line-height: 22px;
496
+
497
+ // // 隐藏状态(淡出中)时不参与布局计算
498
+ // &[style*="opacity: 0"][style*="height: 0px"],
499
+ // &[style*="height: 0px"][style*="opacity: 0"] {
500
+ // position: absolute;
501
+ // top: 0;
502
+ // left: 0;
503
+ // right: 0;
504
+ // pointer-events: none;
505
+ // z-index: 0;
506
+ // }
507
+
508
+ // // 显示状态时在上层
509
+ // &[style*="opacity: 1"],
510
+ // &:not([style*="opacity: 0"]):not([style*="height: 0px"]) {
511
+ // z-index: 1;
512
+ // }
513
+ // }
514
+ // }
515
+
516
+ // // 如果没有错误消息,容器应该可以隐藏(通过 Ant Design 的默认行为)
517
+ // // 但这里我们确保有错误消息时容器高度固定
518
+ // .pisell-lowcode-form-item:not(.pisell-lowcode-form-item-has-error) {
519
+ // .pisell-lowcode-form-item-explain-connected {
520
+ // min-height: 0;
521
+ // }
522
+ // }
523
+ // }
524
+
525
+ // 加载状态优化
526
+ .pisell-lowcode-btn-loading-icon {
527
+ .anticon {
528
+ color: #ffffff !important;
529
+ }
530
+ }
531
+
532
+ // 切换认证方式按钮
533
+ .login2-switch-button {
534
+ margin-top: 0;
535
+ height: 44px;
536
+ border: 1px solid #d0d5dd;
537
+ border-radius: 8px;
538
+ font-size: 16px;
539
+ font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
540
+ sans-serif;
541
+ font-weight: 600;
542
+ color: #344054;
543
+ background: #ffffff;
544
+ box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
545
+ transition: all 0.2s ease;
546
+ display: flex;
547
+ align-items: center;
548
+ justify-content: center;
549
+ gap: 12px;
550
+
551
+ svg {
552
+ flex-shrink: 0;
553
+ }
554
+
555
+ &:hover {
556
+ border-color: #98a2b3;
557
+ background: #f9fafb;
558
+ color: #344054;
559
+ }
560
+
561
+ &:active {
562
+ border-color: #667085;
563
+ background: #f2f4f7;
564
+ color: #344054;
565
+ }
566
+
567
+ &:focus {
568
+ border-color: var(--theme-color, #7f56d9);
569
+ box-shadow: 0px 0px 0px 4px rgba(127, 86, 217, 0.12);
570
+ color: #344054;
571
+ }
572
+ }
573
+
574
+ // 底部文案样式
575
+ .login2-footer-text {
576
+ margin-top: 0;
577
+ text-align: center;
578
+ font-size: 14px;
579
+ font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
580
+ sans-serif;
581
+ font-weight: 400;
582
+ line-height: 20px;
583
+ color: #475467;
584
+
585
+ .login2-link {
586
+ color: var(--theme-color, #7f56d9);
587
+ font-weight: 600;
588
+ cursor: pointer;
589
+ text-decoration: none;
590
+ transition: all 0.2s ease;
591
+
592
+ &:hover {
593
+ opacity: 0.8;
594
+ text-decoration: underline;
595
+ }
596
+
597
+ &:active {
598
+ opacity: 0.6;
599
+ }
600
+ }
601
+ }
602
+
603
+ // ================ 新增样式 ================
604
+
605
+ // 验证码输入组
606
+ .login2-container .verification-code-input-group {
607
+ display: flex;
608
+ gap: 8px;
609
+
610
+ .login2-input {
611
+ flex: 1;
612
+ }
613
+
614
+ .send-code-button {
615
+ height: 44px;
616
+ padding: 10px 16px;
617
+ border-radius: 8px;
618
+ border: 1px solid #d0d5dd;
619
+ background: #ffffff;
620
+ font-size: 14px;
621
+ font-weight: 600;
622
+ color: var(--theme-color, #7f56d9);
623
+ white-space: nowrap;
624
+ box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
625
+
626
+ &:hover:not(:disabled) {
627
+ border-color: var(--theme-color, #7f56d9);
628
+ background: rgba(127, 86, 217, 0.05);
629
+ }
630
+
631
+ &:disabled {
632
+ color: #98a2b3;
633
+ border-color: #eaecf0;
634
+ background: #f9fafb;
635
+ cursor: not-allowed;
636
+ }
637
+ }
638
+ }
639
+
640
+ // 表单底部
641
+ .login2-container .login2-form-footer {
642
+ display: flex;
643
+ justify-content: space-between;
644
+ align-items: center;
645
+
646
+ .login2-link {
647
+ font-size: 14px;
648
+ font-weight: 600;
649
+ color: var(--theme-color, #7f56d9);
650
+ cursor: pointer;
651
+ text-decoration: none;
652
+
653
+ &:hover {
654
+ color: #6941c6;
655
+ text-decoration: underline;
656
+ }
657
+ }
658
+ }
659
+
660
+ // 分隔符
661
+ .login2-container .login2-divider {
662
+ display: flex;
663
+ align-items: center;
664
+ margin: 0;
665
+
666
+ &::before,
667
+ &::after {
668
+ content: '';
669
+ flex: 1;
670
+ height: 1px;
671
+ background: #eaecf0;
672
+ }
673
+
674
+ &::before {
675
+ margin-right: 12px;
676
+ }
677
+
678
+ &::after {
679
+ margin-left: 12px;
680
+ }
681
+
682
+ font-size: 14px;
683
+ font-weight: 500;
684
+ color: #98a2b3;
685
+ }
686
+
687
+ // 切换选项区域
688
+ .login2-container .login2-switch-options {
689
+ display: flex;
690
+ flex-direction: column;
691
+ gap: 12px;
692
+
693
+ .login2-switch-option-button {
694
+ width: 100%;
695
+ height: 44px;
696
+ display: flex;
697
+ align-items: center;
698
+ justify-content: center;
699
+ border: 1px solid #d0d5dd;
700
+ border-radius: 8px;
701
+ background: #ffffff;
702
+ color: #344054;
703
+ font-size: 16px;
704
+ font-weight: 600;
705
+ cursor: pointer;
706
+ transition: all 0.2s ease;
707
+ box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
708
+ padding: 0 16px;
709
+ position: relative; // 为角标定位提供基准
710
+
711
+ .option-icon {
712
+ font-size: 18px;
713
+ flex-shrink: 0;
714
+ margin-right: 12px;
715
+ }
716
+
717
+ // Iconfont 组件样式
718
+ .anticon {
719
+ font-size: 24px;
720
+ flex-shrink: 0;
721
+ margin-right: 12px;
722
+ }
723
+
724
+ .option-text {
725
+ flex-shrink: 0;
726
+ }
727
+
728
+ // 上次登录角标样式
729
+ .last-login-badge {
730
+ position: absolute;
731
+ top: 0px;
732
+ left: 0px;
733
+ color: #B42318;
734
+ background: #FEE4E2;
735
+ border-top-left-radius: 8px;
736
+ border-bottom-right-radius: 8px;
737
+ font-size: 10px;
738
+ font-weight: 500;
739
+ line-height: 1;
740
+ padding: 2px 6px;
741
+ white-space: nowrap;
742
+ z-index: 1;
743
+ box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.1);
744
+ }
745
+
746
+ &:hover {
747
+ border-color: #98a2b3;
748
+ background: #f9fafb;
749
+ }
750
+
751
+ &:active {
752
+ border-color: #667085;
753
+ background: #f2f4f7;
754
+ }
755
+
756
+ &:focus {
757
+ border-color: var(--theme-color, #7f56d9);
758
+ box-shadow: 0px 0px 0px 4px rgba(127, 86, 217, 0.12);
759
+ }
760
+ }
761
+ }
762
+
763
+ // OAuth 按钮
764
+ .login2-container .login2-oauth-button {
765
+ height: 44px;
766
+ border: 1px solid #d0d5dd;
767
+ border-radius: 8px;
768
+ background: #ffffff;
769
+ color: #344054;
770
+ font-size: 16px;
771
+ font-weight: 600;
772
+ display: flex;
773
+ align-items: center;
774
+ justify-content: center;
775
+ gap: 12px;
776
+ box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
777
+ transition: all 0.2s ease;
778
+ position: relative; // 为角标定位提供基准
779
+
780
+ .oauth-icon {
781
+ font-size: 18px;
782
+ font-weight: 700;
783
+ flex-shrink: 0;
784
+ }
785
+
786
+ // Iconfont 组件样式
787
+ .anticon {
788
+ font-size: 24px;
789
+ flex-shrink: 0;
790
+ }
791
+
792
+ // 上次登录角标样式
793
+ .last-login-badge {
794
+ position: absolute;
795
+ top: 0px;
796
+ left: 0px;
797
+ color: #B42318;
798
+ background: #FEE4E2;
799
+ border-top-left-radius: 8px;
800
+ border-bottom-right-radius: 8px;
801
+ font-size: 10px;
802
+ font-weight: 500;
803
+ line-height: 1;
804
+ padding: 2px 6px;
805
+ white-space: nowrap;
806
+ z-index: 1;
807
+ box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.1);
808
+ }
809
+
810
+ &:hover {
811
+ border-color: #98a2b3;
812
+ background: #f9fafb;
813
+ color: #344054;
814
+ }
815
+
816
+ &:active {
817
+ border-color: #667085;
818
+ background: #f2f4f7;
819
+ }
820
+
821
+ &:focus {
822
+ border-color: var(--theme-color, #7f56d9);
823
+ box-shadow: 0px 0px 0px 4px rgba(127, 86, 217, 0.12);
824
+ }
825
+ span {
826
+ margin-left: 0px !important;
827
+ }
828
+ }
829
+
830
+ // 分步骤登录 - 账号显示
831
+ .login2-container .login2-account-display {
832
+ height: 44px;
833
+ padding: 10px 14px;
834
+ border-radius: 8px;
835
+ border: 1px solid #d0d5dd;
836
+ background: #f9fafb;
837
+ font-size: 16px;
838
+ font-weight: 400;
839
+ line-height: 24px;
840
+ color: #344054;
841
+ display: flex;
842
+ align-items: center;
843
+ cursor: default;
844
+ }
845
+
846
+ // Back 按钮
847
+ .login2-container .login2-back-button {
848
+ height: 44px;
849
+ border: 1px solid #d0d5dd;
850
+ border-radius: 8px;
851
+ background: #ffffff;
852
+ color: #344054;
853
+ font-size: 16px;
854
+ font-weight: 600;
855
+ box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
856
+
857
+ &:hover {
858
+ border-color: #98a2b3;
859
+ background: #f9fafb;
860
+ color: #344054;
861
+ }
862
+
863
+ &:active {
864
+ border-color: #667085;
865
+ background: #f2f4f7;
866
+ }
867
+
868
+ &:focus {
869
+ border-color: #d0d5dd;
870
+ box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
871
+ }
872
+ }
873
+
874
+ // PhoneInput 组件样式(无边框,因为组件内部已有边框)
875
+ .login2-phone-input {
876
+ // PhoneInput 组件内部已有完整的边框样式,这里不需要额外样式
877
+ }
878
+
879
+ // PhoneInput 组件的 Form.Item 样式修复
880
+ .phone-input-form-item {
881
+ .ant-form-item-control-input {
882
+ .ant-form-item-control-input-content {
883
+ // 移除 Ant Design 默认的输入框边框,因为 PhoneInput 组件内部已有边框
884
+ .ant-input {
885
+ border: none !important;
886
+ box-shadow: none !important;
887
+
888
+ &:hover,
889
+ &:focus,
890
+ &:focus-within {
891
+ border: none !important;
892
+ box-shadow: none !important;
893
+ }
894
+ }
895
+ }
896
+ }
897
+
898
+ // 邮件链接验证页面样式
899
+ .login2-email-link-verifying,
900
+ .login2-email-link-error {
901
+ display: flex;
902
+ align-items: center;
903
+ justify-content: center;
904
+ min-height: 400px;
905
+
906
+ .verifying-content,
907
+ .error-content {
908
+ text-align: center;
909
+ max-width: 300px;
910
+
911
+ .verifying-icon,
912
+ .error-icon {
913
+ margin-bottom: 24px;
914
+ font-size: 48px;
915
+
916
+ .anticon {
917
+ color: var(--theme-color, #7f56d9);
918
+ }
919
+ }
920
+
921
+ .error-icon .anticon {
922
+ color: #f04438;
923
+ }
924
+
925
+ .verifying-title,
926
+ .error-title {
927
+ font-size: 24px;
928
+ font-weight: 600;
929
+ line-height: 32px;
930
+ color: #101828;
931
+ margin-bottom: 8px;
932
+ }
933
+
934
+ .verifying-desc,
935
+ .error-desc {
936
+ font-size: 16px;
937
+ font-weight: 400;
938
+ line-height: 24px;
939
+ color: #475467;
940
+ margin-bottom: 0;
941
+ }
942
+ }
943
+ }
944
+ }
945
+ .login2-error-main-button {
946
+ margin-top: 32px !important;
947
+ }
948
+
949
+ /* 切换到注册的提示样式 */
950
+ .login2-register-prompt {
951
+ margin-top: 0;
952
+ text-align: center;
953
+ font-size: 14px;
954
+ color: #666;
955
+
956
+ .register-prompt-text {
957
+ margin-right: 4px;
958
+ }
959
+
960
+ .register-prompt-link {
961
+ background: none;
962
+ border: none;
963
+ color: var(--theme-color, #7F56D9);
964
+ cursor: pointer;
965
+ font-size: 14px;
966
+ font-weight: 500;
967
+ text-decoration: none;
968
+ padding: 0;
969
+
970
+ &:hover {
971
+ text-decoration: underline;
972
+ }
973
+
974
+ &:focus {
975
+ outline: none;
976
+ }
977
+ }
978
+ }
979
+
980
+
981
+ .login2-account-show-text-edit {
982
+ font-size: 14px;
983
+ color: #475467;
984
+ display: flex;
985
+ align-items: center;
986
+ justify-content: center;
987
+ .login2-account-show-text-edit-icon {
988
+ margin-left: 10px;
989
+ font-size: 20px;
990
+ cursor: pointer;
991
+ color: #7F56D9;
992
+ }
993
+ }