@sunrise-upc/mobile-prod-card 1.2.5 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. package/dist/cjs/Analytics/AnalyticsConstants.d.ts +0 -21
  2. package/dist/cjs/components/index.d.ts +0 -3
  3. package/dist/cjs/components/lineTable/lineTable.types.d.ts +1 -1
  4. package/dist/cjs/index.js +1 -8
  5. package/dist/cjs/services/LineTableService.d.ts +0 -1
  6. package/dist/cjs/services/index.d.ts +0 -1
  7. package/dist/cjs/utils/AnalyticsUtils.d.ts +0 -17
  8. package/dist/cjs/utils/utils.d.ts +0 -1
  9. package/dist/esm/Analytics/AnalyticsConstants.d.ts +0 -21
  10. package/dist/esm/components/index.d.ts +0 -3
  11. package/dist/esm/components/lineTable/lineTable.types.d.ts +1 -1
  12. package/dist/esm/index.js +1 -8
  13. package/dist/esm/services/LineTableService.d.ts +0 -1
  14. package/dist/esm/services/index.d.ts +0 -1
  15. package/dist/esm/utils/AnalyticsUtils.d.ts +0 -17
  16. package/dist/esm/utils/utils.d.ts +0 -1
  17. package/dist/index.d.ts +1 -34
  18. package/package.json +2 -3
  19. package/dist/cjs/components/BenefitWrapper/BenefitValidate.d.ts +0 -3
  20. package/dist/cjs/components/BenefitWrapper/BenefitWrapper.d.ts +0 -3
  21. package/dist/cjs/components/BenefitWrapper/Benefits.d.ts +0 -1
  22. package/dist/cjs/components/BenefitWrapper/BenefitsValidateWrapper.d.ts +0 -3
  23. package/dist/cjs/components/BenefitWrapper/index.d.ts +0 -1
  24. package/dist/cjs/components/LineCheckV3/APIResourceConstants.d.ts +0 -8
  25. package/dist/cjs/components/LineCheckV3/AutoComplete.d.ts +0 -6
  26. package/dist/cjs/components/LineCheckV3/GenericModal.d.ts +0 -17
  27. package/dist/cjs/components/LineCheckV3/IndividualLineCheck.d.ts +0 -2
  28. package/dist/cjs/components/LineCheckV3/LineCheckInput.d.ts +0 -3
  29. package/dist/cjs/components/LineCheckV3/LineCheckOverlay.d.ts +0 -9
  30. package/dist/cjs/components/LineCheckV3/LineCheckV3.d.ts +0 -3
  31. package/dist/cjs/components/LineCheckV3/LinecheckModal.d.ts +0 -3
  32. package/dist/cjs/components/LineCheckV3/LinecheckService.d.ts +0 -10
  33. package/dist/cjs/components/LineCheckV3/Success.d.ts +0 -16
  34. package/dist/cjs/components/LineCheckV3/api-constants.d.ts +0 -1
  35. package/dist/cjs/components/LineCheckV3/index.d.ts +0 -1
  36. package/dist/cjs/components/StaticLineTable/CheckoutButton.d.ts +0 -4
  37. package/dist/cjs/components/StaticLineTable/DynamicPriceSection.d.ts +0 -4
  38. package/dist/cjs/components/StaticLineTable/Product.utils.d.ts +0 -11
  39. package/dist/cjs/components/StaticLineTable/StaticBenefit.d.ts +0 -4
  40. package/dist/cjs/components/StaticLineTable/StaticLineTable.d.ts +0 -4
  41. package/dist/cjs/components/StaticLineTable/StaticProduct.d.ts +0 -4
  42. package/dist/cjs/components/StaticLineTable/StaticProductContainer.d.ts +0 -4
  43. package/dist/cjs/components/StaticLineTable/StaticProductDatatypes.d.ts +0 -81
  44. package/dist/cjs/components/StaticLineTable/StaticProductDetails.d.ts +0 -4
  45. package/dist/cjs/components/StaticLineTable/StaticProductDetailsModal.d.ts +0 -14
  46. package/dist/cjs/components/StaticLineTable/StaticProductEntitlement.d.ts +0 -3
  47. package/dist/cjs/components/StaticLineTable/TVChannelModal.d.ts +0 -3
  48. package/dist/cjs/components/StaticLineTable/index.d.ts +0 -1
  49. package/dist/cjs/services/LinecheckBasicPropConfig.d.ts +0 -12
  50. package/dist/esm/components/BenefitWrapper/BenefitValidate.d.ts +0 -3
  51. package/dist/esm/components/BenefitWrapper/BenefitWrapper.d.ts +0 -3
  52. package/dist/esm/components/BenefitWrapper/Benefits.d.ts +0 -1
  53. package/dist/esm/components/BenefitWrapper/BenefitsValidateWrapper.d.ts +0 -3
  54. package/dist/esm/components/BenefitWrapper/index.d.ts +0 -1
  55. package/dist/esm/components/LineCheckV3/APIResourceConstants.d.ts +0 -8
  56. package/dist/esm/components/LineCheckV3/AutoComplete.d.ts +0 -6
  57. package/dist/esm/components/LineCheckV3/GenericModal.d.ts +0 -17
  58. package/dist/esm/components/LineCheckV3/IndividualLineCheck.d.ts +0 -2
  59. package/dist/esm/components/LineCheckV3/LineCheckInput.d.ts +0 -3
  60. package/dist/esm/components/LineCheckV3/LineCheckOverlay.d.ts +0 -9
  61. package/dist/esm/components/LineCheckV3/LineCheckV3.d.ts +0 -3
  62. package/dist/esm/components/LineCheckV3/LinecheckModal.d.ts +0 -3
  63. package/dist/esm/components/LineCheckV3/LinecheckService.d.ts +0 -10
  64. package/dist/esm/components/LineCheckV3/Success.d.ts +0 -16
  65. package/dist/esm/components/LineCheckV3/api-constants.d.ts +0 -1
  66. package/dist/esm/components/LineCheckV3/index.d.ts +0 -1
  67. package/dist/esm/components/StaticLineTable/CheckoutButton.d.ts +0 -4
  68. package/dist/esm/components/StaticLineTable/DynamicPriceSection.d.ts +0 -4
  69. package/dist/esm/components/StaticLineTable/Product.utils.d.ts +0 -11
  70. package/dist/esm/components/StaticLineTable/StaticBenefit.d.ts +0 -4
  71. package/dist/esm/components/StaticLineTable/StaticLineTable.d.ts +0 -4
  72. package/dist/esm/components/StaticLineTable/StaticProduct.d.ts +0 -4
  73. package/dist/esm/components/StaticLineTable/StaticProductContainer.d.ts +0 -4
  74. package/dist/esm/components/StaticLineTable/StaticProductDatatypes.d.ts +0 -81
  75. package/dist/esm/components/StaticLineTable/StaticProductDetails.d.ts +0 -4
  76. package/dist/esm/components/StaticLineTable/StaticProductDetailsModal.d.ts +0 -14
  77. package/dist/esm/components/StaticLineTable/StaticProductEntitlement.d.ts +0 -3
  78. package/dist/esm/components/StaticLineTable/TVChannelModal.d.ts +0 -3
  79. package/dist/esm/components/StaticLineTable/index.d.ts +0 -1
  80. package/dist/esm/services/LinecheckBasicPropConfig.d.ts +0 -12
