@apextelemed/partner-core 0.10.0-dev.24 → 0.11.0-dev.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/dist/api/index.js +4 -4
- package/dist/api/index.jsx +4 -4
- package/dist/chunk/2IFPDU4D.js +55 -0
- package/dist/chunk/2IFPDU4D.js.map +1 -0
- package/dist/chunk/{BNH4UOGN.js → 5W6SC6JO.js} +7 -7
- package/dist/chunk/{BNH4UOGN.js.map → 5W6SC6JO.js.map} +1 -1
- package/dist/chunk/{M2LV5JQD.js → 6K2CMG26.js} +4 -4
- package/dist/chunk/{M2LV5JQD.js.map → 6K2CMG26.js.map} +1 -1
- package/dist/chunk/{RRKAKQ77.jsx → 6OP52OQK.jsx} +3 -3
- package/dist/chunk/{VF7FTWCG.jsx → A3XK3UAQ.jsx} +3 -3
- package/dist/chunk/{XZXPLS3K.js → A56QXD45.js} +4 -4
- package/dist/chunk/{XZXPLS3K.js.map → A56QXD45.js.map} +1 -1
- package/dist/chunk/{XW4PEQPI.jsx → ALS5FXNC.jsx} +3 -3
- package/dist/chunk/{7MCMXXYQ.js → CLPOTUII.js} +3 -3
- package/dist/chunk/{7MCMXXYQ.js.map → CLPOTUII.js.map} +1 -1
- package/dist/chunk/{EZG74SQL.jsx → OBFYSGB6.jsx} +2 -2
- package/dist/chunk/{NHNMRJL6.js → POIS4SBW.js} +847 -447
- package/dist/chunk/POIS4SBW.js.map +1 -0
- package/dist/chunk/{FA4D2S5A.js → PT6E3DLE.js} +4 -4
- package/dist/chunk/{FA4D2S5A.js.map → PT6E3DLE.js.map} +1 -1
- package/dist/chunk/QVZ7BRNO.jsx +60 -0
- package/dist/chunk/{CLNLTAG7.jsx → RYISMGS2.jsx} +6 -6
- package/dist/chunk/{VG35MW6B.jsx → SIXC23N6.jsx} +5 -5
- package/dist/chunk/{JKUWPGEW.js → WL6HP6BE.js} +6 -6
- package/dist/chunk/{JKUWPGEW.js.map → WL6HP6BE.js.map} +1 -1
- package/dist/chunk/{FM3JH2ZD.jsx → WO4H2CXD.jsx} +572 -389
- package/dist/config/index.js +1 -1
- package/dist/config/index.jsx +1 -1
- package/dist/flows/index.js +7 -7
- package/dist/flows/index.jsx +7 -7
- package/dist/index/index.js +8 -8
- package/dist/index/index.jsx +8 -8
- package/dist/pages/index.d.ts +1 -1
- package/dist/pages/index.js +6 -6
- package/dist/pages/index.jsx +6 -6
- package/dist/stores/index.js +3 -3
- package/dist/stores/index.jsx +3 -3
- package/package.json +1 -1
- package/dist/chunk/5XGPFYIJ.js +0 -26
- package/dist/chunk/5XGPFYIJ.js.map +0 -1
- package/dist/chunk/LDZIUFDM.jsx +0 -31
- package/dist/chunk/NHNMRJL6.js.map +0 -1
package/dist/config/index.js
CHANGED
package/dist/config/index.jsx
CHANGED
package/dist/flows/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/
|
|
2
|
-
import '../chunk/
|
|
3
|
-
export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, ORPHAN_REASON, READINESS_LABEL, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyCatalogError, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, emailGateAnswered, findStoredDosePrice, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, groupDrugsByPharmacy, hasErrors, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, lifecycleReason, lowestPrice, lowestSalePrice, markEmailGateAnswered, moveInOrder, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, salePriceForBase, skuBindingModeFor, stateAvailabilityNote, toTrackerRequest, upsertDosePrice, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress } from '../chunk/
|
|
4
|
-
import '../chunk/
|
|
5
|
-
import '../chunk/
|
|
6
|
-
import '../chunk/
|
|
7
|
-
import '../chunk/
|
|
1
|
+
export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/5W6SC6JO.js';
|
|
2
|
+
import '../chunk/A56QXD45.js';
|
|
3
|
+
export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, ORPHAN_REASON, READINESS_LABEL, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyCatalogError, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, emailGateAnswered, findStoredDosePrice, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, groupDrugsByPharmacy, hasErrors, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, lifecycleReason, lowestPrice, lowestSalePrice, markEmailGateAnswered, moveInOrder, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, salePriceForBase, skuBindingModeFor, stateAvailabilityNote, toTrackerRequest, upsertDosePrice, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress } from '../chunk/WL6HP6BE.js';
|
|
4
|
+
import '../chunk/6K2CMG26.js';
|
|
5
|
+
import '../chunk/PT6E3DLE.js';
|
|
6
|
+
import '../chunk/CLPOTUII.js';
|
|
7
|
+
import '../chunk/2IFPDU4D.js';
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
package/dist/flows/index.jsx
CHANGED
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
startCartCapture,
|
|
5
5
|
useSubscriptionIntakeFlow,
|
|
6
6
|
validateResumedPromo
|
|
7
|
-
} from "../chunk/
|
|
8
|
-
import "../chunk/
|
|
7
|
+
} from "../chunk/RYISMGS2.jsx";
|
|
8
|
+
import "../chunk/A3XK3UAQ.jsx";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_COLOR_PALETTE,
|
|
11
11
|
LIFECYCLE_BUCKETS,
|
|
@@ -103,11 +103,11 @@ import {
|
|
|
103
103
|
useSurveyV2Flow,
|
|
104
104
|
useUpdatePaymentMethodFlow,
|
|
105
105
|
validateAddress
|
|
106
|
-
} from "../chunk/
|
|
107
|
-
import "../chunk/
|
|
108
|
-
import "../chunk/
|
|
109
|
-
import "../chunk/
|
|
110
|
-
import "../chunk/
|
|
106
|
+
} from "../chunk/SIXC23N6.jsx";
|
|
107
|
+
import "../chunk/ALS5FXNC.jsx";
|
|
108
|
+
import "../chunk/6OP52OQK.jsx";
|
|
109
|
+
import "../chunk/OBFYSGB6.jsx";
|
|
110
|
+
import "../chunk/QVZ7BRNO.jsx";
|
|
111
111
|
export {
|
|
112
112
|
DEFAULT_COLOR_PALETTE,
|
|
113
113
|
LIFECYCLE_BUCKETS,
|
package/dist/index/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import '../chunk/JSHO46VZ.js';
|
|
2
|
-
export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/
|
|
3
|
-
export { adoptCartId, capturePromoCode, cartId, clearPromoCode, fetchCartConfig, fetchResumedCart, postCartSnapshot, readCartToken, readPromoCode, resetCartConfigCache, resetCartId, stripCartToken } from '../chunk/
|
|
4
|
-
export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, AddressFields, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod, adminTabFromPath, adminTabPath, affiliateSubTabFromPath, affiliateSubTabPath } from '../chunk/
|
|
2
|
+
export { OFFER_BEATS_PROMO_NOTICE, restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/5W6SC6JO.js';
|
|
3
|
+
export { adoptCartId, capturePromoCode, cartId, clearPromoCode, fetchCartConfig, fetchResumedCart, postCartSnapshot, readCartToken, readPromoCode, resetCartConfigCache, resetCartId, stripCartToken } from '../chunk/A56QXD45.js';
|
|
4
|
+
export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, AddressFields, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod, adminTabFromPath, adminTabPath, affiliateSubTabFromPath, affiliateSubTabPath } from '../chunk/POIS4SBW.js';
|
|
5
5
|
export { EmbedApiError2 as ApexV2ApiError, EmbedApiError, createEmbedApiClient, disqualificationReasonText, disqualifiedDrugIds, qualifiedDrugIds } from '../chunk/LZWA44KD.js';
|
|
6
|
-
export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, ORPHAN_REASON, READINESS_LABEL, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyCatalogError, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, emailGateAnswered, findStoredDosePrice, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, groupDrugsByPharmacy, hasErrors, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, lifecycleReason, lowestPrice, lowestSalePrice, markEmailGateAnswered, moveInOrder, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, salePriceForBase, skuBindingModeFor, stateAvailabilityNote, toTrackerRequest, upsertDosePrice, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress } from '../chunk/
|
|
7
|
-
export { adoptFunnelSessionId, captureAuthHeader, fetchFunnelConfig, fetchResumedDraft, funnelSessionId, peekFunnelSessionId, postFunnelEvent, readResumeToken, resetFunnelConfigCache, saveFunnelDraft, stripResumeToken } from '../chunk/
|
|
6
|
+
export { DEFAULT_COLOR_PALETTE, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, ORPHAN_REASON, READINESS_LABEL, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, addCatalogItemAsProduct, applyPriceDrafts, availableStateOptions, availableStates, bestOfferDiscount, buildFulfillmentRows, buildMatrixView, buildRefillView, buildStrengthRows, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, catalogUnavailableMessage, categoryColor, classifyCatalogError, createCatalogProduct, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, emailGateAnswered, findStoredDosePrice, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, groupDrugsByPharmacy, hasErrors, isCatalogItemId, isCssColorValue, isLive, isQuestionVisible, isReconcilable, lifecycleReason, lowestPrice, lowestSalePrice, markEmailGateAnswered, moveInOrder, normalizeState, normalizeStates, offerBeatsPromo, offerDurationText, offerSummaryText, primarySubscription, readinessStatus, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, removeStoredDosePrice, resetResumeRedemption, resolveCategoryColor, resolveStrengthPrices, salePriceForBase, skuBindingModeFor, stateAvailabilityNote, toTrackerRequest, upsertDosePrice, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, useProductCatalogEditor, useProductDetail, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress } from '../chunk/WL6HP6BE.js';
|
|
7
|
+
export { adoptFunnelSessionId, captureAuthHeader, fetchFunnelConfig, fetchResumedDraft, funnelSessionId, peekFunnelSessionId, postFunnelEvent, readResumeToken, resetFunnelConfigCache, saveFunnelDraft, stripResumeToken } from '../chunk/6K2CMG26.js';
|
|
8
8
|
export { PrimitivesProvider, usePrimitives } from '../chunk/67KHO66G.js';
|
|
9
9
|
export { defaultPrimitives } from '../chunk/EXXI5Y7I.js';
|
|
10
10
|
import '../chunk/NVRAOAVV.js';
|
|
11
|
-
export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/
|
|
12
|
-
export { ApiError, SUPPORT_ATTACHMENT_MAX_BYTES, SUPPORT_ATTACHMENT_MIME_TYPES, addressesApi, adminAffiliatesApi, adminApi, adminCatalogApi, 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/
|
|
13
|
-
export { configure, getConfig } from '../chunk/
|
|
11
|
+
export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/PT6E3DLE.js';
|
|
12
|
+
export { ApiError, SUPPORT_ATTACHMENT_MAX_BYTES, SUPPORT_ATTACHMENT_MIME_TYPES, addressesApi, adminAffiliatesApi, adminApi, adminCatalogApi, 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/CLPOTUII.js';
|
|
13
|
+
export { configure, getConfig } from '../chunk/2IFPDU4D.js';
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
15
15
|
//# sourceMappingURL=index.js.map
|
package/dist/index/index.jsx
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
startCartCapture,
|
|
6
6
|
useSubscriptionIntakeFlow,
|
|
7
7
|
validateResumedPromo
|
|
8
|
-
} from "../chunk/
|
|
8
|
+
} from "../chunk/RYISMGS2.jsx";
|
|
9
9
|
import {
|
|
10
10
|
adoptCartId,
|
|
11
11
|
capturePromoCode,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
resetCartConfigCache,
|
|
20
20
|
resetCartId,
|
|
21
21
|
stripCartToken
|
|
22
|
-
} from "../chunk/
|
|
22
|
+
} from "../chunk/A3XK3UAQ.jsx";
|
|
23
23
|
import {
|
|
24
24
|
ADMIN_TAB_SEGMENTS,
|
|
25
25
|
AFFILIATE_SUB_TAB_SEGMENTS,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
adminTabPath,
|
|
48
48
|
affiliateSubTabFromPath,
|
|
49
49
|
affiliateSubTabPath
|
|
50
|
-
} from "../chunk/
|
|
50
|
+
} from "../chunk/WO4H2CXD.jsx";
|
|
51
51
|
import {
|
|
52
52
|
EmbedApiError,
|
|
53
53
|
EmbedApiError2,
|
|
@@ -153,7 +153,7 @@ import {
|
|
|
153
153
|
useSurveyV2Flow,
|
|
154
154
|
useUpdatePaymentMethodFlow,
|
|
155
155
|
validateAddress
|
|
156
|
-
} from "../chunk/
|
|
156
|
+
} from "../chunk/SIXC23N6.jsx";
|
|
157
157
|
import {
|
|
158
158
|
adoptFunnelSessionId,
|
|
159
159
|
captureAuthHeader,
|
|
@@ -166,7 +166,7 @@ import {
|
|
|
166
166
|
resetFunnelConfigCache,
|
|
167
167
|
saveFunnelDraft,
|
|
168
168
|
stripResumeToken
|
|
169
|
-
} from "../chunk/
|
|
169
|
+
} from "../chunk/ALS5FXNC.jsx";
|
|
170
170
|
import {
|
|
171
171
|
PrimitivesProvider,
|
|
172
172
|
usePrimitives
|
|
@@ -180,7 +180,7 @@ import {
|
|
|
180
180
|
auth_default,
|
|
181
181
|
cart_default,
|
|
182
182
|
medication_default
|
|
183
|
-
} from "../chunk/
|
|
183
|
+
} from "../chunk/6OP52OQK.jsx";
|
|
184
184
|
import {
|
|
185
185
|
ApiError,
|
|
186
186
|
SUPPORT_ATTACHMENT_MAX_BYTES,
|
|
@@ -217,11 +217,11 @@ import {
|
|
|
217
217
|
subscriptionsApi,
|
|
218
218
|
supportApi,
|
|
219
219
|
usersApi
|
|
220
|
-
} from "../chunk/
|
|
220
|
+
} from "../chunk/OBFYSGB6.jsx";
|
|
221
221
|
import {
|
|
222
222
|
configure,
|
|
223
223
|
getConfig
|
|
224
|
-
} from "../chunk/
|
|
224
|
+
} from "../chunk/QVZ7BRNO.jsx";
|
|
225
225
|
export {
|
|
226
226
|
ADMIN_TAB_SEGMENTS,
|
|
227
227
|
AFFILIATE_SUB_TAB_SEGMENTS,
|
package/dist/pages/index.d.ts
CHANGED
|
@@ -317,7 +317,7 @@ interface AdminAuthAdapter {
|
|
|
317
317
|
}
|
|
318
318
|
type AdminTab = 'dashboard' | 'customers' | 'payments'
|
|
319
319
|
/** @deprecated Subscriptions live in the customer 360; this id renders the Customers tab filtered to active subscribers. */
|
|
320
|
-
| 'subscriptions' | 'products' | 'categories' | 'sales' | 'promo-codes' | 'offers' | 'affiliates' | 'support' | 'webhooks' | 'email-templates' | 'funnel' | 'sequences' | 'email-notifications' | 'features';
|
|
320
|
+
| 'subscriptions' | 'products' | 'categories' | 'sales' | 'promo-codes' | 'offers' | 'affiliates' | 'support' | 'webhooks' | 'email-templates' | 'funnel' | 'sequences' | 'sequence-results' | 'email-notifications' | 'features';
|
|
321
321
|
interface AdminTabGroup {
|
|
322
322
|
/** Section header rendered above the items (uppercase, muted). */
|
|
323
323
|
label: string;
|
package/dist/pages/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod, adminTabFromPath, adminTabPath, affiliateSubTabFromPath, affiliateSubTabPath } from '../chunk/
|
|
1
|
+
export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod, adminTabFromPath, adminTabPath, affiliateSubTabFromPath, affiliateSubTabPath } from '../chunk/POIS4SBW.js';
|
|
2
2
|
import '../chunk/LZWA44KD.js';
|
|
3
|
-
import '../chunk/
|
|
4
|
-
import '../chunk/
|
|
3
|
+
import '../chunk/WL6HP6BE.js';
|
|
4
|
+
import '../chunk/6K2CMG26.js';
|
|
5
5
|
import '../chunk/67KHO66G.js';
|
|
6
|
-
import '../chunk/
|
|
7
|
-
import '../chunk/
|
|
8
|
-
import '../chunk/
|
|
6
|
+
import '../chunk/PT6E3DLE.js';
|
|
7
|
+
import '../chunk/CLPOTUII.js';
|
|
8
|
+
import '../chunk/2IFPDU4D.js';
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
10
10
|
//# sourceMappingURL=index.js.map
|
package/dist/pages/index.jsx
CHANGED
|
@@ -24,14 +24,14 @@ import {
|
|
|
24
24
|
adminTabPath,
|
|
25
25
|
affiliateSubTabFromPath,
|
|
26
26
|
affiliateSubTabPath
|
|
27
|
-
} from "../chunk/
|
|
27
|
+
} from "../chunk/WO4H2CXD.jsx";
|
|
28
28
|
import "../chunk/UZCST66N.jsx";
|
|
29
|
-
import "../chunk/
|
|
30
|
-
import "../chunk/
|
|
29
|
+
import "../chunk/SIXC23N6.jsx";
|
|
30
|
+
import "../chunk/ALS5FXNC.jsx";
|
|
31
31
|
import "../chunk/J63XPQP4.jsx";
|
|
32
|
-
import "../chunk/
|
|
33
|
-
import "../chunk/
|
|
34
|
-
import "../chunk/
|
|
32
|
+
import "../chunk/6OP52OQK.jsx";
|
|
33
|
+
import "../chunk/OBFYSGB6.jsx";
|
|
34
|
+
import "../chunk/QVZ7BRNO.jsx";
|
|
35
35
|
export {
|
|
36
36
|
ADMIN_TAB_SEGMENTS,
|
|
37
37
|
AFFILIATE_SUB_TAB_SEGMENTS,
|
package/dist/stores/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../chunk/NVRAOAVV.js';
|
|
2
|
-
export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/
|
|
3
|
-
import '../chunk/
|
|
4
|
-
import '../chunk/
|
|
2
|
+
export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/PT6E3DLE.js';
|
|
3
|
+
import '../chunk/CLPOTUII.js';
|
|
4
|
+
import '../chunk/2IFPDU4D.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
package/dist/stores/index.jsx
CHANGED
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
auth_default,
|
|
5
5
|
cart_default,
|
|
6
6
|
medication_default
|
|
7
|
-
} from "../chunk/
|
|
8
|
-
import "../chunk/
|
|
9
|
-
import "../chunk/
|
|
7
|
+
} from "../chunk/6OP52OQK.jsx";
|
|
8
|
+
import "../chunk/OBFYSGB6.jsx";
|
|
9
|
+
import "../chunk/QVZ7BRNO.jsx";
|
|
10
10
|
export {
|
|
11
11
|
affiliateAuth_default as affiliateAuthStore,
|
|
12
12
|
auth_default as authStore,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apextelemed/partner-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0-dev.26",
|
|
4
4
|
"description": "Shared frontend library for telehealth patient portals (api client, stores, headless flows).",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"repository": {
|
package/dist/chunk/5XGPFYIJ.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// src/config.tsx
|
|
2
|
-
var current = null;
|
|
3
|
-
var configuredListeners = /* @__PURE__ */ new Set();
|
|
4
|
-
function configure(c) {
|
|
5
|
-
current = c;
|
|
6
|
-
for (const cb of configuredListeners) {
|
|
7
|
-
try {
|
|
8
|
-
cb();
|
|
9
|
-
} catch {
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
function onConfigured(cb) {
|
|
14
|
-
if (current) cb();
|
|
15
|
-
else configuredListeners.add(cb);
|
|
16
|
-
}
|
|
17
|
-
function getConfig() {
|
|
18
|
-
if (!current) {
|
|
19
|
-
throw new Error("the-frontend: configure({ apiBase, tenantKey, storagePrefix }) must be called before any API or store is used.");
|
|
20
|
-
}
|
|
21
|
-
return current;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export { configure, getConfig, onConfigured };
|
|
25
|
-
//# sourceMappingURL=5XGPFYIJ.js.map
|
|
26
|
-
//# sourceMappingURL=5XGPFYIJ.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/config.tsx"],"names":["current","configuredListeners","Set","configure","c","cb","onConfigured","add","getConfig","Error"],"mappings":";AA4CA,IAAIA,OAAAA,GAA+B,IAAA;AACnC,IAAMC,mBAAAA,uBAA0BC,GAAAA,EAAgB;AAEzC,SAASC,UAAUC,CAAAA,EAAuB;AAC/CJ,EAAAA,OAAAA,GAAUI,CAAAA;AAGV,EAAA,KAAA,MAAWC,MAAMJ,mBAAAA,EAAqB;AACpC,IAAA,IAAI;AACFI,MAAAA,EAAAA,EAAG;IACL,CAAA,CAAA,MAAQ;AACN,IAAA;AAEJ,EAAA;AACF;AASO,SAASC,aAAaD,EAAAA,EAAsB;AACjD,EAAA,IAAIL,SAASK,EAAAA,EAAG;AACXJ,OAAAA,mBAAAA,CAAoBM,IAAIF,EAAE,CAAA;AACjC;AAEO,SAASG,SAAAA,GAA0B;AACxC,EAAA,IAAI,CAACR,OAAAA,EAAS;AACZ,IAAA,MAAM,IAAIS,MACR,gHACF,CAAA;AACF,EAAA;AACA,EAAA,OAAOT,OAAAA;AACT","file":"5XGPFYIJ.js","sourcesContent":["export interface PortalConfig {\n /** Base URL for backend API requests, e.g. `/api` or `https://api.example.com`. */\n apiBase: string;\n /** Value sent in the `X-Tenant-Key` header to identify this site to the multi-tenant backend. */\n tenantKey: string;\n /** Prefix for localStorage keys (auth tokens, cart, etc.). Pick something unique per site to avoid collisions when multiple sites share an origin in dev. */\n storagePrefix: string;\n /**\n * Base URL for the Apex Telemed v2 embedded survey API. The browser hits this\n * directly (no proxy) using `apexPublishableKey` + the partner's allowed-origin\n * allowlist on the Apex side. Required to use `apexV2Api` / `useSurveyV2Flow`\n * / `SurveyV2Page`. Example: `https://apextelemed.com/api` in prod,\n * `http://localhost:8080/api` in dev.\n */\n apexEmbedApiBase?: string;\n /** Partner's publishable key (pk_*). Safe to ship in client JS. */\n apexPublishableKey?: string;\n /**\n * USPS codes (e.g. `['DE']`) of states this tenant cannot serve. They are\n * omitted from every state dropdown fed by `stateOptions()` /\n * `availableStates()`, and shipping-address validation rejects them (so a\n * previously saved address in one of these states can't slip through\n * prefill). Billing addresses are NOT restricted — the restriction is about\n * where medications ship. Omit for the default: all 50 states + DC.\n */\n unavailableStates?: string[];\n /**\n * Short user-facing note rendered near state dropdowns when\n * `unavailableStates` is set, e.g. \"Acme cannot provide medications to\n * customers in Delaware.\" Also used as the validation message when a saved\n * address falls in an unavailable state.\n */\n unavailableStatesNote?: string;\n /**\n * Send an `Idempotency-Key` header on charge/create requests so the backend\n * can dedupe a retried-after-network-drop or double-clicked mutation instead\n * of double-charging / double-creating. Default OFF: leave disabled until the\n * backend both (a) CORS-allow-lists the `Idempotency-Key` request header —\n * otherwise the preflight fails and the request is blocked — and (b) actually\n * honors the key for dedup. Flip to `true` per tenant once both are live.\n */\n idempotencyKeys?: boolean;\n}\n\nlet current: PortalConfig | null = null;\nconst configuredListeners = new Set<() => void>();\n\nexport function configure(c: PortalConfig): void {\n current = c;\n // Notify anything that deferred work until config was available (e.g. auth\n // stores that must not read token storage before `storagePrefix` is known).\n for (const cb of configuredListeners) {\n try {\n cb();\n } catch {\n // A listener must never break configure().\n }\n }\n}\n\n/**\n * Run `cb` once configuration is available: immediately if `configure()` has\n * already been called, otherwise on the next `configure()`. Module-internal —\n * intentionally not re-exported from the package entrypoint. Lets the singleton\n * stores hydrate after boot instead of snapshotting storage at import time\n * (which runs before the host site calls `configure()`).\n */\nexport function onConfigured(cb: () => void): void {\n if (current) cb();\n else configuredListeners.add(cb);\n}\n\nexport function getConfig(): PortalConfig {\n if (!current) {\n throw new Error(\n 'the-frontend: configure({ apiBase, tenantKey, storagePrefix }) must be called before any API or store is used.',\n );\n }\n return current;\n}\n"]}
|
package/dist/chunk/LDZIUFDM.jsx
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
// src/config.tsx
|
|
2
|
-
var current = null;
|
|
3
|
-
var configuredListeners = /* @__PURE__ */ new Set();
|
|
4
|
-
function configure(c) {
|
|
5
|
-
current = c;
|
|
6
|
-
for (const cb of configuredListeners) {
|
|
7
|
-
try {
|
|
8
|
-
cb();
|
|
9
|
-
} catch {
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
function onConfigured(cb) {
|
|
14
|
-
if (current) cb();
|
|
15
|
-
else configuredListeners.add(cb);
|
|
16
|
-
}
|
|
17
|
-
function getConfig() {
|
|
18
|
-
if (!current) {
|
|
19
|
-
throw new Error(
|
|
20
|
-
"the-frontend: configure({ apiBase, tenantKey, storagePrefix }) must be called before any API or store is used."
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
return current;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export {
|
|
27
|
-
configure,
|
|
28
|
-
onConfigured,
|
|
29
|
-
getConfig
|
|
30
|
-
};
|
|
31
|
-
//# sourceMappingURL=LDZIUFDM.jsx.map
|