@sunrise-upc/mobile-prod-card 1.2.4-beta.9 → 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. package/dist/cjs/Analytics/AnalyticsConstants.d.ts +13 -0
  2. package/dist/cjs/components/LineCheckV3/AutoComplete.d.ts +1 -2
  3. package/dist/cjs/components/LineCheckV3/IndividualLineCheck.d.ts +1 -1
  4. package/dist/cjs/components/LineCheckV3/LineCheckInput.d.ts +1 -1
  5. package/dist/cjs/components/LineCheckV3/LineCheckOverlay.d.ts +2 -1
  6. package/dist/cjs/components/LineCheckV3/LineCheckV3.d.ts +2 -4
  7. package/dist/cjs/components/LineCheckV3/LinecheckService.d.ts +1 -3
  8. package/dist/cjs/components/LineCheckV3/Success.d.ts +1 -2
  9. package/dist/cjs/components/StaticLineTable/Product.utils.d.ts +1 -1
  10. package/dist/cjs/index.js +2 -2
  11. package/dist/cjs/services/index.d.ts +1 -0
  12. package/dist/cjs/utils/AnalyticsUtils.d.ts +17 -0
  13. package/dist/cjs/utils/utils.d.ts +1 -0
  14. package/dist/esm/Analytics/AnalyticsConstants.d.ts +13 -0
  15. package/dist/esm/components/LineCheckV3/AutoComplete.d.ts +1 -2
  16. package/dist/esm/components/LineCheckV3/IndividualLineCheck.d.ts +1 -1
  17. package/dist/esm/components/LineCheckV3/LineCheckInput.d.ts +1 -1
  18. package/dist/esm/components/LineCheckV3/LineCheckOverlay.d.ts +2 -1
  19. package/dist/esm/components/LineCheckV3/LineCheckV3.d.ts +2 -4
  20. package/dist/esm/components/LineCheckV3/LinecheckService.d.ts +1 -3
  21. package/dist/esm/components/LineCheckV3/Success.d.ts +1 -2
  22. package/dist/esm/components/StaticLineTable/Product.utils.d.ts +1 -1
  23. package/dist/esm/index.js +2 -2
  24. package/dist/esm/services/index.d.ts +1 -0
  25. package/dist/esm/utils/AnalyticsUtils.d.ts +17 -0
  26. package/dist/esm/utils/utils.d.ts +1 -0
  27. package/dist/index.d.ts +14 -1
  28. package/package.json +1 -1
  29. package/dist/cjs/components/LineCheckV3/LineCheck.types.d.ts +0 -46
  30. package/dist/cjs/components/LineCheckV3/LineCheckLoader.d.ts +0 -3
  31. package/dist/esm/components/LineCheckV3/LineCheck.types.d.ts +0 -46
  32. package/dist/esm/components/LineCheckV3/LineCheckLoader.d.ts +0 -3
  33. /package/dist/cjs/{components/LineCheckV3 → services}/LinecheckBasicPropConfig.d.ts +0 -0
  34. /package/dist/esm/{components/LineCheckV3 → services}/LinecheckBasicPropConfig.d.ts +0 -0
@@ -1,2 +1,3 @@
1
1
  export * from "./LineTableBasicPropConfig";
2
2
  export * from "./ProductTeaserPropsConfig";
3
+ export * from "./LinecheckBasicPropConfig";
@@ -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
@@ -207,4 +207,17 @@ declare class ProductTeaserPropConfig {
207
207
  static create: (p_config: ProductTeaserPropConfigSchema) => void;
208
208
  }
209
209
 
210
- export { AssetPathPropConfig, AssetPathPropConfigSchema, Button, Card, CardEntitlement, CarouselComp, LineTableBasicPropConfig, LineTableBasicPropConfigSchema, LoginModal, ProductTableV3, ProductTeaser, ProductTeaserPropConfig, ProductTeaserPropConfigSchema, StaticLineTable, StickyProductAnchor };
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-beta.9",
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",
@@ -1,46 +0,0 @@
1
- export interface LineCheckProps {
2
- checkoutButtonUrl: any;
3
- linecheck: any;
4
- showModemTitle: string;
5
- modemTitle: string;
6
- component: 'linecheck';
7
- shouldAutomateLineCheck: boolean;
8
- regexp: string;
9
- uploadText: string;
10
- downloadText: string;
11
- title: string;
12
- placeholder: string;
13
- buttonvalue: string;
14
- errorMsg: string;
15
- noAddressFoundErrorMsg: string;
16
- changeText?: string;
17
- requiredFieldText: string;
18
- changeTextMob?: string;
19
- linecheckIcons?: any;
20
- speedTooltip: string;
21
- dataText: string;
22
- speedUpgradeToolTip: string;
23
- upgradeText: string;
24
- reference?: any;
25
- maximumSpeedText?: string;
26
- checkoutButtonLabel?: string;
27
- }
28
- interface ShippingAddressProps {
29
- address: string;
30
- address2: string;
31
- building: string;
32
- city: string;
33
- country: string;
34
- countryCode: string;
35
- floor: string;
36
- room: string;
37
- zipcode: string;
38
- }
39
- export interface LineCheckSchema {
40
- content: LineCheckProps;
41
- metadata?: any;
42
- shippingAddress?: ShippingAddressProps;
43
- onSuccess: () => void;
44
- onModemDetailsClick?: () => any;
45
- }
46
- export {};
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const LineCheckLoader: () => JSX.Element;
3
- export default LineCheckLoader;
@@ -1,46 +0,0 @@
1
- export interface LineCheckProps {
2
- checkoutButtonUrl: any;
3
- linecheck: any;
4
- showModemTitle: string;
5
- modemTitle: string;
6
- component: 'linecheck';
7
- shouldAutomateLineCheck: boolean;
8
- regexp: string;
9
- uploadText: string;
10
- downloadText: string;
11
- title: string;
12
- placeholder: string;
13
- buttonvalue: string;
14
- errorMsg: string;
15
- noAddressFoundErrorMsg: string;
16
- changeText?: string;
17
- requiredFieldText: string;
18
- changeTextMob?: string;
19
- linecheckIcons?: any;
20
- speedTooltip: string;
21
- dataText: string;
22
- speedUpgradeToolTip: string;
23
- upgradeText: string;
24
- reference?: any;
25
- maximumSpeedText?: string;
26
- checkoutButtonLabel?: string;
27
- }
28
- interface ShippingAddressProps {
29
- address: string;
30
- address2: string;
31
- building: string;
32
- city: string;
33
- country: string;
34
- countryCode: string;
35
- floor: string;
36
- room: string;
37
- zipcode: string;
38
- }
39
- export interface LineCheckSchema {
40
- content: LineCheckProps;
41
- metadata?: any;
42
- shippingAddress?: ShippingAddressProps;
43
- onSuccess: () => void;
44
- onModemDetailsClick?: () => any;
45
- }
46
- export {};
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const LineCheckLoader: () => JSX.Element;
3
- export default LineCheckLoader;