@sunrise-upc/mobile-prod-card 3.0.3-beta.0 → 3.0.3-beta.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/components/Breadcrumb/Breadcrumb.d.ts +3 -0
- package/dist/cjs/components/Breadcrumb/index.d.ts +1 -0
- package/dist/cjs/components/Breadcrumb/useScrollCheck.d.ts +4 -0
- package/dist/cjs/components/PretoPost/PreToPostSubsPopup.d.ts +3 -0
- package/dist/cjs/components/PretoPost/index.d.ts +1 -0
- package/dist/cjs/components/StaticLineTable/ExsistingSubscriptionCards.d.ts +11 -0
- package/dist/cjs/components/StaticLineTable/ExsistingSubscriptionModal.d.ts +8 -0
- package/dist/cjs/components/StaticLineTable/Product.utils.d.ts +1 -1
- package/dist/cjs/components/StaticLineTable/StaticProductDatatypes.d.ts +2 -0
- package/dist/cjs/components/index.d.ts +2 -0
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/models/Analytics/items.d.ts +5 -0
- package/dist/cjs/services/LineTableService.d.ts +2 -2
- package/dist/cjs/utils/constants.d.ts +3 -0
- package/dist/esm/components/Breadcrumb/Breadcrumb.d.ts +3 -0
- package/dist/esm/components/Breadcrumb/index.d.ts +1 -0
- package/dist/esm/components/Breadcrumb/useScrollCheck.d.ts +4 -0
- package/dist/esm/components/PretoPost/PreToPostSubsPopup.d.ts +3 -0
- package/dist/esm/components/PretoPost/index.d.ts +1 -0
- package/dist/esm/components/StaticLineTable/ExsistingSubscriptionCards.d.ts +11 -0
- package/dist/esm/components/StaticLineTable/ExsistingSubscriptionModal.d.ts +8 -0
- package/dist/esm/components/StaticLineTable/Product.utils.d.ts +1 -1
- package/dist/esm/components/StaticLineTable/StaticProductDatatypes.d.ts +2 -0
- package/dist/esm/components/index.d.ts +2 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/models/Analytics/items.d.ts +5 -0
- package/dist/esm/services/LineTableService.d.ts +2 -2
- package/dist/esm/utils/constants.d.ts +3 -0
- package/dist/index.d.ts +5 -1
- package/package.json +2 -2
@@ -30,6 +30,11 @@ export interface ecomAddCartInfo {
|
|
30
30
|
value: string | number;
|
31
31
|
items: itemInfoEvent[];
|
32
32
|
}
|
33
|
+
export declare const getItemCategory: (item: any) => {
|
34
|
+
prodCategory: string;
|
35
|
+
prodsubCategory: string;
|
36
|
+
prodsubscription: string;
|
37
|
+
};
|
33
38
|
export declare const getItemData: (item: any, data?: any, isAvailable?: any) => itemInfoEvent;
|
34
39
|
export declare const getEcomInfo: (items: any, category?: any, location?: any, eligibleBundle?: any) => any;
|
35
40
|
export declare const getViewCartInfo: (items: any, category: any, location: any) => ecomViewCartInfo;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
export declare const fetchCountryList: (name: string, lang: string, url: string, TTL: number) => Promise<any>;
|
2
2
|
export declare const fetchOfferingDataV2: (params: any, url: any) => Promise<any>;
|
3
|
-
export declare const createCartV2: (productData: any, radioValue: string, defaultPromo: string, cartUrl: string, productType: string, chooseGift?: any) => Promise<any>;
|
3
|
+
export declare const createCartV2: (productData: any, radioValue: string, defaultPromo: string, cartUrl: string, productType: string, chooseGift?: any, enabledP2P?: any, P2PData?: 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
|
-
export declare const fetchOfferingDataLineTableV2: (params: any, uniqueId: any, endpoint: any, existingCustomer?: boolean, subscriptionType?: string, enableReturnPromo?: boolean) => Promise<any>;
|
6
|
+
export declare const fetchOfferingDataLineTableV2: (params: any, uniqueId: any, endpoint: any, existingCustomer?: boolean, subscriptionType?: string, enableReturnPromo?: boolean, P2PEnabled?: boolean) => Promise<any>;
|
7
7
|
export declare const fetchSubscriptionData: (category: any, endpoint: any) => Promise<any>;
|
@@ -23,3 +23,6 @@ export declare const AVAILABLE_LANGUAGES: {
|
|
23
23
|
DE: string;
|
24
24
|
};
|
25
25
|
export declare const ERROR_COLOR = "#C60047";
|
26
|
+
export declare const BREADCRUMB = "...";
|
27
|
+
export declare const PRE_TO_POST = "PRE_TO_POST";
|
28
|
+
export declare const P2PSUBSCRIBEDPLAN = "Sunrise Prepaid Unlimited";
|
package/dist/index.d.ts
CHANGED
@@ -175,6 +175,10 @@ declare const LincheckModal: FC<any>;
|
|
175
175
|
|
176
176
|
declare const BenefitWrapper: ({ content, metadata, setGenericErrorModalDetails, loginSuccess, basicConfigUrl, setLoginSuccess }: any) => JSX.Element;
|
177
177
|
|
178
|
+
declare const Breadcrumb: FC<any>;
|
179
|
+
|
180
|
+
declare const PreToPostSubsPopup: ({ onClose, content, prepaid, }: any) => JSX.Element;
|
181
|
+
|
178
182
|
interface LineTableBasicPropConfigSchema {
|
179
183
|
baseURL: string | '';
|
180
184
|
cartURL?: string | '';
|
@@ -231,4 +235,4 @@ declare class LinecheckBasicPropConfig {
|
|
231
235
|
static create: (p_config: LinecheckBasicPropConfigSchema) => void;
|
232
236
|
}
|
233
237
|
|
234
|
-
export { AssetPathPropConfig, AssetPathPropConfigSchema, BenefitWrapper, Button, Card, CardEntitlement, CarouselComp, LineTableBasicPropConfig, LineTableBasicPropConfigSchema, LinecheckBasicPropConfig, LinecheckBasicPropConfigSchema, LincheckModal as LinecheckModal, LoginModal, ProductTableV3, ProductTeaser, ProductTeaserPropConfig, ProductTeaserPropConfigSchema, StaticLineTable, StickyProductAnchor };
|
238
|
+
export { AssetPathPropConfig, AssetPathPropConfigSchema, BenefitWrapper, Breadcrumb, Button, Card, CardEntitlement, CarouselComp, LineTableBasicPropConfig, LineTableBasicPropConfigSchema, LinecheckBasicPropConfig, LinecheckBasicPropConfigSchema, LincheckModal as LinecheckModal, LoginModal, PreToPostSubsPopup as PretoPostSubsPopup, 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": "3.0.3-beta.
|
3
|
+
"version": "3.0.3-beta.10",
|
4
4
|
"description": "Starter project to create reusable functional component",
|
5
5
|
"main": "dist/cjs/index.js",
|
6
6
|
"module": "dist/esm/index.js",
|
@@ -57,7 +57,7 @@
|
|
57
57
|
"cookies-next": "^2.1.1"
|
58
58
|
},
|
59
59
|
"peerDependencies": {
|
60
|
-
"@sunrise-upc/ajax-lib": "^
|
60
|
+
"@sunrise-upc/ajax-lib": "^2.0.1",
|
61
61
|
"@sunrise-upc/b2c-login": "^2.2.4",
|
62
62
|
"js-cookie": "^3.0.1",
|
63
63
|
"react": "^17.0.2",
|