@moneylion/react-native-offer-carousel 1.10.0 → 1.10.2
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/CHANGELOG.md +8 -0
- package/lib/commonjs/capabilities/configuration/src/brands/checkVisualEligibility.js +13 -11
- package/lib/commonjs/capabilities/configuration/src/brands/checkVisualEligibility.js.map +1 -1
- package/lib/commonjs/capabilities/configuration/src/brands/createDerivedBrands.js +8 -19
- package/lib/commonjs/capabilities/configuration/src/brands/createDerivedBrands.js.map +1 -1
- package/lib/commonjs/capabilities/offer-catalog/src/utils/formatUtils.js +36 -21
- package/lib/commonjs/capabilities/offer-catalog/src/utils/formatUtils.js.map +1 -1
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.js +7 -30
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.js.map +1 -1
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.js +15 -17
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.js.map +1 -1
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.js +8 -2
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.js.map +1 -1
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/index.js +40 -38
- package/lib/commonjs/capabilities/offer-catalog/src/utils/stats/index.js.map +1 -1
- package/lib/commonjs/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.js +22 -12
- package/lib/commonjs/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.js.map +1 -1
- package/lib/commonjs/capabilities/ui/elements/src/components/MarkdownText/components.js +22 -10
- package/lib/commonjs/capabilities/ui/elements/src/components/MarkdownText/components.js.map +1 -1
- package/lib/commonjs/components/DynamicOffers/Render/Offer.js +51 -49
- package/lib/commonjs/components/DynamicOffers/Render/Offer.js.map +1 -1
- package/lib/commonjs/version.js +1 -1
- package/lib/module/capabilities/configuration/src/brands/checkVisualEligibility.js +13 -11
- package/lib/module/capabilities/configuration/src/brands/checkVisualEligibility.js.map +1 -1
- package/lib/module/capabilities/configuration/src/brands/createDerivedBrands.js +7 -19
- package/lib/module/capabilities/configuration/src/brands/createDerivedBrands.js.map +1 -1
- package/lib/module/capabilities/offer-catalog/src/utils/formatUtils.js +35 -20
- package/lib/module/capabilities/offer-catalog/src/utils/formatUtils.js.map +1 -1
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.js +7 -30
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.js.map +1 -1
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.js +15 -17
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.js.map +1 -1
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.js +8 -2
- package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.js.map +1 -1
- package/lib/module/capabilities/offer-catalog/src/utils/stats/index.js +40 -38
- package/lib/module/capabilities/offer-catalog/src/utils/stats/index.js.map +1 -1
- package/lib/module/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.js +22 -11
- package/lib/module/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.js.map +1 -1
- package/lib/module/capabilities/ui/elements/src/components/MarkdownText/components.js +22 -10
- package/lib/module/capabilities/ui/elements/src/components/MarkdownText/components.js.map +1 -1
- package/lib/module/components/DynamicOffers/Render/Offer.js +51 -49
- package/lib/module/components/DynamicOffers/Render/Offer.js.map +1 -1
- package/lib/module/version.js +1 -1
- package/lib/typescript/apiEnvironment.d.ts.map +1 -0
- package/lib/typescript/builder/builder.d.ts.map +1 -0
- package/lib/typescript/builder/config/types.d.ts.map +1 -0
- package/lib/typescript/builder/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/configuration/src/brands/checkVisualEligibility.d.ts.map +1 -0
- package/lib/typescript/capabilities/configuration/src/brands/createDerivedBrands.d.ts.map +1 -0
- package/lib/typescript/capabilities/configuration/src/brands/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/configuration/src/brands/types.d.ts.map +1 -0
- package/lib/typescript/capabilities/configuration/src/userData/types.d.ts.map +1 -0
- package/lib/typescript/capabilities/core/src/index.d.ts.map +1 -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.map +1 -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.map +1 -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.map +1 -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.map +1 -0
- package/lib/typescript/capabilities/core/src/system/cnfContext/schemas/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/errors/types/index.d.ts.map +1 -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.map +1 -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.map +1 -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.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/formatUtils.d.ts.map +1 -0
- package/lib/typescript/capabilities/offer-catalog/src/utils/getEventCallbackContext.d.ts.map +1 -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.map +1 -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/common.d.ts.map +1 -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/currency.d.ts.map +1 -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/freeTrialDays.d.ts.map +1 -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/index.d.ts.map +1 -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/percentage.d.ts.map +1 -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/rangeCurrency.d.ts.map +1 -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/rangeCurrencyUnabbreviated.d.ts.map +1 -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/rangePercent.d.ts.map +1 -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/rewardsDisplay.d.ts.map +1 -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.map +1 -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.map +1 -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 +20 -0
- package/lib/typescript/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.d.ts.map +1 -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.map +1 -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.map +1 -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.map +1 -0
- package/lib/typescript/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.d.ts.map +1 -0
- package/lib/typescript/capabilities/ui/elements/src/index.d.ts.map +1 -0
- package/lib/typescript/capabilities/ui/elements/src/offerCardAttributes.d.ts.map +1 -0
- package/lib/typescript/components/Button/index.d.ts.map +1 -0
- package/lib/typescript/components/Common/BaseOfferCard/Content/Content.d.ts.map +1 -0
- package/lib/typescript/components/Common/BaseOfferCard/Content/index.d.ts.map +1 -0
- package/lib/typescript/components/Common/BaseOfferCard/Stat/Stat.d.ts.map +1 -0
- package/lib/typescript/components/Common/BaseOfferCard/Stat/index.d.ts.map +1 -0
- package/lib/typescript/components/Common/BaseOfferCard/StatsContainer/StatsContainer.d.ts.map +1 -0
- package/lib/typescript/components/Common/BaseOfferCard/StatsContainer/index.d.ts.map +1 -0
- package/lib/typescript/components/Common/BaseOfferCard/index.d.ts.map +1 -0
- package/lib/typescript/components/Common/DynamicOfferCard/CallToAction.d.ts.map +1 -0
- package/lib/typescript/components/Common/DynamicOfferCard/SeeMore.d.ts.map +1 -0
- package/lib/typescript/components/Common/DynamicOfferCard/index.d.ts.map +1 -0
- package/lib/typescript/components/Common/index.d.ts.map +1 -0
- package/lib/typescript/components/Divider/index.d.ts.map +1 -0
- package/lib/typescript/components/DynamicOffers/DynamicOffers.d.ts.map +1 -0
- package/lib/typescript/components/DynamicOffers/DynamicOffersContainer.d.ts.map +1 -0
- package/lib/typescript/components/DynamicOffers/Render/DynamicOffersRender.d.ts.map +1 -0
- package/lib/typescript/components/DynamicOffers/Render/FallbackOfferTemplate.d.ts.map +1 -0
- package/lib/typescript/components/DynamicOffers/Render/Offer.d.ts.map +1 -0
- package/lib/typescript/components/DynamicOffers/Render/index.d.ts.map +1 -0
- package/lib/typescript/components/DynamicOffers/SeeAllButton.d.ts.map +1 -0
- package/lib/typescript/components/ErrorBoundary/index.d.ts.map +1 -0
- package/lib/typescript/components/Layouts/CreditCardOfferCard/index.d.ts.map +1 -0
- package/lib/typescript/components/Layouts/CreditCardOfferCard/statsBuilder.d.ts.map +1 -0
- package/lib/typescript/components/Layouts/DefaultOfferCard/index.d.ts.map +1 -0
- package/lib/typescript/components/Layouts/DefaultOfferCard/statsBuilder.d.ts.map +1 -0
- package/lib/typescript/components/Layouts/HeadlineWithDescriptionCard/index.d.ts.map +1 -0
- package/lib/typescript/components/Layouts/index.d.ts.map +1 -0
- package/lib/typescript/components/Modal/AllOffersModal.d.ts.map +1 -0
- package/lib/typescript/components/Modal/DescriptionPoints.d.ts.map +1 -0
- package/lib/typescript/components/Modal/Disclaimer.d.ts.map +1 -0
- package/lib/typescript/components/Modal/OfferDetailsModal.d.ts.map +1 -0
- package/lib/typescript/components/MoneyLionOfferCarousel.d.ts.map +1 -0
- package/lib/typescript/components/Skeleton/Skeleton.d.ts.map +1 -0
- package/lib/typescript/components/Skeleton/index.d.ts.map +1 -0
- package/lib/typescript/components/Text/index.d.ts.map +1 -0
- package/lib/typescript/components/Touchable/TouchableOpacity.d.ts.map +1 -0
- package/lib/typescript/components/Touchable/index.d.ts.map +1 -0
- package/lib/typescript/components/View/index.d.ts.map +1 -0
- package/lib/typescript/components/utils/errorUtils.d.ts.map +1 -0
- package/lib/typescript/components/utils/withTestID.d.ts.map +1 -0
- package/lib/typescript/config/mocks/cnfContext.d.ts.map +1 -0
- package/lib/typescript/context/ConfigurationProvider.d.ts.map +1 -0
- package/lib/typescript/context/EventHandlerProvider.d.ts.map +1 -0
- package/lib/typescript/context/ThemeProvider.d.ts.map +1 -0
- package/lib/typescript/deps/configuration.d.ts.map +1 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/pageData.d.ts.map +1 -0
- package/lib/typescript/services/getDynamicOffers.d.ts.map +1 -0
- package/lib/typescript/services/getProductTypes.d.ts.map +1 -0
- package/lib/typescript/utils/addClientTagsToOfferLinks.d.ts.map +1 -0
- package/lib/typescript/utils/formatOfferUrl.d.ts.map +1 -0
- package/lib/typescript/utils/getDefaultProductType.d.ts.map +1 -0
- package/lib/typescript/utils/getEnableUseCachedOffers.d.ts.map +1 -0
- package/lib/typescript/utils/getOffersByProductTypes.d.ts.map +1 -0
- package/lib/typescript/utils/getProductTypesDefinition.d.ts.map +1 -0
- package/lib/typescript/utils/getThemeColors.d.ts.map +1 -0
- package/lib/typescript/utils/index.d.ts.map +1 -0
- package/lib/typescript/utils/parseStringProductTypes.d.ts.map +1 -0
- package/lib/typescript/utils/resolveProductTypes.d.ts.map +1 -0
- package/lib/typescript/utils/sortOffersByRecommendationScore.d.ts.map +1 -0
- package/lib/typescript/version.d.ts +2 -0
- package/lib/typescript/version.d.ts.map +1 -0
- package/package.json +3 -8
- package/src/capabilities/configuration/src/brands/checkVisualEligibility.ts +22 -16
- package/src/capabilities/configuration/src/brands/createDerivedBrands.ts +10 -23
- package/src/capabilities/offer-catalog/src/utils/formatUtils.ts +38 -19
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.ts +19 -46
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.ts +17 -21
- package/src/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.ts +11 -8
- package/src/capabilities/offer-catalog/src/utils/stats/index.ts +40 -109
- package/src/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.ts +26 -17
- package/src/capabilities/ui/elements/src/components/MarkdownText/components.tsx +27 -6
- package/src/components/DynamicOffers/Render/Offer.tsx +34 -33
- package/src/version.ts +1 -1
- package/lib/typescript/src/apiEnvironment.d.ts.map +0 -1
- package/lib/typescript/src/builder/builder.d.ts.map +0 -1
- package/lib/typescript/src/builder/config/types.d.ts.map +0 -1
- package/lib/typescript/src/builder/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/configuration/src/brands/checkVisualEligibility.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/configuration/src/brands/createDerivedBrands.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/configuration/src/brands/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/configuration/src/brands/types.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/configuration/src/userData/types.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/core/src/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/CnfContext.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/App.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Brand.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Configuration.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Request.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Session.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Signals.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/Subaccount.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/core/src/system/cnfContext/schemas/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/errors/types/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/api/offerCatalogApi.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/types/offerCatalogSchema.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/arrayToMarkdownList.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/contextUtil.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/errorUtil.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/formatUtils.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/getEventCallbackContext.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/getOfferUrl.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/annualFee.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/boolean.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/common.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/creditBureaus.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/currency.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/currencyOrBasis.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/freeTrialDays.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/percentage.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/purchaseApr.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrency.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangeMonths.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rangePercent.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/formatters/rewardsDisplay.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offer-catalog/src/utils/stats/types.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offers/pipeline/src/sources/ratetables/types/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.d.ts +0 -208
- package/lib/typescript/src/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/Abbreviation.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/components.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/ui/elements/src/components/MarkdownText/markdownPreprocessor.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/ui/elements/src/components/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/ui/elements/src/components/thumbor/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/ui/elements/src/components/thumbor/useSvgUriViewBox.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/ui/elements/src/index.d.ts.map +0 -1
- package/lib/typescript/src/capabilities/ui/elements/src/offerCardAttributes.d.ts.map +0 -1
- package/lib/typescript/src/components/Button/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Common/BaseOfferCard/Content/Content.d.ts.map +0 -1
- package/lib/typescript/src/components/Common/BaseOfferCard/Content/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Common/BaseOfferCard/Stat/Stat.d.ts.map +0 -1
- package/lib/typescript/src/components/Common/BaseOfferCard/Stat/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Common/BaseOfferCard/StatsContainer/StatsContainer.d.ts.map +0 -1
- package/lib/typescript/src/components/Common/BaseOfferCard/StatsContainer/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Common/BaseOfferCard/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Common/DynamicOfferCard/CallToAction.d.ts.map +0 -1
- package/lib/typescript/src/components/Common/DynamicOfferCard/SeeMore.d.ts.map +0 -1
- package/lib/typescript/src/components/Common/DynamicOfferCard/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Common/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Divider/index.d.ts.map +0 -1
- package/lib/typescript/src/components/DynamicOffers/DynamicOffers.d.ts.map +0 -1
- package/lib/typescript/src/components/DynamicOffers/DynamicOffersContainer.d.ts.map +0 -1
- package/lib/typescript/src/components/DynamicOffers/Render/DynamicOffersRender.d.ts.map +0 -1
- package/lib/typescript/src/components/DynamicOffers/Render/FallbackOfferTemplate.d.ts.map +0 -1
- package/lib/typescript/src/components/DynamicOffers/Render/Offer.d.ts.map +0 -1
- package/lib/typescript/src/components/DynamicOffers/Render/index.d.ts.map +0 -1
- package/lib/typescript/src/components/DynamicOffers/SeeAllButton.d.ts.map +0 -1
- package/lib/typescript/src/components/ErrorBoundary/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Layouts/CreditCardOfferCard/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Layouts/CreditCardOfferCard/statsBuilder.d.ts.map +0 -1
- package/lib/typescript/src/components/Layouts/DefaultOfferCard/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Layouts/DefaultOfferCard/statsBuilder.d.ts.map +0 -1
- package/lib/typescript/src/components/Layouts/HeadlineWithDescriptionCard/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Layouts/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Modal/AllOffersModal.d.ts.map +0 -1
- package/lib/typescript/src/components/Modal/DescriptionPoints.d.ts.map +0 -1
- package/lib/typescript/src/components/Modal/Disclaimer.d.ts.map +0 -1
- package/lib/typescript/src/components/Modal/OfferDetailsModal.d.ts.map +0 -1
- package/lib/typescript/src/components/MoneyLionOfferCarousel.d.ts.map +0 -1
- package/lib/typescript/src/components/Skeleton/Skeleton.d.ts.map +0 -1
- package/lib/typescript/src/components/Skeleton/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Text/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Touchable/TouchableOpacity.d.ts.map +0 -1
- package/lib/typescript/src/components/Touchable/index.d.ts.map +0 -1
- package/lib/typescript/src/components/View/index.d.ts.map +0 -1
- package/lib/typescript/src/components/utils/errorUtils.d.ts.map +0 -1
- package/lib/typescript/src/components/utils/withTestID.d.ts.map +0 -1
- package/lib/typescript/src/config/mocks/cnfContext.d.ts.map +0 -1
- package/lib/typescript/src/context/ConfigurationProvider.d.ts.map +0 -1
- package/lib/typescript/src/context/EventHandlerProvider.d.ts.map +0 -1
- package/lib/typescript/src/context/ThemeProvider.d.ts.map +0 -1
- package/lib/typescript/src/deps/configuration.d.ts.map +0 -1
- package/lib/typescript/src/index.d.ts.map +0 -1
- package/lib/typescript/src/pageData.d.ts.map +0 -1
- package/lib/typescript/src/services/getDynamicOffers.d.ts.map +0 -1
- package/lib/typescript/src/services/getProductTypes.d.ts.map +0 -1
- package/lib/typescript/src/utils/addClientTagsToOfferLinks.d.ts.map +0 -1
- package/lib/typescript/src/utils/formatOfferUrl.d.ts.map +0 -1
- package/lib/typescript/src/utils/getDefaultProductType.d.ts.map +0 -1
- package/lib/typescript/src/utils/getEnableUseCachedOffers.d.ts.map +0 -1
- package/lib/typescript/src/utils/getOffersByProductTypes.d.ts.map +0 -1
- package/lib/typescript/src/utils/getProductTypesDefinition.d.ts.map +0 -1
- package/lib/typescript/src/utils/getThemeColors.d.ts.map +0 -1
- package/lib/typescript/src/utils/index.d.ts.map +0 -1
- package/lib/typescript/src/utils/parseStringProductTypes.d.ts.map +0 -1
- package/lib/typescript/src/utils/resolveProductTypes.d.ts.map +0 -1
- package/lib/typescript/src/utils/sortOffersByRecommendationScore.d.ts.map +0 -1
- package/lib/typescript/src/version.d.ts +0 -2
- package/lib/typescript/src/version.d.ts.map +0 -1
- /package/lib/typescript/{src/apiEnvironment.d.ts → apiEnvironment.d.ts} +0 -0
- /package/lib/typescript/{src/builder → builder}/builder.d.ts +0 -0
- /package/lib/typescript/{src/builder → builder}/config/types.d.ts +0 -0
- /package/lib/typescript/{src/builder → builder}/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/configuration/src/brands/checkVisualEligibility.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/configuration/src/brands/createDerivedBrands.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/configuration/src/brands/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/configuration/src/brands/types.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/configuration/src/userData/types.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/core/src/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/core/src/system/cnfContext/CnfContext.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/core/src/system/cnfContext/schemas/App.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/core/src/system/cnfContext/schemas/Brand.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/core/src/system/cnfContext/schemas/Configuration.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/core/src/system/cnfContext/schemas/Request.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/core/src/system/cnfContext/schemas/Session.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/core/src/system/cnfContext/schemas/Signals.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/core/src/system/cnfContext/schemas/Subaccount.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/core/src/system/cnfContext/schemas/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/errors/types/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/api/offerCatalogApi.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/types/offerCatalogSchema.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/arrayToMarkdownList.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/contextUtil.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/errorUtil.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/formatUtils.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/getEventCallbackContext.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/getOfferUrl.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/annualFee.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/boolean.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/common.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/creditBureaus.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/currency.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/currencyOrBasis.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/freeTrialDays.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/fromListStringWithAnd.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/monthlyOrAnnualCurrency.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/percentage.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/purchaseApr.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/rangeCurrency.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/rangeCurrencyByTime.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/rangeCurrencyUnabbreviated.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/rangeMonths.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/rangePercent.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/recommendedCredit.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/formatters/rewardsDisplay.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offer-catalog/src/utils/stats/types.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offers/pipeline/src/sources/ratetables/offer-catalog/types/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offers/pipeline/src/sources/ratetables/offer-catalog/types/oas/offer-catalog.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/offers/pipeline/src/sources/ratetables/types/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/components/MarkdownText/Abbreviation.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/components/MarkdownText/components.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/components/MarkdownText/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/components/MarkdownText/markdownPreprocessor.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/components/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/components/thumbor/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/components/thumbor/useSvgUriViewBox.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/index.d.ts +0 -0
- /package/lib/typescript/{src/capabilities → capabilities}/ui/elements/src/offerCardAttributes.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Button/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Common/BaseOfferCard/Content/Content.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Common/BaseOfferCard/Content/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Common/BaseOfferCard/Stat/Stat.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Common/BaseOfferCard/Stat/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Common/BaseOfferCard/StatsContainer/StatsContainer.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Common/BaseOfferCard/StatsContainer/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Common/BaseOfferCard/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Common/DynamicOfferCard/CallToAction.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Common/DynamicOfferCard/SeeMore.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Common/DynamicOfferCard/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Common/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Divider/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/DynamicOffers/DynamicOffers.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/DynamicOffers/DynamicOffersContainer.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/DynamicOffers/Render/DynamicOffersRender.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/DynamicOffers/Render/FallbackOfferTemplate.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/DynamicOffers/Render/Offer.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/DynamicOffers/Render/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/DynamicOffers/SeeAllButton.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/ErrorBoundary/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Layouts/CreditCardOfferCard/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Layouts/CreditCardOfferCard/statsBuilder.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Layouts/DefaultOfferCard/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Layouts/DefaultOfferCard/statsBuilder.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Layouts/HeadlineWithDescriptionCard/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Layouts/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Modal/AllOffersModal.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Modal/DescriptionPoints.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Modal/Disclaimer.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Modal/OfferDetailsModal.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/MoneyLionOfferCarousel.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Skeleton/Skeleton.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Skeleton/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Text/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Touchable/TouchableOpacity.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/Touchable/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/View/index.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/utils/errorUtils.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/utils/withTestID.d.ts +0 -0
- /package/lib/typescript/{src/config → config}/mocks/cnfContext.d.ts +0 -0
- /package/lib/typescript/{src/context → context}/ConfigurationProvider.d.ts +0 -0
- /package/lib/typescript/{src/context → context}/EventHandlerProvider.d.ts +0 -0
- /package/lib/typescript/{src/context → context}/ThemeProvider.d.ts +0 -0
- /package/lib/typescript/{src/deps → deps}/configuration.d.ts +0 -0
- /package/lib/typescript/{src/index.d.ts → index.d.ts} +0 -0
- /package/lib/typescript/{src/pageData.d.ts → pageData.d.ts} +0 -0
- /package/lib/typescript/{src/services → services}/getDynamicOffers.d.ts +0 -0
- /package/lib/typescript/{src/services → services}/getProductTypes.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/addClientTagsToOfferLinks.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/formatOfferUrl.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/getDefaultProductType.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/getEnableUseCachedOffers.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/getOffersByProductTypes.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/getProductTypesDefinition.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/getThemeColors.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/index.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/parseStringProductTypes.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/resolveProductTypes.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/sortOffersByRecommendationScore.d.ts +0 -0
package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { get } from "radash";
|
|
2
|
-
import { P, match } from "ts-pattern";
|
|
3
2
|
import { formatStringListWithAnd } from "../../formatUtils";
|
|
4
3
|
const RECOMMENDED_RATINGS = ["limited", "poor", "fair", "good", "excellent"];
|
|
5
4
|
const orderRecommendedRatings = recommendedCreditValue => {
|
|
@@ -11,7 +10,14 @@ export const recommendedCredit = offer => ({
|
|
|
11
10
|
fieldName
|
|
12
11
|
}) => {
|
|
13
12
|
const recommendedCreditValue = get(offer, fieldName);
|
|
14
|
-
|
|
13
|
+
let content = "See Terms";
|
|
14
|
+
if (Array.isArray(recommendedCreditValue)) {
|
|
15
|
+
if (hasAllRecommendedRatings(recommendedCreditValue)) {
|
|
16
|
+
content = "Any";
|
|
17
|
+
} else {
|
|
18
|
+
content = formatStringListWithAnd(orderRecommendedRatings(recommendedCreditValue));
|
|
19
|
+
}
|
|
20
|
+
}
|
|
15
21
|
return {
|
|
16
22
|
label,
|
|
17
23
|
content,
|
package/lib/module/capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["get","
|
|
1
|
+
{"version":3,"names":["get","formatStringListWithAnd","RECOMMENDED_RATINGS","orderRecommendedRatings","recommendedCreditValue","sort","a","b","indexOf","hasAllRecommendedRatings","every","rating","includes","recommendedCredit","offer","label","fieldName","content","Array","isArray","isHighlighted"],"sourceRoot":"../../../../../../../../src","sources":["capabilities/offer-catalog/src/utils/stats/formatters/recommendedCredit.ts"],"mappings":"AAAA,SAASA,GAAG,QAAQ,QAAQ;AAE5B,SAASC,uBAAuB,QAAQ,mBAAmB;AAS3D,MAAMC,mBAAmB,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC;AAE5E,MAAMC,uBAAuB,GAAIC,sBAAgC,IAAK;EACrE,OAAOA,sBAAsB,CAACC,IAAI,CACjC,CAACC,CAAC,EAAEC,CAAC,KAAKL,mBAAmB,CAACM,OAAO,CAACF,CAAC,CAAC,GAAGJ,mBAAmB,CAACM,OAAO,CAACD,CAAC,CACzE,CAAC;AACF,CAAC;AAED,MAAME,wBAAwB,GAAIL,sBAAgC,IACjEF,mBAAmB,CAACQ,KAAK,CAAEC,MAAM,IAChCP,sBAAsB,CAACQ,QAAQ,CAACD,MAAM,CACvC,CAAC;AAEF,OAAO,MAAME,iBAAiB,GAC5BC,KAAgB,IACjB,CAAC;EAAEC,KAAK;EAAEC;AAAiC,CAAC,KAAuB;EAClE,MAAMZ,sBAAsB,GAAGJ,GAAG,CAAWc,KAAK,EAAEE,SAAS,CAAC;EAE9D,IAAIC,OAAO,GAAG,WAAW;EAEzB,IAAIC,KAAK,CAACC,OAAO,CAACf,sBAAsB,CAAC,EAAE;IAC1C,IAAIK,wBAAwB,CAACL,sBAAsB,CAAC,EAAE;MACrDa,OAAO,GAAG,KAAK;IAChB,CAAC,MAAM;MACNA,OAAO,GAAGhB,uBAAuB,CAChCE,uBAAuB,CAACC,sBAAsB,CAC/C,CAAC;IACF;EACD;EAEA,OAAO;IACNW,KAAK;IACLE,OAAO;IACPG,aAAa,EAAE;EAChB,CAAC;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,41 +1,43 @@
|
|
|
1
|
-
import { match } from "ts-pattern";
|
|
2
1
|
import { annualFee, creditBureaus, fromBooleanStat, fromCommonStat, fromCurrencyStat, fromFreeTrialStat, fromListStringWithAnd, fromMonthlyOrAnnualCurrencyStat, fromRangeCurrencyByTimeStat, fromRangeCurrencyOrBasisStat, fromRangeCurrencyStat, fromRangeCurrencyUnabbreviatedStat, fromRangeMonthsStat, fromRangePercentStat, purchaseApr, recommendedCredit, rewardsDisplay } from "./formatters";
|
|
3
2
|
import { fromPercentageStat } from "./formatters/percentage";
|
|
4
|
-
export const statsToElementPropsBuilder = (stats, offer) => stats.map(stat =>
|
|
5
|
-
format
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
3
|
+
export const statsToElementPropsBuilder = (stats, offer) => stats.map(stat => {
|
|
4
|
+
switch (stat.format) {
|
|
5
|
+
case "rangeCurrency":
|
|
6
|
+
return fromRangeCurrencyStat(offer)(stat);
|
|
7
|
+
case "rangeCurrencyUnabbreviated":
|
|
8
|
+
return fromRangeCurrencyUnabbreviatedStat(offer)(stat);
|
|
9
|
+
case "BureausStat":
|
|
10
|
+
return creditBureaus(offer)(stat);
|
|
11
|
+
case "rangePercent":
|
|
12
|
+
return fromRangePercentStat(offer)(stat);
|
|
13
|
+
case "rangeCurrencyOrBasis":
|
|
14
|
+
return fromRangeCurrencyOrBasisStat(offer)(stat);
|
|
15
|
+
case "common":
|
|
16
|
+
return fromCommonStat(offer)(stat);
|
|
17
|
+
case "rangeCurrencyByTime":
|
|
18
|
+
return fromRangeCurrencyByTimeStat(offer)(stat);
|
|
19
|
+
case "freeTrial":
|
|
20
|
+
return fromFreeTrialStat(offer)(stat);
|
|
21
|
+
case "monthlyOrAnnualCurrency":
|
|
22
|
+
return fromMonthlyOrAnnualCurrencyStat(offer)(stat);
|
|
23
|
+
case "boolean":
|
|
24
|
+
return fromBooleanStat(offer)(stat);
|
|
25
|
+
case "rangeMonths":
|
|
26
|
+
return fromRangeMonthsStat(offer)(stat);
|
|
27
|
+
case "listStringWithAnd":
|
|
28
|
+
return fromListStringWithAnd(offer)(stat);
|
|
29
|
+
case "currency":
|
|
30
|
+
return fromCurrencyStat(offer)(stat);
|
|
31
|
+
case "percentage":
|
|
32
|
+
return fromPercentageStat(offer)(stat);
|
|
33
|
+
case "recommendedCredit":
|
|
34
|
+
return recommendedCredit(offer)(stat);
|
|
35
|
+
case "rewardsDisplay":
|
|
36
|
+
return rewardsDisplay(offer)(stat);
|
|
37
|
+
case "purchaseApr":
|
|
38
|
+
return purchaseApr(offer)(stat);
|
|
39
|
+
case "annualFee":
|
|
40
|
+
return annualFee(offer)(stat);
|
|
41
|
+
}
|
|
42
|
+
}).filter(stat => stat !== null);
|
|
41
43
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["annualFee","creditBureaus","fromBooleanStat","fromCommonStat","fromCurrencyStat","fromFreeTrialStat","fromListStringWithAnd","fromMonthlyOrAnnualCurrencyStat","fromRangeCurrencyByTimeStat","fromRangeCurrencyOrBasisStat","fromRangeCurrencyStat","fromRangeCurrencyUnabbreviatedStat","fromRangeMonthsStat","fromRangePercentStat","purchaseApr","recommendedCredit","rewardsDisplay","fromPercentageStat","statsToElementPropsBuilder","stats","offer","map","stat","format","filter"],"sourceRoot":"../../../../../../../src","sources":["capabilities/offer-catalog/src/utils/stats/index.ts"],"mappings":"AAAA,SACCA,SAAS,EACTC,aAAa,EACbC,eAAe,EACfC,cAAc,EACdC,gBAAgB,EAChBC,iBAAiB,EACjBC,qBAAqB,EACrBC,+BAA+B,EAC/BC,2BAA2B,EAC3BC,4BAA4B,EAC5BC,qBAAqB,EACrBC,kCAAkC,EAClCC,mBAAmB,EACnBC,oBAAoB,EACpBC,WAAW,EACXC,iBAAiB,EACjBC,cAAc,QACR,cAAc;AAErB,SAASC,kBAAkB,QAAQ,yBAAyB;AAI5D,OAAO,MAAMC,0BAA0B,GAAGA,CACzCC,KAAa,EACbC,KAAgB,KAEhBD,KAAK,CACHE,GAAG,CAAEC,IAAI,IAAuB;EAChC,QAAQA,IAAI,CAACC,MAAM;IAClB,KAAK,eAAe;MACnB,OAAOb,qBAAqB,CAACU,KAAK,CAAC,CAACE,IAAI,CAAC;IAC1C,KAAK,4BAA4B;MAChC,OAAOX,kCAAkC,CAACS,KAAK,CAAC,CAACE,IAAI,CAAC;IACvD,KAAK,aAAa;MACjB,OAAOrB,aAAa,CAACmB,KAAK,CAAC,CAACE,IAAI,CAAC;IAClC,KAAK,cAAc;MAClB,OAAOT,oBAAoB,CAACO,KAAK,CAAC,CAACE,IAAI,CAAC;IACzC,KAAK,sBAAsB;MAC1B,OAAOb,4BAA4B,CAACW,KAAK,CAAC,CAACE,IAAI,CAAC;IACjD,KAAK,QAAQ;MACZ,OAAOnB,cAAc,CAACiB,KAAK,CAAC,CAACE,IAAI,CAAC;IACnC,KAAK,qBAAqB;MACzB,OAAOd,2BAA2B,CAACY,KAAK,CAAC,CAACE,IAAI,CAAC;IAChD,KAAK,WAAW;MACf,OAAOjB,iBAAiB,CAACe,KAAK,CAAC,CAACE,IAAI,CAAC;IACtC,KAAK,yBAAyB;MAC7B,OAAOf,+BAA+B,CAACa,KAAK,CAAC,CAACE,IAAI,CAAC;IACpD,KAAK,SAAS;MACb,OAAOpB,eAAe,CAACkB,KAAK,CAAC,CAACE,IAAI,CAAC;IACpC,KAAK,aAAa;MACjB,OAAOV,mBAAmB,CAACQ,KAAK,CAAC,CAACE,IAAI,CAAC;IACxC,KAAK,mBAAmB;MACvB,OAAOhB,qBAAqB,CAACc,KAAK,CAAC,CAACE,IAAI,CAAC;IAC1C,KAAK,UAAU;MACd,OAAOlB,gBAAgB,CAACgB,KAAK,CAAC,CAACE,IAAI,CAAC;IACrC,KAAK,YAAY;MAChB,OAAOL,kBAAkB,CAACG,KAAK,CAAC,CAACE,IAAI,CAAC;IACvC,KAAK,mBAAmB;MACvB,OAAOP,iBAAiB,CAACK,KAAK,CAAC,CAACE,IAAI,CAAC;IACtC,KAAK,gBAAgB;MACpB,OAAON,cAAc,CAACI,KAAK,CAAC,CAACE,IAAI,CAAC;IACnC,KAAK,aAAa;MACjB,OAAOR,WAAW,CAACM,KAAK,CAAC,CAACE,IAAI,CAAC;IAChC,KAAK,WAAW;MACf,OAAOtB,SAAS,CAACoB,KAAK,CAAC,CAACE,IAAI,CAAC;EAC/B;AACD,CAAC,CAAC,CACDE,MAAM,CAAEF,IAAI,IAAKA,IAAI,KAAK,IAAI,CAAC","ignoreList":[]}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import defu from "defu";
|
|
2
1
|
import { get, mapValues } from "radash";
|
|
3
2
|
import { createDerivedBrands } from "../../../../../configuration/src/brands/createDerivedBrands";
|
|
4
3
|
const UUID_V4_REGEX = /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
|
|
@@ -46,20 +45,32 @@ export function withDeviceSignals(context, payload) {
|
|
|
46
45
|
system,
|
|
47
46
|
cnfEnvironment
|
|
48
47
|
};
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
48
|
+
|
|
49
|
+
// all clientTag values must be arrays of strings
|
|
50
|
+
const toStringArray = value => Array.isArray(value) ? value.map(String) : [String(value)];
|
|
51
|
+
const defaultClientTags = mapValues(clientTags, toStringArray);
|
|
52
|
+
const payloadClientTags = mapValues(payload.clientTags ?? {}, toStringArray);
|
|
53
|
+
const mergedClientTags = {
|
|
54
|
+
...defaultClientTags
|
|
55
|
+
};
|
|
56
|
+
for (const [key, value] of Object.entries(payloadClientTags)) {
|
|
57
|
+
const existing = mergedClientTags[key];
|
|
58
|
+
mergedClientTags[key] = existing ? [...value, ...existing] : value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* The leads API requires device IDs be in the UUID format. If the string
|
|
63
|
+
* we receive here is not in the expected format, we omit it so the API can
|
|
64
|
+
* reject the request explicitly.
|
|
65
|
+
*/
|
|
66
|
+
return {
|
|
55
67
|
deviceId: isUUIDv4(maybeDeviceId) ? maybeDeviceId : undefined,
|
|
56
68
|
sessionInformation: {
|
|
57
69
|
ipAddress,
|
|
58
70
|
userAgent
|
|
59
71
|
},
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
});
|
|
72
|
+
...payload,
|
|
73
|
+
clientTags: mergedClientTags
|
|
74
|
+
};
|
|
64
75
|
}
|
|
65
76
|
//# sourceMappingURL=withDeviceSignals.js.map
|
package/lib/module/capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["get","mapValues","createDerivedBrands","UUID_V4_REGEX","isUUIDv4","x","test","removePrefixFromAppName","appName","startsWith","substring","getBrand","context","brand","e","console","log","Error","withDeviceSignals","payload","maybeDeviceId","undefined","ipAddress","os","isMobile","evReferrer","cnfEnvironment","process","licensedBrand","consumerBrand","userAgent","system","app","clientTags","toStringArray","value","Array","isArray","map","String","defaultClientTags","payloadClientTags","mergedClientTags","key","Object","entries","existing","deviceId","sessionInformation"],"sourceRoot":"../../../../../../../../src","sources":["capabilities/offers/pipeline/src/sources/ratetables/withDeviceSignals.ts"],"mappings":"AAAA,SAASA,GAAG,EAAEC,SAAS,QAAQ,QAAQ;AACvC,SAASC,mBAAmB,QAAQ,6DAA6D;AAOjG,MAAMC,aAAa,GAClB,wEAAwE;;AAEzE;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,QAAQ,GAAIC,CAAU,IAClC,OAAOA,CAAC,KAAK,QAAQ,IAAIF,aAAa,CAACG,IAAI,CAACD,CAAC,CAAC;AAE/C,MAAME,uBAAuB,GAAIC,OAAe,IAAK;EACpD,IAAIA,OAAO,CAACC,UAAU,CAAC,GAAG,CAAC,EAAE;IAC5B,OAAOD,OAAO,CAACE,SAAS,CAAC,CAAC,CAAC;EAC5B;EACA,OAAOF,OAAO;AACf,CAAC;AAED,MAAMG,QAAQ,GAAIC,OAAmB,IAAY;EAChD,IAAI;IACH,OAAOA,OAAO,CAACC,KAAK;EACrB,CAAC,CAAC,OAAOC,CAAC,EAAE;IACXC,OAAO,CAACC,GAAG,CAACF,CAAC,CAAC;EACf;EACA,MAAM,IAAIG,KAAK,CAAC,iBAAiB,CAAC;AACnC,CAAC;AAED,OAAO,SAASC,iBAAiBA,CAE/BN,OAAmB,EAAEO,OAAc,EAAE;EACtC,MAAMC,aAAa,GAAGpB,GAAG,CAACY,OAAO,EAAE,0BAA0B,EAAES,SAAS,CAAC;EACzE,MAAMC,SAAS,GAAGtB,GAAG,CAACY,OAAO,EAAE,iCAAiC,EAAES,SAAS,CAAC;EAC5E,MAAME,EAAE,GAAGvB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AGF;EAAkB,CAAC;EAC3E,KAAK,MAAM,CAACG,GAAG,EAAER,KAAK,CAAC,IAAIS,MAAM,CAACC,OAAO,CAACJ,iBAAiB,CAAC,EAAE;IAC7D,MAAMK,QAAQ,GAAGJ,gBAAgB,CAACC,GAAG,CAAC;IACtCD,gBAAgB,CAACC,GAAG,CAAC,GAAGG,QAAQ,GAAG,CAAC,GAAGX,KAAK,EAAE,GAAGW,QAAQ,CAAC,GAAGX,KAAK;EACnE;;EAEA;AACD;AACA;AACA;AACA;EACC,OAAO;IACNY,QAAQ,EAAE3C,QAAQ,CAACgB,aAAa,CAAC,GAAGA,aAAa,GAAGC,SAAS;IAC7D2B,kBAAkB,EAAE;MAAE1B,SAAS;MAAEQ;IAAU,CAAC;IAC5C,GAAGX,OAAO;IACVc,UAAU,EAAES;EACb,CAAC;AACF","ignoreList":[]}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
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); }
|
|
1
2
|
import React from "react";
|
|
2
3
|
import { StyleSheet } from "react-native";
|
|
3
4
|
import { Abbreviation } from "./Abbreviation";
|
|
4
5
|
import { openUrl } from "react-native-markdown-display";
|
|
5
6
|
import Text from "../../../../../../components/Text";
|
|
6
7
|
const BoldText = ({
|
|
7
|
-
children
|
|
8
|
+
children,
|
|
9
|
+
testID
|
|
8
10
|
}) => {
|
|
9
11
|
const processChildren = _children => {
|
|
10
12
|
return React.Children.map(_children, child => {
|
|
@@ -14,7 +16,6 @@ const BoldText = ({
|
|
|
14
16
|
}, child);
|
|
15
17
|
}
|
|
16
18
|
if (/*#__PURE__*/React.isValidElement(child) && child.type === Text) {
|
|
17
|
-
// Use a properly typed props object
|
|
18
19
|
const newProps = {
|
|
19
20
|
weight: "bold",
|
|
20
21
|
style: child.props.style
|
|
@@ -24,12 +25,18 @@ const BoldText = ({
|
|
|
24
25
|
return child;
|
|
25
26
|
});
|
|
26
27
|
};
|
|
27
|
-
return /*#__PURE__*/React.createElement(
|
|
28
|
+
return /*#__PURE__*/React.createElement(Text, {
|
|
29
|
+
testID: testID
|
|
30
|
+
}, processChildren(children));
|
|
28
31
|
};
|
|
29
32
|
|
|
30
33
|
// Helper to create text variants
|
|
31
|
-
const createTextVariant = props => (
|
|
32
|
-
return /*#__PURE__*/React.createElement(Text,
|
|
34
|
+
const createTextVariant = props => (node, children) => {
|
|
35
|
+
return /*#__PURE__*/React.createElement(Text, _extends({
|
|
36
|
+
key: node.key || `${node.type}-${node.index}`
|
|
37
|
+
}, props, {
|
|
38
|
+
testID: `${node.type}-${node.index}`
|
|
39
|
+
}), children);
|
|
33
40
|
};
|
|
34
41
|
export const createMarkdownComponents = ({
|
|
35
42
|
numberOfLines,
|
|
@@ -66,7 +73,8 @@ export const createMarkdownComponents = ({
|
|
|
66
73
|
weight: weight,
|
|
67
74
|
color: color,
|
|
68
75
|
numberOfLines: numberOfLines,
|
|
69
|
-
style: styles.bulletList
|
|
76
|
+
style: styles.bulletList,
|
|
77
|
+
testID: `${node.type}-${node.index}`
|
|
70
78
|
}, children);
|
|
71
79
|
},
|
|
72
80
|
// Links - Add detection for abbreviations in the text content
|
|
@@ -84,7 +92,8 @@ export const createMarkdownComponents = ({
|
|
|
84
92
|
weight: weight,
|
|
85
93
|
color: color,
|
|
86
94
|
style: styles.linkText,
|
|
87
|
-
onPress: () => openUrl(node.attributes.href || "")
|
|
95
|
+
onPress: () => openUrl(node.attributes.href || ""),
|
|
96
|
+
testID: `${node.type}-${node.index}`
|
|
88
97
|
}, children);
|
|
89
98
|
},
|
|
90
99
|
// Custom parser for text to find potential abbreviation patterns
|
|
@@ -108,7 +117,8 @@ export const createMarkdownComponents = ({
|
|
|
108
117
|
key: node.key || `${node.type}-${node.index}`,
|
|
109
118
|
variant: variant || "body-3",
|
|
110
119
|
weight: weight,
|
|
111
|
-
color: color
|
|
120
|
+
color: color,
|
|
121
|
+
testID: `${node.type}-${node.index}`
|
|
112
122
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
113
123
|
variant: "body-1"
|
|
114
124
|
}, prefix, "\u2022 "), children);
|
|
@@ -119,11 +129,13 @@ export const createMarkdownComponents = ({
|
|
|
119
129
|
key: node.key || `${node.type}-${node.index}`,
|
|
120
130
|
variant: variant,
|
|
121
131
|
weight: weight,
|
|
122
|
-
color: color
|
|
132
|
+
color: color,
|
|
133
|
+
testID: `${node.type}-${node.index}`
|
|
123
134
|
}, children);
|
|
124
135
|
},
|
|
125
136
|
strong: (node, children) => /*#__PURE__*/React.createElement(BoldText, {
|
|
126
|
-
key: node.key || `${node.type}-${node.index}
|
|
137
|
+
key: node.key || `${node.type}-${node.index}`,
|
|
138
|
+
testID: `${node.type}-${node.index}`
|
|
127
139
|
}, children)
|
|
128
140
|
};
|
|
129
141
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","Abbreviation","openUrl","Text","BoldText","children","processChildren","_children","Children","map","child","createElement","weight","isValidElement","type","newProps","style","props","cloneElement","
|
|
1
|
+
{"version":3,"names":["React","StyleSheet","Abbreviation","openUrl","Text","BoldText","children","testID","processChildren","_children","Children","map","child","createElement","weight","isValidElement","type","newProps","style","props","cloneElement","createTextVariant","node","_extends","key","index","createMarkdownComponents","numberOfLines","variant","color","isFirstListItem","heading1","heading2","heading3","heading4","heading5","bullet_list","styles","bulletList","link","attributes","title","linkText","onPress","href","text","content","list_item","prefix","paragraph","strong","create","marginVertical","flexDirection","alignItems","bulletPoint","width","height","borderRadius","backgroundColor","marginTop","marginRight","listItemText","marginBottom","textDecorationLine"],"sourceRoot":"../../../../../../../../src","sources":["capabilities/ui/elements/src/components/MarkdownText/components.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,QAAQ,cAAc;AACzC,SAASC,YAAY,QAAQ,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CAAC;IACTC,YAAY,EAAE,CAAC;IACfC,eAAe,EAAE,OAAO;IACxBC,SAAS,EAAE,CAAC;IACZC,WAAW,EAAE;EACd,CAAC;EACDC,YAAY,EAAE;IACbC,YAAY,EAAE;EACf,CAAC;EACDrB,QAAQ,EAAE;IACTsB,kBAAkB,EAAE;EACrB;AACD,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React, { Fragment } from "react";
|
|
2
|
-
import { match } from "ts-pattern";
|
|
3
2
|
import { DefaultOfferCard, CreditCardOfferCard, HeadlineWithDescriptionCard } from "../../Layouts";
|
|
4
3
|
export const Offer = ({
|
|
5
4
|
productTypeBuilder,
|
|
@@ -18,55 +17,58 @@ export const Offer = ({
|
|
|
18
17
|
please add it to the productTypeBuilder or inform a fallback template`);
|
|
19
18
|
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
20
19
|
}
|
|
20
|
+
const renderCard = () => {
|
|
21
|
+
if (!builder) {
|
|
22
|
+
if (!fallbackTemplate) return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
23
|
+
const FallbackTemplate = fallbackTemplate;
|
|
24
|
+
return /*#__PURE__*/React.createElement(FallbackTemplate, {
|
|
25
|
+
showCardBorder: showCardBorder,
|
|
26
|
+
offerIndex: offerIndex,
|
|
27
|
+
key: `${offerIndex}-${offer.uuid}`,
|
|
28
|
+
offer: offer,
|
|
29
|
+
showProductTypeLabel: showProductTypeLabel,
|
|
30
|
+
fullCardWidth: fullCardWidth,
|
|
31
|
+
isHorizontalScroll: isHorizontalScroll
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
switch (builder.layout) {
|
|
35
|
+
case "defaultOfferCard":
|
|
36
|
+
return /*#__PURE__*/React.createElement(DefaultOfferCard, {
|
|
37
|
+
offerIndex: offerIndex,
|
|
38
|
+
key: `${offerIndex}-${offer.uuid}`,
|
|
39
|
+
offer: offer,
|
|
40
|
+
productTypeBuilder: builder,
|
|
41
|
+
showCardBorder: showCardBorder,
|
|
42
|
+
showProductTypeLabel: showProductTypeLabel,
|
|
43
|
+
fullCardWidth: fullCardWidth,
|
|
44
|
+
isHorizontalScroll: isHorizontalScroll
|
|
45
|
+
});
|
|
46
|
+
case "creditCardOfferCard":
|
|
47
|
+
return /*#__PURE__*/React.createElement(CreditCardOfferCard, {
|
|
48
|
+
offerIndex: offerIndex,
|
|
49
|
+
key: `${offerIndex}-${offer.uuid}`,
|
|
50
|
+
offer: offer,
|
|
51
|
+
productTypeBuilder: builder,
|
|
52
|
+
showCardBorder: showCardBorder,
|
|
53
|
+
showProductTypeLabel: showProductTypeLabel,
|
|
54
|
+
fullCardWidth: fullCardWidth,
|
|
55
|
+
isHorizontalScroll: isHorizontalScroll
|
|
56
|
+
});
|
|
57
|
+
case "headlineWithDescriptionCard":
|
|
58
|
+
return /*#__PURE__*/React.createElement(HeadlineWithDescriptionCard, {
|
|
59
|
+
offerIndex: offerIndex,
|
|
60
|
+
key: `${offerIndex}-${offer.uuid}`,
|
|
61
|
+
offer: offer,
|
|
62
|
+
productTypeBuilder: builder,
|
|
63
|
+
showCardBorder: showCardBorder,
|
|
64
|
+
showProductTypeLabel: showProductTypeLabel,
|
|
65
|
+
fullCardWidth: fullCardWidth,
|
|
66
|
+
isHorizontalScroll: isHorizontalScroll
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
};
|
|
21
70
|
return /*#__PURE__*/React.createElement(Fragment, {
|
|
22
71
|
key: `${offerIndex}-${offer.uuid}`
|
|
23
|
-
},
|
|
24
|
-
layout: "defaultOfferCard"
|
|
25
|
-
}, layout => /*#__PURE__*/React.createElement(DefaultOfferCard, {
|
|
26
|
-
offerIndex: offerIndex,
|
|
27
|
-
key: `${offerIndex}-${offer.uuid}`,
|
|
28
|
-
offer: offer,
|
|
29
|
-
productTypeBuilder: layout,
|
|
30
|
-
showCardBorder: showCardBorder,
|
|
31
|
-
showProductTypeLabel: showProductTypeLabel,
|
|
32
|
-
fullCardWidth: fullCardWidth,
|
|
33
|
-
isHorizontalScroll: isHorizontalScroll
|
|
34
|
-
})).with({
|
|
35
|
-
layout: "creditCardOfferCard"
|
|
36
|
-
}, layout => /*#__PURE__*/React.createElement(CreditCardOfferCard, {
|
|
37
|
-
offerIndex: offerIndex,
|
|
38
|
-
key: `${offerIndex}-${offer.uuid}`,
|
|
39
|
-
offer: offer,
|
|
40
|
-
productTypeBuilder: layout,
|
|
41
|
-
showCardBorder: showCardBorder,
|
|
42
|
-
showProductTypeLabel: showProductTypeLabel,
|
|
43
|
-
fullCardWidth: fullCardWidth,
|
|
44
|
-
isHorizontalScroll: isHorizontalScroll
|
|
45
|
-
})).with({
|
|
46
|
-
layout: "headlineWithDescriptionCard"
|
|
47
|
-
}, layout => /*#__PURE__*/React.createElement(HeadlineWithDescriptionCard, {
|
|
48
|
-
offerIndex: offerIndex,
|
|
49
|
-
key: `${offerIndex}-${offer.uuid}`,
|
|
50
|
-
offer: offer,
|
|
51
|
-
productTypeBuilder: layout,
|
|
52
|
-
showCardBorder: showCardBorder,
|
|
53
|
-
showProductTypeLabel: showProductTypeLabel,
|
|
54
|
-
fullCardWidth: fullCardWidth,
|
|
55
|
-
isHorizontalScroll: isHorizontalScroll
|
|
56
|
-
})).with(undefined, () => {
|
|
57
|
-
if (!fallbackTemplate) {
|
|
58
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
59
|
-
}
|
|
60
|
-
const FallbackTemplate = fallbackTemplate;
|
|
61
|
-
return /*#__PURE__*/React.createElement(FallbackTemplate, {
|
|
62
|
-
showCardBorder: showCardBorder,
|
|
63
|
-
offerIndex: offerIndex,
|
|
64
|
-
key: `${offerIndex}-${offer.uuid}`,
|
|
65
|
-
offer: offer,
|
|
66
|
-
showProductTypeLabel: showProductTypeLabel,
|
|
67
|
-
fullCardWidth: fullCardWidth,
|
|
68
|
-
isHorizontalScroll: isHorizontalScroll
|
|
69
|
-
});
|
|
70
|
-
}).exhaustive());
|
|
72
|
+
}, renderCard());
|
|
71
73
|
});
|
|
72
74
|
//# sourceMappingURL=Offer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Fragment","
|
|
1
|
+
{"version":3,"names":["React","Fragment","DefaultOfferCard","CreditCardOfferCard","HeadlineWithDescriptionCard","Offer","productTypeBuilder","offers","showProductTypeLabel","fallbackTemplate","showCardBorder","fullCardWidth","isHorizontalScroll","map","offer","offerIndex","builder","find","productTypes","includes","productType","console","error","createElement","renderCard","FallbackTemplate","key","uuid","layout"],"sourceRoot":"../../../../../src","sources":["components/DynamicOffers/Render/Offer.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AAGvC,SACCC,gBAAgB,EAChBC,mBAAmB,EACnBC,2BAA2B,QACrB,eAAe;AA6BtB,OAAO,MAAMC,KAAK,GAAGA,CAAC;EACrBC,kBAAkB;EAClBC,MAAM;EACNC,oBAAoB,GAAG,IAAI;EAC3BC,gBAAgB;EAChBC,cAAc,GAAG,IAAI;EACrBC,aAAa,GAAG,KAAK;EACrBC,kBAAkB,GAAG;AACA,CAAC,KACtBL,MAAM,CAACM,GAAG,CAAC,CAACC,KAAgB,EAAEC,UAAkB,KAAK;EACpD,MAAMC,OAAO,GAAGV,kBAAkB,CAACW,IAAI,CAAC,CAAC;IAAEC;EAAa,CAAC,KACxDA,YAAY,CAACC,QAAQ,CAACL,KAAK,CAACM,WAAW,CACxC,CAAC;EAED,IAAI,CAACJ,OAAO,IAAI,CAACP,gBAAgB,EAAE;IAClCY,OAAO,CAACC,KAAK,CACZ,0DAA0DR,KAAK,CAACM,WAAW;AAC/E,2EACG,CAAC;IACD,oBAAOpB,KAAA,CAAAuB,aAAA,CAAAvB,KAAA,CAAAC,QAAA,MAAI,CAAC;EACb;EAEA,MAAMuB,UAAU,GAAGA,CAAA,KAAM;IACxB,IAAI,CAACR,OAAO,EAAE;MACb,IAAI,CAACP,gBAAgB,EAAE,oBAAOT,KAAA,CAAAuB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AGX,UAAU,IAAID,KAAK,CAACa,IAAI,EAAG;UACnCb,KAAK,EAAEA,KAAM;UACbR,kBAAkB,EAAEU,OAAQ;UAC5BN,cAAc,EAAEA,cAAe;UAC/BF,oBAAoB,EAAEA,oBAAqB;UAC3CG,aAAa,EAAEA,aAAc;UAC7BC,kBAAkB,EAAEA;QAAmB,CACvC,CAAC;IAEL;EACD,CAAC;EAED,oBACCZ,KAAA,CAAAuB,aAAA,CAACtB,QAAQ;IAACyB,GAAG,EAAE,GAAGX,UAAU,IAAID,KAAK,CAACa,IAAI;EAAG,GAAEH,UAAU,CAAC,CAAY,CAAC;AAEzE,CAAC,CAAC","ignoreList":[]}
|
package/lib/module/version.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apiEnvironment.d.ts","sourceRoot":"","sources":["../../src/apiEnvironment.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,OAAO,OAAO,KAAG,MACa,CAAC;AAEnE;;GAEG;AACH,eAAO,MAAM,yBAAyB,GAAI,OAAO,OAAO,KAAG,MACO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../../src/builder/builder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,+CAA+C,CAAC;AAE1E,KAAK,UAAU,GAAG;IACjB,YAAY,EAAE,YAAY,EAAE,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,UAAU,GAAG;IAC3C,MAAM,EAAE,kBAAkB,CAAC;IAC3B,QAAQ,EAAE,IAAI,EAAE,CAAC;IACjB,KAAK,EAAE,IAAI,EAAE,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,UAAU,GAAG;IAC9C,MAAM,EAAE,qBAAqB,CAA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AAI,CAAC;QACtB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACxB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KACxB,CAAC;IACF,YAAY,CAAC,EAAE;QACd,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACvB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KACtB,CAAC;IACF,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,MAAM,mBAAmB,GAAG;IACjC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG;IACpB,YAAY,CAAC,EAAE;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,kBAAkB,CAAC,EAAE,MAAM,CAAC;QAC5B,mBAAmB,CAAC,EAAE,mBAAmB,EAAE,CAAC;QAC5C,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,KAAK,EAAE,OAAO,CAAC;QACf,aAAa,EAAE,MAAM,CAAC;QACtB,UAAU,EAAE,MAAM,CAAC;QACnB,IAAI,EAAE,MAAM,CAAC;KACb,CAAC;IACF,KAAK,CAAC,EAAE;QACP,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;KAC1B,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/builder/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkVisualEligibility.d.ts","sourceRoot":"","sources":["../../../../../../src/capabilities/configuration/src/brands/checkVisualEligibility.ts"],"names":[],"mappings":"AACA,OAAO,EAAe,KAAK,KAAK,EAAE,MAAM,SAAS,CAAC;AAElD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,WAAW,GAAG,MAAM,CAAC;AAE/D;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,GAAI,OAAO,KAAK,KAAG,eAqB1D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createDerivedBrands.d.ts","sourceRoot":"","sources":["../../../../../../src/capabilities/configuration/src/brands/createDerivedBrands.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAajD;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAAI,OAAO,KAAK,YAK/C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/capabilities/configuration/src/brands/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/capabilities/configuration/src/brands/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,WAAW,GAAI,OAAO,KAAK,mEAGvC,CAAC;AACF,YAAY,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/capabilities/configuration/src/userData/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/core/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CnfContext.d.ts","sourceRoot":"","sources":["../../../../../../../src/capabilities/core/src/system/cnfContext/CnfContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,MAAM,MAAM,UAAU,GAAG;IACxB,GAAG,EAAE,GAAG,CAAC;IACT,KAAK,EAAE,KAAK,CAAC;IACb,aAAa,EAAE,aAAa,CAAC;IAC7B,OAAO,EAAE,UAAU,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,UAAU,CAAC;IACvB,KAAK,EAAE,OAAO,CAAC;CACf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../../../../../../src/capabilities/core/src/system/cnfContext/schemas/App.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Brand.d.ts","sourceRoot":"","sources":["../../../../../../../../src/capabilities/core/src/system/cnfContext/schemas/Brand.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wBAAwB,GAAG;IACtC,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IACjC,kBAAkB,EAAE,wBAAwB,CAAC;IAC7C,uBAAuB,EAAE,wBAAwB,CAAC;IAClD,kBAAkB,EAAE,wBAAwB,CAAC;IAC7C,uBAAuB,EAAE,wBAAwB,CAAC;IAClD,uBAAuB,EAAE,wBAAwB,CAAC;IAClD,0BAA0B,EAAE,wBAAwB,CAAC;IACrD,yBAAyB,EAAE,wBAAwB,CAAC;IACpD,iBAAiB,EAAE,wBAAwB,CAAC;IAC5C,sBAAsB,EAAE,wBAAwB,CAAC;IACjD,cAAc,EAAE,wBAAwB,CAAC;IACzC,mBAAmB,EAAE,wBAAwB,CAAC;IAC9C,kBAAkB,EAAE,wBAAwB,CAAC;IAC7C,uBAAuB,EAAE,wBAAwB,CAAC;IAClD,iBAAiB,EAAE,wBAAwB,CAAC;IAC5C,sBAAsB,EAAE,wBAAwB,CAAC;IACjD,iBAAiB,EAAE,wBAAwB,CAAC;IAC5C,sBAAsB,EAAE,wBAAwB,CAAC;IACjD,KAAK,EAAE,wBAAwB,CAAC;IAChC,cAAc,EAAE,wBAAwB,CAAC;IACzC,mBAAmB,EAAE,wBAAwB,CAAC;IAC9C,cAAc,EAAE,wBAAwB,CAAC;IACzC,aAAa,EAAE,wBAAwB,CAAC;IACxC,kBAAkB,EAAE,wBAAwB,CAAC;IAC7C,cAAc,EAAE,wBAAwB,CAAC;IACzC,mBAAmB,EAAE,wBAAwB,CAAC;IAC9C,aAAa,EAAE,wBAAwB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":"","sources":["../../../../../../../../src/capabilities/core/src/system/cnfContext/schemas/Configuration.ts"],"names":[],"mappings":"AAAA,KAAK,sBAAsB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,KAAK,0BAA0B,GAAG;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,wBAAwB,EAAE,MAAM,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC9C,UAAU,EAAE,OAAO,CAAC;IACpB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,sBAAsB,EAAE,sBAAsB,EAAE,CAAC;IACjD,0BAA0B,EAAE,0BAA0B,EAAE,CAAC;CACzD,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC3B,GAAG,EAAE,MAAM,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IAC/B,aAAa,EAAE,gCAAgC,CAAC;CAChD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.d.ts","sourceRoot":"","sources":["../../../../../../../../src/capabilities/core/src/system/cnfContext/schemas/Request.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Session.d.ts","sourceRoot":"","sources":["../../../../../../../../src/capabilities/core/src/system/cnfContext/schemas/Session.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC;AAE/B,MAAM,MAAM,OAAO,GAAG;IACrB,EAAE,EAAE,SAAS,CAAC;CACd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Signals.d.ts","sourceRoot":"","sources":["../../../../../../../../src/capabilities/core/src/system/cnfContext/schemas/Signals.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GAAG;IAC5B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC;AAE9B,MAAM,MAAM,aAAa,GAAG;IAC3B,EAAE,EAAE,QAAQ,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE;QACP,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,IAAI,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;IACF,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC;AAE9B,MAAM,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE,QAAQ,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAEpD,MAAM,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE,cAAc,CAAC;IAC/B,aAAa,EAAE,aAAa,CAAC;IAC7B,IAAI,EAAE,WAAW,CAAC;IAClB,QAAQ,EAAE,eAAe,CAAC;CAC1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Subaccount.d.ts","sourceRoot":"","sources":["../../../../../../../../src/capabilities/core/src/system/cnfContext/schemas/Subaccount.ts"],"names":[],"mappings":"AAAA,KAAK,GAAG,GAAG;IACV,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/capabilities/core/src/system/cnfContext/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/errors/types/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,oBAAY,UAAU;IAErB,cAAc,mBAAmB;IAGjC,QAAQ,aAAa;IAGrB,UAAU,eAAe;IAGzB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AAK,uBAAuB,EAC5B,MAAM,uBAAuB,CAAC;AAG/B,eAAO,MAAM,6BAA6B,GACxC,SAAS,UAAU,MACb,cAAc,MAAM,EAAE,EAAE,UAAU,uBAAuB;;;;;;;;;;;;;EAmF/D,CAAC;AAoDH,eAAO,MAAM,wBAAwB,GACnC,SAAS,UAAU,MAEnB,cAAc,MAAM,EAAE,EACtB,mBAAmB,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,EAC3C,WAAW,QAAQ,EACnB,gBAAe,OAAe,EAC9B,UAAU,uBAAuB,KAC/B,OAAO,CAAC,UAAU,CAoJpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/offer-catalog/src/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,4BAA4B,CAAC;AAChD,cAAc,6BAA6B,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EACN,YAAY,EACZ,gBAAgB,EAChB,uBAAuB,EACvB,WAAW,GACX,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"offerCatalogSchema.d.ts","sourceRoot":"","sources":["../../../../../../src/capabilities/offer-catalog/src/types/offerCatalogSchema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;IACvB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,wBAAwB,EAAE,MAAM,CAAC;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EA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ACvB,qBAAqB,GACrB,uBAAuB,GACvB,qBAAqB,GACrB,gCAAgC,GAChC,wBAAwB,GACxB,0BAA0B,GAC1B,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAEjB,MAAM,MAAM,UAAU,GAAG;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,gBAAgB,CAAC,EAAE,6BAA6B,EAAE,CAAC;CACnD,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,wBAAwB,EAAE,MAAM,CAAC;CACjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arrayToMarkdownList.d.ts","sourceRoot":"","sources":["../../../../../../src/capabilities/offer-catalog/src/utils/arrayToMarkdownList.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,GAAI,KAAK,MAAM,EAAE,WAEhD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contextUtil.d.ts","sourceRoot":"","sources":["../../../../../../src/capabilities/offer-catalog/src/utils/contextUtil.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gDAAgD,CAAC;AAIjF,eAAO,MAAM,YAAY,GAAI,YAAY,UAAU,WAQlD,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,YAAY,UAAU,WACvB,CAAC;AAEnC,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,6BAwC5C,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,YAAY,UAAU,uBAQvD,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,YAAY,UAAU,WACrB,CAAC;AAE9B,eAAO,MAAM,mBAAmB,GAAI,YAAY,UAAU,YAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errorUtil.d.ts","sourceRoot":"","sources":["../../../../../../src/capabilities/offer-catalog/src/utils/errorUtil.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;6CAC2B,MAAM,cAAc,MAAM,GAAG,MAAM;6CAIpE,sBAAsB,GAAG,WAAW,GAAG,SAAS,GACrD,MAAM;CAST,CAAC;AAEF,eAAe,SAAS,CAAC"}
|