@pisell/private-materials 6.5.12 → 6.5.14
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 +164 -148
- 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/Sales/Summary/utils.d.ts +1 -1
- package/es/components/booking/addons/model.d.ts +10 -1
- package/es/components/booking/components/actionButtons/index.js +15 -9
- package/es/components/booking/components/footer/index.js +2 -2
- package/es/components/booking/components/voucher/index.js +23 -19
- package/es/components/booking/forms/footer.js +4 -13
- package/es/components/booking/forms/model.d.ts +10 -1
- package/es/components/booking/info/model.d.ts +10 -1
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/cartClientCard/index.js +7 -3
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/model.d.ts +9 -1
- package/es/components/booking/notes/model.d.ts +10 -1
- package/es/components/booking/payments/model.d.ts +10 -1
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/checkout/PaymentModal.js +17 -12
- package/es/components/checkout/components/CashPaymentModule/index.js +9 -9
- package/es/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/es/components/checkout/hooks/useWalletPass.js +40 -22
- package/es/components/eftposPay/hooks.d.ts +2 -2
- package/es/components/eftposPay/store/index.d.ts +4 -4
- package/es/components/list/List.d.ts +5 -0
- package/es/components/list/List.js +957 -0
- package/es/components/list/List.less +2 -0
- package/es/components/list/ResponsiveWrapper.d.ts +16 -0
- package/es/components/list/ResponsiveWrapper.js +130 -0
- package/es/components/list/TestResponsiveWrapper.d.ts +8 -0
- package/es/components/list/TestResponsiveWrapper.js +816 -0
- package/es/components/list/TestResponsiveWrapper.less +968 -0
- package/es/components/list/components/EmptyState/EmptyState.d.ts +20 -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.d.ts +2 -0
- package/es/components/list/components/EmptyState/index.js +1 -0
- package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -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.d.ts +2 -0
- package/es/components/list/components/ListItemSkeleton/index.js +2 -0
- package/es/components/list/components/Pagination/Pagination.d.ts +30 -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.d.ts +1 -0
- package/es/components/list/components/Pagination/index.js +1 -0
- package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -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.d.ts +2 -0
- package/es/components/list/components/ScrollLoader/index.js +1 -0
- package/es/components/list/components/Tab/Tab.d.ts +5 -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.d.ts +2 -0
- package/es/components/list/components/Tab/index.js +1 -0
- package/es/components/list/components/Tab/types.d.ts +14 -0
- package/es/components/list/components/Tab/types.js +1 -0
- package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -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.d.ts +2 -0
- package/es/components/list/components/TabSkeleton/index.js +2 -0
- package/es/components/list/components/WaterfallList/WaterfallList.d.ts +33 -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.d.ts +2 -0
- package/es/components/list/components/WaterfallList/index.js +1 -0
- package/es/components/list/examples/GroupedListExample.d.ts +3 -0
- package/es/components/list/examples/GroupedListExample.js +207 -0
- package/es/components/list/hooks/index.d.ts +5 -0
- package/es/components/list/hooks/index.js +3 -0
- package/es/components/list/hooks/useDevice.d.ts +24 -0
- package/es/components/list/hooks/useDevice.js +102 -0
- package/es/components/list/hooks/useListState.d.ts +43 -0
- package/es/components/list/hooks/useListState.js +176 -0
- package/es/components/list/hooks/useWaterfall.d.ts +34 -0
- package/es/components/list/hooks/useWaterfall.js +161 -0
- package/es/components/list/index.d.ts +10 -0
- package/es/components/list/index.js +7 -0
- package/es/components/list/locales.d.ts +66 -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 +415 -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.d.ts +177 -0
- package/es/components/list/types.js +1 -0
- package/es/components/list/utils/getText.d.ts +53 -0
- package/es/components/list/utils/getText.js +150 -0
- package/es/components/list/utils/index.d.ts +4 -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/model.d.ts +9 -1
- package/es/components/schedules/model.d.ts +9 -1
- package/es/components/schedules/utils.d.ts +1 -1
- package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +143 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -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.d.ts +115 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.js +273 -0
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +50 -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 +32 -10
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +2 -0
- package/es/components/ticketBooking/components/addServiceVariant/index.js +4 -2
- package/es/components/ticketBooking/components/menuBar/index.d.ts +5 -1
- 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 +4 -0
- package/es/components/ticketBooking/components/ticketBooking/index.js +20 -10
- package/es/components/ticketBooking/components/timeBar/index.less +1 -0
- package/es/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
- package/es/components/ticketBooking/context/IsActiveContext.js +37 -0
- package/es/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
- package/es/components/ticketBooking/context/OsKeyContext.js +37 -0
- package/es/components/ticketBooking/context/index.d.ts +2 -0
- package/es/components/ticketBooking/context/index.js +2 -0
- package/es/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +5 -0
- package/es/components/ticketBooking/hooks/pisellos/bookingTicket.js +13 -1
- package/es/components/ticketBooking/hooks/pisellos/index.d.ts +1 -0
- package/es/components/ticketBooking/hooks/pisellos/index.js +2 -1
- package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
- 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/useScanCustomer.js +5 -2
- package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.js +7 -2
- package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +6 -0
- 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 -12
- package/es/components/ticketBooking/utils/index.d.ts +28 -1
- package/es/components/ticketBooking/utils/index.js +40 -0
- package/es/components/wallet/Detail/model.d.ts +13 -1
- package/es/components/wallet/DiscountCard/model.d.ts +14 -1
- package/es/components/wallet/PointCard/model.d.ts +13 -1
- package/es/components/wallet/RechargeableCard/model.d.ts +29 -1
- package/es/components/wallet/Voucher/model.d.ts +13 -1
- package/es/components/wallet/model.d.ts +9 -1
- package/es/index.d.ts +2 -0
- package/es/index.js +3 -1
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +3 -0
- 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.d.ts +3 -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.d.ts +3 -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.d.ts +3 -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.d.ts +3 -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.d.ts +7 -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.d.ts +6 -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.d.ts +7 -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.d.ts +7 -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.d.ts +3 -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.d.ts +4 -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.d.ts +7 -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.d.ts +6 -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.d.ts +6 -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.d.ts +6 -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.d.ts +7 -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.d.ts +6 -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.d.ts +6 -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.d.ts +6 -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.d.ts +6 -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.d.ts +6 -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.d.ts +6 -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.d.ts +6 -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.d.ts +6 -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.d.ts +6 -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.d.ts +3 -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.d.ts +6 -0
- package/es/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.js +55 -0
- package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +8 -0
- package/es/plus/productSelect/ProductCard/SkuCard/index.js +38 -0
- package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +42 -0
- package/es/plus/productSelect/ProductCard/SkuCard/locales.js +41 -0
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +162 -0
- package/es/plus/productSelect/ProductCard/SkuCard/status.js +481 -0
- package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
- package/es/plus/productSelect/ProductCard/SkuCard/type.js +1 -0
- package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
- package/es/plus/productSelect/ProductCard/SkuCard/utils.js +21 -0
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +2 -0
- package/es/plus/productSelect/components/pisellPriceText/index.js +7 -5
- package/es/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +20 -10
- package/es/pro/priceKeyboard/components/cashKeyboard/index.less +1 -2
- package/es/utils/index.d.ts +1 -1
- package/lib/components/Sales/Summary/utils.d.ts +1 -1
- package/lib/components/booking/addons/model.d.ts +10 -1
- package/lib/components/booking/components/actionButtons/index.js +22 -17
- package/lib/components/booking/components/footer/index.js +2 -2
- package/lib/components/booking/components/voucher/index.js +33 -40
- package/lib/components/booking/forms/footer.js +7 -13
- package/lib/components/booking/forms/model.d.ts +10 -1
- package/lib/components/booking/info/model.d.ts +10 -1
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/cartClientCard/index.js +7 -3
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/model.d.ts +9 -1
- package/lib/components/booking/notes/model.d.ts +10 -1
- package/lib/components/booking/payments/model.d.ts +10 -1
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/checkout/PaymentModal.js +15 -12
- package/lib/components/checkout/components/CashPaymentModule/index.js +0 -1
- package/lib/components/checkout/hooks/useWalletPass.d.ts +1 -1
- package/lib/components/checkout/hooks/useWalletPass.js +61 -46
- package/lib/components/eftposPay/hooks.d.ts +2 -2
- package/lib/components/eftposPay/store/index.d.ts +4 -4
- package/lib/components/list/List.d.ts +5 -0
- package/lib/components/list/List.js +771 -0
- package/lib/components/list/List.less +2 -0
- package/lib/components/list/ResponsiveWrapper.d.ts +16 -0
- package/lib/components/list/ResponsiveWrapper.js +145 -0
- package/lib/components/list/TestResponsiveWrapper.d.ts +8 -0
- package/lib/components/list/TestResponsiveWrapper.js +493 -0
- package/lib/components/list/TestResponsiveWrapper.less +968 -0
- package/lib/components/list/components/EmptyState/EmptyState.d.ts +20 -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.d.ts +2 -0
- package/lib/components/list/components/EmptyState/index.js +35 -0
- package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +13 -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.d.ts +2 -0
- package/lib/components/list/components/ListItemSkeleton/index.js +41 -0
- package/lib/components/list/components/Pagination/Pagination.d.ts +30 -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.d.ts +1 -0
- package/lib/components/list/components/Pagination/index.js +35 -0
- package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +18 -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.d.ts +2 -0
- package/lib/components/list/components/ScrollLoader/index.js +35 -0
- package/lib/components/list/components/Tab/Tab.d.ts +5 -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.d.ts +2 -0
- package/lib/components/list/components/Tab/index.js +35 -0
- package/lib/components/list/components/Tab/types.d.ts +14 -0
- package/lib/components/list/components/Tab/types.js +17 -0
- package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +11 -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.d.ts +2 -0
- package/lib/components/list/components/TabSkeleton/index.js +41 -0
- package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +33 -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.d.ts +2 -0
- package/lib/components/list/components/WaterfallList/index.js +35 -0
- package/lib/components/list/examples/GroupedListExample.d.ts +3 -0
- package/lib/components/list/examples/GroupedListExample.js +210 -0
- package/lib/components/list/hooks/index.d.ts +5 -0
- package/lib/components/list/hooks/index.js +47 -0
- package/lib/components/list/hooks/useDevice.d.ts +24 -0
- package/lib/components/list/hooks/useDevice.js +96 -0
- package/lib/components/list/hooks/useListState.d.ts +43 -0
- package/lib/components/list/hooks/useListState.js +149 -0
- package/lib/components/list/hooks/useWaterfall.d.ts +34 -0
- package/lib/components/list/hooks/useWaterfall.js +124 -0
- package/lib/components/list/index.d.ts +10 -0
- package/lib/components/list/index.js +60 -0
- package/lib/components/list/locales.d.ts +66 -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 +415 -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.d.ts +177 -0
- package/lib/components/list/types.js +17 -0
- package/lib/components/list/utils/getText.d.ts +53 -0
- package/lib/components/list/utils/getText.js +95 -0
- package/lib/components/list/utils/index.d.ts +4 -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/model.d.ts +9 -1
- package/lib/components/schedules/model.d.ts +9 -1
- package/lib/components/schedules/utils.d.ts +1 -1
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +27 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +165 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +7 -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.d.ts +115 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.js +247 -0
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +50 -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 +36 -10
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +2 -0
- package/lib/components/ticketBooking/components/addServiceVariant/index.js +3 -2
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +5 -1
- 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 +4 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.js +14 -9
- package/lib/components/ticketBooking/components/timeBar/index.less +1 -0
- package/lib/components/ticketBooking/context/IsActiveContext.d.ts +26 -0
- package/lib/components/ticketBooking/context/IsActiveContext.js +56 -0
- package/lib/components/ticketBooking/context/OsKeyContext.d.ts +26 -0
- package/lib/components/ticketBooking/context/OsKeyContext.js +56 -0
- package/lib/components/ticketBooking/context/index.d.ts +2 -0
- package/lib/components/ticketBooking/context/index.js +44 -0
- package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +5 -0
- package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.js +5 -1
- package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +1 -0
- package/lib/components/ticketBooking/hooks/pisellos/index.js +3 -1
- package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +21 -0
- 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/useScanCustomer.js +4 -2
- package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.js +6 -2
- package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +6 -0
- 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 +69 -7
- package/lib/components/ticketBooking/utils/index.d.ts +28 -1
- package/lib/components/ticketBooking/utils/index.js +45 -2
- package/lib/components/wallet/Detail/model.d.ts +13 -1
- package/lib/components/wallet/DiscountCard/model.d.ts +14 -1
- package/lib/components/wallet/PointCard/model.d.ts +13 -1
- package/lib/components/wallet/RechargeableCard/model.d.ts +29 -1
- package/lib/components/wallet/Voucher/model.d.ts +13 -1
- package/lib/components/wallet/model.d.ts +9 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +3 -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.d.ts +3 -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.d.ts +3 -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.d.ts +3 -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.d.ts +3 -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.d.ts +7 -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.d.ts +6 -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.d.ts +7 -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.d.ts +7 -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.d.ts +3 -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.d.ts +4 -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.d.ts +7 -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.d.ts +6 -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.d.ts +6 -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.d.ts +6 -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.d.ts +7 -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.d.ts +6 -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.d.ts +6 -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.d.ts +6 -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.d.ts +6 -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.d.ts +6 -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.d.ts +6 -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.d.ts +6 -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.d.ts +6 -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.d.ts +6 -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.d.ts +3 -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.d.ts +6 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.js +83 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +8 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/index.js +68 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +42 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.js +65 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +162 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/status.js +501 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +298 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/type.js +17 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +9 -0
- package/lib/plus/productSelect/ProductCard/SkuCard/utils.js +37 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +2 -0
- package/lib/plus/productSelect/components/pisellPriceText/index.js +6 -5
- package/lib/pro/priceKeyboard/components/cashKeyboard/CashKeyboardIntact.js +61 -27
- package/lib/pro/priceKeyboard/components/cashKeyboard/index.less +1 -2
- package/lib/utils/index.d.ts +1 -1
- 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
|
@@ -0,0 +1,439 @@
|
|
|
1
|
+
/* 全新分页器样式 - 严格按照UI图片设计 */
|
|
2
|
+
.pisell-pagination {
|
|
3
|
+
/* 主容器flex布局 */
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: space-between;
|
|
6
|
+
align-items: center;
|
|
7
|
+
width: 100%;
|
|
8
|
+
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
9
|
+
|
|
10
|
+
&.disabled {
|
|
11
|
+
opacity: 0.6;
|
|
12
|
+
pointer-events: none;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* 左侧页码信息组件 */
|
|
16
|
+
.pagination-info {
|
|
17
|
+
/* Detail 组件样式 */
|
|
18
|
+
color: #344054;
|
|
19
|
+
font-size: 14px;
|
|
20
|
+
font-weight: 500;
|
|
21
|
+
line-height: 20px;
|
|
22
|
+
word-wrap: break-word;
|
|
23
|
+
flex-shrink: 0; /* 防止压缩 */
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* 右侧操作栏 */
|
|
27
|
+
.pagination-controls {
|
|
28
|
+
display: flex;
|
|
29
|
+
justify-content: flex-start;
|
|
30
|
+
align-items: center;
|
|
31
|
+
gap: 24px;
|
|
32
|
+
flex-shrink: 0; /* 防止压缩 */
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* 分页控件组 */
|
|
36
|
+
.pagination-group {
|
|
37
|
+
box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
|
|
38
|
+
overflow: hidden;
|
|
39
|
+
border-radius: 8px;
|
|
40
|
+
outline: 1px #D0D5DD solid;
|
|
41
|
+
outline-offset: -1px;
|
|
42
|
+
justify-content: flex-start;
|
|
43
|
+
align-items: center; /* 修复垂直对齐 */
|
|
44
|
+
display: flex;
|
|
45
|
+
height: 40px; /* 确保容器高度一致 */
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* Previous 按钮 */
|
|
49
|
+
.pagination-prev {
|
|
50
|
+
padding-left: 16px;
|
|
51
|
+
padding-right: 16px;
|
|
52
|
+
padding-top: 10px;
|
|
53
|
+
padding-bottom: 10px;
|
|
54
|
+
background: white;
|
|
55
|
+
border: none;
|
|
56
|
+
border-right: 1px #D0D5DD solid;
|
|
57
|
+
outline: none;
|
|
58
|
+
justify-content: center;
|
|
59
|
+
align-items: center;
|
|
60
|
+
gap: 8px;
|
|
61
|
+
display: flex;
|
|
62
|
+
cursor: pointer;
|
|
63
|
+
transition: all 0.2s ease;
|
|
64
|
+
font-family: inherit;
|
|
65
|
+
height: 40px; /* 明确设置高度 */
|
|
66
|
+
box-sizing: border-box;
|
|
67
|
+
vertical-align: top; /* 确保垂直对齐 */
|
|
68
|
+
|
|
69
|
+
span {
|
|
70
|
+
color: #344054;
|
|
71
|
+
font-size: 14px;
|
|
72
|
+
font-weight: 600;
|
|
73
|
+
line-height: 20px;
|
|
74
|
+
word-wrap: break-word;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&.disabled {
|
|
78
|
+
cursor: not-allowed;
|
|
79
|
+
|
|
80
|
+
span {
|
|
81
|
+
color: #98A2B3;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&:hover:not(.disabled) {
|
|
86
|
+
background-color: #F9FAFB;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* 页码按钮 */
|
|
91
|
+
.pagination-page {
|
|
92
|
+
width: 40px;
|
|
93
|
+
height: 40px; /* 明确设置高度 */
|
|
94
|
+
padding: 10px;
|
|
95
|
+
background: white;
|
|
96
|
+
border: none;
|
|
97
|
+
border-right: 1px #D0D5DD solid;
|
|
98
|
+
outline: none;
|
|
99
|
+
flex-direction: column;
|
|
100
|
+
justify-content: center;
|
|
101
|
+
align-items: center;
|
|
102
|
+
display: inline-flex;
|
|
103
|
+
cursor: pointer;
|
|
104
|
+
transition: all 0.2s ease;
|
|
105
|
+
font-family: inherit;
|
|
106
|
+
box-sizing: border-box;
|
|
107
|
+
vertical-align: top; /* 确保垂直对齐 */
|
|
108
|
+
|
|
109
|
+
color: #344054;
|
|
110
|
+
font-size: 14px;
|
|
111
|
+
font-weight: 600;
|
|
112
|
+
line-height: 20px;
|
|
113
|
+
word-wrap: break-word;
|
|
114
|
+
|
|
115
|
+
&:hover:not(.active):not(:disabled) {
|
|
116
|
+
background-color: #F9FAFB;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&.active {
|
|
120
|
+
background: #F9FAFB;
|
|
121
|
+
|
|
122
|
+
color: #1D2939;
|
|
123
|
+
font-size: 14px;
|
|
124
|
+
font-weight: 600;
|
|
125
|
+
line-height: 20px;
|
|
126
|
+
word-wrap: break-word;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&:disabled {
|
|
130
|
+
cursor: not-allowed;
|
|
131
|
+
opacity: 0.5;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/* 省略号 */
|
|
136
|
+
.pagination-ellipsis {
|
|
137
|
+
width: 40px;
|
|
138
|
+
height: 40px; /* 明确设置高度 */
|
|
139
|
+
padding: 10px;
|
|
140
|
+
background: white;
|
|
141
|
+
border: none;
|
|
142
|
+
border-right: 1px #D0D5DD solid;
|
|
143
|
+
flex-direction: column;
|
|
144
|
+
justify-content: center;
|
|
145
|
+
align-items: center;
|
|
146
|
+
display: inline-flex;
|
|
147
|
+
box-sizing: border-box;
|
|
148
|
+
vertical-align: top; /* 确保垂直对齐 */
|
|
149
|
+
|
|
150
|
+
span {
|
|
151
|
+
color: #344054;
|
|
152
|
+
font-size: 14px;
|
|
153
|
+
font-weight: 600;
|
|
154
|
+
line-height: 20px;
|
|
155
|
+
word-wrap: break-word;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/* Next 按钮 */
|
|
160
|
+
.pagination-next {
|
|
161
|
+
padding-left: 16px;
|
|
162
|
+
padding-right: 16px;
|
|
163
|
+
padding-top: 10px;
|
|
164
|
+
padding-bottom: 10px;
|
|
165
|
+
background: white;
|
|
166
|
+
border: none;
|
|
167
|
+
outline: none;
|
|
168
|
+
justify-content: center;
|
|
169
|
+
align-items: center;
|
|
170
|
+
gap: 8px;
|
|
171
|
+
display: flex;
|
|
172
|
+
cursor: pointer;
|
|
173
|
+
transition: all 0.2s ease;
|
|
174
|
+
font-family: inherit;
|
|
175
|
+
height: 40px; /* 明确设置高度 */
|
|
176
|
+
box-sizing: border-box;
|
|
177
|
+
vertical-align: top; /* 确保垂直对齐 */
|
|
178
|
+
|
|
179
|
+
span {
|
|
180
|
+
color: #344054;
|
|
181
|
+
font-size: 14px;
|
|
182
|
+
font-weight: 600;
|
|
183
|
+
line-height: 20px;
|
|
184
|
+
word-wrap: break-word;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
&.disabled {
|
|
188
|
+
cursor: not-allowed;
|
|
189
|
+
|
|
190
|
+
span {
|
|
191
|
+
color: #98A2B3;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
&:hover:not(.disabled) {
|
|
196
|
+
background-color: #F9FAFB;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/* 每页条数选择器 */
|
|
201
|
+
.pagination-size-selector {
|
|
202
|
+
width: 88px;
|
|
203
|
+
height: 40px; /* 确保容器高度一致 */
|
|
204
|
+
display: flex;
|
|
205
|
+
align-items: center; /* 垂直居中对齐 */
|
|
206
|
+
|
|
207
|
+
.ant-select {
|
|
208
|
+
width: 100%;
|
|
209
|
+
height: 40px; /* 确保select高度一致 */
|
|
210
|
+
|
|
211
|
+
.ant-select-selector {
|
|
212
|
+
padding-left: 16px;
|
|
213
|
+
padding-right: 16px;
|
|
214
|
+
padding-top: 0; /* 移除上下padding,使用flex居中 */
|
|
215
|
+
padding-bottom: 0;
|
|
216
|
+
background: white;
|
|
217
|
+
box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
|
|
218
|
+
overflow: hidden;
|
|
219
|
+
border-radius: 8px;
|
|
220
|
+
outline: 1px #D0D5DD solid;
|
|
221
|
+
outline-offset: -1px;
|
|
222
|
+
border: none;
|
|
223
|
+
height: 40px; /* 明确设置高度与分页按钮一致 */
|
|
224
|
+
min-height: 40px;
|
|
225
|
+
max-height: 40px; /* 防止高度超出 */
|
|
226
|
+
justify-content: space-between; /* 左右分布 */
|
|
227
|
+
align-items: center; /* 垂直居中 */
|
|
228
|
+
gap: 8px;
|
|
229
|
+
display: flex;
|
|
230
|
+
box-sizing: border-box; /* 确保padding包含在高度内 */
|
|
231
|
+
|
|
232
|
+
.ant-select-selection-item {
|
|
233
|
+
flex: 1 1 0;
|
|
234
|
+
color: #344054;
|
|
235
|
+
font-size: 14px;
|
|
236
|
+
font-family: 'Inter', sans-serif;
|
|
237
|
+
font-weight: 600;
|
|
238
|
+
line-height: 1; /* 使用相对行高确保垂直居中 */
|
|
239
|
+
word-wrap: break-word;
|
|
240
|
+
padding: 0;
|
|
241
|
+
margin: 0;
|
|
242
|
+
display: flex;
|
|
243
|
+
align-items: center; /* 文字垂直居中 */
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.ant-select-selection-placeholder {
|
|
247
|
+
color: #344054;
|
|
248
|
+
font-size: 14px;
|
|
249
|
+
font-family: 'Inter', sans-serif;
|
|
250
|
+
font-weight: 600;
|
|
251
|
+
line-height: 1; /* 使用相对行高 */
|
|
252
|
+
display: flex;
|
|
253
|
+
align-items: center; /* placeholder文字垂直居中 */
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.ant-select-selection-search {
|
|
257
|
+
display: flex;
|
|
258
|
+
align-items: center; /* 搜索框垂直居中 */
|
|
259
|
+
height: 100%;
|
|
260
|
+
|
|
261
|
+
.ant-select-selection-search-input {
|
|
262
|
+
height: 100%;
|
|
263
|
+
line-height: 1;
|
|
264
|
+
padding: 0;
|
|
265
|
+
margin: 0;
|
|
266
|
+
font-size: 14px;
|
|
267
|
+
font-family: 'Inter', sans-serif;
|
|
268
|
+
font-weight: 600;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
&:hover .ant-select-selector {
|
|
274
|
+
outline-color: #1890ff;
|
|
275
|
+
background-color: #F9FAFB;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
&.ant-select-focused .ant-select-selector {
|
|
279
|
+
outline-color: #1890ff;
|
|
280
|
+
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
&.ant-select-open .ant-select-selector {
|
|
284
|
+
outline-color: #1890ff;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.ant-select-arrow {
|
|
288
|
+
right: 16px;
|
|
289
|
+
color: #344054;
|
|
290
|
+
font-size: 12px;
|
|
291
|
+
margin-top: 0;
|
|
292
|
+
top: 50%; /* 垂直居中定位 */
|
|
293
|
+
transform: translateY(-50%); /* 垂直居中 */
|
|
294
|
+
display: flex;
|
|
295
|
+
align-items: center; /* 确保图标垂直居中 */
|
|
296
|
+
justify-content: center;
|
|
297
|
+
|
|
298
|
+
.anticon {
|
|
299
|
+
display: none;
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/* 下拉菜单样式 */
|
|
305
|
+
.ant-select-dropdown {
|
|
306
|
+
border-radius: 8px;
|
|
307
|
+
border: 1px solid #D0D5DD;
|
|
308
|
+
box-shadow: 0px 4px 6px rgba(16, 24, 40, 0.1);
|
|
309
|
+
padding: 4px;
|
|
310
|
+
background: white;
|
|
311
|
+
|
|
312
|
+
.ant-select-item {
|
|
313
|
+
border-radius: 6px;
|
|
314
|
+
margin: 2px 0;
|
|
315
|
+
padding: 8px 12px;
|
|
316
|
+
color: #344054;
|
|
317
|
+
font-size: 14px;
|
|
318
|
+
font-family: 'Inter', sans-serif;
|
|
319
|
+
font-weight: 500;
|
|
320
|
+
line-height: 20px;
|
|
321
|
+
transition: all 0.2s ease;
|
|
322
|
+
|
|
323
|
+
&:hover {
|
|
324
|
+
background-color: #F9FAFB;
|
|
325
|
+
color: #1D2939;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
&.ant-select-item-option-selected {
|
|
329
|
+
background-color: #1890ff;
|
|
330
|
+
color: white;
|
|
331
|
+
font-weight: 600;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
&.ant-select-item-option-active {
|
|
335
|
+
background-color: #F9FAFB;
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/* 响应式适配 */
|
|
343
|
+
@media (max-width: 768px) {
|
|
344
|
+
.pisell-pagination {
|
|
345
|
+
/* 移动端保持左右布局,但调整间距 */
|
|
346
|
+
flex-direction: row;
|
|
347
|
+
justify-content: space-between;
|
|
348
|
+
align-items: center;
|
|
349
|
+
gap: 12px;
|
|
350
|
+
|
|
351
|
+
.pagination-info {
|
|
352
|
+
/* 移动端文字样式保持一致 */
|
|
353
|
+
color: #344054;
|
|
354
|
+
font-size: 13px;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.pagination-controls {
|
|
358
|
+
justify-content: flex-end;
|
|
359
|
+
gap: 16px;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.pagination-group {
|
|
363
|
+
flex: 1;
|
|
364
|
+
justify-content: center;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.pagination-prev,
|
|
368
|
+
.pagination-next {
|
|
369
|
+
padding: 8px 12px;
|
|
370
|
+
|
|
371
|
+
span {
|
|
372
|
+
font-size: 13px;
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.pagination-page {
|
|
377
|
+
width: 36px;
|
|
378
|
+
padding: 8px;
|
|
379
|
+
|
|
380
|
+
font-size: 13px;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.pagination-ellipsis {
|
|
384
|
+
width: 36px;
|
|
385
|
+
padding: 8px;
|
|
386
|
+
|
|
387
|
+
span {
|
|
388
|
+
font-size: 13px;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.pagination-size-selector {
|
|
393
|
+
width: 80px;
|
|
394
|
+
|
|
395
|
+
.ant-select .ant-select-selector {
|
|
396
|
+
padding: 8px 12px;
|
|
397
|
+
min-height: 36px;
|
|
398
|
+
|
|
399
|
+
.ant-select-selection-item {
|
|
400
|
+
font-size: 13px;
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
@media (max-width: 480px) {
|
|
408
|
+
.pisell-pagination {
|
|
409
|
+
/* 极小屏幕可能需要垂直布局 */
|
|
410
|
+
flex-direction: column;
|
|
411
|
+
align-items: stretch;
|
|
412
|
+
gap: 12px;
|
|
413
|
+
|
|
414
|
+
.pagination-info {
|
|
415
|
+
text-align: center;
|
|
416
|
+
font-size: 12px;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.pagination-controls {
|
|
420
|
+
justify-content: center;
|
|
421
|
+
gap: 12px;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.pagination-prev span,
|
|
425
|
+
.pagination-next span {
|
|
426
|
+
display: none;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.pagination-prev,
|
|
430
|
+
.pagination-next {
|
|
431
|
+
padding: 8px;
|
|
432
|
+
min-width: 36px;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.pagination-size-selector {
|
|
436
|
+
width: 70px;
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Pagination';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Pagination";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './ScrollLoader.less';
|
|
3
|
+
export interface ScrollLoadState {
|
|
4
|
+
canLoadMore: boolean;
|
|
5
|
+
totalLoaded: number;
|
|
6
|
+
}
|
|
7
|
+
export interface ScrollLoaderProps {
|
|
8
|
+
/** 是否正在加载 */
|
|
9
|
+
loading: boolean;
|
|
10
|
+
/** 滚动加载状态 */
|
|
11
|
+
scrollLoadState?: ScrollLoadState | null;
|
|
12
|
+
/** 布局方向 */
|
|
13
|
+
layoutDirection: 'horizontal' | 'vertical';
|
|
14
|
+
/** 分页类型 */
|
|
15
|
+
paginationType: 'all' | 'scroll' | 'pager' | 'more';
|
|
16
|
+
}
|
|
17
|
+
declare const ScrollLoader: React.FC<ScrollLoaderProps>;
|
|
18
|
+
export default ScrollLoader;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import "./ScrollLoader.less";
|
|
2
|
+
var ScrollLoader = function ScrollLoader(_ref) {
|
|
3
|
+
var _ref$loading = _ref.loading,
|
|
4
|
+
loading = _ref$loading === void 0 ? false : _ref$loading,
|
|
5
|
+
scrollLoadState = _ref.scrollLoadState,
|
|
6
|
+
_ref$layoutDirection = _ref.layoutDirection,
|
|
7
|
+
layoutDirection = _ref$layoutDirection === void 0 ? 'vertical' : _ref$layoutDirection,
|
|
8
|
+
_ref$paginationType = _ref.paginationType,
|
|
9
|
+
paginationType = _ref$paginationType === void 0 ? 'all' : _ref$paginationType;
|
|
10
|
+
// 只在滚动加载模式下显示
|
|
11
|
+
if (paginationType !== 'scroll') {
|
|
12
|
+
return null;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// list-loading-item 组件已取消
|
|
16
|
+
return null;
|
|
17
|
+
};
|
|
18
|
+
export default ScrollLoader;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./ScrollLoader";
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import "./Tab.less";
|
|
3
|
+
var Tab = function Tab(_ref) {
|
|
4
|
+
var _ref$className = _ref.className,
|
|
5
|
+
className = _ref$className === void 0 ? '' : _ref$className,
|
|
6
|
+
_ref$style = _ref.style,
|
|
7
|
+
style = _ref$style === void 0 ? {} : _ref$style,
|
|
8
|
+
_ref$activeKey = _ref.activeKey,
|
|
9
|
+
activeKey = _ref$activeKey === void 0 ? '' : _ref$activeKey,
|
|
10
|
+
_ref$items = _ref.items,
|
|
11
|
+
items = _ref$items === void 0 ? [] : _ref$items,
|
|
12
|
+
onChange = _ref.onChange;
|
|
13
|
+
var handleTabClick = function handleTabClick(item) {
|
|
14
|
+
if (item.disabled) {
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// Tab切换
|
|
19
|
+
if (item.key !== activeKey) {
|
|
20
|
+
onChange === null || onChange === void 0 || onChange(item.key);
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
// 渲染单个tab项
|
|
25
|
+
var renderTabItem = function renderTabItem(item) {
|
|
26
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
27
|
+
key: item.key,
|
|
28
|
+
className: "pisell-tab-item ".concat(activeKey === item.key ? 'pisell-tab-item-active' : 'pisell-tab-item-inactive', " ").concat(item.disabled ? 'pisell-tab-item-disabled' : ''),
|
|
29
|
+
onClick: function onClick() {
|
|
30
|
+
return handleTabClick(item);
|
|
31
|
+
}
|
|
32
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
33
|
+
className: "pisell-tab-item-label"
|
|
34
|
+
}, item.label));
|
|
35
|
+
};
|
|
36
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
37
|
+
className: "pisell-tab ".concat(className),
|
|
38
|
+
style: style
|
|
39
|
+
}, items.map(function (item) {
|
|
40
|
+
return renderTabItem(item);
|
|
41
|
+
}));
|
|
42
|
+
};
|
|
43
|
+
export default Tab;
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
/* Tab 组件样式 */
|
|
2
|
+
.pisell-tab {
|
|
3
|
+
align-self: stretch;
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
justify-content: flex-start;
|
|
6
|
+
align-items: center;
|
|
7
|
+
gap: 8px;
|
|
8
|
+
display: inline-flex;
|
|
9
|
+
|
|
10
|
+
.pisell-tab-item {
|
|
11
|
+
height: 40px;
|
|
12
|
+
padding-left: 16px;
|
|
13
|
+
padding-right: 16px;
|
|
14
|
+
border-radius: 88px;
|
|
15
|
+
justify-content: flex-start;
|
|
16
|
+
align-items: center;
|
|
17
|
+
gap: 4px;
|
|
18
|
+
display: flex;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
transition: all 0.3s ease;
|
|
21
|
+
|
|
22
|
+
.pisell-tab-item-label {
|
|
23
|
+
font-size: 14px;
|
|
24
|
+
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
25
|
+
line-height: 20px;
|
|
26
|
+
word-wrap: break-word;
|
|
27
|
+
white-space: nowrap;
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
gap: 4px;
|
|
31
|
+
|
|
32
|
+
.pisell-tab-item-count {
|
|
33
|
+
margin-left: 4px;
|
|
34
|
+
font-weight: inherit;
|
|
35
|
+
opacity: 0.7;
|
|
36
|
+
font-size: 12px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.pisell-tab-item-external-icon {
|
|
40
|
+
font-size: 12px;
|
|
41
|
+
opacity: 0.7;
|
|
42
|
+
margin-left: 2px;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* 选中状态 */
|
|
47
|
+
&.pisell-tab-item-active {
|
|
48
|
+
background: #8157D5;
|
|
49
|
+
|
|
50
|
+
.pisell-tab-item-label {
|
|
51
|
+
color: white;
|
|
52
|
+
font-weight: 600 !important;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* 未选中状态 */
|
|
57
|
+
&.pisell-tab-item-inactive {
|
|
58
|
+
background: white;
|
|
59
|
+
|
|
60
|
+
.pisell-tab-item-label {
|
|
61
|
+
color: #101828;
|
|
62
|
+
font-weight: 600 !important;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&:hover {
|
|
66
|
+
background: #f5f5f5;
|
|
67
|
+
|
|
68
|
+
.pisell-tab-item-label {
|
|
69
|
+
color: #8157D5;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* 禁用状态 */
|
|
75
|
+
&.pisell-tab-item-disabled {
|
|
76
|
+
cursor: not-allowed;
|
|
77
|
+
opacity: 0.5;
|
|
78
|
+
|
|
79
|
+
&:hover {
|
|
80
|
+
background: white;
|
|
81
|
+
|
|
82
|
+
.pisell-tab-item-label {
|
|
83
|
+
color: #101828;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* 链接类型 tab 项 */
|
|
89
|
+
&.pisell-tab-item-link {
|
|
90
|
+
position: relative;
|
|
91
|
+
|
|
92
|
+
/* 普通链接(锚点)样式 */
|
|
93
|
+
&:not(.pisell-tab-item-external) {
|
|
94
|
+
&.pisell-tab-item-inactive {
|
|
95
|
+
.pisell-tab-item-label {
|
|
96
|
+
color: #1890ff;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&:hover {
|
|
100
|
+
.pisell-tab-item-label {
|
|
101
|
+
color: #40a9ff;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* 外部链接样式 */
|
|
108
|
+
&.pisell-tab-item-external {
|
|
109
|
+
&.pisell-tab-item-inactive {
|
|
110
|
+
.pisell-tab-item-label {
|
|
111
|
+
color: #52c41a;
|
|
112
|
+
|
|
113
|
+
.pisell-tab-item-external-icon {
|
|
114
|
+
opacity: 0.8;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&:hover {
|
|
119
|
+
.pisell-tab-item-label {
|
|
120
|
+
color: #73d13d;
|
|
121
|
+
|
|
122
|
+
.pisell-tab-item-external-icon {
|
|
123
|
+
opacity: 1;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&.pisell-tab-item-active {
|
|
130
|
+
.pisell-tab-item-external-icon {
|
|
131
|
+
color: white;
|
|
132
|
+
opacity: 0.9;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Tab";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TabItem } from '../../types';
|
|
3
|
+
export interface TabProps {
|
|
4
|
+
/** 类名 */
|
|
5
|
+
className?: string;
|
|
6
|
+
/** 样式 */
|
|
7
|
+
style?: React.CSSProperties;
|
|
8
|
+
/** 当前激活的tab */
|
|
9
|
+
activeKey?: string;
|
|
10
|
+
/** tab项 */
|
|
11
|
+
items: TabItem[];
|
|
12
|
+
/** tab切换回调 */
|
|
13
|
+
onChange?: (key: string) => void;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|