@sunrise-upc/mobile-prod-card 1.2.3 → 1.2.4-beta.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) 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 +9 -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 +56 -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/index.d.ts +1 -0
  13. package/dist/cjs/components/index.d.ts +1 -0
  14. package/dist/cjs/components/lineTable/lineTable.types.d.ts +1 -1
  15. package/dist/cjs/index.js +1 -1
  16. package/dist/esm/components/StaticLineTable/CheckoutButton.d.ts +4 -0
  17. package/dist/esm/components/StaticLineTable/DynamicPriceSection.d.ts +4 -0
  18. package/dist/esm/components/StaticLineTable/Product.utils.d.ts +9 -0
  19. package/dist/esm/components/StaticLineTable/StaticBenefit.d.ts +4 -0
  20. package/dist/esm/components/StaticLineTable/StaticLineTable.d.ts +4 -0
  21. package/dist/esm/components/StaticLineTable/StaticProduct.d.ts +4 -0
  22. package/dist/esm/components/StaticLineTable/StaticProductContainer.d.ts +4 -0
  23. package/dist/esm/components/StaticLineTable/StaticProductDatatypes.d.ts +56 -0
  24. package/dist/esm/components/StaticLineTable/StaticProductDetails.d.ts +4 -0
  25. package/dist/esm/components/StaticLineTable/StaticProductDetailsModal.d.ts +14 -0
  26. package/dist/esm/components/StaticLineTable/StaticProductEntitlement.d.ts +3 -0
  27. package/dist/esm/components/StaticLineTable/index.d.ts +1 -0
  28. package/dist/esm/components/index.d.ts +1 -0
  29. package/dist/esm/components/lineTable/lineTable.types.d.ts +1 -1
  30. package/dist/esm/index.js +1 -1
  31. package/dist/index.d.ts +11 -1
  32. 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,9 @@
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) => any;
8
+ export declare const findHeight: (tabIndex: number, cardsLength: number) => void;
9
+ export declare const combineWithSmartPhone: (showPrice: any, storyContent: any, uniqueProductData: any) => void;
@@ -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,56 @@
1
+ export interface StaticLinetableSchema {
2
+ content: any;
3
+ tabCheckCallBack?: any;
4
+ setGenericErrorModalDetails: any;
5
+ metadata: any;
6
+ loginSuccess?: boolean;
7
+ }
8
+ export interface StaticProductSchema {
9
+ content: any;
10
+ offeringData: any;
11
+ uniqueId: number | string | symbol;
12
+ storyContent: any;
13
+ metadata: any;
14
+ tabIndex: number;
15
+ cardsLength: number;
16
+ indexKey: number;
17
+ constants: any;
18
+ mainContent?: any;
19
+ }
20
+ export interface DynamicPriceSchema {
21
+ priceCollection: any;
22
+ constants: any;
23
+ promoText?: string;
24
+ }
25
+ export interface StaticProductContainerSchema {
26
+ content: any;
27
+ setGenericErrorModalDetails: any;
28
+ metadata: any;
29
+ tabIndex: number;
30
+ constants: any;
31
+ loginSuccess?: any;
32
+ activeIndex: number;
33
+ mainContent?: any;
34
+ }
35
+ export interface StaticProductDetailsSchema {
36
+ content: any;
37
+ showProductDetail: any;
38
+ setShowProductDetail: any;
39
+ constants: any;
40
+ showPrice: any;
41
+ isMobileFlow: boolean;
42
+ createCartCall: any;
43
+ storyContent: any;
44
+ }
45
+ export interface StaticBenefitsSchema {
46
+ content: any;
47
+ benefitData: any;
48
+ constants: any;
49
+ }
50
+ export interface CheckoutButtonSchema {
51
+ isMobileFlow: boolean;
52
+ createCartCall: any;
53
+ constants: any;
54
+ storyContent: any;
55
+ showPrice: any;
56
+ }
@@ -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 @@
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 {