@pisell/private-materials 6.2.8 → 6.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/businessModel/SalesModel/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Cart/utils.js +8 -13
- package/es/components/appointmentBooking/components/Content/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Content/index.js +87 -8
- package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Services/index.js +7 -2
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Voucher/index.js +10 -10
- package/es/components/appointmentBooking/hooks.js +28 -30
- package/es/components/booking/components/TabProduct/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/es/components/booking/components/collapsibleList/utils.d.ts +0 -1
- package/es/components/booking/components/emptyBooking/index.d.ts +0 -1
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
- package/es/components/booking/components/footer/index.js +32 -24
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/es/components/booking/deposit/index.d.ts +0 -1
- package/es/components/booking/forms/footer.d.ts +0 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -2
- package/es/components/booking/forms/single/index.d.ts +0 -1
- package/es/components/booking/forms/table/index.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/es/components/booking/info/date/index.d.ts +0 -1
- package/es/components/booking/info/dateRange/index.d.ts +0 -1
- package/es/components/booking/info/header/index.d.ts +0 -1
- package/es/components/booking/info/notes/index.d.ts +0 -1
- package/es/components/booking/info/service/actions/index.d.ts +0 -1
- package/es/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/es/components/booking/info/service/like/index.d.ts +0 -1
- package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
- package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
- package/es/components/booking/info/service2/Lists.d.ts +0 -1
- package/es/components/booking/info2/service/actions/index.d.ts +0 -1
- package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
- package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
- package/es/components/booking/info2/utilsByBooking.js +9 -3
- package/es/components/booking/materiels/contacts/index.d.ts +0 -1
- package/es/components/booking/materiels/holder/index.d.ts +0 -1
- package/es/components/booking/materiels/startTime/index.d.ts +0 -1
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
- package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/es/components/booking/notes/addNote/index.d.ts +0 -1
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/eftpos/deviceList/index.d.ts +0 -1
- package/es/components/eftpos/form/index.d.ts +0 -1
- package/es/components/eftpos/group/index.d.ts +0 -1
- package/es/components/eftpos/hooks.d.ts +0 -1
- package/es/components/eftpos/icon/apiKey.d.ts +0 -1
- package/es/components/eftpos/icon/device.d.ts +0 -1
- package/es/components/eftpos/index.d.ts +0 -1
- package/es/components/eftpos/pos.d.ts +0 -1
- package/es/components/eftpos/receipt/index.d.ts +0 -1
- package/es/components/eftpos/surcharge/index.d.ts +0 -1
- package/es/components/eftposPay/amount.d.ts +1 -2
- package/es/components/eftposPay/app.d.ts +0 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/es/components/eftposPay/component/fail/index.d.ts +0 -1
- package/es/components/eftposPay/component/fail/network.d.ts +0 -1
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/es/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/es/components/eftposPay/component/manual/index.d.ts +0 -1
- package/es/components/eftposPay/component/signature/index.d.ts +0 -1
- package/es/components/eftposPay/component/step/index.d.ts +0 -1
- package/es/components/eftposPay/component/step/step.d.ts +0 -1
- package/es/components/eftposPay/device.d.ts +1 -2
- package/es/components/eftposPay/tip.d.ts +0 -1
- package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/es/components/eftposPay/windcave/receiptAction.d.ts +0 -1
- package/es/components/eftposPay/windcave/windcave.d.ts +0 -1
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/es/components/login/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
- package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
- package/es/components/productExtension/index.d.ts +0 -1
- package/es/components/productSelect/components/TabProduct/index.d.ts +0 -1
- package/es/components/productSelect/components/TabProduct/index.js +103 -39
- package/es/components/productSelect/components/TabProduct/tabs/index.less +1 -0
- package/es/components/productSelect/components/productGroup/index.d.ts +0 -1
- package/es/components/productSelect/index.d.ts +2 -0
- package/es/components/ruleSetting/index.d.ts +0 -1
- package/es/components/ruleSetting/ruleBorder/index.d.ts +0 -1
- package/es/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/es/components/schedules/calendar/index.d.ts +0 -1
- package/es/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/products/index.d.ts +0 -1
- package/es/components/schedules/products/list/ProductItem/index.d.ts +0 -1
- package/es/components/schedules/products/list/index.d.ts +0 -1
- package/es/components/schedules/resources/index.d.ts +0 -1
- package/es/components/schedules/resources/list/index.d.ts +0 -1
- package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/schedules/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/es/components/shoppingCart/index.d.ts +0 -1
- package/es/components/taxSelect/index.d.ts +0 -1
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -1
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
- package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -1
- package/es/components/ticketBooking/components/menuBar/index.js +38 -2
- package/es/components/ticketBooking/components/menuBar/index.less +8 -0
- package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -1
- package/es/components/ticketBooking/index.d.ts +0 -1
- package/es/components/ticketBooking/locales.d.ts +3 -0
- package/es/components/ticketBooking/locales.js +6 -3
- package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
- package/es/components/walletList/index.js +4 -4
- package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/lib/businessModel/SalesModel/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/utils.js +0 -10
- package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Content/index.js +44 -7
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Services/index.js +6 -1
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Voucher/index.js +0 -11
- package/lib/components/appointmentBooking/hooks.js +5 -16
- package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
- package/lib/components/booking/components/collapsibleList/utils.d.ts +0 -1
- package/lib/components/booking/components/emptyBooking/index.d.ts +0 -1
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +0 -1
- package/lib/components/booking/components/footer/index.js +24 -11
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +0 -1
- package/lib/components/booking/deposit/index.d.ts +0 -1
- package/lib/components/booking/forms/footer.d.ts +0 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -2
- package/lib/components/booking/forms/single/index.d.ts +0 -1
- package/lib/components/booking/forms/table/index.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +0 -1
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
- package/lib/components/booking/info/date/index.d.ts +0 -1
- package/lib/components/booking/info/dateRange/index.d.ts +0 -1
- package/lib/components/booking/info/header/index.d.ts +0 -1
- package/lib/components/booking/info/notes/index.d.ts +0 -1
- package/lib/components/booking/info/service/actions/index.d.ts +0 -1
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +0 -1
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/lib/components/booking/info/service/like/index.d.ts +0 -1
- package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
- package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
- package/lib/components/booking/info/service2/Lists.d.ts +0 -1
- package/lib/components/booking/info2/service/actions/index.d.ts +0 -1
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
- package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
- package/lib/components/booking/info2/utilsByBooking.js +4 -1
- package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
- package/lib/components/booking/materiels/holder/index.d.ts +0 -1
- package/lib/components/booking/materiels/startTime/index.d.ts +0 -1
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +0 -1
- package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/lib/components/booking/notes/addNote/index.d.ts +0 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/eftpos/deviceList/index.d.ts +0 -1
- package/lib/components/eftpos/form/index.d.ts +0 -1
- package/lib/components/eftpos/group/index.d.ts +0 -1
- package/lib/components/eftpos/hooks.d.ts +0 -1
- package/lib/components/eftpos/icon/apiKey.d.ts +0 -1
- package/lib/components/eftpos/icon/device.d.ts +0 -1
- package/lib/components/eftpos/index.d.ts +0 -1
- package/lib/components/eftpos/pos.d.ts +0 -1
- package/lib/components/eftpos/receipt/index.d.ts +0 -1
- package/lib/components/eftpos/surcharge/index.d.ts +0 -1
- package/lib/components/eftposPay/amount.d.ts +1 -2
- package/lib/components/eftposPay/app.d.ts +0 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/lib/components/eftposPay/component/header/titlebar.d.ts +0 -1
- package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
- package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
- package/lib/components/eftposPay/component/step/index.d.ts +0 -1
- package/lib/components/eftposPay/component/step/step.d.ts +0 -1
- package/lib/components/eftposPay/device.d.ts +1 -2
- package/lib/components/eftposPay/tip.d.ts +0 -1
- package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +0 -1
- package/lib/components/eftposPay/windcave/windcave.d.ts +0 -1
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/lib/components/login/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +0 -1
- package/lib/components/productExtension/index.d.ts +0 -1
- package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -1
- package/lib/components/productSelect/components/TabProduct/index.js +74 -37
- package/lib/components/productSelect/components/TabProduct/tabs/index.less +1 -0
- package/lib/components/productSelect/components/productGroup/index.d.ts +0 -1
- package/lib/components/productSelect/index.d.ts +2 -0
- package/lib/components/ruleSetting/index.d.ts +0 -1
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +0 -1
- package/lib/components/schedules/calendar/calendarItem.d.ts +0 -1
- package/lib/components/schedules/calendar/index.d.ts +0 -1
- package/lib/components/schedules/components/CurrentDay/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/products/index.d.ts +0 -1
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +0 -1
- package/lib/components/schedules/products/list/index.d.ts +0 -1
- package/lib/components/schedules/resources/index.d.ts +0 -1
- package/lib/components/schedules/resources/list/index.d.ts +0 -1
- package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/schedules/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/lib/components/shoppingCart/index.d.ts +0 -1
- package/lib/components/taxSelect/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -1
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/menuBar/index.js +42 -2
- package/lib/components/ticketBooking/components/menuBar/index.less +8 -0
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -1
- package/lib/components/ticketBooking/index.d.ts +0 -1
- package/lib/components/ticketBooking/locales.d.ts +3 -0
- package/lib/components/ticketBooking/locales.js +6 -3
- package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
- package/lib/components/walletList/index.js +3 -3
- package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/package.json +4 -4
- package/es/businessModel/SalesModel/Sales/index.d.ts +0 -24
- package/es/components/Sales/Cart/index.d.ts +0 -53
- package/es/components/Sales/Cart/utils.d.ts +0 -63
- package/es/components/Sales/Checkout/index.d.ts +0 -37
- package/es/components/Sales/Checkout/serve.d.ts +0 -15
- package/es/components/Sales/Checkout/utils.d.ts +0 -40
- package/es/components/Sales/Customer/index.d.ts +0 -25
- package/es/components/Sales/Resource/index.d.ts +0 -26
- package/es/components/Sales/Resource/serve.d.ts +0 -12
- package/es/components/Sales/Summary/index.d.ts +0 -35
- package/es/components/Sales/Summary/serve.d.ts +0 -1
- package/es/components/Sales/Summary/utils.d.ts +0 -51
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -10
- package/es/components/appointmentBooking/components/Form/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Form/utils.d.ts +0 -8
- package/es/components/appointmentBooking/components/Header/index.d.ts +0 -4
- package/es/components/appointmentBooking/components/Resource/index.d.ts +0 -7
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -4
- package/es/components/appointmentBooking/deposit/index.d.ts +0 -4
- package/es/components/appointmentBooking/index.d.ts +0 -4
- package/es/components/booking/components/customSelect/index.d.ts +0 -38
- package/es/components/booking/components/footer/index.d.ts +0 -12
- package/es/components/booking/components/footer/utils.d.ts +0 -41
- package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -9
- package/es/components/booking/components/voucher/index.d.ts +0 -4
- package/es/components/booking/editBookingModal/index.d.ts +0 -5
- package/es/components/booking/editBookingModal/locales.d.ts +0 -21
- package/es/components/booking/editBookingModal/mock.d.ts +0 -807
- package/es/components/booking/editBookingModal/serve.d.ts +0 -51
- package/es/components/booking/editBookingModal/type.d.ts +0 -12
- package/es/components/booking/editBookingModal/utils.d.ts +0 -12
- package/es/components/booking/hooks/useClearCart.d.ts +0 -3
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -7
- package/es/components/booking/info/client/index.d.ts +0 -4
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +0 -10
- package/es/components/booking/info/index.d.ts +0 -4
- package/es/components/booking/info/model.d.ts +0 -5
- package/es/components/booking/info/service/Lists.d.ts +0 -3
- package/es/components/booking/info/service/addService/index.d.ts +0 -12
- package/es/components/booking/info/service/editService/index.d.ts +0 -7
- package/es/components/booking/info/service/serviceManager/index.d.ts +0 -20
- package/es/components/booking/info/service2/utils.d.ts +0 -247
- package/es/components/booking/info/utils.d.ts +0 -50
- package/es/components/booking/info2/index.d.ts +0 -12
- package/es/components/booking/info2/service/addService/index.d.ts +0 -12
- package/es/components/booking/info2/service/addService/utils.d.ts +0 -98
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +0 -4
- package/es/components/booking/info2/service/editService/Resources/index.d.ts +0 -4
- package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +0 -7
- package/es/components/booking/info2/service/editService/ResourcesV2/index.d.ts +0 -10
- package/es/components/booking/info2/service/editService/index.d.ts +0 -7
- package/es/components/booking/info2/service/index.d.ts +0 -4
- package/es/components/booking/info2/utils.d.ts +0 -4
- package/es/components/booking/info2/utilsByBooking.d.ts +0 -35
- package/es/components/booking/locales.d.ts +0 -828
- package/es/components/booking/materiels/duration/index.d.ts +0 -14
- package/es/components/booking/model.d.ts +0 -108
- package/es/components/eftposPay/const.d.ts +0 -184
- package/es/components/eftposPay/hooks.d.ts +0 -35
- package/es/components/eftposPay/index.d.ts +0 -5
- package/es/components/eftposPay/linkly/const.d.ts +0 -23
- package/es/components/eftposPay/linkly/hooks/index.d.ts +0 -2
- package/es/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/es/components/eftposPay/linkly/index.d.ts +0 -3
- package/es/components/eftposPay/linkly/service.d.ts +0 -32
- package/es/components/eftposPay/manufacturer.d.ts +0 -7
- package/es/components/eftposPay/pay.d.ts +0 -21
- package/es/components/eftposPay/payo/config.d.ts +0 -13
- package/es/components/eftposPay/store/index.d.ts +0 -355
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -4
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -3
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -4
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -4
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -4
- package/es/components/eventBooking/components/bookingDetailModal/index.d.ts +0 -7
- package/es/components/eventBooking/index.d.ts +0 -4
- package/es/components/eventBooking/locales.d.ts +0 -246
- package/es/components/index.d.ts +0 -20
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -3
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -61
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
- package/es/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/es/components/pay/toC/index.d.ts +0 -3
- package/es/components/pay/toC/locales.d.ts +0 -289
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
- package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -4
- package/es/components/shoppingCart/components/Cart/index.d.ts +0 -4
- package/es/components/stepController/components/Content/index.d.ts +0 -7
- package/es/components/stepController/components/Footer/index.d.ts +0 -8
- package/es/components/stepController/components/Header/index.d.ts +0 -20
- package/es/components/stepController/index.d.ts +0 -5
- package/es/components/stepController/locales.d.ts +0 -27
- package/es/components/stepController/types.d.ts +0 -23
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -5
- package/es/components/ticketBooking/serve.d.ts +0 -287
- package/es/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
- package/es/components/ticketBooking/utils/formatTime.d.ts +0 -31
- package/es/components/ticketBooking/utils/index.d.ts +0 -23
- package/es/hooks/useWindowSize.d.ts +0 -5
- package/es/index.d.ts +0 -47
- package/es/utils/index.d.ts +0 -23
- package/lib/businessModel/SalesModel/Sales/index.d.ts +0 -24
- package/lib/components/Sales/Cart/index.d.ts +0 -53
- package/lib/components/Sales/Cart/utils.d.ts +0 -63
- package/lib/components/Sales/Checkout/index.d.ts +0 -37
- package/lib/components/Sales/Checkout/serve.d.ts +0 -15
- package/lib/components/Sales/Checkout/utils.d.ts +0 -40
- package/lib/components/Sales/Customer/index.d.ts +0 -25
- package/lib/components/Sales/Resource/index.d.ts +0 -26
- package/lib/components/Sales/Resource/serve.d.ts +0 -12
- package/lib/components/Sales/Summary/index.d.ts +0 -35
- package/lib/components/Sales/Summary/serve.d.ts +0 -1
- package/lib/components/Sales/Summary/utils.d.ts +0 -51
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -10
- package/lib/components/appointmentBooking/components/Form/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Form/utils.d.ts +0 -8
- package/lib/components/appointmentBooking/components/Header/index.d.ts +0 -4
- package/lib/components/appointmentBooking/components/Resource/index.d.ts +0 -7
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -4
- package/lib/components/appointmentBooking/deposit/index.d.ts +0 -4
- package/lib/components/appointmentBooking/index.d.ts +0 -4
- package/lib/components/booking/components/customSelect/index.d.ts +0 -38
- package/lib/components/booking/components/footer/index.d.ts +0 -12
- package/lib/components/booking/components/footer/utils.d.ts +0 -41
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -9
- package/lib/components/booking/components/voucher/index.d.ts +0 -4
- package/lib/components/booking/editBookingModal/index.d.ts +0 -5
- package/lib/components/booking/editBookingModal/locales.d.ts +0 -21
- package/lib/components/booking/editBookingModal/mock.d.ts +0 -807
- package/lib/components/booking/editBookingModal/serve.d.ts +0 -51
- package/lib/components/booking/editBookingModal/type.d.ts +0 -12
- package/lib/components/booking/editBookingModal/utils.d.ts +0 -12
- package/lib/components/booking/hooks/useClearCart.d.ts +0 -3
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +0 -1
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -7
- package/lib/components/booking/info/client/index.d.ts +0 -4
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +0 -10
- package/lib/components/booking/info/index.d.ts +0 -4
- package/lib/components/booking/info/model.d.ts +0 -5
- package/lib/components/booking/info/service/Lists.d.ts +0 -3
- package/lib/components/booking/info/service/addService/index.d.ts +0 -12
- package/lib/components/booking/info/service/editService/index.d.ts +0 -7
- package/lib/components/booking/info/service/serviceManager/index.d.ts +0 -20
- package/lib/components/booking/info/service2/utils.d.ts +0 -247
- package/lib/components/booking/info/utils.d.ts +0 -50
- package/lib/components/booking/info2/index.d.ts +0 -12
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -12
- package/lib/components/booking/info2/service/addService/utils.d.ts +0 -98
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +0 -4
- package/lib/components/booking/info2/service/editService/Resources/index.d.ts +0 -4
- package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +0 -7
- package/lib/components/booking/info2/service/editService/ResourcesV2/index.d.ts +0 -10
- package/lib/components/booking/info2/service/editService/index.d.ts +0 -7
- package/lib/components/booking/info2/service/index.d.ts +0 -4
- package/lib/components/booking/info2/utils.d.ts +0 -4
- package/lib/components/booking/info2/utilsByBooking.d.ts +0 -35
- package/lib/components/booking/locales.d.ts +0 -828
- package/lib/components/booking/materiels/duration/index.d.ts +0 -14
- package/lib/components/booking/model.d.ts +0 -108
- package/lib/components/eftposPay/const.d.ts +0 -184
- package/lib/components/eftposPay/hooks.d.ts +0 -35
- package/lib/components/eftposPay/index.d.ts +0 -5
- package/lib/components/eftposPay/linkly/const.d.ts +0 -23
- package/lib/components/eftposPay/linkly/hooks/index.d.ts +0 -2
- package/lib/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/lib/components/eftposPay/linkly/index.d.ts +0 -3
- package/lib/components/eftposPay/linkly/service.d.ts +0 -32
- package/lib/components/eftposPay/manufacturer.d.ts +0 -7
- package/lib/components/eftposPay/pay.d.ts +0 -21
- package/lib/components/eftposPay/payo/config.d.ts +0 -13
- package/lib/components/eftposPay/store/index.d.ts +0 -355
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +0 -4
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -3
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -4
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -4
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -4
- package/lib/components/eventBooking/components/bookingDetailModal/index.d.ts +0 -7
- package/lib/components/eventBooking/index.d.ts +0 -4
- package/lib/components/eventBooking/locales.d.ts +0 -246
- package/lib/components/index.d.ts +0 -20
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +0 -3
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +0 -61
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +0 -10
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +0 -9
- package/lib/components/pay/toC/index.d.ts +0 -3
- package/lib/components/pay/toC/locales.d.ts +0 -289
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +0 -11
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -4
- package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -4
- package/lib/components/stepController/components/Content/index.d.ts +0 -7
- package/lib/components/stepController/components/Footer/index.d.ts +0 -8
- package/lib/components/stepController/components/Header/index.d.ts +0 -20
- package/lib/components/stepController/index.d.ts +0 -5
- package/lib/components/stepController/locales.d.ts +0 -27
- package/lib/components/stepController/types.d.ts +0 -23
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -5
- package/lib/components/ticketBooking/serve.d.ts +0 -287
- package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
- package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -31
- package/lib/components/ticketBooking/utils/index.d.ts +0 -23
- package/lib/hooks/useWindowSize.d.ts +0 -5
- package/lib/index.d.ts +0 -47
- package/lib/utils/index.d.ts +0 -23
@@ -1,14 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
import { SelectProps } from 'antd';
|
3
|
-
interface DurationProps extends SelectProps {
|
4
|
-
locale?: string;
|
5
|
-
slice?: number;
|
6
|
-
selectProps?: SelectProps;
|
7
|
-
timeObjChange?: any;
|
8
|
-
duration?: any;
|
9
|
-
usableTime?: any;
|
10
|
-
startDate?: any;
|
11
|
-
timeObj?: any;
|
12
|
-
}
|
13
|
-
declare const Duration: (props: DurationProps) => JSX.Element;
|
14
|
-
export default Duration;
|
@@ -1,108 +0,0 @@
|
|
1
|
-
export interface FormState {
|
2
|
-
amountSymbol: string;
|
3
|
-
apis: {
|
4
|
-
getClients: (par?: any) => any;
|
5
|
-
getClientsEs: (par?: any) => any;
|
6
|
-
getServices: (par?: any) => any;
|
7
|
-
getResources: (par?: any) => any;
|
8
|
-
getProducts: (par?: any) => any;
|
9
|
-
getPets: (par?: any) => any;
|
10
|
-
getForms: (par?: any) => any;
|
11
|
-
getFormData: (par?: any) => any;
|
12
|
-
getAddonsByOrderId: (par?: any) => any;
|
13
|
-
saveAddonsByOrderId: (par?: any) => any;
|
14
|
-
getNotesByOrder: (par?: any) => any;
|
15
|
-
saveBookingFormData: (par?: any) => any;
|
16
|
-
getPetsData: (par?: any) => any;
|
17
|
-
};
|
18
|
-
client: {
|
19
|
-
showModal: boolean;
|
20
|
-
value: any;
|
21
|
-
clients: any[];
|
22
|
-
clientsParams: {
|
23
|
-
skip: number;
|
24
|
-
num: number;
|
25
|
-
search: string;
|
26
|
-
};
|
27
|
-
edit: boolean;
|
28
|
-
};
|
29
|
-
date: {
|
30
|
-
value: any;
|
31
|
-
end_date: any;
|
32
|
-
edit: boolean;
|
33
|
-
};
|
34
|
-
service: {
|
35
|
-
addModal: boolean;
|
36
|
-
editModal: boolean;
|
37
|
-
services: any[];
|
38
|
-
resources: any[];
|
39
|
-
resourcesOrigin: any[];
|
40
|
-
reloadResourceModal: false;
|
41
|
-
value: any[];
|
42
|
-
cacheItem: any;
|
43
|
-
edit: boolean;
|
44
|
-
addTimeModal: boolean;
|
45
|
-
changeService: any;
|
46
|
-
};
|
47
|
-
pet: {
|
48
|
-
showModal: boolean;
|
49
|
-
pets: any[];
|
50
|
-
value: any[];
|
51
|
-
formData: any;
|
52
|
-
originValue: any;
|
53
|
-
edit: boolean;
|
54
|
-
};
|
55
|
-
addons: {
|
56
|
-
showModal: boolean;
|
57
|
-
value: any[];
|
58
|
-
productList: any[];
|
59
|
-
originData: any[];
|
60
|
-
edit: boolean;
|
61
|
-
};
|
62
|
-
notes: {
|
63
|
-
orderNote: string;
|
64
|
-
internalNotes: any[];
|
65
|
-
edit: boolean;
|
66
|
-
};
|
67
|
-
form: {
|
68
|
-
value: any;
|
69
|
-
forms: any[];
|
70
|
-
edit: boolean;
|
71
|
-
};
|
72
|
-
setGlobalState: () => void;
|
73
|
-
disabledEdit: boolean;
|
74
|
-
bookingConfig: any;
|
75
|
-
action: any;
|
76
|
-
bookingId: string | number;
|
77
|
-
bookingDetail: any;
|
78
|
-
channelDisabledEdit: boolean;
|
79
|
-
renderType?: 'eventBooking' | 'dayBooking';
|
80
|
-
modalOpen?: boolean;
|
81
|
-
isTerminal?: boolean;
|
82
|
-
isFranchisee?: boolean;
|
83
|
-
addTimeProducts: any[];
|
84
|
-
eventOtherParams?: {
|
85
|
-
relation_id: number;
|
86
|
-
number: number;
|
87
|
-
registration_type: 'single' | 'all' | 'extra_include';
|
88
|
-
start_date: string;
|
89
|
-
start_time: string;
|
90
|
-
end_date: string;
|
91
|
-
end_time: string;
|
92
|
-
productIds: number[];
|
93
|
-
};
|
94
|
-
disableEventBookingEdit?: boolean;
|
95
|
-
/** 关闭自动打开选择服务弹窗 */
|
96
|
-
closeAutoOpenService?: boolean;
|
97
|
-
/** 是否terminal创建booking页面 */
|
98
|
-
isBookingCreatePage?: boolean;
|
99
|
-
loading: boolean;
|
100
|
-
isTerminalDayBookingPage?: boolean;
|
101
|
-
activeCartId?: any[];
|
102
|
-
isDayBooking: boolean;
|
103
|
-
}
|
104
|
-
export declare const walkInData: {
|
105
|
-
id: number;
|
106
|
-
nickname: string;
|
107
|
-
};
|
108
|
-
export declare const Provider: any, Context: any;
|
@@ -1,184 +0,0 @@
|
|
1
|
-
export declare enum EftposEnum {
|
2
|
-
/** 后端支付 - 仅支付 */
|
3
|
-
Payo = "payo",
|
4
|
-
/** 前端支付 */
|
5
|
-
Tyro = "tyro",
|
6
|
-
/** 后端支付 - 支付 + 退款 */
|
7
|
-
Windcave = "windcave",
|
8
|
-
Stripe = "stripe",
|
9
|
-
Linkly = "linkly"
|
10
|
-
}
|
11
|
-
export declare enum StatusEnum {
|
12
|
-
Loading = "loading",
|
13
|
-
Warn = "warn",
|
14
|
-
Fail = "fail",
|
15
|
-
Success = "success",
|
16
|
-
Pedding = "pedding",
|
17
|
-
Resove = "resove",
|
18
|
-
Reject = "reject",
|
19
|
-
Question = "question"
|
20
|
-
}
|
21
|
-
export declare enum ModeEnum {
|
22
|
-
/** 支付 */
|
23
|
-
Pay = "pay",
|
24
|
-
/** 完整支付 */
|
25
|
-
FullPay = "fullPay",
|
26
|
-
/** 退款 */
|
27
|
-
Refund = "refund",
|
28
|
-
/** 查询 */
|
29
|
-
Query = "query"
|
30
|
-
}
|
31
|
-
/**
|
32
|
-
* 崩溃恢复
|
33
|
-
*/
|
34
|
-
export declare enum RestoreEumn {
|
35
|
-
/** 常规 */
|
36
|
-
Normal = "normal",
|
37
|
-
/** 恢复 */
|
38
|
-
Restore = "restore"
|
39
|
-
}
|
40
|
-
/**
|
41
|
-
* 订单状态
|
42
|
-
*/
|
43
|
-
export declare enum OrderEumn {
|
44
|
-
/** 恢复 */
|
45
|
-
Restore = "restore",
|
46
|
-
/** 常规 */
|
47
|
-
Normal = "normal",
|
48
|
-
/** 成功 */
|
49
|
-
Succeed = "succeed",
|
50
|
-
/** 失败 */
|
51
|
-
Failed = "failed",
|
52
|
-
/** 等待 */
|
53
|
-
Pending = "pending",
|
54
|
-
/** 没有订单状态 */
|
55
|
-
Null = "null"
|
56
|
-
}
|
57
|
-
export declare enum ClientEnum {
|
58
|
-
/** 用户端 */
|
59
|
-
User = "user",
|
60
|
-
/** 商家端 */
|
61
|
-
Merchant = "merchant"
|
62
|
-
}
|
63
|
-
export declare enum RouteEnum {
|
64
|
-
/** 改价页 */
|
65
|
-
Amount = "amount",
|
66
|
-
/** 门店列表页 */
|
67
|
-
DeviceList = "deviceList",
|
68
|
-
/**支付页 */
|
69
|
-
Pay = "pay"
|
70
|
-
}
|
71
|
-
export declare enum PayRouteEnum {
|
72
|
-
Step = "step",
|
73
|
-
Unset = "unset"
|
74
|
-
}
|
75
|
-
export declare type RouteType = `${RouteEnum}`;
|
76
|
-
export declare type PayRouteType = `${PayRouteEnum}`;
|
77
|
-
export declare type DeviceStatusType = `${EftposEnum}`;
|
78
|
-
export declare type StatusType = `${StatusEnum}`;
|
79
|
-
export declare type ModeType = `${ModeEnum}`;
|
80
|
-
export interface PosProps {
|
81
|
-
/** 厂商类型 */
|
82
|
-
type: DeviceStatusType;
|
83
|
-
getApi: () => {
|
84
|
-
[key: string]: (...agrn: unknown[]) => Promise<unknown>;
|
85
|
-
};
|
86
|
-
params: {
|
87
|
-
[key: string]: unknown;
|
88
|
-
};
|
89
|
-
/** 回调 */
|
90
|
-
onChangeStatus: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}` | 'page' | 'print' | 'mark_tx_processed', params?: {
|
91
|
-
[keys: string]: unknown;
|
92
|
-
} | string, other?: any) => void;
|
93
|
-
onChangeParams(...agrn: unknown[]): void;
|
94
|
-
terminal: {
|
95
|
-
network: boolean;
|
96
|
-
};
|
97
|
-
device?: {
|
98
|
-
[key: string]: unknown;
|
99
|
-
};
|
100
|
-
mode: ModeEnum;
|
101
|
-
tyroUrl?: string;
|
102
|
-
tyroVersion?: string;
|
103
|
-
source: 'normal' | 'restore';
|
104
|
-
}
|
105
|
-
export interface PayProps {
|
106
|
-
api: ReturnType<PosProps['getApi']>;
|
107
|
-
onChange: PosProps['onChangeStatus'];
|
108
|
-
className?: string;
|
109
|
-
}
|
110
|
-
export declare type Amount = {
|
111
|
-
name: string;
|
112
|
-
/** 订单金额 */
|
113
|
-
money: number;
|
114
|
-
/** 上一轮操作订单金额 */
|
115
|
-
amount: number;
|
116
|
-
/** 金额单位 */
|
117
|
-
symbol: string;
|
118
|
-
/** 手续费-百分率 */
|
119
|
-
surRate: number;
|
120
|
-
/** 手续费-是否开启 */
|
121
|
-
surMoney: number;
|
122
|
-
/** 手续费-是否存在 */
|
123
|
-
surcharge: boolean;
|
124
|
-
/** 是否使用原始手续费 */
|
125
|
-
useOriginSurcharge: boolean;
|
126
|
-
};
|
127
|
-
export declare type PayAmount = {
|
128
|
-
/** 手续费-百分比-带百分号 例: 1% =》 数据为 0.01 */
|
129
|
-
surPercentRate: string;
|
130
|
-
/** 手续费-百分比-不带百分号 例:1% =》 数据为 1 */
|
131
|
-
surRate: string;
|
132
|
-
/** 手续费-比例金额 amount * surPercentRate */
|
133
|
-
surRateMoney: string;
|
134
|
-
/** 手续费-固定金额 */
|
135
|
-
surMoney: string;
|
136
|
-
/** 手续费 = surPercentRate + surMoney */
|
137
|
-
surcharge: string;
|
138
|
-
/** 支付金额 (不包含手续费) */
|
139
|
-
amount: string;
|
140
|
-
/** 支付总金额 = amount + surcharge */
|
141
|
-
total: string;
|
142
|
-
/** 订单金额 */
|
143
|
-
sourceAmount: string;
|
144
|
-
/** 支付总金额带单位 + 单位 */
|
145
|
-
totalUnit: string;
|
146
|
-
};
|
147
|
-
export declare enum PayStatus {
|
148
|
-
'Success' = "200",
|
149
|
-
/** 未生成交易记录 */
|
150
|
-
'NoPay' = "4004",
|
151
|
-
/** 配对失效 */
|
152
|
-
'PairingFailure' = "606020",
|
153
|
-
/** 支付失败 */
|
154
|
-
'Unknown' = "701000",
|
155
|
-
/** 交易请求超时 */
|
156
|
-
'Timeout' = "701001",
|
157
|
-
/** 繁忙 EFTPOS终端暂时不可用,因为EFTPOS正在处理另一个请求。 */
|
158
|
-
'PayOtherEftposFailed' = "701003",
|
159
|
-
/** 购物者没有出示卡片/卡片金额不足/在线拒绝/卡已过期/卡被锁定 */
|
160
|
-
'PayCardErrorFailed' = "701004",
|
161
|
-
/** 断网 向EFTPOS发送消息失败。可能有网络问题,也可能没有连接websocket。 */
|
162
|
-
'NoNetWork' = "701005",
|
163
|
-
/** 交易等待超时 */
|
164
|
-
'PayTimeout' = "701006",
|
165
|
-
/** 连接失败 */
|
166
|
-
'SocketError' = "701007",
|
167
|
-
/** 银行拒绝 */
|
168
|
-
'PayBankRefuses' = "701008",
|
169
|
-
/** 签名拒绝 */
|
170
|
-
'SignatureDeclined' = "701009",
|
171
|
-
/** 配置参数错误 */
|
172
|
-
'UserConfigError' = "701010"
|
173
|
-
}
|
174
|
-
export interface ActionProps {
|
175
|
-
onChange: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}` | 'page', params?: {
|
176
|
-
[key: string]: unknown;
|
177
|
-
} | string) => void;
|
178
|
-
api: {
|
179
|
-
[key: string]: (...agrn: unknown[]) => Promise<unknown>;
|
180
|
-
};
|
181
|
-
className?: string;
|
182
|
-
isMobile?: boolean;
|
183
|
-
formatAmount: (amount: number | string, precision: number, symbol: string) => string;
|
184
|
-
}
|
@@ -1,35 +0,0 @@
|
|
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<"warn" | "success" | "loading" | "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<"payo" | "tyro" | "windcave" | "stripe" | "linkly">;
|
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;
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { State } from '../store';
|
2
|
-
import { ModeEnum } from '../const';
|
3
|
-
export declare const getStep: (mode?: ModeEnum) => State['steps'];
|
4
|
-
declare const _default: (params: any) => State;
|
5
|
-
export default _default;
|
6
|
-
export declare enum EVisibleButtonType {
|
7
|
-
/** 取消按钮 */
|
8
|
-
CancelButton = "CancelButton",
|
9
|
-
/** 等待按钮 */
|
10
|
-
WaitButton = "WaitButton"
|
11
|
-
}
|
12
|
-
export declare enum LinklyActionStatus {
|
13
|
-
/** 空 */
|
14
|
-
Empty = "Empty",
|
15
|
-
/** 取消 */
|
16
|
-
Cancel = "Cancel",
|
17
|
-
/** 取消中 */
|
18
|
-
CancelWaiting = "CancelWaiting",
|
19
|
-
/** 签名 */
|
20
|
-
Signature = "Signature",
|
21
|
-
/** 签名等待中 */
|
22
|
-
SignatureWaiting = "SignatureWaiting"
|
23
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* 支付或退款
|
3
|
-
* @param failAction 失败回调
|
4
|
-
*/
|
5
|
-
export declare const useLinklyPayOrRefund: (handleCheck: () => boolean) => {
|
6
|
-
action: {
|
7
|
-
pay: import("ahooks/lib/useRequest/src/types").Result<any, [data: any]>;
|
8
|
-
};
|
9
|
-
payOrRefund: (resultQuery: any, handleLinklySuccess: any) => void;
|
10
|
-
};
|
11
|
-
/**
|
12
|
-
* @title: 取消支付或退款
|
13
|
-
* @description: 取消支付或退款调用接口后不管成功还是失败都需要调用支付查询接口
|
14
|
-
*/
|
15
|
-
export declare const useLinklyCancel: (handleCheck: () => boolean) => {
|
16
|
-
action: {
|
17
|
-
cancel: import("ahooks/lib/useRequest/src/types").Result<any, [param: any]>;
|
18
|
-
};
|
19
|
-
linklyCancel: (resultQuery: any) => void;
|
20
|
-
};
|
21
|
-
/**
|
22
|
-
* @title: 支付或退款签名
|
23
|
-
* @description: 支付或退款签名调用接口后不管成功还是失败都需要调用支付查询接口
|
24
|
-
*/
|
25
|
-
export declare const useLinklySignature: (handleCheck: () => boolean) => {
|
26
|
-
action: {
|
27
|
-
signature: import("ahooks/lib/useRequest/src/types").Result<any, [param: any]>;
|
28
|
-
};
|
29
|
-
linklySignature: (status: number, resultQuery: any) => void;
|
30
|
-
};
|
@@ -1,32 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* linkly支付接口
|
3
|
-
*/
|
4
|
-
export declare const linklyPayApi: (data: any) => Promise<any>;
|
5
|
-
/**
|
6
|
-
* 查询linkly支付结果
|
7
|
-
*/
|
8
|
-
export declare const linklyPayQueryApi: (param: any) => Promise<any>;
|
9
|
-
/**
|
10
|
-
* 取消linkly支付
|
11
|
-
*/
|
12
|
-
export declare const linklyPayCancelApi: (param: any) => Promise<any>;
|
13
|
-
/**
|
14
|
-
* linkly支付签名结果处理
|
15
|
-
*/
|
16
|
-
export declare const linklyPaySignatureApi: (param: any) => Promise<any>;
|
17
|
-
/**
|
18
|
-
* linkly退款接口
|
19
|
-
*/
|
20
|
-
export declare const linklyRefundApi: (data: any) => Promise<any>;
|
21
|
-
/**
|
22
|
-
* 查询linkly退款结果
|
23
|
-
*/
|
24
|
-
export declare const linklyRefundQueryApi: (param: any) => Promise<any>;
|
25
|
-
/**
|
26
|
-
* 取消linkly退款
|
27
|
-
*/
|
28
|
-
export declare const linklyRefundCancelApi: (param: any) => Promise<any>;
|
29
|
-
/**
|
30
|
-
* linkly退款签名结果处理
|
31
|
-
*/
|
32
|
-
export declare const linklyRefundSignatureApi: (param: any) => Promise<any>;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { State } from './store';
|
2
|
-
export { getAmonunt } from './helper';
|
3
|
-
export { default as Payo } from './payo';
|
4
|
-
export { default as Windcave } from './windcave/windcave';
|
5
|
-
export { default as Tyro } from './tyro';
|
6
|
-
export { default as Linkly } from './linkly';
|
7
|
-
export declare const getInitState: (type: string, params?: any) => State;
|
@@ -1,21 +0,0 @@
|
|
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;
|
@@ -1,13 +0,0 @@
|
|
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;
|