@pisell/private-materials 6.4.55 → 6.4.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +2 -2
- package/build/lowcode/preview.js +7 -7
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +7 -7
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +7 -7
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
- package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/index.d.ts +0 -1
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
- package/es/components/booking/components/actionButtons/index.js +15 -7
- package/es/components/booking/components/footer/amount.js +1 -1
- package/es/components/booking/components/footer/index.js +2 -2
- package/es/components/booking/components/footer/utils.js +8 -1
- package/es/components/booking/components/reloadResourceModal/index.d.ts +0 -1
- package/es/components/booking/components/voucher/index.js +23 -19
- package/es/components/booking/forms/footer.d.ts +0 -1
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/es/components/booking/forms/single/index.d.ts +0 -1
- package/es/components/booking/info2/cartClientCard/index.js +7 -3
- package/es/components/booking/materiels/contacts/index.d.ts +0 -1
- package/es/components/checkout/PaymentModal.js +34 -28
- package/es/components/checkout/hooks/useWalletPass.js +36 -21
- package/es/components/eftpos/form/index.d.ts +0 -1
- package/es/components/eftpos/hooks.d.ts +0 -1
- package/es/components/eftpos/index.d.ts +0 -1
- package/es/components/eftpos/pos.d.ts +0 -1
- package/es/components/eftposPay/amount.d.ts +0 -1
- package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/es/components/eftposPay/component/fail/index.d.ts +0 -1
- package/es/components/eftposPay/component/fail/network.d.ts +0 -1
- package/es/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/es/components/eftposPay/component/manual/index.d.ts +0 -1
- package/es/components/eftposPay/component/signature/index.d.ts +0 -1
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/pay.d.ts +0 -1
- package/es/components/eftposPay/store/index.d.ts +2 -2
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
- package/es/components/list/List.js +957 -0
- package/es/components/list/List.less +2 -0
- package/es/components/list/ResponsiveWrapper.js +130 -0
- package/es/components/list/TestResponsiveWrapper.js +816 -0
- package/es/components/list/TestResponsiveWrapper.less +968 -0
- package/es/components/list/components/EmptyState/EmptyState.js +75 -0
- package/es/components/list/components/EmptyState/EmptyState.less +121 -0
- package/es/components/list/components/EmptyState/index.js +1 -0
- package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.js +39 -0
- package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.less +29 -0
- package/es/components/list/components/ListItemSkeleton/index.js +2 -0
- package/es/components/list/components/Pagination/Pagination.js +240 -0
- package/es/components/list/components/Pagination/Pagination.less +439 -0
- package/es/components/list/components/Pagination/index.js +1 -0
- package/es/components/list/components/ScrollLoader/ScrollLoader.js +18 -0
- package/es/components/list/components/ScrollLoader/ScrollLoader.less +3 -0
- package/es/components/list/components/ScrollLoader/index.js +1 -0
- package/es/components/list/components/Tab/Tab.js +43 -0
- package/es/components/list/components/Tab/Tab.less +139 -0
- package/es/components/list/components/Tab/index.js +1 -0
- package/es/components/list/components/Tab/types.js +1 -0
- package/es/components/list/components/TabSkeleton/TabSkeleton.js +28 -0
- package/es/components/list/components/TabSkeleton/TabSkeleton.less +38 -0
- package/es/components/list/components/TabSkeleton/index.js +2 -0
- package/es/components/list/components/WaterfallList/WaterfallList.js +191 -0
- package/es/components/list/components/WaterfallList/WaterfallList.less +201 -0
- package/es/components/list/components/WaterfallList/index.js +1 -0
- package/es/components/list/examples/GroupedListExample.js +207 -0
- package/es/components/list/hooks/index.js +3 -0
- package/es/components/list/hooks/useDevice.js +102 -0
- package/es/components/list/hooks/useListState.js +176 -0
- package/es/components/list/hooks/useWaterfall.js +161 -0
- package/es/components/list/index.js +7 -0
- package/es/components/list/locales.js +107 -0
- package/es/components/list/styles/base.less +39 -0
- package/es/components/list/styles/content.less +416 -0
- package/es/components/list/styles/floatButton.less +107 -0
- package/es/components/list/styles/footer.less +49 -0
- package/es/components/list/styles/header.less +69 -0
- package/es/components/list/styles/responsive.less +166 -0
- package/es/components/list/types.js +1 -0
- package/es/components/list/utils/getText.js +150 -0
- package/es/components/list/utils/index.js +5 -0
- package/es/components/pay/toB/store/hooks.js +19 -5
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/es/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/es/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/es/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/products/index.d.ts +0 -1
- package/es/components/schedules/resources/index.d.ts +0 -1
- package/es/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/es/components/schedules/schedules/index.d.ts +0 -1
- package/es/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/es/components/shoppingCart/index.d.ts +0 -1
- package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +143 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.js +7 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.less +41 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.js +273 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.js +130 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +20 -0
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +46 -11
- package/es/components/ticketBooking/components/addServiceVariant/index.js +4 -2
- package/es/components/ticketBooking/components/menuBar/index.js +40 -17
- package/es/components/ticketBooking/components/menuBar/index.less +27 -1
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +6 -1
- package/es/components/ticketBooking/components/ticketBooking/index.js +66 -23
- package/es/components/ticketBooking/components/timeBar/index.less +1 -0
- package/es/components/ticketBooking/context/IsActiveContext.js +37 -0
- package/es/components/ticketBooking/context/OsKeyContext.js +37 -0
- package/es/components/ticketBooking/context/index.js +2 -0
- package/es/components/ticketBooking/hooks/pisellos/bookingTicket.js +13 -1
- package/es/components/ticketBooking/hooks/pisellos/index.js +2 -1
- package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.js +50 -0
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.js +12 -4
- package/es/components/ticketBooking/hooks/pisellos/useProducts.js +43 -9
- package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.js +5 -2
- package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.js +7 -2
- package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.js +17 -0
- package/es/components/ticketBooking/index.d.ts +6 -0
- package/es/components/ticketBooking/index.js +86 -11
- package/es/components/ticketBooking/utils/index.js +50 -1
- package/es/components/ticketBooking/utils/productCache.js +184 -0
- package/es/components/wallet/hooks/useWalletCard.d.ts +0 -1
- package/es/index.js +3 -1
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.js +11 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.less +8 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.js +11 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.less +17 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.js +11 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.less +17 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.js +11 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.less +17 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.js +11 -0
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.less +2 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.js +100 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.less +8 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.js +32 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.less +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.js +239 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.less +44 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.js +34 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.less +14 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.js +33 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.less +30 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +75 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.less +46 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.js +39 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.less +9 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.js +53 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.less +31 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.js +31 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.less +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.js +58 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.less +11 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.js +85 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.less +24 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +121 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.less +57 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.js +95 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.less +18 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.js +31 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.less +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.js +47 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.less +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.js +34 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.less +13 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.js +95 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.less +18 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.js +31 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.less +3 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.js +34 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.less +13 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.js +39 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.less +22 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.js +20 -0
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.less +20 -0
- package/es/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.js +55 -0
- package/es/plus/productSelect/ProductCard/SkuCard/index.js +38 -0
- package/es/plus/productSelect/ProductCard/SkuCard/locales.js +41 -0
- package/es/plus/productSelect/ProductCard/SkuCard/status.js +481 -0
- package/es/plus/productSelect/ProductCard/SkuCard/type.js +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/utils.js +21 -0
- package/es/plus/productSelect/components/pisellPriceText/index.js +7 -5
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/index.d.ts +0 -1
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +0 -1
- package/lib/components/booking/components/actionButtons/index.js +22 -15
- package/lib/components/booking/components/footer/amount.js +1 -1
- package/lib/components/booking/components/footer/index.js +2 -2
- package/lib/components/booking/components/footer/utils.js +8 -1
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +0 -1
- package/lib/components/booking/components/voucher/index.js +33 -40
- package/lib/components/booking/forms/footer.d.ts +0 -1
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
- package/lib/components/booking/forms/single/index.d.ts +0 -1
- package/lib/components/booking/info2/cartClientCard/index.js +7 -3
- package/lib/components/booking/materiels/contacts/index.d.ts +0 -1
- package/lib/components/checkout/PaymentModal.js +20 -16
- package/lib/components/checkout/hooks/useWalletPass.js +57 -45
- package/lib/components/eftpos/form/index.d.ts +0 -1
- package/lib/components/eftpos/hooks.d.ts +0 -1
- package/lib/components/eftpos/index.d.ts +0 -1
- package/lib/components/eftpos/pos.d.ts +0 -1
- package/lib/components/eftposPay/amount.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/index.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/network.d.ts +0 -1
- package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -1
- package/lib/components/eftposPay/component/manual/index.d.ts +0 -1
- package/lib/components/eftposPay/component/signature/index.d.ts +0 -1
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/pay.d.ts +0 -1
- package/lib/components/eftposPay/store/index.d.ts +2 -2
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +0 -1
- package/lib/components/list/List.js +771 -0
- package/lib/components/list/List.less +2 -0
- package/lib/components/list/ResponsiveWrapper.js +145 -0
- package/lib/components/list/TestResponsiveWrapper.js +493 -0
- package/lib/components/list/TestResponsiveWrapper.less +968 -0
- package/lib/components/list/components/EmptyState/EmptyState.js +75 -0
- package/lib/components/list/components/EmptyState/EmptyState.less +121 -0
- package/lib/components/list/components/EmptyState/index.js +35 -0
- package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.js +75 -0
- package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.less +29 -0
- package/lib/components/list/components/ListItemSkeleton/index.js +41 -0
- package/lib/components/list/components/Pagination/Pagination.js +205 -0
- package/lib/components/list/components/Pagination/Pagination.less +439 -0
- package/lib/components/list/components/Pagination/index.js +35 -0
- package/lib/components/list/components/ScrollLoader/ScrollLoader.js +37 -0
- package/lib/components/list/components/ScrollLoader/ScrollLoader.less +3 -0
- package/lib/components/list/components/ScrollLoader/index.js +35 -0
- package/lib/components/list/components/Tab/Tab.js +72 -0
- package/lib/components/list/components/Tab/Tab.less +139 -0
- package/lib/components/list/components/Tab/index.js +35 -0
- package/lib/components/list/components/Tab/types.js +17 -0
- package/lib/components/list/components/TabSkeleton/TabSkeleton.js +61 -0
- package/lib/components/list/components/TabSkeleton/TabSkeleton.less +38 -0
- package/lib/components/list/components/TabSkeleton/index.js +41 -0
- package/lib/components/list/components/WaterfallList/WaterfallList.js +178 -0
- package/lib/components/list/components/WaterfallList/WaterfallList.less +201 -0
- package/lib/components/list/components/WaterfallList/index.js +35 -0
- package/lib/components/list/examples/GroupedListExample.js +210 -0
- package/lib/components/list/hooks/index.js +47 -0
- package/lib/components/list/hooks/useDevice.js +96 -0
- package/lib/components/list/hooks/useListState.js +149 -0
- package/lib/components/list/hooks/useWaterfall.js +124 -0
- package/lib/components/list/index.js +60 -0
- package/lib/components/list/locales.js +113 -0
- package/lib/components/list/styles/base.less +39 -0
- package/lib/components/list/styles/content.less +416 -0
- package/lib/components/list/styles/floatButton.less +107 -0
- package/lib/components/list/styles/footer.less +49 -0
- package/lib/components/list/styles/header.less +69 -0
- package/lib/components/list/styles/responsive.less +166 -0
- package/lib/components/list/types.js +17 -0
- package/lib/components/list/utils/getText.js +95 -0
- package/lib/components/list/utils/index.js +43 -0
- package/lib/components/pay/toB/store/hooks.js +16 -8
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +0 -1
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Actor/index.d.ts +0 -1
- package/lib/components/productExtension/fields/Forms/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +0 -1
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +0 -1
- package/lib/components/schedules/components/ScheduleList/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +0 -1
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/products/index.d.ts +0 -1
- package/lib/components/schedules/resources/index.d.ts +0 -1
- package/lib/components/schedules/resources/relationProduct/index.d.ts +0 -1
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +0 -1
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +0 -1
- package/lib/components/schedules/schedules/index.d.ts +0 -1
- package/lib/components/shoppingCart/components/Render/index.d.ts +0 -1
- package/lib/components/shoppingCart/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +165 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.js +45 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.less +41 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.js +247 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.js +100 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +20 -0
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +45 -11
- package/lib/components/ticketBooking/components/addServiceVariant/index.js +3 -2
- package/lib/components/ticketBooking/components/menuBar/index.js +24 -18
- package/lib/components/ticketBooking/components/menuBar/index.less +27 -1
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +6 -1
- package/lib/components/ticketBooking/components/ticketBooking/index.js +56 -25
- package/lib/components/ticketBooking/components/timeBar/index.less +1 -0
- package/lib/components/ticketBooking/context/IsActiveContext.js +56 -0
- package/lib/components/ticketBooking/context/OsKeyContext.js +56 -0
- package/lib/components/ticketBooking/context/index.js +44 -0
- package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.js +5 -1
- package/lib/components/ticketBooking/hooks/pisellos/index.js +3 -1
- package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.js +47 -0
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.js +17 -10
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.js +26 -4
- package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.js +4 -2
- package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.js +6 -2
- package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.js +37 -0
- package/lib/components/ticketBooking/index.d.ts +6 -0
- package/lib/components/ticketBooking/index.js +64 -8
- package/lib/components/ticketBooking/utils/index.js +70 -2
- package/lib/components/ticketBooking/utils/productCache.js +144 -0
- package/lib/components/wallet/hooks/useWalletCard.d.ts +0 -1
- package/lib/index.js +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.js +42 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.less +8 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.js +42 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.less +17 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.js +42 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.less +17 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.js +42 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.less +17 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.js +42 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.less +2 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.js +129 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.less +8 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.js +52 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.less +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.js +178 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.less +44 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.js +52 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.less +14 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.js +63 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.less +30 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +131 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.less +46 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.js +62 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.less +9 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.js +78 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.less +31 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.js +51 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.less +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.js +94 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.less +11 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.js +115 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.less +24 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +139 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.less +57 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.js +97 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.less +18 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.js +51 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.less +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.js +58 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.less +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.js +56 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.less +13 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.js +97 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.less +18 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.js +51 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.less +3 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.js +56 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.less +13 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.js +58 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.less +22 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.js +49 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.less +20 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.js +83 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/index.js +68 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.js +65 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/status.js +501 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/type.js +17 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/utils.js +37 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.js +6 -5
- package/lowcode/sku-card/meta.ts +1812 -0
- package/lowcode/sku-card/snippets.ts +372 -0
- package/lowcode/sku-list/meta.ts +410 -0
- package/package.json +1 -1
- package/es/components/booking/components/actionButtons/index.d.ts +0 -31
- package/es/components/booking/components/footer/index.d.ts +0 -11
- package/es/components/booking/components/voucher/index.d.ts +0 -3
- package/es/components/booking/info2/cartClientCard/index.d.ts +0 -6
- package/es/components/checkout/hooks/useWalletPass.d.ts +0 -40
- package/es/components/pay/toB/store/hooks.d.ts +0 -15
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -6
- package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -3
- package/es/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -1
- package/es/components/ticketBooking/hooks/pisellos/index.d.ts +0 -3
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
- package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.d.ts +0 -5
- package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.d.ts +0 -5
- package/es/components/ticketBooking/utils/index.d.ts +0 -62
- package/es/index.d.ts +0 -63
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +0 -12
- package/lib/components/booking/components/actionButtons/index.d.ts +0 -31
- package/lib/components/booking/components/footer/index.d.ts +0 -11
- package/lib/components/booking/components/voucher/index.d.ts +0 -3
- package/lib/components/booking/info2/cartClientCard/index.d.ts +0 -6
- package/lib/components/checkout/hooks/useWalletPass.d.ts +0 -40
- package/lib/components/pay/toB/store/hooks.d.ts +0 -15
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -6
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -3
- package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -1
- package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +0 -3
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
- package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.d.ts +0 -5
- package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.d.ts +0 -5
- package/lib/components/ticketBooking/utils/index.d.ts +0 -62
- package/lib/index.d.ts +0 -63
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +0 -12
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/components/ticketBooking/components/ProductDisplayAdapter/index.tsx
|
|
30
|
+
var ProductDisplayAdapter_exports = {};
|
|
31
|
+
__export(ProductDisplayAdapter_exports, {
|
|
32
|
+
LegacyProductDisplayPresets: () => import_types.LegacyProductDisplayPresets,
|
|
33
|
+
ProductDisplayPresets: () => import_types.ProductDisplayPresets,
|
|
34
|
+
default: () => import_ProductDisplayAdapter.default,
|
|
35
|
+
resolveProductDisplayConfig: () => import_types.resolveProductDisplayConfig
|
|
36
|
+
});
|
|
37
|
+
module.exports = __toCommonJS(ProductDisplayAdapter_exports);
|
|
38
|
+
var import_ProductDisplayAdapter = __toESM(require("./ProductDisplayAdapter"));
|
|
39
|
+
var import_types = require("./types");
|
|
40
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
41
|
+
0 && (module.exports = {
|
|
42
|
+
LegacyProductDisplayPresets,
|
|
43
|
+
ProductDisplayPresets,
|
|
44
|
+
resolveProductDisplayConfig
|
|
45
|
+
});
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.sku-list-container {
|
|
2
|
+
height: 100%;
|
|
3
|
+
background-color: #4e4e4e;
|
|
4
|
+
.sku-list {
|
|
5
|
+
background-color: #4e4e4e;
|
|
6
|
+
overflow: auto;
|
|
7
|
+
border-radius: 0;
|
|
8
|
+
.list-group-items {
|
|
9
|
+
.list-item {
|
|
10
|
+
height: 100% !important;
|
|
11
|
+
.pisell-product-sku__card-wrapper {
|
|
12
|
+
height: 100% ;
|
|
13
|
+
.pisell-lowcode-card {
|
|
14
|
+
height: 100% !important;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
&::-webkit-scrollbar {
|
|
20
|
+
display: none;
|
|
21
|
+
width: 0;
|
|
22
|
+
height: 0;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
.list-content {
|
|
26
|
+
&::-webkit-scrollbar {
|
|
27
|
+
display: none;
|
|
28
|
+
width: 0;
|
|
29
|
+
height: 0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.pisell-list-header {
|
|
33
|
+
overflow: auto;
|
|
34
|
+
|
|
35
|
+
&::-webkit-scrollbar {
|
|
36
|
+
display: none;
|
|
37
|
+
width: 0;
|
|
38
|
+
height: 0;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/components/ticketBooking/components/ProductDisplayAdapter/types.ts
|
|
20
|
+
var types_exports = {};
|
|
21
|
+
__export(types_exports, {
|
|
22
|
+
LegacyProductDisplayPresets: () => LegacyProductDisplayPresets,
|
|
23
|
+
ProductDisplayPresets: () => ProductDisplayPresets,
|
|
24
|
+
resolveProductDisplayConfig: () => resolveProductDisplayConfig
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(types_exports);
|
|
27
|
+
var ProductDisplayPresets = {
|
|
28
|
+
// 默认配置
|
|
29
|
+
default: {
|
|
30
|
+
displayMode: "product-select",
|
|
31
|
+
productSelectConfig: {
|
|
32
|
+
showSearch: true,
|
|
33
|
+
showTab: true,
|
|
34
|
+
layout: {
|
|
35
|
+
grid: true,
|
|
36
|
+
config: "12:12"
|
|
37
|
+
},
|
|
38
|
+
productListSetting: {
|
|
39
|
+
isProductCover: 1,
|
|
40
|
+
isTitle: 1,
|
|
41
|
+
isSubtitle: 1,
|
|
42
|
+
isPrice: 1,
|
|
43
|
+
isOriginPrice: 0,
|
|
44
|
+
isStock: 0
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
// 别名:product-select
|
|
49
|
+
"product-select": {
|
|
50
|
+
displayMode: "product-select",
|
|
51
|
+
productSelectConfig: {
|
|
52
|
+
showSearch: true,
|
|
53
|
+
showTab: true,
|
|
54
|
+
layout: {
|
|
55
|
+
grid: true,
|
|
56
|
+
config: "12:12"
|
|
57
|
+
},
|
|
58
|
+
productListSetting: {
|
|
59
|
+
isProductCover: 1,
|
|
60
|
+
isTitle: 1,
|
|
61
|
+
isSubtitle: 1,
|
|
62
|
+
isPrice: 1,
|
|
63
|
+
isOriginPrice: 0,
|
|
64
|
+
isStock: 0
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
// SkuList A1
|
|
69
|
+
"sku-list-a1": {
|
|
70
|
+
displayMode: "sku-list",
|
|
71
|
+
skuListConfig: {
|
|
72
|
+
listConfig: {
|
|
73
|
+
layout: "grid",
|
|
74
|
+
showPagination: false,
|
|
75
|
+
showTab: false
|
|
76
|
+
},
|
|
77
|
+
skuCardAllConfig: {
|
|
78
|
+
skuCardConfig: {
|
|
79
|
+
displayMode: "display_a1",
|
|
80
|
+
isFavorite: false,
|
|
81
|
+
layoutDirection: "column"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
// SkuList A2 - 详细信息卡片
|
|
87
|
+
"sku-list-a2": {
|
|
88
|
+
displayMode: "sku-list",
|
|
89
|
+
skuListConfig: {
|
|
90
|
+
listConfig: {
|
|
91
|
+
layout: "grid",
|
|
92
|
+
showPagination: false,
|
|
93
|
+
showTab: false
|
|
94
|
+
},
|
|
95
|
+
skuCardAllConfig: {
|
|
96
|
+
skuCardConfig: {
|
|
97
|
+
displayMode: "display_a2",
|
|
98
|
+
layoutDirection: "row",
|
|
99
|
+
radius: 12,
|
|
100
|
+
paddingX: 12,
|
|
101
|
+
paddingY: 12,
|
|
102
|
+
skuImageConfig: {
|
|
103
|
+
isCover: true,
|
|
104
|
+
width: "140px",
|
|
105
|
+
height: "140px",
|
|
106
|
+
radius: 8
|
|
107
|
+
},
|
|
108
|
+
skuNameConfig: {
|
|
109
|
+
isOpen: true,
|
|
110
|
+
fontSize: 16,
|
|
111
|
+
fontWeight: 600,
|
|
112
|
+
color: "#101828",
|
|
113
|
+
ellipsisCount: 2
|
|
114
|
+
},
|
|
115
|
+
skuSubtitleConfig: {
|
|
116
|
+
isOpen: true,
|
|
117
|
+
fontSize: 14,
|
|
118
|
+
color: "#667085",
|
|
119
|
+
ellipsisCount: 1
|
|
120
|
+
},
|
|
121
|
+
skuPriceConfig: {
|
|
122
|
+
isOpen: true,
|
|
123
|
+
isPrice: true,
|
|
124
|
+
priceFontSize: 18,
|
|
125
|
+
priceFontWeight: 600,
|
|
126
|
+
priceColor: "#101828",
|
|
127
|
+
isOriginPrice: true,
|
|
128
|
+
originPriceFontSize: 14,
|
|
129
|
+
originPriceColor: "#98A2B3"
|
|
130
|
+
},
|
|
131
|
+
skuStockConfig: {
|
|
132
|
+
isOpen: true,
|
|
133
|
+
fontSize: 12,
|
|
134
|
+
color: "#667085"
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
// SkuList A5
|
|
141
|
+
"sku-list-a5": {
|
|
142
|
+
displayMode: "sku-list",
|
|
143
|
+
skuListConfig: {
|
|
144
|
+
listConfig: {
|
|
145
|
+
layout: "grid",
|
|
146
|
+
showPagination: false,
|
|
147
|
+
showTab: true,
|
|
148
|
+
// 启用 Tab
|
|
149
|
+
tabStyle: "switch",
|
|
150
|
+
// 使用 switch 模式
|
|
151
|
+
stickyTop: true,
|
|
152
|
+
// Tab 吸顶
|
|
153
|
+
columns: 5,
|
|
154
|
+
tabGroup: "category"
|
|
155
|
+
},
|
|
156
|
+
skuCardAllConfig: {
|
|
157
|
+
skuCardConfig: {
|
|
158
|
+
displayMode: "display_a5",
|
|
159
|
+
layoutDirection: "column",
|
|
160
|
+
background: "#ffffff",
|
|
161
|
+
paddingY: 8,
|
|
162
|
+
paddingX: 8,
|
|
163
|
+
marginY: 0,
|
|
164
|
+
marginX: 0,
|
|
165
|
+
radius: 12,
|
|
166
|
+
isBorderVisible: false,
|
|
167
|
+
borderWidth: 1,
|
|
168
|
+
borderColor: "#ffffff",
|
|
169
|
+
isFoldable: true
|
|
170
|
+
},
|
|
171
|
+
skuActionConfig: {
|
|
172
|
+
isOpen: false
|
|
173
|
+
},
|
|
174
|
+
skuTextConfig: {
|
|
175
|
+
skuSubtitleConfig: {
|
|
176
|
+
isOpen: false
|
|
177
|
+
},
|
|
178
|
+
skuNameConfig: {
|
|
179
|
+
isOpen: true
|
|
180
|
+
// fontSize: 18,
|
|
181
|
+
// fontWeight: 600,
|
|
182
|
+
// color: '#101828',
|
|
183
|
+
// ellipsisCount: 1,
|
|
184
|
+
},
|
|
185
|
+
skuPriceConfig: {
|
|
186
|
+
isOpen: true,
|
|
187
|
+
isPrice: true,
|
|
188
|
+
priceFontSize: 18,
|
|
189
|
+
priceFontWeight: 600,
|
|
190
|
+
priceColor: "#101828",
|
|
191
|
+
isShowZeroPrice: true,
|
|
192
|
+
isShowFreePrice: false,
|
|
193
|
+
isOriginPrice: true,
|
|
194
|
+
originPriceFontSize: 16,
|
|
195
|
+
originPriceFontWeight: 400,
|
|
196
|
+
originPriceColor: "#667085",
|
|
197
|
+
isTaxPrice: true,
|
|
198
|
+
isCustomText: false
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
skuImageConfig: {
|
|
202
|
+
isCover: true,
|
|
203
|
+
width: "100%",
|
|
204
|
+
height: "126px",
|
|
205
|
+
isTextFallback: true,
|
|
206
|
+
background: "#ffffff",
|
|
207
|
+
skuImageRadius: 12,
|
|
208
|
+
slotPosition: "left_top",
|
|
209
|
+
radius: 12
|
|
210
|
+
},
|
|
211
|
+
skuExtraConfig: {
|
|
212
|
+
isOpen: false
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
var LegacyProductDisplayPresets = {
|
|
219
|
+
/** @deprecated 使用 ProductDisplayPresets['product-select'] */
|
|
220
|
+
DEFAULT_PRODUCT_SELECT: ProductDisplayPresets["product-select"],
|
|
221
|
+
/** @deprecated 使用 ProductDisplayPresets['sku-list-a1'] */
|
|
222
|
+
DEFAULT_SKU_LIST_A1: ProductDisplayPresets["sku-list-a1"],
|
|
223
|
+
/** @deprecated 使用 ProductDisplayPresets['sku-list-a2'] */
|
|
224
|
+
DEFAULT_SKU_LIST_A2: ProductDisplayPresets["sku-list-a2"],
|
|
225
|
+
/** @deprecated 使用 ProductDisplayPresets['sku-list-a5'] */
|
|
226
|
+
DEFAULT_SKU_LIST_A5: ProductDisplayPresets["sku-list-a5"]
|
|
227
|
+
};
|
|
228
|
+
function resolveProductDisplayConfig(config) {
|
|
229
|
+
if (!config) {
|
|
230
|
+
return ProductDisplayPresets["default"];
|
|
231
|
+
}
|
|
232
|
+
if (typeof config === "string") {
|
|
233
|
+
const preset = ProductDisplayPresets[config];
|
|
234
|
+
if (!preset) {
|
|
235
|
+
console.warn(`Unknown preset key: "${config}", falling back to default`);
|
|
236
|
+
return ProductDisplayPresets["default"];
|
|
237
|
+
}
|
|
238
|
+
return preset;
|
|
239
|
+
}
|
|
240
|
+
return config;
|
|
241
|
+
}
|
|
242
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
243
|
+
0 && (module.exports = {
|
|
244
|
+
LegacyProductDisplayPresets,
|
|
245
|
+
ProductDisplayPresets,
|
|
246
|
+
resolveProductDisplayConfig
|
|
247
|
+
});
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/components/ticketBooking/components/ProductDisplayAdapter/utils.ts
|
|
20
|
+
var utils_exports = {};
|
|
21
|
+
__export(utils_exports, {
|
|
22
|
+
formatSkuDataSource: () => formatSkuDataSource,
|
|
23
|
+
generateProductTabs: () => generateProductTabs
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(utils_exports);
|
|
26
|
+
var formatSkuDataSource = (dataSource) => {
|
|
27
|
+
return {
|
|
28
|
+
id: dataSource.id,
|
|
29
|
+
title: dataSource.title,
|
|
30
|
+
subtitle: dataSource.subtitle,
|
|
31
|
+
cover: dataSource.cover,
|
|
32
|
+
price: dataSource.price,
|
|
33
|
+
original_price: dataSource.original_price,
|
|
34
|
+
stock: dataSource.stock_quantity,
|
|
35
|
+
sortKeys: ["title", "subtitle", "price"]
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
var generateProductTabs = (products, tabStyle = "switch") => {
|
|
39
|
+
if (!products || products.length === 0) {
|
|
40
|
+
return [{ key: "all", label: "全部" }];
|
|
41
|
+
}
|
|
42
|
+
if (tabStyle === "switch") {
|
|
43
|
+
const categoryMap = /* @__PURE__ */ new Map();
|
|
44
|
+
products.forEach((product) => {
|
|
45
|
+
if (product.category && Array.isArray(product.category)) {
|
|
46
|
+
product.category.forEach((cat) => {
|
|
47
|
+
if (!categoryMap.has(cat.id)) {
|
|
48
|
+
categoryMap.set(cat.id, cat);
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
const sortedCategories = Array.from(categoryMap.values()).sort(
|
|
54
|
+
(a, b) => (b.sort || 0) - (a.sort || 0)
|
|
55
|
+
);
|
|
56
|
+
const tabs = [
|
|
57
|
+
{ key: "all", label: "全部" }
|
|
58
|
+
];
|
|
59
|
+
sortedCategories.forEach((category) => {
|
|
60
|
+
tabs.push({
|
|
61
|
+
key: String(category.id),
|
|
62
|
+
label: category.name,
|
|
63
|
+
group: String(category.id)
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
return tabs;
|
|
67
|
+
} else {
|
|
68
|
+
const categoryCount = products.reduce((acc, product) => {
|
|
69
|
+
if (product.category && Array.isArray(product.category)) {
|
|
70
|
+
product.category.forEach((cat) => {
|
|
71
|
+
const key = String(cat.id);
|
|
72
|
+
if (!acc[key]) {
|
|
73
|
+
acc[key] = { count: 0, category: cat };
|
|
74
|
+
}
|
|
75
|
+
acc[key].count += 1;
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
return acc;
|
|
79
|
+
}, {});
|
|
80
|
+
const tabs = [
|
|
81
|
+
{ key: "all", label: `全部 (${products.length})` }
|
|
82
|
+
];
|
|
83
|
+
const sortedEntries = Object.entries(categoryCount).sort(
|
|
84
|
+
([, a], [, b]) => (b.category.sort || 0) - (a.category.sort || 0)
|
|
85
|
+
);
|
|
86
|
+
sortedEntries.forEach(([key, { count, category }]) => {
|
|
87
|
+
tabs.push({
|
|
88
|
+
key,
|
|
89
|
+
label: `${category.name} (${count})`,
|
|
90
|
+
group: key
|
|
91
|
+
});
|
|
92
|
+
});
|
|
93
|
+
return tabs;
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
97
|
+
0 && (module.exports = {
|
|
98
|
+
formatSkuDataSource,
|
|
99
|
+
generateProductTabs
|
|
100
|
+
});
|
|
@@ -1,9 +1,29 @@
|
|
|
1
|
+
import { ProductDisplayConfig, ProductDisplayPresetKey } from '../ProductDisplayAdapter';
|
|
1
2
|
import './index.less';
|
|
2
3
|
interface AddServiceProps {
|
|
3
4
|
onEdit?: any;
|
|
4
5
|
dispatch?: any;
|
|
5
6
|
state?: any;
|
|
6
7
|
renderMode?: 'current' | 'drawer';
|
|
8
|
+
/**
|
|
9
|
+
* 产品展示配置
|
|
10
|
+
*
|
|
11
|
+
* 支持两种方式:
|
|
12
|
+
* 1. 简易模式:传入预设字符串,如 'product-select', 'sku-list-a1', 'sku-list-a2', 'sku-list-a5'
|
|
13
|
+
* 2. 完整配置模式:传入完整的配置对象
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* // 简易模式
|
|
17
|
+
* <AddService productDisplayConfig="sku-list-a1" />
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* // 完整配置模式
|
|
21
|
+
* <AddService productDisplayConfig={{
|
|
22
|
+
* displayMode: 'sku-list',
|
|
23
|
+
* skuListConfig: { ... }
|
|
24
|
+
* }} />
|
|
25
|
+
*/
|
|
26
|
+
productDisplayConfig?: ProductDisplayPresetKey | ProductDisplayConfig;
|
|
7
27
|
}
|
|
8
28
|
declare const AddSerivce: (props: AddServiceProps) => JSX.Element | null;
|
|
9
29
|
export default AddSerivce;
|
|
@@ -41,7 +41,7 @@ var import_utils3 = require("../../../booking/info2/service/addService/utils");
|
|
|
41
41
|
var import_utils4 = require("../../../booking/info/service2/utils");
|
|
42
42
|
var import_utils5 = require("../../../booking/info/utils");
|
|
43
43
|
var import_serviceManager = require("../../../booking/info/service/serviceManager");
|
|
44
|
-
var
|
|
44
|
+
var import_ProductDisplayAdapter = __toESM(require("../ProductDisplayAdapter"));
|
|
45
45
|
var import_index = require("./index.less");
|
|
46
46
|
var import_utils6 = require("../../utils");
|
|
47
47
|
var import_notAvailable = __toESM(require("../notAvailable"));
|
|
@@ -49,6 +49,7 @@ var import_dayjs = __toESM(require("dayjs"));
|
|
|
49
49
|
var import_pisellos = require("../../hooks/pisellos");
|
|
50
50
|
var import_utils7 = require("./utils");
|
|
51
51
|
var import_materials = require("@pisell/materials");
|
|
52
|
+
var import_IsActiveContext = require("../../context/IsActiveContext");
|
|
52
53
|
var productListLayout = {
|
|
53
54
|
grid: true,
|
|
54
55
|
config: "12:12"
|
|
@@ -63,11 +64,18 @@ var productListSetting = {
|
|
|
63
64
|
};
|
|
64
65
|
var AddSerivce = (props) => {
|
|
65
66
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
|
|
66
|
-
const {
|
|
67
|
+
const {
|
|
68
|
+
onEdit,
|
|
69
|
+
state,
|
|
70
|
+
dispatch,
|
|
71
|
+
renderMode = "current",
|
|
72
|
+
productDisplayConfig
|
|
73
|
+
} = props;
|
|
67
74
|
const context = (0, import_useEngineContext.default)();
|
|
68
75
|
const notAvailableRef = (0, import_react.useRef)(null);
|
|
69
76
|
const isLoadedServiceRef = (0, import_react.useRef)(false);
|
|
70
77
|
import_utils2.request.setRequest(context.appHelper.utils.request);
|
|
78
|
+
const isActive = (0, import_IsActiveContext.useIsActive)();
|
|
71
79
|
const Toast = (0, import_materials.useToast)();
|
|
72
80
|
const { createBookingData, createBooking } = (0, import_serviceManager.useService)({
|
|
73
81
|
renderMode,
|
|
@@ -81,9 +89,18 @@ var AddSerivce = (props) => {
|
|
|
81
89
|
(_i = context.appHelper.utils) == null ? void 0 : _i.businessUtils
|
|
82
90
|
);
|
|
83
91
|
const [currentProduct, setCurrentProduct] = (0, import_react.useState)(null);
|
|
92
|
+
const [firstLoading, setFirstLoading] = (0, import_react.useState)(true);
|
|
84
93
|
const stateRef = (0, import_react.useRef)(state);
|
|
85
94
|
stateRef.current = state;
|
|
86
95
|
const { getProducts, products, loading } = (0, import_pisellos.useProducts)();
|
|
96
|
+
(0, import_react.useEffect)(() => {
|
|
97
|
+
const timer = setTimeout(() => {
|
|
98
|
+
setFirstLoading(false);
|
|
99
|
+
}, 300);
|
|
100
|
+
return () => {
|
|
101
|
+
clearTimeout(timer);
|
|
102
|
+
};
|
|
103
|
+
}, []);
|
|
87
104
|
(0, import_react.useEffect)(() => {
|
|
88
105
|
return () => {
|
|
89
106
|
Object.values(debounceTimersRef.current).forEach((timer) => {
|
|
@@ -144,8 +161,10 @@ var AddSerivce = (props) => {
|
|
|
144
161
|
});
|
|
145
162
|
});
|
|
146
163
|
(0, import_react.useMemo)(() => {
|
|
147
|
-
|
|
148
|
-
|
|
164
|
+
if (isActive) {
|
|
165
|
+
(0, import_utils7.setHandleSetService)(scanAddService);
|
|
166
|
+
}
|
|
167
|
+
}, [isActive]);
|
|
149
168
|
const handleAddToast = (title, quantity) => {
|
|
150
169
|
var _a2;
|
|
151
170
|
(_a2 = Toast == null ? void 0 : Toast.success) == null ? void 0 : _a2.call(
|
|
@@ -419,17 +438,31 @@ var AddSerivce = (props) => {
|
|
|
419
438
|
});
|
|
420
439
|
}
|
|
421
440
|
}, [renderMode, currentDate, customerId, menuList, currentDatetime]);
|
|
441
|
+
const finalDisplayConfig = (0, import_react.useMemo)(() => {
|
|
442
|
+
var _a2, _b2;
|
|
443
|
+
const resolvedConfig = (0, import_ProductDisplayAdapter.resolveProductDisplayConfig)(productDisplayConfig);
|
|
444
|
+
if (resolvedConfig.displayMode === "product-select") {
|
|
445
|
+
return {
|
|
446
|
+
...resolvedConfig,
|
|
447
|
+
productSelectConfig: {
|
|
448
|
+
...resolvedConfig.productSelectConfig,
|
|
449
|
+
layout: ((_a2 = resolvedConfig.productSelectConfig) == null ? void 0 : _a2.layout) || productListLayout,
|
|
450
|
+
productListSetting: ((_b2 = resolvedConfig.productSelectConfig) == null ? void 0 : _b2.productListSetting) || productListSetting
|
|
451
|
+
}
|
|
452
|
+
};
|
|
453
|
+
}
|
|
454
|
+
return resolvedConfig;
|
|
455
|
+
}, [productDisplayConfig]);
|
|
422
456
|
return (0, import_react.useMemo)(() => {
|
|
423
457
|
if (renderMode === "current") {
|
|
424
458
|
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
|
|
425
|
-
|
|
459
|
+
import_ProductDisplayAdapter.default,
|
|
426
460
|
{
|
|
461
|
+
config: finalDisplayConfig,
|
|
427
462
|
dataSource: renderList,
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
loading: !renderList.length && loading,
|
|
432
|
-
productListSetting
|
|
463
|
+
loading: !renderList.length && loading || firstLoading,
|
|
464
|
+
currentProductId: currentProduct == null ? void 0 : currentProduct.id,
|
|
465
|
+
onSelectProduct: handleSelectProduct
|
|
433
466
|
}
|
|
434
467
|
), /* @__PURE__ */ import_react.default.createElement(import_notAvailable.default, { ref: notAvailableRef }));
|
|
435
468
|
}
|
|
@@ -444,7 +477,8 @@ var AddSerivce = (props) => {
|
|
|
444
477
|
(0, import_utils4.holderId)(state),
|
|
445
478
|
loading,
|
|
446
479
|
currentProduct,
|
|
447
|
-
isBooking4
|
|
480
|
+
isBooking4,
|
|
481
|
+
finalDisplayConfig
|
|
448
482
|
]);
|
|
449
483
|
};
|
|
450
484
|
var addService_default = AddSerivce;
|
|
@@ -35,7 +35,7 @@ module.exports = __toCommonJS(addServiceVariant_exports);
|
|
|
35
35
|
var import_react = __toESM(require("react"));
|
|
36
36
|
var import_addService = __toESM(require("./addService"));
|
|
37
37
|
var AddServiceVariant = (props) => {
|
|
38
|
-
const { globalState, setGlobalState } = props;
|
|
38
|
+
const { globalState, setGlobalState, productDisplayConfig } = props;
|
|
39
39
|
const stateRef = (0, import_react.useRef)(globalState);
|
|
40
40
|
stateRef.current = globalState;
|
|
41
41
|
const dispatch = ({ type, payload }) => {
|
|
@@ -49,7 +49,8 @@ var AddServiceVariant = (props) => {
|
|
|
49
49
|
import_addService.default,
|
|
50
50
|
{
|
|
51
51
|
state: globalState,
|
|
52
|
-
dispatch
|
|
52
|
+
dispatch,
|
|
53
|
+
productDisplayConfig
|
|
53
54
|
}
|
|
54
55
|
);
|
|
55
56
|
};
|
|
@@ -39,8 +39,21 @@ var import_antd = require("antd");
|
|
|
39
39
|
var import_icons = require("@ant-design/icons");
|
|
40
40
|
var import_utils = require("@pisell/utils");
|
|
41
41
|
var import_materials = require("@pisell/materials");
|
|
42
|
-
var index = () => {
|
|
42
|
+
var index = (props) => {
|
|
43
|
+
const { activeNavKey = "ticket", onNavChange } = props;
|
|
43
44
|
const status = (0, import_useNetworkStatus.useNetworkStatus)();
|
|
45
|
+
const navItems = [
|
|
46
|
+
{
|
|
47
|
+
key: "ticket",
|
|
48
|
+
icon: /* @__PURE__ */ import_react.default.createElement(import_materials.Iconfont, { type: "pisell2-ticket", style: { fontSize: 32 } }),
|
|
49
|
+
label: ""
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
key: "food",
|
|
53
|
+
label: "",
|
|
54
|
+
icon: /* @__PURE__ */ import_react.default.createElement(import_materials.Iconfont, { type: "pisell2-food", style: { fontSize: 32 } })
|
|
55
|
+
}
|
|
56
|
+
];
|
|
44
57
|
const items = [
|
|
45
58
|
{
|
|
46
59
|
key: "1",
|
|
@@ -81,6 +94,9 @@ var index = () => {
|
|
|
81
94
|
window.location.href = "/login";
|
|
82
95
|
}
|
|
83
96
|
};
|
|
97
|
+
const handleNavClick = (key) => {
|
|
98
|
+
onNavChange == null ? void 0 : onNavChange(key);
|
|
99
|
+
};
|
|
84
100
|
return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-ticket-booking-menu-bar" }, /* @__PURE__ */ import_react.default.createElement("div", null, /* @__PURE__ */ import_react.default.createElement("div", { className: "logo-wrapper" }, /* @__PURE__ */ import_react.default.createElement(
|
|
85
101
|
"svg",
|
|
86
102
|
{
|
|
@@ -97,25 +113,15 @@ var index = () => {
|
|
|
97
113
|
fill: "#8157D5"
|
|
98
114
|
}
|
|
99
115
|
)
|
|
100
|
-
)), /* @__PURE__ */ import_react.default.createElement("div", { className: "nav-wrapper" },
|
|
101
|
-
"
|
|
116
|
+
)), /* @__PURE__ */ import_react.default.createElement("div", { className: "nav-wrapper" }, navItems.map((navItem) => /* @__PURE__ */ import_react.default.createElement(
|
|
117
|
+
"div",
|
|
102
118
|
{
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
viewBox: "0 0 34 27",
|
|
107
|
-
fill: "none"
|
|
119
|
+
key: navItem.key,
|
|
120
|
+
className: `nav-item ${activeNavKey === navItem.key ? "active" : ""}`,
|
|
121
|
+
onClick: () => handleNavClick(navItem.key)
|
|
108
122
|
},
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
{
|
|
112
|
-
d: "M13.8 7.05078V5.48828M13.8 14.082V12.5195M13.8 21.1133V19.5508M6.12 0.800781H27.88C29.6722 0.800781 30.5683 0.800781 31.2528 1.14139C31.8549 1.44099 32.3444 1.91905 32.6512 2.50706C33 3.17554 33 4.05062 33 5.80078V7.83203C29.9072 7.83203 27.4 10.2805 27.4 13.3008C27.4 16.3211 29.9072 18.7695 33 18.7695V20.8008C33 22.5509 33 23.426 32.6512 24.0945C32.3444 24.6825 31.8549 25.1606 31.2528 25.4602C30.5683 25.8008 29.6722 25.8008 27.88 25.8008H6.12C4.32783 25.8008 3.43175 25.8008 2.74723 25.4602C2.14511 25.1606 1.65557 24.6825 1.34878 24.0945C1 23.426 1 22.5509 1 20.8008V18.7695C4.09279 18.7695 6.6 16.3211 6.6 13.3008C6.6 10.2805 4.09279 7.83203 1 7.83203V5.80078C1 4.05062 1 3.17554 1.34878 2.50706C1.65557 1.91905 2.14511 1.44099 2.74723 1.14139C3.43175 0.800781 4.32783 0.800781 6.12 0.800781Z",
|
|
113
|
-
stroke: "white",
|
|
114
|
-
"stroke-width": "1.5",
|
|
115
|
-
"stroke-linecap": "round",
|
|
116
|
-
"stroke-linejoin": "round"
|
|
117
|
-
}
|
|
118
|
-
)
|
|
123
|
+
navItem.icon && navItem.icon,
|
|
124
|
+
navItem.label && navItem.label
|
|
119
125
|
)))), /* @__PURE__ */ import_react.default.createElement("div", { className: "menu-wrapper" }, /* @__PURE__ */ import_react.default.createElement(
|
|
120
126
|
import_materials.ConfigProvider,
|
|
121
127
|
{
|