@moneylion/react-native-offer-carousel 1.0.5 → 1.0.7
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/core/src/system/cnfContext/schemas/Brand.js +45 -9
- package/lib/commonjs/capabilities/core/src/system/cnfContext/schemas/Brand.js.map +1 -1
- package/lib/commonjs/capabilities/offer-catalog/src/api/offerCatalogApi.js.map +1 -1
- package/lib/commonjs/capabilities/ui/elements/src/components/MarkdownText/components.js +2 -2
- package/lib/commonjs/capabilities/ui/elements/src/components/MarkdownText/components.js.map +1 -1
- package/lib/commonjs/components/Button/index.js +4 -21
- package/lib/commonjs/components/Button/index.js.map +1 -1
- package/lib/commonjs/components/Cards/VideosCard/VideosCard.js +3 -3
- package/lib/commonjs/components/Common/BaseOfferCard/Stat/Stat.js +4 -4
- package/lib/commonjs/components/Common/BaseOfferCard/Stat/Stat.js.map +1 -1
- package/lib/commonjs/components/Common/BaseOfferCard/index.js +16 -15
- package/lib/commonjs/components/Common/BaseOfferCard/index.js.map +1 -1
- package/lib/commonjs/components/Common/DynamicOfferCard/CallToAction.js +2 -0
- package/lib/commonjs/components/Common/DynamicOfferCard/CallToAction.js.map +1 -1
- package/lib/commonjs/components/Common/DynamicOfferCard/SeeMore.js +1 -1
- package/lib/commonjs/components/Common/DynamicOfferCard/SeeMore.js.map +1 -1
- package/lib/commonjs/components/Common/DynamicOfferCard/index.js +3 -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 +4 -3
- 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 +2 -2
- 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 +2 -2
- package/lib/commonjs/components/Layouts/HeadlineWithDescriptionCard/index.js.map +1 -1
- package/lib/commonjs/components/Modal/DescriptionPoints.js +2 -2
- package/lib/commonjs/components/Modal/DescriptionPoints.js.map +1 -1
- package/lib/commonjs/components/Modal/Disclaimer.js +2 -2
- package/lib/commonjs/components/Modal/Disclaimer.js.map +1 -1
- package/lib/commonjs/components/Modal/OfferDetailsModal.js +6 -2
- package/lib/commonjs/components/Modal/OfferDetailsModal.js.map +1 -1
- package/lib/commonjs/components/MoneyLionOfferCarousel.js +14 -16
- package/lib/commonjs/components/MoneyLionOfferCarousel.js.map +1 -1
- package/lib/commonjs/components/Text/index.js +18 -38
- package/lib/commonjs/components/Text/index.js.map +1 -1
- package/lib/commonjs/components/View/index.js +11 -94
- package/lib/commonjs/components/View/index.js.map +1 -1
- package/lib/commonjs/config/mocks/cnfContext.js +44 -8
- package/lib/commonjs/config/mocks/cnfContext.js.map +1 -1
- package/lib/commonjs/context/ThemeProvider.js +2 -2
- package/lib/commonjs/context/ThemeProvider.js.map +1 -1
- 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/core/src/system/cnfContext/schemas/Brand.js +45 -9
- package/lib/module/capabilities/core/src/system/cnfContext/schemas/Brand.js.map +1 -1
- package/lib/module/capabilities/offer-catalog/src/api/offerCatalogApi.js.map +1 -1
- package/lib/module/capabilities/ui/elements/src/components/MarkdownText/components.js +2 -3
- package/lib/module/capabilities/ui/elements/src/components/MarkdownText/components.js.map +1 -1
- package/lib/module/components/Button/index.js +4 -21
- package/lib/module/components/Button/index.js.map +1 -1
- package/lib/module/components/Cards/VideosCard/VideosCard.js +3 -3
- package/lib/module/components/Common/BaseOfferCard/Stat/Stat.js +4 -4
- package/lib/module/components/Common/BaseOfferCard/Stat/Stat.js.map +1 -1
- package/lib/module/components/Common/BaseOfferCard/index.js +16 -15
- package/lib/module/components/Common/BaseOfferCard/index.js.map +1 -1
- package/lib/module/components/Common/DynamicOfferCard/CallToAction.js +2 -0
- package/lib/module/components/Common/DynamicOfferCard/CallToAction.js.map +1 -1
- package/lib/module/components/Common/DynamicOfferCard/SeeMore.js +1 -1
- package/lib/module/components/Common/DynamicOfferCard/SeeMore.js.map +1 -1
- package/lib/module/components/Common/DynamicOfferCard/index.js +3 -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 +4 -3
- 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 +2 -2
- 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 +2 -2
- package/lib/module/components/Layouts/HeadlineWithDescriptionCard/index.js.map +1 -1
- package/lib/module/components/Modal/DescriptionPoints.js +2 -2
- package/lib/module/components/Modal/DescriptionPoints.js.map +1 -1
- package/lib/module/components/Modal/Disclaimer.js +2 -2
- package/lib/module/components/Modal/Disclaimer.js.map +1 -1
- package/lib/module/components/Modal/OfferDetailsModal.js +6 -2
- package/lib/module/components/Modal/OfferDetailsModal.js.map +1 -1
- package/lib/module/components/MoneyLionOfferCarousel.js +14 -16
- package/lib/module/components/MoneyLionOfferCarousel.js.map +1 -1
- package/lib/module/components/Text/index.js +17 -38
- package/lib/module/components/Text/index.js.map +1 -1
- package/lib/module/components/View/index.js +12 -95
- package/lib/module/components/View/index.js.map +1 -1
- package/lib/module/config/mocks/cnfContext.js +44 -8
- package/lib/module/config/mocks/cnfContext.js.map +1 -1
- package/lib/module/context/ThemeProvider.js +2 -2
- package/lib/module/context/ThemeProvider.js.map +1 -1
- 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/core/src/system/cnfContext/schemas/Brand.d.ts +90 -18
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Brand.d.ts.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/capabilities/ui/elements/src/components/MarkdownText/components.d.ts +3 -2
- package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/components.d.ts.map +1 -1
- package/lib/typescript/src/components/Button/index.d.ts +3 -3
- package/lib/typescript/src/components/Button/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Common/BaseOfferCard/index.d.ts +4 -4
- package/lib/typescript/src/components/Common/BaseOfferCard/index.d.ts.map +1 -1
- package/lib/typescript/src/components/Common/DynamicOfferCard/CallToAction.d.ts +2 -2
- 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/Disclaimer.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 +2 -0
- package/lib/typescript/src/components/MoneyLionOfferCarousel.d.ts.map +1 -1
- package/lib/typescript/src/components/Text/index.d.ts +2 -2
- package/lib/typescript/src/components/Text/index.d.ts.map +1 -1
- package/lib/typescript/src/components/View/index.d.ts +4 -2
- package/lib/typescript/src/components/View/index.d.ts.map +1 -1
- package/lib/typescript/src/config/mocks/cnfContext.d.ts.map +1 -1
- 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/context/ThemeProvider.d.ts +47 -11
- package/lib/typescript/src/context/ThemeProvider.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/core/src/system/cnfContext/schemas/Brand.ts +46 -10
- package/src/capabilities/offer-catalog/src/api/offerCatalogApi.ts +1 -1
- package/src/capabilities/ui/elements/src/components/MarkdownText/components.tsx +4 -4
- package/src/components/Button/index.tsx +7 -20
- package/src/components/Cards/VideosCard/VideosCard.tsx +3 -3
- package/src/components/Common/BaseOfferCard/Stat/Stat.tsx +4 -4
- package/src/components/Common/BaseOfferCard/index.tsx +36 -17
- package/src/components/Common/DynamicOfferCard/CallToAction.tsx +3 -1
- package/src/components/Common/DynamicOfferCard/SeeMore.tsx +2 -2
- package/src/components/Common/DynamicOfferCard/index.tsx +5 -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 +6 -6
- package/src/components/Layouts/CreditCardOfferCard/statsBuilder.tsx +2 -2
- package/src/components/Layouts/DefaultOfferCard/index.tsx +4 -5
- package/src/components/Layouts/DefaultOfferCard/statsBuilder.tsx +2 -2
- package/src/components/Layouts/HeadlineWithDescriptionCard/index.tsx +4 -4
- package/src/components/Modal/DescriptionPoints.tsx +2 -2
- package/src/components/Modal/Disclaimer.tsx +6 -2
- package/src/components/Modal/OfferDetailsModal.tsx +12 -7
- package/src/components/MoneyLionOfferCarousel.tsx +20 -14
- package/src/components/Text/index.tsx +10 -45
- package/src/components/View/index.tsx +14 -72
- package/src/config/mocks/cnfContext.ts +44 -8
- package/src/context/EventHandlerProvider.tsx +1 -1
- package/src/context/ThemeProvider.tsx +51 -14
- 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/utils/getDefaultPaletteColor.js +0 -20
- package/lib/commonjs/utils/getDefaultPaletteColor.js.map +0 -1
- package/lib/module/utils/getDefaultPaletteColor.js +0 -13
- package/lib/module/utils/getDefaultPaletteColor.js.map +0 -1
- package/lib/typescript/src/utils/getDefaultPaletteColor.d.ts +0 -3
- package/lib/typescript/src/utils/getDefaultPaletteColor.d.ts.map +0 -1
- package/src/utils/getDefaultPaletteColor.ts +0 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Brand.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/capabilities/core/src/system/cnfContext/schemas/Brand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"Brand.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/capabilities/core/src/system/cnfContext/schemas/Brand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AACjE,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4Cf,CAAC;AAEH,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,KAAK,CAAC,CAAC;AACrD,QAAA,MAAM,KAAK;;;;;EAKT,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AACjE,QAAA,MAAM,WAAW;;;EAGf,CAAC;AAEH,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,KAAK,CAAC,CAAC;AACrD,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;EAcT,CAAC;AAEH,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,KAAK,CAAC,CAAC;AACrD,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGT,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC,CAAC;AAC/D,QAAA,MAAM,UAAU,gGAQf,CAAC;AAEF,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC;AACnD,QAAA,MAAM,IAAI;;EAER,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,YAAY,CAAC,CAAC;AACnE,QAAA,MAAM,YAAY;;;EAGhB,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,YAAY,CAAC,CAAC;AACnE,QAAA,MAAM,YAAY;;;;EAIhB,CAAC;AAEH,KAAK,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AAC1D,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAef,CAAC;AAEH,MAAM,MAAM,KAAK,GAAG,WAAW,GAAG;IACjC,aAAa,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,KAAK,qCAiBhB,CAAC"}
|
|
@@ -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"}
|
package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/components.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { type RenderRules } from "react-native-markdown-display";
|
|
2
|
-
import { type
|
|
2
|
+
import { type TextWeight, type Variant } from "../../../../../../components/Text";
|
|
3
|
+
import type { ThemeColors } from "../../../../../core/src";
|
|
3
4
|
export declare const createMarkdownComponents: ({ numberOfLines, variant, weight, color, }: {
|
|
4
5
|
numberOfLines?: number | undefined;
|
|
5
6
|
variant?: Variant | undefined;
|
|
6
7
|
weight?: TextWeight | undefined;
|
|
7
|
-
color?:
|
|
8
|
+
color?: "backgroundPrimary" | "backgroundPrimaryFaded" | "backgroundPrimaryHighlighted" | "backgroundCritical" | "backgroundCriticalFaded" | "backgroundCriticalHighlighted" | "backgroundWarning" | "backgroundWarningFaded" | "backgroundWarningHighlighted" | "backgroundPositive" | "backgroundPositiveFaded" | "backgroundPositiveHighlighted" | "backgroundNeutral" | "backgroundNeutralFaded" | "backgroundNeutralHighlighted" | "backgroundDisabled" | "backgroundDisabledFaded" | "backgroundElevationBase" | "backgroundElevationRaised" | "backgroundElevationOverlay" | "backgroundPage" | "backgroundPageFaded" | "borderPrimary" | "borderPrimaryFaded" | "borderCritical" | "borderCriticalFaded" | "borderWarning" | "borderWarningFaded" | "borderPositive" | "borderPositiveFaded" | "borderNeutral" | "borderNeutralFaded" | "borderDisabled" | "foregroundPrimary" | "foregroundCritical" | "foregroundWarning" | "foregroundPositive" | "foregroundNeutral" | "foregroundNeutralFaded" | "foregroundDisabled" | "brand" | "white" | "black" | undefined;
|
|
8
9
|
}) => RenderRules;
|
|
9
10
|
//# sourceMappingURL=components.d.ts.map
|
package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/components.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/capabilities/ui/elements/src/components/MarkdownText/components.tsx"],"names":[],"mappings":"AAIA,OAAO,EAGN,KAAK,WAAW,EAChB,MAAM,+BAA+B,CAAC;AACvC,OAAa,EACZ,KAAK,
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/capabilities/ui/elements/src/components/MarkdownText/components.tsx"],"names":[],"mappings":"AAIA,OAAO,EAGN,KAAK,WAAW,EAChB,MAAM,+BAA+B,CAAC;AACvC,OAAa,EACZ,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAQ3D,eAAO,MAAM,wBAAwB;;;;;MAUjC,WAwHH,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { type ReactNode } from "react";
|
|
2
2
|
import { TouchableOpacity, type StyleProp, type ViewStyle, type TouchableOpacityProps } from "react-native";
|
|
3
|
-
import { type
|
|
4
|
-
|
|
3
|
+
import { type ThemeColors } from "../../context/ThemeProvider";
|
|
4
|
+
type Colors = keyof ThemeColors;
|
|
5
5
|
export interface ButtonProps extends TouchableOpacityProps {
|
|
6
|
-
color
|
|
6
|
+
color: Colors;
|
|
7
7
|
loading?: boolean;
|
|
8
8
|
highlighted?: boolean;
|
|
9
9
|
disabled?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,EACN,gBAAgB,EAIhB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,qBAAqB,EAC1B,MAAM,cAAc,CAAC;AACtB,OAAO,EAAY,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,EACN,gBAAgB,EAIhB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,qBAAqB,EAC1B,MAAM,cAAc,CAAC;AACtB,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAqBzE,KAAK,MAAM,GAAG,MAAM,WAAW,CAAC;AAEhC,MAAM,WAAW,WAAY,SAAQ,qBAAqB;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC7B;AAED,QAAA,MAAM,MAAM,sFAwDV,CAAC;AA4BH,eAAe,MAAM,CAAC"}
|
|
@@ -1,17 +1,17 @@
|
|
|
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 | undefined;
|
|
10
10
|
}): React.JSX.Element;
|
|
11
11
|
Container: ({ children, ...rest }: ViewProps) => React.JSX.Element;
|
|
12
12
|
TopContainer: ({ children, ...viewProps }: ViewProps) => React.JSX.Element;
|
|
13
13
|
Stats: ({ children, ...viewProps }: ViewProps) => React.JSX.Element;
|
|
14
|
-
CallToAction: ({ children, ...rest }: ComponentProps<typeof Button>) => React.JSX.Element;
|
|
14
|
+
CallToAction: ({ color, children, ...rest }: ComponentProps<typeof Button>) => React.JSX.Element;
|
|
15
15
|
ChosenBy: ({ children, ...rest }: ViewProps) => React.JSX.Element;
|
|
16
16
|
BottomBar: ({ children, ...viewProps }: ViewProps) => React.JSX.Element;
|
|
17
17
|
Content: typeof Content;
|
|
@@ -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;;;;uCAkBuB,SAAS;+CAgFD,SAAS;;iDAgIxD,eAAe,aAAa,CAAC;sCAlGS,SAAS;4CAYH,SAAS;;8CAtEP,SAAS;0BAalD,KAAK,eAAe,mBAAmB,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;sCA+D5B,SAAS;yCAYN,SAAS;;2BAcjB,MAAM,EAAE;;;2BAexB,MAAM,EAAE;;;;;;;;;wBA7JD,SAAS;6BAY5B,KAAK,eAAe,mBAAmB,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;iDAgBjB,SAAS;yCAgDjB,SAAS;yCAWT,SAAS;CArGpD,CAAC;AA4OF,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
|
}> & {
|
|
@@ -9,5 +9,5 @@ export type CTAProps = ComponentProps<typeof Button & {
|
|
|
9
9
|
context: "offer" | "offer_details";
|
|
10
10
|
offerIndex: number;
|
|
11
11
|
};
|
|
12
|
-
export declare const CallToAction: ({ children, offer, context, offerIndex, ...rest }: CTAProps) => React.JSX.Element;
|
|
12
|
+
export declare const CallToAction: ({ color, children, offer, context, offerIndex, ...rest }: CTAProps) => React.JSX.Element;
|
|
13
13
|
//# sourceMappingURL=CallToAction.d.ts.map
|
|
@@ -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,6DAOtB,QAAQ,sBA0BV,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,qBAsC9B;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,sBAiE1B,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":"Disclaimer.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modal/Disclaimer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,wBAAgB,UAAU,CAAC,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"Disclaimer.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modal/Disclaimer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,wBAAgB,UAAU,CAAC,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,qBAahE"}
|
|
@@ -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,sBAwDxB,CAAC"}
|
|
@@ -15,6 +15,8 @@ export type MoneyLionOfferCarouselProps = {
|
|
|
15
15
|
fontFamily?: Partial<FontFamily>;
|
|
16
16
|
showProductTypeLabel?: boolean;
|
|
17
17
|
isDev: boolean;
|
|
18
|
+
showCardBorder?: boolean;
|
|
19
|
+
showDescriptionPoints?: boolean;
|
|
18
20
|
};
|
|
19
21
|
export declare const MoneyLionOfferCarousel: (props: MoneyLionOfferCarouselProps & Omit<EventHandlerContextType, "rateTableUuid" | "leadUuid">) => React.JSX.Element;
|
|
20
22
|
//# 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;AAKzC,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;IACzB,qBAAqB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AA8BF,eAAO,MAAM,sBAAsB,UAC3B,2BAA2B,GACjC,KAAK,uBAAuB,EAAE,eAAe,GAAG,UAAU,CAAC,sBAgJ5D,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { type TextStyle, type StyleProp, type TextProps as RNTextProps } from "react-native";
|
|
3
|
+
import { type ThemeColors } from "../../context/ThemeProvider";
|
|
3
4
|
export type Variant = "title-1" | "title-2" | "title-3" | "title-4" | "title-5" | "title-6" | "featured-1" | "featured-2" | "featured-3" | "body-1" | "body-2" | "body-3" | "caption-1" | "caption-2";
|
|
4
5
|
export type TextDecoration = "line-through";
|
|
5
|
-
export type TextColor = "neutral" | "neutral-faded" | "critical" | "warning" | "positive" | "primary" | "disabled";
|
|
6
6
|
export type TextWeight = "normal" | "medium" | "bold";
|
|
7
7
|
export interface TextProps extends Omit<RNTextProps, "style"> {
|
|
8
8
|
variant?: Variant;
|
|
9
9
|
weight?: TextWeight;
|
|
10
|
-
color?:
|
|
10
|
+
color?: keyof ThemeColors;
|
|
11
11
|
decoration?: TextDecoration;
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
style?: StyleProp<TextStyle>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Text/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Text/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAGN,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,IAAI,WAAW,EAC7B,MAAM,cAAc,CAAC;AACtB,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAGzE,MAAM,MAAM,OAAO,GAChB,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,WAAW,GACX,WAAW,CAAC;AAGf,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC;AAG5C,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAC;AAGtD,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC;IAC5D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,WAAW,CAAC;IAC1B,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC7B;AAED,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAgD7B,CAAC;AAwEF,eAAe,IAAI,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { type ViewStyle } from "react-native";
|
|
3
|
+
import { type ThemeColors } from "../../context/ThemeProvider";
|
|
4
|
+
type Colors = keyof ThemeColors;
|
|
3
5
|
export interface ViewProps {
|
|
4
6
|
children?: React.ReactNode;
|
|
5
7
|
style?: ViewStyle;
|
|
6
|
-
backgroundColor?:
|
|
7
|
-
borderColor?:
|
|
8
|
+
backgroundColor?: Colors;
|
|
9
|
+
borderColor?: Colors;
|
|
8
10
|
direction?: "row" | "row-reverse" | "column" | "column-reverse";
|
|
9
11
|
height?: number | string;
|
|
10
12
|
maxHeight?: number | string;
|
|
@@ -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,
|
|
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,EAAE,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAY,KAAK,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAEzE,KAAK,MAAM,GAAG,MAAM,WAAW,CAAC;AAEhC,MAAM,WAAW,SAAS;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,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,CA4D7B,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cnfContext.d.ts","sourceRoot":"","sources":["../../../../../src/config/mocks/cnfContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0DAA0D,CAAC;AAE3F,eAAO,MAAM,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"cnfContext.d.ts","sourceRoot":"","sources":["../../../../../src/config/mocks/cnfContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0DAA0D,CAAC;AAE3F,eAAO,MAAM,eAAe,EAAE,UAyK7B,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,12 +1,48 @@
|
|
|
1
1
|
import React, { type FC, type ReactNode } from "react";
|
|
2
|
-
export interface
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
export interface ThemeColors {
|
|
3
|
+
backgroundPrimary: string;
|
|
4
|
+
backgroundPrimaryFaded: string;
|
|
5
|
+
backgroundPrimaryHighlighted: string;
|
|
6
|
+
backgroundCritical: string;
|
|
7
|
+
backgroundCriticalFaded: string;
|
|
8
|
+
backgroundCriticalHighlighted: string;
|
|
9
|
+
backgroundWarning: string;
|
|
10
|
+
backgroundWarningFaded: string;
|
|
11
|
+
backgroundWarningHighlighted: string;
|
|
12
|
+
backgroundPositive: string;
|
|
13
|
+
backgroundPositiveFaded: string;
|
|
14
|
+
backgroundPositiveHighlighted: string;
|
|
15
|
+
backgroundNeutral: string;
|
|
16
|
+
backgroundNeutralFaded: string;
|
|
17
|
+
backgroundNeutralHighlighted: string;
|
|
18
|
+
backgroundDisabled: string;
|
|
19
|
+
backgroundDisabledFaded: string;
|
|
20
|
+
backgroundElevationBase: string;
|
|
21
|
+
backgroundElevationRaised: string;
|
|
22
|
+
backgroundElevationOverlay: string;
|
|
23
|
+
backgroundPage: string;
|
|
24
|
+
backgroundPageFaded: string;
|
|
25
|
+
borderPrimary: string;
|
|
26
|
+
borderPrimaryFaded: string;
|
|
27
|
+
borderCritical: string;
|
|
28
|
+
borderCriticalFaded: string;
|
|
29
|
+
borderWarning: string;
|
|
30
|
+
borderWarningFaded: string;
|
|
31
|
+
borderPositive: string;
|
|
32
|
+
borderPositiveFaded: string;
|
|
33
|
+
borderNeutral: string;
|
|
34
|
+
borderNeutralFaded: string;
|
|
35
|
+
borderDisabled: string;
|
|
36
|
+
foregroundPrimary: string;
|
|
37
|
+
foregroundCritical: string;
|
|
38
|
+
foregroundWarning: string;
|
|
39
|
+
foregroundPositive: string;
|
|
40
|
+
foregroundNeutral: string;
|
|
41
|
+
foregroundNeutralFaded: string;
|
|
42
|
+
foregroundDisabled: string;
|
|
43
|
+
brand: string;
|
|
44
|
+
white: string;
|
|
45
|
+
black: string;
|
|
10
46
|
}
|
|
11
47
|
export interface FontFamily {
|
|
12
48
|
normal?: string;
|
|
@@ -14,15 +50,15 @@ export interface FontFamily {
|
|
|
14
50
|
bold?: string;
|
|
15
51
|
}
|
|
16
52
|
interface ThemeContextType {
|
|
17
|
-
theme:
|
|
53
|
+
theme: ThemeColors;
|
|
18
54
|
fontFamily: FontFamily;
|
|
19
|
-
updateTheme: (newTheme: Partial<
|
|
55
|
+
updateTheme: (newTheme: Partial<ThemeColors>) => void;
|
|
20
56
|
updateFontFamily: (newFontFamily: Partial<FontFamily>) => void;
|
|
21
57
|
}
|
|
22
58
|
export declare const ThemeContext: React.Context<ThemeContextType | null>;
|
|
23
59
|
export declare const useTheme: () => ThemeContextType;
|
|
24
60
|
interface ThemeProviderProps {
|
|
25
|
-
|
|
61
|
+
themeColors?: ThemeColors;
|
|
26
62
|
fontFamily?: Partial<FontFamily>;
|
|
27
63
|
children: ReactNode;
|
|
28
64
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../src/context/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAEb,KAAK,EAAE,EACP,KAAK,SAAS,EAGd,MAAM,OAAO,CAAC;AAGf,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../src/context/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAEb,KAAK,EAAE,EACP,KAAK,SAAS,EAGd,MAAM,OAAO,CAAC;AAGf,MAAM,WAAW,WAAW;IAC3B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,4BAA4B,EAAE,MAAM,CAAC;IACrC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,uBAAuB,EAAE,MAAM,CAAC;IAChC,6BAA6B,EAAE,MAAM,CAAC;IACtC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,4BAA4B,EAAE,MAAM,CAAC;IACrC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,uBAAuB,EAAE,MAAM,CAAC;IAChC,6BAA6B,EAAE,MAAM,CAAC;IACtC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,4BAA4B,EAAE,MAAM,CAAC;IACrC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,uBAAuB,EAAE,MAAM,CAAC;IAChC,uBAAuB,EAAE,MAAM,CAAC;IAChC,yBAAyB,EAAE,MAAM,CAAC;IAClC,0BAA0B,EAAE,MAAM,CAAC;IACnC,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,UAAU;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AAQD,UAAU,gBAAgB;IACzB,KAAK,EAAE,WAAW,CAAC;IACnB,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACtD,gBAAgB,EAAE,CAAC,aAAa,EAAE,OAAO,CAAC,UAAU,CAAC,KAAK,IAAI,CAAC;CAC/D;AAED,eAAO,MAAM,YAAY,wCAA+C,CAAC;AAEzE,eAAO,MAAM,QAAQ,wBAMpB,CAAC;AAEF,UAAU,kBAAkB;IAC3B,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IACjC,QAAQ,EAAE,SAAS,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAqChD,CAAC"}
|