@sunrise-upc/mobile-prod-card 1.2.3 → 1.2.4-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/components/StaticLineTable/CheckoutButton.d.ts +4 -0
- package/dist/cjs/components/StaticLineTable/DynamicPriceSection.d.ts +4 -0
- package/dist/cjs/components/StaticLineTable/Product.utils.d.ts +10 -0
- package/dist/cjs/components/StaticLineTable/StaticBenefit.d.ts +4 -0
- package/dist/cjs/components/StaticLineTable/StaticLineTable.d.ts +4 -0
- package/dist/cjs/components/StaticLineTable/StaticProduct.d.ts +4 -0
- package/dist/cjs/components/StaticLineTable/StaticProductContainer.d.ts +4 -0
- package/dist/cjs/components/StaticLineTable/StaticProductDatatypes.d.ts +68 -0
- package/dist/cjs/components/StaticLineTable/StaticProductDetails.d.ts +4 -0
- package/dist/cjs/components/StaticLineTable/StaticProductDetailsModal.d.ts +14 -0
- package/dist/cjs/components/StaticLineTable/StaticProductEntitlement.d.ts +3 -0
- package/dist/cjs/components/StaticLineTable/TVChannelModal.d.ts +3 -0
- package/dist/cjs/components/StaticLineTable/index.d.ts +1 -0
- package/dist/cjs/components/index.d.ts +1 -0
- package/dist/cjs/components/lineTable/lineTable.types.d.ts +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/esm/components/StaticLineTable/CheckoutButton.d.ts +4 -0
- package/dist/esm/components/StaticLineTable/DynamicPriceSection.d.ts +4 -0
- package/dist/esm/components/StaticLineTable/Product.utils.d.ts +10 -0
- package/dist/esm/components/StaticLineTable/StaticBenefit.d.ts +4 -0
- package/dist/esm/components/StaticLineTable/StaticLineTable.d.ts +4 -0
- package/dist/esm/components/StaticLineTable/StaticProduct.d.ts +4 -0
- package/dist/esm/components/StaticLineTable/StaticProductContainer.d.ts +4 -0
- package/dist/esm/components/StaticLineTable/StaticProductDatatypes.d.ts +68 -0
- package/dist/esm/components/StaticLineTable/StaticProductDetails.d.ts +4 -0
- package/dist/esm/components/StaticLineTable/StaticProductDetailsModal.d.ts +14 -0
- package/dist/esm/components/StaticLineTable/StaticProductEntitlement.d.ts +3 -0
- package/dist/esm/components/StaticLineTable/TVChannelModal.d.ts +3 -0
- package/dist/esm/components/StaticLineTable/index.d.ts +1 -0
- package/dist/esm/components/index.d.ts +1 -0
- package/dist/esm/components/lineTable/lineTable.types.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +13 -1
- package/package.json +1 -1
@@ -0,0 +1,10 @@
|
|
1
|
+
import { SetStateAction } from 'react';
|
2
|
+
export declare const fetchStaticProductIds: (productList: any, productId: any) => any;
|
3
|
+
export declare const checkGiftOrCashback: (data: any) => any;
|
4
|
+
export declare const staticCreateCart: (setShowLoader: {
|
5
|
+
(value: SetStateAction<boolean>): void;
|
6
|
+
(arg0: boolean): void;
|
7
|
+
}, cartEndPoint: string, giftItem: any, uniqueProductData: any, mainContent: any, showPrice: any, isMobileFlow: boolean, radioValue: any) => any;
|
8
|
+
export declare const findHeight: (tabIndex: number, cardsLength: number) => void;
|
9
|
+
export declare const combineWithSmartPhone: (showPrice: any, storyContent: any, uniqueProductData: any) => void;
|
10
|
+
export declare const fetchServiceOptions: (entitlement: any, isMobileFlow: boolean) => any;
|
@@ -0,0 +1,68 @@
|
|
1
|
+
export interface StaticLinetableSchema {
|
2
|
+
content: any;
|
3
|
+
tabCheckCallBack?: any;
|
4
|
+
setGenericErrorModalDetails: any;
|
5
|
+
metadata: any;
|
6
|
+
loginSuccess?: boolean;
|
7
|
+
changeAddressClicked?: any;
|
8
|
+
lineCheckCallBack?: any;
|
9
|
+
}
|
10
|
+
export interface StaticProductSchema {
|
11
|
+
content: any;
|
12
|
+
offeringData: any;
|
13
|
+
uniqueId: number | string | symbol;
|
14
|
+
storyContent: any;
|
15
|
+
metadata: any;
|
16
|
+
tabIndex: number;
|
17
|
+
cardsLength: number;
|
18
|
+
indexKey: number;
|
19
|
+
constants: any;
|
20
|
+
mainContent?: any;
|
21
|
+
address?: any;
|
22
|
+
lineCheckCallBack?: any;
|
23
|
+
eligibleBundle?: any;
|
24
|
+
}
|
25
|
+
export interface DynamicPriceSchema {
|
26
|
+
priceCollection: any;
|
27
|
+
constants: any;
|
28
|
+
promoText?: string;
|
29
|
+
}
|
30
|
+
export interface StaticProductContainerSchema {
|
31
|
+
content: any;
|
32
|
+
setGenericErrorModalDetails: any;
|
33
|
+
metadata: any;
|
34
|
+
tabIndex: number;
|
35
|
+
constants: any;
|
36
|
+
loginSuccess?: any;
|
37
|
+
activeIndex: number;
|
38
|
+
mainContent?: any;
|
39
|
+
address?: any;
|
40
|
+
eligibleBundle?: any;
|
41
|
+
lineCheckCallBack?: any;
|
42
|
+
}
|
43
|
+
export interface StaticProductDetailsSchema {
|
44
|
+
content: any;
|
45
|
+
showProductDetail: any;
|
46
|
+
setShowProductDetail: any;
|
47
|
+
constants: any;
|
48
|
+
showPrice: any;
|
49
|
+
isMobileFlow: boolean;
|
50
|
+
createCartCall: any;
|
51
|
+
storyContent: any;
|
52
|
+
isAvailable?: boolean;
|
53
|
+
address?: any;
|
54
|
+
}
|
55
|
+
export interface StaticBenefitsSchema {
|
56
|
+
content: any;
|
57
|
+
benefitData: any;
|
58
|
+
constants: any;
|
59
|
+
}
|
60
|
+
export interface CheckoutButtonSchema {
|
61
|
+
isMobileFlow: boolean;
|
62
|
+
createCartCall: any;
|
63
|
+
constants: any;
|
64
|
+
storyContent: any;
|
65
|
+
showPrice: any;
|
66
|
+
isAvailable?: boolean;
|
67
|
+
address?: any;
|
68
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
interface GenericModalSchema {
|
3
|
+
modalState: boolean;
|
4
|
+
handler: () => void;
|
5
|
+
children: React.ReactNode;
|
6
|
+
showFooter: boolean;
|
7
|
+
footerNode?: React.ReactNode;
|
8
|
+
height?: string;
|
9
|
+
width?: string;
|
10
|
+
backDrop?: boolean;
|
11
|
+
backButton?: string;
|
12
|
+
}
|
13
|
+
declare const ProductDetailsModal: ({ modalState, handler, showFooter, footerNode, children, width, height, backButton }: GenericModalSchema) => any;
|
14
|
+
export default ProductDetailsModal;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from './StaticLineTable';
|
@@ -6,3 +6,4 @@ export { default as CarouselComp } from './CarouselComp';
|
|
6
6
|
export { default as ProductTeaser } from './ProductTeaser';
|
7
7
|
export { default as ProductTableV3 } from './lineTable';
|
8
8
|
export { default as StickyProductAnchor } from './StickyProductAnchor';
|
9
|
+
export { default as StaticLineTable } from './StaticLineTable';
|