@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
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface FormState {
|
|
3
|
-
amountSymbol: string;
|
|
4
|
-
apis: {
|
|
5
|
-
getClients: (par?: any) => any;
|
|
6
|
-
getClientsEs: (par?: any) => any;
|
|
7
|
-
getServices: (par?: any) => any;
|
|
8
|
-
getResources: (par?: any) => any;
|
|
9
|
-
getProducts: (par?: any) => any;
|
|
10
|
-
getPets: (par?: any) => any;
|
|
11
|
-
getForms: (par?: any) => any;
|
|
12
|
-
getFormData: (par?: any) => any;
|
|
13
|
-
getAddonsByOrderId: (par?: any) => any;
|
|
14
|
-
saveAddonsByOrderId: (par?: any) => any;
|
|
15
|
-
getNotesByOrder: (par?: any) => any;
|
|
16
|
-
saveBookingFormData: (par?: any) => any;
|
|
17
|
-
getPetsData: (par?: any) => any;
|
|
18
|
-
};
|
|
19
|
-
client: {
|
|
20
|
-
showModal: boolean;
|
|
21
|
-
value: any;
|
|
22
|
-
clients: any[];
|
|
23
|
-
clientsParams: {
|
|
24
|
-
skip: number;
|
|
25
|
-
num: number;
|
|
26
|
-
search: string;
|
|
27
|
-
};
|
|
28
|
-
edit: boolean;
|
|
29
|
-
};
|
|
30
|
-
date: {
|
|
31
|
-
value: any;
|
|
32
|
-
end_date: any;
|
|
33
|
-
edit: boolean;
|
|
34
|
-
};
|
|
35
|
-
service: {
|
|
36
|
-
addModal: boolean;
|
|
37
|
-
editModal: boolean;
|
|
38
|
-
services: any[];
|
|
39
|
-
resources: any[];
|
|
40
|
-
resourcesOrigin: any[];
|
|
41
|
-
reloadResourceModal: false;
|
|
42
|
-
value: any[];
|
|
43
|
-
cacheItem: any;
|
|
44
|
-
edit: boolean;
|
|
45
|
-
addTimeModal: boolean;
|
|
46
|
-
changeService: any;
|
|
47
|
-
};
|
|
48
|
-
pet: {
|
|
49
|
-
showModal: boolean;
|
|
50
|
-
pets: any[];
|
|
51
|
-
value: any[];
|
|
52
|
-
formData: any;
|
|
53
|
-
originValue: any;
|
|
54
|
-
edit: boolean;
|
|
55
|
-
};
|
|
56
|
-
addons: {
|
|
57
|
-
showModal: boolean;
|
|
58
|
-
value: any[];
|
|
59
|
-
productList: any[];
|
|
60
|
-
originData: any[];
|
|
61
|
-
edit: boolean;
|
|
62
|
-
};
|
|
63
|
-
notes: {
|
|
64
|
-
orderNote: string;
|
|
65
|
-
internalNotes: any[];
|
|
66
|
-
edit: boolean;
|
|
67
|
-
};
|
|
68
|
-
form: {
|
|
69
|
-
value: any;
|
|
70
|
-
forms: any[];
|
|
71
|
-
edit: boolean;
|
|
72
|
-
};
|
|
73
|
-
setGlobalState: () => void;
|
|
74
|
-
disabledEdit: boolean;
|
|
75
|
-
bookingConfig: any;
|
|
76
|
-
action: any;
|
|
77
|
-
bookingId: string | number;
|
|
78
|
-
bookingDetail: any;
|
|
79
|
-
channelDisabledEdit: boolean;
|
|
80
|
-
renderType?: 'eventBooking' | 'dayBooking';
|
|
81
|
-
modalOpen?: boolean;
|
|
82
|
-
isTerminal?: boolean;
|
|
83
|
-
isFranchisee?: boolean;
|
|
84
|
-
addTimeProducts: any[];
|
|
85
|
-
eventOtherParams?: {
|
|
86
|
-
relation_id: number;
|
|
87
|
-
number: number;
|
|
88
|
-
registration_type: 'single' | 'all' | 'extra_include';
|
|
89
|
-
start_date: string;
|
|
90
|
-
start_time: string;
|
|
91
|
-
end_date: string;
|
|
92
|
-
end_time: string;
|
|
93
|
-
productIds: number[];
|
|
94
|
-
};
|
|
95
|
-
disableEventBookingEdit?: boolean;
|
|
96
|
-
/** 关闭自动打开选择服务弹窗 */
|
|
97
|
-
closeAutoOpenService?: boolean;
|
|
98
|
-
/** 是否terminal创建booking页面 */
|
|
99
|
-
isBookingCreatePage?: boolean;
|
|
100
|
-
loading: boolean;
|
|
101
|
-
isTerminalDayBookingPage?: boolean;
|
|
102
|
-
activeCartId?: any[];
|
|
103
|
-
isDayBooking: boolean;
|
|
104
|
-
}
|
|
105
|
-
export declare const walkInData: {
|
|
106
|
-
id: number;
|
|
107
|
-
nickname: string;
|
|
108
|
-
};
|
|
109
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
110
|
-
state: FormState;
|
|
111
|
-
} & {
|
|
112
|
-
dispatch: (params: {
|
|
113
|
-
type: string;
|
|
114
|
-
payload: any;
|
|
115
|
-
}) => void;
|
|
116
|
-
}>;
|
package/es/components/index.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import Login from './login';
|
|
2
|
-
import BookingInfo from './booking/info/index';
|
|
3
|
-
import Booking from './booking';
|
|
4
|
-
import BookingNotes from './booking/notes';
|
|
5
|
-
import BookingAddons from './booking/addons';
|
|
6
|
-
import BookingForms from './booking/forms';
|
|
7
|
-
import Schedules from './schedules';
|
|
8
|
-
import ProductExtension from './productExtension';
|
|
9
|
-
import RuleSetting from './ruleSetting';
|
|
10
|
-
import TaxSelect from './taxSelect';
|
|
11
|
-
import ToCPay from './pay/toC';
|
|
12
|
-
import Wallet from './wallet';
|
|
13
|
-
import WalletList from './walletList';
|
|
14
|
-
import WorkspaceListDetail from './workSpaceListDetail/';
|
|
15
|
-
import WorkspaceList from './workSpaceList';
|
|
16
|
-
import PisellSelectCustomerModal from './pisellSelectCustomerModal';
|
|
17
|
-
import SubTotal from './subTotal';
|
|
18
|
-
import EditBookingModal from './booking/editBookingModal';
|
|
19
|
-
import StepController from './stepController';
|
|
20
|
-
import PinModal from './pinModal';
|
|
21
|
-
import PinVerifyModal from './pinVerifyModal';
|
|
22
|
-
export { Login, BookingInfo, Booking, BookingNotes, BookingAddons, BookingForms, Schedules, ProductExtension, RuleSetting, TaxSelect, ToCPay, PisellSelectCustomerModal, Wallet, WalletList, WorkspaceList, WorkspaceListDetail, SubTotal, EditBookingModal, StepController, PinModal, PinVerifyModal, };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
export interface ApplePayRef {
|
|
4
|
-
init: (res: any) => void;
|
|
5
|
-
}
|
|
6
|
-
export interface ApplePayProps {
|
|
7
|
-
onChange?: (values: any) => void;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: React.ForwardRefExoticComponent<ApplePayProps & React.RefAttributes<any>>;
|
|
10
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface GooglePayRef {
|
|
3
|
-
init: (res: any) => void;
|
|
4
|
-
}
|
|
5
|
-
export interface GooglePayProps {
|
|
6
|
-
onChange?: (values: any) => void;
|
|
7
|
-
}
|
|
8
|
-
declare const _default: React.ForwardRefExoticComponent<GooglePayProps & React.RefAttributes<any>>;
|
|
9
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface PaymentMethodsRef {
|
|
3
|
-
onPay: (props: any) => void;
|
|
4
|
-
}
|
|
5
|
-
interface PaymentMethodsProps {
|
|
6
|
-
payCallback: (props: any) => void;
|
|
7
|
-
}
|
|
8
|
-
declare const _default: React.ForwardRefExoticComponent<PaymentMethodsProps & React.RefAttributes<unknown>>;
|
|
9
|
-
export default _default;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.text.satisfy_any_condition': string;
|
|
4
|
-
'pisell2.text.add': string;
|
|
5
|
-
'pisell2.text.and': string;
|
|
6
|
-
'pisell2.text.or': string;
|
|
7
|
-
'pisell2.text.all': string;
|
|
8
|
-
'pisell2.text.rule-setting.Contain': string;
|
|
9
|
-
'pisell2.text.rule-setting.Exclude': string;
|
|
10
|
-
'pisell2.text.rule-setting.order_type': string;
|
|
11
|
-
'pisell2.text.rule-setting.sales_channel': string;
|
|
12
|
-
'pisell2.text.rule-setting.staff': string;
|
|
13
|
-
'pisell2.text.rule-setting.payment_method': string;
|
|
14
|
-
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
15
|
-
'pisell2.text.rule-setting.current_device': string;
|
|
16
|
-
};
|
|
17
|
-
'zh-CN': {
|
|
18
|
-
'pisell2.text.satisfy_any_condition': string;
|
|
19
|
-
'pisell2.text.and': string;
|
|
20
|
-
'pisell2.text.or': string;
|
|
21
|
-
'pisell2.text.all': string;
|
|
22
|
-
'pisell2.text.add': string;
|
|
23
|
-
'pisell2.text.rule-setting.Contain': string;
|
|
24
|
-
'pisell2.text.rule-setting.Exclude': string;
|
|
25
|
-
'pisell2.text.rule-setting.order_type': string;
|
|
26
|
-
'pisell2.text.rule-setting.sales_channel': string;
|
|
27
|
-
'pisell2.text.rule-setting.staff': string;
|
|
28
|
-
'pisell2.text.rule-setting.payment_method': string;
|
|
29
|
-
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
30
|
-
'pisell2.text.rule-setting.current_device': string;
|
|
31
|
-
};
|
|
32
|
-
'zh-HK': {
|
|
33
|
-
'pisell2.text.satisfy_any_condition': string;
|
|
34
|
-
'pisell2.text.and': string;
|
|
35
|
-
'pisell2.text.or': string;
|
|
36
|
-
'pisell2.text.all': string;
|
|
37
|
-
'pisell2.text.add': string;
|
|
38
|
-
'pisell2.text.rule-setting.Contain': string;
|
|
39
|
-
'pisell2.text.rule-setting.Exclude': string;
|
|
40
|
-
'pisell2.text.rule-setting.order_type': string;
|
|
41
|
-
'pisell2.text.rule-setting.sales_channel': string;
|
|
42
|
-
'pisell2.text.rule-setting.staff': string;
|
|
43
|
-
'pisell2.text.rule-setting.payment_method': string;
|
|
44
|
-
'pisell2.text.rule-setting.pisell_terminal_device': string;
|
|
45
|
-
'pisell2.text.rule-setting.current_device': string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Dayjs } from 'dayjs';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface ITimeBarProps {
|
|
4
|
-
globalState: any;
|
|
5
|
-
setGlobalState: any;
|
|
6
|
-
onDateChange: (date: Dayjs, dateString?: string) => void;
|
|
7
|
-
onDateTimeChange: (date: Dayjs, timeString: string) => void;
|
|
8
|
-
setIntervalTime: (value: boolean) => void;
|
|
9
|
-
locale: string;
|
|
10
|
-
}
|
|
11
|
-
declare const TimeBar: (props: ITimeBarProps) => JSX.Element;
|
|
12
|
-
export default TimeBar;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import ProductCardSkeleton from './ProductCardSkeleton';
|
|
3
|
-
import './index.less';
|
|
4
|
-
declare type BoolConfigVal = 0 | 1;
|
|
5
|
-
export interface ProductCardConfig {
|
|
6
|
-
isProductCover?: BoolConfigVal;
|
|
7
|
-
imgWidth?: string;
|
|
8
|
-
imgHeight?: string;
|
|
9
|
-
radius?: number;
|
|
10
|
-
isTitle?: BoolConfigVal;
|
|
11
|
-
isSubtitle?: BoolConfigVal;
|
|
12
|
-
showSpec?: boolean;
|
|
13
|
-
isTag?: BoolConfigVal;
|
|
14
|
-
isPrice?: BoolConfigVal;
|
|
15
|
-
isOriginPrice?: BoolConfigVal;
|
|
16
|
-
showZeroPrice?: boolean;
|
|
17
|
-
showMarketingTag?: boolean;
|
|
18
|
-
showRemark?: boolean;
|
|
19
|
-
isStock?: BoolConfigVal;
|
|
20
|
-
}
|
|
21
|
-
export interface ProductCardProps {
|
|
22
|
-
item: any;
|
|
23
|
-
index: number;
|
|
24
|
-
context?: {
|
|
25
|
-
onItemIntersectionIn: (item: any) => void;
|
|
26
|
-
onItemIntersectionOut: (item: any) => void;
|
|
27
|
-
};
|
|
28
|
-
className?: string;
|
|
29
|
-
onSelectProduct?: (item: any) => void;
|
|
30
|
-
currentProductId?: number;
|
|
31
|
-
onSelect?: (item: any) => void;
|
|
32
|
-
onSelectCover?: (item: any) => void;
|
|
33
|
-
onSelectInfo?: (item: any) => void;
|
|
34
|
-
isSelected?: boolean;
|
|
35
|
-
decorateConfig?: ProductCardConfig;
|
|
36
|
-
}
|
|
37
|
-
export declare const ProductCard: React.MemoExoticComponent<({ item, index, context, onSelect, onSelectCover, onSelectInfo, isSelected, className, decorateConfig, }: ProductCardProps) => JSX.Element>;
|
|
38
|
-
export declare const DefaultItemContent: React.MemoExoticComponent<(props: {
|
|
39
|
-
item: any;
|
|
40
|
-
index: number;
|
|
41
|
-
context?: {
|
|
42
|
-
onItemIntersectionIn: (item: any) => void;
|
|
43
|
-
onItemIntersectionOut: (item: any) => void;
|
|
44
|
-
} | undefined;
|
|
45
|
-
}) => JSX.Element>;
|
|
46
|
-
export default ProductCard;
|
|
47
|
-
export { ProductCardSkeleton };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface ProductSelectProps {
|
|
4
|
-
dataSource: any[];
|
|
5
|
-
showSearch?: boolean;
|
|
6
|
-
showTab?: boolean;
|
|
7
|
-
layout?: {
|
|
8
|
-
grid: boolean;
|
|
9
|
-
config: string;
|
|
10
|
-
};
|
|
11
|
-
onChange: (value: any, type?: string) => void;
|
|
12
|
-
value?: number;
|
|
13
|
-
loading?: boolean;
|
|
14
|
-
style?: React.CSSProperties;
|
|
15
|
-
emptyDescription?: string;
|
|
16
|
-
/** 当前滚动元素 */
|
|
17
|
-
scrollDom?: string;
|
|
18
|
-
/** 商品列表上方的其它组件 */
|
|
19
|
-
offsetDom?: any;
|
|
20
|
-
/** 样式变量 */
|
|
21
|
-
token?: Partial<any>;
|
|
22
|
-
/** 后台装修单选模式下的已选中项 */
|
|
23
|
-
selectedItems?: Array<any>;
|
|
24
|
-
/** 后台装修配置 */
|
|
25
|
-
productListSetting?: Partial<any>;
|
|
26
|
-
/** 兼容scrollDom */
|
|
27
|
-
customScrollParent?: HTMLElement | string;
|
|
28
|
-
hideCategoryWhenOne?: boolean;
|
|
29
|
-
}
|
|
30
|
-
export declare const PREFIX = "pisell-product-select";
|
|
31
|
-
declare const index: ({ dataSource, emptyDescription, showSearch, scrollDom, offsetDom, style, token: customToken, onChange, value, selectedItems, productListSetting, customScrollParent, loading, layout, hideCategoryWhenOne, ...rest }: ProductSelectProps) => JSX.Element;
|
|
32
|
-
export default index;
|
|
@@ -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
|
-
};
|