@pisell/private-materials 3.3.50 → 3.3.53
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 +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +7 -7
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +6 -6
- package/es/businessModel/SalesModel/Sales/index.d.ts +24 -0
- package/es/businessModel/SalesModel/hooks/index.d.ts +1 -0
- package/es/businessModel/SalesModel/index.d.ts +4 -0
- package/es/businessModel/index.d.ts +0 -0
- package/es/components/Sales/Cart/index.d.ts +53 -0
- package/es/components/Sales/Cart/serve.d.ts +2 -0
- package/es/components/Sales/Cart/types.d.ts +31 -0
- package/es/components/Sales/Cart/utils.d.ts +23 -0
- package/es/components/Sales/Checkout/index.d.ts +33 -0
- package/es/components/Sales/Checkout/serve.d.ts +2 -0
- package/es/components/Sales/Checkout/utils.d.ts +35 -0
- package/es/components/Sales/Customer/index.d.ts +24 -0
- package/es/components/Sales/Event/Detail.d.ts +29 -0
- package/es/components/Sales/Event/index.d.ts +30 -0
- package/es/components/Sales/Event/serve.d.ts +39 -0
- package/es/components/Sales/Holder/index.d.ts +33 -0
- package/es/components/Sales/Holder/serve.d.ts +8 -0
- package/es/components/Sales/Init/index.d.ts +25 -0
- package/es/components/Sales/Init/serve.d.ts +3 -0
- package/es/components/Sales/Resource/index.d.ts +26 -0
- package/es/components/Sales/Resource/serve.d.ts +5 -0
- package/es/components/Sales/Step/index.d.ts +39 -0
- package/es/components/Sales/Summary/index.d.ts +25 -0
- package/es/components/Sales/Summary/serve.d.ts +0 -0
- package/es/components/Sales/Summary/utils.d.ts +36 -0
- package/es/components/Sales/hooks/index.d.ts +1 -0
- package/es/components/Sales/index.d.ts +20 -0
- package/es/components/Sales/utils/index.d.ts +1 -0
- package/es/components/appointmentBooking/assets/resource.svg +1 -0
- package/es/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +7 -0
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +4 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Cart/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Cart/utils.d.ts +56 -0
- package/es/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +12 -0
- package/es/components/appointmentBooking/components/Content/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Date/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Form/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Form/utils.d.ts +8 -0
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Guest/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Header/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Resource/index.d.ts +7 -0
- package/es/components/appointmentBooking/components/Resource/index.js +44 -5
- package/es/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
- package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/TimeSlicing/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +5 -0
- package/es/components/appointmentBooking/context.d.ts +35 -0
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +4 -0
- package/es/components/appointmentBooking/deposit/index.d.ts +4 -0
- package/es/components/appointmentBooking/hooks.d.ts +106 -0
- package/es/components/appointmentBooking/hooks.js +218 -177
- package/es/components/appointmentBooking/index.d.ts +3 -0
- package/es/components/appointmentBooking/locales.d.ts +357 -0
- package/es/components/appointmentBooking/locales.js +9 -0
- package/es/components/appointmentBooking/mock.d.ts +627 -0
- package/es/components/appointmentBooking/status.d.ts +21 -0
- package/es/components/appointmentBooking/type.d.ts +17 -0
- package/es/components/appointmentBooking/utils.d.ts +203 -0
- package/es/components/booking/addons/index.d.ts +17 -0
- package/es/components/booking/components/TabProduct/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/productItem/index.js +14 -2
- 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/customSelect/index.d.ts +38 -0
- package/es/components/booking/components/drawer/index.js +4 -2
- package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/es/components/booking/components/footer/AppointmentProductModal/index.d.ts +3 -0
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/es/components/booking/components/footer/amount.d.ts +24 -0
- package/es/components/booking/components/footer/utils.d.ts +40 -0
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/es/components/booking/components/voucher/index.d.ts +3 -0
- package/es/components/booking/components/voucher/index.js +25 -17
- package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/es/components/booking/deposit/index.d.ts +1 -0
- package/es/components/booking/forms/footer.d.ts +7 -0
- package/es/components/booking/forms/sendModal/index.d.ts +27 -0
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +10 -0
- package/es/components/booking/forms/single/index.d.ts +11 -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/useCreateBookingPageHeader.d.ts +6 -0
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/es/components/booking/info/Provider.d.ts +0 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +6 -0
- package/es/components/booking/info/client/index.js +2 -1
- 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/dateRange/index.d.ts +1 -0
- package/es/components/booking/info/header/index.d.ts +1 -0
- package/es/components/booking/info/hooks/useGetHolderList.d.ts +2 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
- package/es/components/booking/info/index.d.ts +3 -0
- package/es/components/booking/info/model.d.ts +14 -0
- package/es/components/booking/info/pet/ChangePetModal/index.d.ts +4 -0
- package/es/components/booking/info/pet/index.js +3 -0
- package/es/components/booking/info/service/addService/index.d.ts +11 -0
- package/es/components/booking/info/service/editService/EditTabs/index.d.ts +3 -0
- package/es/components/booking/info/service/index.d.ts +4 -0
- package/es/components/booking/info/service/like/index.d.ts +1 -0
- package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
- package/es/components/booking/info/service/serviceManager/utils.d.ts +0 -0
- package/es/components/booking/info/service2/index.d.ts +6 -0
- package/es/components/booking/info/service2/status.d.ts +31 -0
- package/es/components/booking/info/service2/utils.d.ts +247 -0
- package/es/components/booking/info/service2/utils.js +27 -27
- package/es/components/booking/info2/index.js +3 -3
- package/es/components/booking/info2/service/addService/index.d.ts +11 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +3 -3
- package/es/components/booking/info2/service/addService/utils.js +48 -52
- package/es/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
- package/es/components/booking/info2/service/editService/Resources/index.d.ts +4 -0
- package/es/components/booking/info2/service/editService/index.d.ts +7 -0
- package/es/components/booking/info2/service/editService/index.js +1 -0
- package/es/components/booking/info2/service/editService/utils.d.ts +13 -0
- package/es/components/booking/info2/service/index.d.ts +4 -0
- package/es/components/booking/info2/utils.d.ts +4 -0
- package/es/components/booking/locales.d.ts +813 -0
- package/es/components/booking/materiels/contacts/index.d.ts +16 -0
- package/es/components/booking/materiels/duration/index.d.ts +1 -0
- package/es/components/booking/materiels/holder/index.d.ts +6 -0
- package/es/components/booking/materiels/startTime/index.d.ts +1 -0
- package/es/components/booking/model.d.ts +115 -0
- 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 +4 -0
- package/es/components/booking/payments/index.d.ts +9 -0
- package/es/components/booking/utils.d.ts +173 -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 +47 -0
- package/es/components/eftpos/pos.d.ts +1 -0
- package/es/components/eftpos/receipt/index.d.ts +1 -0
- package/es/components/eftpos/surcharge/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 +4 -0
- package/es/components/eftposPay/component/fail/index.d.ts +4 -0
- package/es/components/eftposPay/component/fail/network.d.ts +1 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +10 -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/hooks.d.ts +35 -0
- package/es/components/eftposPay/index.d.ts +5 -0
- package/es/components/eftposPay/locales.d.ts +330 -0
- package/es/components/eftposPay/pay.d.ts +21 -0
- package/es/components/eftposPay/payo/config.d.ts +13 -0
- package/es/components/eftposPay/payo/hooks.d.ts +10 -0
- package/es/components/eftposPay/store/index.d.ts +4 -4
- package/es/components/eftposPay/tip.d.ts +1 -0
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eftposPay/tyro/index.d.ts +9 -0
- package/es/components/eftposPay/windcave/helper.d.ts +23 -0
- package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
- package/es/components/eftposPay/windcave/windcave.d.ts +7 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +4 -0
- package/es/components/eventBooking/components/OpenCard/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +3 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +4 -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 +4 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +13 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +4 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +5 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +4 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +4 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +4 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +14 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +34 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +4 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.js +23 -4
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +3 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +3 -0
- package/es/components/eventBooking/components/bookingDetailModal/index.d.ts +7 -0
- package/es/components/eventBooking/components/bookingServiceList/index.d.ts +17 -0
- package/es/components/eventBooking/components/eventCard/index.d.ts +14 -0
- package/es/components/eventBooking/components/productCard/index.d.ts +16 -0
- package/es/components/eventBooking/components/progressBar/index.d.ts +16 -0
- package/es/components/eventBooking/components/resourceDisplay/index.d.ts +23 -0
- package/es/components/eventBooking/components/resourceUsability/index.d.ts +12 -0
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +10 -0
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +13 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +4 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimes/index.d.ts +9 -0
- package/es/components/eventBooking/components/scheduleCalendar/index.d.ts +14 -0
- package/es/components/eventBooking/components/selectHolder/index.d.ts +22 -0
- package/es/components/eventBooking/components/timeResourceSelector/index.d.ts +20 -0
- package/es/components/eventBooking/index.d.ts +4 -0
- package/es/components/eventBooking/locales.d.ts +222 -0
- package/es/components/eventBooking/mock.d.ts +627 -0
- package/es/components/eventBooking/status.d.ts +21 -0
- package/es/components/eventBooking/type.d.ts +17 -0
- package/es/components/eventBooking/utils.d.ts +45 -0
- package/es/components/index.d.ts +18 -0
- package/es/components/login/index.d.ts +9 -0
- package/es/components/login/locales.d.ts +24 -0
- package/es/components/pay/toC/PaymentList/index.d.ts +19 -0
- package/es/components/pay/toC/PaymentList/serve.d.ts +28 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -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 +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -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/PaymentMethods/StripePay/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +18 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +113 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletAvailable/index.d.ts +16 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletBestValueFound/index.d.ts +17 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +8 -0
- package/es/components/pay/toC/WalletPassBlock/index.d.ts +21 -0
- package/es/components/pay/toC/index.d.ts +3 -0
- package/es/components/pay/toC/locales.d.ts +286 -0
- package/es/components/pay/toC/model.d.ts +39 -0
- package/es/components/pay/toC/serve.d.ts +57 -0
- package/es/components/pay/toC/utils.d.ts +51 -0
- 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 +3 -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/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/index.d.ts +16 -0
- package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.js +18 -6
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/es/components/productExtension/index.d.ts +7 -0
- package/es/components/productSelect/components/TabProduct/index.d.ts +2 -0
- package/es/components/productSelect/components/TabProduct/index.js +28 -10
- package/es/components/productSelect/components/TabProduct/tabs/index.d.ts +21 -0
- package/es/components/productSelect/components/TabProduct/tabs/index.js +243 -0
- package/es/components/productSelect/components/TabProduct/tabs/index.less +126 -0
- package/es/components/productSelect/components/gridLayout/index.d.ts +9 -0
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/es/components/productSelect/components/pisellPriceText/index.js +43 -0
- package/es/components/productSelect/components/productGroup/index.d.ts +38 -0
- package/es/components/productSelect/components/productGroup/index.js +20 -7
- package/es/components/productSelect/components/productGroup/index.less +14 -1
- package/es/components/productSelect/hooks/useToken.d.ts +18 -0
- package/es/components/productSelect/index.d.ts +24 -0
- package/es/components/productSelect/index.less +1 -2
- package/es/components/productSelect/locales.d.ts +18 -0
- package/es/components/productSelect/mock.d.ts +134 -0
- package/es/components/productSelect/theme/token.d.ts +17 -0
- package/es/components/ruleSetting/index.d.ts +10 -0
- package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/es/components/ruleSetting/server.d.ts +4 -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/RenderScheduleItem/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/es/components/schedules/index.d.ts +3 -0
- 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/SchedulesModule/AddSchedules/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/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/schedules/schedules/utils.d.ts +72 -0
- package/es/components/shoppingCart/Provider.d.ts +3 -0
- package/es/components/shoppingCart/components/Cart/Product.d.ts +4 -0
- package/es/components/shoppingCart/components/Cart/index.d.ts +4 -0
- package/es/components/shoppingCart/components/Empty/index.d.ts +4 -0
- package/es/components/shoppingCart/components/Render/index.d.ts +4 -0
- package/es/components/shoppingCart/components/SelectHolderModal/index.d.ts +4 -0
- package/es/components/shoppingCart/hooks/useAddService.d.ts +3 -0
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +3 -0
- package/es/components/shoppingCart/hooks/useContext.d.ts +1 -0
- package/es/components/shoppingCart/index.d.ts +4 -0
- package/es/components/shoppingCart/locales.d.ts +33 -0
- package/es/components/shoppingCart/mock.d.ts +40 -0
- package/es/components/shoppingCart/status.d.ts +2 -0
- package/es/components/shoppingCart/type.d.ts +48 -0
- package/es/components/shoppingCart/utils.d.ts +63 -0
- package/es/components/subTotal/index.d.ts +22 -0
- package/es/components/subTotal/locales.d.ts +42 -0
- package/es/components/taxSelect/index.d.ts +12 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +16 -10
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.less +10 -0
- package/es/components/ticketBooking/components/menuBar/index.d.ts +4 -0
- package/es/components/ticketBooking/components/notAvailable/index.d.ts +3 -0
- package/es/components/ticketBooking/components/ticketBooking/index.js +3 -1
- package/es/components/ticketBooking/components/timeBar/index.d.ts +13 -0
- package/es/components/ticketBooking/data.d.ts +58 -0
- package/es/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
- package/es/components/ticketBooking/index.d.ts +7 -0
- package/es/components/ticketBooking/index.js +2 -1
- package/es/components/ticketBooking/locales.d.ts +153 -0
- package/es/components/ticketBooking/locales.js +12 -3
- package/es/components/ticketBooking/miniRedux.d.ts +22 -0
- package/es/components/ticketBooking/serve.d.ts +282 -0
- package/es/components/ticketBooking/utils/index.d.ts +19 -0
- package/es/components/ticketBooking/utils/index.js +35 -3
- package/es/components/wallet/Detail/index.d.ts +42 -0
- package/es/components/wallet/Detail/locales.d.ts +96 -0
- package/es/components/wallet/Detail/model.d.ts +13 -0
- package/es/components/wallet/Detail/serve.d.ts +39 -0
- package/es/components/wallet/DetailContext.d.ts +25 -0
- package/es/components/wallet/DiscountCard/index.d.ts +3 -0
- package/es/components/wallet/DiscountCard/model.d.ts +14 -0
- package/es/components/wallet/PointCard/index.d.ts +3 -0
- package/es/components/wallet/PointCard/model.d.ts +13 -0
- package/es/components/wallet/RechargeableCard/index.d.ts +13 -0
- package/es/components/wallet/RechargeableCard/model.d.ts +29 -0
- package/es/components/wallet/RechargeableCard/serve.d.ts +23 -0
- package/es/components/wallet/Voucher/index.d.ts +12 -0
- package/es/components/wallet/Voucher/locales.d.ts +21 -0
- package/es/components/wallet/Voucher/model.d.ts +13 -0
- package/es/components/wallet/components/FooterButtons/index.d.ts +18 -0
- package/es/components/wallet/components/WalletBar/index.d.ts +8 -0
- package/es/components/wallet/components/WalletCard.d.ts +11 -0
- package/es/components/wallet/components/index.d.ts +2 -0
- package/es/components/wallet/hooks/useWalletCard.d.ts +34 -0
- package/es/components/wallet/index.d.ts +10 -0
- package/es/components/wallet/locales.d.ts +132 -0
- package/es/components/wallet/model.d.ts +37 -0
- package/es/components/wallet/serve.d.ts +143 -0
- package/es/components/wallet/utils/formatUtils.d.ts +36 -0
- package/es/components/walletList/index.d.ts +28 -0
- package/es/components/walletList/model.d.ts +6 -0
- package/es/components/walletList/serve.d.ts +12 -0
- package/es/components/walletList/types/index.d.ts +194 -0
- package/es/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +11 -0
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/es/components/workSpaceList/components/EditableString/index.d.ts +21 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/es/components/workSpaceList/components/SearchBar/index.d.ts +17 -0
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +4 -0
- package/es/components/workSpaceList/components/Sort/index.d.ts +7 -0
- package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
- package/es/hooks/useEngineContext.d.ts +10 -0
- package/es/hooks/useLocale.d.ts +2 -0
- package/es/hooks/useLoginUser.d.ts +2 -0
- package/es/index.d.ts +45 -0
- package/es/utils/date.d.ts +11 -0
- package/es/utils/index.d.ts +23 -0
- package/es/utils/locales.d.ts +1 -0
- package/es/utils/tasks/index.d.ts +16 -0
- package/es/utils/tasks/type.d.ts +4 -0
- package/lib/businessModel/SalesModel/Sales/index.d.ts +24 -0
- package/lib/businessModel/SalesModel/hooks/index.d.ts +1 -0
- package/lib/businessModel/SalesModel/index.d.ts +4 -0
- package/lib/businessModel/index.d.ts +0 -0
- package/lib/components/Sales/Cart/index.d.ts +53 -0
- package/lib/components/Sales/Cart/serve.d.ts +2 -0
- package/lib/components/Sales/Cart/types.d.ts +31 -0
- package/lib/components/Sales/Cart/utils.d.ts +23 -0
- package/lib/components/Sales/Checkout/index.d.ts +33 -0
- package/lib/components/Sales/Checkout/serve.d.ts +2 -0
- package/lib/components/Sales/Checkout/utils.d.ts +35 -0
- package/lib/components/Sales/Customer/index.d.ts +24 -0
- package/lib/components/Sales/Event/Detail.d.ts +29 -0
- package/lib/components/Sales/Event/index.d.ts +30 -0
- package/lib/components/Sales/Event/serve.d.ts +39 -0
- package/lib/components/Sales/Holder/index.d.ts +33 -0
- package/lib/components/Sales/Holder/serve.d.ts +8 -0
- package/lib/components/Sales/Init/index.d.ts +25 -0
- package/lib/components/Sales/Init/serve.d.ts +3 -0
- package/lib/components/Sales/Resource/index.d.ts +26 -0
- package/lib/components/Sales/Resource/serve.d.ts +5 -0
- package/lib/components/Sales/Step/index.d.ts +39 -0
- package/lib/components/Sales/Summary/index.d.ts +25 -0
- package/lib/components/Sales/Summary/serve.d.ts +0 -0
- package/lib/components/Sales/Summary/utils.d.ts +36 -0
- package/lib/components/Sales/hooks/index.d.ts +1 -0
- package/lib/components/Sales/index.d.ts +20 -0
- package/lib/components/Sales/utils/index.d.ts +1 -0
- package/lib/components/appointmentBooking/assets/resource.svg +1 -0
- package/lib/components/appointmentBooking/components/Cart/ContinueButton/index.d.ts +7 -0
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Cart/utils.d.ts +56 -0
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/ConfirmInformation/utils.d.ts +12 -0
- package/lib/components/appointmentBooking/components/Content/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Date/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Date/state.d.ts +63 -0
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Form/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Form/utils.d.ts +8 -0
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Guest/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Header/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Resource/index.d.ts +7 -0
- package/lib/components/appointmentBooking/components/Resource/index.js +44 -5
- package/lib/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
- package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/TimeSlicing/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +5 -0
- package/lib/components/appointmentBooking/context.d.ts +35 -0
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +4 -0
- package/lib/components/appointmentBooking/deposit/index.d.ts +4 -0
- package/lib/components/appointmentBooking/hooks.d.ts +106 -0
- package/lib/components/appointmentBooking/hooks.js +12 -3
- package/lib/components/appointmentBooking/index.d.ts +3 -0
- package/lib/components/appointmentBooking/locales.d.ts +357 -0
- package/lib/components/appointmentBooking/locales.js +3 -0
- package/lib/components/appointmentBooking/mock.d.ts +627 -0
- package/lib/components/appointmentBooking/status.d.ts +21 -0
- package/lib/components/appointmentBooking/type.d.ts +17 -0
- package/lib/components/appointmentBooking/utils.d.ts +203 -0
- package/lib/components/booking/addons/index.d.ts +17 -0
- package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/productItem/index.js +8 -1
- 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/customSelect/index.d.ts +38 -0
- package/lib/components/booking/components/drawer/index.js +2 -2
- package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/lib/components/booking/components/footer/AppointmentProductModal/index.d.ts +3 -0
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/lib/components/booking/components/footer/amount.d.ts +24 -0
- package/lib/components/booking/components/footer/utils.d.ts +40 -0
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +1 -0
- package/lib/components/booking/components/voucher/index.d.ts +3 -0
- package/lib/components/booking/components/voucher/index.js +31 -27
- package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/lib/components/booking/deposit/index.d.ts +1 -0
- package/lib/components/booking/forms/footer.d.ts +7 -0
- package/lib/components/booking/forms/sendModal/index.d.ts +27 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +10 -0
- package/lib/components/booking/forms/single/index.d.ts +11 -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/useCreateBookingPageHeader.d.ts +6 -0
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/lib/components/booking/info/Provider.d.ts +0 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +6 -0
- package/lib/components/booking/info/client/index.js +2 -1
- 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/dateRange/index.d.ts +1 -0
- package/lib/components/booking/info/header/index.d.ts +1 -0
- package/lib/components/booking/info/hooks/useGetHolderList.d.ts +2 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
- package/lib/components/booking/info/index.d.ts +3 -0
- package/lib/components/booking/info/model.d.ts +14 -0
- package/lib/components/booking/info/pet/ChangePetModal/index.d.ts +4 -0
- package/lib/components/booking/info/pet/index.js +3 -0
- package/lib/components/booking/info/service/addService/index.d.ts +11 -0
- package/lib/components/booking/info/service/editService/EditTabs/index.d.ts +3 -0
- package/lib/components/booking/info/service/index.d.ts +4 -0
- package/lib/components/booking/info/service/like/index.d.ts +1 -0
- package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
- package/lib/components/booking/info/service/serviceManager/utils.d.ts +0 -0
- package/lib/components/booking/info/service2/index.d.ts +6 -0
- package/lib/components/booking/info/service2/status.d.ts +31 -0
- package/lib/components/booking/info/service2/utils.d.ts +247 -0
- package/lib/components/booking/info/service2/utils.js +2 -2
- package/lib/components/booking/info2/index.js +7 -4
- package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +3 -3
- package/lib/components/booking/info2/service/addService/utils.js +20 -13
- package/lib/components/booking/info2/service/editService/Resources/MaxLengthSelect/index.d.ts +7 -0
- package/lib/components/booking/info2/service/editService/Resources/index.d.ts +4 -0
- package/lib/components/booking/info2/service/editService/index.d.ts +7 -0
- package/lib/components/booking/info2/service/editService/index.js +1 -0
- package/lib/components/booking/info2/service/editService/utils.d.ts +13 -0
- package/lib/components/booking/info2/service/index.d.ts +4 -0
- package/lib/components/booking/info2/utils.d.ts +4 -0
- package/lib/components/booking/locales.d.ts +813 -0
- package/lib/components/booking/materiels/contacts/index.d.ts +16 -0
- package/lib/components/booking/materiels/duration/index.d.ts +1 -0
- package/lib/components/booking/materiels/holder/index.d.ts +6 -0
- package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
- package/lib/components/booking/model.d.ts +115 -0
- 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 +4 -0
- package/lib/components/booking/payments/index.d.ts +9 -0
- package/lib/components/booking/utils.d.ts +173 -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 +47 -0
- package/lib/components/eftpos/pos.d.ts +1 -0
- package/lib/components/eftpos/receipt/index.d.ts +1 -0
- package/lib/components/eftpos/surcharge/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 +4 -0
- package/lib/components/eftposPay/component/fail/index.d.ts +4 -0
- package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +10 -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/hooks.d.ts +35 -0
- package/lib/components/eftposPay/index.d.ts +5 -0
- package/lib/components/eftposPay/locales.d.ts +330 -0
- package/lib/components/eftposPay/pay.d.ts +21 -0
- package/lib/components/eftposPay/payo/config.d.ts +13 -0
- package/lib/components/eftposPay/payo/hooks.d.ts +10 -0
- package/lib/components/eftposPay/store/index.d.ts +4 -4
- package/lib/components/eftposPay/tip.d.ts +1 -0
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eftposPay/tyro/index.d.ts +9 -0
- package/lib/components/eftposPay/windcave/helper.d.ts +23 -0
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
- package/lib/components/eftposPay/windcave/windcave.d.ts +7 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +4 -0
- package/lib/components/eventBooking/components/OpenCard/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +3 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +4 -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 +4 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +13 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +4 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +5 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +4 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/index.d.ts +4 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/state.d.ts +63 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/SelectDate/index.d.ts +4 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/index.d.ts +14 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/utils.d.ts +34 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +4 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.js +18 -8
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +3 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +3 -0
- package/lib/components/eventBooking/components/bookingDetailModal/index.d.ts +7 -0
- package/lib/components/eventBooking/components/bookingServiceList/index.d.ts +17 -0
- package/lib/components/eventBooking/components/eventCard/index.d.ts +14 -0
- package/lib/components/eventBooking/components/productCard/index.d.ts +16 -0
- package/lib/components/eventBooking/components/progressBar/index.d.ts +16 -0
- package/lib/components/eventBooking/components/resourceDisplay/index.d.ts +23 -0
- package/lib/components/eventBooking/components/resourceUsability/index.d.ts +12 -0
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +10 -0
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +13 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +4 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimes/index.d.ts +9 -0
- package/lib/components/eventBooking/components/scheduleCalendar/index.d.ts +14 -0
- package/lib/components/eventBooking/components/selectHolder/index.d.ts +22 -0
- package/lib/components/eventBooking/components/timeResourceSelector/index.d.ts +20 -0
- package/lib/components/eventBooking/index.d.ts +4 -0
- package/lib/components/eventBooking/locales.d.ts +222 -0
- package/lib/components/eventBooking/mock.d.ts +627 -0
- package/lib/components/eventBooking/status.d.ts +21 -0
- package/lib/components/eventBooking/type.d.ts +17 -0
- package/lib/components/eventBooking/utils.d.ts +45 -0
- package/lib/components/index.d.ts +18 -0
- package/lib/components/login/index.d.ts +9 -0
- package/lib/components/login/locales.d.ts +24 -0
- package/lib/components/pay/toC/PaymentList/index.d.ts +19 -0
- package/lib/components/pay/toC/PaymentList/serve.d.ts +28 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -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 +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -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/PaymentMethods/StripePay/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +18 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +113 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletAvailable/index.d.ts +16 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletBestValueFound/index.d.ts +17 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +8 -0
- package/lib/components/pay/toC/WalletPassBlock/index.d.ts +21 -0
- package/lib/components/pay/toC/index.d.ts +3 -0
- package/lib/components/pay/toC/locales.d.ts +286 -0
- package/lib/components/pay/toC/model.d.ts +39 -0
- package/lib/components/pay/toC/serve.d.ts +57 -0
- package/lib/components/pay/toC/utils.d.ts +51 -0
- 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 +3 -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/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/index.d.ts +16 -0
- package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.js +8 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/lib/components/productExtension/index.d.ts +7 -0
- package/lib/components/productSelect/components/TabProduct/index.d.ts +2 -0
- package/lib/components/productSelect/components/TabProduct/index.js +19 -6
- package/lib/components/productSelect/components/TabProduct/tabs/index.d.ts +21 -0
- package/lib/components/productSelect/components/TabProduct/tabs/index.js +202 -0
- package/lib/components/productSelect/components/TabProduct/tabs/index.less +126 -0
- package/lib/components/productSelect/components/gridLayout/index.d.ts +9 -0
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/lib/components/productSelect/components/pisellPriceText/index.js +72 -0
- package/lib/components/productSelect/components/productGroup/index.d.ts +38 -0
- package/lib/components/productSelect/components/productGroup/index.js +24 -4
- package/lib/components/productSelect/components/productGroup/index.less +14 -1
- package/lib/components/productSelect/hooks/useToken.d.ts +18 -0
- package/lib/components/productSelect/index.d.ts +24 -0
- package/lib/components/productSelect/index.less +1 -2
- package/lib/components/productSelect/locales.d.ts +18 -0
- package/lib/components/productSelect/mock.d.ts +134 -0
- package/lib/components/productSelect/theme/token.d.ts +17 -0
- package/lib/components/ruleSetting/index.d.ts +10 -0
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/lib/components/ruleSetting/server.d.ts +4 -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/RenderScheduleItem/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/lib/components/schedules/index.d.ts +3 -0
- 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/SchedulesModule/AddSchedules/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/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/schedules/schedules/utils.d.ts +72 -0
- package/lib/components/shoppingCart/Provider.d.ts +3 -0
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +4 -0
- package/lib/components/shoppingCart/components/Cart/index.d.ts +4 -0
- package/lib/components/shoppingCart/components/Empty/index.d.ts +4 -0
- package/lib/components/shoppingCart/components/Render/index.d.ts +4 -0
- package/lib/components/shoppingCart/components/SelectHolderModal/index.d.ts +4 -0
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +3 -0
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +3 -0
- package/lib/components/shoppingCart/hooks/useContext.d.ts +1 -0
- package/lib/components/shoppingCart/index.d.ts +4 -0
- package/lib/components/shoppingCart/locales.d.ts +33 -0
- package/lib/components/shoppingCart/mock.d.ts +40 -0
- package/lib/components/shoppingCart/status.d.ts +2 -0
- package/lib/components/shoppingCart/type.d.ts +48 -0
- package/lib/components/shoppingCart/utils.d.ts +63 -0
- package/lib/components/subTotal/index.d.ts +22 -0
- package/lib/components/subTotal/locales.d.ts +42 -0
- package/lib/components/taxSelect/index.d.ts +12 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +25 -14
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.less +10 -0
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +4 -0
- package/lib/components/ticketBooking/components/notAvailable/index.d.ts +3 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.js +3 -1
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +13 -0
- package/lib/components/ticketBooking/data.d.ts +58 -0
- package/lib/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
- package/lib/components/ticketBooking/index.d.ts +7 -0
- package/lib/components/ticketBooking/index.js +2 -1
- package/lib/components/ticketBooking/locales.d.ts +153 -0
- package/lib/components/ticketBooking/locales.js +6 -3
- package/lib/components/ticketBooking/miniRedux.d.ts +22 -0
- package/lib/components/ticketBooking/serve.d.ts +282 -0
- package/lib/components/ticketBooking/utils/index.d.ts +19 -0
- package/lib/components/ticketBooking/utils/index.js +35 -3
- package/lib/components/wallet/Detail/index.d.ts +42 -0
- package/lib/components/wallet/Detail/locales.d.ts +96 -0
- package/lib/components/wallet/Detail/model.d.ts +13 -0
- package/lib/components/wallet/Detail/serve.d.ts +39 -0
- package/lib/components/wallet/DetailContext.d.ts +25 -0
- package/lib/components/wallet/DiscountCard/index.d.ts +3 -0
- package/lib/components/wallet/DiscountCard/model.d.ts +14 -0
- package/lib/components/wallet/PointCard/index.d.ts +3 -0
- package/lib/components/wallet/PointCard/model.d.ts +13 -0
- package/lib/components/wallet/RechargeableCard/index.d.ts +13 -0
- package/lib/components/wallet/RechargeableCard/model.d.ts +29 -0
- package/lib/components/wallet/RechargeableCard/serve.d.ts +23 -0
- package/lib/components/wallet/Voucher/index.d.ts +12 -0
- package/lib/components/wallet/Voucher/locales.d.ts +21 -0
- package/lib/components/wallet/Voucher/model.d.ts +13 -0
- package/lib/components/wallet/components/FooterButtons/index.d.ts +18 -0
- package/lib/components/wallet/components/WalletBar/index.d.ts +8 -0
- package/lib/components/wallet/components/WalletCard.d.ts +11 -0
- package/lib/components/wallet/components/index.d.ts +2 -0
- package/lib/components/wallet/hooks/useWalletCard.d.ts +34 -0
- package/lib/components/wallet/index.d.ts +10 -0
- package/lib/components/wallet/locales.d.ts +132 -0
- package/lib/components/wallet/model.d.ts +37 -0
- package/lib/components/wallet/serve.d.ts +143 -0
- package/lib/components/wallet/utils/formatUtils.d.ts +36 -0
- package/lib/components/walletList/index.d.ts +28 -0
- package/lib/components/walletList/model.d.ts +6 -0
- package/lib/components/walletList/serve.d.ts +12 -0
- package/lib/components/walletList/types/index.d.ts +194 -0
- package/lib/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +11 -0
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/lib/components/workSpaceList/components/EditableString/index.d.ts +21 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/lib/components/workSpaceList/components/SearchBar/index.d.ts +17 -0
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +4 -0
- package/lib/components/workSpaceList/components/Sort/index.d.ts +7 -0
- package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
- package/lib/hooks/useEngineContext.d.ts +10 -0
- package/lib/hooks/useLocale.d.ts +2 -0
- package/lib/hooks/useLoginUser.d.ts +2 -0
- package/lib/index.d.ts +45 -0
- package/lib/utils/date.d.ts +11 -0
- package/lib/utils/index.d.ts +23 -0
- package/lib/utils/locales.d.ts +1 -0
- package/lib/utils/tasks/index.d.ts +16 -0
- package/lib/utils/tasks/type.d.ts +4 -0
- package/package.json +4 -4
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FormState } from '../model';
|
|
3
|
+
export declare const walkInData: {
|
|
4
|
+
id: number;
|
|
5
|
+
nickname: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
8
|
+
state: FormState;
|
|
9
|
+
} & {
|
|
10
|
+
dispatch: (params: {
|
|
11
|
+
type: string;
|
|
12
|
+
payload: any;
|
|
13
|
+
}) => void;
|
|
14
|
+
}>;
|
|
@@ -463,6 +463,9 @@ var Pet = (props) => {
|
|
|
463
463
|
...((_c3 = (_b3 = (_a3 = state.pet) == null ? void 0 : _a3.formData) == null ? void 0 : _b3[0]) == null ? void 0 : _c3.options) || []
|
|
464
464
|
]);
|
|
465
465
|
},
|
|
466
|
+
drawerProps: {
|
|
467
|
+
mask: state.drawerMask
|
|
468
|
+
},
|
|
466
469
|
getHolders,
|
|
467
470
|
addCallbackService: addCallback,
|
|
468
471
|
loading: valueLoading,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PisellDrawerProps } from '../../../components/drawer';
|
|
2
|
+
import './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,11 @@
|
|
|
1
|
+
interface Product {
|
|
2
|
+
_id: string;
|
|
3
|
+
_extend: {
|
|
4
|
+
origin_total: number;
|
|
5
|
+
total: number;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function distributeDiscountOrIncrease(products: Product[], // 商品列表
|
|
9
|
+
totalAdjustment: number, // 总折扣或加价金额,可能为负数(折扣)或正数(加价)
|
|
10
|
+
totalPrice: number): Product[];
|
|
11
|
+
export {};
|
|
File without changes
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { shoppingCartProps } from '../../../shoppingCart/type';
|
|
2
|
+
export declare const defaultData: shoppingCartProps;
|
|
3
|
+
/**
|
|
4
|
+
* @title: 根据是否是跨日预约和是否是terminal打开的,返回日期和输入框占据的列数
|
|
5
|
+
* @description:
|
|
6
|
+
* @param {boolean} isDayBooking
|
|
7
|
+
* @param {boolean} isTerminal
|
|
8
|
+
* @return {*}
|
|
9
|
+
* @Author: WangHan
|
|
10
|
+
* @Date: 2024-12-06 10:29
|
|
11
|
+
*/
|
|
12
|
+
export declare const inputDateCol: (isDayBooking: boolean, isTerminal?: boolean) => {
|
|
13
|
+
date: {};
|
|
14
|
+
input: {};
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* @title: 预约商品扩展类型
|
|
18
|
+
* @description:
|
|
19
|
+
* @return {*}
|
|
20
|
+
* @Author: WangHan
|
|
21
|
+
* @Date: 2024-12-06 14:59
|
|
22
|
+
*/
|
|
23
|
+
export declare const appointmentTypes: string[];
|
|
24
|
+
/**
|
|
25
|
+
* @title: 营业日时间
|
|
26
|
+
* @description:
|
|
27
|
+
* @return {*}
|
|
28
|
+
* @Author: WangHan
|
|
29
|
+
* @Date: 2024-12-06 17:23
|
|
30
|
+
*/
|
|
31
|
+
export declare const openingTime: () => string;
|
|
@@ -0,0 +1,247 @@
|
|
|
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
|
+
/**
|
|
62
|
+
* @title: 格式化商品数据
|
|
63
|
+
* @description:
|
|
64
|
+
* @param {any} lists
|
|
65
|
+
* @return {*}
|
|
66
|
+
* @Author: WangHan
|
|
67
|
+
* @Date: 2024-11-29 17:36
|
|
68
|
+
*/
|
|
69
|
+
export declare const formatProducts: (lists: any[], state: any, isRenderGroup?: boolean, isGeneral?: boolean, isParallelResource?: boolean) => {
|
|
70
|
+
_origin: any;
|
|
71
|
+
id: any;
|
|
72
|
+
_id: any;
|
|
73
|
+
name: any;
|
|
74
|
+
price: any;
|
|
75
|
+
total: number;
|
|
76
|
+
origin_total: number;
|
|
77
|
+
num: any;
|
|
78
|
+
image: any;
|
|
79
|
+
isShowNote: boolean;
|
|
80
|
+
note: any;
|
|
81
|
+
like_status: any;
|
|
82
|
+
bundle: any;
|
|
83
|
+
options: any;
|
|
84
|
+
errorMessage: string;
|
|
85
|
+
product_option_string: any;
|
|
86
|
+
discount_reason: any;
|
|
87
|
+
resource_id: any;
|
|
88
|
+
relation_form_name: any;
|
|
89
|
+
holder_title: any;
|
|
90
|
+
start_date: any;
|
|
91
|
+
end_date: any;
|
|
92
|
+
holder_id: any;
|
|
93
|
+
isNormalProduct: boolean;
|
|
94
|
+
locale: any;
|
|
95
|
+
symbol: any;
|
|
96
|
+
relation_products: any;
|
|
97
|
+
items: any[];
|
|
98
|
+
}[];
|
|
99
|
+
/**
|
|
100
|
+
* @title: 禁用日期
|
|
101
|
+
* @description:
|
|
102
|
+
* @param {any} current
|
|
103
|
+
* @param {string} position
|
|
104
|
+
* @param {any} startDate
|
|
105
|
+
* @return {*}
|
|
106
|
+
* @Author: WangHan
|
|
107
|
+
* @Date: 2024-12-03 17:51
|
|
108
|
+
*/
|
|
109
|
+
export declare const disabledDate: (current: any, position: string, currentDate: any) => any;
|
|
110
|
+
/**
|
|
111
|
+
* @title: 是否是跨日预约
|
|
112
|
+
* @description:
|
|
113
|
+
* @param {any} state
|
|
114
|
+
* @return {*}
|
|
115
|
+
* @Author: WangHan
|
|
116
|
+
* @Date: 2024-12-04 09:49
|
|
117
|
+
*/
|
|
118
|
+
export declare const isDayBooking: (state: any) => boolean;
|
|
119
|
+
export declare const isDaysBooking: (state: any) => boolean;
|
|
120
|
+
export declare const isEventBooking: (state: any) => boolean;
|
|
121
|
+
export declare const isAppointmentProduct: (item: any) => boolean;
|
|
122
|
+
/**
|
|
123
|
+
* @title: 是否是terminal上的跨日预约
|
|
124
|
+
* @description:
|
|
125
|
+
* @param {any} state
|
|
126
|
+
* @return {*}
|
|
127
|
+
* @Author: WangHan
|
|
128
|
+
* @Date: 2024-12-04 15:31
|
|
129
|
+
*/
|
|
130
|
+
export declare const isTerminalDayBooking: (state: any) => any;
|
|
131
|
+
export declare const formatDayDate: (_extend: any) => any;
|
|
132
|
+
/**
|
|
133
|
+
* @title: 根据营业日时间格式化时间
|
|
134
|
+
* @description:
|
|
135
|
+
* @param {any} state
|
|
136
|
+
* @return {*}
|
|
137
|
+
* @Author: WangHan
|
|
138
|
+
* @Date: 2024-12-04 12:07
|
|
139
|
+
*/
|
|
140
|
+
export declare const formatDayTime: ({ startDate, endDate }: any) => {
|
|
141
|
+
startDateTime: dayjs.Dayjs;
|
|
142
|
+
endDateTime: dayjs.Dayjs;
|
|
143
|
+
};
|
|
144
|
+
export declare const formatDateTime: (start_date: any, end_date: any) => {
|
|
145
|
+
value: dayjs.Dayjs;
|
|
146
|
+
end_date: dayjs.Dayjs;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* @title: 初始化日期
|
|
150
|
+
* @description:
|
|
151
|
+
* @return {*}
|
|
152
|
+
* @Author: WangHan
|
|
153
|
+
* @Date: 2024-12-06 17:24
|
|
154
|
+
*/
|
|
155
|
+
export declare const initDate: () => {
|
|
156
|
+
value: dayjs.Dayjs;
|
|
157
|
+
end_date: dayjs.Dayjs;
|
|
158
|
+
};
|
|
159
|
+
/**
|
|
160
|
+
* @title: 是否有预约商品
|
|
161
|
+
* @description:
|
|
162
|
+
* @return {*}
|
|
163
|
+
* @Author: WangHan
|
|
164
|
+
* @Date: 2024-12-12 15:47
|
|
165
|
+
*/
|
|
166
|
+
export declare const isHasDayAppointmentProduct: (state: any) => boolean;
|
|
167
|
+
/**
|
|
168
|
+
* @title: 过滤出如果是预约商品,则只获取跨日的预约商品
|
|
169
|
+
* @description:
|
|
170
|
+
* @param {any} lists
|
|
171
|
+
* @return {*}
|
|
172
|
+
* @Author: WangHan
|
|
173
|
+
* @Date: 2024-12-13 16:44
|
|
174
|
+
*/
|
|
175
|
+
export declare const getDayProducts: (holderId: number, lists: any, isTerminal?: boolean) => any;
|
|
176
|
+
/**
|
|
177
|
+
* @title: 格式化表单数据
|
|
178
|
+
* @description:
|
|
179
|
+
* @param {any} state
|
|
180
|
+
* @return {*}
|
|
181
|
+
* @Author: WangHan
|
|
182
|
+
* @Date: 2024-12-30 22:19
|
|
183
|
+
*/
|
|
184
|
+
export declare const getPets: (state: any) => any;
|
|
185
|
+
/**
|
|
186
|
+
* @title: 得出预约商品
|
|
187
|
+
* @description:
|
|
188
|
+
* @param {any} state
|
|
189
|
+
* @return {*}
|
|
190
|
+
* @Author: WangHan
|
|
191
|
+
* @Date: 2024-12-30 22:26
|
|
192
|
+
*/
|
|
193
|
+
export declare const getAppointmentService: (state: any) => any;
|
|
194
|
+
/**
|
|
195
|
+
* @title: 判断是否打开删除宠物弹窗
|
|
196
|
+
* @description:
|
|
197
|
+
* @param {any} state
|
|
198
|
+
* @param {any} newVal
|
|
199
|
+
* @return {*}
|
|
200
|
+
* @Author: WangHan
|
|
201
|
+
* @Date: 2024-12-16 16:12
|
|
202
|
+
*/
|
|
203
|
+
export declare const isOpenDeletePet: (state: any, newVal: any) => {
|
|
204
|
+
ids: any;
|
|
205
|
+
lists: any;
|
|
206
|
+
};
|
|
207
|
+
/**
|
|
208
|
+
* @title: 当前选中的表单id
|
|
209
|
+
* @description:
|
|
210
|
+
* @param {any} state
|
|
211
|
+
* @return {*}
|
|
212
|
+
* @Author: WangHan
|
|
213
|
+
* @Date: 2024-12-17 14:40
|
|
214
|
+
*/
|
|
215
|
+
export declare const holderId: (state: any) => number;
|
|
216
|
+
/**
|
|
217
|
+
* @title: 更新套餐的价格
|
|
218
|
+
* @description:
|
|
219
|
+
* @param {any} currentValue
|
|
220
|
+
* @param {any} newBundleData
|
|
221
|
+
* @return {*}
|
|
222
|
+
* @Author: WangHan
|
|
223
|
+
* @Date: 2024-12-31 15:16
|
|
224
|
+
*/
|
|
225
|
+
export declare function updateNormalBundlePrice(currentValue: any, newBundleData: any): any[];
|
|
226
|
+
/**
|
|
227
|
+
* @title: 更新预约商品报价单
|
|
228
|
+
* @description:
|
|
229
|
+
* @param {any} state
|
|
230
|
+
* @param {any} cacheItem
|
|
231
|
+
* @return {*}
|
|
232
|
+
* @Author: WangHan
|
|
233
|
+
* @Date: 2024-12-25 16:41
|
|
234
|
+
*/
|
|
235
|
+
export declare const updateAppointmentServicePrice: (state: any, { start_date, end_date, product_id }: any) => Promise<{
|
|
236
|
+
multiDayPrices: any;
|
|
237
|
+
price: number;
|
|
238
|
+
}>;
|
|
239
|
+
/**
|
|
240
|
+
* @title: 更新普通商品报价单价格
|
|
241
|
+
* @description:
|
|
242
|
+
* @param {any} state
|
|
243
|
+
* @return {*}
|
|
244
|
+
* @Author: WangHan
|
|
245
|
+
* @Date: 2024-12-24 11:32
|
|
246
|
+
*/
|
|
247
|
+
export declare const updateServicePrice: (state: any) => never[] | Promise<any>;
|
|
@@ -454,7 +454,7 @@ var isAllNormalProductByState = (state) => {
|
|
|
454
454
|
return isAllNormalProduct(state.service.value);
|
|
455
455
|
};
|
|
456
456
|
var getGeneralParams = (item, state, isParallelResource) => {
|
|
457
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
457
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
458
458
|
const { pet, service } = state;
|
|
459
459
|
const { holders = [], formData } = pet || {};
|
|
460
460
|
const parallelResourceOtherParams = {};
|
|
@@ -519,6 +519,7 @@ var getGeneralParams = (item, state, isParallelResource) => {
|
|
|
519
519
|
holder_id: (_d = item == null ? void 0 : item._extend) == null ? void 0 : _d.holder_id,
|
|
520
520
|
start_date: !isNormalProduct ? (_e = item == null ? void 0 : item._extend) == null ? void 0 : _e.startDate : "",
|
|
521
521
|
end_date: !isNormalProduct ? ((_f = item == null ? void 0 : item._extend) == null ? void 0 : _f.endDate) || ((_g = item == null ? void 0 : item._extend) == null ? void 0 : _g.end_date) : "",
|
|
522
|
+
rowKey: `rowKey-${(_i = (_h = item == null ? void 0 : item._extend) == null ? void 0 : _h.other) == null ? void 0 : _i.rowKey}`,
|
|
522
523
|
...parallelResourceOtherParams
|
|
523
524
|
};
|
|
524
525
|
};
|
|
@@ -543,7 +544,6 @@ var formatProducts = (lists, state, isRenderGroup = true, isGeneral, isParallelR
|
|
|
543
544
|
errorMessage = getErrorMessage(item, resourceItem, isDayBooking(state));
|
|
544
545
|
}
|
|
545
546
|
const generalParams = isGeneral ? getGeneralParams(item, state, !!isParallelResource) : {};
|
|
546
|
-
console.log(isNormalProduct, "isNormalProduct");
|
|
547
547
|
return {
|
|
548
548
|
id: item == null ? void 0 : item.id,
|
|
549
549
|
_id: item == null ? void 0 : item._id,
|
|
@@ -92,7 +92,7 @@ var Info = (0, import_model.Provider)((props) => {
|
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
94
|
}, []);
|
|
95
|
-
(0, import_react.
|
|
95
|
+
(0, import_react.useMemo)(() => {
|
|
96
96
|
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2, _l2, _m;
|
|
97
97
|
const isFranchisee = (_d2 = (_c2 = (_b2 = (_a2 = context == null ? void 0 : context.appHelper) == null ? void 0 : _a2.utils) == null ? void 0 : _b2.businessUtils) == null ? void 0 : _c2.getAppByModal) == null ? void 0 : _d2.call(_c2, "franchisee");
|
|
98
98
|
modal.dispatch({
|
|
@@ -165,9 +165,12 @@ var Info = (0, import_model.Provider)((props) => {
|
|
|
165
165
|
try {
|
|
166
166
|
setTimeout(async () => {
|
|
167
167
|
var _a2;
|
|
168
|
-
let data = await (0, import_serve.getResourceList)(
|
|
169
|
-
|
|
170
|
-
|
|
168
|
+
let data = await (0, import_serve.getResourceList)(
|
|
169
|
+
{
|
|
170
|
+
date: currentDate
|
|
171
|
+
},
|
|
172
|
+
(_a2 = stateRef == null ? void 0 : stateRef.current) == null ? void 0 : _a2.bookingId
|
|
173
|
+
);
|
|
171
174
|
data.date = currentDate;
|
|
172
175
|
localStorage.setItem("bookingResourceList", JSON.stringify(data));
|
|
173
176
|
modal.dispatch({
|
|
@@ -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;
|
|
@@ -55,8 +55,8 @@ export declare const getTimeObj: ({ cacheItem, useStartTime, currentResource, st
|
|
|
55
55
|
* @Author: zhiwei.Wang
|
|
56
56
|
* @Date: 2024-01-09 13:38
|
|
57
57
|
*/
|
|
58
|
-
export declare const formatResources: ({ cacheItem, resourcesOrigin }: any) => {
|
|
59
|
-
list: any
|
|
58
|
+
export declare const formatResources: ({ cacheItem, resourcesOrigin, id }: any) => {
|
|
59
|
+
list: any;
|
|
60
60
|
maps: any;
|
|
61
61
|
};
|
|
62
62
|
export declare const setDefaultResource: ({ cacheItem, resources }: any) => any;
|
|
@@ -77,7 +77,7 @@ export declare const setDefaultCapacitys: ({ capacitys, cacheItem }: any) => any
|
|
|
77
77
|
* @Author: zhiwei.Wang
|
|
78
78
|
* @Date: 2024-06-01 13:25
|
|
79
79
|
*/
|
|
80
|
-
export declare const getProductExtend: ({ cacheItem, state }: any) => any;
|
|
80
|
+
export declare const getProductExtend: ({ cacheItem, state, isDisabledTime }: any) => any;
|
|
81
81
|
/**
|
|
82
82
|
* @title: 格式化服务列表
|
|
83
83
|
* @description: 后端列表返回的product_resource.resources 的optional_resource等不是最新数据
|
|
@@ -49,6 +49,7 @@ var import_utils2 = require("@pisell/utils");
|
|
|
49
49
|
var import_AlertTriangle = __toESM(require("@pisell/icon/es/AlertTriangle"));
|
|
50
50
|
var import_utils3 = require("../editService/utils");
|
|
51
51
|
var import_mock = require("../../../mock");
|
|
52
|
+
var import_lodash = require("lodash");
|
|
52
53
|
var getUsableTime = (cacheItem) => {
|
|
53
54
|
try {
|
|
54
55
|
let items = [];
|
|
@@ -166,25 +167,27 @@ var getTimeObj = ({
|
|
|
166
167
|
durationSlicesBasedOnTime
|
|
167
168
|
};
|
|
168
169
|
};
|
|
169
|
-
var formatResources = ({ cacheItem, resourcesOrigin }) => {
|
|
170
|
+
var formatResources = ({ cacheItem, resourcesOrigin, id }) => {
|
|
170
171
|
try {
|
|
171
|
-
let _list = [
|
|
172
|
+
let _list = [];
|
|
172
173
|
let maps = {};
|
|
173
174
|
const _cacheItem = cacheItem;
|
|
174
|
-
|
|
175
|
+
_list = resourcesOrigin.map((item) => {
|
|
175
176
|
let renderListMaps = {};
|
|
176
|
-
|
|
177
|
+
let _item = (0, import_lodash.cloneDeep)(item);
|
|
178
|
+
_item.renderList = _item.renderList.map((d) => {
|
|
177
179
|
let res = (0, import_utilsByBooking.formatResource)(d, _cacheItem, (newData) => {
|
|
178
180
|
return /* @__PURE__ */ import_react.default.createElement("div", { className: "resource-option" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "like-wrap" }), newData.labelText, !newData.usable && /* @__PURE__ */ import_react.default.createElement(import_AlertTriangle.default, { className: "resource-option-alert-icon" }));
|
|
179
181
|
});
|
|
180
182
|
renderListMaps[res.id] = res;
|
|
181
183
|
return res;
|
|
182
184
|
}).sort((a, b) => b.usable ? 1 : -1);
|
|
183
|
-
maps[
|
|
184
|
-
...
|
|
185
|
+
maps[_item.form_id] = {
|
|
186
|
+
..._item,
|
|
185
187
|
renderListMaps
|
|
186
188
|
};
|
|
187
|
-
|
|
189
|
+
return _item;
|
|
190
|
+
});
|
|
188
191
|
return { list: _list, maps };
|
|
189
192
|
} catch (err) {
|
|
190
193
|
console.log("formatResourcesErr", err);
|
|
@@ -289,11 +292,13 @@ var getResourceByIds = (resourcesOriginMap, cacheItem) => {
|
|
|
289
292
|
const getChildrenMetadata = (d) => {
|
|
290
293
|
const combiningResources = [];
|
|
291
294
|
if (resourcesOriginMap[d].combined_resource && resourcesOriginMap[d].combined_resource.status === 1) {
|
|
292
|
-
resourcesOriginMap[d].combined_resource.resource_ids.forEach(
|
|
293
|
-
|
|
294
|
-
|
|
295
|
+
resourcesOriginMap[d].combined_resource.resource_ids.forEach(
|
|
296
|
+
(id) => {
|
|
297
|
+
if (resourcesOriginMap[id]) {
|
|
298
|
+
combiningResources.push(resourcesOriginMap[id]);
|
|
299
|
+
}
|
|
295
300
|
}
|
|
296
|
-
|
|
301
|
+
);
|
|
297
302
|
}
|
|
298
303
|
return {
|
|
299
304
|
children: combiningResources,
|
|
@@ -350,7 +355,7 @@ var getIsAutoClose = (cacheItem) => {
|
|
|
350
355
|
}
|
|
351
356
|
);
|
|
352
357
|
};
|
|
353
|
-
var getProductExtend = ({ cacheItem, state }) => {
|
|
358
|
+
var getProductExtend = ({ cacheItem, state, isDisabledTime }) => {
|
|
354
359
|
const isNew = cacheItem.new || !cacheItem._extend.endDate;
|
|
355
360
|
let _cacheItem = { ...cacheItem };
|
|
356
361
|
const resourcesOriginMap = state.service.resourcesOriginMap || {};
|
|
@@ -404,7 +409,9 @@ var getProductExtend = ({ cacheItem, state }) => {
|
|
|
404
409
|
if (_cacheItem._extend.bundle_edit !== void 0) {
|
|
405
410
|
_cacheItem._extend.bundle_edit = 1;
|
|
406
411
|
}
|
|
407
|
-
|
|
412
|
+
if (!isDisabledTime) {
|
|
413
|
+
_cacheItem._time = (/* @__PURE__ */ new Date()).getTime();
|
|
414
|
+
}
|
|
408
415
|
} else {
|
|
409
416
|
if (!_cacheItem._data.capacitys) {
|
|
410
417
|
_cacheItem._data.capacitys = cacheItem.capacity;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SelectProps } from 'antd';
|
|
3
|
+
interface MaxLengthSelectProps<T> extends SelectProps<T> {
|
|
4
|
+
maxLength: number;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("react").ForwardRefExoticComponent<Partial<MaxLengthSelectProps<any>> & import("react").RefAttributes<unknown>>;
|
|
7
|
+
export default _default;
|
|
@@ -428,6 +428,7 @@ var Info = (_, ref) => {
|
|
|
428
428
|
titleNoWrap: true,
|
|
429
429
|
zIndex: state.service.changeService ? 999 : 1e3,
|
|
430
430
|
forceRender: true,
|
|
431
|
+
mask: state.drawerMask,
|
|
431
432
|
open: state.service.editModal && !((_p = state.service.cacheItem) == null ? void 0 : _p.autoClose),
|
|
432
433
|
title: import_utils.locales.getText("pisell2.text.edit-service"),
|
|
433
434
|
onClose: () => {
|