@sunrise-upc/mobile-prod-card 8.2.2-beta.13 → 8.2.2-beta.14
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/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +90 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -24,6 +24,8 @@ interface LoginModalSchema {
|
|
|
24
24
|
|
|
25
25
|
declare const LoginModal: FC<LoginModalSchema>;
|
|
26
26
|
|
|
27
|
+
type FalconButtonTypes = 'Primary-V1' | 'Secondary-V1' | 'Secondary-V4' | 'Secondary-Dark' | 'Secondary-V5';
|
|
28
|
+
|
|
27
29
|
interface Link {
|
|
28
30
|
id: number;
|
|
29
31
|
slug: string;
|
|
@@ -46,6 +48,7 @@ interface LinkAlternate {
|
|
|
46
48
|
type Links = {
|
|
47
49
|
[key: string]: Link;
|
|
48
50
|
};
|
|
51
|
+
type Alignment = "left" | "center" | "right";
|
|
49
52
|
interface Asset {
|
|
50
53
|
id: number;
|
|
51
54
|
alt?: string;
|
|
@@ -71,6 +74,43 @@ interface ComponentMetadata {
|
|
|
71
74
|
integrationId?: string;
|
|
72
75
|
}
|
|
73
76
|
type FalconGradientTypes = 'rubyglow-diagonal' | 'rubyglow-vertical' | 'pinksky-diagonal' | 'pinksky-vertical' | 'bluehaze-diagonal' | 'bluehaze-vertical' | 'greencloud-diagonal' | 'greencloud-vertical' | 'peachfog-diagonal' | 'peachfog-vertical' | 'darkblue-haze' | 'none';
|
|
77
|
+
interface ComponentWithContentProps<T extends GenericSBProps = GenericSBProps> {
|
|
78
|
+
content: T;
|
|
79
|
+
metadata?: ComponentMetadata | undefined;
|
|
80
|
+
}
|
|
81
|
+
interface FalconButtonSchema extends GenericSBProps {
|
|
82
|
+
buttonLabel?: string;
|
|
83
|
+
buttonIcon?: Asset;
|
|
84
|
+
buttonHoverIcon?: Asset;
|
|
85
|
+
buttonClickedIcon?: Asset;
|
|
86
|
+
buttonDisabledIcon?: Asset;
|
|
87
|
+
buttonLink: MultiLink;
|
|
88
|
+
linkTarget: LinkTarget;
|
|
89
|
+
buttonType: FalconButtonTypes;
|
|
90
|
+
iconPosition: string;
|
|
91
|
+
buttonAlignment: Alignment;
|
|
92
|
+
asset?: Asset;
|
|
93
|
+
id?: string;
|
|
94
|
+
bloks?: any;
|
|
95
|
+
minWidth: number;
|
|
96
|
+
enableScroll: boolean;
|
|
97
|
+
targetElement: componentsInStory;
|
|
98
|
+
blackFridayThemeIcon: Asset;
|
|
99
|
+
fromTallhero?: boolean;
|
|
100
|
+
}
|
|
101
|
+
interface MultiLink {
|
|
102
|
+
id: string;
|
|
103
|
+
url: string;
|
|
104
|
+
linktype: 'url' | 'story';
|
|
105
|
+
fieldtype: 'multilink';
|
|
106
|
+
cached_url: string;
|
|
107
|
+
}
|
|
108
|
+
type LinkTarget = '_self' | '_blank' | null;
|
|
109
|
+
interface componentsInStory {
|
|
110
|
+
_uid: string;
|
|
111
|
+
plugin: string;
|
|
112
|
+
blockIdentifier: string;
|
|
113
|
+
}
|
|
74
114
|
|
|
75
115
|
interface CardSchema {
|
|
76
116
|
content: any;
|
|
@@ -252,7 +292,7 @@ interface OttServiceOptionsSmallPopupProps {
|
|
|
252
292
|
mainContent: any;
|
|
253
293
|
preSelectedOptions: any[];
|
|
254
294
|
optionsResponse: any[];
|
|
255
|
-
updateResponseList
|
|
295
|
+
updateResponseList?: (list: any) => void;
|
|
256
296
|
showPrice?: any;
|
|
257
297
|
productData?: any;
|
|
258
298
|
offeringData?: any;
|
|
@@ -261,6 +301,54 @@ interface OttServiceOptionsSmallPopupProps {
|
|
|
261
301
|
}
|
|
262
302
|
declare const OttServiceOptionsSmallPopup: ({ content, addOptionsCallBack, metadata, constants, mainContent, preSelectedOptions, optionsResponse, updateResponseList, showPrice, productData, offeringData, uniqueId, deviceFlow }: OttServiceOptionsSmallPopupProps) => React.JSX.Element;
|
|
263
303
|
|
|
304
|
+
interface paymentOptionSchema {
|
|
305
|
+
paymentSubText: string;
|
|
306
|
+
paymentText: string;
|
|
307
|
+
type: string;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
interface MultiItemAccessoriesSchema extends GenericSBProps {
|
|
311
|
+
component: '"AccessoriesRecommendationCards"';
|
|
312
|
+
accessoriesLabel: string;
|
|
313
|
+
addCartBtnIcon: any;
|
|
314
|
+
addCartBtntext: string;
|
|
315
|
+
checkoutBtnText: string;
|
|
316
|
+
checkoutLabel: string;
|
|
317
|
+
compatibleText: string;
|
|
318
|
+
customizeDeviceLabel: string;
|
|
319
|
+
monthlyPaymentLabel: string;
|
|
320
|
+
monthlyDownPaymentLabel: string;
|
|
321
|
+
oneTimePaymentLabel: string;
|
|
322
|
+
pickYourDeviceLabel: string;
|
|
323
|
+
recommendationLabel: any;
|
|
324
|
+
removeCartBtnIcon: any;
|
|
325
|
+
removeCartBtnText: string;
|
|
326
|
+
yourSubscriptionLabel: string;
|
|
327
|
+
progressionBar: any;
|
|
328
|
+
addtocartButton: FalconButtonSchema[];
|
|
329
|
+
removefromcartButton: FalconButtonSchema[];
|
|
330
|
+
proceedtocheckoutButton: FalconButtonSchema[];
|
|
331
|
+
parentSlugUrl: string;
|
|
332
|
+
multiItemCheckoutUrl: any;
|
|
333
|
+
accessoriesLimit: number;
|
|
334
|
+
accessoriesColorLabel: string;
|
|
335
|
+
totalText: string;
|
|
336
|
+
monthlyText: string;
|
|
337
|
+
errorModal: any;
|
|
338
|
+
retryButton: any;
|
|
339
|
+
cancelButtonLinkText: any;
|
|
340
|
+
cartLimitWarningText: any;
|
|
341
|
+
cartLimitModal: any;
|
|
342
|
+
cartLimitBtnText: string;
|
|
343
|
+
paymentOptions: paymentOptionSchema[];
|
|
344
|
+
paymentHeadingText: string;
|
|
345
|
+
winAccessoriesLimit: number;
|
|
346
|
+
winLimitWarningText: any;
|
|
347
|
+
winCheckoutUrl: any;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
declare const MultiItemAccessoriesWithProvider: (props: ComponentWithContentProps<MultiItemAccessoriesSchema>) => React.JSX.Element;
|
|
351
|
+
|
|
264
352
|
interface NotificationToastProps {
|
|
265
353
|
title: string;
|
|
266
354
|
message: string;
|
|
@@ -372,5 +460,5 @@ declare class StickyBottomSheetPropConfig {
|
|
|
372
460
|
static create: (p_config: StickyBottomSheetPropConfigSchema) => void;
|
|
373
461
|
}
|
|
374
462
|
|
|
375
|
-
export { AssetPathPropConfig, BenefitWrapper, Breadcrumb, Button, Card, CardEntitlement, CarouselComp, CheckCoverage, CoverageCheckModal, DeviceCards as DeviceCard, DevicePropConfig, DpLinetableContainer as DpLinetable, FreshProductBannerHome, HeroLoginBanner as HeroLogin, LineTableBasicPropConfig, LinecheckBasicPropConfig, LincheckModal as LinecheckModal, LoginBasicPropConfig, LoginModal as LoginModalV2, NotificationToast, OttServiceOptionsSmallPopup, PreToPostSubsPopup as PretoPostSubsPopup, ProductTableV3, ProductTeaser, ProductTeaserPropConfig, ProgressionBar, StaticLineTable, StickyBottomSheet, StickyBottomSheetPropConfig, StickyProductAnchor };
|
|
463
|
+
export { AssetPathPropConfig, BenefitWrapper, Breadcrumb, Button, Card, CardEntitlement, CarouselComp, CheckCoverage, CoverageCheckModal, DeviceCards as DeviceCard, DevicePropConfig, DpLinetableContainer as DpLinetable, FreshProductBannerHome, HeroLoginBanner as HeroLogin, LineTableBasicPropConfig, LinecheckBasicPropConfig, LincheckModal as LinecheckModal, LoginBasicPropConfig, LoginModal as LoginModalV2, MultiItemAccessoriesWithProvider, NotificationToast, OttServiceOptionsSmallPopup, PreToPostSubsPopup as PretoPostSubsPopup, ProductTableV3, ProductTeaser, ProductTeaserPropConfig, ProgressionBar, StaticLineTable, StickyBottomSheet, StickyBottomSheetPropConfig, StickyProductAnchor };
|
|
376
464
|
export type { AssetPathPropConfigSchema, DevicePropSchema, LineTableBasicPropConfigSchema, LinecheckBasicPropConfigSchema, LoginBasicPropConfigSchema, ProductTeaserPropConfigSchema, StickyBottomSheetPropConfigSchema };
|