@sunrise-upc/mobile-prod-card 1.0.16-beta.0 → 1.0.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/dist/cjs/components/ProductDetailsV3/BenefitsSectionV3.d.ts +3 -0
- package/dist/cjs/components/ProductDetailsV3/BundleEntitlementValueV3.d.ts +3 -0
- package/dist/cjs/components/ProductDetailsV3/ProductDetailsModal/ProductDetailsModal.d.ts +14 -0
- package/dist/cjs/components/ProductDetailsV3/ProductDetailsModal/ProductDetailsV2.d.ts +12 -0
- package/dist/cjs/components/ProductDetailsV3/ProductEntitlement.d.ts +3 -0
- package/dist/cjs/components/ProductDetailsV3/ProductPriceV3.d.ts +3 -0
- package/dist/cjs/components/ProductDetailsV3/ReactInputSelectV2/ReactInputSelectV2.d.ts +3 -0
- package/dist/cjs/components/ProductDetailsV3/tv/EntertainmentOptionsV2/EntertainmentOptionsV2.d.ts +3 -0
- package/dist/cjs/components/ProductDetailsV3/tv/TVChannelOfferV2.d.ts +3 -0
- package/dist/cjs/components/ProductTeaser/ProductTeaser.d.ts +40 -1
- package/dist/cjs/components/index.d.ts +1 -0
- package/dist/cjs/components/lineTable/BundleProductsV3.d.ts +3 -0
- package/dist/cjs/components/lineTable/ProductContainerV3.d.ts +4 -0
- package/dist/cjs/components/lineTable/ProductTableV3.d.ts +4 -0
- package/dist/cjs/components/lineTable/ProductV3.d.ts +2 -0
- package/dist/cjs/components/lineTable/index.d.ts +1 -0
- package/dist/cjs/components/lineTable/lineTable.types.d.ts +17 -0
- package/dist/cjs/components/richtext.d.ts +2 -1
- package/dist/cjs/components/sharedCarousel/CarouselComponent.d.ts +3 -0
- package/dist/cjs/components/skeletonLoader/Skeletonloader.d.ts +3 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/services/LineTableBasicPropConfig.d.ts +17 -2
- package/dist/cjs/services/LineTableService.d.ts +3 -0
- package/dist/cjs/services/ProductTeaserPropsConfig.d.ts +14 -0
- package/dist/cjs/services/api-constants.d.ts +1 -0
- package/dist/cjs/services/index.d.ts +2 -1
- package/dist/cjs/utils/constants.d.ts +7 -0
- package/dist/cjs/utils/utils.d.ts +1 -0
- package/dist/esm/components/ProductDetailsV3/BenefitsSectionV3.d.ts +3 -0
- package/dist/esm/components/ProductDetailsV3/BundleEntitlementValueV3.d.ts +3 -0
- package/dist/esm/components/ProductDetailsV3/ProductDetailsModal/ProductDetailsModal.d.ts +14 -0
- package/dist/esm/components/ProductDetailsV3/ProductDetailsModal/ProductDetailsV2.d.ts +12 -0
- package/dist/esm/components/ProductDetailsV3/ProductEntitlement.d.ts +3 -0
- package/dist/esm/components/ProductDetailsV3/ProductPriceV3.d.ts +3 -0
- package/dist/esm/components/ProductDetailsV3/ReactInputSelectV2/ReactInputSelectV2.d.ts +3 -0
- package/dist/esm/components/ProductDetailsV3/tv/EntertainmentOptionsV2/EntertainmentOptionsV2.d.ts +3 -0
- package/dist/esm/components/ProductDetailsV3/tv/TVChannelOfferV2.d.ts +3 -0
- package/dist/esm/components/ProductTeaser/ProductTeaser.d.ts +40 -1
- package/dist/esm/components/index.d.ts +1 -0
- package/dist/esm/components/lineTable/BundleProductsV3.d.ts +3 -0
- package/dist/esm/components/lineTable/ProductContainerV3.d.ts +4 -0
- package/dist/esm/components/lineTable/ProductTableV3.d.ts +4 -0
- package/dist/esm/components/lineTable/ProductV3.d.ts +2 -0
- package/dist/esm/components/lineTable/index.d.ts +1 -0
- package/dist/esm/components/lineTable/lineTable.types.d.ts +17 -0
- package/dist/esm/components/richtext.d.ts +2 -1
- package/dist/esm/components/sharedCarousel/CarouselComponent.d.ts +3 -0
- package/dist/esm/components/skeletonLoader/Skeletonloader.d.ts +3 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/services/LineTableBasicPropConfig.d.ts +17 -2
- package/dist/esm/services/LineTableService.d.ts +3 -0
- package/dist/esm/services/ProductTeaserPropsConfig.d.ts +14 -0
- package/dist/esm/services/api-constants.d.ts +1 -0
- package/dist/esm/services/index.d.ts +2 -1
- package/dist/esm/utils/constants.d.ts +7 -0
- package/dist/esm/utils/utils.d.ts +1 -0
- package/dist/index.d.ts +95 -4
- package/package.json +6 -4
|
@@ -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,12 @@
|
|
|
1
|
+
interface ProductDetailsSchema {
|
|
2
|
+
showProductDetail: boolean;
|
|
3
|
+
setShowProductDetail: (showProductDetail: boolean) => void;
|
|
4
|
+
products: any;
|
|
5
|
+
content: any;
|
|
6
|
+
priceCollection: any;
|
|
7
|
+
addToCart: any;
|
|
8
|
+
bundleProducts: any;
|
|
9
|
+
sbStaticConstants: any;
|
|
10
|
+
}
|
|
11
|
+
declare const ProductDetailsV2: ({ products, showProductDetail, setShowProductDetail, content, priceCollection, addToCart, bundleProducts, sbStaticConstants }: ProductDetailsSchema) => any;
|
|
12
|
+
export default ProductDetailsV2;
|
|
@@ -1,3 +1,42 @@
|
|
|
1
1
|
import { FC } from "react";
|
|
2
|
-
|
|
2
|
+
import { Asset, GenericSBProps, Links } from "../types";
|
|
3
|
+
export interface RichTextWithTooltip extends GenericSBProps {
|
|
4
|
+
icon: Asset;
|
|
5
|
+
mobIcon: Asset;
|
|
6
|
+
text: Array<Object>;
|
|
7
|
+
tooltipTxt: string;
|
|
8
|
+
}
|
|
9
|
+
export interface ProductTeaserSlidesSchema extends GenericSBProps {
|
|
10
|
+
buttonLbl: string;
|
|
11
|
+
conDuration: string;
|
|
12
|
+
description: Array<Object>;
|
|
13
|
+
desktopBGImage: Asset;
|
|
14
|
+
details: RichTextWithTooltip[];
|
|
15
|
+
heading: string;
|
|
16
|
+
mobileBGImage: Asset;
|
|
17
|
+
priceDesc: string;
|
|
18
|
+
productId: string;
|
|
19
|
+
productType: string;
|
|
20
|
+
promoId: string;
|
|
21
|
+
subHeading: string;
|
|
22
|
+
summaryURL: Links;
|
|
23
|
+
tabBGImage: Asset;
|
|
24
|
+
tabTitle: string;
|
|
25
|
+
tvDetails: RichTextWithTooltip[];
|
|
26
|
+
tvPrice: string;
|
|
27
|
+
tvProductId: string;
|
|
28
|
+
tvSubHeading: string;
|
|
29
|
+
}
|
|
30
|
+
export interface ProductTeaserCompSchema extends GenericSBProps {
|
|
31
|
+
btnIcon: Asset;
|
|
32
|
+
serviceabilityError: string;
|
|
33
|
+
tvIcon: Asset;
|
|
34
|
+
productTeaserSlides: ProductTeaserSlidesSchema[];
|
|
35
|
+
}
|
|
36
|
+
export interface ProductTeaserSchema {
|
|
37
|
+
content: ProductTeaserCompSchema;
|
|
38
|
+
lineCheckCallBack?: () => void;
|
|
39
|
+
changeAddressClicked?: boolean;
|
|
40
|
+
}
|
|
41
|
+
declare const ProductTeaser: FC<ProductTeaserSchema>;
|
|
3
42
|
export default ProductTeaser;
|
|
@@ -4,3 +4,4 @@ export { default as Card } from './CardComp';
|
|
|
4
4
|
export { default as CardEntitlement } from './CardEntitlement';
|
|
5
5
|
export { default as CarouselComp } from './CarouselComp';
|
|
6
6
|
export { default as ProductTeaser } from './ProductTeaser';
|
|
7
|
+
export { default as ProductTableV3 } from './lineTable';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ProductTableV3';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface ProductTableSchema {
|
|
2
|
+
content: any;
|
|
3
|
+
metadata: any;
|
|
4
|
+
lineCheckCallBack?: () => void;
|
|
5
|
+
changeAddressClicked?: any;
|
|
6
|
+
}
|
|
7
|
+
export interface ProductRequestBase {
|
|
8
|
+
id: string;
|
|
9
|
+
checkVoucher: boolean;
|
|
10
|
+
promoIds: string[];
|
|
11
|
+
}
|
|
12
|
+
export interface ProductContainerSchema extends ProductTableSchema {
|
|
13
|
+
activeIndex: any;
|
|
14
|
+
sbStaticConstants: any;
|
|
15
|
+
address: any;
|
|
16
|
+
eligibleBundle: any;
|
|
17
|
+
}
|
|
@@ -3,7 +3,8 @@ export interface RichTextSchema {
|
|
|
3
3
|
content: Array<Object>;
|
|
4
4
|
isIFrame?: boolean;
|
|
5
5
|
trackngLabel?: string;
|
|
6
|
-
|
|
6
|
+
linkAsTooltip?: boolean;
|
|
7
|
+
toolTipText?: string;
|
|
7
8
|
}
|
|
8
9
|
declare const RichText: React.FunctionComponent<RichTextSchema>;
|
|
9
10
|
export default RichText;
|