@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.
Files changed (34) hide show
  1. package/dist/cjs/components/StaticLineTable/CheckoutButton.d.ts +4 -0
  2. package/dist/cjs/components/StaticLineTable/DynamicPriceSection.d.ts +4 -0
  3. package/dist/cjs/components/StaticLineTable/Product.utils.d.ts +10 -0
  4. package/dist/cjs/components/StaticLineTable/StaticBenefit.d.ts +4 -0
  5. package/dist/cjs/components/StaticLineTable/StaticLineTable.d.ts +4 -0
  6. package/dist/cjs/components/StaticLineTable/StaticProduct.d.ts +4 -0
  7. package/dist/cjs/components/StaticLineTable/StaticProductContainer.d.ts +4 -0
  8. package/dist/cjs/components/StaticLineTable/StaticProductDatatypes.d.ts +68 -0
  9. package/dist/cjs/components/StaticLineTable/StaticProductDetails.d.ts +4 -0
  10. package/dist/cjs/components/StaticLineTable/StaticProductDetailsModal.d.ts +14 -0
  11. package/dist/cjs/components/StaticLineTable/StaticProductEntitlement.d.ts +3 -0
  12. package/dist/cjs/components/StaticLineTable/TVChannelModal.d.ts +3 -0
  13. package/dist/cjs/components/StaticLineTable/index.d.ts +1 -0
  14. package/dist/cjs/components/index.d.ts +1 -0
  15. package/dist/cjs/components/lineTable/lineTable.types.d.ts +1 -1
  16. package/dist/cjs/index.js +1 -1
  17. package/dist/esm/components/StaticLineTable/CheckoutButton.d.ts +4 -0
  18. package/dist/esm/components/StaticLineTable/DynamicPriceSection.d.ts +4 -0
  19. package/dist/esm/components/StaticLineTable/Product.utils.d.ts +10 -0
  20. package/dist/esm/components/StaticLineTable/StaticBenefit.d.ts +4 -0
  21. package/dist/esm/components/StaticLineTable/StaticLineTable.d.ts +4 -0
  22. package/dist/esm/components/StaticLineTable/StaticProduct.d.ts +4 -0
  23. package/dist/esm/components/StaticLineTable/StaticProductContainer.d.ts +4 -0
  24. package/dist/esm/components/StaticLineTable/StaticProductDatatypes.d.ts +68 -0
  25. package/dist/esm/components/StaticLineTable/StaticProductDetails.d.ts +4 -0
  26. package/dist/esm/components/StaticLineTable/StaticProductDetailsModal.d.ts +14 -0
  27. package/dist/esm/components/StaticLineTable/StaticProductEntitlement.d.ts +3 -0
  28. package/dist/esm/components/StaticLineTable/TVChannelModal.d.ts +3 -0
  29. package/dist/esm/components/StaticLineTable/index.d.ts +1 -0
  30. package/dist/esm/components/index.d.ts +1 -0
  31. package/dist/esm/components/lineTable/lineTable.types.d.ts +1 -1
  32. package/dist/esm/index.js +1 -1
  33. package/dist/index.d.ts +13 -1
  34. package/package.json +1 -1
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { CheckoutButtonSchema } from './StaticProductDatatypes';
3
+ declare const CheckoutButton: FC<CheckoutButtonSchema>;
4
+ export default CheckoutButton;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { DynamicPriceSchema } from './StaticProductDatatypes';
3
+ declare const DynamicPriceSection: FC<DynamicPriceSchema>;
4
+ export default DynamicPriceSection;
@@ -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,4 @@
1
+ import { FC } from 'react';
2
+ import { StaticBenefitsSchema } from './StaticProductDatatypes';
3
+ declare const StaticBenefit: FC<StaticBenefitsSchema>;
4
+ export default StaticBenefit;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { StaticLinetableSchema } from './StaticProductDatatypes';
3
+ declare const StaticLineTable: FC<StaticLinetableSchema>;
4
+ export default StaticLineTable;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { StaticProductSchema } from './StaticProductDatatypes';
3
+ declare const StaticProduct: FC<StaticProductSchema>;
4
+ export default StaticProduct;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { StaticProductContainerSchema } from './StaticProductDatatypes';
3
+ declare const StaticProductContainer: FC<StaticProductContainerSchema>;
4
+ export default StaticProductContainer;
@@ -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,4 @@
1
+ import { FC } from 'react';
2
+ import { StaticProductDetailsSchema } from './StaticProductDatatypes';
3
+ declare const StaticProductDetails: FC<StaticProductDetailsSchema>;
4
+ export default StaticProductDetails;
@@ -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,3 @@
1
+ import { FC } from 'react';
2
+ declare const StaticProductEntitlement: FC<any>;
3
+ export default StaticProductEntitlement;
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ declare const TVChannelModal: FC<any>;
3
+ export default TVChannelModal;
@@ -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';
@@ -9,7 +9,7 @@ export interface ProductTableSchema {
9
9
  }
10
10
  export interface ProductRequestBase {
11
11
  id: string;
12
- checkVoucher: boolean;
12
+ checkVoucher?: boolean;
13
13
  promoIds: string[];
14
14
  }
15
15
  export interface ProductContainerSchema extends ProductTableSchema {