@pisell/private-materials 6.11.126 → 6.11.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/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/businessModel/SalesModel/index.d.ts +1 -0
- package/es/components/Sales/Summary/utils.d.ts +58 -0
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Content/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Header/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +1 -0
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
- package/es/components/appointmentBooking/deposit/index.d.ts +1 -0
- package/es/components/appointmentBooking/index.d.ts +1 -0
- package/es/components/appointmentBooking/locales.d.ts +606 -0
- package/es/components/booking/addons/model.d.ts +1 -10
- package/es/components/booking/components/TabProduct/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/es/components/booking/components/footer/index.d.ts +1 -0
- package/es/components/booking/components/reloadResourceModal/index.d.ts +9 -0
- package/es/components/booking/components/voucher/index.d.ts +1 -0
- package/es/components/booking/components/voucher/utils.d.ts +4 -0
- package/es/components/booking/deposit/index.d.ts +1 -0
- package/es/components/booking/editBookingModal/utils.d.ts +12 -0
- package/es/components/booking/forms/footer.d.ts +1 -0
- package/es/components/booking/forms/model.d.ts +1 -10
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/es/components/booking/forms/single/index.d.ts +1 -0
- package/es/components/booking/hooks/useClearCart.d.ts +1 -0
- package/es/components/booking/hooks/useQuotation.d.ts +1 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +1 -0
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/es/components/booking/info/clientVariant/utils.d.ts +3 -0
- package/es/components/booking/info/date/index.d.ts +1 -0
- package/es/components/booking/info/dateRange/index.d.ts +1 -0
- package/es/components/booking/info/header/index.d.ts +4 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/es/components/booking/info/index.d.ts +1 -0
- package/es/components/booking/info/notes/index.d.ts +1 -0
- package/es/components/booking/info/service/Lists.d.ts +1 -0
- package/es/components/booking/info/service/actions/index.d.ts +1 -0
- package/es/components/booking/info/service/addService/index.d.ts +1 -0
- package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
- package/es/components/booking/info/service/editService/constants.d.ts +1 -0
- package/es/components/booking/info/service/serviceItem/index.d.ts +1 -0
- package/es/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
- package/es/components/booking/info/service2/Lists.d.ts +1 -0
- package/es/components/booking/info2/cartClientCard/locales.d.ts +33 -0
- package/es/components/booking/info2/cartClientCard/types.d.ts +19 -0
- package/es/components/booking/info2/cartClientCard/utils.d.ts +3 -0
- package/es/components/booking/info2/model/index.d.ts +1 -0
- package/es/components/booking/info2/model/strategy/adapter/index.d.ts +7 -0
- package/es/components/booking/info2/model/strategy/adapter/promotion/evaluator.d.ts +185 -0
- package/es/components/booking/info2/model/strategy/adapter/promotion/type.d.ts +420 -0
- package/es/components/booking/info2/model/strategy/adapter/type.d.ts +28 -0
- package/es/components/booking/info2/model/strategy/adapter/walletPass/evaluator.d.ts +84 -0
- package/es/components/booking/info2/model/strategy/adapter/walletPass/example.d.ts +4 -0
- package/es/components/booking/info2/model/strategy/adapter/walletPass/index.d.ts +32 -0
- package/es/components/booking/info2/model/strategy/adapter/walletPass/locales.d.ts +1 -0
- package/es/components/booking/info2/model/strategy/adapter/walletPass/type.d.ts +165 -0
- package/es/components/booking/info2/model/strategy/adapter/walletPass/utils.d.ts +50 -0
- package/es/components/booking/info2/model/strategy/index.d.ts +107 -0
- package/es/components/booking/info2/model/strategy/strategy-example.d.ts +5 -0
- package/es/components/booking/info2/model/strategy/type.d.ts +228 -0
- package/es/components/booking/info2/service/actions/index.d.ts +1 -0
- package/es/components/booking/info2/service/addService/index.d.ts +1 -0
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
- package/es/components/booking/info2/service/editService/utils.d.ts +28 -0
- package/es/components/booking/info2/service/openNormalService.d.ts +37 -0
- package/es/components/booking/info2/service/serviceItem/index.d.ts +1 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/es/components/booking/locales.d.ts +1581 -0
- package/es/components/booking/materiels/duration/index.d.ts +1 -0
- package/es/components/booking/materiels/holder/index.d.ts +1 -0
- package/es/components/booking/materiels/startTime/index.d.ts +1 -0
- package/es/components/booking/model.d.ts +113 -0
- package/es/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/es/components/booking/notes/addNote/index.d.ts +1 -0
- package/es/components/booking/notes/model.d.ts +1 -10
- package/es/components/booking/payments/model.d.ts +1 -10
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
- package/es/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
- package/es/components/checkout/components/PaymentResultToast/types.d.ts +59 -0
- package/es/components/checkout/components/PaymentResultToast/utils.d.ts +44 -0
- package/es/components/checkout/components/ScrollableList/index.d.ts +5 -0
- package/es/components/checkout/components/ScrollableList/types.d.ts +53 -0
- package/es/components/checkout/components/SearchAndClientModule/index.d.ts +1 -0
- package/es/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +1 -0
- package/es/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +1 -0
- package/es/components/checkout/components/WalletPassModule/types.d.ts +134 -0
- package/es/components/checkout/constants.d.ts +2 -0
- package/es/components/checkout/hooks/usePaymentLogger.d.ts +2 -0
- package/es/components/checkout/locales.d.ts +856 -0
- package/es/components/checkout/styles.d.ts +67 -0
- package/es/components/checkout/types.d.ts +130 -0
- package/es/components/checkout/utils.d.ts +3 -0
- package/es/components/ecocup/components/AddCustomerModal/index.d.ts +1 -0
- package/es/components/ecocup/components/CupActionList/index.d.ts +1 -0
- package/es/components/ecocup/components/CupActionModal/index.d.ts +1 -0
- package/es/components/ecocup/components/CupStatusModal/index.d.ts +1 -0
- package/es/components/ecocup/components/CustomerAndCupModal/index.d.ts +1 -0
- package/es/components/ecocup/components/MoreDropdown/index.d.ts +1 -0
- package/es/components/ecocup/components/SearchBar/index.d.ts +1 -0
- package/es/components/ecocup/components/SettingModal/index.d.ts +1 -0
- package/es/components/ecocup/cupList/const.d.ts +144 -0
- package/es/components/ecocup/cupList/hooks/useColumns.d.ts +1 -0
- package/es/components/ecocup/cupList/hooks/useSummary.d.ts +1 -0
- package/es/components/ecocup/cupList/index.d.ts +1 -0
- package/es/components/ecocup/utils/download.d.ts +7 -0
- package/es/components/ecocup/utils/index.d.ts +2 -0
- package/es/components/eftpos/const.d.ts +64 -0
- package/es/components/eftpos/device.d.ts +9 -0
- package/es/components/eftpos/hooks.d.ts +34 -0
- package/es/components/eftpos/index.d.ts +47 -0
- package/es/components/eftpos/locales.d.ts +163 -0
- package/es/components/eftpos/table.d.ts +21 -0
- package/es/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
- package/es/components/eftposPay/amount.d.ts +1 -0
- package/es/components/eftposPay/app.d.ts +2 -1
- package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/es/components/eftposPay/component/fail/index.d.ts +1 -0
- package/es/components/eftposPay/component/fail/network.d.ts +9 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +10 -0
- package/es/components/eftposPay/component/manual/index.d.ts +10 -0
- package/es/components/eftposPay/component/signature/index.d.ts +9 -0
- package/es/components/eftposPay/const.d.ts +195 -0
- package/es/components/eftposPay/hooks.d.ts +36 -0
- package/es/components/eftposPay/huifu/const.d.ts +5 -0
- package/es/components/eftposPay/huifu/hooks.d.ts +25 -0
- package/es/components/eftposPay/huifu/types.d.ts +14 -0
- package/es/components/eftposPay/index.d.ts +1 -0
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/es/components/eftposPay/linkly/index.d.ts +1 -0
- package/es/components/eftposPay/locales.d.ts +608 -0
- package/es/components/eftposPay/pay.d.ts +1 -0
- package/es/components/eftposPay/payo/config.d.ts +13 -0
- package/es/components/eftposPay/payo/hooks.d.ts +10 -0
- package/es/components/eftposPay/payo/payment.d.ts +66 -0
- package/es/components/eftposPay/store/index.d.ts +358 -0
- package/es/components/eftposPay/tip.d.ts +10 -0
- package/es/components/eftposPay/tyro/index.d.ts +9 -0
- package/es/components/eftposPay/utils/log/index.d.ts +110 -0
- package/es/components/eftposPay/windcave/helper.d.ts +23 -0
- package/es/components/eftposPay/windcave/receiptAction.d.ts +23 -0
- package/es/components/eftposPay/windcave/windcave.d.ts +7 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/es/components/eventBooking/components/Voucher/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/es/components/eventBooking/index.d.ts +1 -0
- package/es/components/kioskSkuDetail/locales.d.ts +43 -0
- package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
- package/es/components/list/components/ListItemSkeleton/index.d.ts +2 -0
- package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
- package/es/components/list/components/ScrollLoader/index.d.ts +2 -0
- package/es/components/list/components/Tab/Tab.d.ts +5 -0
- package/es/components/list/components/Tab/index.d.ts +2 -0
- package/es/components/list/components/Tab/types.d.ts +14 -0
- package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
- package/es/components/list/components/TabSkeleton/index.d.ts +2 -0
- package/es/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
- package/es/components/list/components/WaterfallList/index.d.ts +2 -0
- package/es/components/list/hooks/useDevice.d.ts +24 -0
- package/es/components/list/hooks/useWaterfall.d.ts +34 -0
- package/es/components/list/locales.d.ts +108 -0
- package/es/components/list/types.d.ts +181 -0
- package/es/components/list/utils/getText.d.ts +53 -0
- package/es/components/list/utils/index.d.ts +19 -0
- package/es/components/pay/toB/components/Cache/index.d.ts +1 -0
- package/es/components/pay/toB/components/Card/index.d.ts +1 -0
- package/es/components/pay/toB/components/CardGroup/index.d.ts +1 -0
- package/es/components/pay/toB/components/ConfirmedPayment/index.d.ts +1 -0
- package/es/components/pay/toB/components/Content/Footer.d.ts +1 -0
- package/es/components/pay/toB/components/Content/Header.d.ts +5 -0
- package/es/components/pay/toB/components/Content/utils.d.ts +16 -0
- package/es/components/pay/toB/components/MX51/index.d.ts +3 -0
- package/es/components/pay/toB/hooks.d.ts +12 -0
- package/es/components/pay/toB/locales.d.ts +88 -0
- package/es/components/pay/toB/store/context.d.ts +3 -0
- package/es/components/pay/toB/store/hooks.d.ts +15 -0
- package/es/components/pay/toB/store/index.d.ts +3 -0
- package/es/components/pay/toB/store/provider.d.ts +4 -0
- package/es/components/pay/toB/store/utils.d.ts +13 -0
- package/es/components/pay/toB/types/index.d.ts +81 -0
- package/es/components/pay/toB/types/storeTypes.d.ts +143 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +4 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +7 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +4 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +4 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +4 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/es/components/pay/toC/locales.d.ts +511 -0
- package/es/components/pay/toC/model.d.ts +33 -0
- package/es/components/pay/toC/payGroup.d.ts +48 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/es/components/productExtension/index.d.ts +1 -0
- package/es/components/productSelect/components/TabProduct/index.d.ts +1 -0
- package/es/components/productSelect/components/productGroup/index.d.ts +1 -0
- package/es/components/ruleSetting/index.d.ts +1 -0
- package/es/components/ruleSetting/locales.d.ts +78 -0
- package/es/components/schedules/locales.d.ts +143 -0
- package/es/components/schedules/model.d.ts +1 -9
- package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -0
- package/es/components/shoppingCart/components/Cart/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/es/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -0
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
- package/es/components/shoppingCart/hooks/usePromotionModal.d.ts +1 -0
- package/es/components/shoppingCart/hooks/useSkuModal.d.ts +1 -0
- package/es/components/shoppingCart/index.d.ts +1 -0
- package/es/components/shoppingCart/locales.d.ts +93 -0
- package/es/components/shoppingCart/mock.d.ts +54 -0
- package/es/components/shoppingCart/type.d.ts +61 -0
- package/es/components/subTotal/locales.d.ts +71 -0
- package/es/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +1 -0
- package/es/components/systemSettings/registry/locales.d.ts +534 -0
- package/es/components/systemSettings/registry/services.d.ts +97 -0
- package/es/components/systemSettings/registry/types.d.ts +140 -0
- package/es/components/taxSelect/locales.d.ts +38 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +94 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +6 -0
- package/es/components/ticketBooking/components/bookingDataPanel/constants.d.ts +22 -0
- package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -0
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
- package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -0
- package/es/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
- package/es/components/ticketBooking/context/OsKeyContext.d.ts +29 -0
- package/es/components/ticketBooking/context/PlatformContext.d.ts +22 -0
- package/es/components/ticketBooking/context/index.d.ts +3 -0
- package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
- package/es/components/ticketBooking/hooks/useRuntime.d.ts +4 -0
- package/es/components/ticketBooking/hooks/useSync.d.ts +21 -0
- package/es/components/ticketBooking/locales.d.ts +388 -0
- package/es/components/ticketBooking/miniRedux.d.ts +22 -0
- package/es/components/ticketBooking/sync.d.ts +8 -0
- package/es/components/ticketBooking/utils/edit.d.ts +1 -0
- package/es/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
- package/es/components/ticketBooking/utils/index.d.ts +1 -1
- package/es/components/ticketBooking/utils/productCache.d.ts +75 -0
- package/es/components/walletList/index.d.ts +1 -0
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
- package/es/hooks/printer.d.ts +4 -0
- package/es/hooks/useEngineContext.d.ts +4 -0
- package/es/hooks/useLogger.d.ts +2 -0
- package/es/hooks/useToast.d.ts +2 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
- package/es/plus/contactInfoModal/ContactInfoContent.d.ts +1 -0
- package/es/plus/noteModal/AddTempModal.d.ts +1 -0
- package/es/plus/noteModal/locales.d.ts +53 -0
- package/es/plus/noteModal/types.d.ts +19 -0
- package/es/plus/orderList/components/HandleActions.d.ts +1 -0
- package/es/plus/orderList/components/QuickFilter.d.ts +1 -0
- package/es/plus/orderList/components/Reset.d.ts +1 -0
- package/es/plus/orderList/components/Toolbar.d.ts +1 -0
- package/es/plus/orderList/config.d.ts +1 -0
- package/es/plus/orderList/locales.d.ts +618 -0
- package/es/plus/pisellFinancialSummary/components/Collapse/Collapse.d.ts +8 -0
- package/es/plus/pisellFinancialSummary/components/Collapse/Collapse.stories.d.ts +7 -0
- package/es/plus/pisellFinancialSummary/components/Collapse/index.d.ts +2 -0
- package/es/plus/pisellFinancialSummary/components/Collapse/types.d.ts +48 -0
- package/es/plus/pisellFinancialSummary/locales.d.ts +28 -0
- package/es/plus/pisellFinancialSummary/types.d.ts +139 -0
- package/es/plus/pisellFinancialSummary/utils/buildSummaryItems.d.ts +44 -0
- package/es/plus/pisellFinancialSummary/utils/index.d.ts +2 -0
- package/es/plus/pisellReservation/PisellReservation.d.ts +11 -0
- package/es/plus/pisellReservation/PisellReservation.js +99 -14
- package/es/plus/pisellReservation/components/bookingChangeModal/demo.d.ts +1 -0
- package/es/plus/pisellReservation/components/bookingDetailModal/bookingProductToProductCard.d.ts +10 -0
- package/es/plus/pisellReservation/data/filterBookingsAtTimeCursor.d.ts +9 -0
- package/es/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +1 -0
- package/es/plus/pisellReservation/floorRoomCard/floorRoomCardDom.d.ts +3 -0
- package/es/plus/pisellReservation/floorRoomCard/floorRoomCardHeaderFormat.d.ts +3 -0
- package/es/plus/pisellReservation/floorRoomCard/floorRoomCardModel.d.ts +59 -0
- package/es/plus/pisellReservation/floorRoomCard/floorRoomCardPaymentUi.d.ts +9 -0
- package/es/plus/pisellReservation/floorRoomCard/mapFloorRoomCardViewProps.d.ts +10 -0
- package/es/plus/pisellReservation/floorRoomCard/views/RoomCardHeaderView.d.ts +12 -0
- package/es/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +5 -0
- package/es/plus/pisellReservation/floorRoomCard/views/RoomCardShellView.d.ts +9 -0
- package/es/plus/pisellReservation/hooks/usePisellReservationBookingData.d.ts +51 -0
- package/es/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +1 -0
- package/es/plus/pisellReservation/locales/locales-ja.d.ts +143 -0
- package/es/plus/pisellReservation/locales/locales-pt.d.ts +143 -0
- package/es/plus/pisellReservation/locales/locales.d.ts +708 -0
- package/es/plus/pisellSalesGrid/types.d.ts +197 -0
- package/es/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +1 -0
- package/es/plus/pisellSalesManagement/config/booking.d.ts +1 -0
- package/es/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +173 -0
- package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
- package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
- package/es/plus/productSelect/ProductCard/utils.d.ts +1 -1
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +46 -0
- package/es/plus/saasAttendance/settings/components/membersField/index.d.ts +1 -0
- package/es/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
- package/es/plus/saasTeamMembers/locales.d.ts +546 -0
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/es/plus/selectHolder/locales.d.ts +38 -0
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +1 -0
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
- package/es/plus/skuOptionsSelection/locales.d.ts +53 -0
- package/es/plus/skuOptionsSelection/types.d.ts +445 -0
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
- package/es/plus/walletPassGallery/components/passList/index.d.ts +1 -0
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
- package/es/plus/walletPassGallery/index.d.ts +1 -0
- package/es/plus/walletPassGallery/locales.d.ts +473 -0
- package/es/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
- package/es/plus/webPosLogin/locales.d.ts +92 -0
- package/es/plus/webPosLogin/types.d.ts +288 -0
- package/es/pro/Cards/components/SKUCard/types.d.ts +73 -0
- package/es/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/es/pro/Login2.0/components/phoneValidation.d.ts +17 -0
- package/es/pro/Login2.0/shared/types.d.ts +234 -0
- package/es/pro/NumberKeyboardPopover/types.d.ts +31 -0
- package/es/pro/Selector/demo.d.ts +1 -0
- package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
- package/es/pro/multiDayTimeSelect/types.d.ts +28 -0
- package/es/pro/pisellPhoneKeyboard/index.d.ts +1 -0
- package/es/pro/pisellPriceKeyboardModal/types.d.ts +25 -0
- package/es/pro/pisellPriceKeyboardPopover/types.d.ts +33 -0
- package/es/pro/pisellSimplePriceKeyboardPopover/types.d.ts +33 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +1 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
- package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
- package/es/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
- package/es/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +1 -0
- package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
- package/es/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +39 -0
- package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
- package/es/pro/priceKeyboard/hooks/keyActions.d.ts +28 -0
- package/es/pro/priceKeyboard/hooks/rightItems.d.ts +1 -0
- package/es/pro/priceKeyboard/utils.d.ts +31 -0
- package/es/pro/skuDetailModal/locales.d.ts +129 -0
- package/es/pro/skuDetailModal/types.d.ts +395 -0
- package/es/pro/skuDetailModal/utils.d.ts +56 -0
- package/es/shared/locales/stock.d.ts +57 -0
- package/es/test/setup.d.ts +1 -0
- package/lib/businessModel/SalesModel/index.d.ts +1 -0
- package/lib/components/Sales/Summary/utils.d.ts +58 -0
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +1 -0
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
- package/lib/components/appointmentBooking/deposit/index.d.ts +1 -0
- package/lib/components/appointmentBooking/index.d.ts +1 -0
- package/lib/components/appointmentBooking/locales.d.ts +606 -0
- package/lib/components/booking/addons/model.d.ts +1 -10
- package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/lib/components/booking/components/footer/index.d.ts +1 -0
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +9 -0
- package/lib/components/booking/components/voucher/index.d.ts +1 -0
- package/lib/components/booking/components/voucher/utils.d.ts +4 -0
- package/lib/components/booking/deposit/index.d.ts +1 -0
- package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
- package/lib/components/booking/forms/footer.d.ts +1 -0
- package/lib/components/booking/forms/model.d.ts +1 -10
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/lib/components/booking/forms/single/index.d.ts +1 -0
- package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
- package/lib/components/booking/hooks/useQuotation.d.ts +1 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -0
- package/lib/components/booking/info/clientVariant/utils.d.ts +3 -0
- package/lib/components/booking/info/date/index.d.ts +1 -0
- package/lib/components/booking/info/dateRange/index.d.ts +1 -0
- package/lib/components/booking/info/header/index.d.ts +4 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +1 -0
- package/lib/components/booking/info/index.d.ts +1 -0
- package/lib/components/booking/info/notes/index.d.ts +1 -0
- package/lib/components/booking/info/service/Lists.d.ts +1 -0
- package/lib/components/booking/info/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info/service/addService/index.d.ts +1 -0
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -0
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -0
- package/lib/components/booking/info/service/editService/constants.d.ts +1 -0
- package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -0
- package/lib/components/booking/info/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/info/service/serviceManager/distributeDiscount.d.ts +11 -0
- package/lib/components/booking/info/service2/Lists.d.ts +1 -0
- package/lib/components/booking/info2/cartClientCard/locales.d.ts +33 -0
- package/lib/components/booking/info2/cartClientCard/types.d.ts +19 -0
- package/lib/components/booking/info2/cartClientCard/utils.d.ts +3 -0
- package/lib/components/booking/info2/model/index.d.ts +1 -0
- package/lib/components/booking/info2/model/strategy/adapter/index.d.ts +7 -0
- package/lib/components/booking/info2/model/strategy/adapter/promotion/evaluator.d.ts +185 -0
- package/lib/components/booking/info2/model/strategy/adapter/promotion/type.d.ts +420 -0
- package/lib/components/booking/info2/model/strategy/adapter/type.d.ts +28 -0
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/evaluator.d.ts +84 -0
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/example.d.ts +4 -0
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/index.d.ts +32 -0
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/locales.d.ts +1 -0
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/type.d.ts +165 -0
- package/lib/components/booking/info2/model/strategy/adapter/walletPass/utils.d.ts +50 -0
- package/lib/components/booking/info2/model/strategy/index.d.ts +107 -0
- package/lib/components/booking/info2/model/strategy/strategy-example.d.ts +5 -0
- package/lib/components/booking/info2/model/strategy/type.d.ts +228 -0
- package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +1 -0
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +1 -0
- package/lib/components/booking/info2/service/editService/utils.d.ts +28 -0
- package/lib/components/booking/info2/service/openNormalService.d.ts +37 -0
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +1 -0
- package/lib/components/booking/locales.d.ts +1581 -0
- package/lib/components/booking/materiels/duration/index.d.ts +1 -0
- package/lib/components/booking/materiels/holder/index.d.ts +1 -0
- package/lib/components/booking/materiels/startTime/index.d.ts +1 -0
- package/lib/components/booking/model.d.ts +113 -0
- package/lib/components/booking/notes/NoteBlock/index.d.ts +1 -0
- package/lib/components/booking/notes/addNote/index.d.ts +1 -0
- package/lib/components/booking/notes/model.d.ts +1 -10
- package/lib/components/booking/payments/model.d.ts +1 -10
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
- package/lib/components/checkout/components/PaymentDetailModal/index.d.ts +38 -0
- package/lib/components/checkout/components/PaymentResultToast/types.d.ts +59 -0
- package/lib/components/checkout/components/PaymentResultToast/utils.d.ts +44 -0
- package/lib/components/checkout/components/ScrollableList/index.d.ts +5 -0
- package/lib/components/checkout/components/ScrollableList/types.d.ts +53 -0
- package/lib/components/checkout/components/SearchAndClientModule/index.d.ts +1 -0
- package/lib/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +1 -0
- package/lib/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +1 -0
- package/lib/components/checkout/components/WalletPassModule/types.d.ts +134 -0
- package/lib/components/checkout/constants.d.ts +2 -0
- package/lib/components/checkout/hooks/usePaymentLogger.d.ts +2 -0
- package/lib/components/checkout/locales.d.ts +856 -0
- package/lib/components/checkout/styles.d.ts +67 -0
- package/lib/components/checkout/types.d.ts +130 -0
- package/lib/components/checkout/utils.d.ts +3 -0
- package/lib/components/ecocup/components/AddCustomerModal/index.d.ts +1 -0
- package/lib/components/ecocup/components/CupActionList/index.d.ts +1 -0
- package/lib/components/ecocup/components/CupActionModal/index.d.ts +1 -0
- package/lib/components/ecocup/components/CupStatusModal/index.d.ts +1 -0
- package/lib/components/ecocup/components/CustomerAndCupModal/index.d.ts +1 -0
- package/lib/components/ecocup/components/MoreDropdown/index.d.ts +1 -0
- package/lib/components/ecocup/components/SearchBar/index.d.ts +1 -0
- package/lib/components/ecocup/components/SettingModal/index.d.ts +1 -0
- package/lib/components/ecocup/cupList/const.d.ts +144 -0
- package/lib/components/ecocup/cupList/hooks/useColumns.d.ts +1 -0
- package/lib/components/ecocup/cupList/hooks/useSummary.d.ts +1 -0
- package/lib/components/ecocup/cupList/index.d.ts +1 -0
- package/lib/components/ecocup/utils/download.d.ts +7 -0
- package/lib/components/ecocup/utils/index.d.ts +2 -0
- package/lib/components/eftpos/const.d.ts +64 -0
- package/lib/components/eftpos/device.d.ts +9 -0
- package/lib/components/eftpos/hooks.d.ts +34 -0
- package/lib/components/eftpos/index.d.ts +47 -0
- package/lib/components/eftpos/locales.d.ts +163 -0
- package/lib/components/eftpos/table.d.ts +21 -0
- package/lib/components/eftposPay/aggregatePayment/utils/logs.d.ts +110 -0
- package/lib/components/eftposPay/amount.d.ts +1 -0
- package/lib/components/eftposPay/app.d.ts +2 -1
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/network.d.ts +9 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +10 -0
- package/lib/components/eftposPay/component/manual/index.d.ts +10 -0
- package/lib/components/eftposPay/component/signature/index.d.ts +9 -0
- package/lib/components/eftposPay/const.d.ts +195 -0
- package/lib/components/eftposPay/hooks.d.ts +36 -0
- package/lib/components/eftposPay/huifu/const.d.ts +5 -0
- package/lib/components/eftposPay/huifu/hooks.d.ts +25 -0
- package/lib/components/eftposPay/huifu/types.d.ts +14 -0
- package/lib/components/eftposPay/index.d.ts +1 -0
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/lib/components/eftposPay/linkly/index.d.ts +1 -0
- package/lib/components/eftposPay/locales.d.ts +608 -0
- package/lib/components/eftposPay/pay.d.ts +1 -0
- package/lib/components/eftposPay/payo/config.d.ts +13 -0
- package/lib/components/eftposPay/payo/hooks.d.ts +10 -0
- package/lib/components/eftposPay/payo/payment.d.ts +66 -0
- package/lib/components/eftposPay/store/index.d.ts +358 -0
- package/lib/components/eftposPay/tip.d.ts +10 -0
- package/lib/components/eftposPay/tyro/index.d.ts +9 -0
- package/lib/components/eftposPay/utils/log/index.d.ts +110 -0
- package/lib/components/eftposPay/windcave/helper.d.ts +23 -0
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +23 -0
- package/lib/components/eftposPay/windcave/windcave.d.ts +7 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/lib/components/eventBooking/components/Voucher/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/lib/components/eventBooking/index.d.ts +1 -0
- package/lib/components/kioskSkuDetail/locales.d.ts +43 -0
- package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
- package/lib/components/list/components/ListItemSkeleton/index.d.ts +2 -0
- package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -0
- package/lib/components/list/components/ScrollLoader/index.d.ts +2 -0
- package/lib/components/list/components/Tab/Tab.d.ts +5 -0
- package/lib/components/list/components/Tab/index.d.ts +2 -0
- package/lib/components/list/components/Tab/types.d.ts +14 -0
- package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -0
- package/lib/components/list/components/TabSkeleton/index.d.ts +2 -0
- package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +33 -0
- package/lib/components/list/components/WaterfallList/index.d.ts +2 -0
- package/lib/components/list/hooks/useDevice.d.ts +24 -0
- package/lib/components/list/hooks/useWaterfall.d.ts +34 -0
- package/lib/components/list/locales.d.ts +108 -0
- package/lib/components/list/types.d.ts +181 -0
- package/lib/components/list/utils/getText.d.ts +53 -0
- package/lib/components/list/utils/index.d.ts +19 -0
- package/lib/components/pay/toB/components/Cache/index.d.ts +1 -0
- package/lib/components/pay/toB/components/Card/index.d.ts +1 -0
- package/lib/components/pay/toB/components/CardGroup/index.d.ts +1 -0
- package/lib/components/pay/toB/components/ConfirmedPayment/index.d.ts +1 -0
- package/lib/components/pay/toB/components/Content/Footer.d.ts +1 -0
- package/lib/components/pay/toB/components/Content/Header.d.ts +5 -0
- package/lib/components/pay/toB/components/Content/utils.d.ts +16 -0
- package/lib/components/pay/toB/components/MX51/index.d.ts +3 -0
- package/lib/components/pay/toB/hooks.d.ts +12 -0
- package/lib/components/pay/toB/locales.d.ts +88 -0
- package/lib/components/pay/toB/store/context.d.ts +3 -0
- package/lib/components/pay/toB/store/hooks.d.ts +15 -0
- package/lib/components/pay/toB/store/index.d.ts +3 -0
- package/lib/components/pay/toB/store/provider.d.ts +4 -0
- package/lib/components/pay/toB/store/utils.d.ts +13 -0
- package/lib/components/pay/toB/types/index.d.ts +81 -0
- package/lib/components/pay/toB/types/storeTypes.d.ts +143 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +4 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +7 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +4 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +4 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +4 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/lib/components/pay/toC/locales.d.ts +511 -0
- package/lib/components/pay/toC/model.d.ts +33 -0
- package/lib/components/pay/toC/payGroup.d.ts +48 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +1 -0
- package/lib/components/productExtension/index.d.ts +1 -0
- package/lib/components/productSelect/components/TabProduct/index.d.ts +1 -0
- package/lib/components/productSelect/components/productGroup/index.d.ts +1 -0
- package/lib/components/ruleSetting/index.d.ts +1 -0
- package/lib/components/ruleSetting/locales.d.ts +78 -0
- package/lib/components/schedules/locales.d.ts +143 -0
- package/lib/components/schedules/model.d.ts +1 -9
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -0
- package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Empty/index.d.ts +1 -0
- package/lib/components/shoppingCart/components/Render/index.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/usePromotionModal.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/useSkuModal.d.ts +1 -0
- package/lib/components/shoppingCart/index.d.ts +1 -0
- package/lib/components/shoppingCart/locales.d.ts +93 -0
- package/lib/components/shoppingCart/mock.d.ts +54 -0
- package/lib/components/shoppingCart/type.d.ts +61 -0
- package/lib/components/subTotal/locales.d.ts +71 -0
- package/lib/components/systemSettings/registry/components/DataSourceTreeSelect/index.d.ts +1 -0
- package/lib/components/systemSettings/registry/locales.d.ts +534 -0
- package/lib/components/systemSettings/registry/services.d.ts +97 -0
- package/lib/components/systemSettings/registry/types.d.ts +140 -0
- package/lib/components/taxSelect/locales.d.ts +38 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +94 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +6 -0
- package/lib/components/ticketBooking/components/bookingDataPanel/constants.d.ts +22 -0
- package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -0
- package/lib/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
- package/lib/components/ticketBooking/context/OsKeyContext.d.ts +29 -0
- package/lib/components/ticketBooking/context/PlatformContext.d.ts +22 -0
- package/lib/components/ticketBooking/context/index.d.ts +3 -0
- package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
- package/lib/components/ticketBooking/hooks/useRuntime.d.ts +4 -0
- package/lib/components/ticketBooking/hooks/useSync.d.ts +21 -0
- package/lib/components/ticketBooking/locales.d.ts +388 -0
- package/lib/components/ticketBooking/miniRedux.d.ts +22 -0
- package/lib/components/ticketBooking/sync.d.ts +8 -0
- package/lib/components/ticketBooking/utils/edit.d.ts +1 -0
- package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
- package/lib/components/ticketBooking/utils/index.d.ts +1 -1
- package/lib/components/ticketBooking/utils/productCache.d.ts +75 -0
- package/lib/components/walletList/index.d.ts +1 -0
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -0
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -0
- package/lib/hooks/printer.d.ts +4 -0
- package/lib/hooks/useEngineContext.d.ts +4 -0
- package/lib/hooks/useLogger.d.ts +2 -0
- package/lib/hooks/useToast.d.ts +2 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +1 -0
- package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +1 -0
- package/lib/plus/noteModal/AddTempModal.d.ts +1 -0
- package/lib/plus/noteModal/locales.d.ts +53 -0
- package/lib/plus/noteModal/types.d.ts +19 -0
- package/lib/plus/orderList/components/HandleActions.d.ts +1 -0
- package/lib/plus/orderList/components/QuickFilter.d.ts +1 -0
- package/lib/plus/orderList/components/Reset.d.ts +1 -0
- package/lib/plus/orderList/components/Toolbar.d.ts +1 -0
- package/lib/plus/orderList/config.d.ts +1 -0
- package/lib/plus/orderList/locales.d.ts +618 -0
- package/lib/plus/pisellFinancialSummary/components/Collapse/Collapse.d.ts +8 -0
- package/lib/plus/pisellFinancialSummary/components/Collapse/Collapse.stories.d.ts +7 -0
- package/lib/plus/pisellFinancialSummary/components/Collapse/index.d.ts +2 -0
- package/lib/plus/pisellFinancialSummary/components/Collapse/types.d.ts +48 -0
- package/lib/plus/pisellFinancialSummary/locales.d.ts +28 -0
- package/lib/plus/pisellFinancialSummary/types.d.ts +139 -0
- package/lib/plus/pisellFinancialSummary/utils/buildSummaryItems.d.ts +44 -0
- package/lib/plus/pisellFinancialSummary/utils/index.d.ts +2 -0
- package/lib/plus/pisellReservation/PisellReservation.d.ts +11 -0
- package/lib/plus/pisellReservation/PisellReservation.js +79 -1
- package/lib/plus/pisellReservation/components/bookingChangeModal/demo.d.ts +1 -0
- package/lib/plus/pisellReservation/components/bookingDetailModal/bookingProductToProductCard.d.ts +10 -0
- package/lib/plus/pisellReservation/data/filterBookingsAtTimeCursor.d.ts +9 -0
- package/lib/plus/pisellReservation/floorMap/useReservationFloorPlan.d.ts +1 -0
- package/lib/plus/pisellReservation/floorRoomCard/floorRoomCardDom.d.ts +3 -0
- package/lib/plus/pisellReservation/floorRoomCard/floorRoomCardHeaderFormat.d.ts +3 -0
- package/lib/plus/pisellReservation/floorRoomCard/floorRoomCardModel.d.ts +59 -0
- package/lib/plus/pisellReservation/floorRoomCard/floorRoomCardPaymentUi.d.ts +9 -0
- package/lib/plus/pisellReservation/floorRoomCard/mapFloorRoomCardViewProps.d.ts +10 -0
- package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardHeaderView.d.ts +12 -0
- package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardIcons.d.ts +5 -0
- package/lib/plus/pisellReservation/floorRoomCard/views/RoomCardShellView.d.ts +9 -0
- package/lib/plus/pisellReservation/hooks/usePisellReservationBookingData.d.ts +51 -0
- package/lib/plus/pisellReservation/hooks/useReservationScheduleDebounced.d.ts +1 -0
- package/lib/plus/pisellReservation/locales/locales-ja.d.ts +143 -0
- package/lib/plus/pisellReservation/locales/locales-pt.d.ts +143 -0
- package/lib/plus/pisellReservation/locales/locales.d.ts +708 -0
- package/lib/plus/pisellSalesGrid/types.d.ts +197 -0
- package/lib/plus/pisellSalesManagement/components/BookingFormsPreview.d.ts +1 -0
- package/lib/plus/pisellSalesManagement/config/booking.d.ts +1 -0
- package/lib/plus/pisellSalesManagement/hooks/useSalesGridData.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +1 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +173 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
- package/lib/plus/productSelect/ProductCard/utils.d.ts +1 -1
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +46 -0
- package/lib/plus/saasAttendance/settings/components/membersField/index.d.ts +1 -0
- package/lib/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
- package/lib/plus/saasTeamMembers/locales.d.ts +546 -0
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
- package/lib/plus/selectHolder/locales.d.ts +38 -0
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/locales.d.ts +53 -0
- package/lib/plus/skuOptionsSelection/types.d.ts +445 -0
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/index.d.ts +1 -0
- package/lib/plus/walletPassGallery/locales.d.ts +473 -0
- package/lib/plus/webPosLogin/components/MediaDisplay/type.d.ts +54 -0
- package/lib/plus/webPosLogin/locales.d.ts +92 -0
- package/lib/plus/webPosLogin/types.d.ts +288 -0
- package/lib/pro/Cards/components/SKUCard/types.d.ts +73 -0
- package/lib/pro/Login2.0/components/PhoneInput.d.ts +53 -0
- package/lib/pro/Login2.0/components/phoneValidation.d.ts +17 -0
- package/lib/pro/Login2.0/shared/types.d.ts +234 -0
- package/lib/pro/NumberKeyboardPopover/types.d.ts +31 -0
- package/lib/pro/Selector/demo.d.ts +1 -0
- package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
- package/lib/pro/multiDayTimeSelect/types.d.ts +28 -0
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +1 -0
- package/lib/pro/pisellPriceKeyboardModal/types.d.ts +25 -0
- package/lib/pro/pisellPriceKeyboardPopover/types.d.ts +33 -0
- package/lib/pro/pisellSimplePriceKeyboardPopover/types.d.ts +33 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +1 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +1 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
- package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
- package/lib/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
- package/lib/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +1 -0
- package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
- package/lib/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +39 -0
- package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
- package/lib/pro/priceKeyboard/hooks/keyActions.d.ts +28 -0
- package/lib/pro/priceKeyboard/hooks/rightItems.d.ts +1 -0
- package/lib/pro/priceKeyboard/utils.d.ts +31 -0
- package/lib/pro/skuDetailModal/locales.d.ts +129 -0
- package/lib/pro/skuDetailModal/types.d.ts +395 -0
- package/lib/pro/skuDetailModal/utils.d.ts +56 -0
- package/lib/shared/locales/stock.d.ts +57 -0
- package/lib/test/setup.d.ts +1 -0
- package/package.json +4 -4
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'page.eftpos.text.manufacturer': string;
|
|
4
|
+
'page.eftpos.text.description': string;
|
|
5
|
+
'page.eftpos.text.status': string;
|
|
6
|
+
'page.eftpos.text.operation': string;
|
|
7
|
+
'page.eftpos.text.device': string;
|
|
8
|
+
'page.eftpos.text.device.add': (status?: string, name?: string) => string;
|
|
9
|
+
'page.eftpos.text.device.list': string;
|
|
10
|
+
'page.eftpos.text.device.name': string;
|
|
11
|
+
'page.eftpos.text.sucahrge': string;
|
|
12
|
+
'page.eftpos.text.paired': string;
|
|
13
|
+
'page.eftpos.text.unpaired': string;
|
|
14
|
+
'page.eftpos.text.repair': string;
|
|
15
|
+
'page.eftpos.text.edit': string;
|
|
16
|
+
'page.eftpos.text.delete': string;
|
|
17
|
+
'page.eftpos.text.save': string;
|
|
18
|
+
'page.eftpos.text.confim.delete': string;
|
|
19
|
+
'page.eftpos.text.confirm_delete-message': (x: string) => string;
|
|
20
|
+
'page.eftpos.text.confim.cancel': string;
|
|
21
|
+
'page.eftpos.text.table.name': string;
|
|
22
|
+
'page.eftpos.text.table.status': string;
|
|
23
|
+
'page.eftpos.text.table.surcharge': string;
|
|
24
|
+
'page.eftpos.text.table.opeartion': string;
|
|
25
|
+
'page.eftpos.text.table.del.title': string;
|
|
26
|
+
'page.eftpos.text.table.del.text': string;
|
|
27
|
+
'page.eftpos.text.table.del.delete': string;
|
|
28
|
+
'page.eftpos.text.table.del.cancel': string;
|
|
29
|
+
'page.eftpos.text.log': string;
|
|
30
|
+
'page.eftpos.text.setting': string;
|
|
31
|
+
'page.eftpos.text.setting.tip': string;
|
|
32
|
+
'page.eftpos.text.setting.btn': string;
|
|
33
|
+
};
|
|
34
|
+
'zh-CN': {
|
|
35
|
+
'page.eftpos.text.manufacturer': string;
|
|
36
|
+
'page.eftpos.text.description': string;
|
|
37
|
+
'page.eftpos.text.status': string;
|
|
38
|
+
'page.eftpos.text.operation': string;
|
|
39
|
+
'page.eftpos.text.device': string;
|
|
40
|
+
'page.eftpos.text.device.add': (status?: string, name?: string) => string;
|
|
41
|
+
'page.eftpos.text.device.list': string;
|
|
42
|
+
'page.eftpos.text.device.name': string;
|
|
43
|
+
'page.eftpos.text.sucahrge': string;
|
|
44
|
+
'page.eftpos.text.paired': string;
|
|
45
|
+
'page.eftpos.text.unpaired': string;
|
|
46
|
+
'page.eftpos.text.repair': string;
|
|
47
|
+
'page.eftpos.text.edit': string;
|
|
48
|
+
'page.eftpos.text.delete': string;
|
|
49
|
+
'page.eftpos.text.save': string;
|
|
50
|
+
'page.eftpos.text.confim.delete': string;
|
|
51
|
+
'page.eftpos.text.confirm_delete-message': (x: string) => string;
|
|
52
|
+
'page.eftpos.text.confim.cancel': string;
|
|
53
|
+
'page.eftpos.text.table.name': string;
|
|
54
|
+
'page.eftpos.text.table.status': string;
|
|
55
|
+
'page.eftpos.text.table.surcharge': string;
|
|
56
|
+
'page.eftpos.text.table.opeartion': string;
|
|
57
|
+
'page.eftpos.text.table.del.title': string;
|
|
58
|
+
'page.eftpos.text.table.del.text': string;
|
|
59
|
+
'page.eftpos.text.table.del.delete': string;
|
|
60
|
+
'page.eftpos.text.table.del.cancel': string;
|
|
61
|
+
'page.eftpos.text.log': string;
|
|
62
|
+
'page.eftpos.text.setting': string;
|
|
63
|
+
'page.eftpos.text.setting.tip': string;
|
|
64
|
+
'page.eftpos.text.setting.btn': string;
|
|
65
|
+
};
|
|
66
|
+
'zh-HK': {
|
|
67
|
+
'page.eftpos.text.manufacturer': string;
|
|
68
|
+
'page.eftpos.text.description': string;
|
|
69
|
+
'page.eftpos.text.status': string;
|
|
70
|
+
'page.eftpos.text.operation': string;
|
|
71
|
+
'page.eftpos.text.device': string;
|
|
72
|
+
'page.eftpos.text.device.add': (status?: string, name?: string) => string;
|
|
73
|
+
'page.eftpos.text.device.list': string;
|
|
74
|
+
'page.eftpos.text.device.name': string;
|
|
75
|
+
'page.eftpos.text.sucahrge': string;
|
|
76
|
+
'page.eftpos.text.paired': string;
|
|
77
|
+
'page.eftpos.text.unpaired': string;
|
|
78
|
+
'page.eftpos.text.repair': string;
|
|
79
|
+
'page.eftpos.text.edit': string;
|
|
80
|
+
'page.eftpos.text.delete': string;
|
|
81
|
+
'page.eftpos.text.save': string;
|
|
82
|
+
'page.eftpos.text.confim.delete': string;
|
|
83
|
+
'page.eftpos.text.confirm_delete-message': (x: string) => string;
|
|
84
|
+
'page.eftpos.text.confim.cancel': string;
|
|
85
|
+
'page.eftpos.text.table.name': string;
|
|
86
|
+
'page.eftpos.text.table.status': string;
|
|
87
|
+
'page.eftpos.text.table.surcharge': string;
|
|
88
|
+
'page.eftpos.text.table.opeartion': string;
|
|
89
|
+
'page.eftpos.text.table.del.title': string;
|
|
90
|
+
'page.eftpos.text.table.del.text': string;
|
|
91
|
+
'page.eftpos.text.table.del.delete': string;
|
|
92
|
+
'page.eftpos.text.table.del.cancel': string;
|
|
93
|
+
'page.eftpos.text.log': string;
|
|
94
|
+
'page.eftpos.text.setting': string;
|
|
95
|
+
'page.eftpos.text.setting.tip': string;
|
|
96
|
+
'page.eftpos.text.setting.btn': string;
|
|
97
|
+
};
|
|
98
|
+
ja: {
|
|
99
|
+
'page.eftpos.text.manufacturer': string;
|
|
100
|
+
'page.eftpos.text.description': string;
|
|
101
|
+
'page.eftpos.text.status': string;
|
|
102
|
+
'page.eftpos.text.operation': string;
|
|
103
|
+
'page.eftpos.text.device': string;
|
|
104
|
+
'page.eftpos.text.device.add': (status?: string, name?: string) => string;
|
|
105
|
+
'page.eftpos.text.device.list': string;
|
|
106
|
+
'page.eftpos.text.device.name': string;
|
|
107
|
+
'page.eftpos.text.sucahrge': string;
|
|
108
|
+
'page.eftpos.text.paired': string;
|
|
109
|
+
'page.eftpos.text.unpaired': string;
|
|
110
|
+
'page.eftpos.text.repair': string;
|
|
111
|
+
'page.eftpos.text.edit': string;
|
|
112
|
+
'page.eftpos.text.delete': string;
|
|
113
|
+
'page.eftpos.text.save': string;
|
|
114
|
+
'page.eftpos.text.confim.delete': string;
|
|
115
|
+
'page.eftpos.text.confirm_delete-message': (x: string) => string;
|
|
116
|
+
'page.eftpos.text.confim.cancel': string;
|
|
117
|
+
'page.eftpos.text.table.name': string;
|
|
118
|
+
'page.eftpos.text.table.status': string;
|
|
119
|
+
'page.eftpos.text.table.surcharge': string;
|
|
120
|
+
'page.eftpos.text.table.opeartion': string;
|
|
121
|
+
'page.eftpos.text.table.del.title': string;
|
|
122
|
+
'page.eftpos.text.table.del.text': string;
|
|
123
|
+
'page.eftpos.text.table.del.delete': string;
|
|
124
|
+
'page.eftpos.text.table.del.cancel': string;
|
|
125
|
+
'page.eftpos.text.log': string;
|
|
126
|
+
'page.eftpos.text.setting': string;
|
|
127
|
+
'page.eftpos.text.setting.tip': string;
|
|
128
|
+
'page.eftpos.text.setting.btn': string;
|
|
129
|
+
};
|
|
130
|
+
pt: {
|
|
131
|
+
'page.eftpos.text.manufacturer': string;
|
|
132
|
+
'page.eftpos.text.description': string;
|
|
133
|
+
'page.eftpos.text.status': string;
|
|
134
|
+
'page.eftpos.text.operation': string;
|
|
135
|
+
'page.eftpos.text.device': string;
|
|
136
|
+
'page.eftpos.text.device.add': (status?: string, name?: string) => string;
|
|
137
|
+
'page.eftpos.text.device.list': string;
|
|
138
|
+
'page.eftpos.text.device.name': string;
|
|
139
|
+
'page.eftpos.text.sucahrge': string;
|
|
140
|
+
'page.eftpos.text.paired': string;
|
|
141
|
+
'page.eftpos.text.unpaired': string;
|
|
142
|
+
'page.eftpos.text.repair': string;
|
|
143
|
+
'page.eftpos.text.edit': string;
|
|
144
|
+
'page.eftpos.text.delete': string;
|
|
145
|
+
'page.eftpos.text.save': string;
|
|
146
|
+
'page.eftpos.text.confim.delete': string;
|
|
147
|
+
'page.eftpos.text.confirm_delete-message': (x: string) => string;
|
|
148
|
+
'page.eftpos.text.confim.cancel': string;
|
|
149
|
+
'page.eftpos.text.table.name': string;
|
|
150
|
+
'page.eftpos.text.table.status': string;
|
|
151
|
+
'page.eftpos.text.table.surcharge': string;
|
|
152
|
+
'page.eftpos.text.table.opeartion': string;
|
|
153
|
+
'page.eftpos.text.table.del.title': string;
|
|
154
|
+
'page.eftpos.text.table.del.text': string;
|
|
155
|
+
'page.eftpos.text.table.del.delete': string;
|
|
156
|
+
'page.eftpos.text.table.del.cancel': string;
|
|
157
|
+
'page.eftpos.text.log': string;
|
|
158
|
+
'page.eftpos.text.setting': string;
|
|
159
|
+
'page.eftpos.text.setting.tip': string;
|
|
160
|
+
'page.eftpos.text.setting.btn': string;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Eftpos, DeviceProp } from './const';
|
|
3
|
+
declare const _default: React.ForwardRefExoticComponent<{
|
|
4
|
+
type: Eftpos;
|
|
5
|
+
eftposName: string;
|
|
6
|
+
tableSize?: number[] | undefined;
|
|
7
|
+
style?: React.CSSProperties | undefined;
|
|
8
|
+
getList: (params: {
|
|
9
|
+
type: Eftpos;
|
|
10
|
+
num: number;
|
|
11
|
+
skip: number;
|
|
12
|
+
}) => Promise<any>;
|
|
13
|
+
onEdit: (device?: DeviceProp | undefined) => void;
|
|
14
|
+
onDel: (id: string | number) => Promise<any>;
|
|
15
|
+
onRepair: (device: DeviceProp) => void;
|
|
16
|
+
onLog: (device: DeviceProp) => void;
|
|
17
|
+
useTyroLog?: boolean | undefined;
|
|
18
|
+
systemConfigStatus?: boolean | undefined;
|
|
19
|
+
onClickByTip: () => void;
|
|
20
|
+
} & React.RefAttributes<unknown>>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
export interface LogEntry {
|
|
2
|
+
/** 日志标题 */
|
|
3
|
+
title: string;
|
|
4
|
+
/** 日志内容 */
|
|
5
|
+
content?: any;
|
|
6
|
+
/** 支付时间(精确到毫秒) */
|
|
7
|
+
time: string;
|
|
8
|
+
}
|
|
9
|
+
interface PaymentLogRecord {
|
|
10
|
+
/** 交易记录号 */
|
|
11
|
+
number: string;
|
|
12
|
+
/** 订单ID */
|
|
13
|
+
orderId?: string | number;
|
|
14
|
+
/** 设备ID */
|
|
15
|
+
deviceId?: string | number;
|
|
16
|
+
/** 支付类型 */
|
|
17
|
+
paymentCode?: string;
|
|
18
|
+
/** 创建时间 */
|
|
19
|
+
createdAt: string;
|
|
20
|
+
/** 日志条目列表 */
|
|
21
|
+
logs: LogEntry[];
|
|
22
|
+
}
|
|
23
|
+
declare class PaymentLogInstance {
|
|
24
|
+
private static instance;
|
|
25
|
+
/** 当前交易记录号 */
|
|
26
|
+
private currentNumber;
|
|
27
|
+
/** 当前日志记录 */
|
|
28
|
+
private currentRecord;
|
|
29
|
+
private constructor();
|
|
30
|
+
/**
|
|
31
|
+
* 获取单例实例
|
|
32
|
+
*/
|
|
33
|
+
static getInstance(): PaymentLogInstance;
|
|
34
|
+
/**
|
|
35
|
+
* 初始化支付日志
|
|
36
|
+
* @param number 交易记录号
|
|
37
|
+
* @param options 初始化选项
|
|
38
|
+
*/
|
|
39
|
+
init(number: string, options?: {
|
|
40
|
+
orderId?: string | number;
|
|
41
|
+
deviceId?: string | number;
|
|
42
|
+
paymentCode?: string;
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
}): void;
|
|
45
|
+
/**
|
|
46
|
+
* 添加日志条目
|
|
47
|
+
* @param title 日志标题
|
|
48
|
+
* @param content 日志内容
|
|
49
|
+
*/
|
|
50
|
+
addLog(params: {
|
|
51
|
+
title: string;
|
|
52
|
+
content?: any;
|
|
53
|
+
}): void;
|
|
54
|
+
/**
|
|
55
|
+
* 构建日志内容
|
|
56
|
+
* @param record 日志记录
|
|
57
|
+
* @returns 格式化的日志内容数组
|
|
58
|
+
*/
|
|
59
|
+
private buildLogContent;
|
|
60
|
+
/**
|
|
61
|
+
* 发送单条日志记录到飞书
|
|
62
|
+
* @param record 日志记录
|
|
63
|
+
* @param isRestore 是否是恢复上传
|
|
64
|
+
*/
|
|
65
|
+
private sendLogRecord;
|
|
66
|
+
/**
|
|
67
|
+
* 发送日志到飞书
|
|
68
|
+
* @param title 日志标题(可选,仅在需要自定义标题时使用)
|
|
69
|
+
*/
|
|
70
|
+
sendLogs(title?: string): void;
|
|
71
|
+
/**
|
|
72
|
+
* 清除当前日志
|
|
73
|
+
* @param shouldSend 清除前是否发送到飞书,默认为 true
|
|
74
|
+
*/
|
|
75
|
+
clearLogs(shouldSend?: boolean): void;
|
|
76
|
+
/**
|
|
77
|
+
* 检查并上传旧日志
|
|
78
|
+
*/
|
|
79
|
+
private checkAndUploadOldLogs;
|
|
80
|
+
/**
|
|
81
|
+
* 获取所有支付日志对象
|
|
82
|
+
*/
|
|
83
|
+
private getAllLogsObject;
|
|
84
|
+
/**
|
|
85
|
+
* 保存所有支付日志对象
|
|
86
|
+
*/
|
|
87
|
+
private saveAllLogsObject;
|
|
88
|
+
/**
|
|
89
|
+
* 保存到 localStorage
|
|
90
|
+
*/
|
|
91
|
+
private saveToLocalStorage;
|
|
92
|
+
/**
|
|
93
|
+
* 从 localStorage 中删除
|
|
94
|
+
*/
|
|
95
|
+
private removeFromLocalStorage;
|
|
96
|
+
/**
|
|
97
|
+
* 获取所有旧日志
|
|
98
|
+
*/
|
|
99
|
+
private getOldLogsFromLocalStorage;
|
|
100
|
+
/**
|
|
101
|
+
* 获取当前日志记录(用于调试)
|
|
102
|
+
*/
|
|
103
|
+
getCurrentRecord(): PaymentLogRecord | null;
|
|
104
|
+
/**
|
|
105
|
+
* 获取当前交易号(用于调试)
|
|
106
|
+
*/
|
|
107
|
+
getCurrentNumber(): string | null;
|
|
108
|
+
}
|
|
109
|
+
declare const paymentLog: PaymentLogInstance;
|
|
110
|
+
export default paymentLog;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { PosProps, RouteType } from './const';
|
|
2
|
-
declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "
|
|
3
|
+
declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "mode" | "type" | "getApi"> & {
|
|
3
4
|
action: RouteType;
|
|
4
5
|
device_number: string | number;
|
|
5
6
|
api: ReturnType<PosProps['getApi']>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ActionProps } from '../../const';
|
|
3
|
+
/**
|
|
4
|
+
* @title: 支付状态未知页面
|
|
5
|
+
* @description:
|
|
6
|
+
* @Author: hongbing.wang
|
|
7
|
+
* @Date: 2024-08-20 11:42
|
|
8
|
+
*/
|
|
9
|
+
declare const _default: ({ onChange, className }: ActionProps) => JSX.Element;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ActionProps } from '../../const';
|
|
3
|
+
import './index.less';
|
|
4
|
+
/**
|
|
5
|
+
* @title: 结果标记页面
|
|
6
|
+
* @Author: hongbing.wang
|
|
7
|
+
* @Date: 2024-08-20 11:46
|
|
8
|
+
*/
|
|
9
|
+
declare const _default: ({ onChange, className, formatAmount }: ActionProps) => JSX.Element;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ActionProps } from '../../const';
|
|
3
|
+
/**
|
|
4
|
+
* @title: 取消签名确认页
|
|
5
|
+
* @Author: hongbing.wang
|
|
6
|
+
* @Date: 2024-08-20 11:49
|
|
7
|
+
*/
|
|
8
|
+
declare const _default: ({ api, className }: ActionProps) => JSX.Element;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export declare enum EftposEnum {
|
|
3
|
+
/** 后端支付 - 仅支付 */
|
|
4
|
+
Payo = "payo",
|
|
5
|
+
/** 前端支付 */
|
|
6
|
+
Tyro = "tyro",
|
|
7
|
+
/** 后端支付 - 支付 + 退款 */
|
|
8
|
+
Windcave = "windcave",
|
|
9
|
+
Stripe = "stripe",
|
|
10
|
+
Linkly = "linkly",
|
|
11
|
+
/** 汇付天下 */
|
|
12
|
+
Huifu = "huifu"
|
|
13
|
+
}
|
|
14
|
+
export declare enum StatusEnum {
|
|
15
|
+
Init = "init",
|
|
16
|
+
Loading = "loading",
|
|
17
|
+
Warn = "warn",
|
|
18
|
+
Fail = "fail",
|
|
19
|
+
Success = "success",
|
|
20
|
+
Pedding = "pedding",
|
|
21
|
+
Resove = "resove",
|
|
22
|
+
Reject = "reject",
|
|
23
|
+
Question = "question"
|
|
24
|
+
}
|
|
25
|
+
export declare enum ModeEnum {
|
|
26
|
+
/** 支付 */
|
|
27
|
+
Pay = "pay",
|
|
28
|
+
/** 完整支付 */
|
|
29
|
+
FullPay = "fullPay",
|
|
30
|
+
/** 退款 */
|
|
31
|
+
Refund = "refund",
|
|
32
|
+
/** 查询 */
|
|
33
|
+
Query = "query"
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* 崩溃恢复
|
|
37
|
+
*/
|
|
38
|
+
export declare enum RestoreEumn {
|
|
39
|
+
/** 常规 */
|
|
40
|
+
Normal = "normal",
|
|
41
|
+
/** 恢复 */
|
|
42
|
+
Restore = "restore"
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* 订单状态
|
|
46
|
+
*/
|
|
47
|
+
export declare enum OrderEumn {
|
|
48
|
+
/** 恢复 */
|
|
49
|
+
Restore = "restore",
|
|
50
|
+
/** 常规 */
|
|
51
|
+
Normal = "normal",
|
|
52
|
+
/** 成功 */
|
|
53
|
+
Succeed = "succeed",
|
|
54
|
+
/** 失败 */
|
|
55
|
+
Failed = "failed",
|
|
56
|
+
/** 等待 */
|
|
57
|
+
Pending = "pending",
|
|
58
|
+
/** 没有订单状态 */
|
|
59
|
+
Null = "null"
|
|
60
|
+
}
|
|
61
|
+
export declare enum ClientEnum {
|
|
62
|
+
/** 用户端 */
|
|
63
|
+
User = "user",
|
|
64
|
+
/** 商家端 */
|
|
65
|
+
Merchant = "merchant"
|
|
66
|
+
}
|
|
67
|
+
export declare enum RouteEnum {
|
|
68
|
+
/** 改价页 */
|
|
69
|
+
Amount = "amount",
|
|
70
|
+
/** 门店列表页 */
|
|
71
|
+
DeviceList = "deviceList",
|
|
72
|
+
/**支付页 */
|
|
73
|
+
Pay = "pay"
|
|
74
|
+
}
|
|
75
|
+
export declare enum PayRouteEnum {
|
|
76
|
+
Step = "step",
|
|
77
|
+
Unset = "unset"
|
|
78
|
+
}
|
|
79
|
+
export declare type RouteType = `${RouteEnum}`;
|
|
80
|
+
export declare type PayRouteType = `${PayRouteEnum}`;
|
|
81
|
+
export declare type DeviceStatusType = `${EftposEnum}`;
|
|
82
|
+
export declare type StatusType = `${StatusEnum}`;
|
|
83
|
+
export declare type ModeType = `${ModeEnum}`;
|
|
84
|
+
export interface PosProps {
|
|
85
|
+
/** 厂商类型 */
|
|
86
|
+
type: DeviceStatusType;
|
|
87
|
+
getApi: () => {
|
|
88
|
+
[key: string]: (...agrn: unknown[]) => Promise<unknown>;
|
|
89
|
+
};
|
|
90
|
+
params: {
|
|
91
|
+
[key: string]: unknown;
|
|
92
|
+
};
|
|
93
|
+
/** 回调 */
|
|
94
|
+
onChangeStatus: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}` | 'page' | 'print' | 'mark_tx_processed', params?: {
|
|
95
|
+
[keys: string]: unknown;
|
|
96
|
+
} | string, other?: any) => void;
|
|
97
|
+
onChangeParams(...agrn: unknown[]): void;
|
|
98
|
+
terminal: {
|
|
99
|
+
network: boolean;
|
|
100
|
+
};
|
|
101
|
+
device?: {
|
|
102
|
+
[key: string]: unknown;
|
|
103
|
+
};
|
|
104
|
+
mode: ModeEnum;
|
|
105
|
+
tyroUrl?: string;
|
|
106
|
+
tyroVersion?: string;
|
|
107
|
+
source: 'normal' | 'restore';
|
|
108
|
+
styles?: {
|
|
109
|
+
device?: CSSProperties;
|
|
110
|
+
[key: string]: CSSProperties | undefined;
|
|
111
|
+
};
|
|
112
|
+
isWebPos?: boolean;
|
|
113
|
+
}
|
|
114
|
+
export interface PayProps {
|
|
115
|
+
api: ReturnType<PosProps['getApi']>;
|
|
116
|
+
onChange: PosProps['onChangeStatus'];
|
|
117
|
+
className?: string;
|
|
118
|
+
}
|
|
119
|
+
export declare type Amount = {
|
|
120
|
+
name: string;
|
|
121
|
+
/** 订单金额 */
|
|
122
|
+
money: number;
|
|
123
|
+
/** 上一轮操作订单金额 */
|
|
124
|
+
amount: number;
|
|
125
|
+
/** 金额单位 */
|
|
126
|
+
symbol: string;
|
|
127
|
+
/** 手续费-百分率 */
|
|
128
|
+
surRate: number;
|
|
129
|
+
/** 手续费-是否开启 */
|
|
130
|
+
surMoney: number;
|
|
131
|
+
/** 手续费-是否存在 */
|
|
132
|
+
surcharge: boolean;
|
|
133
|
+
/** 是否使用原始手续费 */
|
|
134
|
+
useOriginSurcharge: boolean;
|
|
135
|
+
};
|
|
136
|
+
export declare type PayAmount = {
|
|
137
|
+
/** 手续费-百分比-带百分号 例: 1% =》 数据为 0.01 */
|
|
138
|
+
surPercentRate: string;
|
|
139
|
+
/** 手续费-百分比-不带百分号 例:1% =》 数据为 1 */
|
|
140
|
+
surRate: string;
|
|
141
|
+
/** 手续费-比例金额 amount * surPercentRate */
|
|
142
|
+
surRateMoney: string;
|
|
143
|
+
/** 手续费-固定金额 */
|
|
144
|
+
surMoney: string;
|
|
145
|
+
/** 手续费 = surPercentRate + surMoney */
|
|
146
|
+
surcharge: string;
|
|
147
|
+
/** 支付金额 (不包含手续费) */
|
|
148
|
+
amount: string;
|
|
149
|
+
/** 支付总金额 = amount + surcharge */
|
|
150
|
+
total: string;
|
|
151
|
+
/** 订单金额 */
|
|
152
|
+
sourceAmount: string;
|
|
153
|
+
/** 支付总金额带单位 + 单位 */
|
|
154
|
+
totalUnit: string;
|
|
155
|
+
};
|
|
156
|
+
export declare enum PayStatus {
|
|
157
|
+
'Success' = "200",
|
|
158
|
+
/** 未生成交易记录 */
|
|
159
|
+
'NoPay' = "4004",
|
|
160
|
+
/** 配对失效 */
|
|
161
|
+
'PairingFailure' = "606020",
|
|
162
|
+
/** 支付失败 */
|
|
163
|
+
'Unknown' = "701000",
|
|
164
|
+
/** 交易请求超时 */
|
|
165
|
+
'Timeout' = "701001",
|
|
166
|
+
/** 支付失败(汇付天下) */
|
|
167
|
+
'PaymentFailed' = "701002",
|
|
168
|
+
/** 繁忙 EFTPOS终端暂时不可用,因为EFTPOS正在处理另一个请求。 */
|
|
169
|
+
'PayOtherEftposFailed' = "701003",
|
|
170
|
+
/** 购物者没有出示卡片/卡片金额不足/在线拒绝/卡已过期/卡被锁定 */
|
|
171
|
+
'PayCardErrorFailed' = "701004",
|
|
172
|
+
/** 断网 向EFTPOS发送消息失败。可能有网络问题,也可能没有连接websocket。 */
|
|
173
|
+
'NoNetWork' = "701005",
|
|
174
|
+
/** 交易等待超时 */
|
|
175
|
+
'PayTimeout' = "701006",
|
|
176
|
+
/** 连接失败 */
|
|
177
|
+
'SocketError' = "701007",
|
|
178
|
+
/** 银行拒绝 */
|
|
179
|
+
'PayBankRefuses' = "701008",
|
|
180
|
+
/** 签名拒绝 */
|
|
181
|
+
'SignatureDeclined' = "701009",
|
|
182
|
+
/** 配置参数错误 */
|
|
183
|
+
'UserConfigError' = "701010"
|
|
184
|
+
}
|
|
185
|
+
export interface ActionProps {
|
|
186
|
+
onChange: (status: `${StatusEnum.Success}` | `${StatusEnum.Fail}` | 'page', params?: {
|
|
187
|
+
[key: string]: unknown;
|
|
188
|
+
} | string) => void;
|
|
189
|
+
api: {
|
|
190
|
+
[key: string]: (...agrn: unknown[]) => Promise<unknown>;
|
|
191
|
+
};
|
|
192
|
+
className?: string;
|
|
193
|
+
isMobile?: boolean;
|
|
194
|
+
formatAmount: (amount: number | string, precision: number, symbol: string) => string;
|
|
195
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PayStatus } from './const';
|
|
3
|
+
import { ModeEnum, ClientEnum } from './const';
|
|
4
|
+
export declare const useStoreRef: <T extends {
|
|
5
|
+
[key: string]: unknown;
|
|
6
|
+
} = {
|
|
7
|
+
[key: string]: unknown;
|
|
8
|
+
}, U extends {
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
} = {
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
}>() => {
|
|
13
|
+
readonly deviceRef: React.MutableRefObject<T>;
|
|
14
|
+
readonly payRef: React.MutableRefObject<U>;
|
|
15
|
+
readonly numRef: React.MutableRefObject<string | number | undefined>;
|
|
16
|
+
readonly orderIdRef: React.MutableRefObject<string | number>;
|
|
17
|
+
readonly modeRef: React.MutableRefObject<ModeEnum>;
|
|
18
|
+
readonly statusRef: React.MutableRefObject<"loading" | "success" | "warn" | "init" | "fail" | "pedding" | "resove" | "reject" | "question">;
|
|
19
|
+
readonly netRef: React.MutableRefObject<boolean | undefined>;
|
|
20
|
+
readonly symbolRef: React.MutableRefObject<string>;
|
|
21
|
+
readonly amountRef: React.MutableRefObject<string | number>;
|
|
22
|
+
readonly eftposRef: React.MutableRefObject<"payo" | "tyro" | "windcave" | "stripe" | "linkly" | "huifu">;
|
|
23
|
+
readonly clientRef: React.MutableRefObject<ClientEnum>;
|
|
24
|
+
readonly dataRef: React.MutableRefObject<import("./store").State>;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @title: 通用失败处理
|
|
28
|
+
* @description: 固定步骤 错误处理逻辑
|
|
29
|
+
* @return null
|
|
30
|
+
* @Author: hongbing.wang
|
|
31
|
+
* @Date: 2024-08-12 11:54
|
|
32
|
+
*/
|
|
33
|
+
export declare const useFail: (index: number) => (res: {
|
|
34
|
+
code?: `${PayStatus}`;
|
|
35
|
+
message?: string;
|
|
36
|
+
}, isMark?: boolean) => void;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const useTerminal: () => {
|
|
2
|
+
isTerminal: any;
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* 获取扫码设备连接状态
|
|
6
|
+
*/
|
|
7
|
+
export declare const useScannerDevice: () => {
|
|
8
|
+
scannerStatus: boolean;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* 摄像头激活和状态获取
|
|
12
|
+
*/
|
|
13
|
+
export declare const useCameraDevice: () => {
|
|
14
|
+
activeCamera: () => void;
|
|
15
|
+
cameraStatus: any;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* 获取外部设备扫描结果
|
|
19
|
+
*/
|
|
20
|
+
export declare const useScanListener: () => {
|
|
21
|
+
scanResult: {
|
|
22
|
+
type: 'scanner' | 'nfc' | 'camera';
|
|
23
|
+
value: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare type Peripherals = {
|
|
2
|
+
scanner: 'none' | 'connected' | 'disconnect';
|
|
3
|
+
nfc: 'none' | 'connected' | 'disconnect';
|
|
4
|
+
};
|
|
5
|
+
export interface HuifuProps {
|
|
6
|
+
isNativeApp?: boolean;
|
|
7
|
+
onChange: (status: any, params: any) => void;
|
|
8
|
+
}
|
|
9
|
+
export interface HuifuActionProps {
|
|
10
|
+
isNativeApp?: boolean;
|
|
11
|
+
onClose: () => void;
|
|
12
|
+
onPayClick: (scanResult: string) => void;
|
|
13
|
+
onScanCallback: (scanResult: string) => void;
|
|
14
|
+
}
|