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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. package/dist/cjs/index.js +1 -8
  2. package/dist/cjs/services/index.d.ts +0 -1
  3. package/dist/esm/index.js +1 -8
  4. package/dist/esm/services/index.d.ts +0 -1
  5. package/dist/index.d.ts +1 -14
  6. package/package.json +1 -1
  7. package/dist/cjs/components/LineCheckV3/APIResourceConstants.d.ts +0 -8
  8. package/dist/cjs/components/LineCheckV3/AutoComplete.d.ts +0 -7
  9. package/dist/cjs/components/LineCheckV3/IndividualLineCheck.d.ts +0 -2
  10. package/dist/cjs/components/LineCheckV3/LineCheck.types.d.ts +0 -46
  11. package/dist/cjs/components/LineCheckV3/LineCheckInput.d.ts +0 -3
  12. package/dist/cjs/components/LineCheckV3/LineCheckLoader.d.ts +0 -3
  13. package/dist/cjs/components/LineCheckV3/LineCheckOverlay.d.ts +0 -6
  14. package/dist/cjs/components/LineCheckV3/LineCheckV3.d.ts +0 -5
  15. package/dist/cjs/components/LineCheckV3/LinecheckService.d.ts +0 -12
  16. package/dist/cjs/components/LineCheckV3/Success.d.ts +0 -18
  17. package/dist/cjs/components/LineCheckV3/api-constants.d.ts +0 -1
  18. package/dist/cjs/services/LinecheckBasicPropConfig.d.ts +0 -12
  19. package/dist/esm/components/LineCheckV3/APIResourceConstants.d.ts +0 -8
  20. package/dist/esm/components/LineCheckV3/AutoComplete.d.ts +0 -7
  21. package/dist/esm/components/LineCheckV3/IndividualLineCheck.d.ts +0 -2
  22. package/dist/esm/components/LineCheckV3/LineCheck.types.d.ts +0 -46
  23. package/dist/esm/components/LineCheckV3/LineCheckInput.d.ts +0 -3
  24. package/dist/esm/components/LineCheckV3/LineCheckLoader.d.ts +0 -3
  25. package/dist/esm/components/LineCheckV3/LineCheckOverlay.d.ts +0 -6
  26. package/dist/esm/components/LineCheckV3/LineCheckV3.d.ts +0 -5
  27. package/dist/esm/components/LineCheckV3/LinecheckService.d.ts +0 -12
  28. package/dist/esm/components/LineCheckV3/Success.d.ts +0 -18
  29. package/dist/esm/components/LineCheckV3/api-constants.d.ts +0 -1
  30. package/dist/esm/services/LinecheckBasicPropConfig.d.ts +0 -12
@@ -1,3 +1,2 @@
1
1
  export * from "./LineTableBasicPropConfig";
2
2
  export * from "./ProductTeaserPropsConfig";
