@pisell/private-materials 3.3.48 → 3.3.49
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/render/default/view.js +4 -4
- package/build/lowcode/view.js +4 -4
- 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 +3 -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/components/Cart/ContinueButton/index.d.ts +7 -0
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +3 -0
- package/es/components/appointmentBooking/components/Cart/index.d.ts +3 -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 +3 -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 +3 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +3 -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 +3 -0
- package/es/components/appointmentBooking/components/Guest/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Header/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
- package/es/components/appointmentBooking/deposit/index.d.ts +3 -0
- package/es/components/appointmentBooking/index.d.ts +3 -0
- package/es/components/appointmentBooking/locales.d.ts +354 -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/booking/addons/model.d.ts +1 -10
- package/es/components/booking/addons/model.js +5 -5
- 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/TabProduct/selectProductItem/index.js +4 -4
- package/es/components/booking/components/TabProduct/tabs/index.js +5 -1
- package/es/components/booking/components/browserSelect/index.js +1 -1
- 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/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/formItemChildrenWrap/index.d.ts +1 -0
- package/es/components/booking/components/voucher/index.d.ts +3 -0
- 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 +6 -0
- package/es/components/booking/forms/model.d.ts +1 -10
- package/es/components/booking/forms/model.js +5 -5
- package/es/components/booking/forms/sendModal/index.d.ts +27 -0
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +9 -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/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 +7 -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/date/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 +10 -0
- package/es/components/booking/info/index.d.ts +3 -0
- package/es/components/booking/info/model.d.ts +5 -0
- package/es/components/booking/info/notes/index.d.ts +1 -0
- package/es/components/booking/info/pet/ChangePetModal/index.d.ts +4 -0
- package/es/components/booking/info/service/actions/index.d.ts +1 -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/like/index.js +1 -1
- 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 +1 -1
- package/es/components/booking/info2/service/actions/index.d.ts +1 -0
- package/es/components/booking/info2/service/addService/index.d.ts +1 -0
- 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/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 +7 -0
- package/es/components/booking/materiels/startTime/index.d.ts +1 -0
- package/es/components/booking/materiels/startTime/index.js +1 -1
- package/es/components/booking/model.d.ts +107 -0
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
- package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/es/components/booking/notes/NoteBlock/index.js +11 -11
- package/es/components/booking/notes/addNote/index.d.ts +4 -0
- package/es/components/booking/notes/model.d.ts +1 -10
- package/es/components/booking/notes/model.js +5 -5
- package/es/components/booking/payments/index.d.ts +9 -0
- package/es/components/booking/payments/model.d.ts +1 -10
- package/es/components/booking/payments/model.js +5 -5
- package/es/components/booking/utils.d.ts +2 -2
- 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 +2 -1
- 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 +2 -1
- 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 +5 -5
- 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 +3 -0
- package/es/components/eventBooking/components/OpenCard/index.d.ts +4 -0
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +2 -0
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +2 -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 +10 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +3 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +12 -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/Resource.d.ts +2 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +2 -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 +12 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +3 -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 +3 -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/listComponent/index.js +5 -5
- 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/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 +7 -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 +31 -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 +2 -0
- package/es/components/pisellSelectCustomerModal/index.d.ts +15 -0
- package/es/components/productExtension/card/index.js +3 -3
- package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
- package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/es/components/productExtension/fields/Forms/index.js +12 -12
- 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/ProductItemPreview/index.js +1 -1
- package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
- package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
- package/es/components/productExtension/index.d.ts +7 -0
- package/es/components/productExtension/server.js +2 -2
- package/es/components/productSelect/components/TabProduct/index.d.ts +2 -0
- package/es/components/productSelect/components/gridLayout/index.d.ts +9 -0
- package/es/components/productSelect/components/productGroup/index.d.ts +38 -0
- package/es/components/productSelect/hooks/useToken.d.ts +18 -0
- 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 +9 -0
- package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/es/components/ruleSetting/ruleBorder/index.js +1 -1
- 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/calendar/index.js +4 -4
- package/es/components/schedules/calendar/serve.js +2 -2
- package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/es/components/schedules/components/CurrentDay/index.js +5 -5
- package/es/components/schedules/components/CurrentDay/serve.js +2 -2
- package/es/components/schedules/components/DropdownSort/index.js +1 -1
- package/es/components/schedules/components/ResourceList/index.js +1 -1
- 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/components/Search/index.js +5 -5
- package/es/components/schedules/index.d.ts +3 -0
- package/es/components/schedules/model.d.ts +1 -9
- package/es/components/schedules/model.js +5 -5
- package/es/components/schedules/openHours/index.js +1 -1
- package/es/components/schedules/openHours/serve.js +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
- 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/SchedulesModule/index.js +4 -4
- 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/ProductDetailDrawer/index.js +3 -3
- 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/products/serve.js +2 -2
- package/es/components/schedules/products/utils.js +5 -5
- package/es/components/schedules/resources/detail/detailContent.js +2 -2
- package/es/components/schedules/resources/detail/index.js +10 -10
- 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/list/index.js +2 -2
- package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/es/components/schedules/resources/relationProduct/index.js +1 -1
- package/es/components/schedules/resources/serve.js +2 -2
- 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/ScheduleDetailDrawer/index.js +9 -9
- package/es/components/schedules/schedules/index.d.ts +1 -0
- package/es/components/schedules/schedules/utils.d.ts +72 -0
- package/es/components/schedules/utils.js +4 -4
- package/es/components/selectModal/index.js +2 -2
- package/es/components/shoppingCart/Provider.d.ts +3 -0
- package/es/components/shoppingCart/components/Cart/Product.d.ts +3 -0
- package/es/components/shoppingCart/components/Cart/index.d.ts +3 -0
- package/es/components/shoppingCart/components/Empty/index.d.ts +3 -0
- package/es/components/shoppingCart/components/Render/index.d.ts +3 -0
- package/es/components/shoppingCart/components/SelectHolderModal/index.d.ts +4 -0
- package/es/components/shoppingCart/hooks/useAddService.d.ts +2 -0
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +2 -0
- package/es/components/shoppingCart/hooks/useContext.d.ts +1 -0
- package/es/components/shoppingCart/index.d.ts +3 -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/index.d.ts +7 -0
- package/es/components/ticketBooking/components/menuBar/index.d.ts +4 -0
- package/es/components/ticketBooking/components/timeBar/index.d.ts +12 -0
- package/es/components/ticketBooking/data.d.ts +58 -0
- package/es/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
- package/es/components/ticketBooking/miniRedux.d.ts +22 -0
- 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 +1 -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 +1 -0
- package/es/components/wallet/PointCard/index.d.ts +3 -0
- package/es/components/wallet/PointCard/model.d.ts +1 -0
- package/es/components/wallet/RechargeableCard/index.d.ts +13 -0
- package/es/components/wallet/RechargeableCard/model.d.ts +1 -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 +1 -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 +33 -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 +29 -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/SearchBar/index.d.ts +17 -0
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +3 -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/useComponents.js +1 -1
- 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 +3 -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/components/Cart/ContinueButton/index.d.ts +7 -0
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +3 -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 +3 -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 +3 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +3 -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 +3 -0
- package/lib/components/appointmentBooking/components/Guest/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Header/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Resource/utils.d.ts +5 -0
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
- package/lib/components/appointmentBooking/deposit/index.d.ts +3 -0
- package/lib/components/appointmentBooking/index.d.ts +3 -0
- package/lib/components/appointmentBooking/locales.d.ts +354 -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/booking/addons/model.d.ts +1 -10
- 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/customSelect/index.d.ts +38 -0
- 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/formItemChildrenWrap/index.d.ts +1 -0
- package/lib/components/booking/components/voucher/index.d.ts +3 -0
- 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 +6 -0
- package/lib/components/booking/forms/model.d.ts +1 -10
- package/lib/components/booking/forms/sendModal/index.d.ts +27 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +9 -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/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 +7 -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/date/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 +10 -0
- package/lib/components/booking/info/index.d.ts +3 -0
- package/lib/components/booking/info/model.d.ts +5 -0
- package/lib/components/booking/info/notes/index.d.ts +1 -0
- package/lib/components/booking/info/pet/ChangePetModal/index.d.ts +4 -0
- package/lib/components/booking/info/service/actions/index.d.ts +1 -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 +1 -1
- package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +1 -0
- 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/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 +7 -0
- package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
- package/lib/components/booking/model.d.ts +107 -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/notes/model.d.ts +1 -10
- package/lib/components/booking/payments/index.d.ts +9 -0
- package/lib/components/booking/payments/model.d.ts +1 -10
- package/lib/components/booking/utils.d.ts +2 -2
- 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 +2 -1
- 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 +2 -1
- 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 +5 -5
- 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 +3 -0
- package/lib/components/eventBooking/components/OpenCard/index.d.ts +4 -0
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +2 -0
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +2 -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 +10 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +3 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +12 -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/Resource.d.ts +2 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +2 -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 +12 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +3 -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 +3 -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/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 +7 -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 +31 -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 +2 -0
- package/lib/components/pisellSelectCustomerModal/index.d.ts +15 -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/index.d.ts +7 -0
- package/lib/components/productSelect/components/TabProduct/index.d.ts +2 -0
- package/lib/components/productSelect/components/gridLayout/index.d.ts +9 -0
- package/lib/components/productSelect/components/productGroup/index.d.ts +38 -0
- package/lib/components/productSelect/hooks/useToken.d.ts +18 -0
- 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 +9 -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/model.d.ts +1 -9
- 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/schedules/utils.js +1 -1
- package/lib/components/shoppingCart/Provider.d.ts +3 -0
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +3 -0
- package/lib/components/shoppingCart/components/Cart/index.d.ts +3 -0
- package/lib/components/shoppingCart/components/Empty/index.d.ts +3 -0
- package/lib/components/shoppingCart/components/Render/index.d.ts +3 -0
- package/lib/components/shoppingCart/components/SelectHolderModal/index.d.ts +4 -0
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +2 -0
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +2 -0
- package/lib/components/shoppingCart/hooks/useContext.d.ts +1 -0
- package/lib/components/shoppingCart/index.d.ts +3 -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/index.d.ts +7 -0
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +4 -0
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +12 -0
- package/lib/components/ticketBooking/data.d.ts +58 -0
- package/lib/components/ticketBooking/hooks/useNetworkStatus.d.ts +11 -0
- package/lib/components/ticketBooking/miniRedux.d.ts +22 -0
- 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 +1 -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 +1 -0
- package/lib/components/wallet/PointCard/index.d.ts +3 -0
- package/lib/components/wallet/PointCard/model.d.ts +1 -0
- package/lib/components/wallet/RechargeableCard/index.d.ts +13 -0
- package/lib/components/wallet/RechargeableCard/model.d.ts +1 -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 +1 -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 +33 -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 +29 -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/SearchBar/index.d.ts +17 -0
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +3 -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 +2 -2
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PayStatus } from './const';
|
|
3
|
+
import { ModeEnum, ClientEnum } from './const';
|
|
4
|
+
export declare const useStoreRef: <T extends {
|
|
5
|
+
[key: string]: unknown;
|
|
6
|
+
} = {
|
|
7
|
+
[key: string]: unknown;
|
|
8
|
+
}, U extends {
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
} = {
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
}>() => {
|
|
13
|
+
readonly deviceRef: React.MutableRefObject<T>;
|
|
14
|
+
readonly payRef: React.MutableRefObject<U>;
|
|
15
|
+
readonly numRef: React.MutableRefObject<string | number | undefined>;
|
|
16
|
+
readonly orderIdRef: React.MutableRefObject<string | number>;
|
|
17
|
+
readonly modeRef: React.MutableRefObject<ModeEnum>;
|
|
18
|
+
readonly statusRef: React.MutableRefObject<"loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question">;
|
|
19
|
+
readonly netRef: React.MutableRefObject<boolean | undefined>;
|
|
20
|
+
readonly symbolRef: React.MutableRefObject<string>;
|
|
21
|
+
readonly amountRef: React.MutableRefObject<string | number>;
|
|
22
|
+
readonly eftposRef: React.MutableRefObject<"stripe" | "payo" | "tyro" | "windcave">;
|
|
23
|
+
readonly clientRef: React.MutableRefObject<ClientEnum>;
|
|
24
|
+
readonly dataRef: React.MutableRefObject<import("./store").State>;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @title: 通用失败处理
|
|
28
|
+
* @description: 固定步骤 错误处理逻辑
|
|
29
|
+
* @return null
|
|
30
|
+
* @Author: hongbing.wang
|
|
31
|
+
* @Date: 2024-08-12 11:54
|
|
32
|
+
*/
|
|
33
|
+
export declare const useFail: (index: number) => (res: {
|
|
34
|
+
code?: `${PayStatus}`;
|
|
35
|
+
}, isMark?: boolean) => void;
|
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'page.eftpos-pay.text.loading': (mode: string) => string;
|
|
4
|
+
'page.eftpos-pay.text.wait': (val: string, mode: string) => string;
|
|
5
|
+
'page.eftpos-pay.text.surcharge': string;
|
|
6
|
+
'page.eftpos-pay.text.card': string;
|
|
7
|
+
'page.eftpos-pay.text.account': string;
|
|
8
|
+
'page.eftpos-pay.text.pin': string;
|
|
9
|
+
'page.eftpos-pay.text.receipt': string;
|
|
10
|
+
'page.eftpos-pay.text.receipt.again.title': string;
|
|
11
|
+
'page.eftpos-pay.text.receipt.again.text': string;
|
|
12
|
+
'page.eftpos-pay.text.signature.title': string;
|
|
13
|
+
'page.eftpos-pay.text.signature.text': (mode: string) => "Decline will cause payment failure, need to pay again." | "Decline will cause refund failure; a refund needs to be processed again.";
|
|
14
|
+
'page.eftpos-pay.text.timedout.title': string;
|
|
15
|
+
'page.eftpos-pay.text.timedout.text': (mode: string) => "Please manually mark the payment result based on the payment status displayed on the card reader, to ensure the accuracy of the transaction." | "Please manually verify the refund result based on the refund status displayed on the card reader to ensure the transaction's accuracy.";
|
|
16
|
+
'page.eftpos-pay.text.request.title': (mode: string) => string;
|
|
17
|
+
'page.eftpos-pay.text.request.text': (mode: string) => "Please manually mark the payment result based on the payment status displayed on the card reader, to ensure the accuracy of the transaction." | "Please manually verify the refund result based on the refund status displayed on the card reader to ensure the transaction's accuracy.";
|
|
18
|
+
'page.eftpos-pay.text.request.unknown.title': (mode: string) => string;
|
|
19
|
+
'page.eftpos-pay.text.request.unknown.text': (mode: string) => "Please manually mark the payment result based on the payment status displayed on the card reader, to ensure the accuracy of the transaction." | "Please manually mark the refund result based on the refund status displayed on the card reader, to ensure the accuracy of the transaction.";
|
|
20
|
+
'page.eftpos-pay.text.interrupted': string;
|
|
21
|
+
'page.eftpos-pay.text.reconnect': string;
|
|
22
|
+
'page.eftpos-pay.text.waiting.pay': (mode: string) => "If you have confirmed the payment status from the EFTPOS, you can press Manual marking buttonto skip." | "If you have confirmed the refund status on the EFTPOS, you can press the Manual Marking button to skip.";
|
|
23
|
+
'page.eftpos-pay.text.restored': string;
|
|
24
|
+
'page.eftpos-pay.text.disconnected': string;
|
|
25
|
+
'page.eftpos-pay.text.waiting.network': string;
|
|
26
|
+
'page.eftpos-pay.text.waiting.wifi.title': string;
|
|
27
|
+
'page.eftpos-pay.text.waiting.wifi.connection': string;
|
|
28
|
+
'page.eftpos-pay.text.waiting.wifi.router': string;
|
|
29
|
+
'page.eftpos-pay.text.waiting.wifi.forget.reconnect': string;
|
|
30
|
+
'page.eftpos-pay.text.accept': string;
|
|
31
|
+
'page.eftpos-pay.text.decline': string;
|
|
32
|
+
'page.eftpos-pay.text.manual.marking': string;
|
|
33
|
+
'page.eftpos-pay.text.manual.title': string;
|
|
34
|
+
'page.eftpos-pay.text.manual.subtitle': (money: string) => string;
|
|
35
|
+
'page.eftpos-pay.text.manual.confirm': string;
|
|
36
|
+
'page.eftpos-pay.text.manual.btn.confirm': (money: string) => string;
|
|
37
|
+
'page.eftpos-pay.text.manual.diff': string;
|
|
38
|
+
'page.eftpos-pay.text.manual.tip': string;
|
|
39
|
+
'page.eftpos-pay.text.manual.cancel': string;
|
|
40
|
+
'page.eftpos-pay.text.manual.print_receipt': string;
|
|
41
|
+
'page.eftpos-pay.text.modify.payment.info': (mode: string) => "Modify payment info" | "Modify refund information";
|
|
42
|
+
'page.eftpos-pay.text.successful': (mode: string) => string;
|
|
43
|
+
'page.eftpos-pay.text.failed': (mode: string) => string;
|
|
44
|
+
'page.eftpos-pay.text.confirm': string;
|
|
45
|
+
'page.eftpos-pay.text.confirm.decline': string;
|
|
46
|
+
'page.eftpos-pay.text.back': string;
|
|
47
|
+
'page.eftpos-pay.text.cancel': string;
|
|
48
|
+
'page.eftpos-pay.text.waiting.processing': string;
|
|
49
|
+
'page.eftpos-pay.text.waiting.signature': string;
|
|
50
|
+
'page.eftpos-pay.text.waiting.decline': string;
|
|
51
|
+
'page.eftpos-pay.text.processing': string;
|
|
52
|
+
'page.eftpos-pay.text.transaction.processing': string;
|
|
53
|
+
'page.eftpos-pay.text.retry': string;
|
|
54
|
+
'page.eftpos-pay.text.sure': string;
|
|
55
|
+
'page.eftpos-pay.text.device': string;
|
|
56
|
+
'page.eftpos-pay.text.leave': string;
|
|
57
|
+
'page.eftpos-pay.text.latest.success': string;
|
|
58
|
+
'page.eftpos-pay.text.latest.amount': string;
|
|
59
|
+
'page.eftpos-pay.text.latest.surcharge': string;
|
|
60
|
+
'page.eftpos-pay.text.latest.time': string;
|
|
61
|
+
'page.eftpos-pay.text.latest.confirm': string;
|
|
62
|
+
'page.eftpos-pay.text.amount.to.pay': string;
|
|
63
|
+
'page.eftpos-pay.text.surcharge.percentage': string;
|
|
64
|
+
'page.eftpos-pay.text.surcharge.fixed': string;
|
|
65
|
+
'page.eftpos-pay.text.surcharge.percentage-fixed': string;
|
|
66
|
+
'page.eftpos-pay.text.surcharge.edit.title': string;
|
|
67
|
+
'page.eftpos-pay.text.input.title': (name: string) => string;
|
|
68
|
+
'page.eftpos-pay.text.amount.cash.left.pay.paid': (money: string) => string;
|
|
69
|
+
'page.eftpos-pay.text.surcharge.edit.actual.pay': string;
|
|
70
|
+
'page.eftpos-pay.text.surcharge.edit.inc.surcharge': string;
|
|
71
|
+
'page.eftpos-pay.text.surcharge.edit.rate': string;
|
|
72
|
+
'page.eftpos-pay.text.surcharge.edit.surcharge': string;
|
|
73
|
+
'page.eftpos-pay.text.transaction.end': string;
|
|
74
|
+
'page.eftpos-pay.text.transaction.user.declined.title': string;
|
|
75
|
+
'page.eftpos-pay.text.transaction.user.declined.text': string;
|
|
76
|
+
'page.eftpos-pay.text.transaction.user.config.title': string;
|
|
77
|
+
'page.eftpos-pay.text.transaction.user.config.text': string;
|
|
78
|
+
'page.eftpos-pay.text.transaction.back.declined.title': string;
|
|
79
|
+
'page.eftpos-pay.text.transaction.back.declined.text': string;
|
|
80
|
+
'page.eftpos-pay.text.transaction.fail': string;
|
|
81
|
+
'page.eftpos-pay.text.transaction.fail.timeout': string;
|
|
82
|
+
'page.eftpos-pay.text.transaction.pay.fail.timeout': string;
|
|
83
|
+
'page.eftpos-pay.text.transaction.fail.terminal.title': string;
|
|
84
|
+
'page.eftpos-pay.text.transaction.fail.terminal': string;
|
|
85
|
+
'page.eftpos-pay.text.transaction.fail.cancel.title': string;
|
|
86
|
+
'page.eftpos-pay.text.transaction.fail.cancel': string;
|
|
87
|
+
'page.eftpos-pay.text.transaction.fail.socket': string;
|
|
88
|
+
'page.eftpos-pay.text.transaction.eftpos.fail': string;
|
|
89
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.title': string;
|
|
90
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.power': string;
|
|
91
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.device': string;
|
|
92
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.network': string;
|
|
93
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.if': (mode: string) => "If you have confirmed the payment status of this order, please click on Manual marking." | "If you have confirmed the refund status of this order, please click on Manual Marking.";
|
|
94
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.other': string;
|
|
95
|
+
'page.eftpos-pay.text.application': string;
|
|
96
|
+
'page.eftpos-pay.text.approved': string;
|
|
97
|
+
'page.eftpos-pay.text.device.no.title': string;
|
|
98
|
+
'page.eftpos-pay.text.device.no.add': string;
|
|
99
|
+
'page.eftpos-pay.text.device.no.web': string;
|
|
100
|
+
'page.eftpos-pay.text.device.no.terminal': string;
|
|
101
|
+
'page.eftpos-pay.text.waiting.decline.signature': string;
|
|
102
|
+
'page.eftpos-pay.text.unknown.title': (mode: string) => string;
|
|
103
|
+
'page.eftpos-pay.text.unknown.text': (mode: string) => string;
|
|
104
|
+
'page.eftpos-pay.text.reconnecting': string;
|
|
105
|
+
'page.eftpos-pay.text.reconnect.network': string;
|
|
106
|
+
'page.eftpos-pay.text.network.disconnected': string;
|
|
107
|
+
'page.eftpos-pay.text.not.connected': string;
|
|
108
|
+
'page.eftpos-pay.text.tyro-btn': (key: string) => string;
|
|
109
|
+
'page.eftpos-pay.text.tyro': (key: string) => string;
|
|
110
|
+
};
|
|
111
|
+
'zh-CN': {
|
|
112
|
+
'page.eftpos-pay.text.loading': (mode: string) => string;
|
|
113
|
+
'page.eftpos-pay.text.wait': (val: string, mode: string) => string;
|
|
114
|
+
'page.eftpos-pay.text.surcharge': string;
|
|
115
|
+
'page.eftpos-pay.text.card': string;
|
|
116
|
+
'page.eftpos-pay.text.account': string;
|
|
117
|
+
'page.eftpos-pay.text.pin': string;
|
|
118
|
+
'page.eftpos-pay.text.receipt': string;
|
|
119
|
+
'page.eftpos-pay.text.receipt.again.title': string;
|
|
120
|
+
'page.eftpos-pay.text.receipt.again.text': string;
|
|
121
|
+
'page.eftpos-pay.text.signature.title': string;
|
|
122
|
+
'page.eftpos-pay.text.signature.text': (mode: string) => "拒绝将导致支付失败,需重新支付。" | "拒绝将导致退款失败;需要重新退款";
|
|
123
|
+
'page.eftpos-pay.text.timedout.title': string;
|
|
124
|
+
'page.eftpos-pay.text.timedout.text': (mode: string) => "请您根据刷卡机上的支付状态,手动标记支付结果,以确保交易的准确性。" | "请根据显示在刷卡机上的退款状态,手动标记退款结果,以确保交易准确性。";
|
|
125
|
+
'page.eftpos-pay.text.request.title': (mode: string) => string;
|
|
126
|
+
'page.eftpos-pay.text.request.text': (mode: string) => "请您根据刷卡机上的支付状态,手动标记支付结果,以确保交易的准确性。" | "请根据显示在刷卡机上的退款状态,手动标记退款结果,以确保交易准确性。";
|
|
127
|
+
'page.eftpos-pay.text.request.unknown.title': (mode: string) => string;
|
|
128
|
+
'page.eftpos-pay.text.request.unknown.text': (mode: string) => "请您根据刷卡机上的支付状态,手动标记支付结果,以确保交易的准确性。" | "请您根据刷卡机上的退款状态,手动标记退款结果,以确保交易的准确性。";
|
|
129
|
+
'page.eftpos-pay.text.interrupted': string;
|
|
130
|
+
'page.eftpos-pay.text.reconnect': string;
|
|
131
|
+
'page.eftpos-pay.text.waiting.pay': (mode: string) => "如果您已经从EFTPOS确认了付款状态,您可以按手动标记按钮跳过。" | "如果您已确认了EFTPOS上的退款状态,您可以按下手动标记按钮跳过。";
|
|
132
|
+
'page.eftpos-pay.text.restored': string;
|
|
133
|
+
'page.eftpos-pay.text.disconnected': string;
|
|
134
|
+
'page.eftpos-pay.text.waiting.network': string;
|
|
135
|
+
'page.eftpos-pay.text.waiting.wifi.title': string;
|
|
136
|
+
'page.eftpos-pay.text.waiting.wifi.connection': string;
|
|
137
|
+
'page.eftpos-pay.text.waiting.wifi.router': string;
|
|
138
|
+
'page.eftpos-pay.text.waiting.wifi.forget.reconnect': string;
|
|
139
|
+
'page.eftpos-pay.text.accept': string;
|
|
140
|
+
'page.eftpos-pay.text.decline': string;
|
|
141
|
+
'page.eftpos-pay.text.manual.marking': string;
|
|
142
|
+
'page.eftpos-pay.text.manual.title': string;
|
|
143
|
+
'page.eftpos-pay.text.manual.subtitle': (money: string) => string;
|
|
144
|
+
'page.eftpos-pay.text.manual.confirm': string;
|
|
145
|
+
'page.eftpos-pay.text.manual.btn.confirm': (money: string) => string;
|
|
146
|
+
'page.eftpos-pay.text.manual.diff': string;
|
|
147
|
+
'page.eftpos-pay.text.manual.tip': string;
|
|
148
|
+
'page.eftpos-pay.text.manual.cancel': string;
|
|
149
|
+
'page.eftpos-pay.text.manual.print_receipt': string;
|
|
150
|
+
'page.eftpos-pay.text.modify.payment.info': (mode: string) => "修改支付信息" | "修改退款信息";
|
|
151
|
+
'page.eftpos-pay.text.successful': (mode: string) => string;
|
|
152
|
+
'page.eftpos-pay.text.failed': (mode: string) => string;
|
|
153
|
+
'page.eftpos-pay.text.confirm': string;
|
|
154
|
+
'page.eftpos-pay.text.confirm.decline': string;
|
|
155
|
+
'page.eftpos-pay.text.back': string;
|
|
156
|
+
'page.eftpos-pay.text.cancel': string;
|
|
157
|
+
'page.eftpos-pay.text.waiting.processing': string;
|
|
158
|
+
'page.eftpos-pay.text.waiting.signature': string;
|
|
159
|
+
'page.eftpos-pay.text.waiting.decline': string;
|
|
160
|
+
'page.eftpos-pay.text.processing': string;
|
|
161
|
+
'page.eftpos-pay.text.transaction.processing': string;
|
|
162
|
+
'page.eftpos-pay.text.retry': string;
|
|
163
|
+
'page.eftpos-pay.text.sure': string;
|
|
164
|
+
'page.eftpos-pay.text.device': string;
|
|
165
|
+
'page.eftpos-pay.text.leave': string;
|
|
166
|
+
'page.eftpos-pay.text.latest.success': string;
|
|
167
|
+
'page.eftpos-pay.text.latest.amount': string;
|
|
168
|
+
'page.eftpos-pay.text.latest.surcharge': string;
|
|
169
|
+
'page.eftpos-pay.text.latest.time': string;
|
|
170
|
+
'page.eftpos-pay.text.latest.confirm': string;
|
|
171
|
+
'page.eftpos-pay.text.amount.to.pay': string;
|
|
172
|
+
'page.eftpos-pay.text.surcharge.percentage': string;
|
|
173
|
+
'page.eftpos-pay.text.surcharge.fixed': string;
|
|
174
|
+
'page.eftpos-pay.text.surcharge.percentage-fixed': string;
|
|
175
|
+
'page.eftpos-pay.text.surcharge.edit.title': string;
|
|
176
|
+
'page.eftpos-pay.text.input.title': (name: string) => string;
|
|
177
|
+
'page.eftpos-pay.text.amount.cash.left.pay.paid': (money: string) => string;
|
|
178
|
+
'page.eftpos-pay.text.surcharge.edit.actual.pay': string;
|
|
179
|
+
'page.eftpos-pay.text.surcharge.edit.inc.surcharge': string;
|
|
180
|
+
'page.eftpos-pay.text.surcharge.edit.rate': string;
|
|
181
|
+
'page.eftpos-pay.text.surcharge.edit.surcharge': string;
|
|
182
|
+
'page.eftpos-pay.text.transaction.end': string;
|
|
183
|
+
'page.eftpos-pay.text.transaction.user.declined.title': string;
|
|
184
|
+
'page.eftpos-pay.text.transaction.user.declined.text': string;
|
|
185
|
+
'page.eftpos-pay.text.transaction.user.config.title': string;
|
|
186
|
+
'page.eftpos-pay.text.transaction.user.config.text': string;
|
|
187
|
+
'page.eftpos-pay.text.transaction.back.declined.title': string;
|
|
188
|
+
'page.eftpos-pay.text.transaction.back.declined.text': string;
|
|
189
|
+
'page.eftpos-pay.text.transaction.fail': string;
|
|
190
|
+
'page.eftpos-pay.text.transaction.fail.timeout': string;
|
|
191
|
+
'page.eftpos-pay.text.transaction.pay.fail.timeout': string;
|
|
192
|
+
'page.eftpos-pay.text.transaction.fail.terminal.title': string;
|
|
193
|
+
'page.eftpos-pay.text.transaction.fail.terminal': string;
|
|
194
|
+
'page.eftpos-pay.text.transaction.fail.cancel.title': string;
|
|
195
|
+
'page.eftpos-pay.text.transaction.fail.cancel': string;
|
|
196
|
+
'page.eftpos-pay.text.transaction.fail.socket': string;
|
|
197
|
+
'page.eftpos-pay.text.transaction.eftpos.fail': string;
|
|
198
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.title': string;
|
|
199
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.power': string;
|
|
200
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.device': string;
|
|
201
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.network': string;
|
|
202
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.if': (mode: string) => "如果您已确认此交易的付款状态,请点击手动标记" | "如果您已确认此订单的退款状态,请点击手动标记。";
|
|
203
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.other': string;
|
|
204
|
+
'page.eftpos-pay.text.application': string;
|
|
205
|
+
'page.eftpos-pay.text.approved': string;
|
|
206
|
+
'page.eftpos-pay.text.device.no.title': string;
|
|
207
|
+
'page.eftpos-pay.text.device.no.add': string;
|
|
208
|
+
'page.eftpos-pay.text.device.no.web': string;
|
|
209
|
+
'page.eftpos-pay.text.device.no.terminal': string;
|
|
210
|
+
'page.eftpos-pay.text.waiting.decline.signature': string;
|
|
211
|
+
'page.eftpos-pay.text.unknown.title': (mode: string) => string;
|
|
212
|
+
'page.eftpos-pay.text.unknown.text': (mode: string) => string;
|
|
213
|
+
'page.eftpos-pay.text.reconnecting': string;
|
|
214
|
+
'page.eftpos-pay.text.reconnect.network': string;
|
|
215
|
+
'page.eftpos-pay.text.network.disconnected': string;
|
|
216
|
+
'page.eftpos-pay.text.not.connected': string;
|
|
217
|
+
'page.eftpos-pay.text.tyro-btn': (key: string) => string;
|
|
218
|
+
'page.eftpos-pay.text.tyro': (key: string) => string | string[];
|
|
219
|
+
};
|
|
220
|
+
'zh-HK': {
|
|
221
|
+
'page.eftpos-pay.text.loading': (mode: string) => string;
|
|
222
|
+
'page.eftpos-pay.text.wait': (val: string, mode: string) => string;
|
|
223
|
+
'page.eftpos-pay.text.surcharge': string;
|
|
224
|
+
'page.eftpos-pay.text.card': string;
|
|
225
|
+
'page.eftpos-pay.text.account': string;
|
|
226
|
+
'page.eftpos-pay.text.pin': string;
|
|
227
|
+
'page.eftpos-pay.text.receipt': string;
|
|
228
|
+
'page.eftpos-pay.text.receipt.again.title': string;
|
|
229
|
+
'page.eftpos-pay.text.receipt.again.text': string;
|
|
230
|
+
'page.eftpos-pay.text.signature.title': string;
|
|
231
|
+
'page.eftpos-pay.text.signature.text': (mode: string) => "拒絕將導致支付失敗,需重新支付。" | "拒絕將導致退款失敗;需要重新退款";
|
|
232
|
+
'page.eftpos-pay.text.timedout.title': string;
|
|
233
|
+
'page.eftpos-pay.text.timedout.text': (mode: string) => "請您根據刷卡機上的支付狀態,手動標記支付結果,以確保交易的準確性。" | "請根據顯示在刷卡機上的退款狀態,手動標記退款結果,以確保交易準確性。";
|
|
234
|
+
'page.eftpos-pay.text.request.title': (mode: string) => string;
|
|
235
|
+
'page.eftpos-pay.text.request.text': (mode: string) => "請您根據刷卡機上的支付狀態,手動標記支付結果,以確保交易的準確性。" | "請根據顯示在刷卡機上的退款狀態,手動標記退款結果,以確保交易準確性。";
|
|
236
|
+
'page.eftpos-pay.text.request.unknown.title': (mode: string) => string;
|
|
237
|
+
'page.eftpos-pay.text.request.unknown.text': (mode: string) => "請您根據刷卡機上的支付狀態,手動標記支付結果,以確保交易的準確性。" | "請您根據刷卡機上的退款狀態,手動標記退款結果,以確保交易的準確性。";
|
|
238
|
+
'page.eftpos-pay.text.interrupted': string;
|
|
239
|
+
'page.eftpos-pay.text.reconnect': string;
|
|
240
|
+
'page.eftpos-pay.text.waiting.pay': (mode: string) => "如果您已經從EFTPOS確認了付款狀態,您可以按手動標記按鈕跳過。" | "如果您已確認了EFTPOS上的退款狀態,您可以按下手動標記按鈕跳過。";
|
|
241
|
+
'page.eftpos-pay.text.restored': string;
|
|
242
|
+
'page.eftpos-pay.text.disconnected': string;
|
|
243
|
+
'page.eftpos-pay.text.waiting.network': string;
|
|
244
|
+
'page.eftpos-pay.text.waiting.wifi.title': string;
|
|
245
|
+
'page.eftpos-pay.text.waiting.wifi.connection': string;
|
|
246
|
+
'page.eftpos-pay.text.waiting.wifi.router': string;
|
|
247
|
+
'page.eftpos-pay.text.waiting.wifi.forget.reconnect': string;
|
|
248
|
+
'page.eftpos-pay.text.accept': string;
|
|
249
|
+
'page.eftpos-pay.text.decline': string;
|
|
250
|
+
'page.eftpos-pay.text.manual.marking': string;
|
|
251
|
+
'page.eftpos-pay.text.manual.title': string;
|
|
252
|
+
'page.eftpos-pay.text.manual.subtitle': (money: string) => string;
|
|
253
|
+
'page.eftpos-pay.text.manual.confirm': string;
|
|
254
|
+
'page.eftpos-pay.text.manual.btn.confirm': (money: string) => string;
|
|
255
|
+
'page.eftpos-pay.text.manual.diff': string;
|
|
256
|
+
'page.eftpos-pay.text.manual.tip': string;
|
|
257
|
+
'page.eftpos-pay.text.manual.cancel': string;
|
|
258
|
+
'page.eftpos-pay.text.manual.print_receipt': string;
|
|
259
|
+
'page.eftpos-pay.text.modify.payment.info': (mode: string) => "修改支付信息" | "修改退款信息";
|
|
260
|
+
'page.eftpos-pay.text.successful': (mode: string) => string;
|
|
261
|
+
'page.eftpos-pay.text.failed': (mode: string) => string;
|
|
262
|
+
'page.eftpos-pay.text.confirm': string;
|
|
263
|
+
'page.eftpos-pay.text.confirm.decline': string;
|
|
264
|
+
'page.eftpos-pay.text.back': string;
|
|
265
|
+
'page.eftpos-pay.text.cancel': string;
|
|
266
|
+
'page.eftpos-pay.text.waiting.processing': string;
|
|
267
|
+
'page.eftpos-pay.text.waiting.signature': string;
|
|
268
|
+
'page.eftpos-pay.text.waiting.decline': string;
|
|
269
|
+
'page.eftpos-pay.text.processing': string;
|
|
270
|
+
'page.eftpos-pay.text.transaction.processing': string;
|
|
271
|
+
'page.eftpos-pay.text.retry': string;
|
|
272
|
+
'page.eftpos-pay.text.sure': string;
|
|
273
|
+
'page.eftpos-pay.text.device': string;
|
|
274
|
+
'page.eftpos-pay.text.leave': string;
|
|
275
|
+
'page.eftpos-pay.text.latest.success': string;
|
|
276
|
+
'page.eftpos-pay.text.latest.amount': string;
|
|
277
|
+
'page.eftpos-pay.text.latest.surcharge': string;
|
|
278
|
+
'page.eftpos-pay.text.latest.time': string;
|
|
279
|
+
'page.eftpos-pay.text.latest.confirm': string;
|
|
280
|
+
'page.eftpos-pay.text.amount.to.pay': string;
|
|
281
|
+
'page.eftpos-pay.text.surcharge.percentage': string;
|
|
282
|
+
'page.eftpos-pay.text.surcharge.fixed': string;
|
|
283
|
+
'page.eftpos-pay.text.surcharge.percentage-fixed': string;
|
|
284
|
+
'page.eftpos-pay.text.surcharge.edit.title': string;
|
|
285
|
+
'page.eftpos-pay.text.input.title': (name: string) => string;
|
|
286
|
+
'page.eftpos-pay.text.amount.cash.left.pay.paid': (money: string) => string;
|
|
287
|
+
'page.eftpos-pay.text.surcharge.edit.actual.pay': string;
|
|
288
|
+
'page.eftpos-pay.text.surcharge.edit.inc.surcharge': string;
|
|
289
|
+
'page.eftpos-pay.text.surcharge.edit.rate': string;
|
|
290
|
+
'page.eftpos-pay.text.surcharge.edit.surcharge': string;
|
|
291
|
+
'page.eftpos-pay.text.transaction.end': string;
|
|
292
|
+
'page.eftpos-pay.text.transaction.user.declined.title': string;
|
|
293
|
+
'page.eftpos-pay.text.transaction.user.declined.text': string;
|
|
294
|
+
'page.eftpos-pay.text.transaction.user.config.title': string;
|
|
295
|
+
'page.eftpos-pay.text.transaction.user.config.text': string;
|
|
296
|
+
'page.eftpos-pay.text.transaction.back.declined.title': string;
|
|
297
|
+
'page.eftpos-pay.text.transaction.back.declined.text': string;
|
|
298
|
+
'page.eftpos-pay.text.transaction.fail': string;
|
|
299
|
+
'page.eftpos-pay.text.transaction.fail.timeout': string;
|
|
300
|
+
'page.eftpos-pay.text.transaction.pay.fail.timeout': string;
|
|
301
|
+
'page.eftpos-pay.text.transaction.fail.terminal.title': string;
|
|
302
|
+
'page.eftpos-pay.text.transaction.fail.terminal': string;
|
|
303
|
+
'page.eftpos-pay.text.transaction.fail.cancel.title': string;
|
|
304
|
+
'page.eftpos-pay.text.transaction.fail.cancel': string;
|
|
305
|
+
'page.eftpos-pay.text.transaction.fail.socket': string;
|
|
306
|
+
'page.eftpos-pay.text.transaction.eftpos.fail': string;
|
|
307
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.title': string;
|
|
308
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.power': string;
|
|
309
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.device': string;
|
|
310
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.network': string;
|
|
311
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.if': (mode: string) => "如果您已確認此交易的付款狀態,請點擊手動標記" | "如果您已確認此訂單的退款狀態,請點擊手動標記。";
|
|
312
|
+
'page.eftpos-pay.text.transaction.eftpos.fail.other': string;
|
|
313
|
+
'page.eftpos-pay.text.application': string;
|
|
314
|
+
'page.eftpos-pay.text.approved': string;
|
|
315
|
+
'page.eftpos-pay.text.device.no.title': string;
|
|
316
|
+
'page.eftpos-pay.text.device.no.add': string;
|
|
317
|
+
'page.eftpos-pay.text.device.no.web': string;
|
|
318
|
+
'page.eftpos-pay.text.device.no.terminal': string;
|
|
319
|
+
'page.eftpos-pay.text.waiting.decline.signature': string;
|
|
320
|
+
'page.eftpos-pay.text.unknown.title': (mode: string) => string;
|
|
321
|
+
'page.eftpos-pay.text.unknown.text': (mode: string) => string;
|
|
322
|
+
'page.eftpos-pay.text.reconnecting': string;
|
|
323
|
+
'page.eftpos-pay.text.reconnect.network': string;
|
|
324
|
+
'page.eftpos-pay.text.network.disconnected': string;
|
|
325
|
+
'page.eftpos-pay.text.not.connected': string;
|
|
326
|
+
'page.eftpos-pay.text.tyro-btn': (key: string) => string;
|
|
327
|
+
'page.eftpos-pay.text.tyro': (key: string) => string | string[];
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PayProps } from './const';
|
|
3
|
+
import './index.less';
|
|
4
|
+
/**
|
|
5
|
+
* @title: 支付组件
|
|
6
|
+
* @description:
|
|
7
|
+
* @Author: hongbing.wang
|
|
8
|
+
* @Date: 2024-08-20 14:59
|
|
9
|
+
*/
|
|
10
|
+
declare const Pay: ({ api, onChange: onChangeStatus, className, terminal, net, isMobile, tyroUrl, tyroVersion, formatAmount, client }: PayProps & {
|
|
11
|
+
terminal: {
|
|
12
|
+
network: boolean;
|
|
13
|
+
};
|
|
14
|
+
net: boolean;
|
|
15
|
+
isMobile: boolean;
|
|
16
|
+
tyroUrl?: string | undefined;
|
|
17
|
+
tyroVersion?: string | undefined;
|
|
18
|
+
formatAmount(amount: number | string, precision: number, symbol: string): string;
|
|
19
|
+
client: string;
|
|
20
|
+
}) => JSX.Element;
|
|
21
|
+
export default Pay;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { StatusEnum } from '../const';
|
|
3
|
+
export declare const POS: ({ api, onChange, }: {
|
|
4
|
+
api: {
|
|
5
|
+
[key: string]: (...agrn: unknown[]) => Promise<unknown>;
|
|
6
|
+
};
|
|
7
|
+
onChange: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}`, params?: {
|
|
8
|
+
[keys: string]: unknown;
|
|
9
|
+
} | undefined) => void;
|
|
10
|
+
}) => JSX.Element;
|
|
11
|
+
export declare const Action: ({ onChange }: {
|
|
12
|
+
onChange: any;
|
|
13
|
+
}) => JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PayStatus } from '../const';
|
|
2
|
+
/**
|
|
3
|
+
* @title: 循环查询 接口状态
|
|
4
|
+
* @Author: hongbing.wang
|
|
5
|
+
* @Date: 2024-08-20 13:29
|
|
6
|
+
*/
|
|
7
|
+
export declare const useValidate: (timeout: number) => readonly [(params_0: (...agrn: unknown[]) => Promise<any>, params_1: number, params_2?: number | undefined) => Promise<{
|
|
8
|
+
[key: string]: unknown;
|
|
9
|
+
code: `${PayStatus}`;
|
|
10
|
+
}>, () => void];
|
|
@@ -174,7 +174,7 @@ export declare const updateCustom: (payload: {
|
|
|
174
174
|
export declare const updateStatus: (status: 'loading' | 'warn' | 'fail' | 'success' | 'question') => {
|
|
175
175
|
type: EActionTypes;
|
|
176
176
|
payload: {
|
|
177
|
-
status: "
|
|
177
|
+
status: "loading" | "success" | "warn" | "fail" | "question";
|
|
178
178
|
};
|
|
179
179
|
};
|
|
180
180
|
/**
|
|
@@ -297,18 +297,18 @@ export declare const backUpFree: (payload: Partial<State>) => {
|
|
|
297
297
|
amount?: string | number | undefined;
|
|
298
298
|
mode?: "refund" | "pay" | "fullPay" | "query" | undefined;
|
|
299
299
|
order_id?: string | number | undefined;
|
|
300
|
-
eftpos?: "stripe" | "
|
|
301
|
-
action?: "amount" | "
|
|
300
|
+
eftpos?: "stripe" | "payo" | "tyro" | "windcave" | undefined;
|
|
301
|
+
action?: "amount" | "deviceList" | "pay" | undefined;
|
|
302
302
|
key?: number | undefined;
|
|
303
303
|
step?: number | undefined;
|
|
304
304
|
title?: string | undefined;
|
|
305
305
|
subTitle?: string | undefined;
|
|
306
|
-
type?: "
|
|
306
|
+
type?: "step" | "unset" | undefined;
|
|
307
307
|
render?: boolean | undefined;
|
|
308
308
|
net?: boolean | undefined;
|
|
309
309
|
component?: string | undefined;
|
|
310
310
|
form?: string | undefined;
|
|
311
|
-
status?: "
|
|
311
|
+
status?: "loading" | "success" | "warn" | "fail" | "pedding" | "resove" | "reject" | "question" | undefined;
|
|
312
312
|
warn?: string | undefined;
|
|
313
313
|
steps?: {
|
|
314
314
|
/** 用于重置当前步骤 */
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: ({ api, onChange, children, url, version, }: {
|
|
3
|
+
api: any;
|
|
4
|
+
onChange: any;
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
url?: string | undefined;
|
|
7
|
+
version?: string | undefined;
|
|
8
|
+
}) => JSX.Element;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PayStatus } from '../const';
|
|
3
|
+
import XhrTimer from './timer';
|
|
4
|
+
/**
|
|
5
|
+
* @title: windcave 支付,退款,查询 错误逻辑处理
|
|
6
|
+
* @description: 动态步骤页 异常前往 FailCustom 页面
|
|
7
|
+
* @return null
|
|
8
|
+
* @Author: hongbing.wang
|
|
9
|
+
* @Date: 2024-08-12 10:29
|
|
10
|
+
*/
|
|
11
|
+
export declare const useFail: () => (res: {
|
|
12
|
+
code?: `${PayStatus}`;
|
|
13
|
+
}, isMark?: boolean) => void;
|
|
14
|
+
/**
|
|
15
|
+
* @title: 轮询 check 接口
|
|
16
|
+
* @description: 轮询 终止条件 1.超时 , 2. 返回非200状态码 , 3. 外部关闭
|
|
17
|
+
* @return [run, XhrTimer] run: 启动函数 , XhrTimer 轮询类
|
|
18
|
+
* @Author: hongbing.wang
|
|
19
|
+
* @Date: 2024-08-12 10:30
|
|
20
|
+
*/
|
|
21
|
+
export declare const useValidate: (check: (...agrn: unknown[]) => Promise<unknown>, num: number, onChange: (params: {
|
|
22
|
+
[key: string]: unknown;
|
|
23
|
+
}) => unknown) => readonly [(timeout?: number) => void, React.MutableRefObject<((res: any, isRun?: boolean) => unknown) | undefined>, React.MutableRefObject<XhrTimer | undefined>];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare type CallToBookProps = {
|
|
2
|
+
show: boolean;
|
|
3
|
+
type: string;
|
|
4
|
+
shop: any;
|
|
5
|
+
};
|
|
6
|
+
export declare const defaultBookingConfig: {
|
|
7
|
+
booking_mode_after_cut_off: string;
|
|
8
|
+
};
|
|
9
|
+
declare const CallToBook: (props: CallToBookProps) => JSX.Element | null;
|
|
10
|
+
export default CallToBook;
|