@sunrise-upc/mobile-prod-card 10.0.1-beta.0 → 10.0.1-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/Accessories/Accessory-card/AccessoryCard.d.ts +2 -1
- package/dist/cjs/components/Accessories/MultiItemAccessories/MultiItemAccessoriesPage.d.ts +4 -1
- package/dist/cjs/components/OttMiniSummaryCard/OttMiniSummaryCard.d.ts +2 -1
- package/dist/cjs/components/PriceCalculationSticky/PriceCalculationSticky.types.d.ts +8 -7
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/utils/utils.d.ts +2 -0
- package/dist/esm/components/Accessories/Accessory-card/AccessoryCard.d.ts +2 -1
- package/dist/esm/components/Accessories/MultiItemAccessories/MultiItemAccessoriesPage.d.ts +4 -1
- package/dist/esm/components/OttMiniSummaryCard/OttMiniSummaryCard.d.ts +2 -1
- package/dist/esm/components/PriceCalculationSticky/PriceCalculationSticky.types.d.ts +8 -7
- package/dist/esm/index.js +3 -3
- package/dist/esm/utils/utils.d.ts +2 -0
- package/dist/index.d.ts +13 -8
- package/package.json +1 -1
|
@@ -31,3 +31,5 @@ export declare const countZeros: (value: any) => any;
|
|
|
31
31
|
export declare const viewportMultiItem: () => string;
|
|
32
32
|
export declare const setSessionStorage: (sname: string, valueobj: any) => any;
|
|
33
33
|
export declare const getSessionStorage: (sname: string) => any;
|
|
34
|
+
export declare const rp_lastcartItemWithParentPOType: (cart: any[], lastCartItems: Record<string, any>, parent: any, home: any) => Record<string, any>;
|
|
35
|
+
export declare const isStandaloneOption: (product: any) => any;
|
package/dist/index.d.ts
CHANGED
|
@@ -318,7 +318,10 @@ interface MultiItemAccessoriesSchema extends GenericSBProps {
|
|
|
318
318
|
ratePlanAccessoriesLimit: number;
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
-
|
|
321
|
+
interface MultiItemAccessoriesProps extends ComponentWithContentProps<MultiItemAccessoriesSchema> {
|
|
322
|
+
setAccessoriesSelected?: (accessories: any[]) => void;
|
|
323
|
+
}
|
|
324
|
+
declare const MultiItemAccessoriesWithProvider: (props: MultiItemAccessoriesProps) => JSX.Element;
|
|
322
325
|
|
|
323
326
|
interface NotificationToastProps {
|
|
324
327
|
title: string;
|
|
@@ -407,19 +410,21 @@ interface ProductItem {
|
|
|
407
410
|
}
|
|
408
411
|
interface PriceCalculationStickyProps {
|
|
409
412
|
totalAmount: number;
|
|
410
|
-
productsName
|
|
413
|
+
productsName?: string;
|
|
411
414
|
products: ProductItem[];
|
|
412
|
-
content?: {
|
|
413
|
-
title?: string;
|
|
414
|
-
monthlyText?: string;
|
|
415
|
-
continueBtn?: Partial<FalconButtonSchema>[];
|
|
416
|
-
};
|
|
417
415
|
onContinue?: () => void;
|
|
416
|
+
currencySymbol?: string;
|
|
417
|
+
isExpanded?: boolean;
|
|
418
|
+
onToggle?: (expanded: boolean) => void;
|
|
419
|
+
cartData?: Record<string, any>;
|
|
420
|
+
content?: any;
|
|
421
|
+
accessoriesSelected?: any;
|
|
422
|
+
flow?: string;
|
|
418
423
|
}
|
|
419
424
|
|
|
420
425
|
declare const PriceCalculationSticky: React.FC<PriceCalculationStickyProps>;
|
|
421
426
|
|
|
422
|
-
declare const OttMiniSummaryCard: ({ content,
|
|
427
|
+
declare const OttMiniSummaryCard: ({ content, metadata, cartData }: any) => JSX.Element;
|
|
423
428
|
|
|
424
429
|
interface LineTableBasicPropConfigSchema {
|
|
425
430
|
baseURL: string | '';
|
package/package.json
CHANGED