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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. package/dist/cjs/Analytics/AnalyticsConstants.d.ts +13 -0
  2. package/dist/cjs/components/LineCheckV3/APIResourceConstants.d.ts +8 -0
  3. package/dist/cjs/components/LineCheckV3/AutoComplete.d.ts +6 -0
  4. package/dist/cjs/components/LineCheckV3/GenericModal.d.ts +17 -0
  5. package/dist/cjs/components/LineCheckV3/IndividualLineCheck.d.ts +2 -0
  6. package/dist/cjs/components/LineCheckV3/LineCheckInput.d.ts +3 -0
  7. package/dist/cjs/components/LineCheckV3/LineCheckOverlay.d.ts +7 -0
  8. package/dist/cjs/components/LineCheckV3/LineCheckV3.d.ts +3 -0
  9. package/dist/cjs/components/LineCheckV3/LinecheckModal.d.ts +3 -0
  10. package/dist/cjs/components/LineCheckV3/LinecheckService.d.ts +10 -0
  11. package/dist/cjs/components/LineCheckV3/Success.d.ts +17 -0
  12. package/dist/cjs/components/LineCheckV3/api-constants.d.ts +1 -0
  13. package/dist/cjs/components/ProductDetailsV3/BenefitsSectionV3.d.ts +1 -0
  14. package/dist/cjs/components/ProductDetailsV3/CashBackV2/CashbackV2.d.ts +1 -0
  15. package/dist/cjs/components/ProductDetailsV3/ChooseGiftV2.d.ts +1 -0
  16. package/dist/cjs/components/ProductDetailsV3/GiftConfigV2.d.ts +1 -0
  17. package/dist/cjs/components/ProductDetailsV3/ProductPriceV3.d.ts +1 -0
  18. package/dist/cjs/components/ProductDetailsV3/tv/EntertainmentOptionsV2/EntertainmentOptionsV2.d.ts +1 -0
  19. package/dist/cjs/components/ProductDetailsV3/tv/TVChannelOfferV2.d.ts +1 -0
  20. package/dist/cjs/components/StaticLineTable/Product.utils.d.ts +1 -1
  21. package/dist/cjs/components/StickyProductAnchor/StickyProductAnchor.d.ts +1 -0
  22. package/dist/cjs/components/ToolTip/ToolTip.d.ts +1 -0
  23. package/dist/cjs/components/lineTable/OrderButton.d.ts +1 -0
  24. package/dist/cjs/components/sharedCarousel/CarouselComponent.d.ts +1 -0
  25. package/dist/cjs/components/skeletonLoader/Skeletonloader.d.ts +1 -0
  26. package/dist/cjs/index.js +8 -1
  27. package/dist/cjs/services/LinecheckBasicPropConfig.d.ts +12 -0
  28. package/dist/cjs/services/index.d.ts +1 -0
  29. package/dist/cjs/utils/AnalyticsUtils.d.ts +17 -0
  30. package/dist/cjs/utils/utils.d.ts +1 -0
  31. package/dist/esm/Analytics/AnalyticsConstants.d.ts +13 -0
  32. package/dist/esm/components/LineCheckV3/APIResourceConstants.d.ts +8 -0
  33. package/dist/esm/components/LineCheckV3/AutoComplete.d.ts +6 -0
  34. package/dist/esm/components/LineCheckV3/GenericModal.d.ts +17 -0
  35. package/dist/esm/components/LineCheckV3/IndividualLineCheck.d.ts +2 -0
  36. package/dist/esm/components/LineCheckV3/LineCheckInput.d.ts +3 -0
  37. package/dist/esm/components/LineCheckV3/LineCheckOverlay.d.ts +7 -0
  38. package/dist/esm/components/LineCheckV3/LineCheckV3.d.ts +3 -0
  39. package/dist/esm/components/LineCheckV3/LinecheckModal.d.ts +3 -0
  40. package/dist/esm/components/LineCheckV3/LinecheckService.d.ts +10 -0
  41. package/dist/esm/components/LineCheckV3/Success.d.ts +17 -0
  42. package/dist/esm/components/LineCheckV3/api-constants.d.ts +1 -0
  43. package/dist/esm/components/ProductDetailsV3/BenefitsSectionV3.d.ts +1 -0
  44. package/dist/esm/components/ProductDetailsV3/CashBackV2/CashbackV2.d.ts +1 -0
  45. package/dist/esm/components/ProductDetailsV3/ChooseGiftV2.d.ts +1 -0
  46. package/dist/esm/components/ProductDetailsV3/GiftConfigV2.d.ts +1 -0
  47. package/dist/esm/components/ProductDetailsV3/ProductPriceV3.d.ts +1 -0
  48. package/dist/esm/components/ProductDetailsV3/tv/EntertainmentOptionsV2/EntertainmentOptionsV2.d.ts +1 -0
  49. package/dist/esm/components/ProductDetailsV3/tv/TVChannelOfferV2.d.ts +1 -0
  50. package/dist/esm/components/StaticLineTable/Product.utils.d.ts +1 -1
  51. package/dist/esm/components/StickyProductAnchor/StickyProductAnchor.d.ts +1 -0
  52. package/dist/esm/components/ToolTip/ToolTip.d.ts +1 -0
  53. package/dist/esm/components/lineTable/OrderButton.d.ts +1 -0
  54. package/dist/esm/components/sharedCarousel/CarouselComponent.d.ts +1 -0
  55. package/dist/esm/components/skeletonLoader/Skeletonloader.d.ts +1 -0
  56. package/dist/esm/index.js +8 -1
  57. package/dist/esm/services/LinecheckBasicPropConfig.d.ts +12 -0
  58. package/dist/esm/services/index.d.ts +1 -0
  59. package/dist/esm/utils/AnalyticsUtils.d.ts +17 -0
  60. package/dist/esm/utils/utils.d.ts +1 -0
  61. package/dist/index.d.ts +15 -1
  62. package/package.json +4 -4
