@pisell/private-materials 6.6.41 → 6.6.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +16 -16
- package/build/lowcode/render/default/view.js +7 -7
- package/build/lowcode/view.js +13 -13
- package/es/components/Sales/Cart/utils.d.ts +63 -0
- package/es/components/Sales/Checkout/utils.d.ts +41 -0
- package/es/components/Sales/Summary/index.d.ts +35 -0
- package/es/components/Sales/Summary/utils.d.ts +51 -0
- package/es/components/appointmentBooking/locales.d.ts +603 -0
- package/es/components/booking/components/voucher/utils.d.ts +5 -0
- package/es/components/booking/dashboard/serve.d.ts +2 -0
- package/es/components/booking/editBookingModal/utils.d.ts +12 -0
- 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 +7 -0
- package/es/components/booking/info/client/serve.d.ts +2 -0
- package/es/components/booking/info/hooks/useHolderConfig.d.ts +10 -0
- package/es/components/booking/info/index.d.ts +4 -0
- 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/constants.d.ts +1 -0
- package/es/components/booking/info/service/serve.d.ts +34 -0
- package/es/components/booking/info2/cartClientCard/locales.d.ts +33 -0
- package/es/components/booking/info2/serve.d.ts +6 -0
- package/es/components/booking/locales.d.ts +1619 -0
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/checkout/PaymentProvider.d.ts +13 -0
- package/es/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
- package/es/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
- package/es/components/checkout/components/PaymentResultToast/index.d.ts +9 -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 +11 -0
- package/es/components/checkout/components/WalletPassModule/components/DiscountWallet/DiscountTextMode.d.ts +7 -0
- package/es/components/checkout/components/WalletPassModule/components/WalletPassTextMode/index.d.ts +5 -0
- package/es/components/checkout/components/WalletPassModule/types.d.ts +134 -0
- package/es/components/checkout/constants.d.ts +2 -0
- package/es/components/checkout/export.d.ts +9 -0
- package/es/components/checkout/hooks/usePaymentLogger.d.ts +2 -0
- package/es/components/checkout/index.d.ts +5 -0
- package/es/components/checkout/locales.d.ts +853 -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/const.d.ts +64 -0
- package/es/components/eftpos/hooks.d.ts +33 -0
- package/es/components/eftpos/locales.d.ts +163 -0
- package/es/components/eftposPay/EFTPos.d.ts +14 -0
- package/es/components/eftposPay/aggregatePayment/index.d.ts +3 -0
- package/es/components/eftposPay/aggregatePayment/service.d.ts +24 -0
- package/es/components/eftposPay/aggregatePayment/types.d.ts +106 -0
- package/es/components/eftposPay/aggregatePayment/utils/payment.d.ts +139 -0
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/const.d.ts +195 -0
- package/es/components/eftposPay/device.d.ts +1 -1
- 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 +608 -0
- package/es/components/eftposPay/manufacturer.d.ts +8 -0
- package/es/components/eftposPay/serve.d.ts +16 -0
- package/es/components/eftposPay/store/index.d.ts +362 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +3 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +11 -0
- package/es/components/list/List.d.ts +5 -0
- package/es/components/list/ResponsiveWrapper.d.ts +16 -0
- package/es/components/list/TestResponsiveWrapper.d.ts +8 -0
- package/es/components/list/components/EmptyState/EmptyState.d.ts +20 -0
- package/es/components/list/components/EmptyState/index.d.ts +2 -0
- package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
- package/es/components/list/components/ListItemSkeleton/index.d.ts +2 -0
- package/es/components/list/components/Pagination/Pagination.d.ts +30 -0
- package/es/components/list/components/Pagination/index.d.ts +1 -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/examples/GroupedListExample.d.ts +3 -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/index.d.ts +10 -0
- package/es/components/list/locales.d.ts +108 -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 +8 -0
- package/es/components/pay/toB/components/Content/index.d.ts +4 -0
- package/es/components/pay/toB/components/Content/utils.d.ts +16 -0
- package/es/components/pay/toB/components/EFTPOS/index.d.ts +8 -0
- package/es/components/pay/toB/components/index.d.ts +5 -0
- package/es/components/pay/toB/hooks.d.ts +12 -0
- package/es/components/pay/toB/locales.d.ts +88 -0
- package/es/components/pay/toB/paymentMethods/index.d.ts +11 -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/GlobePayAliPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -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 +4 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
- package/es/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/es/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/es/components/ruleSetting/locales.d.ts +78 -0
- package/es/components/schedules/locales.d.ts +143 -0
- package/es/components/shoppingCart/Provider.d.ts +3 -0
- package/es/components/shoppingCart/locales.d.ts +58 -0
- package/es/components/shoppingCart/mock.d.ts +40 -0
- package/es/components/shoppingCart/type.d.ts +50 -0
- package/es/components/shoppingCart/utils.d.ts +63 -0
- package/es/components/subTotal/locales.d.ts +68 -0
- package/es/components/systemSettings/registry/locales.d.ts +456 -0
- package/es/components/systemSettings/registry/services.d.ts +77 -0
- package/es/components/systemSettings/registry/types.d.ts +128 -0
- package/es/components/taxSelect/locales.d.ts +38 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +9 -0
- package/es/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +7 -0
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +6 -0
- package/es/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +14 -0
- package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/es/components/ticketBooking/components/floatButtons/index.d.ts +11 -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/useProducts.d.ts +12 -0
- package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
- package/es/components/ticketBooking/locales.d.ts +328 -0
- package/es/components/ticketBooking/serve.d.ts +288 -0
- package/es/components/ticketBooking/utils/productCache.d.ts +75 -0
- package/es/components/walletList/serve.d.ts +43 -0
- package/es/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +11 -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/SearchBar/index.d.ts +17 -0
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +4 -0
- package/es/components/workSpaceList/components/Sort/index.d.ts +7 -0
- package/es/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
- package/es/hooks/index.d.ts +10 -0
- package/es/hooks/useEngineContext.d.ts +3 -0
- package/es/hooks/useLocale.d.ts +2 -0
- package/es/hooks/useLogger.d.ts +2 -0
- package/es/hooks/useModal.d.ts +35 -0
- package/es/hooks/useModal.example.d.ts +12 -0
- package/es/hooks/useModal.integration.example.d.ts +15 -0
- package/es/hooks/useToast.d.ts +2 -0
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/es/plus/noteModal/locales.d.ts +53 -0
- package/es/plus/noteModal/types.d.ts +19 -0
- package/es/plus/productSelect/CategoryTabs/index.d.ts +20 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +8 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +5 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +7 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +4 -0
- package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +9 -0
- package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +164 -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/productSelect/components/pisellPriceText/index.d.ts +14 -0
- package/es/plus/saasAttendance/locales.d.ts +528 -0
- package/es/plus/saasAttendance/settings/types.d.ts +130 -0
- package/es/plus/selectHolder/locales.d.ts +38 -0
- package/es/plus/walletPassGallery/components/passDetail/index.js +3 -3
- package/es/plus/walletPassGallery/components/timelineSection/index.js +6 -1
- package/es/pro/Login2.0/locales.d.ts +903 -0
- package/es/pro/Login2.0/shared/types.d.ts +234 -0
- package/es/pro/NumberKeyboardPopover/index.d.ts +36 -0
- package/es/pro/NumberKeyboardPopover/types.d.ts +31 -0
- package/es/pro/multiDayTimeSelect/index.d.ts +3 -0
- package/es/pro/multiDayTimeSelect/types.d.ts +28 -0
- package/es/pro/pisellNumberSelector/example.d.ts +3 -0
- package/es/pro/pisellPriceKeyboardModal/index.d.ts +2 -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/pisellPriceRadio/index.d.ts +26 -0
- package/es/pro/pisellSimplePriceKeyboardPopover/index.d.ts +2 -0
- package/es/pro/pisellSimplePriceKeyboardPopover/types.d.ts +33 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
- package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
- package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
- package/es/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
- package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
- package/es/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +39 -0
- package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
- package/es/pro/priceKeyboard/hooks/rightItems.d.ts +28 -0
- package/es/pro/priceKeyboard/index.d.ts +3 -0
- package/es/pro/skuDetailModal/locales.d.ts +78 -0
- package/es/pro/skuDetailModal/types.d.ts +352 -0
- package/lib/components/Sales/Cart/utils.d.ts +63 -0
- package/lib/components/Sales/Checkout/utils.d.ts +41 -0
- package/lib/components/Sales/Summary/index.d.ts +35 -0
- package/lib/components/Sales/Summary/utils.d.ts +51 -0
- package/lib/components/appointmentBooking/locales.d.ts +603 -0
- package/lib/components/booking/components/voucher/utils.d.ts +5 -0
- package/lib/components/booking/dashboard/serve.d.ts +2 -0
- package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
- 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 +7 -0
- package/lib/components/booking/info/client/serve.d.ts +2 -0
- package/lib/components/booking/info/hooks/useHolderConfig.d.ts +10 -0
- package/lib/components/booking/info/index.d.ts +4 -0
- 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/constants.d.ts +1 -0
- package/lib/components/booking/info/service/serve.d.ts +34 -0
- package/lib/components/booking/info2/cartClientCard/locales.d.ts +33 -0
- package/lib/components/booking/info2/serve.d.ts +6 -0
- package/lib/components/booking/locales.d.ts +1619 -0
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/checkout/PaymentProvider.d.ts +13 -0
- package/lib/components/checkout/components/AdditionalModule/locales.d.ts +58 -0
- package/lib/components/checkout/components/PaymentResultToast/PaymentResultToastProvider.d.ts +85 -0
- package/lib/components/checkout/components/PaymentResultToast/index.d.ts +9 -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 +11 -0
- package/lib/components/checkout/components/WalletPassModule/components/DiscountWallet/DiscountTextMode.d.ts +7 -0
- package/lib/components/checkout/components/WalletPassModule/components/WalletPassTextMode/index.d.ts +5 -0
- package/lib/components/checkout/components/WalletPassModule/types.d.ts +134 -0
- package/lib/components/checkout/constants.d.ts +2 -0
- package/lib/components/checkout/export.d.ts +9 -0
- package/lib/components/checkout/hooks/usePaymentLogger.d.ts +2 -0
- package/lib/components/checkout/index.d.ts +5 -0
- package/lib/components/checkout/locales.d.ts +853 -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/const.d.ts +64 -0
- package/lib/components/eftpos/hooks.d.ts +33 -0
- package/lib/components/eftpos/locales.d.ts +163 -0
- package/lib/components/eftposPay/EFTPos.d.ts +14 -0
- package/lib/components/eftposPay/aggregatePayment/index.d.ts +3 -0
- package/lib/components/eftposPay/aggregatePayment/service.d.ts +24 -0
- package/lib/components/eftposPay/aggregatePayment/types.d.ts +106 -0
- package/lib/components/eftposPay/aggregatePayment/utils/payment.d.ts +139 -0
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/const.d.ts +195 -0
- package/lib/components/eftposPay/device.d.ts +1 -1
- 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 +608 -0
- package/lib/components/eftposPay/manufacturer.d.ts +8 -0
- package/lib/components/eftposPay/serve.d.ts +16 -0
- package/lib/components/eftposPay/store/index.d.ts +362 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +3 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +11 -0
- package/lib/components/list/List.d.ts +5 -0
- package/lib/components/list/ResponsiveWrapper.d.ts +16 -0
- package/lib/components/list/TestResponsiveWrapper.d.ts +8 -0
- package/lib/components/list/components/EmptyState/EmptyState.d.ts +20 -0
- package/lib/components/list/components/EmptyState/index.d.ts +2 -0
- package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -0
- package/lib/components/list/components/ListItemSkeleton/index.d.ts +2 -0
- package/lib/components/list/components/Pagination/Pagination.d.ts +30 -0
- package/lib/components/list/components/Pagination/index.d.ts +1 -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/examples/GroupedListExample.d.ts +3 -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/index.d.ts +10 -0
- package/lib/components/list/locales.d.ts +108 -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 +8 -0
- package/lib/components/pay/toB/components/Content/index.d.ts +4 -0
- package/lib/components/pay/toB/components/Content/utils.d.ts +16 -0
- package/lib/components/pay/toB/components/EFTPOS/index.d.ts +8 -0
- package/lib/components/pay/toB/components/index.d.ts +5 -0
- package/lib/components/pay/toB/hooks.d.ts +12 -0
- package/lib/components/pay/toB/locales.d.ts +88 -0
- package/lib/components/pay/toB/paymentMethods/index.d.ts +11 -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/GlobePayAliPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayPaypalH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayQrcode/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayWxH5/serve.d.ts +2 -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 +4 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayWxPayH5/serve.d.ts +2 -0
- package/lib/components/pay/toC/PaymentMethods/WalletPass/serve.d.ts +155 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/serve.d.ts +3 -0
- package/lib/components/pisellSelectCustomerModal/locales.d.ts +133 -0
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/lib/components/ruleSetting/locales.d.ts +78 -0
- package/lib/components/schedules/locales.d.ts +143 -0
- package/lib/components/shoppingCart/Provider.d.ts +3 -0
- package/lib/components/shoppingCart/locales.d.ts +58 -0
- package/lib/components/shoppingCart/mock.d.ts +40 -0
- package/lib/components/shoppingCart/type.d.ts +50 -0
- package/lib/components/shoppingCart/utils.d.ts +63 -0
- package/lib/components/subTotal/locales.d.ts +68 -0
- package/lib/components/systemSettings/registry/locales.d.ts +456 -0
- package/lib/components/systemSettings/registry/services.d.ts +77 -0
- package/lib/components/systemSettings/registry/types.d.ts +128 -0
- package/lib/components/taxSelect/locales.d.ts +38 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +115 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +9 -0
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingDashboard/index.d.ts +7 -0
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +6 -0
- package/lib/components/ticketBooking/components/bookingDataPanel/pisellFloatingPanel/index.d.ts +14 -0
- package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/lib/components/ticketBooking/components/floatButtons/index.d.ts +11 -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/useProducts.d.ts +12 -0
- package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +6 -0
- package/lib/components/ticketBooking/locales.d.ts +328 -0
- package/lib/components/ticketBooking/serve.d.ts +288 -0
- package/lib/components/ticketBooking/utils/productCache.d.ts +75 -0
- package/lib/components/walletList/serve.d.ts +43 -0
- package/lib/components/workSpaceList/components/AppearanceEdit/IconPanel.d.ts +11 -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/SearchBar/index.d.ts +17 -0
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +4 -0
- package/lib/components/workSpaceList/components/Sort/index.d.ts +7 -0
- package/lib/components/workSpaceList/components/WorkspaceItem/index.d.ts +22 -0
- package/lib/hooks/index.d.ts +10 -0
- package/lib/hooks/useEngineContext.d.ts +3 -0
- package/lib/hooks/useLocale.d.ts +2 -0
- package/lib/hooks/useLogger.d.ts +2 -0
- package/lib/hooks/useModal.d.ts +35 -0
- package/lib/hooks/useModal.example.d.ts +12 -0
- package/lib/hooks/useModal.integration.example.d.ts +15 -0
- package/lib/hooks/useToast.d.ts +2 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +46 -0
- package/lib/plus/noteModal/locales.d.ts +53 -0
- package/lib/plus/noteModal/types.d.ts +19 -0
- package/lib/plus/productSelect/CategoryTabs/index.d.ts +20 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +8 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +5 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +7 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +4 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +9 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +68 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +164 -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/productSelect/components/pisellPriceText/index.d.ts +14 -0
- package/lib/plus/saasAttendance/locales.d.ts +528 -0
- package/lib/plus/saasAttendance/settings/types.d.ts +130 -0
- package/lib/plus/selectHolder/locales.d.ts +38 -0
- package/lib/plus/walletPassGallery/components/timelineSection/index.js +15 -8
- package/lib/pro/Login2.0/locales.d.ts +903 -0
- package/lib/pro/Login2.0/shared/types.d.ts +234 -0
- package/lib/pro/NumberKeyboardPopover/index.d.ts +36 -0
- package/lib/pro/NumberKeyboardPopover/types.d.ts +31 -0
- package/lib/pro/multiDayTimeSelect/index.d.ts +3 -0
- package/lib/pro/multiDayTimeSelect/types.d.ts +28 -0
- package/lib/pro/pisellNumberSelector/example.d.ts +3 -0
- package/lib/pro/pisellPriceKeyboardModal/index.d.ts +2 -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/pisellPriceRadio/index.d.ts +26 -0
- package/lib/pro/pisellSimplePriceKeyboardPopover/index.d.ts +2 -0
- package/lib/pro/pisellSimplePriceKeyboardPopover/types.d.ts +33 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +63 -0
- package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +98 -0
- package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +68 -0
- package/lib/pro/priceKeyboard/components/discountKeyboard/types.d.ts +17 -0
- package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +73 -0
- package/lib/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +39 -0
- package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +18 -0
- package/lib/pro/priceKeyboard/hooks/rightItems.d.ts +28 -0
- package/lib/pro/priceKeyboard/index.d.ts +3 -0
- package/lib/pro/skuDetailModal/locales.d.ts +78 -0
- package/lib/pro/skuDetailModal/types.d.ts +352 -0
- package/package.json +2 -2
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'discount-keyboard-price-override': string;
|
|
4
|
+
'discount-keyboard-discount': string;
|
|
5
|
+
'discount-keyboard-amount': string;
|
|
6
|
+
'discount-keyboard-percentage': string;
|
|
7
|
+
'discount-keyboard-max-discount': string;
|
|
8
|
+
'discount-keyboard-discount-amount': string;
|
|
9
|
+
'discount-keyboard-total': string;
|
|
10
|
+
'discount-keyboard-payable': string;
|
|
11
|
+
'discount-keyboard-reset': string;
|
|
12
|
+
'discount-keyboard-done': string;
|
|
13
|
+
'discount-keyboard-pay': string;
|
|
14
|
+
};
|
|
15
|
+
'zh-CN': {
|
|
16
|
+
'discount-keyboard-price-override': string;
|
|
17
|
+
'discount-keyboard-discount': string;
|
|
18
|
+
'discount-keyboard-amount': string;
|
|
19
|
+
'discount-keyboard-percentage': string;
|
|
20
|
+
'discount-keyboard-max-discount': string;
|
|
21
|
+
'discount-keyboard-discount-amount': string;
|
|
22
|
+
'discount-keyboard-total': string;
|
|
23
|
+
'discount-keyboard-payable': string;
|
|
24
|
+
'discount-keyboard-reset': string;
|
|
25
|
+
'discount-keyboard-done': string;
|
|
26
|
+
'discount-keyboard-pay': string;
|
|
27
|
+
};
|
|
28
|
+
'zh-HK': {
|
|
29
|
+
'discount-keyboard-price-override': string;
|
|
30
|
+
'discount-keyboard-discount': string;
|
|
31
|
+
'discount-keyboard-amount': string;
|
|
32
|
+
'discount-keyboard-percentage': string;
|
|
33
|
+
'discount-keyboard-max-discount': string;
|
|
34
|
+
'discount-keyboard-discount-amount': string;
|
|
35
|
+
'discount-keyboard-total': string;
|
|
36
|
+
'discount-keyboard-payable': string;
|
|
37
|
+
'discount-keyboard-reset': string;
|
|
38
|
+
'discount-keyboard-done': string;
|
|
39
|
+
'discount-keyboard-pay': string;
|
|
40
|
+
};
|
|
41
|
+
ja: {
|
|
42
|
+
'discount-keyboard-price-override': string;
|
|
43
|
+
'discount-keyboard-discount': string;
|
|
44
|
+
'discount-keyboard-amount': string;
|
|
45
|
+
'discount-keyboard-percentage': string;
|
|
46
|
+
'discount-keyboard-max-discount': string;
|
|
47
|
+
'discount-keyboard-discount-amount': string;
|
|
48
|
+
'discount-keyboard-total': string;
|
|
49
|
+
'discount-keyboard-payable': string;
|
|
50
|
+
'discount-keyboard-reset': string;
|
|
51
|
+
'discount-keyboard-done': string;
|
|
52
|
+
'discount-keyboard-pay': string;
|
|
53
|
+
};
|
|
54
|
+
pt: {
|
|
55
|
+
'discount-keyboard-price-override': string;
|
|
56
|
+
'discount-keyboard-discount': string;
|
|
57
|
+
'discount-keyboard-amount': string;
|
|
58
|
+
'discount-keyboard-percentage': string;
|
|
59
|
+
'discount-keyboard-max-discount': string;
|
|
60
|
+
'discount-keyboard-discount-amount': string;
|
|
61
|
+
'discount-keyboard-total': string;
|
|
62
|
+
'discount-keyboard-payable': string;
|
|
63
|
+
'discount-keyboard-reset': string;
|
|
64
|
+
'discount-keyboard-done': string;
|
|
65
|
+
'discount-keyboard-pay': string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface DiscountKeyboardBaseProps {
|
|
2
|
+
/** 金额符 */
|
|
3
|
+
amountSymbol?: string;
|
|
4
|
+
/** 初始值,多用于展示及计算,不同于原始值 */
|
|
5
|
+
defaultValue?: string | number;
|
|
6
|
+
/** 原始值,多用于重置 */
|
|
7
|
+
originalValue?: string | number;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
doneText?: string;
|
|
10
|
+
resetText?: string;
|
|
11
|
+
/** 键盘主题 */
|
|
12
|
+
selectType?: 'light' | 'dark';
|
|
13
|
+
onEnter?: (val: string) => void;
|
|
14
|
+
onReset?: () => void;
|
|
15
|
+
onChange?: (val: string) => void;
|
|
16
|
+
enableExceedMaxAmount?: boolean;
|
|
17
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'payment-keyboard-payment': string;
|
|
4
|
+
'payment-keyboard-surcharge': string;
|
|
5
|
+
'payment-keyboard-percent': string;
|
|
6
|
+
'payment-keyboard-fixed': string;
|
|
7
|
+
'payment-keyboard-max': string;
|
|
8
|
+
'payment-keyboard-remaining': string;
|
|
9
|
+
'payment-keyboard-change-due': string;
|
|
10
|
+
'payment-keyboard-total-amount-due': string;
|
|
11
|
+
'payment-keyboard-inc-surcharge': string;
|
|
12
|
+
'payment-keyboard-reset': string;
|
|
13
|
+
'payment-keyboard-done': string;
|
|
14
|
+
'payment-keyboard-pay': string;
|
|
15
|
+
};
|
|
16
|
+
'zh-CN': {
|
|
17
|
+
'payment-keyboard-payment': string;
|
|
18
|
+
'payment-keyboard-surcharge': string;
|
|
19
|
+
'payment-keyboard-percent': string;
|
|
20
|
+
'payment-keyboard-change-due': string;
|
|
21
|
+
'payment-keyboard-fixed': string;
|
|
22
|
+
'payment-keyboard-max': string;
|
|
23
|
+
'payment-keyboard-remaining': string;
|
|
24
|
+
'payment-keyboard-total-amount-due': string;
|
|
25
|
+
'payment-keyboard-inc-surcharge': string;
|
|
26
|
+
'payment-keyboard-reset': string;
|
|
27
|
+
'payment-keyboard-done': string;
|
|
28
|
+
'payment-keyboard-pay': string;
|
|
29
|
+
};
|
|
30
|
+
'zh-HK': {
|
|
31
|
+
'payment-keyboard-payment': string;
|
|
32
|
+
'payment-keyboard-surcharge': string;
|
|
33
|
+
'payment-keyboard-percent': string;
|
|
34
|
+
'payment-keyboard-fixed': string;
|
|
35
|
+
'payment-keyboard-max': string;
|
|
36
|
+
'payment-keyboard-remaining': string;
|
|
37
|
+
'payment-keyboard-change-due': string;
|
|
38
|
+
'payment-keyboard-total-amount-due': string;
|
|
39
|
+
'payment-keyboard-inc-surcharge': string;
|
|
40
|
+
'payment-keyboard-reset': string;
|
|
41
|
+
'payment-keyboard-done': string;
|
|
42
|
+
'payment-keyboard-pay': string;
|
|
43
|
+
};
|
|
44
|
+
ja: {
|
|
45
|
+
'payment-keyboard-payment': string;
|
|
46
|
+
'payment-keyboard-surcharge': string;
|
|
47
|
+
'payment-keyboard-percent': string;
|
|
48
|
+
'payment-keyboard-fixed': string;
|
|
49
|
+
'payment-keyboard-max': string;
|
|
50
|
+
'payment-keyboard-remaining': string;
|
|
51
|
+
'payment-keyboard-change-due': string;
|
|
52
|
+
'payment-keyboard-total-amount-due': string;
|
|
53
|
+
'payment-keyboard-inc-surcharge': string;
|
|
54
|
+
'payment-keyboard-reset': string;
|
|
55
|
+
'payment-keyboard-done': string;
|
|
56
|
+
'payment-keyboard-pay': string;
|
|
57
|
+
};
|
|
58
|
+
pt: {
|
|
59
|
+
'payment-keyboard-payment': string;
|
|
60
|
+
'payment-keyboard-surcharge': string;
|
|
61
|
+
'payment-keyboard-percent': string;
|
|
62
|
+
'payment-keyboard-fixed': string;
|
|
63
|
+
'payment-keyboard-max': string;
|
|
64
|
+
'payment-keyboard-remaining': string;
|
|
65
|
+
'payment-keyboard-change-due': string;
|
|
66
|
+
'payment-keyboard-total-amount-due': string;
|
|
67
|
+
'payment-keyboard-inc-surcharge': string;
|
|
68
|
+
'payment-keyboard-reset': string;
|
|
69
|
+
'payment-keyboard-done': string;
|
|
70
|
+
'payment-keyboard-pay': string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare type SurchargeValue = {
|
|
2
|
+
percent?: string;
|
|
3
|
+
fixed?: string;
|
|
4
|
+
};
|
|
5
|
+
export interface PaymentKeyboardBaseProps {
|
|
6
|
+
/** 自定义支付允许超出最大值, EFTPOS不允许 */
|
|
7
|
+
enableExceedMaxAmount?: boolean;
|
|
8
|
+
/** payment 原始值 */
|
|
9
|
+
paymentOriginalValue?: string;
|
|
10
|
+
/** payment 当前值 */
|
|
11
|
+
paymentValue?: string;
|
|
12
|
+
/** payment 默认值, 非受控 */
|
|
13
|
+
paymentDefaultValue?: string;
|
|
14
|
+
/** surcharge 原始值 */
|
|
15
|
+
surchargeOriginalValue?: SurchargeValue;
|
|
16
|
+
/** surcharge 当前值 */
|
|
17
|
+
surchargeValue?: SurchargeValue;
|
|
18
|
+
/** surcharge 默认值, 非受控 */
|
|
19
|
+
surchargeDefaultValue?: SurchargeValue;
|
|
20
|
+
onReset?: () => void;
|
|
21
|
+
onPay?: (args: {
|
|
22
|
+
surcharge: SurchargeValue;
|
|
23
|
+
amount: string;
|
|
24
|
+
}) => void;
|
|
25
|
+
onChange?: (v: string | SurchargeValue) => void;
|
|
26
|
+
payment?: {
|
|
27
|
+
enable?: boolean;
|
|
28
|
+
};
|
|
29
|
+
surcharge?: {
|
|
30
|
+
enable?: boolean;
|
|
31
|
+
};
|
|
32
|
+
title?: {
|
|
33
|
+
text?: string;
|
|
34
|
+
};
|
|
35
|
+
subTitle?: {
|
|
36
|
+
text?: string;
|
|
37
|
+
};
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export declare type ShortcutsItem = {
|
|
4
|
+
label: string;
|
|
5
|
+
value: number | string;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
onClick?: (item: ShortcutsItem, _next: () => void) => void;
|
|
8
|
+
render?: (item: ShortcutsItem) => React.ReactNode;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
};
|
|
11
|
+
export interface ShortcutsProps {
|
|
12
|
+
presets?: ShortcutsItem[];
|
|
13
|
+
onChange?: (val: string) => void;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
size?: 'default' | 'large';
|
|
16
|
+
}
|
|
17
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<ShortcutsProps & React.RefAttributes<HTMLDivElement>>>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const useRightItems: (props: {
|
|
3
|
+
rightItemsStyle?: any;
|
|
4
|
+
doneText?: string;
|
|
5
|
+
resetText?: string;
|
|
6
|
+
}) => ({
|
|
7
|
+
value: string;
|
|
8
|
+
label: React.JSX.Element;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
type: string;
|
|
11
|
+
style: any;
|
|
12
|
+
size?: undefined;
|
|
13
|
+
} | {
|
|
14
|
+
value: string;
|
|
15
|
+
label: string;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
type: string;
|
|
18
|
+
style: any;
|
|
19
|
+
size?: undefined;
|
|
20
|
+
} | {
|
|
21
|
+
value: string;
|
|
22
|
+
label: string;
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
type: string;
|
|
25
|
+
size: number;
|
|
26
|
+
style: any;
|
|
27
|
+
})[];
|
|
28
|
+
export default useRightItems;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.text.sku.detail.modal.quantity': string;
|
|
4
|
+
'pisell2.text.sku.detail.modal.note': string;
|
|
5
|
+
'pisell2.text.sku.detail.modal.subtotal': string;
|
|
6
|
+
'pisell2.text.sku.detail.modal.discount': string;
|
|
7
|
+
'pisell2.text.sku.detail.modal.manual.price.change': string;
|
|
8
|
+
'pisell2.text.sku.detail.modal.price.override': string;
|
|
9
|
+
'pisell2.text.sku.detail.modal.total': string;
|
|
10
|
+
'pisell2.text.sku.detail.modal.gst.excl': string;
|
|
11
|
+
'pisell2.text.sku.detail.modal.gst.incl': string;
|
|
12
|
+
'pisell2.text.sku.detail.modal.btn.add.note': string;
|
|
13
|
+
'pisell2.text.sku.detail.modal.btn.remove': string;
|
|
14
|
+
'pisell2.text.sku.detail.modal.btn.confirm': string;
|
|
15
|
+
'pisell2.text.sku.detail.modal.btn.manual.price.change': string;
|
|
16
|
+
};
|
|
17
|
+
'zh-CN': {
|
|
18
|
+
'pisell2.text.sku.detail.modal.quantity': string;
|
|
19
|
+
'pisell2.text.sku.detail.modal.note': string;
|
|
20
|
+
'pisell2.text.sku.detail.modal.subtotal': string;
|
|
21
|
+
'pisell2.text.sku.detail.modal.discount': string;
|
|
22
|
+
'pisell2.text.sku.detail.modal.manual.price.change': string;
|
|
23
|
+
'pisell2.text.sku.detail.modal.price.override': string;
|
|
24
|
+
'pisell2.text.sku.detail.modal.total': string;
|
|
25
|
+
'pisell2.text.sku.detail.modal.gst.excl': string;
|
|
26
|
+
'pisell2.text.sku.detail.modal.gst.incl': string;
|
|
27
|
+
'pisell2.text.sku.detail.modal.btn.add.note': string;
|
|
28
|
+
'pisell2.text.sku.detail.modal.btn.remove': string;
|
|
29
|
+
'pisell2.text.sku.detail.modal.btn.confirm': string;
|
|
30
|
+
'pisell2.text.sku.detail.modal.btn.manual.price.change': string;
|
|
31
|
+
};
|
|
32
|
+
'zh-HK': {
|
|
33
|
+
'pisell2.text.sku.detail.modal.quantity': string;
|
|
34
|
+
'pisell2.text.sku.detail.modal.note': string;
|
|
35
|
+
'pisell2.text.sku.detail.modal.subtotal': string;
|
|
36
|
+
'pisell2.text.sku.detail.modal.discount': string;
|
|
37
|
+
'pisell2.text.sku.detail.modal.manual.price.change': string;
|
|
38
|
+
'pisell2.text.sku.detail.modal.price.override': string;
|
|
39
|
+
'pisell2.text.sku.detail.modal.total': string;
|
|
40
|
+
'pisell2.text.sku.detail.modal.gst.excl': string;
|
|
41
|
+
'pisell2.text.sku.detail.modal.gst.incl': string;
|
|
42
|
+
'pisell2.text.sku.detail.modal.btn.add.note': string;
|
|
43
|
+
'pisell2.text.sku.detail.modal.btn.remove': string;
|
|
44
|
+
'pisell2.text.sku.detail.modal.btn.confirm': string;
|
|
45
|
+
'pisell2.text.sku.detail.modal.btn.manual.price.change': string;
|
|
46
|
+
};
|
|
47
|
+
ja: {
|
|
48
|
+
'pisell2.text.sku.detail.modal.quantity': string;
|
|
49
|
+
'pisell2.text.sku.detail.modal.note': string;
|
|
50
|
+
'pisell2.text.sku.detail.modal.subtotal': string;
|
|
51
|
+
'pisell2.text.sku.detail.modal.discount': string;
|
|
52
|
+
'pisell2.text.sku.detail.modal.manual.price.change': string;
|
|
53
|
+
'pisell2.text.sku.detail.modal.price.override': string;
|
|
54
|
+
'pisell2.text.sku.detail.modal.total': string;
|
|
55
|
+
'pisell2.text.sku.detail.modal.gst.excl': string;
|
|
56
|
+
'pisell2.text.sku.detail.modal.gst.incl': string;
|
|
57
|
+
'pisell2.text.sku.detail.modal.btn.add.note': string;
|
|
58
|
+
'pisell2.text.sku.detail.modal.btn.remove': string;
|
|
59
|
+
'pisell2.text.sku.detail.modal.btn.confirm': string;
|
|
60
|
+
'pisell2.text.sku.detail.modal.btn.manual.price.change': string;
|
|
61
|
+
};
|
|
62
|
+
pt: {
|
|
63
|
+
'pisell2.text.sku.detail.modal.quantity': string;
|
|
64
|
+
'pisell2.text.sku.detail.modal.note': string;
|
|
65
|
+
'pisell2.text.sku.detail.modal.subtotal': string;
|
|
66
|
+
'pisell2.text.sku.detail.modal.discount': string;
|
|
67
|
+
'pisell2.text.sku.detail.modal.manual.price.change': string;
|
|
68
|
+
'pisell2.text.sku.detail.modal.price.override': string;
|
|
69
|
+
'pisell2.text.sku.detail.modal.total': string;
|
|
70
|
+
'pisell2.text.sku.detail.modal.gst.excl': string;
|
|
71
|
+
'pisell2.text.sku.detail.modal.gst.incl': string;
|
|
72
|
+
'pisell2.text.sku.detail.modal.btn.add.note': string;
|
|
73
|
+
'pisell2.text.sku.detail.modal.btn.remove': string;
|
|
74
|
+
'pisell2.text.sku.detail.modal.btn.confirm': string;
|
|
75
|
+
'pisell2.text.sku.detail.modal.btn.manual.price.change': string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
export default _default;
|
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
export declare type ChannelApplication = 'online-store' | 'pos' | 'wholesalebusiness' | 'kiosk';
|
|
2
|
+
export declare type ProductType = 'physical' | 'virtual';
|
|
3
|
+
export declare type WeightUnit = 'KILOGRAMS' | 'GRAMS' | 'POUNDS' | 'OUNCES';
|
|
4
|
+
export declare type DurationType = 'minutes' | 'hours' | 'days';
|
|
5
|
+
export declare type ResourceType = 'single' | 'multiple';
|
|
6
|
+
export declare type RelationType = 'form';
|
|
7
|
+
export declare type EventType = 'schedule_event';
|
|
8
|
+
export declare type MaxParticipantsType = 'custom-limit' | 'unlimited';
|
|
9
|
+
export interface TimeSlice {
|
|
10
|
+
label: string;
|
|
11
|
+
value: string;
|
|
12
|
+
}
|
|
13
|
+
export interface DurationSlice {
|
|
14
|
+
label: string;
|
|
15
|
+
value: number;
|
|
16
|
+
}
|
|
17
|
+
export interface MultiLanguageName {
|
|
18
|
+
en?: string;
|
|
19
|
+
'zh-CN'?: string;
|
|
20
|
+
'zh-HK'?: string;
|
|
21
|
+
original?: string;
|
|
22
|
+
'ja'?: string;
|
|
23
|
+
'pt'?: string;
|
|
24
|
+
auto?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface MultiLanguageTitle {
|
|
27
|
+
label: {
|
|
28
|
+
type: 'i18n';
|
|
29
|
+
'en-US': string;
|
|
30
|
+
'zh-CN': string;
|
|
31
|
+
'ja'?: string;
|
|
32
|
+
'pt'?: string;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export interface SelectType {
|
|
36
|
+
type: 'single' | 'multiple';
|
|
37
|
+
min: number;
|
|
38
|
+
max: number;
|
|
39
|
+
}
|
|
40
|
+
export interface Duration {
|
|
41
|
+
type: DurationType;
|
|
42
|
+
value: number;
|
|
43
|
+
}
|
|
44
|
+
export interface CutOffTime {
|
|
45
|
+
unit: number;
|
|
46
|
+
unit_type: DurationType;
|
|
47
|
+
future_day: number;
|
|
48
|
+
type: 'advance';
|
|
49
|
+
ongoing: {
|
|
50
|
+
type: 'before_end';
|
|
51
|
+
unit: number;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
export interface MachineCode {
|
|
55
|
+
make_over: number;
|
|
56
|
+
beforehand: number;
|
|
57
|
+
limit_count: number;
|
|
58
|
+
customer: number;
|
|
59
|
+
send_action: string;
|
|
60
|
+
hide_recharge: number;
|
|
61
|
+
distributor_automatic: number;
|
|
62
|
+
}
|
|
63
|
+
export interface Form {
|
|
64
|
+
id: number;
|
|
65
|
+
shop_id: number;
|
|
66
|
+
title: string;
|
|
67
|
+
navigation_display: number;
|
|
68
|
+
button: string;
|
|
69
|
+
describe: string;
|
|
70
|
+
status: 'published' | 'draft';
|
|
71
|
+
resource_sort: number;
|
|
72
|
+
code: string;
|
|
73
|
+
type: 'manual' | 'auto';
|
|
74
|
+
version: number;
|
|
75
|
+
setting: any;
|
|
76
|
+
created_at: string;
|
|
77
|
+
updated_at: string;
|
|
78
|
+
}
|
|
79
|
+
export interface PartyroomPackage {
|
|
80
|
+
type: 'product_all' | 'product_part';
|
|
81
|
+
}
|
|
82
|
+
export interface EventListItem {
|
|
83
|
+
id: number;
|
|
84
|
+
start_date?: string;
|
|
85
|
+
start_time?: string;
|
|
86
|
+
end_date?: string;
|
|
87
|
+
end_time?: string;
|
|
88
|
+
relation_id: number;
|
|
89
|
+
number?: number;
|
|
90
|
+
start_at?: string;
|
|
91
|
+
end_at?: string;
|
|
92
|
+
keys?: string;
|
|
93
|
+
pax: number;
|
|
94
|
+
type: EventType;
|
|
95
|
+
pax_list: Record<string, number>;
|
|
96
|
+
}
|
|
97
|
+
export interface TimeConfig {
|
|
98
|
+
keys: string;
|
|
99
|
+
schedule_id: number;
|
|
100
|
+
item_type: string;
|
|
101
|
+
item_id: number;
|
|
102
|
+
start_date: string;
|
|
103
|
+
end_date: string;
|
|
104
|
+
start_time: string;
|
|
105
|
+
end_time: string;
|
|
106
|
+
is_all: number;
|
|
107
|
+
relation_type: RelationType;
|
|
108
|
+
start_at: string;
|
|
109
|
+
end_at: string;
|
|
110
|
+
event_list: EventListItem[];
|
|
111
|
+
max_participants_type?: MaxParticipantsType;
|
|
112
|
+
max_participants_limit?: number;
|
|
113
|
+
is_blocked?: number;
|
|
114
|
+
blocked_times?: any[];
|
|
115
|
+
order_event_count?: number;
|
|
116
|
+
unique?: string;
|
|
117
|
+
_extend?: {
|
|
118
|
+
isMaxLimitRange: boolean;
|
|
119
|
+
isDateRange: boolean;
|
|
120
|
+
isCountRange: boolean;
|
|
121
|
+
isUsable: boolean;
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
export interface ResourceMetadata {
|
|
125
|
+
combined_resource: any;
|
|
126
|
+
}
|
|
127
|
+
export interface ResourceItem {
|
|
128
|
+
id: number;
|
|
129
|
+
main_field: string;
|
|
130
|
+
sort: number;
|
|
131
|
+
form_id: number;
|
|
132
|
+
times: TimeConfig[];
|
|
133
|
+
capacity: number;
|
|
134
|
+
combined_resource: any;
|
|
135
|
+
resource_form_id: string | number;
|
|
136
|
+
form_code: string;
|
|
137
|
+
resourceType: ResourceType;
|
|
138
|
+
children: any[];
|
|
139
|
+
metadata: ResourceMetadata;
|
|
140
|
+
form_tag?: any;
|
|
141
|
+
policy?: number;
|
|
142
|
+
partyroom_package?: PartyroomPackage;
|
|
143
|
+
status?: string;
|
|
144
|
+
description?: string;
|
|
145
|
+
media?: string;
|
|
146
|
+
subtitle?: string;
|
|
147
|
+
room_name?: string;
|
|
148
|
+
labelText?: string;
|
|
149
|
+
form_record_id?: number;
|
|
150
|
+
item_type?: string;
|
|
151
|
+
form_resource_sort?: number;
|
|
152
|
+
form_title?: string;
|
|
153
|
+
form?: Form;
|
|
154
|
+
_extend?: {
|
|
155
|
+
usableTime?: TimeConfig;
|
|
156
|
+
};
|
|
157
|
+
usable?: boolean;
|
|
158
|
+
label?: any;
|
|
159
|
+
}
|
|
160
|
+
export interface ResourceTypeInfo {
|
|
161
|
+
id: number;
|
|
162
|
+
title: string;
|
|
163
|
+
status: number;
|
|
164
|
+
code: string;
|
|
165
|
+
created_at: string;
|
|
166
|
+
updated_at: string | null;
|
|
167
|
+
type: ResourceType;
|
|
168
|
+
optional_resource: number[];
|
|
169
|
+
default_resource: any[];
|
|
170
|
+
select_type: SelectType;
|
|
171
|
+
resource_type_id: number;
|
|
172
|
+
renderList?: ResourceItem[];
|
|
173
|
+
form_id?: number;
|
|
174
|
+
renderListMaps?: Record<string, ResourceItem>;
|
|
175
|
+
}
|
|
176
|
+
export interface ProductResource {
|
|
177
|
+
resources: ResourceTypeInfo[];
|
|
178
|
+
}
|
|
179
|
+
export interface CapacityCustom {
|
|
180
|
+
name: MultiLanguageName;
|
|
181
|
+
min: number;
|
|
182
|
+
max: number;
|
|
183
|
+
id: string;
|
|
184
|
+
}
|
|
185
|
+
export interface CapacityPackage {
|
|
186
|
+
}
|
|
187
|
+
export interface Capacity {
|
|
188
|
+
type: 'product' | 'package';
|
|
189
|
+
custom: CapacityCustom[];
|
|
190
|
+
package: CapacityPackage[];
|
|
191
|
+
}
|
|
192
|
+
export interface ProductDisplaySetting {
|
|
193
|
+
kiosk: {
|
|
194
|
+
use_display_mode: number;
|
|
195
|
+
product_option_mode: any;
|
|
196
|
+
product_option_mode_paging: any;
|
|
197
|
+
product_bundle_mode: any;
|
|
198
|
+
product_bundle_mode_paging: any;
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
export interface ShelfProductData {
|
|
202
|
+
}
|
|
203
|
+
export interface Category {
|
|
204
|
+
id: number;
|
|
205
|
+
name: string;
|
|
206
|
+
icon: string;
|
|
207
|
+
slug: string;
|
|
208
|
+
sort: number;
|
|
209
|
+
}
|
|
210
|
+
export interface Collection {
|
|
211
|
+
id: number;
|
|
212
|
+
title: string;
|
|
213
|
+
cover: string;
|
|
214
|
+
}
|
|
215
|
+
export interface ExtendData {
|
|
216
|
+
duration: number;
|
|
217
|
+
start_time: string;
|
|
218
|
+
start_date: string;
|
|
219
|
+
quantity: number;
|
|
220
|
+
price: string;
|
|
221
|
+
product_name: string;
|
|
222
|
+
other: {
|
|
223
|
+
bundle: any[];
|
|
224
|
+
key: number;
|
|
225
|
+
option: any[];
|
|
226
|
+
product_id: number;
|
|
227
|
+
product_variant_id: number;
|
|
228
|
+
quantity: number;
|
|
229
|
+
rowKey: number;
|
|
230
|
+
session: any;
|
|
231
|
+
unique: string;
|
|
232
|
+
};
|
|
233
|
+
total: number;
|
|
234
|
+
origin_total: number;
|
|
235
|
+
startDate: string;
|
|
236
|
+
endDate: string;
|
|
237
|
+
capacity: Array<{
|
|
238
|
+
id: number;
|
|
239
|
+
value: number;
|
|
240
|
+
name: string;
|
|
241
|
+
}>;
|
|
242
|
+
resource: Record<string, Array<{
|
|
243
|
+
children: any[];
|
|
244
|
+
form_id: number;
|
|
245
|
+
relation_id: number;
|
|
246
|
+
like_status: string;
|
|
247
|
+
errors: any[];
|
|
248
|
+
metadata: {
|
|
249
|
+
form_name: string;
|
|
250
|
+
resource_name: string;
|
|
251
|
+
};
|
|
252
|
+
}>>;
|
|
253
|
+
note?: string;
|
|
254
|
+
}
|
|
255
|
+
export interface TimeObj {
|
|
256
|
+
timeSlices: TimeSlice[];
|
|
257
|
+
durationSlicesBasedOnTime: DurationSlice[];
|
|
258
|
+
}
|
|
259
|
+
export interface DataObj {
|
|
260
|
+
timeObj: TimeObj;
|
|
261
|
+
capacitys: Capacity;
|
|
262
|
+
resourcesOrigin: ResourceTypeInfo[];
|
|
263
|
+
resources: ResourceTypeInfo[];
|
|
264
|
+
resourceMaps: Record<string, ResourceTypeInfo>;
|
|
265
|
+
}
|
|
266
|
+
export interface DiscountItem {
|
|
267
|
+
amount: number;
|
|
268
|
+
type: 'discount_card' | 'discount_code' | 'discount_package';
|
|
269
|
+
discount: {
|
|
270
|
+
resource_id: number;
|
|
271
|
+
title: MultiLanguageTitle;
|
|
272
|
+
original_amount: number;
|
|
273
|
+
product_id: number;
|
|
274
|
+
percent: string;
|
|
275
|
+
};
|
|
276
|
+
num: number;
|
|
277
|
+
}
|
|
278
|
+
export interface ProductData {
|
|
279
|
+
id: number;
|
|
280
|
+
extension_id: number;
|
|
281
|
+
extension_type: string;
|
|
282
|
+
shop_id: number;
|
|
283
|
+
title: string;
|
|
284
|
+
slug: string;
|
|
285
|
+
status: 'published' | 'draft' | 'archived';
|
|
286
|
+
stock_quantity: number;
|
|
287
|
+
sales_quantity: number;
|
|
288
|
+
sum_stock: number;
|
|
289
|
+
price: string;
|
|
290
|
+
original_price: string;
|
|
291
|
+
cost_price: string;
|
|
292
|
+
cover: string;
|
|
293
|
+
channel_application: ChannelApplication[];
|
|
294
|
+
is_track: number;
|
|
295
|
+
over_sold: number;
|
|
296
|
+
is_gst: number;
|
|
297
|
+
code: string;
|
|
298
|
+
barcode: string;
|
|
299
|
+
is_delivery: number;
|
|
300
|
+
weight_unit: WeightUnit;
|
|
301
|
+
weight_value: string;
|
|
302
|
+
type: ProductType;
|
|
303
|
+
unit: string;
|
|
304
|
+
sort: number;
|
|
305
|
+
subtitle: string;
|
|
306
|
+
minimum_markup_price: string;
|
|
307
|
+
is_bundle: number;
|
|
308
|
+
bundle_group_count: number;
|
|
309
|
+
option_group_count: number;
|
|
310
|
+
is_variant: number;
|
|
311
|
+
variant_count: number;
|
|
312
|
+
cut_off_time: CutOffTime;
|
|
313
|
+
policy: number;
|
|
314
|
+
machine_code: MachineCode;
|
|
315
|
+
duration: Duration;
|
|
316
|
+
product_resource: ProductResource;
|
|
317
|
+
capacity: Capacity;
|
|
318
|
+
product_display_setting: ProductDisplaySetting;
|
|
319
|
+
shelf_product_datas: ShelfProductData[];
|
|
320
|
+
step_value: number;
|
|
321
|
+
min_num_unit: number;
|
|
322
|
+
schedules: any[];
|
|
323
|
+
is_charge_tax: number;
|
|
324
|
+
base_price: string;
|
|
325
|
+
variant: any[];
|
|
326
|
+
category: Category[];
|
|
327
|
+
collection: Collection[];
|
|
328
|
+
product_id: number;
|
|
329
|
+
_id: string;
|
|
330
|
+
_key: number;
|
|
331
|
+
_extend: ExtendData;
|
|
332
|
+
new: number;
|
|
333
|
+
currentDefaultTime: string;
|
|
334
|
+
_data: DataObj;
|
|
335
|
+
autoClose: boolean;
|
|
336
|
+
_serviceKey: string;
|
|
337
|
+
_holderKey: string;
|
|
338
|
+
discount_list: DiscountItem[];
|
|
339
|
+
}
|
|
340
|
+
export declare type SkuDetailModalData = ProductData;
|
|
341
|
+
export interface SkuDetailModalProps {
|
|
342
|
+
/** 确认回调 */
|
|
343
|
+
onConfirm?: (data: ProductData) => void;
|
|
344
|
+
/** 删除回调 */
|
|
345
|
+
onRemove?: (productData: ProductData) => void;
|
|
346
|
+
/** 关闭回调 */
|
|
347
|
+
onClose?: () => void;
|
|
348
|
+
}
|
|
349
|
+
export interface SkuDetailModalRef {
|
|
350
|
+
/** 打开弹窗 */
|
|
351
|
+
open: (data: ProductData) => void;
|
|
352
|
+
}
|