@pisell/private-materials 6.8.11 → 6.8.13
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/df14b0a48455e9836fb9b14034da0243.png +0 -0
- 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/preview.css +1 -1
- package/build/lowcode/preview.js +164 -159
- package/build/lowcode/render/default/assets/df14b0a48455e9836fb9b14034da0243.png +0 -0
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +19 -12
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +19 -12
- package/es/businessModel/SalesModel/index.d.ts +2 -2
- package/es/components/Sales/Summary/utils.d.ts +1 -1
- package/es/components/Sales/index.d.ts +1 -1
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -2
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -2
- package/es/components/appointmentBooking/components/Cart/index.d.ts +1 -2
- package/es/components/appointmentBooking/components/Content/index.d.ts +1 -2
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +2 -3
- package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -2
- package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -2
- package/es/components/appointmentBooking/components/Header/index.d.ts +1 -2
- package/es/components/appointmentBooking/components/Voucher/index.d.ts +1 -2
- package/es/components/appointmentBooking/context.d.ts +2 -2
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -2
- package/es/components/appointmentBooking/deposit/index.d.ts +1 -2
- package/es/components/appointmentBooking/index.d.ts +1 -2
- package/es/components/booking/addons/model.d.ts +1 -10
- package/es/components/booking/components/TabProduct/index.d.ts +2 -2
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +2 -2
- package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +2 -2
- package/es/components/booking/components/authWrap/index.d.ts +1 -1
- package/es/components/booking/components/browserSelect/index.d.ts +1 -1
- package/es/components/booking/components/collapsibleList/utils.d.ts +2 -2
- package/es/components/booking/components/drawer/index.d.ts +1 -1
- package/es/components/booking/components/emptyBooking/index.d.ts +2 -2
- package/es/components/booking/components/footer/FooterMenus/index.d.ts +2 -2
- package/es/components/booking/components/footer/index.d.ts +1 -2
- package/es/components/booking/components/formItemChildrenWrap/index.d.ts +2 -2
- package/es/components/booking/components/menuButton/index.d.ts +1 -1
- package/es/components/booking/components/voucher/index.d.ts +1 -2
- package/es/components/booking/deposit/ClientItem/index.d.ts +1 -1
- package/es/components/booking/deposit/DepositItem/index.d.ts +1 -1
- package/es/components/booking/deposit/index.d.ts +2 -2
- package/es/components/booking/forms/footer.d.ts +1 -2
- package/es/components/booking/forms/model.d.ts +1 -10
- package/es/components/booking/forms/single/index.d.ts +2 -2
- package/es/components/booking/forms/table/index.d.ts +2 -2
- package/es/components/booking/hooks/useClearCart.d.ts +1 -2
- package/es/components/booking/hooks/useQuotation.d.ts +1 -2
- package/es/components/booking/info/addServiceVariant/index.d.ts +1 -2
- package/es/components/booking/info/client/index.d.ts +1 -1
- package/es/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -2
- package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/es/components/booking/info/date/index.d.ts +1 -2
- package/es/components/booking/info/dateRange/index.d.ts +1 -2
- package/es/components/booking/info/header/index.d.ts +2 -2
- package/es/components/booking/info/hooks/useGetHolderList.d.ts +1 -1
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +3 -2
- package/es/components/booking/info/hooks/useInfoHolder.js +2 -0
- package/es/components/booking/info/index.d.ts +2 -2
- package/es/components/booking/info/model.d.ts +1 -10
- package/es/components/booking/info/notes/index.d.ts +2 -2
- package/es/components/booking/info/pet/index.d.ts +1 -1
- package/es/components/booking/info/service/Lists.d.ts +2 -2
- package/es/components/booking/info/service/actions/index.d.ts +1 -2
- package/es/components/booking/info/service/addService/index.d.ts +1 -2
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info/service/addTimeModal/index.d.ts +1 -2
- package/es/components/booking/info/service/editService/BookingList/index.d.ts +1 -2
- package/es/components/booking/info/service/editService/index.js +3 -4
- package/es/components/booking/info/service/index.d.ts +1 -1
- package/es/components/booking/info/service/like/index.d.ts +2 -2
- package/es/components/booking/info/service/serviceItem/index.d.ts +1 -2
- package/es/components/booking/info/service/serviceList/index.d.ts +2 -2
- package/es/components/booking/info/service2/Lists.d.ts +2 -2
- package/es/components/booking/info/service2/index.d.ts +1 -1
- package/es/components/booking/info2/service/actions/index.d.ts +1 -2
- package/es/components/booking/info2/service/addService/index.d.ts +1 -2
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +1 -1
- package/es/components/booking/info2/service/contactInfoMode/index.d.ts +2 -2
- package/es/components/booking/info2/service/editNormalService/index.js +80 -9
- package/es/components/booking/info2/service/editService/index.js +85 -72
- package/es/components/booking/info2/service/index.d.ts +1 -1
- package/es/components/booking/info2/service/index.js +12 -0
- package/es/components/booking/info2/service/openNormalService.js +15 -0
- package/es/components/booking/info2/service/serviceItem/index.d.ts +1 -2
- package/es/components/booking/info2/service/serviceList/index.d.ts +2 -2
- package/es/components/booking/materiels/contacts/index.d.ts +1 -2
- package/es/components/booking/materiels/duration/index.d.ts +1 -2
- package/es/components/booking/materiels/holder/index.d.ts +1 -2
- package/es/components/booking/materiels/startTime/index.d.ts +1 -2
- package/es/components/booking/notes/NoteBlock/NoteItem/index.d.ts +2 -2
- package/es/components/booking/notes/NoteBlock/index.d.ts +2 -2
- package/es/components/booking/notes/addNote/index.d.ts +2 -2
- package/es/components/booking/notes/model.d.ts +1 -10
- package/es/components/booking/payments/model.d.ts +1 -10
- package/es/components/checkout/components/AdditionalModule/index.d.ts +2 -2
- package/es/components/checkout/components/AmountSummary/index.d.ts +2 -2
- package/es/components/checkout/components/CashPaymentModule/index.d.ts +2 -2
- package/es/components/checkout/components/PaymentDetailModal/index.d.ts +2 -2
- package/es/components/checkout/components/PaymentOptionsModule/index.d.ts +2 -2
- package/es/components/checkout/components/SearchAndClientModule/index.d.ts +1 -2
- package/es/components/checkout/components/SendPaymentLinkModal/index.d.ts +2 -2
- package/es/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +2 -3
- package/es/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +1 -2
- package/es/components/checkout/hooks/useWalletPass.d.ts +16 -16
- package/es/components/eftpos/device.d.ts +1 -1
- package/es/components/eftpos/deviceList/index.d.ts +2 -2
- package/es/components/eftpos/form/index.d.ts +2 -2
- package/es/components/eftpos/group/index.d.ts +3 -3
- package/es/components/eftpos/hooks.d.ts +1 -0
- package/es/components/eftpos/icon/apiKey.d.ts +2 -2
- package/es/components/eftpos/icon/device.d.ts +2 -2
- package/es/components/eftpos/index.d.ts +2 -2
- package/es/components/eftpos/log.d.ts +2 -2
- package/es/components/eftpos/pos.d.ts +2 -2
- package/es/components/eftpos/receipt/index.d.ts +2 -2
- package/es/components/eftpos/surcharge/index.d.ts +2 -2
- package/es/components/eftposPay/amount.d.ts +1 -2
- package/es/components/eftposPay/app.d.ts +1 -2
- package/es/components/eftposPay/component/alert/index.d.ts +1 -1
- package/es/components/eftposPay/component/alert/warn.d.ts +2 -2
- package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -2
- package/es/components/eftposPay/component/fail/index.d.ts +1 -2
- package/es/components/eftposPay/component/fail/network.d.ts +1 -2
- package/es/components/eftposPay/component/fail/unknow.d.ts +1 -2
- package/es/components/eftposPay/component/header/index.d.ts +1 -1
- package/es/components/eftposPay/component/header/titlebar.d.ts +2 -2
- package/es/components/eftposPay/component/manual/index.d.ts +1 -2
- package/es/components/eftposPay/component/signature/index.d.ts +1 -2
- package/es/components/eftposPay/component/step/index.d.ts +1 -2
- package/es/components/eftposPay/component/step/step.d.ts +2 -2
- package/es/components/eftposPay/device.d.ts +2 -2
- package/es/components/eftposPay/index.d.ts +1 -2
- package/es/components/eftposPay/linkly/index.d.ts +1 -2
- package/es/components/eftposPay/pay.d.ts +1 -2
- package/es/components/eftposPay/payo/config.d.ts +2 -3
- package/es/components/eftposPay/payo/index.d.ts +1 -1
- package/es/components/eftposPay/store/index.d.ts +2 -2
- package/es/components/eftposPay/tip.d.ts +1 -2
- package/es/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/es/components/eftposPay/tyro/index.d.ts +1 -1
- package/es/components/eftposPay/windcave/receiptAction.d.ts +2 -3
- package/es/components/eftposPay/windcave/windcave.d.ts +1 -2
- package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -1
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -2
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +2 -2
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -2
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +2 -2
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +2 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +2 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +2 -1
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +2 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -2
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +2 -2
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +2 -2
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +2 -2
- package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -2
- package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -2
- package/es/components/eventBooking/index.d.ts +1 -2
- package/es/components/kioskSkuDetail/assets/kiosk-launchpad-bg-773705.png +0 -0
- package/es/components/kioskSkuDetail/assets/kiosk-launchpad-hero-c14ba2.png +0 -0
- package/es/components/kioskSkuDetail/index.d.ts +33 -0
- package/es/components/kioskSkuDetail/index.js +282 -0
- package/es/components/kioskSkuDetail/index.less +152 -0
- package/es/components/login/index.d.ts +2 -2
- package/es/components/pay/toB/components/Cache/index.d.ts +1 -2
- package/es/components/pay/toB/components/Card/index.d.ts +1 -2
- package/es/components/pay/toB/components/CardGroup/index.d.ts +2 -2
- package/es/components/pay/toB/components/ConfirmedPayment/index.d.ts +1 -2
- package/es/components/pay/toB/components/Content/Footer.d.ts +1 -2
- package/es/components/pay/toB/store/provider.d.ts +1 -1
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +2 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +2 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +2 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +2 -2
- package/es/components/pay/toC/PaymentMethods/WalletPass/MultiModeSearch/index.d.ts +1 -1
- package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -2
- package/es/components/pay/toC/model.d.ts +1 -9
- package/es/components/pisellSelectCustomerModal/CustomerCard/index.d.ts +1 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +2 -2
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +2 -2
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -2
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +2 -2
- package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -2
- package/es/components/pisellSelectCustomerModal/RightPanel/index.d.ts +2 -2
- package/es/components/pisellSelectCustomerModal/index.d.ts +1 -2
- package/es/components/productExtension/fields/Actor/index.d.ts +2 -2
- package/es/components/productExtension/fields/Forms/index.d.ts +2 -2
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +2 -2
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +2 -2
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +2 -2
- package/es/components/productExtension/fields/SelectResourcesTable/index.d.ts +2 -2
- package/es/components/productExtension/index.d.ts +2 -2
- package/es/components/productSelect/components/TabProduct/index.d.ts +1 -2
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +1 -1
- package/es/components/productSelect/components/productGroup/index.d.ts +3 -3
- package/es/components/productSelect/index.d.ts +1 -1
- package/es/components/ruleSetting/index.d.ts +1 -2
- package/es/components/ruleSetting/ruleBorder/index.d.ts +2 -2
- package/es/components/schedules/calendar/calendarItem.d.ts +2 -2
- package/es/components/schedules/calendar/index.d.ts +2 -2
- package/es/components/schedules/components/Card/index.d.ts +1 -1
- package/es/components/schedules/components/CurrentDay/index.d.ts +2 -2
- package/es/components/schedules/components/ResourceList/index.d.ts +1 -1
- package/es/components/schedules/components/ScheduleDetailList/index.d.ts +2 -2
- package/es/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +2 -2
- package/es/components/schedules/components/ScheduleList/index.d.ts +2 -2
- package/es/components/schedules/components/Search/index.d.ts +1 -1
- package/es/components/schedules/model.d.ts +1 -9
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +2 -2
- package/es/components/schedules/products/index.d.ts +2 -2
- package/es/components/schedules/products/list/ProductItem/index.d.ts +2 -2
- package/es/components/schedules/products/list/index.d.ts +2 -2
- package/es/components/schedules/resources/index.d.ts +2 -2
- package/es/components/schedules/resources/list/index.d.ts +2 -2
- package/es/components/schedules/resources/relationProduct/index.d.ts +2 -2
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +2 -2
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +2 -2
- package/es/components/schedules/schedules/Schedules.d.ts +1 -1
- package/es/components/schedules/schedules/SchedulesForDay/index.d.ts +1 -1
- package/es/components/schedules/schedules/index.d.ts +2 -2
- package/es/components/shoppingCart/Provider.d.ts +1 -1
- package/es/components/shoppingCart/components/Cart/Product.d.ts +1 -2
- package/es/components/shoppingCart/components/Cart/index.d.ts +1 -2
- package/es/components/shoppingCart/components/Empty/index.d.ts +2 -1
- package/es/components/shoppingCart/components/Render/index.d.ts +2 -2
- package/es/components/shoppingCart/hooks/useAddService.d.ts +1 -2
- package/es/components/shoppingCart/hooks/useClearCart.d.ts +1 -2
- package/es/components/shoppingCart/index.d.ts +2 -2
- package/es/components/subTotal/index.d.ts +1 -1
- package/es/components/tabProduct/index.d.ts +1 -1
- package/es/components/taxSelect/index.d.ts +2 -2
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -2
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +84 -44
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -2
- package/es/components/ticketBooking/components/floatButtons/index.d.ts +1 -1
- package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -2
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -2
- package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -2
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +9 -9
- package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +2 -2
- package/es/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +3 -3
- package/es/components/ticketBooking/index.d.ts +1 -2
- package/es/components/ticketBooking/miniRedux.d.ts +1 -1
- package/es/components/walletList/index.d.ts +1 -2
- package/es/components/walletList/model.d.ts +1 -1
- package/es/components/walletList/tempHolderSelector/index.d.ts +2 -2
- package/es/components/workSpaceList/components/Modal/index.d.ts +1 -2
- package/es/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -2
- package/es/hooks/usePaymentLogger.d.ts +3 -2
- package/es/index.d.ts +2 -0
- package/es/index.js +3 -1
- package/es/plus/clinetSearch/Add/PhoneField/index.d.ts +2 -2
- package/es/plus/contactInfoModal/ContactInfoContent.d.ts +1 -2
- package/es/plus/noteModal/AddTempModal.d.ts +1 -2
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +2 -2
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +2 -2
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +2 -2
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +2 -2
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +2 -2
- package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +1 -2
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +2 -2
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +1 -2
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +1 -2
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +2 -2
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +1 -2
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +2 -2
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +1 -2
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +1 -2
- package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +6 -6
- package/es/plus/productSelect/ProductCard/index.d.ts +2 -2
- package/es/plus/productSelect/ProductList/gridComponents.d.ts +6 -6
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.js +2 -7
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.less +6 -0
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +1 -1
- package/es/plus/productSelect/index.d.ts +1 -1
- package/es/plus/saasCreateOrganization/components/Header.d.ts +2 -2
- package/es/plus/saasCreateOrganization/index.d.ts +2 -2
- package/es/plus/saasRegister/components/EntryEmail.d.ts +2 -2
- package/es/plus/saasRegister/components/EntryInfo.d.ts +2 -2
- package/es/plus/saasRegister/components/GoLogin.d.ts +2 -2
- package/es/plus/saasRegister/components/Header.d.ts +2 -2
- package/es/plus/saasRegister/components/VerifyError.d.ts +2 -2
- package/es/plus/saasRegister/components/VerifyingLink.d.ts +2 -2
- package/es/plus/saasRegister/components/VertifyEmail.d.ts +1 -2
- package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -1
- package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +6 -0
- package/es/plus/skuOptionsSelection/components/NormalCard/index.js +131 -0
- package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
- package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.js +108 -0
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +10 -0
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.js +247 -0
- package/es/plus/skuOptionsSelection/components/OptionsCard/index.less +113 -0
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
- package/es/plus/skuOptionsSelection/components/OptionsModal/index.js +166 -0
- package/es/plus/skuOptionsSelection/components/TitleExtra/index.js +46 -0
- package/es/plus/skuOptionsSelection/components/TitleExtra/index.less +23 -0
- package/es/plus/skuOptionsSelection/components/VariantCard/index.js +29 -0
- package/es/plus/skuOptionsSelection/components/VariantCard/index.less +9 -0
- package/es/plus/skuOptionsSelection/hooks/index.js +3 -0
- package/es/plus/skuOptionsSelection/hooks/useLanguage.js +7 -0
- package/es/plus/skuOptionsSelection/hooks/useStore.js +3 -0
- package/es/plus/skuOptionsSelection/hooks/useSymbol.js +8 -0
- package/es/plus/skuOptionsSelection/index.d.ts +5 -0
- package/es/plus/skuOptionsSelection/index.js +125 -0
- package/es/plus/skuOptionsSelection/index.less +4 -0
- package/es/plus/skuOptionsSelection/locales.js +29 -0
- package/es/plus/skuOptionsSelection/store/actions.js +56 -0
- package/es/plus/skuOptionsSelection/store/createStore.js +117 -0
- package/es/plus/skuOptionsSelection/store/index.js +2 -0
- package/es/plus/skuOptionsSelection/store/store.js +18 -0
- package/es/plus/skuOptionsSelection/types.js +69 -0
- package/es/plus/skuOptionsSelection/utils/calculateOption.js +80 -0
- package/es/plus/skuOptionsSelection/utils/checkSkuStatus.js +147 -0
- package/es/plus/skuOptionsSelection/utils/index.d.ts +7 -0
- package/es/plus/skuOptionsSelection/utils/index.js +7 -0
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
- package/es/plus/skuOptionsSelection/utils/transformBundleGroup.js +90 -0
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
- package/es/plus/skuOptionsSelection/utils/transformOptionGroup.js +85 -0
- package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +157 -0
- package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +226 -0
- package/es/plus/skuOptionsSelection/utils/transformVariantGroup.js +90 -0
- package/es/plus/walletPassGallery/components/passDetail/index.d.ts +1 -2
- package/es/plus/walletPassGallery/components/passList/index.d.ts +1 -2
- package/es/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -2
- package/es/plus/walletPassGallery/components/usageRule/index.d.ts +1 -1
- package/es/plus/walletPassGallery/index.d.ts +1 -2
- package/es/plus/webPosLogin/WebPosLogin.d.ts +1 -1
- package/es/pro/Cards/components/SKUCard/index.d.ts +60 -0
- package/es/pro/Cards/components/SKUCard/index.js +193 -0
- package/es/pro/Cards/components/SKUCard/index.less +102 -0
- package/es/pro/Cards/index.d.ts +1 -0
- package/es/pro/Cards/index.js +1 -0
- package/es/pro/Login2.0/components/ForgotPasswordFlow.d.ts +2 -9
- package/es/pro/Login2.0/components/LoginCodeInput.d.ts +2 -6
- package/es/pro/Login2.0/components/PhoneInput.d.ts +1 -1
- package/es/pro/Login2.0/steps/CodeInput.d.ts +2 -6
- package/es/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +2 -5
- package/es/pro/Login2.0/steps/EmailLinkExpired.d.ts +2 -5
- package/es/pro/Login2.0/steps/SetPassword.d.ts +2 -5
- package/es/pro/{Selector/components/NumericStepper → NumericStepper}/index.js +46 -19
- package/{lib/pro/Selector/components → es/pro}/NumericStepper/index.less +7 -8
- package/es/pro/Selector/BatchSelectorDemo.js +452 -38
- package/es/pro/Selector/Item.js +88 -0
- package/es/pro/Selector/Selector.js +188 -140
- package/es/pro/Selector/Selector.stories.js +1105 -0
- package/es/pro/Selector/SelectorGroup.js +189 -155
- package/es/pro/Selector/components/Card/index.js +92 -75
- package/es/pro/Selector/components/Card/index.less +113 -83
- package/es/pro/Selector/components/Card/types.js +1 -0
- package/es/pro/Selector/components/Indicator/index.js +101 -0
- package/es/pro/Selector/components/Indicator/index.less +114 -0
- package/es/pro/Selector/components/LayoutContainer/index.js +60 -0
- package/es/pro/Selector/components/Media/index.js +222 -0
- package/es/pro/Selector/components/Media/index.less +124 -0
- package/es/pro/Selector/components/Media/types.js +1 -0
- package/es/pro/Selector/components/index.js +3 -1
- package/es/pro/Selector/demo.js +1031 -101
- package/es/pro/Selector/hooks/usePresetItemProps.js +185 -0
- package/es/pro/Selector/hooks/usePresetProps.js +132 -0
- package/es/pro/Selector/hooks/useSelectionController.js +124 -98
- package/es/pro/Selector/index.js +3 -0
- package/es/pro/Selector/locales.js +69 -48
- package/es/pro/Selector/selector.less +108 -2
- package/es/pro/Selector/selectorGroup.less +8 -0
- package/es/pro/numberKeyboard/index.d.ts +1 -1
- package/es/pro/pisellNumberSelector/index.less +18 -2
- package/es/pro/pisellPaymentList/example.d.ts +10 -11
- package/es/pro/pisellPhoneKeyboard/index.d.ts +1 -2
- package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +1 -2
- package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardSimple.d.ts +1 -1
- package/es/pro/priceKeyboard/components/cashKeyboard/index.d.ts +2 -2
- package/es/pro/priceKeyboard/components/discountKeyboard/index.d.ts +2 -2
- package/es/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +1 -2
- package/es/pro/priceKeyboard/hooks/rightItems.d.ts +1 -2
- package/es/pro/skuDetailModal/index.js +827 -179
- package/es/pro/skuDetailModal/index.less +136 -28
- package/es/pro/skuDetailModal/locales.js +62 -3
- package/es/pro/skuDetailModal/utils.js +21 -0
- package/es/test/setup.d.ts +1 -0
- package/es/test/setup.js +177 -0
- package/lib/businessModel/SalesModel/index.d.ts +2 -2
- package/lib/components/Sales/Summary/utils.d.ts +1 -1
- package/lib/components/Sales/index.d.ts +1 -1
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -2
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -2
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +1 -2
- package/lib/components/appointmentBooking/components/Content/index.d.ts +1 -2
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +2 -3
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -2
- package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +1 -2
- package/lib/components/appointmentBooking/components/Header/index.d.ts +1 -2
- package/lib/components/appointmentBooking/components/Voucher/index.d.ts +1 -2
- package/lib/components/appointmentBooking/context.d.ts +2 -2
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +1 -2
- package/lib/components/appointmentBooking/deposit/index.d.ts +1 -2
- package/lib/components/appointmentBooking/index.d.ts +1 -2
- package/lib/components/booking/addons/model.d.ts +1 -10
- package/lib/components/booking/components/TabProduct/index.d.ts +2 -2
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +2 -2
- package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +2 -2
- package/lib/components/booking/components/authWrap/index.d.ts +1 -1
- package/lib/components/booking/components/browserSelect/index.d.ts +1 -1
- package/lib/components/booking/components/collapsibleList/utils.d.ts +2 -2
- package/lib/components/booking/components/drawer/index.d.ts +1 -1
- package/lib/components/booking/components/emptyBooking/index.d.ts +2 -2
- package/lib/components/booking/components/footer/FooterMenus/index.d.ts +2 -2
- package/lib/components/booking/components/footer/index.d.ts +1 -2
- package/lib/components/booking/components/formItemChildrenWrap/index.d.ts +2 -2
- package/lib/components/booking/components/menuButton/index.d.ts +1 -1
- package/lib/components/booking/components/voucher/index.d.ts +1 -2
- package/lib/components/booking/deposit/ClientItem/index.d.ts +1 -1
- package/lib/components/booking/deposit/DepositItem/index.d.ts +1 -1
- package/lib/components/booking/deposit/index.d.ts +2 -2
- package/lib/components/booking/forms/footer.d.ts +1 -2
- package/lib/components/booking/forms/model.d.ts +1 -10
- package/lib/components/booking/forms/single/index.d.ts +2 -2
- package/lib/components/booking/forms/table/index.d.ts +2 -2
- package/lib/components/booking/hooks/useClearCart.d.ts +1 -2
- package/lib/components/booking/hooks/useQuotation.d.ts +1 -2
- package/lib/components/booking/info/addServiceVariant/index.d.ts +1 -2
- package/lib/components/booking/info/client/index.d.ts +1 -1
- package/lib/components/booking/info/clientVariant/hooks/useClientFn.d.ts +1 -2
- package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +1 -0
- package/lib/components/booking/info/date/index.d.ts +1 -2
- package/lib/components/booking/info/dateRange/index.d.ts +1 -2
- package/lib/components/booking/info/header/index.d.ts +2 -2
- package/lib/components/booking/info/hooks/useGetHolderList.d.ts +1 -1
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +3 -2
- package/lib/components/booking/info/hooks/useInfoHolder.js +1 -0
- package/lib/components/booking/info/index.d.ts +2 -2
- package/lib/components/booking/info/model.d.ts +1 -10
- package/lib/components/booking/info/notes/index.d.ts +2 -2
- package/lib/components/booking/info/pet/index.d.ts +1 -1
- package/lib/components/booking/info/service/Lists.d.ts +2 -2
- package/lib/components/booking/info/service/actions/index.d.ts +1 -2
- package/lib/components/booking/info/service/addService/index.d.ts +1 -2
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info/service/addTimeModal/index.d.ts +1 -2
- package/lib/components/booking/info/service/editService/BookingList/index.d.ts +1 -2
- package/lib/components/booking/info/service/editService/index.js +0 -2
- package/lib/components/booking/info/service/index.d.ts +1 -1
- package/lib/components/booking/info/service/like/index.d.ts +2 -2
- package/lib/components/booking/info/service/serviceItem/index.d.ts +1 -2
- package/lib/components/booking/info/service/serviceList/index.d.ts +2 -2
- package/lib/components/booking/info/service2/Lists.d.ts +2 -2
- package/lib/components/booking/info/service2/index.d.ts +1 -1
- package/lib/components/booking/info2/service/actions/index.d.ts +1 -2
- package/lib/components/booking/info2/service/addService/index.d.ts +1 -2
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +1 -1
- package/lib/components/booking/info2/service/contactInfoMode/index.d.ts +2 -2
- package/lib/components/booking/info2/service/editNormalService/index.js +59 -4
- package/lib/components/booking/info2/service/editService/index.js +82 -68
- package/lib/components/booking/info2/service/index.d.ts +1 -1
- package/lib/components/booking/info2/service/index.js +10 -0
- package/lib/components/booking/info2/service/openNormalService.js +37 -0
- package/lib/components/booking/info2/service/serviceItem/index.d.ts +1 -2
- package/lib/components/booking/info2/service/serviceList/index.d.ts +2 -2
- package/lib/components/booking/materiels/contacts/index.d.ts +1 -2
- package/lib/components/booking/materiels/duration/index.d.ts +1 -2
- package/lib/components/booking/materiels/holder/index.d.ts +1 -2
- package/lib/components/booking/materiels/startTime/index.d.ts +1 -2
- package/lib/components/booking/notes/NoteBlock/NoteItem/index.d.ts +2 -2
- package/lib/components/booking/notes/NoteBlock/index.d.ts +2 -2
- package/lib/components/booking/notes/addNote/index.d.ts +2 -2
- package/lib/components/booking/notes/model.d.ts +1 -10
- package/lib/components/booking/payments/model.d.ts +1 -10
- package/lib/components/checkout/components/AdditionalModule/index.d.ts +2 -2
- package/lib/components/checkout/components/AmountSummary/index.d.ts +2 -2
- package/lib/components/checkout/components/CashPaymentModule/index.d.ts +2 -2
- package/lib/components/checkout/components/PaymentDetailModal/index.d.ts +2 -2
- package/lib/components/checkout/components/PaymentOptionsModule/index.d.ts +2 -2
- package/lib/components/checkout/components/SearchAndClientModule/index.d.ts +1 -2
- package/lib/components/checkout/components/SendPaymentLinkModal/index.d.ts +2 -2
- package/lib/components/checkout/components/WalletPassModule/components/ConflictModal/index.d.ts +2 -3
- package/lib/components/checkout/components/WalletPassModule/components/DiscountWallet/index.d.ts +1 -2
- package/lib/components/checkout/hooks/useWalletPass.d.ts +16 -16
- package/lib/components/eftpos/device.d.ts +1 -1
- package/lib/components/eftpos/deviceList/index.d.ts +2 -2
- package/lib/components/eftpos/form/index.d.ts +2 -2
- package/lib/components/eftpos/group/index.d.ts +3 -3
- package/lib/components/eftpos/hooks.d.ts +1 -0
- package/lib/components/eftpos/icon/apiKey.d.ts +2 -2
- package/lib/components/eftpos/icon/device.d.ts +2 -2
- package/lib/components/eftpos/index.d.ts +2 -2
- package/lib/components/eftpos/log.d.ts +2 -2
- package/lib/components/eftpos/pos.d.ts +2 -2
- package/lib/components/eftpos/receipt/index.d.ts +2 -2
- package/lib/components/eftpos/surcharge/index.d.ts +2 -2
- package/lib/components/eftposPay/amount.d.ts +1 -2
- package/lib/components/eftposPay/app.d.ts +1 -2
- package/lib/components/eftposPay/component/alert/index.d.ts +1 -1
- package/lib/components/eftposPay/component/alert/warn.d.ts +2 -2
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -2
- package/lib/components/eftposPay/component/fail/index.d.ts +1 -2
- package/lib/components/eftposPay/component/fail/network.d.ts +1 -2
- package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -2
- package/lib/components/eftposPay/component/header/index.d.ts +1 -1
- package/lib/components/eftposPay/component/header/titlebar.d.ts +2 -2
- package/lib/components/eftposPay/component/manual/index.d.ts +1 -2
- package/lib/components/eftposPay/component/signature/index.d.ts +1 -2
- package/lib/components/eftposPay/component/step/index.d.ts +1 -2
- package/lib/components/eftposPay/component/step/step.d.ts +2 -2
- package/lib/components/eftposPay/device.d.ts +2 -2
- package/lib/components/eftposPay/index.d.ts +1 -2
- package/lib/components/eftposPay/linkly/index.d.ts +1 -2
- package/lib/components/eftposPay/pay.d.ts +1 -2
- package/lib/components/eftposPay/payo/config.d.ts +2 -3
- package/lib/components/eftposPay/payo/index.d.ts +1 -1
- package/lib/components/eftposPay/store/index.d.ts +2 -2
- package/lib/components/eftposPay/tip.d.ts +1 -2
- package/lib/components/eftposPay/tyro/hooks.d.ts +1 -0
- package/lib/components/eftposPay/tyro/index.d.ts +1 -1
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +2 -3
- package/lib/components/eftposPay/windcave/windcave.d.ts +1 -2
- package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -1
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -2
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +2 -2
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -2
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +2 -2
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +2 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +2 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +2 -1
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +2 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -2
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +2 -2
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +2 -2
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +2 -2
- package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +1 -2
- package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +1 -2
- package/lib/components/eventBooking/index.d.ts +1 -2
- package/lib/components/kioskSkuDetail/assets/kiosk-launchpad-bg-773705.png +0 -0
- package/lib/components/kioskSkuDetail/assets/kiosk-launchpad-hero-c14ba2.png +0 -0
- package/lib/components/kioskSkuDetail/index.d.ts +33 -0
- package/lib/components/kioskSkuDetail/index.js +206 -0
- package/lib/components/kioskSkuDetail/index.less +152 -0
- package/lib/components/login/index.d.ts +2 -2
- package/lib/components/pay/toB/components/Cache/index.d.ts +1 -2
- package/lib/components/pay/toB/components/Card/index.d.ts +1 -2
- package/lib/components/pay/toB/components/CardGroup/index.d.ts +2 -2
- package/lib/components/pay/toB/components/ConfirmedPayment/index.d.ts +1 -2
- package/lib/components/pay/toB/components/Content/Footer.d.ts +1 -2
- package/lib/components/pay/toB/store/provider.d.ts +1 -1
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +2 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/SDK.d.ts +2 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +2 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +1 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +2 -2
- package/lib/components/pay/toC/PaymentMethods/WalletPass/MultiModeSearch/index.d.ts +1 -1
- package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +1 -2
- package/lib/components/pay/toC/model.d.ts +1 -9
- package/lib/components/pisellSelectCustomerModal/CustomerCard/index.d.ts +1 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/BirthdayField/index.d.ts +2 -2
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/GenderField/index.d.ts +2 -2
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +2 -2
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +2 -2
- package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +1 -2
- package/lib/components/pisellSelectCustomerModal/RightPanel/index.d.ts +2 -2
- package/lib/components/pisellSelectCustomerModal/index.d.ts +1 -2
- package/lib/components/productExtension/fields/Actor/index.d.ts +2 -2
- package/lib/components/productExtension/fields/Forms/index.d.ts +2 -2
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +2 -2
- package/lib/components/productExtension/fields/SelectProducts/ProductItemPreview/index.d.ts +2 -2
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +2 -2
- package/lib/components/productExtension/fields/SelectResourcesTable/index.d.ts +2 -2
- package/lib/components/productExtension/index.d.ts +2 -2
- package/lib/components/productSelect/components/TabProduct/index.d.ts +1 -2
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +1 -1
- package/lib/components/productSelect/components/productGroup/index.d.ts +3 -3
- package/lib/components/productSelect/index.d.ts +1 -1
- package/lib/components/ruleSetting/index.d.ts +1 -2
- package/lib/components/ruleSetting/ruleBorder/index.d.ts +2 -2
- package/lib/components/schedules/calendar/calendarItem.d.ts +2 -2
- package/lib/components/schedules/calendar/index.d.ts +2 -2
- package/lib/components/schedules/components/Card/index.d.ts +1 -1
- package/lib/components/schedules/components/CurrentDay/index.d.ts +2 -2
- package/lib/components/schedules/components/ResourceList/index.d.ts +1 -1
- package/lib/components/schedules/components/ScheduleDetailList/index.d.ts +2 -2
- package/lib/components/schedules/components/ScheduleList/RenderScheduleItem/index.d.ts +2 -2
- package/lib/components/schedules/components/ScheduleList/index.d.ts +2 -2
- package/lib/components/schedules/components/Search/index.d.ts +1 -1
- package/lib/components/schedules/model.d.ts +1 -9
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +2 -2
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.d.ts +2 -2
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/AddSchedules/index.d.ts +2 -2
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.d.ts +2 -2
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +2 -2
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetailByDate/index.d.ts +2 -2
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +2 -2
- package/lib/components/schedules/products/index.d.ts +2 -2
- package/lib/components/schedules/products/list/ProductItem/index.d.ts +2 -2
- package/lib/components/schedules/products/list/index.d.ts +2 -2
- package/lib/components/schedules/resources/index.d.ts +2 -2
- package/lib/components/schedules/resources/list/index.d.ts +2 -2
- package/lib/components/schedules/resources/relationProduct/index.d.ts +2 -2
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +2 -2
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +2 -2
- package/lib/components/schedules/schedules/Schedules.d.ts +1 -1
- package/lib/components/schedules/schedules/SchedulesForDay/index.d.ts +1 -1
- package/lib/components/schedules/schedules/index.d.ts +2 -2
- package/lib/components/shoppingCart/Provider.d.ts +1 -1
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +1 -2
- package/lib/components/shoppingCart/components/Cart/index.d.ts +1 -2
- package/lib/components/shoppingCart/components/Empty/index.d.ts +2 -1
- package/lib/components/shoppingCart/components/Render/index.d.ts +2 -2
- package/lib/components/shoppingCart/hooks/useAddService.d.ts +1 -2
- package/lib/components/shoppingCart/hooks/useClearCart.d.ts +1 -2
- package/lib/components/shoppingCart/index.d.ts +2 -2
- package/lib/components/subTotal/index.d.ts +1 -1
- package/lib/components/tabProduct/index.d.ts +1 -1
- package/lib/components/taxSelect/index.d.ts +2 -2
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +1 -2
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +46 -25
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +1 -2
- package/lib/components/ticketBooking/components/floatButtons/index.d.ts +1 -1
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -2
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -2
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -2
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +9 -9
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +2 -2
- package/lib/components/ticketBooking/hooks/pisellos/useScanManager.d.ts +3 -3
- package/lib/components/ticketBooking/index.d.ts +1 -2
- package/lib/components/ticketBooking/miniRedux.d.ts +1 -1
- package/lib/components/walletList/index.d.ts +1 -2
- package/lib/components/walletList/model.d.ts +1 -1
- package/lib/components/walletList/tempHolderSelector/index.d.ts +2 -2
- package/lib/components/workSpaceList/components/Modal/index.d.ts +1 -2
- package/lib/components/workSpaceList/components/SearchWorkspaceAndBase/index.d.ts +1 -2
- package/lib/hooks/usePaymentLogger.d.ts +3 -2
- package/lib/index.d.ts +2 -0
- package/lib/index.js +6 -0
- package/lib/plus/clinetSearch/Add/PhoneField/index.d.ts +2 -2
- package/lib/plus/contactInfoModal/ContactInfoContent.d.ts +1 -2
- package/lib/plus/noteModal/AddTempModal.d.ts +1 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +2 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +2 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +2 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +2 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +2 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +1 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +2 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +1 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +1 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +2 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +1 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +1 -1
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +2 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +1 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +1 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +6 -6
- package/lib/plus/productSelect/ProductCard/index.d.ts +2 -2
- package/lib/plus/productSelect/ProductList/gridComponents.d.ts +6 -6
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.js +38 -29
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.less +6 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +1 -1
- package/lib/plus/productSelect/index.d.ts +1 -1
- package/lib/plus/saasCreateOrganization/components/Header.d.ts +2 -2
- package/lib/plus/saasCreateOrganization/index.d.ts +2 -2
- package/lib/plus/saasRegister/components/EntryEmail.d.ts +2 -2
- package/lib/plus/saasRegister/components/EntryInfo.d.ts +2 -2
- package/lib/plus/saasRegister/components/GoLogin.d.ts +2 -2
- package/lib/plus/saasRegister/components/Header.d.ts +2 -2
- package/lib/plus/saasRegister/components/VerifyError.d.ts +2 -2
- package/lib/plus/saasRegister/components/VerifyingLink.d.ts +2 -2
- package/lib/plus/saasRegister/components/VertifyEmail.d.ts +1 -2
- package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -1
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +6 -0
- package/lib/plus/skuOptionsSelection/components/NormalCard/index.js +142 -0
- package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +3 -0
- package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.js +153 -0
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.d.ts +10 -0
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.js +229 -0
- package/lib/plus/skuOptionsSelection/components/OptionsCard/index.less +113 -0
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +15 -0
- package/lib/plus/skuOptionsSelection/components/OptionsModal/index.js +140 -0
- package/lib/plus/skuOptionsSelection/components/TitleExtra/index.js +78 -0
- package/lib/plus/skuOptionsSelection/components/TitleExtra/index.less +23 -0
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.js +66 -0
- package/lib/plus/skuOptionsSelection/components/VariantCard/index.less +9 -0
- package/lib/plus/skuOptionsSelection/hooks/index.js +45 -0
- package/lib/plus/skuOptionsSelection/hooks/useLanguage.js +41 -0
- package/lib/plus/skuOptionsSelection/hooks/useStore.js +36 -0
- package/lib/plus/skuOptionsSelection/hooks/useSymbol.js +42 -0
- package/lib/plus/skuOptionsSelection/index.d.ts +5 -0
- package/lib/plus/skuOptionsSelection/index.js +141 -0
- package/lib/plus/skuOptionsSelection/index.less +4 -0
- package/lib/plus/skuOptionsSelection/locales.js +53 -0
- package/lib/plus/skuOptionsSelection/store/actions.js +74 -0
- package/lib/plus/skuOptionsSelection/store/createStore.js +87 -0
- package/lib/plus/skuOptionsSelection/store/index.js +42 -0
- package/lib/plus/skuOptionsSelection/store/store.js +57 -0
- package/lib/plus/skuOptionsSelection/types.js +44 -0
- package/lib/plus/skuOptionsSelection/utils/calculateOption.js +106 -0
- package/lib/plus/skuOptionsSelection/utils/checkSkuStatus.js +125 -0
- package/lib/plus/skuOptionsSelection/utils/index.d.ts +7 -0
- package/lib/plus/skuOptionsSelection/utils/index.js +35 -0
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.d.ts +19 -0
- package/lib/plus/skuOptionsSelection/utils/transformBundleGroup.js +115 -0
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.d.ts +1 -0
- package/lib/plus/skuOptionsSelection/utils/transformOptionGroup.js +113 -0
- package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.js +171 -0
- package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.js +212 -0
- package/lib/plus/skuOptionsSelection/utils/transformVariantGroup.js +118 -0
- package/lib/plus/walletPassGallery/components/passDetail/index.d.ts +1 -2
- package/lib/plus/walletPassGallery/components/passList/index.d.ts +1 -2
- package/lib/plus/walletPassGallery/components/timelineSection/index.d.ts +1 -2
- package/lib/plus/walletPassGallery/components/usageRule/index.d.ts +1 -1
- package/lib/plus/walletPassGallery/index.d.ts +1 -2
- package/lib/plus/webPosLogin/WebPosLogin.d.ts +1 -1
- package/lib/pro/Cards/components/SKUCard/index.d.ts +60 -0
- package/lib/pro/Cards/components/SKUCard/index.js +192 -0
- package/lib/pro/Cards/components/SKUCard/index.less +102 -0
- package/lib/pro/Cards/index.d.ts +1 -0
- package/lib/pro/Cards/index.js +39 -0
- package/lib/pro/Login2.0/components/ForgotPasswordFlow.d.ts +2 -9
- package/lib/pro/Login2.0/components/LoginCodeInput.d.ts +2 -6
- package/lib/pro/Login2.0/components/PhoneInput.d.ts +1 -1
- package/lib/pro/Login2.0/steps/CodeInput.d.ts +2 -6
- package/lib/pro/Login2.0/steps/EmailLinkAlreadyUsed.d.ts +2 -5
- package/lib/pro/Login2.0/steps/EmailLinkExpired.d.ts +2 -5
- package/lib/pro/Login2.0/steps/SetPassword.d.ts +2 -5
- package/lib/pro/{Selector/components/NumericStepper → NumericStepper}/index.js +31 -13
- package/{es/pro/Selector/components → lib/pro}/NumericStepper/index.less +7 -8
- package/lib/pro/Selector/BatchSelectorDemo.js +449 -137
- package/lib/pro/Selector/Item.js +109 -0
- package/lib/pro/Selector/Selector.js +194 -114
- package/lib/pro/Selector/Selector.stories.js +740 -0
- package/lib/pro/Selector/SelectorGroup.js +212 -141
- package/lib/pro/Selector/components/Card/index.js +72 -57
- package/lib/pro/Selector/components/Card/index.less +113 -83
- package/lib/pro/Selector/components/Card/types.js +17 -0
- package/lib/pro/Selector/components/Indicator/index.js +129 -0
- package/lib/pro/Selector/components/Indicator/index.less +114 -0
- package/lib/pro/Selector/components/LayoutContainer/index.js +64 -0
- package/lib/pro/Selector/components/Media/index.js +238 -0
- package/lib/pro/Selector/components/Media/index.less +124 -0
- package/lib/pro/Selector/components/Media/types.js +17 -0
- package/lib/pro/Selector/components/index.js +3 -3
- package/lib/pro/Selector/demo.js +808 -55
- package/lib/pro/Selector/hooks/usePresetItemProps.js +156 -0
- package/lib/pro/Selector/hooks/usePresetProps.js +133 -0
- package/lib/pro/Selector/hooks/useSelectionController.js +108 -67
- package/lib/pro/Selector/index.js +8 -0
- package/lib/pro/Selector/locales.js +51 -30
- package/lib/pro/Selector/selector.less +108 -2
- package/lib/pro/Selector/selectorGroup.less +8 -0
- package/lib/pro/numberKeyboard/index.d.ts +1 -1
- package/lib/pro/pisellNumberSelector/index.less +18 -2
- package/lib/pro/pisellPaymentList/example.d.ts +10 -11
- package/lib/pro/pisellPhoneKeyboard/index.d.ts +1 -2
- package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.d.ts +1 -2
- package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardSimple.d.ts +1 -1
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.d.ts +2 -2
- package/lib/pro/priceKeyboard/components/discountKeyboard/index.d.ts +2 -2
- package/lib/pro/priceKeyboard/components/paymentKeyboard/index.d.ts +1 -2
- package/lib/pro/priceKeyboard/hooks/rightItems.d.ts +1 -2
- package/lib/pro/skuDetailModal/index.js +540 -126
- package/lib/pro/skuDetailModal/index.less +136 -28
- package/lib/pro/skuDetailModal/locales.js +62 -3
- package/lib/pro/skuDetailModal/utils.js +42 -0
- package/lib/test/setup.d.ts +1 -0
- package/lib/test/setup.js +94 -0
- package/lowcode/kiosk-sku-detail/meta.ts +129 -0
- package/lowcode/selector/meta.ts +320 -285
- package/lowcode/selector/utils.ts +118 -0
- package/lowcode/selector.group/meta.ts +95 -10
- package/lowcode/selector.item/meta.ts +31 -0
- package/lowcode/sku-options-selection/default.ts +1215 -0
- package/lowcode/sku-options-selection/meta.ts +509 -0
- package/package.json +29 -8
- package/es/components/authentication/admin/AuthMethods/SettingList.d.ts +0 -5
- package/es/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +0 -22
- package/es/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +0 -11
- package/es/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +0 -13
- package/es/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +0 -13
- package/es/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +0 -14
- package/es/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +0 -13
- package/es/components/authentication/admin/AuthMethods/components/index.d.ts +0 -10
- package/es/components/authentication/admin/AuthMethods/constants.d.ts +0 -22
- package/es/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
- package/es/components/authentication/admin/AuthMethods/types.d.ts +0 -76
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
- package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
- package/es/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
- package/es/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +0 -25
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
- package/es/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
- package/es/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
- package/es/components/authentication/admin/ChannelAuthSetting/types.d.ts +0 -36
- package/es/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
- package/es/components/authentication/admin/CustomerAuth/types.d.ts +0 -16
- package/es/components/authentication/admin/CustomerOAuthConfig/index.d.ts +0 -6
- package/es/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
- package/es/components/authentication/admin/CustomerOAuthConfig/types.d.ts +0 -22
- package/es/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
- package/es/components/authentication/admin/DeviceAuth/types.d.ts +0 -16
- package/es/components/authentication/admin/OAuthConfig/index.d.ts +0 -6
- package/es/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
- package/es/components/authentication/admin/OAuthConfig/types.d.ts +0 -22
- package/es/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
- package/es/components/authentication/admin/OrgAdminAuth/types.d.ts +0 -16
- package/es/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
- package/es/components/authentication/admin/POSOperatorAuth/types.d.ts +0 -16
- package/es/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
- package/es/components/authentication/admin/SaaSAdminAuth/types.d.ts +0 -16
- package/es/components/authentication/index.d.ts +0 -0
- package/es/components/booking/components/customSelect/index.d.ts +0 -38
- package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -9
- package/es/components/booking/info/clientVariant/utils.d.ts +0 -3
- package/es/components/booking/info/service/editService/constants.d.ts +0 -1
- package/es/components/booking/info2/cartClientCard/locales.d.ts +0 -21
- package/es/components/booking/info2/service/editService/utils.d.ts +0 -28
- package/es/components/booking/model.d.ts +0 -120
- package/es/components/checkout/components/AdditionalModule/locales.d.ts +0 -36
- package/es/components/checkout/components/PaymentResultToast/types.d.ts +0 -59
- package/es/components/checkout/components/PaymentResultToast/utils.d.ts +0 -44
- package/es/components/checkout/components/ScrollableList/index.d.ts +0 -5
- package/es/components/checkout/components/ScrollableList/types.d.ts +0 -53
- package/es/components/checkout/constants.d.ts +0 -2
- package/es/components/checkout/hooks/usePaymentLogger.d.ts +0 -2
- package/es/components/checkout/locales.d.ts +0 -513
- package/es/components/checkout/styles.d.ts +0 -67
- package/es/components/eftposPay/utils/log/index.d.ts +0 -110
- package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
- package/es/components/list/components/ListItemSkeleton/index.d.ts +0 -2
- package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
- package/es/components/list/components/ScrollLoader/index.d.ts +0 -2
- package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
- package/es/components/list/components/TabSkeleton/index.d.ts +0 -2
- package/es/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
- package/es/components/list/components/WaterfallList/index.d.ts +0 -2
- package/es/components/list/hooks/useDevice.d.ts +0 -24
- package/es/components/list/hooks/useWaterfall.d.ts +0 -34
- package/es/components/list/locales.d.ts +0 -66
- package/es/components/list/types.d.ts +0 -178
- package/es/components/list/utils/getText.d.ts +0 -53
- package/es/components/list/utils/index.d.ts +0 -19
- package/es/components/pay/toB/components/Content/Header.d.ts +0 -5
- package/es/components/pay/toB/hooks.d.ts +0 -12
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -7
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -3
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -3
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -4
- package/es/components/pay/toC/locales.d.ts +0 -301
- package/es/components/pay/toC/status.d.ts +0 -13
- package/es/components/shoppingCart/locales.d.ts +0 -36
- package/es/components/shoppingCart/type.d.ts +0 -50
- package/es/components/subTotal/locales.d.ts +0 -42
- package/es/components/systemSettings/registry/components/ModuleList.d.ts +0 -4
- package/es/components/systemSettings/registry/locales.d.ts +0 -272
- package/es/components/systemSettings/registry/services.d.ts +0 -77
- package/es/components/systemSettings/registry/types.d.ts +0 -126
- package/es/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
- package/es/components/systemSettings/registry/utils/validators.d.ts +0 -8
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +0 -83
- package/es/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
- package/es/components/ticketBooking/components/bookingDataPanel/constants.d.ts +0 -22
- package/es/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/es/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
- package/es/components/ticketBooking/context/OsKeyContext.d.ts +0 -26
- package/es/components/ticketBooking/context/index.d.ts +0 -2
- package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
- package/es/components/ticketBooking/locales.d.ts +0 -201
- package/es/components/ticketBooking/utils/productCache.d.ts +0 -75
- package/es/components/wallet/utils.d.ts +0 -48
- package/es/components/walletList/locales.d.ts +0 -27
- package/es/components/walletList/types/index.d.ts +0 -194
- package/es/hooks/printer.d.ts +0 -4
- package/es/hooks/useEngineContext.d.ts +0 -4
- package/es/hooks/useLogger.d.ts +0 -2
- package/es/hooks/useToast.d.ts +0 -2
- package/es/hooks/useTranslationOriginal.d.ts +0 -1
- package/es/plus/clientCard/locales.d.ts +0 -18
- package/es/plus/clientCard/types.d.ts +0 -134
- package/es/plus/clientCard/utils.d.ts +0 -8
- package/es/plus/clientName/index.d.ts +0 -5
- package/es/plus/clientName/type.d.ts +0 -13
- package/es/plus/clientName/utils.d.ts +0 -2
- package/es/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -3
- package/es/plus/clinetSearch/Add/GenderField/index.d.ts +0 -3
- package/es/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +0 -5
- package/es/plus/clinetSearch/InfiniteScroll/index.d.ts +0 -2
- package/es/plus/clinetSearch/InfiniteScroll/types.d.ts +0 -46
- package/es/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
- package/es/plus/contactInfo/locales.d.ts +0 -15
- package/es/plus/contactInfo/types.d.ts +0 -91
- package/es/plus/contactInfo/utils.d.ts +0 -7
- package/es/plus/contactInfoModal/locales.d.ts +0 -66
- package/es/plus/noteModal/locales.d.ts +0 -33
- package/es/plus/noteModal/types.d.ts +0 -19
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -42
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -162
- package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
- package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
- package/es/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
- package/es/plus/productSelect/utils.d.ts +0 -39
- package/es/plus/selectHolder/locales.d.ts +0 -24
- package/es/plus/selectHolder/types.d.ts +0 -104
- package/es/plus/selectHolder/utils.d.ts +0 -9
- package/es/plus/walletEditor/components/JsonEditor/index.d.ts +0 -11
- package/es/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +0 -20
- package/es/plus/walletEditor/components/relationProduct/index.d.ts +0 -7
- package/es/plus/walletEditor/locales.d.ts +0 -135
- package/es/plus/walletEditor/types.d.ts +0 -52
- package/es/plus/walletPassGallery/locales.d.ts +0 -285
- package/es/plus/walletPassGallery/utils.d.ts +0 -48
- package/es/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +0 -24
- package/es/pro/Login2.0/locales.d.ts +0 -543
- package/es/pro/Login2.0/shared/registerFlow.d.ts +0 -116
- package/es/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +0 -16
- package/es/pro/Login2.0/steps/VerificationSuccess.d.ts +0 -11
- package/es/pro/Login2.0/steps/VerifyingEmailLink.d.ts +0 -10
- package/es/pro/Login2.0/steps/WaitEmailLink.d.ts +0 -21
- package/es/pro/Login2.0/types.d.ts +0 -167
- package/es/pro/NumberKeyboardPopover/types.d.ts +0 -31
- package/es/pro/Selector/BatchSelectorDemo.d.ts +0 -3
- package/es/pro/Selector/Selector.d.ts +0 -5
- package/es/pro/Selector/SelectorGroup.d.ts +0 -11
- package/es/pro/Selector/components/Card/index.d.ts +0 -27
- package/es/pro/Selector/components/IntersectionObserver.d.ts +0 -105
- package/es/pro/Selector/components/NumericStepper/index.d.ts +0 -41
- package/es/pro/Selector/components/index.d.ts +0 -2
- package/es/pro/Selector/demo.d.ts +0 -3
- package/es/pro/Selector/hooks/useSelectionController.d.ts +0 -42
- package/es/pro/Selector/index.d.ts +0 -8
- package/es/pro/Selector/locales.d.ts +0 -42
- package/es/pro/Selector/types.d.ts +0 -114
- package/es/pro/Selector/utils/index.d.ts +0 -49
- package/es/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +0 -5
- package/es/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +0 -9
- package/es/pro/comprehensiveSearch/locales.d.ts +0 -15
- package/es/pro/comprehensiveSearch/types.d.ts +0 -32
- package/es/pro/multiDayTimeSelect/types.d.ts +0 -28
- package/es/pro/numberKeyboard/locales.d.ts +0 -12
- package/es/pro/pisellNumberSelector/example.d.ts +0 -3
- package/es/pro/pisellPhoneKeyboard/locales.d.ts +0 -12
- package/es/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
- package/es/pro/pisellPriceKeyboardPopover/types.d.ts +0 -33
- package/es/pro/pisellSimplePriceKeyboardPopover/types.d.ts +0 -33
- package/es/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +0 -39
- package/es/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -98
- package/es/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +0 -42
- package/es/pro/priceKeyboard/components/discountKeyboard/types.d.ts +0 -17
- package/es/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +0 -45
- package/es/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +0 -39
- package/es/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -18
- package/es/pro/priceKeyboard/hooks/keyActions.d.ts +0 -28
- package/es/pro/priceKeyboard/utils.d.ts +0 -31
- package/es/pro/skuDetailModal/locales.d.ts +0 -48
- package/es/pro/skuDetailModal/types.d.ts +0 -348
- package/lib/components/authentication/admin/AuthMethods/SettingList.d.ts +0 -5
- package/lib/components/authentication/admin/AuthMethods/SettingsDrawer.d.ts +0 -22
- package/lib/components/authentication/admin/AuthMethods/components/DefaultSettingsContent.d.ts +0 -11
- package/lib/components/authentication/admin/AuthMethods/components/EmailSettingsContent.d.ts +0 -13
- package/lib/components/authentication/admin/AuthMethods/components/LoginMethodsList.d.ts +0 -13
- package/lib/components/authentication/admin/AuthMethods/components/PasswordRulesSettingsContent.d.ts +0 -14
- package/lib/components/authentication/admin/AuthMethods/components/PhoneSettingsContent.d.ts +0 -13
- package/lib/components/authentication/admin/AuthMethods/components/index.d.ts +0 -10
- package/lib/components/authentication/admin/AuthMethods/constants.d.ts +0 -22
- package/lib/components/authentication/admin/AuthMethods/locales.d.ts +0 -249
- package/lib/components/authentication/admin/AuthMethods/types.d.ts +0 -76
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/locales.d.ts +0 -84
- package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/types.d.ts +0 -41
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/index.d.ts +0 -6
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/locales.d.ts +0 -72
- package/lib/components/authentication/admin/ChannelAuthSetting/CollectInfo/types.d.ts +0 -33
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/locales.d.ts +0 -27
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSetting/types.d.ts +0 -25
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/locales.d.ts +0 -66
- package/lib/components/authentication/admin/ChannelAuthSetting/PageSettingItem/types.d.ts +0 -26
- package/lib/components/authentication/admin/ChannelAuthSetting/locales.d.ts +0 -39
- package/lib/components/authentication/admin/ChannelAuthSetting/types.d.ts +0 -36
- package/lib/components/authentication/admin/CustomerAuth/locales.d.ts +0 -66
- package/lib/components/authentication/admin/CustomerAuth/types.d.ts +0 -16
- package/lib/components/authentication/admin/CustomerOAuthConfig/index.d.ts +0 -6
- package/lib/components/authentication/admin/CustomerOAuthConfig/locales.d.ts +0 -108
- package/lib/components/authentication/admin/CustomerOAuthConfig/types.d.ts +0 -22
- package/lib/components/authentication/admin/DeviceAuth/locales.d.ts +0 -57
- package/lib/components/authentication/admin/DeviceAuth/types.d.ts +0 -16
- package/lib/components/authentication/admin/OAuthConfig/index.d.ts +0 -6
- package/lib/components/authentication/admin/OAuthConfig/locales.d.ts +0 -90
- package/lib/components/authentication/admin/OAuthConfig/types.d.ts +0 -22
- package/lib/components/authentication/admin/OrgAdminAuth/locales.d.ts +0 -54
- package/lib/components/authentication/admin/OrgAdminAuth/types.d.ts +0 -16
- package/lib/components/authentication/admin/POSOperatorAuth/locales.d.ts +0 -48
- package/lib/components/authentication/admin/POSOperatorAuth/types.d.ts +0 -16
- package/lib/components/authentication/admin/SaaSAdminAuth/locales.d.ts +0 -54
- package/lib/components/authentication/admin/SaaSAdminAuth/types.d.ts +0 -16
- package/lib/components/authentication/index.d.ts +0 -0
- package/lib/components/booking/components/customSelect/index.d.ts +0 -38
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -9
- package/lib/components/booking/info/clientVariant/utils.d.ts +0 -3
- package/lib/components/booking/info/service/editService/constants.d.ts +0 -1
- package/lib/components/booking/info2/cartClientCard/locales.d.ts +0 -21
- package/lib/components/booking/info2/service/editService/utils.d.ts +0 -28
- package/lib/components/booking/model.d.ts +0 -120
- package/lib/components/checkout/components/AdditionalModule/locales.d.ts +0 -36
- package/lib/components/checkout/components/PaymentResultToast/types.d.ts +0 -59
- package/lib/components/checkout/components/PaymentResultToast/utils.d.ts +0 -44
- package/lib/components/checkout/components/ScrollableList/index.d.ts +0 -5
- package/lib/components/checkout/components/ScrollableList/types.d.ts +0 -53
- package/lib/components/checkout/constants.d.ts +0 -2
- package/lib/components/checkout/hooks/usePaymentLogger.d.ts +0 -2
- package/lib/components/checkout/locales.d.ts +0 -513
- package/lib/components/checkout/styles.d.ts +0 -67
- package/lib/components/eftposPay/utils/log/index.d.ts +0 -110
- package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
- package/lib/components/list/components/ListItemSkeleton/index.d.ts +0 -2
- package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
- package/lib/components/list/components/ScrollLoader/index.d.ts +0 -2
- package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
- package/lib/components/list/components/TabSkeleton/index.d.ts +0 -2
- package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
- package/lib/components/list/components/WaterfallList/index.d.ts +0 -2
- package/lib/components/list/hooks/useDevice.d.ts +0 -24
- package/lib/components/list/hooks/useWaterfall.d.ts +0 -34
- package/lib/components/list/locales.d.ts +0 -66
- package/lib/components/list/types.d.ts +0 -178
- package/lib/components/list/utils/getText.d.ts +0 -53
- package/lib/components/list/utils/index.d.ts +0 -19
- package/lib/components/pay/toB/components/Content/Header.d.ts +0 -5
- package/lib/components/pay/toB/hooks.d.ts +0 -12
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +0 -7
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +0 -3
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +0 -3
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +0 -4
- package/lib/components/pay/toC/locales.d.ts +0 -301
- package/lib/components/pay/toC/status.d.ts +0 -13
- package/lib/components/shoppingCart/locales.d.ts +0 -36
- package/lib/components/shoppingCart/type.d.ts +0 -50
- package/lib/components/subTotal/locales.d.ts +0 -42
- package/lib/components/systemSettings/registry/components/ModuleList.d.ts +0 -4
- package/lib/components/systemSettings/registry/locales.d.ts +0 -272
- package/lib/components/systemSettings/registry/services.d.ts +0 -77
- package/lib/components/systemSettings/registry/types.d.ts +0 -126
- package/lib/components/systemSettings/registry/utils/typeValidation.d.ts +0 -16
- package/lib/components/systemSettings/registry/utils/validators.d.ts +0 -8
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +0 -83
- package/lib/components/ticketBooking/components/bookingDataPanel/bookingList/utils.d.ts +0 -6
- package/lib/components/ticketBooking/components/bookingDataPanel/constants.d.ts +0 -22
- package/lib/components/ticketBooking/components/bookingDataPanel/serve.d.ts +0 -0
- package/lib/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
- package/lib/components/ticketBooking/context/OsKeyContext.d.ts +0 -26
- package/lib/components/ticketBooking/context/index.d.ts +0 -2
- package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
- package/lib/components/ticketBooking/locales.d.ts +0 -201
- package/lib/components/ticketBooking/utils/productCache.d.ts +0 -75
- package/lib/components/wallet/utils.d.ts +0 -48
- package/lib/components/walletList/locales.d.ts +0 -27
- package/lib/components/walletList/types/index.d.ts +0 -194
- package/lib/hooks/printer.d.ts +0 -4
- package/lib/hooks/useEngineContext.d.ts +0 -4
- package/lib/hooks/useLogger.d.ts +0 -2
- package/lib/hooks/useToast.d.ts +0 -2
- package/lib/hooks/useTranslationOriginal.d.ts +0 -1
- package/lib/plus/clientCard/locales.d.ts +0 -18
- package/lib/plus/clientCard/types.d.ts +0 -134
- package/lib/plus/clientCard/utils.d.ts +0 -8
- package/lib/plus/clientName/index.d.ts +0 -5
- package/lib/plus/clientName/type.d.ts +0 -13
- package/lib/plus/clientName/utils.d.ts +0 -2
- package/lib/plus/clinetSearch/Add/BirthdayField/index.d.ts +0 -3
- package/lib/plus/clinetSearch/Add/GenderField/index.d.ts +0 -3
- package/lib/plus/clinetSearch/InfiniteScroll/InfiniteScroll.d.ts +0 -5
- package/lib/plus/clinetSearch/InfiniteScroll/index.d.ts +0 -2
- package/lib/plus/clinetSearch/InfiniteScroll/types.d.ts +0 -46
- package/lib/plus/contactInfo/components/SwipeAction/index.d.ts +0 -46
- package/lib/plus/contactInfo/locales.d.ts +0 -15
- package/lib/plus/contactInfo/types.d.ts +0 -91
- package/lib/plus/contactInfo/utils.d.ts +0 -7
- package/lib/plus/contactInfoModal/locales.d.ts +0 -66
- package/lib/plus/noteModal/locales.d.ts +0 -33
- package/lib/plus/noteModal/types.d.ts +0 -19
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -42
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -162
- package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
- package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
- package/lib/plus/productSelect/components/TabsStructure/TabsStructure.d.ts +0 -30
- package/lib/plus/productSelect/utils.d.ts +0 -39
- package/lib/plus/selectHolder/locales.d.ts +0 -24
- package/lib/plus/selectHolder/types.d.ts +0 -104
- package/lib/plus/selectHolder/utils.d.ts +0 -9
- package/lib/plus/walletEditor/components/JsonEditor/index.d.ts +0 -11
- package/lib/plus/walletEditor/components/ValidityPeriodSelector/index.d.ts +0 -20
- package/lib/plus/walletEditor/components/relationProduct/index.d.ts +0 -7
- package/lib/plus/walletEditor/locales.d.ts +0 -135
- package/lib/plus/walletEditor/types.d.ts +0 -52
- package/lib/plus/walletPassGallery/locales.d.ts +0 -285
- package/lib/plus/walletPassGallery/utils.d.ts +0 -48
- package/lib/pro/Login2.0/hooks/usePasswordValidationRules.d.ts +0 -24
- package/lib/pro/Login2.0/locales.d.ts +0 -543
- package/lib/pro/Login2.0/shared/registerFlow.d.ts +0 -116
- package/lib/pro/Login2.0/steps/EmailAlreadyRegistered.d.ts +0 -16
- package/lib/pro/Login2.0/steps/VerificationSuccess.d.ts +0 -11
- package/lib/pro/Login2.0/steps/VerifyingEmailLink.d.ts +0 -10
- package/lib/pro/Login2.0/steps/WaitEmailLink.d.ts +0 -21
- package/lib/pro/Login2.0/types.d.ts +0 -167
- package/lib/pro/NumberKeyboardPopover/types.d.ts +0 -31
- package/lib/pro/Selector/BatchSelectorDemo.d.ts +0 -3
- package/lib/pro/Selector/Selector.d.ts +0 -5
- package/lib/pro/Selector/SelectorGroup.d.ts +0 -11
- package/lib/pro/Selector/components/Card/index.d.ts +0 -27
- package/lib/pro/Selector/components/IntersectionObserver.d.ts +0 -105
- package/lib/pro/Selector/components/NumericStepper/index.d.ts +0 -41
- package/lib/pro/Selector/components/index.d.ts +0 -2
- package/lib/pro/Selector/demo.d.ts +0 -3
- package/lib/pro/Selector/hooks/useSelectionController.d.ts +0 -42
- package/lib/pro/Selector/index.d.ts +0 -8
- package/lib/pro/Selector/locales.d.ts +0 -42
- package/lib/pro/Selector/types.d.ts +0 -114
- package/lib/pro/Selector/utils/index.d.ts +0 -49
- package/lib/pro/comprehensiveSearch/hooks/useNativeScanner.d.ts +0 -5
- package/lib/pro/comprehensiveSearch/hooks/useTerminalPeripherals.d.ts +0 -9
- package/lib/pro/comprehensiveSearch/locales.d.ts +0 -15
- package/lib/pro/comprehensiveSearch/types.d.ts +0 -32
- package/lib/pro/multiDayTimeSelect/types.d.ts +0 -28
- package/lib/pro/numberKeyboard/locales.d.ts +0 -12
- package/lib/pro/pisellNumberSelector/example.d.ts +0 -3
- package/lib/pro/pisellPhoneKeyboard/locales.d.ts +0 -12
- package/lib/pro/pisellPriceKeyboardModal/types.d.ts +0 -25
- package/lib/pro/pisellPriceKeyboardPopover/types.d.ts +0 -33
- package/lib/pro/pisellSimplePriceKeyboardPopover/types.d.ts +0 -33
- package/lib/pro/priceKeyboard/components/cashKeyboard/locales.d.ts +0 -39
- package/lib/pro/priceKeyboard/components/cashKeyboard/types.d.ts +0 -98
- package/lib/pro/priceKeyboard/components/discountKeyboard/locales.d.ts +0 -42
- package/lib/pro/priceKeyboard/components/discountKeyboard/types.d.ts +0 -17
- package/lib/pro/priceKeyboard/components/paymentKeyboard/locales.d.ts +0 -45
- package/lib/pro/priceKeyboard/components/paymentKeyboard/types.d.ts +0 -39
- package/lib/pro/priceKeyboard/components/shortcuts/index.d.ts +0 -18
- package/lib/pro/priceKeyboard/hooks/keyActions.d.ts +0 -28
- package/lib/pro/priceKeyboard/utils.d.ts +0 -31
- package/lib/pro/skuDetailModal/locales.d.ts +0 -48
- package/lib/pro/skuDetailModal/types.d.ts +0 -348
|
@@ -1,27 +1,116 @@
|
|
|
1
1
|
.pisell-sku-detail-modal {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
/**
|
|
3
|
+
* 固定弹窗高度,确保内部滚动容器有“可计算的最大高度”
|
|
4
|
+
* 否则内容会把 modal 撑开,overflow-y: auto 无法生效(看起来就“滚不动”)
|
|
5
|
+
*/
|
|
6
|
+
height: 684px;
|
|
7
|
+
|
|
8
|
+
// PisellModal(PC)内容容器:固定高度,内部 body 使用 flex 占满剩余空间
|
|
9
|
+
.pisell-lowcode-modal-content {
|
|
10
|
+
height: 684px;
|
|
11
|
+
max-height: 684px;
|
|
7
12
|
}
|
|
8
13
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
14
|
+
// SkuDetailModal 内部使用自定义滚动容器(右侧内容区),避免整块 modal body 滚动
|
|
15
|
+
.pisell-lowcode-modal-body {
|
|
16
|
+
overflow: hidden !important;
|
|
17
|
+
min-height: 0;
|
|
13
18
|
}
|
|
14
19
|
|
|
15
|
-
|
|
16
|
-
|
|
20
|
+
// 让 Procedure 的 content 在 modal body 的高度内进行布局,子元素可使用 min-height:0 正常滚动
|
|
21
|
+
.pisell-procedure-content {
|
|
17
22
|
display: flex;
|
|
18
23
|
flex-direction: column;
|
|
19
|
-
|
|
24
|
+
height: 100%;
|
|
25
|
+
min-height: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// Procedure 本体撑满 modal body 高度(否则内部 100% 高度链条断开)
|
|
29
|
+
.pisell-sku-procedure,
|
|
30
|
+
.pisell-procedure {
|
|
31
|
+
height: 100%;
|
|
32
|
+
min-height: 0;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// 右侧内容区作为 SKUOptionsSelection 的 scroll parent(真正发生滚动的容器)
|
|
36
|
+
.sku-detail-right-content {
|
|
37
|
+
flex: 1;
|
|
38
|
+
min-height: 0;
|
|
39
|
+
overflow-y: auto;
|
|
40
|
+
max-height: 530px;
|
|
41
|
+
/**
|
|
42
|
+
* @description
|
|
43
|
+
* 让滚动条不要贴着内容(尤其是 macOS overlay scrollbar 会覆盖内容)
|
|
44
|
+
*/
|
|
45
|
+
box-sizing: border-box;
|
|
46
|
+
padding-right: 12px;
|
|
47
|
+
scrollbar-gutter: stable;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.pisell-sku-procedure {
|
|
51
|
+
.pisell-procedure-content {
|
|
52
|
+
padding-top: 0 !important;
|
|
53
|
+
padding-bottom: 0;
|
|
54
|
+
height: fit-content !important;
|
|
55
|
+
}
|
|
56
|
+
.pisell-batch-selector {
|
|
57
|
+
padding-top: 0 !important;
|
|
58
|
+
}
|
|
59
|
+
.pisell-product-select__tabs-wrapper {
|
|
60
|
+
padding-top: 0 !important;
|
|
61
|
+
}
|
|
62
|
+
.pisell-lowcode-layout {
|
|
63
|
+
background: #fff!important;
|
|
64
|
+
}
|
|
65
|
+
.pisell-procedure-footer {
|
|
66
|
+
border-top: 1px solid #e8e8e8 !important;
|
|
67
|
+
background: #fff!important;
|
|
68
|
+
}
|
|
69
|
+
.pisell-procedure-sider-content-top{
|
|
70
|
+
height: 100% !important;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
.pisell-lowcode-modal-body {
|
|
74
|
+
border-radius: 16px;
|
|
75
|
+
padding: 0!important;
|
|
76
|
+
gap: 0!important;
|
|
77
|
+
}
|
|
78
|
+
.sku-detail-left-close {
|
|
79
|
+
font-size: 20px;
|
|
80
|
+
color: #7958d3;
|
|
81
|
+
display: inline-flex;
|
|
82
|
+
align-items: center;
|
|
83
|
+
gap: 6px;
|
|
84
|
+
cursor: pointer;
|
|
85
|
+
user-select: none;
|
|
86
|
+
margin-left: 100px;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @description Header 左侧返回按钮(非第一步显示) + 第一页占位
|
|
91
|
+
* 第一页必须渲染一个空 div 占位,避免 header 左右布局抖动
|
|
92
|
+
*/
|
|
93
|
+
.sku-detail-left-back {
|
|
94
|
+
font-size: 20px;
|
|
95
|
+
color: #7958d3;
|
|
96
|
+
display: inline-flex;
|
|
97
|
+
align-items: center;
|
|
98
|
+
gap: 6px;
|
|
99
|
+
cursor: pointer;
|
|
100
|
+
user-select: none;
|
|
101
|
+
margin-right: 100px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.sku-detail-left-back-placeholder {
|
|
105
|
+
width: 66px;
|
|
106
|
+
height: 24px;
|
|
107
|
+
margin-right: 100px;
|
|
20
108
|
}
|
|
21
109
|
|
|
22
110
|
.product-image {
|
|
23
|
-
width:
|
|
111
|
+
width: 100%;
|
|
24
112
|
height: 124px;
|
|
113
|
+
flex-shrink: 0; // 关键:不让 flex 把它压小
|
|
25
114
|
border-radius: 8px;
|
|
26
115
|
overflow: hidden;
|
|
27
116
|
display: flex;
|
|
@@ -62,8 +151,19 @@
|
|
|
62
151
|
}
|
|
63
152
|
}
|
|
64
153
|
|
|
154
|
+
.sku-detail-left {
|
|
155
|
+
padding-left: 14px;
|
|
156
|
+
/**
|
|
157
|
+
* 让左侧内容成为垂直 flex 容器,便于把底部价格汇总“贴底”
|
|
158
|
+
* 前提:父级侧边栏容器具备可用高度(PisellProcedure 内部通常已设置)
|
|
159
|
+
*/
|
|
160
|
+
display: flex;
|
|
161
|
+
flex-direction: column;
|
|
162
|
+
height: 100%;
|
|
163
|
+
min-height: 0;
|
|
164
|
+
}
|
|
165
|
+
|
|
65
166
|
.sku-detail-right {
|
|
66
|
-
flex: 1;
|
|
67
167
|
display: flex;
|
|
68
168
|
flex-direction: column;
|
|
69
169
|
}
|
|
@@ -71,6 +171,7 @@
|
|
|
71
171
|
.product-info {
|
|
72
172
|
display: flex;
|
|
73
173
|
flex-direction: row;
|
|
174
|
+
margin-bottom: 20px;
|
|
74
175
|
|
|
75
176
|
.product-info-left {
|
|
76
177
|
flex: 1;
|
|
@@ -78,9 +179,10 @@
|
|
|
78
179
|
flex-direction: column;
|
|
79
180
|
|
|
80
181
|
.product-name {
|
|
81
|
-
color:
|
|
82
|
-
font-size:
|
|
182
|
+
color: #1B1B1B;
|
|
183
|
+
font-size: 14px;
|
|
83
184
|
font-weight: 600;
|
|
185
|
+
margin-top: 20px;
|
|
84
186
|
}
|
|
85
187
|
|
|
86
188
|
.product-spec {
|
|
@@ -103,7 +205,13 @@
|
|
|
103
205
|
display: flex;
|
|
104
206
|
flex-direction: row;
|
|
105
207
|
align-items: center;
|
|
106
|
-
justify-content: space-
|
|
208
|
+
justify-content: space-around;
|
|
209
|
+
.quantity-section-title {
|
|
210
|
+
color: #000;
|
|
211
|
+
font-size: 14px;
|
|
212
|
+
font-weight: 600;
|
|
213
|
+
margin-right: 30px;
|
|
214
|
+
}
|
|
107
215
|
|
|
108
216
|
span {
|
|
109
217
|
color: #000;
|
|
@@ -113,7 +221,6 @@
|
|
|
113
221
|
}
|
|
114
222
|
|
|
115
223
|
.note-section {
|
|
116
|
-
min-height: 94px;
|
|
117
224
|
margin-top: 8px;
|
|
118
225
|
color: #7f56da;
|
|
119
226
|
font-size: 14px;
|
|
@@ -129,7 +236,12 @@
|
|
|
129
236
|
}
|
|
130
237
|
|
|
131
238
|
.price-summary-section {
|
|
132
|
-
|
|
239
|
+
/**
|
|
240
|
+
* 在垂直 flex 布局中将价格汇总推到底部
|
|
241
|
+
*/
|
|
242
|
+
margin-top: auto;
|
|
243
|
+
padding-top: 16px;
|
|
244
|
+
flex-shrink: 0;
|
|
133
245
|
|
|
134
246
|
.price-item {
|
|
135
247
|
display: flex;
|
|
@@ -205,10 +317,13 @@
|
|
|
205
317
|
margin: 12px 0;
|
|
206
318
|
}
|
|
207
319
|
}
|
|
320
|
+
.sku-detail-content-footer-confirm-btn {
|
|
321
|
+
width: 200px;
|
|
322
|
+
}
|
|
208
323
|
|
|
209
324
|
.sku-detail-content-footer {
|
|
210
|
-
margin-top:
|
|
211
|
-
margin-bottom:
|
|
325
|
+
margin-top: 0 !important;
|
|
326
|
+
margin-bottom: 0 !important;
|
|
212
327
|
display: flex;
|
|
213
328
|
flex-direction: row;
|
|
214
329
|
align-items: center;
|
|
@@ -216,7 +331,6 @@
|
|
|
216
331
|
|
|
217
332
|
.sku-detail-content-footer-remove-btn {
|
|
218
333
|
width: 120px;
|
|
219
|
-
height: 48px;
|
|
220
334
|
}
|
|
221
335
|
|
|
222
336
|
.modal-actions {
|
|
@@ -226,7 +340,6 @@
|
|
|
226
340
|
|
|
227
341
|
.sku-detail-content-footer-price-btn {
|
|
228
342
|
width: 140px;
|
|
229
|
-
height: 48px;
|
|
230
343
|
|
|
231
344
|
.sku-detail-content-footer-price-btn-text {
|
|
232
345
|
width: 100%;
|
|
@@ -238,11 +351,6 @@
|
|
|
238
351
|
line-height: 20px;
|
|
239
352
|
}
|
|
240
353
|
}
|
|
241
|
-
|
|
242
|
-
.sku-detail-content-footer-confirm-btn {
|
|
243
|
-
width: 200px;
|
|
244
|
-
height: 48px;
|
|
245
|
-
}
|
|
246
354
|
}
|
|
247
355
|
}
|
|
248
356
|
}
|
|
@@ -12,7 +12,18 @@ export default {
|
|
|
12
12
|
'pisell2.text.sku.detail.modal.btn.add.note': 'Add Note',
|
|
13
13
|
'pisell2.text.sku.detail.modal.btn.remove': 'Remove',
|
|
14
14
|
'pisell2.text.sku.detail.modal.btn.confirm': 'Confirm',
|
|
15
|
-
'pisell2.text.sku.detail.modal.btn.manual.price.change': 'Manual Price Change'
|
|
15
|
+
'pisell2.text.sku.detail.modal.btn.manual.price.change': 'Manual Price Change',
|
|
16
|
+
'pisell2.text.sku.detail.modal.btn.close': 'Close',
|
|
17
|
+
'pisell2.text.sku.detail.modal.btn.back': 'Back',
|
|
18
|
+
'pisell2.text.sku.detail.modal.btn.next': 'Next',
|
|
19
|
+
'pisell2.text.sku.detail.modal.step.details': 'Details',
|
|
20
|
+
'pisell2.text.sku.detail.modal.step.select.bundle': 'Select Bundle',
|
|
21
|
+
// Stock alert
|
|
22
|
+
'pisell2.text.sku.detail.modal.stock.alert.title': '⚠️ Stock Alert',
|
|
23
|
+
'pisell2.text.sku.detail.modal.stock.alert.desc': 'This item is low in stock. You can still add it to your cart.',
|
|
24
|
+
'pisell2.text.sku.detail.modal.stock.alert.checkbox': 'Don’t show again today',
|
|
25
|
+
'pisell2.text.sku.detail.modal.stock.alert.btn.cancel': 'Cancel',
|
|
26
|
+
'pisell2.text.sku.detail.modal.stock.alert.btn.continue': 'Continue'
|
|
16
27
|
},
|
|
17
28
|
'zh-CN': {
|
|
18
29
|
'pisell2.text.sku.detail.modal.quantity': '数量',
|
|
@@ -27,7 +38,18 @@ export default {
|
|
|
27
38
|
'pisell2.text.sku.detail.modal.btn.add.note': '添加备注',
|
|
28
39
|
'pisell2.text.sku.detail.modal.btn.remove': '删除',
|
|
29
40
|
'pisell2.text.sku.detail.modal.btn.confirm': '确定',
|
|
30
|
-
'pisell2.text.sku.detail.modal.btn.manual.price.change': '修改价格'
|
|
41
|
+
'pisell2.text.sku.detail.modal.btn.manual.price.change': '修改价格',
|
|
42
|
+
'pisell2.text.sku.detail.modal.btn.close': '关闭',
|
|
43
|
+
'pisell2.text.sku.detail.modal.btn.back': '返回',
|
|
44
|
+
'pisell2.text.sku.detail.modal.btn.next': '下一步',
|
|
45
|
+
'pisell2.text.sku.detail.modal.step.details': '详情',
|
|
46
|
+
'pisell2.text.sku.detail.modal.step.select.bundle': '选择套餐',
|
|
47
|
+
// Stock alert
|
|
48
|
+
'pisell2.text.sku.detail.modal.stock.alert.title': '⚠️ 库存提醒',
|
|
49
|
+
'pisell2.text.sku.detail.modal.stock.alert.desc': '该商品当前库存不足,您仍可将其加入购物车。',
|
|
50
|
+
'pisell2.text.sku.detail.modal.stock.alert.checkbox': '今天不再提示',
|
|
51
|
+
'pisell2.text.sku.detail.modal.stock.alert.btn.cancel': '取消',
|
|
52
|
+
'pisell2.text.sku.detail.modal.stock.alert.btn.continue': '继续加入购物车'
|
|
31
53
|
},
|
|
32
54
|
'zh-HK': {
|
|
33
55
|
'pisell2.text.sku.detail.modal.quantity': '數量',
|
|
@@ -42,6 +64,43 @@ export default {
|
|
|
42
64
|
'pisell2.text.sku.detail.modal.btn.add.note': '添加備註',
|
|
43
65
|
'pisell2.text.sku.detail.modal.btn.remove': '刪除',
|
|
44
66
|
'pisell2.text.sku.detail.modal.btn.confirm': '確定',
|
|
45
|
-
'pisell2.text.sku.detail.modal.btn.manual.price.change': '修改價格'
|
|
67
|
+
'pisell2.text.sku.detail.modal.btn.manual.price.change': '修改價格',
|
|
68
|
+
'pisell2.text.sku.detail.modal.btn.close': '關閉',
|
|
69
|
+
'pisell2.text.sku.detail.modal.btn.back': '返回',
|
|
70
|
+
'pisell2.text.sku.detail.modal.btn.next': '下一步',
|
|
71
|
+
'pisell2.text.sku.detail.modal.step.details': '詳情',
|
|
72
|
+
'pisell2.text.sku.detail.modal.step.select.bundle': '選擇套餐',
|
|
73
|
+
// Stock alert
|
|
74
|
+
'pisell2.text.sku.detail.modal.stock.alert.title': '⚠️ 庫存提醒',
|
|
75
|
+
'pisell2.text.sku.detail.modal.stock.alert.desc': '該商品當前庫存不足,您仍可將其加入購物車。',
|
|
76
|
+
'pisell2.text.sku.detail.modal.stock.alert.checkbox': '今天不再提示',
|
|
77
|
+
'pisell2.text.sku.detail.modal.stock.alert.btn.cancel': '取消',
|
|
78
|
+
'pisell2.text.sku.detail.modal.stock.alert.btn.continue': '繼續加入購物車'
|
|
79
|
+
},
|
|
80
|
+
'zh-TW': {
|
|
81
|
+
'pisell2.text.sku.detail.modal.quantity': '數量',
|
|
82
|
+
'pisell2.text.sku.detail.modal.note': '備註:',
|
|
83
|
+
'pisell2.text.sku.detail.modal.subtotal': '小計',
|
|
84
|
+
'pisell2.text.sku.detail.modal.discount': '折扣',
|
|
85
|
+
'pisell2.text.sku.detail.modal.manual.price.change': '修改價格 ',
|
|
86
|
+
'pisell2.text.sku.detail.modal.price.override': '一口價',
|
|
87
|
+
'pisell2.text.sku.detail.modal.total': '總計',
|
|
88
|
+
'pisell2.text.sku.detail.modal.gst.excl': '未包含稅費',
|
|
89
|
+
'pisell2.text.sku.detail.modal.gst.incl': '已包含稅費',
|
|
90
|
+
'pisell2.text.sku.detail.modal.btn.add.note': '添加備註',
|
|
91
|
+
'pisell2.text.sku.detail.modal.btn.remove': '刪除',
|
|
92
|
+
'pisell2.text.sku.detail.modal.btn.confirm': '確定',
|
|
93
|
+
'pisell2.text.sku.detail.modal.btn.manual.price.change': '修改價格',
|
|
94
|
+
'pisell2.text.sku.detail.modal.btn.close': '關閉',
|
|
95
|
+
'pisell2.text.sku.detail.modal.btn.back': '返回',
|
|
96
|
+
'pisell2.text.sku.detail.modal.btn.next': '下一步',
|
|
97
|
+
'pisell2.text.sku.detail.modal.step.details': '詳情',
|
|
98
|
+
'pisell2.text.sku.detail.modal.step.select.bundle': '選擇套餐',
|
|
99
|
+
// Stock alert
|
|
100
|
+
'pisell2.text.sku.detail.modal.stock.alert.title': '⚠️ 庫存提醒',
|
|
101
|
+
'pisell2.text.sku.detail.modal.stock.alert.desc': '該商品當前庫存不足,您仍可將其加入購物車。',
|
|
102
|
+
'pisell2.text.sku.detail.modal.stock.alert.checkbox': '今天不再提示',
|
|
103
|
+
'pisell2.text.sku.detail.modal.stock.alert.btn.cancel': '取消',
|
|
104
|
+
'pisell2.text.sku.detail.modal.stock.alert.btn.continue': '繼續加入購物車'
|
|
46
105
|
}
|
|
47
106
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export var checkSkuStockCanSell = function checkSkuStockCanSell(sku) {
|
|
2
|
+
var canSell = true; // 是否可以售卖
|
|
3
|
+
var hasStock = true; // 是否还有库存
|
|
4
|
+
// 如果追踪库存
|
|
5
|
+
if ((sku === null || sku === void 0 ? void 0 : sku.is_track) === 1) {
|
|
6
|
+
// 如果允许超卖,则不检查库存
|
|
7
|
+
// 追踪库存 & 不允许超卖,则检查库存
|
|
8
|
+
if (Number((sku === null || sku === void 0 ? void 0 : sku.stock_quantity) || 0) <= 0) {
|
|
9
|
+
canSell = false;
|
|
10
|
+
hasStock = false;
|
|
11
|
+
}
|
|
12
|
+
} else {
|
|
13
|
+
// 不跟踪库存,则可以售卖
|
|
14
|
+
canSell = true;
|
|
15
|
+
hasStock = true;
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
canSell: canSell,
|
|
19
|
+
hasStock: hasStock
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom/vitest';
|
package/es/test/setup.js
ADDED
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
var _excluded = ["name"];
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
5
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
6
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
9
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
10
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
11
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
12
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
13
|
+
/*
|
|
14
|
+
* @Author: han.wang
|
|
15
|
+
* @Date: 2025-11-01 14:27:50
|
|
16
|
+
* @LastEditors: han.wang
|
|
17
|
+
* @LastEditTime: 2025-11-01 14:28:07
|
|
18
|
+
* @Description:
|
|
19
|
+
*/
|
|
20
|
+
// Vitest 兼容导入方式
|
|
21
|
+
import '@testing-library/jest-dom/vitest';
|
|
22
|
+
import { vi } from 'vitest';
|
|
23
|
+
|
|
24
|
+
// Mock antd message
|
|
25
|
+
vi.mock('antd', /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
26
|
+
var actual;
|
|
27
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
28
|
+
while (1) switch (_context.prev = _context.next) {
|
|
29
|
+
case 0:
|
|
30
|
+
_context.next = 2;
|
|
31
|
+
return vi.importActual('antd');
|
|
32
|
+
case 2:
|
|
33
|
+
actual = _context.sent;
|
|
34
|
+
return _context.abrupt("return", _objectSpread(_objectSpread({}, actual), {}, {
|
|
35
|
+
message: {
|
|
36
|
+
success: vi.fn(),
|
|
37
|
+
error: vi.fn(),
|
|
38
|
+
warning: vi.fn(),
|
|
39
|
+
info: vi.fn()
|
|
40
|
+
}
|
|
41
|
+
}));
|
|
42
|
+
case 4:
|
|
43
|
+
case "end":
|
|
44
|
+
return _context.stop();
|
|
45
|
+
}
|
|
46
|
+
}, _callee);
|
|
47
|
+
})));
|
|
48
|
+
|
|
49
|
+
// Mock locales
|
|
50
|
+
vi.mock('@pisell/utils', function () {
|
|
51
|
+
return {
|
|
52
|
+
locales: {
|
|
53
|
+
init: vi.fn(),
|
|
54
|
+
getLocale: function getLocale() {
|
|
55
|
+
return 'zh-CN';
|
|
56
|
+
},
|
|
57
|
+
getText: function getText(key) {
|
|
58
|
+
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
59
|
+
args[_key - 1] = arguments[_key];
|
|
60
|
+
}
|
|
61
|
+
// 模拟国际化文本
|
|
62
|
+
var mockTexts = {
|
|
63
|
+
'pisell-login2-check-email-title': '请检查您的邮箱',
|
|
64
|
+
'pisell-login2-check-phone-title': '请检查您的手机',
|
|
65
|
+
'pisell-login2-check-email-desc': '我们已向您的邮箱发送了验证码',
|
|
66
|
+
'pisell-login2-check-phone-desc': '我们已向您的手机发送了验证码',
|
|
67
|
+
'pisell-login2-no-email-received': '没有收到邮件?',
|
|
68
|
+
'pisell-login2-no-message-received': '没有收到短信?',
|
|
69
|
+
'pisell-login2-login-button': '登录',
|
|
70
|
+
'pisell-login2-back': '返回',
|
|
71
|
+
'pisell-login2-resend': '重新发送',
|
|
72
|
+
// Selector 组件相关
|
|
73
|
+
'pisell2.pro.selector.mode.single': '单选',
|
|
74
|
+
'pisell2.pro.selector.mode.multiple': '多选',
|
|
75
|
+
'pisell2.pro.selector.validate.required-msg': '请选择',
|
|
76
|
+
'pisell2.pro.selector.validate.requireOneOf-msg': '该组必须选择指定集合之一',
|
|
77
|
+
'pisell2.pro.selector.required-tag': '必选',
|
|
78
|
+
'pisell2.pro.selector.validate.min-selection': function pisell2ProSelectorValidateMinSelection(min) {
|
|
79
|
+
return "\u81F3\u5C11\u9009\u62E9 ".concat(min, " \u4E2A\u9009\u9879");
|
|
80
|
+
},
|
|
81
|
+
'pisell2.pro.selector.validate.max-selection': function pisell2ProSelectorValidateMaxSelection(max) {
|
|
82
|
+
return "\u6700\u591A\u9009\u62E9 ".concat(max, " \u4E2A\u9009\u9879");
|
|
83
|
+
},
|
|
84
|
+
'pisell2.pro.selector.tip.min-max-selection': function pisell2ProSelectorTipMinMaxSelection(min, max) {
|
|
85
|
+
var _minText = "\u81F3\u5C11\u9009\u62E9 ".concat(min, " \u4E2A\u9009\u9879");
|
|
86
|
+
var _maxText = "\u6700\u591A\u9009\u62E9 ".concat(max, " \u4E2A\u9009\u9879");
|
|
87
|
+
return "".concat(_minText, ", ").concat(_maxText);
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
var text = mockTexts[key];
|
|
91
|
+
if (typeof text === 'function') {
|
|
92
|
+
return text.apply(void 0, args);
|
|
93
|
+
}
|
|
94
|
+
return text || key;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
});
|
|
99
|
+
|
|
100
|
+
// Mock useEngineContext
|
|
101
|
+
vi.mock('../../hooks/useEngineContext', function () {
|
|
102
|
+
return {
|
|
103
|
+
default: function _default() {
|
|
104
|
+
return {
|
|
105
|
+
engine: {
|
|
106
|
+
get: vi.fn(),
|
|
107
|
+
set: vi.fn()
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
},
|
|
111
|
+
usePisellOS: function usePisellOS() {
|
|
112
|
+
return {
|
|
113
|
+
engine: {
|
|
114
|
+
get: vi.fn(),
|
|
115
|
+
set: vi.fn()
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
});
|
|
121
|
+
|
|
122
|
+
// Mock Iconfont
|
|
123
|
+
vi.mock('@pisell/materials', function () {
|
|
124
|
+
return {
|
|
125
|
+
Iconfont: function Iconfont(_ref2) {
|
|
126
|
+
var name = _ref2.name,
|
|
127
|
+
props = _objectWithoutProperties(_ref2, _excluded);
|
|
128
|
+
var React = require('react');
|
|
129
|
+
return React.createElement('span', _objectSpread({
|
|
130
|
+
'data-testid': "icon-".concat(name)
|
|
131
|
+
}, props));
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
});
|
|
135
|
+
|
|
136
|
+
// Mock CSS modules
|
|
137
|
+
vi.mock('*.less', function () {
|
|
138
|
+
return {};
|
|
139
|
+
});
|
|
140
|
+
|
|
141
|
+
// Mock classnames
|
|
142
|
+
vi.mock('classnames', function () {
|
|
143
|
+
return {
|
|
144
|
+
default: function _default() {
|
|
145
|
+
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
146
|
+
args[_key2] = arguments[_key2];
|
|
147
|
+
}
|
|
148
|
+
return args.filter(Boolean).join(' ');
|
|
149
|
+
}
|
|
150
|
+
};
|
|
151
|
+
});
|
|
152
|
+
|
|
153
|
+
// Global test utilities
|
|
154
|
+
global.ResizeObserver = vi.fn().mockImplementation(function () {
|
|
155
|
+
return {
|
|
156
|
+
observe: vi.fn(),
|
|
157
|
+
unobserve: vi.fn(),
|
|
158
|
+
disconnect: vi.fn()
|
|
159
|
+
};
|
|
160
|
+
});
|
|
161
|
+
|
|
162
|
+
// Mock window.matchMedia
|
|
163
|
+
Object.defineProperty(window, 'matchMedia', {
|
|
164
|
+
writable: true,
|
|
165
|
+
value: vi.fn().mockImplementation(function (query) {
|
|
166
|
+
return {
|
|
167
|
+
matches: false,
|
|
168
|
+
media: query,
|
|
169
|
+
onchange: null,
|
|
170
|
+
addListener: vi.fn(),
|
|
171
|
+
removeListener: vi.fn(),
|
|
172
|
+
addEventListener: vi.fn(),
|
|
173
|
+
removeEventListener: vi.fn(),
|
|
174
|
+
dispatchEvent: vi.fn()
|
|
175
|
+
};
|
|
176
|
+
})
|
|
177
|
+
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
declare const SalesModel: ({ children, hooks, config }: any) =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const SalesModel: ({ children, hooks, config }: any) => JSX.Element;
|
|
3
3
|
export * from './Sales';
|
|
4
4
|
export default SalesModel;
|
|
@@ -30,7 +30,7 @@ export declare const calculateSubtotal: (items: CartItem[]) => string;
|
|
|
30
30
|
* @return {*}
|
|
31
31
|
* @Author: xiangfeng.xue
|
|
32
32
|
*/
|
|
33
|
-
export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => "0.00"
|
|
33
|
+
export declare const calculateTaxFee: (shopInfo: any, items: CartItem[]) => Decimal | "0.00";
|
|
34
34
|
/**
|
|
35
35
|
* 计算所有价格明细
|
|
36
36
|
* @param items - 购物车商品数组
|
|
@@ -15,6 +15,6 @@ declare const SalesPage: ({ config, children, }: {
|
|
|
15
15
|
config?: {
|
|
16
16
|
useSessionStorage?: boolean | undefined;
|
|
17
17
|
} | undefined;
|
|
18
|
-
}) =>
|
|
18
|
+
}) => JSX.Element;
|
|
19
19
|
export default SalesPage;
|
|
20
20
|
export { useCustomer, useInit, useSales, useStep, useResource, useEvent, useEventDetail, useHolder, useSummary, useCheckout, useCart, };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import './index.less';
|
|
3
2
|
export declare const DepositContent: (props: {
|
|
4
3
|
isAgreeDepositPolicy: boolean;
|
|
5
4
|
setIsAgreeDepositPolicy: (value: boolean) => void;
|
|
6
5
|
deposit: any;
|
|
7
6
|
depositProtocolRequest?: any;
|
|
8
|
-
}) =>
|
|
9
|
-
declare const Deposit: () =>
|
|
7
|
+
}) => JSX.Element;
|
|
8
|
+
declare const Deposit: () => JSX.Element;
|
|
10
9
|
export default Deposit;
|