@@ -17,3 +17,16 @@ export declare const MOBILEORDER = "MOBILE_ORDER";
17
17
  export declare const HOMEORDER = "HOME_ORDER";
18
18
  export declare const MOBILESUBSCRIPTION = "Mobile Subscription Only";
19
19
  export declare const INTERNETSUBSCRIPTION = "Internet Subscription Only";
20
+ export declare const TYPE = "click";
21
+ export declare const SBLINECHECKSTART = "line_check_start";
22
+ export declare const SBLINECHECKRESULT = "line_check_results";
23
+ export declare const LINETABLERESULT = "lineCheckResult";
24
+ export declare const VIEW = "view";
25
+ export declare const LINECHECKSTART = "lineCheckStart";
26
+ export declare const CHECKADDRESS = "Check address";
27
+ export declare const LINEADDRESS = "lineTableView Address";
28
+ export declare const CHANGE = "Change";
29
+ export declare const ERRORMESSAGE = "Missing or Invalid Error";
30
+ export declare const ERRORTYPE = "error";
31
+ export declare const FIXNET = "fixnet";
32
+ export declare const AUTHCOOKIE = "sunriseAuth";
@@ -0,0 +1,8 @@
1
+ export declare const apiResConstants: {
2
+ X_SUN_CHAL: string;
3
+ CUSTOMER: string;
4
+ ADDR_ENDPOINT: string;
5
+ LINE_CHECK: string;
6
+ CONSTANTSKEYS: string;
7
+ X_SUN_SITEID: string;
8
+ };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * A candidate for common component.
3
+ */
4
+ import React from 'react';
5
+ declare const AutoComplete: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<HTMLInputElement>>;
6
+ export default AutoComplete;
@@ -0,0 +1,17 @@
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
+ noCloseButton?: boolean;
11
+ backDrop?: boolean;
12
+ fixedWidth?: string;
13
+ backgroundColor?: string;
14
+ bodyPadding?: string;
15
+ }
16
+ declare const GenericModal: ({ modalState, handler, showFooter, footerNode, children, width, height, noCloseButton, backDrop, fixedWidth, backgroundColor, bodyPadding }: GenericModalSchema) => JSX.Element;
17
+ export default GenericModal;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const IndividualLineCheck: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const LineCheckInput: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<HTMLInputElement>>;
3
+ export default LineCheckInput;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ export interface LineCheckOverlaySchema {
3
+ props: any;
4
+ productName: string;
5
+ }
6
+ declare const LineCheckOverlay: ({ props, productName, }: LineCheckOverlaySchema) => JSX.Element;
7
+ export default LineCheckOverlay;
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ declare const LineCheckV3: FC<any>;
3
+ export default LineCheckV3;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const LincheckModal: FC<any>;
3
+ export default LincheckModal;
@@ -0,0 +1,10 @@
1
+ export declare const getLineCheckService: (selectedAdd: any) => unknown;
2
+ export declare const fetchLineCheck: (payload: any) => Promise<{
3
+ corelationaId: any;
4
+ lineCheckResponse: any;
5
+ eligibleBundle: any;
6
+ maxUploadDownloadSpeed: any;
7
+ configEligibleBundle: string[];
8
+ plannedUpgrade: any;
9
+ }>;
10
+ export declare const fetchAddress: (address: any, isValid: boolean) => Promise<any>;
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ interface successInterface {
3
+ content: string | JSX.Element;
4
+ isLoading: boolean;
5
+ uploadDownload: MaxDownloadUploadSpeed | Partial<MaxDownloadUploadSpeed>;
6
+ textContent: any;
7
+ eligibleBundle: any;
8
+ tooltipcontent: string | JSX.Element;
9
+ onModemDetailsClick?: () => any;
10
+ onSuccess?: any;
11
+ }
12
+ interface MaxDownloadUploadSpeed {
13
+ maxBandwidthDown: number;
14
+ maxBandwidthUp: number;
15
+ }
16
+ declare const Success: ({ content, uploadDownload, textContent, eligibleBundle, tooltipcontent, onModemDetailsClick, onSuccess }: successInterface) => JSX.Element;
17
+ export default Success;
@@ -0,0 +1 @@
1
+ export declare const API_BASE_BASEPOINT: any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const BenefitsSectionV3: ({ content, priceCollection, sbStaticConstants }: any) => JSX.Element;
2
3
  export default BenefitsSectionV3;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const CashbackV2: ({ content }: any) => JSX.Element;
