@apextelemed/partner-core 0.9.0 → 0.10.0-dev.21
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 +26 -0
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.js +3 -3
- package/dist/api/index.jsx +5 -3
- package/dist/chunk/{AJR7CBZ3.js → 4CTTOSOW.js} +3 -3
- package/dist/chunk/{AJR7CBZ3.js.map → 4CTTOSOW.js.map} +1 -1
- package/dist/chunk/{VKSLQCMA.jsx → 75F4YFYC.jsx} +725 -5
- package/dist/chunk/{NTYUIUQO.jsx → BALHOD46.jsx} +74 -2
- package/dist/chunk/{MCSS436N.js → CYGHTTCA.js} +2495 -1132
- package/dist/chunk/CYGHTTCA.js.map +1 -0
- package/dist/chunk/{MUEGVUP2.jsx → DBW2RWHV.jsx} +2 -2
- package/dist/chunk/{Y2VD7NYA.js → DHVOZQQ2.js} +3 -3
- package/dist/chunk/{Y2VD7NYA.js.map → DHVOZQQ2.js.map} +1 -1
- package/dist/chunk/{C7RXQWXM.jsx → ET3GPUTR.jsx} +5 -5
- package/dist/chunk/{65LD7XAZ.js → JL7B6RHG.js} +3 -3
- package/dist/chunk/{65LD7XAZ.js.map → JL7B6RHG.js.map} +1 -1
- package/dist/chunk/{35C2PAUI.js → L2ZMGXWR.js} +699 -6
- package/dist/chunk/L2ZMGXWR.js.map +1 -0
- package/dist/chunk/{75B7QHIN.js → NSEWFPUP.js} +75 -4
- package/dist/chunk/NSEWFPUP.js.map +1 -0
- package/dist/chunk/{IYLVDYRI.jsx → OA3A3PUC.jsx} +2028 -926
- package/dist/chunk/{DEDIHIWD.jsx → QIBVNW2V.jsx} +2 -2
- package/dist/chunk/{JOX6EJMB.js → TYXWVNC3.js} +6 -6
- package/dist/chunk/{JOX6EJMB.js.map → TYXWVNC3.js.map} +1 -1
- package/dist/chunk/{33QXG46Z.jsx → ZW2HBOS5.jsx} +2 -2
- package/dist/{client-RY9ghN5Q.d.ts → client-CDpCqI4d.d.ts} +184 -2
- package/dist/flows/index.d.ts +333 -2
- package/dist/flows/index.js +6 -6
- package/dist/flows/index.jsx +46 -6
- package/dist/index/index.d.ts +2 -2
- package/dist/index/index.js +7 -7
- package/dist/index/index.jsx +49 -7
- package/dist/pages/index.d.ts +1 -1
- package/dist/pages/index.js +5 -5
- package/dist/pages/index.jsx +5 -5
- package/dist/stores/index.d.ts +1 -1
- package/dist/stores/index.js +2 -2
- package/dist/stores/index.jsx +2 -2
- package/dist/theme/admin.css +161 -1
- package/package.json +1 -1
- package/dist/chunk/35C2PAUI.js.map +0 -1
- package/dist/chunk/75B7QHIN.js.map +0 -1
- package/dist/chunk/MCSS436N.js.map +0 -1
package/dist/index/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import '../chunk/JSHO46VZ.js';
|
|
2
|
-
export { 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 { restoreCartFromLink, startCartCapture, useSubscriptionIntakeFlow, validateResumedPromo } from '../chunk/TYXWVNC3.js';
|
|
3
|
+
export { adoptCartId, capturePromoCode, cartId, clearPromoCode, fetchCartConfig, fetchResumedCart, postCartSnapshot, readCartToken, readPromoCode, resetCartConfigCache, resetCartId, stripCartToken } from '../chunk/4CTTOSOW.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/CYGHTTCA.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, TERMINAL_SUBSCRIPTION_STATUSES, US_STATES, US_STATE_OPTIONS, accountSource, availableStateOptions, availableStates, buildRefillView, buildTimeline, buildTrackerView, buildTrackingUrl, captureFunnelEmail, catalogUnavailableMessage, categoryColor, createFunnelTelemetry, deriveAttention, deriveCatalogAvailabilityDecision, deriveJourney, emailGateAnswered, formatCardNumber, formatConversationTime, formatCvv, formatEventDate, formatExpiry, formatMessageTime, formatRelativeTime, formatStageDate, hasErrors, isCssColorValue, isLive, isQuestionVisible, isReconcilable, lifecycleReason, lowestPrice, lowestSalePrice, markEmailGateAnswered, normalizeState, primarySubscription, reconcileCartAgainstCatalog, reconcileCartLines, redeemResumeLink, resetResumeRedemption, resolveCategoryColor, salePriceForBase, stateAvailabilityNote, toTrackerRequest, useAddressPair, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, useAffiliateStats, useCartCheckoutFlow, useCartReconcile, useCatalog, useCatalogAvailability, useCheckoutFlow, useDashboardData, useMedicationSelect, useMemberPortalData, useMessagesThread, 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, 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, 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/L2ZMGXWR.js';
|
|
7
|
+
export { adoptFunnelSessionId, captureAuthHeader, fetchFunnelConfig, fetchResumedDraft, funnelSessionId, peekFunnelSessionId, postFunnelEvent, readResumeToken, resetFunnelConfigCache, saveFunnelDraft, stripResumeToken } from '../chunk/JL7B6RHG.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, affiliateAuthStorageKey, affiliatePortalApi, apexApi, apiFetch, authApi, authStorageKey, captureAffiliateRef, catalogApi, clearAffiliateRef, clearAffiliateTokens, clearTokens, getAffiliateTokens, getTokens, membersApi, messagesApi, newIdempotencyKey, onTokensCleared, ordersApi, paymentsApi, productsApi, promoCodesApi, readAffiliateRef, setAffiliateTokens, setTokens, subscriptionsApi, supportApi, usersApi } from '../chunk/
|
|
11
|
+
export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/DHVOZQQ2.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, onTokensCleared, ordersApi, paymentsApi, productsApi, promoCodesApi, readAffiliateRef, setAffiliateTokens, setTokens, subscriptionsApi, supportApi, usersApi } from '../chunk/NSEWFPUP.js';
|
|
13
13
|
export { configure, getConfig } from '../chunk/5XGPFYIJ.js';
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
15
15
|
//# sourceMappingURL=index.js.map
|
package/dist/index/index.jsx
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
startCartCapture,
|
|
5
5
|
useSubscriptionIntakeFlow,
|
|
6
6
|
validateResumedPromo
|
|
7
|
-
} from "../chunk/
|
|
7
|
+
} from "../chunk/ET3GPUTR.jsx";
|
|
8
8
|
import {
|
|
9
9
|
adoptCartId,
|
|
10
10
|
capturePromoCode,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
resetCartConfigCache,
|
|
19
19
|
resetCartId,
|
|
20
20
|
stripCartToken
|
|
21
|
-
} from "../chunk/
|
|
21
|
+
} from "../chunk/QIBVNW2V.jsx";
|
|
22
22
|
import {
|
|
23
23
|
ADMIN_TAB_SEGMENTS,
|
|
24
24
|
AFFILIATE_SUB_TAB_SEGMENTS,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
adminTabPath,
|
|
47
47
|
affiliateSubTabFromPath,
|
|
48
48
|
affiliateSubTabPath
|
|
49
|
-
} from "../chunk/
|
|
49
|
+
} from "../chunk/OA3A3PUC.jsx";
|
|
50
50
|
import {
|
|
51
51
|
EmbedApiError,
|
|
52
52
|
EmbedApiError2,
|
|
@@ -61,24 +61,34 @@ import {
|
|
|
61
61
|
LIFECYCLE_LABEL,
|
|
62
62
|
LIFECYCLE_TONE,
|
|
63
63
|
LIVE_SUBSCRIPTION_STATUSES,
|
|
64
|
+
ORPHAN_REASON,
|
|
65
|
+
READINESS_LABEL,
|
|
64
66
|
TERMINAL_SUBSCRIPTION_STATUSES,
|
|
65
67
|
US_STATES,
|
|
66
68
|
US_STATE_OPTIONS,
|
|
67
69
|
accountSource,
|
|
70
|
+
addCatalogItemAsProduct,
|
|
71
|
+
applyPriceDrafts,
|
|
68
72
|
availableStateOptions,
|
|
69
73
|
availableStates,
|
|
74
|
+
buildFulfillmentRows,
|
|
75
|
+
buildMatrixView,
|
|
70
76
|
buildRefillView,
|
|
77
|
+
buildStrengthRows,
|
|
71
78
|
buildTimeline,
|
|
72
79
|
buildTrackerView,
|
|
73
80
|
buildTrackingUrl,
|
|
74
81
|
captureFunnelEmail,
|
|
75
82
|
catalogUnavailableMessage,
|
|
76
83
|
categoryColor,
|
|
84
|
+
classifyCatalogError,
|
|
85
|
+
createCatalogProduct,
|
|
77
86
|
createFunnelTelemetry,
|
|
78
87
|
deriveAttention,
|
|
79
88
|
deriveCatalogAvailabilityDecision,
|
|
80
89
|
deriveJourney,
|
|
81
90
|
emailGateAnswered,
|
|
91
|
+
findStoredDosePrice,
|
|
82
92
|
formatCardNumber,
|
|
83
93
|
formatConversationTime,
|
|
84
94
|
formatCvv,
|
|
@@ -87,7 +97,9 @@ import {
|
|
|
87
97
|
formatMessageTime,
|
|
88
98
|
formatRelativeTime,
|
|
89
99
|
formatStageDate,
|
|
100
|
+
groupDrugsByPharmacy,
|
|
90
101
|
hasErrors,
|
|
102
|
+
isCatalogItemId,
|
|
91
103
|
isCssColorValue,
|
|
92
104
|
isLive,
|
|
93
105
|
isQuestionVisible,
|
|
@@ -96,16 +108,23 @@ import {
|
|
|
96
108
|
lowestPrice,
|
|
97
109
|
lowestSalePrice,
|
|
98
110
|
markEmailGateAnswered,
|
|
111
|
+
moveInOrder,
|
|
99
112
|
normalizeState,
|
|
113
|
+
normalizeStates,
|
|
100
114
|
primarySubscription,
|
|
115
|
+
readinessStatus,
|
|
101
116
|
reconcileCartAgainstCatalog,
|
|
102
117
|
reconcileCartLines,
|
|
103
118
|
redeemResumeLink,
|
|
119
|
+
removeStoredDosePrice,
|
|
104
120
|
resetResumeRedemption,
|
|
105
121
|
resolveCategoryColor,
|
|
122
|
+
resolveStrengthPrices,
|
|
106
123
|
salePriceForBase,
|
|
124
|
+
skuBindingModeFor,
|
|
107
125
|
stateAvailabilityNote,
|
|
108
126
|
toTrackerRequest,
|
|
127
|
+
upsertDosePrice,
|
|
109
128
|
useAddressPair,
|
|
110
129
|
useAffiliateConversions,
|
|
111
130
|
useAffiliateDownline,
|
|
@@ -120,6 +139,7 @@ import {
|
|
|
120
139
|
useMedicationSelect,
|
|
121
140
|
useMemberPortalData,
|
|
122
141
|
useMessagesThread,
|
|
142
|
+
useProductCatalogEditor,
|
|
123
143
|
useProductDetail,
|
|
124
144
|
useRegisterFlow,
|
|
125
145
|
useSignupFlow,
|
|
@@ -128,7 +148,7 @@ import {
|
|
|
128
148
|
useSurveyV2Flow,
|
|
129
149
|
useUpdatePaymentMethodFlow,
|
|
130
150
|
validateAddress
|
|
131
|
-
} from "../chunk/
|
|
151
|
+
} from "../chunk/75F4YFYC.jsx";
|
|
132
152
|
import {
|
|
133
153
|
adoptFunnelSessionId,
|
|
134
154
|
captureAuthHeader,
|
|
@@ -141,7 +161,7 @@ import {
|
|
|
141
161
|
resetFunnelConfigCache,
|
|
142
162
|
saveFunnelDraft,
|
|
143
163
|
stripResumeToken
|
|
144
|
-
} from "../chunk/
|
|
164
|
+
} from "../chunk/ZW2HBOS5.jsx";
|
|
145
165
|
import {
|
|
146
166
|
PrimitivesProvider,
|
|
147
167
|
usePrimitives
|
|
@@ -155,7 +175,7 @@ import {
|
|
|
155
175
|
auth_default,
|
|
156
176
|
cart_default,
|
|
157
177
|
medication_default
|
|
158
|
-
} from "../chunk/
|
|
178
|
+
} from "../chunk/DBW2RWHV.jsx";
|
|
159
179
|
import {
|
|
160
180
|
ApiError,
|
|
161
181
|
SUPPORT_ATTACHMENT_MAX_BYTES,
|
|
@@ -163,6 +183,7 @@ import {
|
|
|
163
183
|
addressesApi,
|
|
164
184
|
adminAffiliatesApi,
|
|
165
185
|
adminApi,
|
|
186
|
+
adminCatalogApi,
|
|
166
187
|
affiliateAuthStorageKey,
|
|
167
188
|
affiliatePortalApi,
|
|
168
189
|
apexApi,
|
|
@@ -190,7 +211,7 @@ import {
|
|
|
190
211
|
subscriptionsApi,
|
|
191
212
|
supportApi,
|
|
192
213
|
usersApi
|
|
193
|
-
} from "../chunk/
|
|
214
|
+
} from "../chunk/BALHOD46.jsx";
|
|
194
215
|
import {
|
|
195
216
|
configure,
|
|
196
217
|
getConfig
|
|
@@ -218,8 +239,10 @@ export {
|
|
|
218
239
|
LIFECYCLE_TONE,
|
|
219
240
|
LIVE_SUBSCRIPTION_STATUSES,
|
|
220
241
|
MemberPortal,
|
|
242
|
+
ORPHAN_REASON,
|
|
221
243
|
PatientDashboardPreview,
|
|
222
244
|
PrimitivesProvider,
|
|
245
|
+
READINESS_LABEL,
|
|
223
246
|
RegisterPage,
|
|
224
247
|
ResetPasswordPage,
|
|
225
248
|
SUPPORT_ATTACHMENT_MAX_BYTES,
|
|
@@ -233,9 +256,11 @@ export {
|
|
|
233
256
|
US_STATE_OPTIONS,
|
|
234
257
|
UpdatePaymentMethod,
|
|
235
258
|
accountSource,
|
|
259
|
+
addCatalogItemAsProduct,
|
|
236
260
|
addressesApi,
|
|
237
261
|
adminAffiliatesApi,
|
|
238
262
|
adminApi,
|
|
263
|
+
adminCatalogApi,
|
|
239
264
|
adminTabFromPath,
|
|
240
265
|
adminTabPath,
|
|
241
266
|
adoptCartId,
|
|
@@ -247,12 +272,16 @@ export {
|
|
|
247
272
|
affiliateSubTabPath,
|
|
248
273
|
apexApi,
|
|
249
274
|
apiFetch,
|
|
275
|
+
applyPriceDrafts,
|
|
250
276
|
authApi,
|
|
251
277
|
authStorageKey,
|
|
252
278
|
auth_default as authStore,
|
|
253
279
|
availableStateOptions,
|
|
254
280
|
availableStates,
|
|
281
|
+
buildFulfillmentRows,
|
|
282
|
+
buildMatrixView,
|
|
255
283
|
buildRefillView,
|
|
284
|
+
buildStrengthRows,
|
|
256
285
|
buildTimeline,
|
|
257
286
|
buildTrackerView,
|
|
258
287
|
buildTrackingUrl,
|
|
@@ -265,11 +294,13 @@ export {
|
|
|
265
294
|
catalogApi,
|
|
266
295
|
catalogUnavailableMessage,
|
|
267
296
|
categoryColor,
|
|
297
|
+
classifyCatalogError,
|
|
268
298
|
clearAffiliateRef,
|
|
269
299
|
clearAffiliateTokens,
|
|
270
300
|
clearPromoCode,
|
|
271
301
|
clearTokens,
|
|
272
302
|
configure,
|
|
303
|
+
createCatalogProduct,
|
|
273
304
|
createEmbedApiClient,
|
|
274
305
|
createFunnelTelemetry,
|
|
275
306
|
defaultPrimitives,
|
|
@@ -283,6 +314,7 @@ export {
|
|
|
283
314
|
fetchFunnelConfig,
|
|
284
315
|
fetchResumedCart,
|
|
285
316
|
fetchResumedDraft,
|
|
317
|
+
findStoredDosePrice,
|
|
286
318
|
formatCardNumber,
|
|
287
319
|
formatConversationTime,
|
|
288
320
|
formatCvv,
|
|
@@ -295,7 +327,9 @@ export {
|
|
|
295
327
|
getAffiliateTokens,
|
|
296
328
|
getConfig,
|
|
297
329
|
getTokens,
|
|
330
|
+
groupDrugsByPharmacy,
|
|
298
331
|
hasErrors,
|
|
332
|
+
isCatalogItemId,
|
|
299
333
|
isCssColorValue,
|
|
300
334
|
isLive,
|
|
301
335
|
isQuestionVisible,
|
|
@@ -307,8 +341,10 @@ export {
|
|
|
307
341
|
medication_default as medicationStore,
|
|
308
342
|
membersApi,
|
|
309
343
|
messagesApi,
|
|
344
|
+
moveInOrder,
|
|
310
345
|
newIdempotencyKey,
|
|
311
346
|
normalizeState,
|
|
347
|
+
normalizeStates,
|
|
312
348
|
onTokensCleared,
|
|
313
349
|
ordersApi,
|
|
314
350
|
paymentsApi,
|
|
@@ -323,19 +359,23 @@ export {
|
|
|
323
359
|
readCartToken,
|
|
324
360
|
readPromoCode,
|
|
325
361
|
readResumeToken,
|
|
362
|
+
readinessStatus,
|
|
326
363
|
reconcileCartAgainstCatalog,
|
|
327
364
|
reconcileCartLines,
|
|
328
365
|
redeemResumeLink,
|
|
366
|
+
removeStoredDosePrice,
|
|
329
367
|
resetCartConfigCache,
|
|
330
368
|
resetCartId,
|
|
331
369
|
resetFunnelConfigCache,
|
|
332
370
|
resetResumeRedemption,
|
|
333
371
|
resolveCategoryColor,
|
|
372
|
+
resolveStrengthPrices,
|
|
334
373
|
restoreCartFromLink,
|
|
335
374
|
salePriceForBase,
|
|
336
375
|
saveFunnelDraft,
|
|
337
376
|
setAffiliateTokens,
|
|
338
377
|
setTokens,
|
|
378
|
+
skuBindingModeFor,
|
|
339
379
|
startCartCapture,
|
|
340
380
|
stateAvailabilityNote,
|
|
341
381
|
stripCartToken,
|
|
@@ -343,6 +383,7 @@ export {
|
|
|
343
383
|
subscriptionsApi,
|
|
344
384
|
supportApi,
|
|
345
385
|
toTrackerRequest,
|
|
386
|
+
upsertDosePrice,
|
|
346
387
|
useAddressPair,
|
|
347
388
|
useAffiliateConversions,
|
|
348
389
|
useAffiliateDownline,
|
|
@@ -358,6 +399,7 @@ export {
|
|
|
358
399
|
useMemberPortalData,
|
|
359
400
|
useMessagesThread,
|
|
360
401
|
usePrimitives,
|
|
402
|
+
useProductCatalogEditor,
|
|
361
403
|
useProductDetail,
|
|
362
404
|
useRegisterFlow,
|
|
363
405
|
useSignupFlow,
|
package/dist/pages/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as solid_js from 'solid-js';
|
|
|
2
2
|
import { JSX } from 'solid-js';
|
|
3
3
|
import { U as UseSurveyV2FlowOptions } from '../surveyV2-BgQHK0GE.js';
|
|
4
4
|
import { V2SubmitResult, PatientInfo, V2DrugResult } from '@apextelemed/survey-core';
|
|
5
|
-
import {
|
|
5
|
+
import { s as AdminLifecycleBucket, z as AdminProduct } from '../client-CDpCqI4d.js';
|
|
6
6
|
import '@apextelemed/survey-solid';
|
|
7
7
|
|
|
8
8
|
interface SurveyPageProps {
|
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/CYGHTTCA.js';
|
|
2
2
|
import '../chunk/LZWA44KD.js';
|
|
3
|
-
import '../chunk/
|
|
4
|
-
import '../chunk/
|
|
3
|
+
import '../chunk/L2ZMGXWR.js';
|
|
4
|
+
import '../chunk/JL7B6RHG.js';
|
|
5
5
|
import '../chunk/67KHO66G.js';
|
|
6
|
-
import '../chunk/
|
|
7
|
-
import '../chunk/
|
|
6
|
+
import '../chunk/DHVOZQQ2.js';
|
|
7
|
+
import '../chunk/NSEWFPUP.js';
|
|
8
8
|
import '../chunk/5XGPFYIJ.js';
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
10
10
|
//# sourceMappingURL=index.js.map
|
package/dist/pages/index.jsx
CHANGED
|
@@ -24,13 +24,13 @@ import {
|
|
|
24
24
|
adminTabPath,
|
|
25
25
|
affiliateSubTabFromPath,
|
|
26
26
|
affiliateSubTabPath
|
|
27
|
-
} from "../chunk/
|
|
27
|
+
} from "../chunk/OA3A3PUC.jsx";
|
|
28
28
|
import "../chunk/UZCST66N.jsx";
|
|
29
|
-
import "../chunk/
|
|
30
|
-
import "../chunk/
|
|
29
|
+
import "../chunk/75F4YFYC.jsx";
|
|
30
|
+
import "../chunk/ZW2HBOS5.jsx";
|
|
31
31
|
import "../chunk/J63XPQP4.jsx";
|
|
32
|
-
import "../chunk/
|
|
33
|
-
import "../chunk/
|
|
32
|
+
import "../chunk/DBW2RWHV.jsx";
|
|
33
|
+
import "../chunk/BALHOD46.jsx";
|
|
34
34
|
import "../chunk/LDZIUFDM.jsx";
|
|
35
35
|
export {
|
|
36
36
|
ADMIN_TAB_SEGMENTS,
|
package/dist/stores/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as solid_js from 'solid-js';
|
|
2
|
-
import {
|
|
2
|
+
import { a8 as AuthTokens, bu as User, b4 as RegisterPayload, b3 as RegisterAndSubscribePayload, R as AffiliateAuthTokens, Q as Affiliate, $ as AffiliateRegisterInput } from '../client-CDpCqI4d.js';
|
|
3
3
|
export { A as AppliedPromoCode, C as CartItem, c as cartStore } from '../cart-o6DpAu5y.js';
|
|
4
4
|
|
|
5
5
|
declare const authStore: {
|
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/
|
|
2
|
+
export { affiliateAuth_default as affiliateAuthStore, auth_default as authStore, cart_default as cartStore, medication_default as medicationStore } from '../chunk/DHVOZQQ2.js';
|
|
3
|
+
import '../chunk/NSEWFPUP.js';
|
|
4
4
|
import '../chunk/5XGPFYIJ.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
package/dist/stores/index.jsx
CHANGED
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
auth_default,
|
|
5
5
|
cart_default,
|
|
6
6
|
medication_default
|
|
7
|
-
} from "../chunk/
|
|
8
|
-
import "../chunk/
|
|
7
|
+
} from "../chunk/DBW2RWHV.jsx";
|
|
8
|
+
import "../chunk/BALHOD46.jsx";
|
|
9
9
|
import "../chunk/LDZIUFDM.jsx";
|
|
10
10
|
export {
|
|
11
11
|
affiliateAuth_default as affiliateAuthStore,
|
package/dist/theme/admin.css
CHANGED
|
@@ -409,6 +409,12 @@
|
|
|
409
409
|
.app-admin-side-panel--narrow {
|
|
410
410
|
width: 400px;
|
|
411
411
|
}
|
|
412
|
+
/* A catalog-backed product's editor carries a strengths table, a pharmacy list
|
|
413
|
+
and a readiness grid, which need more room than the plain form. */
|
|
414
|
+
.app-admin-side-panel--wide {
|
|
415
|
+
width: 680px;
|
|
416
|
+
max-width: 100vw;
|
|
417
|
+
}
|
|
412
418
|
|
|
413
419
|
/* ── Modal ───────────────────────────────────────────────────────── */
|
|
414
420
|
|
|
@@ -788,7 +794,8 @@
|
|
|
788
794
|
Sales / Products / PromoCodes) collapse to full-screen below md. !important
|
|
789
795
|
overrides inline `width` styles set per-panel for desktop widths. */
|
|
790
796
|
.app-admin-side-panel,
|
|
791
|
-
.app-admin-side-panel--narrow
|
|
797
|
+
.app-admin-side-panel--narrow,
|
|
798
|
+
.app-admin-side-panel--wide {
|
|
792
799
|
width: 100% !important;
|
|
793
800
|
max-width: 100vw;
|
|
794
801
|
}
|
|
@@ -1677,4 +1684,157 @@
|
|
|
1677
1684
|
.app-admin-email-chip.ProseMirror-selectednode {
|
|
1678
1685
|
outline: 2px solid #2563eb;
|
|
1679
1686
|
outline-offset: 1px;
|
|
1687
|
+
/* ── Product editor: catalog-backed sections ─────────────────────────────
|
|
1688
|
+
Strengths, pharmacies and readiness for a product laid over an Apex catalog
|
|
1689
|
+
item. Plain blocks on the admin tokens; no new variables. */
|
|
1690
|
+
|
|
1691
|
+
.app-admin-catalog-block {
|
|
1692
|
+
border-top: 1px solid var(--app-admin-border-soft);
|
|
1693
|
+
padding-top: 1rem;
|
|
1694
|
+
}
|
|
1695
|
+
.app-admin-catalog-block .app-admin-input,
|
|
1696
|
+
.app-admin-catalog-row .app-admin-input {
|
|
1697
|
+
box-sizing: border-box; /* inputs sit in grid cells; don't depend on a host reset */
|
|
1698
|
+
}
|
|
1699
|
+
.app-admin-catalog-block .app-admin-badge {
|
|
1700
|
+
text-transform: none; /* "Needs a price", not "Needs A Price" */
|
|
1701
|
+
}
|
|
1702
|
+
.app-admin-catalog-block__head {
|
|
1703
|
+
display: flex;
|
|
1704
|
+
align-items: center;
|
|
1705
|
+
justify-content: space-between;
|
|
1706
|
+
gap: 0.75rem;
|
|
1707
|
+
flex-wrap: wrap;
|
|
1708
|
+
margin-bottom: 0.5rem;
|
|
1709
|
+
}
|
|
1710
|
+
.app-admin-catalog-hint {
|
|
1711
|
+
font-size: 0.6875rem;
|
|
1712
|
+
line-height: 1.4;
|
|
1713
|
+
color: var(--app-admin-fg-muted);
|
|
1714
|
+
margin: 0 0 0.625rem;
|
|
1715
|
+
}
|
|
1716
|
+
.app-admin-catalog-list {
|
|
1717
|
+
list-style: none;
|
|
1718
|
+
margin: 0;
|
|
1719
|
+
padding: 0;
|
|
1720
|
+
display: flex;
|
|
1721
|
+
flex-direction: column;
|
|
1722
|
+
gap: 0.5rem;
|
|
1723
|
+
}
|
|
1724
|
+
.app-admin-catalog-row {
|
|
1725
|
+
background: var(--app-admin-surface-light);
|
|
1726
|
+
border: 1px solid var(--app-admin-border-soft);
|
|
1727
|
+
border-radius: var(--app-admin-radius-sm);
|
|
1728
|
+
padding: 0.625rem 0.75rem;
|
|
1729
|
+
display: flex;
|
|
1730
|
+
flex-direction: column;
|
|
1731
|
+
gap: 0.5rem;
|
|
1732
|
+
}
|
|
1733
|
+
.app-admin-catalog-row.is-muted {
|
|
1734
|
+
opacity: 0.75;
|
|
1735
|
+
}
|
|
1736
|
+
.app-admin-catalog-row__main {
|
|
1737
|
+
display: flex;
|
|
1738
|
+
align-items: center;
|
|
1739
|
+
gap: 0.625rem;
|
|
1740
|
+
flex-wrap: wrap;
|
|
1741
|
+
}
|
|
1742
|
+
.app-admin-catalog-row__title {
|
|
1743
|
+
flex: 1;
|
|
1744
|
+
min-width: 8rem;
|
|
1745
|
+
font-size: 0.875rem;
|
|
1746
|
+
display: flex;
|
|
1747
|
+
align-items: center;
|
|
1748
|
+
gap: 0.5rem;
|
|
1749
|
+
flex-wrap: wrap;
|
|
1750
|
+
}
|
|
1751
|
+
.app-admin-catalog-row__rank {
|
|
1752
|
+
width: 1.5rem;
|
|
1753
|
+
height: 1.5rem;
|
|
1754
|
+
border-radius: 9999px;
|
|
1755
|
+
background: var(--app-admin-primary-soft);
|
|
1756
|
+
color: var(--app-admin-primary-soft-fg);
|
|
1757
|
+
font-size: 0.75rem;
|
|
1758
|
+
display: inline-flex;
|
|
1759
|
+
align-items: center;
|
|
1760
|
+
justify-content: center;
|
|
1761
|
+
flex: none;
|
|
1762
|
+
}
|
|
1763
|
+
.app-admin-catalog-row__controls {
|
|
1764
|
+
display: flex;
|
|
1765
|
+
align-items: center;
|
|
1766
|
+
gap: 0.5rem;
|
|
1767
|
+
flex-wrap: wrap;
|
|
1768
|
+
}
|
|
1769
|
+
.app-admin-catalog-price {
|
|
1770
|
+
width: 7rem;
|
|
1771
|
+
}
|
|
1772
|
+
.app-admin-catalog-toggle {
|
|
1773
|
+
display: inline-flex;
|
|
1774
|
+
align-items: center;
|
|
1775
|
+
gap: 0.375rem;
|
|
1776
|
+
font-size: 0.8125rem;
|
|
1777
|
+
cursor: pointer;
|
|
1778
|
+
}
|
|
1779
|
+
.app-admin-catalog-chips {
|
|
1780
|
+
display: flex;
|
|
1781
|
+
flex-wrap: wrap;
|
|
1782
|
+
gap: 0.375rem;
|
|
1783
|
+
align-items: center;
|
|
1784
|
+
}
|
|
1785
|
+
.app-admin-catalog-chip {
|
|
1786
|
+
display: inline-flex;
|
|
1787
|
+
align-items: center;
|
|
1788
|
+
gap: 0.25rem;
|
|
1789
|
+
padding: 0.125rem 0.5rem;
|
|
1790
|
+
border-radius: var(--app-admin-radius-sm);
|
|
1791
|
+
background: rgba(127, 127, 127, 0.12);
|
|
1792
|
+
font-size: 0.75rem;
|
|
1793
|
+
}
|
|
1794
|
+
.app-admin-catalog-chip button {
|
|
1795
|
+
background: none;
|
|
1796
|
+
border: none;
|
|
1797
|
+
color: inherit;
|
|
1798
|
+
cursor: pointer;
|
|
1799
|
+
line-height: 1;
|
|
1800
|
+
padding: 0 0.125rem;
|
|
1801
|
+
}
|
|
1802
|
+
.app-admin-catalog-form {
|
|
1803
|
+
display: grid;
|
|
1804
|
+
grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr));
|
|
1805
|
+
gap: 0.5rem;
|
|
1806
|
+
align-items: end;
|
|
1807
|
+
margin-top: 0.75rem;
|
|
1808
|
+
}
|
|
1809
|
+
.app-admin-catalog-problems {
|
|
1810
|
+
margin: 0;
|
|
1811
|
+
padding-left: 1.125rem;
|
|
1812
|
+
font-size: 0.8125rem;
|
|
1813
|
+
display: flex;
|
|
1814
|
+
flex-direction: column;
|
|
1815
|
+
gap: 0.25rem;
|
|
1816
|
+
}
|
|
1817
|
+
.app-admin-catalog-matrix-wrap {
|
|
1818
|
+
overflow-x: auto;
|
|
1819
|
+
}
|
|
1820
|
+
.app-admin-catalog-matrix {
|
|
1821
|
+
width: 100%;
|
|
1822
|
+
border-collapse: collapse;
|
|
1823
|
+
font-size: 0.8125rem;
|
|
1824
|
+
}
|
|
1825
|
+
.app-admin-catalog-matrix th,
|
|
1826
|
+
.app-admin-catalog-matrix td {
|
|
1827
|
+
padding: 0.375rem 0.5rem;
|
|
1828
|
+
border: 1px solid var(--app-admin-border-soft);
|
|
1829
|
+
text-align: center;
|
|
1830
|
+
}
|
|
1831
|
+
.app-admin-catalog-matrix th:first-child,
|
|
1832
|
+
.app-admin-catalog-matrix td:first-child {
|
|
1833
|
+
text-align: left;
|
|
1834
|
+
}
|
|
1835
|
+
.app-admin-catalog-matrix .is-miss {
|
|
1836
|
+
color: var(--app-admin-danger-fg);
|
|
1837
|
+
}
|
|
1838
|
+
.app-admin-catalog-matrix .is-ok {
|
|
1839
|
+
color: var(--app-admin-success-fg);
|
|
1680
1840
|
}
|
package/package.json
CHANGED