@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.
Files changed (58) hide show
  1. package/dist/cjs/components/ProductDetailsV3/BenefitsSectionV3.d.ts +3 -0
  2. package/dist/cjs/components/ProductDetailsV3/BundleEntitlementValueV3.d.ts +3 -0
  3. package/dist/cjs/components/ProductDetailsV3/ProductDetailsModal/ProductDetailsModal.d.ts +14 -0
  4. package/dist/cjs/components/ProductDetailsV3/ProductDetailsModal/ProductDetailsV2.d.ts +12 -0
  5. package/dist/cjs/components/ProductDetailsV3/ProductEntitlement.d.ts +3 -0
  6. package/dist/cjs/components/ProductDetailsV3/ProductPriceV3.d.ts +3 -0
  7. package/dist/cjs/components/ProductDetailsV3/ReactInputSelectV2/ReactInputSelectV2.d.ts +3 -0
  8. package/dist/cjs/components/ProductDetailsV3/tv/EntertainmentOptionsV2/EntertainmentOptionsV2.d.ts +3 -0
  9. package/dist/cjs/components/ProductDetailsV3/tv/TVChannelOfferV2.d.ts +3 -0
  10. package/dist/cjs/components/ProductTeaser/ProductTeaser.d.ts +40 -1
  11. package/dist/cjs/components/index.d.ts +1 -0
  12. package/dist/cjs/components/lineTable/BundleProductsV3.d.ts +3 -0
  13. package/dist/cjs/components/lineTable/ProductContainerV3.d.ts +4 -0
  14. package/dist/cjs/components/lineTable/ProductTableV3.d.ts +4 -0
  15. package/dist/cjs/components/lineTable/ProductV3.d.ts +2 -0
  16. package/dist/cjs/components/lineTable/index.d.ts +1 -0
  17. package/dist/cjs/components/lineTable/lineTable.types.d.ts +17 -0
  18. package/dist/cjs/components/richtext.d.ts +2 -1
  19. package/dist/cjs/components/sharedCarousel/CarouselComponent.d.ts +3 -0
  20. package/dist/cjs/components/skeletonLoader/Skeletonloader.d.ts +3 -0
  21. package/dist/cjs/index.js +1 -1
  22. package/dist/cjs/services/LineTableBasicPropConfig.d.ts +17 -2
  23. package/dist/cjs/services/LineTableService.d.ts +3 -0
  24. package/dist/cjs/services/ProductTeaserPropsConfig.d.ts +14 -0
  25. package/dist/cjs/services/api-constants.d.ts +1 -0
  26. package/dist/cjs/services/index.d.ts +2 -1
  27. package/dist/cjs/utils/constants.d.ts +7 -0
  28. package/dist/cjs/utils/utils.d.ts +1 -0
  29. package/dist/esm/components/ProductDetailsV3/BenefitsSectionV3.d.ts +3 -0
  30. package/dist/esm/components/ProductDetailsV3/BundleEntitlementValueV3.d.ts +3 -0
  31. package/dist/esm/components/ProductDetailsV3/ProductDetailsModal/ProductDetailsModal.d.ts +14 -0
  32. package/dist/esm/components/ProductDetailsV3/ProductDetailsModal/ProductDetailsV2.d.ts +12 -0
  33. package/dist/esm/components/ProductDetailsV3/ProductEntitlement.d.ts +3 -0
  34. package/dist/esm/components/ProductDetailsV3/ProductPriceV3.d.ts +3 -0
  35. package/dist/esm/components/ProductDetailsV3/ReactInputSelectV2/ReactInputSelectV2.d.ts +3 -0
  36. package/dist/esm/components/ProductDetailsV3/tv/EntertainmentOptionsV2/EntertainmentOptionsV2.d.ts +3 -0
  37. package/dist/esm/components/ProductDetailsV3/tv/TVChannelOfferV2.d.ts +3 -0
  38. package/dist/esm/components/ProductTeaser/ProductTeaser.d.ts +40 -1
  39. package/dist/esm/components/index.d.ts +1 -0
  40. package/dist/esm/components/lineTable/BundleProductsV3.d.ts +3 -0
  41. package/dist/esm/components/lineTable/ProductContainerV3.d.ts +4 -0
  42. package/dist/esm/components/lineTable/ProductTableV3.d.ts +4 -0
  43. package/dist/esm/components/lineTable/ProductV3.d.ts +2 -0
  44. package/dist/esm/components/lineTable/index.d.ts +1 -0
  45. package/dist/esm/components/lineTable/lineTable.types.d.ts +17 -0
  46. package/dist/esm/components/richtext.d.ts +2 -1
  47. package/dist/esm/components/sharedCarousel/CarouselComponent.d.ts +3 -0
  48. package/dist/esm/components/skeletonLoader/Skeletonloader.d.ts +3 -0
  49. package/dist/esm/index.js +1 -1
  50. package/dist/esm/services/LineTableBasicPropConfig.d.ts +17 -2
  51. package/dist/esm/services/LineTableService.d.ts +3 -0
  52. package/dist/esm/services/ProductTeaserPropsConfig.d.ts +14 -0
  53. package/dist/esm/services/api-constants.d.ts +1 -0
  54. package/dist/esm/services/index.d.ts +2 -1
  55. package/dist/esm/utils/constants.d.ts +7 -0
  56. package/dist/esm/utils/utils.d.ts +1 -0
  57. package/dist/index.d.ts +95 -4
  58. package/package.json +6 -4
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const BenefitsSectionV3: ({ content, priceCollection, sbStaticConstants }: any) => JSX.Element;
3
+ export default BenefitsSectionV3;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const BundleEntitlementValueV3: ({ content }: any) => JSX.Element;
3
+ export default BundleEntitlementValueV3;
@@ -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;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const ProductEntitlement: FC<any>;
3
+ export default ProductEntitlement;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const ProductPriceV3: ({ content, priceCollection, bundleProducts, toggleSwitch, sbStaticConstants }: any) => JSX.Element;
3
+ export default ProductPriceV3;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const ReactInputSelectV2: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<any>>;
3
+ export default ReactInputSelectV2;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const EntertainmentOptionsV2: ({ className, name, content, checked, options, setProduct, onclick, localeID, type, langSelected }: any) => JSX.Element;
3
+ export default EntertainmentOptionsV2;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const TVChannelOfferV2: ({ content, showModal, setShowModal, setEntertainment, setTvChannelName, radioValue, setRadioValue, metadata }: any) => JSX.Element;
3
+ export default TVChannelOfferV2;
@@ -1,3 +1,42 @@
1
1
  import { FC } from "react";
2
- declare const ProductTeaser: FC<any>;
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,3 @@
1
+ import { FC } from "react";
2
+ declare const BundleProductsV3: FC<any>;
3
+ export default BundleProductsV3;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { ProductContainerSchema } from './lineTable.types';
3
+ declare const ProductContainerV3: FC<ProductContainerSchema>;
4
+ export default ProductContainerV3;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { ProductTableSchema } from './lineTable.types';
3
+ declare const ProductTableV3: FC<ProductTableSchema>;
4
+ export default ProductTableV3;
@@ -0,0 +1,2 @@
1
+ export declare const fetchProductIds: (productIds: any, productList: any) => any;
2
+ export declare const fetchPrice: (product: any, isConfigurator?: boolean) => any;
@@ -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
- handleClick?: () => void;
6
+ linkAsTooltip?: boolean;
7
+ toolTipText?: string;
7
8
  }
8
9
  declare const RichText: React.FunctionComponent<RichTextSchema>;
9
10
  export default RichText;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const CarouselComponent: (props: any) => JSX.Element;
3
+ export default CarouselComponent;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const Skeletonloader: ({ stylename, count }: any) => JSX.Element;
3
+ export default Skeletonloader;