@sunrise-upc/mobile-prod-card 4.6.1-beta.7 → 4.6.1-beta.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/components/StaticLineTable/OttServiceOptions/OttServiceOptionsModal.d.ts +15 -0
- package/dist/cjs/components/StaticLineTable/OttServiceOptions/OttServiceOptionsPopup.d.ts +3 -0
- package/dist/cjs/components/StaticLineTable/Product.utils.d.ts +3 -3
- package/dist/cjs/components/StaticLineTable/TvOptionsContainer.d.ts +3 -0
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/services/LineTableService.d.ts +1 -1
- package/dist/cjs/services/api-constants.d.ts +1 -0
- package/dist/cjs/utils/constants.d.ts +1 -0
- package/dist/cjs/utils/utils.d.ts +1 -0
- package/dist/esm/components/StaticLineTable/OttServiceOptions/OttServiceOptionsModal.d.ts +15 -0
- package/dist/esm/components/StaticLineTable/OttServiceOptions/OttServiceOptionsPopup.d.ts +3 -0
- package/dist/esm/components/StaticLineTable/Product.utils.d.ts +3 -3
- package/dist/esm/components/StaticLineTable/TvOptionsContainer.d.ts +3 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/services/LineTableService.d.ts +1 -1
- package/dist/esm/services/api-constants.d.ts +1 -0
- package/dist/esm/utils/constants.d.ts +1 -0
- package/dist/esm/utils/utils.d.ts +1 -0
- package/package.json +1 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
export declare const fetchCountryList: (name: string, lang: string, url: string, TTL: number) => Promise<any>;
|
2
2
|
export declare const fetchOfferingDataV2: (requestBody: any, url: any, returnPromo?: boolean) => Promise<any>;
|
3
|
-
export declare const createCartV2: (productData: any, radioValue: string, defaultPromo: string, cartUrl: string, productType: string, chooseGift?: any, enabledP2P?: any, P2PData?: any, isQoqaFlow?: boolean, qVoucher?: any, deviceDetails?: any) => Promise<any>;
|
3
|
+
export declare const createCartV2: (productData: any, radioValue: string, defaultPromo: string, cartUrl: string, productType: string, chooseGift?: any, enabledP2P?: any, P2PData?: any, isQoqaFlow?: boolean, qVoucher?: any, deviceDetails?: any, tvOptions?: any) => Promise<any>;
|
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, P2PEnabled?: boolean) => Promise<any>;
|
@@ -44,3 +44,4 @@ export declare const ERROR_COLOR = "#C60047";
|
|
44
44
|
export declare const BREADCRUMB = "...";
|
45
45
|
export declare const PRE_TO_POST = "PRE_TO_POST";
|
46
46
|
export declare const P2PSUBSCRIBEDPLAN = "Sunrise Prepaid Unlimited";
|
47
|
+
export declare const TV_SERVICE_OPTION = "TV_SERVICE_OPTION";
|
@@ -9,6 +9,7 @@ export declare const removeLocalStorage: (key: string) => void;
|
|
9
9
|
export declare const viewport: () => string;
|
10
10
|
export declare const getCookies: (cname: string) => any;
|
11
11
|
export declare const isTouchScreen: () => boolean;
|
12
|
+
export declare const returnPriceByType: (priceList: any, type: string) => any;
|
12
13
|
export declare const replacePlaceholder: (source: string, params: any) => string;
|
13
14
|
export declare const isModemPresent: () => boolean;
|
14
15
|
export declare const iconHandler: (type: string) => string;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
interface GenericModalSchema {
|
3
|
+
modalState: boolean;
|
4
|
+
handler: () => void;
|
5
|
+
children: React.ReactNode;
|
6
|
+
showFooter: boolean;
|
7
|
+
content?: any;
|
8
|
+
footerNode?: any;
|
9
|
+
height?: string;
|
10
|
+
width?: string;
|
11
|
+
backDrop?: boolean;
|
12
|
+
backButton?: string;
|
13
|
+
}
|
14
|
+
declare const OttServiceOptionsModal: ({ modalState, handler, content, showFooter, footerNode, children, height }: GenericModalSchema) => any;
|
15
|
+
export default OttServiceOptionsModal;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { SetStateAction } from 'react';
|
2
|
-
export declare const fetchStaticProductIds: (productList: any, productId: any, bundle4PProduct?: boolean) => any;
|
2
|
+
export declare const fetchStaticProductIds: (productList: any, productId: any, bundle4PProduct?: boolean, tvOptionIds?: any) => any;
|
3
3
|
export declare const checkGiftOrCashback: (data: any) => any;
|
4
4
|
export declare const staticCreateCart: (setShowLoader: {
|
5
5
|
(value: SetStateAction<boolean>): void;
|
6
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, lineCheckCallBack: any, enableP2P: any, P2PData: any, content: any) => any;
|
7
|
+
}, cartEndPoint: string, giftItem: any, uniqueProductData: any, mainContent: any, showPrice: any, isMobileFlow: boolean, radioValue: any, eligibleBundle: any, address: any, setShowLinecheck: any, showLinecheck: any, lineCheckCallBack: any, enableP2P: any, P2PData: any, content: any, tvOptions?: any) => any;
|
8
8
|
export declare const findHeight: (tabIndex: number, cardsLength: number) => void;
|
9
9
|
export declare const combineWithSmartPhone: (showPrice: any, storyContent: any, uniqueProductData: any, responseData?: any, product?: any) => void;
|
10
10
|
export declare const fetchServiceOptions: (entitlement: any, isMobileFlow: boolean) => any;
|
11
|
-
export declare const fetchPrice: (product: any, isMobileFlow: boolean, pageType?: string, isConfigurator?: boolean) => any;
|
11
|
+
export declare const fetchPrice: (product: any, isMobileFlow: boolean, pageType?: string, isConfigurator?: boolean, tvOptionsPrice?: number) => any;
|
12
12
|
export declare const fetchFilteredProducts: (productList: any, toggleState: any) => any[];
|