@pisell/private-materials 3.2.37 → 3.2.39
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/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/businessModel/SalesModel/index.d.ts +0 -1
- package/es/components/Sales/Event/index.d.ts +30 -0
- package/es/components/Sales/Summary/utils.d.ts +1 -1
- package/es/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Cart/ContinueButton/index.js +18 -5
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +3 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Cart/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Content/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Date/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Date/index.js +4 -2
- package/es/components/appointmentBooking/components/Footer/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Guest/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Header/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Resource/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Services/index.d.ts +3 -0
- package/es/components/appointmentBooking/context.d.ts +29 -0
- package/es/components/appointmentBooking/hooks.d.ts +76 -0
- package/es/components/appointmentBooking/index.d.ts +3 -0
- package/es/components/appointmentBooking/locales.d.ts +297 -0
- package/es/components/appointmentBooking/utils.d.ts +86 -0
- package/es/components/booking/components/TabProduct/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
- package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
- package/es/components/booking/components/footer/index.d.ts +11 -0
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/es/components/booking/components/voucher/index.d.ts +3 -0
- package/es/components/booking/deposit/index.d.ts +0 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/es/components/booking/forms/single/index.d.ts +0 -1
- package/es/components/booking/forms/table/index.d.ts +0 -1
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/es/components/booking/info/date/index.d.ts +0 -1
- package/es/components/booking/info/header/index.d.ts +0 -1
- package/es/components/booking/info/index.d.ts +3 -0
- package/es/components/booking/info/notes/index.d.ts +0 -1
- package/es/components/booking/info/service/actions/index.d.ts +0 -1
- package/es/components/booking/info/service/addService/index.d.ts +0 -1
- package/es/components/booking/info/service/like/index.d.ts +0 -1
- package/es/components/booking/info/service2/Lists.d.ts +0 -1
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/service/actions/index.d.ts +0 -1
- package/es/components/booking/info2/service/addService/index.d.ts +0 -1
- package/es/components/booking/info2/service/addService/utils.d.ts +80 -0
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +3 -0
- package/es/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
- package/es/components/booking/info2/service/editService/index.d.ts +7 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
- package/es/components/booking/materiels/contacts/index.d.ts +0 -1
- package/es/components/booking/materiels/duration/index.d.ts +0 -1
- package/es/components/booking/materiels/holder/index.d.ts +0 -1
- package/es/components/booking/materiels/startTime/index.d.ts +0 -1
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
- package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/es/components/booking/notes/addNote/index.d.ts +0 -1
- package/es/components/eftpos/deviceList/index.d.ts +0 -1
- package/es/components/eftpos/form/index.d.ts +0 -1
- package/es/components/eftpos/group/index.d.ts +0 -1
- package/es/components/eftpos/hooks.d.ts +0 -1
- package/es/components/eftpos/icon/apiKey.d.ts +0 -1
- package/es/components/eftpos/icon/device.d.ts +0 -1
- package/es/components/eftpos/index.d.ts +0 -1
- package/es/components/eftpos/pos.d.ts +0 -1
- package/es/components/eftpos/receipt/index.d.ts +0 -1
- package/es/components/eftpos/surcharge/index.d.ts +0 -1
- package/es/components/eftposPay/amount.d.ts +1 -2
- package/es/components/eftposPay/app.d.ts +0 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/es/components/eftposPay/component/fail/index.d.ts +0 -1
- package/es/components/eftposPay/component/fail/network.d.ts +0 -1
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/es/components/eftposPay/component/manual/index.d.ts +0 -1
- package/es/components/eftposPay/component/signature/index.d.ts +0 -1
- package/es/components/eftposPay/component/step/index.d.ts +0 -1
- package/es/components/eftposPay/component/step/step.d.ts +0 -1
- package/es/components/eftposPay/device.d.ts +1 -2
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/index.d.ts +0 -1
- package/es/components/eftposPay/pay.d.ts +0 -1
- package/es/components/eftposPay/payo/config.d.ts +0 -1
- package/es/components/eftposPay/store/index.d.ts +6 -6
- package/es/components/eftposPay/tip.d.ts +0 -1
- package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
- package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
- package/es/components/eventBooking/index.d.ts +0 -1
- package/es/components/index.d.ts +17 -0
- package/es/components/login/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
- package/es/components/productExtension/index.d.ts +0 -1
- package/es/components/ruleSetting/index.d.ts +0 -1
- package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
- package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/es/components/schedules/calendar/index.d.ts +0 -1
- package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/products/index.d.ts +0 -1
- package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
- package/es/components/schedules/products/list/index.d.ts +0 -1
- package/es/components/schedules/resources/index.d.ts +0 -1
- package/es/components/schedules/resources/list/index.d.ts +0 -1
- package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/schedules/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Cart/Product.d.ts +3 -0
- package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/es/components/shoppingCart/index.d.ts +0 -1
- package/es/components/shoppingCart/status.d.ts +2 -0
- package/es/components/shoppingCart/type.d.ts +43 -0
- package/es/components/taxSelect/index.d.ts +0 -1
- package/es/components/ticketBooking/data.d.ts +0 -0
- package/es/components/ticketBooking/index.d.ts +2 -0
- package/es/components/wallet/Detail/index.d.ts +42 -0
- package/es/components/wallet/components/WalletCard.d.ts +11 -0
- package/es/components/wallet/components/WalletCard.js +1 -1
- package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
- package/es/index.d.ts +42 -0
- package/lib/businessModel/SalesModel/index.d.ts +0 -1
- package/lib/components/Sales/Event/index.d.ts +30 -0
- package/lib/components/Sales/Summary/utils.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.js +7 -0
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Content/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Date/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Date/index.js +4 -2
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Guest/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Header/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Resource/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Services/index.d.ts +3 -0
- package/lib/components/appointmentBooking/context.d.ts +29 -0
- package/lib/components/appointmentBooking/hooks.d.ts +76 -0
- package/lib/components/appointmentBooking/index.d.ts +3 -0
- package/lib/components/appointmentBooking/locales.d.ts +297 -0
- package/lib/components/appointmentBooking/utils.d.ts +86 -0
- package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
- package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
- package/lib/components/booking/components/footer/index.d.ts +11 -0
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/lib/components/booking/components/voucher/index.d.ts +3 -0
- package/lib/components/booking/deposit/index.d.ts +0 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/lib/components/booking/forms/single/index.d.ts +0 -1
- package/lib/components/booking/forms/table/index.d.ts +0 -1
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/lib/components/booking/info/date/index.d.ts +0 -1
- package/lib/components/booking/info/header/index.d.ts +0 -1
- package/lib/components/booking/info/index.d.ts +3 -0
- package/lib/components/booking/info/notes/index.d.ts +0 -1
- package/lib/components/booking/info/service/actions/index.d.ts +0 -1
- package/lib/components/booking/info/service/addService/index.d.ts +0 -1
- package/lib/components/booking/info/service/like/index.d.ts +0 -1
- package/lib/components/booking/info/service2/Lists.d.ts +0 -1
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -1
- package/lib/components/booking/info2/service/addService/utils.d.ts +80 -0
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +3 -0
- package/lib/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
- package/lib/components/booking/info2/service/editService/index.d.ts +7 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
- package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
- package/lib/components/booking/materiels/duration/index.d.ts +0 -1
- package/lib/components/booking/materiels/holder/index.d.ts +0 -1
- package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
- package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/lib/components/booking/notes/addNote/index.d.ts +0 -1
- package/lib/components/eftpos/deviceList/index.d.ts +0 -1
- package/lib/components/eftpos/form/index.d.ts +0 -1
- package/lib/components/eftpos/group/index.d.ts +0 -1
- package/lib/components/eftpos/hooks.d.ts +0 -1
- package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
- package/lib/components/eftpos/icon/device.d.ts +0 -1
- package/lib/components/eftpos/index.d.ts +0 -1
- package/lib/components/eftpos/pos.d.ts +0 -1
- package/lib/components/eftpos/receipt/index.d.ts +0 -1
- package/lib/components/eftpos/surcharge/index.d.ts +0 -1
- package/lib/components/eftposPay/amount.d.ts +1 -2
- package/lib/components/eftposPay/app.d.ts +0 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
- package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
- package/lib/components/eftposPay/component/step/index.d.ts +0 -1
- package/lib/components/eftposPay/component/step/step.d.ts +0 -1
- package/lib/components/eftposPay/device.d.ts +1 -2
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/index.d.ts +0 -1
- package/lib/components/eftposPay/pay.d.ts +0 -1
- package/lib/components/eftposPay/payo/config.d.ts +0 -1
- package/lib/components/eftposPay/store/index.d.ts +6 -6
- package/lib/components/eftposPay/tip.d.ts +0 -1
- package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
- package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
- package/lib/components/eventBooking/index.d.ts +0 -1
- package/lib/components/index.d.ts +17 -0
- package/lib/components/login/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
- package/lib/components/productExtension/index.d.ts +0 -1
- package/lib/components/ruleSetting/index.d.ts +0 -1
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
- package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/lib/components/schedules/calendar/index.d.ts +0 -1
- package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/products/index.d.ts +0 -1
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
- package/lib/components/schedules/products/list/index.d.ts +0 -1
- package/lib/components/schedules/resources/index.d.ts +0 -1
- package/lib/components/schedules/resources/list/index.d.ts +0 -1
- package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/schedules/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +3 -0
- package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/lib/components/shoppingCart/index.d.ts +0 -1
- package/lib/components/shoppingCart/status.d.ts +2 -0
- package/lib/components/shoppingCart/type.d.ts +43 -0
- package/lib/components/taxSelect/index.d.ts +0 -1
- package/lib/components/ticketBooking/data.d.ts +0 -0
- package/lib/components/ticketBooking/index.d.ts +2 -0
- package/lib/components/wallet/Detail/index.d.ts +42 -0
- package/lib/components/wallet/components/WalletCard.d.ts +11 -0
- package/lib/components/wallet/components/WalletCard.js +1 -1
- package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
- package/lib/index.d.ts +42 -0
- package/package.json +4 -4
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface AppointmentBookingContextType {
|
|
3
|
+
appointmentBooking: any;
|
|
4
|
+
times: any[];
|
|
5
|
+
resources: any[];
|
|
6
|
+
setTimes: (times: any[]) => void;
|
|
7
|
+
setResources: (lists: any[]) => void;
|
|
8
|
+
products: any;
|
|
9
|
+
carts: any[];
|
|
10
|
+
summary: any;
|
|
11
|
+
setProducts: (val: any) => void;
|
|
12
|
+
setCarts: (val: any[]) => void;
|
|
13
|
+
setSummary: (val: any) => void;
|
|
14
|
+
currentStep: any;
|
|
15
|
+
isLastStep?: boolean;
|
|
16
|
+
setIsLastStep: (val: boolean) => void;
|
|
17
|
+
setCurrentStep: (val: any) => void;
|
|
18
|
+
appHelper?: any;
|
|
19
|
+
symbolic?: any;
|
|
20
|
+
resourceOtherParams?: any;
|
|
21
|
+
setResourceOtherParams: (val: any) => void;
|
|
22
|
+
selectedTime: any;
|
|
23
|
+
setSelectedTime: (val: any) => void;
|
|
24
|
+
}
|
|
25
|
+
export declare const AppointmentBookingProvider: ({ children, }: {
|
|
26
|
+
children: ReactNode;
|
|
27
|
+
}) => JSX.Element;
|
|
28
|
+
export declare const useAppointmentBookingContext: () => AppointmentBookingContextType;
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
export declare const useAppointmentBooking: () => any;
|
|
2
|
+
export declare const useShopDiscount: () => any;
|
|
3
|
+
/**
|
|
4
|
+
* @title: 监听步骤发生变化
|
|
5
|
+
* @description:
|
|
6
|
+
* @return {*}
|
|
7
|
+
* @Author: WangHan
|
|
8
|
+
* @Date: 2025-04-15 11:11
|
|
9
|
+
*/
|
|
10
|
+
export declare const useAppointmentBookingStep: () => {
|
|
11
|
+
getStepIndex: (type: string, skipNumber?: number) => any;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* @title: 获取商品数据
|
|
15
|
+
* @description:
|
|
16
|
+
* @return {*}
|
|
17
|
+
* @Author: WangHan
|
|
18
|
+
* @Date: 2025-04-15 11:12
|
|
19
|
+
*/
|
|
20
|
+
export declare const useAppointmentBookingProduct: () => void;
|
|
21
|
+
/**
|
|
22
|
+
* @title: 更新购物车数据
|
|
23
|
+
* @description:
|
|
24
|
+
* @return {*}
|
|
25
|
+
* @Author: WangHan
|
|
26
|
+
* @Date: 2025-04-15 11:12
|
|
27
|
+
*/
|
|
28
|
+
export declare const useAppointmentBookingCart: () => void;
|
|
29
|
+
/**
|
|
30
|
+
* @title: 获取登录状态
|
|
31
|
+
* @description:
|
|
32
|
+
* @return {*}
|
|
33
|
+
* @Author: WangHan
|
|
34
|
+
* @Date: 2025-04-15 11:14
|
|
35
|
+
*/
|
|
36
|
+
export declare const useAppointmentBookingLogin: () => {
|
|
37
|
+
isLogin: boolean;
|
|
38
|
+
openLoginModal: (params: {
|
|
39
|
+
callback: any;
|
|
40
|
+
}) => void;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* @title: 获取账户
|
|
44
|
+
* @description:
|
|
45
|
+
* @return {*}
|
|
46
|
+
* @Author: WangHan
|
|
47
|
+
* @Date: 2025-04-15 11:15
|
|
48
|
+
*/
|
|
49
|
+
export declare const useAppointmentBookingAccount: () => {
|
|
50
|
+
accountLists: any;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* @title: 获取资源数据
|
|
54
|
+
* @description:
|
|
55
|
+
* @return {*}
|
|
56
|
+
* @Author: WangHan
|
|
57
|
+
* @Date: 2025-04-15 11:29
|
|
58
|
+
*/
|
|
59
|
+
export declare const useAppointmentBookingResource: () => {
|
|
60
|
+
getResourceTimeSlot: (index?: number) => Promise<void>;
|
|
61
|
+
getResourceList: () => {
|
|
62
|
+
resources: any;
|
|
63
|
+
resourceCodes: any;
|
|
64
|
+
};
|
|
65
|
+
autoSelectAllProductResources: (index?: number) => Promise<any>;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* @title: 是否跳过资源选择步骤
|
|
69
|
+
* @description:
|
|
70
|
+
* @return {*}
|
|
71
|
+
* @Author: WangHan
|
|
72
|
+
* @Date: 2025-04-21 11:47
|
|
73
|
+
*/
|
|
74
|
+
export declare const useIsSkipResourceStep: () => {
|
|
75
|
+
checkSkipResourceStep: () => Promise<boolean>;
|
|
76
|
+
};
|
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.event.calendar.limit.unavailable': string;
|
|
4
|
+
'pisell2.event.calendar.limit.sold.out': string;
|
|
5
|
+
'pisell2.event.calendar.limit.call.to.book': string;
|
|
6
|
+
'pisell2.event.calendar.limit.filling.up.fast': string;
|
|
7
|
+
'pisell2.event.calendar.limit.lots.of.space': string;
|
|
8
|
+
'pisell2.event.calendar.booking-closed': string;
|
|
9
|
+
'pisell2.event.calendar.call-to-book': string;
|
|
10
|
+
'pisell2.event.calendar.email-to-book': string;
|
|
11
|
+
'pisell2.event.close.title': string;
|
|
12
|
+
'pisell2.event.close.tip': string;
|
|
13
|
+
'pisell2.event.close.continue': string;
|
|
14
|
+
'pisell2.event.close.exit': string;
|
|
15
|
+
'pisell2.event.step': (step: number) => string;
|
|
16
|
+
'pisell2.event.select.category': (val: string) => string;
|
|
17
|
+
'pisell2.event.select.campus': (val: string) => string;
|
|
18
|
+
'pisell2.event.select.event': string;
|
|
19
|
+
'pisell2.event.cart': string;
|
|
20
|
+
'pisell2.event.total': string;
|
|
21
|
+
'pisell2.event.total.gst': (val: string, amount: any) => string;
|
|
22
|
+
'pisell2.event.continue': string;
|
|
23
|
+
'pisell2.event.details': string;
|
|
24
|
+
'pisell2.event.introduction': string;
|
|
25
|
+
'pisell2.event.schedule': string;
|
|
26
|
+
'pisell2.event.teacher': string;
|
|
27
|
+
'pisell2.event.campus': string;
|
|
28
|
+
'pisell2.event.resource': string;
|
|
29
|
+
'pisell2.event.booking.options': string;
|
|
30
|
+
'pisell2.event.add.to.cart': string;
|
|
31
|
+
'pisell2.event.description': string;
|
|
32
|
+
'pisell2.event.view.more': string;
|
|
33
|
+
'pisell2.event.view.less': string;
|
|
34
|
+
'pisell2.event.holder.modal.title': string;
|
|
35
|
+
'pisell2.event.confirm': string;
|
|
36
|
+
'pisell2.event.confirm.information': string;
|
|
37
|
+
'pisell2.event.confirm.information.tip': string;
|
|
38
|
+
'pisell2.event.confirm.information.other': string;
|
|
39
|
+
'pisell2.event.add.others': string;
|
|
40
|
+
'pisell2.event.checkout': string;
|
|
41
|
+
'pisell2.event.edit.event': string;
|
|
42
|
+
'pisell2.event.remove': string;
|
|
43
|
+
'pisell2.event.option': string;
|
|
44
|
+
'pisell2.event.order.items.error.title': string;
|
|
45
|
+
'pisell2.event.order.items.error.tip': (val: number) => string;
|
|
46
|
+
'pisell2.event.order.items.error.proceed': string;
|
|
47
|
+
'pisell2.event.order.items.error.return': string;
|
|
48
|
+
'pisell2.event.order.items.error.back': string;
|
|
49
|
+
'pisell2.event.order.items.error.continue': string;
|
|
50
|
+
'pisell2.event.order.items.error.all.tip': string;
|
|
51
|
+
'pisell2.event.remove.title': string;
|
|
52
|
+
'pisell2.event.remove.tip': string;
|
|
53
|
+
'pisell2.event.remove.cancel': string;
|
|
54
|
+
'pisell2.event.create': string;
|
|
55
|
+
'pisell2.event.search': string;
|
|
56
|
+
'pisell2.event.empty.service': string;
|
|
57
|
+
'pisell2.event.title': (val: number) => string;
|
|
58
|
+
'pisell2.event.create.form': string;
|
|
59
|
+
'pisell2.event.empty.event': string;
|
|
60
|
+
'pisell2.event.error.holder': string;
|
|
61
|
+
'pisell2.event.price.from': string;
|
|
62
|
+
'pisell2.event.empty.holder.title': string;
|
|
63
|
+
'pisell2.event.empty.holder.tip': string;
|
|
64
|
+
'pisell2.event.empty.holder.continue.tip': string;
|
|
65
|
+
'pisell2.event.empty.holder.go.back': string;
|
|
66
|
+
'pisell2.event.empty.holder.continue.anyway': string;
|
|
67
|
+
'pisell2.event.event.full.title': string;
|
|
68
|
+
'pisell2.event.event.full.tip': string;
|
|
69
|
+
'pisell2.event.event.full.ok': string;
|
|
70
|
+
'pisell2.event.capacity.limit.reached.title': string;
|
|
71
|
+
'pisell2.event.capacity.limit.reached.tip': string;
|
|
72
|
+
'pisell2.appointment.booking.empty.service': string;
|
|
73
|
+
'pisell2.appointment.booking.empty.time': string;
|
|
74
|
+
'pisell2.appointment.service.title': (val: number) => string;
|
|
75
|
+
'pisell2.appointment.add.guest': string;
|
|
76
|
+
'pisell2.appointment.edit.service': string;
|
|
77
|
+
'pisell2.appointment.remove.guest': string;
|
|
78
|
+
'pisell2.appointment.no.available.service': string;
|
|
79
|
+
'pisell2.appointment.max.guest': string;
|
|
80
|
+
'pisell2.appointment.no.available.time': string;
|
|
81
|
+
'pisell2.appointment.monday': string;
|
|
82
|
+
'pisell2.appointment.tuesday': string;
|
|
83
|
+
'pisell2.appointment.wednesday': string;
|
|
84
|
+
'pisell2.appointment.thursday': string;
|
|
85
|
+
'pisell2.appointment.friday': string;
|
|
86
|
+
'pisell2.appointment.saturday': string;
|
|
87
|
+
'pisell2.appointment.sunday': string;
|
|
88
|
+
'pisell2.appointment.any.professional': string;
|
|
89
|
+
'pisell2.appointment.for.maximum.availability': string;
|
|
90
|
+
'pisell2.text.apply': string;
|
|
91
|
+
'pisell2.text.goodpass': string;
|
|
92
|
+
'pisell2.text.goodpass.product-vouchers': string;
|
|
93
|
+
'pisell2.text.goodpass.view-more': string;
|
|
94
|
+
'pisell2.text.goodpass.code': string;
|
|
95
|
+
'pisell2.text.goodpass.enter-code': string;
|
|
96
|
+
'pisell2.text.goodpass.code-invalid': string;
|
|
97
|
+
'pisell2.text.goodpass.login': string;
|
|
98
|
+
'pisell2.text.goodpass.login-tip': string;
|
|
99
|
+
};
|
|
100
|
+
'zh-CN': {
|
|
101
|
+
'pisell2.event.calendar.limit.unavailable': string;
|
|
102
|
+
'pisell2.event.calendar.limit.sold.out': string;
|
|
103
|
+
'pisell2.event.calendar.limit.call.to.book': string;
|
|
104
|
+
'pisell2.event.calendar.limit.filling.up.fast': string;
|
|
105
|
+
'pisell2.event.calendar.limit.lots.of.space': string;
|
|
106
|
+
'pisell2.event.calendar.booking-closed': string;
|
|
107
|
+
'pisell2.event.calendar.call-to-book': string;
|
|
108
|
+
'pisell2.event.calendar.email-to-book': string;
|
|
109
|
+
'pisell2.event.close.title': string;
|
|
110
|
+
'pisell2.event.close.tip': string;
|
|
111
|
+
'pisell2.event.close.continue': string;
|
|
112
|
+
'pisell2.event.close.exit': string;
|
|
113
|
+
'pisell2.event.step': (step: number) => string;
|
|
114
|
+
'pisell2.event.select.category': (val: string) => string;
|
|
115
|
+
'pisell2.event.select.event': string;
|
|
116
|
+
'pisell2.event.select.campus': (val: string) => string;
|
|
117
|
+
'pisell2.event.cart': string;
|
|
118
|
+
'pisell2.event.total': string;
|
|
119
|
+
'pisell2.event.total.gst': (val: string, amount: any) => string;
|
|
120
|
+
'pisell2.event.continue': string;
|
|
121
|
+
'pisell2.event.details': string;
|
|
122
|
+
'pisell2.event.introduction': string;
|
|
123
|
+
'pisell2.event.schedule': string;
|
|
124
|
+
'pisell2.event.teacher': string;
|
|
125
|
+
'pisell2.event.campus': string;
|
|
126
|
+
'pisell2.event.resource': string;
|
|
127
|
+
'pisell2.event.booking.options': string;
|
|
128
|
+
'pisell2.event.add.to.cart': string;
|
|
129
|
+
'pisell2.event.description': string;
|
|
130
|
+
'pisell2.event.view.more': string;
|
|
131
|
+
'pisell2.event.view.less': string;
|
|
132
|
+
'pisell2.event.holder.modal.title': string;
|
|
133
|
+
'pisell2.event.confirm': string;
|
|
134
|
+
'pisell2.event.confirm.information': string;
|
|
135
|
+
'pisell2.event.confirm.information.tip': string;
|
|
136
|
+
'pisell2.event.confirm.information.other': string;
|
|
137
|
+
'pisell2.event.add.others': string;
|
|
138
|
+
'pisell2.event.checkout': string;
|
|
139
|
+
'pisell2.event.edit.event': string;
|
|
140
|
+
'pisell2.event.remove': string;
|
|
141
|
+
'pisell2.event.option': string;
|
|
142
|
+
'pisell2.event.order.items.error.title': string;
|
|
143
|
+
'pisell2.event.order.items.error.tip': (val: number) => string;
|
|
144
|
+
'pisell2.event.order.items.error.proceed': string;
|
|
145
|
+
'pisell2.event.order.items.error.return': string;
|
|
146
|
+
'pisell2.event.order.items.error.back': string;
|
|
147
|
+
'pisell2.event.order.items.error.continue': string;
|
|
148
|
+
'pisell2.event.order.items.error.all.tip': string;
|
|
149
|
+
'pisell2.event.remove.title': string;
|
|
150
|
+
'pisell2.event.remove.tip': string;
|
|
151
|
+
'pisell2.event.remove.cancel': string;
|
|
152
|
+
'pisell2.event.create': string;
|
|
153
|
+
'pisell2.event.search': string;
|
|
154
|
+
'pisell2.event.empty.service': string;
|
|
155
|
+
'pisell2.event.title': (val: number) => string;
|
|
156
|
+
'pisell2.event.create.form': string;
|
|
157
|
+
'pisell2.event.empty.event': string;
|
|
158
|
+
'pisell2.event.error.holder': string;
|
|
159
|
+
'pisell2.event.price.from': string;
|
|
160
|
+
'pisell2.event.empty.holder.title': string;
|
|
161
|
+
'pisell2.event.empty.holder.tip': string;
|
|
162
|
+
'pisell2.event.empty.holder.continue.tip': string;
|
|
163
|
+
'pisell2.event.empty.holder.go.back': string;
|
|
164
|
+
'pisell2.event.empty.holder.continue.anyway': string;
|
|
165
|
+
'pisell2.event.event.full.title': string;
|
|
166
|
+
'pisell2.event.event.full.tip': string;
|
|
167
|
+
'pisell2.event.event.full.ok': string;
|
|
168
|
+
'pisell2.event.capacity.limit.reached.title': string;
|
|
169
|
+
'pisell2.event.capacity.limit.reached.tip': string;
|
|
170
|
+
'pisell2.appointment.booking.empty.service': string;
|
|
171
|
+
'pisell2.appointment.booking.empty.time': string;
|
|
172
|
+
'pisell2.appointment.service.title': (val: number) => string;
|
|
173
|
+
'pisell2.appointment.add.guest': string;
|
|
174
|
+
'pisell2.appointment.edit.service': string;
|
|
175
|
+
'pisell2.appointment.remove.guest': string;
|
|
176
|
+
'pisell2.appointment.no.available.service': string;
|
|
177
|
+
'pisell2.appointment.max.guest': string;
|
|
178
|
+
'pisell2.appointment.no.available.time': string;
|
|
179
|
+
'pisell2.appointment.monday': string;
|
|
180
|
+
'pisell2.appointment.tuesday': string;
|
|
181
|
+
'pisell2.appointment.wednesday': string;
|
|
182
|
+
'pisell2.appointment.thursday': string;
|
|
183
|
+
'pisell2.appointment.friday': string;
|
|
184
|
+
'pisell2.appointment.saturday': string;
|
|
185
|
+
'pisell2.appointment.sunday': string;
|
|
186
|
+
'pisell2.appointment.any.professional': string;
|
|
187
|
+
'pisell2.appointment.for.maximum.availability': string;
|
|
188
|
+
'pisell2.text.apply': string;
|
|
189
|
+
'pisell2.text.goodpass': string;
|
|
190
|
+
'pisell2.text.goodpass.product-vouchers': string;
|
|
191
|
+
'pisell2.text.goodpass.view-more': string;
|
|
192
|
+
'pisell2.text.goodpass.code': string;
|
|
193
|
+
'pisell2.text.goodpass.enter-code': string;
|
|
194
|
+
'pisell2.text.goodpass.code-invalid': string;
|
|
195
|
+
'pisell2.text.goodpass.login': string;
|
|
196
|
+
'pisell2.text.goodpass.login-tip': string;
|
|
197
|
+
};
|
|
198
|
+
'zh-HK': {
|
|
199
|
+
'pisell2.event.calendar.limit.unavailable': string;
|
|
200
|
+
'pisell2.event.calendar.limit.sold.out': string;
|
|
201
|
+
'pisell2.event.calendar.limit.call.to.book': string;
|
|
202
|
+
'pisell2.event.calendar.limit.filling.up.fast': string;
|
|
203
|
+
'pisell2.event.calendar.limit.lots.of.space': string;
|
|
204
|
+
'pisell2.event.calendar.booking-closed': string;
|
|
205
|
+
'pisell2.event.calendar.call-to-book': string;
|
|
206
|
+
'pisell2.event.calendar.email-to-book': string;
|
|
207
|
+
'pisell2.event.close.title': string;
|
|
208
|
+
'pisell2.event.close.tip': string;
|
|
209
|
+
'pisell2.event.close.continue': string;
|
|
210
|
+
'pisell2.event.close.exit': string;
|
|
211
|
+
'pisell2.event.step': (step: number) => string;
|
|
212
|
+
'pisell2.event.select.category': (val: string) => string;
|
|
213
|
+
'pisell2.event.select.event': string;
|
|
214
|
+
'pisell2.event.select.campus': (val: string) => string;
|
|
215
|
+
'pisell2.event.cart': string;
|
|
216
|
+
'pisell2.event.total': string;
|
|
217
|
+
'pisell2.event.total.gst': (val: string, amount: any) => string;
|
|
218
|
+
'pisell2.event.continue': string;
|
|
219
|
+
'pisell2.event.details': string;
|
|
220
|
+
'pisell2.event.introduction': string;
|
|
221
|
+
'pisell2.event.schedule': string;
|
|
222
|
+
'pisell2.event.teacher': string;
|
|
223
|
+
'pisell2.event.campus': string;
|
|
224
|
+
'pisell2.event.resource': string;
|
|
225
|
+
'pisell2.event.booking.options': string;
|
|
226
|
+
'pisell2.event.add.to.cart': string;
|
|
227
|
+
'pisell2.event.description': string;
|
|
228
|
+
'pisell2.event.view.more': string;
|
|
229
|
+
'pisell2.event.view.less': string;
|
|
230
|
+
'pisell2.event.holder.modal.title': string;
|
|
231
|
+
'pisell2.event.confirm': string;
|
|
232
|
+
'pisell2.event.confirm.information': string;
|
|
233
|
+
'pisell2.event.confirm.information.tip': string;
|
|
234
|
+
'pisell2.event.confirm.information.other': string;
|
|
235
|
+
'pisell2.event.add.others': string;
|
|
236
|
+
'pisell2.event.checkout': string;
|
|
237
|
+
'pisell2.event.edit.event': string;
|
|
238
|
+
'pisell2.event.remove': string;
|
|
239
|
+
'pisell2.event.option': string;
|
|
240
|
+
'pisell2.event.order.items.error.title': string;
|
|
241
|
+
'pisell2.event.order.items.error.tip': (val: number) => string;
|
|
242
|
+
'pisell2.event.order.items.error.proceed': string;
|
|
243
|
+
'pisell2.event.order.items.error.return': string;
|
|
244
|
+
'pisell2.event.order.items.error.back': string;
|
|
245
|
+
'pisell2.event.order.items.error.continue': string;
|
|
246
|
+
'pisell2.event.order.items.error.all.tip': string;
|
|
247
|
+
'pisell2.event.remove.title': string;
|
|
248
|
+
'pisell2.event.remove.tip': string;
|
|
249
|
+
'pisell2.event.remove.cancel': string;
|
|
250
|
+
'pisell2.event.create': string;
|
|
251
|
+
'pisell2.event.search': string;
|
|
252
|
+
'pisell2.event.empty.service': string;
|
|
253
|
+
'pisell2.event.title': (val: number) => string;
|
|
254
|
+
'pisell2.event.create.form': string;
|
|
255
|
+
'pisell2.event.empty.event': string;
|
|
256
|
+
'pisell2.event.error.holder': string;
|
|
257
|
+
'pisell2.event.price.from': string;
|
|
258
|
+
'pisell2.event.empty.holder.title': string;
|
|
259
|
+
'pisell2.event.empty.holder.tip': string;
|
|
260
|
+
'pisell2.event.empty.holder.continue.tip': string;
|
|
261
|
+
'pisell2.event.empty.holder.go.back': string;
|
|
262
|
+
'pisell2.event.empty.holder.continue.anyway': string;
|
|
263
|
+
'pisell2.event.event.full.title': string;
|
|
264
|
+
'pisell2.event.event.full.tip': string;
|
|
265
|
+
'pisell2.event.event.full.ok': string;
|
|
266
|
+
'pisell2.event.capacity.limit.reached.title': string;
|
|
267
|
+
'pisell2.event.capacity.limit.reached.tip': string;
|
|
268
|
+
'pisell2.appointment.booking.empty.service': string;
|
|
269
|
+
'pisell2.appointment.booking.empty.time': string;
|
|
270
|
+
'pisell2.appointment.service.title': (val: number) => string;
|
|
271
|
+
'pisell2.appointment.add.guest': string;
|
|
272
|
+
'pisell2.appointment.edit.service': string;
|
|
273
|
+
'pisell2.appointment.remove.guest': string;
|
|
274
|
+
'pisell2.appointment.no.available.service': string;
|
|
275
|
+
'pisell2.appointment.max.guest': string;
|
|
276
|
+
'pisell2.appointment.no.available.time': string;
|
|
277
|
+
'pisell2.appointment.monday': string;
|
|
278
|
+
'pisell2.appointment.tuesday': string;
|
|
279
|
+
'pisell2.appointment.wednesday': string;
|
|
280
|
+
'pisell2.appointment.thursday': string;
|
|
281
|
+
'pisell2.appointment.friday': string;
|
|
282
|
+
'pisell2.appointment.saturday': string;
|
|
283
|
+
'pisell2.appointment.sunday': string;
|
|
284
|
+
'pisell2.appointment.any.professional': string;
|
|
285
|
+
'pisell2.appointment.for.maximum.availability': string;
|
|
286
|
+
'pisell2.text.apply': string;
|
|
287
|
+
'pisell2.text.goodpass': string;
|
|
288
|
+
'pisell2.text.goodpass.product-vouchers': string;
|
|
289
|
+
'pisell2.text.goodpass.view-more': string;
|
|
290
|
+
'pisell2.text.goodpass.code': string;
|
|
291
|
+
'pisell2.text.goodpass.enter-code': string;
|
|
292
|
+
'pisell2.text.goodpass.code-invalid': string;
|
|
293
|
+
'pisell2.text.goodpass.login': string;
|
|
294
|
+
'pisell2.text.goodpass.login-tip': string;
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
export default _default;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title: 获取背景色
|
|
3
|
+
* @description:
|
|
4
|
+
* @param {string} colors
|
|
5
|
+
* @return {*}
|
|
6
|
+
* @Author: WangHan
|
|
7
|
+
* @Date: 2025-01-11 22:44
|
|
8
|
+
*/
|
|
9
|
+
export declare const formatBackgroundColors: (colors: string[]) => string;
|
|
10
|
+
/**
|
|
11
|
+
* @title: 获取可用的 schedule
|
|
12
|
+
* @description:
|
|
13
|
+
* @param {any} schedule
|
|
14
|
+
* @return {*}
|
|
15
|
+
* @Author: zhiwei.Wang
|
|
16
|
+
* @Date: 2024-03-05 18:05
|
|
17
|
+
*/
|
|
18
|
+
export declare const getUsableSchedules: (schedule: any) => boolean;
|
|
19
|
+
/**
|
|
20
|
+
* @title: 获取 schedules 的所有颜色
|
|
21
|
+
* @description:
|
|
22
|
+
* @param {any} schedules
|
|
23
|
+
* @return {*}
|
|
24
|
+
* @Author: zhiwei.Wang
|
|
25
|
+
* @Date: 2024-03-05 18:02
|
|
26
|
+
*/
|
|
27
|
+
export declare const getScheduleColors: (schedules: any[]) => string;
|
|
28
|
+
/**
|
|
29
|
+
* @title: 格式化日期头部日期显示
|
|
30
|
+
* @description:
|
|
31
|
+
* @param {string} dateString
|
|
32
|
+
* @return {*}
|
|
33
|
+
* @Author: WangHan
|
|
34
|
+
* @Date: 2025-01-12 11:55
|
|
35
|
+
*/
|
|
36
|
+
export declare const formatMonthDisplay: (dateString: string) => string;
|
|
37
|
+
/**
|
|
38
|
+
* @title: 资源名称
|
|
39
|
+
* @description:
|
|
40
|
+
* @param {any} data
|
|
41
|
+
* @return {*}
|
|
42
|
+
* @Author: WangHan
|
|
43
|
+
* @Date: 2025-02-11 13:39
|
|
44
|
+
*/
|
|
45
|
+
export declare const resourceTitle: (data: any) => any;
|
|
46
|
+
export declare const formatHolder: (data: any[]) => any[];
|
|
47
|
+
export declare const formatGuest: (data: any[], products: any) => any[];
|
|
48
|
+
export declare const formatCarts: (data: any[], resources: any[]) => any[];
|
|
49
|
+
/**
|
|
50
|
+
* @title: 对资源进行排序
|
|
51
|
+
* @description:
|
|
52
|
+
* @param {any} currentResourcesMap
|
|
53
|
+
* @param {any} resourceSort
|
|
54
|
+
* @return {*}
|
|
55
|
+
* @Author: WangHan
|
|
56
|
+
* @Date: 2025-04-14 11:16
|
|
57
|
+
*/
|
|
58
|
+
export declare const sortResources: (resources: any[], resourceSort: any[]) => any[] | undefined;
|
|
59
|
+
export declare const getMeAccount: (val: any[]) => any;
|
|
60
|
+
export declare const formatCustomer: (val: any) => {
|
|
61
|
+
id: any;
|
|
62
|
+
username: string;
|
|
63
|
+
};
|
|
64
|
+
export declare const formatCurrentUser: () => {
|
|
65
|
+
id: any;
|
|
66
|
+
username: string;
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* @title: 检查是否有空的账户
|
|
70
|
+
* @description:
|
|
71
|
+
* @param {any} carts
|
|
72
|
+
* @param {any} accounts
|
|
73
|
+
* @return {*}
|
|
74
|
+
* @Author: WangHan
|
|
75
|
+
* @Date: 2025-04-15 17:05
|
|
76
|
+
*/
|
|
77
|
+
export declare const isEmptyGuest: (carts: any[], accounts: any[]) => boolean;
|
|
78
|
+
/**
|
|
79
|
+
* @title: 购物车中是否有空的资源数据
|
|
80
|
+
* @description:
|
|
81
|
+
* @param {any} carts
|
|
82
|
+
* @return {*}
|
|
83
|
+
* @Author: WangHan
|
|
84
|
+
* @Date: 2025-04-15 21:51
|
|
85
|
+
*/
|
|
86
|
+
export declare const isEmptyCartsResourceId: (carts: any[]) => boolean;
|
|
@@ -4,6 +4,6 @@ declare const useSendModal: (bookingId?: number) => {
|
|
|
4
4
|
setOpen: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
5
5
|
handleOpen: () => void;
|
|
6
6
|
handleValuesChange: (val: any) => void;
|
|
7
|
-
handleOk: (values: SendModalValues) => Promise<
|
|
7
|
+
handleOk: (values: SendModalValues) => Promise<any>;
|
|
8
8
|
};
|
|
9
9
|
export default useSendModal;
|