@moneylion/react-native-offer-carousel 1.0.4 → 1.0.6
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/lib/commonjs/capabilities/offer-catalog/src/api/offerCatalogApi.js.map +1 -1
- package/lib/commonjs/components/Cards/VideosCard/VideosCard.js +3 -3
- package/lib/commonjs/components/Common/BaseOfferCard/index.js +5 -5
- package/lib/commonjs/components/Common/BaseOfferCard/index.js.map +1 -1
- package/lib/commonjs/components/Common/DynamicOfferCard/CallToAction.js.map +1 -1
- package/lib/commonjs/components/Common/DynamicOfferCard/SeeMore.js.map +1 -1
- package/lib/commonjs/components/Common/DynamicOfferCard/index.js +2 -2
- package/lib/commonjs/components/Common/DynamicOfferCard/index.js.map +1 -1
- package/lib/commonjs/components/DynamicOffers/DynamicOffers.js +2 -2
- package/lib/commonjs/components/DynamicOffers/DynamicOffers.js.map +1 -1
- package/lib/commonjs/components/DynamicOffers/DynamicOffersContainer.js +1 -1
- package/lib/commonjs/components/DynamicOffers/DynamicOffersContainer.js.map +1 -1
- package/lib/commonjs/components/DynamicOffers/Render/DynamicOffersRender.js +5 -5
- package/lib/commonjs/components/DynamicOffers/Render/DynamicOffersRender.js.map +1 -1
- package/lib/commonjs/components/DynamicOffers/Render/FallbackOfferTemplate.js +2 -2
- package/lib/commonjs/components/DynamicOffers/Render/FallbackOfferTemplate.js.map +1 -1
- package/lib/commonjs/components/DynamicOffers/Render/Offer.js +5 -4
- package/lib/commonjs/components/DynamicOffers/Render/Offer.js.map +1 -1
- package/lib/commonjs/components/Layouts/CreditCardOfferCard/index.js +2 -2
- package/lib/commonjs/components/Layouts/CreditCardOfferCard/index.js.map +1 -1
- package/lib/commonjs/components/Layouts/CreditCardOfferCard/statsBuilder.js +1 -1
- package/lib/commonjs/components/Layouts/DefaultOfferCard/index.js +7 -3
- package/lib/commonjs/components/Layouts/DefaultOfferCard/index.js.map +1 -1
- package/lib/commonjs/components/Layouts/DefaultOfferCard/statsBuilder.js +1 -1
- package/lib/commonjs/components/Layouts/HeadlineWithDescriptionCard/index.js +7 -3
- package/lib/commonjs/components/Layouts/HeadlineWithDescriptionCard/index.js.map +1 -1
- package/lib/commonjs/components/Modal/OfferDetailsModal.js.map +1 -1
- package/lib/commonjs/components/MoneyLionOfferCarousel.js +6 -3
- package/lib/commonjs/components/MoneyLionOfferCarousel.js.map +1 -1
- package/lib/commonjs/components/View/index.js +3 -2
- package/lib/commonjs/components/View/index.js.map +1 -1
- package/lib/commonjs/context/ConfigurationProvider.js +30 -0
- package/lib/commonjs/context/ConfigurationProvider.js.map +1 -0
- package/lib/commonjs/pageData.js +4 -3
- package/lib/commonjs/pageData.js.map +1 -1
- package/lib/commonjs/services/getDynamicOffers.js.map +1 -1
- package/lib/commonjs/services/getProductTypesByQuery.js +1 -1
- package/lib/commonjs/services/getProductTypesByQuery.js.map +1 -1
- package/lib/commonjs/utils/formatOfferUrl.js +1 -1
- package/lib/commonjs/utils/getOffersByProductTypes.js +2 -2
- package/lib/commonjs/utils/getOffersByProductTypes.js.map +1 -1
- package/lib/commonjs/utils/selectDynamicOffers.js.map +1 -1
- package/lib/module/capabilities/offer-catalog/src/api/offerCatalogApi.js.map +1 -1
- package/lib/module/components/Cards/VideosCard/VideosCard.js +3 -3
- package/lib/module/components/Common/BaseOfferCard/index.js +5 -5
- package/lib/module/components/Common/BaseOfferCard/index.js.map +1 -1
- package/lib/module/components/Common/DynamicOfferCard/CallToAction.js.map +1 -1
- package/lib/module/components/Common/DynamicOfferCard/SeeMore.js.map +1 -1
- package/lib/module/components/Common/DynamicOfferCard/index.js +2 -2
- package/lib/module/components/Common/DynamicOfferCard/index.js.map +1 -1
- package/lib/module/components/DynamicOffers/DynamicOffers.js +2 -2
- package/lib/module/components/DynamicOffers/DynamicOffers.js.map +1 -1
- package/lib/module/components/DynamicOffers/DynamicOffersContainer.js +1 -1
- package/lib/module/components/DynamicOffers/DynamicOffersContainer.js.map +1 -1
- package/lib/module/components/DynamicOffers/Render/DynamicOffersRender.js +5 -5
- package/lib/module/components/DynamicOffers/Render/DynamicOffersRender.js.map +1 -1
- package/lib/module/components/DynamicOffers/Render/FallbackOfferTemplate.js +2 -2
- package/lib/module/components/DynamicOffers/Render/FallbackOfferTemplate.js.map +1 -1
- package/lib/module/components/DynamicOffers/Render/Offer.js +5 -4
- package/lib/module/components/DynamicOffers/Render/Offer.js.map +1 -1
- package/lib/module/components/Layouts/CreditCardOfferCard/index.js +2 -2
- package/lib/module/components/Layouts/CreditCardOfferCard/index.js.map +1 -1
- package/lib/module/components/Layouts/CreditCardOfferCard/statsBuilder.js +1 -1
- package/lib/module/components/Layouts/CreditCardOfferCard/statsBuilder.js.map +1 -1
- package/lib/module/components/Layouts/DefaultOfferCard/index.js +7 -3
- package/lib/module/components/Layouts/DefaultOfferCard/index.js.map +1 -1
- package/lib/module/components/Layouts/DefaultOfferCard/statsBuilder.js +1 -1
- package/lib/module/components/Layouts/DefaultOfferCard/statsBuilder.js.map +1 -1
- package/lib/module/components/Layouts/HeadlineWithDescriptionCard/index.js +7 -3
- package/lib/module/components/Layouts/HeadlineWithDescriptionCard/index.js.map +1 -1
- package/lib/module/components/Modal/OfferDetailsModal.js.map +1 -1
- package/lib/module/components/MoneyLionOfferCarousel.js +6 -3
- package/lib/module/components/MoneyLionOfferCarousel.js.map +1 -1
- package/lib/module/components/View/index.js +3 -2
- package/lib/module/components/View/index.js.map +1 -1
- package/lib/module/context/ConfigurationProvider.js +20 -0
- package/lib/module/context/ConfigurationProvider.js.map +1 -0
- package/lib/module/pageData.js +4 -3
- package/lib/module/pageData.js.map +1 -1
- package/lib/module/services/getDynamicOffers.js.map +1 -1
- package/lib/module/services/getProductTypesByQuery.js +1 -1
- package/lib/module/services/getProductTypesByQuery.js.map +1 -1
- package/lib/module/utils/formatOfferUrl.js +1 -1
- package/lib/module/utils/formatOfferUrl.js.map +1 -1
- package/lib/module/utils/getOffersByProductTypes.js +3 -2
- package/lib/module/utils/getOffersByProductTypes.js.map +1 -1
- package/lib/module/utils/selectDynamicOffers.js.map +1 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/api/offerCatalogApi.d.ts +1 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/api/offerCatalogApi.d.ts.map +1 -1
- package/lib/typescript/src/components/Common/BaseOfferCard/index.d.ts +3 -3
- package/lib/typescript/src/components/Common/BaseOfferCard/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Common/DynamicOfferCard/CallToAction.d.ts +1 -1
- package/lib/typescript/src/components/Common/DynamicOfferCard/CallToAction.d.ts.map +1 -1
- package/lib/typescript/src/components/Common/DynamicOfferCard/SeeMore.d.ts +1 -1
- package/lib/typescript/src/components/Common/DynamicOfferCard/SeeMore.d.ts.map +1 -1
- package/lib/typescript/src/components/Common/DynamicOfferCard/index.d.ts +3 -3
- package/lib/typescript/src/components/Common/DynamicOfferCard/index.d.ts.map +1 -1
- package/lib/typescript/src/components/DynamicOffers/DynamicOffers.d.ts +2 -2
- package/lib/typescript/src/components/DynamicOffers/DynamicOffers.d.ts.map +1 -1
- package/lib/typescript/src/components/DynamicOffers/Render/DynamicOffersRender.d.ts +3 -3
- package/lib/typescript/src/components/DynamicOffers/Render/DynamicOffersRender.d.ts.map +1 -1
- package/lib/typescript/src/components/DynamicOffers/Render/FallbackOfferTemplate.d.ts +3 -3
- package/lib/typescript/src/components/DynamicOffers/Render/FallbackOfferTemplate.d.ts.map +1 -1
- package/lib/typescript/src/components/DynamicOffers/Render/Offer.d.ts +5 -4
- package/lib/typescript/src/components/DynamicOffers/Render/Offer.d.ts.map +1 -1
- package/lib/typescript/src/components/Layouts/CreditCardOfferCard/index.d.ts +3 -3
- package/lib/typescript/src/components/Layouts/CreditCardOfferCard/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Layouts/CreditCardOfferCard/statsBuilder.d.ts +2 -2
- package/lib/typescript/src/components/Layouts/CreditCardOfferCard/statsBuilder.d.ts.map +1 -1
- package/lib/typescript/src/components/Layouts/DefaultOfferCard/index.d.ts +3 -3
- package/lib/typescript/src/components/Layouts/DefaultOfferCard/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Layouts/DefaultOfferCard/statsBuilder.d.ts +3 -3
- package/lib/typescript/src/components/Layouts/DefaultOfferCard/statsBuilder.d.ts.map +1 -1
- package/lib/typescript/src/components/Layouts/HeadlineWithDescriptionCard/index.d.ts +3 -3
- package/lib/typescript/src/components/Layouts/HeadlineWithDescriptionCard/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Modal/OfferDetailsModal.d.ts +1 -1
- package/lib/typescript/src/components/Modal/OfferDetailsModal.d.ts.map +1 -1
- package/lib/typescript/src/components/MoneyLionOfferCarousel.d.ts +1 -0
- package/lib/typescript/src/components/MoneyLionOfferCarousel.d.ts.map +1 -1
- package/lib/typescript/src/components/View/index.d.ts.map +1 -1
- package/lib/typescript/src/context/ConfigurationProvider.d.ts +12 -0
- package/lib/typescript/src/context/ConfigurationProvider.d.ts.map +1 -0
- package/lib/typescript/src/context/EventHandlerProvider.d.ts +1 -1
- package/lib/typescript/src/context/EventHandlerProvider.d.ts.map +1 -1
- package/lib/typescript/src/pageData.d.ts +2 -1
- package/lib/typescript/src/pageData.d.ts.map +1 -1
- package/lib/typescript/src/services/getDynamicOffers.d.ts +3 -3
- package/lib/typescript/src/services/getDynamicOffers.d.ts.map +1 -1
- package/lib/typescript/src/utils/addClientTagsToOfferLinks.d.ts +1 -1
- package/lib/typescript/src/utils/addClientTagsToOfferLinks.d.ts.map +1 -1
- package/lib/typescript/src/utils/formatOfferUrl.d.ts +6 -1
- package/lib/typescript/src/utils/formatOfferUrl.d.ts.map +1 -1
- package/lib/typescript/src/utils/getDefaultProductType.d.ts +1 -1
- package/lib/typescript/src/utils/getDefaultProductType.d.ts.map +1 -1
- package/lib/typescript/src/utils/getEnableUseCachedOffers.d.ts +1 -1
- package/lib/typescript/src/utils/getEnableUseCachedOffers.d.ts.map +1 -1
- package/lib/typescript/src/utils/getOffersBasedOnLayout.d.ts +1 -1
- package/lib/typescript/src/utils/getOffersBasedOnLayout.d.ts.map +1 -1
- package/lib/typescript/src/utils/getOffersByProductTypes.d.ts +1 -1
- package/lib/typescript/src/utils/getOffersByProductTypes.d.ts.map +1 -1
- package/lib/typescript/src/utils/getProductTypesDefinition.d.ts +1 -1
- package/lib/typescript/src/utils/getProductTypesDefinition.d.ts.map +1 -1
- package/lib/typescript/src/utils/selectDynamicOffers.d.ts +1 -1
- package/lib/typescript/src/utils/selectDynamicOffers.d.ts.map +1 -1
- package/lib/typescript/src/utils/sortOffersByRecommendationScore.d.ts +1 -1
- package/lib/typescript/src/utils/sortOffersByRecommendationScore.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/capabilities/offer-catalog/src/api/offerCatalogApi.ts +1 -1
- package/src/components/Cards/VideosCard/VideosCard.tsx +3 -3
- package/src/components/Common/BaseOfferCard/index.tsx +6 -6
- package/src/components/Common/DynamicOfferCard/CallToAction.tsx +1 -1
- package/src/components/Common/DynamicOfferCard/SeeMore.tsx +1 -1
- package/src/components/Common/DynamicOfferCard/index.tsx +4 -4
- package/src/components/DynamicOffers/DynamicOffers.tsx +3 -3
- package/src/components/DynamicOffers/DynamicOffersContainer.tsx +1 -1
- package/src/components/DynamicOffers/Render/DynamicOffersRender.tsx +7 -7
- package/src/components/DynamicOffers/Render/FallbackOfferTemplate.tsx +4 -4
- package/src/components/DynamicOffers/Render/Offer.tsx +9 -6
- package/src/components/Layouts/CreditCardOfferCard/index.tsx +4 -5
- package/src/components/Layouts/CreditCardOfferCard/statsBuilder.tsx +2 -2
- package/src/components/Layouts/DefaultOfferCard/index.tsx +13 -11
- package/src/components/Layouts/DefaultOfferCard/statsBuilder.tsx +2 -2
- package/src/components/Layouts/HeadlineWithDescriptionCard/index.tsx +14 -11
- package/src/components/Modal/OfferDetailsModal.tsx +1 -1
- package/src/components/MoneyLionOfferCarousel.tsx +8 -4
- package/src/components/View/index.tsx +2 -7
- package/src/context/ConfigurationProvider.tsx +35 -0
- package/src/context/EventHandlerProvider.tsx +1 -1
- package/src/pageData.ts +5 -3
- package/src/services/getDynamicOffers.ts +5 -5
- package/src/services/getProductTypesByQuery.ts +1 -1
- package/src/utils/addClientTagsToOfferLinks.ts +1 -1
- package/src/utils/formatOfferUrl.ts +1 -1
- package/src/utils/getDefaultProductType.ts +1 -1
- package/src/utils/getEnableUseCachedOffers.ts +1 -1
- package/src/utils/getOffersBasedOnLayout.ts +1 -1
- package/src/utils/getOffersByProductTypes.ts +4 -3
- package/src/utils/getProductTypesDefinition.ts +1 -1
- package/src/utils/selectDynamicOffers.ts +1 -2
- package/src/utils/sortOffersByRecommendationScore.ts +1 -1
- package/lib/commonjs/context/CNFProvider.js +0 -2
- package/lib/commonjs/context/CNFProvider.js.map +0 -1
- package/lib/module/context/CNFProvider.js +0 -2
- package/lib/module/context/CNFProvider.js.map +0 -1
- package/lib/typescript/src/context/CNFProvider.d.ts +0 -1
- package/lib/typescript/src/context/CNFProvider.d.ts.map +0 -1
- package/src/context/CNFProvider.tsx +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getCachedOffersByProductTypes","getOffersForProductTypes","parseClientTags","getOffersByProductTypes","enableUseCachedOffers","productTypes","tags","context"],"sourceRoot":"../../../src","sources":["utils/getOffersByProductTypes.ts"],"mappings":"AACA,SACCA,6BAA6B,EAC7BC,wBAAwB,QAClB,
|
|
1
|
+
{"version":3,"names":["getCachedOffersByProductTypes","getOffersForProductTypes","parseClientTags","getOffersByProductTypes","enableUseCachedOffers","productTypes","tags","context"],"sourceRoot":"../../../src","sources":["utils/getOffersByProductTypes.ts"],"mappings":"AACA,SACCA,6BAA6B,EAC7BC,wBAAwB,QAClB,uDAAuD;AAC9D,SAASC,eAAe,QAAQ,qDAAqD;;AAErF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,uBAAuB,GAAG,MAAAA,CAAO;EAC7CC,qBAAqB;EACrBC,YAAY;EACZC,IAAI;EACJC;AAMD,CAAC,KAAK;EACL;EACA,IAAIH,qBAAqB,EAAE;IAC1B,OAAO,MAAMJ,6BAA6B,CAACO,OAAO,CAAC,CAACF,YAAY,CAAC;EAClE;EAEA,OAAO,MAAMJ,wBAAwB,CAACM,OAAO,CAAC,CAC7CF,YAAY,EACZH,eAAe,CAACI,IAAI,CACrB,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["sortOffersByRecommendationScore","selectDynamicOffers","offers","productTypes","resultOffers","flatMap","productType","filter","offer","slice"],"sourceRoot":"../../../src","sources":["utils/selectDynamicOffers.ts"],"mappings":"AACA,SAASA,+BAA+B,QAAQ,mCAAmC;
|
|
1
|
+
{"version":3,"names":["sortOffersByRecommendationScore","selectDynamicOffers","offers","productTypes","resultOffers","flatMap","productType","filter","offer","slice"],"sourceRoot":"../../../src","sources":["utils/selectDynamicOffers.ts"],"mappings":"AACA,SAASA,+BAA+B,QAAQ,mCAAmC;AAEnF,OAAO,MAAMC,mBAAmB,GAAGA,CAClCC,MAAmB,EACnBC,YAAsB,KAClB;EACJ,MAAMC,YAAY,GAAGD,YAAY,CAC/BE,OAAO,CAAEC,WAAW,IACpBN,+BAA+B,CAC9BE,MAAM,CAACK,MAAM,CAAEC,KAAK,IAAKA,KAAK,CAACF,WAAW,KAAKA,WAAW,CAC3D,CACD,CAAC,CACAG,KAAK,CAAC,CAAC,EAAE,EAAE,CAAgB;EAE7B,OAAOL,YAAY;AACpB,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CnfContext } from "../../../core/src/system/cnfContext/CnfContext";
|
|
2
1
|
import type { OffersData } from "../types/offerCatalogSchema";
|
|
2
|
+
import type { CnfContext } from "../../../core/src/system/cnfContext/CnfContext";
|
|
3
3
|
export declare const getCachedOffersByProductTypes: (context: CnfContext) => (productTypes: string[]) => Promise<OffersData>;
|
|
4
4
|
export declare const getOffersForProductTypes: (context: CnfContext) => (productTypes: string[], customClientTags?: Record<string, string[]>) => Promise<OffersData>;
|
|
5
5
|
//# sourceMappingURL=offerCatalogApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"offerCatalogApi.d.ts","sourceRoot":"","sources":["../../../../../../../src/capabilities/offer-catalog/src/api/offerCatalogApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"offerCatalogApi.d.ts","sourceRoot":"","sources":["../../../../../../../src/capabilities/offer-catalog/src/api/offerCatalogApi.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAY9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gDAAgD,CAAC;AAEjF,eAAO,MAAM,6BAA6B,YAC/B,UAAU,oBAA0B,MAAM,EAAE,wBA8DrD,CAAC;AAEH,eAAO,MAAM,wBAAwB,YAC1B,UAAU,oBAEL,MAAM,EAAE,qBACH,OAAO,MAAM,EAAE,MAAM,EAAE,CAAC,KACzC,QAAQ,UAAU,CAqFpB,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { type ComponentProps } from "react";
|
|
2
|
-
import { ThumborImage } from "../../../../src/capabilities/ui/elements/src";
|
|
3
2
|
import { Content } from "./Content";
|
|
4
3
|
import Button from "../../Button";
|
|
5
4
|
import { type TextProps } from "../../Text";
|
|
6
5
|
import { type ViewProps } from "../../View";
|
|
6
|
+
import { ThumborImage } from "../../../capabilities/ui/elements/src";
|
|
7
7
|
declare const BaseOfferCard: {
|
|
8
|
-
({ children,
|
|
9
|
-
|
|
8
|
+
({ children, showCardBorder, ...rest }: ViewProps & {
|
|
9
|
+
showCardBorder: boolean;
|
|
10
10
|
}): React.JSX.Element;
|
|
11
11
|
Container: ({ children, ...rest }: ViewProps) => React.JSX.Element;
|
|
12
12
|
TopContainer: ({ children, ...viewProps }: ViewProps) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Common/BaseOfferCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Common/BaseOfferCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAGnD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC,OAAa,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAClD,OAAa,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAElD,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAMrE,QAAA,MAAM,aAAa;;wBAIc,OAAO;;uCAcE,SAAS;+CA2ED,SAAS;;0CAkHd,eAAe,aAAa,CAAC;sCAzFjC,SAAS;4CAYH,SAAS;;8CAjEP,SAAS;0BAalD,KAAK,eAAe,mBAAmB,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;sCA0D5B,SAAS;yCAYN,SAAS;;2BASjB,MAAM,EAAE;;;2BAexB,MAAM,EAAE;;;;;;;;;wBA9ID,SAAS;6BAO5B,KAAK,eAAe,mBAAmB,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;iDAgBjB,SAAS;yCAgDjB,SAAS;yCAWT,SAAS;CAhGpD,CAAC;AAyNF,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { type ComponentProps } from "react";
|
|
2
|
-
import type { BaseOffer } from "../../../../src/capabilities/offer-catalog/src";
|
|
3
2
|
import type Button from "../../Button";
|
|
3
|
+
import type { BaseOffer } from "../../../capabilities/offer-catalog/src";
|
|
4
4
|
export type CTAProps = ComponentProps<typeof Button & {
|
|
5
5
|
href: string;
|
|
6
6
|
}> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CallToAction.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Common/DynamicOfferCard/CallToAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"CallToAction.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Common/DynamicOfferCard/CallToAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,MAAM,MAAM,cAAc,CAAC;AAGvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEzE,MAAM,MAAM,QAAQ,GAAG,cAAc,CAAC,OAAO,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,GAAG;IACzE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,SAAS,CAAC;IACjB,OAAO,EAAE,OAAO,GAAG,eAAe,CAAC;IACnC,UAAU,EAAE,MAAM,CAAC;CAEnB,CAAC;AAEF,eAAO,MAAM,YAAY,sDAMtB,QAAQ,sBAyBV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SeeMore.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Common/DynamicOfferCard/SeeMore.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SeeMore.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Common/DynamicOfferCard/SeeMore.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAKrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEzE,MAAM,MAAM,YAAY,GAAG;IAC1B,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,OAAO,0BAA2B,YAAY,sBAsD1D,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { BaseOffer } from "../../../../src/capabilities/offer-catalog/src";
|
|
2
1
|
import React from "react";
|
|
2
|
+
import type { BaseOffer } from "../../../capabilities/offer-catalog/src";
|
|
3
3
|
type DefaultOfferCatalogOfferType = {
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
offer: BaseOffer;
|
|
6
6
|
offerIndex: number;
|
|
7
|
-
|
|
7
|
+
showCardBorder: boolean;
|
|
8
8
|
showProductTypeLabel?: boolean;
|
|
9
9
|
};
|
|
10
|
-
declare function DynamicOfferCard({ children, offer, offerIndex,
|
|
10
|
+
declare function DynamicOfferCard({ children, offer, offerIndex, showCardBorder, showProductTypeLabel, }: DefaultOfferCatalogOfferType): React.JSX.Element;
|
|
11
11
|
export { DynamicOfferCard };
|
|
12
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Common/DynamicOfferCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Common/DynamicOfferCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEzE,KAAK,4BAA4B,GAAG;IACnC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,OAAO,CAAC;IACxB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,iBAAS,gBAAgB,CAAC,EACzB,QAAQ,EACR,KAAK,EACL,UAAU,EACV,cAAc,EACd,oBAAoB,GACpB,EAAE,4BAA4B,qBAqC9B;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -4,9 +4,9 @@ import type { Layout } from "../../utils";
|
|
|
4
4
|
export type DynamicOfferProps = {
|
|
5
5
|
title: string;
|
|
6
6
|
displayLayout: Layout;
|
|
7
|
-
|
|
7
|
+
showCardBorder: boolean;
|
|
8
8
|
showProductTypeLabel?: boolean;
|
|
9
9
|
shouldHideFooter: boolean;
|
|
10
10
|
} & Pick<DynamicOffersRenderProps, "offers">;
|
|
11
|
-
export declare const DynamicOffers: ({ title, displayLayout,
|
|
11
|
+
export declare const DynamicOffers: ({ title, displayLayout, showCardBorder, showProductTypeLabel, offers, }: DynamicOfferProps) => React.JSX.Element;
|
|
12
12
|
//# sourceMappingURL=DynamicOffers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicOffers.d.ts","sourceRoot":"","sources":["../../../../../src/components/DynamicOffers/DynamicOffers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,MAAM,MAAM,iBAAiB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,
|
|
1
|
+
{"version":3,"file":"DynamicOffers.d.ts","sourceRoot":"","sources":["../../../../../src/components/DynamicOffers/DynamicOffers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAG1C,MAAM,MAAM,iBAAiB,GAAG;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;IACxB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,gBAAgB,EAAE,OAAO,CAAC;CAC1B,GAAG,IAAI,CAAC,wBAAwB,EAAE,QAAQ,CAAC,CAAC;AAE7C,eAAO,MAAM,aAAa,4EAOvB,iBAAiB,KAAG,SAAS,QAuB/B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { BaseOffer } from "../../../../src/capabilities/offer-catalog/src/types/offerCatalogSchema";
|
|
3
2
|
import type { Layout } from "../../../utils";
|
|
4
3
|
import { productTypeBuilder as builder } from "../../../builder/builder";
|
|
4
|
+
import type { BaseOffer } from "../../../capabilities/offer-catalog/src";
|
|
5
5
|
export type DynamicOffersRenderProps = {
|
|
6
6
|
title: string;
|
|
7
7
|
offers: BaseOffer[];
|
|
@@ -12,8 +12,8 @@ export type DynamicOffersRenderProps = {
|
|
|
12
12
|
offerIndex: number;
|
|
13
13
|
}>;
|
|
14
14
|
productTypeBuilder: typeof builder;
|
|
15
|
-
|
|
15
|
+
showCardBorder: boolean;
|
|
16
16
|
showProductTypeLabel?: boolean;
|
|
17
17
|
};
|
|
18
|
-
export declare const DynamicOffersRender: ({ title, offers, displayLayout, productTypeBuilder, fallbackTemplate,
|
|
18
|
+
export declare const DynamicOffersRender: ({ title, offers, displayLayout, productTypeBuilder, fallbackTemplate, showCardBorder, showProductTypeLabel, }: DynamicOffersRenderProps) => React.JSX.Element;
|
|
19
19
|
//# sourceMappingURL=DynamicOffersRender.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicOffersRender.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DynamicOffers/Render/DynamicOffersRender.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"DynamicOffersRender.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DynamicOffers/Render/DynamicOffersRender.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,IAAI,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAYzE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEzE,MAAM,MAAM,wBAAwB,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC;QAC3B,KAAK,EAAE,SAAS,CAAC;QACjB,oBAAoB,CAAC,EAAE,OAAO,CAAC;QAC/B,UAAU,EAAE,MAAM,CAAC;KACnB,CAAC,CAAC;IACH,kBAAkB,EAAE,OAAO,OAAO,CAAC;IACnC,cAAc,EAAE,OAAO,CAAC;IACxB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,mBAAmB,kHAQ7B,wBAAwB,sBAiN1B,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { BaseOffer } from "
|
|
3
|
-
export declare function FallbackOfferTemplate({ offer, offerIndex,
|
|
2
|
+
import type { BaseOffer } from "../../../capabilities/offer-catalog/src";
|
|
3
|
+
export declare function FallbackOfferTemplate({ offer, offerIndex, showCardBorder, showProductTypeLabel, }: {
|
|
4
4
|
offer: BaseOffer;
|
|
5
5
|
offerIndex: number;
|
|
6
|
-
|
|
6
|
+
showCardBorder?: boolean;
|
|
7
7
|
showProductTypeLabel?: boolean;
|
|
8
8
|
}): React.JSX.Element;
|
|
9
9
|
//# sourceMappingURL=FallbackOfferTemplate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FallbackOfferTemplate.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DynamicOffers/Render/FallbackOfferTemplate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"FallbackOfferTemplate.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DynamicOffers/Render/FallbackOfferTemplate.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEzE,wBAAgB,qBAAqB,CAAC,EACrC,KAAK,EACL,UAAU,EACV,cAAqB,EACrB,oBAA2B,GAC3B,EAAE;IACF,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAC/B,qBAcA"}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import type { ProductTypeBuilder } from "../../../builder";
|
|
3
|
-
import type { BaseOffer } from "
|
|
3
|
+
import type { BaseOffer } from "../../../capabilities/offer-catalog/src";
|
|
4
4
|
type RenderOfferListProps = {
|
|
5
5
|
productTypeBuilder: ProductTypeBuilder;
|
|
6
6
|
offers: BaseOffer[];
|
|
7
|
-
fallbackTemplate?: ({ offer, offerIndex, showProductTypeLabel, }: {
|
|
7
|
+
fallbackTemplate?: ({ offer, offerIndex, showProductTypeLabel, showCardBorder, }: {
|
|
8
8
|
offer: BaseOffer;
|
|
9
9
|
offerIndex: number;
|
|
10
10
|
showProductTypeLabel?: boolean;
|
|
11
|
+
showCardBorder?: boolean;
|
|
11
12
|
}) => React.ReactNode;
|
|
12
|
-
|
|
13
|
+
showCardBorder?: boolean;
|
|
13
14
|
showProductTypeLabel?: boolean;
|
|
14
15
|
};
|
|
15
|
-
export declare const Offer: ({ productTypeBuilder, offers, showProductTypeLabel, fallbackTemplate,
|
|
16
|
+
export declare const Offer: ({ productTypeBuilder, offers, showProductTypeLabel, fallbackTemplate, showCardBorder, }: RenderOfferListProps) => React.JSX.Element[];
|
|
16
17
|
export {};
|
|
17
18
|
//# sourceMappingURL=Offer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Offer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DynamicOffers/Render/Offer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"Offer.d.ts","sourceRoot":"","sources":["../../../../../../src/components/DynamicOffers/Render/Offer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAM3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEzE,KAAK,oBAAoB,GAAG;IAC3B,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,gBAAgB,CAAC,EAAE,CAAC,EACnB,KAAK,EACL,UAAU,EACV,oBAAoB,EACpB,cAAc,GACd,EAAE;QACF,KAAK,EAAE,SAAS,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;QACnB,oBAAoB,CAAC,EAAE,OAAO,CAAC;QAC/B,cAAc,CAAC,EAAE,OAAO,CAAC;KACzB,KAAK,KAAK,CAAC,SAAS,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAE/B,CAAC;AAEF,eAAO,MAAM,KAAK,4FAMf,oBAAoB,wBAiEpB,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { BaseOffer } from "../../../../src/capabilities/offer-catalog/src";
|
|
2
1
|
import React from "react";
|
|
3
2
|
import type { CreditCardOfferCard as CreditCardOfferCardBuilderProps } from "../../../builder";
|
|
3
|
+
import type { BaseOffer } from "../../../capabilities/offer-catalog/src";
|
|
4
4
|
type CreditCardOfferCardProps = {
|
|
5
5
|
productTypeBuilder: CreditCardOfferCardBuilderProps;
|
|
6
6
|
offer: BaseOffer;
|
|
7
|
-
|
|
7
|
+
showCardBorder: boolean;
|
|
8
8
|
showProductTypeLabel?: boolean;
|
|
9
9
|
offerIndex: number;
|
|
10
10
|
};
|
|
11
|
-
export declare const CreditCardOfferCard: ({ offer, productTypeBuilder, showProductTypeLabel, offerIndex, }: CreditCardOfferCardProps) => React.JSX.Element;
|
|
11
|
+
export declare const CreditCardOfferCard: ({ offer, productTypeBuilder, showCardBorder, showProductTypeLabel, offerIndex, }: CreditCardOfferCardProps) => React.JSX.Element;
|
|
12
12
|
export {};
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layouts/CreditCardOfferCard/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layouts/CreditCardOfferCard/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,mBAAmB,IAAI,+BAA+B,EAAE,MAAM,kBAAkB,CAAC;AAO/F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEzE,KAAK,wBAAwB,GAAG;IAC/B,kBAAkB,EAAE,+BAA+B,CAAC;IACpD,KAAK,EAAE,SAAS,CAAC;IACjB,cAAc,EAAE,OAAO,CAAC;IACxB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,UAAU,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,mBAAmB,qFAM7B,wBAAwB,sBAgE1B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { BaseOffer } from "../../../../src/capabilities/offer-catalog/src";
|
|
2
1
|
import type { CreditCardOfferCard } from "../../../builder";
|
|
2
|
+
import type { BaseOffer } from "../../../capabilities/offer-catalog/src";
|
|
3
3
|
export declare const makeCreditCardOfferStats: (productTypeBuilder: CreditCardOfferCard) => (offer: BaseOffer) => {
|
|
4
|
-
stats: import("../../../capabilities/offer-catalog/src/utils/stats
|
|
4
|
+
stats: import("../../../capabilities/offer-catalog/src/utils/stats").StatElementProps[];
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=statsBuilder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statsBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layouts/CreditCardOfferCard/statsBuilder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"statsBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layouts/CreditCardOfferCard/statsBuilder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAGzE,eAAO,MAAM,wBAAwB,uBACf,mBAAmB,aAAa,SAAS;;CAI7D,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { BaseOffer } from "../../../../src/capabilities/offer-catalog/src";
|
|
2
1
|
import React from "react";
|
|
3
2
|
import type { DefaultOfferCard as DefaultOfferCardBuilderProps } from "../../../builder";
|
|
3
|
+
import type { BaseOffer } from "../../../capabilities/offer-catalog/src";
|
|
4
4
|
type DefaultOfferCardProps = {
|
|
5
5
|
productTypeBuilder: DefaultOfferCardBuilderProps;
|
|
6
6
|
offer: BaseOffer;
|
|
7
7
|
offerIndex: number;
|
|
8
|
-
|
|
8
|
+
showCardBorder: boolean;
|
|
9
9
|
showProductTypeLabel?: boolean;
|
|
10
10
|
};
|
|
11
|
-
export declare const DefaultOfferCard: ({ offer, productTypeBuilder, offerIndex,
|
|
11
|
+
export declare const DefaultOfferCard: ({ offer, productTypeBuilder, offerIndex, showCardBorder, showProductTypeLabel, }: DefaultOfferCardProps) => React.JSX.Element;
|
|
12
12
|
export {};
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layouts/DefaultOfferCard/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layouts/DefaultOfferCard/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,gBAAgB,IAAI,4BAA4B,EAAE,MAAM,kBAAkB,CAAC;AAGzF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEzE,KAAK,qBAAqB,GAAG;IAC5B,kBAAkB,EAAE,4BAA4B,CAAC;IACjD,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,OAAO,CAAC;IACxB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,gBAAgB,qFAM1B,qBAAqB,sBAkDvB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { BaseOffer } from "../../../../src/capabilities/offer-catalog/src";
|
|
2
1
|
import type { DefaultOfferCard } from "../../../builder";
|
|
2
|
+
import type { BaseOffer } from "../../../capabilities/offer-catalog/src";
|
|
3
3
|
export declare const makeDefaultOfferCardStats: (productTypeBuilder: DefaultOfferCard) => (offer: BaseOffer) => {
|
|
4
|
-
stats: import("../../../capabilities/offer-catalog/src/utils/stats
|
|
5
|
-
topStats: import("../../../capabilities/offer-catalog/src/utils/stats
|
|
4
|
+
stats: import("../../../capabilities/offer-catalog/src/utils/stats").StatElementProps[];
|
|
5
|
+
topStats: import("../../../capabilities/offer-catalog/src/utils/stats").StatElementProps[];
|
|
6
6
|
};
|
|
7
7
|
//# sourceMappingURL=statsBuilder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statsBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layouts/DefaultOfferCard/statsBuilder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"statsBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layouts/DefaultOfferCard/statsBuilder.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAGzE,eAAO,MAAM,yBAAyB,uBAChB,gBAAgB,aAAa,SAAS;;;CAQ1D,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { BaseOffer } from "../../../../src/capabilities/offer-catalog/src";
|
|
3
2
|
import type { HeadlineWithDescriptionCard as HeadlineWithDescriptionCardBuilderProps } from "../../../builder";
|
|
3
|
+
import type { BaseOffer } from "../../../capabilities/offer-catalog/src";
|
|
4
4
|
type HeadlineWithDescriptionCardProps = {
|
|
5
5
|
productTypeBuilder: HeadlineWithDescriptionCardBuilderProps;
|
|
6
6
|
offer: BaseOffer;
|
|
7
7
|
offerIndex: number;
|
|
8
|
-
|
|
8
|
+
showCardBorder: boolean;
|
|
9
9
|
showProductTypeLabel?: boolean;
|
|
10
10
|
};
|
|
11
|
-
export declare const HeadlineWithDescriptionCard: ({ offer, productTypeBuilder, offerIndex,
|
|
11
|
+
export declare const HeadlineWithDescriptionCard: ({ offer, productTypeBuilder, offerIndex, showCardBorder, showProductTypeLabel, }: HeadlineWithDescriptionCardProps) => React.JSX.Element;
|
|
12
12
|
export {};
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layouts/HeadlineWithDescriptionCard/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Layouts/HeadlineWithDescriptionCard/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,2BAA2B,IAAI,uCAAuC,EAAE,MAAM,kBAAkB,CAAC;AAG/G,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAEzE,KAAK,gCAAgC,GAAG;IACvC,kBAAkB,EAAE,uCAAuC,CAAC;IAC5D,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,OAAO,CAAC;IACxB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AACF,eAAO,MAAM,2BAA2B,qFAMrC,gCAAgC,sBAuClC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OfferDetailsModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modal/OfferDetailsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"OfferDetailsModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modal/OfferDetailsModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAgB1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AAEtE,KAAK,sBAAsB,GAAG;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;CACpB,CAAC;AAIF,eAAO,MAAM,iBAAiB,6CAK3B,sBAAsB,sBAmDxB,CAAC"}
|
|
@@ -15,6 +15,7 @@ export type MoneyLionOfferCarouselProps = {
|
|
|
15
15
|
fontFamily?: Partial<FontFamily>;
|
|
16
16
|
showProductTypeLabel?: boolean;
|
|
17
17
|
isDev: boolean;
|
|
18
|
+
showCardBorder?: boolean;
|
|
18
19
|
};
|
|
19
20
|
export declare const MoneyLionOfferCarousel: (props: MoneyLionOfferCarouselProps & Omit<EventHandlerContextType, "rateTableUuid" | "leadUuid">) => React.JSX.Element;
|
|
20
21
|
//# sourceMappingURL=MoneyLionOfferCarousel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MoneyLionOfferCarousel.d.ts","sourceRoot":"","sources":["../../../../src/components/MoneyLionOfferCarousel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MoneyLionOfferCarousel.d.ts","sourceRoot":"","sources":["../../../../src/components/MoneyLionOfferCarousel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAMvC,OAAO,EAAiB,KAAK,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAEN,KAAK,uBAAuB,EAC5B,MAAM,iCAAiC,CAAC;AAMzC,MAAM,MAAM,2BAA2B,GAAG;IACzC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IACjC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,KAAK,EAAE,OAAO,CAAC;IACf,cAAc,CAAC,EAAE,OAAO,CAAC;CACzB,CAAC;AA8BF,eAAO,MAAM,sBAAsB,UAC3B,2BAA2B,GACjC,KAAK,uBAAuB,EAAE,eAAe,GAAG,UAAU,CAAC,sBA2I5D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/View/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAkB,KAAK,SAAS,EAAc,MAAM,cAAc,CAAC;AAE1E,MAAM,WAAW,SAAS;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,eAAe,CAAC,EACb,SAAS,GACT,eAAe,GACf,UAAU,GACV,gBAAgB,GAChB,UAAU,GACV,gBAAgB,GAChB,SAAS,GACT,eAAe,GACf,SAAS,GACT,eAAe,GACf,gBAAgB,GAChB,kBAAkB,GAClB,mBAAmB,GACnB,MAAM,GACN,YAAY,GACZ,UAAU,GACV,gBAAgB,GAChB,OAAO,GACP,OAAO,GACP,OAAO,CAAC;IACX,WAAW,CAAC,EACT,SAAS,GACT,UAAU,GACV,SAAS,GACT,UAAU,GACV,SAAS,GACT,MAAM,CAAC;IACV,SAAS,CAAC,EAAE,KAAK,GAAG,aAAa,GAAG,QAAQ,GAAG,gBAAgB,CAAC;IAChE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IACpC,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/View/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAkB,KAAK,SAAS,EAAc,MAAM,cAAc,CAAC;AAE1E,MAAM,WAAW,SAAS;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,eAAe,CAAC,EACb,SAAS,GACT,eAAe,GACf,UAAU,GACV,gBAAgB,GAChB,UAAU,GACV,gBAAgB,GAChB,SAAS,GACT,eAAe,GACf,SAAS,GACT,eAAe,GACf,gBAAgB,GAChB,kBAAkB,GAClB,mBAAmB,GACnB,MAAM,GACN,YAAY,GACZ,UAAU,GACV,gBAAgB,GAChB,OAAO,GACP,OAAO,GACP,OAAO,CAAC;IACX,WAAW,CAAC,EACT,SAAS,GACT,UAAU,GACV,SAAS,GACT,UAAU,GACV,SAAS,GACT,MAAM,CAAC;IACV,SAAS,CAAC,EAAE,KAAK,GAAG,aAAa,GAAG,QAAQ,GAAG,gBAAgB,CAAC;IAChE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IACpC,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA0D7B,CAAC;AAkCF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React, { type ReactNode } from "react";
|
|
2
|
+
interface ConfigurationContextProps {
|
|
3
|
+
showDescriptionPoints: boolean;
|
|
4
|
+
}
|
|
5
|
+
interface ConfigurationProviderProps {
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
showDescriptionPoints: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const ConfigurationProvider: ({ children, showDescriptionPoints, }: ConfigurationProviderProps) => React.JSX.Element;
|
|
10
|
+
export declare const useConfiguration: () => ConfigurationContextProps;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=ConfigurationProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfigurationProvider.d.ts","sourceRoot":"","sources":["../../../../src/context/ConfigurationProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzE,UAAU,yBAAyB;IAClC,qBAAqB,EAAE,OAAO,CAAC;CAC/B;AAMD,UAAU,0BAA0B;IACnC,QAAQ,EAAE,SAAS,CAAC;IACpB,qBAAqB,EAAE,OAAO,CAAC;CAC/B;AAED,eAAO,MAAM,qBAAqB,yCAG/B,0BAA0B,sBAM5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,iCAQ5B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import type { ResultType } from "../services/getProductTypes";
|
|
3
|
-
import type { BaseOffer } from "
|
|
3
|
+
import type { BaseOffer } from "../capabilities/offer-catalog/src";
|
|
4
4
|
interface onInitializeProps {
|
|
5
5
|
timestamp: string;
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventHandlerProvider.d.ts","sourceRoot":"","sources":["../../../../src/context/EventHandlerProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"EventHandlerProvider.d.ts","sourceRoot":"","sources":["../../../../src/context/EventHandlerProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAEnE,UAAU,iBAAiB;IAC1B,SAAS,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,sBAAsB;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,UAAU,EAAE,UAAU,CAAC;IACvB,kBAAkB,EAAE,MAAM,CAAC;CAC3B;AAED,UAAU,wBAAwB;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,6BAA6B;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,iBAAiB;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,GAAG,eAAe,CAAC;CACnC;AAED,UAAU,2BAA2B;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,4BAA4B;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,SAAS,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,uBAAuB;IACvC,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAClD,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,IAAI,CAAC;IAC5D,mBAAmB,CAAC,EAAE,CAAC,KAAK,EAAE,wBAAwB,KAAK,IAAI,CAAC;IAChE,wBAAwB,CAAC,EAAE,CAAC,KAAK,EAAE,6BAA6B,KAAK,IAAI,CAAC;IAC1E,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAClD,sBAAsB,CAAC,EAAE,CAAC,KAAK,EAAE,2BAA2B,KAAK,IAAI,CAAC;IACtE,uBAAuB,CAAC,EAAE,CAAC,KAAK,EAAE,4BAA4B,KAAK,IAAI,CAAC;IACxE,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,mBAAmB,wCAG9B,CAAC;AAEH,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC;IAC3C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,aAAa,EAAE,uBAAuB,CAAC;CACvC,CAMA,CAAC;AAEF,eAAO,MAAM,eAAe,+BAAwC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CnfContext } from "
|
|
1
|
+
import type { CnfContext } from "./capabilities/core/src/system/cnfContext/CnfContext";
|
|
2
2
|
import type { MoneyLionOfferCarouselProps } from "./components/MoneyLionOfferCarousel";
|
|
3
3
|
import type { onRateTableSubmitProps } from "./context/EventHandlerProvider";
|
|
4
4
|
type GetPageDataProps = {
|
|
@@ -12,6 +12,7 @@ export declare function getPageData({ context, params, onRateTableSubmit, }: Get
|
|
|
12
12
|
rateTableUuid: string;
|
|
13
13
|
offers: import("./capabilities/offer-catalog/src").BaseOffer[];
|
|
14
14
|
currentCountry: string | undefined;
|
|
15
|
+
showCardBorder: boolean | undefined;
|
|
15
16
|
showProductTypeLabel: boolean | undefined;
|
|
16
17
|
displayLayout: "fixed" | "carousel";
|
|
17
18
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pageData.d.ts","sourceRoot":"","sources":["../../../src/pageData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"pageData.d.ts","sourceRoot":"","sources":["../../../src/pageData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sDAAsD,CAAC;AAGvF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AACvF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAW7E,KAAK,gBAAgB,GAAG;IACvB,OAAO,EAAE,UAAU,CAAC;IACpB,MAAM,EAAE,2BAA2B,CAAC;IACpC,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,IAAI,CAAC;CAC5D,CAAC;AAEF,wBAAsB,WAAW,CAAC,EACjC,OAAO,EACP,MAAM,EACN,iBAAiB,GACjB,EAAE,gBAAgB;;;;;;;;;GA0ElB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { CnfContext } from "../../src/capabilities/core/src/system/cnfContext/CnfContext";
|
|
2
|
-
import type { PartnerOverride, ProductTypeDefinition } from "../../src/capabilities/offer-catalog/src";
|
|
3
1
|
import { type Layout } from "../utils";
|
|
4
2
|
import type { GetProductTypesProps, ProductTypesResult } from "./getProductTypes";
|
|
3
|
+
import type { PartnerOverride, ProductTypeDefinition } from "../capabilities/offer-catalog/src";
|
|
4
|
+
import type { CnfContext } from "../capabilities/core/src/system/cnfContext/CnfContext";
|
|
5
5
|
export type GetDynamicOffersProps = {
|
|
6
6
|
tags: string;
|
|
7
7
|
displayLayout: Layout;
|
|
@@ -19,7 +19,7 @@ export type GetDynamicOffersProps = {
|
|
|
19
19
|
* @returns {Promise<{ productTypeDisplayName: string; offers: typeof offers }>} An object containing the product type display name and the offers.
|
|
20
20
|
*/
|
|
21
21
|
export declare const getDynamicOffers: ({ tags, displayLayout, defaultProductType, productTypes, resultType, enableUseCachedOffers, productTypesDefinition, partnersOverrideDefinition, context, }: Omit<GetDynamicOffersProps, "isDev">) => Promise<{
|
|
22
|
-
offers: import("../capabilities/offer-catalog/src
|
|
22
|
+
offers: import("../capabilities/offer-catalog/src").BaseOffer[];
|
|
23
23
|
isError: boolean | undefined;
|
|
24
24
|
leadUuid: string;
|
|
25
25
|
rateTableUuid: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDynamicOffers.d.ts","sourceRoot":"","sources":["../../../../src/services/getDynamicOffers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"getDynamicOffers.d.ts","sourceRoot":"","sources":["../../../../src/services/getDynamicOffers.ts"],"names":[],"mappings":"AACA,OAAO,EAIN,KAAK,MAAM,EACX,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EACX,oBAAoB,EACpB,kBAAkB,EAClB,MAAM,mBAAmB,CAAC;AAK3B,OAAO,KAAK,EACX,eAAe,EACf,qBAAqB,EACrB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAExF,MAAM,MAAM,qBAAqB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,UAAU,EAAE,kBAAkB,CAAC,YAAY,CAAC,CAAC;IAC7C,qBAAqB,EAAE,OAAO,CAAC;IAC/B,sBAAsB,EAAE,qBAAqB,EAAE,CAAC;IAChD,0BAA0B,EAAE,eAAe,EAAE,CAAC;IAC9C,OAAO,EAAE,UAAU,CAAC;CACpB,GAAG,IAAI,CACP,oBAAoB,EAClB,SAAS,GACT,kBAAkB,GAClB,OAAO,GACP,WAAW,GACX,UAAU,GACV,gBAAgB,CAClB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,+JAU1B,KAAK,qBAAqB,EAAE,OAAO,CAAC;;;;;EAoCtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addClientTagsToOfferLinks.d.ts","sourceRoot":"","sources":["../../../../src/utils/addClientTagsToOfferLinks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"addClientTagsToOfferLinks.d.ts","sourceRoot":"","sources":["../../../../src/utils/addClientTagsToOfferLinks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAEnE;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB,0BACb,OAAO,cAAc,MAAM,cAC1C,SAAS,EAAE,KAAG,SAAS,EAW/B,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type BaseOffer, type PartnerOverride, type ProductTypeDefinition } from "
|
|
1
|
+
import { type BaseOffer, type PartnerOverride, type ProductTypeDefinition } from "../capabilities/offer-catalog/src";
|
|
2
2
|
/**
|
|
3
3
|
* Format the offer URL
|
|
4
4
|
* @param offers - The offers to format if needed
|
|
@@ -11,6 +11,11 @@ export declare const formatOfferUrl: (productTypesDefinition: ProductTypeDefinit
|
|
|
11
11
|
uuid: string;
|
|
12
12
|
version: number;
|
|
13
13
|
financialInstitutionUuid: string;
|
|
14
|
+
/**
|
|
15
|
+
* Format the offer URL
|
|
16
|
+
* @param offers - The offers to format if needed
|
|
17
|
+
* @returns The offers with the formatted URL
|
|
18
|
+
*/
|
|
14
19
|
createdAt: string;
|
|
15
20
|
internalName: string;
|
|
16
21
|
legalLanguage?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formatOfferUrl.d.ts","sourceRoot":"","sources":["../../../../src/utils/formatOfferUrl.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,MAAM,
|
|
1
|
+
{"version":3,"file":"formatOfferUrl.d.ts","sourceRoot":"","sources":["../../../../src/utils/formatOfferUrl.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,MAAM,mCAAmC,CAAC;AAE3C;;;;GAIG;AACH,eAAO,MAAM,cAAc,2BAED,qBAAqB,EAAE,8BACnB,eAAe,EAAE,cAErC,SAAS,EAAE;;;;;;;IAVrB;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoBD,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { CnfContext } from "
|
|
1
|
+
import type { CnfContext } from "../capabilities/core/src/system/cnfContext/CnfContext";
|
|
2
2
|
export declare const getDefaultProductType: (context: CnfContext) => string;
|
|
3
3
|
//# sourceMappingURL=getDefaultProductType.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDefaultProductType.d.ts","sourceRoot":"","sources":["../../../../src/utils/getDefaultProductType.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"getDefaultProductType.d.ts","sourceRoot":"","sources":["../../../../src/utils/getDefaultProductType.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAExF,eAAO,MAAM,qBAAqB,YAAa,UAAU,WACE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getEnableUseCachedOffers.d.ts","sourceRoot":"","sources":["../../../../src/utils/getEnableUseCachedOffers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"getEnableUseCachedOffers.d.ts","sourceRoot":"","sources":["../../../../src/utils/getEnableUseCachedOffers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAExF;;;;;;;;GAQG;AACH,eAAO,MAAM,wBAAwB,YAAa,UAAU,YACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOffersBasedOnLayout.d.ts","sourceRoot":"","sources":["../../../../src/utils/getOffersBasedOnLayout.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"getOffersBasedOnLayout.d.ts","sourceRoot":"","sources":["../../../../src/utils/getOffersBasedOnLayout.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAInE;;;;;GAKG;AACH,eAAO,MAAM,eAAe,WAAY,SAAS,EAAE,KAAG,SAAS,EAY9D,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,WAAY,MAAM,cAAc,SAAS,EAAE,gBAIxE,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,WACzB,MAAM,cAAc,SAAS,EAAE,gBAEvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOffersByProductTypes.d.ts","sourceRoot":"","sources":["../../../../src/utils/getOffersByProductTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"getOffersByProductTypes.d.ts","sourceRoot":"","sources":["../../../../src/utils/getOffersByProductTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAOxF;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB;2BAMZ,OAAO;kBAChB,MAAM,EAAE;UAChB,MAAM;aACH,UAAU;qEAWnB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CnfContext } from "
|
|
1
|
+
import type { CnfContext } from "../capabilities/core/src/system/cnfContext/CnfContext";
|
|
2
2
|
export declare const getProductTypesDefinition: (context: CnfContext) => {
|
|
3
3
|
productTypesDefinition: readonly {
|
|
4
4
|
readonly id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProductTypesDefinition.d.ts","sourceRoot":"","sources":["../../../../src/utils/getProductTypesDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"getProductTypesDefinition.d.ts","sourceRoot":"","sources":["../../../../src/utils/getProductTypesDefinition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uDAAuD,CAAC;AAExF,eAAO,MAAM,yBAAyB,YAAa,UAAU;;;;;;;;;;;CAU5D,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { BaseOffer } from "
|
|
1
|
+
import type { BaseOffer } from "../capabilities/offer-catalog/src";
|
|
2
2
|
export declare const selectDynamicOffers: (offers: BaseOffer[], productTypes: string[]) => BaseOffer[];
|
|
3
3
|
//# sourceMappingURL=selectDynamicOffers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectDynamicOffers.d.ts","sourceRoot":"","sources":["../../../../src/utils/selectDynamicOffers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"selectDynamicOffers.d.ts","sourceRoot":"","sources":["../../../../src/utils/selectDynamicOffers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAGnE,eAAO,MAAM,mBAAmB,WACvB,SAAS,EAAE,gBACL,MAAM,EAAE,gBAWtB,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { BaseOffer } from "
|
|
1
|
+
import type { BaseOffer } from "../capabilities/offer-catalog/src";
|
|
2
2
|
export declare const sortOffersByRecommendationScore: (offers: BaseOffer[]) => BaseOffer[];
|
|
3
3
|
//# sourceMappingURL=sortOffersByRecommendationScore.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sortOffersByRecommendationScore.d.ts","sourceRoot":"","sources":["../../../../src/utils/sortOffersByRecommendationScore.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"sortOffersByRecommendationScore.d.ts","sourceRoot":"","sources":["../../../../src/utils/sortOffersByRecommendationScore.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAEnE,eAAO,MAAM,+BAA+B,WAAY,SAAS,EAAE,gBAElE,CAAC"}
|