@pisell/private-materials 6.4.59 → 6.4.60
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/booking/components/actionButtons/index.js +7 -15
- package/es/components/booking/components/footer/index.d.ts +0 -1
- package/es/components/booking/components/footer/index.js +2 -2
- package/es/components/booking/components/voucher/index.js +19 -23
- package/es/components/booking/info/service2/utils.d.ts +1 -1
- package/es/components/booking/info2/cartClientCard/index.js +3 -7
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/checkout/PaymentModal.js +12 -17
- package/es/components/checkout/hooks/useWalletPass.js +21 -36
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/linkly/index.d.ts +1 -0
- package/es/components/eftposPay/store/index.d.ts +4 -4
- package/es/components/pay/toB/store/hooks.js +5 -19
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -20
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +12 -47
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -2
- package/es/components/ticketBooking/components/addServiceVariant/index.js +2 -4
- package/es/components/ticketBooking/components/menuBar/index.d.ts +1 -5
- package/es/components/ticketBooking/components/menuBar/index.js +21 -45
- package/es/components/ticketBooking/components/menuBar/index.less +1 -32
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -6
- package/es/components/ticketBooking/components/ticketBooking/index.js +23 -66
- package/es/components/ticketBooking/components/timeBar/index.d.ts +1 -0
- package/es/components/ticketBooking/components/timeBar/index.less +0 -1
- package/es/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -5
- package/es/components/ticketBooking/hooks/pisellos/bookingTicket.js +1 -13
- package/es/components/ticketBooking/hooks/pisellos/index.d.ts +0 -1
- package/es/components/ticketBooking/hooks/pisellos/index.js +1 -2
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.js +4 -12
- package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +1 -1
- package/es/components/ticketBooking/hooks/pisellos/useProducts.js +10 -52
- package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.js +2 -5
- package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.js +2 -7
- package/es/components/ticketBooking/index.d.ts +0 -6
- package/es/components/ticketBooking/index.js +11 -86
- package/es/components/ticketBooking/utils/index.d.ts +2 -30
- package/es/components/ticketBooking/utils/index.js +1 -50
- package/es/index.d.ts +0 -2
- package/es/index.js +1 -3
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +0 -2
- package/es/plus/productSelect/components/pisellPriceText/index.js +5 -7
- package/lib/components/booking/components/actionButtons/index.js +15 -22
- package/lib/components/booking/components/footer/index.d.ts +0 -1
- package/lib/components/booking/components/footer/index.js +2 -2
- package/lib/components/booking/components/voucher/index.js +40 -33
- package/lib/components/booking/info/service2/utils.d.ts +1 -1
- package/lib/components/booking/info2/cartClientCard/index.js +3 -7
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/checkout/PaymentModal.js +12 -15
- package/lib/components/checkout/hooks/useWalletPass.js +45 -57
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/linkly/index.d.ts +1 -0
- package/lib/components/eftposPay/store/index.d.ts +4 -4
- package/lib/components/pay/toB/store/hooks.js +8 -16
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -20
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +12 -47
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -2
- package/lib/components/ticketBooking/components/addServiceVariant/index.js +2 -3
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +1 -5
- package/lib/components/ticketBooking/components/menuBar/index.js +22 -29
- package/lib/components/ticketBooking/components/menuBar/index.less +1 -32
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -6
- package/lib/components/ticketBooking/components/ticketBooking/index.js +25 -56
- package/lib/components/ticketBooking/components/timeBar/index.d.ts +1 -0
- package/lib/components/ticketBooking/components/timeBar/index.less +0 -1
- package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -5
- package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.js +1 -5
- package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +0 -1
- package/lib/components/ticketBooking/hooks/pisellos/index.js +1 -3
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.js +10 -17
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +1 -1
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.js +5 -35
- package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.js +2 -4
- package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.js +2 -6
- package/lib/components/ticketBooking/index.d.ts +0 -6
- package/lib/components/ticketBooking/index.js +8 -64
- package/lib/components/ticketBooking/utils/index.d.ts +2 -30
- package/lib/components/ticketBooking/utils/index.js +2 -70
- package/lib/index.d.ts +0 -2
- package/lib/index.js +0 -6
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +0 -2
- package/lib/plus/productSelect/components/pisellPriceText/index.js +5 -6
- package/package.json +1 -1
- package/es/components/list/List.d.ts +0 -5
- package/es/components/list/List.js +0 -957
- package/es/components/list/List.less +0 -2
- package/es/components/list/ResponsiveWrapper.d.ts +0 -16
- package/es/components/list/ResponsiveWrapper.js +0 -130
- package/es/components/list/TestResponsiveWrapper.d.ts +0 -8
- package/es/components/list/TestResponsiveWrapper.js +0 -816
- package/es/components/list/TestResponsiveWrapper.less +0 -968
- package/es/components/list/components/EmptyState/EmptyState.d.ts +0 -20
- package/es/components/list/components/EmptyState/EmptyState.js +0 -75
- package/es/components/list/components/EmptyState/EmptyState.less +0 -121
- package/es/components/list/components/EmptyState/index.d.ts +0 -2
- package/es/components/list/components/EmptyState/index.js +0 -1
- package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
- package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.js +0 -39
- package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.less +0 -29
- package/es/components/list/components/ListItemSkeleton/index.d.ts +0 -2
- package/es/components/list/components/ListItemSkeleton/index.js +0 -2
- package/es/components/list/components/Pagination/Pagination.d.ts +0 -30
- package/es/components/list/components/Pagination/Pagination.js +0 -240
- package/es/components/list/components/Pagination/Pagination.less +0 -439
- package/es/components/list/components/Pagination/index.d.ts +0 -1
- package/es/components/list/components/Pagination/index.js +0 -1
- package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
- package/es/components/list/components/ScrollLoader/ScrollLoader.js +0 -18
- package/es/components/list/components/ScrollLoader/ScrollLoader.less +0 -3
- package/es/components/list/components/ScrollLoader/index.d.ts +0 -2
- package/es/components/list/components/ScrollLoader/index.js +0 -1
- package/es/components/list/components/Tab/Tab.d.ts +0 -5
- package/es/components/list/components/Tab/Tab.js +0 -43
- package/es/components/list/components/Tab/Tab.less +0 -139
- package/es/components/list/components/Tab/index.d.ts +0 -2
- package/es/components/list/components/Tab/index.js +0 -1
- package/es/components/list/components/Tab/types.d.ts +0 -14
- package/es/components/list/components/Tab/types.js +0 -1
- package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
- package/es/components/list/components/TabSkeleton/TabSkeleton.js +0 -28
- package/es/components/list/components/TabSkeleton/TabSkeleton.less +0 -38
- package/es/components/list/components/TabSkeleton/index.d.ts +0 -2
- package/es/components/list/components/TabSkeleton/index.js +0 -2
- package/es/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
- package/es/components/list/components/WaterfallList/WaterfallList.js +0 -191
- package/es/components/list/components/WaterfallList/WaterfallList.less +0 -201
- package/es/components/list/components/WaterfallList/index.d.ts +0 -2
- package/es/components/list/components/WaterfallList/index.js +0 -1
- package/es/components/list/examples/GroupedListExample.d.ts +0 -3
- package/es/components/list/examples/GroupedListExample.js +0 -207
- package/es/components/list/hooks/index.d.ts +0 -5
- package/es/components/list/hooks/index.js +0 -3
- package/es/components/list/hooks/useDevice.d.ts +0 -24
- package/es/components/list/hooks/useDevice.js +0 -102
- package/es/components/list/hooks/useListState.d.ts +0 -43
- package/es/components/list/hooks/useListState.js +0 -176
- package/es/components/list/hooks/useWaterfall.d.ts +0 -34
- package/es/components/list/hooks/useWaterfall.js +0 -161
- package/es/components/list/index.d.ts +0 -10
- package/es/components/list/index.js +0 -7
- package/es/components/list/locales.d.ts +0 -66
- package/es/components/list/locales.js +0 -107
- package/es/components/list/styles/base.less +0 -39
- package/es/components/list/styles/content.less +0 -416
- package/es/components/list/styles/floatButton.less +0 -107
- package/es/components/list/styles/footer.less +0 -49
- package/es/components/list/styles/header.less +0 -69
- package/es/components/list/styles/responsive.less +0 -166
- package/es/components/list/types.d.ts +0 -177
- package/es/components/list/types.js +0 -1
- package/es/components/list/utils/getText.d.ts +0 -53
- package/es/components/list/utils/getText.js +0 -150
- package/es/components/list/utils/index.d.ts +0 -4
- package/es/components/list/utils/index.js +0 -5
- package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +0 -27
- package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +0 -143
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +0 -7
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.js +0 -7
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.less +0 -41
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.js +0 -273
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +0 -50
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.js +0 -130
- package/es/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
- package/es/components/ticketBooking/context/IsActiveContext.js +0 -37
- package/es/components/ticketBooking/context/OsKeyContext.d.ts +0 -26
- package/es/components/ticketBooking/context/OsKeyContext.js +0 -37
- package/es/components/ticketBooking/context/index.d.ts +0 -2
- package/es/components/ticketBooking/context/index.js +0 -2
- package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
- package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.js +0 -50
- package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +0 -6
- package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.js +0 -17
- package/es/components/ticketBooking/utils/productCache.d.ts +0 -75
- package/es/components/ticketBooking/utils/productCache.js +0 -184
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.js +0 -11
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.less +0 -8
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.js +0 -11
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.less +0 -17
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.js +0 -11
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.less +0 -17
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.js +0 -11
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.less +0 -17
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.js +0 -11
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.less +0 -2
- package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -8
- package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.js +0 -100
- package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.less +0 -8
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.js +0 -32
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.less +0 -3
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -8
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.js +0 -239
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.less +0 -44
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.js +0 -34
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.less +0 -14
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.js +0 -33
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.less +0 -30
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -5
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +0 -75
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.less +0 -46
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.js +0 -39
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.less +0 -9
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.js +0 -53
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.less +0 -31
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.js +0 -31
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.less +0 -3
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.js +0 -58
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.less +0 -11
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.js +0 -85
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.less +0 -24
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +0 -121
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.less +0 -57
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.js +0 -95
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.less +0 -18
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.js +0 -31
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.less +0 -3
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.js +0 -47
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.less +0 -3
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.js +0 -34
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.less +0 -13
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.js +0 -95
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.less +0 -18
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.js +0 -31
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.less +0 -3
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.js +0 -34
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.less +0 -13
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.js +0 -39
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.less +0 -22
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.js +0 -20
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.less +0 -20
- package/es/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.js +0 -55
- package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -9
- package/es/plus/productSelect/ProductCard/SkuCard/index.js +0 -38
- package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -42
- package/es/plus/productSelect/ProductCard/SkuCard/locales.js +0 -41
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -162
- package/es/plus/productSelect/ProductCard/SkuCard/status.js +0 -481
- package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
- package/es/plus/productSelect/ProductCard/SkuCard/type.js +0 -1
- package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
- package/es/plus/productSelect/ProductCard/SkuCard/utils.js +0 -21
- package/lib/components/list/List.d.ts +0 -5
- package/lib/components/list/List.js +0 -771
- package/lib/components/list/List.less +0 -2
- package/lib/components/list/ResponsiveWrapper.d.ts +0 -16
- package/lib/components/list/ResponsiveWrapper.js +0 -145
- package/lib/components/list/TestResponsiveWrapper.d.ts +0 -8
- package/lib/components/list/TestResponsiveWrapper.js +0 -493
- package/lib/components/list/TestResponsiveWrapper.less +0 -968
- package/lib/components/list/components/EmptyState/EmptyState.d.ts +0 -20
- package/lib/components/list/components/EmptyState/EmptyState.js +0 -75
- package/lib/components/list/components/EmptyState/EmptyState.less +0 -121
- package/lib/components/list/components/EmptyState/index.d.ts +0 -2
- package/lib/components/list/components/EmptyState/index.js +0 -35
- package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
- package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.js +0 -75
- package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.less +0 -29
- package/lib/components/list/components/ListItemSkeleton/index.d.ts +0 -2
- package/lib/components/list/components/ListItemSkeleton/index.js +0 -41
- package/lib/components/list/components/Pagination/Pagination.d.ts +0 -30
- package/lib/components/list/components/Pagination/Pagination.js +0 -205
- package/lib/components/list/components/Pagination/Pagination.less +0 -439
- package/lib/components/list/components/Pagination/index.d.ts +0 -1
- package/lib/components/list/components/Pagination/index.js +0 -35
- package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
- package/lib/components/list/components/ScrollLoader/ScrollLoader.js +0 -37
- package/lib/components/list/components/ScrollLoader/ScrollLoader.less +0 -3
- package/lib/components/list/components/ScrollLoader/index.d.ts +0 -2
- package/lib/components/list/components/ScrollLoader/index.js +0 -35
- package/lib/components/list/components/Tab/Tab.d.ts +0 -5
- package/lib/components/list/components/Tab/Tab.js +0 -72
- package/lib/components/list/components/Tab/Tab.less +0 -139
- package/lib/components/list/components/Tab/index.d.ts +0 -2
- package/lib/components/list/components/Tab/index.js +0 -35
- package/lib/components/list/components/Tab/types.d.ts +0 -14
- package/lib/components/list/components/Tab/types.js +0 -17
- package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
- package/lib/components/list/components/TabSkeleton/TabSkeleton.js +0 -61
- package/lib/components/list/components/TabSkeleton/TabSkeleton.less +0 -38
- package/lib/components/list/components/TabSkeleton/index.d.ts +0 -2
- package/lib/components/list/components/TabSkeleton/index.js +0 -41
- package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
- package/lib/components/list/components/WaterfallList/WaterfallList.js +0 -178
- package/lib/components/list/components/WaterfallList/WaterfallList.less +0 -201
- package/lib/components/list/components/WaterfallList/index.d.ts +0 -2
- package/lib/components/list/components/WaterfallList/index.js +0 -35
- package/lib/components/list/examples/GroupedListExample.d.ts +0 -3
- package/lib/components/list/examples/GroupedListExample.js +0 -210
- package/lib/components/list/hooks/index.d.ts +0 -5
- package/lib/components/list/hooks/index.js +0 -47
- package/lib/components/list/hooks/useDevice.d.ts +0 -24
- package/lib/components/list/hooks/useDevice.js +0 -96
- package/lib/components/list/hooks/useListState.d.ts +0 -43
- package/lib/components/list/hooks/useListState.js +0 -149
- package/lib/components/list/hooks/useWaterfall.d.ts +0 -34
- package/lib/components/list/hooks/useWaterfall.js +0 -124
- package/lib/components/list/index.d.ts +0 -10
- package/lib/components/list/index.js +0 -60
- package/lib/components/list/locales.d.ts +0 -66
- package/lib/components/list/locales.js +0 -113
- package/lib/components/list/styles/base.less +0 -39
- package/lib/components/list/styles/content.less +0 -416
- package/lib/components/list/styles/floatButton.less +0 -107
- package/lib/components/list/styles/footer.less +0 -49
- package/lib/components/list/styles/header.less +0 -69
- package/lib/components/list/styles/responsive.less +0 -166
- package/lib/components/list/types.d.ts +0 -177
- package/lib/components/list/types.js +0 -17
- package/lib/components/list/utils/getText.d.ts +0 -53
- package/lib/components/list/utils/getText.js +0 -95
- package/lib/components/list/utils/index.d.ts +0 -4
- package/lib/components/list/utils/index.js +0 -43
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +0 -27
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.js +0 -165
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +0 -7
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.js +0 -45
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.less +0 -41
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.js +0 -247
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +0 -50
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.js +0 -100
- package/lib/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
- package/lib/components/ticketBooking/context/IsActiveContext.js +0 -56
- package/lib/components/ticketBooking/context/OsKeyContext.d.ts +0 -26
- package/lib/components/ticketBooking/context/OsKeyContext.js +0 -56
- package/lib/components/ticketBooking/context/index.d.ts +0 -2
- package/lib/components/ticketBooking/context/index.js +0 -44
- package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
- package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.js +0 -47
- package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +0 -6
- package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.js +0 -37
- package/lib/components/ticketBooking/utils/productCache.d.ts +0 -75
- package/lib/components/ticketBooking/utils/productCache.js +0 -144
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.js +0 -42
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.less +0 -8
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.js +0 -42
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.less +0 -17
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.js +0 -42
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.less +0 -17
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.js +0 -42
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.less +0 -17
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.js +0 -42
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.less +0 -2
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -8
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.js +0 -129
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.less +0 -8
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.js +0 -52
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.less +0 -3
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -8
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.js +0 -178
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.less +0 -44
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.js +0 -52
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.less +0 -14
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.js +0 -63
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.less +0 -30
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -5
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.js +0 -131
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.less +0 -46
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.js +0 -62
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.less +0 -9
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.js +0 -78
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.less +0 -31
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.js +0 -51
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.less +0 -3
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.js +0 -94
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.less +0 -11
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.js +0 -115
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.less +0 -24
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.js +0 -139
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.less +0 -57
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.js +0 -97
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.less +0 -18
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.js +0 -51
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.less +0 -3
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.js +0 -58
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.less +0 -3
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.js +0 -56
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.less +0 -13
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.js +0 -97
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.less +0 -18
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.js +0 -51
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.less +0 -3
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.js +0 -56
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.less +0 -13
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.js +0 -58
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.less +0 -22
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.js +0 -49
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.less +0 -20
- package/lib/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.js +0 -83
- package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -9
- package/lib/plus/productSelect/ProductCard/SkuCard/index.js +0 -68
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -42
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.js +0 -65
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -162
- package/lib/plus/productSelect/ProductCard/SkuCard/status.js +0 -501
- package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
- package/lib/plus/productSelect/ProductCard/SkuCard/type.js +0 -17
- package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
- package/lib/plus/productSelect/ProductCard/SkuCard/utils.js +0 -37
- package/lowcode/sku-card/meta.ts +0 -1812
- package/lowcode/sku-card/snippets.ts +0 -372
- package/lowcode/sku-list/meta.ts +0 -410
|
@@ -1,58 +0,0 @@
|
|
|
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/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.tsx
|
|
30
|
-
var TooltipTags_exports = {};
|
|
31
|
-
__export(TooltipTags_exports, {
|
|
32
|
-
default: () => TooltipTags_default
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(TooltipTags_exports);
|
|
35
|
-
var import_react = __toESM(require("react"));
|
|
36
|
-
var import_index = require("./index.less");
|
|
37
|
-
var import_status = require("../../status");
|
|
38
|
-
var TooltipTags = ({ props }) => {
|
|
39
|
-
var _a;
|
|
40
|
-
const { skuExtraConfig, className, skuCardConfig, dataSource } = props;
|
|
41
|
-
const { isOpen, isTooltipTag, isTooltipTagSlot } = skuExtraConfig || {};
|
|
42
|
-
const { radius, displayMode } = skuCardConfig || {};
|
|
43
|
-
if (!isOpen || !isTooltipTag) return null;
|
|
44
|
-
if (displayMode === "display_a1") return null;
|
|
45
|
-
return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import_status.PREFIX}__card-tooltip-tags ${className}` }, isTooltipTagSlot ? isTooltipTagSlot : /* @__PURE__ */ import_react.default.createElement("div", { className: `${import_status.PREFIX}__card-tooltip-tags-list` }, (_a = dataSource == null ? void 0 : dataSource.tooltip_tags) == null ? void 0 : _a.map((item, index) => /* @__PURE__ */ import_react.default.createElement(
|
|
46
|
-
"div",
|
|
47
|
-
{
|
|
48
|
-
key: index,
|
|
49
|
-
className: `${import_status.PREFIX}__card-tooltip-tags-item`,
|
|
50
|
-
style: {
|
|
51
|
-
borderTopLeftRadius: index === 0 ? radius : 0,
|
|
52
|
-
borderTopRightRadius: index === 0 ? 0 : "12px"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
item.title
|
|
56
|
-
))));
|
|
57
|
-
};
|
|
58
|
-
var TooltipTags_default = TooltipTags;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
.pisell-product-sku__card-tooltip-tags {
|
|
2
|
-
position: absolute;
|
|
3
|
-
left: 0;
|
|
4
|
-
top: 0;
|
|
5
|
-
|
|
6
|
-
.pisell-product-sku__card-tooltip-tags-list {
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
gap: 6px;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.pisell-product-sku__card-tooltip-tags-item {
|
|
13
|
-
padding: 6px 10px;
|
|
14
|
-
color: #b42318;
|
|
15
|
-
font-size: 14px;
|
|
16
|
-
font-weight: 500;
|
|
17
|
-
line-height: 20px;
|
|
18
|
-
word-wrap: break-word;
|
|
19
|
-
background: #fee4e2;
|
|
20
|
-
border-radius: 0 12px 12px 0;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
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/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.tsx
|
|
30
|
-
var WarningLists_exports = {};
|
|
31
|
-
__export(WarningLists_exports, {
|
|
32
|
-
default: () => WarningLists_default
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(WarningLists_exports);
|
|
35
|
-
var import_react = __toESM(require("react"));
|
|
36
|
-
var import_icons = require("@ant-design/icons");
|
|
37
|
-
var import_index = require("./index.less");
|
|
38
|
-
var import_status = require("../../status");
|
|
39
|
-
var WarningLists = (props) => {
|
|
40
|
-
const { lists, className } = props;
|
|
41
|
-
if (!(lists == null ? void 0 : lists.length)) return null;
|
|
42
|
-
return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import_status.PREFIX}__card-warning-lists ${className}` }, lists == null ? void 0 : lists.map((item) => /* @__PURE__ */ import_react.default.createElement("div", { key: item.id, className: `${import_status.PREFIX}__card-warning-lists-item` }, /* @__PURE__ */ import_react.default.createElement(
|
|
43
|
-
import_icons.ExclamationCircleOutlined,
|
|
44
|
-
{
|
|
45
|
-
className: `${import_status.PREFIX}__card-warning-lists-item-icon`
|
|
46
|
-
}
|
|
47
|
-
), /* @__PURE__ */ import_react.default.createElement("span", null, item.value))));
|
|
48
|
-
};
|
|
49
|
-
var WarningLists_default = WarningLists;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
.pisell-product-sku__card-warning-lists {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
gap: 4px;
|
|
5
|
-
|
|
6
|
-
.pisell-product-sku__card-warning-lists-item {
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: baseline;
|
|
9
|
-
gap: 6px;
|
|
10
|
-
color: #dc6803;
|
|
11
|
-
font-size: 14px;
|
|
12
|
-
font-weight: 600;
|
|
13
|
-
line-height: 20px;
|
|
14
|
-
word-wrap: break-word;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.pisell-product-sku__card-warning-lists-item-icon {
|
|
18
|
-
font-size: 16px;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const useDynamicComponents: () => {
|
|
3
|
-
renderComponent: (key: string, props: any) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
4
|
-
renderComponents: (props: any) => any;
|
|
5
|
-
componentMap: Record<string, React.ComponentType<any>>;
|
|
6
|
-
};
|
|
@@ -1,83 +0,0 @@
|
|
|
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/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.ts
|
|
30
|
-
var useDynamicComponents_exports = {};
|
|
31
|
-
__export(useDynamicComponents_exports, {
|
|
32
|
-
useDynamicComponents: () => useDynamicComponents
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(useDynamicComponents_exports);
|
|
35
|
-
var import_react = __toESM(require("react"));
|
|
36
|
-
var import_Title = __toESM(require("../components/Title"));
|
|
37
|
-
var import_SubTitle = __toESM(require("../components/SubTitle"));
|
|
38
|
-
var import_Price = __toESM(require("../components/Price"));
|
|
39
|
-
var import_Tags = __toESM(require("../components/Tags"));
|
|
40
|
-
var import_MemberPrice = __toESM(require("../components/MemberPrice"));
|
|
41
|
-
var import_Countdown = __toESM(require("../components/Countdown"));
|
|
42
|
-
var import_Stock = __toESM(require("../components/Stock"));
|
|
43
|
-
var import_Capacity = __toESM(require("../components/Capacity"));
|
|
44
|
-
var import_Duration = __toESM(require("../components/Duration"));
|
|
45
|
-
var import_Time = __toESM(require("../components/Time"));
|
|
46
|
-
var import_Resource = __toESM(require("../components/Resource"));
|
|
47
|
-
var import_Promotions = __toESM(require("../components/Promotions"));
|
|
48
|
-
var componentMap = {
|
|
49
|
-
title: import_Title.default,
|
|
50
|
-
subtitle: import_SubTitle.default,
|
|
51
|
-
price: import_Price.default,
|
|
52
|
-
memberPrice: import_MemberPrice.default,
|
|
53
|
-
tags: import_Tags.default,
|
|
54
|
-
countdown: import_Countdown.default,
|
|
55
|
-
stock: import_Stock.default,
|
|
56
|
-
capacity: import_Capacity.default,
|
|
57
|
-
duration: import_Duration.default,
|
|
58
|
-
time: import_Time.default,
|
|
59
|
-
resource: import_Resource.default,
|
|
60
|
-
promotions: import_Promotions.default
|
|
61
|
-
};
|
|
62
|
-
var useDynamicComponents = () => {
|
|
63
|
-
const renderComponent = (key, props) => {
|
|
64
|
-
const Component = componentMap[key];
|
|
65
|
-
if (!Component) {
|
|
66
|
-
return null;
|
|
67
|
-
}
|
|
68
|
-
return import_react.default.createElement(Component, { key, props });
|
|
69
|
-
};
|
|
70
|
-
const renderComponents = (props) => {
|
|
71
|
-
let sortKeys = (props == null ? void 0 : props.sortKeys) || [];
|
|
72
|
-
return sortKeys.map((key) => renderComponent(key, props));
|
|
73
|
-
};
|
|
74
|
-
return {
|
|
75
|
-
renderComponent,
|
|
76
|
-
renderComponents,
|
|
77
|
-
componentMap
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
81
|
-
0 && (module.exports = {
|
|
82
|
-
useDynamicComponents
|
|
83
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare const SkuCard: {
|
|
3
|
-
(props: any): JSX.Element | null;
|
|
4
|
-
A1: (props: any) => JSX.Element;
|
|
5
|
-
A2: (props: any) => JSX.Element;
|
|
6
|
-
A5: (props: any) => JSX.Element;
|
|
7
|
-
A9: (props: any) => JSX.Element;
|
|
8
|
-
};
|
|
9
|
-
export default SkuCard;
|
|
@@ -1,68 +0,0 @@
|
|
|
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/plus/productSelect/ProductCard/SkuCard/index.tsx
|
|
30
|
-
var SkuCard_exports = {};
|
|
31
|
-
__export(SkuCard_exports, {
|
|
32
|
-
default: () => SkuCard_default
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(SkuCard_exports);
|
|
35
|
-
var import_react = __toESM(require("react"));
|
|
36
|
-
var import_SkuCardA1 = __toESM(require("./SkuCardA1"));
|
|
37
|
-
var import_SkuCardA2 = __toESM(require("./SkuCardA2"));
|
|
38
|
-
var import_SkuCardA5 = __toESM(require("./SkuCardA5"));
|
|
39
|
-
var import_SkuCardA9 = __toESM(require("./SkuCardA9"));
|
|
40
|
-
var import_SkuCardCustom = __toESM(require("./SkuCardCustom"));
|
|
41
|
-
var import_status = require("./status");
|
|
42
|
-
var SkuCard = (props) => {
|
|
43
|
-
const finalConfig = {
|
|
44
|
-
...import_status.productCardDefault,
|
|
45
|
-
...props
|
|
46
|
-
};
|
|
47
|
-
const { displayMode } = finalConfig.skuCardConfig || {};
|
|
48
|
-
if (!displayMode) return null;
|
|
49
|
-
const Com = (0, import_react.useMemo)(() => {
|
|
50
|
-
const types = {
|
|
51
|
-
display_a1: import_SkuCardA1.default,
|
|
52
|
-
display_a2: import_SkuCardA2.default,
|
|
53
|
-
display_a5: import_SkuCardA5.default,
|
|
54
|
-
display_a9: import_SkuCardA9.default,
|
|
55
|
-
display_custom: import_SkuCardCustom.default
|
|
56
|
-
};
|
|
57
|
-
return types[displayMode];
|
|
58
|
-
}, [displayMode]);
|
|
59
|
-
if (!Com) {
|
|
60
|
-
return /* @__PURE__ */ import_react.default.createElement("div", null, "Invalid display mode: ", displayMode);
|
|
61
|
-
}
|
|
62
|
-
return /* @__PURE__ */ import_react.default.createElement(Com, { ...finalConfig });
|
|
63
|
-
};
|
|
64
|
-
SkuCard.A1 = import_SkuCardA1.default;
|
|
65
|
-
SkuCard.A2 = import_SkuCardA2.default;
|
|
66
|
-
SkuCard.A5 = import_SkuCardA5.default;
|
|
67
|
-
SkuCard.A9 = import_SkuCardA9.default;
|
|
68
|
-
var SkuCard_default = SkuCard;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
en: {
|
|
3
|
-
'pisell2.sku-card.search': string;
|
|
4
|
-
'pisell2.sku-card.stock': string;
|
|
5
|
-
'pisell2.sku-card.empty': string;
|
|
6
|
-
'pisell2.sku-card.gst': string;
|
|
7
|
-
'pisell2.sku-card.view-more': string;
|
|
8
|
-
'pisell2.sku-card.view-less': string;
|
|
9
|
-
'pisell2.sku-card.member-price': string;
|
|
10
|
-
'pisell2.sku-card.time.remaining': string;
|
|
11
|
-
'pisell2.sku-card.capacity': string;
|
|
12
|
-
'pisell2.sku-card.free': string;
|
|
13
|
-
'pisell2.sku-card.max': string;
|
|
14
|
-
};
|
|
15
|
-
'zh-CN': {
|
|
16
|
-
'pisell2.sku-card.search': string;
|
|
17
|
-
'pisell2.sku-card.stock': string;
|
|
18
|
-
'pisell2.sku-card.empty': string;
|
|
19
|
-
'pisell2.sku-card.gst': string;
|
|
20
|
-
'pisell2.sku-card.view-more': string;
|
|
21
|
-
'pisell2.sku-card.view-less': string;
|
|
22
|
-
'pisell2.sku-card.member-price': string;
|
|
23
|
-
'pisell2.sku-card.time.remaining': string;
|
|
24
|
-
'pisell2.sku-card.capacity': string;
|
|
25
|
-
'pisell2.sku-card.free': string;
|
|
26
|
-
'pisell2.sku-card.max': string;
|
|
27
|
-
};
|
|
28
|
-
'zh-HK': {
|
|
29
|
-
'pisell2.sku-card.search': string;
|
|
30
|
-
'pisell2.sku-card.stock': string;
|
|
31
|
-
'pisell2.sku-card.empty': string;
|
|
32
|
-
'pisell2.sku-card.gst': string;
|
|
33
|
-
'pisell2.sku-card.view-more': string;
|
|
34
|
-
'pisell2.sku-card.view-less': string;
|
|
35
|
-
'pisell2.sku-card.member-price': string;
|
|
36
|
-
'pisell2.sku-card.time.remaining': string;
|
|
37
|
-
'pisell2.sku-card.capacity': string;
|
|
38
|
-
'pisell2.sku-card.free': string;
|
|
39
|
-
'pisell2.sku-card.max': string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
export default _default;
|
|
@@ -1,65 +0,0 @@
|
|
|
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/plus/productSelect/ProductCard/SkuCard/locales.ts
|
|
20
|
-
var locales_exports = {};
|
|
21
|
-
__export(locales_exports, {
|
|
22
|
-
default: () => locales_default
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(locales_exports);
|
|
25
|
-
var locales_default = {
|
|
26
|
-
en: {
|
|
27
|
-
"pisell2.sku-card.search": "Search",
|
|
28
|
-
"pisell2.sku-card.stock": "Stock",
|
|
29
|
-
"pisell2.sku-card.empty": "No Data",
|
|
30
|
-
"pisell2.sku-card.gst": "GST",
|
|
31
|
-
"pisell2.sku-card.view-more": "View more",
|
|
32
|
-
"pisell2.sku-card.view-less": "Put that away",
|
|
33
|
-
"pisell2.sku-card.member-price": "Member Price",
|
|
34
|
-
"pisell2.sku-card.time.remaining": "Time Remaining",
|
|
35
|
-
"pisell2.sku-card.capacity": "Capacity",
|
|
36
|
-
"pisell2.sku-card.free": "Free",
|
|
37
|
-
"pisell2.sku-card.max": "Max"
|
|
38
|
-
},
|
|
39
|
-
"zh-CN": {
|
|
40
|
-
"pisell2.sku-card.search": "搜索",
|
|
41
|
-
"pisell2.sku-card.stock": "库存",
|
|
42
|
-
"pisell2.sku-card.empty": "暂无数据",
|
|
43
|
-
"pisell2.sku-card.gst": "含税",
|
|
44
|
-
"pisell2.sku-card.view-more": "查看更多",
|
|
45
|
-
"pisell2.sku-card.view-less": "收起",
|
|
46
|
-
"pisell2.sku-card.member-price": "会员价",
|
|
47
|
-
"pisell2.sku-card.time.remaining": "剩余",
|
|
48
|
-
"pisell2.sku-card.capacity": "容量",
|
|
49
|
-
"pisell2.sku-card.free": "免费",
|
|
50
|
-
"pisell2.sku-card.max": "最大"
|
|
51
|
-
},
|
|
52
|
-
"zh-HK": {
|
|
53
|
-
"pisell2.sku-card.search": "搜索",
|
|
54
|
-
"pisell2.sku-card.stock": "庫存",
|
|
55
|
-
"pisell2.sku-card.empty": "暂无数据",
|
|
56
|
-
"pisell2.sku-card.gst": "含稅",
|
|
57
|
-
"pisell2.sku-card.view-more": "查看更多",
|
|
58
|
-
"pisell2.sku-card.view-less": "收起",
|
|
59
|
-
"pisell2.sku-card.member-price": "會員價",
|
|
60
|
-
"pisell2.sku-card.time.remaining": "剩余",
|
|
61
|
-
"pisell2.sku-card.capacity": "容量",
|
|
62
|
-
"pisell2.sku-card.free": "免費",
|
|
63
|
-
"pisell2.sku-card.max": "最大"
|
|
64
|
-
}
|
|
65
|
-
};
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
import { ProductCardConfig } from './type';
|
|
2
|
-
export declare const productCardDefault: ProductCardConfig;
|
|
3
|
-
export declare const PREFIX = "pisell-product-sku";
|
|
4
|
-
export declare const defaultProductCard: {
|
|
5
|
-
id: number;
|
|
6
|
-
extension_id: number;
|
|
7
|
-
extension_type: string;
|
|
8
|
-
shop_id: number;
|
|
9
|
-
title: string;
|
|
10
|
-
slug: string;
|
|
11
|
-
status: string;
|
|
12
|
-
stock_quantity: number;
|
|
13
|
-
sales_quantity: number;
|
|
14
|
-
sum_stock: number;
|
|
15
|
-
price: string;
|
|
16
|
-
original_price: string;
|
|
17
|
-
cost_price: string;
|
|
18
|
-
member_price: string;
|
|
19
|
-
cover: string;
|
|
20
|
-
channel_application: string[];
|
|
21
|
-
is_track: number;
|
|
22
|
-
over_sold: number;
|
|
23
|
-
is_gst: number;
|
|
24
|
-
code: string;
|
|
25
|
-
barcode: string;
|
|
26
|
-
is_delivery: number;
|
|
27
|
-
weight_unit: string;
|
|
28
|
-
weight_value: string;
|
|
29
|
-
type: string;
|
|
30
|
-
unit: string;
|
|
31
|
-
sort: number;
|
|
32
|
-
subtitle: string;
|
|
33
|
-
minimum_markup_price: string;
|
|
34
|
-
is_bundle: number;
|
|
35
|
-
bundle_group_count: number;
|
|
36
|
-
option_group_count: number;
|
|
37
|
-
is_variant: number;
|
|
38
|
-
variant_count: number;
|
|
39
|
-
cut_off_time: {
|
|
40
|
-
unit: number;
|
|
41
|
-
unit_type: string;
|
|
42
|
-
future_day: number;
|
|
43
|
-
type: string;
|
|
44
|
-
ongoing: {
|
|
45
|
-
type: string;
|
|
46
|
-
unit: number;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
"schedule.ids": number[];
|
|
50
|
-
policy: number;
|
|
51
|
-
machine_code: {
|
|
52
|
-
make_over: number;
|
|
53
|
-
beforehand: number;
|
|
54
|
-
limit_count: number;
|
|
55
|
-
customer: number;
|
|
56
|
-
send_action: string;
|
|
57
|
-
hide_recharge: number;
|
|
58
|
-
distributor_automatic: number;
|
|
59
|
-
};
|
|
60
|
-
product_resource: {
|
|
61
|
-
resources: ({
|
|
62
|
-
id: number;
|
|
63
|
-
title: string;
|
|
64
|
-
status: number;
|
|
65
|
-
code: string;
|
|
66
|
-
created_at: string;
|
|
67
|
-
updated_at: string;
|
|
68
|
-
type: string;
|
|
69
|
-
optional_resource: number[];
|
|
70
|
-
default_resource: never[];
|
|
71
|
-
select_type: {
|
|
72
|
-
type: string;
|
|
73
|
-
min: number;
|
|
74
|
-
max: number;
|
|
75
|
-
};
|
|
76
|
-
resource_type_id: number;
|
|
77
|
-
} | {
|
|
78
|
-
id: number;
|
|
79
|
-
title: string;
|
|
80
|
-
status: number;
|
|
81
|
-
code: string;
|
|
82
|
-
created_at: string;
|
|
83
|
-
updated_at: null;
|
|
84
|
-
type: string;
|
|
85
|
-
optional_resource: never[];
|
|
86
|
-
default_resource: never[];
|
|
87
|
-
select_type: {
|
|
88
|
-
type: string;
|
|
89
|
-
min: number;
|
|
90
|
-
max: number;
|
|
91
|
-
};
|
|
92
|
-
resource_type_id: number;
|
|
93
|
-
})[];
|
|
94
|
-
};
|
|
95
|
-
capacity: {
|
|
96
|
-
type: string;
|
|
97
|
-
custom: {
|
|
98
|
-
name: {
|
|
99
|
-
en: string;
|
|
100
|
-
"zh-CN": string;
|
|
101
|
-
"zh-HK": string;
|
|
102
|
-
original: string;
|
|
103
|
-
};
|
|
104
|
-
min: number;
|
|
105
|
-
max: number;
|
|
106
|
-
id: string;
|
|
107
|
-
}[];
|
|
108
|
-
package: never[];
|
|
109
|
-
};
|
|
110
|
-
product_display_setting: {
|
|
111
|
-
kiosk: {
|
|
112
|
-
use_display_mode: number;
|
|
113
|
-
product_option_mode: null;
|
|
114
|
-
product_option_mode_paging: null;
|
|
115
|
-
product_bundle_mode: null;
|
|
116
|
-
product_bundle_mode_paging: null;
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
usage_credits: {
|
|
120
|
-
total_credits: number;
|
|
121
|
-
per_user_limit: number;
|
|
122
|
-
max_per_day: number;
|
|
123
|
-
max_per_week: number;
|
|
124
|
-
max_per_month: number;
|
|
125
|
-
};
|
|
126
|
-
shelf_product_datas: never[];
|
|
127
|
-
step_value: number;
|
|
128
|
-
min_num_unit: number;
|
|
129
|
-
schedules: {
|
|
130
|
-
id: number;
|
|
131
|
-
shop_id: number;
|
|
132
|
-
name: string;
|
|
133
|
-
color: string;
|
|
134
|
-
type: string;
|
|
135
|
-
start_time: string;
|
|
136
|
-
end_time: string;
|
|
137
|
-
note: string;
|
|
138
|
-
repeat_type: string;
|
|
139
|
-
repeat_rule: null;
|
|
140
|
-
designation: null;
|
|
141
|
-
is_all: number;
|
|
142
|
-
create_account_id: number;
|
|
143
|
-
update_account_id: number;
|
|
144
|
-
created_at: string;
|
|
145
|
-
updated_at: string;
|
|
146
|
-
order_count: number;
|
|
147
|
-
limit: number;
|
|
148
|
-
form_record_ids: never[];
|
|
149
|
-
}[];
|
|
150
|
-
is_charge_tax: number;
|
|
151
|
-
base_price: string;
|
|
152
|
-
variant: never[];
|
|
153
|
-
category: {
|
|
154
|
-
id: number;
|
|
155
|
-
name: string;
|
|
156
|
-
icon: string;
|
|
157
|
-
slug: string;
|
|
158
|
-
sort: number;
|
|
159
|
-
}[];
|
|
160
|
-
__typename: string;
|
|
161
|
-
__categoryId: number;
|
|
162
|
-
};
|