@apextelemed/partner-core 0.6.4 → 0.7.0
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 +2 -2
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.js +3 -3
- package/dist/api/index.jsx +3 -3
- package/dist/{cart-D4mVX_zx.d.ts → cart-o6DpAu5y.d.ts} +1 -0
- package/dist/chunk/{WLEIDQ5M.jsx → 4S4MTN2K.jsx} +6 -2
- package/dist/chunk/{NBB2VTQK.jsx → 4SFB2SS2.jsx} +2 -2
- package/dist/chunk/{BVLA7ATM.js → 64RJJFEH.js} +3 -3
- package/dist/chunk/{BVLA7ATM.js.map → 64RJJFEH.js.map} +1 -1
- package/dist/chunk/{EVCGDF5D.jsx → 7AFUT5S3.jsx} +9 -1
- package/dist/chunk/{ZDBW3JDO.jsx → 7AMVRNYX.jsx} +3286 -1423
- package/dist/chunk/{4ZSZHZQV.jsx → CBOGAYTL.jsx} +2 -2
- package/dist/chunk/{YJEHCCLY.js → EXXI5Y7I.js} +4 -3
- package/dist/chunk/EXXI5Y7I.js.map +1 -0
- package/dist/chunk/{MTCQREMZ.js → F34QLV7Z.js} +4063 -2058
- package/dist/chunk/F34QLV7Z.js.map +1 -0
- package/dist/chunk/{MLXPHJLR.js → GODF2NJN.js} +7 -3
- package/dist/chunk/GODF2NJN.js.map +1 -0
- package/dist/chunk/{WUE4VQBA.js → J3IRPONP.js} +392 -21
- package/dist/chunk/J3IRPONP.js.map +1 -0
- package/dist/chunk/{QTGJY3YQ.js → J3OK2PQA.js} +3 -3
- package/dist/chunk/{QTGJY3YQ.js.map → J3OK2PQA.js.map} +1 -1
- package/dist/chunk/{NSRQXBHK.js → KXO4U2C6.js} +8 -189
- package/dist/chunk/KXO4U2C6.js.map +1 -0
- package/dist/chunk/{HXMLRDIJ.jsx → PA66KUAU.jsx} +418 -26
- package/dist/chunk/{2OXI5TKO.jsx → RSMUKR4J.jsx} +3 -2
- package/dist/chunk/{5HNZ7SEM.jsx → SHXH72AC.jsx} +26 -219
- package/dist/chunk/{BEDW4XUM.js → UPZPR5TU.js} +10 -2
- package/dist/chunk/UPZPR5TU.js.map +1 -0
- package/dist/{client-B6Kt7LWo.d.ts → client-CiHb-dIf.d.ts} +64 -8
- package/dist/flows/index.d.ts +157 -13
- package/dist/flows/index.js +6 -6
- package/dist/flows/index.jsx +25 -13
- package/dist/index/index.d.ts +4 -4
- package/dist/index/index.js +8 -8
- package/dist/index/index.jsx +40 -16
- package/dist/pages/index.d.ts +41 -6
- package/dist/pages/index.js +5 -5
- package/dist/pages/index.jsx +19 -7
- package/dist/primitives/default/index.js +1 -1
- package/dist/primitives/default/index.jsx +1 -1
- package/dist/stores/index.d.ts +2 -2
- package/dist/stores/index.js +2 -2
- package/dist/stores/index.jsx +2 -2
- package/dist/testing/seam-suite.js +1 -1
- package/dist/theme/admin.css +406 -1
- package/dist/theme/member-portal.css +5 -5
- package/package.json +1 -1
- package/dist/chunk/BEDW4XUM.js.map +0 -1
- package/dist/chunk/MLXPHJLR.js.map +0 -1
- package/dist/chunk/MTCQREMZ.js.map +0 -1
- package/dist/chunk/NSRQXBHK.js.map +0 -1
- package/dist/chunk/WUE4VQBA.js.map +0 -1
- package/dist/chunk/YJEHCCLY.js.map +0 -1
package/dist/index/index.jsx
CHANGED
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
import "../chunk/ACE7M2YA.jsx";
|
|
2
2
|
import {
|
|
3
|
-
DEFAULT_COLOR_PALETTE,
|
|
4
|
-
categoryColor,
|
|
5
|
-
lowestPrice,
|
|
6
|
-
lowestSalePrice,
|
|
7
3
|
restoreCartFromLink,
|
|
8
4
|
startCartCapture,
|
|
9
|
-
useCatalog,
|
|
10
|
-
useMedicationSelect,
|
|
11
|
-
useProductDetail,
|
|
12
5
|
useSubscriptionIntakeFlow,
|
|
13
6
|
validateResumedPromo
|
|
14
|
-
} from "../chunk/
|
|
7
|
+
} from "../chunk/SHXH72AC.jsx";
|
|
15
8
|
import {
|
|
16
9
|
adoptCartId,
|
|
17
10
|
capturePromoCode,
|
|
@@ -25,8 +18,10 @@ import {
|
|
|
25
18
|
resetCartConfigCache,
|
|
26
19
|
resetCartId,
|
|
27
20
|
stripCartToken
|
|
28
|
-
} from "../chunk/
|
|
21
|
+
} from "../chunk/CBOGAYTL.jsx";
|
|
29
22
|
import {
|
|
23
|
+
ADMIN_TAB_SEGMENTS,
|
|
24
|
+
AFFILIATE_SUB_TAB_SEGMENTS,
|
|
30
25
|
AddressFields,
|
|
31
26
|
AdminDashboard,
|
|
32
27
|
AffiliateForgotPassword,
|
|
@@ -46,8 +41,12 @@ import {
|
|
|
46
41
|
SubscribePage,
|
|
47
42
|
SurveyPage,
|
|
48
43
|
SurveyV2Page,
|
|
49
|
-
UpdatePaymentMethod
|
|
50
|
-
|
|
44
|
+
UpdatePaymentMethod,
|
|
45
|
+
adminTabFromPath,
|
|
46
|
+
adminTabPath,
|
|
47
|
+
affiliateSubTabFromPath,
|
|
48
|
+
affiliateSubTabPath
|
|
49
|
+
} from "../chunk/7AMVRNYX.jsx";
|
|
51
50
|
import {
|
|
52
51
|
EmbedApiError,
|
|
53
52
|
EmbedApiError2,
|
|
@@ -57,6 +56,7 @@ import {
|
|
|
57
56
|
qualifiedDrugIds
|
|
58
57
|
} from "../chunk/UZCST66N.jsx";
|
|
59
58
|
import {
|
|
59
|
+
DEFAULT_COLOR_PALETTE,
|
|
60
60
|
LIFECYCLE_BUCKETS,
|
|
61
61
|
LIFECYCLE_LABEL,
|
|
62
62
|
LIFECYCLE_TONE,
|
|
@@ -72,6 +72,7 @@ import {
|
|
|
72
72
|
buildTrackerView,
|
|
73
73
|
buildTrackingUrl,
|
|
74
74
|
captureFunnelEmail,
|
|
75
|
+
categoryColor,
|
|
75
76
|
createFunnelTelemetry,
|
|
76
77
|
deriveAttention,
|
|
77
78
|
deriveJourney,
|
|
@@ -85,15 +86,22 @@ import {
|
|
|
85
86
|
formatRelativeTime,
|
|
86
87
|
formatStageDate,
|
|
87
88
|
hasErrors,
|
|
89
|
+
isCssColorValue,
|
|
88
90
|
isLive,
|
|
89
91
|
isQuestionVisible,
|
|
90
92
|
isReconcilable,
|
|
91
93
|
lifecycleReason,
|
|
94
|
+
lowestPrice,
|
|
95
|
+
lowestSalePrice,
|
|
92
96
|
markEmailGateAnswered,
|
|
93
97
|
normalizeState,
|
|
94
98
|
primarySubscription,
|
|
99
|
+
reconcileCartAgainstCatalog,
|
|
100
|
+
reconcileCartLines,
|
|
95
101
|
redeemResumeLink,
|
|
96
102
|
resetResumeRedemption,
|
|
103
|
+
resolveCategoryColor,
|
|
104
|
+
salePriceForBase,
|
|
97
105
|
stateAvailabilityNote,
|
|
98
106
|
toTrackerRequest,
|
|
99
107
|
useAddressPair,
|
|
@@ -102,10 +110,14 @@ import {
|
|
|
102
110
|
useAffiliateLinks,
|
|
103
111
|
useAffiliateStats,
|
|
104
112
|
useCartCheckoutFlow,
|
|
113
|
+
useCartReconcile,
|
|
114
|
+
useCatalog,
|
|
105
115
|
useCheckoutFlow,
|
|
106
116
|
useDashboardData,
|
|
117
|
+
useMedicationSelect,
|
|
107
118
|
useMemberPortalData,
|
|
108
119
|
useMessagesThread,
|
|
120
|
+
useProductDetail,
|
|
109
121
|
useRegisterFlow,
|
|
110
122
|
useSignupFlow,
|
|
111
123
|
useSubscribeFlow,
|
|
@@ -113,7 +125,7 @@ import {
|
|
|
113
125
|
useSurveyV2Flow,
|
|
114
126
|
useUpdatePaymentMethodFlow,
|
|
115
127
|
validateAddress
|
|
116
|
-
} from "../chunk/
|
|
128
|
+
} from "../chunk/PA66KUAU.jsx";
|
|
117
129
|
import {
|
|
118
130
|
adoptFunnelSessionId,
|
|
119
131
|
captureAuthHeader,
|
|
@@ -126,21 +138,21 @@ import {
|
|
|
126
138
|
resetFunnelConfigCache,
|
|
127
139
|
saveFunnelDraft,
|
|
128
140
|
stripResumeToken
|
|
129
|
-
} from "../chunk/
|
|
141
|
+
} from "../chunk/4SFB2SS2.jsx";
|
|
130
142
|
import {
|
|
131
143
|
PrimitivesProvider,
|
|
132
144
|
usePrimitives
|
|
133
145
|
} from "../chunk/J63XPQP4.jsx";
|
|
134
146
|
import {
|
|
135
147
|
defaultPrimitives
|
|
136
|
-
} from "../chunk/
|
|
148
|
+
} from "../chunk/RSMUKR4J.jsx";
|
|
137
149
|
import "../chunk/3A3MF7R2.jsx";
|
|
138
150
|
import {
|
|
139
151
|
affiliateAuth_default,
|
|
140
152
|
auth_default,
|
|
141
153
|
cart_default,
|
|
142
154
|
medication_default
|
|
143
|
-
} from "../chunk/
|
|
155
|
+
} from "../chunk/4S4MTN2K.jsx";
|
|
144
156
|
import {
|
|
145
157
|
ApiError,
|
|
146
158
|
SUPPORT_ATTACHMENT_MAX_BYTES,
|
|
@@ -174,12 +186,14 @@ import {
|
|
|
174
186
|
subscriptionsApi,
|
|
175
187
|
supportApi,
|
|
176
188
|
usersApi
|
|
177
|
-
} from "../chunk/
|
|
189
|
+
} from "../chunk/7AFUT5S3.jsx";
|
|
178
190
|
import {
|
|
179
191
|
configure,
|
|
180
192
|
getConfig
|
|
181
193
|
} from "../chunk/LDZIUFDM.jsx";
|
|
182
194
|
export {
|
|
195
|
+
ADMIN_TAB_SEGMENTS,
|
|
196
|
+
AFFILIATE_SUB_TAB_SEGMENTS,
|
|
183
197
|
AddressFields,
|
|
184
198
|
AdminDashboard,
|
|
185
199
|
AffiliateForgotPassword,
|
|
@@ -218,11 +232,15 @@ export {
|
|
|
218
232
|
addressesApi,
|
|
219
233
|
adminAffiliatesApi,
|
|
220
234
|
adminApi,
|
|
235
|
+
adminTabFromPath,
|
|
236
|
+
adminTabPath,
|
|
221
237
|
adoptCartId,
|
|
222
238
|
adoptFunnelSessionId,
|
|
223
239
|
affiliateAuthStorageKey,
|
|
224
240
|
affiliateAuth_default as affiliateAuthStore,
|
|
225
241
|
affiliatePortalApi,
|
|
242
|
+
affiliateSubTabFromPath,
|
|
243
|
+
affiliateSubTabPath,
|
|
226
244
|
apexApi,
|
|
227
245
|
apiFetch,
|
|
228
246
|
authApi,
|
|
@@ -271,6 +289,7 @@ export {
|
|
|
271
289
|
getConfig,
|
|
272
290
|
getTokens,
|
|
273
291
|
hasErrors,
|
|
292
|
+
isCssColorValue,
|
|
274
293
|
isLive,
|
|
275
294
|
isQuestionVisible,
|
|
276
295
|
isReconcilable,
|
|
@@ -297,12 +316,16 @@ export {
|
|
|
297
316
|
readCartToken,
|
|
298
317
|
readPromoCode,
|
|
299
318
|
readResumeToken,
|
|
319
|
+
reconcileCartAgainstCatalog,
|
|
320
|
+
reconcileCartLines,
|
|
300
321
|
redeemResumeLink,
|
|
301
322
|
resetCartConfigCache,
|
|
302
323
|
resetCartId,
|
|
303
324
|
resetFunnelConfigCache,
|
|
304
325
|
resetResumeRedemption,
|
|
326
|
+
resolveCategoryColor,
|
|
305
327
|
restoreCartFromLink,
|
|
328
|
+
salePriceForBase,
|
|
306
329
|
saveFunnelDraft,
|
|
307
330
|
setAffiliateTokens,
|
|
308
331
|
setTokens,
|
|
@@ -319,6 +342,7 @@ export {
|
|
|
319
342
|
useAffiliateLinks,
|
|
320
343
|
useAffiliateStats,
|
|
321
344
|
useCartCheckoutFlow,
|
|
345
|
+
useCartReconcile,
|
|
322
346
|
useCatalog,
|
|
323
347
|
useCheckoutFlow,
|
|
324
348
|
useDashboardData,
|
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 { r as AdminLifecycleBucket, w as AdminProduct } from '../client-CiHb-dIf.js';
|
|
6
6
|
import '@apextelemed/survey-solid';
|
|
7
7
|
|
|
8
8
|
interface SurveyPageProps {
|
|
@@ -97,7 +97,7 @@ interface CheckoutPageProps {
|
|
|
97
97
|
* once a prescriber has approved the request — a `pending` request renders the
|
|
98
98
|
* "under review" screen. `'upfront'` (pay-before-review) shows the card form
|
|
99
99
|
* immediately on a `pending` request, so the customer pays right after the
|
|
100
|
-
* survey; the backend still holds
|
|
100
|
+
* survey; the backend still holds fulfillment until approval.
|
|
101
101
|
*/
|
|
102
102
|
paymentMode?: 'on_approval' | 'upfront';
|
|
103
103
|
}
|
|
@@ -154,6 +154,14 @@ interface SignupPageProps {
|
|
|
154
154
|
subtitle?: string;
|
|
155
155
|
/** Called after a successful signup — sites typically navigate to their survey/onboarding page. */
|
|
156
156
|
onComplete?: () => void;
|
|
157
|
+
/**
|
|
158
|
+
* Called when the cart is empty, on mount and again at submit. Supplying it
|
|
159
|
+
* turns on the cart guard: the page renders nothing and the site redirects
|
|
160
|
+
* (typically to its catalog) instead of walking the visitor through four
|
|
161
|
+
* steps the backend will reject. Leave it off for a membership tenant,
|
|
162
|
+
* whose signup legitimately starts with an empty cart.
|
|
163
|
+
*/
|
|
164
|
+
onNeedsCart?: () => void;
|
|
157
165
|
/** Href for the "Already have an account? Log in" footer link. Defaults to `/login`. */
|
|
158
166
|
loginHref?: string;
|
|
159
167
|
/**
|
|
@@ -210,7 +218,10 @@ interface RegisterPageProps {
|
|
|
210
218
|
declare function RegisterPage(props: RegisterPageProps): solid_js.JSX.Element;
|
|
211
219
|
|
|
212
220
|
interface SubscribePageProps {
|
|
213
|
-
/**
|
|
221
|
+
/**
|
|
222
|
+
* @deprecated The amount shown (and charged) comes from the backend's quote.
|
|
223
|
+
* Kept so existing sites keep compiling; only a last-resort estimate.
|
|
224
|
+
*/
|
|
214
225
|
membershipAmountCents: number;
|
|
215
226
|
/** Billing interval in days. Default 30. */
|
|
216
227
|
membershipIntervalDays?: number;
|
|
@@ -251,7 +262,7 @@ interface AffiliatesProps {
|
|
|
251
262
|
* directly. The shell (`AdminDashboard`) wires the consumer's toast prop
|
|
252
263
|
* via `setAdminToast` on mount; if no toast is passed, the adapter falls
|
|
253
264
|
* back to `alert()` on error and a no-op on success (matches existing
|
|
254
|
-
* package
|
|
265
|
+
* package behavior before this prop existed).
|
|
255
266
|
*/
|
|
256
267
|
interface AdminToast {
|
|
257
268
|
success(message: string): void;
|
|
@@ -378,7 +389,7 @@ interface AdminDashboardProps {
|
|
|
378
389
|
/**
|
|
379
390
|
* Optional toast adapter. When provided, admin tabs route non-blocking
|
|
380
391
|
* success / error notifications through it. When omitted, errors fall
|
|
381
|
-
* back to `alert()` and successes are silent (current
|
|
392
|
+
* back to `alert()` and successes are silent (current behavior).
|
|
382
393
|
*/
|
|
383
394
|
toast?: AdminToast;
|
|
384
395
|
/**
|
|
@@ -409,6 +420,30 @@ interface AdminDashboardProps {
|
|
|
409
420
|
*/
|
|
410
421
|
declare function AdminDashboard(props: AdminDashboardProps): solid_js.JSX.Element;
|
|
411
422
|
|
|
423
|
+
/**
|
|
424
|
+
* The canonical URL segment for every admin tab, so a site can route the
|
|
425
|
+
* dashboard with one helper each way instead of hand-maintaining a
|
|
426
|
+
* tab→path map and a path→tab switch that silently fall out of date whenever
|
|
427
|
+
* a tab is added (a stale switch sends the new tab to the dashboard).
|
|
428
|
+
*
|
|
429
|
+
* Segments are relative to the site's admin base (default `/admin`):
|
|
430
|
+
* `dashboard` is the base itself, everything else is `<base>/<segment>`.
|
|
431
|
+
*/
|
|
432
|
+
declare const ADMIN_TAB_SEGMENTS: Record<AdminTab, string>;
|
|
433
|
+
declare const AFFILIATE_SUB_TAB_SEGMENTS: Record<AffiliateSubTab, string>;
|
|
434
|
+
/** `/admin/products` for `products`; the base itself for `dashboard`. */
|
|
435
|
+
declare function adminTabPath(tab: AdminTab, base?: string): string;
|
|
436
|
+
/** The tab a pathname points at. Sub-paths belong to their tab
|
|
437
|
+
* (`/admin/affiliates/people` → `affiliates`; `/admin/customers/<id>` →
|
|
438
|
+
* `customers`). Anything unknown, including paths outside the base, falls
|
|
439
|
+
* back to `dashboard`. */
|
|
440
|
+
declare function adminTabFromPath(pathname: string, base?: string): AdminTab;
|
|
441
|
+
/** `/admin/affiliates/people` for `people`; `/admin/affiliates` for `overview`. */
|
|
442
|
+
declare function affiliateSubTabPath(sub: AffiliateSubTab, base?: string): string;
|
|
443
|
+
/** The affiliates sub-tab a pathname points at; `overview` for the affiliates
|
|
444
|
+
* root or anything unknown. */
|
|
445
|
+
declare function affiliateSubTabFromPath(pathname: string, base?: string): AffiliateSubTab;
|
|
446
|
+
|
|
412
447
|
interface EmailTemplatesProps {
|
|
413
448
|
/** Open on this custom (marketing) template — a sequence step's "Edit template" link. */
|
|
414
449
|
initialCustomTemplateId?: string | null;
|
|
@@ -661,4 +696,4 @@ interface AffiliateResetPasswordProps {
|
|
|
661
696
|
*/
|
|
662
697
|
declare function AffiliateResetPassword(props: AffiliateResetPasswordProps): solid_js.JSX.Element;
|
|
663
698
|
|
|
664
|
-
export { type AdminAuthAdapter, AdminDashboard, type AdminDashboardProps, type AdminTab, type AdminTabGroup, type AdminToast, type AffiliateAuthAdapter, AffiliateForgotPassword, type AffiliateForgotPasswordProps, AffiliateLogin, type AffiliateLoginProps, AffiliatePortal, type AffiliatePortalProps, type AffiliatePortalTab, AffiliateRegister, type AffiliateRegisterProps, AffiliateResetPassword, type AffiliateResetPasswordProps, type AffiliateSubTab, type AffiliatesProps, CartCheckoutPage, type CartCheckoutPageProps, CheckoutPage, type CheckoutPageProps, EmailTemplates, ForgotPasswordPage, type ForgotPasswordPageProps, type LegalLink, type MedicationGuideContent, type MedicationGuideResolver, type MemberAuthAdapter, MemberPortal, type MemberPortalBrand, type MemberPortalProps, type MemberPortalRoutes, PatientDashboardPreview, type PatientDashboardPreviewProps, RegisterPage, type RegisterPageProps, ResetPasswordPage, type ResetPasswordPageProps, SignupPage, type SignupPageProps, SubscribePage, type SubscribePageProps, SurveyPage, type SurveyPageProps, SurveyV2Page, type SurveyV2PageProps, UpdatePaymentMethod, type UpdatePaymentMethodProps };
|
|
699
|
+
export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, type AdminAuthAdapter, AdminDashboard, type AdminDashboardProps, type AdminTab, type AdminTabGroup, type AdminToast, type AffiliateAuthAdapter, AffiliateForgotPassword, type AffiliateForgotPasswordProps, AffiliateLogin, type AffiliateLoginProps, AffiliatePortal, type AffiliatePortalProps, type AffiliatePortalTab, AffiliateRegister, type AffiliateRegisterProps, AffiliateResetPassword, type AffiliateResetPasswordProps, type AffiliateSubTab, type AffiliatesProps, CartCheckoutPage, type CartCheckoutPageProps, CheckoutPage, type CheckoutPageProps, EmailTemplates, ForgotPasswordPage, type ForgotPasswordPageProps, type LegalLink, type MedicationGuideContent, type MedicationGuideResolver, type MemberAuthAdapter, MemberPortal, type MemberPortalBrand, type MemberPortalProps, type MemberPortalRoutes, PatientDashboardPreview, type PatientDashboardPreviewProps, RegisterPage, type RegisterPageProps, ResetPasswordPage, type ResetPasswordPageProps, SignupPage, type SignupPageProps, SubscribePage, type SubscribePageProps, SurveyPage, type SurveyPageProps, SurveyV2Page, type SurveyV2PageProps, UpdatePaymentMethod, type UpdatePaymentMethodProps, adminTabFromPath, adminTabPath, affiliateSubTabFromPath, affiliateSubTabPath };
|
package/dist/pages/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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 { 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/F34QLV7Z.js';
|
|
2
2
|
import '../chunk/LZWA44KD.js';
|
|
3
|
-
import '../chunk/
|
|
4
|
-
import '../chunk/
|
|
3
|
+
import '../chunk/J3IRPONP.js';
|
|
4
|
+
import '../chunk/J3OK2PQA.js';
|
|
5
5
|
import '../chunk/67KHO66G.js';
|
|
6
|
-
import '../chunk/
|
|
7
|
-
import '../chunk/
|
|
6
|
+
import '../chunk/GODF2NJN.js';
|
|
7
|
+
import '../chunk/UPZPR5TU.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
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
+
ADMIN_TAB_SEGMENTS,
|
|
3
|
+
AFFILIATE_SUB_TAB_SEGMENTS,
|
|
2
4
|
AdminDashboard,
|
|
3
5
|
AffiliateForgotPassword,
|
|
4
6
|
AffiliateLogin,
|
|
@@ -17,16 +19,22 @@ import {
|
|
|
17
19
|
SubscribePage,
|
|
18
20
|
SurveyPage,
|
|
19
21
|
SurveyV2Page,
|
|
20
|
-
UpdatePaymentMethod
|
|
21
|
-
|
|
22
|
+
UpdatePaymentMethod,
|
|
23
|
+
adminTabFromPath,
|
|
24
|
+
adminTabPath,
|
|
25
|
+
affiliateSubTabFromPath,
|
|
26
|
+
affiliateSubTabPath
|
|
27
|
+
} from "../chunk/7AMVRNYX.jsx";
|
|
22
28
|
import "../chunk/UZCST66N.jsx";
|
|
23
|
-
import "../chunk/
|
|
24
|
-
import "../chunk/
|
|
29
|
+
import "../chunk/PA66KUAU.jsx";
|
|
30
|
+
import "../chunk/4SFB2SS2.jsx";
|
|
25
31
|
import "../chunk/J63XPQP4.jsx";
|
|
26
|
-
import "../chunk/
|
|
27
|
-
import "../chunk/
|
|
32
|
+
import "../chunk/4S4MTN2K.jsx";
|
|
33
|
+
import "../chunk/7AFUT5S3.jsx";
|
|
28
34
|
import "../chunk/LDZIUFDM.jsx";
|
|
29
35
|
export {
|
|
36
|
+
ADMIN_TAB_SEGMENTS,
|
|
37
|
+
AFFILIATE_SUB_TAB_SEGMENTS,
|
|
30
38
|
AdminDashboard,
|
|
31
39
|
AffiliateForgotPassword,
|
|
32
40
|
AffiliateLogin,
|
|
@@ -45,6 +53,10 @@ export {
|
|
|
45
53
|
SubscribePage,
|
|
46
54
|
SurveyPage,
|
|
47
55
|
SurveyV2Page,
|
|
48
|
-
UpdatePaymentMethod
|
|
56
|
+
UpdatePaymentMethod,
|
|
57
|
+
adminTabFromPath,
|
|
58
|
+
adminTabPath,
|
|
59
|
+
affiliateSubTabFromPath,
|
|
60
|
+
affiliateSubTabPath
|
|
49
61
|
};
|
|
50
62
|
//# sourceMappingURL=index.jsx.map
|
package/dist/stores/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as solid_js from 'solid-js';
|
|
2
|
-
import {
|
|
3
|
-
export { A as AppliedPromoCode, C as CartItem, c as cartStore } from '../cart-
|
|
2
|
+
import { a3 as AuthTokens, b5 as User, aJ as RegisterPayload, aI as RegisterAndSubscribePayload, M as AffiliateAuthTokens, L as Affiliate, W as AffiliateRegisterInput } from '../client-CiHb-dIf.js';
|
|
3
|
+
export { A as AppliedPromoCode, C as CartItem, c as cartStore } from '../cart-o6DpAu5y.js';
|
|
4
4
|
|
|
5
5
|
declare const authStore: {
|
|
6
6
|
tokens: solid_js.Accessor<AuthTokens | null>;
|
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/GODF2NJN.js';
|
|
3
|
+
import '../chunk/UPZPR5TU.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/4S4MTN2K.jsx";
|
|
8
|
+
import "../chunk/7AFUT5S3.jsx";
|
|
9
9
|
import "../chunk/LDZIUFDM.jsx";
|
|
10
10
|
export {
|
|
11
11
|
affiliateAuth_default as affiliateAuthStore,
|
|
@@ -121,7 +121,7 @@ export function defineSeamSuite(adapter, runner) {
|
|
|
121
121
|
expect(bare, 'these are package storage keys written WITHOUT this site\'s prefix, ' +
|
|
122
122
|
'so the site and the package are reading different storage').toEqual([]);
|
|
123
123
|
const foreign = keys.filter((k) => !k.startsWith(`${storagePrefix}-`) && !isAllowed(k));
|
|
124
|
-
expect(foreign, '
|
|
124
|
+
expect(foreign, 'unrecognized localStorage keys. If the site owns these, declare them ' +
|
|
125
125
|
'in the adapter\'s allowStorageKeys.').toEqual([]);
|
|
126
126
|
// Anything prefixed but not a key the package declares is either a site
|
|
127
127
|
// key that should be declared, or a core key missing from the contract.
|