@sunrise-upc/mobile-prod-card 5.0.3 → 5.0.4
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.
- package/dist/cjs/Analytics/AnalyticsConstants.d.ts +27 -0
- package/dist/cjs/components/BenefitWrapper/BenefitValidate.d.ts +2 -2
- package/dist/cjs/components/BenefitWrapper/BenefitWrapper.d.ts +2 -2
- package/dist/cjs/components/BenefitWrapper/BenefitsValidateWrapper.d.ts +1 -1
- package/dist/cjs/components/DeviceCardWrapper/DeviceCards/DeviceCards.d.ts +4 -0
- package/dist/cjs/components/DeviceCardWrapper/DeviceCards/index.d.ts +1 -0
- package/dist/cjs/components/DeviceCardWrapper/DevicePrice/DevicePrice.d.ts +4 -0
- package/dist/cjs/components/DeviceCardWrapper/DevicePriceWrapper/DevicePriceWrapper.d.ts +4 -0
- package/dist/cjs/components/DeviceCardWrapper/DevicePriceWrapper/DevicePriceWrapper.types.d.ts +11 -0
- package/dist/cjs/components/FalconButtonV2/FalconButtonV2.d.ts +1 -1
- package/dist/cjs/components/FalconMessage/FalconMessage.d.ts +1 -1
- package/dist/cjs/components/Gift/ChooseGiftV2.d.ts +3 -0
- package/dist/cjs/components/Gift/GiftConfigV2.d.ts +3 -0
- package/dist/cjs/components/LineCheckV3/AutoComplete.d.ts +1 -1
- package/dist/cjs/components/LineCheckV3/GenericModal.d.ts +1 -1
- package/dist/cjs/components/LineCheckV3/IndividualLineCheck.d.ts +1 -1
- package/dist/cjs/components/LineCheckV3/LineCheckInput.d.ts +1 -1
- package/dist/cjs/components/LineCheckV3/LineCheckOverlay.d.ts +1 -1
- package/dist/cjs/components/LineCheckV3/Success.d.ts +1 -1
- package/dist/cjs/components/NewLineCheck/AdvanceSearch.d.ts +2 -2
- package/dist/cjs/components/NewLineCheck/GenericModal.d.ts +1 -1
- package/dist/cjs/components/NewLineCheck/NewLCInput.d.ts +2 -2
- package/dist/cjs/components/NewLineCheck/SuccessCoverage.d.ts +2 -2
- package/dist/cjs/components/PretoPost/PreToPostSubsPopup.d.ts +1 -1
- package/dist/cjs/components/ProductDetailsV3/BenefitsSectionV3.d.ts +1 -1
- package/dist/cjs/components/ProductDetailsV3/CashBackV2/CashbackV2.d.ts +1 -1
- package/dist/cjs/components/ProductDetailsV3/ChooseGiftV2.d.ts +1 -1
- package/dist/cjs/components/ProductDetailsV3/GiftConfigV2.d.ts +1 -1
- package/dist/cjs/components/ProductDetailsV3/ProductPriceV3.d.ts +1 -1
- package/dist/cjs/components/ProductDetailsV3/ReactInputSelectV2/ReactInputSelectV2.d.ts +1 -1
- package/dist/cjs/components/ProductDetailsV3/tv/EntertainmentOptionsV2/EntertainmentOptionsV2.d.ts +1 -1
- package/dist/cjs/components/ProductDetailsV3/tv/TVChannelOfferV2.d.ts +1 -1
- package/dist/cjs/components/ReactInputSelect/ReactInputSelect.d.ts +3 -0
- package/dist/cjs/components/ResponsiveRow/row.d.ts +1 -1
- package/dist/cjs/components/StaticLineTable/ExsistingSubscriptionCards.d.ts +1 -1
- package/dist/cjs/components/StaticLineTable/ExsistingSubscriptionModal.d.ts +1 -1
- package/dist/cjs/components/StaticLineTable/OttServiceOptions/OttServiceOptionsPopup.d.ts +2 -2
- package/dist/cjs/components/StaticLineTable/StaticLineTableStore/StaticLineTableProvider.d.ts +1 -1
- package/dist/cjs/components/StaticLineTable/TvOptionsContainer.d.ts +2 -2
- package/dist/cjs/components/StickyProductAnchor/StickyProductAnchor.d.ts +2 -2
- package/dist/cjs/components/ToolTip/ToolTip.d.ts +1 -1
- package/dist/cjs/components/UltimateBundleLinetable/DpLinetableContainer.d.ts +2 -2
- package/dist/cjs/components/UltimateBundleLinetable/DpProduct.d.ts +2 -2
- package/dist/cjs/components/UltimateBundleLinetable/DpTabContainer.d.ts +2 -2
- package/dist/cjs/components/UltimateBundleLinetable/DpTableDeviceSection/DpTableDeviceSection.d.ts +2 -2
- package/dist/cjs/components/UltimateBundleLinetable/DpTableFlexSection/DpTableFlexSection.d.ts +2 -2
- package/dist/cjs/components/UltimateBundleLinetable/DpTableMobileSection/DpTableMobileSection.d.ts +2 -2
- package/dist/cjs/components/UltimateBundleLinetable/checkoutRedirectionPopup/checkoutRedirectionPopup.d.ts +2 -2
- package/dist/cjs/components/freshProductBanner/FreshProductDetails.d.ts +4 -0
- package/dist/cjs/components/freshProductBanner/ProductDetailsModal.d.ts +15 -0
- package/dist/cjs/components/freshProductBanner/Timer/ExpiredTimer.d.ts +19 -0
- package/dist/cjs/components/freshProductBanner/Timer/Timer.d.ts +31 -0
- package/dist/cjs/components/freshProductBanner/Timer/Timer.types.d.ts +5 -0
- package/dist/cjs/components/freshProductBanner/Timer/util.d.ts +4 -0
- package/dist/cjs/components/freshProductBanner/freshBanner.types.d.ts +30 -0
- package/dist/cjs/components/freshProductBanner/freshProductBanner.d.ts +5 -0
- package/dist/cjs/components/freshProductBanner/offerResponse.d.ts +130 -0
- package/dist/cjs/components/index.d.ts +3 -1
- package/dist/cjs/components/lineTable/OrderButton.d.ts +1 -1
- package/dist/cjs/components/login/Login.types.d.ts +27 -5
- package/dist/cjs/components/login/LoginModalV2.d.ts +5 -0
- package/dist/cjs/components/login/LoginV2.d.ts +4 -0
- package/dist/cjs/components/login/MFA/MfaChannelSelection.d.ts +3 -0
- package/dist/cjs/components/login/MFA/MfaOtp.d.ts +3 -0
- package/dist/cjs/components/login/TemporaryPasswordV2.d.ts +3 -0
- package/dist/cjs/components/login/index.d.ts +1 -1
- package/dist/cjs/components/sharedCarousel/CarouselComponent.d.ts +1 -1
- package/dist/cjs/components/skeletonLoader/Skeletonloader.d.ts +1 -1
- package/dist/cjs/index.js +31 -2
- package/dist/cjs/services/DevicePropConfig.d.ts +12 -0
- package/dist/cjs/services/DeviceService.d.ts +11 -0
- package/dist/cjs/services/LineTableService.d.ts +1 -0
- package/dist/cjs/services/LoginBasicPropConfig.d.ts +16 -0
- package/dist/cjs/services/LoginServiceV2.d.ts +35 -0
- package/dist/cjs/services/index.d.ts +2 -0
- package/dist/cjs/utils/AnalyticsUtils.d.ts +11 -1
- package/dist/cjs/utils/DeviceUtils.d.ts +2 -0
- package/dist/cjs/utils/constants.d.ts +18 -0
- package/dist/esm/Analytics/AnalyticsConstants.d.ts +27 -0
- package/dist/esm/components/BenefitWrapper/BenefitValidate.d.ts +2 -2
- package/dist/esm/components/BenefitWrapper/BenefitWrapper.d.ts +2 -2
- package/dist/esm/components/BenefitWrapper/BenefitsValidateWrapper.d.ts +1 -1
- package/dist/esm/components/DeviceCardWrapper/DeviceCards/DeviceCards.d.ts +4 -0
- package/dist/esm/components/DeviceCardWrapper/DeviceCards/index.d.ts +1 -0
- package/dist/esm/components/DeviceCardWrapper/DevicePrice/DevicePrice.d.ts +4 -0
- package/dist/esm/components/DeviceCardWrapper/DevicePriceWrapper/DevicePriceWrapper.d.ts +4 -0
- package/dist/esm/components/DeviceCardWrapper/DevicePriceWrapper/DevicePriceWrapper.types.d.ts +11 -0
- package/dist/esm/components/FalconButtonV2/FalconButtonV2.d.ts +1 -1
- package/dist/esm/components/FalconMessage/FalconMessage.d.ts +1 -1
- package/dist/esm/components/Gift/ChooseGiftV2.d.ts +3 -0
- package/dist/esm/components/Gift/GiftConfigV2.d.ts +3 -0
- package/dist/esm/components/LineCheckV3/AutoComplete.d.ts +1 -1
- package/dist/esm/components/LineCheckV3/GenericModal.d.ts +1 -1
- package/dist/esm/components/LineCheckV3/IndividualLineCheck.d.ts +1 -1
- package/dist/esm/components/LineCheckV3/LineCheckInput.d.ts +1 -1
- package/dist/esm/components/LineCheckV3/LineCheckOverlay.d.ts +1 -1
- package/dist/esm/components/LineCheckV3/Success.d.ts +1 -1
- package/dist/esm/components/NewLineCheck/AdvanceSearch.d.ts +2 -2
- package/dist/esm/components/NewLineCheck/GenericModal.d.ts +1 -1
- package/dist/esm/components/NewLineCheck/NewLCInput.d.ts +2 -2
- package/dist/esm/components/NewLineCheck/SuccessCoverage.d.ts +2 -2
- package/dist/esm/components/PretoPost/PreToPostSubsPopup.d.ts +1 -1
- package/dist/esm/components/ProductDetailsV3/BenefitsSectionV3.d.ts +1 -1
- package/dist/esm/components/ProductDetailsV3/CashBackV2/CashbackV2.d.ts +1 -1
- package/dist/esm/components/ProductDetailsV3/ChooseGiftV2.d.ts +1 -1
- package/dist/esm/components/ProductDetailsV3/GiftConfigV2.d.ts +1 -1
- package/dist/esm/components/ProductDetailsV3/ProductPriceV3.d.ts +1 -1
- package/dist/esm/components/ProductDetailsV3/ReactInputSelectV2/ReactInputSelectV2.d.ts +1 -1
- package/dist/esm/components/ProductDetailsV3/tv/EntertainmentOptionsV2/EntertainmentOptionsV2.d.ts +1 -1
- package/dist/esm/components/ProductDetailsV3/tv/TVChannelOfferV2.d.ts +1 -1
- package/dist/esm/components/ReactInputSelect/ReactInputSelect.d.ts +3 -0
- package/dist/esm/components/ResponsiveRow/row.d.ts +1 -1
- package/dist/esm/components/StaticLineTable/ExsistingSubscriptionCards.d.ts +1 -1
- package/dist/esm/components/StaticLineTable/ExsistingSubscriptionModal.d.ts +1 -1
- package/dist/esm/components/StaticLineTable/OttServiceOptions/OttServiceOptionsPopup.d.ts +2 -2
- package/dist/esm/components/StaticLineTable/StaticLineTableStore/StaticLineTableProvider.d.ts +1 -1
- package/dist/esm/components/StaticLineTable/TvOptionsContainer.d.ts +2 -2
- package/dist/esm/components/StickyProductAnchor/StickyProductAnchor.d.ts +2 -2
- package/dist/esm/components/ToolTip/ToolTip.d.ts +1 -1
- package/dist/esm/components/UltimateBundleLinetable/DpLinetableContainer.d.ts +2 -2
- package/dist/esm/components/UltimateBundleLinetable/DpProduct.d.ts +2 -2
- package/dist/esm/components/UltimateBundleLinetable/DpTabContainer.d.ts +2 -2
- package/dist/esm/components/UltimateBundleLinetable/DpTableDeviceSection/DpTableDeviceSection.d.ts +2 -2
- package/dist/esm/components/UltimateBundleLinetable/DpTableFlexSection/DpTableFlexSection.d.ts +2 -2
- package/dist/esm/components/UltimateBundleLinetable/DpTableMobileSection/DpTableMobileSection.d.ts +2 -2
- package/dist/esm/components/UltimateBundleLinetable/checkoutRedirectionPopup/checkoutRedirectionPopup.d.ts +2 -2
- package/dist/esm/components/freshProductBanner/FreshProductDetails.d.ts +4 -0
- package/dist/esm/components/freshProductBanner/ProductDetailsModal.d.ts +15 -0
- package/dist/esm/components/freshProductBanner/Timer/ExpiredTimer.d.ts +19 -0
- package/dist/esm/components/freshProductBanner/Timer/Timer.d.ts +31 -0
- package/dist/esm/components/freshProductBanner/Timer/Timer.types.d.ts +5 -0
- package/dist/esm/components/freshProductBanner/Timer/util.d.ts +4 -0
- package/dist/esm/components/freshProductBanner/freshBanner.types.d.ts +30 -0
- package/dist/esm/components/freshProductBanner/freshProductBanner.d.ts +5 -0
- package/dist/esm/components/freshProductBanner/offerResponse.d.ts +130 -0
- package/dist/esm/components/index.d.ts +3 -1
- package/dist/esm/components/lineTable/OrderButton.d.ts +1 -1
- package/dist/esm/components/login/Login.types.d.ts +27 -5
- package/dist/esm/components/login/LoginModalV2.d.ts +5 -0
- package/dist/esm/components/login/LoginV2.d.ts +4 -0
- package/dist/esm/components/login/MFA/MfaChannelSelection.d.ts +3 -0
- package/dist/esm/components/login/MFA/MfaOtp.d.ts +3 -0
- package/dist/esm/components/login/TemporaryPasswordV2.d.ts +3 -0
- package/dist/esm/components/login/index.d.ts +1 -1
- package/dist/esm/components/sharedCarousel/CarouselComponent.d.ts +1 -1
- package/dist/esm/components/skeletonLoader/Skeletonloader.d.ts +1 -1
- package/dist/esm/index.js +31 -2
- package/dist/esm/services/DevicePropConfig.d.ts +12 -0
- package/dist/esm/services/DeviceService.d.ts +11 -0
- package/dist/esm/services/LineTableService.d.ts +1 -0
- package/dist/esm/services/LoginBasicPropConfig.d.ts +16 -0
- package/dist/esm/services/LoginServiceV2.d.ts +35 -0
- package/dist/esm/services/index.d.ts +2 -0
- package/dist/esm/utils/AnalyticsUtils.d.ts +11 -1
- package/dist/esm/utils/DeviceUtils.d.ts +2 -0
- package/dist/esm/utils/constants.d.ts +18 -0
- package/dist/index.d.ts +75 -9
- package/package.json +17 -18
- package/dist/cjs/components/login/LoginModal.d.ts +0 -5
- package/dist/esm/components/login/LoginModal.d.ts +0 -5
|
@@ -32,6 +32,33 @@ export declare const ERRORMESSAGE = "Missing or Invalid Error";
|
|
|
32
32
|
export declare const ERRORTYPE = "error";
|
|
33
33
|
export declare const FIXNET = "fixnet";
|
|
34
34
|
export declare const AUTHCOOKIE = "sunriseAuth";
|
|
35
|
+
export declare const ERROR = "error";
|
|
36
|
+
export declare const LOGIN = "login";
|
|
37
|
+
export declare const LOGINSUCCESSFUL = "loginSuccessful";
|
|
38
|
+
export declare const PASSWORD = "Password";
|
|
39
|
+
export declare const PASSWORDSUCCESSFUL = "success via password";
|
|
40
|
+
export declare const REMMSELECTED = "Remember me | Selected";
|
|
41
|
+
export declare const REMMNOTSELECTED = "Remember me | not selected";
|
|
42
|
+
export declare const PASSWORDUNSUCCESSFUL = "unSuccess via password";
|
|
43
|
+
export declare const LOGINERROR = "LoginError";
|
|
44
|
+
export declare const SUCCESSFULL = "successful";
|
|
45
|
+
export declare const LOGINUNSUCCESSFUL = "loginUnSuccessful";
|
|
46
|
+
export declare const FAILED = "failed";
|
|
47
|
+
export declare const GETTEMPCODE = "get_temporary_code";
|
|
48
|
+
export declare const LOGINUSERVERIFIED = "userVerified";
|
|
49
|
+
export declare const SUCCESSFUL = "success";
|
|
50
|
+
export declare const LOGINUSERNOTVERIFIED = "userNotVerified";
|
|
51
|
+
export declare const UNSUCCESSFUL = "unSuccess";
|
|
52
|
+
export declare const OTP = "Enter the temporary code";
|
|
53
|
+
export declare const CHANNELSELECTION = "Get a temporary code via SMS/Email";
|
|
54
|
+
export declare const VIA = "via";
|
|
55
|
+
export declare const SENDOTP = "send_otp";
|
|
56
|
+
export declare const OTPLOGINSUCCESS = "otp_login_success";
|
|
57
|
+
export declare const OTPLOGINFAIL = "otp_login_fail";
|
|
58
|
+
export declare const VEIW = "view";
|
|
59
|
+
export declare const MTAN = "MTAN";
|
|
60
|
+
export declare const LOGINNEXT = "Next";
|
|
61
|
+
export declare const TEMPCODENEXT = "Login Get a temporary code";
|
|
35
62
|
export declare const EXISTINGCUSTOMER = "existing-customer";
|
|
36
63
|
export declare const NEWCUSTOMER = "new-customer";
|
|
37
64
|
export declare const DEFAULT = "default";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const BenefitsValidate: ({ content, authData, loginContent, metadata, afterLoginContent, createCartCall, extraContent, basicConfigUrl, selectedExistingOption, setShowBenefit, setLoginSuccess }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const BenefitsValidate: ({ content, authData, loginContent, metadata, afterLoginContent, createCartCall, extraContent, basicConfigUrl, selectedExistingOption, setShowBenefit, setLoginSuccess }: any) => React.JSX.Element;
|
|
3
3
|
export default BenefitsValidate;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const BenefitWrapper: ({ content, metadata, setGenericErrorModalDetails, loginSuccess, basicConfigUrl, setLoginSuccess }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const BenefitWrapper: ({ content, metadata, setGenericErrorModalDetails, loginSuccess, basicConfigUrl, setLoginSuccess }: any) => React.JSX.Element;
|
|
3
3
|
export default BenefitWrapper;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { JSX } from 'react';
|
|
2
2
|
declare const BenefitsValidateWrapper: ({ content, loginContent, metadata, createCartCall, fetchOfferData, basicConfigUrl, selectedExistingOption, setShowBenefit, setLoginSuccess }: any) => JSX.Element;
|
|
3
3
|
export default BenefitsValidateWrapper;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './DeviceCards';
|
package/dist/cjs/components/DeviceCardWrapper/DevicePriceWrapper/DevicePriceWrapper.types.d.ts
ADDED
|
@@ -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
|
+
}
|
|
@@ -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<
|
|
5
|
+
declare const AutoComplete: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
6
6
|
export default AutoComplete;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const IndividualLineCheck: React.ForwardRefExoticComponent<
|
|
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<
|
|
2
|
+
declare const LineCheckInput: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
3
3
|
export default LineCheckInput;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
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,3 +1,3 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
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
1
|
import React from 'react';
|
|
2
|
-
declare const ReactInputSelectV2: React.ForwardRefExoticComponent<
|
|
2
|
+
declare const ReactInputSelectV2: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<any>>;
|
|
3
3
|
export default ReactInputSelectV2;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
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;
|
package/dist/cjs/components/StaticLineTable/StaticLineTableStore/StaticLineTableProvider.d.ts
CHANGED
|
@@ -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;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
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
|
-
|
|
2
|
-
declare const DpLinetableContainer: ({ content, metadata }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const DpLinetableContainer: ({ content, metadata }: any) => React.JSX.Element;
|
|
3
3
|
export default DpLinetableContainer;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const DpProduct: ({ productData, mainContent, tabIndex, indexKey, cardsLength, offerDataList, activeTab, deviceModelsList, deviceDetailsList, fetchDeviceDetails, metadata }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const DpProduct: ({ productData, mainContent, tabIndex, indexKey, cardsLength, offerDataList, activeTab, deviceModelsList, deviceDetailsList, fetchDeviceDetails, metadata }: any) => React.JSX.Element;
|
|
3
3
|
export default DpProduct;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const DpTabContainer: ({ tabData, tabIndex, mainContent, activeTab, metadata }: any) => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const DpTabContainer: ({ tabData, tabIndex, mainContent, activeTab, metadata }: any) => React.JSX.Element;
|
|
3
3
|
export default DpTabContainer;
|
package/dist/cjs/components/UltimateBundleLinetable/DpTableDeviceSection/DpTableDeviceSection.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
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;
|
package/dist/cjs/components/UltimateBundleLinetable/DpTableFlexSection/DpTableFlexSection.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
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;
|
package/dist/cjs/components/UltimateBundleLinetable/DpTableMobileSection/DpTableMobileSection.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
interface LoginPopupSchema {
|
|
3
3
|
content: any;
|
|
4
4
|
metadata: any;
|
|
@@ -8,5 +8,5 @@ interface LoginPopupSchema {
|
|
|
8
8
|
validation?: any;
|
|
9
9
|
onLoginSuccessRedirection?: any;
|
|
10
10
|
}
|
|
11
|
-
declare const checkoutRedirectionPopup: ({ content, metadata, wafIdentifier, togglePopup, isOpen, validation, onLoginSuccessRedirection }: LoginPopupSchema) => JSX.Element;
|
|
11
|
+
declare const checkoutRedirectionPopup: ({ content, metadata, wafIdentifier, togglePopup, isOpen, validation, onLoginSuccessRedirection }: LoginPopupSchema) => React.JSX.Element;
|
|
12
12
|
export default checkoutRedirectionPopup;
|
|
@@ -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,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,130 @@
|
|
|
1
|
+
export declare const offerResponse: {
|
|
2
|
+
id: string;
|
|
3
|
+
isBundle: boolean;
|
|
4
|
+
productType: string;
|
|
5
|
+
prices: {
|
|
6
|
+
priceType: string;
|
|
7
|
+
value: string;
|
|
8
|
+
cycle: {
|
|
9
|
+
cycleStart: number;
|
|
10
|
+
};
|
|
11
|
+
priceAlteration: {
|
|
12
|
+
priceType: string;
|
|
13
|
+
value: string;
|
|
14
|
+
cycle: {
|
|
15
|
+
cycleStart: number;
|
|
16
|
+
cycleEnd: number;
|
|
17
|
+
};
|
|
18
|
+
billingEvent: string;
|
|
19
|
+
}[];
|
|
20
|
+
billingEvent: string;
|
|
21
|
+
}[];
|
|
22
|
+
derivedPrice: {
|
|
23
|
+
priceType: string;
|
|
24
|
+
value: string;
|
|
25
|
+
cycle: {
|
|
26
|
+
cycleStart: number;
|
|
27
|
+
cycleEnd: number;
|
|
28
|
+
};
|
|
29
|
+
discountPercentage: string;
|
|
30
|
+
}[];
|
|
31
|
+
promotionInfo: {
|
|
32
|
+
id: string;
|
|
33
|
+
name: string;
|
|
34
|
+
promoType: string;
|
|
35
|
+
campaignId: string;
|
|
36
|
+
campaignType: string;
|
|
37
|
+
contractDuration: string;
|
|
38
|
+
campaignDuration: string;
|
|
39
|
+
}[];
|
|
40
|
+
references: ({
|
|
41
|
+
referenceType: string;
|
|
42
|
+
productCode: string;
|
|
43
|
+
Ids?: undefined;
|
|
44
|
+
} | {
|
|
45
|
+
referenceType: string;
|
|
46
|
+
Ids: string[];
|
|
47
|
+
productCode?: undefined;
|
|
48
|
+
})[];
|
|
49
|
+
name: string;
|
|
50
|
+
parentBundleProductOffering: {
|
|
51
|
+
id: string;
|
|
52
|
+
name: string;
|
|
53
|
+
promoType: string;
|
|
54
|
+
campaignId: string;
|
|
55
|
+
campaignType: string;
|
|
56
|
+
contractDuration: string;
|
|
57
|
+
campaignDuration: string;
|
|
58
|
+
poType: string;
|
|
59
|
+
bundledProductOffering: {
|
|
60
|
+
id: string;
|
|
61
|
+
name: string;
|
|
62
|
+
poType: string;
|
|
63
|
+
}[];
|
|
64
|
+
}[];
|
|
65
|
+
productOfferingPrice: ({
|
|
66
|
+
bpoId: string;
|
|
67
|
+
priceCategory: string;
|
|
68
|
+
bundledPop: {
|
|
69
|
+
billingEvent: string;
|
|
70
|
+
priceType: string;
|
|
71
|
+
price: {
|
|
72
|
+
unit: string;
|
|
73
|
+
value: string;
|
|
74
|
+
};
|
|
75
|
+
cycle: {
|
|
76
|
+
cycleStart: number;
|
|
77
|
+
cycleEnd: number;
|
|
78
|
+
};
|
|
79
|
+
}[];
|
|
80
|
+
} | {
|
|
81
|
+
priceCategory: string;
|
|
82
|
+
bundledPop: {
|
|
83
|
+
billingEvent: string;
|
|
84
|
+
priceType: string;
|
|
85
|
+
price: {
|
|
86
|
+
unit: string;
|
|
87
|
+
value: string;
|
|
88
|
+
};
|
|
89
|
+
cycle: {
|
|
90
|
+
cycleStart: number;
|
|
91
|
+
};
|
|
92
|
+
recurringChargePeriodType: string;
|
|
93
|
+
}[];
|
|
94
|
+
bpoId?: undefined;
|
|
95
|
+
})[];
|
|
96
|
+
showPrice: {
|
|
97
|
+
base: number;
|
|
98
|
+
promo: number;
|
|
99
|
+
combo: number;
|
|
100
|
+
multicombo: number;
|
|
101
|
+
};
|
|
102
|
+
price: {
|
|
103
|
+
id: string;
|
|
104
|
+
duration: string;
|
|
105
|
+
unit: string;
|
|
106
|
+
MOBILE_ORDER: {
|
|
107
|
+
base: {
|
|
108
|
+
price: number;
|
|
109
|
+
priceTpe: string;
|
|
110
|
+
billingEvent: string;
|
|
111
|
+
};
|
|
112
|
+
promo: {
|
|
113
|
+
price: number;
|
|
114
|
+
priceTpe: string;
|
|
115
|
+
billingEvent: string;
|
|
116
|
+
};
|
|
117
|
+
combo: {
|
|
118
|
+
price: number;
|
|
119
|
+
priceTpe: string;
|
|
120
|
+
billingEvent: string;
|
|
121
|
+
};
|
|
122
|
+
multicombo: {
|
|
123
|
+
price: number;
|
|
124
|
+
priceTpe: string;
|
|
125
|
+
billingEvent: string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
allPotype: string[];
|
|
129
|
+
};
|
|
130
|
+
};
|