@apextelemed/partner-core 0.25.0-dev.91 → 0.26.0-dev.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk/{IKLXSGDE.jsx → 6IXANR5N.jsx} +9 -5
- package/dist/chunk/{HGKZ6FBS.jsx → 6MPJIVNJ.jsx} +242 -35
- package/dist/chunk/{XNSHW2IW.js → FKND7XXI.js} +1405 -1210
- package/dist/chunk/FKND7XXI.js.map +1 -0
- package/dist/chunk/{POF64TCZ.js → LIGPTJRM.js} +224 -17
- package/dist/chunk/LIGPTJRM.js.map +1 -0
- package/dist/chunk/{OJV5HNJM.js → T2VOCKL2.js} +10 -6
- package/dist/chunk/T2VOCKL2.js.map +1 -0
- package/dist/chunk/{Q5OPCOWX.jsx → XJF3Z2IM.jsx} +135 -24
- package/dist/flows/index.d.ts +6 -2866
- package/dist/flows/index.js +2 -2
- package/dist/flows/index.jsx +2 -2
- package/dist/index/index.d.ts +43 -3
- package/dist/index/index.js +3 -3
- package/dist/index/index.jsx +5 -3
- package/dist/index-CEwbvyzz.d.ts +2954 -0
- package/dist/pages/index.js +2 -2
- package/dist/pages/index.jsx +2 -2
- package/package.json +1 -1
- package/dist/chunk/OJV5HNJM.js.map +0 -1
- package/dist/chunk/POF64TCZ.js.map +0 -1
- package/dist/chunk/XNSHW2IW.js.map +0 -1
package/dist/flows/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/
|
|
1
|
+
export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/T2VOCKL2.js';
|
|
2
2
|
import '../chunk/WCBIY4IC.js';
|
|
3
|
-
export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, ORPHAN_REASON, PHONE_ERROR, READINESS_LABEL, SOURCE_FIELD_NOTE, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildSaveBody, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, canLeaveUnmatched, canOfferConversion, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyAddPharmacyError, classifyCatalogError, classifyConversionError, compareStrengths, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, describeConversion, emailGateAnswered, explainFinding, findStoredDosePrice, flaggedSubscribers, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, formatUsPhone, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, isValidUsPhone, lifecycleReason, liveDoses, lowestPrice, lowestSalePrice, markEmailGateAnswered, matchProblem, matchesComplete, missingPrices, moveInOrder, needsReview, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, parseMoney, pharmacyIsOnProduct, pharmacyLabel, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, salePriceForBase, skuBindingModeFor, sourceKey, sourceLabel, stateAvailabilityNote, strengthsChanged, toChoices, toTrackerRequest, upsertDosePrice, useAddPharmacy, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCatalogConversion, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSmsConsent, useSmsPreferences, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress, visibleWarnings } from '../chunk/
|
|
3
|
+
export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, ORPHAN_REASON, PHONE_ERROR, READINESS_LABEL, SOURCE_FIELD_NOTE, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildSaveBody, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, canLeaveUnmatched, canOfferConversion, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyAddPharmacyError, classifyCatalogError, classifyConversionError, compareStrengths, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, describeConversion, emailGateAnswered, explainFinding, findStoredDosePrice, flaggedSubscribers, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, formatUsPhone, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, isValidUsPhone, lifecycleReason, liveDoses, lowestPrice, lowestSalePrice, markEmailGateAnswered, matchProblem, matchesComplete, missingPrices, moveInOrder, needsReview, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, parseMoney, pharmacyIsOnProduct, pharmacyLabel, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, salePriceForBase, skuBindingModeFor, sourceKey, sourceLabel, stateAvailabilityNote, strengthsChanged, toChoices, toTrackerRequest, upsertDosePrice, useAddPharmacy, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCatalogConversion, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSmsConsent, useSmsPreferences, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress, visibleWarnings } from '../chunk/LIGPTJRM.js';
|
|
4
4
|
import '../chunk/X4YVV27O.js';
|
|
5
5
|
import '../chunk/HDHO7WV2.js';
|
|
6
6
|
import '../chunk/PNQNOYWY.js';
|
package/dist/flows/index.jsx
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
startCartCapture,
|
|
5
5
|
useSubscriptionIntakeFlow,
|
|
6
6
|
validateResumedPromo
|
|
7
|
-
} from "../chunk/
|
|
7
|
+
} from "../chunk/6IXANR5N.jsx";
|
|
8
8
|
import "../chunk/ZHLNFCF7.jsx";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_COLOR_PALETTE,
|
|
@@ -138,7 +138,7 @@ import {
|
|
|
138
138
|
useUpdatePaymentMethodFlow,
|
|
139
139
|
validateAddress,
|
|
140
140
|
visibleWarnings
|
|
141
|
-
} from "../chunk/
|
|
141
|
+
} from "../chunk/6MPJIVNJ.jsx";
|
|
142
142
|
import "../chunk/DZTBMDZ6.jsx";
|
|
143
143
|
import "../chunk/UWV5PZX3.jsx";
|
|
144
144
|
import "../chunk/FC4ITYM7.jsx";
|
package/dist/index/index.d.ts
CHANGED
|
@@ -7,8 +7,8 @@ export { SmsConfig, captureAffiliateRef, capturePromoCode, clearAffiliateRef, cl
|
|
|
7
7
|
export { C as CartCaptureConfig, a as CartSnapshotLine, F as FunnelConfig, b as FunnelDraftPayload, R as ResumedCart, c as ResumedCartLine, d as ResumedDraft, e as adoptCartId, f as adoptFunnelSessionId, g as captureAuthHeader, h as cartId, i as fetchCartConfig, j as fetchFunnelConfig, k as fetchResumedCart, l as fetchResumedDraft, m as funnelSessionId, p as peekFunnelSessionId, n as postCartSnapshot, o as postFunnelEvent, r as readCartToken, q as readResumeToken, s as resetCartConfigCache, t as resetCartId, u as resetFunnelConfigCache, v as saveFunnelDraft, w as stripCartToken, x as stripResumeToken } from '../cart-BwUwSzWh.js';
|
|
8
8
|
export { MedicationSelection, affiliateAuthStore, authStore, medicationStore } from '../stores/index.js';
|
|
9
9
|
export { A as AppliedPromoCode, C as CartItem, c as cartStore } from '../cart-o6DpAu5y.js';
|
|
10
|
-
import { AddressPair, SmsConsent } from '../
|
|
11
|
-
export { AccountSource, AddPharmacy, AddPharmacyFailure, AddPharmacyNotice, AddPharmacyState, AddStrengthInput, AddStrengthOutcome, AddedPharmacy, AddressErrors, AddressValue, AffiliateConversionsFlow, AffiliateDownlineFlow, AffiliateLinksFlow, AffiliateStatsFlow, AnswerValue, ApexBlockCode, AttentionAction, AttentionActionKind, AttentionItem, CartCaptureOptions, CartCheckoutFlow, CartCheckoutOutcome, CartCheckoutPricing, CartDropReason, CartReconcileState, CartReconciliation, CartSource, CatalogAvailabilityDecision, CatalogAvailabilityState, CatalogConversion, CatalogFailure, CatalogFlow, CategoryColorOpts, CheckoutFlow, CheckoutOutcome, Conversation, ConversionConverted, ConversionFailure, ConversionNotice, ConversionState, ConversionSummary, CreateCatalogProductOutcome, DEFAULT_COLOR_PALETTE, DashboardActivityItem, DashboardData, DashboardRxListItem, DashboardRxStatus, DashboardSubscription, DroppedCartLine, DrugResult, FindingCopy, FlatStep, FulfillmentRow, FulfillmentStage, FunnelTelemetry, JourneyState, JourneyStep, JourneyStepKey, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, MatchChoice, MatchProblem, MatchRecord, MatchRow, MatrixView, MedicationPricing, MedicationSelectFlow, MemberPortalData, MemberPortalRx, MemberPortalSubscription, MessagesChannel, MessagesIntent, MessagesThread, NewCatalogProductInput, OFFER_BEATS_PROMO_NOTICE, ORPHAN_REASON, OfferDiscount, PHONE_ERROR, PricingBreakdown, ProductCatalogEditor, ProductDetailFlow, PromoPricing, READINESS_LABEL, ReadinessStatus, ReconcileOptions, RefillEvent, RefillView, RegisterFlow, RegisterOutcome, RequestStatus, ResolvedStrength, RxRequestStatus, SOURCE_FIELD_NOTE, Severity, ShipmentInfo, SignupFlow, SignupOutcome, SmsConsentGrant, SmsConsentOffer, SmsNotice, SmsNoticeKind, SmsPreferencesFlow, StageState, StoredDosePrice, StrengthComparison, StrengthRow, StructureState, SubscribeFlow, SubscribeOutcome, SubscriptionIntakeFlow, SubscriptionIntakeOutcome, SurveyFlow, SurveyOption, SurveyOutcome, SurveyQuestion, SurveyResult, TERMINAL_SUBSCRIPTION_STATUSES, ThreadMessage, TimelineEvent, TimelineKind, Tone, TrackerRequest, TrackerRequestStatus, TrackerSubscription, TrackerSubscriptionStatus, TrackerView, TrackingUrlCarrier, US_STATES, US_STATE_OPTIONS, UpdatePaymentMethodFlow, UseAddPharmacyOptions, UseAddressPairOptions, UseCatalogConversionOptions, UseCheckoutFlowOptions, UseMedicationSelectOptions, UseMessagesThreadOptions, UseProductCatalogEditorOptions, UseSignupFlowOptions, UseSubscribeFlowOptions, UseSubscriptionIntakeFlowOptions, UseSurveyFlowOptions, ValidateAddressOptions, ValidatedResumedPromo, VisibilityCondition, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildSaveBody, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, canLeaveUnmatched, canOfferConversion, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyAddPharmacyError, classifyCatalogError, classifyConversionError, compareStrengths, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, describeConversion, emailGateAnswered, explainFinding, findStoredDosePrice, flaggedSubscribers, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, formatUsPhone, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, isValidUsPhone, lifecycleReason, liveDoses, lowestPrice, lowestSalePrice, markEmailGateAnswered, matchProblem, matchesComplete, missingPrices, moveInOrder, needsReview, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, parseMoney, pharmacyIsOnProduct, pharmacyLabel, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, restoreCartFromLink, salePriceForBase, skuBindingModeFor, sourceKey, sourceLabel, startCartCapture, stateAvailabilityNote, strengthsChanged, toChoices, toTrackerRequest, upsertDosePrice, useAddPharmacy, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCatalogConversion, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSmsConsent, useSmsPreferences, useSubscribeFlow, useSubscriptionIntakeFlow, useSurveyFlow, useUpdatePaymentMethodFlow, validateAddress, validateResumedPromo, visibleWarnings } from '../
|
|
10
|
+
import { A as AddressPair, S as SmsConsent, H as HostedCardField } from '../index-CEwbvyzz.js';
|
|
11
|
+
export { a as AccountSource, b as AddPharmacy, c as AddPharmacyFailure, d as AddPharmacyNotice, e as AddPharmacyState, f as AddStrengthInput, g as AddStrengthOutcome, h as AddedPharmacy, i as AddressErrors, j as AddressValue, k as AffiliateConversionsFlow, l as AffiliateDownlineFlow, m as AffiliateLinksFlow, n as AffiliateStatsFlow, o as AnswerValue, p as ApexBlockCode, q as AttentionAction, r as AttentionActionKind, s as AttentionItem, C as CartCaptureOptions, t as CartCheckoutFlow, u as CartCheckoutOutcome, v as CartCheckoutPricing, w as CartDropReason, x as CartReconcileState, y as CartReconciliation, z as CartSource, B as CatalogAvailabilityDecision, D as CatalogAvailabilityState, E as CatalogConversion, F as CatalogFailure, G as CatalogFlow, I as CategoryColorOpts, J as CheckoutFlow, K as CheckoutOutcome, L as Conversation, M as ConversionConverted, N as ConversionFailure, O as ConversionNotice, P as ConversionState, Q as ConversionSummary, R as CreateCatalogProductOutcome, T as DEFAULT_COLOR_PALETTE, U as DashboardActivityItem, V as DashboardData, W as DashboardRxListItem, X as DashboardRxStatus, Y as DashboardSubscription, Z as DroppedCartLine, _ as DrugResult, $ as FindingCopy, a0 as FlatStep, a1 as FulfillmentRow, a2 as FulfillmentStage, a3 as FunnelTelemetry, a4 as JourneyState, a5 as JourneyStep, a6 as JourneyStepKey, a7 as LIFECYCLE_BUCKETS, a8 as LIFECYCLE_LABEL, a9 as LIFECYCLE_TONE, aa as LIVE_SUBSCRIPTION_STATUSES, ab as MATCH_DEPENDENT_WARNINGS, ac as MATCH_HOW_LABEL, ad as MatchChoice, ae as MatchProblem, af as MatchRecord, ag as MatchRow, ah as MatrixView, ai as MedicationPricing, aj as MedicationSelectFlow, ak as MemberPortalData, al as MemberPortalRx, am as MemberPortalSubscription, an as MessagesChannel, ao as MessagesIntent, ap as MessagesThread, aq as NewCatalogProductInput, ar as OFFER_BEATS_PROMO_NOTICE, as as ORPHAN_REASON, at as OfferDiscount, au as PHONE_ERROR, av as PricingBreakdown, aw as ProductCatalogEditor, ax as ProductDetailFlow, ay as PromoPricing, az as READINESS_LABEL, aA as ReadinessStatus, aB as ReconcileOptions, aC as RefillEvent, aD as RefillView, aE as RegisterFlow, aF as RegisterOutcome, aG as RequestStatus, aH as ResolvedStrength, aI as RxRequestStatus, aJ as SOURCE_FIELD_NOTE, aK as Severity, aL as ShipmentInfo, aM as SignupFlow, aN as SignupOutcome, aO as SmsConsentGrant, aP as SmsConsentOffer, aQ as SmsNotice, aR as SmsNoticeKind, aS as SmsPreferencesFlow, aT as StageState, aU as StoredDosePrice, aV as StrengthComparison, aW as StrengthRow, aX as StructureState, aY as SubscribeFlow, aZ as SubscribeOutcome, a_ as SubscriptionIntakeFlow, a$ as SubscriptionIntakeOutcome, b0 as SurveyFlow, b1 as SurveyOption, b2 as SurveyOutcome, b3 as SurveyQuestion, b4 as SurveyResult, b5 as TERMINAL_SUBSCRIPTION_STATUSES, b6 as ThreadMessage, b7 as TimelineEvent, b8 as TimelineKind, b9 as Tone, ba as TrackerRequest, bb as TrackerRequestStatus, bc as TrackerSubscription, bd as TrackerSubscriptionStatus, be as TrackerView, bf as TrackingUrlCarrier, bg as US_STATES, bh as US_STATE_OPTIONS, bi as UpdatePaymentMethodFlow, bj as UseAddPharmacyOptions, bk as UseAddressPairOptions, bl as UseCatalogConversionOptions, bm as UseCheckoutFlowOptions, bn as UseMedicationSelectOptions, bo as UseMessagesThreadOptions, bp as UseProductCatalogEditorOptions, bq as UseSignupFlowOptions, br as UseSubscribeFlowOptions, bs as UseSubscriptionIntakeFlowOptions, bt as UseSurveyFlowOptions, bu as ValidateAddressOptions, bv as ValidatedResumedPromo, bw as VisibilityCondition, bx as accountSource, by as addCatalogItemAsProduct, bz as applyPriceDrafts, bA as availableStateOptions, bB as availableStates, bC as bestOfferDiscount, bD as buildFulfillmentRows, bE as buildMatrixView, bF as buildRefillView, bG as buildSaveBody, bH as buildStrengthRows, bI as buildTimeline, bJ as buildTrackerView, bK as buildTrackingUrl, bL as canLeaveUnmatched, bM as canOfferConversion, bN as captureFunnelEmail, bO as catalogUnavailableMessage, bP as categoryColor, bQ as classifyAddPharmacyError, bR as classifyCatalogError, bS as classifyConversionError, bT as compareStrengths, bU as createCatalogProduct, bV as createFunnelTelemetry, bW as deriveAttention, bX as deriveCatalogAvailabilityDecision, bY as deriveJourney, bZ as describeConversion, b_ as emailGateAnswered, b$ as explainFinding, c0 as findStoredDosePrice, c1 as flaggedSubscribers, c2 as formatCardNumber, c3 as formatConversationTime, c4 as formatCvv, c5 as formatEventDate, c6 as formatExpiry, c7 as formatMessageTime, c8 as formatRelativeTime, c9 as formatStageDate, ca as formatUsPhone, cb as groupDrugsByPharmacy, cc as hasBlockers, cd as hasConversion, ce as hasErrors, cf as initialMatches, cg as isCatalogItemId, ch as isCssColorValue, ci as isLive, cj as isQuestionVisible, ck as isReconcilable, cl as isValidUsPhone, cm as lifecycleReason, cn as liveDoses, co as lowestPrice, cp as lowestSalePrice, cq as markEmailGateAnswered, cr as matchProblem, cs as matchesComplete, ct as missingPrices, cu as moveInOrder, cv as needsReview, cw as normalizeState, cx as normalizeStates, cy as offerBeatsPromo, cz as offerDurationText, cA as offerSummaryText, cB as parseMoney, cC as pharmacyIsOnProduct, cD as pharmacyLabel, cE as primarySubscription, cF as readinessStatus, cG as reconcileCartAgainstCatalog, cH as reconcileCartLines, cI as redeemResumeLink, cJ as removeStoredDosePrice, cK as resetResumeRedemption, cL as resolveCategoryColor, cM as resolveStrengthPrices, cN as restoreCartFromLink, cO as salePriceForBase, cP as skuBindingModeFor, cQ as sourceKey, cR as sourceLabel, cS as startCartCapture, cT as stateAvailabilityNote, cU as strengthsChanged, cV as toChoices, cW as toTrackerRequest, cX as upsertDosePrice, cY as useAddPharmacy, cZ as useAddressPair, c_ as useAffiliateConversions, c$ as useAffiliateDownline, d0 as useAffiliateLinks, d1 as useAffiliateStats, d2 as useCartCheckoutFlow, d3 as useCartReconcile, d4 as useCatalog, d5 as useCatalogAvailability, d6 as useCatalogConversion, d7 as useCheckoutFlow, d8 as useDashboardData, d9 as useMedicationSelect, da as useMemberPortalData, db as useMessagesThread, dc as useProductCatalogEditor, dd as useProductDetail, de as useRegisterFlow, df as useSignupFlow, dg as useSmsConsent, dh as useSmsPreferences, di as useSubscribeFlow, dj as useSubscriptionIntakeFlow, dk as useSurveyFlow, dl as useUpdatePaymentMethodFlow, dm as validateAddress, dn as validateResumedPromo, dp as visibleWarnings } from '../index-CEwbvyzz.js';
|
|
12
12
|
export { U as UseSurveyV2FlowOptions, u as useSurveyV2Flow } from '../surveyV2-BgQHK0GE.js';
|
|
13
13
|
export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, AcceptAdminInvitePage, AcceptAdminInvitePageProps, AdminAuthAdapter, AdminDashboard, AdminDashboardProps, AdminTab, AdminTabGroup, AdminToast, AffiliateAuthAdapter, AffiliateForgotPassword, AffiliateForgotPasswordProps, AffiliateLogin, AffiliateLoginProps, AffiliatePortal, AffiliatePortalProps, AffiliatePortalTab, AffiliateRegister, AffiliateRegisterProps, AffiliateResetPassword, AffiliateResetPasswordProps, AffiliateSubTab, AffiliatesProps, CartCheckoutPage, CartCheckoutPageProps, CheckoutPage, CheckoutPageProps, EmailTemplates, ForgotPasswordPage, ForgotPasswordPageProps, LegalLink, MedicationGuideContent, MedicationGuideResolver, MemberAuthAdapter, MemberPortal, MemberPortalBrand, MemberPortalProps, MemberPortalRoutes, PatientDashboardPreview, PatientDashboardPreviewProps, RegisterPage, RegisterPageProps, ResetPasswordPage, ResetPasswordPageProps, SignupPage, SignupPageProps, SubscribePage, SubscribePageProps, SurveyPage, SurveyPageProps, SurveyV2Page, SurveyV2PageProps, UpdatePaymentMethod, UpdatePaymentMethodProps, adminTabFromPath, adminTabPath, affiliateSubTabFromPath, affiliateSubTabPath } from '../pages/index.js';
|
|
14
14
|
import * as solid_js from 'solid-js';
|
|
@@ -89,4 +89,44 @@ interface SmsConsentFieldProps {
|
|
|
89
89
|
*/
|
|
90
90
|
declare function SmsConsentField(props: SmsConsentFieldProps): solid_js.JSX.Element;
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
/**
|
|
93
|
+
* The card form for a gateway that hosts the card inputs in its own iframes
|
|
94
|
+
* (NMI Collect.js). Rather than three boxes that pretend to be the site's
|
|
95
|
+
* inputs, and fall just short, it is drawn as one deliberate "Card details"
|
|
96
|
+
* panel: a header with a lock and an Encrypted badge, the three fields as cells
|
|
97
|
+
* of one card, and a line saying where the card goes. The difference from the
|
|
98
|
+
* site's own inputs reads as intentional, because it is.
|
|
99
|
+
*
|
|
100
|
+
* Self-styled (a small stylesheet injected once), so it works on themed pages
|
|
101
|
+
* and on sites with their own CSS alike. Colors come from CSS custom
|
|
102
|
+
* properties, falling back to the flow theme's tokens, then to neutral defaults:
|
|
103
|
+
*
|
|
104
|
+
* --apc-card-bg, --apc-card-head-bg, --apc-card-border, --apc-card-radius,
|
|
105
|
+
* --apc-card-fg, --apc-card-muted, --apc-card-accent, --apc-card-danger,
|
|
106
|
+
* --apc-card-success
|
|
107
|
+
*
|
|
108
|
+
* Text size, color and font inside the fields follow the cell's computed style
|
|
109
|
+
* (the tokenizer hands them to the gateway, and asks Google Fonts for the
|
|
110
|
+
* page's font), so set `font-family` / `font-size` / `color` on the panel or an
|
|
111
|
+
* ancestor and the digits match.
|
|
112
|
+
*
|
|
113
|
+
* Usage, with any flow that takes a card:
|
|
114
|
+
* <Show when={flow.hostedCardFields()} fallback={<YourCardInputs />}>
|
|
115
|
+
* <SecureCardPanel register={flow.registerCardField} merchantName="HealthyBerri" />
|
|
116
|
+
* </Show>
|
|
117
|
+
*/
|
|
118
|
+
|
|
119
|
+
interface SecureCardPanelProps {
|
|
120
|
+
/** The flow's `registerCardField`. */
|
|
121
|
+
register: (field: HostedCardField, el: HTMLElement) => void;
|
|
122
|
+
/** Named in the reassurance line ("HealthyBerri never sees or stores the number"). */
|
|
123
|
+
merchantName?: string;
|
|
124
|
+
/** Header text. Default "Card details". */
|
|
125
|
+
title?: string;
|
|
126
|
+
/** All three fields in one row, for wide layouts (admin modals). */
|
|
127
|
+
inline?: boolean;
|
|
128
|
+
class?: string;
|
|
129
|
+
}
|
|
130
|
+
declare function SecureCardPanel(props: SecureCardPanelProps): JSX.Element;
|
|
131
|
+
|
|
132
|
+
export { AddressFields, type AddressFieldsProps, AddressPair, HostedCardField, SecureCardPanel, type SecureCardPanelProps, SmsConsent, SmsConsentField, type SmsConsentFieldProps };
|
package/dist/index/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import '../chunk/NVRAOAVV.js';
|
|
2
2
|
import '../chunk/XZVVZIRZ.js';
|
|
3
|
-
export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/
|
|
3
|
+
export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/T2VOCKL2.js';
|
|
4
4
|
export { adoptCartId, capturePromoCode, cartId, clearPromoCode, fetchCartConfig, fetchResumedCart, postCartSnapshot, readCartToken, readPromoCode, resetCartConfigCache, resetCartId, stripCartToken } from '../chunk/WCBIY4IC.js';
|
|
5
|
-
export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, AcceptAdminInvitePage, AddressFields, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SmsConsentField, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod, adminTabFromPath, adminTabPath, affiliateSubTabFromPath, affiliateSubTabPath } from '../chunk/
|
|
5
|
+
export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, AcceptAdminInvitePage, AddressFields, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SecureCardPanel, SignupPage, SmsConsentField, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod, adminTabFromPath, adminTabPath, affiliateSubTabFromPath, affiliateSubTabPath } from '../chunk/FKND7XXI.js';
|
|
6
6
|
export { EmbedApiError2 as ApexV2ApiError, EmbedApiError, createEmbedApiClient, disqualificationReasonText, disqualifiedDrugIds, qualifiedDrugIds } from '../chunk/LZWA44KD.js';
|
|
7
|
-
export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, ORPHAN_REASON, PHONE_ERROR, READINESS_LABEL, SOURCE_FIELD_NOTE, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildSaveBody, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, canLeaveUnmatched, canOfferConversion, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyAddPharmacyError, classifyCatalogError, classifyConversionError, compareStrengths, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, describeConversion, emailGateAnswered, explainFinding, findStoredDosePrice, flaggedSubscribers, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, formatUsPhone, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, isValidUsPhone, lifecycleReason, liveDoses, lowestPrice, lowestSalePrice, markEmailGateAnswered, matchProblem, matchesComplete, missingPrices, moveInOrder, needsReview, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, parseMoney, pharmacyIsOnProduct, pharmacyLabel, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, salePriceForBase, skuBindingModeFor, sourceKey, sourceLabel, stateAvailabilityNote, strengthsChanged, toChoices, toTrackerRequest, upsertDosePrice, useAddPharmacy, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCatalogConversion, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSmsConsent, useSmsPreferences, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress, visibleWarnings } from '../chunk/
|
|
7
|
+
export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, MATCH_DEPENDENT_WARNINGS, MATCH_HOW_LABEL, ORPHAN_REASON, PHONE_ERROR, READINESS_LABEL, SOURCE_FIELD_NOTE, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildSaveBody, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, canLeaveUnmatched, canOfferConversion, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyAddPharmacyError, classifyCatalogError, classifyConversionError, compareStrengths, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, describeConversion, emailGateAnswered, explainFinding, findStoredDosePrice, flaggedSubscribers, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, formatUsPhone, groupDrugsByPharmacy, hasBlockers, hasConversion, hasErrors, initialMatches, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, isValidUsPhone, lifecycleReason, liveDoses, lowestPrice, lowestSalePrice, markEmailGateAnswered, matchProblem, matchesComplete, missingPrices, moveInOrder, needsReview, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, parseMoney, pharmacyIsOnProduct, pharmacyLabel, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, salePriceForBase, skuBindingModeFor, sourceKey, sourceLabel, stateAvailabilityNote, strengthsChanged, toChoices, toTrackerRequest, upsertDosePrice, useAddPharmacy, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCatalogConversion, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSmsConsent, useSmsPreferences, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress, visibleWarnings } from '../chunk/LIGPTJRM.js';
|
|
8
8
|
export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/X4YVV27O.js';
|
|
9
9
|
export { adoptFunnelSessionId, captureAuthHeader, fetchFunnelConfig, fetchResumedDraft, fetchSmsConfig, funnelSessionId, peekFunnelSessionId, postFunnelEvent, readResumeToken, resetFunnelConfigCache, resetSmsConfigCache, saveFunnelDraft, stripResumeToken } from '../chunk/HDHO7WV2.js';
|
|
10
10
|
export { ADMIN_ROLES, ApiError, SUPPORT_ATTACHMENT_MAX_BYTES, SUPPORT_ATTACHMENT_MIME_TYPES, addressesApi, adminAffiliatesApi, adminApi, adminCatalogApi, adminCatalogConversionApi, adminProductPharmaciesApi, affiliateAuthStorageKey, affiliatePortalApi, apexApi, apiFetch, authApi, authStorageKey, captureAffiliateRef, catalogApi, clearAffiliateRef, clearAffiliateTokens, clearTokens, getAffiliateTokens, getTokens, membersApi, messagesApi, newIdempotencyKey, offersApi, onTokensCleared, ordersApi, paymentsApi, productsApi, promoCodesApi, readAffiliateRef, setAffiliateTokens, setTokens, subscriptionsApi, supportApi, usersApi } from '../chunk/PNQNOYWY.js';
|
package/dist/index/index.jsx
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
startCartCapture,
|
|
7
7
|
useSubscriptionIntakeFlow,
|
|
8
8
|
validateResumedPromo
|
|
9
|
-
} from "../chunk/
|
|
9
|
+
} from "../chunk/6IXANR5N.jsx";
|
|
10
10
|
import {
|
|
11
11
|
adoptCartId,
|
|
12
12
|
capturePromoCode,
|
|
@@ -40,6 +40,7 @@ import {
|
|
|
40
40
|
PatientDashboardPreview,
|
|
41
41
|
RegisterPage,
|
|
42
42
|
ResetPasswordPage,
|
|
43
|
+
SecureCardPanel,
|
|
43
44
|
SignupPage,
|
|
44
45
|
SmsConsentField,
|
|
45
46
|
SubscribePage,
|
|
@@ -50,7 +51,7 @@ import {
|
|
|
50
51
|
adminTabPath,
|
|
51
52
|
affiliateSubTabFromPath,
|
|
52
53
|
affiliateSubTabPath
|
|
53
|
-
} from "../chunk/
|
|
54
|
+
} from "../chunk/XJF3Z2IM.jsx";
|
|
54
55
|
import {
|
|
55
56
|
EmbedApiError,
|
|
56
57
|
EmbedApiError2,
|
|
@@ -191,7 +192,7 @@ import {
|
|
|
191
192
|
useUpdatePaymentMethodFlow,
|
|
192
193
|
validateAddress,
|
|
193
194
|
visibleWarnings
|
|
194
|
-
} from "../chunk/
|
|
195
|
+
} from "../chunk/6MPJIVNJ.jsx";
|
|
195
196
|
import {
|
|
196
197
|
affiliateAuth_default,
|
|
197
198
|
auth_default,
|
|
@@ -302,6 +303,7 @@ export {
|
|
|
302
303
|
SOURCE_FIELD_NOTE,
|
|
303
304
|
SUPPORT_ATTACHMENT_MAX_BYTES,
|
|
304
305
|
SUPPORT_ATTACHMENT_MIME_TYPES,
|
|
306
|
+
SecureCardPanel,
|
|
305
307
|
SignupPage,
|
|
306
308
|
SmsConsentField,
|
|
307
309
|
SubscribePage,
|