3
- export * from "./LinecheckBasicPropConfig";
package/dist/index.d.ts CHANGED
@@ -207,17 +207,4 @@ declare class ProductTeaserPropConfig {
207
207
  static create: (p_config: ProductTeaserPropConfigSchema) => void;
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 };
210
+ export { AssetPathPropConfig, AssetPathPropConfigSchema, Button, Card, CardEntitlement, CarouselComp, LineTableBasicPropConfig, LineTableBasicPropConfigSchema, 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.10",
3
+ "version": "1.2.4-beta.12",
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,8 +0,0 @@
1
- export declare const apiResConstants: {
2
- X_SUN_CHAL: string;
3
- CUSTOMER: string;
4
- ADDR_ENDPOINT: string;
5
- LINE_CHECK: string;
6
- CONSTANTSKEYS: string;
7
- X_SUN_SITEID: string;
8
- };
@@ -1,7 +0,0 @@
1
- /**
2
- * A candidate for common component.
3
- */
4
- import React from "react";
5
- import "./LineCheck.css";
6
- declare const AutoComplete: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<HTMLInputElement>>;
7
- export default AutoComplete;
@@ -1,2 +0,0 @@
1
- import React from "react";
2
- export declare const IndividualLineCheck: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<HTMLInputElement>>;
@@ -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
- import React from "react";
2
- declare const LineCheckInput: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<HTMLInputElement>>;
3
- export default LineCheckInput;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const LineCheckLoader: () => JSX.Element;
3
- export default LineCheckLoader;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- export interface LineCheckOverlaySchema {
3
- props: any;
4
- }
5
- declare const LineCheckOverlay: ({ props }: LineCheckOverlaySchema) => JSX.Element;
6
- export default LineCheckOverlay;
@@ -1,5 +0,0 @@
1
- import { FC } from "react";
2
- import "./LineCheck.css";
3
- import { LineCheckSchema } from "./LineCheck.types";
4
- declare const LineCheckV3: FC<LineCheckSchema>;
5
- export default LineCheckV3;
@@ -1,12 +0,0 @@
1
- export declare const fetchAddress: (address: any, isValid: boolean) => Promise<any>;
2
- export declare const getLineCheckService: (selectedAdd: any) => unknown;
3
- export declare const fetchLineCheck: (payload: any) => Promise<{
4
- corelationaId: any;
5
- lineCheckResponse: any;
6
- eligibleBundle: any;
7
- maxUploadDownloadSpeed: any;
8
- configEligibleBundle: string[];
9
- plannedUpgrade: any;
10
- }>;
11
- export declare const getCustomerData: () => string | Promise<any>;
12
- export declare const automateLineCheck: (setFetchingLineCheck: any, setlinecheckResponse: any, shippingAddress: any, onSuccess?: () => void) => Promise<any>;
@@ -1,18 +0,0 @@
1
- /// <reference types="react" />
2
- import "./LineCheck.css";
3
- interface successInterface {
4
- content: string | JSX.Element;
5
- isLoading: boolean;
6
- uploadDownload: MaxDownloadUploadSpeed | Partial<MaxDownloadUploadSpeed>;
7
- textContent: any;
8
- eligibleBundle: any;
9
- tooltipcontent: string | JSX.Element;
10
- onModemDetailsClick?: () => any;
11
- onSuccess?: any;
12
- }
13
- interface MaxDownloadUploadSpeed {
14
- maxBandwidthDown: number;
15
- maxBandwidthUp: number;
16
- }
17
- declare const Success: ({ content, uploadDownload, textContent, eligibleBundle, tooltipcontent, onModemDetailsClick, onSuccess, }: successInterface) => JSX.Element;
18
- export default Success;
@@ -1 +0,0 @@
1
- export declare const API_BASE_BASEPOINT: any;
@@ -1,12 +0,0 @@
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,8 +0,0 @@
1
- export declare const apiResConstants: {
2
- X_SUN_CHAL: string;
3
- CUSTOMER: string;
4
- ADDR_ENDPOINT: string;
5
- LINE_CHECK: string;
6
- CONSTANTSKEYS: string;
7
- X_SUN_SITEID: string;
8
- };
@@ -1,7 +0,0 @@
1
- /**
2
- * A candidate for common component.
3
- */
4
- import React from "react";
5
- import "./LineCheck.css";
6
- declare const AutoComplete: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<HTMLInputElement>>;
7
- export default AutoComplete;
@@ -1,2 +0,0 @@
1
- import React from "react";
2
- export declare const IndividualLineCheck: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<HTMLInputElement>>;
@@ -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
- import React from "react";
2
- declare const LineCheckInput: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<HTMLInputElement>>;
3
- export default LineCheckInput;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const LineCheckLoader: () => JSX.Element;
3
- export default LineCheckLoader;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- export interface LineCheckOverlaySchema {
3
- props: any;
4
- }
5
- declare const LineCheckOverlay: ({ props }: LineCheckOverlaySchema) => JSX.Element;
6
- export default LineCheckOverlay;
@@ -1,5 +0,0 @@
1
- import { FC } from "react";
2
- import "./LineCheck.css";
3
- import { LineCheckSchema } from "./LineCheck.types";
4
- declare const LineCheckV3: FC<LineCheckSchema>;
5
- export default LineCheckV3;
@@ -1,12 +0,0 @@
1
- export declare const fetchAddress: (address: any, isValid: boolean) => Promise<any>;
2
- export declare const getLineCheckService: (selectedAdd: any) => unknown;
3
- export declare const fetchLineCheck: (payload: any) => Promise<{
4
- corelationaId: any;
5
- lineCheckResponse: any;
6
- eligibleBundle: any;
7
- maxUploadDownloadSpeed: any;
8
- configEligibleBundle: string[];
9
- plannedUpgrade: any;
10
- }>;
11
- export declare const getCustomerData: () => string | Promise<any>;
12
- export declare const automateLineCheck: (setFetchingLineCheck: any, setlinecheckResponse: any, shippingAddress: any, onSuccess?: () => void) => Promise<any>;
@@ -1,18 +0,0 @@
1
- /// <reference types="react" />
2
- import "./LineCheck.css";
3
- interface successInterface {
4
- content: string | JSX.Element;
5
- isLoading: boolean;
6
- uploadDownload: MaxDownloadUploadSpeed | Partial<MaxDownloadUploadSpeed>;
7
- textContent: any;
8
- eligibleBundle: any;
9
- tooltipcontent: string | JSX.Element;
10
- onModemDetailsClick?: () => any;
11
- onSuccess?: any;
12
- }
13
- interface MaxDownloadUploadSpeed {
14
- maxBandwidthDown: number;
15
- maxBandwidthUp: number;
16
- }
17
- declare const Success: ({ content, uploadDownload, textContent, eligibleBundle, tooltipcontent, onModemDetailsClick, onSuccess, }: successInterface) => JSX.Element;
18
- export default Success;
@@ -1 +0,0 @@
1
- export declare const API_BASE_BASEPOINT: any;
@@ -1,12 +0,0 @@
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
- }