@pisell/private-materials 6.3.144 → 6.3.145
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +145 -153
- package/build/lowcode/render/default/view.js +10 -10
- package/build/lowcode/view.js +10 -10
- 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/Deposit/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Form/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
- package/es/components/appointmentBooking/hooks.d.ts +107 -0
- package/es/components/appointmentBooking/utils.d.ts +227 -0
- package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/es/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
- package/es/components/booking/components/footer/utils.d.ts +47 -0
- package/es/components/booking/components/reloadResourceModal/index.d.ts +9 -0
- package/es/components/booking/components/voucher/index.d.ts +3 -0
- package/es/components/booking/forms/footer.d.ts +0 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/es/components/booking/hooks/useClearCart.d.ts +0 -1
- package/es/components/booking/info/dateRange/index.d.ts +0 -1
- package/es/components/booking/info/service/editService/constants.d.ts +1 -0
- package/es/components/booking/info/service/editService/index.d.ts +7 -0
- package/es/components/booking/info/service2/utils.d.ts +248 -0
- package/es/components/booking/info2/index.d.ts +12 -0
- package/es/components/booking/info2/service/addService/index.d.ts +11 -0
- package/es/components/booking/locales.d.ts +1489 -0
- package/es/components/booking/model.d.ts +120 -0
- package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/es/components/ecocup/components/AddCustomerModal/index.d.ts +0 -1
- package/es/components/ecocup/components/CupActionList/index.d.ts +0 -1
- package/es/components/ecocup/components/CupActionModal/index.d.ts +0 -1
- package/es/components/ecocup/components/CupInfoCard/index.d.ts +0 -1
- package/es/components/ecocup/components/CupStatusModal/index.d.ts +0 -1
- package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +0 -1
- package/es/components/ecocup/components/CustomerCard/index.d.ts +0 -1
- package/es/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
- package/es/components/ecocup/components/SearchBar/index.d.ts +0 -1
- package/es/components/ecocup/components/SettingModal/index.d.ts +0 -1
- package/es/components/ecocup/cupList/hooks/useColumns.d.ts +0 -1
- package/es/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
- package/es/components/ecocup/cupList/index.d.ts +0 -1
- package/es/components/eftpos/hooks.d.ts +1 -0
- package/es/components/eftpos/index.d.ts +1 -0
- package/es/components/eftposPay/amount.d.ts +20 -0
- package/es/components/eftposPay/app.d.ts +10 -0
- package/es/components/eftposPay/component/fail/failCustom.d.ts +3 -0
- package/es/components/eftposPay/component/fail/index.d.ts +3 -0
- package/es/components/eftposPay/component/fail/network.d.ts +8 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +9 -0
- package/es/components/eftposPay/component/manual/index.d.ts +9 -0
- package/es/components/eftposPay/component/signature/index.d.ts +8 -0
- package/es/components/eftposPay/device.d.ts +23 -0
- package/es/components/eftposPay/index.d.ts +4 -0
- package/es/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/es/components/eftposPay/linkly/index.d.ts +2 -0
- package/es/components/eftposPay/pay.d.ts +20 -0
- package/es/components/eftposPay/payo/config.d.ts +12 -0
- package/es/components/eftposPay/payo/hooks.d.ts +10 -0
- package/es/components/eftposPay/payo/payment.d.ts +66 -0
- package/es/components/eftposPay/tip.d.ts +9 -0
- package/es/components/eftposPay/tyro/index.d.ts +9 -0
- package/es/components/eftposPay/utils/payLog.d.ts +81 -0
- package/es/components/eftposPay/windcave/receiptAction.d.ts +22 -0
- package/es/components/eftposPay/windcave/windcave.d.ts +6 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Deposit/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 +1 -0
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Footer/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/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/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/es/components/kioskSkuDetail/index.d.ts +39 -0
- package/es/components/kioskSkuDetail/locales.d.ts +48 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +16 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +15 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +83 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +22 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +16 -0
- package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/es/components/pay/toC/index.d.ts +3 -0
- package/es/components/pay/toC/locales.d.ts +631 -0
- package/es/components/pay/toC/payGroup.d.ts +59 -0
- package/es/components/pay/toC/serve.d.ts +87 -0
- package/es/components/pay/toC/utils.d.ts +65 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/es/components/ruleSetting/locales.d.ts +78 -0
- package/es/components/scanOrder/components/Cart/index.d.ts +16 -0
- package/es/components/scanOrder/components/Check/index.d.ts +3 -0
- package/es/components/scanOrder/components/Content/index.d.ts +3 -0
- package/es/components/scanOrder/components/Footer/index.d.ts +12 -0
- package/es/components/scanOrder/components/Menu/index.d.ts +18 -0
- package/es/components/scanOrder/types.d.ts +79 -0
- package/es/components/scanOrder/utils/toShoppingCartProducts.d.ts +21 -0
- package/es/components/scanOrder/utils/transformProductDetail.d.ts +59 -0
- package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/es/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
- package/es/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
- package/es/components/systemSettings/registry/index.d.ts +5 -0
- package/es/components/systemSettings/registry/services.d.ts +99 -0
- package/es/components/systemSettings/registry/types.d.ts +143 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
- package/es/components/ticketBooking/components/timeBar/index.d.ts +12 -0
- package/es/components/ticketBooking/index.d.ts +7 -0
- package/es/components/venueBooking/components/Addons/index.d.ts +3 -0
- package/es/components/venueBooking/components/Cart/index.d.ts +28 -0
- package/es/components/venueBooking/components/Checkout/index.d.ts +2 -0
- package/es/components/venueBooking/components/Footer/index.d.ts +3 -0
- package/es/components/venueBooking/components/Header/index.d.ts +2 -0
- package/es/components/venueBooking/components/VenueSelection/components/TimeGrid.d.ts +2 -0
- package/es/components/venueBooking/context.d.ts +9 -0
- package/es/components/venueBooking/hooks.d.ts +72 -0
- package/es/components/venueBooking/index.d.ts +6 -0
- package/es/components/venueBooking/locales.d.ts +627 -0
- package/es/components/venueBooking/types.d.ts +204 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/es/index.d.ts +87 -0
- package/es/plus/orderList/components/HandleActions.d.ts +0 -1
- package/es/plus/orderList/components/QuickFilter.d.ts +0 -1
- package/es/plus/orderList/components/Reset.d.ts +0 -1
- package/es/plus/orderList/components/Toolbar.d.ts +0 -1
- package/es/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +0 -1
- package/es/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +0 -1
- package/es/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +0 -1
- package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -1
- package/es/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
- package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
- package/es/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
- package/es/plus/skuOptionsSelection/index.d.ts +5 -0
- package/es/plus/skuOptionsSelection/locales.d.ts +58 -0
- package/es/plus/skuOptionsSelection/types.d.ts +458 -0
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
- package/es/plus/walletPassGallery/components/passDetail/index.js +8 -1
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
- package/es/plus/walletPassGallery/locales.d.ts +5 -0
- package/es/plus/walletPassGallery/locales.js +14 -5
- package/es/pro/Cards/components/SKUCard/index.d.ts +5 -0
- package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
- package/es/pro/Selector/demo.d.ts +0 -1
- package/es/pro/pisellPaymentList/example.d.ts +1 -0
- package/es/pro/pisellPhoneKeyboard/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/Deposit/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Form/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Services/index.d.ts +4 -0
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
- package/lib/components/appointmentBooking/hooks.d.ts +107 -0
- package/lib/components/appointmentBooking/utils.d.ts +227 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
- package/lib/components/authentication/admin/ChannelAuthSetting/index.d.ts +6 -0
- package/lib/components/booking/components/footer/utils.d.ts +47 -0
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +9 -0
- package/lib/components/booking/components/voucher/index.d.ts +3 -0
- package/lib/components/booking/forms/footer.d.ts +0 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
- package/lib/components/booking/info/dateRange/index.d.ts +0 -1
- package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
- package/lib/components/booking/info/service/editService/index.d.ts +7 -0
- package/lib/components/booking/info/service2/utils.d.ts +248 -0
- package/lib/components/booking/info2/index.d.ts +12 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
- package/lib/components/booking/locales.d.ts +1489 -0
- package/lib/components/booking/model.d.ts +120 -0
- package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +0 -1
- package/lib/components/ecocup/components/CupActionList/index.d.ts +0 -1
- package/lib/components/ecocup/components/CupActionModal/index.d.ts +0 -1
- package/lib/components/ecocup/components/CupInfoCard/index.d.ts +0 -1
- package/lib/components/ecocup/components/CupStatusModal/index.d.ts +0 -1
- package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +0 -1
- package/lib/components/ecocup/components/CustomerCard/index.d.ts +0 -1
- package/lib/components/ecocup/components/MoreDropdown/index.d.ts +0 -1
- package/lib/components/ecocup/components/SearchBar/index.d.ts +0 -1
- package/lib/components/ecocup/components/SettingModal/index.d.ts +0 -1
- package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +0 -1
- package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +0 -1
- package/lib/components/ecocup/cupList/index.d.ts +0 -1
- package/lib/components/eftpos/hooks.d.ts +1 -0
- package/lib/components/eftpos/index.d.ts +1 -0
- package/lib/components/eftposPay/amount.d.ts +20 -0
- package/lib/components/eftposPay/app.d.ts +10 -0
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +3 -0
- package/lib/components/eftposPay/component/fail/index.d.ts +3 -0
- package/lib/components/eftposPay/component/fail/network.d.ts +8 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +9 -0
- package/lib/components/eftposPay/component/manual/index.d.ts +9 -0
- package/lib/components/eftposPay/component/signature/index.d.ts +8 -0
- package/lib/components/eftposPay/device.d.ts +23 -0
- package/lib/components/eftposPay/index.d.ts +4 -0
- package/lib/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/lib/components/eftposPay/linkly/index.d.ts +2 -0
- package/lib/components/eftposPay/pay.d.ts +20 -0
- package/lib/components/eftposPay/payo/config.d.ts +12 -0
- package/lib/components/eftposPay/payo/hooks.d.ts +10 -0
- package/lib/components/eftposPay/payo/payment.d.ts +66 -0
- package/lib/components/eftposPay/tip.d.ts +9 -0
- package/lib/components/eftposPay/tyro/index.d.ts +9 -0
- package/lib/components/eftposPay/utils/payLog.d.ts +81 -0
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +22 -0
- package/lib/components/eftposPay/windcave/windcave.d.ts +6 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/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 +1 -0
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Footer/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/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/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
- package/lib/components/kioskSkuDetail/index.d.ts +39 -0
- package/lib/components/kioskSkuDetail/locales.d.ts +48 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/index.d.ts +16 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/index.d.ts +15 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +83 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +22 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +25 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.d.ts +16 -0
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/lib/components/pay/toC/index.d.ts +3 -0
- package/lib/components/pay/toC/locales.d.ts +631 -0
- package/lib/components/pay/toC/payGroup.d.ts +59 -0
- package/lib/components/pay/toC/serve.d.ts +87 -0
- package/lib/components/pay/toC/utils.d.ts +65 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
- package/lib/components/ruleSetting/locales.d.ts +78 -0
- package/lib/components/scanOrder/components/Cart/index.d.ts +16 -0
- package/lib/components/scanOrder/components/Check/index.d.ts +3 -0
- package/lib/components/scanOrder/components/Content/index.d.ts +3 -0
- package/lib/components/scanOrder/components/Footer/index.d.ts +12 -0
- package/lib/components/scanOrder/components/Menu/index.d.ts +18 -0
- package/lib/components/scanOrder/types.d.ts +79 -0
- package/lib/components/scanOrder/utils/toShoppingCartProducts.d.ts +21 -0
- package/lib/components/scanOrder/utils/transformProductDetail.d.ts +59 -0
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
- package/lib/components/systemSettings/registry/components/GroupModal.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/ItemModal.d.ts +4 -0
- package/lib/components/systemSettings/registry/index.d.ts +5 -0
- package/lib/components/systemSettings/registry/services.d.ts +99 -0
- package/lib/components/systemSettings/registry/types.d.ts +143 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +9 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +12 -0
- package/lib/components/ticketBooking/index.d.ts +7 -0
- package/lib/components/venueBooking/components/Addons/index.d.ts +3 -0
- package/lib/components/venueBooking/components/Cart/index.d.ts +28 -0
- package/lib/components/venueBooking/components/Checkout/index.d.ts +2 -0
- package/lib/components/venueBooking/components/Footer/index.d.ts +3 -0
- package/lib/components/venueBooking/components/Header/index.d.ts +2 -0
- package/lib/components/venueBooking/components/VenueSelection/components/TimeGrid.d.ts +2 -0
- package/lib/components/venueBooking/context.d.ts +9 -0
- package/lib/components/venueBooking/hooks.d.ts +72 -0
- package/lib/components/venueBooking/index.d.ts +6 -0
- package/lib/components/venueBooking/locales.d.ts +627 -0
- package/lib/components/venueBooking/types.d.ts +204 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/lib/index.d.ts +87 -0
- package/lib/plus/orderList/components/HandleActions.d.ts +0 -1
- package/lib/plus/orderList/components/QuickFilter.d.ts +0 -1
- package/lib/plus/orderList/components/Reset.d.ts +0 -1
- package/lib/plus/orderList/components/Toolbar.d.ts +0 -1
- package/lib/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +0 -1
- package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +0 -1
- package/lib/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +0 -1
- package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +0 -1
- package/lib/plus/saasRegister/components/VertifyEmail.d.ts +0 -1
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +5 -0
- package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
- package/lib/plus/skuOptionsSelection/components/TitleExtra/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +0 -1
- package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
- package/lib/plus/skuOptionsSelection/locales.d.ts +58 -0
- package/lib/plus/skuOptionsSelection/types.d.ts +458 -0
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.d.ts +1 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.js +4 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +0 -1
- package/lib/plus/walletPassGallery/locales.d.ts +5 -0
- package/lib/plus/walletPassGallery/locales.js +14 -5
- package/lib/pro/Cards/components/SKUCard/index.d.ts +5 -0
- package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
- package/lib/pro/Selector/demo.d.ts +0 -1
- package/lib/pro/pisellPaymentList/example.d.ts +1 -0
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +0 -1
- package/package.json +1 -1
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface FormState {
|
|
3
|
+
amountSymbol: string;
|
|
4
|
+
apis: {
|
|
5
|
+
getClients: (par?: any) => any;
|
|
6
|
+
getClientsEs: (par?: any) => any;
|
|
7
|
+
getServices: (par?: any) => any;
|
|
8
|
+
getResources: (par?: any) => any;
|
|
9
|
+
getProducts: (par?: any) => any;
|
|
10
|
+
getPets: (par?: any) => any;
|
|
11
|
+
getForms: (par?: any) => any;
|
|
12
|
+
getFormData: (par?: any) => any;
|
|
13
|
+
getAddonsByOrderId: (par?: any) => any;
|
|
14
|
+
saveAddonsByOrderId: (par?: any) => any;
|
|
15
|
+
getNotesByOrder: (par?: any) => any;
|
|
16
|
+
saveBookingFormData: (par?: any) => any;
|
|
17
|
+
getPetsData: (par?: any) => any;
|
|
18
|
+
};
|
|
19
|
+
client: {
|
|
20
|
+
showModal: boolean;
|
|
21
|
+
value: any;
|
|
22
|
+
clients: any[];
|
|
23
|
+
clientsParams: {
|
|
24
|
+
skip: number;
|
|
25
|
+
num: number;
|
|
26
|
+
search: string;
|
|
27
|
+
};
|
|
28
|
+
edit: boolean;
|
|
29
|
+
};
|
|
30
|
+
contacts_info: {
|
|
31
|
+
edit: boolean;
|
|
32
|
+
value: any;
|
|
33
|
+
};
|
|
34
|
+
date: {
|
|
35
|
+
value: any;
|
|
36
|
+
end_date: any;
|
|
37
|
+
edit: boolean;
|
|
38
|
+
};
|
|
39
|
+
service: {
|
|
40
|
+
addModal: boolean;
|
|
41
|
+
editModal: boolean;
|
|
42
|
+
services: any[];
|
|
43
|
+
resources: any[];
|
|
44
|
+
resourcesOrigin: any[];
|
|
45
|
+
reloadResourceModal: false;
|
|
46
|
+
value: any[];
|
|
47
|
+
cacheItem: any;
|
|
48
|
+
edit: boolean;
|
|
49
|
+
addTimeModal: boolean;
|
|
50
|
+
changeService: any;
|
|
51
|
+
};
|
|
52
|
+
pet: {
|
|
53
|
+
showModal: boolean;
|
|
54
|
+
pets: any[];
|
|
55
|
+
value: any[];
|
|
56
|
+
formData: any;
|
|
57
|
+
originValue: any;
|
|
58
|
+
edit: boolean;
|
|
59
|
+
};
|
|
60
|
+
addons: {
|
|
61
|
+
showModal: boolean;
|
|
62
|
+
value: any[];
|
|
63
|
+
productList: any[];
|
|
64
|
+
originData: any[];
|
|
65
|
+
edit: boolean;
|
|
66
|
+
};
|
|
67
|
+
notes: {
|
|
68
|
+
orderNote: string;
|
|
69
|
+
internalNotes: any[];
|
|
70
|
+
edit: boolean;
|
|
71
|
+
};
|
|
72
|
+
form: {
|
|
73
|
+
value: any;
|
|
74
|
+
forms: any[];
|
|
75
|
+
edit: boolean;
|
|
76
|
+
};
|
|
77
|
+
setGlobalState: () => void;
|
|
78
|
+
disabledEdit: boolean;
|
|
79
|
+
bookingConfig: any;
|
|
80
|
+
action: any;
|
|
81
|
+
bookingId: string | number;
|
|
82
|
+
bookingDetail: any;
|
|
83
|
+
channelDisabledEdit: boolean;
|
|
84
|
+
renderType?: 'eventBooking' | 'dayBooking';
|
|
85
|
+
modalOpen?: boolean;
|
|
86
|
+
isTerminal?: boolean;
|
|
87
|
+
isFranchisee?: boolean;
|
|
88
|
+
addTimeProducts: any[];
|
|
89
|
+
eventOtherParams?: {
|
|
90
|
+
relation_id: number;
|
|
91
|
+
number: number;
|
|
92
|
+
registration_type: 'single' | 'all' | 'extra_include';
|
|
93
|
+
start_date: string;
|
|
94
|
+
start_time: string;
|
|
95
|
+
end_date: string;
|
|
96
|
+
end_time: string;
|
|
97
|
+
productIds: number[];
|
|
98
|
+
};
|
|
99
|
+
disableEventBookingEdit?: boolean;
|
|
100
|
+
/** 关闭自动打开选择服务弹窗 */
|
|
101
|
+
closeAutoOpenService?: boolean;
|
|
102
|
+
/** 是否terminal创建booking页面 */
|
|
103
|
+
isBookingCreatePage?: boolean;
|
|
104
|
+
loading: boolean;
|
|
105
|
+
isTerminalDayBookingPage?: boolean;
|
|
106
|
+
activeCartId?: any[];
|
|
107
|
+
isDayBooking: boolean;
|
|
108
|
+
}
|
|
109
|
+
export declare const walkInData: {
|
|
110
|
+
id: number;
|
|
111
|
+
nickname: string;
|
|
112
|
+
};
|
|
113
|
+
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
114
|
+
state: FormState;
|
|
115
|
+
} & {
|
|
116
|
+
dispatch: (params: {
|
|
117
|
+
type: string;
|
|
118
|
+
payload: any;
|
|
119
|
+
}) => void;
|
|
120
|
+
}>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PosProps } from './const';
|
|
2
|
+
/**
|
|
3
|
+
* @title: 支付金额信息配置页
|
|
4
|
+
* @description: 配置支付金额与手续费
|
|
5
|
+
* @return React.Element
|
|
6
|
+
* @Author: hongbing.wang
|
|
7
|
+
* @Date: 2024-08-12 11:35
|
|
8
|
+
*/
|
|
9
|
+
declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
|
|
10
|
+
className?: string | undefined;
|
|
11
|
+
onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
|
|
12
|
+
[keys: string]: unknown;
|
|
13
|
+
} | undefined, other?: any) => void) | undefined;
|
|
14
|
+
onClose: () => void;
|
|
15
|
+
formatAmount(amount: number | string, precision: number, symbol: string): string;
|
|
16
|
+
isMobile: boolean;
|
|
17
|
+
net: boolean;
|
|
18
|
+
client: string;
|
|
19
|
+
}) => JSX.Element;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PosProps, RouteType } from './const';
|
|
2
|
+
declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
|
|
3
|
+
action: RouteType;
|
|
4
|
+
device_number: string | number;
|
|
5
|
+
api: ReturnType<PosProps['getApi']>;
|
|
6
|
+
isMobile: boolean;
|
|
7
|
+
channel?: string | undefined;
|
|
8
|
+
formatAmount(amount: number | string, precision: number, symbol: string): string;
|
|
9
|
+
}) => JSX.Element;
|
|
10
|
+
export default App;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ActionProps } from '../../const';
|
|
2
|
+
import './index.less';
|
|
3
|
+
/**
|
|
4
|
+
* @title: 结果标记页面
|
|
5
|
+
* @Author: hongbing.wang
|
|
6
|
+
* @Date: 2024-08-20 11:46
|
|
7
|
+
*/
|
|
8
|
+
declare const _default: ({ onChange, className, formatAmount }: ActionProps) => JSX.Element;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PayProps, PosProps } from './const';
|
|
2
|
+
import './device.less';
|
|
3
|
+
/**
|
|
4
|
+
* @title: 设备选择页
|
|
5
|
+
* @description: 选择设备信息,无设备增加提示;仅有一条,默认选中跳走;多条记录则停留等待用户选择
|
|
6
|
+
* @return React.Element
|
|
7
|
+
* @Author: hongbing.wang
|
|
8
|
+
* @Date: 2024-08-12 11:40
|
|
9
|
+
*/
|
|
10
|
+
declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
|
|
11
|
+
api: PayProps['api'];
|
|
12
|
+
className?: string | undefined;
|
|
13
|
+
onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
|
|
14
|
+
[keys: string]: unknown;
|
|
15
|
+
} | undefined, other?: any) => void) | undefined;
|
|
16
|
+
onClose: () => void;
|
|
17
|
+
device_number?: string | number | undefined;
|
|
18
|
+
isMobile: boolean;
|
|
19
|
+
net: boolean;
|
|
20
|
+
client: string;
|
|
21
|
+
formatAmount(amount: number | string, precision: number, symbol: string): string;
|
|
22
|
+
}) => JSX.Element;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PayProps } from './const';
|
|
2
|
+
import './index.less';
|
|
3
|
+
/**
|
|
4
|
+
* @title: 支付组件
|
|
5
|
+
* @description:
|
|
6
|
+
* @Author: hongbing.wang
|
|
7
|
+
* @Date: 2024-08-20 14:59
|
|
8
|
+
*/
|
|
9
|
+
declare const Pay: ({ api, onChange: onChangeStatus, className, terminal, net, isMobile, tyroUrl, tyroVersion, formatAmount, client, }: PayProps & {
|
|
10
|
+
terminal: {
|
|
11
|
+
network: boolean;
|
|
12
|
+
};
|
|
13
|
+
net: boolean;
|
|
14
|
+
isMobile: boolean;
|
|
15
|
+
tyroUrl?: string | undefined;
|
|
16
|
+
tyroVersion?: string | undefined;
|
|
17
|
+
formatAmount(amount: number | string, precision: number, symbol: string): string;
|
|
18
|
+
client: string;
|
|
19
|
+
}) => JSX.Element;
|
|
20
|
+
export default Pay;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StatusEnum } from '../const';
|
|
2
|
+
export declare const POS: ({ api, onChange, }: {
|
|
3
|
+
api: {
|
|
4
|
+
[key: string]: (...agrn: unknown[]) => Promise<unknown>;
|
|
5
|
+
};
|
|
6
|
+
onChange: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}`, params?: {
|
|
7
|
+
[keys: string]: unknown;
|
|
8
|
+
} | undefined) => void;
|
|
9
|
+
}) => JSX.Element;
|
|
10
|
+
export declare const Action: ({ onChange }: {
|
|
11
|
+
onChange: any;
|
|
12
|
+
}) => JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PayStatus } from '../const';
|
|
2
|
+
/**
|
|
3
|
+
* @title: 循环查询 接口状态
|
|
4
|
+
* @Author: hongbing.wang
|
|
5
|
+
* @Date: 2024-08-20 13:29
|
|
6
|
+
*/
|
|
7
|
+
export declare const useValidate: (timeout: number) => readonly [(params_0: (...agrn: unknown[]) => Promise<any>, params_1: number, params_2?: number | undefined) => Promise<{
|
|
8
|
+
[key: string]: unknown;
|
|
9
|
+
code: `${PayStatus}`;
|
|
10
|
+
}>, () => void];
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
interface RunApiParams {
|
|
2
|
+
[key: string]: any;
|
|
3
|
+
}
|
|
4
|
+
export declare enum ActionType {
|
|
5
|
+
Pay = "pay",
|
|
6
|
+
Refund = "refund",
|
|
7
|
+
Query = "query"
|
|
8
|
+
}
|
|
9
|
+
interface UsePaymentOptions {
|
|
10
|
+
/**
|
|
11
|
+
* 支付接口
|
|
12
|
+
*/
|
|
13
|
+
payApi: (params: RunApiParams, options?: {
|
|
14
|
+
signal?: AbortSignal;
|
|
15
|
+
}) => Promise<any>;
|
|
16
|
+
/**
|
|
17
|
+
* 退款接口
|
|
18
|
+
*/
|
|
19
|
+
refundApi?: (params: RunApiParams, options?: {
|
|
20
|
+
signal?: AbortSignal;
|
|
21
|
+
}) => Promise<any>;
|
|
22
|
+
/**
|
|
23
|
+
* 查询接口
|
|
24
|
+
*/
|
|
25
|
+
checkApi: (params: {
|
|
26
|
+
number: string;
|
|
27
|
+
}, options?: {
|
|
28
|
+
signal?: AbortSignal;
|
|
29
|
+
}) => Promise<any>;
|
|
30
|
+
/**
|
|
31
|
+
* 检查是否应该继续处理结果(用于处理网络断开、组件卸载等情况)
|
|
32
|
+
*/
|
|
33
|
+
shouldContinue?: () => boolean;
|
|
34
|
+
}
|
|
35
|
+
interface RunParams {
|
|
36
|
+
/** 支付类型 */
|
|
37
|
+
paymentType: ActionType;
|
|
38
|
+
/** 支付交易号 */
|
|
39
|
+
paymentNum: string;
|
|
40
|
+
/** 订单ID */
|
|
41
|
+
orderId?: string | number;
|
|
42
|
+
/** 设备ID */
|
|
43
|
+
deviceId?: string | number;
|
|
44
|
+
/** 支付参数 */
|
|
45
|
+
params: RunApiParams;
|
|
46
|
+
/** 回调方法 */
|
|
47
|
+
callbacks: RunCallbacks;
|
|
48
|
+
}
|
|
49
|
+
interface RunCallbacks {
|
|
50
|
+
/**
|
|
51
|
+
* 成功回调
|
|
52
|
+
*/
|
|
53
|
+
onSuccess: (res: any) => void;
|
|
54
|
+
/**
|
|
55
|
+
* 失败回调
|
|
56
|
+
*/
|
|
57
|
+
onError: (error: any) => void;
|
|
58
|
+
}
|
|
59
|
+
export declare const usePayment: (options: UsePaymentOptions) => {
|
|
60
|
+
run: (options: RunParams) => Promise<void>;
|
|
61
|
+
stop: () => void;
|
|
62
|
+
clean: (params?: {
|
|
63
|
+
clearCallbacks?: boolean;
|
|
64
|
+
}) => void;
|
|
65
|
+
};
|
|
66
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import './tip.less';
|
|
2
|
+
/**
|
|
3
|
+
* @title: 支付状态未知页面
|
|
4
|
+
* @description:
|
|
5
|
+
* @Author: hongbing.wang
|
|
6
|
+
* @Date: 2024-08-20 11:42
|
|
7
|
+
*/
|
|
8
|
+
declare const _default: ({ onChangeStatus, className, formatAmount, cardSurcharge, receipts, successTime, onChangeParams, }: any) => JSX.Element;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: ({ api, onChange, children, url, version, }: {
|
|
3
|
+
api: any;
|
|
4
|
+
onChange: any;
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
url?: string | undefined;
|
|
7
|
+
version?: string | undefined;
|
|
8
|
+
}) => JSX.Element;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
export interface PayLogContext {
|
|
2
|
+
/** 渠道 */
|
|
3
|
+
channel?: string;
|
|
4
|
+
/** 订单ID */
|
|
5
|
+
orderId?: string | number;
|
|
6
|
+
/** 设备ID */
|
|
7
|
+
deviceId?: string | number;
|
|
8
|
+
/** 支付类型:PAYO / WINDCAVE / LINKLY / TYRO */
|
|
9
|
+
paymentType?: string;
|
|
10
|
+
/** 交易记录号 */
|
|
11
|
+
transactionNumber?: string;
|
|
12
|
+
/** 模式:pay / refund / query */
|
|
13
|
+
mode?: string;
|
|
14
|
+
/** 其他扩展信息 */
|
|
15
|
+
extra?: Record<string, any>;
|
|
16
|
+
}
|
|
17
|
+
declare class PayLog {
|
|
18
|
+
private static instance;
|
|
19
|
+
private sessionKey;
|
|
20
|
+
private context;
|
|
21
|
+
private logs;
|
|
22
|
+
private startTime;
|
|
23
|
+
private flushed;
|
|
24
|
+
private constructor();
|
|
25
|
+
static getInstance(): PayLog;
|
|
26
|
+
/**
|
|
27
|
+
* 初始化一次交易会话
|
|
28
|
+
* - 生成唯一 sessionKey
|
|
29
|
+
* - 恢复上报 localStorage 中残留的旧日志
|
|
30
|
+
* - 接受部分 context(后续可通过 setContext 补充)
|
|
31
|
+
*/
|
|
32
|
+
init(context?: Partial<PayLogContext>): void;
|
|
33
|
+
/**
|
|
34
|
+
* 补充/更新上下文信息
|
|
35
|
+
* 新值覆盖旧值,extra 做浅合并
|
|
36
|
+
*/
|
|
37
|
+
setContext(partial: Partial<PayLogContext>): void;
|
|
38
|
+
/**
|
|
39
|
+
* 记录一条日志
|
|
40
|
+
*/
|
|
41
|
+
log(title: string, data?: any): void;
|
|
42
|
+
/**
|
|
43
|
+
* 上报日志到飞书并清理 localStorage
|
|
44
|
+
*/
|
|
45
|
+
flush(customTitle?: string): void;
|
|
46
|
+
/**
|
|
47
|
+
* flush + 重置内部状态
|
|
48
|
+
*/
|
|
49
|
+
destroy(): void;
|
|
50
|
+
/**
|
|
51
|
+
* 构建 sendWarningLog 所需的 content 数组
|
|
52
|
+
*/
|
|
53
|
+
private buildContent;
|
|
54
|
+
/**
|
|
55
|
+
* 持久化当前会话到 localStorage
|
|
56
|
+
*/
|
|
57
|
+
private persistToStorage;
|
|
58
|
+
/**
|
|
59
|
+
* 从 localStorage 移除指定 session
|
|
60
|
+
*/
|
|
61
|
+
private removeFromStorage;
|
|
62
|
+
/**
|
|
63
|
+
* 获取 localStorage 中所有 session
|
|
64
|
+
*/
|
|
65
|
+
private getAllSessions;
|
|
66
|
+
/**
|
|
67
|
+
* 恢复上报 localStorage 中残留的旧日志(崩溃/异常退出场景)
|
|
68
|
+
*/
|
|
69
|
+
private recoverOrphanedLogs;
|
|
70
|
+
}
|
|
71
|
+
declare const payLog: PayLog;
|
|
72
|
+
export default payLog;
|
|
73
|
+
/**
|
|
74
|
+
* 在根组件中使用,管理 PayLog 生命周期
|
|
75
|
+
* - mount 时 init(+ 恢复上报残留日志)
|
|
76
|
+
* - unmount 时 flush
|
|
77
|
+
*/
|
|
78
|
+
export declare function usePayLog(context?: Partial<PayLogContext>): {
|
|
79
|
+
log: (title: string, data?: any) => void;
|
|
80
|
+
setContext: (partial: Partial<PayLogContext>) => void;
|
|
81
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @title: 按钮操作区
|
|
3
|
+
* @description: 仅包含签名
|
|
4
|
+
* @Author: hongbing.wang
|
|
5
|
+
* @Date: 2024-08-20 12:33
|
|
6
|
+
*/
|
|
7
|
+
export declare const ReceiptAction: ({ api, onChange, }: {
|
|
8
|
+
api: any;
|
|
9
|
+
onChange: (status: boolean) => void;
|
|
10
|
+
}) => JSX.Element;
|
|
11
|
+
/**
|
|
12
|
+
* @title: 按钮操作区
|
|
13
|
+
* @description: 不包含签名
|
|
14
|
+
* @Author: hongbing.wang
|
|
15
|
+
* @Date: 2024-08-20 12:32
|
|
16
|
+
*/
|
|
17
|
+
declare const Action: ({ index, onCancel, disabled, }: {
|
|
18
|
+
index: number;
|
|
19
|
+
onCancel: () => void;
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
}) => JSX.Element | null;
|
|
22
|
+
export default Action;
|