@@ -4,4 +4,3 @@ export declare const createCartV2: (productData: any, radioValue: string, defaul
4
4
  export declare const fetchLinetableContent: (slugurl: string, params: any) => Promise<any>;
5
5
  export declare const getStaticContent: (language: any, endPoints: any) => Promise<any>;
6
6
  export declare const fetchOfferingDataLineTableV2: (params: any, uniqueId: any, endpoint: any, existingCustomer?: boolean, subscriptionType?: string, enableReturnPromo?: boolean) => Promise<any>;
7
- export declare const fetchSubscriptionData: (category: any, endpoint: any) => Promise<any>;
@@ -1,3 +1,2 @@
1
1
  export * from "./LineTableBasicPropConfig";
2
2
  export * from "./ProductTeaserPropsConfig";
3
- export * from "./LinecheckBasicPropConfig";
@@ -1,18 +1 @@
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,4 +10,3 @@ 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
@@ -152,26 +152,6 @@ declare const ProductTableV3: FC<ProductTableSchema>;
152
152
 
153
153
  declare const StickyProductAnchor: ({ content, offerData, lineCheckCallBack }: any) => JSX.Element;
154
154
 
155
- interface StaticLinetableSchema {
156
- content: any;
157
- tabCheckCallBack?: any;
158
- setGenericErrorModalDetails: any;
159
- metadata: any;
160
- loginSuccess?: boolean;
161
- changeAddressClicked?: any;
162
- linecheckSuccessCallBack?: any;
163
- selectedOption?: string;
164
- basicConfigUrl?: string;
165
- selectedExistingOption?: any;
166
- setLoginSuccess?: any;
167
- }
168
-
169
- declare const StaticLineTable: FC<StaticLinetableSchema>;
170
-
171
- declare const LincheckModal: FC<any>;
172
-
173
- declare const BenefitWrapper: ({ content, metadata, setGenericErrorModalDetails, loginSuccess, basicConfigUrl, setLoginSuccess }: any) => JSX.Element;
174
-
175
155
  interface LineTableBasicPropConfigSchema {
176
156
  baseURL: string | '';
177
157
  cartURL?: string | '';
@@ -215,17 +195,4 @@ declare class ProductTeaserPropConfig {
215
195
  static create: (p_config: ProductTeaserPropConfigSchema) => void;
216
196
  }
217
197
 
218
- interface LinecheckBasicPropConfigSchema {
219
- baseURL: string | '';
220
- }
221
- declare class LinecheckBasicPropConfig {
222
- private static instance;
223
- config: LinecheckBasicPropConfigSchema;
224
- private constructor();
225
- getConfig: () => LinecheckBasicPropConfigSchema;
226
- getBaseUrl: () => string;
227
- static getInstance: () => LinecheckBasicPropConfig;
228
- static create: (p_config: LinecheckBasicPropConfigSchema) => void;
229
- }
230
-
231
- export { AssetPathPropConfig, AssetPathPropConfigSchema, BenefitWrapper, Button, Card, CardEntitlement, CarouselComp, LineTableBasicPropConfig, LineTableBasicPropConfigSchema, LinecheckBasicPropConfig, LinecheckBasicPropConfigSchema, LincheckModal as LinecheckModal, LoginModal, ProductTableV3, ProductTeaser, ProductTeaserPropConfig, ProductTeaserPropConfigSchema, StaticLineTable, StickyProductAnchor };
198
+ export { AssetPathPropConfig, AssetPathPropConfigSchema, Button, Card, CardEntitlement, CarouselComp, LineTableBasicPropConfig, LineTableBasicPropConfigSchema, LoginModal, ProductTableV3, ProductTeaser, ProductTeaserPropConfig, ProductTeaserPropConfigSchema, StickyProductAnchor };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunrise-upc/mobile-prod-card",
3
- "version": "1.2.5",
3
+ "version": "1.3.0",
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,8 +53,7 @@
53
53
  "sass": "^1.57.1",
54
54
  "semver": "^7.3.8",
55
55
  "tslib": "^2.4.1",
56
- "typescript": "^4.9.4",
57
- "cookies-next": "^2.1.1"
56
+ "typescript": "^4.9.4"
58
57
  },
59
58
  "peerDependencies": {
60
59
  "@sunrise-upc/ajax-lib": "^1.1.5",
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const BenefitsValidate: ({ content, authData, loginContent, metadata, afterLoginContent, createCartCall, extraContent, basicConfigUrl, selectedExistingOption, setShowBenefit, setLoginSuccess }: any) => JSX.Element;
3
- export default BenefitsValidate;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const BenefitWrapper: ({ content, metadata, setGenericErrorModalDetails, loginSuccess, basicConfigUrl, setLoginSuccess }: any) => JSX.Element;
3
- export default BenefitWrapper;
@@ -1 +0,0 @@
1
- export declare const CheckBenefitsMatch: (userBenefitsSelectedCheckBox: any[], userSubscriptionData: any[]) => boolean;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const BenefitsValidateWrapper: ({ content, loginContent, metadata, createCartCall, fetchOfferData, basicConfigUrl, selectedExistingOption, setShowBenefit, setLoginSuccess }: any) => JSX.Element;
3
- export default BenefitsValidateWrapper;
@@ -1 +0,0 @@
1
- export { default } from './BenefitWrapper';
@@ -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,6 +0,0 @@
1
- /**
2
- * A candidate for common component.
3
- */
4
- import React from 'react';
5
- declare const AutoComplete: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<HTMLInputElement>>;
6
- export default AutoComplete;
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- interface GenericModalSchema {
3
- modalState: boolean;
4
- handler: () => void;
5
- children: React.ReactNode;
6
- showFooter: boolean;
7
- footerNode?: React.ReactNode;
8
- height?: string;
9
- width?: string;
10
- noCloseButton?: boolean;
11
- backDrop?: boolean;
12
- fixedWidth?: string;
13
- backgroundColor?: string;
14
- bodyPadding?: string;
15
- }
16
- declare const GenericModal: ({ modalState, handler, showFooter, footerNode, children, width, height, noCloseButton, backDrop, fixedWidth, backgroundColor, bodyPadding }: GenericModalSchema) => JSX.Element;
17
- export default GenericModal;
@@ -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,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,9 +0,0 @@
1
- /// <reference types="react" />
2
- export interface LineCheckOverlaySchema {
3
- props: any;
4
- productName: string;
5
- handleModalClick: any;
6
- onSuccess: any;
7
- }
8
- declare const LineCheckOverlay: ({ props, productName, handleModalClick, onSuccess }: LineCheckOverlaySchema) => JSX.Element;
9
- export default LineCheckOverlay;
@@ -1,3 +0,0 @@
1
- import { FC } from 'react';
2
- declare const LineCheckV3: FC<any>;
3
- export default LineCheckV3;
@@ -1,3 +0,0 @@
1
- import { FC } from 'react';
2
- declare const LincheckModal: FC<any>;
3
- export default LincheckModal;
@@ -1,10 +0,0 @@
1
- export declare const getLineCheckService: (selectedAdd: any) => unknown;
2
- export declare const fetchLineCheck: (payload: any) => Promise<{
3
- corelationaId: any;
4
- lineCheckResponse: any;
5
- eligibleBundle: any;
6
- maxUploadDownloadSpeed: any;
7
- configEligibleBundle: string[];
8
- plannedUpgrade: any;
9
- }>;
10
- export declare const fetchAddress: (address: any, isValid: boolean) => Promise<any>;
@@ -1,16 +0,0 @@
1
- /// <reference types="react" />
2
- interface successInterface {
3
- content: string | JSX.Element;
4
- isLoading: boolean;
5
- uploadDownload: MaxDownloadUploadSpeed | Partial<MaxDownloadUploadSpeed>;
6
- textContent: any;
7
- eligibleBundle: any;
8
- tooltipcontent: string | JSX.Element;
9
- onSuccess?: any;
10
- }
11
- interface MaxDownloadUploadSpeed {
12
- maxBandwidthDown: number;
13
- maxBandwidthUp: number;
14
- }
15
- declare const Success: ({ content, uploadDownload, textContent, eligibleBundle, tooltipcontent, onSuccess }: successInterface) => JSX.Element;
16
- export default Success;
@@ -1 +0,0 @@
1
- export declare const API_BASE_BASEPOINT: any;
@@ -1 +0,0 @@
1
- export { default } from './LinecheckModal';
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import { CheckoutButtonSchema } from './StaticProductDatatypes';
3
- declare const CheckoutButton: FC<CheckoutButtonSchema>;
4
- export default CheckoutButton;
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import { DynamicPriceSchema } from './StaticProductDatatypes';
3
- declare const DynamicPriceSection: FC<DynamicPriceSchema>;
4
- export default DynamicPriceSection;
@@ -1,11 +0,0 @@
1
- import { SetStateAction } from 'react';
2
- export declare const fetchStaticProductIds: (productList: any, productId: any) => any;
3
- export declare const checkGiftOrCashback: (data: any) => any;
4
- export declare const staticCreateCart: (setShowLoader: {
5
- (value: SetStateAction<boolean>): void;
6
- (arg0: boolean): void;
7
- }, cartEndPoint: string, giftItem: any, uniqueProductData: any, mainContent: any, showPrice: any, isMobileFlow: boolean, radioValue: any, eligibleBundle: any, address: any, setShowLinecheck: any, showLinecheck: any) => any;
8
- export declare const findHeight: (tabIndex: number, cardsLength: number) => void;
9
- export declare const combineWithSmartPhone: (showPrice: any, storyContent: any, uniqueProductData: any) => void;
10
- export declare const fetchServiceOptions: (entitlement: any, isMobileFlow: boolean) => any;
11
- export declare const fetchPrice: (product: any, isMobileFlow: boolean, pageType?: string, isConfigurator?: boolean) => any;
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import { StaticBenefitsSchema } from './StaticProductDatatypes';
3
- declare const StaticBenefit: FC<StaticBenefitsSchema>;
4
- export default StaticBenefit;
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import { StaticLinetableSchema } from './StaticProductDatatypes';
3
- declare const StaticLineTable: FC<StaticLinetableSchema>;
4
- export default StaticLineTable;
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import { StaticProductSchema } from './StaticProductDatatypes';
3
- declare const StaticProduct: FC<StaticProductSchema>;
4
- export default StaticProduct;
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import { StaticProductContainerSchema } from './StaticProductDatatypes';
3
- declare const StaticProductContainer: FC<StaticProductContainerSchema>;
4
- export default StaticProductContainer;
@@ -1,81 +0,0 @@
1
- export interface StaticLinetableSchema {
2
- content: any;
3
- tabCheckCallBack?: any;
4
- setGenericErrorModalDetails: any;
5
- metadata: any;
6
- loginSuccess?: boolean;
7
- changeAddressClicked?: any;
8
- linecheckSuccessCallBack?: any;
9
- selectedOption?: string;
10
- basicConfigUrl?: string;
11
- selectedExistingOption?: any;
12
- setLoginSuccess?: any;
13
- }
14
- export interface StaticProductSchema {
15
- content: any;
16
- offeringData: any;
17
- uniqueId: number | string | symbol;
18
- storyContent: any;
19
- metadata: any;
20
- tabIndex: number;
21
- cardsLength: number;
22
- indexKey: number;
23
- constants: any;
24
- mainContent?: any;
25
- address?: any;
26
- linecheckSuccessCallBack?: any;
27
- eligibleBundle?: any;
28
- selectedOption?: string;
29
- fetchOfferData?: any;
30
- basicConfigUrl?: string;
31
- selectedExistingOption?: any;
32
- setLoginSuccess?: any;
33
- }
34
- export interface DynamicPriceSchema {
35
- priceCollection: any;
36
- constants: any;
37
- promoText?: string;
38
- }
39
- export interface StaticProductContainerSchema {
40
- content: any;
41
- setGenericErrorModalDetails: any;
42
- metadata: any;
43
- tabIndex: number;
44
- constants: any;
45
- loginSuccess?: any;
46
- activeIndex: number;
47
- mainContent?: any;
48
- address?: any;
49
- eligibleBundle?: any;
50
- linecheckSuccessCallBack?: any;
51
- selectedOption?: string;
52
- basicConfigUrl?: string;
53
- selectedExistingOption?: any;
54
- setLoginSuccess?: any;
55
- }
56
- export interface StaticProductDetailsSchema {
57
- content: any;
58
- showProductDetail: any;
59
- setShowProductDetail: any;
60
- constants: any;
61
- showPrice: any;
62
- isMobileFlow: boolean;
63
- createCartCall: any;
64
- storyContent: any;
65
- isAvailable?: boolean;
66
- address?: any;
67
- }
68
- export interface StaticBenefitsSchema {
69
- content: any;
70
- benefitData: any;
71
- constants: any;
72
- }
73
- export interface CheckoutButtonSchema {
74
- isMobileFlow: boolean;
75
- createCartCall: any;
76
- constants: any;
77
- storyContent: any;
78
- showPrice: any;
79
- isAvailable?: boolean;
80
- address?: any;
81
- }
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import { StaticProductDetailsSchema } from './StaticProductDatatypes';
3
- declare const StaticProductDetails: FC<StaticProductDetailsSchema>;
4
- export default StaticProductDetails;
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- interface GenericModalSchema {
3
- modalState: boolean;
4
- handler: () => void;
5
- children: React.ReactNode;
6
- showFooter: boolean;
7
- footerNode?: React.ReactNode;
8
- height?: string;
9
- width?: string;
10
- backDrop?: boolean;
11
- backButton?: string;
12
- }
13
- declare const ProductDetailsModal: ({ modalState, handler, showFooter, footerNode, children, width, height, backButton }: GenericModalSchema) => any;
14
- export default ProductDetailsModal;
@@ -1,3 +0,0 @@
1
- import { FC } from 'react';
2
- declare const StaticProductEntitlement: FC<any>;
3
- export default StaticProductEntitlement;
@@ -1,3 +0,0 @@
1
- import { FC } from 'react';
2
- declare const TVChannelModal: FC<any>;
3
- export default TVChannelModal;
@@ -1 +0,0 @@
1
- export { default } from './StaticLineTable';
@@ -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,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const BenefitsValidate: ({ content, authData, loginContent, metadata, afterLoginContent, createCartCall, extraContent, basicConfigUrl, selectedExistingOption, setShowBenefit, setLoginSuccess }: any) => JSX.Element;
3
- export default BenefitsValidate;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const BenefitWrapper: ({ content, metadata, setGenericErrorModalDetails, loginSuccess, basicConfigUrl, setLoginSuccess }: any) => JSX.Element;
3
- export default BenefitWrapper;
@@ -1 +0,0 @@
1
- export declare const CheckBenefitsMatch: (userBenefitsSelectedCheckBox: any[], userSubscriptionData: any[]) => boolean;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const BenefitsValidateWrapper: ({ content, loginContent, metadata, createCartCall, fetchOfferData, basicConfigUrl, selectedExistingOption, setShowBenefit, setLoginSuccess }: any) => JSX.Element;
3
- export default BenefitsValidateWrapper;
@@ -1 +0,0 @@
1
- export { default } from './BenefitWrapper';
@@ -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,6 +0,0 @@
1
- /**
2
- * A candidate for common component.
3
- */
4
- import React from 'react';
5
- declare const AutoComplete: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<HTMLInputElement>>;
6
- export default AutoComplete;
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- interface GenericModalSchema {
3
- modalState: boolean;
4
- handler: () => void;
5
- children: React.ReactNode;
6
- showFooter: boolean;
7
- footerNode?: React.ReactNode;
8
- height?: string;
9
- width?: string;
10
- noCloseButton?: boolean;
11
- backDrop?: boolean;
12
- fixedWidth?: string;
13
- backgroundColor?: string;
14
- bodyPadding?: string;
15
- }
16
- declare const GenericModal: ({ modalState, handler, showFooter, footerNode, children, width, height, noCloseButton, backDrop, fixedWidth, backgroundColor, bodyPadding }: GenericModalSchema) => JSX.Element;
17
- export default GenericModal;
@@ -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,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,9 +0,0 @@
1
- /// <reference types="react" />
2
- export interface LineCheckOverlaySchema {
3
- props: any;
4
- productName: string;
5
- handleModalClick: any;
6
- onSuccess: any;
7
- }
8
- declare const LineCheckOverlay: ({ props, productName, handleModalClick, onSuccess }: LineCheckOverlaySchema) => JSX.Element;
9
- export default LineCheckOverlay;
@@ -1,3 +0,0 @@
1
- import { FC } from 'react';
2
- declare const LineCheckV3: FC<any>;
3
- export default LineCheckV3;
@@ -1,3 +0,0 @@
1
- import { FC } from 'react';
2
- declare const LincheckModal: FC<any>;
3
- export default LincheckModal;
@@ -1,10 +0,0 @@
1
- export declare const getLineCheckService: (selectedAdd: any) => unknown;
2
- export declare const fetchLineCheck: (payload: any) => Promise<{
3
- corelationaId: any;
4
- lineCheckResponse: any;
5
- eligibleBundle: any;
6
- maxUploadDownloadSpeed: any;
7
- configEligibleBundle: string[];
8
- plannedUpgrade: any;
9
- }>;
10
- export declare const fetchAddress: (address: any, isValid: boolean) => Promise<any>;
@@ -1,16 +0,0 @@
1
- /// <reference types="react" />
2
- interface successInterface {
3
- content: string | JSX.Element;
4
- isLoading: boolean;
5
- uploadDownload: MaxDownloadUploadSpeed | Partial<MaxDownloadUploadSpeed>;
6
- textContent: any;
7
- eligibleBundle: any;
8
- tooltipcontent: string | JSX.Element;
9
- onSuccess?: any;
10
- }
11
- interface MaxDownloadUploadSpeed {
12
- maxBandwidthDown: number;
13
- maxBandwidthUp: number;
14
- }
15
- declare const Success: ({ content, uploadDownload, textContent, eligibleBundle, tooltipcontent, onSuccess }: successInterface) => JSX.Element;
16
- export default Success;
@@ -1 +0,0 @@
1
- export declare const API_BASE_BASEPOINT: any;
@@ -1 +0,0 @@
1
- export { default } from './LinecheckModal';
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import { CheckoutButtonSchema } from './StaticProductDatatypes';
3
- declare const CheckoutButton: FC<CheckoutButtonSchema>;
4
- export default CheckoutButton;
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import { DynamicPriceSchema } from './StaticProductDatatypes';
3
- declare const DynamicPriceSection: FC<DynamicPriceSchema>;
4
- export default DynamicPriceSection;
@@ -1,11 +0,0 @@
1
- import { SetStateAction } from 'react';
2
- export declare const fetchStaticProductIds: (productList: any, productId: any) => any;
3
- export declare const checkGiftOrCashback: (data: any) => any;
4
- export declare const staticCreateCart: (setShowLoader: {
5
- (value: SetStateAction<boolean>): void;
6
- (arg0: boolean): void;
7
- }, cartEndPoint: string, giftItem: any, uniqueProductData: any, mainContent: any, showPrice: any, isMobileFlow: boolean, radioValue: any, eligibleBundle: any, address: any, setShowLinecheck: any, showLinecheck: any) => any;
8
- export declare const findHeight: (tabIndex: number, cardsLength: number) => void;
9
- export declare const combineWithSmartPhone: (showPrice: any, storyContent: any, uniqueProductData: any) => void;
10
- export declare const fetchServiceOptions: (entitlement: any, isMobileFlow: boolean) => any;
11
- export declare const fetchPrice: (product: any, isMobileFlow: boolean, pageType?: string, isConfigurator?: boolean) => any;
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import { StaticBenefitsSchema } from './StaticProductDatatypes';
3
- declare const StaticBenefit: FC<StaticBenefitsSchema>;
4
- export default StaticBenefit;
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import { StaticLinetableSchema } from './StaticProductDatatypes';
3
- declare const StaticLineTable: FC<StaticLinetableSchema>;
4
- export default StaticLineTable;
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import { StaticProductSchema } from './StaticProductDatatypes';
3
- declare const StaticProduct: FC<StaticProductSchema>;
4
- export default StaticProduct;
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import { StaticProductContainerSchema } from './StaticProductDatatypes';
3
- declare const StaticProductContainer: FC<StaticProductContainerSchema>;
4
- export default StaticProductContainer;