qj-b2c-store 1.6.91 → 1.6.92
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/dist/index.js +1 -1
- package/package.json +2 -2
- package/dist/context/index.d.ts +0 -6
- package/dist/core/external.d.ts +0 -5
- package/dist/core/index.d.ts +0 -2
- package/dist/core/makeStore.d.ts +0 -2
- package/dist/index.d.ts +0 -4
- package/dist/store/account/hooks/index.d.ts +0 -1
- package/dist/store/account/hooks/useAgreement.d.ts +0 -1
- package/dist/store/account/hooks/useMySetting.d.ts +0 -4
- package/dist/store/account/index.d.ts +0 -1
- package/dist/store/addressDetail/hooks/index.d.ts +0 -1
- package/dist/store/addressDetail/hooks/useAddAddress.d.ts +0 -3
- package/dist/store/addressDetail/index.d.ts +0 -1
- package/dist/store/addressList/hooks/index.d.ts +0 -2
- package/dist/store/addressList/hooks/useAddressItem.d.ts +0 -3
- package/dist/store/addressList/hooks/useAddressList.d.ts +0 -8
- package/dist/store/addressList/index.d.ts +0 -1
- package/dist/store/afterSales/hooks/afterSalesConfig.d.ts +0 -4
- package/dist/store/afterSales/hooks/index.d.ts +0 -5
- package/dist/store/afterSales/hooks/useAfterSalesApply.d.ts +0 -23
- package/dist/store/afterSales/hooks/useAfterSalesChooseType.d.ts +0 -16
- package/dist/store/afterSales/hooks/useAfterSalesDetail.d.ts +0 -17
- package/dist/store/afterSales/hooks/useAfterSalesList.d.ts +0 -8
- package/dist/store/afterSales/index.d.ts +0 -1
- package/dist/store/articleDetail/hooks/index.d.ts +0 -1
- package/dist/store/articleDetail/hooks/useArticleDetail.d.ts +0 -7
- package/dist/store/articleDetail/index.d.ts +0 -1
- package/dist/store/cart/hooks/index.d.ts +0 -2
- package/dist/store/cart/hooks/useCartItem.d.ts +0 -10
- package/dist/store/cart/hooks/useCartList.d.ts +0 -19
- package/dist/store/cart/index.d.ts +0 -2
- package/dist/store/cart/store/index.d.ts +0 -10
- package/dist/store/cart-next/hooks/index.d.ts +0 -3
- package/dist/store/cart-next/hooks/useCartListNext.d.ts +0 -13
- package/dist/store/cart-next/hooks/useCartOperate.d.ts +0 -13
- package/dist/store/cart-next/hooks/useCartTop.d.ts +0 -4
- package/dist/store/cart-next/index.d.ts +0 -1
- package/dist/store/collectionList/hooks/index.d.ts +0 -1
- package/dist/store/collectionList/hooks/useCollectionList.d.ts +0 -26
- package/dist/store/collectionList/index.d.ts +0 -1
- package/dist/store/coupon/hooks/index.d.ts +0 -1
- package/dist/store/coupon/hooks/useAllCoupon.d.ts +0 -11
- package/dist/store/coupon/index.d.ts +0 -1
- package/dist/store/couponList/hooks/index.d.ts +0 -4
- package/dist/store/couponList/hooks/useCouponList.d.ts +0 -20
- package/dist/store/couponList/hooks/useOverdue.d.ts +0 -5
- package/dist/store/couponList/hooks/useUnused.d.ts +0 -5
- package/dist/store/couponList/hooks/useUsed.d.ts +0 -5
- package/dist/store/couponList/index.d.ts +0 -1
- package/dist/store/cube/hooks/index.d.ts +0 -6
- package/dist/store/cube/index.d.ts +0 -1
- package/dist/store/evaluateDetail/hooks/index.d.ts +0 -1
- package/dist/store/evaluateDetail/hooks/useEvaluateDetail.d.ts +0 -6
- package/dist/store/evaluateDetail/index.d.ts +0 -1
- package/dist/store/evaluateViewDetail/hooks/index.d.ts +0 -1
- package/dist/store/evaluateViewDetail/hooks/useEvaluateViewDetail.d.ts +0 -4
- package/dist/store/evaluateViewDetail/index.d.ts +0 -1
- package/dist/store/expressInfo/hooks/index.d.ts +0 -1
- package/dist/store/expressInfo/hooks/useExpressInfo.d.ts +0 -14
- package/dist/store/expressInfo/index.d.ts +0 -1
- package/dist/store/footprint/hooks/index.d.ts +0 -1
- package/dist/store/footprint/hooks/useFootprint.d.ts +0 -26
- package/dist/store/footprint/index.d.ts +0 -1
- package/dist/store/goTop/hooks/index.d.ts +0 -1
- package/dist/store/goTop/hooks/useGoTop.d.ts +0 -3
- package/dist/store/goTop/index.d.ts +0 -1
- package/dist/store/goods/hooks/index.d.ts +0 -1
- package/dist/store/goods/hooks/useGoods.d.ts +0 -8
- package/dist/store/goods/index.d.ts +0 -1
- package/dist/store/goodsClassify/hooks/index.d.ts +0 -1
- package/dist/store/goodsClassify/hooks/useGoodsClassify.d.ts +0 -6
- package/dist/store/goodsClassify/index.d.ts +0 -1
- package/dist/store/goodsDetail/hooks/index.d.ts +0 -13
- package/dist/store/goodsDetail/hooks/useAddCoupon.d.ts +0 -4
- package/dist/store/goodsDetail/hooks/useAddShopping.d.ts +0 -12
- package/dist/store/goodsDetail/hooks/useBanner.d.ts +0 -4
- package/dist/store/goodsDetail/hooks/useCoupon.d.ts +0 -39
- package/dist/store/goodsDetail/hooks/useEvaluate.d.ts +0 -1
- package/dist/store/goodsDetail/hooks/useFootprint.d.ts +0 -1
- package/dist/store/goodsDetail/hooks/useGoodCollection.d.ts +0 -12
- package/dist/store/goodsDetail/hooks/useGoodDetail.d.ts +0 -40
- package/dist/store/goodsDetail/hooks/useGoodSku.d.ts +0 -9
- package/dist/store/goodsDetail/hooks/useGoodSpecAndPrice.d.ts +0 -4
- package/dist/store/goodsDetail/hooks/useGoodsShare.d.ts +0 -3
- package/dist/store/goodsDetail/hooks/usePoster.d.ts +0 -4
- package/dist/store/goodsDetail/hooks/usePromotion.d.ts +0 -1
- package/dist/store/goodsDetail/index.d.ts +0 -3
- package/dist/store/goodsDetail/store/index.d.ts +0 -22
- package/dist/store/goodsDetail/utils/index.d.ts +0 -29
- package/dist/store/goodsList/hooks/index.d.ts +0 -1
- package/dist/store/goodsList/hooks/useGoodsList.d.ts +0 -17
- package/dist/store/goodsList/index.d.ts +0 -1
- package/dist/store/index.d.ts +0 -32
- package/dist/store/marketing/hooks/index.d.ts +0 -1
- package/dist/store/marketing/hooks/useMarketingPromotion.d.ts +0 -6
- package/dist/store/marketing/index.d.ts +0 -1
- package/dist/store/memberSignin/hooks/index.d.ts +0 -1
- package/dist/store/memberSignin/hooks/useMemberSignin.d.ts +0 -8
- package/dist/store/memberSignin/index.d.ts +0 -1
- package/dist/store/notice/index.d.ts +0 -4
- package/dist/store/noticeDetail/hooks/index.d.ts +0 -4
- package/dist/store/noticeDetail/index.d.ts +0 -1
- package/dist/store/order/constant/index.d.ts +0 -3
- package/dist/store/order/hooks/config.d.ts +0 -7
- package/dist/store/order/hooks/index.d.ts +0 -3
- package/dist/store/order/hooks/useOrderList.d.ts +0 -38
- package/dist/store/order/hooks/useOrderOperate.d.ts +0 -4
- package/dist/store/order/index.d.ts +0 -1
- package/dist/store/orderDetail/hooks/index.d.ts +0 -1
- package/dist/store/orderDetail/hooks/useOrderDetail.d.ts +0 -32
- package/dist/store/orderDetail/index.d.ts +0 -1
- package/dist/store/paymentMode/hooks/index.d.ts +0 -1
- package/dist/store/paymentMode/hooks/useOrderResult.d.ts +0 -15
- package/dist/store/paymentMode/index.d.ts +0 -1
- package/dist/store/pickupPointList/hooks/index.d.ts +0 -2
- package/dist/store/pickupPointList/hooks/usePickupPointItem.d.ts +0 -3
- package/dist/store/pickupPointList/hooks/usePickupPointList.d.ts +0 -7
- package/dist/store/pickupPointList/index.d.ts +0 -1
- package/dist/store/placeOrder/hooks/index.d.ts +0 -8
- package/dist/store/placeOrder/hooks/useOrderAddress.d.ts +0 -24
- package/dist/store/placeOrder/hooks/useOrderCoupon.d.ts +0 -32
- package/dist/store/placeOrder/hooks/useOrderGood.d.ts +0 -61
- package/dist/store/placeOrder/hooks/useOrderInfo.d.ts +0 -8
- package/dist/store/placeOrder/hooks/useOrderPay.d.ts +0 -11
- package/dist/store/placeOrder/hooks/useOrderPickupAddress.d.ts +0 -18
- package/dist/store/placeOrder/hooks/usePayMode.d.ts +0 -6
- package/dist/store/placeOrder/hooks/usePlaceOrder.d.ts +0 -46
- package/dist/store/placeOrder/index.d.ts +0 -2
- package/dist/store/placeOrder/store/index.d.ts +0 -43
- package/dist/store/placeOrderResult/hooks/index.d.ts +0 -1
- package/dist/store/placeOrderResult/hooks/useOrderResult.d.ts +0 -4
- package/dist/store/placeOrderResult/index.d.ts +0 -1
- package/dist/store/signinDetail/hooks/index.d.ts +0 -1
- package/dist/store/signinDetail/hooks/useSigninDetail.d.ts +0 -10
- package/dist/store/signinDetail/index.d.ts +0 -1
- package/dist/utils/formatTime.d.ts +0 -1
- package/dist/utils/index.d.ts +0 -7
- package/dist/utils/localData.d.ts +0 -5
- package/dist/utils/navigator.d.ts +0 -11
- package/dist/utils/payment.d.ts +0 -15
- package/dist/utils/routerMap/index.d.ts +0 -11
- package/dist/utils/showToast.d.ts +0 -1
- package/dist/utils/useImmutableCallback.d.ts +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useCollectionList';
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare const useCollectionList: (collectType?: number) => {
|
|
2
|
-
collectionList: any[];
|
|
3
|
-
edit: boolean;
|
|
4
|
-
setEdit: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
5
|
-
getData: () => Promise<never[] | undefined>;
|
|
6
|
-
collectCodeStr: string;
|
|
7
|
-
getSelectItem: (e: {
|
|
8
|
-
value: string[];
|
|
9
|
-
detail: {
|
|
10
|
-
value: string[];
|
|
11
|
-
};
|
|
12
|
-
}) => void;
|
|
13
|
-
delItem: () => Promise<void>;
|
|
14
|
-
init: () => void;
|
|
15
|
-
checked: boolean;
|
|
16
|
-
setChecked: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
17
|
-
handleSelectAll: (e: {
|
|
18
|
-
value: string[];
|
|
19
|
-
detail: {
|
|
20
|
-
value: string[];
|
|
21
|
-
};
|
|
22
|
-
}) => void;
|
|
23
|
-
selectAll: string;
|
|
24
|
-
setSelectAll: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
25
|
-
selectAllChecked: boolean;
|
|
26
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hooks';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useAllCoupon';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
interface useAllCouponType {
|
|
2
|
-
defaultValue: Array<any>;
|
|
3
|
-
coupons: Array<any>;
|
|
4
|
-
}
|
|
5
|
-
export declare const useAllCoupon: (props: useAllCouponType) => {
|
|
6
|
-
list: any[];
|
|
7
|
-
setList: import("react").Dispatch<import("react").SetStateAction<any[]>>;
|
|
8
|
-
takeCoupon: ({ promotionCode, couponAmount, index }: any) => Promise<void>;
|
|
9
|
-
takeList: any[];
|
|
10
|
-
};
|
|
11
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hooks';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare const useCouponList: () => {
|
|
2
|
-
config: import("react").MutableRefObject<({
|
|
3
|
-
id: number;
|
|
4
|
-
label: string;
|
|
5
|
-
dataState: number;
|
|
6
|
-
styleName: string;
|
|
7
|
-
text: string;
|
|
8
|
-
} | {
|
|
9
|
-
id: number;
|
|
10
|
-
label: string;
|
|
11
|
-
dataState: number;
|
|
12
|
-
styleName: string;
|
|
13
|
-
text?: undefined;
|
|
14
|
-
})[]>;
|
|
15
|
-
coe: import("react").MutableRefObject<number>;
|
|
16
|
-
list: any[];
|
|
17
|
-
setList: import("react").Dispatch<import("react").SetStateAction<any[]>>;
|
|
18
|
-
getList: () => Promise<void>;
|
|
19
|
-
switchTab: (index: number) => Promise<void>;
|
|
20
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hooks';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hooks';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useEvaluateDetail';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hooks';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useEvaluateViewDetail';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hooks';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useExpressInfo';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hooks';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useFootprint';
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare const useFootprint: () => {
|
|
2
|
-
footprintList: any[];
|
|
3
|
-
edit: boolean;
|
|
4
|
-
setEdit: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
5
|
-
getData: () => Promise<never[] | undefined>;
|
|
6
|
-
getSelectItem: (e: {
|
|
7
|
-
value: string[];
|
|
8
|
-
detail: {
|
|
9
|
-
value: string[];
|
|
10
|
-
};
|
|
11
|
-
}) => void;
|
|
12
|
-
delItem: () => Promise<void>;
|
|
13
|
-
init: () => Promise<void>;
|
|
14
|
-
checked: boolean;
|
|
15
|
-
setChecked: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
16
|
-
handleSelectAll: (e: {
|
|
17
|
-
value: string[];
|
|
18
|
-
detail: {
|
|
19
|
-
value: string[];
|
|
20
|
-
};
|
|
21
|
-
}) => void;
|
|
22
|
-
selectAll: string;
|
|
23
|
-
setSelectAll: import("react").Dispatch<import("react").SetStateAction<string>>;
|
|
24
|
-
selectAllChecked: boolean;
|
|
25
|
-
loading: boolean;
|
|
26
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hooks';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useGoTop';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hooks';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useGoods';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hooks';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useGoodsClassify';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hooks';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export * from './useAddShopping';
|
|
2
|
-
export * from './useAddCoupon';
|
|
3
|
-
export * from './usePoster';
|
|
4
|
-
export * from './useGoodDetail';
|
|
5
|
-
export * from './useBanner';
|
|
6
|
-
export * from './useGoodCollection';
|
|
7
|
-
export * from './useGoodSku';
|
|
8
|
-
export * from './usePromotion';
|
|
9
|
-
export * from './useCoupon';
|
|
10
|
-
export * from './useEvaluate';
|
|
11
|
-
export * from './useGoodsShare';
|
|
12
|
-
export * from './useFootprint';
|
|
13
|
-
export * from './useGoodSpecAndPrice';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { actionName } from '../utils';
|
|
2
|
-
export declare function useAddShopping(goodsCode: string, skuInfo: Object, rsSkuDomainList: Array<any>, dispatchPageStore?: {
|
|
3
|
-
(...args: any[]): void;
|
|
4
|
-
(...args: any[]): void;
|
|
5
|
-
}): {
|
|
6
|
-
closePopup: () => void;
|
|
7
|
-
addCardImpl: () => Promise<void>;
|
|
8
|
-
cashImpl: () => Promise<void>;
|
|
9
|
-
handleChooseSize: (...args: Array<any>) => any;
|
|
10
|
-
handleStep: (goodsNum: number, goodsMinnum: number, type: actionName) => void;
|
|
11
|
-
addShoppingImpl: () => void;
|
|
12
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export declare const computedParams: (rsSkuDomainList: Array<any> | undefined, skuCode: string) => {
|
|
2
|
-
skuCode?: undefined;
|
|
3
|
-
skuNo?: undefined;
|
|
4
|
-
classtreeCode?: undefined;
|
|
5
|
-
brandCode?: undefined;
|
|
6
|
-
pntreeCode?: undefined;
|
|
7
|
-
memberCode?: undefined;
|
|
8
|
-
} | {
|
|
9
|
-
skuCode: string;
|
|
10
|
-
skuNo: any;
|
|
11
|
-
classtreeCode: any;
|
|
12
|
-
brandCode: any;
|
|
13
|
-
pntreeCode: any;
|
|
14
|
-
memberCode: any;
|
|
15
|
-
};
|
|
16
|
-
export declare const initialCoupon: {
|
|
17
|
-
promotionBegintime: string;
|
|
18
|
-
pbName: string;
|
|
19
|
-
discName: string;
|
|
20
|
-
promotionCode: string;
|
|
21
|
-
promotionName: string;
|
|
22
|
-
couponOnceNums: number;
|
|
23
|
-
couponOnceNumd: number;
|
|
24
|
-
promotionEndtime: string;
|
|
25
|
-
};
|
|
26
|
-
export declare function useCoupon(result: Array<any>, skuCode: string): {
|
|
27
|
-
coupon: {
|
|
28
|
-
promotionBegintime: string;
|
|
29
|
-
pbName: string;
|
|
30
|
-
discName: string;
|
|
31
|
-
promotionCode: string;
|
|
32
|
-
promotionName: string;
|
|
33
|
-
couponOnceNums: number;
|
|
34
|
-
couponOnceNumd: number;
|
|
35
|
-
promotionEndtime: string;
|
|
36
|
-
}[];
|
|
37
|
-
visible: boolean;
|
|
38
|
-
setVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
39
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useEvaluate: (goodsCode: string) => never[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useGoodFootprint: (skuCode: string) => void;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface CollectProps {
|
|
2
|
-
skuCode: string;
|
|
3
|
-
dataPic: string;
|
|
4
|
-
goodsName: string;
|
|
5
|
-
pricesetNprice: number;
|
|
6
|
-
}
|
|
7
|
-
export declare function useGoodCollection({ skuCode, dataPic, goodsName, pricesetNprice }: CollectProps): {
|
|
8
|
-
handleCollect: () => Promise<void>;
|
|
9
|
-
collection: {
|
|
10
|
-
dataObj: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export declare const initialValue: {
|
|
2
|
-
rsGoodsFileDomainList: never[];
|
|
3
|
-
rsSpecValueDomainList: never[];
|
|
4
|
-
goodsRemark: string;
|
|
5
|
-
pricesetNprice: number;
|
|
6
|
-
goodsName: string;
|
|
7
|
-
dataPic: string;
|
|
8
|
-
goodsShowname: string;
|
|
9
|
-
goodsNum: number;
|
|
10
|
-
goodsCode: string;
|
|
11
|
-
skuNo: string;
|
|
12
|
-
classtreeCode: string;
|
|
13
|
-
brandCode: string;
|
|
14
|
-
pntreeCode: string;
|
|
15
|
-
memberCode: string;
|
|
16
|
-
goodsThdate: string;
|
|
17
|
-
goodsOdate: string;
|
|
18
|
-
goodsDayinfo: string;
|
|
19
|
-
rsSkuDomainList: never[];
|
|
20
|
-
};
|
|
21
|
-
export declare const useGoodDetail: (skuCode: string, scene?: string) => {
|
|
22
|
-
rsGoodsFileDomainList: never[];
|
|
23
|
-
rsSpecValueDomainList: never[];
|
|
24
|
-
goodsRemark: string;
|
|
25
|
-
pricesetNprice: number;
|
|
26
|
-
goodsName: string;
|
|
27
|
-
dataPic: string;
|
|
28
|
-
goodsShowname: string;
|
|
29
|
-
goodsNum: number;
|
|
30
|
-
goodsCode: string;
|
|
31
|
-
skuNo: string;
|
|
32
|
-
classtreeCode: string;
|
|
33
|
-
brandCode: string;
|
|
34
|
-
pntreeCode: string;
|
|
35
|
-
memberCode: string;
|
|
36
|
-
goodsThdate: string;
|
|
37
|
-
goodsOdate: string;
|
|
38
|
-
goodsDayinfo: string;
|
|
39
|
-
rsSkuDomainList: never[];
|
|
40
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function usePromotion(rsSkuDomainList: Array<any>, skuCode: string): never[];
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export declare const goodStore: {
|
|
2
|
-
getState: () => {
|
|
3
|
-
count: number;
|
|
4
|
-
memberCode: string;
|
|
5
|
-
isNeedButton: boolean;
|
|
6
|
-
goodsNum: number;
|
|
7
|
-
spec: never[];
|
|
8
|
-
orderType: number;
|
|
9
|
-
offShelf: boolean;
|
|
10
|
-
};
|
|
11
|
-
setState: (newState: {
|
|
12
|
-
count: number;
|
|
13
|
-
memberCode: string;
|
|
14
|
-
isNeedButton: boolean;
|
|
15
|
-
goodsNum: number;
|
|
16
|
-
spec: never[];
|
|
17
|
-
orderType: number;
|
|
18
|
-
offShelf: boolean;
|
|
19
|
-
}) => void;
|
|
20
|
-
subscribe: (listener: any) => () => boolean;
|
|
21
|
-
};
|
|
22
|
-
export declare function useGoodSkuStore(selector?: (state: any) => any): any;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
interface GoodsDetailType {
|
|
2
|
-
count: number;
|
|
3
|
-
spec: Array<never>;
|
|
4
|
-
price: number;
|
|
5
|
-
memberCode: string;
|
|
6
|
-
couponValue: number | string;
|
|
7
|
-
popupVisible: boolean;
|
|
8
|
-
goodsNum: number;
|
|
9
|
-
orderType: 1 | 0;
|
|
10
|
-
isNeedButton: boolean;
|
|
11
|
-
offShelf: boolean;
|
|
12
|
-
}
|
|
13
|
-
export type actionName = 'plus' | 'minus' | 'select' | 'popupImpl' | 'initGoodSku';
|
|
14
|
-
type ActionInterface = {
|
|
15
|
-
type: actionName;
|
|
16
|
-
payload?: Partial<GoodsDetailType>;
|
|
17
|
-
};
|
|
18
|
-
export declare function getGoodDetail(skuCode: string): any;
|
|
19
|
-
export declare function popupImplement(dispatchPageStore?: {
|
|
20
|
-
(...args: any[]): void;
|
|
21
|
-
(...args: any[]): void;
|
|
22
|
-
}): {
|
|
23
|
-
dispatch: (action: ActionInterface) => void;
|
|
24
|
-
openPopup: () => void;
|
|
25
|
-
closePopup: () => void;
|
|
26
|
-
addCardPopup: () => void;
|
|
27
|
-
buyOpenPopup: () => void;
|
|
28
|
-
};
|
|
29
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useGoodsList';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export interface FilterType {
|
|
2
|
-
sortField: string;
|
|
3
|
-
order?: string | undefined;
|
|
4
|
-
}
|
|
5
|
-
export interface ListType {
|
|
6
|
-
skuCode: string;
|
|
7
|
-
dataPic: string;
|
|
8
|
-
goodsName: string;
|
|
9
|
-
pricesetNprice: number;
|
|
10
|
-
pricesetMakeprice: number;
|
|
11
|
-
goodsNum: number;
|
|
12
|
-
}
|
|
13
|
-
export declare const useGoodsList: (classtreeCode: string, searchParam: string, filterParmas: FilterType) => {
|
|
14
|
-
loading: boolean;
|
|
15
|
-
getData: (...args: Array<any>) => any;
|
|
16
|
-
list: ListType[];
|
|
17
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hooks';
|
package/dist/store/index.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export * from './goodsDetail';
|
|
2
|
-
export * from './addressDetail';
|
|
3
|
-
export * from './addressList';
|
|
4
|
-
export * from './cart';
|
|
5
|
-
export * from './cart-next';
|
|
6
|
-
export * from './couponList';
|
|
7
|
-
export * from './addressList';
|
|
8
|
-
export * from './goodsList';
|
|
9
|
-
export * from './paymentMode';
|
|
10
|
-
export * from './placeOrder';
|
|
11
|
-
export * from './placeOrderResult';
|
|
12
|
-
export * from './cube';
|
|
13
|
-
export * from './orderDetail';
|
|
14
|
-
export * from './order';
|
|
15
|
-
export * from './expressInfo';
|
|
16
|
-
export * from './goodsClassify';
|
|
17
|
-
export * from './collectionList';
|
|
18
|
-
export * from './evaluateDetail';
|
|
19
|
-
export * from './evaluateViewDetail';
|
|
20
|
-
export * from './footprint';
|
|
21
|
-
export * from './notice';
|
|
22
|
-
export * from './noticeDetail';
|
|
23
|
-
export * from './articleDetail';
|
|
24
|
-
export * from './goods';
|
|
25
|
-
export * from './coupon';
|
|
26
|
-
export * from './goTop';
|
|
27
|
-
export * from './marketing';
|
|
28
|
-
export * from './afterSales';
|
|
29
|
-
export * from './account';
|
|
30
|
-
export * from './pickupPointList';
|
|
31
|
-
export * from './memberSignin';
|
|
32
|
-
export * from './signinDetail';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useMarketingPromotion';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hooks';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useMemberSignin';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hooks';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hooks';
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export declare const orderType: {
|
|
2
|
-
contractBillcode: string;
|
|
3
|
-
goodsList: {
|
|
4
|
-
dataPic: string;
|
|
5
|
-
goodsName: string;
|
|
6
|
-
dataBmoney: number;
|
|
7
|
-
goodsCamount: number;
|
|
8
|
-
contractGoodsId: number;
|
|
9
|
-
dataState: number;
|
|
10
|
-
}[];
|
|
11
|
-
dataBmoney: number;
|
|
12
|
-
dataBnum: number;
|
|
13
|
-
dataState: number;
|
|
14
|
-
contractId: string;
|
|
15
|
-
contractAppraise: number;
|
|
16
|
-
};
|
|
17
|
-
export declare function useOrderList<T>(item: T, refreshNum: number): {
|
|
18
|
-
onScroll: (...args: Array<any>) => any;
|
|
19
|
-
data: {
|
|
20
|
-
contractBillcode: string;
|
|
21
|
-
goodsList: {
|
|
22
|
-
dataPic: string;
|
|
23
|
-
goodsName: string;
|
|
24
|
-
dataBmoney: number;
|
|
25
|
-
goodsCamount: number;
|
|
26
|
-
contractGoodsId: number;
|
|
27
|
-
dataState: number;
|
|
28
|
-
}[];
|
|
29
|
-
dataBmoney: number;
|
|
30
|
-
dataBnum: number;
|
|
31
|
-
dataState: number;
|
|
32
|
-
contractId: string;
|
|
33
|
-
contractAppraise: number;
|
|
34
|
-
}[];
|
|
35
|
-
loading: boolean;
|
|
36
|
-
init: (...args: Array<any>) => any;
|
|
37
|
-
countdownCancel: (contractId: string | number) => Promise<void>;
|
|
38
|
-
};
|