2
3
  export default CashbackV2;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const ChooseGift: ({ content, selectedGiftItem, parentPoType }: any) => JSX.Element;
2
3
  export default ChooseGift;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const GiftConfigV2: ({ content }: any) => JSX.Element;
2
3
  export default GiftConfigV2;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const ProductPriceV3: ({ content, priceCollection, toggleSwitch, sbStaticConstants }: any) => JSX.Element;
2
3
  export default ProductPriceV3;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const EntertainmentOptionsV2: ({ className, name, content, checked, options, setProduct, onclick, localeID, type, langSelected }: any) => JSX.Element;
2
3
  export default EntertainmentOptionsV2;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const TVChannelOfferV2: ({ content, showModal, setShowModal, setEntertainment, setTvChannelName, radioValue, setRadioValue, metadata }: any) => JSX.Element;
2
3
  export default TVChannelOfferV2;
@@ -4,7 +4,7 @@ export declare const checkGiftOrCashback: (data: any) => any;
4
4
  export declare const staticCreateCart: (setShowLoader: {
5
5
  (value: SetStateAction<boolean>): void;
6
6
  (arg0: boolean): void;
7
- }, cartEndPoint: string, giftItem: any, uniqueProductData: any, mainContent: any, showPrice: any, isMobileFlow: boolean, radioValue: any, eligibleBundle: any, address: any, setShowLinecheck: any) => any;
7
+ }, cartEndPoint: string, giftItem: any, uniqueProductData: any, mainContent: any, showPrice: any, isMobileFlow: boolean, radioValue: any, eligibleBundle: any, address: any, setShowLinecheck: any, showLinecheck: any) => any;
8
8
  export declare const findHeight: (tabIndex: number, cardsLength: number) => void;
9
9
  export declare const combineWithSmartPhone: (showPrice: any, storyContent: any, uniqueProductData: any) => void;
10
10
  export declare const fetchServiceOptions: (entitlement: any, isMobileFlow: boolean) => any;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const StickyProductAnchor: ({ content, offerData, lineCheckCallBack }: any) => JSX.Element;
2
3
  export default StickyProductAnchor;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const ToolTip: ({ content, tooltipClass, isBenefit }: any) => JSX.Element;
2
3
  export default ToolTip;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const OrderButton: ({ content, isMobileFlow, sbStaticConstants, address, isAvailable, showPrice, createCartCall, updatedContent }: any) => JSX.Element;
2
3
  export default OrderButton;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const CarouselComponent: (props: any) => JSX.Element;
2
3
  export default CarouselComponent;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Skeletonloader: ({ count, stylename }: any) => JSX.Element;
2
3
  export default Skeletonloader;