@moneylion/react-native-offer-carousel 1.0.0
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/README.md +1 -0
- package/lib/commonjs/apiEnvironment.js +24 -0
- package/lib/commonjs/apiEnvironment.js.map +1 -0
- package/lib/commonjs/components/Button/index.js +119 -0
- package/lib/commonjs/components/Button/index.js.map +1 -0
- package/lib/commonjs/components/Cards/VideosCard/VideoContent.js +40 -0
- package/lib/commonjs/components/Cards/VideosCard/VideoContent.js.map +1 -0
- package/lib/commonjs/components/Cards/VideosCard/VideosCard.js +56 -0
- package/lib/commonjs/components/Cards/VideosCard/VideosCard.js.map +1 -0
- package/lib/commonjs/components/Cards/index.js +3 -0
- package/lib/commonjs/components/Cards/index.js.map +1 -0
- package/lib/commonjs/components/Common/BaseOfferCard/Content/Content.js +20 -0
- package/lib/commonjs/components/Common/BaseOfferCard/Content/Content.js.map +1 -0
- package/lib/commonjs/components/Common/BaseOfferCard/Content/index.js +17 -0
- package/lib/commonjs/components/Common/BaseOfferCard/Content/index.js.map +1 -0
- package/lib/commonjs/components/Common/BaseOfferCard/Stat/Stat.js +83 -0
- package/lib/commonjs/components/Common/BaseOfferCard/Stat/Stat.js.map +1 -0
- package/lib/commonjs/components/Common/BaseOfferCard/Stat/index.js +17 -0
- package/lib/commonjs/components/Common/BaseOfferCard/Stat/index.js.map +1 -0
- package/lib/commonjs/components/Common/BaseOfferCard/StatsContainer/StatsContainer.js +18 -0
- package/lib/commonjs/components/Common/BaseOfferCard/StatsContainer/StatsContainer.js.map +1 -0
- package/lib/commonjs/components/Common/BaseOfferCard/StatsContainer/index.js +17 -0
- package/lib/commonjs/components/Common/BaseOfferCard/StatsContainer/index.js.map +1 -0
- package/lib/commonjs/components/Common/BaseOfferCard/ThumbsUpIcon.js +29 -0
- package/lib/commonjs/components/Common/BaseOfferCard/ThumbsUpIcon.js.map +1 -0
- package/lib/commonjs/components/Common/BaseOfferCard/index.js +254 -0
- package/lib/commonjs/components/Common/BaseOfferCard/index.js.map +1 -0
- package/lib/commonjs/components/Common/DynamicOfferCard/CallToAction.js +45 -0
- package/lib/commonjs/components/Common/DynamicOfferCard/CallToAction.js.map +1 -0
- package/lib/commonjs/components/Common/DynamicOfferCard/SeeMore.js +72 -0
- package/lib/commonjs/components/Common/DynamicOfferCard/SeeMore.js.map +1 -0
- package/lib/commonjs/components/Common/DynamicOfferCard/index.js +37 -0
- package/lib/commonjs/components/Common/DynamicOfferCard/index.js.map +1 -0
- package/lib/commonjs/components/Common/index.js +27 -0
- package/lib/commonjs/components/Common/index.js.map +1 -0
- package/lib/commonjs/components/Divider/index.js +39 -0
- package/lib/commonjs/components/Divider/index.js.map +1 -0
- package/lib/commonjs/components/DynamicOffers/DynamicOffers.js +32 -0
- package/lib/commonjs/components/DynamicOffers/DynamicOffers.js.map +1 -0
- package/lib/commonjs/components/DynamicOffers/DynamicOffersContainer.js +49 -0
- package/lib/commonjs/components/DynamicOffers/DynamicOffersContainer.js.map +1 -0
- package/lib/commonjs/components/DynamicOffers/Render/DynamicOffersRender.js +205 -0
- package/lib/commonjs/components/DynamicOffers/Render/DynamicOffersRender.js.map +1 -0
- package/lib/commonjs/components/DynamicOffers/Render/FallbackOfferTemplate.js +28 -0
- package/lib/commonjs/components/DynamicOffers/Render/FallbackOfferTemplate.js.map +1 -0
- package/lib/commonjs/components/DynamicOffers/Render/Offer.js +70 -0
- package/lib/commonjs/components/DynamicOffers/Render/Offer.js.map +1 -0
- package/lib/commonjs/components/DynamicOffers/Render/index.js +20 -0
- package/lib/commonjs/components/DynamicOffers/Render/index.js.map +1 -0
- package/lib/commonjs/components/Layouts/CreditCardOfferCard/index.js +65 -0
- package/lib/commonjs/components/Layouts/CreditCardOfferCard/index.js.map +1 -0
- package/lib/commonjs/components/Layouts/CreditCardOfferCard/statsBuilder.js +15 -0
- package/lib/commonjs/components/Layouts/CreditCardOfferCard/statsBuilder.js.map +1 -0
- package/lib/commonjs/components/Layouts/DefaultOfferCard/index.js +53 -0
- package/lib/commonjs/components/Layouts/DefaultOfferCard/index.js.map +1 -0
- package/lib/commonjs/components/Layouts/DefaultOfferCard/statsBuilder.js +17 -0
- package/lib/commonjs/components/Layouts/DefaultOfferCard/statsBuilder.js.map +1 -0
- package/lib/commonjs/components/Layouts/HeadlineWithDescriptionCard/index.js +47 -0
- package/lib/commonjs/components/Layouts/HeadlineWithDescriptionCard/index.js.map +1 -0
- package/lib/commonjs/components/Layouts/index.js +27 -0
- package/lib/commonjs/components/Layouts/index.js.map +1 -0
- package/lib/commonjs/components/Modal/DescriptionPoints.js +28 -0
- package/lib/commonjs/components/Modal/DescriptionPoints.js.map +1 -0
- package/lib/commonjs/components/Modal/Disclaimer.js +27 -0
- package/lib/commonjs/components/Modal/Disclaimer.js.map +1 -0
- package/lib/commonjs/components/Modal/OfferDetailsModal.js +95 -0
- package/lib/commonjs/components/Modal/OfferDetailsModal.js.map +1 -0
- package/lib/commonjs/components/MoneyLionOfferCarousel.js +174 -0
- package/lib/commonjs/components/MoneyLionOfferCarousel.js.map +1 -0
- package/lib/commonjs/components/Skeleton/Skeleton.js +65 -0
- package/lib/commonjs/components/Skeleton/Skeleton.js.map +1 -0
- package/lib/commonjs/components/Skeleton/index.js +10 -0
- package/lib/commonjs/components/Skeleton/index.js.map +1 -0
- package/lib/commonjs/components/Text/index.js +184 -0
- package/lib/commonjs/components/Text/index.js.map +1 -0
- package/lib/commonjs/components/View/index.js +162 -0
- package/lib/commonjs/components/View/index.js.map +1 -0
- package/lib/commonjs/context/CNFProvider.js +2 -0
- package/lib/commonjs/context/CNFProvider.js.map +1 -0
- package/lib/commonjs/context/EventHandlerProvider.js +25 -0
- package/lib/commonjs/context/EventHandlerProvider.js.map +1 -0
- package/lib/commonjs/context/ThemeProvider.js +59 -0
- package/lib/commonjs/context/ThemeProvider.js.map +1 -0
- package/lib/commonjs/deps/configuration.js +2 -0
- package/lib/commonjs/deps/configuration.js.map +1 -0
- package/lib/commonjs/index.js +17 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/pageData.js +93 -0
- package/lib/commonjs/pageData.js.map +1 -0
- package/lib/commonjs/services/getDynamicOffers.js +55 -0
- package/lib/commonjs/services/getDynamicOffers.js.map +1 -0
- package/lib/commonjs/services/getProductTypes.js +50 -0
- package/lib/commonjs/services/getProductTypes.js.map +1 -0
- package/lib/commonjs/services/getProductTypesByQuery.js +55 -0
- package/lib/commonjs/services/getProductTypesByQuery.js.map +1 -0
- package/lib/commonjs/utils/addClientTagsToOfferLinks.js +25 -0
- package/lib/commonjs/utils/addClientTagsToOfferLinks.js.map +1 -0
- package/lib/commonjs/utils/formatOfferUrl.js +31 -0
- package/lib/commonjs/utils/formatOfferUrl.js.map +1 -0
- package/lib/commonjs/utils/getDefaultPaletteColor.js +20 -0
- package/lib/commonjs/utils/getDefaultPaletteColor.js.map +1 -0
- package/lib/commonjs/utils/getDefaultProductType.js +9 -0
- package/lib/commonjs/utils/getDefaultProductType.js.map +1 -0
- package/lib/commonjs/utils/getEnableUseCachedOffers.js +21 -0
- package/lib/commonjs/utils/getEnableUseCachedOffers.js.map +1 -0
- package/lib/commonjs/utils/getOffersBasedOnLayout.js +48 -0
- package/lib/commonjs/utils/getOffersBasedOnLayout.js.map +1 -0
- package/lib/commonjs/utils/getOffersByProductTypes.js +31 -0
- package/lib/commonjs/utils/getOffersByProductTypes.js.map +1 -0
- package/lib/commonjs/utils/getProductTypesDefinition.js +17 -0
- package/lib/commonjs/utils/getProductTypesDefinition.js.map +1 -0
- package/lib/commonjs/utils/index.js +116 -0
- package/lib/commonjs/utils/index.js.map +1 -0
- package/lib/commonjs/utils/layouts.js +27 -0
- package/lib/commonjs/utils/layouts.js.map +1 -0
- package/lib/commonjs/utils/parseStringProductTypes.js +14 -0
- package/lib/commonjs/utils/parseStringProductTypes.js.map +1 -0
- package/lib/commonjs/utils/resolveProductTypes.js +12 -0
- package/lib/commonjs/utils/resolveProductTypes.js.map +1 -0
- package/lib/commonjs/utils/selectDynamicOffers.js +13 -0
- package/lib/commonjs/utils/selectDynamicOffers.js.map +1 -0
- package/lib/commonjs/utils/sortOffersByRecommendationScore.js +12 -0
- package/lib/commonjs/utils/sortOffersByRecommendationScore.js.map +1 -0
- package/lib/commonjs/version.js +10 -0
- package/lib/commonjs/version.js.map +1 -0
- package/lib/module/apiEnvironment.js +15 -0
- package/lib/module/apiEnvironment.js.map +1 -0
- package/lib/module/components/Button/index.js +111 -0
- package/lib/module/components/Button/index.js.map +1 -0
- package/lib/module/components/Cards/VideosCard/VideoContent.js +32 -0
- package/lib/module/components/Cards/VideosCard/VideoContent.js.map +1 -0
- package/lib/module/components/Cards/VideosCard/VideosCard.js +55 -0
- package/lib/module/components/Cards/VideosCard/VideosCard.js.map +1 -0
- package/lib/module/components/Cards/index.js +2 -0
- package/lib/module/components/Cards/index.js.map +1 -0
- package/lib/module/components/Common/BaseOfferCard/Content/Content.js +13 -0
- package/lib/module/components/Common/BaseOfferCard/Content/Content.js.map +1 -0
- package/lib/module/components/Common/BaseOfferCard/Content/index.js +2 -0
- package/lib/module/components/Common/BaseOfferCard/Content/index.js.map +1 -0
- package/lib/module/components/Common/BaseOfferCard/Stat/Stat.js +76 -0
- package/lib/module/components/Common/BaseOfferCard/Stat/Stat.js.map +1 -0
- package/lib/module/components/Common/BaseOfferCard/Stat/index.js +2 -0
- package/lib/module/components/Common/BaseOfferCard/Stat/index.js.map +1 -0
- package/lib/module/components/Common/BaseOfferCard/StatsContainer/StatsContainer.js +10 -0
- package/lib/module/components/Common/BaseOfferCard/StatsContainer/StatsContainer.js.map +1 -0
- package/lib/module/components/Common/BaseOfferCard/StatsContainer/index.js +2 -0
- package/lib/module/components/Common/BaseOfferCard/StatsContainer/index.js.map +1 -0
- package/lib/module/components/Common/BaseOfferCard/ThumbsUpIcon.js +21 -0
- package/lib/module/components/Common/BaseOfferCard/ThumbsUpIcon.js.map +1 -0
- package/lib/module/components/Common/BaseOfferCard/index.js +248 -0
- package/lib/module/components/Common/BaseOfferCard/index.js.map +1 -0
- package/lib/module/components/Common/DynamicOfferCard/CallToAction.js +37 -0
- package/lib/module/components/Common/DynamicOfferCard/CallToAction.js.map +1 -0
- package/lib/module/components/Common/DynamicOfferCard/SeeMore.js +62 -0
- package/lib/module/components/Common/DynamicOfferCard/SeeMore.js.map +1 -0
- package/lib/module/components/Common/DynamicOfferCard/index.js +31 -0
- package/lib/module/components/Common/DynamicOfferCard/index.js.map +1 -0
- package/lib/module/components/Common/index.js +4 -0
- package/lib/module/components/Common/index.js.map +1 -0
- package/lib/module/components/Divider/index.js +33 -0
- package/lib/module/components/Divider/index.js.map +1 -0
- package/lib/module/components/DynamicOffers/DynamicOffers.js +24 -0
- package/lib/module/components/DynamicOffers/DynamicOffers.js.map +1 -0
- package/lib/module/components/DynamicOffers/DynamicOffersContainer.js +40 -0
- package/lib/module/components/DynamicOffers/DynamicOffersContainer.js.map +1 -0
- package/lib/module/components/DynamicOffers/Render/DynamicOffersRender.js +196 -0
- package/lib/module/components/DynamicOffers/Render/DynamicOffersRender.js.map +1 -0
- package/lib/module/components/DynamicOffers/Render/FallbackOfferTemplate.js +21 -0
- package/lib/module/components/DynamicOffers/Render/FallbackOfferTemplate.js.map +1 -0
- package/lib/module/components/DynamicOffers/Render/Offer.js +61 -0
- package/lib/module/components/DynamicOffers/Render/Offer.js.map +1 -0
- package/lib/module/components/DynamicOffers/Render/index.js +3 -0
- package/lib/module/components/DynamicOffers/Render/index.js.map +1 -0
- package/lib/module/components/Layouts/CreditCardOfferCard/index.js +57 -0
- package/lib/module/components/Layouts/CreditCardOfferCard/index.js.map +1 -0
- package/lib/module/components/Layouts/CreditCardOfferCard/statsBuilder.js +8 -0
- package/lib/module/components/Layouts/CreditCardOfferCard/statsBuilder.js.map +1 -0
- package/lib/module/components/Layouts/DefaultOfferCard/index.js +45 -0
- package/lib/module/components/Layouts/DefaultOfferCard/index.js.map +1 -0
- package/lib/module/components/Layouts/DefaultOfferCard/statsBuilder.js +10 -0
- package/lib/module/components/Layouts/DefaultOfferCard/statsBuilder.js.map +1 -0
- package/lib/module/components/Layouts/HeadlineWithDescriptionCard/index.js +39 -0
- package/lib/module/components/Layouts/HeadlineWithDescriptionCard/index.js.map +1 -0
- package/lib/module/components/Layouts/index.js +4 -0
- package/lib/module/components/Layouts/index.js.map +1 -0
- package/lib/module/components/Modal/DescriptionPoints.js +21 -0
- package/lib/module/components/Modal/DescriptionPoints.js.map +1 -0
- package/lib/module/components/Modal/Disclaimer.js +20 -0
- package/lib/module/components/Modal/Disclaimer.js.map +1 -0
- package/lib/module/components/Modal/OfferDetailsModal.js +87 -0
- package/lib/module/components/Modal/OfferDetailsModal.js.map +1 -0
- package/lib/module/components/MoneyLionOfferCarousel.js +165 -0
- package/lib/module/components/MoneyLionOfferCarousel.js.map +1 -0
- package/lib/module/components/Skeleton/Skeleton.js +57 -0
- package/lib/module/components/Skeleton/Skeleton.js.map +1 -0
- package/lib/module/components/Skeleton/index.js +3 -0
- package/lib/module/components/Skeleton/index.js.map +1 -0
- package/lib/module/components/Text/index.js +179 -0
- package/lib/module/components/Text/index.js.map +1 -0
- package/lib/module/components/View/index.js +155 -0
- package/lib/module/components/View/index.js.map +1 -0
- package/lib/module/context/CNFProvider.js +2 -0
- package/lib/module/context/CNFProvider.js.map +1 -0
- package/lib/module/context/EventHandlerProvider.js +15 -0
- package/lib/module/context/EventHandlerProvider.js.map +1 -0
- package/lib/module/context/ThemeProvider.js +49 -0
- package/lib/module/context/ThemeProvider.js.map +1 -0
- package/lib/module/deps/configuration.js +2 -0
- package/lib/module/deps/configuration.js.map +1 -0
- package/lib/module/index.js +2 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/pageData.js +86 -0
- package/lib/module/pageData.js.map +1 -0
- package/lib/module/services/getDynamicOffers.js +48 -0
- package/lib/module/services/getDynamicOffers.js.map +1 -0
- package/lib/module/services/getProductTypes.js +43 -0
- package/lib/module/services/getProductTypes.js.map +1 -0
- package/lib/module/services/getProductTypesByQuery.js +48 -0
- package/lib/module/services/getProductTypesByQuery.js.map +1 -0
- package/lib/module/utils/addClientTagsToOfferLinks.js +18 -0
- package/lib/module/utils/addClientTagsToOfferLinks.js.map +1 -0
- package/lib/module/utils/formatOfferUrl.js +25 -0
- package/lib/module/utils/formatOfferUrl.js.map +1 -0
- package/lib/module/utils/getDefaultPaletteColor.js +13 -0
- package/lib/module/utils/getDefaultPaletteColor.js.map +1 -0
- package/lib/module/utils/getDefaultProductType.js +2 -0
- package/lib/module/utils/getDefaultProductType.js.map +1 -0
- package/lib/module/utils/getEnableUseCachedOffers.js +14 -0
- package/lib/module/utils/getEnableUseCachedOffers.js.map +1 -0
- package/lib/module/utils/getOffersBasedOnLayout.js +39 -0
- package/lib/module/utils/getOffersBasedOnLayout.js.map +1 -0
- package/lib/module/utils/getOffersByProductTypes.js +24 -0
- package/lib/module/utils/getOffersByProductTypes.js.map +1 -0
- package/lib/module/utils/getProductTypesDefinition.js +10 -0
- package/lib/module/utils/getProductTypesDefinition.js.map +1 -0
- package/lib/module/utils/index.js +11 -0
- package/lib/module/utils/index.js.map +1 -0
- package/lib/module/utils/layouts.js +20 -0
- package/lib/module/utils/layouts.js.map +1 -0
- package/lib/module/utils/parseStringProductTypes.js +7 -0
- package/lib/module/utils/parseStringProductTypes.js.map +1 -0
- package/lib/module/utils/resolveProductTypes.js +5 -0
- package/lib/module/utils/resolveProductTypes.js.map +1 -0
- package/lib/module/utils/selectDynamicOffers.js +6 -0
- package/lib/module/utils/selectDynamicOffers.js.map +1 -0
- package/lib/module/utils/sortOffersByRecommendationScore.js +5 -0
- package/lib/module/utils/sortOffersByRecommendationScore.js.map +1 -0
- package/lib/module/version.js +3 -0
- package/lib/module/version.js.map +1 -0
- package/lib/typescript/builder/builder.d.ts +24 -0
- package/lib/typescript/builder/builder.d.ts.map +1 -0
- package/lib/typescript/builder/config/types.d.ts +89 -0
- package/lib/typescript/builder/config/types.d.ts.map +1 -0
- package/lib/typescript/builder/index.d.ts +3 -0
- package/lib/typescript/builder/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/configuration/src/brands/checkVisualEligibility.d.ts +12 -0
- package/lib/typescript/capabilities/configuration/src/brands/checkVisualEligibility.d.ts.map +1 -0
- package/lib/typescript/capabilities/configuration/src/brands/createDerivedBrands.d.ts +9 -0
- package/lib/typescript/capabilities/configuration/src/brands/createDerivedBrands.d.ts.map +1 -0
- package/lib/typescript/capabilities/configuration/src/brands/index.d.ts +3 -0
- package/lib/typescript/capabilities/configuration/src/brands/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/configuration/src/brands/types.d.ts +4 -0
- package/lib/typescript/capabilities/configuration/src/brands/types.d.ts.map +1 -0
- package/lib/typescript/capabilities/core/src/domain/third-party-search/index.d.ts +2 -0
- package/lib/typescript/capabilities/core/src/domain/third-party-search/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/core/src/domain/third-party-search/orderProductTypesByRankUtils.d.ts +19 -0
- package/lib/typescript/capabilities/core/src/domain/third-party-search/orderProductTypesByRankUtils.d.ts.map +1 -0
- package/lib/typescript/capabilities/core/src/index.d.ts +2 -0
- package/lib/typescript/capabilities/core/src/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/CnfContext.d.ts +103 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/CnfContext.d.ts.map +1 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/App.d.ts +13 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/App.d.ts.map +1 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Brand.d.ts +180 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Brand.d.ts.map +1 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Configuration.d.ts +59 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Configuration.d.ts.map +1 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Request.d.ts +16 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Request.d.ts.map +1 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Session.d.ts +8 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Session.d.ts.map +1 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Signals.d.ts +64 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Signals.d.ts.map +1 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Subaccount.d.ts +18 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/Subaccount.d.ts.map +1 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/index.d.ts +8 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/api/offerCatalogApi.d.ts +5 -0
- package/lib/typescript/capabilities/offer-catalog/src/api/offerCatalogApi.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/index.d.ts +6 -0
- package/lib/typescript/capabilities/offer-catalog/src/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/types/offerCatalogSchema.d.ts +91 -0
- package/lib/typescript/capabilities/offer-catalog/src/types/offerCatalogSchema.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/arrayToMarkdownList.d.ts +2 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/arrayToMarkdownList.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/contextUtil.d.ts +8 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/contextUtil.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/errorUtil.d.ts +6 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/errorUtil.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/formatUtils.d.ts +68 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/formatUtils.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/getOfferUrl.d.ts +24 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/getOfferUrl.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.d.ts +13 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/boolean.d.ts +11 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/boolean.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.d.ts +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/boolean.spec.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/common.d.ts +14 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/common.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.d.ts +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/common.spec.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.d.ts +9 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.d.ts +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.spec.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currency.d.ts +10 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currency.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.d.ts +12 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.d.ts +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.spec.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.d.ts +9 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.d.ts +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.spec.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.d.ts +9 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.d.ts +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.spec.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/index.d.ts +20 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.d.ts +11 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.d.ts +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.spec.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/percentage.d.ts +9 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/percentage.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.d.ts +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/percentage.spec.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.d.ts +12 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.d.ts +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.spec.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.d.ts +10 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.d.ts +12 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.d.ts +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.spec.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.d.ts +10 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.d.ts +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.spec.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.d.ts +10 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.d.ts +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.spec.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.d.ts +11 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.d.ts +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.spec.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.d.ts +9 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.d.ts +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.spec.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.d.ts +9 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.d.ts +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.spec.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/index.d.ts +5 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/types.d.ts +9 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/stats/types.d.ts.map +1 -0
- package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/index.d.ts +4 -0
- package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.d.ts +1837 -0
- package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.d.ts.map +1 -0
- package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/types/index.d.ts +5 -0
- package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/types/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.d.ts +208 -0
- package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.d.ts.map +1 -0
- package/lib/typescript/capabilities/offers/ux/src/elements/Stat/HyphenIcon.d.ts +7 -0
- package/lib/typescript/capabilities/offers/ux/src/elements/Stat/HyphenIcon.d.ts.map +1 -0
- package/lib/typescript/capabilities/offers/ux/src/elements/Stat/Stat.d.ts +12 -0
- package/lib/typescript/capabilities/offers/ux/src/elements/Stat/Stat.d.ts.map +1 -0
- package/lib/typescript/capabilities/offers/ux/src/elements/Stat/index.d.ts +2 -0
- package/lib/typescript/capabilities/offers/ux/src/elements/Stat/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.d.ts +5 -0
- package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.d.ts.map +1 -0
- package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/components.d.ts +9 -0
- package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/components.d.ts.map +1 -0
- package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/index.d.ts +7 -0
- package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/markdownPreprocessor.d.ts +2 -0
- package/lib/typescript/capabilities/ui/elements/src/components/MarkdownText/markdownPreprocessor.d.ts.map +1 -0
- package/lib/typescript/capabilities/ui/elements/src/components/index.d.ts +2 -0
- package/lib/typescript/capabilities/ui/elements/src/components/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/ui/elements/src/components/thumbor/index.d.ts +10 -0
- package/lib/typescript/capabilities/ui/elements/src/components/thumbor/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.d.ts +14 -0
- package/lib/typescript/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.d.ts.map +1 -0
- package/lib/typescript/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.d.ts +1 -0
- package/lib/typescript/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.test.d.ts.map +1 -0
- package/lib/typescript/capabilities/ui/elements/src/index.d.ts +3 -0
- package/lib/typescript/capabilities/ui/elements/src/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/ui/elements/src/offerCardAttributes.d.ts +10 -0
- package/lib/typescript/capabilities/ui/elements/src/offerCardAttributes.d.ts.map +1 -0
- package/lib/typescript/config/mocks/cnfContext.d.ts +3 -0
- package/lib/typescript/config/mocks/cnfContext.d.ts.map +1 -0
- package/lib/typescript/src/apiEnvironment.d.ts +13 -0
- package/lib/typescript/src/apiEnvironment.d.ts.map +1 -0
- package/lib/typescript/src/components/Button/index.d.ts +15 -0
- package/lib/typescript/src/components/Button/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Cards/VideosCard/VideoContent.d.ts +9 -0
- package/lib/typescript/src/components/Cards/VideosCard/VideoContent.d.ts.map +1 -0
- package/lib/typescript/src/components/Cards/VideosCard/VideosCard.d.ts +1 -0
- package/lib/typescript/src/components/Cards/VideosCard/VideosCard.d.ts.map +1 -0
- package/lib/typescript/src/components/Cards/index.d.ts +1 -0
- package/lib/typescript/src/components/Cards/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Common/BaseOfferCard/Content/Content.d.ts +4 -0
- package/lib/typescript/src/components/Common/BaseOfferCard/Content/Content.d.ts.map +1 -0
- package/lib/typescript/src/components/Common/BaseOfferCard/Content/index.d.ts +2 -0
- package/lib/typescript/src/components/Common/BaseOfferCard/Content/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Common/BaseOfferCard/Stat/Stat.d.ts +8 -0
- package/lib/typescript/src/components/Common/BaseOfferCard/Stat/Stat.d.ts.map +1 -0
- package/lib/typescript/src/components/Common/BaseOfferCard/Stat/index.d.ts +2 -0
- package/lib/typescript/src/components/Common/BaseOfferCard/Stat/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Common/BaseOfferCard/StatsContainer/StatsContainer.d.ts +4 -0
- package/lib/typescript/src/components/Common/BaseOfferCard/StatsContainer/StatsContainer.d.ts.map +1 -0
- package/lib/typescript/src/components/Common/BaseOfferCard/StatsContainer/index.d.ts +2 -0
- package/lib/typescript/src/components/Common/BaseOfferCard/StatsContainer/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Common/BaseOfferCard/ThumbsUpIcon.d.ts +3 -0
- package/lib/typescript/src/components/Common/BaseOfferCard/ThumbsUpIcon.d.ts.map +1 -0
- package/lib/typescript/src/components/Common/BaseOfferCard/index.d.ts +42 -0
- package/lib/typescript/src/components/Common/BaseOfferCard/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Common/DynamicOfferCard/CallToAction.d.ts +13 -0
- package/lib/typescript/src/components/Common/DynamicOfferCard/CallToAction.d.ts.map +1 -0
- package/lib/typescript/src/components/Common/DynamicOfferCard/SeeMore.d.ts +8 -0
- package/lib/typescript/src/components/Common/DynamicOfferCard/SeeMore.d.ts.map +1 -0
- package/lib/typescript/src/components/Common/DynamicOfferCard/index.d.ts +12 -0
- package/lib/typescript/src/components/Common/DynamicOfferCard/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Common/index.d.ts +4 -0
- package/lib/typescript/src/components/Common/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Divider/index.d.ts +16 -0
- package/lib/typescript/src/components/Divider/index.d.ts.map +1 -0
- package/lib/typescript/src/components/DynamicOffers/DynamicOffers.d.ts +12 -0
- package/lib/typescript/src/components/DynamicOffers/DynamicOffers.d.ts.map +1 -0
- package/lib/typescript/src/components/DynamicOffers/DynamicOffersContainer.d.ts +10 -0
- package/lib/typescript/src/components/DynamicOffers/DynamicOffersContainer.d.ts.map +1 -0
- package/lib/typescript/src/components/DynamicOffers/Render/DynamicOffersRender.d.ts +19 -0
- package/lib/typescript/src/components/DynamicOffers/Render/DynamicOffersRender.d.ts.map +1 -0
- package/lib/typescript/src/components/DynamicOffers/Render/FallbackOfferTemplate.d.ts +9 -0
- package/lib/typescript/src/components/DynamicOffers/Render/FallbackOfferTemplate.d.ts.map +1 -0
- package/lib/typescript/src/components/DynamicOffers/Render/Offer.d.ts +17 -0
- package/lib/typescript/src/components/DynamicOffers/Render/Offer.d.ts.map +1 -0
- package/lib/typescript/src/components/DynamicOffers/Render/index.d.ts +3 -0
- package/lib/typescript/src/components/DynamicOffers/Render/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Layouts/CreditCardOfferCard/index.d.ts +13 -0
- package/lib/typescript/src/components/Layouts/CreditCardOfferCard/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Layouts/CreditCardOfferCard/statsBuilder.d.ts +6 -0
- package/lib/typescript/src/components/Layouts/CreditCardOfferCard/statsBuilder.d.ts.map +1 -0
- package/lib/typescript/src/components/Layouts/DefaultOfferCard/index.d.ts +13 -0
- package/lib/typescript/src/components/Layouts/DefaultOfferCard/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Layouts/DefaultOfferCard/statsBuilder.d.ts +7 -0
- package/lib/typescript/src/components/Layouts/DefaultOfferCard/statsBuilder.d.ts.map +1 -0
- package/lib/typescript/src/components/Layouts/HeadlineWithDescriptionCard/index.d.ts +13 -0
- package/lib/typescript/src/components/Layouts/HeadlineWithDescriptionCard/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Layouts/index.d.ts +4 -0
- package/lib/typescript/src/components/Layouts/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Modal/DescriptionPoints.d.ts +5 -0
- package/lib/typescript/src/components/Modal/DescriptionPoints.d.ts.map +1 -0
- package/lib/typescript/src/components/Modal/Disclaimer.d.ts +5 -0
- package/lib/typescript/src/components/Modal/Disclaimer.d.ts.map +1 -0
- package/lib/typescript/src/components/Modal/OfferDetailsModal.d.ts +11 -0
- package/lib/typescript/src/components/Modal/OfferDetailsModal.d.ts.map +1 -0
- package/lib/typescript/src/components/MoneyLionOfferCarousel.d.ts +20 -0
- package/lib/typescript/src/components/MoneyLionOfferCarousel.d.ts.map +1 -0
- package/lib/typescript/src/components/Skeleton/Skeleton.d.ts +12 -0
- package/lib/typescript/src/components/Skeleton/Skeleton.d.ts.map +1 -0
- package/lib/typescript/src/components/Skeleton/index.d.ts +3 -0
- package/lib/typescript/src/components/Skeleton/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Text/index.d.ts +17 -0
- package/lib/typescript/src/components/Text/index.d.ts.map +1 -0
- package/lib/typescript/src/components/View/index.d.ts +23 -0
- package/lib/typescript/src/components/View/index.d.ts.map +1 -0
- package/lib/typescript/src/context/CNFProvider.d.ts +1 -0
- package/lib/typescript/src/context/CNFProvider.d.ts.map +1 -0
- package/lib/typescript/src/context/EventHandlerProvider.d.ts +71 -0
- package/lib/typescript/src/context/EventHandlerProvider.d.ts.map +1 -0
- package/lib/typescript/src/context/ThemeProvider.d.ts +31 -0
- package/lib/typescript/src/context/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/src/deps/configuration.d.ts +1 -0
- package/lib/typescript/src/deps/configuration.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +2 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/pageData.d.ts +19 -0
- package/lib/typescript/src/pageData.d.ts.map +1 -0
- package/lib/typescript/src/services/getDynamicOffers.d.ts +27 -0
- package/lib/typescript/src/services/getDynamicOffers.d.ts.map +1 -0
- package/lib/typescript/src/services/getProductTypes.d.ts +19 -0
- package/lib/typescript/src/services/getProductTypes.d.ts.map +1 -0
- package/lib/typescript/src/services/getProductTypesByQuery.d.ts +28 -0
- package/lib/typescript/src/services/getProductTypesByQuery.d.ts.map +1 -0
- package/lib/typescript/src/utils/addClientTagsToOfferLinks.d.ts +9 -0
- package/lib/typescript/src/utils/addClientTagsToOfferLinks.d.ts.map +1 -0
- package/lib/typescript/src/utils/formatOfferUrl.d.ts +64 -0
- package/lib/typescript/src/utils/formatOfferUrl.d.ts.map +1 -0
- package/lib/typescript/src/utils/getDefaultPaletteColor.d.ts +3 -0
- package/lib/typescript/src/utils/getDefaultPaletteColor.d.ts.map +1 -0
- package/lib/typescript/src/utils/getDefaultProductType.d.ts +3 -0
- package/lib/typescript/src/utils/getDefaultProductType.d.ts.map +1 -0
- package/lib/typescript/src/utils/getEnableUseCachedOffers.d.ts +12 -0
- package/lib/typescript/src/utils/getEnableUseCachedOffers.d.ts.map +1 -0
- package/lib/typescript/src/utils/getOffersBasedOnLayout.d.ts +26 -0
- package/lib/typescript/src/utils/getOffersBasedOnLayout.d.ts.map +1 -0
- package/lib/typescript/src/utils/getOffersByProductTypes.d.ts +17 -0
- package/lib/typescript/src/utils/getOffersByProductTypes.d.ts.map +1 -0
- package/lib/typescript/src/utils/getProductTypesDefinition.d.ts +14 -0
- package/lib/typescript/src/utils/getProductTypesDefinition.d.ts.map +1 -0
- package/lib/typescript/src/utils/index.d.ts +11 -0
- package/lib/typescript/src/utils/index.d.ts.map +1 -0
- package/lib/typescript/src/utils/layouts.d.ts +19 -0
- package/lib/typescript/src/utils/layouts.d.ts.map +1 -0
- package/lib/typescript/src/utils/parseStringProductTypes.d.ts +2 -0
- package/lib/typescript/src/utils/parseStringProductTypes.d.ts.map +1 -0
- package/lib/typescript/src/utils/resolveProductTypes.d.ts +14 -0
- package/lib/typescript/src/utils/resolveProductTypes.d.ts.map +1 -0
- package/lib/typescript/src/utils/selectDynamicOffers.d.ts +3 -0
- package/lib/typescript/src/utils/selectDynamicOffers.d.ts.map +1 -0
- package/lib/typescript/src/utils/sortOffersByRecommendationScore.d.ts +3 -0
- package/lib/typescript/src/utils/sortOffersByRecommendationScore.d.ts.map +1 -0
- package/lib/typescript/src/version.d.ts +2 -0
- package/lib/typescript/src/version.d.ts.map +1 -0
- package/package.json +139 -0
- package/src/apiEnvironment.ts +17 -0
- package/src/components/Button/index.tsx +140 -0
- package/src/components/Cards/VideosCard/VideoContent.tsx +38 -0
- package/src/components/Cards/VideosCard/VideosCard.tsx +54 -0
- package/src/components/Cards/index.ts +1 -0
- package/src/components/Common/BaseOfferCard/Content/Content.tsx +10 -0
- package/src/components/Common/BaseOfferCard/Content/index.tsx +1 -0
- package/src/components/Common/BaseOfferCard/Stat/Stat.tsx +91 -0
- package/src/components/Common/BaseOfferCard/Stat/index.tsx +1 -0
- package/src/components/Common/BaseOfferCard/StatsContainer/StatsContainer.tsx +8 -0
- package/src/components/Common/BaseOfferCard/StatsContainer/index.tsx +1 -0
- package/src/components/Common/BaseOfferCard/ThumbsUpIcon.tsx +27 -0
- package/src/components/Common/BaseOfferCard/index.tsx +282 -0
- package/src/components/Common/DynamicOfferCard/CallToAction.tsx +47 -0
- package/src/components/Common/DynamicOfferCard/SeeMore.tsx +76 -0
- package/src/components/Common/DynamicOfferCard/index.tsx +64 -0
- package/src/components/Common/index.ts +3 -0
- package/src/components/Divider/index.tsx +35 -0
- package/src/components/DynamicOffers/DynamicOffers.tsx +46 -0
- package/src/components/DynamicOffers/DynamicOffersContainer.tsx +41 -0
- package/src/components/DynamicOffers/Render/DynamicOffersRender.tsx +261 -0
- package/src/components/DynamicOffers/Render/FallbackOfferTemplate.tsx +29 -0
- package/src/components/DynamicOffers/Render/Offer.tsx +100 -0
- package/src/components/DynamicOffers/Render/index.ts +2 -0
- package/src/components/Layouts/CreditCardOfferCard/index.tsx +96 -0
- package/src/components/Layouts/CreditCardOfferCard/statsBuilder.tsx +10 -0
- package/src/components/Layouts/DefaultOfferCard/index.tsx +72 -0
- package/src/components/Layouts/DefaultOfferCard/statsBuilder.tsx +14 -0
- package/src/components/Layouts/HeadlineWithDescriptionCard/index.tsx +59 -0
- package/src/components/Layouts/index.ts +3 -0
- package/src/components/Modal/DescriptionPoints.tsx +24 -0
- package/src/components/Modal/Disclaimer.tsx +15 -0
- package/src/components/Modal/OfferDetailsModal.tsx +111 -0
- package/src/components/MoneyLionOfferCarousel.tsx +202 -0
- package/src/components/Skeleton/Skeleton.tsx +86 -0
- package/src/components/Skeleton/index.ts +2 -0
- package/src/components/Text/index.tsx +209 -0
- package/src/components/View/index.tsx +144 -0
- package/src/context/CNFProvider.tsx +0 -0
- package/src/context/EventHandlerProvider.tsx +89 -0
- package/src/context/ThemeProvider.tsx +91 -0
- package/src/deps/configuration.ts +0 -0
- package/src/index.tsx +1 -0
- package/src/pageData.ts +98 -0
- package/src/services/getDynamicOffers.ts +93 -0
- package/src/services/getProductTypes.ts +53 -0
- package/src/services/getProductTypesByQuery.ts +53 -0
- package/src/utils/addClientTagsToOfferLinks.ts +22 -0
- package/src/utils/formatOfferUrl.ts +32 -0
- package/src/utils/getDefaultPaletteColor.ts +15 -0
- package/src/utils/getDefaultProductType.ts +4 -0
- package/src/utils/getEnableUseCachedOffers.ts +13 -0
- package/src/utils/getOffersBasedOnLayout.ts +51 -0
- package/src/utils/getOffersByProductTypes.ts +36 -0
- package/src/utils/getProductTypesDefinition.ts +13 -0
- package/src/utils/index.ts +10 -0
- package/src/utils/layouts.ts +22 -0
- package/src/utils/parseStringProductTypes.ts +7 -0
- package/src/utils/resolveProductTypes.ts +18 -0
- package/src/utils/selectDynamicOffers.ts +18 -0
- package/src/utils/sortOffersByRecommendationScore.ts +6 -0
- package/src/version.ts +2 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.DescriptionPoints = DescriptionPoints;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _arrayToMarkdownList = require("../../../capabilities/offer-catalog/src/utils/arrayToMarkdownList");
|
|
9
|
+
var _View = _interopRequireDefault(require("../View"));
|
|
10
|
+
var _Text = _interopRequireDefault(require("../Text"));
|
|
11
|
+
var _MarkdownText = require("../../../capabilities/ui/elements/src/components/MarkdownText");
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
+
function DescriptionPoints({
|
|
14
|
+
descriptionPoints
|
|
15
|
+
}) {
|
|
16
|
+
return /*#__PURE__*/_react.default.createElement(_View.default, {
|
|
17
|
+
gap: 8
|
|
18
|
+
}, /*#__PURE__*/_react.default.createElement(_Text.default, {
|
|
19
|
+
variant: "body-3",
|
|
20
|
+
weight: "bold",
|
|
21
|
+
color: "neutral"
|
|
22
|
+
}, "Offer Details"), /*#__PURE__*/_react.default.createElement(_MarkdownText.MarkdownText, {
|
|
23
|
+
variant: "body-3",
|
|
24
|
+
color: "neutral",
|
|
25
|
+
content: (0, _arrayToMarkdownList.arrayToMarkdownList)(descriptionPoints)
|
|
26
|
+
}));
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=DescriptionPoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_arrayToMarkdownList","_View","_Text","_MarkdownText","e","__esModule","default","DescriptionPoints","descriptionPoints","createElement","gap","variant","weight","color","MarkdownText","content","arrayToMarkdownList"],"sourceRoot":"../../../../src","sources":["components/Modal/DescriptionPoints.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,oBAAA,GAAAD,OAAA;AACA,IAAAE,KAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,KAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,aAAA,GAAAJ,OAAA;AAA6F,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEtF,SAASG,iBAAiBA,CAAC;EACjCC;AAGD,CAAC,EAAE;EACF,oBACCX,MAAA,CAAAS,OAAA,CAAAG,aAAA,CAACR,KAAA,CAAAK,OAAI;IAACI,GAAG,EAAE;EAAE,gBACZb,MAAA,CAAAS,OAAA,CAAAG,aAAA,CAACP,KAAA,CAAAI,OAAI;IAACK,OAAO,EAAE,QAAS;IAACC,MAAM,EAAE,MAAO;IAACC,KAAK,EAAE;EAAU,GAAC,eAErD,CAAC,eACPhB,MAAA,CAAAS,OAAA,CAAAG,aAAA,CAACN,aAAA,CAAAW,YAAY;IACZH,OAAO,EAAE,QAAS;IAClBE,KAAK,EAAE,SAAU;IACjBE,OAAO,EAAE,IAAAC,wCAAmB,EAACR,iBAAiB;EAAE,CAChD,CACI,CAAC;AAET","ignoreList":[]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Disclaimer = Disclaimer;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _MarkdownText = require("../../../capabilities/ui/elements/src/components/MarkdownText");
|
|
9
|
+
var _Text = _interopRequireDefault(require("../Text"));
|
|
10
|
+
var _View = _interopRequireDefault(require("../View"));
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
+
function Disclaimer({
|
|
13
|
+
disclaimer
|
|
14
|
+
}) {
|
|
15
|
+
return /*#__PURE__*/_react.default.createElement(_View.default, {
|
|
16
|
+
gap: 16
|
|
17
|
+
}, /*#__PURE__*/_react.default.createElement(_Text.default, {
|
|
18
|
+
variant: "body-3",
|
|
19
|
+
weight: "bold",
|
|
20
|
+
color: "neutral"
|
|
21
|
+
}, "Provider Disclaimer"), /*#__PURE__*/_react.default.createElement(_MarkdownText.MarkdownText, {
|
|
22
|
+
variant: "body-3",
|
|
23
|
+
color: "neutral",
|
|
24
|
+
content: disclaimer
|
|
25
|
+
}));
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=Disclaimer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_MarkdownText","_Text","_View","e","__esModule","default","Disclaimer","disclaimer","createElement","gap","variant","weight","color","MarkdownText","content"],"sourceRoot":"../../../../src","sources":["components/Modal/Disclaimer.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,KAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,KAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAA2B,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEpB,SAASG,UAAUA,CAAC;EAAEC;AAAmC,CAAC,EAAE;EAClE,oBACCV,MAAA,CAAAQ,OAAA,CAAAG,aAAA,CAACN,KAAA,CAAAG,OAAI;IAACI,GAAG,EAAE;EAAG,gBACbZ,MAAA,CAAAQ,OAAA,CAAAG,aAAA,CAACP,KAAA,CAAAI,OAAI;IAACK,OAAO,EAAE,QAAS;IAACC,MAAM,EAAE,MAAO;IAACC,KAAK,EAAE;EAAU,GAAC,qBAErD,CAAC,eACPf,MAAA,CAAAQ,OAAA,CAAAG,aAAA,CAACR,aAAA,CAAAa,YAAY;IAACH,OAAO,EAAE,QAAS;IAACE,KAAK,EAAE,SAAU;IAACE,OAAO,EAAEP;EAAW,CAAE,CACpE,CAAC;AAET","ignoreList":[]}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.OfferDetailsModal = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _Text = _interopRequireDefault(require("../Text"));
|
|
10
|
+
var _DescriptionPoints = require("./DescriptionPoints");
|
|
11
|
+
var _Disclaimer = require("./Disclaimer");
|
|
12
|
+
var _CallToAction = require("../Common/DynamicOfferCard/CallToAction");
|
|
13
|
+
var _Divider = _interopRequireDefault(require("../Divider"));
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
|
+
const CTA_LABEL = "Continue";
|
|
16
|
+
const OfferDetailsModal = ({
|
|
17
|
+
visible,
|
|
18
|
+
offer,
|
|
19
|
+
onClose,
|
|
20
|
+
offerIndex
|
|
21
|
+
}) => {
|
|
22
|
+
var _offer$descriptionPoi;
|
|
23
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.Modal, {
|
|
24
|
+
animationType: "slide",
|
|
25
|
+
transparent: false,
|
|
26
|
+
visible: visible,
|
|
27
|
+
onRequestClose: onClose
|
|
28
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.SafeAreaView, {
|
|
29
|
+
style: styles.modalContainer
|
|
30
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
31
|
+
style: styles.modalHeader
|
|
32
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
33
|
+
onPress: onClose,
|
|
34
|
+
style: styles.closeXButton,
|
|
35
|
+
hitSlop: {
|
|
36
|
+
top: 15,
|
|
37
|
+
right: 15,
|
|
38
|
+
bottom: 15,
|
|
39
|
+
left: 15
|
|
40
|
+
}
|
|
41
|
+
}, /*#__PURE__*/_react.default.createElement(_Text.default, {
|
|
42
|
+
style: styles.closeXText
|
|
43
|
+
}, "\u2715"))), /*#__PURE__*/_react.default.createElement(_reactNative.ScrollView, {
|
|
44
|
+
style: styles.modalContent,
|
|
45
|
+
contentContainerStyle: styles.scrollContent
|
|
46
|
+
}, (offer === null || offer === void 0 || (_offer$descriptionPoi = offer.descriptionPoints) === null || _offer$descriptionPoi === void 0 ? void 0 : _offer$descriptionPoi.length) && /*#__PURE__*/_react.default.createElement(_DescriptionPoints.DescriptionPoints, {
|
|
47
|
+
descriptionPoints: offer === null || offer === void 0 ? void 0 : offer.descriptionPoints
|
|
48
|
+
}), (offer === null || offer === void 0 ? void 0 : offer.descriptionPoints) && (offer === null || offer === void 0 ? void 0 : offer.legalLanguage) && /*#__PURE__*/_react.default.createElement(_Divider.default, null), (offer === null || offer === void 0 ? void 0 : offer.legalLanguage) && /*#__PURE__*/_react.default.createElement(_Disclaimer.Disclaimer, {
|
|
49
|
+
disclaimer: offer.legalLanguage
|
|
50
|
+
})), /*#__PURE__*/_react.default.createElement(_CallToAction.CallToAction, {
|
|
51
|
+
offerIndex: offerIndex,
|
|
52
|
+
offer: offer,
|
|
53
|
+
overrideUrl: offer.overrideUrl,
|
|
54
|
+
style: styles.cta,
|
|
55
|
+
context: "offer_details"
|
|
56
|
+
}, CTA_LABEL)));
|
|
57
|
+
};
|
|
58
|
+
exports.OfferDetailsModal = OfferDetailsModal;
|
|
59
|
+
const styles = _reactNative.StyleSheet.create({
|
|
60
|
+
modalContainer: {
|
|
61
|
+
flex: 1,
|
|
62
|
+
backgroundColor: "#ffffff"
|
|
63
|
+
},
|
|
64
|
+
modalHeader: {
|
|
65
|
+
flexDirection: "row",
|
|
66
|
+
paddingTop: 16,
|
|
67
|
+
paddingHorizontal: 16,
|
|
68
|
+
paddingBottom: 32,
|
|
69
|
+
borderBottomWidth: 1,
|
|
70
|
+
borderBottomColor: "#e0e0e0",
|
|
71
|
+
position: "relative"
|
|
72
|
+
},
|
|
73
|
+
closeXButton: {
|
|
74
|
+
position: "absolute",
|
|
75
|
+
left: 16,
|
|
76
|
+
top: 16,
|
|
77
|
+
zIndex: 10
|
|
78
|
+
},
|
|
79
|
+
closeXText: {
|
|
80
|
+
fontSize: 20,
|
|
81
|
+
color: "#000000"
|
|
82
|
+
},
|
|
83
|
+
modalContent: {
|
|
84
|
+
flex: 1
|
|
85
|
+
},
|
|
86
|
+
scrollContent: {
|
|
87
|
+
padding: 16,
|
|
88
|
+
paddingBottom: 64
|
|
89
|
+
},
|
|
90
|
+
cta: {
|
|
91
|
+
marginHorizontal: 16,
|
|
92
|
+
marginBottom: 16
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
//# sourceMappingURL=OfferDetailsModal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_Text","_DescriptionPoints","_Disclaimer","_CallToAction","_Divider","e","__esModule","default","CTA_LABEL","OfferDetailsModal","visible","offer","onClose","offerIndex","_offer$descriptionPoi","createElement","Modal","animationType","transparent","onRequestClose","SafeAreaView","style","styles","modalContainer","View","modalHeader","TouchableOpacity","onPress","closeXButton","hitSlop","top","right","bottom","left","closeXText","ScrollView","modalContent","contentContainerStyle","scrollContent","descriptionPoints","length","DescriptionPoints","legalLanguage","Disclaimer","disclaimer","CallToAction","overrideUrl","cta","context","exports","StyleSheet","create","flex","backgroundColor","flexDirection","paddingTop","paddingHorizontal","paddingBottom","borderBottomWidth","borderBottomColor","position","zIndex","fontSize","color","padding","marginHorizontal","marginBottom"],"sourceRoot":"../../../../src","sources":["components/Modal/OfferDetailsModal.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAQA,IAAAE,KAAA,GAAAH,sBAAA,CAAAC,OAAA;AAEA,IAAAG,kBAAA,GAAAH,OAAA;AACA,IAAAI,WAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAL,OAAA;AACA,IAAAM,QAAA,GAAAP,sBAAA,CAAAC,OAAA;AAAiC,SAAAD,uBAAAQ,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AASjC,MAAMG,SAAS,GAAG,UA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AE;IACRH,GAAG,EAAE,EAAE;IACP+B,MAAM,EAAE;EACT,CAAC;EACD3B,UAAU,EAAE;IACX4B,QAAQ,EAAE,EAAE;IACZC,KAAK,EAAE;EACR,CAAC;EACD3B,YAAY,EAAE;IACbgB,IAAI,EAAE;EACP,CAAC;EACDd,aAAa,EAAE;IACd0B,OAAO,EAAE,EAAE;IACXP,aAAa,EAAE;EAChB,CAAC;EACDV,GAAG,EAAE;IACJkB,gBAAgB,EAAE,EAAE;IACpBC,YAAY,EAAE;EACf;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.MoneyLionOfferCarousel = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _cnfContext = require("../../config/mocks/cnfContext");
|
|
9
|
+
var _reactNative = require("react-native");
|
|
10
|
+
var _pageData = require("../pageData");
|
|
11
|
+
var _DynamicOffersContainer = require("./DynamicOffers/DynamicOffersContainer");
|
|
12
|
+
var _ThemeProvider = require("../context/ThemeProvider");
|
|
13
|
+
var _EventHandlerProvider = require("../context/EventHandlerProvider");
|
|
14
|
+
var _apiEnvironment = require("../apiEnvironment");
|
|
15
|
+
var _getDefaultPaletteColor = require("../utils/getDefaultPaletteColor");
|
|
16
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
17
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
|
+
const getConfiguration = async ({
|
|
19
|
+
channel,
|
|
20
|
+
zone,
|
|
21
|
+
subAccountToken,
|
|
22
|
+
isDev
|
|
23
|
+
}) => {
|
|
24
|
+
const url = `${(0, _apiEnvironment.getConfigApiBaseUrl)(isDev)}/network/${channel}/${zone}/api/configuration`;
|
|
25
|
+
const headers = {
|
|
26
|
+
Authorization: `Bearer ${subAccountToken}`
|
|
27
|
+
};
|
|
28
|
+
try {
|
|
29
|
+
const response = await fetch(url, {
|
|
30
|
+
headers
|
|
31
|
+
});
|
|
32
|
+
if (!response.ok) {
|
|
33
|
+
throw new Error();
|
|
34
|
+
}
|
|
35
|
+
const data = await response.json();
|
|
36
|
+
return data;
|
|
37
|
+
} catch (error) {
|
|
38
|
+
console.error("Error fetching configuration", error);
|
|
39
|
+
return _cnfContext.localCnfContext;
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
const MoneyLionOfferCarousel = props => {
|
|
43
|
+
var _context$brand$palett;
|
|
44
|
+
const {
|
|
45
|
+
channel,
|
|
46
|
+
zone,
|
|
47
|
+
subAccountToken,
|
|
48
|
+
fontFamily,
|
|
49
|
+
isDev
|
|
50
|
+
} = props;
|
|
51
|
+
const {
|
|
52
|
+
onInitialize,
|
|
53
|
+
onRateTableSubmit,
|
|
54
|
+
onRateTableResponse,
|
|
55
|
+
onOfferDisplayInViewport,
|
|
56
|
+
onOfferClick,
|
|
57
|
+
onOfferDetailsPageOpen,
|
|
58
|
+
onOfferDetailsPageClose
|
|
59
|
+
} = props;
|
|
60
|
+
const eventHandlers = {
|
|
61
|
+
onInitialize,
|
|
62
|
+
onRateTableSubmit,
|
|
63
|
+
onRateTableResponse,
|
|
64
|
+
onOfferDisplayInViewport,
|
|
65
|
+
onOfferClick,
|
|
66
|
+
onOfferDetailsPageOpen,
|
|
67
|
+
onOfferDetailsPageClose
|
|
68
|
+
};
|
|
69
|
+
const [context, setContext] = (0, _react.useState)(null);
|
|
70
|
+
const [isLoading, setIsLoading] = (0, _react.useState)(true);
|
|
71
|
+
const [error, setError] = (0, _react.useState)(null);
|
|
72
|
+
const [pageData, setPageData] = (0, _react.useState)(null);
|
|
73
|
+
(0, _react.useEffect)(() => {
|
|
74
|
+
const fetchConfiguration = async () => {
|
|
75
|
+
try {
|
|
76
|
+
setIsLoading(true);
|
|
77
|
+
const data = await getConfiguration({
|
|
78
|
+
channel,
|
|
79
|
+
zone,
|
|
80
|
+
subAccountToken,
|
|
81
|
+
isDev
|
|
82
|
+
});
|
|
83
|
+
setContext({
|
|
84
|
+
...data.serializableContext,
|
|
85
|
+
isDev
|
|
86
|
+
});
|
|
87
|
+
} catch (err) {
|
|
88
|
+
setError(err instanceof Error ? err : new Error("Failed to fetch configuration"));
|
|
89
|
+
} finally {
|
|
90
|
+
setIsLoading(false);
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
fetchConfiguration();
|
|
94
|
+
}, [channel, zone, subAccountToken, isDev]);
|
|
95
|
+
(0, _react.useEffect)(() => {
|
|
96
|
+
if (isLoading) {
|
|
97
|
+
onInitialize === null || onInitialize === void 0 || onInitialize({
|
|
98
|
+
timestamp: new Date().toISOString()
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
}, [isLoading, onInitialize]);
|
|
102
|
+
(0, _react.useEffect)(() => {
|
|
103
|
+
const fetchPageData = async () => {
|
|
104
|
+
if (context) {
|
|
105
|
+
const data = await (0, _pageData.getPageData)({
|
|
106
|
+
context,
|
|
107
|
+
params: props,
|
|
108
|
+
onRateTableSubmit
|
|
109
|
+
});
|
|
110
|
+
onRateTableResponse === null || onRateTableResponse === void 0 || onRateTableResponse({
|
|
111
|
+
timestamp: new Date().toISOString(),
|
|
112
|
+
isError: Boolean(data.isError),
|
|
113
|
+
offers: data.offers,
|
|
114
|
+
rateTableUuid: data.rateTableUuid,
|
|
115
|
+
leadUuid: data.leadUuid
|
|
116
|
+
});
|
|
117
|
+
setPageData(data);
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
fetchPageData();
|
|
121
|
+
}, [context, onRateTableResponse, onRateTableSubmit, props]);
|
|
122
|
+
if (isLoading) {
|
|
123
|
+
return /*#__PURE__*/_react.default.createElement(_DynamicOffersContainer.DynamicOfferSkeleton, {
|
|
124
|
+
displayLayout: "fixed"
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
if (error) {
|
|
128
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.Text, null, `Error: ${error.message}`); // Replace with your error component
|
|
129
|
+
}
|
|
130
|
+
if (!context) {
|
|
131
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.Text, null, "Context is null"); // Replace with your error component
|
|
132
|
+
}
|
|
133
|
+
if (!pageData) {
|
|
134
|
+
return /*#__PURE__*/_react.default.createElement(_DynamicOffersContainer.DynamicOfferSkeleton, {
|
|
135
|
+
displayLayout: "fixed"
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
const {
|
|
139
|
+
shouldHideFooter,
|
|
140
|
+
displayLayout,
|
|
141
|
+
showProductTypeLabel,
|
|
142
|
+
showBorder,
|
|
143
|
+
title,
|
|
144
|
+
offers,
|
|
145
|
+
rateTableUuid,
|
|
146
|
+
leadUuid
|
|
147
|
+
} = pageData;
|
|
148
|
+
const config = {
|
|
149
|
+
offers,
|
|
150
|
+
shouldHideFooter,
|
|
151
|
+
displayLayout,
|
|
152
|
+
showProductTypeLabel,
|
|
153
|
+
showBorder,
|
|
154
|
+
title
|
|
155
|
+
};
|
|
156
|
+
const palette = {
|
|
157
|
+
...context.brand.palette,
|
|
158
|
+
positive: ((_context$brand$palett = context.brand.palette) === null || _context$brand$palett === void 0 ? void 0 : _context$brand$palett.positive) ?? (0, _getDefaultPaletteColor.getDefaultPaletteColor)("positive")
|
|
159
|
+
};
|
|
160
|
+
return /*#__PURE__*/_react.default.createElement(_ThemeProvider.ThemeProvider, {
|
|
161
|
+
palette: palette,
|
|
162
|
+
fontFamily: fontFamily
|
|
163
|
+
}, /*#__PURE__*/_react.default.createElement(_EventHandlerProvider.EventHandlerProvider, {
|
|
164
|
+
eventHandlers: {
|
|
165
|
+
...eventHandlers,
|
|
166
|
+
rateTableUuid,
|
|
167
|
+
leadUuid
|
|
168
|
+
}
|
|
169
|
+
}, /*#__PURE__*/_react.default.createElement(_DynamicOffersContainer.DynamicOffersContainer, {
|
|
170
|
+
config: config
|
|
171
|
+
})));
|
|
172
|
+
};
|
|
173
|
+
exports.MoneyLionOfferCarousel = MoneyLionOfferCarousel;
|
|
174
|
+
//# sourceMappingURL=MoneyLionOfferCarousel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_cnfContext","_reactNative","_pageData","_DynamicOffersContainer","_ThemeProvider","_EventHandlerProvider","_apiEnvironment","_getDefaultPaletteColor","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","getConfiguration","channel","zone","subAccountToken","isDev","url","getConfigApiBaseUrl","headers","Authorization","response","fetch","ok","Error","data","json","error","console","localCnfContext","MoneyLionOfferCarousel","props","_context$brand$palett","fontFamily","onInitialize","onRateTableSubmit","onRateTableResponse","onOfferDisplayInViewport","onOfferClick","onOfferDetailsPageOpen","onOfferDetailsPageClose","eventHandlers","context","setContext","useState","isLoading","setIsLoading","setError","pageData","setPageData","useEffect","fetchConfiguration","serializableContext","err","timestamp","Date","toISOString","fetchPageData","getPageData","params","isError","Boolean","offers","rateTableUuid","leadUuid","createElement","DynamicOfferSkeleton","displayLayout","Text","message","shouldHideFooter","showProductTypeLabel","showBorder","title","config","palette","brand","positive","getDefaultPaletteColor","ThemeProvider","EventHandlerProvider","DynamicOffersContainer","exports"],"sourceRoot":"../../../src","sources":["components/MoneyLion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E,MAAA,CAAAiB,OAAA,CAAAmE,aAAA,CAAC9E,uBAAA,CAAA+E,oBAAoB;MAACC,aAAa,EAAE;IAAQ,CAAE,CAAC;EACxD;EAEA,MAAM;IACLG,gBAAgB;IAChBH,aAAa;IACbI,oBAAoB;IACpBC,UAAU;IACVC,KAAK;IACLX,MAAM;IACNC,aAAa;IACbC;EACD,CAAC,GAAGhB,QAAQ;EAEZ,MAAM0B,MAAyB,GAAG;IACjCZ,MAAM;IACNQ,gBAAgB;IAChBH,aAAa;IACbI,oBAAoB;IACpBC,UAAU;IACVC;EACD,CAAC;EAED,MAAME,OAAO,GAAG;IACf,GAAGjC,OAAO,CAACkC,KAAK,CAACD,OAAO;IACxBE,QAAQ,EACP,EAAA7C,qBAAA,GAAAU,OAAO,CAACkC,KAAK,CAACD,OAAO,cAAA3C,qBAAA,uBAArBA,qBAAA,CAAuB6C,QAAQ,KAAI,IAAAC,8CAAsB,EAAC,UAAU;EACtE,CAAC;EAED,oBACCjG,MAAA,CAAAiB,OAAA,CAAAmE,aAAA,CAAC7E,cAAA,CAAA2F,aAAa;IAACJ,OAAO,EAAEA,OAAQ;IAAC1C,UAAU,EAAEA;EAAW,gBACvDpD,MAAA,CAAAiB,OAAA,CAAAmE,aAAA,CAAC5E,qBAAA,CAAA2F,oBAAoB;IACpBvC,aAAa,EAAE;MACd,GAAGA,aAAa;MAChBsB,aAAa;MACbC;IACD;EAAE,gBAEFnF,MAAA,CAAAiB,OAAA,CAAAmE,aAAA,CAAC9E,uBAAA,CAAA8F,sBAAsB;IAACP,MAAM,EAAEA;EAAO,CAAE,CACpB,CACR,CAAC;AAElB,CAAC;AAACQ,OAAA,CAAApD,sBAAA,GAAAA,sBAAA","ignoreList":[]}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
10
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
11
|
+
const Skeleton = props => {
|
|
12
|
+
const {
|
|
13
|
+
width = "100%",
|
|
14
|
+
height = 20,
|
|
15
|
+
borderRadius = "small",
|
|
16
|
+
style = {},
|
|
17
|
+
backgroundColor = "#E1E9EE"
|
|
18
|
+
} = props;
|
|
19
|
+
const opacityValue = (0, _react.useRef)(new _reactNative.Animated.Value(1)).current;
|
|
20
|
+
const getBorderRadius = () => {
|
|
21
|
+
switch (borderRadius) {
|
|
22
|
+
case "small":
|
|
23
|
+
return 4;
|
|
24
|
+
case "medium":
|
|
25
|
+
return 8;
|
|
26
|
+
case "large":
|
|
27
|
+
return 16;
|
|
28
|
+
case "circular":
|
|
29
|
+
return 9999;
|
|
30
|
+
default:
|
|
31
|
+
return 4;
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
(0, _react.useEffect)(() => {
|
|
35
|
+
const animation = _reactNative.Animated.loop(_reactNative.Animated.sequence([_reactNative.Animated.timing(opacityValue, {
|
|
36
|
+
toValue: 0.6,
|
|
37
|
+
duration: 1200,
|
|
38
|
+
useNativeDriver: true
|
|
39
|
+
}), _reactNative.Animated.timing(opacityValue, {
|
|
40
|
+
toValue: 1,
|
|
41
|
+
duration: 1200,
|
|
42
|
+
useNativeDriver: true
|
|
43
|
+
})]));
|
|
44
|
+
animation.start();
|
|
45
|
+
return () => {
|
|
46
|
+
animation.stop();
|
|
47
|
+
};
|
|
48
|
+
}, [opacityValue]);
|
|
49
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.Animated.View, {
|
|
50
|
+
style: [styles.skeleton, {
|
|
51
|
+
width,
|
|
52
|
+
height,
|
|
53
|
+
borderRadius: getBorderRadius(),
|
|
54
|
+
backgroundColor,
|
|
55
|
+
opacity: opacityValue
|
|
56
|
+
}, style]
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
const styles = _reactNative.StyleSheet.create({
|
|
60
|
+
skeleton: {
|
|
61
|
+
minHeight: 20
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
var _default = exports.default = Skeleton;
|
|
65
|
+
//# sourceMappingURL=Skeleton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","Skeleton","props","width","height","borderRadius","style","backgroundColor","opacityValue","useRef","Animated","Value","current","getBorderRadius","useEffect","animation","loop","sequence","timing","toValue","duration","useNativeDriver","start","stop","createElement","View","styles","skeleton","opacity","StyleSheet","create","minHeight","_default","exports"],"sourceRoot":"../../../../src","sources":["components/Skeleton/Skeleton.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAAoD,SAAAE,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;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
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _Skeleton = _interopRequireDefault(require("./Skeleton"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
var _default = exports.default = _Skeleton.default;
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_Skeleton","_interopRequireDefault","require","e","__esModule","default","_default","exports","Skeleton"],"sourceRoot":"../../../../src","sources":["components/Skeleton/index.ts"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAkC,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,IAAAG,QAAA,GAAAC,OAAA,CAAAF,OAAA,GACnBG,iBAAQ","ignoreList":[]}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _ThemeProvider = require("../../context/ThemeProvider");
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } // Text.tsx
|
|
12
|
+
// Define the variant types
|
|
13
|
+
|
|
14
|
+
// Credit Card Offer Card Tip
|
|
15
|
+
|
|
16
|
+
// Define text decoration
|
|
17
|
+
|
|
18
|
+
// Define text color
|
|
19
|
+
|
|
20
|
+
// Define text weight
|
|
21
|
+
|
|
22
|
+
// // Define wrap options
|
|
23
|
+
// export type TextWrap = "balance";
|
|
24
|
+
|
|
25
|
+
// Define props
|
|
26
|
+
|
|
27
|
+
const Text = ({
|
|
28
|
+
variant,
|
|
29
|
+
weight,
|
|
30
|
+
color,
|
|
31
|
+
decoration,
|
|
32
|
+
children,
|
|
33
|
+
style,
|
|
34
|
+
...restProps
|
|
35
|
+
}) => {
|
|
36
|
+
const {
|
|
37
|
+
fontFamily
|
|
38
|
+
} = (0, _ThemeProvider.useTheme)();
|
|
39
|
+
|
|
40
|
+
// Create style array
|
|
41
|
+
const styleArray = [styles.base];
|
|
42
|
+
|
|
43
|
+
// Add variant styles
|
|
44
|
+
|
|
45
|
+
if (variant) {
|
|
46
|
+
styleArray.push(styles[variant]);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// Add font family styles
|
|
50
|
+
styleArray.push({
|
|
51
|
+
fontFamily: fontFamily[weight || "regular"]
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
// Add weight styles
|
|
55
|
+
styleArray.push({
|
|
56
|
+
fontWeight: weight === "medium" ? "500" : weight
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
// Add color styles
|
|
60
|
+
if (color) {
|
|
61
|
+
styleArray.push(styles[`color-${color}`]);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// Add decoration styles
|
|
65
|
+
if (decoration === "line-through") {
|
|
66
|
+
styleArray.push({
|
|
67
|
+
textDecorationLine: "line-through"
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// Add custom styles
|
|
72
|
+
if (style) {
|
|
73
|
+
styleArray.push(style);
|
|
74
|
+
}
|
|
75
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.Text, _extends({
|
|
76
|
+
style: styleArray,
|
|
77
|
+
ellipsizeMode: "tail"
|
|
78
|
+
}, restProps), children);
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
// Define styles
|
|
82
|
+
// Note: In a real implementation, these would be derived from a theme or design system
|
|
83
|
+
const styles = _reactNative.StyleSheet.create({
|
|
84
|
+
"base": {
|
|
85
|
+
fontFamily: "System"
|
|
86
|
+
},
|
|
87
|
+
// Variants
|
|
88
|
+
"title-1": {
|
|
89
|
+
fontSize: 32,
|
|
90
|
+
fontWeight: "bold",
|
|
91
|
+
lineHeight: 40
|
|
92
|
+
},
|
|
93
|
+
"title-2": {
|
|
94
|
+
fontSize: 28,
|
|
95
|
+
fontWeight: "bold",
|
|
96
|
+
lineHeight: 36
|
|
97
|
+
},
|
|
98
|
+
"title-3": {
|
|
99
|
+
fontSize: 24,
|
|
100
|
+
fontWeight: "bold",
|
|
101
|
+
lineHeight: 32
|
|
102
|
+
},
|
|
103
|
+
"title-4": {
|
|
104
|
+
fontSize: 20,
|
|
105
|
+
fontWeight: "bold",
|
|
106
|
+
lineHeight: 28
|
|
107
|
+
},
|
|
108
|
+
"title-5": {
|
|
109
|
+
fontSize: 18,
|
|
110
|
+
fontWeight: "bold",
|
|
111
|
+
lineHeight: 24
|
|
112
|
+
},
|
|
113
|
+
"title-6": {
|
|
114
|
+
fontSize: 16,
|
|
115
|
+
fontWeight: "bold",
|
|
116
|
+
lineHeight: 22
|
|
117
|
+
},
|
|
118
|
+
"featured-1": {
|
|
119
|
+
fontSize: 24,
|
|
120
|
+
lineHeight: 32
|
|
121
|
+
},
|
|
122
|
+
"featured-2": {
|
|
123
|
+
fontSize: 24,
|
|
124
|
+
lineHeight: 32
|
|
125
|
+
},
|
|
126
|
+
"featured-3": {
|
|
127
|
+
fontSize: 18,
|
|
128
|
+
lineHeight: 24
|
|
129
|
+
},
|
|
130
|
+
"body-1": {
|
|
131
|
+
fontSize: 18,
|
|
132
|
+
lineHeight: 24
|
|
133
|
+
},
|
|
134
|
+
"body-2": {
|
|
135
|
+
fontSize: 16,
|
|
136
|
+
lineHeight: 24
|
|
137
|
+
},
|
|
138
|
+
"body-3": {
|
|
139
|
+
fontSize: 14,
|
|
140
|
+
lineHeight: 20
|
|
141
|
+
},
|
|
142
|
+
"caption-1": {
|
|
143
|
+
fontSize: 12,
|
|
144
|
+
lineHeight: 16
|
|
145
|
+
},
|
|
146
|
+
"caption-2": {
|
|
147
|
+
fontSize: 12,
|
|
148
|
+
lineHeight: 16
|
|
149
|
+
},
|
|
150
|
+
// Weights
|
|
151
|
+
"weight-regular": {
|
|
152
|
+
fontWeight: "normal"
|
|
153
|
+
},
|
|
154
|
+
"weight-medium": {
|
|
155
|
+
fontWeight: "500"
|
|
156
|
+
},
|
|
157
|
+
"weight-bold": {
|
|
158
|
+
fontWeight: "bold"
|
|
159
|
+
},
|
|
160
|
+
// Colors
|
|
161
|
+
"color-neutral": {
|
|
162
|
+
color: "#2E2E2E"
|
|
163
|
+
},
|
|
164
|
+
"color-neutral-faded": {
|
|
165
|
+
color: "#6A6A6A"
|
|
166
|
+
},
|
|
167
|
+
"color-critical": {
|
|
168
|
+
color: "#D32F2F"
|
|
169
|
+
},
|
|
170
|
+
"color-warning": {
|
|
171
|
+
color: "#F57C00"
|
|
172
|
+
},
|
|
173
|
+
"color-positive": {
|
|
174
|
+
color: "#388E3C"
|
|
175
|
+
},
|
|
176
|
+
"color-primary": {
|
|
177
|
+
color: "#007c6a"
|
|
178
|
+
},
|
|
179
|
+
"color-disabled": {
|
|
180
|
+
color: "#AAAAAA"
|
|
181
|
+
}
|
|
182
|
+
});
|
|
183
|
+
var _default = exports.default = Text;
|
|
184
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_ThemeProvider","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","Text","variant","weight","color","decoration","children","style","restProps","fontFamily","useTheme","styleArray","styles","base","push","fontWeight","textDecorationLine","createElement","ellipsizeMode","StyleSheet","create","fontSize","lineHeight","_default","exports"],"sourceRoot":"../../../../src","sources":["components/Text/index.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAOA,IAAAE,cAAA,GAAAF,OAAA;AAAuD,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,CAAA,aAAAP,CAAA,MAAAA,CAAA,GAAAQ,SAAA,CAAAC,MAAA,EAAAT,CAAA,UAAAU,CAAA,GAAAF,SAAA,CAAAR,CAAA,YAAAW,CAAA,IAAAD,CAAA,OAAAE,cAAA,CAAAC,IAAA,CAAAH,CAAA,EAAAC,CAAA,MAAAJ,CAAA,CAAAI,CAAA,IAAAD,CAAA,CAAAC,CAAA,aAAAJ,CAAA,KAAAJ,QAAA,CAAAW,KAAA,OAAAN,SAAA,KATvD;AAWA;;AAegB;;AAEhB;;AAGA;;AAUA;;AAGA;AACA;;AAEA;;AAUA,MAAMO,IAAyB,GAAGA,CAAC;EAClCC,OAAO;EACPC,MAAM;EACNC,KAAK;EACLC,UAAU;EACVC,QAAQ;EACRC,KAAK;EACL,GAAGC;AACJ,CAAC,KAAK;EACL,MAAM;IAAEC;EAAW,CAAC,GAAG,IAAAC,uBAAQ,EAAC,CAAC;;EAEjC;EACA,MAAMC,UAAkC,GAAG,CAACC,MAAM,CAACC,IAAI,CAAC;;EAExD;;EAEA,IAAIX,OAAO,EAAE;IACZS,UAAU,CAACG,IAAI,CAACF,MAAM,CAACV,OAAO,CAAC,CAAC;EACjC;;EAEA;EACAS,UAAU,CAACG,IAAI,CAAC;IAAEL,UAAU,EAAEA,UAAU,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