@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.
- 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 +17 -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/ProgressionBar/ProgressionBar.d.ts +1 -1
- package/dist/cjs/components/ReactInputSelect/ReactInputSelect.d.ts +16 -1
- 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/OttServiceOptions/OttServiceOptionsSmallPopup.d.ts +2 -2
- package/dist/cjs/components/StaticLineTable/StaticLineTableStore/StaticLineTableProvider.d.ts +1 -1
- package/dist/cjs/components/StaticLineTable/StaticProductDatatypes.d.ts +0 -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/UserLoggedPricesToggle/UserLoggedPricesToggle.d.ts +1 -1
- 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 +2 -0
- package/dist/cjs/components/lineTable/OrderButton.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 +3 -3
- 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/index.d.ts +2 -0
- package/dist/cjs/utils/DeviceUtils.d.ts +2 -0
- package/dist/cjs/utils/constants.d.ts +16 -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 +17 -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/ProgressionBar/ProgressionBar.d.ts +1 -1
- package/dist/esm/components/ReactInputSelect/ReactInputSelect.d.ts +16 -1
- 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/OttServiceOptions/OttServiceOptionsSmallPopup.d.ts +2 -2
- package/dist/esm/components/StaticLineTable/StaticLineTableStore/StaticLineTableProvider.d.ts +1 -1
- package/dist/esm/components/StaticLineTable/StaticProductDatatypes.d.ts +0 -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/UserLoggedPricesToggle/UserLoggedPricesToggle.d.ts +1 -1
- 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 +2 -0
- package/dist/esm/components/lineTable/OrderButton.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 +3 -3
- 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/index.d.ts +2 -0
- package/dist/esm/utils/DeviceUtils.d.ts +2 -0
- package/dist/esm/utils/constants.d.ts +16 -0
- package/dist/index.d.ts +68 -22
- package/package.json +12 -12
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface DevicePropSchema {
|
|
2
|
+
baseURL: string | '';
|
|
3
|
+
}
|
|
4
|
+
export declare class DevicePropConfig {
|
|
5
|
+
private static instance;
|
|
6
|
+
config: DevicePropSchema;
|
|
7
|
+
private constructor();
|
|
8
|
+
getConfig: () => DevicePropSchema;
|
|
9
|
+
getBaseUrl: () => string;
|
|
10
|
+
static getInstance: () => DevicePropConfig;
|
|
11
|
+
static create: (p_config: DevicePropSchema) => void;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const fetchCustomPageDeviceGroup: (content: any, deviceCategory?: string) => Promise<any>;
|
|
2
|
+
export declare const fetchPreviewCardDpSubsidyPromos: (hardwarePrices: any, deviceId: any) => Promise<any>;
|
|
3
|
+
export declare const getDeviceDetailData: (deviceDetailsProductId: string, deviceCategory?: string) => Promise<any>;
|
|
4
|
+
export declare const createDevicePlanRequest: (discountPrice: any, hardwarePrices: any, deviceKey: string) => {
|
|
5
|
+
discount: any;
|
|
6
|
+
oneTimePrice: number;
|
|
7
|
+
duration: number;
|
|
8
|
+
upfront: number;
|
|
9
|
+
deviceId: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const fetchDpSubsidyDevicePlan: (devicePlanRequestList: any) => Promise<unknown>;
|
|
@@ -10,4 +10,5 @@ export declare const validateP2P: (msisdn: any, endpoint: any) => Promise<any>;
|
|
|
10
10
|
export declare const getDeviceDetails: (deviceID: any, endpoint: any) => Promise<any>;
|
|
11
11
|
export declare const getDeviceModelsList: (brandId: any, endpoint: any) => Promise<any>;
|
|
12
12
|
export declare const trackPegaEvents: (endpoint: any, payload: {} | undefined, prospectId: string) => Promise<any>;
|
|
13
|
+
export declare const createCartWinV2: (productData: any, radioValue: string, defaultPromo: string, cartUrl: string, chooseGift: any) => Promise<any>;
|
|
13
14
|
export declare const fetchOttServiceOptions: () => Promise<any>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from './LineTableBasicPropConfig';
|
|
2
2
|
export * from './ProductTeaserPropsConfig';
|
|
3
3
|
export * from './LinecheckBasicPropConfig';
|
|
4
|
+
export * from './LoginBasicPropConfig';
|
|
5
|
+
export * from './DevicePropConfig';
|
|
4
6
|
export * from './StickyBottomSheetConfig';
|
|
5
7
|
export * from './LoginBasicPropConfig';
|
|
@@ -37,10 +37,19 @@ export declare const WP_FLEX_UPGRADE_NOT = "FLEX_UPGRADE_NOT";
|
|
|
37
37
|
export declare const EXCLUSIVE_BENEFIT_COLOR = "#008187";
|
|
38
38
|
export declare const ULTIMATEBUNDLE = "ultimateBundle";
|
|
39
39
|
export declare const ONE_ECOMMERCE_INTERNET_SUMMARY = "one-ecommerce-internetSummary";
|
|
40
|
+
export declare const CODE = "code__";
|
|
41
|
+
export declare const DPSUBSIDYPROMOTION = "dPSubsidyPromotion";
|
|
42
|
+
export declare const PROMO = "PROMO";
|
|
43
|
+
export declare const PROCEED_BUTTON = "proceedButton";
|
|
40
44
|
export declare const MOBILE = "mobile";
|
|
41
45
|
export declare const DESKTOP = "desktop";
|
|
42
46
|
export declare const LARGE_DESKTOP = "large-desktop";
|
|
43
47
|
export declare const TABLET = "tablet";
|
|
48
|
+
export declare const INTERNET = "internet";
|
|
49
|
+
export declare const YOUTH = "YOUTH";
|
|
50
|
+
export declare const CURRENCY = "CHF";
|
|
51
|
+
export declare const DEFAULT = "default";
|
|
52
|
+
export declare const QOQA_RATE_PLAN = "QOQA_RATE_PLAN";
|
|
44
53
|
export declare const AVAILABLE_LANGUAGES: {
|
|
45
54
|
EN: string;
|
|
46
55
|
FR: string;
|
|
@@ -52,6 +61,13 @@ export declare const BREADCRUMB = "...";
|
|
|
52
61
|
export declare const PRE_TO_POST = "PRE_TO_POST";
|
|
53
62
|
export declare const P2PSUBSCRIBEDPLAN = "Sunrise Prepaid Unlimited";
|
|
54
63
|
export declare const TV_SERVICE_OPTION = "TV_SERVICE_OPTION";
|
|
64
|
+
export declare const PRIMARYCOLORS = "#da291c";
|
|
65
|
+
export declare const CENTER = "center";
|
|
66
|
+
export declare const RIGHT = "right";
|
|
67
|
+
export declare const ZEROES = "00";
|
|
68
|
+
export declare const LEFT = "left";
|
|
69
|
+
export declare const COLORWHITE = "#ffffff";
|
|
70
|
+
export declare const TRANSPARENT = "transparent";
|
|
55
71
|
export declare const ERROR_BORDER = "#BF0760";
|
|
56
72
|
export declare const DISABLED_BACKGROUND = "#E6E3DF";
|
|
57
73
|
export declare const LOGIN_MFA = "LOGIN_MFA";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { MouseEventHandler, FC } from 'react';
|
|
1
|
+
import React, { MouseEventHandler, FC, JSX } from 'react';
|
|
3
2
|
import { ApiServiceV2 } from '@sunrise-upc/ajax-lib';
|
|
4
3
|
|
|
5
4
|
interface ButtonProps {
|
|
@@ -159,7 +158,7 @@ interface ProductTableSchema {
|
|
|
159
158
|
|
|
160
159
|
declare const ProductTableV3: FC<ProductTableSchema>;
|
|
161
160
|
|
|
162
|
-
declare const StickyProductAnchor: ({ content, offerData, lineCheckCallBack }: any) => JSX.Element;
|
|
161
|
+
declare const StickyProductAnchor: ({ content, offerData, lineCheckCallBack }: any) => React.JSX.Element;
|
|
163
162
|
|
|
164
163
|
interface StaticLinetableSchema {
|
|
165
164
|
content: any;
|
|
@@ -188,7 +187,7 @@ declare const StaticLineTable: FC<StaticLinetableSchema>;
|
|
|
188
187
|
|
|
189
188
|
declare const LincheckModal: FC<any>;
|
|
190
189
|
|
|
191
|
-
declare const BenefitWrapper: ({ content, metadata, setGenericErrorModalDetails, loginSuccess, basicConfigUrl, setLoginSuccess, isProdEnv, }: any) => JSX.Element;
|
|
190
|
+
declare const BenefitWrapper: ({ content, metadata, setGenericErrorModalDetails, loginSuccess, basicConfigUrl, setLoginSuccess, isProdEnv, }: any) => React.JSX.Element;
|
|
192
191
|
|
|
193
192
|
declare const Breadcrumb: FC<any>;
|
|
194
193
|
|
|
@@ -198,10 +197,44 @@ declare const HeroLoginBanner: FC<any>;
|
|
|
198
197
|
|
|
199
198
|
declare const CheckCoverage: FC<any>;
|
|
200
199
|
|
|
201
|
-
declare const DpLinetableContainer: ({ content, metadata, isProdEnv }: any) => JSX.Element;
|
|
200
|
+
declare const DpLinetableContainer: ({ content, metadata, isProdEnv }: any) => React.JSX.Element;
|
|
202
201
|
|
|
203
202
|
declare const CoverageCheckModal: FC<any>;
|
|
204
203
|
|
|
204
|
+
interface FreshBannerProps {
|
|
205
|
+
image: Asset;
|
|
206
|
+
}
|
|
207
|
+
interface AuthDataSchema {
|
|
208
|
+
firstName: string;
|
|
209
|
+
lastName: string;
|
|
210
|
+
personalisedName?: string;
|
|
211
|
+
authenticationtype: string;
|
|
212
|
+
hashedId: string;
|
|
213
|
+
lastLoginDate: string;
|
|
214
|
+
siteId: string;
|
|
215
|
+
focusFunction: (code: string, uniqueId: string) => void;
|
|
216
|
+
}
|
|
217
|
+
interface AuthserviceSchema {
|
|
218
|
+
authvalues: AuthDataSchema | undefined;
|
|
219
|
+
setAuthService: (authService: boolean) => void;
|
|
220
|
+
checklogin: () => void;
|
|
221
|
+
modalData: boolean;
|
|
222
|
+
}
|
|
223
|
+
interface FreshBannerSchema {
|
|
224
|
+
content: FreshBannerProps;
|
|
225
|
+
metadata?: any;
|
|
226
|
+
lineCheckCallBack?: () => void;
|
|
227
|
+
lineCheckSuccessCallBack?: () => void;
|
|
228
|
+
tableSelectedTab?: string;
|
|
229
|
+
baseConfig?: string;
|
|
230
|
+
authData?: AuthserviceSchema | undefined;
|
|
231
|
+
lineCheckOnClear?: () => void;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
declare const FreshProductBannerHome: FC<FreshBannerSchema>;
|
|
235
|
+
|
|
236
|
+
declare const DeviceCards: FC<any>;
|
|
237
|
+
|
|
205
238
|
declare const StickyBottomSheet: FC<any>;
|
|
206
239
|
|
|
207
240
|
type ProgressionBarProps = {
|
|
@@ -225,7 +258,7 @@ interface OttServiceOptionsSmallPopupProps {
|
|
|
225
258
|
uniqueId?: any;
|
|
226
259
|
deviceFlow?: any;
|
|
227
260
|
}
|
|
228
|
-
declare const OttServiceOptionsSmallPopup: ({ content, addOptionsCallBack, metadata, constants, mainContent, preSelectedOptions, optionsResponse, updateResponseList, showPrice, productData, offeringData, uniqueId, deviceFlow }: OttServiceOptionsSmallPopupProps) => JSX.Element;
|
|
261
|
+
declare const OttServiceOptionsSmallPopup: ({ content, addOptionsCallBack, metadata, constants, mainContent, preSelectedOptions, optionsResponse, updateResponseList, showPrice, productData, offeringData, uniqueId, deviceFlow }: OttServiceOptionsSmallPopupProps) => React.JSX.Element;
|
|
229
262
|
|
|
230
263
|
interface LineTableBasicPropConfigSchema {
|
|
231
264
|
baseURL: string | '';
|
|
@@ -285,21 +318,6 @@ declare class LinecheckBasicPropConfig {
|
|
|
285
318
|
static create: (p_config: LinecheckBasicPropConfigSchema) => void;
|
|
286
319
|
}
|
|
287
320
|
|
|
288
|
-
interface StickyBottomSheetPropConfigSchema {
|
|
289
|
-
baseURL: string | '';
|
|
290
|
-
cartURL: string | '';
|
|
291
|
-
}
|
|
292
|
-
declare class StickyBottomSheetPropConfig {
|
|
293
|
-
private static instance;
|
|
294
|
-
config: StickyBottomSheetPropConfigSchema;
|
|
295
|
-
private constructor();
|
|
296
|
-
getConfig: () => StickyBottomSheetPropConfigSchema;
|
|
297
|
-
getBaseUrl: () => string;
|
|
298
|
-
getCartUrl: () => string;
|
|
299
|
-
static getInstance: () => StickyBottomSheetPropConfig;
|
|
300
|
-
static create: (p_config: StickyBottomSheetPropConfigSchema) => void;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
321
|
interface LoginBasicPropConfigSchema {
|
|
304
322
|
baseURL: string | "";
|
|
305
323
|
}
|
|
@@ -316,4 +334,32 @@ declare class LoginBasicPropConfig {
|
|
|
316
334
|
getAPIServiceObject: () => ApiServiceV2;
|
|
317
335
|
}
|
|
318
336
|
|
|
319
|
-
|
|
337
|
+
interface DevicePropSchema {
|
|
338
|
+
baseURL: string | '';
|
|
339
|
+
}
|
|
340
|
+
declare class DevicePropConfig {
|
|
341
|
+
private static instance;
|
|
342
|
+
config: DevicePropSchema;
|
|
343
|
+
private constructor();
|
|
344
|
+
getConfig: () => DevicePropSchema;
|
|
345
|
+
getBaseUrl: () => string;
|
|
346
|
+
static getInstance: () => DevicePropConfig;
|
|
347
|
+
static create: (p_config: DevicePropSchema) => void;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
interface StickyBottomSheetPropConfigSchema {
|
|
351
|
+
baseURL: string | '';
|
|
352
|
+
cartURL: string | '';
|
|
353
|
+
}
|
|
354
|
+
declare class StickyBottomSheetPropConfig {
|
|
355
|
+
private static instance;
|
|
356
|
+
config: StickyBottomSheetPropConfigSchema;
|
|
357
|
+
private constructor();
|
|
358
|
+
getConfig: () => StickyBottomSheetPropConfigSchema;
|
|
359
|
+
getBaseUrl: () => string;
|
|
360
|
+
getCartUrl: () => string;
|
|
361
|
+
static getInstance: () => StickyBottomSheetPropConfig;
|
|
362
|
+
static create: (p_config: StickyBottomSheetPropConfigSchema) => void;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export { AssetPathPropConfig, AssetPathPropConfigSchema, BenefitWrapper, Breadcrumb, Button, Card, CardEntitlement, CarouselComp, CheckCoverage, CoverageCheckModal, DeviceCards as DeviceCard, DevicePropConfig, DevicePropSchema, DpLinetableContainer as DpLinetable, FreshProductBannerHome, HeroLoginBanner as HeroLogin, LineTableBasicPropConfig, LineTableBasicPropConfigSchema, LinecheckBasicPropConfig, LinecheckBasicPropConfigSchema, LincheckModal as LinecheckModal, LoginBasicPropConfig, LoginBasicPropConfigSchema, LoginModal as LoginModalV2, OttServiceOptionsSmallPopup, PreToPostSubsPopup as PretoPostSubsPopup, ProductTableV3, ProductTeaser, ProductTeaserPropConfig, ProductTeaserPropConfigSchema, ProgressionBar, StaticLineTable, StickyBottomSheet, StickyBottomSheetPropConfig, StickyBottomSheetPropConfigSchema, StickyProductAnchor };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sunrise-upc/mobile-prod-card",
|
|
3
|
-
"version": "8.2.1",
|
|
3
|
+
"version": "8.2.2-beta.1",
|
|
4
4
|
"description": "Starter project to create reusable functional component",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -39,12 +39,13 @@
|
|
|
39
39
|
"@rollup/plugin-terser": "^0.2.1",
|
|
40
40
|
"@rollup/plugin-typescript": "^10.0.1",
|
|
41
41
|
"@types/js-cookie": "^3.0.3",
|
|
42
|
-
"@types/node": "^
|
|
43
|
-
"@types/react": "^
|
|
44
|
-
"@types/react-dom": "^
|
|
45
|
-
"@types/uuid": "^
|
|
42
|
+
"@types/node": "^18.19.75",
|
|
43
|
+
"@types/react": "^19.0.8",
|
|
44
|
+
"@types/react-dom": "^19.0.3",
|
|
45
|
+
"@types/uuid": "^10.0.0",
|
|
46
46
|
"axios": "^0.21.4",
|
|
47
|
-
"
|
|
47
|
+
"cookies-next": "^4.3.0",
|
|
48
|
+
"postcss": "^8.4.49",
|
|
48
49
|
"rimraf": "^3.0.2",
|
|
49
50
|
"rollup": "^3.9.1",
|
|
50
51
|
"rollup-plugin-dts": "^5.1.0",
|
|
@@ -54,18 +55,17 @@
|
|
|
54
55
|
"sass": "^1.57.1",
|
|
55
56
|
"semver": "^7.3.8",
|
|
56
57
|
"tslib": "^2.4.1",
|
|
57
|
-
"typescript": "^4.9.4"
|
|
58
|
-
"cookies-next": "^2.1.1"
|
|
58
|
+
"typescript": "^4.9.4"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
|
-
"@sunrise-upc/ajax-lib": "^
|
|
61
|
+
"@sunrise-upc/ajax-lib": "^2.2.0",
|
|
62
62
|
"js-cookie": "^3.0.1",
|
|
63
|
-
"react": "
|
|
63
|
+
"react": "18.2.0",
|
|
64
64
|
"react-bootstrap": "^2.0.0-beta.4",
|
|
65
|
-
"react-dom": "
|
|
65
|
+
"react-dom": "18.2.0",
|
|
66
66
|
"react-multi-carousel": "^2.8.4",
|
|
67
67
|
"storyblok-rich-text-react-renderer-ts": "^3.2.0",
|
|
68
|
-
"uuid": "^
|
|
68
|
+
"uuid": "^11.0.5",
|
|
69
69
|
"react-select": "^5.2.2",
|
|
70
70
|
"react-loading-skeleton": "^3.4.0"
|
|
71
71
|
},
|