@apextelemed/partner-core 0.6.3 → 0.6.4
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/{UCF2EXRL.js → MTCQREMZ.js} +236 -216
- package/dist/chunk/MTCQREMZ.js.map +1 -0
- package/dist/chunk/{WODHGSBM.jsx → ZDBW3JDO.jsx} +12 -3
- package/dist/index/index.js +1 -1
- package/dist/index/index.jsx +1 -1
- package/dist/pages/index.js +1 -1
- package/dist/pages/index.jsx +1 -1
- package/package.json +1 -1
- package/dist/chunk/UCF2EXRL.js.map +0 -1
|
@@ -14350,7 +14350,7 @@ function daysAgo(iso) {
|
|
|
14350
14350
|
}
|
|
14351
14351
|
|
|
14352
14352
|
// src/pages/admin/Sequences.tsx
|
|
14353
|
-
var
|
|
14353
|
+
var FALLBACK_LINKS = ["members", "resume_survey", "home", "none"];
|
|
14354
14354
|
var EMPTY_STEP = { waitHours: 24, templateId: "", link: "members" };
|
|
14355
14355
|
function blankSequence() {
|
|
14356
14356
|
return {
|
|
@@ -14548,7 +14548,14 @@ function StepRow(props) {
|
|
|
14548
14548
|
Edit template
|
|
14549
14549
|
</button>
|
|
14550
14550
|
<select class="app-admin-input" aria-label={`Step ${props.index + 1} link`} value={props.step.link} onChange={(e) => set("link", e.currentTarget.value)}>
|
|
14551
|
-
|
|
14551
|
+
{
|
|
14552
|
+
/* A saved step can name a destination this site no longer offers (its
|
|
14553
|
+
cart was removed); keep it visible so the rep sees what to fix. */
|
|
14554
|
+
}
|
|
14555
|
+
<Show43 when={props.step.link && !props.links.includes(props.step.link)}>
|
|
14556
|
+
<option value={props.step.link}>{LINK_LABEL[props.step.link]} (unavailable)</option>
|
|
14557
|
+
</Show43>
|
|
14558
|
+
<For31 each={props.links}>{(l) => <option value={l}>{LINK_LABEL[l]}</option>}</For31>
|
|
14552
14559
|
</select>
|
|
14553
14560
|
<div style={{ display: "flex", gap: "0.25rem" }}>
|
|
14554
14561
|
<button type="button" class="app-admin-btn app-admin-btn-ghost app-admin-btn-sm" disabled={!props.canTest} title={props.canTest ? "Email this step to me" : "Save first"} onClick={() => props.onTest()}>Test</button>
|
|
@@ -14731,6 +14738,7 @@ function SequenceEditor(props) {
|
|
|
14731
14738
|
step={step()}
|
|
14732
14739
|
count={draft().steps.length}
|
|
14733
14740
|
templates={props.templates}
|
|
14741
|
+
links={props.links}
|
|
14734
14742
|
canTest={!isNew()}
|
|
14735
14743
|
onChange={(s) => setStep(i, s)}
|
|
14736
14744
|
onRemove={() => update({ steps: draft().steps.filter((_, j) => j !== i) })}
|
|
@@ -14888,6 +14896,7 @@ function Sequences() {
|
|
|
14888
14896
|
{(seq) => <SequenceEditor
|
|
14889
14897
|
initial={seq()}
|
|
14890
14898
|
templates={customTemplates()}
|
|
14899
|
+
links={list()?.links ?? FALLBACK_LINKS}
|
|
14891
14900
|
onSaved={(saved) => {
|
|
14892
14901
|
setEditing(saved);
|
|
14893
14902
|
setReload(reload() + 1);
|
|
@@ -19930,4 +19939,4 @@ export {
|
|
|
19930
19939
|
AffiliateForgotPassword,
|
|
19931
19940
|
AffiliateResetPassword
|
|
19932
19941
|
};
|
|
19933
|
-
//# sourceMappingURL=
|
|
19942
|
+
//# sourceMappingURL=ZDBW3JDO.jsx.map
|
package/dist/index/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../chunk/JSHO46VZ.js';
|
|
2
2
|
export { DEFAULT_COLOR_PALETTE, categoryColor, lowestPrice, lowestSalePrice, restoreCartFromLink, startCartCapture, useCatalog, useMedicationSelect, useProductDetail, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/NSRQXBHK.js';
|
|
3
3
|
export { adoptCartId, capturePromoCode, cartId, clearPromoCode, fetchCartConfig, fetchResumedCart, postCartSnapshot, readCartToken, readPromoCode, resetCartConfigCache, resetCartId, stripCartToken } from '../chunk/BVLA7ATM.js';
|
|
4
|
-
export { AddressFields, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod } from '../chunk/
|
|
4
|
+
export { AddressFields, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod } from '../chunk/MTCQREMZ.js';
|
|
5
5
|
export { EmbedApiError2 as ApexV2ApiError, EmbedApiError, createEmbedApiClient, disqualificationReasonText, disqualifiedDrugIds, qualifiedDrugIds } from '../chunk/LZWA44KD.js';
|
|
6
6
|
export { LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, LIFECYCLE_TONE, LIVE_SUBSCRIPTION_STATUSES, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, availableStateOptions, availableStates, buildRefillView, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, createFunnelTelemetry, deriveAttention, deriveJourney, emailGateAnswered, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, hasErrors, isLive, isQuestionVisible, isReconcilable, lifecycleReason, markEmailGateAnswered, normalizeState, primarySubscription, redeemResumeLink, resetResumeRedemption, stateAvailabilityNote, toTrackerRequest, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCheckoutFlow, useDashboardData, useMemberPortalData, useMessagesThread, useRegisterFlow, useSignupFlow, useSubscribeFlow, useSurveyFlow, useSurveyV2Flow, useUpdatePaymentMethodFlow, validateAddress } from '../chunk/WUE4VQBA.js';
|
|
7
7
|
export { adoptFunnelSessionId, captureAuthHeader, fetchFunnelConfig, fetchResumedDraft, funnelSessionId, peekFunnelSessionId, postFunnelEvent, readResumeToken, resetFunnelConfigCache, saveFunnelDraft, stripResumeToken } from '../chunk/QTGJY3YQ.js';
|
package/dist/index/index.jsx
CHANGED
package/dist/pages/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod } from '../chunk/
|
|
1
|
+
export { AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod } from '../chunk/MTCQREMZ.js';
|
|
2
2
|
import '../chunk/LZWA44KD.js';
|
|
3
3
|
import '../chunk/WUE4VQBA.js';
|
|
4
4
|
import '../chunk/QTGJY3YQ.js';
|
package/dist/pages/index.jsx
CHANGED
package/package.json
CHANGED