@pisell/private-materials 6.5.15 → 6.5.16
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/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/ticketBooking/components/ticketBooking/index.js +1 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.js +1 -0
- package/package.json +1 -1
- package/es/components/booking/components/actionButtons/index.d.ts +0 -31
- package/es/components/booking/components/footer/amount.d.ts +0 -36
- package/es/components/booking/components/footer/index.d.ts +0 -11
- package/es/components/booking/components/footer/utils.d.ts +0 -41
- package/es/components/booking/components/voucher/index.d.ts +0 -3
- package/es/components/booking/forms/footer.d.ts +0 -6
- package/es/components/booking/info2/cartClientCard/index.d.ts +0 -6
- package/es/components/checkout/PaymentModal.d.ts +0 -31
- package/es/components/checkout/components/CashPaymentModule/index.d.ts +0 -24
- package/es/components/checkout/components/ScrollableList/index.d.ts +0 -5
- package/es/components/checkout/hooks/useWalletPass.d.ts +0 -40
- package/es/components/list/List.d.ts +0 -5
- package/es/components/list/ResponsiveWrapper.d.ts +0 -16
- package/es/components/list/TestResponsiveWrapper.d.ts +0 -8
- package/es/components/list/components/EmptyState/EmptyState.d.ts +0 -20
- package/es/components/list/components/EmptyState/index.d.ts +0 -2
- package/es/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
- package/es/components/list/components/ListItemSkeleton/index.d.ts +0 -2
- package/es/components/list/components/Pagination/Pagination.d.ts +0 -30
- package/es/components/list/components/Pagination/index.d.ts +0 -1
- package/es/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
- package/es/components/list/components/ScrollLoader/index.d.ts +0 -2
- package/es/components/list/components/Tab/Tab.d.ts +0 -5
- package/es/components/list/components/Tab/index.d.ts +0 -2
- package/es/components/list/components/Tab/types.d.ts +0 -14
- package/es/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
- package/es/components/list/components/TabSkeleton/index.d.ts +0 -2
- package/es/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
- package/es/components/list/components/WaterfallList/index.d.ts +0 -2
- package/es/components/list/examples/GroupedListExample.d.ts +0 -3
- package/es/components/list/hooks/index.d.ts +0 -5
- package/es/components/list/hooks/useDevice.d.ts +0 -24
- package/es/components/list/hooks/useListState.d.ts +0 -43
- package/es/components/list/hooks/useWaterfall.d.ts +0 -34
- package/es/components/list/index.d.ts +0 -10
- package/es/components/list/locales.d.ts +0 -66
- package/es/components/list/types.d.ts +0 -177
- package/es/components/list/utils/getText.d.ts +0 -53
- package/es/components/list/utils/index.d.ts +0 -4
- package/es/components/pay/toB/components/MX51/index.d.ts +0 -3
- package/es/components/pay/toB/store/hooks.d.ts +0 -15
- package/es/components/pay/toB/types/index.d.ts +0 -72
- package/es/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +0 -27
- package/es/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +0 -7
- package/es/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
- package/es/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +0 -50
- package/es/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -31
- package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -10
- package/es/components/ticketBooking/components/menuBar/index.d.ts +0 -7
- package/es/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
- package/es/components/ticketBooking/context/OsKeyContext.d.ts +0 -26
- package/es/components/ticketBooking/context/index.d.ts +0 -2
- package/es/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -6
- package/es/components/ticketBooking/hooks/pisellos/index.d.ts +0 -4
- package/es/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
- package/es/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
- package/es/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -16
- package/es/components/ticketBooking/hooks/pisellos/useScanCustomer.d.ts +0 -5
- package/es/components/ticketBooking/hooks/pisellos/useScanGlobal.d.ts +0 -5
- package/es/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +0 -6
- package/es/components/ticketBooking/index.d.ts +0 -15
- package/es/components/ticketBooking/utils/index.d.ts +0 -90
- package/es/components/ticketBooking/utils/productCache.d.ts +0 -75
- package/es/hooks/printer.d.ts +0 -4
- package/es/index.d.ts +0 -65
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -8
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +0 -3
- package/es/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -7
- package/es/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
- package/es/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.d.ts +0 -6
- package/es/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -9
- package/es/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -42
- package/es/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -162
- package/es/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
- package/es/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
- package/es/plus/productSelect/components/pisellPriceText/index.d.ts +0 -14
- package/lib/components/booking/components/actionButtons/index.d.ts +0 -31
- package/lib/components/booking/components/footer/amount.d.ts +0 -36
- package/lib/components/booking/components/footer/index.d.ts +0 -11
- package/lib/components/booking/components/footer/utils.d.ts +0 -41
- package/lib/components/booking/components/voucher/index.d.ts +0 -3
- package/lib/components/booking/forms/footer.d.ts +0 -6
- package/lib/components/booking/info2/cartClientCard/index.d.ts +0 -6
- package/lib/components/checkout/PaymentModal.d.ts +0 -31
- package/lib/components/checkout/components/CashPaymentModule/index.d.ts +0 -24
- package/lib/components/checkout/components/ScrollableList/index.d.ts +0 -5
- package/lib/components/checkout/hooks/useWalletPass.d.ts +0 -40
- package/lib/components/list/List.d.ts +0 -5
- package/lib/components/list/ResponsiveWrapper.d.ts +0 -16
- package/lib/components/list/TestResponsiveWrapper.d.ts +0 -8
- package/lib/components/list/components/EmptyState/EmptyState.d.ts +0 -20
- package/lib/components/list/components/EmptyState/index.d.ts +0 -2
- package/lib/components/list/components/ListItemSkeleton/ListItemSkeleton.d.ts +0 -13
- package/lib/components/list/components/ListItemSkeleton/index.d.ts +0 -2
- package/lib/components/list/components/Pagination/Pagination.d.ts +0 -30
- package/lib/components/list/components/Pagination/index.d.ts +0 -1
- package/lib/components/list/components/ScrollLoader/ScrollLoader.d.ts +0 -18
- package/lib/components/list/components/ScrollLoader/index.d.ts +0 -2
- package/lib/components/list/components/Tab/Tab.d.ts +0 -5
- package/lib/components/list/components/Tab/index.d.ts +0 -2
- package/lib/components/list/components/Tab/types.d.ts +0 -14
- package/lib/components/list/components/TabSkeleton/TabSkeleton.d.ts +0 -11
- package/lib/components/list/components/TabSkeleton/index.d.ts +0 -2
- package/lib/components/list/components/WaterfallList/WaterfallList.d.ts +0 -33
- package/lib/components/list/components/WaterfallList/index.d.ts +0 -2
- package/lib/components/list/examples/GroupedListExample.d.ts +0 -3
- package/lib/components/list/hooks/index.d.ts +0 -5
- package/lib/components/list/hooks/useDevice.d.ts +0 -24
- package/lib/components/list/hooks/useListState.d.ts +0 -43
- package/lib/components/list/hooks/useWaterfall.d.ts +0 -34
- package/lib/components/list/index.d.ts +0 -10
- package/lib/components/list/locales.d.ts +0 -66
- package/lib/components/list/types.d.ts +0 -177
- package/lib/components/list/utils/getText.d.ts +0 -53
- package/lib/components/list/utils/index.d.ts +0 -4
- package/lib/components/pay/toB/components/MX51/index.d.ts +0 -3
- package/lib/components/pay/toB/store/hooks.d.ts +0 -15
- package/lib/components/pay/toB/types/index.d.ts +0 -72
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/ProductDisplayAdapter.d.ts +0 -27
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/index.d.ts +0 -7
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/types.d.ts +0 -115
- package/lib/components/ticketBooking/components/ProductDisplayAdapter/utils.d.ts +0 -50
- package/lib/components/ticketBooking/components/addServiceVariant/addService.d.ts +0 -31
- package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +0 -10
- package/lib/components/ticketBooking/components/menuBar/index.d.ts +0 -7
- package/lib/components/ticketBooking/context/IsActiveContext.d.ts +0 -26
- package/lib/components/ticketBooking/context/OsKeyContext.d.ts +0 -26
- package/lib/components/ticketBooking/context/index.d.ts +0 -2
- package/lib/components/ticketBooking/hooks/pisellos/bookingTicket.d.ts +0 -6
- package/lib/components/ticketBooking/hooks/pisellos/index.d.ts +0 -4
- package/lib/components/ticketBooking/hooks/pisellos/useActiveExecute.d.ts +0 -21
- package/lib/components/ticketBooking/hooks/pisellos/useCustomer.d.ts +0 -25
- package/lib/components/ticketBooking/hooks/pisellos/useProducts.d.ts +0 -16
- package/lib/components/ticketBooking/hooks/pisellos/useScanCustomer.d.ts +0 -5
- package/lib/components/ticketBooking/hooks/pisellos/useScanGlobal.d.ts +0 -5
- package/lib/components/ticketBooking/hooks/pisellos/useShopDiscountModule.d.ts +0 -6
- package/lib/components/ticketBooking/index.d.ts +0 -15
- package/lib/components/ticketBooking/utils/index.d.ts +0 -90
- package/lib/components/ticketBooking/utils/productCache.d.ts +0 -75
- package/lib/hooks/printer.d.ts +0 -4
- package/lib/index.d.ts +0 -65
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA1/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA2/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA5/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardA9/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/SkuCardCustom/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Action/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Capacity/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardCom/index.d.ts +0 -8
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMask/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardMoreText/index.d.ts +0 -3
- package/lib/plus/productSelect/ProductCard/SkuCard/components/CardWrapper/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Countdown/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Cover/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Duration/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Favorite/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/MemberPrice/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Price/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Promotions/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Resource/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Stock/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/SubTitle/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Tags/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Time/index.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/components/Title/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/TooltipTags/index.d.ts +0 -7
- package/lib/plus/productSelect/ProductCard/SkuCard/components/WarningLists/index.d.ts +0 -4
- package/lib/plus/productSelect/ProductCard/SkuCard/hooks/useDynamicComponents.d.ts +0 -6
- package/lib/plus/productSelect/ProductCard/SkuCard/index.d.ts +0 -9
- package/lib/plus/productSelect/ProductCard/SkuCard/locales.d.ts +0 -42
- package/lib/plus/productSelect/ProductCard/SkuCard/status.d.ts +0 -162
- package/lib/plus/productSelect/ProductCard/SkuCard/type.d.ts +0 -298
- package/lib/plus/productSelect/ProductCard/SkuCard/utils.d.ts +0 -9
- package/lib/plus/productSelect/components/pisellPriceText/index.d.ts +0 -14
|
@@ -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,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
|
-
};
|
|
@@ -1,298 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare type BoolConfigVal = false | true;
|
|
3
|
-
declare type IsVisible = 0 | 1;
|
|
4
|
-
declare type SkuDisplayMode = 'display_a1' | 'display_a2' | 'display_a5' | 'display_a9' | 'display_custom';
|
|
5
|
-
declare type SkuLayoutDirection = 'row' | 'column';
|
|
6
|
-
declare type SkuImageSlotPosition = 'left_top' | 'left_bottom' | 'right_top' | 'right_bottom';
|
|
7
|
-
declare type SkuActionType = 'icon' | 'radio' | 'checkbox' | 'button';
|
|
8
|
-
declare type SkuExtraStepperSize = 'large' | 'small';
|
|
9
|
-
declare type SkuFavoritePosition = 'left_top' | 'left_bottom' | 'right_top' | 'right_bottom';
|
|
10
|
-
declare type SkuTagsSize = 'small' | 'medium' | 'large';
|
|
11
|
-
export interface SkuCardConfig {
|
|
12
|
-
displayMode?: SkuDisplayMode;
|
|
13
|
-
layoutDirection?: SkuLayoutDirection;
|
|
14
|
-
background?: string;
|
|
15
|
-
paddingY?: number;
|
|
16
|
-
paddingX?: number;
|
|
17
|
-
marginY?: number;
|
|
18
|
-
marginX?: number;
|
|
19
|
-
radius?: number;
|
|
20
|
-
isBorderVisible?: BoolConfigVal;
|
|
21
|
-
borderWidth?: number;
|
|
22
|
-
borderColor?: string;
|
|
23
|
-
isStatusOverlayVisible?: boolean;
|
|
24
|
-
statusOverlayText?: string;
|
|
25
|
-
isFoldable?: BoolConfigVal;
|
|
26
|
-
slot?: React.ReactNode;
|
|
27
|
-
}
|
|
28
|
-
export interface SkuImageConfig {
|
|
29
|
-
isCover?: BoolConfigVal;
|
|
30
|
-
width?: string;
|
|
31
|
-
height?: string;
|
|
32
|
-
isTextFallback?: BoolConfigVal;
|
|
33
|
-
background?: string;
|
|
34
|
-
radius?: number;
|
|
35
|
-
slot?: React.ReactNode;
|
|
36
|
-
slotPosition?: SkuImageSlotPosition;
|
|
37
|
-
}
|
|
38
|
-
export interface SkuProductNameConfig {
|
|
39
|
-
isOpen?: BoolConfigVal;
|
|
40
|
-
value?: string;
|
|
41
|
-
fontSize?: number;
|
|
42
|
-
fontWeight?: number;
|
|
43
|
-
color?: string;
|
|
44
|
-
ellipsisCount?: number;
|
|
45
|
-
}
|
|
46
|
-
export interface SkuProductSubtitleConfig {
|
|
47
|
-
isOpen?: BoolConfigVal;
|
|
48
|
-
value?: any;
|
|
49
|
-
fontSize?: number;
|
|
50
|
-
fontWeight?: number;
|
|
51
|
-
color?: string;
|
|
52
|
-
ellipsisCount?: number;
|
|
53
|
-
}
|
|
54
|
-
export interface SkuProductPriceConfig {
|
|
55
|
-
isOpen?: BoolConfigVal;
|
|
56
|
-
isPrice?: BoolConfigVal;
|
|
57
|
-
priceFontSize?: number;
|
|
58
|
-
priceFontWeight?: number;
|
|
59
|
-
priceColor?: string;
|
|
60
|
-
isShowZeroPrice?: BoolConfigVal;
|
|
61
|
-
isShowFreePrice?: BoolConfigVal;
|
|
62
|
-
isOriginPrice?: BoolConfigVal;
|
|
63
|
-
originPriceFontSize?: number;
|
|
64
|
-
originPriceFontWeight?: number;
|
|
65
|
-
originPriceColor?: string;
|
|
66
|
-
isTaxPrice?: BoolConfigVal;
|
|
67
|
-
isCustomText?: BoolConfigVal;
|
|
68
|
-
customTextType?: string;
|
|
69
|
-
customTextValue?: number;
|
|
70
|
-
customTextMinValue?: number;
|
|
71
|
-
customTextMaxValue?: number;
|
|
72
|
-
isMiniPrice?: BoolConfigVal;
|
|
73
|
-
}
|
|
74
|
-
export interface SkuProductStockConfig {
|
|
75
|
-
isOpen?: BoolConfigVal;
|
|
76
|
-
fontSize?: number;
|
|
77
|
-
fontWeight?: number;
|
|
78
|
-
color?: string;
|
|
79
|
-
customText?: React.ReactNode;
|
|
80
|
-
}
|
|
81
|
-
export interface SkuProductCapacityConfig {
|
|
82
|
-
isOpen?: BoolConfigVal;
|
|
83
|
-
fontSize?: number;
|
|
84
|
-
fontWeight?: number;
|
|
85
|
-
color?: string;
|
|
86
|
-
customText?: React.ReactNode;
|
|
87
|
-
}
|
|
88
|
-
export interface SkuProductCountdownConfig {
|
|
89
|
-
isOpen?: BoolConfigVal;
|
|
90
|
-
fontSize?: number;
|
|
91
|
-
fontWeight?: number;
|
|
92
|
-
color?: string;
|
|
93
|
-
customText?: React.ReactNode;
|
|
94
|
-
}
|
|
95
|
-
export interface SkuProductMemberPriceConfig {
|
|
96
|
-
isOpen?: BoolConfigVal;
|
|
97
|
-
isMemberPrice?: BoolConfigVal;
|
|
98
|
-
fontSize?: number;
|
|
99
|
-
fontWeight?: number;
|
|
100
|
-
color?: string;
|
|
101
|
-
isIndicator?: BoolConfigVal;
|
|
102
|
-
indicatorBackground?: string;
|
|
103
|
-
indicatorPaddingY?: number;
|
|
104
|
-
indicatorPaddingX?: number;
|
|
105
|
-
indicatorMarginX?: number;
|
|
106
|
-
indicatorRadius?: number;
|
|
107
|
-
isIndicatorBorder?: BoolConfigVal;
|
|
108
|
-
indicatorBorderWidth?: number;
|
|
109
|
-
indicatorBorderColor?: string;
|
|
110
|
-
indicatorFontSize?: number;
|
|
111
|
-
indicatorFontWeight?: number;
|
|
112
|
-
indicatorColor?: string;
|
|
113
|
-
indicatorIcon?: React.ReactNode;
|
|
114
|
-
customText?: React.ReactNode;
|
|
115
|
-
}
|
|
116
|
-
export interface SkuDurationConfig {
|
|
117
|
-
isOpen?: BoolConfigVal;
|
|
118
|
-
fontSize?: number;
|
|
119
|
-
fontWeight?: number;
|
|
120
|
-
color?: string;
|
|
121
|
-
customText?: React.ReactNode;
|
|
122
|
-
}
|
|
123
|
-
export interface SkuTimeConfig {
|
|
124
|
-
isOpen?: BoolConfigVal;
|
|
125
|
-
fontSize?: number;
|
|
126
|
-
fontWeight?: number;
|
|
127
|
-
color?: string;
|
|
128
|
-
customText?: React.ReactNode;
|
|
129
|
-
}
|
|
130
|
-
export interface SkuResourceConfig {
|
|
131
|
-
isOpen?: BoolConfigVal;
|
|
132
|
-
fontSize?: number;
|
|
133
|
-
fontWeight?: number;
|
|
134
|
-
color?: string;
|
|
135
|
-
customText?: React.ReactNode;
|
|
136
|
-
}
|
|
137
|
-
export interface SkuTextConfig {
|
|
138
|
-
paddingY?: number;
|
|
139
|
-
justifyContent?: string;
|
|
140
|
-
alignItems?: string;
|
|
141
|
-
slot?: React.ReactNode;
|
|
142
|
-
}
|
|
143
|
-
export interface SkuActionIconMethod {
|
|
144
|
-
icon?: React.ReactNode;
|
|
145
|
-
background?: string;
|
|
146
|
-
paddingY?: number;
|
|
147
|
-
paddingX?: number;
|
|
148
|
-
radius?: number;
|
|
149
|
-
isBorder?: BoolConfigVal;
|
|
150
|
-
borderWidth?: number;
|
|
151
|
-
borderColor?: string;
|
|
152
|
-
}
|
|
153
|
-
export interface SkuActionButtonMethod {
|
|
154
|
-
text?: string;
|
|
155
|
-
fontSize?: number;
|
|
156
|
-
fontWeight?: number;
|
|
157
|
-
color?: string;
|
|
158
|
-
background?: string;
|
|
159
|
-
paddingY?: number;
|
|
160
|
-
paddingX?: number;
|
|
161
|
-
radius?: number;
|
|
162
|
-
isBorder?: BoolConfigVal;
|
|
163
|
-
borderWidth?: number;
|
|
164
|
-
borderColor?: string;
|
|
165
|
-
}
|
|
166
|
-
export interface SkuActionConfig {
|
|
167
|
-
isOpen?: BoolConfigVal;
|
|
168
|
-
method?: SkuActionType;
|
|
169
|
-
iconMethod?: SkuActionIconMethod;
|
|
170
|
-
radioMethod?: SkuActionIconMethod;
|
|
171
|
-
checkboxMethod?: SkuActionButtonMethod;
|
|
172
|
-
buttonMethod?: SkuActionButtonMethod;
|
|
173
|
-
slot?: React.ReactNode;
|
|
174
|
-
}
|
|
175
|
-
export interface SkuExtraConfig {
|
|
176
|
-
isOpen?: BoolConfigVal;
|
|
177
|
-
isStepper?: BoolConfigVal;
|
|
178
|
-
stepperSize?: SkuExtraStepperSize;
|
|
179
|
-
stepperColor?: string;
|
|
180
|
-
isFavorite?: BoolConfigVal;
|
|
181
|
-
favoritePosition?: SkuFavoritePosition;
|
|
182
|
-
favoriteIcon?: React.ReactNode;
|
|
183
|
-
favoriteBackground?: string;
|
|
184
|
-
favoritePaddingY?: number;
|
|
185
|
-
favoritePaddingX?: number;
|
|
186
|
-
favoriteRadius?: number;
|
|
187
|
-
isFavoriteBorder?: BoolConfigVal;
|
|
188
|
-
favoriteBorderWidth?: number;
|
|
189
|
-
favoriteBorderColor?: string;
|
|
190
|
-
isTooltipTag?: BoolConfigVal;
|
|
191
|
-
isTooltipTagSlot?: any;
|
|
192
|
-
}
|
|
193
|
-
export interface SkuTagsGroupConfig {
|
|
194
|
-
title?: any;
|
|
195
|
-
background?: string;
|
|
196
|
-
paddingY?: number;
|
|
197
|
-
paddingX?: number;
|
|
198
|
-
radius?: number;
|
|
199
|
-
isBorder?: BoolConfigVal;
|
|
200
|
-
borderWidth?: number;
|
|
201
|
-
borderColor?: string;
|
|
202
|
-
fontSize?: number;
|
|
203
|
-
fontWeight?: number;
|
|
204
|
-
color?: string;
|
|
205
|
-
}
|
|
206
|
-
export interface SkuTagsConfig {
|
|
207
|
-
isOpen?: BoolConfigVal;
|
|
208
|
-
lists?: SkuTagsGroupConfig[];
|
|
209
|
-
marginX?: number;
|
|
210
|
-
size?: SkuTagsSize;
|
|
211
|
-
isShowAll?: BoolConfigVal;
|
|
212
|
-
maxCount?: number;
|
|
213
|
-
}
|
|
214
|
-
export interface SkuPromotionsGroupConfig {
|
|
215
|
-
title?: any;
|
|
216
|
-
background?: string;
|
|
217
|
-
paddingY?: number;
|
|
218
|
-
paddingX?: number;
|
|
219
|
-
radius?: number;
|
|
220
|
-
isBorder?: BoolConfigVal;
|
|
221
|
-
borderWidth?: number;
|
|
222
|
-
borderColor?: string;
|
|
223
|
-
fontSize?: number;
|
|
224
|
-
fontWeight?: number;
|
|
225
|
-
color?: string;
|
|
226
|
-
}
|
|
227
|
-
export interface SkuPromotionsConfig {
|
|
228
|
-
isOpen?: BoolConfigVal;
|
|
229
|
-
lists?: SkuPromotionsGroupConfig[];
|
|
230
|
-
marginX?: number;
|
|
231
|
-
size?: SkuTagsSize;
|
|
232
|
-
isShowAll?: BoolConfigVal;
|
|
233
|
-
maxCount?: number;
|
|
234
|
-
}
|
|
235
|
-
export interface SkuStatusOverlayConfig {
|
|
236
|
-
isOpen?: BoolConfigVal;
|
|
237
|
-
fontSize?: number;
|
|
238
|
-
fontWeight?: number;
|
|
239
|
-
color?: string;
|
|
240
|
-
text?: string;
|
|
241
|
-
background?: string;
|
|
242
|
-
slot?: React.ReactNode;
|
|
243
|
-
}
|
|
244
|
-
export interface SkuTextWrapConfig {
|
|
245
|
-
infoConfig?: SkuTextConfig;
|
|
246
|
-
skuNameConfig?: SkuProductNameConfig;
|
|
247
|
-
skuSubtitleConfig?: SkuProductSubtitleConfig;
|
|
248
|
-
skuPriceConfig?: SkuProductPriceConfig;
|
|
249
|
-
skuStockConfig?: SkuProductStockConfig;
|
|
250
|
-
skuCapacityConfig?: SkuProductCapacityConfig;
|
|
251
|
-
skuCountdownConfig?: SkuProductCountdownConfig;
|
|
252
|
-
skuMemberPriceConfig?: SkuProductMemberPriceConfig;
|
|
253
|
-
skuDurationConfig?: SkuDurationConfig;
|
|
254
|
-
skuTimeConfig?: SkuTimeConfig;
|
|
255
|
-
skuResourceConfig?: SkuResourceConfig;
|
|
256
|
-
skuTagsConfig?: SkuTagsConfig;
|
|
257
|
-
skuPromotionsConfig?: SkuPromotionsConfig;
|
|
258
|
-
}
|
|
259
|
-
export interface DataSourceConfig {
|
|
260
|
-
title?: string;
|
|
261
|
-
subtitle?: string;
|
|
262
|
-
cover?: string;
|
|
263
|
-
price?: number;
|
|
264
|
-
original_price?: number | string;
|
|
265
|
-
tax_fee?: number | string;
|
|
266
|
-
stock?: number;
|
|
267
|
-
capacity?: number;
|
|
268
|
-
countdown?: number | string;
|
|
269
|
-
member_price?: number;
|
|
270
|
-
duration?: number;
|
|
271
|
-
time?: string;
|
|
272
|
-
resource?: string;
|
|
273
|
-
sortKeys?: string[];
|
|
274
|
-
warning_lists?: string[];
|
|
275
|
-
promotions?: any[];
|
|
276
|
-
resources?: string;
|
|
277
|
-
stock_quantity?: number;
|
|
278
|
-
is_track?: IsVisible;
|
|
279
|
-
tags?: any[];
|
|
280
|
-
tooltip_tags?: any[];
|
|
281
|
-
className?: string;
|
|
282
|
-
[key: string]: any;
|
|
283
|
-
}
|
|
284
|
-
export interface ProductCardConfig {
|
|
285
|
-
dataSource?: DataSourceConfig;
|
|
286
|
-
skuCardConfig?: SkuCardConfig;
|
|
287
|
-
skuImageConfig?: SkuImageConfig;
|
|
288
|
-
skuTextConfig?: SkuTextWrapConfig;
|
|
289
|
-
skuActionConfig?: SkuActionConfig;
|
|
290
|
-
skuExtraConfig?: SkuExtraConfig;
|
|
291
|
-
skuStatusOverlayConfig?: SkuStatusOverlayConfig;
|
|
292
|
-
className?: string;
|
|
293
|
-
onCardClick?: (item: any, extParams?: any) => void;
|
|
294
|
-
onFavorite?: (item: any, extParams?: any) => void;
|
|
295
|
-
onAction?: (item: any, extParams?: any) => void;
|
|
296
|
-
[key: string]: any;
|
|
297
|
-
}
|
|
298
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface IProps {
|
|
4
|
-
value: string | number;
|
|
5
|
-
isMini?: boolean;
|
|
6
|
-
className?: string;
|
|
7
|
-
style?: React.CSSProperties;
|
|
8
|
-
prefix?: React.ReactElement;
|
|
9
|
-
suffix?: React.ReactElement;
|
|
10
|
-
customPrefixText?: string;
|
|
11
|
-
customSuffixText?: string;
|
|
12
|
-
}
|
|
13
|
-
declare const index: (props: IProps) => JSX.Element;
|
|
14
|
-
export default index;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface ActionButtonsProps {
|
|
4
|
-
/** booking 状态对象,包含 service、addons 等数据 */
|
|
5
|
-
state: {
|
|
6
|
-
service?: {
|
|
7
|
-
value?: any[];
|
|
8
|
-
};
|
|
9
|
-
addons?: {
|
|
10
|
-
value?: any[];
|
|
11
|
-
};
|
|
12
|
-
disabledEdit?: boolean;
|
|
13
|
-
channelDisabledEdit?: boolean;
|
|
14
|
-
shop_discount?: string;
|
|
15
|
-
bookingDetail?: {
|
|
16
|
-
[key: string]: any;
|
|
17
|
-
};
|
|
18
|
-
[key: string]: any;
|
|
19
|
-
};
|
|
20
|
-
/** dispatch 函数,用于触发状态更新 */
|
|
21
|
-
dispatch: (action: {
|
|
22
|
-
type: string;
|
|
23
|
-
payload?: any;
|
|
24
|
-
}) => void;
|
|
25
|
-
/** 是否禁用所有按钮 */
|
|
26
|
-
disabled?: boolean;
|
|
27
|
-
/** 数据源,传递给 VoucherCard */
|
|
28
|
-
source?: any;
|
|
29
|
-
}
|
|
30
|
-
declare const ActionButtons: React.FC<ActionButtonsProps>;
|
|
31
|
-
export default ActionButtons;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export declare const getRelationDetailsTotal: (relation_details: any) => number;
|
|
2
|
-
export declare const getIsPriceIncludeTax: (state: any) => any;
|
|
3
|
-
/**
|
|
4
|
-
* 总金额
|
|
5
|
-
* @param state
|
|
6
|
-
* @param options isEdit: 预约信息是否发生变动
|
|
7
|
-
* @returns
|
|
8
|
-
*/
|
|
9
|
-
export declare const getSumTotal: (state: any, options: {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
isEdit: boolean;
|
|
12
|
-
ScheduleModule: any;
|
|
13
|
-
}) => {
|
|
14
|
-
productAmount: number;
|
|
15
|
-
duration: string;
|
|
16
|
-
tax: number;
|
|
17
|
-
taxInfo: {
|
|
18
|
-
title: any;
|
|
19
|
-
rate: any;
|
|
20
|
-
is_price_include_tax: any;
|
|
21
|
-
};
|
|
22
|
-
shopDiscount: number;
|
|
23
|
-
surcharge: any;
|
|
24
|
-
otherAmount: any;
|
|
25
|
-
sumTotalAmount: number;
|
|
26
|
-
paidAmount: any;
|
|
27
|
-
notPaidAmount: number;
|
|
28
|
-
paySurchargeFee: number;
|
|
29
|
-
expectAmount: number;
|
|
30
|
-
actualPaidAmount: any;
|
|
31
|
-
orderPaidAmount: any;
|
|
32
|
-
totalRefundAmount: number;
|
|
33
|
-
dueAmount: number;
|
|
34
|
-
roundingAmount: number;
|
|
35
|
-
originExpectAmount: number;
|
|
36
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @title: 套餐单规格信息
|
|
3
|
-
* @description:
|
|
4
|
-
* @param {any} option
|
|
5
|
-
* @return {*}
|
|
6
|
-
* @Author: zhiwei.Wang
|
|
7
|
-
* @Date: 2024-02-19 09:26
|
|
8
|
-
*/
|
|
9
|
-
export declare const formatProductOption: (option: any) => any;
|
|
10
|
-
/**
|
|
11
|
-
* @title: 套餐信息
|
|
12
|
-
* @description:
|
|
13
|
-
* @param {any} bundle
|
|
14
|
-
* @return {*}
|
|
15
|
-
* @Author: zhiwei.Wang
|
|
16
|
-
* @Date: 2024-02-19 09:26
|
|
17
|
-
*/
|
|
18
|
-
export declare const formatProductBundle: (bundle: any) => any;
|
|
19
|
-
export interface ResourceItem {
|
|
20
|
-
[key: string]: any;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* @title: 传入资源,如果有子资源,会根据组合资源的 capacity 计算修改子资源的 capacity
|
|
24
|
-
* @description:
|
|
25
|
-
* @param {object} resource
|
|
26
|
-
* @return {*}
|
|
27
|
-
* @Author: jinglin.tan
|
|
28
|
-
*/
|
|
29
|
-
export declare const checkSubResourcesCapacity: (resource: ResourceItem) => void;
|
|
30
|
-
export declare const checkResourcesFormat: (resources: any[], service: any, isChild?: boolean) => any[];
|
|
31
|
-
/**
|
|
32
|
-
* @title: 格式化商品单价
|
|
33
|
-
* @description:
|
|
34
|
-
* @param {any} item
|
|
35
|
-
* @return {*}
|
|
36
|
-
* @Author: WangHan
|
|
37
|
-
* @Date: 2024-12-23 12:05
|
|
38
|
-
*/
|
|
39
|
-
export declare const formatProductPrice: (item: any) => number;
|
|
40
|
-
export declare const formatValues: (state: any) => any;
|
|
41
|
-
export declare const checkHolderIsError: (state: any) => any;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { ClientCardRef, CartClientCardProps } from './types';
|
|
3
|
-
import './index.less';
|
|
4
|
-
export type { ClientData } from './types';
|
|
5
|
-
declare const CartClientCard: React.ForwardRefExoticComponent<CartClientCardProps & React.RefAttributes<ClientCardRef>>;
|
|
6
|
-
export default CartClientCard;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface PaymentModalData {
|
|
4
|
-
order_info: any;
|
|
5
|
-
subtotal_info: {
|
|
6
|
-
subTotalList: any[];
|
|
7
|
-
orderTotalList: any[];
|
|
8
|
-
total: number;
|
|
9
|
-
showDetail: boolean;
|
|
10
|
-
};
|
|
11
|
-
total: any;
|
|
12
|
-
}
|
|
13
|
-
interface PaymentModalProps {
|
|
14
|
-
open?: boolean;
|
|
15
|
-
data?: PaymentModalData;
|
|
16
|
-
callback?: (result: any) => void;
|
|
17
|
-
onClose?: (reset?: boolean) => void;
|
|
18
|
-
dispatch?: (action: {
|
|
19
|
-
type: string;
|
|
20
|
-
payload?: any;
|
|
21
|
-
}) => void;
|
|
22
|
-
state?: any;
|
|
23
|
-
}
|
|
24
|
-
interface PaymentModalMainProps extends PaymentModalProps {
|
|
25
|
-
onClose?: (reset?: boolean) => void;
|
|
26
|
-
setEditCartMode?: (order_id: number, payData: any, closeModal: boolean) => void;
|
|
27
|
-
editOrderId?: number;
|
|
28
|
-
}
|
|
29
|
-
declare const PaymentModal: React.FC<PaymentModalMainProps>;
|
|
30
|
-
export type { PaymentModalData, PaymentModalProps };
|
|
31
|
-
export default PaymentModal;
|