@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,257 @@
|
|
|
1
|
+
import { IPublicTypeSnippet } from '@alilc/lowcode-types';
|
|
2
|
+
|
|
3
|
+
const snippets: IPublicTypeSnippet[] = [
|
|
4
|
+
{
|
|
5
|
+
title: '注册 2.0',
|
|
6
|
+
screenshot: '',
|
|
7
|
+
schema: {
|
|
8
|
+
componentName: 'Register2',
|
|
9
|
+
props: {
|
|
10
|
+
config: {
|
|
11
|
+
registrationMethods: [
|
|
12
|
+
{
|
|
13
|
+
type: 'email',
|
|
14
|
+
verificationMethod: 'verification_code',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
type: 'phone',
|
|
18
|
+
verificationMethod: 'verification_code',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
type: 'google',
|
|
22
|
+
clientId: 'your-google-client-id',
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
type: 'facebook',
|
|
26
|
+
appId: 'your-facebook-app-id',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
type: 'apple',
|
|
30
|
+
clientId: 'your-apple-client-id',
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
ui: {
|
|
34
|
+
title: {
|
|
35
|
+
show: true,
|
|
36
|
+
text: 'Create an account',
|
|
37
|
+
align: 'center',
|
|
38
|
+
},
|
|
39
|
+
subtitle: {
|
|
40
|
+
show: true,
|
|
41
|
+
text: 'Sign up to get started',
|
|
42
|
+
align: 'center',
|
|
43
|
+
},
|
|
44
|
+
desc: {
|
|
45
|
+
show: true,
|
|
46
|
+
text: 'Welcome! Please enter your details.',
|
|
47
|
+
align: 'center',
|
|
48
|
+
},
|
|
49
|
+
themeColor: '#7F56D9',
|
|
50
|
+
},
|
|
51
|
+
legalTerms: {
|
|
52
|
+
enabled: true,
|
|
53
|
+
terms: [
|
|
54
|
+
{
|
|
55
|
+
name: '服务条款',
|
|
56
|
+
url: 'https://example.com/terms',
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
name: '隐私协议',
|
|
60
|
+
url: 'https://example.com/privacy',
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
textTemplate: '注册即代表同意 {terms}',
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
visible: true,
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
title: '注册 2.0(仅邮箱)',
|
|
72
|
+
screenshot: '',
|
|
73
|
+
schema: {
|
|
74
|
+
componentName: 'Register2',
|
|
75
|
+
props: {
|
|
76
|
+
config: {
|
|
77
|
+
registrationMethods: [
|
|
78
|
+
{
|
|
79
|
+
type: 'email',
|
|
80
|
+
verificationMethod: 'verification_code',
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
ui: {
|
|
84
|
+
title: {
|
|
85
|
+
show: true,
|
|
86
|
+
text: 'Create an account',
|
|
87
|
+
align: 'center',
|
|
88
|
+
},
|
|
89
|
+
subtitle: {
|
|
90
|
+
show: true,
|
|
91
|
+
text: 'Sign up with your email',
|
|
92
|
+
align: 'center',
|
|
93
|
+
},
|
|
94
|
+
themeColor: '#7F56D9',
|
|
95
|
+
},
|
|
96
|
+
legalTerms: {
|
|
97
|
+
enabled: true,
|
|
98
|
+
terms: [
|
|
99
|
+
{
|
|
100
|
+
name: '服务条款',
|
|
101
|
+
url: 'https://example.com/terms',
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
name: '隐私协议',
|
|
105
|
+
url: 'https://example.com/privacy',
|
|
106
|
+
},
|
|
107
|
+
],
|
|
108
|
+
textTemplate: '注册即代表同意 {terms}',
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
visible: true,
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
title: '注册 2.0(仅手机)',
|
|
117
|
+
screenshot: '',
|
|
118
|
+
schema: {
|
|
119
|
+
componentName: 'Register2',
|
|
120
|
+
props: {
|
|
121
|
+
config: {
|
|
122
|
+
registrationMethods: [
|
|
123
|
+
{
|
|
124
|
+
type: 'phone',
|
|
125
|
+
verificationMethod: 'verification_code',
|
|
126
|
+
},
|
|
127
|
+
],
|
|
128
|
+
ui: {
|
|
129
|
+
title: {
|
|
130
|
+
show: true,
|
|
131
|
+
text: 'Create an account',
|
|
132
|
+
align: 'center',
|
|
133
|
+
},
|
|
134
|
+
subtitle: {
|
|
135
|
+
show: true,
|
|
136
|
+
text: 'Sign up with your phone',
|
|
137
|
+
align: 'center',
|
|
138
|
+
},
|
|
139
|
+
themeColor: '#7F56D9',
|
|
140
|
+
},
|
|
141
|
+
legalTerms: {
|
|
142
|
+
enabled: true,
|
|
143
|
+
terms: [
|
|
144
|
+
{
|
|
145
|
+
name: '服务条款',
|
|
146
|
+
url: 'https://example.com/terms',
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
name: '隐私协议',
|
|
150
|
+
url: 'https://example.com/privacy',
|
|
151
|
+
},
|
|
152
|
+
],
|
|
153
|
+
textTemplate: '注册即代表同意 {terms}',
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
visible: true,
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
title: '注册 2.0(邮箱链接验证)',
|
|
162
|
+
screenshot: '',
|
|
163
|
+
schema: {
|
|
164
|
+
componentName: 'Register2',
|
|
165
|
+
props: {
|
|
166
|
+
config: {
|
|
167
|
+
registrationMethods: [
|
|
168
|
+
{
|
|
169
|
+
type: 'email',
|
|
170
|
+
verificationMethod: 'verification_link',
|
|
171
|
+
},
|
|
172
|
+
],
|
|
173
|
+
ui: {
|
|
174
|
+
title: {
|
|
175
|
+
show: true,
|
|
176
|
+
text: 'Create an account',
|
|
177
|
+
align: 'center',
|
|
178
|
+
},
|
|
179
|
+
subtitle: {
|
|
180
|
+
show: true,
|
|
181
|
+
text: 'Sign up with email link verification',
|
|
182
|
+
align: 'center',
|
|
183
|
+
},
|
|
184
|
+
themeColor: '#7F56D9',
|
|
185
|
+
},
|
|
186
|
+
legalTerms: {
|
|
187
|
+
enabled: true,
|
|
188
|
+
terms: [
|
|
189
|
+
{
|
|
190
|
+
name: '服务条款',
|
|
191
|
+
url: 'https://example.com/terms',
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
name: '隐私协议',
|
|
195
|
+
url: 'https://example.com/privacy',
|
|
196
|
+
},
|
|
197
|
+
],
|
|
198
|
+
textTemplate: '注册即代表同意 {terms}',
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
|
+
visible: true,
|
|
202
|
+
},
|
|
203
|
+
},
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
title: '注册 2.0(无需验证)',
|
|
207
|
+
screenshot: '',
|
|
208
|
+
schema: {
|
|
209
|
+
componentName: 'Register2',
|
|
210
|
+
props: {
|
|
211
|
+
config: {
|
|
212
|
+
registrationMethods: [
|
|
213
|
+
{
|
|
214
|
+
type: 'email',
|
|
215
|
+
verificationMethod: 'none',
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
type: 'phone',
|
|
219
|
+
verificationMethod: 'verification_code',
|
|
220
|
+
},
|
|
221
|
+
],
|
|
222
|
+
ui: {
|
|
223
|
+
title: {
|
|
224
|
+
show: true,
|
|
225
|
+
text: 'Create an account',
|
|
226
|
+
align: 'center',
|
|
227
|
+
},
|
|
228
|
+
subtitle: {
|
|
229
|
+
show: true,
|
|
230
|
+
text: 'Quick sign up',
|
|
231
|
+
align: 'center',
|
|
232
|
+
},
|
|
233
|
+
themeColor: '#7F56D9',
|
|
234
|
+
},
|
|
235
|
+
legalTerms: {
|
|
236
|
+
enabled: true,
|
|
237
|
+
terms: [
|
|
238
|
+
{
|
|
239
|
+
name: '服务条款',
|
|
240
|
+
url: 'https://example.com/terms',
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
name: '隐私协议',
|
|
244
|
+
url: 'https://example.com/privacy',
|
|
245
|
+
},
|
|
246
|
+
],
|
|
247
|
+
textTemplate: '注册即代表同意 {terms}',
|
|
248
|
+
},
|
|
249
|
+
},
|
|
250
|
+
visible: true,
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
];
|
|
255
|
+
|
|
256
|
+
export default snippets;
|
|
257
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.31",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"dist"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"antd": "^5.
|
|
48
|
+
"antd": "^5.10.1",
|
|
49
49
|
"@ant-design/icons": "^5.6.1",
|
|
50
50
|
"dayjs": "^1.11.9",
|
|
51
51
|
"classnames": "^2.3.2",
|
|
@@ -59,10 +59,12 @@
|
|
|
59
59
|
"react-infinite-scroll-component": "^6.1.0",
|
|
60
60
|
"rc-virtual-list": "^3.11.3",
|
|
61
61
|
"decimal.js": "^10.4.3",
|
|
62
|
-
"@
|
|
62
|
+
"@react-spring/web": "^9.6.1",
|
|
63
|
+
"@use-gesture/react": "^10.3.1",
|
|
63
64
|
"@pisell/utils": "3.0.1",
|
|
64
|
-
"@pisell/
|
|
65
|
-
"@pisell/date-picker": "3.0.4"
|
|
65
|
+
"@pisell/materials": "6.3.8",
|
|
66
|
+
"@pisell/date-picker": "3.0.4",
|
|
67
|
+
"@pisell/icon": "0.0.11"
|
|
66
68
|
},
|
|
67
69
|
"peerDependencies": {
|
|
68
70
|
"react": "^18.0.0",
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
export declare const useAppointmentBooking: () => any;
|
|
2
|
-
export declare const useShopDiscount: () => any;
|
|
3
|
-
export declare const contextUtils: () => any;
|
|
4
|
-
/**
|
|
5
|
-
* @title: 监听步骤发生变化
|
|
6
|
-
* @description:
|
|
7
|
-
* @return {*}
|
|
8
|
-
* @Author: WangHan
|
|
9
|
-
* @Date: 2025-04-15 11:11
|
|
10
|
-
*/
|
|
11
|
-
export declare const useAppointmentBookingStep: () => {
|
|
12
|
-
getStepIndex: (type: string, skipNumber?: number) => any;
|
|
13
|
-
stepList: any;
|
|
14
|
-
removeStep: (key: string) => any;
|
|
15
|
-
addStep: (props: any, stepKey?: string) => any;
|
|
16
|
-
updateStep: (key: string, step: any) => void;
|
|
17
|
-
nextStep: () => any;
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* @title: 获取商品数据
|
|
21
|
-
* @description:
|
|
22
|
-
* @return {*}
|
|
23
|
-
* @Author: WangHan
|
|
24
|
-
* @Date: 2025-04-15 11:12
|
|
25
|
-
*/
|
|
26
|
-
export declare const useAppointmentBookingProduct: () => {
|
|
27
|
-
checkProductType: (productId: number) => Promise<any>;
|
|
28
|
-
getProducts: () => Promise<any>;
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* @title: 更新购物车数据
|
|
32
|
-
* @description:
|
|
33
|
-
* @return {*}
|
|
34
|
-
* @Author: WangHan
|
|
35
|
-
* @Date: 2025-04-15 11:12
|
|
36
|
-
*/
|
|
37
|
-
export declare const useAppointmentBookingCart: () => void;
|
|
38
|
-
/**
|
|
39
|
-
* @title: 获取登录状态
|
|
40
|
-
* @description:
|
|
41
|
-
* @return {*}
|
|
42
|
-
* @Author: WangHan
|
|
43
|
-
* @Date: 2025-04-15 11:14
|
|
44
|
-
*/
|
|
45
|
-
export declare const useAppointmentBookingLogin: () => {
|
|
46
|
-
isLogin: boolean;
|
|
47
|
-
openLoginModal: (params: {
|
|
48
|
-
callback: any;
|
|
49
|
-
}) => void;
|
|
50
|
-
};
|
|
51
|
-
/**
|
|
52
|
-
* @title: 获取账户
|
|
53
|
-
* @description:
|
|
54
|
-
* @return {*}
|
|
55
|
-
* @Author: WangHan
|
|
56
|
-
* @Date: 2025-04-15 11:15
|
|
57
|
-
*/
|
|
58
|
-
export declare const useAppointmentBookingAccount: () => {
|
|
59
|
-
accountLists: any;
|
|
60
|
-
getHolders: () => Promise<any>;
|
|
61
|
-
form_id: any;
|
|
62
|
-
addAccount: (val: any, type?: string) => Promise<any>;
|
|
63
|
-
checkAccount: (type: any) => any;
|
|
64
|
-
};
|
|
65
|
-
/**
|
|
66
|
-
* @title: 获取资源数据
|
|
67
|
-
* @description:
|
|
68
|
-
* @return {*}
|
|
69
|
-
* @Author: WangHan
|
|
70
|
-
* @Date: 2025-04-15 11:29
|
|
71
|
-
*/
|
|
72
|
-
export declare const useAppointmentBookingResource: () => {
|
|
73
|
-
getResourceTimeSlot: (index?: number) => Promise<void>;
|
|
74
|
-
getResourceList: () => {
|
|
75
|
-
resources: any;
|
|
76
|
-
resourceCodes: any;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
/**
|
|
80
|
-
* @title: 是否跳过资源选择步骤
|
|
81
|
-
* @description:
|
|
82
|
-
* @return {*}
|
|
83
|
-
* @Author: WangHan
|
|
84
|
-
* @Date: 2025-04-21 11:47
|
|
85
|
-
*/
|
|
86
|
-
export declare const useIsSkipResourceStep: () => {
|
|
87
|
-
checkSkipResourceStep: () => Promise<boolean>;
|
|
88
|
-
};
|
|
89
|
-
/**
|
|
90
|
-
* @title: 获取预约配置
|
|
91
|
-
* @description:
|
|
92
|
-
* @return {*}
|
|
93
|
-
* @Author: WangHan
|
|
94
|
-
* @Date: 2025-04-24 18:15
|
|
95
|
-
*/
|
|
96
|
-
export declare const useAppointmentBookingSetting: () => {
|
|
97
|
-
isDateSelectedFirst: boolean;
|
|
98
|
-
isFormSubject: boolean;
|
|
99
|
-
isRetailTemplate: any;
|
|
100
|
-
customPageId: any;
|
|
101
|
-
channel: any;
|
|
102
|
-
bookingSubject: any;
|
|
103
|
-
setOtherData: (key: string, val: any) => any;
|
|
104
|
-
getOtherData: (key: string) => any;
|
|
105
|
-
formName: any;
|
|
106
|
-
};
|