@pisell/private-materials 6.6.7 → 6.6.8
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/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/businessModel/SalesModel/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Content/index.d.ts +0 -1
- 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/Header/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Voucher/index.js +5 -20
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
- package/es/components/appointmentBooking/index.d.ts +0 -1
- package/es/components/booking/addons/index.js +2 -3
- package/es/components/booking/addons/model.d.ts +10 -1
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
- package/es/components/booking/components/collapsibleList/utils.d.ts +1 -0
- package/es/components/booking/components/customSelect/index.d.ts +38 -0
- package/es/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/es/components/booking/components/footer/amount.js +2 -2
- package/es/components/booking/components/footer/index.js +0 -7
- package/es/components/booking/components/footer/utils.d.ts +1 -1
- package/es/components/booking/components/footer/utils.js +2 -4
- package/es/components/booking/components/reloadResourceModal/index.d.ts +9 -0
- package/es/components/booking/components/voucher/index.js +0 -6
- package/es/components/booking/components/voucher/index.less +1 -4
- package/es/components/booking/components/voucherModal/index.less +0 -1
- package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/es/components/booking/deposit/index.d.ts +0 -1
- package/es/components/booking/forms/footer.d.ts +1 -0
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/es/components/booking/forms/table/index.d.ts +1 -0
- package/es/components/booking/hooks/useClearCart.d.ts +1 -0
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +0 -1
- 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/hooks/useInfoHolder.d.ts +0 -1
- package/es/components/booking/info/index.d.ts +0 -1
- package/es/components/booking/info/model.d.ts +14 -0
- package/es/components/booking/info/service/Lists.d.ts +0 -1
- package/es/components/booking/info/service/actions/index.d.ts +1 -0
- package/es/components/booking/info/service/addService/index.d.ts +0 -1
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/serviceList/index.d.ts +0 -1
- package/es/components/booking/info/service2/Lists.d.ts +0 -1
- package/es/components/booking/info2/cartClientCard/locales.d.ts +21 -0
- package/es/components/booking/info2/cartClientCard/types.d.ts +18 -0
- package/es/components/booking/info2/cartClientCard/utils.d.ts +3 -0
- package/es/components/booking/info2/service/actions/index.d.ts +1 -0
- package/es/components/booking/info2/service/addService/index.d.ts +0 -1
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/editService/index.js +2 -33
- package/es/components/booking/info2/service/editService/utils.d.ts +28 -0
- package/es/components/booking/info2/service/serviceList/index.d.ts +0 -1
- package/es/components/booking/materiels/contacts/index.d.ts +1 -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 +120 -0
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/es/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/es/components/booking/notes/addNote/index.d.ts +0 -1
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/checkout/PaymentPlugin.d.ts +0 -1
- package/es/components/checkout/components/AdditionalModule/locales.d.ts +36 -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/WalletPassModule/index.js +0 -1
- package/es/components/checkout/components/WalletPassModule/types.d.ts +134 -0
- package/es/components/checkout/components/WalletPassModule/utils.js +3 -14
- package/es/components/checkout/constants.d.ts +2 -0
- package/es/components/checkout/hooks/usePaymentLogger.d.ts +2 -0
- package/es/components/checkout/hooks/useWalletPass.d.ts +2 -2
- package/es/components/checkout/hooks/useWalletPass.js +189 -310
- package/es/components/checkout/locales.d.ts +513 -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/eftpos/form/index.d.ts +0 -1
- package/es/components/eftpos/hooks.d.ts +0 -1
- package/es/components/eftpos/index.d.ts +1 -0
- package/es/components/eftpos/pos.d.ts +1 -0
- package/es/components/eftpos/surcharge/index.d.ts +0 -1
- package/es/components/eftposPay/amount.d.ts +2 -1
- package/es/components/eftposPay/app.d.ts +10 -0
- package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/es/components/eftposPay/component/fail/network.d.ts +1 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
- package/es/components/eftposPay/component/manual/index.d.ts +1 -0
- package/es/components/eftposPay/component/signature/index.d.ts +1 -0
- package/es/components/eftposPay/component/step/index.d.ts +0 -1
- package/es/components/eftposPay/const.d.ts +190 -0
- package/es/components/eftposPay/device.d.ts +25 -0
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/index.d.ts +4 -0
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -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/payment.d.ts +66 -0
- package/es/components/eftposPay/store/index.d.ts +5 -5
- package/es/components/eftposPay/tip.d.ts +1 -0
- package/es/components/eftposPay/tyro/index.d.ts +9 -0
- package/es/components/eftposPay/utils/log/index.d.ts +110 -0
- package/es/components/eftposPay/windcave/receiptAction.d.ts +1 -0
- package/es/components/eftposPay/windcave/windcave.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/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/Information/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/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/es/components/eventBooking/index.d.ts +0 -1
- 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/index.d.ts +5 -0
- package/es/components/list/hooks/useDevice.d.ts +24 -0
- package/es/components/list/hooks/useListState.d.ts +43 -0
- package/es/components/list/hooks/useWaterfall.d.ts +34 -0
- package/es/components/list/locales.d.ts +66 -0
- package/es/components/list/types.d.ts +177 -0
- package/es/components/list/utils/getText.d.ts +53 -0
- package/es/components/list/utils/index.d.ts +4 -0
- package/es/components/login/index.d.ts +1 -0
- package/es/components/pay/toB/components/CardGroup/index.d.ts +0 -1
- package/es/components/pay/toB/components/Content/Header.d.ts +4 -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 +54 -0
- package/es/components/pay/toB/store/context.d.ts +3 -0
- package/es/components/pay/toB/store/utils.d.ts +13 -0
- package/es/components/pay/toB/types/index.d.ts +60 -0
- package/es/components/pay/toB/types/storeTypes.d.ts +143 -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 +3 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -5
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +145 -166
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -6
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +3 -3
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/es/components/pay/toC/WalletPassBlock/index.js +1 -3
- package/es/components/pay/toC/index.js +27 -66
- package/es/components/pay/toC/model.d.ts +40 -0
- package/es/components/pay/toC/serve.d.ts +0 -18
- package/es/components/pay/toC/serve.js +1 -29
- package/es/components/pay/toC/utils.d.ts +2 -2
- package/es/components/pay/toC/utils.js +0 -4
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/es/components/productExtension/index.d.ts +0 -1
- package/es/components/productSelect/components/productGroup/index.d.ts +0 -1
- package/es/components/ruleSetting/index.d.ts +0 -1
- package/es/components/ruleSetting/locales.d.ts +48 -0
- package/es/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/es/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/es/components/schedules/calendar/index.d.ts +1 -0
- package/es/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/products/index.d.ts +1 -0
- package/es/components/schedules/products/list/ProductItem/index.d.ts +1 -0
- package/es/components/schedules/products/list/index.d.ts +1 -0
- package/es/components/schedules/resources/index.d.ts +1 -0
- package/es/components/schedules/resources/list/index.d.ts +1 -0
- package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/schedules/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/locales.d.ts +36 -0
- package/es/components/shoppingCart/type.d.ts +50 -0
- package/es/components/subTotal/locales.d.ts +42 -0
- package/es/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
- package/es/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +50 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +4 -7
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
- 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/context/IsActiveContext.d.ts +26 -0
- package/es/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
- package/es/components/ticketBooking/context/index.d.ts +2 -0
- package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
- package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
- package/es/components/ticketBooking/index.d.ts +0 -1
- package/es/components/ticketBooking/locales.d.ts +198 -0
- package/es/components/ticketBooking/utils/productCache.d.ts +75 -0
- package/es/hooks/useEngineContext.d.ts +3 -0
- package/es/hooks/useLogger.d.ts +2 -0
- package/es/hooks/usePaymentLogger.d.ts +1 -0
- package/es/hooks/useToast.d.ts +2 -0
- package/es/hooks/useTranslationOriginal.d.ts +1 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/plus/clientCard/locales.d.ts +18 -0
- package/es/plus/clientCard/types.d.ts +134 -0
- package/es/plus/clientCard/utils.d.ts +8 -0
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +2 -0
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +2 -0
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
- package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +5 -0
- package/es/plus/clinetSearch/InfiniteScroll/index.d.ts +2 -0
- package/es/plus/clinetSearch/InfiniteScroll/types.d.ts +46 -0
- package/es/plus/clinetSearch/locales.d.ts +105 -0
- package/es/plus/clinetSearch/types.d.ts +61 -0
- package/es/plus/noteModal/locales.d.ts +33 -0
- package/es/plus/noteModal/types.d.ts +19 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -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 +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -1
- 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 +6 -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 +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +42 -0
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +162 -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/utils.d.ts +39 -0
- package/es/plus/saasCreateOrganization/components/Header.d.ts +1 -0
- package/es/plus/saasRegister/components/EntryEmail.d.ts +1 -0
- package/es/plus/saasRegister/components/EntryInfo.d.ts +1 -0
- package/es/plus/saasRegister/components/GoLogin.d.ts +1 -0
- package/es/plus/saasRegister/components/Header.d.ts +1 -0
- package/es/plus/saasRegister/components/VerifyError.d.ts +1 -0
- package/es/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
- package/es/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
- package/es/plus/selectHolder/locales.d.ts +24 -0
- package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +7 -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/pro/Login2.0/components/LegalTerms.d.ts +8 -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/steps/EmailAlreadyRegistered.d.ts +12 -0
- package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
- package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
- package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
- package/es/pro/NumberKeyboardPopover/types.d.ts +31 -0
- package/es/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
- package/es/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +5 -0
- package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +9 -0
- package/es/pro/comprehensiveSearch/locales.d.ts +15 -0
- package/es/pro/comprehensiveSearch/types.d.ts +32 -0
- package/es/pro/multiDayTimeSelect/types.d.ts +28 -0
- package/es/pro/numberKeyboard/locales.d.ts +12 -0
- package/es/pro/pisellPhoneKeyboard/locales.d.ts +12 -0
- package/es/pro/pisellPriceKeyboardModal/types.d.ts +25 -0
- package/es/pro/pisellPriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +5 -0
- package/es/pro/pisellPriceKeyboardPopover/index.d.ts +2 -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/index.d.ts +0 -1
- package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +39 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
- package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +42 -0
- package/es/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
- package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +45 -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/utils.d.ts +31 -0
- package/es/pro/skuDetailModal/locales.d.ts +48 -0
- package/es/pro/skuDetailModal/types.d.ts +348 -0
- package/lib/businessModel/SalesModel/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Content/index.d.ts +0 -1
- 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/Header/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Voucher/index.js +2 -10
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -0
- package/lib/components/appointmentBooking/index.d.ts +0 -1
- package/lib/components/booking/addons/index.js +2 -3
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +1 -0
- package/lib/components/booking/components/collapsibleList/utils.d.ts +1 -0
- package/lib/components/booking/components/customSelect/index.d.ts +38 -0
- package/lib/components/booking/components/emptyBooking/index.d.ts +1 -0
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +1 -0
- package/lib/components/booking/components/footer/amount.js +1 -1
- package/lib/components/booking/components/footer/index.js +0 -9
- package/lib/components/booking/components/footer/utils.d.ts +1 -1
- package/lib/components/booking/components/footer/utils.js +2 -4
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +9 -0
- package/lib/components/booking/components/voucher/index.js +0 -6
- package/lib/components/booking/components/voucher/index.less +1 -4
- package/lib/components/booking/components/voucherModal/index.less +0 -1
- package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
- package/lib/components/booking/deposit/index.d.ts +0 -1
- package/lib/components/booking/forms/footer.d.ts +1 -0
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -0
- package/lib/components/booking/forms/table/index.d.ts +1 -0
- package/lib/components/booking/hooks/useClearCart.d.ts +1 -0
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +0 -1
- 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/hooks/useInfoHolder.d.ts +0 -1
- package/lib/components/booking/info/index.d.ts +0 -1
- package/lib/components/booking/info/model.d.ts +14 -0
- package/lib/components/booking/info/service/Lists.d.ts +0 -1
- package/lib/components/booking/info/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info/service/addService/index.d.ts +0 -1
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/serviceList/index.d.ts +0 -1
- package/lib/components/booking/info/service2/Lists.d.ts +0 -1
- package/lib/components/booking/info2/cartClientCard/locales.d.ts +21 -0
- package/lib/components/booking/info2/cartClientCard/types.d.ts +18 -0
- package/lib/components/booking/info2/cartClientCard/utils.d.ts +3 -0
- package/lib/components/booking/info2/service/actions/index.d.ts +1 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +0 -1
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/editService/index.js +24 -48
- package/lib/components/booking/info2/service/editService/utils.d.ts +28 -0
- package/lib/components/booking/info2/service/serviceList/index.d.ts +0 -1
- package/lib/components/booking/materiels/contacts/index.d.ts +1 -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 +120 -0
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +1 -0
- package/lib/components/booking/notes/NoteBlock/index.d.ts +0 -1
- package/lib/components/booking/notes/addNote/index.d.ts +0 -1
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/checkout/PaymentPlugin.d.ts +0 -1
- package/lib/components/checkout/components/AdditionalModule/locales.d.ts +36 -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/WalletPassModule/index.js +0 -1
- package/lib/components/checkout/components/WalletPassModule/types.d.ts +134 -0
- package/lib/components/checkout/components/WalletPassModule/utils.js +2 -13
- package/lib/components/checkout/constants.d.ts +2 -0
- package/lib/components/checkout/hooks/usePaymentLogger.d.ts +2 -0
- package/lib/components/checkout/hooks/useWalletPass.d.ts +2 -2
- package/lib/components/checkout/hooks/useWalletPass.js +104 -151
- package/lib/components/checkout/locales.d.ts +513 -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/eftpos/form/index.d.ts +0 -1
- package/lib/components/eftpos/hooks.d.ts +0 -1
- package/lib/components/eftpos/index.d.ts +1 -0
- package/lib/components/eftpos/pos.d.ts +1 -0
- package/lib/components/eftpos/surcharge/index.d.ts +0 -1
- package/lib/components/eftposPay/amount.d.ts +2 -1
- package/lib/components/eftposPay/app.d.ts +10 -0
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
- package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
- package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
- package/lib/components/eftposPay/component/step/index.d.ts +0 -1
- package/lib/components/eftposPay/const.d.ts +190 -0
- package/lib/components/eftposPay/device.d.ts +25 -0
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/index.d.ts +4 -0
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -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/payment.d.ts +66 -0
- package/lib/components/eftposPay/store/index.d.ts +5 -5
- package/lib/components/eftposPay/tip.d.ts +1 -0
- package/lib/components/eftposPay/tyro/index.d.ts +9 -0
- package/lib/components/eftposPay/utils/log/index.d.ts +110 -0
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +1 -0
- package/lib/components/eftposPay/windcave/windcave.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/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/Information/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/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -0
- package/lib/components/eventBooking/index.d.ts +0 -1
- 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/index.d.ts +5 -0
- package/lib/components/list/hooks/useDevice.d.ts +24 -0
- package/lib/components/list/hooks/useListState.d.ts +43 -0
- package/lib/components/list/hooks/useWaterfall.d.ts +34 -0
- package/lib/components/list/locales.d.ts +66 -0
- package/lib/components/list/types.d.ts +177 -0
- package/lib/components/list/utils/getText.d.ts +53 -0
- package/lib/components/list/utils/index.d.ts +4 -0
- package/lib/components/login/index.d.ts +1 -0
- package/lib/components/pay/toB/components/CardGroup/index.d.ts +0 -1
- package/lib/components/pay/toB/components/Content/Header.d.ts +4 -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 +54 -0
- package/lib/components/pay/toB/store/context.d.ts +3 -0
- package/lib/components/pay/toB/store/utils.d.ts +13 -0
- package/lib/components/pay/toB/types/index.d.ts +60 -0
- package/lib/components/pay/toB/types/storeTypes.d.ts +143 -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 +3 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +0 -5
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +103 -90
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +0 -6
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -2
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -0
- package/lib/components/pay/toC/WalletPassBlock/index.js +1 -3
- package/lib/components/pay/toC/index.js +11 -52
- package/lib/components/pay/toC/model.d.ts +40 -0
- package/lib/components/pay/toC/serve.d.ts +0 -18
- package/lib/components/pay/toC/serve.js +0 -6
- package/lib/components/pay/toC/utils.d.ts +2 -2
- package/lib/components/pay/toC/utils.js +0 -4
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +1 -0
- package/lib/components/productExtension/index.d.ts +0 -1
- package/lib/components/productSelect/components/productGroup/index.d.ts +0 -1
- package/lib/components/ruleSetting/index.d.ts +0 -1
- package/lib/components/ruleSetting/locales.d.ts +48 -0
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +1 -0
- package/lib/components/schedules/calendar/calendarItem.d.ts +1 -0
- package/lib/components/schedules/calendar/index.d.ts +1 -0
- package/lib/components/schedules/components/CurrentDay/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/products/index.d.ts +1 -0
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +1 -0
- package/lib/components/schedules/products/list/index.d.ts +1 -0
- package/lib/components/schedules/resources/index.d.ts +1 -0
- package/lib/components/schedules/resources/list/index.d.ts +1 -0
- package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/schedules/index.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -0
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -0
- package/lib/components/shoppingCart/locales.d.ts +36 -0
- package/lib/components/shoppingCart/type.d.ts +50 -0
- package/lib/components/subTotal/locales.d.ts +42 -0
- package/lib/components/systemSettings/registry/components/ModuleList.d.ts +4 -0
- package/lib/components/systemSettings/registry/components/SectionList.d.ts +4 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +50 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +7 -11
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -1
- 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/context/IsActiveContext.d.ts +26 -0
- package/lib/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
- package/lib/components/ticketBooking/context/index.d.ts +2 -0
- package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +25 -0
- package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
- package/lib/components/ticketBooking/index.d.ts +0 -1
- package/lib/components/ticketBooking/locales.d.ts +198 -0
- package/lib/components/ticketBooking/utils/productCache.d.ts +75 -0
- package/lib/hooks/useEngineContext.d.ts +3 -0
- package/lib/hooks/useLogger.d.ts +2 -0
- package/lib/hooks/usePaymentLogger.d.ts +1 -0
- package/lib/hooks/useToast.d.ts +2 -0
- package/lib/hooks/useTranslationOriginal.d.ts +1 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/plus/clientCard/locales.d.ts +18 -0
- package/lib/plus/clientCard/types.d.ts +134 -0
- package/lib/plus/clientCard/utils.d.ts +8 -0
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +2 -0
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +2 -0
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +0 -1
- package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +5 -0
- package/lib/plus/clinetSearch/InfiniteScroll/index.d.ts +2 -0
- package/lib/plus/clinetSearch/InfiniteScroll/types.d.ts +46 -0
- package/lib/plus/clinetSearch/locales.d.ts +105 -0
- package/lib/plus/clinetSearch/types.d.ts +61 -0
- package/lib/plus/noteModal/locales.d.ts +33 -0
- package/lib/plus/noteModal/types.d.ts +19 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -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 +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -1
- 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 +6 -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 +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +42 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +162 -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/utils.d.ts +39 -0
- package/lib/plus/saasCreateOrganization/components/Header.d.ts +1 -0
- package/lib/plus/saasRegister/components/EntryEmail.d.ts +1 -0
- package/lib/plus/saasRegister/components/EntryInfo.d.ts +1 -0
- package/lib/plus/saasRegister/components/GoLogin.d.ts +1 -0
- package/lib/plus/saasRegister/components/Header.d.ts +1 -0
- package/lib/plus/saasRegister/components/VerifyError.d.ts +1 -0
- package/lib/plus/saasRegister/components/VerifyingLink.d.ts +1 -0
- package/lib/plus/saasRegister/components/VertifyEmail.d.ts +1 -0
- package/lib/plus/selectHolder/locales.d.ts +24 -0
- package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +20 -0
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +7 -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/pro/Login2.0/components/LegalTerms.d.ts +8 -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/steps/EmailAlreadyRegistered.d.ts +12 -0
- package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +8 -0
- package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +7 -0
- package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +18 -0
- package/lib/pro/NumberKeyboardPopover/types.d.ts +31 -0
- package/lib/pro/comprehensiveSearch/components/searchSection/locales.d.ts +15 -0
- package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +5 -0
- package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +9 -0
- package/lib/pro/comprehensiveSearch/locales.d.ts +15 -0
- package/lib/pro/comprehensiveSearch/types.d.ts +32 -0
- package/lib/pro/multiDayTimeSelect/types.d.ts +28 -0
- package/lib/pro/numberKeyboard/locales.d.ts +12 -0
- package/lib/pro/pisellPhoneKeyboard/locales.d.ts +12 -0
- package/lib/pro/pisellPriceKeyboardModal/types.d.ts +25 -0
- package/lib/pro/pisellPriceKeyboardPopover/PisellPriceKeyboardPopover.d.ts +5 -0
- package/lib/pro/pisellPriceKeyboardPopover/index.d.ts +2 -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/index.d.ts +0 -1
- package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +39 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
- package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +42 -0
- package/lib/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
- package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +45 -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/utils.d.ts +31 -0
- package/lib/pro/skuDetailModal/locales.d.ts +48 -0
- package/lib/pro/skuDetailModal/types.d.ts +348 -0
- package/package.json +3 -3
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.new-client': string;
|
|
4
|
+
'pisell2.comprehensive-search.empty': string;
|
|
5
|
+
};
|
|
6
|
+
'zh-CN': {
|
|
7
|
+
'pisell2.text.new-client': string;
|
|
8
|
+
'pisell2.comprehensive-search.empty': string;
|
|
9
|
+
};
|
|
10
|
+
'zh-HK': {
|
|
11
|
+
'pisell2.text.new-client': string;
|
|
12
|
+
'pisell2.comprehensive-search.empty': string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface ComprehensiveSearchProps {
|
|
3
|
+
dataSource?: any;
|
|
4
|
+
isShowScanner?: boolean;
|
|
5
|
+
isShowCamera?: boolean;
|
|
6
|
+
isShowNFC?: boolean;
|
|
7
|
+
isShowNewButton?: boolean;
|
|
8
|
+
newButtonAlign?: 'left' | 'center' | 'right';
|
|
9
|
+
newButtonText?: string;
|
|
10
|
+
newDialogDataSource?: any;
|
|
11
|
+
renderType?: 'modal' | 'drawer' | 'portal' | '';
|
|
12
|
+
containerProps?: Record<string, any>;
|
|
13
|
+
isShowSearch?: boolean;
|
|
14
|
+
isShowSearchCamera?: boolean;
|
|
15
|
+
searchIcon?: string;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
isShowSearchButton?: boolean;
|
|
18
|
+
resultDisplay?: 'list' | 'grid';
|
|
19
|
+
resultSort?: 'asc' | 'desc' | 'custom';
|
|
20
|
+
sortBy?: string;
|
|
21
|
+
style?: React.CSSProperties;
|
|
22
|
+
loading?: boolean;
|
|
23
|
+
keyword?: string;
|
|
24
|
+
onKeywordChange?: (value: string) => void;
|
|
25
|
+
onSearch?: (value: string) => void;
|
|
26
|
+
onAdd?: () => void;
|
|
27
|
+
onDataChange?: (data: any) => void;
|
|
28
|
+
onRowClick?: (record: any, index: any) => void;
|
|
29
|
+
}
|
|
30
|
+
export interface SearchResult {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
|
2
|
+
export interface MultiDayTimeSelectValue {
|
|
3
|
+
startDate: Dayjs;
|
|
4
|
+
endDate: Dayjs;
|
|
5
|
+
duration: number;
|
|
6
|
+
}
|
|
7
|
+
export interface MultiDayTimeSelectProps {
|
|
8
|
+
/** 最大天数,默认30天 */
|
|
9
|
+
maxDays?: number;
|
|
10
|
+
/** 默认开始时间 */
|
|
11
|
+
defaultStartDate?: Dayjs;
|
|
12
|
+
/** 开始时间和结束时间是否分离,false使用RangePicker,true使用两个独立的DatePicker */
|
|
13
|
+
separateStartEnd?: boolean;
|
|
14
|
+
/** 受控值 */
|
|
15
|
+
value?: MultiDayTimeSelectValue;
|
|
16
|
+
/** 值变化回调 */
|
|
17
|
+
onChange?: (value: MultiDayTimeSelectValue) => void;
|
|
18
|
+
/** 语言环境 */
|
|
19
|
+
locale?: string;
|
|
20
|
+
/** 是否禁用 */
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
/** 开始日期标签 */
|
|
23
|
+
startDateLabel?: string;
|
|
24
|
+
/** 结束日期标签 */
|
|
25
|
+
endDateLabel?: string;
|
|
26
|
+
/** 时长标签 */
|
|
27
|
+
durationLabel?: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface PisellPriceKeyboardModalProps {
|
|
3
|
+
/** 是否显示键盘 */
|
|
4
|
+
visible?: boolean;
|
|
5
|
+
/** 当前价格值 */
|
|
6
|
+
value?: string | number;
|
|
7
|
+
/** 价格变化回调(合并了 onChange 和 onEnter) */
|
|
8
|
+
onChange?: (value: string | number) => void;
|
|
9
|
+
/** 关闭键盘回调 */
|
|
10
|
+
onClose?: () => void;
|
|
11
|
+
/** 触发元素的 ref,用于计算位置 */
|
|
12
|
+
triggerRef?: React.RefObject<HTMLElement>;
|
|
13
|
+
/** 货币符号显示 */
|
|
14
|
+
showCurrencySymbol?: boolean;
|
|
15
|
+
/** 是否使用千分位分隔符 */
|
|
16
|
+
useThousandsSeparator?: boolean;
|
|
17
|
+
/** 自定义类名 */
|
|
18
|
+
className?: string;
|
|
19
|
+
/** 自定义样式 */
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
}
|
|
22
|
+
export interface KeyboardPosition {
|
|
23
|
+
top: number;
|
|
24
|
+
left: number;
|
|
25
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './PisellPriceKeyboardPopover.less';
|
|
3
|
+
import { PisellPriceKeyboardPopoverProps, PisellPriceKeyboardPopoverRef } from './types';
|
|
4
|
+
declare const PisellPriceKeyboardPopover: React.ForwardRefExoticComponent<PisellPriceKeyboardPopoverProps & React.RefAttributes<PisellPriceKeyboardPopoverRef>>;
|
|
5
|
+
export default PisellPriceKeyboardPopover;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface PisellPriceKeyboardPopoverProps {
|
|
3
|
+
/** 触发元素 */
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
/** 当前价格值 */
|
|
6
|
+
value?: string | number;
|
|
7
|
+
/** 价格变化回调(合并了 onChange 和 onEnter) */
|
|
8
|
+
onChange?: (value: string | number) => void;
|
|
9
|
+
/** 确认回调 */
|
|
10
|
+
onConfirm?: (value: string | number) => void;
|
|
11
|
+
/** 取消回调 */
|
|
12
|
+
onCancel?: () => void;
|
|
13
|
+
/** 货币符号显示 */
|
|
14
|
+
showCurrencySymbol?: boolean;
|
|
15
|
+
/** 是否使用千分位分隔符 */
|
|
16
|
+
useThousandsSeparator?: boolean;
|
|
17
|
+
/** 键盘主题 */
|
|
18
|
+
selectType?: 'light' | 'dark';
|
|
19
|
+
/** 是否禁用 */
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
/** Popover 额外的类名 */
|
|
22
|
+
overlayClassName?: string;
|
|
23
|
+
/** 自定义样式 */
|
|
24
|
+
style?: React.CSSProperties;
|
|
25
|
+
}
|
|
26
|
+
export interface PisellPriceKeyboardPopoverRef {
|
|
27
|
+
/** 打开键盘 */
|
|
28
|
+
open: () => void;
|
|
29
|
+
/** 关闭键盘 */
|
|
30
|
+
close: () => void;
|
|
31
|
+
/** 获取当前是否打开 */
|
|
32
|
+
isOpen: () => boolean;
|
|
33
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface PisellPriceKeyboardPopoverProps {
|
|
3
|
+
/** 触发元素 */
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
/** 当前价格值 */
|
|
6
|
+
value?: string | number;
|
|
7
|
+
/** 价格变化回调(合并了 onChange 和 onEnter) */
|
|
8
|
+
onChange?: (value: string | number) => void;
|
|
9
|
+
/** 确认回调 */
|
|
10
|
+
onConfirm?: (value: string | number) => void;
|
|
11
|
+
/** 取消回调 */
|
|
12
|
+
onCancel?: () => void;
|
|
13
|
+
/** 货币符号显示 */
|
|
14
|
+
showCurrencySymbol?: boolean;
|
|
15
|
+
/** 是否使用千分位分隔符 */
|
|
16
|
+
useThousandsSeparator?: boolean;
|
|
17
|
+
/** 键盘主题 */
|
|
18
|
+
selectType?: 'light' | 'dark';
|
|
19
|
+
/** 是否禁用 */
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
/** Popover 额外的类名 */
|
|
22
|
+
overlayClassName?: string;
|
|
23
|
+
/** 自定义样式 */
|
|
24
|
+
style?: React.CSSProperties;
|
|
25
|
+
}
|
|
26
|
+
export interface PisellPriceKeyboardPopoverRef {
|
|
27
|
+
/** 打开键盘 */
|
|
28
|
+
open: () => void;
|
|
29
|
+
/** 关闭键盘 */
|
|
30
|
+
close: () => void;
|
|
31
|
+
/** 获取当前是否打开 */
|
|
32
|
+
isOpen: () => boolean;
|
|
33
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'cash-keyboard-title': string;
|
|
4
|
+
'cash-keyboard-balance-due': string;
|
|
5
|
+
'cash-keyboard-cash-received': string;
|
|
6
|
+
'cash-keyboard-change-due': string;
|
|
7
|
+
'cash-keyboard-rounding': string;
|
|
8
|
+
'cash-keyboard-other': string;
|
|
9
|
+
'cash-keyboard-reset': string;
|
|
10
|
+
'cash-keyboard-done': string;
|
|
11
|
+
'cash-keyboard-pay': string;
|
|
12
|
+
'cash-keyboard-amount-cannot-be-zero': string;
|
|
13
|
+
};
|
|
14
|
+
'zh-CN': {
|
|
15
|
+
'cash-keyboard-title': string;
|
|
16
|
+
'cash-keyboard-balance-due': string;
|
|
17
|
+
'cash-keyboard-cash-received': string;
|
|
18
|
+
'cash-keyboard-change-due': string;
|
|
19
|
+
'cash-keyboard-rounding': string;
|
|
20
|
+
'cash-keyboard-other': string;
|
|
21
|
+
'cash-keyboard-reset': string;
|
|
22
|
+
'cash-keyboard-done': string;
|
|
23
|
+
'cash-keyboard-pay': string;
|
|
24
|
+
'cash-keyboard-amount-cannot-be-zero': string;
|
|
25
|
+
};
|
|
26
|
+
'zh-HK': {
|
|
27
|
+
'cash-keyboard-title': string;
|
|
28
|
+
'cash-keyboard-balance-due': string;
|
|
29
|
+
'cash-keyboard-cash-received': string;
|
|
30
|
+
'cash-keyboard-change-due': string;
|
|
31
|
+
'cash-keyboard-rounding': string;
|
|
32
|
+
'cash-keyboard-other': string;
|
|
33
|
+
'cash-keyboard-reset': string;
|
|
34
|
+
'cash-keyboard-done': string;
|
|
35
|
+
'cash-keyboard-pay': string;
|
|
36
|
+
'cash-keyboard-amount-cannot-be-zero': string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface RightItemsStyleProps {
|
|
3
|
+
buttonBackgroundColor?: string;
|
|
4
|
+
textColor?: string;
|
|
5
|
+
resetButtonBackgroundColor?: string;
|
|
6
|
+
resetButtonTextColor?: string;
|
|
7
|
+
isDoneButtonFollowTheme?: boolean;
|
|
8
|
+
doneButtonBackgroundColor?: string;
|
|
9
|
+
doneButtonTextColor?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare type ItemValue = string | number;
|
|
12
|
+
export interface Item {
|
|
13
|
+
value: ItemValue;
|
|
14
|
+
label: React.ReactNode;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
type: 'text' | 'primary';
|
|
17
|
+
style?: React.CSSProperties;
|
|
18
|
+
size?: number;
|
|
19
|
+
}
|
|
20
|
+
export interface KeyboardProps {
|
|
21
|
+
className?: string;
|
|
22
|
+
style?: React.CSSProperties;
|
|
23
|
+
onChange?: (value?: ItemValue) => void;
|
|
24
|
+
items?: Item[];
|
|
25
|
+
rightItems?: Item[];
|
|
26
|
+
keydown?: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface TitleAreaConfig {
|
|
29
|
+
visible?: boolean;
|
|
30
|
+
title?: {
|
|
31
|
+
visible?: boolean;
|
|
32
|
+
text?: string;
|
|
33
|
+
fontSize?: string | number;
|
|
34
|
+
color?: string;
|
|
35
|
+
fontWeight?: string | number;
|
|
36
|
+
};
|
|
37
|
+
subtitle?: {
|
|
38
|
+
visible?: boolean;
|
|
39
|
+
text?: string;
|
|
40
|
+
fontSize?: string | number;
|
|
41
|
+
color?: string;
|
|
42
|
+
fontWeight?: string | number;
|
|
43
|
+
};
|
|
44
|
+
alignment?: 'left' | 'right' | 'center' | 'space-between';
|
|
45
|
+
spacing?: string | number;
|
|
46
|
+
}
|
|
47
|
+
export interface DisplayFieldConfig {
|
|
48
|
+
cashReceived?: {
|
|
49
|
+
visible?: boolean;
|
|
50
|
+
};
|
|
51
|
+
balanceDue?: {
|
|
52
|
+
visible?: boolean;
|
|
53
|
+
};
|
|
54
|
+
changeDue?: {
|
|
55
|
+
visible?: boolean;
|
|
56
|
+
};
|
|
57
|
+
gridRatio?: number[];
|
|
58
|
+
}
|
|
59
|
+
export interface CashKeyboardBaseProps {
|
|
60
|
+
amountSymbol?: string;
|
|
61
|
+
value?: string;
|
|
62
|
+
/** 默认值,非受控模式 */
|
|
63
|
+
defaultValue?: string;
|
|
64
|
+
/** 原始值,多用于重置, 当前对应 Balance Due */
|
|
65
|
+
originalValue?: string;
|
|
66
|
+
placeholder?: string;
|
|
67
|
+
max?: number;
|
|
68
|
+
min?: number;
|
|
69
|
+
disabled?: boolean;
|
|
70
|
+
doneText?: string;
|
|
71
|
+
resetText?: string;
|
|
72
|
+
presets?: any;
|
|
73
|
+
hiddenChangeDue?: boolean;
|
|
74
|
+
onChange?: (val: string) => void;
|
|
75
|
+
onEnter?: (val: string) => void;
|
|
76
|
+
onReset?: () => void;
|
|
77
|
+
onPay?: () => void;
|
|
78
|
+
rightItemsStyle?: RightItemsStyleProps;
|
|
79
|
+
titleArea?: TitleAreaConfig;
|
|
80
|
+
displayField?: DisplayFieldConfig;
|
|
81
|
+
keyboardProps?: KeyboardProps;
|
|
82
|
+
style?: React.CSSProperties;
|
|
83
|
+
selectType?: 'light' | 'dark';
|
|
84
|
+
backgroundColor?: string;
|
|
85
|
+
containerBackgroundColor?: string;
|
|
86
|
+
buttonBackgroundColor?: string;
|
|
87
|
+
textColor?: string;
|
|
88
|
+
resetButtonBackgroundColor?: string;
|
|
89
|
+
resetButtonTextColor?: string;
|
|
90
|
+
isDoneButtonFollowTheme?: boolean;
|
|
91
|
+
doneButtonBackgroundColor?: string;
|
|
92
|
+
doneButtonTextColor?: string;
|
|
93
|
+
keyboardBackgroundColor?: string;
|
|
94
|
+
keyboardButtonBackgroundColor?: string;
|
|
95
|
+
keyboardButtonTextColor?: string;
|
|
96
|
+
keyboardButtonHoverColor?: string;
|
|
97
|
+
shortcutsSize?: 'default' | 'large';
|
|
98
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'discount-keyboard-price-override': string;
|
|
4
|
+
'discount-keyboard-discount': string;
|
|
5
|
+
'discount-keyboard-amount': string;
|
|
6
|
+
'discount-keyboard-percentage': string;
|
|
7
|
+
'discount-keyboard-max-discount': string;
|
|
8
|
+
'discount-keyboard-discount-amount': string;
|
|
9
|
+
'discount-keyboard-total': string;
|
|
10
|
+
'discount-keyboard-payable': string;
|
|
11
|
+
'discount-keyboard-reset': string;
|
|
12
|
+
'discount-keyboard-done': string;
|
|
13
|
+
'discount-keyboard-pay': string;
|
|
14
|
+
};
|
|
15
|
+
'zh-CN': {
|
|
16
|
+
'discount-keyboard-price-override': string;
|
|
17
|
+
'discount-keyboard-discount': string;
|
|
18
|
+
'discount-keyboard-amount': string;
|
|
19
|
+
'discount-keyboard-percentage': string;
|
|
20
|
+
'discount-keyboard-max-discount': string;
|
|
21
|
+
'discount-keyboard-discount-amount': string;
|
|
22
|
+
'discount-keyboard-total': string;
|
|
23
|
+
'discount-keyboard-payable': string;
|
|
24
|
+
'discount-keyboard-reset': string;
|
|
25
|
+
'discount-keyboard-done': string;
|
|
26
|
+
'discount-keyboard-pay': string;
|
|
27
|
+
};
|
|
28
|
+
'zh-HK': {
|
|
29
|
+
'discount-keyboard-price-override': string;
|
|
30
|
+
'discount-keyboard-discount': string;
|
|
31
|
+
'discount-keyboard-amount': string;
|
|
32
|
+
'discount-keyboard-percentage': string;
|
|
33
|
+
'discount-keyboard-max-discount': string;
|
|
34
|
+
'discount-keyboard-discount-amount': string;
|
|
35
|
+
'discount-keyboard-total': string;
|
|
36
|
+
'discount-keyboard-payable': string;
|
|
37
|
+
'discount-keyboard-reset': string;
|
|
38
|
+
'discount-keyboard-done': string;
|
|
39
|
+
'discount-keyboard-pay': string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface DiscountKeyboardBaseProps {
|
|
2
|
+
/** 金额符 */
|
|
3
|
+
amountSymbol?: string;
|
|
4
|
+
/** 初始值,多用于展示及计算,不同于原始值 */
|
|
5
|
+
defaultValue?: string | number;
|
|
6
|
+
/** 原始值,多用于重置 */
|
|
7
|
+
originalValue?: string | number;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
doneText?: string;
|
|
10
|
+
resetText?: string;
|
|
11
|
+
/** 键盘主题 */
|
|
12
|
+
selectType?: 'light' | 'dark';
|
|
13
|
+
onEnter?: (val: string) => void;
|
|
14
|
+
onReset?: () => void;
|
|
15
|
+
onChange?: (val: string) => void;
|
|
16
|
+
enableExceedMaxAmount?: boolean;
|
|
17
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'payment-keyboard-payment': string;
|
|
4
|
+
'payment-keyboard-surcharge': string;
|
|
5
|
+
'payment-keyboard-percent': string;
|
|
6
|
+
'payment-keyboard-fixed': string;
|
|
7
|
+
'payment-keyboard-max': string;
|
|
8
|
+
'payment-keyboard-remaining': string;
|
|
9
|
+
'payment-keyboard-change-due': string;
|
|
10
|
+
'payment-keyboard-total-amount-due': string;
|
|
11
|
+
'payment-keyboard-inc-surcharge': string;
|
|
12
|
+
'payment-keyboard-reset': string;
|
|
13
|
+
'payment-keyboard-done': string;
|
|
14
|
+
'payment-keyboard-pay': string;
|
|
15
|
+
};
|
|
16
|
+
'zh-CN': {
|
|
17
|
+
'payment-keyboard-payment': string;
|
|
18
|
+
'payment-keyboard-surcharge': string;
|
|
19
|
+
'payment-keyboard-percent': string;
|
|
20
|
+
'payment-keyboard-change-due': string;
|
|
21
|
+
'payment-keyboard-fixed': string;
|
|
22
|
+
'payment-keyboard-max': string;
|
|
23
|
+
'payment-keyboard-remaining': string;
|
|
24
|
+
'payment-keyboard-total-amount-due': string;
|
|
25
|
+
'payment-keyboard-inc-surcharge': string;
|
|
26
|
+
'payment-keyboard-reset': string;
|
|
27
|
+
'payment-keyboard-done': string;
|
|
28
|
+
'payment-keyboard-pay': string;
|
|
29
|
+
};
|
|
30
|
+
'zh-HK': {
|
|
31
|
+
'payment-keyboard-payment': string;
|
|
32
|
+
'payment-keyboard-surcharge': string;
|
|
33
|
+
'payment-keyboard-percent': string;
|
|
34
|
+
'payment-keyboard-fixed': string;
|
|
35
|
+
'payment-keyboard-max': string;
|
|
36
|
+
'payment-keyboard-remaining': string;
|
|
37
|
+
'payment-keyboard-change-due': string;
|
|
38
|
+
'payment-keyboard-total-amount-due': string;
|
|
39
|
+
'payment-keyboard-inc-surcharge': string;
|
|
40
|
+
'payment-keyboard-reset': string;
|
|
41
|
+
'payment-keyboard-done': string;
|
|
42
|
+
'payment-keyboard-pay': string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare type SurchargeValue = {
|
|
2
|
+
percent?: string;
|
|
3
|
+
fixed?: string;
|
|
4
|
+
};
|
|
5
|
+
export interface PaymentKeyboardBaseProps {
|
|
6
|
+
/** 自定义支付允许超出最大值, EFTPOS不允许 */
|
|
7
|
+
enableExceedMaxAmount?: boolean;
|
|
8
|
+
/** payment 原始值 */
|
|
9
|
+
paymentOriginalValue?: string;
|
|
10
|
+
/** payment 当前值 */
|
|
11
|
+
paymentValue?: string;
|
|
12
|
+
/** payment 默认值, 非受控 */
|
|
13
|
+
paymentDefaultValue?: string;
|
|
14
|
+
/** surcharge 原始值 */
|
|
15
|
+
surchargeOriginalValue?: SurchargeValue;
|
|
16
|
+
/** surcharge 当前值 */
|
|
17
|
+
surchargeValue?: SurchargeValue;
|
|
18
|
+
/** surcharge 默认值, 非受控 */
|
|
19
|
+
surchargeDefaultValue?: SurchargeValue;
|
|
20
|
+
onReset?: () => void;
|
|
21
|
+
onPay?: (args: {
|
|
22
|
+
surcharge: SurchargeValue;
|
|
23
|
+
amount: string;
|
|
24
|
+
}) => void;
|
|
25
|
+
onChange?: (v: string | SurchargeValue) => void;
|
|
26
|
+
payment?: {
|
|
27
|
+
enable?: boolean;
|
|
28
|
+
};
|
|
29
|
+
surcharge?: {
|
|
30
|
+
enable?: boolean;
|
|
31
|
+
};
|
|
32
|
+
title?: {
|
|
33
|
+
text?: string;
|
|
34
|
+
};
|
|
35
|
+
subTitle?: {
|
|
36
|
+
text?: string;
|
|
37
|
+
};
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export declare type ShortcutsItem = {
|
|
4
|
+
label: string;
|
|
5
|
+
value: number | string;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
onClick?: (item: ShortcutsItem, _next: () => void) => void;
|
|
8
|
+
render?: (item: ShortcutsItem) => React.ReactNode;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
};
|
|
11
|
+
export interface ShortcutsProps {
|
|
12
|
+
presets?: ShortcutsItem[];
|
|
13
|
+
onChange?: (val: string) => void;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
size?: 'default' | 'large';
|
|
16
|
+
}
|
|
17
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<ShortcutsProps & React.RefAttributes<HTMLDivElement>>>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 键盘输入处理 Hook
|
|
3
|
+
* @param params 配置参数
|
|
4
|
+
* @param params.onChange 值变化回调
|
|
5
|
+
* @param params.onEnter 确认回调
|
|
6
|
+
* @param params.onReset 重置回调
|
|
7
|
+
* @param params.value 当前值
|
|
8
|
+
* @param params.min 最小值限制
|
|
9
|
+
* @param params.max 最大值限制
|
|
10
|
+
* @param params.scale 小数位数限制
|
|
11
|
+
* @param params.mode 输入模式:'append' 追加模式(默认)| 'replace' 替换模式
|
|
12
|
+
*/
|
|
13
|
+
declare const useKeyActions: (params: {
|
|
14
|
+
onChange?: ((val: string) => void) | undefined;
|
|
15
|
+
onEnter?: ((val: string) => void) | undefined;
|
|
16
|
+
onReset?: (() => void) | undefined;
|
|
17
|
+
value?: string | undefined;
|
|
18
|
+
min?: number | undefined;
|
|
19
|
+
max?: number | undefined;
|
|
20
|
+
mode?: "replace" | "append" | undefined;
|
|
21
|
+
scale?: number | undefined;
|
|
22
|
+
}) => {
|
|
23
|
+
handleChange: (val?: string | number) => void;
|
|
24
|
+
error: {
|
|
25
|
+
msg: string;
|
|
26
|
+
} | null;
|
|
27
|
+
};
|
|
28
|
+
export default useKeyActions;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const DEFAULT_THEME_CONFIG: {
|
|
2
|
+
dark: {
|
|
3
|
+
titleColor: string;
|
|
4
|
+
subtitleColor: string;
|
|
5
|
+
keyboardBgColor: string;
|
|
6
|
+
keyboardWrapperBgColor: string;
|
|
7
|
+
bgColor: string;
|
|
8
|
+
bgColorGray200: string;
|
|
9
|
+
bgColorGray300: string;
|
|
10
|
+
textGray500: string;
|
|
11
|
+
textGray600: string;
|
|
12
|
+
textGray900: string;
|
|
13
|
+
};
|
|
14
|
+
light: {
|
|
15
|
+
titleColor: string;
|
|
16
|
+
subtitleColor: string;
|
|
17
|
+
keyboardBgColor: string;
|
|
18
|
+
keyboardWrapperBgColor: string;
|
|
19
|
+
bgColor: string;
|
|
20
|
+
bgColorGray200: string;
|
|
21
|
+
bgColorGray300: string;
|
|
22
|
+
textGray500: string;
|
|
23
|
+
textGray600: string;
|
|
24
|
+
textGray900: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* 设置键盘主题
|
|
29
|
+
* @param theme 主题
|
|
30
|
+
*/
|
|
31
|
+
export declare const setKeyboardTheme: (theme?: 'dark' | 'light') => void;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.sku.detail.modal.quantity': string;
|
|
4
|
+
'pisell2.text.sku.detail.modal.note': string;
|
|
5
|
+
'pisell2.text.sku.detail.modal.subtotal': string;
|
|
6
|
+
'pisell2.text.sku.detail.modal.discount': string;
|
|
7
|
+
'pisell2.text.sku.detail.modal.manual.price.change': string;
|
|
8
|
+
'pisell2.text.sku.detail.modal.price.override': string;
|
|
9
|
+
'pisell2.text.sku.detail.modal.total': string;
|
|
10
|
+
'pisell2.text.sku.detail.modal.gst.excl': string;
|
|
11
|
+
'pisell2.text.sku.detail.modal.gst.incl': string;
|
|
12
|
+
'pisell2.text.sku.detail.modal.btn.add.note': string;
|
|
13
|
+
'pisell2.text.sku.detail.modal.btn.remove': string;
|
|
14
|
+
'pisell2.text.sku.detail.modal.btn.confirm': string;
|
|
15
|
+
'pisell2.text.sku.detail.modal.btn.manual.price.change': string;
|
|
16
|
+
};
|
|
17
|
+
'zh-CN': {
|
|
18
|
+
'pisell2.text.sku.detail.modal.quantity': string;
|
|
19
|
+
'pisell2.text.sku.detail.modal.note': string;
|
|
20
|
+
'pisell2.text.sku.detail.modal.subtotal': string;
|
|
21
|
+
'pisell2.text.sku.detail.modal.discount': string;
|
|
22
|
+
'pisell2.text.sku.detail.modal.manual.price.change': string;
|
|
23
|
+
'pisell2.text.sku.detail.modal.price.override': string;
|
|
24
|
+
'pisell2.text.sku.detail.modal.total': string;
|
|
25
|
+
'pisell2.text.sku.detail.modal.gst.excl': string;
|
|
26
|
+
'pisell2.text.sku.detail.modal.gst.incl': string;
|
|
27
|
+
'pisell2.text.sku.detail.modal.btn.add.note': string;
|
|
28
|
+
'pisell2.text.sku.detail.modal.btn.remove': string;
|
|
29
|
+
'pisell2.text.sku.detail.modal.btn.confirm': string;
|
|
30
|
+
'pisell2.text.sku.detail.modal.btn.manual.price.change': string;
|
|
31
|
+
};
|
|
32
|
+
'zh-HK': {
|
|
33
|
+
'pisell2.text.sku.detail.modal.quantity': string;
|
|
34
|
+
'pisell2.text.sku.detail.modal.note': string;
|
|
35
|
+
'pisell2.text.sku.detail.modal.subtotal': string;
|
|
36
|
+
'pisell2.text.sku.detail.modal.discount': string;
|
|
37
|
+
'pisell2.text.sku.detail.modal.manual.price.change': string;
|
|
38
|
+
'pisell2.text.sku.detail.modal.price.override': string;
|
|
39
|
+
'pisell2.text.sku.detail.modal.total': string;
|
|
40
|
+
'pisell2.text.sku.detail.modal.gst.excl': string;
|
|
41
|
+
'pisell2.text.sku.detail.modal.gst.incl': string;
|
|
42
|
+
'pisell2.text.sku.detail.modal.btn.add.note': string;
|
|
43
|
+
'pisell2.text.sku.detail.modal.btn.remove': string;
|
|
44
|
+
'pisell2.text.sku.detail.modal.btn.confirm': string;
|
|
45
|
+
'pisell2.text.sku.detail.modal.btn.manual.price.change': string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export default _default;
|