@pisell/private-materials 6.3.125 → 6.3.127
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.css +1 -1
- package/build/lowcode/preview.js +145 -154
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +19 -12
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +28 -21
- package/es/businessModel/SalesModel/index.d.ts +1 -2
- package/es/components/Sales/index.d.ts +1 -1
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +2 -2
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -2
- package/es/components/appointmentBooking/components/Cart/index.d.ts +2 -2
- package/es/components/appointmentBooking/components/Content/index.d.ts +1 -2
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +3 -3
- package/es/components/appointmentBooking/components/Footer/index.d.ts +2 -2
- package/es/components/appointmentBooking/components/Form/index.js +53 -4
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +2 -2
- package/es/components/appointmentBooking/components/Header/index.d.ts +1 -2
- package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +1 -2
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +1 -2
- package/es/components/appointmentBooking/context.d.ts +2 -2
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +2 -2
- package/es/components/appointmentBooking/deposit/index.d.ts +1 -2
- package/es/components/appointmentBooking/hooks.d.ts +1 -1
- package/es/components/appointmentBooking/hooks.js +96 -23
- package/es/components/appointmentBooking/index.d.ts +1 -2
- package/es/components/appointmentBooking/utils.d.ts +1 -0
- package/es/components/appointmentBooking/utils.js +25 -1
- package/es/components/booking/components/TabProduct/index.d.ts +2 -2
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +2 -2
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +2 -2
- package/es/components/booking/components/authWrap/index.d.ts +1 -1
- package/es/components/booking/components/browserSelect/index.d.ts +1 -1
- package/es/components/booking/components/collapsibleList/utils.d.ts +2 -2
- package/es/components/booking/components/drawer/index.d.ts +1 -1
- package/es/components/booking/components/emptyBooking/index.d.ts +2 -2
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +2 -2
- package/es/components/booking/components/footer/index.d.ts +1 -2
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +2 -2
- package/es/components/booking/components/menuButton/index.d.ts +1 -1
- package/es/components/booking/components/reloadResourceModal/index.d.ts +2 -2
- package/es/components/booking/components/voucher/index.d.ts +1 -2
- package/es/components/booking/dashboard/index.d.ts +1 -1
- package/es/components/booking/deposit/ClientItem/index.d.ts +1 -1
- package/es/components/booking/deposit/DepositItem/index.d.ts +1 -1
- package/es/components/booking/deposit/index.d.ts +1 -2
- package/es/components/booking/forms/footer.d.ts +2 -2
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/es/components/booking/forms/single/index.d.ts +2 -2
- package/es/components/booking/forms/table/index.d.ts +2 -2
- package/es/components/booking/hooks/useClearCart.d.ts +1 -2
- package/es/components/booking/hooks/useQuotation.d.ts +1 -2
- package/es/components/booking/info/addServiceVariant/index.d.ts +1 -2
- package/es/components/booking/info/client/index.d.ts +1 -1
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +2 -2
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/date/index.d.ts +1 -2
- package/es/components/booking/info/dateRange/index.d.ts +2 -2
- package/es/components/booking/info/header/index.d.ts +1 -2
- package/es/components/booking/info/hooks/useGetHolderList.d.ts +1 -1
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +2 -2
- package/es/components/booking/info/index.d.ts +1 -2
- package/es/components/booking/info/notes/index.d.ts +2 -2
- package/es/components/booking/info/pet/index.d.ts +1 -1
- package/es/components/booking/info/service/Lists.d.ts +1 -2
- package/es/components/booking/info/service/actions/index.d.ts +2 -2
- package/es/components/booking/info/service/addService/index.d.ts +1 -2
- package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -2
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -2
- package/es/components/booking/info/service/index.d.ts +1 -1
- package/es/components/booking/info/service/like/index.d.ts +2 -2
- package/es/components/booking/info/service/serviceItem/index.d.ts +1 -2
- package/es/components/booking/info/service/serviceList/index.d.ts +1 -2
- package/es/components/booking/info/service2/Lists.d.ts +1 -2
- package/es/components/booking/info/service2/index.d.ts +1 -1
- package/es/components/booking/info2/service/actions/index.d.ts +2 -2
- package/es/components/booking/info2/service/addService/index.d.ts +1 -2
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -2
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +2 -2
- package/es/components/booking/info2/service/index.d.ts +1 -1
- package/es/components/booking/info2/service/serviceItem/index.d.ts +1 -2
- package/es/components/booking/info2/service/serviceList/index.d.ts +1 -2
- package/es/components/booking/materiels/contacts/index.d.ts +2 -2
- package/es/components/booking/materiels/duration/index.d.ts +2 -2
- package/es/components/booking/materiels/holder/index.d.ts +2 -2
- package/es/components/booking/materiels/startTime/index.d.ts +2 -2
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +2 -2
- package/es/components/booking/notes/NoteBlock/index.d.ts +2 -2
- package/es/components/booking/notes/addNote/index.d.ts +1 -2
- package/es/components/ecocup/components/AddCustomerModal/index.d.ts +2 -2
- package/es/components/ecocup/components/CupActionList/index.d.ts +2 -2
- package/es/components/ecocup/components/CupActionModal/hooks.d.ts +1 -1
- package/es/components/ecocup/components/CupActionModal/index.d.ts +2 -2
- package/es/components/ecocup/components/CupInfoCard/index.d.ts +2 -2
- package/es/components/ecocup/components/CupStatusModal/hooks.d.ts +2 -2
- package/es/components/ecocup/components/CupStatusModal/index.d.ts +2 -2
- package/es/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +2 -2
- package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +2 -5
- package/es/components/ecocup/components/CustomerCard/index.d.ts +2 -2
- package/es/components/ecocup/components/MoreDropdown/index.d.ts +2 -2
- package/es/components/ecocup/components/PageHeader/index.d.ts +1 -1
- package/es/components/ecocup/components/SearchBar/index.d.ts +2 -2
- package/es/components/ecocup/components/SettingModal/index.d.ts +2 -2
- package/es/components/ecocup/cupList/hooks/useColumns.d.ts +2 -2
- package/es/components/ecocup/cupList/hooks/useSummary.d.ts +2 -2
- package/es/components/ecocup/cupList/index.d.ts +1 -2
- package/es/components/ecocup/cupProject/index.d.ts +2 -2
- package/es/components/ecocup/customerList/index.d.ts +2 -2
- package/es/components/eftpos/device.d.ts +1 -1
- package/es/components/eftpos/deviceList/index.d.ts +2 -2
- package/es/components/eftpos/form/index.d.ts +2 -2
- package/es/components/eftpos/group/index.d.ts +3 -3
- package/es/components/eftpos/hooks.d.ts +1 -0
- package/es/components/eftpos/icon/apiKey.d.ts +2 -2
- package/es/components/eftpos/icon/device.d.ts +2 -2
- package/es/components/eftpos/index.d.ts +2 -2
- package/es/components/eftpos/log.d.ts +2 -2
- package/es/components/eftpos/pos.d.ts +2 -2
- package/es/components/eftpos/receipt/index.d.ts +2 -2
- package/es/components/eftpos/surcharge/index.d.ts +1 -2
- package/es/components/eftposPay/amount.d.ts +1 -2
- package/es/components/eftposPay/app.d.ts +1 -2
- package/es/components/eftposPay/component/alert/index.d.ts +1 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +2 -2
- package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -2
- package/es/components/eftposPay/component/fail/index.d.ts +1 -2
- package/es/components/eftposPay/component/fail/network.d.ts +1 -2
- package/es/components/eftposPay/component/fail/unknow.d.ts +1 -2
- package/es/components/eftposPay/component/header/index.d.ts +1 -1
- package/es/components/eftposPay/component/header/titlebar.d.ts +2 -2
- package/es/components/eftposPay/component/manual/index.d.ts +1 -2
- package/es/components/eftposPay/component/signature/index.d.ts +1 -2
- package/es/components/eftposPay/component/step/index.d.ts +2 -2
- package/es/components/eftposPay/component/step/step.d.ts +2 -2
- package/es/components/eftposPay/device.d.ts +1 -2
- package/es/components/eftposPay/index.d.ts +1 -2
- package/es/components/eftposPay/linkly/index.d.ts +1 -2
- package/es/components/eftposPay/pay.d.ts +1 -2
- package/es/components/eftposPay/payo/config.d.ts +2 -3
- package/es/components/eftposPay/payo/index.d.ts +1 -1
- package/es/components/eftposPay/store/index.d.ts +2 -2
- package/es/components/eftposPay/tip.d.ts +1 -2
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eftposPay/tyro/index.d.ts +1 -1
- package/es/components/eftposPay/windcave/receiptAction.d.ts +2 -3
- package/es/components/eftposPay/windcave/windcave.d.ts +1 -2
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +2 -1
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -2
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +2 -2
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +2 -2
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +2 -2
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +2 -2
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +2 -2
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +2 -2
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +2 -2
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +2 -2
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +2 -2
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +2 -2
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +2 -2
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +2 -2
- package/es/components/eventBooking/components/Voucher/index.d.ts +1 -2
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +2 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +2 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +2 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +2 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +2 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +2 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +2 -2
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +2 -2
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +2 -2
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +2 -2
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -2
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +2 -2
- package/es/components/eventBooking/index.d.ts +1 -2
- package/es/components/kioskSkuDetail/index.d.ts +1 -1
- package/es/components/login/index.d.ts +2 -2
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.js +52 -44
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.js +51 -43
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.js +51 -43
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.js +24 -15
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.js +19 -19
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +3 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +32 -27
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +2 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +2 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +2 -2
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.js +17 -16
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.js +47 -42
- package/es/components/pay/toC/PaymentMethods/WalletPass/MultiModeSearch/index.d.ts +1 -1
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +2 -2
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +7 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +18 -1
- package/es/components/pay/toC/PaymentMethods/index.js +116 -90
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +2 -2
- package/es/components/pay/toC/index.js +4 -1
- package/es/components/pay/toC/locales.d.ts +5 -0
- package/es/components/pay/toC/locales.js +5 -0
- package/es/components/pay/toC/payGroup.d.ts +14 -3
- package/es/components/pay/toC/payGroup.js +174 -15
- package/es/components/pay/toC/serve.d.ts +13 -0
- package/es/components/pay/toC/serve.js +30 -0
- package/es/components/pay/toC/utils.d.ts +3 -0
- package/es/components/pay/toC/utils.js +5 -1
- package/es/components/pisellSelectCustomerModal/CustomerCard/index.d.ts +1 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +2 -2
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +2 -2
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -2
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +2 -2
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +2 -2
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -2
- package/es/components/pisellSelectCustomerModal/index.d.ts +1 -2
- package/es/components/productExtension/fields/Actor/index.d.ts +2 -2
- package/es/components/productExtension/fields/Forms/index.d.ts +2 -2
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +2 -2
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +2 -2
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +2 -2
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +2 -2
- package/es/components/productExtension/index.d.ts +1 -2
- package/es/components/productSelect/components/TabProduct/index.d.ts +1 -2
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +1 -1
- package/es/components/productSelect/components/productGroup/index.d.ts +2 -3
- package/es/components/productSelect/index.d.ts +1 -1
- package/es/components/ruleSetting/index.d.ts +1 -2
- package/es/components/ruleSetting/ruleBorder/index.d.ts +2 -2
- package/es/components/schedules/calendar/calendarItem.d.ts +2 -2
- package/es/components/schedules/calendar/index.d.ts +2 -2
- package/es/components/schedules/components/Card/index.d.ts +1 -1
- package/es/components/schedules/components/CurrentDay/index.d.ts +2 -2
- package/es/components/schedules/components/ResourceList/index.d.ts +1 -1
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +2 -2
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -2
- package/es/components/schedules/components/ScheduleList/index.d.ts +2 -2
- package/es/components/schedules/components/Search/index.d.ts +1 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +2 -2
- package/es/components/schedules/products/index.d.ts +2 -2
- package/es/components/schedules/products/list/ProductItem/index.d.ts +2 -2
- package/es/components/schedules/products/list/index.d.ts +2 -2
- package/es/components/schedules/resources/index.d.ts +2 -2
- package/es/components/schedules/resources/list/index.d.ts +2 -2
- package/es/components/schedules/resources/relationProduct/index.d.ts +2 -2
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +2 -2
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +2 -2
- package/es/components/schedules/schedules/Schedules.d.ts +1 -1
- package/es/components/schedules/schedules/SchedulesForDay/index.d.ts +1 -1
- package/es/components/schedules/schedules/index.d.ts +2 -2
- package/es/components/shoppingCart/Provider.d.ts +1 -1
- package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -2
- package/es/components/shoppingCart/components/Cart/index.d.ts +1 -2
- package/es/components/shoppingCart/components/Empty/index.d.ts +2 -1
- package/es/components/shoppingCart/components/Render/index.d.ts +2 -2
- package/es/components/shoppingCart/hooks/useAddService.d.ts +2 -2
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -2
- package/es/components/shoppingCart/index.d.ts +2 -2
- package/es/components/subTotal/index.d.ts +1 -1
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +1 -2
- package/es/components/tabProduct/index.d.ts +1 -1
- package/es/components/taxSelect/index.d.ts +1 -2
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -2
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -2
- package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -2
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -2
- package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -2
- package/es/components/ticketBooking/index.d.ts +1 -2
- package/es/components/ticketBooking/miniRedux.d.ts +1 -1
- package/es/components/walletList/index.d.ts +1 -2
- package/es/components/walletList/model.d.ts +1 -1
- package/es/components/walletList/tempHolderSelector/index.d.ts +2 -2
- package/es/components/workSpaceList/components/Modal/index.d.ts +2 -2
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -2
- package/es/hooks/usePaymentLogger.d.ts +3 -2
- package/es/plus/clientName/index.d.ts +2 -2
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +2 -2
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +2 -2
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +2 -2
- package/es/plus/contactInfoModal/ContactInfoContent.d.ts +1 -2
- package/es/plus/orderList/components/HandleActions.d.ts +2 -2
- package/es/plus/orderList/components/QuickFilter.d.ts +2 -2
- package/es/plus/orderList/components/Reset.d.ts +2 -2
- package/es/plus/orderList/components/Toolbar.d.ts +2 -2
- package/es/plus/orderList/config.d.ts +3 -4
- package/es/plus/orderList/index.d.ts +1 -1
- package/es/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +1 -2
- package/es/plus/pisellSalesManagement/components/BookingNotesPreview.d.ts +1 -1
- package/es/plus/pisellSalesManagement/components/ResourceSelector.d.ts +1 -1
- package/es/plus/pisellSalesManagement/config/booking.d.ts +1 -1
- package/es/plus/pisellSalesManagement/hooks/saas_shop_pos.code-workspace +14 -0
- package/es/plus/pisellSalesManagement/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/index.d.ts +2 -2
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +6 -6
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +1 -1
- package/es/plus/productSelect/index.d.ts +1 -1
- package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +2 -2
- package/es/plus/saasCreateOrganization/components/Header.d.ts +2 -2
- package/es/plus/saasCreateOrganization/index.d.ts +1 -2
- package/es/plus/saasRegister/components/EntryEmail.d.ts +2 -2
- package/es/plus/saasRegister/components/EntryInfo.d.ts +2 -2
- package/es/plus/saasRegister/components/GoLogin.d.ts +2 -2
- package/es/plus/saasRegister/components/Header.d.ts +2 -2
- package/es/plus/saasRegister/components/VerifyError.d.ts +2 -2
- package/es/plus/saasRegister/components/VerifyingLink.d.ts +2 -2
- package/es/plus/saasRegister/components/VertifyEmail.d.ts +2 -2
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +2 -1
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -2
- package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +1 -2
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +2 -2
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -2
- package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +2 -2
- package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -2
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +2 -2
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +1 -2
- package/es/plus/walletPassGallery/components/passList/index.d.ts +1 -2
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +2 -2
- package/es/plus/walletPassGallery/components/usageRule/index.d.ts +1 -1
- package/es/plus/walletPassGallery/index.d.ts +1 -2
- package/es/pro/Login2.0/components/ForgotPasswordFlow.d.ts +2 -9
- package/es/pro/Login2.0/components/LoginCodeInput.d.ts +2 -6
- package/es/pro/Login2.0/components/PhoneInput.d.ts +1 -1
- package/es/pro/Login2.0/steps/CodeInput.d.ts +2 -6
- package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +2 -6
- package/es/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +2 -5
- package/es/pro/Login2.0/steps/EmailLinkExpired.d.ts +2 -5
- package/es/pro/Login2.0/steps/SetPassword.d.ts +2 -5
- package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +2 -5
- package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +2 -5
- package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +2 -5
- package/es/pro/Selector/Item.d.ts +1 -1
- package/es/pro/Selector/demo.d.ts +2 -2
- package/es/pro/keyboards/numberKeyboard/index.d.ts +1 -1
- package/es/pro/numberKeyboard/index.d.ts +1 -1
- package/es/pro/pisellPaymentList/example.d.ts +11 -11
- package/es/pro/pisellPhoneKeyboard/index.d.ts +2 -2
- package/lib/businessModel/SalesModel/index.d.ts +1 -2
- package/lib/components/Sales/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +2 -2
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -2
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +2 -2
- package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -2
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +3 -3
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +2 -2
- package/lib/components/appointmentBooking/components/Form/index.js +25 -2
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +2 -2
- package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -2
- package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +1 -2
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +1 -2
- package/lib/components/appointmentBooking/context.d.ts +2 -2
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +2 -2
- package/lib/components/appointmentBooking/deposit/index.d.ts +1 -2
- package/lib/components/appointmentBooking/hooks.d.ts +1 -1
- package/lib/components/appointmentBooking/hooks.js +92 -44
- package/lib/components/appointmentBooking/index.d.ts +1 -2
- package/lib/components/appointmentBooking/utils.d.ts +1 -0
- package/lib/components/appointmentBooking/utils.js +31 -0
- package/lib/components/booking/components/TabProduct/index.d.ts +2 -2
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +2 -2
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +2 -2
- package/lib/components/booking/components/authWrap/index.d.ts +1 -1
- package/lib/components/booking/components/browserSelect/index.d.ts +1 -1
- package/lib/components/booking/components/collapsibleList/utils.d.ts +2 -2
- package/lib/components/booking/components/drawer/index.d.ts +1 -1
- package/lib/components/booking/components/emptyBooking/index.d.ts +2 -2
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +2 -2
- package/lib/components/booking/components/footer/index.d.ts +1 -2
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +2 -2
- package/lib/components/booking/components/menuButton/index.d.ts +1 -1
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +2 -2
- package/lib/components/booking/components/voucher/index.d.ts +1 -2
- package/lib/components/booking/dashboard/index.d.ts +1 -1
- package/lib/components/booking/deposit/ClientItem/index.d.ts +1 -1
- package/lib/components/booking/deposit/DepositItem/index.d.ts +1 -1
- package/lib/components/booking/deposit/index.d.ts +1 -2
- package/lib/components/booking/forms/footer.d.ts +2 -2
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/lib/components/booking/forms/single/index.d.ts +2 -2
- package/lib/components/booking/forms/table/index.d.ts +2 -2
- package/lib/components/booking/hooks/useClearCart.d.ts +1 -2
- package/lib/components/booking/hooks/useQuotation.d.ts +1 -2
- package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -2
- package/lib/components/booking/info/client/index.d.ts +1 -1
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +2 -2
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/date/index.d.ts +1 -2
- package/lib/components/booking/info/dateRange/index.d.ts +2 -2
- package/lib/components/booking/info/header/index.d.ts +1 -2
- package/lib/components/booking/info/hooks/useGetHolderList.d.ts +1 -1
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +2 -2
- package/lib/components/booking/info/index.d.ts +1 -2
- package/lib/components/booking/info/notes/index.d.ts +2 -2
- package/lib/components/booking/info/pet/index.d.ts +1 -1
- package/lib/components/booking/info/service/Lists.d.ts +1 -2
- package/lib/components/booking/info/service/actions/index.d.ts +2 -2
- package/lib/components/booking/info/service/addService/index.d.ts +1 -2
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -2
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -2
- package/lib/components/booking/info/service/index.d.ts +1 -1
- package/lib/components/booking/info/service/like/index.d.ts +2 -2
- package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -2
- package/lib/components/booking/info/service/serviceList/index.d.ts +1 -2
- package/lib/components/booking/info/service2/Lists.d.ts +1 -2
- package/lib/components/booking/info/service2/index.d.ts +1 -1
- package/lib/components/booking/info2/service/actions/index.d.ts +2 -2
- package/lib/components/booking/info2/service/addService/index.d.ts +1 -2
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -2
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +2 -2
- package/lib/components/booking/info2/service/index.d.ts +1 -1
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -2
- package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -2
- package/lib/components/booking/materiels/contacts/index.d.ts +2 -2
- package/lib/components/booking/materiels/duration/index.d.ts +2 -2
- package/lib/components/booking/materiels/holder/index.d.ts +2 -2
- package/lib/components/booking/materiels/startTime/index.d.ts +2 -2
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +2 -2
- package/lib/components/booking/notes/NoteBlock/index.d.ts +2 -2
- package/lib/components/booking/notes/addNote/index.d.ts +1 -2
- package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +2 -2
- package/lib/components/ecocup/components/CupActionList/index.d.ts +2 -2
- package/lib/components/ecocup/components/CupActionModal/hooks.d.ts +1 -1
- package/lib/components/ecocup/components/CupActionModal/index.d.ts +2 -2
- package/lib/components/ecocup/components/CupInfoCard/index.d.ts +2 -2
- package/lib/components/ecocup/components/CupStatusModal/hooks.d.ts +2 -2
- package/lib/components/ecocup/components/CupStatusModal/index.d.ts +2 -2
- package/lib/components/ecocup/components/CustomerAndCupModal/hooks.d.ts +2 -2
- package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +2 -5
- package/lib/components/ecocup/components/CustomerCard/index.d.ts +2 -2
- package/lib/components/ecocup/components/MoreDropdown/index.d.ts +2 -2
- package/lib/components/ecocup/components/PageHeader/index.d.ts +1 -1
- package/lib/components/ecocup/components/SearchBar/index.d.ts +2 -2
- package/lib/components/ecocup/components/SettingModal/index.d.ts +2 -2
- package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +2 -2
- package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +2 -2
- package/lib/components/ecocup/cupList/index.d.ts +1 -2
- package/lib/components/ecocup/cupProject/index.d.ts +2 -2
- package/lib/components/ecocup/customerList/index.d.ts +2 -2
- package/lib/components/eftpos/device.d.ts +1 -1
- package/lib/components/eftpos/deviceList/index.d.ts +2 -2
- package/lib/components/eftpos/form/index.d.ts +2 -2
- package/lib/components/eftpos/group/index.d.ts +3 -3
- package/lib/components/eftpos/hooks.d.ts +1 -0
- package/lib/components/eftpos/icon/apiKey.d.ts +2 -2
- package/lib/components/eftpos/icon/device.d.ts +2 -2
- package/lib/components/eftpos/index.d.ts +2 -2
- package/lib/components/eftpos/log.d.ts +2 -2
- package/lib/components/eftpos/pos.d.ts +2 -2
- package/lib/components/eftpos/receipt/index.d.ts +2 -2
- package/lib/components/eftpos/surcharge/index.d.ts +1 -2
- package/lib/components/eftposPay/amount.d.ts +1 -2
- package/lib/components/eftposPay/app.d.ts +1 -2
- package/lib/components/eftposPay/component/alert/index.d.ts +1 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +2 -2
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -2
- package/lib/components/eftposPay/component/fail/index.d.ts +1 -2
- package/lib/components/eftposPay/component/fail/network.d.ts +1 -2
- package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -2
- package/lib/components/eftposPay/component/header/index.d.ts +1 -1
- package/lib/components/eftposPay/component/header/titlebar.d.ts +2 -2
- package/lib/components/eftposPay/component/manual/index.d.ts +1 -2
- package/lib/components/eftposPay/component/signature/index.d.ts +1 -2
- package/lib/components/eftposPay/component/step/index.d.ts +2 -2
- package/lib/components/eftposPay/component/step/step.d.ts +2 -2
- package/lib/components/eftposPay/device.d.ts +1 -2
- package/lib/components/eftposPay/index.d.ts +1 -2
- package/lib/components/eftposPay/linkly/index.d.ts +1 -2
- package/lib/components/eftposPay/pay.d.ts +1 -2
- package/lib/components/eftposPay/payo/config.d.ts +2 -3
- package/lib/components/eftposPay/payo/index.d.ts +1 -1
- package/lib/components/eftposPay/store/index.d.ts +2 -2
- package/lib/components/eftposPay/tip.d.ts +1 -2
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eftposPay/tyro/index.d.ts +1 -1
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +2 -3
- package/lib/components/eftposPay/windcave/windcave.d.ts +1 -2
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +2 -1
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -2
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +2 -2
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +2 -2
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +2 -2
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +2 -2
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +2 -2
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +2 -2
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +2 -2
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +2 -2
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +2 -2
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +2 -2
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +2 -2
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +2 -2
- package/lib/components/eventBooking/components/Voucher/index.d.ts +1 -2
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +2 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +2 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +2 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +2 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +2 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +2 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +2 -2
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +2 -2
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +2 -2
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +2 -2
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -2
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +2 -2
- package/lib/components/eventBooking/index.d.ts +1 -2
- package/lib/components/kioskSkuDetail/index.d.ts +1 -1
- package/lib/components/login/index.d.ts +2 -2
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.js +7 -3
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.js +7 -3
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.js +7 -3
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.js +19 -7
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.js +15 -9
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +3 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.js +10 -6
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +1 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +2 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +2 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +2 -2
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.js +3 -3
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.js +3 -3
- package/lib/components/pay/toC/PaymentMethods/WalletPass/MultiModeSearch/index.d.ts +1 -1
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +1 -1
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +7 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +16 -0
- package/lib/components/pay/toC/PaymentMethods/index.js +12 -7
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +2 -2
- package/lib/components/pay/toC/index.js +5 -1
- package/lib/components/pay/toC/locales.d.ts +5 -0
- package/lib/components/pay/toC/locales.js +5 -0
- package/lib/components/pay/toC/payGroup.d.ts +14 -3
- package/lib/components/pay/toC/payGroup.js +60 -4
- package/lib/components/pay/toC/serve.d.ts +13 -0
- package/lib/components/pay/toC/serve.js +12 -2
- package/lib/components/pay/toC/utils.d.ts +3 -0
- package/lib/components/pay/toC/utils.js +5 -1
- package/lib/components/pisellSelectCustomerModal/CustomerCard/index.d.ts +1 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +2 -2
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +2 -2
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -2
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +2 -2
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +2 -2
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -2
- package/lib/components/pisellSelectCustomerModal/index.d.ts +1 -2
- package/lib/components/productExtension/fields/Actor/index.d.ts +2 -2
- package/lib/components/productExtension/fields/Forms/index.d.ts +2 -2
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +2 -2
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +2 -2
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +2 -2
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +2 -2
- package/lib/components/productExtension/index.d.ts +1 -2
- package/lib/components/productSelect/components/TabProduct/index.d.ts +1 -2
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +1 -1
- package/lib/components/productSelect/components/productGroup/index.d.ts +2 -3
- package/lib/components/productSelect/index.d.ts +1 -1
- package/lib/components/ruleSetting/index.d.ts +1 -2
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +2 -2
- package/lib/components/schedules/calendar/calendarItem.d.ts +2 -2
- package/lib/components/schedules/calendar/index.d.ts +2 -2
- package/lib/components/schedules/components/Card/index.d.ts +1 -1
- package/lib/components/schedules/components/CurrentDay/index.d.ts +2 -2
- package/lib/components/schedules/components/ResourceList/index.d.ts +1 -1
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +2 -2
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +1 -2
- package/lib/components/schedules/components/ScheduleList/index.d.ts +2 -2
- package/lib/components/schedules/components/Search/index.d.ts +1 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +2 -2
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +2 -2
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +1 -2
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +1 -2
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +2 -2
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +2 -2
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +2 -2
- package/lib/components/schedules/products/index.d.ts +2 -2
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +2 -2
- package/lib/components/schedules/products/list/index.d.ts +2 -2
- package/lib/components/schedules/resources/index.d.ts +2 -2
- package/lib/components/schedules/resources/list/index.d.ts +2 -2
- package/lib/components/schedules/resources/relationProduct/index.d.ts +2 -2
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +2 -2
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +2 -2
- package/lib/components/schedules/schedules/Schedules.d.ts +1 -1
- package/lib/components/schedules/schedules/SchedulesForDay/index.d.ts +1 -1
- package/lib/components/schedules/schedules/index.d.ts +2 -2
- package/lib/components/shoppingCart/Provider.d.ts +1 -1
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -2
- package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -2
- package/lib/components/shoppingCart/components/Empty/index.d.ts +2 -1
- package/lib/components/shoppingCart/components/Render/index.d.ts +2 -2
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +2 -2
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -2
- package/lib/components/shoppingCart/index.d.ts +2 -2
- package/lib/components/subTotal/index.d.ts +1 -1
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +1 -2
- package/lib/components/tabProduct/index.d.ts +1 -1
- package/lib/components/taxSelect/index.d.ts +1 -2
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -2
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -2
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -2
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -2
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -2
- package/lib/components/ticketBooking/index.d.ts +1 -2
- package/lib/components/ticketBooking/miniRedux.d.ts +1 -1
- package/lib/components/walletList/index.d.ts +1 -2
- package/lib/components/walletList/model.d.ts +1 -1
- package/lib/components/walletList/tempHolderSelector/index.d.ts +2 -2
- package/lib/components/workSpaceList/components/Modal/index.d.ts +2 -2
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -2
- package/lib/hooks/usePaymentLogger.d.ts +3 -2
- package/lib/plus/clientName/index.d.ts +2 -2
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +2 -2
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +2 -2
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +2 -2
- package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +1 -2
- package/lib/plus/orderList/components/HandleActions.d.ts +2 -2
- package/lib/plus/orderList/components/QuickFilter.d.ts +2 -2
- package/lib/plus/orderList/components/Reset.d.ts +2 -2
- package/lib/plus/orderList/components/Toolbar.d.ts +2 -2
- package/lib/plus/orderList/config.d.ts +3 -4
- package/lib/plus/orderList/index.d.ts +1 -1
- package/lib/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +1 -2
- package/lib/plus/pisellSalesManagement/components/BookingNotesPreview.d.ts +1 -1
- package/lib/plus/pisellSalesManagement/components/ResourceSelector.d.ts +1 -1
- package/lib/plus/pisellSalesManagement/config/booking.d.ts +1 -1
- package/lib/plus/pisellSalesManagement/hooks/saas_shop_pos.code-workspace +14 -0
- package/lib/plus/pisellSalesManagement/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/index.d.ts +2 -2
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +6 -6
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +1 -1
- package/lib/plus/productSelect/index.d.ts +1 -1
- package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +2 -2
- package/lib/plus/saasCreateOrganization/components/Header.d.ts +2 -2
- package/lib/plus/saasCreateOrganization/index.d.ts +1 -2
- package/lib/plus/saasRegister/components/EntryEmail.d.ts +2 -2
- package/lib/plus/saasRegister/components/EntryInfo.d.ts +2 -2
- package/lib/plus/saasRegister/components/GoLogin.d.ts +2 -2
- package/lib/plus/saasRegister/components/Header.d.ts +2 -2
- package/lib/plus/saasRegister/components/VerifyError.d.ts +2 -2
- package/lib/plus/saasRegister/components/VerifyingLink.d.ts +2 -2
- package/lib/plus/saasRegister/components/VertifyEmail.d.ts +2 -2
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +2 -1
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -2
- package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +1 -2
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +2 -2
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -2
- package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +2 -2
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -2
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +2 -2
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +1 -2
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +1 -2
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +2 -2
- package/lib/plus/walletPassGallery/components/usageRule/index.d.ts +1 -1
- package/lib/plus/walletPassGallery/index.d.ts +1 -2
- package/lib/pro/Login2.0/components/ForgotPasswordFlow.d.ts +2 -9
- package/lib/pro/Login2.0/components/LoginCodeInput.d.ts +2 -6
- package/lib/pro/Login2.0/components/PhoneInput.d.ts +1 -1
- package/lib/pro/Login2.0/steps/CodeInput.d.ts +2 -6
- package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +2 -6
- package/lib/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +2 -5
- package/lib/pro/Login2.0/steps/EmailLinkExpired.d.ts +2 -5
- package/lib/pro/Login2.0/steps/SetPassword.d.ts +2 -5
- package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +2 -5
- package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +2 -5
- package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +2 -5
- package/lib/pro/Selector/Item.d.ts +1 -1
- package/lib/pro/Selector/demo.d.ts +2 -2
- package/lib/pro/keyboards/numberKeyboard/index.d.ts +1 -1
- package/lib/pro/numberKeyboard/index.d.ts +1 -1
- package/lib/pro/pisellPaymentList/example.d.ts +11 -11
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -15,6 +15,6 @@ declare const SalesPage: ({ config, children, }: {
|
|
|
15
15
|
config?: {
|
|
16
16
|
useSessionStorage?: boolean | undefined;
|
|
17
17
|
} | undefined;
|
|
18
|
-
}) =>
|
|
18
|
+
}) => JSX.Element;
|
|
19
19
|
export default SalesPage;
|
|
20
20
|
export { useCustomer, useInit, useSales, useStep, useResource, useEvent, useEventDetail, useHolder, useSummary, useCheckout, useCart, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import './index.less';
|
|
3
3
|
interface DepositProps {
|
|
4
4
|
showTitle?: boolean;
|
|
@@ -9,6 +9,6 @@ export declare const DepositContent: (props: {
|
|
|
9
9
|
deposit: any;
|
|
10
10
|
depositProtocolRequest?: any;
|
|
11
11
|
showTitle?: boolean | undefined;
|
|
12
|
-
}) =>
|
|
13
|
-
declare const Deposit: (props: DepositProps) =>
|
|
12
|
+
}) => JSX.Element;
|
|
13
|
+
declare const Deposit: (props: DepositProps) => JSX.Element;
|
|
14
14
|
export default Deposit;
|
|
@@ -10,12 +10,16 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
10
10
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
11
11
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
12
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
14
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
15
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
13
16
|
import React, { useMemo, useRef, useImperativeHandle, forwardRef } from 'react';
|
|
14
17
|
import useComponents from "../../../../hooks/useComponents";
|
|
15
18
|
import { updateBookingFormStorage, currentAppointmentBoard } from "../../utils";
|
|
16
19
|
import { useAppointmentBookingContext } from "../../context";
|
|
17
|
-
import { useAppointmentBookingResource, useAppointmentBookingSetting, useAppointmentBookingStep, useAppointmentBookingLogin, useAppointmentBookingAccount } from "../../hooks";
|
|
20
|
+
import { useAppointmentBookingResource, useAppointmentBookingSetting, useAppointmentBookingStep, useAppointmentBookingLogin, useAppointmentBookingAccount, contextUtils } from "../../hooks";
|
|
18
21
|
import { updateRelationForms } from "./utils";
|
|
22
|
+
import { nextStepLog } from "../../utils";
|
|
19
23
|
import "./index.less";
|
|
20
24
|
var Form = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
21
25
|
var manualRef = useRef();
|
|
@@ -36,6 +40,38 @@ var Form = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
36
40
|
isLogin = _useAppointmentBookin4.isLogin;
|
|
37
41
|
var _useAppointmentBookin5 = useAppointmentBookingAccount(),
|
|
38
42
|
checkAccount = _useAppointmentBookin5.checkAccount;
|
|
43
|
+
var utils = contextUtils();
|
|
44
|
+
var initLog = /*#__PURE__*/function () {
|
|
45
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(stepLists) {
|
|
46
|
+
var _dates$;
|
|
47
|
+
var dates;
|
|
48
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
49
|
+
while (1) switch (_context.prev = _context.next) {
|
|
50
|
+
case 0:
|
|
51
|
+
_context.next = 2;
|
|
52
|
+
return appointmentBooking.getDateRange();
|
|
53
|
+
case 2:
|
|
54
|
+
dates = _context.sent;
|
|
55
|
+
nextStepLog(utils, '初始点击继续按钮', [{
|
|
56
|
+
key: '选择的日期',
|
|
57
|
+
value: (dates === null || dates === void 0 || (_dates$ = dates[0]) === null || _dates$ === void 0 ? void 0 : _dates$.date) || ''
|
|
58
|
+
}, {
|
|
59
|
+
key: '步骤列表',
|
|
60
|
+
value: JSON.stringify(stepLists)
|
|
61
|
+
}, {
|
|
62
|
+
key: '购物车数据',
|
|
63
|
+
value: JSON.stringify(carts)
|
|
64
|
+
}]);
|
|
65
|
+
case 4:
|
|
66
|
+
case "end":
|
|
67
|
+
return _context.stop();
|
|
68
|
+
}
|
|
69
|
+
}, _callee);
|
|
70
|
+
}));
|
|
71
|
+
return function initLog(_x) {
|
|
72
|
+
return _ref2.apply(this, arguments);
|
|
73
|
+
};
|
|
74
|
+
}();
|
|
39
75
|
useImperativeHandle(ref, function () {
|
|
40
76
|
return {
|
|
41
77
|
next: function next() {
|
|
@@ -50,7 +86,7 @@ var Form = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
50
86
|
// return nextStep(formStatus);
|
|
51
87
|
// }
|
|
52
88
|
// }
|
|
53
|
-
|
|
89
|
+
initLog(stepLists);
|
|
54
90
|
setLoading(true);
|
|
55
91
|
(_manualRef$current = manualRef.current) === null || _manualRef$current === void 0 || (_manualRef$current$su = _manualRef$current.submit) === null || _manualRef$current$su === void 0 || _manualRef$current$su.call(_manualRef$current);
|
|
56
92
|
}
|
|
@@ -84,6 +120,7 @@ var Form = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
84
120
|
*/
|
|
85
121
|
var updateFormStatus = function updateFormStatus(status) {
|
|
86
122
|
if (status === 'error') {
|
|
123
|
+
nextStepLog(utils, '表单内部错误');
|
|
87
124
|
setLoading(false);
|
|
88
125
|
}
|
|
89
126
|
};
|
|
@@ -121,11 +158,20 @@ var Form = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
121
158
|
try {
|
|
122
159
|
updateFormStatus(status);
|
|
123
160
|
if (status === 'success') {
|
|
161
|
+
nextStepLog(utils, '表单提交成功执行下一步', [{
|
|
162
|
+
key: '表单值',
|
|
163
|
+
value: JSON.stringify(values)
|
|
164
|
+
}]);
|
|
124
165
|
setFormStorage(values);
|
|
125
|
-
nextStep();
|
|
166
|
+
nextStep(true);
|
|
126
167
|
}
|
|
127
168
|
} catch (error) {
|
|
128
169
|
setLoading(false);
|
|
170
|
+
var msg = (error === null || error === void 0 ? void 0 : error.message) || '未知错误';
|
|
171
|
+
nextStepLog(utils, '表单提交失败', [{
|
|
172
|
+
key: '错误信息',
|
|
173
|
+
value: JSON.stringify(msg)
|
|
174
|
+
}]);
|
|
129
175
|
}
|
|
130
176
|
};
|
|
131
177
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
@@ -151,7 +197,10 @@ var Form = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
151
197
|
},
|
|
152
198
|
onFormValueChange: function onFormValueChange(values) {},
|
|
153
199
|
defaultValues: (formStorage === null || formStorage === void 0 ? void 0 : formStorage[currentStepParams === null || currentStepParams === void 0 ? void 0 : currentStepParams.key]) || {},
|
|
154
|
-
isClearData: false
|
|
200
|
+
isClearData: false,
|
|
201
|
+
onCancelLoading: function onCancelLoading() {
|
|
202
|
+
setLoading(false);
|
|
203
|
+
}
|
|
155
204
|
})));
|
|
156
205
|
});
|
|
157
206
|
export default Form;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import { TasksManager } from '../../utils/tasks';
|
|
3
3
|
interface AppointmentBookingContextType {
|
|
4
4
|
appointmentBooking: any;
|
|
@@ -30,6 +30,6 @@ interface AppointmentBookingContextType {
|
|
|
30
30
|
}
|
|
31
31
|
export declare const AppointmentBookingProvider: ({ children, }: {
|
|
32
32
|
children: ReactNode;
|
|
33
|
-
}) =>
|
|
33
|
+
}) => JSX.Element;
|
|
34
34
|
export declare const useAppointmentBookingContext: () => AppointmentBookingContextType | undefined;
|
|
35
35
|
export {};
|
|
@@ -14,7 +14,7 @@ export declare const useAppointmentBookingStep: () => {
|
|
|
14
14
|
removeStep: (key: string) => any;
|
|
15
15
|
addStep: (props: any, stepKey?: string) => any;
|
|
16
16
|
updateStep: (key: string, step: any) => void;
|
|
17
|
-
nextStep: () => any;
|
|
17
|
+
nextStep: (isLog?: boolean) => any;
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
20
20
|
* @title: 获取商品数据
|
|
@@ -20,6 +20,7 @@ import useEngineContext from "../../hooks/useEngineContext";
|
|
|
20
20
|
import { processResourceList, getCustomer, currentAppointmentBoard, currentRenderLists, getFormInsertBeforeKey, checkAndGoNext, checkAndMarkCartRenderError, formatHolder, Toast } from "./utils";
|
|
21
21
|
import { useAppointmentBookingContext } from "./context";
|
|
22
22
|
import { scrollToFirstErrorCard } from "./components/Resource/utils";
|
|
23
|
+
import { nextStepLog } from "./utils";
|
|
23
24
|
export var useAppointmentBooking = function useAppointmentBooking() {
|
|
24
25
|
var pisellOS = usePisellOS();
|
|
25
26
|
return pisellOS.getModule('appointmentBooking');
|
|
@@ -138,9 +139,19 @@ export var useAppointmentBookingStep = function useAppointmentBookingStep() {
|
|
|
138
139
|
// 下一步
|
|
139
140
|
var nextStep = function nextStep() {
|
|
140
141
|
var _nextStep, _nextStep2, _nextStep3;
|
|
142
|
+
var isLog = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
141
143
|
var stepList = appointmentBooking.getStepList() || [];
|
|
142
144
|
var currentKey = currentStepParams === null || currentStepParams === void 0 ? void 0 : currentStepParams.key;
|
|
143
145
|
var currentSelectedResources = appointmentBooking.getOtherData('current_selected_resources');
|
|
146
|
+
if (isLog) {
|
|
147
|
+
nextStepLog(utils, '开始执行下一步方法', [{
|
|
148
|
+
key: '步骤列表',
|
|
149
|
+
value: JSON.stringify(stepList)
|
|
150
|
+
}, {
|
|
151
|
+
key: '当前步骤参数',
|
|
152
|
+
value: JSON.stringify(currentStepParams)
|
|
153
|
+
}]);
|
|
154
|
+
}
|
|
144
155
|
|
|
145
156
|
// 先确定点击时的步骤,如果当前步骤是选择服务
|
|
146
157
|
if (!isRetailTemplate && currentKey === 'select-service') {
|
|
@@ -283,51 +294,79 @@ export var useAppointmentBookingStep = function useAppointmentBookingStep() {
|
|
|
283
294
|
var _currentSelectedResou2, _nextStep4;
|
|
284
295
|
var _selectedResource = (currentSelectedResources === null || currentSelectedResources === void 0 || (_currentSelectedResou2 = currentSelectedResources[0]) === null || _currentSelectedResou2 === void 0 ? void 0 : _currentSelectedResou2.currentSelectedResource) || {};
|
|
285
296
|
var renderItem = (_selectedResource === null || _selectedResource === void 0 ? void 0 : _selectedResource.renderItem) || {};
|
|
297
|
+
if (isLog) {
|
|
298
|
+
nextStepLog(utils, '开始检测是否登录和打开协议弹窗', [{
|
|
299
|
+
key: '下一步步骤',
|
|
300
|
+
value: JSON.stringify(nextStep)
|
|
301
|
+
}, {
|
|
302
|
+
key: '渲染项',
|
|
303
|
+
value: JSON.stringify(renderItem)
|
|
304
|
+
}]);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/** 异步步骤内异常时写入 nextStepLog(Error 可带出 message / stack,避免 JSON.stringify 得到 {}) */
|
|
308
|
+
var logNextStepAsyncError = function logNextStepAsyncError(error) {
|
|
309
|
+
var msg = (error === null || error === void 0 ? void 0 : error.message) || '未知错误';
|
|
310
|
+
nextStepLog(utils, '登录检测登录异常', [{
|
|
311
|
+
key: '错误信息',
|
|
312
|
+
value: msg
|
|
313
|
+
}]);
|
|
314
|
+
};
|
|
286
315
|
|
|
287
316
|
// 监测holder数据
|
|
288
317
|
var checkHolder = /*#__PURE__*/function () {
|
|
289
318
|
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
290
|
-
var cartLists, newCarts, appoimentCarts, _checkAndGoNext,
|
|
319
|
+
var cartLists, newCarts, appoimentCarts, _checkAndGoNext, _hasError;
|
|
291
320
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
292
321
|
while (1) switch (_context2.prev = _context2.next) {
|
|
293
322
|
case 0:
|
|
323
|
+
_context2.prev = 0;
|
|
294
324
|
setLoading(false);
|
|
295
325
|
|
|
296
326
|
// 零售订单不需要验证holder
|
|
297
327
|
if (!(isRetailTemplate || appointmentBooking !== null && appointmentBooking !== void 0 && appointmentBooking.isCartAllNormalProducts())) {
|
|
298
|
-
_context2.next =
|
|
328
|
+
_context2.next = 4;
|
|
299
329
|
break;
|
|
300
330
|
}
|
|
301
331
|
return _context2.abrupt("return", appointmentBooking.next());
|
|
302
|
-
case
|
|
332
|
+
case 4:
|
|
303
333
|
cartLists = carts || [];
|
|
304
334
|
if (carts !== null && carts !== void 0 && carts.length) {
|
|
305
|
-
_context2.next =
|
|
335
|
+
_context2.next = 12;
|
|
306
336
|
break;
|
|
307
337
|
}
|
|
308
|
-
_context2.next =
|
|
338
|
+
_context2.next = 8;
|
|
309
339
|
return appointmentBooking.getCart();
|
|
310
|
-
case
|
|
340
|
+
case 8:
|
|
311
341
|
newCarts = _context2.sent;
|
|
312
342
|
cartLists = newCarts || [];
|
|
313
|
-
_context2.next =
|
|
343
|
+
_context2.next = 13;
|
|
314
344
|
break;
|
|
315
|
-
case 11:
|
|
316
|
-
cartLists = carts || [];
|
|
317
345
|
case 12:
|
|
346
|
+
cartLists = carts || [];
|
|
347
|
+
case 13:
|
|
318
348
|
appoimentCarts = cartLists.filter(function (n) {
|
|
319
349
|
return !(appointmentBooking !== null && appointmentBooking !== void 0 && appointmentBooking.isTargetCartIdNormalProduct(n._id));
|
|
320
350
|
});
|
|
321
|
-
_checkAndGoNext = checkAndGoNext(isFormSubject, checkAccount, appoimentCarts),
|
|
322
|
-
setIsErrorHolder(
|
|
323
|
-
if (
|
|
324
|
-
|
|
351
|
+
_checkAndGoNext = checkAndGoNext(isFormSubject, checkAccount, appoimentCarts), _hasError = _checkAndGoNext.hasError;
|
|
352
|
+
setIsErrorHolder(_hasError);
|
|
353
|
+
if (isLog) {
|
|
354
|
+
nextStepLog(utils, '开始检测holder数据', [{
|
|
355
|
+
key: '是否有错误',
|
|
356
|
+
value: _hasError
|
|
357
|
+
}, {
|
|
358
|
+
key: '协议id',
|
|
359
|
+
value: renderItem === null || renderItem === void 0 ? void 0 : renderItem.policy_id
|
|
360
|
+
}]);
|
|
361
|
+
}
|
|
362
|
+
if (!_hasError) {
|
|
363
|
+
_context2.next = 19;
|
|
325
364
|
break;
|
|
326
365
|
}
|
|
327
366
|
return _context2.abrupt("return");
|
|
328
|
-
case
|
|
367
|
+
case 19:
|
|
329
368
|
if (!(renderItem !== null && renderItem !== void 0 && renderItem.policy_id)) {
|
|
330
|
-
_context2.next =
|
|
369
|
+
_context2.next = 23;
|
|
331
370
|
break;
|
|
332
371
|
}
|
|
333
372
|
openPolicy({
|
|
@@ -335,15 +374,23 @@ export var useAppointmentBookingStep = function useAppointmentBookingStep() {
|
|
|
335
374
|
}, function () {
|
|
336
375
|
return appointmentBooking.next();
|
|
337
376
|
});
|
|
338
|
-
_context2.next =
|
|
377
|
+
_context2.next = 24;
|
|
339
378
|
break;
|
|
340
|
-
case
|
|
379
|
+
case 23:
|
|
341
380
|
return _context2.abrupt("return", appointmentBooking.next());
|
|
342
|
-
case
|
|
381
|
+
case 24:
|
|
382
|
+
_context2.next = 30;
|
|
383
|
+
break;
|
|
384
|
+
case 26:
|
|
385
|
+
_context2.prev = 26;
|
|
386
|
+
_context2.t0 = _context2["catch"](0);
|
|
387
|
+
setLoading(false);
|
|
388
|
+
logNextStepAsyncError(_context2.t0);
|
|
389
|
+
case 30:
|
|
343
390
|
case "end":
|
|
344
391
|
return _context2.stop();
|
|
345
392
|
}
|
|
346
|
-
}, _callee2);
|
|
393
|
+
}, _callee2, null, [[0, 26]]);
|
|
347
394
|
}));
|
|
348
395
|
return function checkHolder() {
|
|
349
396
|
return _ref4.apply(this, arguments);
|
|
@@ -357,13 +404,31 @@ export var useAppointmentBookingStep = function useAppointmentBookingStep() {
|
|
|
357
404
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
358
405
|
while (1) switch (_context3.prev = _context3.next) {
|
|
359
406
|
case 0:
|
|
407
|
+
_context3.prev = 0;
|
|
408
|
+
if (isLog) {
|
|
409
|
+
nextStepLog(utils, '开始检测是否登录', [{
|
|
410
|
+
key: '是否登录',
|
|
411
|
+
value: isLogin
|
|
412
|
+
}]);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
// 如果没有登录,则验证登录
|
|
360
416
|
if (isLogin) {
|
|
361
|
-
_context3.next =
|
|
417
|
+
_context3.next = 9;
|
|
362
418
|
break;
|
|
363
419
|
}
|
|
364
420
|
// const accountLists = await appointmentBooking.getAccounts()
|
|
365
421
|
pubsub = utils.pubsub;
|
|
422
|
+
if (isLog) {
|
|
423
|
+
nextStepLog(utils, '进入打开登录弹窗');
|
|
424
|
+
}
|
|
366
425
|
pubsub.once('pisell1.login.success', function (res) {
|
|
426
|
+
if (isLog) {
|
|
427
|
+
nextStepLog(utils, '登录弹窗回调', [{
|
|
428
|
+
key: '登录状态',
|
|
429
|
+
value: res
|
|
430
|
+
}]);
|
|
431
|
+
}
|
|
367
432
|
if (res === 'success') {
|
|
368
433
|
checkHolder();
|
|
369
434
|
}
|
|
@@ -391,13 +456,21 @@ export var useAppointmentBookingStep = function useAppointmentBookingStep() {
|
|
|
391
456
|
// }
|
|
392
457
|
}
|
|
393
458
|
}));
|
|
394
|
-
case
|
|
459
|
+
case 9:
|
|
395
460
|
return _context3.abrupt("return", checkHolder());
|
|
396
|
-
case
|
|
461
|
+
case 10:
|
|
462
|
+
_context3.next = 16;
|
|
463
|
+
break;
|
|
464
|
+
case 12:
|
|
465
|
+
_context3.prev = 12;
|
|
466
|
+
_context3.t0 = _context3["catch"](0);
|
|
467
|
+
setLoading(false);
|
|
468
|
+
logNextStepAsyncError(_context3.t0);
|
|
469
|
+
case 16:
|
|
397
470
|
case "end":
|
|
398
471
|
return _context3.stop();
|
|
399
472
|
}
|
|
400
|
-
}, _callee3);
|
|
473
|
+
}, _callee3, null, [[0, 12]]);
|
|
401
474
|
}));
|
|
402
475
|
return function checkLogin() {
|
|
403
476
|
return _ref5.apply(this, arguments);
|
|
@@ -224,3 +224,4 @@ export declare const updateCartResources: (item: any, value?: any, currentSelect
|
|
|
224
224
|
* @Date: 2025-11-21 15:40
|
|
225
225
|
*/
|
|
226
226
|
export declare const clearDataByStepKey: (key: string, appointmentBooking: any, setTimes?: ((times: any[]) => void) | undefined) => string[] | undefined;
|
|
227
|
+
export declare const nextStepLog: (utils: any, title: string, content?: any) => void;
|
|
@@ -10,8 +10,9 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
10
10
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
11
11
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
12
12
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
13
|
-
import { getUniqueId, locales } from "@pisell/utils";
|
|
13
|
+
import { getUniqueId, locales, sendWarningLog } from "@pisell/utils";
|
|
14
14
|
import { PisellToast } from '@pisell/materials';
|
|
15
|
+
import dayjs from 'dayjs';
|
|
15
16
|
/**
|
|
16
17
|
* @title: 格式化holder表数据
|
|
17
18
|
* @description:
|
|
@@ -924,4 +925,27 @@ export var clearDataByStepKey = function clearDataByStepKey(key, appointmentBook
|
|
|
924
925
|
var clearActions = createClearActions(appointmentBooking, setTimes);
|
|
925
926
|
executeClearActions(clearDataTypes, clearActions);
|
|
926
927
|
return clearDataTypes;
|
|
928
|
+
};
|
|
929
|
+
export var nextStepLog = function nextStepLog(utils, title) {
|
|
930
|
+
var content = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
|
|
931
|
+
try {
|
|
932
|
+
var _utils$getStore, _utils$getStore$getSt2;
|
|
933
|
+
var _ref5 = (utils === null || utils === void 0 || (_utils$getStore = utils.getStore) === null || _utils$getStore === void 0 || (_utils$getStore = _utils$getStore.call(utils)) === null || _utils$getStore === void 0 || (_utils$getStore$getSt2 = _utils$getStore.getState) === null || _utils$getStore$getSt2 === void 0 ? void 0 : _utils$getStore$getSt2.call(_utils$getStore)) || {},
|
|
934
|
+
global = _ref5.global;
|
|
935
|
+
var _ref6 = global || {},
|
|
936
|
+
shop = _ref6.shop;
|
|
937
|
+
if ((shop === null || shop === void 0 ? void 0 : shop.id) === 2155) {
|
|
938
|
+
var _window2;
|
|
939
|
+
sendWarningLog({
|
|
940
|
+
title: "RainbowTown-".concat(title),
|
|
941
|
+
content: [{
|
|
942
|
+
key: '日期',
|
|
943
|
+
value: dayjs().format('YYYY-MM-DD HH:mm')
|
|
944
|
+
}, {
|
|
945
|
+
key: '当前路由',
|
|
946
|
+
value: (_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.location) === null || _window2 === void 0 ? void 0 : _window2.href
|
|
947
|
+
}].concat(_toConsumableArray(content))
|
|
948
|
+
});
|
|
949
|
+
}
|
|
950
|
+
} catch (error) {}
|
|
927
951
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import "./index.less";
|
|
3
3
|
interface TabProductProps {
|
|
4
4
|
list: any[];
|
|
@@ -6,5 +6,5 @@ interface TabProductProps {
|
|
|
6
6
|
onChange: (item: any, type: "select" | "detail") => void;
|
|
7
7
|
scrollDom?: string;
|
|
8
8
|
}
|
|
9
|
-
declare const TabProduct: (props: TabProductProps) =>
|
|
9
|
+
declare const TabProduct: (props: TabProductProps) => JSX.Element;
|
|
10
10
|
export default TabProduct;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import './index.less';
|
|
3
|
-
declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) =>
|
|
3
|
+
declare const ProductItem: ({ item, onClick, amountSymbol, style, className, }: any) => JSX.Element;
|
|
4
4
|
export default ProductItem;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import "./index.less";
|
|
3
|
-
declare const SelectProductItem: ({ item, onClick, onChangeQuantity, amountSymbol, style, className, disabled, }: any) =>
|
|
3
|
+
declare const SelectProductItem: ({ item, onClick, onChangeQuantity, amountSymbol, style, className, disabled, }: any) => JSX.Element;
|
|
4
4
|
export default SelectProductItem;
|
|
@@ -11,5 +11,5 @@ interface BrowserSelectProps extends React.DetailedHTMLProps<React.SelectHTMLAtt
|
|
|
11
11
|
* @Author: zhiwei.Wang
|
|
12
12
|
* @Date: 2024-01-30 16:43
|
|
13
13
|
*/
|
|
14
|
-
declare const BrowserSelect: (props: BrowserSelectProps) =>
|
|
14
|
+
declare const BrowserSelect: (props: BrowserSelectProps) => JSX.Element;
|
|
15
15
|
export default BrowserSelect;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const renderBundles: (item: any, amountSymbol: string) =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const renderBundles: (item: any, amountSymbol: string) => JSX.Element;
|
|
@@ -15,5 +15,5 @@ export interface PisellDrawerProps extends DrawerProps {
|
|
|
15
15
|
* @Author: zhiwei.Wang
|
|
16
16
|
* @Date: 2024-01-30 16:51
|
|
17
17
|
*/
|
|
18
|
-
declare const Drawer: (props: PisellDrawerProps) =>
|
|
18
|
+
declare const Drawer: (props: PisellDrawerProps) => JSX.Element;
|
|
19
19
|
export default Drawer;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
/**
|
|
3
3
|
* @title: 空状态
|
|
4
4
|
* @description:
|
|
@@ -9,5 +9,5 @@ import React from "react";
|
|
|
9
9
|
*/
|
|
10
10
|
declare const EmptyBooking: ({ description }: {
|
|
11
11
|
description?: string | undefined;
|
|
12
|
-
}) =>
|
|
12
|
+
}) => JSX.Element;
|
|
13
13
|
export default EmptyBooking;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import "./index.less";
|
|
3
|
-
declare const FooterMenus: ({ state, menuChange, items }: any) =>
|
|
3
|
+
declare const FooterMenus: ({ state, menuChange, items }: any) => JSX.Element | null;
|
|
4
4
|
export default FooterMenus;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import './index.less';
|
|
3
2
|
/**
|
|
4
3
|
* @title: 底部
|
|
@@ -8,5 +7,5 @@ import './index.less';
|
|
|
8
7
|
* @Author: zhiwei.Wang
|
|
9
8
|
* @Date: 2024-01-30 16:51
|
|
10
9
|
*/
|
|
11
|
-
declare const Footer: (props: any) =>
|
|
10
|
+
declare const Footer: (props: any) => JSX.Element;
|
|
12
11
|
export default Footer;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const FormItemChildrenWrap: (props: any) =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const FormItemChildrenWrap: (props: any) => JSX.Element;
|
|
3
3
|
export default FormItemChildrenWrap;
|