@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,198 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.ticket-booking.info': string;
|
|
4
|
+
'pisell2.ticket-booking.notes': string;
|
|
5
|
+
'pisell2.ticket-booking.note': string;
|
|
6
|
+
'pisell2.ticket-booking.forms': string;
|
|
7
|
+
'pisell2.ticket-booking.sales': string;
|
|
8
|
+
'pisell2.ticket-booking.payment': string;
|
|
9
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
10
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
11
|
+
'pisell2.ticket-booking.go-back': string;
|
|
12
|
+
'pisell2.ticket-booking.exit': string;
|
|
13
|
+
'pisell2.ticket-booking.deposit': string;
|
|
14
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
15
|
+
'pisell2.ticket-booking.no-data': string;
|
|
16
|
+
'pisell2.ticket-booking.authorized': string;
|
|
17
|
+
'pisell2.ticket-booking.paid': string;
|
|
18
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
19
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
20
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
21
|
+
'pisell2.ticket-booking.refunded': string;
|
|
22
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
23
|
+
'pisell2.ticket-booking.voided': string;
|
|
24
|
+
'pisell2.ticket-booking.pending': string;
|
|
25
|
+
'pisell2.ticket-booking.all': string;
|
|
26
|
+
'pisell2.ticket-booking.not-started': string;
|
|
27
|
+
'pisell2.ticket-booking.started': string;
|
|
28
|
+
'pisell2.ticket-booking.finished': string;
|
|
29
|
+
'pisell2.ticket-booking.canceled': string;
|
|
30
|
+
'pisell2.ticket-booking.inform': string;
|
|
31
|
+
'pisell2.ticket-booking.check-management': string;
|
|
32
|
+
'pisell2.ticket-booking.confirm': string;
|
|
33
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
34
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
35
|
+
'pisell2.ticket-booking.full-data': string;
|
|
36
|
+
'pisell2.ticket-booking.today': string;
|
|
37
|
+
'pisell2.ticket-booking.now': string;
|
|
38
|
+
'pisell2.ticket-booking.start-time': string;
|
|
39
|
+
'pisell2.ticket-booking.create-time': string;
|
|
40
|
+
'pisell2.ticket-booking.customer': string;
|
|
41
|
+
'pisell2.ticket-booking.total': string;
|
|
42
|
+
'pisell2.ticket-booking.search': string;
|
|
43
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
44
|
+
'pisell2.ticket-booking.loading': string;
|
|
45
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
46
|
+
'pisell2.ticket-booking.scan': string;
|
|
47
|
+
'pisell2.ticket-booking.create-new': string;
|
|
48
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
49
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
50
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
51
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
52
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
53
|
+
'pisell2.product.card.subtotal': string;
|
|
54
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
55
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
56
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
57
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
58
|
+
'pisell2.ticket-booking.reload': string;
|
|
59
|
+
'pisell2.text.scan-global-failed': string;
|
|
60
|
+
'pisell2.ticket-booking.terminal-upgrade-title': string;
|
|
61
|
+
'pisell2.ticket-booking.terminal-upgrade-description': string;
|
|
62
|
+
'pisell2.ticket-booking.terminal-upgrade-ok': string;
|
|
63
|
+
'pisell2.ticket-booking.terminal-upgrade-cancel': string;
|
|
64
|
+
'pisell2.ticket-booking.collapse': string;
|
|
65
|
+
'pisell2.ticket-booking.expand': string;
|
|
66
|
+
};
|
|
67
|
+
'zh-CN': {
|
|
68
|
+
'pisell2.ticket-booking.info': string;
|
|
69
|
+
'pisell2.ticket-booking.notes': string;
|
|
70
|
+
'pisell2.ticket-booking.note': string;
|
|
71
|
+
'pisell2.ticket-booking.forms': string;
|
|
72
|
+
'pisell2.ticket-booking.sales': string;
|
|
73
|
+
'pisell2.ticket-booking.payment': string;
|
|
74
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
75
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
76
|
+
'pisell2.ticket-booking.go-back': string;
|
|
77
|
+
'pisell2.ticket-booking.exit': string;
|
|
78
|
+
'pisell2.ticket-booking.deposit': string;
|
|
79
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
80
|
+
'pisell2.ticket-booking.no-data': string;
|
|
81
|
+
'pisell2.ticket-booking.authorized': string;
|
|
82
|
+
'pisell2.ticket-booking.paid': string;
|
|
83
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
84
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
85
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
86
|
+
'pisell2.ticket-booking.refunded': string;
|
|
87
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
88
|
+
'pisell2.ticket-booking.voided': string;
|
|
89
|
+
'pisell2.ticket-booking.pending': string;
|
|
90
|
+
'pisell2.ticket-booking.all': string;
|
|
91
|
+
'pisell2.ticket-booking.not-started': string;
|
|
92
|
+
'pisell2.ticket-booking.started': string;
|
|
93
|
+
'pisell2.ticket-booking.finished': string;
|
|
94
|
+
'pisell2.ticket-booking.canceled': string;
|
|
95
|
+
'pisell2.ticket-booking.inform': string;
|
|
96
|
+
'pisell2.ticket-booking.check-management': string;
|
|
97
|
+
'pisell2.ticket-booking.confirm': string;
|
|
98
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
99
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
100
|
+
'pisell2.ticket-booking.full-data': string;
|
|
101
|
+
'pisell2.ticket-booking.today': string;
|
|
102
|
+
'pisell2.ticket-booking.now': string;
|
|
103
|
+
'pisell2.ticket-booking.start-time': string;
|
|
104
|
+
'pisell2.ticket-booking.create-time': string;
|
|
105
|
+
'pisell2.ticket-booking.customer': string;
|
|
106
|
+
'pisell2.ticket-booking.total': string;
|
|
107
|
+
'pisell2.ticket-booking.search': string;
|
|
108
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
109
|
+
'pisell2.ticket-booking.loading': string;
|
|
110
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
111
|
+
'pisell2.ticket-booking.scan': string;
|
|
112
|
+
'pisell2.ticket-booking.create-new': string;
|
|
113
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
114
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
115
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
116
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
117
|
+
'pisell2.product.card.subtotal': string;
|
|
118
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
119
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
120
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
121
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
122
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
123
|
+
'pisell2.ticket-booking.reload': string;
|
|
124
|
+
'pisell2.text.scan-global-failed': string;
|
|
125
|
+
'pisell2.ticket-booking.terminal-upgrade-title': string;
|
|
126
|
+
'pisell2.ticket-booking.terminal-upgrade-description': string;
|
|
127
|
+
'pisell2.ticket-booking.terminal-upgrade-ok': string;
|
|
128
|
+
'pisell2.ticket-booking.terminal-upgrade-cancel': string;
|
|
129
|
+
'pisell2.ticket-booking.collapse': string;
|
|
130
|
+
'pisell2.ticket-booking.expand': string;
|
|
131
|
+
};
|
|
132
|
+
'zh-HK': {
|
|
133
|
+
'pisell2.ticket-booking.info': string;
|
|
134
|
+
'pisell2.ticket-booking.notes': string;
|
|
135
|
+
'pisell2.ticket-booking.note': string;
|
|
136
|
+
'pisell2.ticket-booking.forms': string;
|
|
137
|
+
'pisell2.ticket-booking.sales': string;
|
|
138
|
+
'pisell2.ticket-booking.payment': string;
|
|
139
|
+
'pisell2.ticket-booking.unsaved-changes': string;
|
|
140
|
+
'pisell2.ticket-booking.exit-confirm': string;
|
|
141
|
+
'pisell2.ticket-booking.go-back': string;
|
|
142
|
+
'pisell2.ticket-booking.exit': string;
|
|
143
|
+
'pisell2.ticket-booking.deposit': string;
|
|
144
|
+
'pisell2.ticket-booking.copy-success': string;
|
|
145
|
+
'pisell2.ticket-booking.no-data': string;
|
|
146
|
+
'pisell2.ticket-booking.authorized': string;
|
|
147
|
+
'pisell2.ticket-booking.paid': string;
|
|
148
|
+
'pisell2.ticket-booking.partially-paid': string;
|
|
149
|
+
'pisell2.ticket-booking.partially-refunded': string;
|
|
150
|
+
'pisell2.ticket-booking.payment-pending': string;
|
|
151
|
+
'pisell2.ticket-booking.refunded': string;
|
|
152
|
+
'pisell2.ticket-booking.unpaid': string;
|
|
153
|
+
'pisell2.ticket-booking.voided': string;
|
|
154
|
+
'pisell2.ticket-booking.pending': string;
|
|
155
|
+
'pisell2.ticket-booking.all': string;
|
|
156
|
+
'pisell2.ticket-booking.not-started': string;
|
|
157
|
+
'pisell2.ticket-booking.started': string;
|
|
158
|
+
'pisell2.ticket-booking.finished': string;
|
|
159
|
+
'pisell2.ticket-booking.canceled': string;
|
|
160
|
+
'pisell2.ticket-booking.inform': string;
|
|
161
|
+
'pisell2.ticket-booking.check-management': string;
|
|
162
|
+
'pisell2.ticket-booking.confirm': string;
|
|
163
|
+
'pisell2.ticket-booking.dashboard': string;
|
|
164
|
+
'pisell2.ticket-booking.booking-list': string;
|
|
165
|
+
'pisell2.ticket-booking.full-data': string;
|
|
166
|
+
'pisell2.ticket-booking.today': string;
|
|
167
|
+
'pisell2.ticket-booking.now': string;
|
|
168
|
+
'pisell2.ticket-booking.start-time': string;
|
|
169
|
+
'pisell2.ticket-booking.create-time': string;
|
|
170
|
+
'pisell2.ticket-booking.customer': string;
|
|
171
|
+
'pisell2.ticket-booking.total': string;
|
|
172
|
+
'pisell2.ticket-booking.search': string;
|
|
173
|
+
'pisell2.ticket-booking.refresh-success': string;
|
|
174
|
+
'pisell2.ticket-booking.loading': string;
|
|
175
|
+
'pisell2.ticket-booking.appointment-not-found': string;
|
|
176
|
+
'pisell2.ticket-booking.scan': string;
|
|
177
|
+
'pisell2.ticket-booking.create-new': string;
|
|
178
|
+
'pisell2.ticket-booking.add-to-cart': string;
|
|
179
|
+
'pisell2.ticket-booking.not-available-title': string;
|
|
180
|
+
'pisell2.ticket-booking.not-available-ok': string;
|
|
181
|
+
'pisell2.ticket-booking.in-cart': (number: number) => string;
|
|
182
|
+
'pisell2.product.card.cart-items': (number: number) => string;
|
|
183
|
+
'pisell2.product.card.subtotal': string;
|
|
184
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
185
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
186
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
187
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
188
|
+
'pisell2.ticket-booking.reload': string;
|
|
189
|
+
'pisell2.text.scan-global-failed': string;
|
|
190
|
+
'pisell2.ticket-booking.terminal-upgrade-title': string;
|
|
191
|
+
'pisell2.ticket-booking.terminal-upgrade-description': string;
|
|
192
|
+
'pisell2.ticket-booking.terminal-upgrade-ok': string;
|
|
193
|
+
'pisell2.ticket-booking.terminal-upgrade-cancel': string;
|
|
194
|
+
'pisell2.ticket-booking.collapse': string;
|
|
195
|
+
'pisell2.ticket-booking.expand': string;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
export default _default;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 产品数据缓存工具
|
|
3
|
+
* 使用 localStorage 实现类似 SWR 的缓存功能
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* 缓存类型
|
|
7
|
+
*/
|
|
8
|
+
export declare type CacheType = 'product' | 'boardConfig';
|
|
9
|
+
/**
|
|
10
|
+
* 通用缓存获取函数
|
|
11
|
+
* @param osKey - OS 实例的唯一标识
|
|
12
|
+
* @param cacheType - 缓存类型
|
|
13
|
+
* @param maxAge - 缓存最大有效期(毫秒),默认不限制
|
|
14
|
+
*/
|
|
15
|
+
export declare const getCache: <T = any>(osKey: string, cacheType?: CacheType, maxAge?: number) => T | null;
|
|
16
|
+
/**
|
|
17
|
+
* 从缓存中获取产品数据(兼容旧接口)
|
|
18
|
+
* @param osKey - OS 实例的唯一标识
|
|
19
|
+
* @param maxAge - 缓存最大有效期(毫秒),默认不限制
|
|
20
|
+
*/
|
|
21
|
+
export declare const getProductCache: <T = any>(osKey: string, maxAge?: number) => T | null;
|
|
22
|
+
/**
|
|
23
|
+
* 通用缓存设置函数
|
|
24
|
+
* @param osKey - OS 实例的唯一标识
|
|
25
|
+
* @param data - 要缓存的数据
|
|
26
|
+
* @param cacheType - 缓存类型
|
|
27
|
+
*/
|
|
28
|
+
export declare const setCache: <T = any>(osKey: string, data: T, cacheType?: CacheType) => void;
|
|
29
|
+
/**
|
|
30
|
+
* 设置产品缓存数据(兼容旧接口)
|
|
31
|
+
* @param osKey - OS 实例的唯一标识
|
|
32
|
+
* @param data - 要缓存的数据
|
|
33
|
+
*/
|
|
34
|
+
export declare const setProductCache: <T = any>(osKey: string, data: T) => void;
|
|
35
|
+
/**
|
|
36
|
+
* 清除指定类型的缓存
|
|
37
|
+
* @param osKey - OS 实例的唯一标识
|
|
38
|
+
* @param cacheType - 缓存类型
|
|
39
|
+
*/
|
|
40
|
+
export declare const clearCache: (osKey: string, cacheType?: CacheType) => void;
|
|
41
|
+
/**
|
|
42
|
+
* 清除指定 osKey 的产品缓存(兼容旧接口)
|
|
43
|
+
* @param osKey - OS 实例的唯一标识
|
|
44
|
+
*/
|
|
45
|
+
export declare const clearProductCache: (osKey: string) => void;
|
|
46
|
+
/**
|
|
47
|
+
* 清除指定 osKey 的 BoardConfig 缓存
|
|
48
|
+
* @param osKey - OS 实例的唯一标识
|
|
49
|
+
*/
|
|
50
|
+
export declare const clearBoardConfigCache: (osKey: string) => void;
|
|
51
|
+
/**
|
|
52
|
+
* 清除指定 osKey 的所有类型缓存
|
|
53
|
+
* @param osKey - OS 实例的唯一标识
|
|
54
|
+
*/
|
|
55
|
+
export declare const clearAllCacheByOsKey: (osKey: string) => void;
|
|
56
|
+
/**
|
|
57
|
+
* 清除所有产品缓存
|
|
58
|
+
*/
|
|
59
|
+
export declare const clearAllProductCache: () => void;
|
|
60
|
+
/**
|
|
61
|
+
* 清除所有类型的缓存
|
|
62
|
+
*/
|
|
63
|
+
export declare const clearAllCache: () => void;
|
|
64
|
+
/**
|
|
65
|
+
* 获取 BoardConfig 缓存
|
|
66
|
+
* @param osKey - OS 实例的唯一标识
|
|
67
|
+
* @param maxAge - 缓存最大有效期(毫秒),默认不限制
|
|
68
|
+
*/
|
|
69
|
+
export declare const getBoardConfigCache: <T = any>(osKey: string, maxAge?: number) => T | null;
|
|
70
|
+
/**
|
|
71
|
+
* 设置 BoardConfig 缓存
|
|
72
|
+
* @param osKey - OS 实例的唯一标识
|
|
73
|
+
* @param data - 要缓存的数据
|
|
74
|
+
*/
|
|
75
|
+
export declare const setBoardConfigCache: <T = any>(osKey: string, data: T) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function useTranslationOriginal(): any;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.add-client': string;
|
|
4
|
+
'pisell2.text.change-client': string;
|
|
5
|
+
'pisell2.text.remove-client': string;
|
|
6
|
+
};
|
|
7
|
+
'zh-CN': {
|
|
8
|
+
'pisell2.text.add-client': string;
|
|
9
|
+
'pisell2.text.change-client': string;
|
|
10
|
+
'pisell2.text.remove-client': string;
|
|
11
|
+
};
|
|
12
|
+
'zh-HK': {
|
|
13
|
+
'pisell2.text.add-client': string;
|
|
14
|
+
'pisell2.text.change-client': string;
|
|
15
|
+
'pisell2.text.remove-client': string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import React, { ReactElement } from 'react';
|
|
2
|
+
export interface ClientData {
|
|
3
|
+
id: number;
|
|
4
|
+
shop_id: number;
|
|
5
|
+
display_name?: string;
|
|
6
|
+
nickname?: string;
|
|
7
|
+
email?: string;
|
|
8
|
+
phone?: string;
|
|
9
|
+
country_calling_code?: string;
|
|
10
|
+
channel?: string;
|
|
11
|
+
created_at: string;
|
|
12
|
+
updated_at: string;
|
|
13
|
+
waiver_form?: any;
|
|
14
|
+
avatar?: string;
|
|
15
|
+
birthday?: string;
|
|
16
|
+
address?: string;
|
|
17
|
+
tags?: string[];
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}
|
|
20
|
+
export declare type CardType = 'b1' | 'b2' | 'b5' | 'b9';
|
|
21
|
+
export declare type Direction = 'horizontal' | 'vertical';
|
|
22
|
+
export declare type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | number | string;
|
|
23
|
+
export declare type AvatarShape = 'circle' | 'square';
|
|
24
|
+
export interface AvatarConfig {
|
|
25
|
+
icon?: string;
|
|
26
|
+
shape?: AvatarShape;
|
|
27
|
+
borderRadius?: number | string;
|
|
28
|
+
size?: AvatarSize;
|
|
29
|
+
useTextAvatar?: boolean;
|
|
30
|
+
children?: string;
|
|
31
|
+
}
|
|
32
|
+
export interface StatusConfig {
|
|
33
|
+
color?: string;
|
|
34
|
+
}
|
|
35
|
+
export interface NameStyle {
|
|
36
|
+
fontSize?: number | string;
|
|
37
|
+
fontWeight?: number | string;
|
|
38
|
+
color?: string;
|
|
39
|
+
textDecoration?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface TagItem {
|
|
42
|
+
children: string;
|
|
43
|
+
color: string;
|
|
44
|
+
}
|
|
45
|
+
export interface TagConfig {
|
|
46
|
+
placement?: 'separate' | 'inline';
|
|
47
|
+
flexWrap?: 'nowrap' | 'wrap';
|
|
48
|
+
gap?: number | string;
|
|
49
|
+
}
|
|
50
|
+
export interface ExtraField {
|
|
51
|
+
label?: string;
|
|
52
|
+
value?: string;
|
|
53
|
+
isShowLabel?: boolean;
|
|
54
|
+
isShowValue?: boolean;
|
|
55
|
+
icon?: string;
|
|
56
|
+
iconSize?: number;
|
|
57
|
+
iconColor?: string;
|
|
58
|
+
}
|
|
59
|
+
export interface Slots {
|
|
60
|
+
top?: React.ReactNode;
|
|
61
|
+
bottom?: React.ReactNode;
|
|
62
|
+
left?: React.ReactNode;
|
|
63
|
+
right?: React.ReactNode;
|
|
64
|
+
}
|
|
65
|
+
export interface StyleConfig {
|
|
66
|
+
width?: number | string;
|
|
67
|
+
border?: 'solid' | 'unset';
|
|
68
|
+
borderWidth?: number | string;
|
|
69
|
+
borderColor?: string;
|
|
70
|
+
borderRadius?: number | string;
|
|
71
|
+
padding?: number | string;
|
|
72
|
+
[key: string]: any;
|
|
73
|
+
}
|
|
74
|
+
export interface FieldNames {
|
|
75
|
+
id?: string | ((data: any) => any);
|
|
76
|
+
name?: string | ((data: any) => any);
|
|
77
|
+
cover?: string | ((data: any) => any);
|
|
78
|
+
phone?: string | ((data: any) => any);
|
|
79
|
+
email?: string | ((data: any) => any);
|
|
80
|
+
birthday?: string | ((data: any) => any);
|
|
81
|
+
address?: string | ((data: any) => any);
|
|
82
|
+
tags?: string | ((data: any) => any);
|
|
83
|
+
[key: string]: string | ((data: any) => any) | undefined;
|
|
84
|
+
}
|
|
85
|
+
export interface DisplayConfig {
|
|
86
|
+
isShowAvatar?: boolean;
|
|
87
|
+
isShowName?: boolean;
|
|
88
|
+
isShowPhone?: boolean;
|
|
89
|
+
isShowEmail?: boolean;
|
|
90
|
+
isShowBirthday?: boolean;
|
|
91
|
+
isShowAddress?: boolean;
|
|
92
|
+
isShowTag?: boolean;
|
|
93
|
+
isShowStatus?: boolean;
|
|
94
|
+
}
|
|
95
|
+
export interface ClientCardProps extends DisplayConfig {
|
|
96
|
+
type?: CardType;
|
|
97
|
+
direction?: Direction;
|
|
98
|
+
dataSource?: ClientData | any;
|
|
99
|
+
fieldNames?: FieldNames;
|
|
100
|
+
style?: StyleConfig;
|
|
101
|
+
horizontalGap?: number | string;
|
|
102
|
+
verticalGap?: number | string;
|
|
103
|
+
avatar?: AvatarConfig;
|
|
104
|
+
status?: StatusConfig;
|
|
105
|
+
dropdown?: {
|
|
106
|
+
open?: boolean;
|
|
107
|
+
buttonProps?: {
|
|
108
|
+
icon?: ReactElement;
|
|
109
|
+
onClick?: (e: Event) => void;
|
|
110
|
+
style?: React.CSSProperties;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
defaultName?: string;
|
|
114
|
+
nameStyle?: NameStyle;
|
|
115
|
+
tags?: Array<TagItem | string>;
|
|
116
|
+
tag?: TagConfig;
|
|
117
|
+
extraFields?: ExtraField[];
|
|
118
|
+
slots?: Slots;
|
|
119
|
+
onAddClient?: () => void;
|
|
120
|
+
onChangeClient?: (data: ClientData) => void;
|
|
121
|
+
onRemoveClient?: (data: ClientData) => void;
|
|
122
|
+
onViewClient?: (data: ClientData) => void;
|
|
123
|
+
}
|
|
124
|
+
export interface ProcessedClientData {
|
|
125
|
+
id: any;
|
|
126
|
+
name: string;
|
|
127
|
+
cover?: string;
|
|
128
|
+
phone?: string;
|
|
129
|
+
email?: string;
|
|
130
|
+
birthday?: string;
|
|
131
|
+
address?: string;
|
|
132
|
+
tags?: string[];
|
|
133
|
+
[key: string]: any;
|
|
134
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface FieldMapping<T = any, R = any> {
|
|
2
|
+
[key: string]: string | ((data: T) => R) | undefined;
|
|
3
|
+
}
|
|
4
|
+
export declare function getFieldValue<T, R = any>(data: T, fieldKey: string): R | undefined;
|
|
5
|
+
export declare function getFieldValue<T, R = any>(data: T, fieldKey: string, mapping: FieldMapping<T, R>): R | undefined;
|
|
6
|
+
export declare const getAvatarText: (name: string) => string;
|
|
7
|
+
export declare const isWalkIn: (customer_id?: number | string) => boolean;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ReactNode, CSSProperties } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* 无限滚动组件的属性接口
|
|
4
|
+
*/
|
|
5
|
+
export interface InfiniteScrollProps {
|
|
6
|
+
/** 数据长度,用于判断是否需要加载更多 */
|
|
7
|
+
dataLength: number;
|
|
8
|
+
/** 加载更多数据的函数 */
|
|
9
|
+
next: () => void;
|
|
10
|
+
/** 是否还有更多数据 */
|
|
11
|
+
hasMore: boolean;
|
|
12
|
+
/** 加载中显示的组件 */
|
|
13
|
+
loader?: ReactNode;
|
|
14
|
+
/** 没有更多数据时显示的组件 */
|
|
15
|
+
endMessage?: ReactNode;
|
|
16
|
+
/** 滚动容器的高度 */
|
|
17
|
+
height?: number | string;
|
|
18
|
+
/** 滚动阈值,0-1之间的数值或像素值 */
|
|
19
|
+
scrollThreshold?: number | string;
|
|
20
|
+
/** 滚动事件回调 */
|
|
21
|
+
onScroll?: (event: Event) => void;
|
|
22
|
+
/** 自定义样式 */
|
|
23
|
+
style?: CSSProperties;
|
|
24
|
+
/** 自定义类名 */
|
|
25
|
+
className?: string;
|
|
26
|
+
/** 指定滚动容器的目标元素ID */
|
|
27
|
+
scrollableTarget?: string;
|
|
28
|
+
/** 子元素 */
|
|
29
|
+
children: ReactNode;
|
|
30
|
+
/** 是否反向滚动 */
|
|
31
|
+
inverse?: boolean;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* 滚动位置信息
|
|
35
|
+
*/
|
|
36
|
+
export interface ScrollPosition {
|
|
37
|
+
scrollTop: number;
|
|
38
|
+
scrollHeight: number;
|
|
39
|
+
clientHeight: number;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* 组件内部状态
|
|
43
|
+
*/
|
|
44
|
+
export interface InfiniteScrollState {
|
|
45
|
+
isLoading: boolean;
|
|
46
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.leave-empty-for-walk-in': string;
|
|
4
|
+
'pisell2.text.date-year-text': string;
|
|
5
|
+
'pisell2.text.date-month-text': string;
|
|
6
|
+
'pisell2.text.date-day-text': string;
|
|
7
|
+
'pisell2.text.gender': string;
|
|
8
|
+
'pisell2.text.gender.male': string;
|
|
9
|
+
'pisell2.text.gender.female': string;
|
|
10
|
+
'pisell2.text.birthday': string;
|
|
11
|
+
'pisell2.text.phone': string;
|
|
12
|
+
'pisell2.text.email': string;
|
|
13
|
+
'pisell2.text.lastname': string;
|
|
14
|
+
'pisell2.text.firstname': string;
|
|
15
|
+
'pisell2.text.email-error-message': string;
|
|
16
|
+
'pisell2.text.notes': string;
|
|
17
|
+
'pisell2.text.save': string;
|
|
18
|
+
'pisell2.text.save-and-select': string;
|
|
19
|
+
'pisell2.text.no-results-found': string;
|
|
20
|
+
'pisell2.text.create-new-client': string;
|
|
21
|
+
'pisell2.text.result-found': string;
|
|
22
|
+
'pisell2.text.personnel-list': string;
|
|
23
|
+
'pisell2.text.load-more': string;
|
|
24
|
+
'pisell2.text.add-client.confirm': string;
|
|
25
|
+
'pisell2.text.search-customer-by-phone-number': string;
|
|
26
|
+
'pisell2.text.create': string;
|
|
27
|
+
'pisell2.text.loading': string;
|
|
28
|
+
'pisell2.text.no-more-data': string;
|
|
29
|
+
'pisell2.text.client-search.name': string;
|
|
30
|
+
'pisell2.text.client-search.register-time': string;
|
|
31
|
+
'pisell2.text.client-search.phone': string;
|
|
32
|
+
'pisell2.text.client-search.email': string;
|
|
33
|
+
'pisell2.text.client-search.membership': string;
|
|
34
|
+
'pisell2.text.client-search.contact-info': string;
|
|
35
|
+
};
|
|
36
|
+
'zh-CN': {
|
|
37
|
+
'pisell2.text.leave-empty-for-walk-in': string;
|
|
38
|
+
'pisell2.text.date-year-text': string;
|
|
39
|
+
'pisell2.text.date-month-text': string;
|
|
40
|
+
'pisell2.text.date-day-text': string;
|
|
41
|
+
'pisell2.text.gender': string;
|
|
42
|
+
'pisell2.text.gender.male': string;
|
|
43
|
+
'pisell2.text.gender.female': string;
|
|
44
|
+
'pisell2.text.birthday': string;
|
|
45
|
+
'pisell2.text.phone': string;
|
|
46
|
+
'pisell2.text.email': string;
|
|
47
|
+
'pisell2.text.lastname': string;
|
|
48
|
+
'pisell2.text.firstname': string;
|
|
49
|
+
'pisell2.text.email-error-message': string;
|
|
50
|
+
'pisell2.text.notes': string;
|
|
51
|
+
'pisell2.text.save': string;
|
|
52
|
+
'pisell2.text.save-and-select': string;
|
|
53
|
+
'pisell2.text.no-results-found': string;
|
|
54
|
+
'pisell2.text.create-new-client': string;
|
|
55
|
+
'pisell2.text.result-found': string;
|
|
56
|
+
'pisell2.text.personnel-list': string;
|
|
57
|
+
'pisell2.text.add-client.confirm': string;
|
|
58
|
+
'pisell2.text.load-more': string;
|
|
59
|
+
'pisell2.text.search-customer-by-phone-number': string;
|
|
60
|
+
'pisell2.text.create': string;
|
|
61
|
+
'pisell2.text.loading': string;
|
|
62
|
+
'pisell2.text.no-more-data': string;
|
|
63
|
+
'pisell2.text.client-search.name': string;
|
|
64
|
+
'pisell2.text.client-search.register-time': string;
|
|
65
|
+
'pisell2.text.client-search.phone': string;
|
|
66
|
+
'pisell2.text.client-search.email': string;
|
|
67
|
+
'pisell2.text.client-search.membership': string;
|
|
68
|
+
'pisell2.text.client-search.contact-info': string;
|
|
69
|
+
};
|
|
70
|
+
'zh-HK': {
|
|
71
|
+
'pisell2.text.leave-empty-for-walk-in': string;
|
|
72
|
+
'pisell2.text.date-year-text': string;
|
|
73
|
+
'pisell2.text.date-month-text': string;
|
|
74
|
+
'pisell2.text.date-day-text': string;
|
|
75
|
+
'pisell2.text.gender': string;
|
|
76
|
+
'pisell2.text.gender.male': string;
|
|
77
|
+
'pisell2.text.gender.female': string;
|
|
78
|
+
'pisell2.text.birthday': string;
|
|
79
|
+
'pisell2.text.phone': string;
|
|
80
|
+
'pisell2.text.email': string;
|
|
81
|
+
'pisell2.text.lastname': string;
|
|
82
|
+
'pisell2.text.firstname': string;
|
|
83
|
+
'pisell2.text.email-error-message': string;
|
|
84
|
+
'pisell2.text.notes': string;
|
|
85
|
+
'pisell2.text.save': string;
|
|
86
|
+
'pisell2.text.save-and-select': string;
|
|
87
|
+
'pisell2.text.no-results-found': string;
|
|
88
|
+
'pisell2.text.create-new-client': string;
|
|
89
|
+
'pisell2.text.result-found': string;
|
|
90
|
+
'pisell2.text.personnel-list': string;
|
|
91
|
+
'pisell2.text.add-client.confirm': string;
|
|
92
|
+
'pisell2.text.load-more': string;
|
|
93
|
+
'pisell2.text.search-customer-by-phone-number': string;
|
|
94
|
+
'pisell2.text.create': string;
|
|
95
|
+
'pisell2.text.loading': string;
|
|
96
|
+
'pisell2.text.no-more-data': string;
|
|
97
|
+
'pisell2.text.client-search.name': string;
|
|
98
|
+
'pisell2.text.client-search.register-time': string;
|
|
99
|
+
'pisell2.text.client-search.phone': string;
|
|
100
|
+
'pisell2.text.client-search.email': string;
|
|
101
|
+
'pisell2.text.client-search.membership': string;
|
|
102
|
+
'pisell2.text.client-search.contact-info': string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
export default _default;
|