@sunrise-upc/mobile-prod-card 3.0.3-beta.9 → 3.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. package/dist/cjs/components/ProductTeaser/ProductTeaser.d.ts +0 -1
  2. package/dist/cjs/components/ProductTeaser/ProductTeaserSlides.d.ts +0 -1
  3. package/dist/cjs/components/StaticLineTable/Product.utils.d.ts +1 -1
  4. package/dist/cjs/components/StaticLineTable/StaticProductDatatypes.d.ts +0 -5
  5. package/dist/cjs/components/index.d.ts +0 -2
  6. package/dist/cjs/index.js +2 -2
  7. package/dist/cjs/services/LineTableService.d.ts +2 -2
  8. package/dist/cjs/utils/constants.d.ts +0 -3
  9. package/dist/esm/components/ProductTeaser/ProductTeaser.d.ts +0 -1
  10. package/dist/esm/components/ProductTeaser/ProductTeaserSlides.d.ts +0 -1
  11. package/dist/esm/components/StaticLineTable/Product.utils.d.ts +1 -1
  12. package/dist/esm/components/StaticLineTable/StaticProductDatatypes.d.ts +0 -5
  13. package/dist/esm/components/index.d.ts +0 -2
  14. package/dist/esm/index.js +2 -2
  15. package/dist/esm/services/LineTableService.d.ts +2 -2
  16. package/dist/esm/utils/constants.d.ts +0 -3
  17. package/dist/index.d.ts +1 -7
  18. package/package.json +1 -1
  19. package/dist/cjs/components/Breadcrumb/Breadcrumb.d.ts +0 -3
  20. package/dist/cjs/components/Breadcrumb/index.d.ts +0 -1
  21. package/dist/cjs/components/Breadcrumb/useScrollCheck.d.ts +0 -4
  22. package/dist/cjs/components/PretoPost/PreToPostSubsPopup.d.ts +0 -3
  23. package/dist/cjs/components/PretoPost/index.d.ts +0 -1
  24. package/dist/cjs/components/StaticLineTable/ExsistingSubscriptionCards.d.ts +0 -11
  25. package/dist/cjs/components/StaticLineTable/ExsistingSubscriptionModal.d.ts +0 -8
  26. package/dist/esm/components/Breadcrumb/Breadcrumb.d.ts +0 -3
  27. package/dist/esm/components/Breadcrumb/index.d.ts +0 -1
  28. package/dist/esm/components/Breadcrumb/useScrollCheck.d.ts +0 -4
  29. package/dist/esm/components/PretoPost/PreToPostSubsPopup.d.ts +0 -3
  30. package/dist/esm/components/PretoPost/index.d.ts +0 -1
  31. package/dist/esm/components/StaticLineTable/ExsistingSubscriptionCards.d.ts +0 -11
  32. package/dist/esm/components/StaticLineTable/ExsistingSubscriptionModal.d.ts +0 -8
@@ -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, enabledP2P?: any, P2PData?: any) => Promise<any>;
3
+ export declare const createCartV2: (productData: any, radioValue: string, defaultPromo: string, cartUrl: string, productType: string, chooseGift?: 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, P2PEnabled?: boolean) => Promise<any>;
6
+ export declare const fetchOfferingDataLineTableV2: (params: any, uniqueId: any, endpoint: any, existingCustomer?: boolean, subscriptionType?: string, enableReturnPromo?: boolean) => Promise<any>;
7
7
  export declare const fetchSubscriptionData: (category: any, endpoint: any) => Promise<any>;
@@ -23,6 +23,3 @@ 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
@@ -131,7 +131,6 @@ interface ProductTeaserCompSchema extends GenericSBProps {
131
131
  interface ProductTeaserSchema {
132
132
  content: ProductTeaserCompSchema;
133
133
  lineCheckCallBack?: () => void;
134
- linecheckSuccessCallBack?: () => void;
135
134
  changeAddressClicked?: boolean;
136
135
  offerDataCallBack?: (a: any, b: any, c?: string) => void;
137
136
  productCallBack?: (a: string) => void;
@@ -161,7 +160,6 @@ interface StaticLinetableSchema {
161
160
  metadata: any;
162
161
  loginSuccess?: boolean;
163
162
  changeAddressClicked?: any;
164
- lineCheckCallBack?: any;
165
163
  linecheckSuccessCallBack?: any;
166
164
  selectedOption?: string;
167
165
  basicConfigUrl?: string;
@@ -175,10 +173,6 @@ declare const LincheckModal: FC<any>;
175
173
 
176
174
  declare const BenefitWrapper: ({ content, metadata, setGenericErrorModalDetails, loginSuccess, basicConfigUrl, setLoginSuccess }: any) => JSX.Element;
177
175
 
178
- declare const Breadcrumb: FC<any>;
179
-
180
- declare const PreToPostSubsPopup: ({ onClose, content, prepaid, }: any) => JSX.Element;
181
-
182
176
  interface LineTableBasicPropConfigSchema {
183
177
  baseURL: string | '';
184
178
  cartURL?: string | '';
@@ -235,4 +229,4 @@ declare class LinecheckBasicPropConfig {
235
229
  static create: (p_config: LinecheckBasicPropConfigSchema) => void;
236
230
  }
237
231
 
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 };
232
+ export { AssetPathPropConfig, AssetPathPropConfigSchema, BenefitWrapper, Button, Card, CardEntitlement, CarouselComp, LineTableBasicPropConfig, LineTableBasicPropConfigSchema, LinecheckBasicPropConfig, LinecheckBasicPropConfigSchema, LincheckModal as LinecheckModal, 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": "3.0.3-beta.9",
3
+ "version": "3.0.4",
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,3 +0,0 @@
1
- import { FC } from 'react';
2
- declare const Breadcrumb: FC<any>;
3
- export default Breadcrumb;
@@ -1 +0,0 @@
1
- export { default } from './Breadcrumb';
@@ -1,4 +0,0 @@
1
- declare const useScrollCheck: () => {
2
- isScrollBreak: boolean;
3
- };
4
- export default useScrollCheck;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const PreToPostSubsPopup: ({ onClose, content, prepaid, }: any) => JSX.Element;
3
- export default PreToPostSubsPopup;
@@ -1 +0,0 @@
1
- export { default } from './PreToPostSubsPopup';
@@ -1,11 +0,0 @@
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;
@@ -1,8 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- import { FC } from 'react';
2
- declare const Breadcrumb: FC<any>;
3
- export default Breadcrumb;
@@ -1 +0,0 @@
1
- export { default } from './Breadcrumb';
@@ -1,4 +0,0 @@
1
- declare const useScrollCheck: () => {
2
- isScrollBreak: boolean;
3
- };
4
- export default useScrollCheck;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- declare const PreToPostSubsPopup: ({ onClose, content, prepaid, }: any) => JSX.Element;
3
- export default PreToPostSubsPopup;
@@ -1 +0,0 @@
1
- export { default } from './PreToPostSubsPopup';
@@ -1,11 +0,0 @@
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;
@@ -1,8 +0,0 @@
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;