@sunrise-upc/mobile-prod-card 3.0.3-beta.1 → 3.0.3-beta.11

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/components/Breadcrumb/Breadcrumb.d.ts +3 -0
  2. package/dist/cjs/components/Breadcrumb/index.d.ts +1 -0
  3. package/dist/cjs/components/Breadcrumb/useScrollCheck.d.ts +4 -0
  4. package/dist/cjs/components/PretoPost/PreToPostSubsPopup.d.ts +3 -0
  5. package/dist/cjs/components/PretoPost/index.d.ts +1 -0
  6. package/dist/cjs/components/StaticLineTable/ExsistingSubscriptionCards.d.ts +11 -0
  7. package/dist/cjs/components/StaticLineTable/ExsistingSubscriptionModal.d.ts +8 -0
  8. package/dist/cjs/components/StaticLineTable/Product.utils.d.ts +1 -1
  9. package/dist/cjs/components/StaticLineTable/StaticProductDatatypes.d.ts +2 -0
  10. package/dist/cjs/components/index.d.ts +2 -0
  11. package/dist/cjs/index.js +2 -2
  12. package/dist/cjs/models/Analytics/items.d.ts +5 -0
  13. package/dist/cjs/services/LineTableService.d.ts +2 -2
  14. package/dist/cjs/utils/constants.d.ts +3 -0
  15. package/dist/esm/components/Breadcrumb/Breadcrumb.d.ts +3 -0
  16. package/dist/esm/components/Breadcrumb/index.d.ts +1 -0
  17. package/dist/esm/components/Breadcrumb/useScrollCheck.d.ts +4 -0
  18. package/dist/esm/components/PretoPost/PreToPostSubsPopup.d.ts +3 -0
  19. package/dist/esm/components/PretoPost/index.d.ts +1 -0
  20. package/dist/esm/components/StaticLineTable/ExsistingSubscriptionCards.d.ts +11 -0
  21. package/dist/esm/components/StaticLineTable/ExsistingSubscriptionModal.d.ts +8 -0
  22. package/dist/esm/components/StaticLineTable/Product.utils.d.ts +1 -1
  23. package/dist/esm/components/StaticLineTable/StaticProductDatatypes.d.ts +2 -0
  24. package/dist/esm/components/index.d.ts +2 -0
  25. package/dist/esm/index.js +2 -2
  26. package/dist/esm/models/Analytics/items.d.ts +5 -0
  27. package/dist/esm/services/LineTableService.d.ts +2 -2
  28. package/dist/esm/utils/constants.d.ts +3 -0
  29. package/dist/index.d.ts +5 -1
  30. 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";
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ declare const Breadcrumb: FC<any>;
3
+ export default Breadcrumb;
@@ -0,0 +1 @@
1
+ export { default } from './Breadcrumb';
@@ -0,0 +1,4 @@
1
+ declare const useScrollCheck: () => {
2
+ isScrollBreak: boolean;
3
+ };
4
+ export default useScrollCheck;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const PreToPostSubsPopup: ({ onClose, content, prepaid, }: any) => JSX.Element;
3
+ export default PreToPostSubsPopup;
@@ -0,0 +1 @@
1
+ export { default } from './PreToPostSubsPopup';
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ interface ExistingSubscriptionSchema {
3
+ name?: string;
4
+ subscriptionData: any;
5
+ cardIndex?: any;
6
+ updateBorderMethod?: (key?: number) => void;
7
+ selectedCardIndex?: number;
8
+ subscriptionCardsLength?: any;
9
+ }
10
+ declare const ExistingSubscriptionCards: ({ subscriptionData, cardIndex, updateBorderMethod, selectedCardIndex, subscriptionCardsLength, }: ExistingSubscriptionSchema) => JSX.Element;
11
+ export default ExistingSubscriptionCards;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface ExsistingModalSchema {
3
+ exsistingSubscriptionData: any;
4
+ onSubmit?: any;
5
+ updatedContent?: any;
6
+ }
7
+ declare const ExsistingSubscriptionModal: ({ onSubmit, exsistingSubscriptionData, updatedContent }: ExsistingModalSchema) => JSX.Element;
8
+ export default ExsistingSubscriptionModal;
@@ -4,7 +4,7 @@ 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) => 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) => any;
8
8
  export declare const findHeight: (tabIndex: number, cardsLength: number) => void;
9
9
  export declare const combineWithSmartPhone: (showPrice: any, storyContent: any, uniqueProductData: any) => void;
10
10
  export declare const fetchServiceOptions: (entitlement: any, isMobileFlow: boolean) => any;
@@ -32,6 +32,8 @@ export interface StaticProductSchema {
32
32
  basicConfigUrl?: string;
33
33
  selectedExistingOption?: any;
34
34
  setLoginSuccess?: any;
35
+ enableP2P?: boolean;
36
+ loginSuccess?: boolean;
35
37
  }
36
38
  export interface DynamicPriceSchema {
37
39
  priceCollection: any;
@@ -9,3 +9,5 @@ export { default as StickyProductAnchor } from './StickyProductAnchor';
9
9
  export { default as StaticLineTable } from './StaticLineTable';
10
10
  export { default as LinecheckModal } from './LineCheckV3';
11
11
  export { default as BenefitWrapper } from './BenefitWrapper';
12
+ export { default as Breadcrumb } from './Breadcrumb';
13
+ export { default as PretoPostSubsPopup } from './PretoPost';