@sunrise-upc/mobile-prod-card 1.2.4-beta.8 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/Analytics/AnalyticsConstants.d.ts +13 -0
- package/dist/cjs/components/LineCheckV3/APIResourceConstants.d.ts +8 -0
- package/dist/cjs/components/LineCheckV3/AutoComplete.d.ts +6 -0
- package/dist/cjs/components/LineCheckV3/GenericModal.d.ts +17 -0
- package/dist/cjs/components/LineCheckV3/IndividualLineCheck.d.ts +2 -0
- package/dist/cjs/components/LineCheckV3/LineCheckInput.d.ts +3 -0
- package/dist/cjs/components/LineCheckV3/LineCheckOverlay.d.ts +7 -0
- package/dist/cjs/components/LineCheckV3/LineCheckV3.d.ts +3 -0
- package/dist/cjs/components/LineCheckV3/LinecheckModal.d.ts +3 -0
- package/dist/cjs/components/LineCheckV3/LinecheckService.d.ts +10 -0
- package/dist/cjs/components/LineCheckV3/Success.d.ts +17 -0
- package/dist/cjs/components/LineCheckV3/api-constants.d.ts +1 -0
- package/dist/cjs/components/ProductDetailsV3/BenefitsSectionV3.d.ts +1 -0
- package/dist/cjs/components/ProductDetailsV3/CashBackV2/CashbackV2.d.ts +1 -0
- package/dist/cjs/components/ProductDetailsV3/ChooseGiftV2.d.ts +1 -0
- package/dist/cjs/components/ProductDetailsV3/GiftConfigV2.d.ts +1 -0
- package/dist/cjs/components/ProductDetailsV3/ProductPriceV3.d.ts +1 -0
- package/dist/cjs/components/ProductDetailsV3/tv/EntertainmentOptionsV2/EntertainmentOptionsV2.d.ts +1 -0
- package/dist/cjs/components/ProductDetailsV3/tv/TVChannelOfferV2.d.ts +1 -0
- package/dist/cjs/components/StaticLineTable/Product.utils.d.ts +1 -1
- package/dist/cjs/components/StickyProductAnchor/StickyProductAnchor.d.ts +1 -0
- package/dist/cjs/components/ToolTip/ToolTip.d.ts +1 -0
- package/dist/cjs/components/lineTable/OrderButton.d.ts +1 -0
- package/dist/cjs/components/sharedCarousel/CarouselComponent.d.ts +1 -0
- package/dist/cjs/components/skeletonLoader/Skeletonloader.d.ts +1 -0
- package/dist/cjs/index.js +8 -1
- package/dist/cjs/services/LinecheckBasicPropConfig.d.ts +12 -0
- package/dist/cjs/services/index.d.ts +1 -0
- package/dist/cjs/utils/AnalyticsUtils.d.ts +17 -0
- package/dist/cjs/utils/utils.d.ts +1 -0
- package/dist/esm/Analytics/AnalyticsConstants.d.ts +13 -0
- package/dist/esm/components/LineCheckV3/APIResourceConstants.d.ts +8 -0
- package/dist/esm/components/LineCheckV3/AutoComplete.d.ts +6 -0
- package/dist/esm/components/LineCheckV3/GenericModal.d.ts +17 -0
- package/dist/esm/components/LineCheckV3/IndividualLineCheck.d.ts +2 -0
- package/dist/esm/components/LineCheckV3/LineCheckInput.d.ts +3 -0
- package/dist/esm/components/LineCheckV3/LineCheckOverlay.d.ts +7 -0
- package/dist/esm/components/LineCheckV3/LineCheckV3.d.ts +3 -0
- package/dist/esm/components/LineCheckV3/LinecheckModal.d.ts +3 -0
- package/dist/esm/components/LineCheckV3/LinecheckService.d.ts +10 -0
- package/dist/esm/components/LineCheckV3/Success.d.ts +17 -0
- package/dist/esm/components/LineCheckV3/api-constants.d.ts +1 -0
- package/dist/esm/components/ProductDetailsV3/BenefitsSectionV3.d.ts +1 -0
- package/dist/esm/components/ProductDetailsV3/CashBackV2/CashbackV2.d.ts +1 -0
- package/dist/esm/components/ProductDetailsV3/ChooseGiftV2.d.ts +1 -0
- package/dist/esm/components/ProductDetailsV3/GiftConfigV2.d.ts +1 -0
- package/dist/esm/components/ProductDetailsV3/ProductPriceV3.d.ts +1 -0
- package/dist/esm/components/ProductDetailsV3/tv/EntertainmentOptionsV2/EntertainmentOptionsV2.d.ts +1 -0
- package/dist/esm/components/ProductDetailsV3/tv/TVChannelOfferV2.d.ts +1 -0
- package/dist/esm/components/StaticLineTable/Product.utils.d.ts +1 -1
- package/dist/esm/components/StickyProductAnchor/StickyProductAnchor.d.ts +1 -0
- package/dist/esm/components/ToolTip/ToolTip.d.ts +1 -0
- package/dist/esm/components/lineTable/OrderButton.d.ts +1 -0
- package/dist/esm/components/sharedCarousel/CarouselComponent.d.ts +1 -0
- package/dist/esm/components/skeletonLoader/Skeletonloader.d.ts +1 -0
- package/dist/esm/index.js +8 -1
- package/dist/esm/services/LinecheckBasicPropConfig.d.ts +12 -0
- package/dist/esm/services/index.d.ts +1 -0
- package/dist/esm/utils/AnalyticsUtils.d.ts +17 -0
- package/dist/esm/utils/utils.d.ts +1 -0
- package/dist/index.d.ts +15 -1
- package/package.json +4 -4
@@ -0,0 +1,12 @@
|
|
1
|
+
export interface LinecheckBasicPropConfigSchema {
|
2
|
+
baseURL: string | '';
|
3
|
+
}
|
4
|
+
export declare class LinecheckBasicPropConfig {
|
5
|
+
private static instance;
|
6
|
+
config: LinecheckBasicPropConfigSchema;
|
7
|
+
private constructor();
|
8
|
+
getConfig: () => LinecheckBasicPropConfigSchema;
|
9
|
+
getBaseUrl: () => string;
|
10
|
+
static getInstance: () => LinecheckBasicPropConfig;
|
11
|
+
static create: (p_config: LinecheckBasicPropConfigSchema) => void;
|
12
|
+
}
|
@@ -1 +1,18 @@
|
|
1
1
|
export declare const trackNewDatalayerEvent: (event: string, eventName: string, eventInfo?: any) => void;
|
2
|
+
declare global {
|
3
|
+
interface Window {
|
4
|
+
appEventData: any;
|
5
|
+
dataLayer: any;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
export declare const trackGADatalayerEvent: (event: string, eventName: string, eventInfo?: any) => void;
|
9
|
+
export declare const trackLineEvent: (address: string, eventAction: string, eventValue: string | number, id: string | undefined, type: string) => void;
|
10
|
+
export declare const trackEvent: (eventAction: string, eventValue: string | number, type: string) => void;
|
11
|
+
export declare const trackMessageEvent: (description: string, source: string, title: string, type: string, guid?: string, errorID?: string) => void;
|
12
|
+
export interface ErrorEventInfoInterface {
|
13
|
+
message_type: string;
|
14
|
+
message_title: string;
|
15
|
+
message_source: string;
|
16
|
+
message_reason: string;
|
17
|
+
}
|
18
|
+
export declare const trackErrorEvent: (message_type: string, message_title: string, message_source: string, message_reason: string) => void;
|
@@ -10,3 +10,4 @@ export declare const viewport: () => string;
|
|
10
10
|
export declare const getCookies: (cname: string) => any;
|
11
11
|
export declare const isTouchScreen: () => boolean;
|
12
12
|
export declare const replacePlaceholder: (source: string, params: any) => string;
|
13
|
+
export declare const isModemPresent: () => boolean;
|
package/dist/index.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
/// <reference types="react" />
|
1
2
|
import { MouseEventHandler, FC } from 'react';
|
2
3
|
|
3
4
|
interface ButtonProps {
|
@@ -206,4 +207,17 @@ declare class ProductTeaserPropConfig {
|
|
206
207
|
static create: (p_config: ProductTeaserPropConfigSchema) => void;
|
207
208
|
}
|
208
209
|
|
209
|
-
|
210
|
+
interface LinecheckBasicPropConfigSchema {
|
211
|
+
baseURL: string | '';
|
212
|
+
}
|
213
|
+
declare class LinecheckBasicPropConfig {
|
214
|
+
private static instance;
|
215
|
+
config: LinecheckBasicPropConfigSchema;
|
216
|
+
private constructor();
|
217
|
+
getConfig: () => LinecheckBasicPropConfigSchema;
|
218
|
+
getBaseUrl: () => string;
|
219
|
+
static getInstance: () => LinecheckBasicPropConfig;
|
220
|
+
static create: (p_config: LinecheckBasicPropConfigSchema) => void;
|
221
|
+
}
|
222
|
+
|
223
|
+
export { AssetPathPropConfig, AssetPathPropConfigSchema, Button, Card, CardEntitlement, CarouselComp, LineTableBasicPropConfig, LineTableBasicPropConfigSchema, LinecheckBasicPropConfig, LinecheckBasicPropConfigSchema, LoginModal, ProductTableV3, ProductTeaser, ProductTeaserPropConfig, ProductTeaserPropConfigSchema, StaticLineTable, StickyProductAnchor };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@sunrise-upc/mobile-prod-card",
|
3
|
-
"version": "1.2.4
|
3
|
+
"version": "1.2.4",
|
4
4
|
"description": "Starter project to create reusable functional component",
|
5
5
|
"main": "dist/cjs/index.js",
|
6
6
|
"module": "dist/esm/index.js",
|
@@ -53,7 +53,8 @@
|
|
53
53
|
"sass": "^1.57.1",
|
54
54
|
"semver": "^7.3.8",
|
55
55
|
"tslib": "^2.4.1",
|
56
|
-
"typescript": "^4.9.4"
|
56
|
+
"typescript": "^4.9.4",
|
57
|
+
"cookies-next": "^2.1.1"
|
57
58
|
},
|
58
59
|
"peerDependencies": {
|
59
60
|
"@sunrise-upc/ajax-lib": "^1.1.5",
|
@@ -66,7 +67,6 @@
|
|
66
67
|
"storyblok-rich-text-react-renderer-ts": "^3.2.0",
|
67
68
|
"uuid": "^8.3.2",
|
68
69
|
"react-select": "^5.2.2",
|
69
|
-
"react-loading-skeleton": "^3.4.0"
|
70
|
-
"@sunrise-upc/b2c-sales-linecheck": "2.2.2-beta.5"
|
70
|
+
"react-loading-skeleton": "^3.4.0"
|
71
71
|
}
|
72
72
|
}
|