@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.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +9 -1
- package/build/lowcode/preview.js +144 -144
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +9 -9
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +9 -9
- package/es/components/appointmentBooking/components/Cart/Item/index.js +3 -2
- package/es/components/appointmentBooking/components/ConfirmInformation/index.js +267 -76
- package/es/components/appointmentBooking/components/ConfirmInformation/index.less +15 -0
- package/es/components/appointmentBooking/hooks.js +30 -30
- package/es/components/appointmentBooking/locales.js +9 -6
- package/es/components/booking/components/TabProduct/index.d.ts +1 -0
- package/es/components/booking/components/footer/index.d.ts +1 -0
- package/es/components/booking/components/footer/index.js +4 -1
- package/es/components/booking/components/footer/utils.js +62 -46
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/es/components/booking/forms/table/index.d.ts +1 -0
- package/es/components/booking/info/clientVariant/hooks/useClientFn.js +2 -2
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/clientVariant/vertical/index.js +1 -1
- package/es/components/booking/info/main.js +3 -2
- package/es/components/booking/info/model.js +5 -0
- package/es/components/booking/info/service/like/index.d.ts +1 -0
- package/es/components/booking/info2/index.js +3 -2
- package/es/components/booking/info2/service/contactInfoMode/index.js +93 -0
- package/es/components/booking/locales.js +9 -3
- package/es/components/booking/model.js +3 -0
- package/es/components/eftpos/deviceList/index.d.ts +1 -0
- package/es/components/eftpos/form/index.d.ts +1 -0
- package/es/components/eftpos/group/index.d.ts +1 -0
- package/es/components/eftpos/hooks.d.ts +1 -0
- package/es/components/eftpos/icon/apiKey.d.ts +1 -0
- package/es/components/eftpos/icon/device.d.ts +1 -0
- package/es/components/eftpos/receipt/index.d.ts +1 -0
- package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/es/components/eftposPay/component/step/index.d.ts +1 -0
- package/es/components/eftposPay/component/step/step.d.ts +1 -0
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/store/index.d.ts +1 -1
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/ApplePay/index.js +1 -1
- package/es/components/pay/toC/PaymentMethods/GooglePay/index.js +1 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
- package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/es/index.d.ts +3 -0
- package/es/index.js +4 -1
- package/es/plus/clientName/index.js +18 -0
- package/es/plus/clientName/index.less +10 -0
- package/es/plus/clientName/type.js +1 -0
- package/es/plus/clientName/utils.js +18 -0
- package/es/plus/contactInfo/components/Avatar/index.js +30 -0
- package/es/plus/contactInfo/components/SwipeAction/index.js +360 -0
- package/es/plus/contactInfo/components/SwipeAction/index.less +74 -0
- package/es/plus/contactInfo/index.js +198 -0
- package/es/plus/contactInfo/index.less +621 -0
- package/es/plus/contactInfo/locales.js +14 -0
- package/es/plus/contactInfo/types.js +1 -0
- package/es/plus/contactInfo/utils.js +50 -0
- package/es/plus/contactInfoModal/ContactInfoContent.js +74 -0
- package/es/plus/contactInfoModal/index.js +154 -0
- package/es/plus/contactInfoModal/index.less +19 -0
- package/es/plus/contactInfoModal/locales.js +65 -0
- package/es/pro/Login2.0/AuthModal.d.ts +143 -0
- package/es/pro/Login2.0/AuthModal.js +624 -0
- package/es/pro/Login2.0/Login2.d.ts +61 -0
- package/es/pro/Login2.0/Login2.js +2157 -0
- package/es/pro/Login2.0/Register2.d.ts +65 -0
- package/es/pro/Login2.0/Register2.js +1501 -0
- package/es/pro/Login2.0/components/ForgotPasswordFlow.js +330 -0
- package/es/pro/Login2.0/components/LegalTerms.d.ts +8 -0
- package/es/pro/Login2.0/components/LegalTerms.js +51 -0
- package/es/pro/Login2.0/components/LegalTerms.less +74 -0
- package/es/pro/Login2.0/components/LoginCodeInput.js +207 -0
- package/es/pro/Login2.0/components/OAuthButtonGroup.js +55 -0
- package/es/pro/Login2.0/components/PhoneInput.js +414 -0
- package/es/pro/Login2.0/components/PhoneInput.less +148 -0
- package/es/pro/Login2.0/components/phoneValidation.js +228 -0
- package/es/pro/Login2.0/hooks/index.d.ts +2 -0
- package/es/pro/Login2.0/hooks/index.js +1 -0
- package/es/pro/Login2.0/hooks/usePasswordValidationRules.js +87 -0
- package/es/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
- package/es/pro/Login2.0/hooks/useRegisterFlow.js +158 -0
- package/es/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
- package/es/pro/Login2.0/hooks/useRegistrationMethods.js +31 -0
- package/es/pro/Login2.0/index.js +8 -0
- package/es/pro/Login2.0/index.less +993 -0
- package/es/pro/Login2.0/locales.js +622 -0
- package/es/pro/Login2.0/shared/Header.d.ts +11 -0
- package/es/pro/Login2.0/shared/Header.js +42 -0
- package/es/pro/Login2.0/shared/OAuthButtons.d.ts +11 -0
- package/es/pro/Login2.0/shared/OAuthButtons.js +59 -0
- package/es/pro/Login2.0/shared/registerFlow.js +171 -0
- package/es/pro/Login2.0/shared/types.d.ts +232 -0
- package/es/pro/Login2.0/shared/types.js +1 -0
- package/es/pro/Login2.0/steps/CodeInput.js +209 -0
- package/es/pro/Login2.0/steps/EmailAlreadyRegistered.js +35 -0
- package/es/pro/Login2.0/steps/EmailLinkAlreadyUsed.js +25 -0
- package/es/pro/Login2.0/steps/EmailLinkExpired.js +33 -0
- package/es/pro/Login2.0/steps/SetPassword.js +148 -0
- package/es/pro/Login2.0/steps/VerificationSuccess.js +35 -0
- package/es/pro/Login2.0/steps/VerifyingEmailLink.js +17 -0
- package/es/pro/Login2.0/steps/WaitEmailLink.js +54 -0
- package/es/pro/Login2.0/steps/index.js +11 -0
- package/es/pro/Login2.0/steps/steps.less +423 -0
- package/es/pro/Login2.0/types.js +1 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.js +5 -3
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +151 -13
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.less +15 -0
- package/lib/components/appointmentBooking/hooks.js +73 -35
- package/lib/components/appointmentBooking/locales.js +6 -3
- package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
- package/lib/components/booking/components/footer/index.d.ts +1 -0
- package/lib/components/booking/components/footer/index.js +4 -1
- package/lib/components/booking/components/footer/utils.js +70 -38
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/lib/components/booking/forms/table/index.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.js +1 -1
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/vertical/index.js +34 -17
- package/lib/components/booking/info/main.js +5 -4
- package/lib/components/booking/info/model.js +5 -0
- package/lib/components/booking/info/service/like/index.d.ts +1 -0
- package/lib/components/booking/info2/index.js +5 -4
- package/lib/components/booking/info2/service/contactInfoMode/index.js +104 -0
- package/lib/components/booking/locales.js +9 -3
- package/lib/components/booking/model.js +3 -0
- package/lib/components/eftpos/deviceList/index.d.ts +1 -0
- package/lib/components/eftpos/form/index.d.ts +1 -0
- package/lib/components/eftpos/group/index.d.ts +1 -0
- package/lib/components/eftpos/hooks.d.ts +1 -0
- package/lib/components/eftpos/icon/apiKey.d.ts +1 -0
- package/lib/components/eftpos/icon/device.d.ts +1 -0
- package/lib/components/eftpos/receipt/index.d.ts +1 -0
- package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/lib/components/eftposPay/component/step/index.d.ts +1 -0
- package/lib/components/eftposPay/component/step/step.d.ts +1 -0
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/store/index.d.ts +1 -1
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/ApplePay/index.js +1 -1
- package/lib/components/pay/toC/PaymentMethods/GooglePay/index.js +1 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
- package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +13 -0
- package/lib/plus/clientName/index.js +53 -0
- package/lib/plus/clientName/index.less +10 -0
- package/lib/plus/clientName/type.js +17 -0
- package/lib/plus/clientName/utils.js +43 -0
- package/lib/plus/contactInfo/components/Avatar/index.js +56 -0
- package/lib/plus/contactInfo/components/SwipeAction/index.js +373 -0
- package/lib/plus/contactInfo/components/SwipeAction/index.less +74 -0
- package/lib/plus/contactInfo/index.js +226 -0
- package/lib/plus/contactInfo/index.less +621 -0
- package/lib/plus/contactInfo/locales.js +38 -0
- package/lib/plus/contactInfo/types.js +17 -0
- package/lib/plus/contactInfo/utils.js +64 -0
- package/lib/plus/contactInfoModal/ContactInfoContent.js +129 -0
- package/lib/plus/contactInfoModal/index.js +138 -0
- package/lib/plus/contactInfoModal/index.less +19 -0
- package/lib/plus/contactInfoModal/locales.js +89 -0
- package/lib/pro/Login2.0/AuthModal.d.ts +143 -0
- package/lib/pro/Login2.0/AuthModal.js +498 -0
- package/lib/pro/Login2.0/Login2.d.ts +61 -0
- package/lib/pro/Login2.0/Login2.js +1468 -0
- package/lib/pro/Login2.0/Register2.d.ts +65 -0
- package/lib/pro/Login2.0/Register2.js +1062 -0
- package/lib/pro/Login2.0/components/ForgotPasswordFlow.js +213 -0
- package/lib/pro/Login2.0/components/LegalTerms.d.ts +8 -0
- package/lib/pro/Login2.0/components/LegalTerms.js +76 -0
- package/lib/pro/Login2.0/components/LegalTerms.less +74 -0
- package/lib/pro/Login2.0/components/LoginCodeInput.js +161 -0
- package/lib/pro/Login2.0/components/OAuthButtonGroup.js +87 -0
- package/lib/pro/Login2.0/components/PhoneInput.js +263 -0
- package/lib/pro/Login2.0/components/PhoneInput.less +148 -0
- package/lib/pro/Login2.0/components/phoneValidation.js +153 -0
- package/lib/pro/Login2.0/hooks/index.d.ts +2 -0
- package/lib/pro/Login2.0/hooks/index.js +29 -0
- package/lib/pro/Login2.0/hooks/usePasswordValidationRules.js +140 -0
- package/lib/pro/Login2.0/hooks/useRegisterFlow.d.ts +39 -0
- package/lib/pro/Login2.0/hooks/useRegisterFlow.js +149 -0
- package/lib/pro/Login2.0/hooks/useRegistrationMethods.d.ts +9 -0
- package/lib/pro/Login2.0/hooks/useRegistrationMethods.js +51 -0
- package/lib/pro/Login2.0/index.js +45 -0
- package/lib/pro/Login2.0/index.less +993 -0
- package/lib/pro/Login2.0/locales.js +646 -0
- package/lib/pro/Login2.0/shared/Header.d.ts +11 -0
- package/lib/pro/Login2.0/shared/Header.js +81 -0
- package/lib/pro/Login2.0/shared/OAuthButtons.d.ts +11 -0
- package/lib/pro/Login2.0/shared/OAuthButtons.js +78 -0
- package/lib/pro/Login2.0/shared/registerFlow.js +235 -0
- package/lib/pro/Login2.0/shared/types.d.ts +232 -0
- package/lib/pro/Login2.0/shared/types.js +17 -0
- package/lib/pro/Login2.0/steps/CodeInput.js +160 -0
- package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.js +46 -0
- package/lib/pro/Login2.0/steps/EmailLinkAlreadyUsed.js +51 -0
- package/lib/pro/Login2.0/steps/EmailLinkExpired.js +51 -0
- package/lib/pro/Login2.0/steps/SetPassword.js +131 -0
- package/lib/pro/Login2.0/steps/VerificationSuccess.js +49 -0
- package/lib/pro/Login2.0/steps/VerifyingEmailLink.js +41 -0
- package/lib/pro/Login2.0/steps/WaitEmailLink.js +67 -0
- package/lib/pro/Login2.0/steps/index.js +60 -0
- package/lib/pro/Login2.0/steps/steps.less +423 -0
- package/lib/pro/Login2.0/types.js +17 -0
- package/lowcode/authmodal/meta.ts +395 -0
- package/lowcode/contact-info/fragments/cardStyle.ts +68 -0
- package/lowcode/contact-info/fragments/nameStyle.ts +33 -0
- package/lowcode/contact-info/fragments/pisellAvatar.ts +103 -0
- package/lowcode/contact-info/fragments/textStyle.ts +33 -0
- package/lowcode/contact-info/meta.ts +199 -0
- package/lowcode/contact-info-modal/meta.ts +98 -0
- package/lowcode/login2/CONFIG.md +447 -0
- package/lowcode/login2/TEST_CONFIG.md +324 -0
- package/lowcode/login2/VERIFICATION_METHODS.md +364 -0
- package/lowcode/login2/meta.ts +560 -0
- package/lowcode/login2/snippets.ts +124 -0
- package/lowcode/register2/meta.ts +562 -0
- package/lowcode/register2/snippets.ts +257 -0
- package/package.json +7 -5
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -3
- package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/es/components/appointmentBooking/hooks.d.ts +0 -106
- package/es/components/appointmentBooking/locales.d.ts +0 -360
- package/es/components/booking/components/footer/utils.d.ts +0 -41
- package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -8
- package/es/components/booking/components/voucher/index.d.ts +0 -3
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -43
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/es/components/booking/info/main.d.ts +0 -12
- package/es/components/booking/info/model.d.ts +0 -14
- package/es/components/booking/info/service/editService/constants.d.ts +0 -1
- package/es/components/booking/info/service/editService/index.d.ts +0 -7
- package/es/components/booking/info2/index.d.ts +0 -12
- package/es/components/booking/info2/service/addService/index.d.ts +0 -11
- package/es/components/booking/locales.d.ts +0 -837
- package/es/components/booking/model.d.ts +0 -116
- package/es/components/eftposPay/component/fail/index.d.ts +0 -3
- package/es/components/index.d.ts +0 -22
- package/es/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +0 -9
- package/es/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/es/components/ruleSetting/locales.d.ts +0 -48
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -12
- package/es/components/ticketBooking/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/index.d.ts +0 -47
- package/es/plus/productSelect/index.d.ts +0 -32
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -3
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Services/index.d.ts +0 -4
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -3
- package/lib/components/appointmentBooking/hooks.d.ts +0 -106
- package/lib/components/appointmentBooking/locales.d.ts +0 -360
- package/lib/components/booking/components/footer/utils.d.ts +0 -41
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -8
- package/lib/components/booking/components/voucher/index.d.ts +0 -3
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -43
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +0 -8
- package/lib/components/booking/info/main.d.ts +0 -12
- package/lib/components/booking/info/model.d.ts +0 -14
- package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
- package/lib/components/booking/info/service/editService/index.d.ts +0 -7
- package/lib/components/booking/info2/index.d.ts +0 -12
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -11
- package/lib/components/booking/locales.d.ts +0 -837
- package/lib/components/booking/model.d.ts +0 -116
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -3
- package/lib/components/index.d.ts +0 -22
- package/lib/components/pay/toC/PaymentMethods/ApplePay/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/GooglePay/index.d.ts +0 -9
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/lib/components/ruleSetting/locales.d.ts +0 -48
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -9
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -4
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -12
- package/lib/components/ticketBooking/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/index.d.ts +0 -47
- package/lib/plus/productSelect/index.d.ts +0 -32
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/pro/Login2.0/steps/index.ts
|
|
30
|
+
var steps_exports = {};
|
|
31
|
+
__export(steps_exports, {
|
|
32
|
+
CodeInput: () => import_CodeInput.default,
|
|
33
|
+
EmailAlreadyRegistered: () => import_EmailAlreadyRegistered.default,
|
|
34
|
+
EmailLinkAlreadyUsed: () => import_EmailLinkAlreadyUsed.default,
|
|
35
|
+
EmailLinkExpired: () => import_EmailLinkExpired.default,
|
|
36
|
+
SetPassword: () => import_SetPassword.default,
|
|
37
|
+
VerificationSuccess: () => import_VerificationSuccess.default,
|
|
38
|
+
VerifyingEmailLink: () => import_VerifyingEmailLink.default,
|
|
39
|
+
WaitEmailLink: () => import_WaitEmailLink.default
|
|
40
|
+
});
|
|
41
|
+
module.exports = __toCommonJS(steps_exports);
|
|
42
|
+
var import_WaitEmailLink = __toESM(require("./WaitEmailLink"));
|
|
43
|
+
var import_EmailAlreadyRegistered = __toESM(require("./EmailAlreadyRegistered"));
|
|
44
|
+
var import_CodeInput = __toESM(require("./CodeInput"));
|
|
45
|
+
var import_VerificationSuccess = __toESM(require("./VerificationSuccess"));
|
|
46
|
+
var import_SetPassword = __toESM(require("./SetPassword"));
|
|
47
|
+
var import_VerifyingEmailLink = __toESM(require("./VerifyingEmailLink"));
|
|
48
|
+
var import_EmailLinkExpired = __toESM(require("./EmailLinkExpired"));
|
|
49
|
+
var import_EmailLinkAlreadyUsed = __toESM(require("./EmailLinkAlreadyUsed"));
|
|
50
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
51
|
+
0 && (module.exports = {
|
|
52
|
+
CodeInput,
|
|
53
|
+
EmailAlreadyRegistered,
|
|
54
|
+
EmailLinkAlreadyUsed,
|
|
55
|
+
EmailLinkExpired,
|
|
56
|
+
SetPassword,
|
|
57
|
+
VerificationSuccess,
|
|
58
|
+
VerifyingEmailLink,
|
|
59
|
+
WaitEmailLink
|
|
60
|
+
});
|
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 注册步骤组件样式
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
.register-step-container {
|
|
6
|
+
width: 100%;
|
|
7
|
+
min-height: 400px;
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
padding: 40px 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* 左上角返回按钮 */
|
|
15
|
+
.back-button-top {
|
|
16
|
+
position: absolute;
|
|
17
|
+
top: 2px;
|
|
18
|
+
left: 2px;
|
|
19
|
+
width: 40px;
|
|
20
|
+
height: 40px;
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
justify-content: center;
|
|
24
|
+
background: transparent;
|
|
25
|
+
border: none;
|
|
26
|
+
cursor: pointer;
|
|
27
|
+
color: #344054;
|
|
28
|
+
transition: all 0.2s ease;
|
|
29
|
+
padding: 0;
|
|
30
|
+
.login-lm-drawer-popover & {
|
|
31
|
+
position: fixed;
|
|
32
|
+
top: 12px;
|
|
33
|
+
left: 12px;
|
|
34
|
+
}
|
|
35
|
+
.ant-modal-body & {
|
|
36
|
+
position: absolute;
|
|
37
|
+
left: -55px;
|
|
38
|
+
top: -14px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:hover {
|
|
42
|
+
color: #101828;
|
|
43
|
+
background: #F9FAFB;
|
|
44
|
+
border-radius: 8px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&:active {
|
|
48
|
+
color: #101828;
|
|
49
|
+
background: #F2F4F7;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.anticon {
|
|
53
|
+
font-size: 24px;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.register-step-content {
|
|
58
|
+
width: 100%;
|
|
59
|
+
text-align: center;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.register-step-title {
|
|
63
|
+
margin: 0 0 8px 0;
|
|
64
|
+
font-size: 16px;
|
|
65
|
+
font-weight: 600;
|
|
66
|
+
line-height: 32px;
|
|
67
|
+
color: #101828;
|
|
68
|
+
text-align: center;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.register-step-desc {
|
|
72
|
+
margin: 0 0 24px 0;
|
|
73
|
+
font-size: 14px;
|
|
74
|
+
font-weight: 400;
|
|
75
|
+
line-height: 24px;
|
|
76
|
+
color: #475467;
|
|
77
|
+
text-align: center;
|
|
78
|
+
}
|
|
79
|
+
.register-step-title-verify-email {
|
|
80
|
+
margin: 0 0 8px 0;
|
|
81
|
+
font-size: 16px;
|
|
82
|
+
font-weight: 600;
|
|
83
|
+
color: #101828;
|
|
84
|
+
text-align: center;
|
|
85
|
+
}
|
|
86
|
+
.register-step-desc-verify-email {
|
|
87
|
+
margin: 0 0 8px 0;
|
|
88
|
+
font-size: 14px;
|
|
89
|
+
font-weight: 400;
|
|
90
|
+
color: #475467;
|
|
91
|
+
text-align: center;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* 重发区域 */
|
|
95
|
+
.register-resend-section {
|
|
96
|
+
margin-top: 24px;
|
|
97
|
+
text-align: center;
|
|
98
|
+
font-size: 14px;
|
|
99
|
+
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
100
|
+
line-height: 20px;
|
|
101
|
+
|
|
102
|
+
.resend-text {
|
|
103
|
+
color: #475467;
|
|
104
|
+
font-weight: 400;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.resend-link {
|
|
108
|
+
color: var(--theme-color, #7F56D9);
|
|
109
|
+
font-weight: 600;
|
|
110
|
+
background: transparent;
|
|
111
|
+
border: none;
|
|
112
|
+
cursor: pointer;
|
|
113
|
+
padding: 0;
|
|
114
|
+
text-decoration: none;
|
|
115
|
+
transition: all 0.2s ease;
|
|
116
|
+
|
|
117
|
+
&:hover:not(:disabled) {
|
|
118
|
+
opacity: 0.8;
|
|
119
|
+
text-decoration: underline;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&:active:not(:disabled) {
|
|
123
|
+
opacity: 0.6;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&:disabled {
|
|
127
|
+
opacity: 0.4;
|
|
128
|
+
cursor: not-allowed;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/* 登录提示 */
|
|
134
|
+
.register-login-prompt {
|
|
135
|
+
margin-top: 32px;
|
|
136
|
+
text-align: center;
|
|
137
|
+
font-size: 14px;
|
|
138
|
+
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
139
|
+
line-height: 20px;
|
|
140
|
+
|
|
141
|
+
.prompt-text {
|
|
142
|
+
color: #475467;
|
|
143
|
+
font-weight: 400;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.login-link {
|
|
147
|
+
color: var(--theme-color, #7F56D9);
|
|
148
|
+
font-weight: 600;
|
|
149
|
+
background: transparent;
|
|
150
|
+
border: none;
|
|
151
|
+
cursor: pointer;
|
|
152
|
+
padding: 0;
|
|
153
|
+
text-decoration: none;
|
|
154
|
+
transition: all 0.2s ease;
|
|
155
|
+
|
|
156
|
+
&:hover {
|
|
157
|
+
opacity: 0.8;
|
|
158
|
+
text-decoration: underline;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&:active {
|
|
162
|
+
opacity: 0.6;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/* 邮箱已注册提示消息 */
|
|
168
|
+
.email-already-registered-message {
|
|
169
|
+
margin: 0 0 32px 0;
|
|
170
|
+
font-size: 16px;
|
|
171
|
+
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
172
|
+
font-weight: 600;
|
|
173
|
+
line-height: 24px;
|
|
174
|
+
color: #101828;
|
|
175
|
+
text-align: center;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/* 验证码输入 */
|
|
179
|
+
.code-input-group {
|
|
180
|
+
display: flex;
|
|
181
|
+
gap: 12px;
|
|
182
|
+
justify-content: center;
|
|
183
|
+
margin: 24px 0 24px 0;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.code-input-box {
|
|
187
|
+
width: 80px;
|
|
188
|
+
height: 80px;
|
|
189
|
+
font-size: 40px;
|
|
190
|
+
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
191
|
+
font-weight: 600;
|
|
192
|
+
text-align: center;
|
|
193
|
+
color: var(--theme-color, #7F56D9);
|
|
194
|
+
background: #FFFFFF;
|
|
195
|
+
border: 2px solid #D0D5DD;
|
|
196
|
+
border-radius: 8px;
|
|
197
|
+
outline: none;
|
|
198
|
+
transition: all 0.2s ease;
|
|
199
|
+
|
|
200
|
+
&:focus {
|
|
201
|
+
border-color: var(--theme-color, #7F56D9);
|
|
202
|
+
box-shadow: 0px 0px 0px 4px rgba(127, 86, 217, 0.12);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
&.has-value {
|
|
206
|
+
border-color: var(--theme-color, #7F56D9);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
&.has-error {
|
|
210
|
+
border-color: #ff4d4f;
|
|
211
|
+
box-shadow: 0px 0px 0px 4px rgba(255, 77, 79, 0.12);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
&:disabled {
|
|
215
|
+
background: #F9FAFB;
|
|
216
|
+
cursor: not-allowed;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.code-input-error {
|
|
221
|
+
color: #ff4d4f;
|
|
222
|
+
font-size: 14px;
|
|
223
|
+
margin-top: -20px;
|
|
224
|
+
margin-bottom: 24px;
|
|
225
|
+
text-align: left;
|
|
226
|
+
line-height: 22px;
|
|
227
|
+
min-height: 22px;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
/* 按钮样式 */
|
|
231
|
+
.register-submit-btn {
|
|
232
|
+
height: 44px;
|
|
233
|
+
margin-bottom: 12px;
|
|
234
|
+
border-radius: 8px;
|
|
235
|
+
font-size: 16px;
|
|
236
|
+
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
237
|
+
font-weight: 600;
|
|
238
|
+
background: var(--theme-color, #7F56D9);
|
|
239
|
+
border-color: var(--theme-color, #7F56D9);
|
|
240
|
+
|
|
241
|
+
&:hover:not(:disabled) {
|
|
242
|
+
background: var(--theme-color-hover, #6941C6);
|
|
243
|
+
border-color: var(--theme-color-hover, #6941C6);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
&:active:not(:disabled) {
|
|
247
|
+
background: var(--theme-color-active, #53389E);
|
|
248
|
+
border-color: var(--theme-color-active, #53389E);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.register-back-btn {
|
|
253
|
+
height: 44px;
|
|
254
|
+
border-radius: 8px;
|
|
255
|
+
font-size: 16px;
|
|
256
|
+
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
257
|
+
font-weight: 600;
|
|
258
|
+
color: #344054;
|
|
259
|
+
border: 1px solid #D0D5DD;
|
|
260
|
+
background: #FFFFFF;
|
|
261
|
+
|
|
262
|
+
&:hover {
|
|
263
|
+
border-color: #98A2B3;
|
|
264
|
+
background: #F9FAFB;
|
|
265
|
+
color: #344054;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
&:active {
|
|
269
|
+
border-color: #667085;
|
|
270
|
+
background: #F2F4F7;
|
|
271
|
+
color: #344054;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/* 成功图标 */
|
|
276
|
+
.success-icon-wrapper {
|
|
277
|
+
margin: 0 auto 24px auto;
|
|
278
|
+
display: flex;
|
|
279
|
+
align-items: center;
|
|
280
|
+
justify-content: center;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/* 密码设置表单 */
|
|
284
|
+
.password-set-form {
|
|
285
|
+
margin-top: 32px;
|
|
286
|
+
|
|
287
|
+
.password-input {
|
|
288
|
+
height: 44px;
|
|
289
|
+
border-radius: 8px;
|
|
290
|
+
font-size: 16px;
|
|
291
|
+
|
|
292
|
+
input {
|
|
293
|
+
font-size: 16px;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.ant-input-password-icon {
|
|
297
|
+
color: #667085;
|
|
298
|
+
font-size: 20px;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.ant-form-item {
|
|
303
|
+
margin-bottom: 16px;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.ant-form-item-explain-error {
|
|
307
|
+
font-size: 14px;
|
|
308
|
+
line-height: 20px;
|
|
309
|
+
text-align: left;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
/* 邮箱显示区域 */
|
|
314
|
+
.register-email-display {
|
|
315
|
+
display: flex;
|
|
316
|
+
align-items: center;
|
|
317
|
+
justify-content: center;
|
|
318
|
+
gap: 10px;
|
|
319
|
+
margin: 0 0 32px 0;
|
|
320
|
+
|
|
321
|
+
.email-text {
|
|
322
|
+
line-height: 24px;
|
|
323
|
+
color: #475467;
|
|
324
|
+
font-size: 14px;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.edit-email-btn {
|
|
328
|
+
display: flex;
|
|
329
|
+
align-items: center;
|
|
330
|
+
justify-content: center;
|
|
331
|
+
background: transparent;
|
|
332
|
+
border: none;
|
|
333
|
+
cursor: pointer;
|
|
334
|
+
padding: 0;
|
|
335
|
+
border-radius: 4px;
|
|
336
|
+
transition: all 0.2s ease;
|
|
337
|
+
|
|
338
|
+
&:hover {
|
|
339
|
+
background: #F9FAFB;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
&:active {
|
|
343
|
+
background: #F2F4F7;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
/* 邮件链接验证页面 */
|
|
349
|
+
.verifying-email-link-page {
|
|
350
|
+
.register-step-content {
|
|
351
|
+
display: flex;
|
|
352
|
+
flex-direction: column;
|
|
353
|
+
align-items: center;
|
|
354
|
+
justify-content: center;
|
|
355
|
+
min-height: 400px;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.verifying-text {
|
|
359
|
+
margin-top: 24px;
|
|
360
|
+
font-size: 16px;
|
|
361
|
+
font-weight: 600;
|
|
362
|
+
line-height: 24px;
|
|
363
|
+
color: #101828;
|
|
364
|
+
text-align: center;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
/* 邮件链接结果页面(过期、已使用) */
|
|
369
|
+
.email-link-expired-page,
|
|
370
|
+
.email-link-already-used-page {
|
|
371
|
+
.email-link-result-title {
|
|
372
|
+
margin: 0 0 12px 0;
|
|
373
|
+
font-size: 16px;
|
|
374
|
+
font-weight: 600;
|
|
375
|
+
line-height: 24px;
|
|
376
|
+
color: #101828;
|
|
377
|
+
text-align: center;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.email-link-result-desc {
|
|
381
|
+
margin: 0 0 32px 0;
|
|
382
|
+
font-size: 14px;
|
|
383
|
+
font-weight: 400;
|
|
384
|
+
line-height: 24px;
|
|
385
|
+
color: #475467;
|
|
386
|
+
text-align: center;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.register-footer-prompt {
|
|
390
|
+
margin-top: 32px;
|
|
391
|
+
text-align: center;
|
|
392
|
+
font-size: 14px;
|
|
393
|
+
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
394
|
+
font-weight: 400;
|
|
395
|
+
line-height: 20px;
|
|
396
|
+
color: #475467;
|
|
397
|
+
|
|
398
|
+
.prompt-text {
|
|
399
|
+
color: #475467;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.prompt-link {
|
|
403
|
+
color: var(--theme-color, #7F56D9);
|
|
404
|
+
font-weight: 600;
|
|
405
|
+
cursor: pointer;
|
|
406
|
+
background: transparent;
|
|
407
|
+
border: none;
|
|
408
|
+
padding: 0;
|
|
409
|
+
text-decoration: none;
|
|
410
|
+
transition: all 0.2s ease;
|
|
411
|
+
|
|
412
|
+
&:hover {
|
|
413
|
+
opacity: 0.8;
|
|
414
|
+
text-decoration: underline;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
&:active {
|
|
418
|
+
opacity: 0.6;
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
for (let key of __getOwnPropNames(from))
|
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
+
}
|
|
11
|
+
return to;
|
|
12
|
+
};
|
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
14
|
+
|
|
15
|
+
// src/pro/Login2.0/types.ts
|
|
16
|
+
var types_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(types_exports);
|