@pisell/private-materials 6.6.24 → 6.6.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +2 -2
- 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/Sales/Cart/utils.d.ts +63 -0
- package/es/components/Sales/Summary/utils.d.ts +51 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Voucher/index.js +22 -7
- package/es/components/appointmentBooking/locales.d.ts +363 -0
- package/es/components/booking/addons/index.js +3 -2
- package/es/components/booking/components/footer/amount.js +1 -1
- package/es/components/booking/components/footer/index.js +7 -0
- package/es/components/booking/components/footer/utils.d.ts +1 -1
- package/es/components/booking/components/footer/utils.js +7 -5
- package/es/components/booking/components/voucher/index.js +6 -0
- package/es/components/booking/components/voucher/index.less +4 -1
- package/es/components/booking/components/voucherModal/index.less +1 -0
- package/es/components/booking/dashboard/index.js +21 -5
- package/es/components/booking/editBookingModal/utils.d.ts +12 -0
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/es/components/booking/forms/serve.d.ts +18 -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/client/serve.d.ts +2 -0
- package/es/components/booking/info/dateRange/index.d.ts +0 -1
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +10 -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/pet/serve.d.ts +1 -0
- package/es/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/es/components/booking/info/service/serve.d.ts +34 -0
- package/es/components/booking/info/service2/utils.d.ts +1 -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/serve.d.ts +6 -0
- package/es/components/booking/info2/service/editService/index.js +33 -2
- package/es/components/booking/locales.d.ts +951 -0
- package/es/components/checkout/PaymentModal.js +42 -2
- package/es/components/checkout/components/AdditionalModule/locales.d.ts +36 -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/components/ConflictModal/index.d.ts +0 -1
- package/es/components/checkout/components/WalletPassModule/index.js +1 -0
- package/es/components/checkout/components/WalletPassModule/types.d.ts +134 -0
- package/es/components/checkout/components/WalletPassModule/utils.d.ts +1 -0
- package/es/components/checkout/components/WalletPassModule/utils.js +17 -3
- 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 +322 -194
- 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/eftposPay/aggregatePayment/index.d.ts +3 -0
- package/es/components/eftposPay/aggregatePayment/types.d.ts +106 -0
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/app.d.ts +0 -1
- package/es/components/eftposPay/component/fail/failCustom.js +1 -1
- package/es/components/eftposPay/const.d.ts +195 -0
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/huifu/hooks.d.ts +25 -0
- package/es/components/eftposPay/huifu/types.d.ts +14 -0
- package/es/components/eftposPay/locales.d.ts +366 -0
- package/es/components/eftposPay/manufacturer.d.ts +8 -0
- package/es/components/eftposPay/payo/payment.d.ts +66 -0
- package/es/components/eftposPay/store/index.d.ts +362 -0
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.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/pay/toB/components/CardGroup/index.d.ts +0 -1
- package/es/components/pay/toB/components/Content/utils.d.ts +16 -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/index.d.ts +3 -0
- package/es/components/pay/toB/store/provider.d.ts +4 -0
- package/es/components/pay/toB/types/index.d.ts +61 -0
- package/es/components/pay/toB/types/storeTypes.d.ts +143 -0
- package/es/components/pay/toC/PaymentList/utils.d.ts +36 -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/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/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +5 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +166 -145
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +6 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/utils.js +3 -3
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/es/components/pay/toC/WalletPassBlock/index.js +3 -1
- package/es/components/pay/toC/index.js +66 -27
- package/es/components/pay/toC/locales.d.ts +307 -0
- package/es/components/pay/toC/model.d.ts +1 -0
- package/es/components/pay/toC/serve.d.ts +18 -0
- package/es/components/pay/toC/serve.js +29 -1
- package/es/components/pay/toC/status.d.ts +13 -0
- package/es/components/pay/toC/utils.d.ts +2 -2
- package/es/components/pay/toC/utils.js +4 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/es/components/ruleSetting/locales.d.ts +48 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
- 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/docs/images/image-1.png +0 -0
- package/es/components/systemSettings/registry/components/docs/images/image-2.png +0 -0
- package/es/components/systemSettings/registry/components/docs/images/image-3.png +0 -0
- package/es/components/systemSettings/registry/components/docs/images/image-4.png +0 -0
- package/es/components/systemSettings/registry/components/docs/images/image-5.png +0 -0
- package/es/components/systemSettings/registry/components/docs/images/image-6.png +0 -0
- package/es/components/systemSettings/registry/components/docs/images/image-7.png +0 -0
- package/es/components/systemSettings/registry/components/docs/images/image-8.png +0 -0
- package/es/components/systemSettings/registry/components/docs/images/image.png +0 -0
- package/es/components/systemSettings/registry/locales.d.ts +272 -0
- package/es/components/systemSettings/registry/services.d.ts +77 -0
- package/es/components/systemSettings/registry/types.d.ts +126 -0
- package/es/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/es/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +7 -4
- 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/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/locales.d.ts +198 -0
- package/es/components/ticketBooking/utils/index.d.ts +1 -1
- package/es/components/ticketBooking/utils/productCache.d.ts +75 -0
- package/es/components/wallet/utils.d.ts +48 -0
- package/es/components/walletList/locales.d.ts +27 -0
- package/es/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/es/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/es/hooks/useEngineContext.d.ts +3 -0
- package/es/hooks/useLogger.d.ts +2 -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/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 +108 -0
- package/es/plus/clinetSearch/types.d.ts +70 -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/Action/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/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 +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -1
- 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/ProductList/gridComponents.d.ts +44 -0
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/es/plus/selectHolder/locales.d.ts +24 -0
- package/es/plus/selectHolder/types.d.ts +104 -0
- package/es/plus/selectHolder/utils.d.ts +9 -0
- package/es/plus/walletEditor/locales.d.ts +135 -0
- package/es/plus/walletPassGallery/locales.d.ts +285 -0
- package/es/plus/walletPassGallery/utils.d.ts +48 -0
- package/es/pro/Login2.0/shared/types.d.ts +232 -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/pisellPhoneKeyboard/locales.d.ts +12 -0
- package/es/pro/pisellPriceKeyboardModal/types.d.ts +25 -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/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/rightItems.d.ts +0 -1
- 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/Sales/Cart/utils.d.ts +63 -0
- package/lib/components/Sales/Summary/utils.d.ts +51 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Voucher/index.js +10 -2
- package/lib/components/appointmentBooking/locales.d.ts +363 -0
- package/lib/components/booking/addons/index.js +3 -2
- package/lib/components/booking/components/footer/amount.js +1 -1
- package/lib/components/booking/components/footer/index.js +9 -0
- package/lib/components/booking/components/footer/utils.d.ts +1 -1
- package/lib/components/booking/components/footer/utils.js +5 -3
- package/lib/components/booking/components/voucher/index.js +6 -0
- package/lib/components/booking/components/voucher/index.less +4 -1
- package/lib/components/booking/components/voucherModal/index.less +1 -0
- package/lib/components/booking/dashboard/index.js +11 -1
- package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/lib/components/booking/forms/serve.d.ts +18 -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/client/serve.d.ts +2 -0
- package/lib/components/booking/info/dateRange/index.d.ts +0 -1
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +10 -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/pet/serve.d.ts +1 -0
- package/lib/components/booking/info/service/addTimeModal/serve.d.ts +5 -0
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
- package/lib/components/booking/info/service/serve.d.ts +34 -0
- package/lib/components/booking/info/service2/utils.d.ts +1 -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/serve.d.ts +6 -0
- package/lib/components/booking/info2/service/editService/index.js +48 -24
- package/lib/components/booking/locales.d.ts +951 -0
- package/lib/components/checkout/PaymentModal.js +24 -1
- package/lib/components/checkout/components/AdditionalModule/locales.d.ts +36 -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/components/ConflictModal/index.d.ts +0 -1
- package/lib/components/checkout/components/WalletPassModule/index.js +1 -0
- package/lib/components/checkout/components/WalletPassModule/types.d.ts +134 -0
- package/lib/components/checkout/components/WalletPassModule/utils.d.ts +1 -0
- package/lib/components/checkout/components/WalletPassModule/utils.js +18 -2
- 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 +160 -107
- 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/eftposPay/aggregatePayment/index.d.ts +3 -0
- package/lib/components/eftposPay/aggregatePayment/types.d.ts +106 -0
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/app.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/failCustom.js +1 -1
- package/lib/components/eftposPay/const.d.ts +195 -0
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/huifu/hooks.d.ts +25 -0
- package/lib/components/eftposPay/huifu/types.d.ts +14 -0
- package/lib/components/eftposPay/locales.d.ts +366 -0
- package/lib/components/eftposPay/manufacturer.d.ts +8 -0
- package/lib/components/eftposPay/payo/payment.d.ts +66 -0
- package/lib/components/eftposPay/store/index.d.ts +362 -0
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.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/pay/toB/components/CardGroup/index.d.ts +0 -1
- package/lib/components/pay/toB/components/Content/utils.d.ts +16 -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/index.d.ts +3 -0
- package/lib/components/pay/toB/store/provider.d.ts +4 -0
- package/lib/components/pay/toB/types/index.d.ts +61 -0
- package/lib/components/pay/toB/types/storeTypes.d.ts +143 -0
- package/lib/components/pay/toC/PaymentList/utils.d.ts +36 -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/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/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.d.ts +5 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +90 -103
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +6 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/utils.js +2 -2
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
- package/lib/components/pay/toC/WalletPassBlock/index.js +3 -1
- package/lib/components/pay/toC/index.js +52 -11
- package/lib/components/pay/toC/locales.d.ts +307 -0
- package/lib/components/pay/toC/model.d.ts +1 -0
- package/lib/components/pay/toC/serve.d.ts +18 -0
- package/lib/components/pay/toC/serve.js +6 -0
- package/lib/components/pay/toC/status.d.ts +13 -0
- package/lib/components/pay/toC/utils.d.ts +2 -2
- package/lib/components/pay/toC/utils.js +4 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +0 -1
- package/lib/components/ruleSetting/locales.d.ts +48 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
- 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/docs/images/image-1.png +0 -0
- package/lib/components/systemSettings/registry/components/docs/images/image-2.png +0 -0
- package/lib/components/systemSettings/registry/components/docs/images/image-3.png +0 -0
- package/lib/components/systemSettings/registry/components/docs/images/image-4.png +0 -0
- package/lib/components/systemSettings/registry/components/docs/images/image-5.png +0 -0
- package/lib/components/systemSettings/registry/components/docs/images/image-6.png +0 -0
- package/lib/components/systemSettings/registry/components/docs/images/image-7.png +0 -0
- package/lib/components/systemSettings/registry/components/docs/images/image-8.png +0 -0
- package/lib/components/systemSettings/registry/components/docs/images/image.png +0 -0
- package/lib/components/systemSettings/registry/locales.d.ts +272 -0
- package/lib/components/systemSettings/registry/services.d.ts +77 -0
- package/lib/components/systemSettings/registry/types.d.ts +126 -0
- package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +16 -0
- package/lib/components/systemSettings/registry/utils/validators.d.ts +8 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +11 -7
- 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/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/locales.d.ts +198 -0
- package/lib/components/ticketBooking/utils/index.d.ts +1 -1
- package/lib/components/ticketBooking/utils/productCache.d.ts +75 -0
- package/lib/components/wallet/utils.d.ts +48 -0
- package/lib/components/walletList/locales.d.ts +27 -0
- package/lib/components/workSpaceList/components/AppearanceEdit/constants.d.ts +8 -0
- package/lib/components/workSpaceList/components/Card/constants.d.ts +2 -0
- package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +0 -1
- package/lib/hooks/useEngineContext.d.ts +3 -0
- package/lib/hooks/useLogger.d.ts +2 -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/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 +108 -0
- package/lib/plus/clinetSearch/types.d.ts +70 -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/Action/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/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 +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -1
- 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/ProductList/gridComponents.d.ts +44 -0
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +30 -0
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +0 -1
- package/lib/plus/selectHolder/locales.d.ts +24 -0
- package/lib/plus/selectHolder/types.d.ts +104 -0
- package/lib/plus/selectHolder/utils.d.ts +9 -0
- package/lib/plus/walletEditor/locales.d.ts +135 -0
- package/lib/plus/walletPassGallery/locales.d.ts +285 -0
- package/lib/plus/walletPassGallery/utils.d.ts +48 -0
- package/lib/pro/Login2.0/shared/types.d.ts +232 -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/pisellPhoneKeyboard/locales.d.ts +12 -0
- package/lib/pro/pisellPriceKeyboardModal/types.d.ts +25 -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/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/rightItems.d.ts +0 -1
- package/lib/pro/skuDetailModal/locales.d.ts +48 -0
- package/lib/pro/skuDetailModal/types.d.ts +348 -0
- package/lowcode/eco-cup-list/meta.ts +63 -0
- package/lowcode/eco-customer-list/meta.ts +63 -0
- package/package.json +4 -4
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export interface MultiLanguageText {
|
|
3
|
+
en: string;
|
|
4
|
+
'zh-CN': string;
|
|
5
|
+
'zh-HK': string;
|
|
6
|
+
original: string;
|
|
7
|
+
}
|
|
8
|
+
export interface BaseItem {
|
|
9
|
+
id: number;
|
|
10
|
+
name: string | MultiLanguageText;
|
|
11
|
+
code: string;
|
|
12
|
+
order?: number;
|
|
13
|
+
}
|
|
14
|
+
export interface SettingItem extends BaseItem {
|
|
15
|
+
key?: string;
|
|
16
|
+
scopes?: string[];
|
|
17
|
+
groupId?: number;
|
|
18
|
+
group_id?: number;
|
|
19
|
+
fieldType?: string;
|
|
20
|
+
type?: string;
|
|
21
|
+
interfaceType?: string;
|
|
22
|
+
interface?: string;
|
|
23
|
+
description?: string | MultiLanguageText;
|
|
24
|
+
systemDefaultValue?: string;
|
|
25
|
+
default?: string;
|
|
26
|
+
uiSchema?: string;
|
|
27
|
+
schema?: any;
|
|
28
|
+
title?: string | MultiLanguageText;
|
|
29
|
+
sort: number;
|
|
30
|
+
created_at?: string | null;
|
|
31
|
+
updated_at?: string | null;
|
|
32
|
+
deleted_at?: string | null;
|
|
33
|
+
}
|
|
34
|
+
export interface SettingGroup extends BaseItem {
|
|
35
|
+
items: SettingItem[];
|
|
36
|
+
expanded?: boolean;
|
|
37
|
+
sort: number;
|
|
38
|
+
}
|
|
39
|
+
export interface Section extends BaseItem {
|
|
40
|
+
icon?: string;
|
|
41
|
+
description?: string | MultiLanguageText;
|
|
42
|
+
groups: SettingGroup[];
|
|
43
|
+
created_at?: string | null;
|
|
44
|
+
updated_at?: string | null;
|
|
45
|
+
deleted_at?: string | null;
|
|
46
|
+
}
|
|
47
|
+
export interface TreeNode {
|
|
48
|
+
key: string;
|
|
49
|
+
type: 'group' | 'item';
|
|
50
|
+
data: SettingGroup | SettingItem;
|
|
51
|
+
children?: TreeNode[];
|
|
52
|
+
parentKey?: string;
|
|
53
|
+
}
|
|
54
|
+
export declare type OperationType = 'add' | 'edit' | 'delete';
|
|
55
|
+
export interface DragItem {
|
|
56
|
+
id: number;
|
|
57
|
+
type: 'group' | 'item';
|
|
58
|
+
groupId?: number;
|
|
59
|
+
}
|
|
60
|
+
export interface RegistryProps {
|
|
61
|
+
className?: string;
|
|
62
|
+
style?: CSSProperties;
|
|
63
|
+
sections?: Section[];
|
|
64
|
+
selectedSectionId?: number;
|
|
65
|
+
onSectionSelect?: (sectionId: number) => void;
|
|
66
|
+
onDataChange?: (sections: Section[]) => void;
|
|
67
|
+
}
|
|
68
|
+
export interface SectionListProps {
|
|
69
|
+
sections: Section[];
|
|
70
|
+
selectedSectionId?: number;
|
|
71
|
+
onSectionSelect: (sectionId: number) => void;
|
|
72
|
+
loading?: boolean;
|
|
73
|
+
hasMore?: boolean;
|
|
74
|
+
onLoadMore?: () => void;
|
|
75
|
+
}
|
|
76
|
+
export interface SettingsTableProps {
|
|
77
|
+
section?: Section;
|
|
78
|
+
groupList?: SettingGroup[];
|
|
79
|
+
groupLoading?: boolean;
|
|
80
|
+
onDataChange?: (section: Section) => void;
|
|
81
|
+
onEditGroup?: (group: SettingGroup) => void;
|
|
82
|
+
onDeleteGroup?: (groupId: number) => void;
|
|
83
|
+
onAddItem?: (groupId: number) => void;
|
|
84
|
+
onEditItem?: (item: SettingItem) => void;
|
|
85
|
+
onDeleteItem?: (itemId: number) => void;
|
|
86
|
+
onGroupReorder?: (groupIds: number[]) => void;
|
|
87
|
+
onItemMove?: (itemId: number, targetGroupId: number, newOrder: number) => void;
|
|
88
|
+
}
|
|
89
|
+
export interface GroupFormData {
|
|
90
|
+
title: MultiLanguageText;
|
|
91
|
+
code: string;
|
|
92
|
+
}
|
|
93
|
+
export interface ItemFormData {
|
|
94
|
+
name: MultiLanguageText;
|
|
95
|
+
key: string;
|
|
96
|
+
fieldType: string;
|
|
97
|
+
interfaceType?: string;
|
|
98
|
+
scopes: string[];
|
|
99
|
+
description?: MultiLanguageText;
|
|
100
|
+
default?: string | null;
|
|
101
|
+
uiSchema?: string;
|
|
102
|
+
}
|
|
103
|
+
export interface GroupModalProps {
|
|
104
|
+
open: boolean;
|
|
105
|
+
type: OperationType;
|
|
106
|
+
data?: SettingGroup;
|
|
107
|
+
onOk: (data: GroupFormData) => void | Promise<void>;
|
|
108
|
+
onCancel: () => void;
|
|
109
|
+
}
|
|
110
|
+
export interface ItemModalProps {
|
|
111
|
+
open: boolean;
|
|
112
|
+
type: OperationType;
|
|
113
|
+
data?: SettingItem;
|
|
114
|
+
section?: Section;
|
|
115
|
+
onOk: (data: ItemFormData) => void | Promise<void>;
|
|
116
|
+
onCancel: () => void;
|
|
117
|
+
}
|
|
118
|
+
export interface ApiResponse<T> {
|
|
119
|
+
data: T[];
|
|
120
|
+
meta: {
|
|
121
|
+
count: number;
|
|
122
|
+
page: number;
|
|
123
|
+
pageSize: number;
|
|
124
|
+
totalPage: number;
|
|
125
|
+
};
|
|
126
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 类型验证工具函数
|
|
3
|
+
* 用于验证默认值是否符合指定的字段类型
|
|
4
|
+
*/
|
|
5
|
+
export interface ValidationResult {
|
|
6
|
+
isValid: boolean;
|
|
7
|
+
error?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* 根据字段类型验证默认值
|
|
11
|
+
*/
|
|
12
|
+
export declare const validateDefaultValue: (fieldType: string, defaultValue: any) => ValidationResult;
|
|
13
|
+
/**
|
|
14
|
+
* 解析默认值为对应的类型
|
|
15
|
+
*/
|
|
16
|
+
export declare const parseDefaultValue: (fieldType: string, defaultValue: any) => any;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 产品展示配置类型定义
|
|
3
|
+
*/
|
|
4
|
+
import type { ProductCardConfig } from '../../../../plus/productSelect/ProductCard/SkuCard/type';
|
|
5
|
+
/** 预设配置的字符串键 */
|
|
6
|
+
export declare type ProductDisplayPresetKey = 'product-select' | 'sku-list-a1' | 'sku-list-a2' | 'sku-list-a5' | 'default';
|
|
7
|
+
/** ProductSelect 布局配置 */
|
|
8
|
+
export interface ProductSelectLayout {
|
|
9
|
+
grid: boolean;
|
|
10
|
+
config: string;
|
|
11
|
+
}
|
|
12
|
+
export declare type NumberBoolean = 0 | 1;
|
|
13
|
+
/** ProductSelect 列表设置 */
|
|
14
|
+
export interface ProductListSetting {
|
|
15
|
+
/** 是否显示产品封面 */
|
|
16
|
+
isProductCover?: NumberBoolean;
|
|
17
|
+
/** 是否显示标题 */
|
|
18
|
+
isTitle?: NumberBoolean;
|
|
19
|
+
/** 是否显示副标题 */
|
|
20
|
+
isSubtitle?: NumberBoolean;
|
|
21
|
+
/** 是否显示价格 */
|
|
22
|
+
isPrice?: NumberBoolean;
|
|
23
|
+
/** 是否显示原价 */
|
|
24
|
+
isOriginPrice?: NumberBoolean;
|
|
25
|
+
/** 是否显示库存 */
|
|
26
|
+
isStock?: NumberBoolean;
|
|
27
|
+
}
|
|
28
|
+
/** ProductSelect 模式配置 */
|
|
29
|
+
export interface ProductSelectConfig {
|
|
30
|
+
/** 是否显示搜索框 */
|
|
31
|
+
showSearch?: boolean;
|
|
32
|
+
/** 是否显示分类Tab */
|
|
33
|
+
showTab?: boolean;
|
|
34
|
+
/** 布局配置 */
|
|
35
|
+
layout?: ProductSelectLayout;
|
|
36
|
+
/** 产品列表设置 */
|
|
37
|
+
productListSetting?: ProductListSetting;
|
|
38
|
+
}
|
|
39
|
+
/** SkuCard 显示模式 */
|
|
40
|
+
export declare type SkuCardDisplayMode = 'display_a1' | 'display_a2' | 'display_a5' | 'display_a9' | 'display_custom';
|
|
41
|
+
/**
|
|
42
|
+
* SkuCard 配置
|
|
43
|
+
* 直接使用 ProductCardConfig 类型,保持类型同步
|
|
44
|
+
*
|
|
45
|
+
* @see packages/private-materials/src/plus/productSelect/ProductCard/SkuCard/type.ts ProductCardConfig
|
|
46
|
+
*/
|
|
47
|
+
export declare type SkuCardAllConfig = ProductCardConfig;
|
|
48
|
+
/** List 布局类型 */
|
|
49
|
+
export declare type ListLayoutType = 'grid' | 'list';
|
|
50
|
+
/** Tab 样式类型 */
|
|
51
|
+
export declare type TabStyleType = 'switch' | 'anchor' | 'none';
|
|
52
|
+
/** List 组件配置 */
|
|
53
|
+
export interface ListConfig {
|
|
54
|
+
/** 布局类型 */
|
|
55
|
+
layout?: ListLayoutType;
|
|
56
|
+
/** 列数 */
|
|
57
|
+
columns?: number;
|
|
58
|
+
/** 是否显示分页 */
|
|
59
|
+
showPagination?: boolean;
|
|
60
|
+
/** 是否显示Tab */
|
|
61
|
+
showTab?: boolean;
|
|
62
|
+
/** Tab 样式类型:switch-切换模式,anchor-锚点模式,none-不显示 */
|
|
63
|
+
tabStyle?: TabStyleType;
|
|
64
|
+
/** Tab 是否吸顶 */
|
|
65
|
+
stickyTop?: boolean;
|
|
66
|
+
/** Tab配置 */
|
|
67
|
+
tabConfig?: any;
|
|
68
|
+
/** 分页配置 */
|
|
69
|
+
paginationConfig?: any;
|
|
70
|
+
[key: string]: any;
|
|
71
|
+
}
|
|
72
|
+
/** SkuList 模式配置 */
|
|
73
|
+
export interface SkuListConfig {
|
|
74
|
+
/** List 组件配置 */
|
|
75
|
+
listConfig?: ListConfig;
|
|
76
|
+
/** SkuCard 配置 */
|
|
77
|
+
skuCardAllConfig?: SkuCardAllConfig;
|
|
78
|
+
}
|
|
79
|
+
/** 展示模式类型 */
|
|
80
|
+
export declare type DisplayMode = 'product-select' | 'sku-list';
|
|
81
|
+
/**
|
|
82
|
+
* 产品展示配置
|
|
83
|
+
* 用于配置化控制产品展示的方式
|
|
84
|
+
*/
|
|
85
|
+
export interface ProductDisplayConfig {
|
|
86
|
+
/** 展示模式 */
|
|
87
|
+
displayMode: DisplayMode;
|
|
88
|
+
/** ProductSelect 模式配置 */
|
|
89
|
+
productSelectConfig?: ProductSelectConfig;
|
|
90
|
+
/** SkuList 模式配置 */
|
|
91
|
+
skuListConfig?: SkuListConfig;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* 产品展示配置预设
|
|
95
|
+
* 支持通过字符串键或直接使用配置对象
|
|
96
|
+
*/
|
|
97
|
+
export declare const ProductDisplayPresets: Record<ProductDisplayPresetKey, ProductDisplayConfig>;
|
|
98
|
+
/**
|
|
99
|
+
* 兼容性:保持原有的导出方式
|
|
100
|
+
* @deprecated 建议使用 ProductDisplayPresets['product-select'] 或字符串键访问
|
|
101
|
+
*/
|
|
102
|
+
export declare const LegacyProductDisplayPresets: {
|
|
103
|
+
/** @deprecated 使用 ProductDisplayPresets['product-select'] */
|
|
104
|
+
DEFAULT_PRODUCT_SELECT: ProductDisplayConfig;
|
|
105
|
+
/** @deprecated 使用 ProductDisplayPresets['sku-list-a1'] */
|
|
106
|
+
DEFAULT_SKU_LIST_A1: ProductDisplayConfig;
|
|
107
|
+
/** @deprecated 使用 ProductDisplayPresets['sku-list-a2'] */
|
|
108
|
+
DEFAULT_SKU_LIST_A2: ProductDisplayConfig;
|
|
109
|
+
/** @deprecated 使用 ProductDisplayPresets['sku-list-a5'] */
|
|
110
|
+
DEFAULT_SKU_LIST_A5: ProductDisplayConfig;
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* 工具函数:将字符串键或配置对象解析为配置对象
|
|
114
|
+
*/
|
|
115
|
+
export declare function resolveProductDisplayConfig(config?: ProductDisplayPresetKey | ProductDisplayConfig): ProductDisplayConfig;
|
|
@@ -51,7 +51,7 @@ var productListSetting = {
|
|
|
51
51
|
isStock: 0
|
|
52
52
|
};
|
|
53
53
|
var AddSerivce = function AddSerivce(props) {
|
|
54
|
-
var _context$appHelper, _context$
|
|
54
|
+
var _context$appHelper, _context$appHelper2, _context$appHelper2$g, _context$appHelper$ut2, _context$appHelper$ut3, _context$appHelper$ut4, _state$bookingConfig2, _state$client2;
|
|
55
55
|
var onEdit = props.onEdit,
|
|
56
56
|
state = props.state,
|
|
57
57
|
dispatch = props.dispatch,
|
|
@@ -59,6 +59,8 @@ var AddSerivce = function AddSerivce(props) {
|
|
|
59
59
|
renderMode = _props$renderMode === void 0 ? 'current' : _props$renderMode,
|
|
60
60
|
productDisplayConfig = props.productDisplayConfig;
|
|
61
61
|
var context = useEngineContext();
|
|
62
|
+
var _context$appHelper$ut = (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.utils,
|
|
63
|
+
getData = _context$appHelper$ut.getData;
|
|
62
64
|
var notAvailableRef = useRef(null);
|
|
63
65
|
request.setRequest(context.appHelper.utils.request);
|
|
64
66
|
var isActive = useIsActive();
|
|
@@ -71,7 +73,7 @@ var AddSerivce = function AddSerivce(props) {
|
|
|
71
73
|
}),
|
|
72
74
|
createBookingData = _useService.createBookingData,
|
|
73
75
|
createBooking = _useService.createBooking;
|
|
74
|
-
var isBooking4 = isBooking4Shop(((_context$
|
|
76
|
+
var isBooking4 = isBooking4Shop(((_context$appHelper2 = context.appHelper) === null || _context$appHelper2 === void 0 || (_context$appHelper2 = _context$appHelper2.utils) === null || _context$appHelper2 === void 0 || (_context$appHelper2$g = _context$appHelper2.getData) === null || _context$appHelper2$g === void 0 ? void 0 : _context$appHelper2$g.call(_context$appHelper2, 'shop_id')) || ((_context$appHelper$ut2 = context.appHelper.utils.store) === null || _context$appHelper$ut2 === void 0 || (_context$appHelper$ut3 = _context$appHelper$ut2.getState) === null || _context$appHelper$ut3 === void 0 || (_context$appHelper$ut3 = _context$appHelper$ut3.call(_context$appHelper$ut2)) === null || _context$appHelper$ut3 === void 0 || (_context$appHelper$ut3 = _context$appHelper$ut3.global) === null || _context$appHelper$ut3 === void 0 || (_context$appHelper$ut3 = _context$appHelper$ut3.globalConfig) === null || _context$appHelper$ut3 === void 0 ? void 0 : _context$appHelper$ut3.id), state === null || state === void 0 ? void 0 : state.renderType, (_context$appHelper$ut4 = context.appHelper.utils) === null || _context$appHelper$ut4 === void 0 ? void 0 : _context$appHelper$ut4.businessUtils);
|
|
75
77
|
var _useState = useState(null),
|
|
76
78
|
_useState2 = _slicedToArray(_useState, 2),
|
|
77
79
|
currentProduct = _useState2[0],
|
|
@@ -219,7 +221,7 @@ var AddSerivce = function AddSerivce(props) {
|
|
|
219
221
|
var processAddService = useMemoizedFn( /*#__PURE__*/function () {
|
|
220
222
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(item, _detail, e, notShowToast, startDate, endDate) {
|
|
221
223
|
var _state$client3, _state$bookingConfig3, _state$bookingConfig4;
|
|
222
|
-
var other, cacheItem, _total, _isEdit, _stateRef$current$ser, isMultiDay, getMultiDayCacheItem, res, _state$bookingConfig5, _addService2, _list, quantity, _context$appHelper$
|
|
224
|
+
var other, cacheItem, _total, _isEdit, _stateRef$current$ser, isMultiDay, getMultiDayCacheItem, res, _state$bookingConfig5, _addService2, _list, quantity, _context$appHelper$ut5, _context$appHelper$ut6, val, sendData, _window$openBookingEd, _window;
|
|
223
225
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
224
226
|
while (1) switch (_context2.prev = _context2.next) {
|
|
225
227
|
case 0:
|
|
@@ -229,6 +231,7 @@ var AddSerivce = function AddSerivce(props) {
|
|
|
229
231
|
product_id: item.id,
|
|
230
232
|
_id: getUniqueId(),
|
|
231
233
|
_key: e.key,
|
|
234
|
+
is_price_include_tax: getData('is_price_include_tax'),
|
|
232
235
|
_extend: {
|
|
233
236
|
start_date: startDate,
|
|
234
237
|
quantity: (e === null || e === void 0 ? void 0 : e.quantity) || 1,
|
|
@@ -338,7 +341,7 @@ var AddSerivce = function AddSerivce(props) {
|
|
|
338
341
|
}
|
|
339
342
|
}));
|
|
340
343
|
try {
|
|
341
|
-
if (((_context$appHelper$
|
|
344
|
+
if (((_context$appHelper$ut5 = context.appHelper.utils.store) === null || _context$appHelper$ut5 === void 0 || (_context$appHelper$ut6 = _context$appHelper$ut5.getState) === null || _context$appHelper$ut6 === void 0 || (_context$appHelper$ut6 = _context$appHelper$ut6.call(_context$appHelper$ut5)) === null || _context$appHelper$ut6 === void 0 || (_context$appHelper$ut6 = _context$appHelper$ut6.global) === null || _context$appHelper$ut6 === void 0 || (_context$appHelper$ut6 = _context$appHelper$ut6.globalConfig) === null || _context$appHelper$ut6 === void 0 ? void 0 : _context$appHelper$ut6.id) === 2155) {
|
|
342
345
|
val = _list === null || _list === void 0 ? void 0 : _list.map(function (s) {
|
|
343
346
|
return {
|
|
344
347
|
product_id: s === null || s === void 0 ? void 0 : s.product_id,
|
|
File without changes
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* IsActive Context
|
|
4
|
+
* 用于在 TicketBooking 组件树中提供 isActive 状态
|
|
5
|
+
* isActive 用于标识当前组件是否处于激活状态
|
|
6
|
+
*/
|
|
7
|
+
interface IsActiveContextType {
|
|
8
|
+
/** 是否激活 */
|
|
9
|
+
isActive: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const IsActiveContext: React.Context<IsActiveContextType>;
|
|
12
|
+
interface IsActiveProviderProps {
|
|
13
|
+
isActive: boolean;
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* IsActive Provider
|
|
18
|
+
* 提供 isActive 给子组件使用
|
|
19
|
+
*/
|
|
20
|
+
export declare const IsActiveProvider: React.FC<IsActiveProviderProps>;
|
|
21
|
+
/**
|
|
22
|
+
* useIsActive Hook
|
|
23
|
+
* 在子组件中使用此 hook 获取 isActive 状态
|
|
24
|
+
*/
|
|
25
|
+
export declare const useIsActive: () => boolean;
|
|
26
|
+
export default IsActiveContext;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* OsKey Context
|
|
4
|
+
* 用于在 TicketBooking 组件树中提供 pisellos 的 osKey
|
|
5
|
+
* osKey 用于区分不同页面使用同一个组件时的模块标识
|
|
6
|
+
*/
|
|
7
|
+
interface OsKeyContextType {
|
|
8
|
+
/** pisellos 模块的唯一标识 */
|
|
9
|
+
osKey: string | undefined;
|
|
10
|
+
}
|
|
11
|
+
declare const OsKeyContext: React.Context<OsKeyContextType>;
|
|
12
|
+
interface OsKeyProviderProps {
|
|
13
|
+
osKey: string | undefined;
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* OsKey Provider
|
|
18
|
+
* 提供 osKey 给子组件使用
|
|
19
|
+
*/
|
|
20
|
+
export declare const OsKeyProvider: React.FC<OsKeyProviderProps>;
|
|
21
|
+
/**
|
|
22
|
+
* useOsKey Hook
|
|
23
|
+
* 在子组件中使用此 hook 获取 osKey
|
|
24
|
+
*/
|
|
25
|
+
export declare const useOsKey: () => string;
|
|
26
|
+
export default OsKeyContext;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* useActiveExecute Hook
|
|
3
|
+
* 返回一个函数,该函数接收一个回调函数,并返回一个包装后的函数
|
|
4
|
+
* 包装后的函数只在 isActive 为 true 时执行原始回调
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```tsx
|
|
8
|
+
* const { executeIfActive } = useActiveExecute();
|
|
9
|
+
*
|
|
10
|
+
* // 创建一个包装函数用于事件监听
|
|
11
|
+
* const handleChange = (data) => {
|
|
12
|
+
* console.log('data:', data);
|
|
13
|
+
* };
|
|
14
|
+
*
|
|
15
|
+
* // 返回的函数会在被调用时检查 isActive
|
|
16
|
+
* pisellos.effects.on('event', executeIfActive(handleChange));
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare const useActiveExecute: () => {
|
|
20
|
+
executeIfActive: <T extends (...args: any[]) => any>(fn: T) => T;
|
|
21
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ClientData } from '../../../booking/info2/cartClientCard/types';
|
|
2
|
+
export declare const useCustomer: (props: {
|
|
3
|
+
changeCustomerToGlobalState?: ((value: ClientData) => void) | undefined;
|
|
4
|
+
}) => {
|
|
5
|
+
customers: never[];
|
|
6
|
+
selectedCustomer: ClientData | null;
|
|
7
|
+
loading: boolean;
|
|
8
|
+
error: null;
|
|
9
|
+
pagination: {
|
|
10
|
+
page: number;
|
|
11
|
+
pageSize: number;
|
|
12
|
+
total: number;
|
|
13
|
+
};
|
|
14
|
+
loadCustomers: (params?: {
|
|
15
|
+
skip?: number;
|
|
16
|
+
num?: number;
|
|
17
|
+
search?: string;
|
|
18
|
+
}) => Promise<void>;
|
|
19
|
+
changePage: (page: number, pageSize: number) => Promise<void>;
|
|
20
|
+
selectCustomer: (customer: ClientData | null) => void;
|
|
21
|
+
addCustomerToFirst: (customer: ClientData) => void;
|
|
22
|
+
initLoad: (this: any, keyword: any, formId: number) => Promise<void>;
|
|
23
|
+
hasMore: boolean;
|
|
24
|
+
loadMore: () => Promise<void>;
|
|
25
|
+
};
|
|
@@ -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;
|
|
@@ -47,7 +47,7 @@ declare type ScanData = {
|
|
|
47
47
|
};
|
|
48
48
|
};
|
|
49
49
|
export declare const formatScanCustomer: (data: ScanData) => {
|
|
50
|
-
searchType: "
|
|
50
|
+
searchType: "product" | "customer" | "wallet" | "walletPass" | "local_product";
|
|
51
51
|
data: any;
|
|
52
52
|
scanCode: string;
|
|
53
53
|
} | null;
|