@sunrise-upc/mobile-prod-card 8.2.1 → 8.2.2-beta.1

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 (144) hide show
  1. package/dist/cjs/components/BenefitWrapper/BenefitValidate.d.ts +2 -2
  2. package/dist/cjs/components/BenefitWrapper/BenefitWrapper.d.ts +2 -2
  3. package/dist/cjs/components/BenefitWrapper/BenefitsValidateWrapper.d.ts +1 -1
  4. package/dist/cjs/components/DeviceCardWrapper/DeviceCards/DeviceCards.d.ts +4 -0
  5. package/dist/cjs/components/DeviceCardWrapper/DeviceCards/index.d.ts +1 -0
  6. package/dist/cjs/components/DeviceCardWrapper/DevicePrice/DevicePrice.d.ts +4 -0
  7. package/dist/cjs/components/DeviceCardWrapper/DevicePriceWrapper/DevicePriceWrapper.d.ts +4 -0
  8. package/dist/cjs/components/DeviceCardWrapper/DevicePriceWrapper/DevicePriceWrapper.types.d.ts +11 -0
  9. package/dist/cjs/components/FalconButtonV2/FalconButtonV2.d.ts +1 -1
  10. package/dist/cjs/components/FalconMessage/FalconMessage.d.ts +1 -1
  11. package/dist/cjs/components/Gift/ChooseGiftV2.d.ts +3 -0
  12. package/dist/cjs/components/Gift/GiftConfigV2.d.ts +3 -0
  13. package/dist/cjs/components/LineCheckV3/AutoComplete.d.ts +1 -1
  14. package/dist/cjs/components/LineCheckV3/GenericModal.d.ts +1 -1
  15. package/dist/cjs/components/LineCheckV3/IndividualLineCheck.d.ts +1 -1
  16. package/dist/cjs/components/LineCheckV3/LineCheckInput.d.ts +1 -1
  17. package/dist/cjs/components/LineCheckV3/LineCheckOverlay.d.ts +1 -1
  18. package/dist/cjs/components/LineCheckV3/Success.d.ts +1 -1
  19. package/dist/cjs/components/NewLineCheck/AdvanceSearch.d.ts +2 -2
  20. package/dist/cjs/components/NewLineCheck/GenericModal.d.ts +1 -1
  21. package/dist/cjs/components/NewLineCheck/NewLCInput.d.ts +2 -2
  22. package/dist/cjs/components/NewLineCheck/SuccessCoverage.d.ts +2 -2
  23. package/dist/cjs/components/PretoPost/PreToPostSubsPopup.d.ts +1 -1
  24. package/dist/cjs/components/ProductDetailsV3/BenefitsSectionV3.d.ts +1 -1
  25. package/dist/cjs/components/ProductDetailsV3/CashBackV2/CashbackV2.d.ts +1 -1
  26. package/dist/cjs/components/ProductDetailsV3/ChooseGiftV2.d.ts +1 -1
  27. package/dist/cjs/components/ProductDetailsV3/GiftConfigV2.d.ts +1 -1
  28. package/dist/cjs/components/ProductDetailsV3/ProductPriceV3.d.ts +1 -1
  29. package/dist/cjs/components/ProductDetailsV3/ReactInputSelectV2/ReactInputSelectV2.d.ts +17 -1
  30. package/dist/cjs/components/ProductDetailsV3/tv/EntertainmentOptionsV2/EntertainmentOptionsV2.d.ts +1 -1
  31. package/dist/cjs/components/ProductDetailsV3/tv/TVChannelOfferV2.d.ts +1 -1
  32. package/dist/cjs/components/ProgressionBar/ProgressionBar.d.ts +1 -1
  33. package/dist/cjs/components/ReactInputSelect/ReactInputSelect.d.ts +16 -1
  34. package/dist/cjs/components/ResponsiveRow/row.d.ts +1 -1
  35. package/dist/cjs/components/StaticLineTable/ExsistingSubscriptionCards.d.ts +1 -1
  36. package/dist/cjs/components/StaticLineTable/ExsistingSubscriptionModal.d.ts +1 -1
  37. package/dist/cjs/components/StaticLineTable/OttServiceOptions/OttServiceOptionsPopup.d.ts +2 -2
  38. package/dist/cjs/components/StaticLineTable/OttServiceOptions/OttServiceOptionsSmallPopup.d.ts +2 -2
  39. package/dist/cjs/components/StaticLineTable/StaticLineTableStore/StaticLineTableProvider.d.ts +1 -1
  40. package/dist/cjs/components/StaticLineTable/StaticProductDatatypes.d.ts +0 -1
  41. package/dist/cjs/components/StaticLineTable/TvOptionsContainer.d.ts +2 -2
  42. package/dist/cjs/components/StickyProductAnchor/StickyProductAnchor.d.ts +2 -2
  43. package/dist/cjs/components/ToolTip/ToolTip.d.ts +1 -1
  44. package/dist/cjs/components/UltimateBundleLinetable/DpLinetableContainer.d.ts +2 -2
  45. package/dist/cjs/components/UltimateBundleLinetable/DpProduct.d.ts +2 -2
  46. package/dist/cjs/components/UltimateBundleLinetable/DpTabContainer.d.ts +2 -2
  47. package/dist/cjs/components/UltimateBundleLinetable/DpTableDeviceSection/DpTableDeviceSection.d.ts +2 -2
  48. package/dist/cjs/components/UltimateBundleLinetable/DpTableFlexSection/DpTableFlexSection.d.ts +2 -2
  49. package/dist/cjs/components/UltimateBundleLinetable/DpTableMobileSection/DpTableMobileSection.d.ts +2 -2
  50. package/dist/cjs/components/UltimateBundleLinetable/checkoutRedirectionPopup/checkoutRedirectionPopup.d.ts +2 -2
  51. package/dist/cjs/components/UserLoggedPricesToggle/UserLoggedPricesToggle.d.ts +1 -1
  52. package/dist/cjs/components/freshProductBanner/FreshProductDetails.d.ts +4 -0
  53. package/dist/cjs/components/freshProductBanner/ProductDetailsModal.d.ts +15 -0
  54. package/dist/cjs/components/freshProductBanner/Timer/ExpiredTimer.d.ts +19 -0
  55. package/dist/cjs/components/freshProductBanner/Timer/Timer.d.ts +31 -0
  56. package/dist/cjs/components/freshProductBanner/Timer/Timer.types.d.ts +5 -0
  57. package/dist/cjs/components/freshProductBanner/Timer/util.d.ts +4 -0
  58. package/dist/cjs/components/freshProductBanner/freshBanner.types.d.ts +30 -0
  59. package/dist/cjs/components/freshProductBanner/freshProductBanner.d.ts +5 -0
  60. package/dist/cjs/components/freshProductBanner/offerResponse.d.ts +130 -0
  61. package/dist/cjs/components/index.d.ts +2 -0
  62. package/dist/cjs/components/lineTable/OrderButton.d.ts +1 -1
  63. package/dist/cjs/components/sharedCarousel/CarouselComponent.d.ts +1 -1
  64. package/dist/cjs/components/skeletonLoader/Skeletonloader.d.ts +1 -1
  65. package/dist/cjs/index.js +3 -3
  66. package/dist/cjs/services/DevicePropConfig.d.ts +12 -0
  67. package/dist/cjs/services/DeviceService.d.ts +11 -0
  68. package/dist/cjs/services/LineTableService.d.ts +1 -0
  69. package/dist/cjs/services/index.d.ts +2 -0
  70. package/dist/cjs/utils/DeviceUtils.d.ts +2 -0
  71. package/dist/cjs/utils/constants.d.ts +16 -0
  72. package/dist/esm/components/BenefitWrapper/BenefitValidate.d.ts +2 -2
  73. package/dist/esm/components/BenefitWrapper/BenefitWrapper.d.ts +2 -2
  74. package/dist/esm/components/BenefitWrapper/BenefitsValidateWrapper.d.ts +1 -1
  75. package/dist/esm/components/DeviceCardWrapper/DeviceCards/DeviceCards.d.ts +4 -0
  76. package/dist/esm/components/DeviceCardWrapper/DeviceCards/index.d.ts +1 -0
  77. package/dist/esm/components/DeviceCardWrapper/DevicePrice/DevicePrice.d.ts +4 -0
  78. package/dist/esm/components/DeviceCardWrapper/DevicePriceWrapper/DevicePriceWrapper.d.ts +4 -0
  79. package/dist/esm/components/DeviceCardWrapper/DevicePriceWrapper/DevicePriceWrapper.types.d.ts +11 -0
  80. package/dist/esm/components/FalconButtonV2/FalconButtonV2.d.ts +1 -1
  81. package/dist/esm/components/FalconMessage/FalconMessage.d.ts +1 -1
  82. package/dist/esm/components/Gift/ChooseGiftV2.d.ts +3 -0
  83. package/dist/esm/components/Gift/GiftConfigV2.d.ts +3 -0
  84. package/dist/esm/components/LineCheckV3/AutoComplete.d.ts +1 -1
  85. package/dist/esm/components/LineCheckV3/GenericModal.d.ts +1 -1
  86. package/dist/esm/components/LineCheckV3/IndividualLineCheck.d.ts +1 -1
  87. package/dist/esm/components/LineCheckV3/LineCheckInput.d.ts +1 -1
  88. package/dist/esm/components/LineCheckV3/LineCheckOverlay.d.ts +1 -1
  89. package/dist/esm/components/LineCheckV3/Success.d.ts +1 -1
  90. package/dist/esm/components/NewLineCheck/AdvanceSearch.d.ts +2 -2
  91. package/dist/esm/components/NewLineCheck/GenericModal.d.ts +1 -1
  92. package/dist/esm/components/NewLineCheck/NewLCInput.d.ts +2 -2
  93. package/dist/esm/components/NewLineCheck/SuccessCoverage.d.ts +2 -2
  94. package/dist/esm/components/PretoPost/PreToPostSubsPopup.d.ts +1 -1
  95. package/dist/esm/components/ProductDetailsV3/BenefitsSectionV3.d.ts +1 -1
  96. package/dist/esm/components/ProductDetailsV3/CashBackV2/CashbackV2.d.ts +1 -1
  97. package/dist/esm/components/ProductDetailsV3/ChooseGiftV2.d.ts +1 -1
  98. package/dist/esm/components/ProductDetailsV3/GiftConfigV2.d.ts +1 -1
  99. package/dist/esm/components/ProductDetailsV3/ProductPriceV3.d.ts +1 -1
  100. package/dist/esm/components/ProductDetailsV3/ReactInputSelectV2/ReactInputSelectV2.d.ts +17 -1
  101. package/dist/esm/components/ProductDetailsV3/tv/EntertainmentOptionsV2/EntertainmentOptionsV2.d.ts +1 -1
  102. package/dist/esm/components/ProductDetailsV3/tv/TVChannelOfferV2.d.ts +1 -1
  103. package/dist/esm/components/ProgressionBar/ProgressionBar.d.ts +1 -1
  104. package/dist/esm/components/ReactInputSelect/ReactInputSelect.d.ts +16 -1
  105. package/dist/esm/components/ResponsiveRow/row.d.ts +1 -1
  106. package/dist/esm/components/StaticLineTable/ExsistingSubscriptionCards.d.ts +1 -1
  107. package/dist/esm/components/StaticLineTable/ExsistingSubscriptionModal.d.ts +1 -1
  108. package/dist/esm/components/StaticLineTable/OttServiceOptions/OttServiceOptionsPopup.d.ts +2 -2
  109. package/dist/esm/components/StaticLineTable/OttServiceOptions/OttServiceOptionsSmallPopup.d.ts +2 -2
  110. package/dist/esm/components/StaticLineTable/StaticLineTableStore/StaticLineTableProvider.d.ts +1 -1
  111. package/dist/esm/components/StaticLineTable/StaticProductDatatypes.d.ts +0 -1
  112. package/dist/esm/components/StaticLineTable/TvOptionsContainer.d.ts +2 -2
  113. package/dist/esm/components/StickyProductAnchor/StickyProductAnchor.d.ts +2 -2
  114. package/dist/esm/components/ToolTip/ToolTip.d.ts +1 -1
  115. package/dist/esm/components/UltimateBundleLinetable/DpLinetableContainer.d.ts +2 -2
  116. package/dist/esm/components/UltimateBundleLinetable/DpProduct.d.ts +2 -2
  117. package/dist/esm/components/UltimateBundleLinetable/DpTabContainer.d.ts +2 -2
  118. package/dist/esm/components/UltimateBundleLinetable/DpTableDeviceSection/DpTableDeviceSection.d.ts +2 -2
  119. package/dist/esm/components/UltimateBundleLinetable/DpTableFlexSection/DpTableFlexSection.d.ts +2 -2
  120. package/dist/esm/components/UltimateBundleLinetable/DpTableMobileSection/DpTableMobileSection.d.ts +2 -2
  121. package/dist/esm/components/UltimateBundleLinetable/checkoutRedirectionPopup/checkoutRedirectionPopup.d.ts +2 -2
  122. package/dist/esm/components/UserLoggedPricesToggle/UserLoggedPricesToggle.d.ts +1 -1
  123. package/dist/esm/components/freshProductBanner/FreshProductDetails.d.ts +4 -0
  124. package/dist/esm/components/freshProductBanner/ProductDetailsModal.d.ts +15 -0
  125. package/dist/esm/components/freshProductBanner/Timer/ExpiredTimer.d.ts +19 -0
  126. package/dist/esm/components/freshProductBanner/Timer/Timer.d.ts +31 -0
  127. package/dist/esm/components/freshProductBanner/Timer/Timer.types.d.ts +5 -0
  128. package/dist/esm/components/freshProductBanner/Timer/util.d.ts +4 -0
  129. package/dist/esm/components/freshProductBanner/freshBanner.types.d.ts +30 -0
  130. package/dist/esm/components/freshProductBanner/freshProductBanner.d.ts +5 -0
  131. package/dist/esm/components/freshProductBanner/offerResponse.d.ts +130 -0
  132. package/dist/esm/components/index.d.ts +2 -0
  133. package/dist/esm/components/lineTable/OrderButton.d.ts +1 -1
  134. package/dist/esm/components/sharedCarousel/CarouselComponent.d.ts +1 -1
  135. package/dist/esm/components/skeletonLoader/Skeletonloader.d.ts +1 -1
  136. package/dist/esm/index.js +3 -3
  137. package/dist/esm/services/DevicePropConfig.d.ts +12 -0
  138. package/dist/esm/services/DeviceService.d.ts +11 -0
  139. package/dist/esm/services/LineTableService.d.ts +1 -0
  140. package/dist/esm/services/index.d.ts +2 -0
  141. package/dist/esm/utils/DeviceUtils.d.ts +2 -0
  142. package/dist/esm/utils/constants.d.ts +16 -0
  143. package/dist/index.d.ts +68 -22
  144. package/package.json +12 -12
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const BenefitsValidate: ({ content, authData, loginContent, metadata, afterLoginContent, createCartCall, extraContent, basicConfigUrl, selectedExistingOption, setShowBenefit, setLoginSuccess, isProdEnv }: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const BenefitsValidate: ({ content, authData, loginContent, metadata, afterLoginContent, createCartCall, extraContent, basicConfigUrl, selectedExistingOption, setShowBenefit, setLoginSuccess, isProdEnv }: any) => React.JSX.Element;
3
3
  export default BenefitsValidate;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const BenefitWrapper: ({ content, metadata, setGenericErrorModalDetails, loginSuccess, basicConfigUrl, setLoginSuccess, isProdEnv, }: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const BenefitWrapper: ({ content, metadata, setGenericErrorModalDetails, loginSuccess, basicConfigUrl, setLoginSuccess, isProdEnv, }: any) => React.JSX.Element;
3
3
  export default BenefitWrapper;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import { JSX } from 'react';
2
2
  declare const BenefitsValidateWrapper: ({ content, loginContent, metadata, createCartCall, fetchOfferData, basicConfigUrl, selectedExistingOption, setShowBenefit, setLoginSuccess, isProdEnv }: any) => JSX.Element;
3
3
  export default BenefitsValidateWrapper;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import './DeviceCards.css';
3
+ declare const DeviceCards: FC<any>;
4
+ export default DeviceCards;
@@ -0,0 +1 @@
1
+ export { default } from './DeviceCards';
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import './DevicePrice.css';
3
+ declare const DevicePrice: FC<any>;
4
+ export default DevicePrice;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import './DevicePriceWrapper.css';
3
+ declare const DevicePriceWrapper: FC<any>;
4
+ export default DevicePriceWrapper;
@@ -0,0 +1,11 @@
1
+ import { JSX } from "react";
2
+ export interface DevicePriceCollectionSchema {
3
+ discount?: boolean;
4
+ discountedPrice?: number;
5
+ actualPrice?: number;
6
+ durationDetails?: JSX.Element | null;
7
+ totalDiscount?: number;
8
+ totalActual?: number;
9
+ totalPriceText?: string;
10
+ priceTerm?: string;
11
+ }
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import { JSX } from 'react';
2
2
  declare const FalconButtonV2: ({ content, className, icon, iconClass, isLoading, wafIdentifier, ...restProps }: any) => JSX.Element;
3
3
  export default FalconButtonV2;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import { JSX } from 'react';
2
2
  import { Asset, ComponentWithContentProps, GenericSBProps } from '../types';
3
3
  import { FalconMessageTypes } from '../../utils/data-source';
4
4
  export interface SuccessMessageSchema extends GenericSBProps {
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ declare const ChooseGift: ({ content, selectedGiftItem, parentPoType }: any) => JSX.Element;
3
+ export default ChooseGift;
@@ -0,0 +1,3 @@
1
+ import { JSX } from 'react';
2
+ declare const GiftConfigV2: ({ content }: any) => JSX.Element;
3
+ export default GiftConfigV2;
@@ -2,5 +2,5 @@
2
2
  * A candidate for common component.
3
3
  */
4
4
  import React from 'react';
5
- declare const AutoComplete: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<HTMLInputElement>>;
5
+ declare const AutoComplete: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLInputElement>>;
6
6
  export default AutoComplete;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { JSX } from 'react';
2
2
  interface GenericModalSchema {
3
3
  modalState: boolean;
4
4
  handler: () => void;
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare const IndividualLineCheck: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<HTMLInputElement>>;
2
+ export declare const IndividualLineCheck: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLInputElement>>;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- declare const LineCheckInput: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<HTMLInputElement>>;
2
+ declare const LineCheckInput: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLInputElement>>;
3
3
  export default LineCheckInput;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import { JSX } from 'react';
2
2
  export interface LineCheckOverlaySchema {
3
3
  props: any;
4
4
  productName: string;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import { JSX } from 'react';
2
2
  interface successInterface {
3
3
  content: string | JSX.Element;
4
4
  isLoading: boolean;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const AdvanceSearch: ({ content, setAdvData, advData, setLcData, lcData }: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const AdvanceSearch: ({ content, setAdvData, advData, setLcData, lcData }: any) => React.JSX.Element;
3
3
  export default AdvanceSearch;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { JSX } from 'react';
2
2
  interface GenericModalSchema {
3
3
  modalState: boolean;
4
4
  handler: () => void;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const NewLCInput: ({ content, setLcData, lcData, advData, setAdvData }: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const NewLCInput: ({ content, setLcData, lcData, advData, setAdvData }: any) => React.JSX.Element;
3
3
  export default NewLCInput;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const SuccessCoverage: ({ content, data, lcData, setLcData, advData, desktopOverlay, mobileOverlay, handleModal, setAdvData, productName, lineCheckOnClear, onCreateCart, isModal, setShowModal, productId }: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const SuccessCoverage: ({ content, data, lcData, setLcData, advData, desktopOverlay, mobileOverlay, handleModal, setAdvData, productName, lineCheckOnClear, onCreateCart, isModal, setShowModal, productId }: any) => React.JSX.Element;
3
3
  export default SuccessCoverage;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import { JSX } from 'react';
2
2
  declare const PreToPostSubsPopup: ({ onClose, content, prepaid, }: any) => JSX.Element;
3
3
  export default PreToPostSubsPopup;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import { JSX } from 'react';
2
2
  declare const BenefitsSectionV3: ({ content, priceCollection, sbStaticConstants }: any) => JSX.Element;
3
3
  export default BenefitsSectionV3;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import { JSX } from 'react';
2
2
  declare const CashbackV2: ({ content }: any) => JSX.Element;
3
3
  export default CashbackV2;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import { JSX } from 'react';
2
2
  declare const ChooseGift: ({ content, selectedGiftItem, parentPoType }: any) => JSX.Element;
3
3
  export default ChooseGift;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import { JSX } from 'react';
2
2
  declare const GiftConfigV2: ({ content }: any) => JSX.Element;
3
3
  export default GiftConfigV2;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import { JSX } from 'react';
2
2
  declare const ProductPriceV3: ({ content, priceCollection, toggleSwitch, sbStaticConstants }: any) => JSX.Element;
3
3
  export default ProductPriceV3;
@@ -1,3 +1,19 @@
1
1
  import React from 'react';
2
- declare const ReactInputSelectV2: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<any>>;
2
+ interface ReactInputSelectSchema {
3
+ name: string;
4
+ options: any[];
5
+ content: any;
6
+ optionsLabel?: string;
7
+ optionsValue?: string;
8
+ defaultValue: string;
9
+ disableValues?: string[];
10
+ isDisabled?: boolean;
11
+ onChange?: (value: any) => void;
12
+ isSearchable: boolean;
13
+ isClearable: boolean;
14
+ updateValue?: string;
15
+ valueContainerVarient?: string;
16
+ optionsContainerVarient?: string;
17
+ }
18
+ declare const ReactInputSelectV2: React.ForwardRefExoticComponent<ReactInputSelectSchema & React.RefAttributes<any>>;
3
19
  export default ReactInputSelectV2;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import { JSX } from 'react';
2
2
  declare const EntertainmentOptionsV2: ({ className, name, content, checked, options, setProduct, onclick, localeID, type, langSelected }: any) => JSX.Element;
3
3
  export default EntertainmentOptionsV2;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import { JSX } from 'react';
2
2
  declare const TVChannelOfferV2: ({ content, showModal, setShowModal, setEntertainment, setTvChannelName, radioValue, setRadioValue, metadata }: any) => JSX.Element;
3
3
  export default TVChannelOfferV2;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import { JSX } from 'react';
2
2
  type ProgressionBarProps = {
3
3
  step: number;
4
4
  steps: any[];
@@ -1,3 +1,18 @@
1
1
  import React from 'react';
2
- declare const ReactInputSelect: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<any>>;
2
+ interface ReactInputSelectSchema {
3
+ name: string;
4
+ options: any[];
5
+ content: any;
6
+ optionsLabel?: string;
7
+ optionsValue?: string;
8
+ defaultValue: any;
9
+ disableValues?: string[];
10
+ autoSelectValueFromOptions?: boolean;
11
+ disabled?: boolean;
12
+ onChange?: (value: any) => void;
13
+ onSaveClicked?: boolean;
14
+ menuPlacement?: 'bottom' | 'top' | 'auto';
15
+ loginIcons?: any;
16
+ }
17
+ declare const ReactInputSelect: React.ForwardRefExoticComponent<ReactInputSelectSchema & React.RefAttributes<any>>;
3
18
  export default ReactInputSelect;
@@ -1,4 +1,4 @@
1
- import { FC } from 'react';
1
+ import { FC, JSX } from 'react';
2
2
  import './row.css';
3
3
  interface RowInterface {
4
4
  children: JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import { JSX } from 'react';
2
2
  interface ExistingSubscriptionSchema {
3
3
  name?: string;
4
4
  subscriptionData: any;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import { JSX } from 'react';
2
2
  interface ExsistingModalSchema {
3
3
  exsistingSubscriptionData: any;
4
4
  onSubmit?: any;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const OttServiceOptionsPopup: ({ content, showPopup, setShowPopup, addOptionsCallBack, metadata, constants, mainContent, preSelectedOptions, optionsResponse, updateResponseList }: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const OttServiceOptionsPopup: ({ content, showPopup, setShowPopup, addOptionsCallBack, metadata, constants, mainContent, preSelectedOptions, optionsResponse, updateResponseList }: any) => React.JSX.Element;
3
3
  export default OttServiceOptionsPopup;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  interface OttServiceOptionsSmallPopupProps {
3
3
  content: any;
4
4
  addOptionsCallBack: (option?: any[] | undefined) => void;
@@ -14,5 +14,5 @@ interface OttServiceOptionsSmallPopupProps {
14
14
  uniqueId?: any;
15
15
  deviceFlow?: any;
16
16
  }
17
- declare const OttServiceOptionsSmallPopup: ({ content, addOptionsCallBack, metadata, constants, mainContent, preSelectedOptions, optionsResponse, updateResponseList, showPrice, productData, offeringData, uniqueId, deviceFlow }: OttServiceOptionsSmallPopupProps) => JSX.Element;
17
+ declare const OttServiceOptionsSmallPopup: ({ content, addOptionsCallBack, metadata, constants, mainContent, preSelectedOptions, optionsResponse, updateResponseList, showPrice, productData, offeringData, uniqueId, deviceFlow }: OttServiceOptionsSmallPopupProps) => React.JSX.Element;
18
18
  export default OttServiceOptionsSmallPopup;
@@ -17,5 +17,5 @@ export declare const actionTypes: {
17
17
  ottOptionsApi: string;
18
18
  };
19
19
  export declare const AppContext: React.Context<AppContextType | undefined>;
20
- declare const StaticLineTableProvider: ({ children }: AppProviderSchema) => JSX.Element;
20
+ declare const StaticLineTableProvider: ({ children }: AppProviderSchema) => React.JSX.Element;
21
21
  export default StaticLineTableProvider;
@@ -134,7 +134,6 @@ export interface CheckoutButtonSchema {
134
134
  uniqueProductBenefits?: any;
135
135
  flexUpgradeFreePopup?: any;
136
136
  content?: any;
137
- deviceUltimateBundle?: boolean;
138
137
  }
139
138
  export interface toggleContentSchema {
140
139
  enableLoggedInPrice: string;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const TvOptionsContainer: ({ content, constants, metadata, setTvOptionsData }: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const TvOptionsContainer: ({ content, constants, metadata, setTvOptionsData }: any) => React.JSX.Element;
3
3
  export default TvOptionsContainer;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const StickyProductAnchor: ({ content, offerData, lineCheckCallBack }: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const StickyProductAnchor: ({ content, offerData, lineCheckCallBack }: any) => React.JSX.Element;
3
3
  export default StickyProductAnchor;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import { JSX } from 'react';
2
2
  declare const ToolTip: ({ content, heading, tooltipClass, isBenefit }: any) => JSX.Element;
3
3
  export default ToolTip;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const DpLinetableContainer: ({ content, metadata, isProdEnv }: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const DpLinetableContainer: ({ content, metadata, isProdEnv }: any) => React.JSX.Element;
3
3
  export default DpLinetableContainer;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const DpProduct: ({ productData, mainContent, tabIndex, indexKey, cardsLength, offerDataList, activeTab, deviceModelsList, deviceDetailsList, fetchDeviceDetails, metadata, isProdEnv }: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const DpProduct: ({ productData, mainContent, tabIndex, indexKey, cardsLength, offerDataList, activeTab, deviceModelsList, deviceDetailsList, fetchDeviceDetails, metadata, isProdEnv }: any) => React.JSX.Element;
3
3
  export default DpProduct;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const DpTabContainer: ({ tabData, tabIndex, mainContent, activeTab, metadata, isProdEnv }: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const DpTabContainer: ({ tabData, tabIndex, mainContent, activeTab, metadata, isProdEnv }: any) => React.JSX.Element;
3
3
  export default DpTabContainer;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const DpTableDeviceSection: ({ productData, mainContent, activeTab, tabIndex, indexKey, cardsLength, deviceModelsList, deviceDetailsList, setDeviceDetails, fetchDeviceDetails }: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const DpTableDeviceSection: ({ productData, mainContent, activeTab, tabIndex, indexKey, cardsLength, deviceModelsList, deviceDetailsList, setDeviceDetails, fetchDeviceDetails }: any) => React.JSX.Element;
3
3
  export default DpTableDeviceSection;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const DpTableFlexSection: ({ productData, mainContent, selectedDeviceDetails, tabIndex, indexKey, cardsLength, activeTab }: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const DpTableFlexSection: ({ productData, mainContent, selectedDeviceDetails, tabIndex, indexKey, cardsLength, activeTab }: any) => React.JSX.Element;
3
3
  export default DpTableFlexSection;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const DpTableMobileSection: ({ productData, mainContent, offerDataList, tabIndex, indexKey, cardsLength }: any) => JSX.Element;
1
+ import React from 'react';
2
+ declare const DpTableMobileSection: ({ productData, mainContent, offerDataList, tabIndex, indexKey, cardsLength }: any) => React.JSX.Element;
3
3
  export default DpTableMobileSection;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  interface LoginPopupSchema {
3
3
  content: any;
4
4
  metadata: any;
@@ -9,5 +9,5 @@ interface LoginPopupSchema {
9
9
  onLoginSuccessRedirection?: any;
10
10
  isProdEnv?: boolean;
11
11
  }
12
- declare const checkoutRedirectionPopup: ({ content, metadata, wafIdentifier, togglePopup, isOpen, validation, onLoginSuccessRedirection, isProdEnv }: LoginPopupSchema) => JSX.Element;
12
+ declare const checkoutRedirectionPopup: ({ content, metadata, wafIdentifier, togglePopup, isOpen, validation, onLoginSuccessRedirection, isProdEnv }: LoginPopupSchema) => React.JSX.Element;
13
13
  export default checkoutRedirectionPopup;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import { JSX } from 'react';
2
2
  interface UserLoggedPricesToggleProps {
3
3
  content: any;
4
4
  index: number;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './freshBanner.css';
3
+ declare const FreshProductDetails: ({ click, setClick, buttonLabel, content, priceSection, combineWithSmartphone, callCart, from, shoppingCart }: any) => React.JSX.Element;
4
+ export default FreshProductDetails;
@@ -0,0 +1,15 @@
1
+ import React, { JSX } 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
+ backButton?: string;
13
+ }
14
+ declare const ProductDetailsModal: ({ modalState, handler, showFooter, footerNode, children, width, height, noCloseButton, backButton, }: GenericModalSchema) => JSX.Element;
15
+ export default ProductDetailsModal;
@@ -0,0 +1,19 @@
1
+ import { JSX } from 'react';
2
+ import './TimerStyles.css';
3
+ import { NativeColorPicker } from './Timer.types';
4
+ interface RibbonComponentExpiredTimerSchema {
5
+ timerColor: string;
6
+ backgroundColor: string;
7
+ expiryLabel: string;
8
+ timerAlignment: string;
9
+ dayLabel: string;
10
+ hourLabel: string;
11
+ minuteLabel: string;
12
+ secondLabel: string;
13
+ expiryLabelColor: NativeColorPicker;
14
+ }
15
+ interface Expiry {
16
+ content: RibbonComponentExpiredTimerSchema;
17
+ }
18
+ declare const RibbonComponentExpiredTimer: ({ content }: Expiry) => JSX.Element;
19
+ export default RibbonComponentExpiredTimer;
@@ -0,0 +1,31 @@
1
+ import { JSX } from "react";
2
+ import "./TimerStyles.css";
3
+ import { NativeColorPicker } from "./Timer.types";
4
+ export interface TimerSchema {
5
+ startTime: string;
6
+ endTime: string;
7
+ colorChangeTime?: string;
8
+ expiryLabel: string;
9
+ timerColor?: string;
10
+ backgroundColor: string;
11
+ timerAlignment: string;
12
+ dayLabel: string;
13
+ hourLabel: string;
14
+ minuteLabel: string;
15
+ secondLabel: string;
16
+ mainHeading: string;
17
+ expiryLabelColor: NativeColorPicker;
18
+ enableCounter: boolean;
19
+ isDarkMode?: boolean;
20
+ }
21
+ interface Timer {
22
+ content: TimerSchema;
23
+ }
24
+ export interface timeleft {
25
+ days: string;
26
+ hours: string;
27
+ mins: string;
28
+ sec: string;
29
+ }
30
+ declare const Timer: ({ content }: Timer) => JSX.Element;
31
+ export default Timer;
@@ -0,0 +1,5 @@
1
+ export declare interface NativeColorPicker {
2
+ color: string;
3
+ plugin: string;
4
+ _uid: string;
5
+ }
@@ -0,0 +1,4 @@
1
+ export declare const dateWithTimeZone: (timeZone: string, year: number, month: number, day: number, hour: number, minute: number, second: number) => Date;
2
+ export declare const calculateDateTime: (dateObj: Date) => Date;
3
+ export declare const CheckTime: (content: any, timer: any, setIsTimerActive: any) => void;
4
+ export declare const getCookies: (cname: string) => any;
@@ -0,0 +1,30 @@
1
+ import { Asset } from "../types";
2
+ export interface FreshBannerProps {
3
+ image: Asset;
4
+ }
5
+ export interface AuthDataSchema {
6
+ firstName: string;
7
+ lastName: string;
8
+ personalisedName?: string;
9
+ authenticationtype: string;
10
+ hashedId: string;
11
+ lastLoginDate: string;
12
+ siteId: string;
13
+ focusFunction: (code: string, uniqueId: string) => void;
14
+ }
15
+ export interface AuthserviceSchema {
16
+ authvalues: AuthDataSchema | undefined;
17
+ setAuthService: (authService: boolean) => void;
18
+ checklogin: () => void;
19
+ modalData: boolean;
20
+ }
21
+ export interface FreshBannerSchema {
22
+ content: FreshBannerProps;
23
+ metadata?: any;
24
+ lineCheckCallBack?: () => void;
25
+ lineCheckSuccessCallBack?: () => void;
26
+ tableSelectedTab?: string;
27
+ baseConfig?: string;
28
+ authData?: AuthserviceSchema | undefined;
29
+ lineCheckOnClear?: () => void;
30
+ }
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import './freshBanner.css';
3
+ import { FreshBannerSchema } from './freshBanner.types';
4
+ declare const FreshProductBannerHome: FC<FreshBannerSchema>;
5
+ export default FreshProductBannerHome;