@pisell/private-materials 6.1.26 → 6.1.27
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 +1 -1
- package/build/lowcode/preview.js +150 -150
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +8 -8
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
- package/es/components/booking/addons/model.d.ts +10 -1
- package/es/components/booking/components/TabProduct/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
- package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
- package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/es/components/booking/components/footer/index.d.ts +0 -1
- package/es/components/booking/components/footer/index.js +136 -88
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/es/components/booking/components/tabPane/index.d.ts +4 -0
- package/es/components/booking/components/voucher/index.d.ts +3 -0
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/es/components/booking/forms/table/index.d.ts +1 -0
- package/es/components/booking/hooks/useClearCart.d.ts +1 -0
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +6 -0
- package/es/components/booking/info/client/index.d.ts +4 -0
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/es/components/booking/info/date/index.d.ts +1 -0
- package/es/components/booking/info/dateRange/index.d.ts +1 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/es/components/booking/info/index.d.ts +3 -0
- package/es/components/booking/info/model.d.ts +10 -1
- package/es/components/booking/info/notes/index.d.ts +1 -0
- package/es/components/booking/info/service/Lists.d.ts +2 -0
- package/es/components/booking/info/service/actions/index.d.ts +1 -0
- package/es/components/booking/info/service/addService/index.d.ts +11 -0
- package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +4 -0
- package/es/components/booking/info/service/editService/index.d.ts +7 -0
- package/es/components/booking/info/service/like/index.d.ts +1 -0
- package/es/components/booking/info/service/serviceItem/index.d.ts +1 -0
- package/es/components/booking/info/service/serviceList/index.d.ts +5 -0
- package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/es/components/booking/info/service2/Lists.d.ts +2 -0
- package/es/components/booking/info/service2/utils.d.ts +251 -0
- package/es/components/booking/info2/cartClientCard/index.d.ts +6 -0
- package/es/components/booking/info2/service/actions/index.d.ts +1 -0
- package/es/components/booking/info2/service/addService/index.d.ts +11 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
- package/es/components/booking/info2/service/editService/index.d.ts +7 -0
- package/es/components/booking/info2/service/index.d.ts +4 -0
- package/es/components/booking/info2/service/serviceItem/index.d.ts +1 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +5 -0
- package/es/components/booking/info2/utilsByBooking.d.ts +36 -0
- package/es/components/booking/locales.d.ts +906 -0
- package/es/components/booking/materiels/contacts/index.d.ts +1 -0
- package/es/components/booking/materiels/duration/index.d.ts +13 -0
- package/es/components/booking/materiels/holder/index.d.ts +1 -0
- package/es/components/booking/materiels/startTime/index.d.ts +9 -0
- package/es/components/booking/model.d.ts +9 -1
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/es/components/booking/notes/addNote/index.d.ts +1 -0
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/booking/utils.d.ts +174 -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/index.d.ts +1 -0
- package/es/components/eftpos/pos.d.ts +1 -0
- package/es/components/eftpos/receipt/index.d.ts +1 -0
- package/es/components/eftposPay/amount.d.ts +1 -0
- package/es/components/eftposPay/app.d.ts +1 -0
- package/es/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/es/components/eftposPay/component/fail/index.d.ts +1 -0
- package/es/components/eftposPay/component/fail/network.d.ts +1 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
- package/es/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/es/components/eftposPay/component/manual/index.d.ts +1 -0
- package/es/components/eftposPay/component/signature/index.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/device.d.ts +1 -0
- package/es/components/eftposPay/pay.d.ts +1 -0
- package/es/components/eftposPay/payo/config.d.ts +1 -0
- package/es/components/eftposPay/store/index.d.ts +1 -1
- package/es/components/eftposPay/tip.d.ts +1 -0
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
- package/es/components/eftposPay/windcave/windcave.d.ts +1 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/SelectHolderModal.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/CalenDateWeek/CallToBook/index.d.ts +11 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/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/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/es/components/login/index.d.ts +1 -0
- package/es/components/pay/toB/components/Cache/index.d.ts +10 -0
- package/es/components/pay/toB/components/Card/index.d.ts +7 -0
- package/es/components/pay/toB/components/CardGroup/index.d.ts +7 -0
- package/es/components/pay/toB/components/ConfirmedPayment/index.d.ts +6 -0
- package/es/components/pay/toB/components/Content/Footer.d.ts +7 -0
- package/es/components/pay/toB/components/Content/Header.d.ts +4 -0
- package/es/components/pay/toB/components/Content/index.d.ts +4 -0
- package/es/components/pay/toB/components/Content/utils.d.ts +16 -0
- package/es/components/pay/toB/components/index.d.ts +5 -0
- package/es/components/pay/toB/hooks.d.ts +12 -0
- package/es/components/pay/toB/index.d.ts +3 -0
- package/es/components/pay/toB/locales.d.ts +54 -0
- package/es/components/pay/toB/store/context.d.ts +3 -0
- package/es/components/pay/toB/store/hooks.d.ts +15 -0
- package/es/components/pay/toB/store/index.d.ts +3 -0
- package/es/components/pay/toB/store/provider.d.ts +4 -0
- package/es/components/pay/toB/store/utils.d.ts +13 -0
- package/es/components/pay/toB/types/index.d.ts +1 -0
- package/es/components/pay/toB/types/storeTypes.d.ts +143 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +7 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/es/components/pay/toC/model.d.ts +9 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/List/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/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/es/components/productSelect/components/TabProduct/index.d.ts +2 -0
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/es/components/productSelect/components/productGroup/index.d.ts +38 -0
- package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/es/components/schedules/calendar/index.d.ts +1 -0
- package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.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/products/ProductDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/products/index.d.ts +1 -0
- package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
- package/es/components/schedules/products/list/index.d.ts +1 -0
- package/es/components/schedules/resources/index.d.ts +1 -0
- package/es/components/schedules/resources/list/index.d.ts +1 -0
- package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/schedules/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Cart/Product.d.ts +3 -0
- package/es/components/shoppingCart/components/Cart/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/components/shoppingCart/hooks/useAddService.d.ts +1 -0
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
- package/es/components/shoppingCart/index.d.ts +1 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
- package/es/components/ticketBooking/components/menuBar/index.d.ts +3 -0
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
- package/es/components/ticketBooking/components/timeBar/index.d.ts +13 -0
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
- package/es/components/ticketBooking/locales.d.ts +180 -0
- package/es/components/ticketBooking/serve.d.ts +288 -0
- package/es/components/ticketBooking/utils/index.d.ts +62 -0
- package/es/components/wallet/Detail/model.d.ts +13 -1
- package/es/components/wallet/DiscountCard/model.d.ts +14 -1
- package/es/components/wallet/PointCard/model.d.ts +13 -1
- package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
- package/es/components/wallet/Voucher/model.d.ts +13 -1
- package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
- package/es/components/wallet/model.d.ts +9 -1
- package/es/components/walletList/index.d.ts +28 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/es/hooks/useEngineContext.d.ts +3 -0
- package/es/plus/clientCard/locales.d.ts +18 -0
- package/es/plus/clientName/index.d.ts +1 -0
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +2 -0
- package/es/plus/clinetSearch/index.d.ts +18 -0
- package/es/pro/comprehensiveSearch/index.d.ts +9 -0
- package/es/pro/comprehensiveSearch/types.d.ts +31 -0
- package/es/pro/pisellPhoneKeyboard/index.d.ts +12 -0
- package/es/pro/skuDetailModal/index.d.ts +5 -0
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
- package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
- package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/lib/components/booking/components/footer/index.d.ts +0 -1
- package/lib/components/booking/components/footer/index.js +34 -10
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/lib/components/booking/components/tabPane/index.d.ts +4 -0
- package/lib/components/booking/components/voucher/index.d.ts +3 -0
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/lib/components/booking/forms/table/index.d.ts +1 -0
- package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +6 -0
- package/lib/components/booking/info/client/index.d.ts +4 -0
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/utils.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
- package/lib/components/booking/info/date/index.d.ts +1 -0
- package/lib/components/booking/info/dateRange/index.d.ts +1 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/lib/components/booking/info/index.d.ts +3 -0
- package/lib/components/booking/info/model.d.ts +10 -1
- package/lib/components/booking/info/notes/index.d.ts +1 -0
- package/lib/components/booking/info/service/Lists.d.ts +2 -0
- package/lib/components/booking/info/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info/service/addService/index.d.ts +11 -0
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +4 -0
- package/lib/components/booking/info/service/editService/index.d.ts +7 -0
- package/lib/components/booking/info/service/like/index.d.ts +1 -0
- package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -0
- package/lib/components/booking/info/service/serviceList/index.d.ts +5 -0
- package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/lib/components/booking/info/service2/Lists.d.ts +2 -0
- package/lib/components/booking/info/service2/utils.d.ts +251 -0
- package/lib/components/booking/info2/cartClientCard/index.d.ts +6 -0
- package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -1
- package/lib/components/booking/info2/service/editService/index.d.ts +7 -0
- package/lib/components/booking/info2/service/index.d.ts +4 -0
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +5 -0
- package/lib/components/booking/info2/utilsByBooking.d.ts +36 -0
- package/lib/components/booking/locales.d.ts +906 -0
- package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
- package/lib/components/booking/materiels/duration/index.d.ts +13 -0
- package/lib/components/booking/materiels/holder/index.d.ts +1 -0
- package/lib/components/booking/materiels/startTime/index.d.ts +9 -0
- package/lib/components/booking/model.d.ts +9 -1
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/lib/components/booking/notes/addNote/index.d.ts +1 -0
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/booking/utils.d.ts +174 -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/index.d.ts +1 -0
- package/lib/components/eftpos/pos.d.ts +1 -0
- package/lib/components/eftpos/receipt/index.d.ts +1 -0
- package/lib/components/eftposPay/amount.d.ts +1 -0
- package/lib/components/eftposPay/app.d.ts +1 -0
- package/lib/components/eftposPay/component/alert/warn.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
- package/lib/components/eftposPay/component/header/titlebar.d.ts +1 -0
- package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
- package/lib/components/eftposPay/component/signature/index.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/device.d.ts +1 -0
- package/lib/components/eftposPay/pay.d.ts +1 -0
- package/lib/components/eftposPay/payo/config.d.ts +1 -0
- package/lib/components/eftposPay/store/index.d.ts +1 -1
- package/lib/components/eftposPay/tip.d.ts +1 -0
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
- package/lib/components/eftposPay/windcave/windcave.d.ts +1 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.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/CalenDateWeek/CallToBook/index.d.ts +11 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/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/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/lib/components/login/index.d.ts +1 -0
- package/lib/components/pay/toB/components/Cache/index.d.ts +10 -0
- package/lib/components/pay/toB/components/Card/index.d.ts +7 -0
- package/lib/components/pay/toB/components/CardGroup/index.d.ts +7 -0
- package/lib/components/pay/toB/components/ConfirmedPayment/index.d.ts +6 -0
- package/lib/components/pay/toB/components/Content/Footer.d.ts +7 -0
- package/lib/components/pay/toB/components/Content/Header.d.ts +4 -0
- package/lib/components/pay/toB/components/Content/index.d.ts +4 -0
- package/lib/components/pay/toB/components/Content/utils.d.ts +16 -0
- package/lib/components/pay/toB/components/index.d.ts +5 -0
- package/lib/components/pay/toB/hooks.d.ts +12 -0
- package/lib/components/pay/toB/index.d.ts +3 -0
- package/lib/components/pay/toB/locales.d.ts +54 -0
- package/lib/components/pay/toB/store/context.d.ts +3 -0
- package/lib/components/pay/toB/store/hooks.d.ts +15 -0
- package/lib/components/pay/toB/store/index.d.ts +3 -0
- package/lib/components/pay/toB/store/provider.d.ts +4 -0
- package/lib/components/pay/toB/store/utils.d.ts +13 -0
- package/lib/components/pay/toB/types/index.d.ts +1 -0
- package/lib/components/pay/toB/types/storeTypes.d.ts +143 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +7 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/lib/components/pay/toC/model.d.ts +9 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/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/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/lib/components/productSelect/components/TabProduct/index.d.ts +2 -0
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/lib/components/productSelect/components/productGroup/index.d.ts +38 -0
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/lib/components/schedules/calendar/index.d.ts +1 -0
- package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.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/products/ProductDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/products/index.d.ts +1 -0
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
- package/lib/components/schedules/products/list/index.d.ts +1 -0
- package/lib/components/schedules/resources/index.d.ts +1 -0
- package/lib/components/schedules/resources/list/index.d.ts +1 -0
- package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/schedules/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +3 -0
- package/lib/components/shoppingCart/components/Cart/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/components/shoppingCart/hooks/useAddService.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
- package/lib/components/shoppingCart/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +3 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +13 -0
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
- package/lib/components/ticketBooking/locales.d.ts +180 -0
- package/lib/components/ticketBooking/serve.d.ts +288 -0
- package/lib/components/ticketBooking/utils/index.d.ts +62 -0
- package/lib/components/wallet/Detail/model.d.ts +13 -1
- package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
- package/lib/components/wallet/PointCard/model.d.ts +13 -1
- package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
- package/lib/components/wallet/Voucher/model.d.ts +13 -1
- package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
- package/lib/components/wallet/model.d.ts +9 -1
- package/lib/components/walletList/index.d.ts +28 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/lib/hooks/useEngineContext.d.ts +3 -0
- package/lib/plus/clientCard/locales.d.ts +18 -0
- package/lib/plus/clientName/index.d.ts +1 -0
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +1 -0
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +1 -0
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +2 -0
- package/lib/plus/clinetSearch/index.d.ts +18 -0
- package/lib/pro/comprehensiveSearch/index.d.ts +9 -0
- package/lib/pro/comprehensiveSearch/types.d.ts +31 -0
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +12 -0
- package/lib/pro/skuDetailModal/index.d.ts +5 -0
- package/package.json +12 -12
@@ -0,0 +1,20 @@
|
|
1
|
+
export declare const useService: ({ renderMode, onEdit, state, dispatch, }: {
|
2
|
+
renderMode?: any;
|
3
|
+
onEdit?: any;
|
4
|
+
state?: any;
|
5
|
+
dispatch?: any;
|
6
|
+
}) => {
|
7
|
+
createBookingData: ({ product }: any) => Promise<any>;
|
8
|
+
editBookingData: ({ changeValues }: {
|
9
|
+
changeValues: any;
|
10
|
+
}) => Promise<any>;
|
11
|
+
createBooking: ({ booking }: {
|
12
|
+
booking: any;
|
13
|
+
}) => Promise<void>;
|
14
|
+
editBooking: ({ booking }: {
|
15
|
+
booking: any;
|
16
|
+
}) => Promise<void>;
|
17
|
+
goEditPanel: ({ booking }: {
|
18
|
+
booking: any;
|
19
|
+
}) => void;
|
20
|
+
};
|
@@ -0,0 +1,251 @@
|
|
1
|
+
import dayjs from 'dayjs';
|
2
|
+
export declare const formatActiveKey: (lists: any[], platform: string, isEdit: boolean) => any[];
|
3
|
+
/**
|
4
|
+
* @title: 获取资源名称
|
5
|
+
* @description:
|
6
|
+
* @param {any} id
|
7
|
+
* @param {any} state
|
8
|
+
* @return {*}
|
9
|
+
* @Author: WangHan
|
10
|
+
* @Date: 2024-11-29 18:02
|
11
|
+
*/
|
12
|
+
export declare const getResourceItem: (id: any, state: any) => any;
|
13
|
+
/**
|
14
|
+
* @title: 错误提示
|
15
|
+
* @description:
|
16
|
+
* @param {any} service
|
17
|
+
* @param {any} resourceItem
|
18
|
+
* @return {*}
|
19
|
+
* @Author: WangHan
|
20
|
+
* @Date: 2024-11-29 18:41
|
21
|
+
*/
|
22
|
+
export declare const getErrorMessage: (service: any, resourceItem: any, isDay?: boolean) => any;
|
23
|
+
/**
|
24
|
+
* @title: 格式化主体列表
|
25
|
+
* @description:
|
26
|
+
* @param {any} lists
|
27
|
+
* @param {boolean} isOpenGroup
|
28
|
+
* @return {*}
|
29
|
+
* @Author: WangHan
|
30
|
+
* @Date: 2024-12-04 11:27
|
31
|
+
*/
|
32
|
+
export declare const formatHolderLists: (lists: any) => any;
|
33
|
+
export declare const isBookingProduct: (extension_type: any, bol?: boolean) => boolean | undefined;
|
34
|
+
/**
|
35
|
+
* @title: 是否是预约商品
|
36
|
+
* @description:
|
37
|
+
* @return {*}
|
38
|
+
* @Author: WangHan
|
39
|
+
* @Date: 2024-12-06 11:24
|
40
|
+
*/
|
41
|
+
export declare const isDayBookingProduct: (item: any, state: any) => boolean | undefined;
|
42
|
+
export declare const handleChangeHolder: (products: any[], currentItem: any, other: any) => any[];
|
43
|
+
/**
|
44
|
+
* @title: 更新商品数据
|
45
|
+
* @description:
|
46
|
+
* @param {any} state
|
47
|
+
* @param currentItem
|
48
|
+
* @param {string} type
|
49
|
+
* @param {any} other
|
50
|
+
* @param actions
|
51
|
+
* @return {*}
|
52
|
+
* @Author: WangHan
|
53
|
+
* @Date: 2025-01-03 15:00
|
54
|
+
*/
|
55
|
+
export declare const updateServices: (state: any, currentItem: any, type?: string, other?: any, actions?: any) => any;
|
56
|
+
export declare const formItems: (items: any[]) => any[];
|
57
|
+
export declare const getIsSubjectRequire: (state: any) => boolean;
|
58
|
+
export declare const isNormalProductByDurationSchedule: (item: any) => boolean;
|
59
|
+
export declare const isAllNormalProduct: (items: any[]) => boolean;
|
60
|
+
export declare const isAllNormalProductByState: (state: any) => boolean;
|
61
|
+
export declare const genRowKey: (key: string) => string;
|
62
|
+
/**
|
63
|
+
* @title: 格式化商品数据
|
64
|
+
* @description:
|
65
|
+
* @param {any} lists
|
66
|
+
* @return {*}
|
67
|
+
* @Author: WangHan
|
68
|
+
* @Date: 2024-11-29 17:36
|
69
|
+
*/
|
70
|
+
export declare const formatProducts: (lists: any[], state: any, isRenderGroup?: boolean, isGeneral?: boolean, isParallelResource?: boolean) => {
|
71
|
+
_origin: any;
|
72
|
+
id: any;
|
73
|
+
_id: any;
|
74
|
+
name: any;
|
75
|
+
title: any;
|
76
|
+
price: any;
|
77
|
+
total: number;
|
78
|
+
origin_total: number;
|
79
|
+
num: any;
|
80
|
+
image: any;
|
81
|
+
isShowNote: boolean;
|
82
|
+
note: any;
|
83
|
+
like_status: any;
|
84
|
+
bundle: any;
|
85
|
+
options: any;
|
86
|
+
errorMessage: string;
|
87
|
+
product_option_string: any;
|
88
|
+
discount_reason: any;
|
89
|
+
resource_id: any;
|
90
|
+
relation_form_name: any;
|
91
|
+
holder_title: any;
|
92
|
+
start_date: any;
|
93
|
+
end_date: any;
|
94
|
+
holder_id: any;
|
95
|
+
isNormalProduct: boolean;
|
96
|
+
isCustomItem: any;
|
97
|
+
vouchersApplicable: any;
|
98
|
+
locale: any;
|
99
|
+
symbol: any;
|
100
|
+
relation_products: any;
|
101
|
+
items: any[];
|
102
|
+
}[];
|
103
|
+
/**
|
104
|
+
* @title: 禁用日期
|
105
|
+
* @description:
|
106
|
+
* @param {any} current
|
107
|
+
* @param {string} position
|
108
|
+
* @param {any} startDate
|
109
|
+
* @return {*}
|
110
|
+
* @Author: WangHan
|
111
|
+
* @Date: 2024-12-03 17:51
|
112
|
+
*/
|
113
|
+
export declare const disabledDate: (current: any, position: string, currentDate: any) => any;
|
114
|
+
/**
|
115
|
+
* @title: 是否是跨日预约
|
116
|
+
* @description:
|
117
|
+
* @param {any} state
|
118
|
+
* @return {*}
|
119
|
+
* @Author: WangHan
|
120
|
+
* @Date: 2024-12-04 09:49
|
121
|
+
*/
|
122
|
+
export declare const isDayBooking: (state: any) => boolean;
|
123
|
+
export declare const isDaysBooking: (state: any) => boolean;
|
124
|
+
export declare const isEventBooking: (state: any) => boolean;
|
125
|
+
export declare const isAppointmentProduct: (item: any) => boolean;
|
126
|
+
/**
|
127
|
+
* @title: 是否是terminal上的跨日预约
|
128
|
+
* @description:
|
129
|
+
* @param {any} state
|
130
|
+
* @return {*}
|
131
|
+
* @Author: WangHan
|
132
|
+
* @Date: 2024-12-04 15:31
|
133
|
+
*/
|
134
|
+
export declare const isTerminalDayBooking: (state: any) => any;
|
135
|
+
export declare const formatDayDate: (_extend: any) => any;
|
136
|
+
/**
|
137
|
+
* @title: 根据营业日时间格式化时间
|
138
|
+
* @description:
|
139
|
+
* @param {any} state
|
140
|
+
* @return {*}
|
141
|
+
* @Author: WangHan
|
142
|
+
* @Date: 2024-12-04 12:07
|
143
|
+
*/
|
144
|
+
export declare const formatDayTime: ({ startDate, endDate }: any) => {
|
145
|
+
startDateTime: dayjs.Dayjs;
|
146
|
+
endDateTime: dayjs.Dayjs;
|
147
|
+
};
|
148
|
+
export declare const formatDateTime: (start_date: any, end_date: any) => {
|
149
|
+
value: dayjs.Dayjs;
|
150
|
+
end_date: dayjs.Dayjs;
|
151
|
+
};
|
152
|
+
/**
|
153
|
+
* @title: 初始化日期
|
154
|
+
* @description:
|
155
|
+
* @return {*}
|
156
|
+
* @Author: WangHan
|
157
|
+
* @Date: 2024-12-06 17:24
|
158
|
+
*/
|
159
|
+
export declare const initDate: () => {
|
160
|
+
value: dayjs.Dayjs;
|
161
|
+
end_date: dayjs.Dayjs;
|
162
|
+
};
|
163
|
+
/**
|
164
|
+
* @title: 是否有预约商品
|
165
|
+
* @description:
|
166
|
+
* @return {*}
|
167
|
+
* @Author: WangHan
|
168
|
+
* @Date: 2024-12-12 15:47
|
169
|
+
*/
|
170
|
+
export declare const isHasDayAppointmentProduct: (state: any) => boolean;
|
171
|
+
/**
|
172
|
+
* @title: 过滤出如果是预约商品,则只获取跨日的预约商品
|
173
|
+
* @description:
|
174
|
+
* @param {any} lists
|
175
|
+
* @return {*}
|
176
|
+
* @Author: WangHan
|
177
|
+
* @Date: 2024-12-13 16:44
|
178
|
+
*/
|
179
|
+
export declare const getDayProducts: (holderId: number, lists: any, isTerminal?: boolean) => any;
|
180
|
+
/**
|
181
|
+
* @title: 格式化表单数据
|
182
|
+
* @description:
|
183
|
+
* @param {any} state
|
184
|
+
* @return {*}
|
185
|
+
* @Author: WangHan
|
186
|
+
* @Date: 2024-12-30 22:19
|
187
|
+
*/
|
188
|
+
export declare const getPets: (state: any) => any;
|
189
|
+
/**
|
190
|
+
* @title: 得出预约商品
|
191
|
+
* @description:
|
192
|
+
* @param {any} state
|
193
|
+
* @return {*}
|
194
|
+
* @Author: WangHan
|
195
|
+
* @Date: 2024-12-30 22:26
|
196
|
+
*/
|
197
|
+
export declare const getAppointmentService: (state: any) => any;
|
198
|
+
/**
|
199
|
+
* @title: 判断是否打开删除宠物弹窗
|
200
|
+
* @description:
|
201
|
+
* @param {any} state
|
202
|
+
* @param {any} newVal
|
203
|
+
* @return {*}
|
204
|
+
* @Author: WangHan
|
205
|
+
* @Date: 2024-12-16 16:12
|
206
|
+
*/
|
207
|
+
export declare const isOpenDeletePet: (state: any, newVal: any) => {
|
208
|
+
ids: any;
|
209
|
+
lists: any;
|
210
|
+
};
|
211
|
+
/**
|
212
|
+
* @title: 当前选中的表单id
|
213
|
+
* @description:
|
214
|
+
* @param {any} state
|
215
|
+
* @return {*}
|
216
|
+
* @Author: WangHan
|
217
|
+
* @Date: 2024-12-17 14:40
|
218
|
+
*/
|
219
|
+
export declare const holderId: (state: any) => number;
|
220
|
+
/**
|
221
|
+
* @title: 更新套餐的价格
|
222
|
+
* @description:
|
223
|
+
* @param {any} currentValue
|
224
|
+
* @param {any} newBundleData
|
225
|
+
* @return {*}
|
226
|
+
* @Author: WangHan
|
227
|
+
* @Date: 2024-12-31 15:16
|
228
|
+
*/
|
229
|
+
export declare function updateNormalBundlePrice(currentValue: any, newBundleData: any): any[];
|
230
|
+
/**
|
231
|
+
* @title: 更新预约商品报价单
|
232
|
+
* @description:
|
233
|
+
* @param {any} state
|
234
|
+
* @param {any} cacheItem
|
235
|
+
* @return {*}
|
236
|
+
* @Author: WangHan
|
237
|
+
* @Date: 2024-12-25 16:41
|
238
|
+
*/
|
239
|
+
export declare const updateAppointmentServicePrice: (state: any, { start_date, end_date, product_id }: any) => Promise<{
|
240
|
+
multiDayPrices: any;
|
241
|
+
price: number;
|
242
|
+
}>;
|
243
|
+
/**
|
244
|
+
* @title: 更新普通商品报价单价格
|
245
|
+
* @description:
|
246
|
+
* @param {any} state
|
247
|
+
* @return {*}
|
248
|
+
* @Author: WangHan
|
249
|
+
* @Date: 2024-12-24 11:32
|
250
|
+
*/
|
251
|
+
export declare const updateServicePrice: (state: any) => never[] | Promise<any>;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import type { ClientCardRef } from './types';
|
3
|
+
import './index.less';
|
4
|
+
export type { ClientData } from './types';
|
5
|
+
declare const CartClientCard: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<ClientCardRef>>;
|
6
|
+
export default CartClientCard;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { PisellDrawerProps } from '../../../components/drawer';
|
2
|
+
import '../../../info/service/addService/index.less';
|
3
|
+
interface AddServiceProps {
|
4
|
+
onEdit: any;
|
5
|
+
dispatch?: any;
|
6
|
+
state?: any;
|
7
|
+
drawerProps?: PisellDrawerProps;
|
8
|
+
renderMode?: 'current' | 'drawer';
|
9
|
+
}
|
10
|
+
declare const Info: (props: AddServiceProps) => JSX.Element;
|
11
|
+
export default Info;
|
@@ -0,0 +1,98 @@
|
|
1
|
+
import dayjs from 'dayjs';
|
2
|
+
export declare const getUsableTime: (cacheItem: any) => any;
|
3
|
+
export declare const getDurationProps: ({ cacheItem, useStartTime, currentResource, slice, }: any) => {
|
4
|
+
startDate: dayjs.Dayjs;
|
5
|
+
usableTime: any;
|
6
|
+
duration: string | number | {
|
7
|
+
type: string;
|
8
|
+
value: number;
|
9
|
+
};
|
10
|
+
locale: string;
|
11
|
+
slice: any;
|
12
|
+
selectProps: {
|
13
|
+
size: string;
|
14
|
+
};
|
15
|
+
};
|
16
|
+
/**
|
17
|
+
* @title: 灵活时长选项
|
18
|
+
* @description:
|
19
|
+
* @param {*} useMemo
|
20
|
+
* @return {*}
|
21
|
+
* @Author: zhiwei.Wang
|
22
|
+
* @Date: 2024-02-23 10:10
|
23
|
+
*/
|
24
|
+
export declare const getFlexibleOption: ({ cacheItem, useStartTime, currentResource, slice, durationProps, }: any) => {
|
25
|
+
label: any;
|
26
|
+
value: any;
|
27
|
+
} | null;
|
28
|
+
export declare const getTimeSlices: ({ state }: any) => {
|
29
|
+
timeSlices: {
|
30
|
+
label: string;
|
31
|
+
value: string;
|
32
|
+
}[];
|
33
|
+
};
|
34
|
+
/**
|
35
|
+
* @title: 时间切片
|
36
|
+
* @description:
|
37
|
+
* @return {*}
|
38
|
+
* @Author: zhiwei.Wang
|
39
|
+
* @Date: 2024-01-09 13:37
|
40
|
+
*/
|
41
|
+
export declare const getTimeObj: ({ cacheItem, useStartTime, currentResource, state, useDuration, durationProps, }: any) => {
|
42
|
+
timeSlices: {
|
43
|
+
label: string;
|
44
|
+
value: string;
|
45
|
+
}[];
|
46
|
+
durationSlicesBasedOnTime: {
|
47
|
+
label: string;
|
48
|
+
value: number;
|
49
|
+
}[];
|
50
|
+
};
|
51
|
+
/**
|
52
|
+
* @title: 获取资源列表
|
53
|
+
* @description:
|
54
|
+
* @return {*}
|
55
|
+
* @Author: zhiwei.Wang
|
56
|
+
* @Date: 2024-01-09 13:38
|
57
|
+
*/
|
58
|
+
export declare const formatResources: ({ cacheItem, resourcesOrigin, id }: any) => {
|
59
|
+
list: any;
|
60
|
+
maps: any;
|
61
|
+
};
|
62
|
+
export declare const setDefaultResource: ({ cacheItem, resources }: any) => any;
|
63
|
+
/**
|
64
|
+
* @title: 设置默认容量
|
65
|
+
* @description:
|
66
|
+
* @param {any} param1
|
67
|
+
* @return {*}
|
68
|
+
* @Author: zhiwei.Wang
|
69
|
+
* @Date: 2024-09-19 20:26
|
70
|
+
*/
|
71
|
+
export declare const setDefaultCapacitys: ({ capacitys, cacheItem }: any) => any;
|
72
|
+
/**
|
73
|
+
* @title: 将商品内关联的资源id还原成数据
|
74
|
+
* @description:
|
75
|
+
* @param {any} resourcesOriginMap
|
76
|
+
* @param {any} cacheItem
|
77
|
+
* @return {*}
|
78
|
+
* @Author: zhiwei.Wang
|
79
|
+
* @Date: 2024-09-19 20:23
|
80
|
+
*/
|
81
|
+
export declare const getResourceByIds: (resourcesOriginMap: any, cacheItem: any, extraParams?: any) => any[];
|
82
|
+
/**
|
83
|
+
* @title: 预生成服务的 extend
|
84
|
+
* @description:
|
85
|
+
* @param {any} param1
|
86
|
+
* @return {*}
|
87
|
+
* @Author: zhiwei.Wang
|
88
|
+
* @Date: 2024-06-01 13:25
|
89
|
+
*/
|
90
|
+
export declare const getProductExtend: ({ cacheItem, state, isDisabledTime }: any) => any;
|
91
|
+
/**
|
92
|
+
* @title: 格式化服务列表
|
93
|
+
* @description: 后端列表返回的product_resource.resources 的optional_resource等不是最新数据
|
94
|
+
* 使用with resourceRelation后 返回的resource_relation是实时数据
|
95
|
+
* 这里做一次转换
|
96
|
+
* @param list
|
97
|
+
*/
|
98
|
+
export declare const transServiceList: (list: any[]) => any[];
|
@@ -0,0 +1,36 @@
|
|
1
|
+
export declare const getResourceTimeIsUsable: (item: any, cacheItem: any, resourceItem: any) => any;
|
2
|
+
export declare const getSumCapacity: ({ cacheItem }: any, isCalcQuantity?: boolean) => number;
|
3
|
+
/**
|
4
|
+
* @title: 查找是否有可用的time
|
5
|
+
* @description:
|
6
|
+
* @param {any} resourceItem
|
7
|
+
* @return {*}
|
8
|
+
* @Author: zhiwei.Wang
|
9
|
+
* @Date: 2024-01-09 13:57
|
10
|
+
*/
|
11
|
+
export declare const formatTimes: (resourceItem: any, cacheItem: any) => any;
|
12
|
+
export declare const getErrorList: (resource: any, cacheItem: any) => {
|
13
|
+
label: any;
|
14
|
+
type: string;
|
15
|
+
}[];
|
16
|
+
/**
|
17
|
+
* @title: 格式化资源, 添加自定义参数
|
18
|
+
* @description:
|
19
|
+
* @param {any} resourceItem
|
20
|
+
* @return {*}
|
21
|
+
* @Author: zhiwei.Wang
|
22
|
+
* @Date: 2024-01-09 13:40
|
23
|
+
*/
|
24
|
+
export declare const formatResource: (resourceItem: any, cacheItem?: any, formatLabel?: any) => any;
|
25
|
+
export declare const getAppointmentTimingPreference: (state: any) => any;
|
26
|
+
/**
|
27
|
+
* @title: 创建服务的开始时间和结束时间
|
28
|
+
* @description:
|
29
|
+
* @param {any} state
|
30
|
+
* @param {any} item
|
31
|
+
* @return {*}
|
32
|
+
* @Author: zhiwei.Wang
|
33
|
+
* @Date: 2024-01-26 14:09
|
34
|
+
*/
|
35
|
+
export declare const getServiceStartTimeAndEndTime: (state: any, cacheItem: any, timeObj: any) => any;
|
36
|
+
export declare const getIsNoSpecAndPackage: (product: any) => boolean;
|