@apextelemed/partner-core 0.1.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/LICENSE +64 -0
- package/README.md +363 -0
- package/dist/api/index.d.ts +12 -0
- package/dist/api/index.js +8 -0
- package/dist/api/index.js.map +1 -0
- package/dist/api/index.jsx +127 -0
- package/dist/cart-CBH8Em8f.d.ts +189 -0
- package/dist/cart-D4mVX_zx.d.ts +66 -0
- package/dist/chunk/2OXI5TKO.jsx +249 -0
- package/dist/chunk/3A3MF7R2.jsx +1 -0
- package/dist/chunk/3VEOP7TZ.jsx +16679 -0
- package/dist/chunk/5XGPFYIJ.js +26 -0
- package/dist/chunk/5XGPFYIJ.js.map +1 -0
- package/dist/chunk/67KHO66G.js +26 -0
- package/dist/chunk/67KHO66G.js.map +1 -0
- package/dist/chunk/6TFBQECC.jsx +135 -0
- package/dist/chunk/AN3WPMEP.js +3 -0
- package/dist/chunk/AN3WPMEP.js.map +1 -0
- package/dist/chunk/DHII7L5Y.js +686 -0
- package/dist/chunk/DHII7L5Y.js.map +1 -0
- package/dist/chunk/DS4E7FAI.js +132 -0
- package/dist/chunk/DS4E7FAI.js.map +1 -0
- package/dist/chunk/DY5BJ6UG.js +1195 -0
- package/dist/chunk/DY5BJ6UG.js.map +1 -0
- package/dist/chunk/E7722UPF.js +378 -0
- package/dist/chunk/E7722UPF.js.map +1 -0
- package/dist/chunk/HLXKWRRW.js +16774 -0
- package/dist/chunk/HLXKWRRW.js.map +1 -0
- package/dist/chunk/I46Y2J5W.jsx +144 -0
- package/dist/chunk/J63XPQP4.jsx +21 -0
- package/dist/chunk/J6KNY37T.js +122 -0
- package/dist/chunk/J6KNY37T.js.map +1 -0
- package/dist/chunk/KNTZTYXE.jsx +3315 -0
- package/dist/chunk/KZZSQ7LP.jsx +409 -0
- package/dist/chunk/L46OKCKG.jsx +733 -0
- package/dist/chunk/LDZIUFDM.jsx +31 -0
- package/dist/chunk/LZWA44KD.js +3 -0
- package/dist/chunk/LZWA44KD.js.map +1 -0
- package/dist/chunk/NVRAOAVV.js +3 -0
- package/dist/chunk/NVRAOAVV.js.map +1 -0
- package/dist/chunk/O3QK7YZR.jsx +1 -0
- package/dist/chunk/UZCST66N.jsx +21 -0
- package/dist/chunk/V42CGY2S.jsx +1229 -0
- package/dist/chunk/YJEHCCLY.js +467 -0
- package/dist/chunk/YJEHCCLY.js.map +1 -0
- package/dist/chunk/ZMOG2IIC.js +3194 -0
- package/dist/chunk/ZMOG2IIC.js.map +1 -0
- package/dist/client-BzSg2DEK.d.ts +1539 -0
- package/dist/config/index.d.ts +55 -0
- package/dist/config/index.js +3 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/index.jsx +11 -0
- package/dist/flows/index.d.ts +1322 -0
- package/dist/flows/index.js +9 -0
- package/dist/flows/index.js.map +1 -0
- package/dist/flows/index.jsx +124 -0
- package/dist/index/index.d.ts +71 -0
- package/dist/index/index.js +15 -0
- package/dist/index/index.js.map +1 -0
- package/dist/index/index.jsx +311 -0
- package/dist/pages/index.d.ts +617 -0
- package/dist/pages/index.js +10 -0
- package/dist/pages/index.js.map +1 -0
- package/dist/pages/index.jsx +50 -0
- package/dist/primitives/default/index.d.ts +6 -0
- package/dist/primitives/default/index.js +3 -0
- package/dist/primitives/default/index.js.map +1 -0
- package/dist/primitives/default/index.jsx +7 -0
- package/dist/primitives/index.d.ts +122 -0
- package/dist/primitives/index.js +3 -0
- package/dist/primitives/index.js.map +1 -0
- package/dist/primitives/index.jsx +9 -0
- package/dist/stores/index.d.ts +48 -0
- package/dist/stores/index.js +6 -0
- package/dist/stores/index.js.map +1 -0
- package/dist/stores/index.jsx +16 -0
- package/dist/surveyV2-BgQHK0GE.d.ts +48 -0
- package/dist/testing/adapter.d.ts +104 -0
- package/dist/testing/adapter.d.ts.map +1 -0
- package/dist/testing/adapter.js +14 -0
- package/dist/testing/adapter.js.map +1 -0
- package/dist/testing/env.d.ts +29 -0
- package/dist/testing/env.d.ts.map +1 -0
- package/dist/testing/env.js +42 -0
- package/dist/testing/env.js.map +1 -0
- package/dist/testing/fixtures.d.ts +70 -0
- package/dist/testing/fixtures.d.ts.map +1 -0
- package/dist/testing/fixtures.js +74 -0
- package/dist/testing/fixtures.js.map +1 -0
- package/dist/testing/index.d.ts +15 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/index.js +14 -0
- package/dist/testing/index.js.map +1 -0
- package/dist/testing/mocks.d.ts +53 -0
- package/dist/testing/mocks.d.ts.map +1 -0
- package/dist/testing/mocks.js +90 -0
- package/dist/testing/mocks.js.map +1 -0
- package/dist/testing/seam-suite.d.ts +39 -0
- package/dist/testing/seam-suite.d.ts.map +1 -0
- package/dist/testing/seam-suite.js +196 -0
- package/dist/testing/seam-suite.js.map +1 -0
- package/dist/testing/storage.d.ts +40 -0
- package/dist/testing/storage.d.ts.map +1 -0
- package/dist/testing/storage.js +71 -0
- package/dist/testing/storage.js.map +1 -0
- package/dist/theme/admin.css +579 -0
- package/dist/theme/affiliate.css +191 -0
- package/dist/theme/flow.css +497 -0
- package/dist/theme/index.d.ts +84 -0
- package/dist/theme/index.js +94 -0
- package/dist/theme/index.js.map +1 -0
- package/dist/theme/index.jsx +97 -0
- package/dist/theme/member-portal.css +1762 -0
- package/package.json +199 -0
|
@@ -0,0 +1,617 @@
|
|
|
1
|
+
import * as solid_js from 'solid-js';
|
|
2
|
+
import { JSX } from 'solid-js';
|
|
3
|
+
import { U as UseSurveyV2FlowOptions } from '../surveyV2-BgQHK0GE.js';
|
|
4
|
+
import { V2SubmitResult, PatientInfo, V2DrugResult } from '@apextelemed/survey-core';
|
|
5
|
+
import { h as AdminProduct } from '../client-BzSg2DEK.js';
|
|
6
|
+
import '@apextelemed/survey-solid';
|
|
7
|
+
|
|
8
|
+
interface SurveyPageProps {
|
|
9
|
+
/** Called when the user has neither a cart nor a pre-selected medication and the survey can't be loaded. The site should redirect to its medication-selection page. */
|
|
10
|
+
onNeedsMedicationSelection?: () => void;
|
|
11
|
+
/** Called when the user finishes the questionnaire (or the disqualification/return-to-dashboard CTA is clicked). The site typically navigates to its dashboard. */
|
|
12
|
+
onComplete?: () => void;
|
|
13
|
+
/** ms to wait on the completion screen before firing `onComplete`. Default 3000. */
|
|
14
|
+
completionRedirectDelayMs?: number;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Tier 3 survey page. Renders the survey state machine (`useSurveyFlow`)
|
|
18
|
+
* through the consumer site's primitive components (`usePrimitives`).
|
|
19
|
+
*
|
|
20
|
+
* Sites must provide medication-select / dashboard navigation via callbacks.
|
|
21
|
+
*/
|
|
22
|
+
declare function SurveyPage(props: SurveyPageProps): solid_js.JSX.Element;
|
|
23
|
+
|
|
24
|
+
interface SurveyV2PageProps extends UseSurveyV2FlowOptions {
|
|
25
|
+
/**
|
|
26
|
+
* Called after the result screen, e.g. to navigate the user onward.
|
|
27
|
+
*
|
|
28
|
+
* `patientInfo` is the identity the engine collected (or was seeded with).
|
|
29
|
+
* It lives in engine state, not on `V2SubmitResult`, so a site that continues
|
|
30
|
+
* into its own checkout has no other way to reach it — without it the member
|
|
31
|
+
* retypes the name/DOB/address they just entered. Survey-first sites (no
|
|
32
|
+
* cart; the Rx is created after payment by `useSubscriptionIntakeFlow`) hand
|
|
33
|
+
* it straight to that flow's setters. Added as a second argument so existing
|
|
34
|
+
* one-argument callers are unaffected.
|
|
35
|
+
*/
|
|
36
|
+
onComplete?: (result: V2SubmitResult, patientInfo: PatientInfo) => void;
|
|
37
|
+
/** Called when the survey fails to load. */
|
|
38
|
+
onLoadFailed?: (error: string) => void;
|
|
39
|
+
/**
|
|
40
|
+
* Called once when the answers disqualify the member for every drug — the
|
|
41
|
+
* survey's other terminal outcome, and one a host may have to act on rather
|
|
42
|
+
* than just display (a renewal check-in records the decline against the
|
|
43
|
+
* renewal; an intake flow may want to route somewhere of its own).
|
|
44
|
+
*
|
|
45
|
+
* The page still renders its own "Not eligible" screen; this is a
|
|
46
|
+
* notification, not a takeover. Read the reason with
|
|
47
|
+
* `disqualificationReasonText(d)` — the backend sends
|
|
48
|
+
* `disqualificationReasons` (plural) and the singular field is legacy.
|
|
49
|
+
*/
|
|
50
|
+
onDisqualified?: (drugResults: V2DrugResult[]) => void;
|
|
51
|
+
/**
|
|
52
|
+
* Called when the post-survey request creation fails (e.g. the prescriber
|
|
53
|
+
* request could not be created from the cart). `onComplete` does NOT fire in
|
|
54
|
+
* that case — handle this to surface an error / offer a retry rather than
|
|
55
|
+
* advancing the member as if the request succeeded.
|
|
56
|
+
*/
|
|
57
|
+
onRequestFailed?: (error: Error) => void;
|
|
58
|
+
/**
|
|
59
|
+
* Called when the CTA on the "no medication selected" fallback panel is
|
|
60
|
+
* clicked. The panel renders when no drug intent can be resolved from the
|
|
61
|
+
* props, cart, or medication store. Sites typically navigate to their
|
|
62
|
+
* catalog / medication-select route here.
|
|
63
|
+
*/
|
|
64
|
+
onNoDrugIntent?: () => void;
|
|
65
|
+
/** Label for the no-intent CTA. Defaults to "Browse medications". */
|
|
66
|
+
noDrugIntentLabel?: string;
|
|
67
|
+
/**
|
|
68
|
+
* When set, the completion screen renders a primary CTA with this label that
|
|
69
|
+
* calls `onCompletionCta`. Use it to send the patient onward (e.g. to a
|
|
70
|
+
* dashboard) AFTER they've seen the per-drug eligibility summary — rather than
|
|
71
|
+
* redirecting immediately from `onComplete`, which hides that summary.
|
|
72
|
+
*/
|
|
73
|
+
completionCtaLabel?: string;
|
|
74
|
+
/** Click handler for the completion CTA (see `completionCtaLabel`). */
|
|
75
|
+
onCompletionCta?: () => void;
|
|
76
|
+
}
|
|
77
|
+
declare function SurveyV2Page(props: SurveyV2PageProps): solid_js.JSX.Element;
|
|
78
|
+
|
|
79
|
+
interface CheckoutPageProps {
|
|
80
|
+
/** Prescription request ID. Typically read from a URL query param by the site. Optional — falls back to the user's `apex_request_id` for legacy single-request flows. */
|
|
81
|
+
requestId?: string;
|
|
82
|
+
/** Specific drug within a multi-drug request to purchase (its Apex drugId). When set, the flow gates on that line item's status and prices/charges only it, so one approved item of a partially-approved request is purchasable on its own. */
|
|
83
|
+
drugId?: string;
|
|
84
|
+
/** Called when the user clicks "Start Questionnaire" on the no-prescription/new-prescription/denied screens. */
|
|
85
|
+
onStartSurvey?: () => void;
|
|
86
|
+
/** Called when the user clicks "Contact Provider" / "Message Provider" on denial or success screens. */
|
|
87
|
+
onContactProvider?: () => void;
|
|
88
|
+
/** Called when the user clicks "Back to Dashboard" or after the success screen. */
|
|
89
|
+
onComplete?: () => void;
|
|
90
|
+
/**
|
|
91
|
+
* When to collect payment. `'on_approval'` (default) shows the card form only
|
|
92
|
+
* once a prescriber has approved the request — a `pending` request renders the
|
|
93
|
+
* "under review" screen. `'upfront'` (pay-before-review) shows the card form
|
|
94
|
+
* immediately on a `pending` request, so the customer pays right after the
|
|
95
|
+
* survey; the backend still holds fulfilment until approval.
|
|
96
|
+
*/
|
|
97
|
+
paymentMode?: 'on_approval' | 'upfront';
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Tier 3 prescription-purchase / checkout page. Renders the
|
|
101
|
+
* `useCheckoutFlow` state machine through the consumer site's primitive
|
|
102
|
+
* components. The card form is rendered using primitives when no payment
|
|
103
|
+
* method is on file; tokenization happens via the provider-aware card tokenizer (AuthNet Accept.js or Intuit)
|
|
104
|
+
* (loaded on demand by the hook).
|
|
105
|
+
*/
|
|
106
|
+
declare function CheckoutPage(props: CheckoutPageProps): solid_js.JSX.Element;
|
|
107
|
+
|
|
108
|
+
interface CartCheckoutPageProps {
|
|
109
|
+
/** Page title. Default "Checkout". */
|
|
110
|
+
title?: string;
|
|
111
|
+
/** Subtitle under the title. Default "Review your order and pay". */
|
|
112
|
+
subtitle?: string;
|
|
113
|
+
/** Called when there is no authenticated session. Model-3 sites route to
|
|
114
|
+
* their RegisterPage (or login) and back here after account creation. */
|
|
115
|
+
onNeedsAuth?: () => void;
|
|
116
|
+
/** Called when the cart holds no one-time-purchasable items — route to the
|
|
117
|
+
* catalog. */
|
|
118
|
+
onNeedsCart?: () => void;
|
|
119
|
+
/** Called from the success screen's CTA with the charge receipt info. Not
|
|
120
|
+
* auto-fired on completion — the customer sees the confirmation first. */
|
|
121
|
+
onComplete?: (info: {
|
|
122
|
+
orderId?: string;
|
|
123
|
+
amountCents?: number;
|
|
124
|
+
}) => void;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Tier 3 one-time cart checkout page (model-3 support). Charges the cart's
|
|
128
|
+
* non-subscription items once via POST /payments/checkout — no prescription,
|
|
129
|
+
* no recurring subscription, no card kept on file. Requires an authenticated
|
|
130
|
+
* member; unauthenticated visitors are handed to `onNeedsAuth`.
|
|
131
|
+
*/
|
|
132
|
+
declare function CartCheckoutPage(props: CartCheckoutPageProps): solid_js.JSX.Element;
|
|
133
|
+
|
|
134
|
+
interface PromoFieldRenderProps {
|
|
135
|
+
value: string;
|
|
136
|
+
onInput: (v: string) => void;
|
|
137
|
+
disabled: boolean;
|
|
138
|
+
}
|
|
139
|
+
interface SignupPageProps {
|
|
140
|
+
/** Membership charge in cents per billing period. Required. */
|
|
141
|
+
membershipAmountCents: number;
|
|
142
|
+
/** Billing interval in days. Default 30. */
|
|
143
|
+
membershipIntervalDays?: number;
|
|
144
|
+
/** Label used when the cart is empty. Defaults to "Membership". */
|
|
145
|
+
membershipProductLabel?: string;
|
|
146
|
+
/** Page title. Default "Sign Up". */
|
|
147
|
+
title?: string;
|
|
148
|
+
/** Subtitle. Default derived from `membershipAmountCents` (e.g. "Start your $49/mo membership"). */
|
|
149
|
+
subtitle?: string;
|
|
150
|
+
/** Called after a successful signup — sites typically navigate to their survey/onboarding page. */
|
|
151
|
+
onComplete?: () => void;
|
|
152
|
+
/** Href for the "Already have an account? Log in" footer link. Defaults to `/login`. */
|
|
153
|
+
loginHref?: string;
|
|
154
|
+
/**
|
|
155
|
+
* Optional banner rendered at the top of the Payment step. Sites use this
|
|
156
|
+
* for e.g. an affiliate-referral confirmation. Renders nothing if omitted.
|
|
157
|
+
*/
|
|
158
|
+
paymentBanner?: () => JSX.Element;
|
|
159
|
+
/**
|
|
160
|
+
* Optional render-prop for an extra field rendered below the card fields
|
|
161
|
+
* on the Payment step. The flow owns the `promoCode` signal — the slot
|
|
162
|
+
* just renders whatever input UI fits the site's design and wires its
|
|
163
|
+
* value/onInput through. The submitted code is sent as `promoCode` on the
|
|
164
|
+
* registerAndSubscribe payload.
|
|
165
|
+
*/
|
|
166
|
+
promoField?: (state: PromoFieldRenderProps) => JSX.Element;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* Tier 3 multi-step signup page. Four steps: Account → Address → Payment →
|
|
170
|
+
* Confirm. Card data is tokenized via Authorize.Net Accept.js when leaving
|
|
171
|
+
* the Payment step. Submission creates the account, charges the first
|
|
172
|
+
* membership payment, and starts the recurring subscription.
|
|
173
|
+
*
|
|
174
|
+
* Non-sensitive fields are auto-saved to localStorage with a 7-day TTL so
|
|
175
|
+
* users can resume after a refresh. Password and card data are never
|
|
176
|
+
* persisted.
|
|
177
|
+
*/
|
|
178
|
+
declare function SignupPage(props: SignupPageProps): JSX.Element;
|
|
179
|
+
|
|
180
|
+
interface RegisterPageProps {
|
|
181
|
+
/** Page title. Default "Create Your Account". */
|
|
182
|
+
title?: string;
|
|
183
|
+
/** Subtitle under the title. Default none — a model-3 tenant has no
|
|
184
|
+
* membership pitch to make here. */
|
|
185
|
+
subtitle?: string;
|
|
186
|
+
/** Called after a successful registration. Model-3 sites typically route
|
|
187
|
+
* back to the one-time checkout that sent the visitor here. */
|
|
188
|
+
onComplete?: () => void;
|
|
189
|
+
/** Called when the visitor already has a session (nothing to register) —
|
|
190
|
+
* route onwards, typically to the same place as `onComplete`. */
|
|
191
|
+
onAlreadyAuthenticated?: () => void;
|
|
192
|
+
/** Href for the "Already have an account? Log in" footer link. Defaults to `/login`. */
|
|
193
|
+
loginHref?: string;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Tier 3 non-subscribing signup page (model-3 support). Three steps: Account →
|
|
197
|
+
* Address → Confirm. Submission creates the account and signs the user in —
|
|
198
|
+
* no card collected, no membership charge, no recurring subscription. The
|
|
199
|
+
* subscribing SignupPage is unchanged and remains the surface for membership
|
|
200
|
+
* tenants.
|
|
201
|
+
*
|
|
202
|
+
* Non-sensitive fields are auto-saved to localStorage with a 7-day TTL so
|
|
203
|
+
* users can resume after a refresh. The password is never persisted.
|
|
204
|
+
*/
|
|
205
|
+
declare function RegisterPage(props: RegisterPageProps): solid_js.JSX.Element;
|
|
206
|
+
|
|
207
|
+
interface SubscribePageProps {
|
|
208
|
+
/** Membership amount in cents charged on subscription start. Required. */
|
|
209
|
+
membershipAmountCents: number;
|
|
210
|
+
/** Billing interval in days. Default 30. */
|
|
211
|
+
membershipIntervalDays?: number;
|
|
212
|
+
/** Page title. Default "Start Your Membership". */
|
|
213
|
+
title?: string;
|
|
214
|
+
/** Subtitle. Default derived from `membershipAmountCents`. */
|
|
215
|
+
subtitle?: string;
|
|
216
|
+
/** Called when the user is not authenticated. Site typically redirects to its signup page. */
|
|
217
|
+
onNeedsAuth?: () => void;
|
|
218
|
+
/** Called when the cart is empty. Site typically redirects to its catalog. */
|
|
219
|
+
onNeedsCart?: () => void;
|
|
220
|
+
/** Called when the user already has an active subscription. Site typically redirects to its survey/dashboard. */
|
|
221
|
+
onAlreadySubscribed?: () => void;
|
|
222
|
+
/** Called after a successful subscription start. */
|
|
223
|
+
onComplete?: () => void;
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Tier 3 subscribe page. Used when an already-signed-in user with items in
|
|
227
|
+
* cart needs to start a membership before placing an order. Three guards
|
|
228
|
+
* trigger callbacks instead of in-page redirects so the site controls
|
|
229
|
+
* navigation.
|
|
230
|
+
*/
|
|
231
|
+
declare function SubscribePage(props: SubscribePageProps): solid_js.JSX.Element;
|
|
232
|
+
|
|
233
|
+
type AffiliateSubTab = 'overview' | 'people' | 'conversions' | 'payouts' | 'programs';
|
|
234
|
+
|
|
235
|
+
interface AffiliatesProps {
|
|
236
|
+
/** Optional controlled sub-tab. If omitted, the component manages its own state. */
|
|
237
|
+
activeSubTab?: AffiliateSubTab;
|
|
238
|
+
/** Called when a sub-tab is clicked. Sites can sync to their router. */
|
|
239
|
+
onSubTabChange?: (sub: AffiliateSubTab) => void;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Module-level toast adapter for the admin dashboard.
|
|
244
|
+
*
|
|
245
|
+
* Tab implementations import `toastError` / `toastSuccess` and call them
|
|
246
|
+
* directly. The shell (`AdminDashboard`) wires the consumer's toast prop
|
|
247
|
+
* via `setAdminToast` on mount; if no toast is passed, the adapter falls
|
|
248
|
+
* back to `alert()` on error and a no-op on success (matches existing
|
|
249
|
+
* package behaviour before this prop existed).
|
|
250
|
+
*/
|
|
251
|
+
interface AdminToast {
|
|
252
|
+
success(message: string): void;
|
|
253
|
+
error(message: string): void;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* Auth adapter contract for gating the admin dashboard. Sites inject this so
|
|
258
|
+
* the page can render a loading state and fire site-controlled redirects when
|
|
259
|
+
* the visitor is not an admin — without the package taking a hard dependency
|
|
260
|
+
* on any particular auth store or router.
|
|
261
|
+
*/
|
|
262
|
+
interface AdminAuthAdapter {
|
|
263
|
+
/** Is there a valid session? */
|
|
264
|
+
isAuthenticated: () => boolean;
|
|
265
|
+
/**
|
|
266
|
+
* Has the user profile loaded? While false, the gate shows a spinner and
|
|
267
|
+
* defers the admin check — this prevents a real admin from being bounced
|
|
268
|
+
* to /dashboard during a hard refresh of /admin.
|
|
269
|
+
*/
|
|
270
|
+
isHydrated: () => boolean;
|
|
271
|
+
/** Once hydrated, does the user have admin role? */
|
|
272
|
+
isAdmin: () => boolean;
|
|
273
|
+
/** Fired when there is no session. Sites typically navigate to /login. */
|
|
274
|
+
onUnauthenticated?: () => void;
|
|
275
|
+
/** Fired when the hydrated user is not an admin. Sites typically navigate to /dashboard. */
|
|
276
|
+
onForbidden?: () => void;
|
|
277
|
+
}
|
|
278
|
+
type AdminTab = 'dashboard' | 'customers' | 'payments' | 'subscriptions' | 'products' | 'categories' | 'sales' | 'promo-codes' | 'affiliates' | 'support' | 'webhooks' | 'email-templates' | 'funnel';
|
|
279
|
+
interface AdminTabGroup {
|
|
280
|
+
/** Section header rendered above the items (uppercase, muted). */
|
|
281
|
+
label: string;
|
|
282
|
+
/** Tabs in this group, in display order. */
|
|
283
|
+
tabs: AdminTab[];
|
|
284
|
+
}
|
|
285
|
+
interface AdminDashboardProps {
|
|
286
|
+
/** Optional controlled tab value. If omitted, the component manages its own internal tab state. */
|
|
287
|
+
activeTab?: AdminTab;
|
|
288
|
+
/** Called when a tab is clicked. Sites can use this to sync the URL or analytics. */
|
|
289
|
+
onTabChange?: (tab: AdminTab) => void;
|
|
290
|
+
/** Initial tab when uncontrolled. Default 'dashboard'. */
|
|
291
|
+
defaultTab?: AdminTab;
|
|
292
|
+
/**
|
|
293
|
+
* Vertical space above the dashboard (e.g. for a sticky site-chrome nav).
|
|
294
|
+
* The component computes its own height as `calc(100vh - topOffset)` so
|
|
295
|
+
* the sidebar fills the viewport and the main pane scrolls independently.
|
|
296
|
+
* Default '0px'.
|
|
297
|
+
*/
|
|
298
|
+
topOffset?: string;
|
|
299
|
+
/**
|
|
300
|
+
* Optional icon class names per tab. Rendered as `<span class={class} />`
|
|
301
|
+
* inside each sidebar button. Sites that use UnoCSS preset-icons can pass
|
|
302
|
+
* `i-lucide-*` strings; sites without an icon system can omit this.
|
|
303
|
+
*/
|
|
304
|
+
tabIcons?: Partial<Record<AdminTab, string>>;
|
|
305
|
+
/**
|
|
306
|
+
* Optional whitelist of tabs to show in the sidebar and route between.
|
|
307
|
+
* Defaults to every tab in `topTabs` + `tabGroups`. Sites without an
|
|
308
|
+
* affiliates feature can pass `enabledTabs` to hide it; same for any other
|
|
309
|
+
* tab. Groups whose tabs are all filtered out hide their header too.
|
|
310
|
+
*/
|
|
311
|
+
enabledTabs?: AdminTab[];
|
|
312
|
+
/**
|
|
313
|
+
* Optional ungrouped tabs rendered at the top of the sidebar, with no
|
|
314
|
+
* section header above them. Defaults to `['dashboard']`. Pass an empty
|
|
315
|
+
* array to put every tab inside a labeled group.
|
|
316
|
+
*/
|
|
317
|
+
topTabs?: AdminTab[];
|
|
318
|
+
/**
|
|
319
|
+
* Optional labeled groups rendered below the top tabs. Each group becomes
|
|
320
|
+
* a section with an uppercase header. Defaults to the package's canonical
|
|
321
|
+
* grouping (Customer Management / Catalog / Marketing / Integrations).
|
|
322
|
+
* Sites that want different groupings pass their own; sites that want the
|
|
323
|
+
* old flat layout pass `topTabs` containing every tab plus `tabGroups: []`.
|
|
324
|
+
*/
|
|
325
|
+
tabGroups?: AdminTabGroup[];
|
|
326
|
+
/**
|
|
327
|
+
* Optional controlled sub-tab for the Affiliates tab + change handler.
|
|
328
|
+
* Lets sites mirror affiliate sub-routes (e.g. /admin/affiliates/people)
|
|
329
|
+
* in their router. If omitted, Affiliates manages its own sub-tab state.
|
|
330
|
+
*/
|
|
331
|
+
affiliates?: AffiliatesProps;
|
|
332
|
+
/**
|
|
333
|
+
* Optional lookup that returns a partial update to reset a product to a
|
|
334
|
+
* site-specific default. When provided and the lookup returns non-null,
|
|
335
|
+
* the product edit panel renders a "Reset to defaults" button that
|
|
336
|
+
* populates the form fields from the partial. Sites without a defaults
|
|
337
|
+
* dictionary omit this prop.
|
|
338
|
+
*/
|
|
339
|
+
productDefaultsLookup?: (product: AdminProduct) => Partial<AdminProduct> | null;
|
|
340
|
+
/**
|
|
341
|
+
* Optional toast adapter. When provided, admin tabs route non-blocking
|
|
342
|
+
* success / error notifications through it. When omitted, errors fall
|
|
343
|
+
* back to `alert()` and successes are silent (current behaviour).
|
|
344
|
+
*/
|
|
345
|
+
toast?: AdminToast;
|
|
346
|
+
/**
|
|
347
|
+
* Absolute URL of the host site's password-reset page. Threaded to the
|
|
348
|
+
* Customers tab's detail panel to enable its "Send password reset" button
|
|
349
|
+
* (the backend appends `?token=…&email=…`). When omitted, that button is
|
|
350
|
+
* hidden — the endpoint requires a redirectUrl.
|
|
351
|
+
*/
|
|
352
|
+
passwordResetRedirectUrl?: string;
|
|
353
|
+
/**
|
|
354
|
+
* Optional auth adapter. When provided, the dashboard renders a loading
|
|
355
|
+
* gate until the visitor is confirmed as an authenticated admin, and fires
|
|
356
|
+
* `onUnauthenticated` / `onForbidden` so the site can redirect. When
|
|
357
|
+
* omitted, no gating is applied (the site is expected to wrap the route).
|
|
358
|
+
*/
|
|
359
|
+
auth?: AdminAuthAdapter;
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* Admin dashboard with built-in tab navigation. Sites can either let the
|
|
363
|
+
* component manage its own tab state, or pass `activeTab` + `onTabChange`
|
|
364
|
+
* to sync with their router.
|
|
365
|
+
*
|
|
366
|
+
* Visual styling is driven by CSS variables — see `theme/admin.css` for the
|
|
367
|
+
* full variable contract. Sites must import that stylesheet once at app
|
|
368
|
+
* boot, then can override individual variables to match their brand.
|
|
369
|
+
*
|
|
370
|
+
* Per-tab implementations live in `./admin/*.tsx`.
|
|
371
|
+
*/
|
|
372
|
+
declare function AdminDashboard(props: AdminDashboardProps): solid_js.JSX.Element;
|
|
373
|
+
|
|
374
|
+
declare function EmailTemplates(): solid_js.JSX.Element;
|
|
375
|
+
|
|
376
|
+
interface PatientDashboardPreviewProps {
|
|
377
|
+
/** Short-lived (15-min) impersonation token authenticating GET reads only. */
|
|
378
|
+
token: string;
|
|
379
|
+
/** Customer name for the banner (e.g. "Jane Doe"). */
|
|
380
|
+
customerName?: string;
|
|
381
|
+
onClose: () => void;
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* Read-only preview of a customer's patient dashboard, rendered for an admin
|
|
385
|
+
* via a short-lived impersonation token ("view as customer"). Loads the exact
|
|
386
|
+
* same data layer the patient sites use (`useDashboardData`) but carries the
|
|
387
|
+
* impersonation token on every read, so it never touches the admin's own
|
|
388
|
+
* session. No action buttons — impersonated tokens are rejected on any write.
|
|
389
|
+
*/
|
|
390
|
+
declare function PatientDashboardPreview(props: PatientDashboardPreviewProps): solid_js.JSX.Element;
|
|
391
|
+
|
|
392
|
+
interface UpdatePaymentMethodProps {
|
|
393
|
+
/** Explicit subscription id; if omitted, the member's primary subscription is used. */
|
|
394
|
+
subscriptionId?: string;
|
|
395
|
+
/** Called after a successful update (e.g. navigate back to the portal). */
|
|
396
|
+
onDone: () => void;
|
|
397
|
+
/** Called when the member cancels without changing the card. */
|
|
398
|
+
onCancel: () => void;
|
|
399
|
+
/** Heading text. Defaults to "Update payment method". */
|
|
400
|
+
heading?: string;
|
|
401
|
+
}
|
|
402
|
+
/**
|
|
403
|
+
* Standalone card-on-file update page. Tokenizes the new card client-side
|
|
404
|
+
* (useAcceptJs, provider-aware) and PUTs only the opaque token — the PAN never
|
|
405
|
+
* reaches our backend. The member's current card stays active until this
|
|
406
|
+
* succeeds. Host wires routing via onDone/onCancel; PrimitivesProvider supplies
|
|
407
|
+
* the field/button look.
|
|
408
|
+
*/
|
|
409
|
+
declare function UpdatePaymentMethod(props: UpdatePaymentMethodProps): JSX.Element;
|
|
410
|
+
|
|
411
|
+
interface LegalLink {
|
|
412
|
+
label: string;
|
|
413
|
+
href: string;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* Content model for the member portal's medication guide ("leaflet"). The
|
|
418
|
+
* package ships the SHAPE + the rendering component (MedicationGuide) but NOT
|
|
419
|
+
* the copy — clinical guide content is partner-specific and must be authored/
|
|
420
|
+
* reviewed per brand, so the host injects a resolver that maps a medication
|
|
421
|
+
* name to its guide (or null when there's no guide for it).
|
|
422
|
+
*/
|
|
423
|
+
interface TitrationStep {
|
|
424
|
+
dose: string;
|
|
425
|
+
phase: string;
|
|
426
|
+
timeframe: string;
|
|
427
|
+
note: string;
|
|
428
|
+
}
|
|
429
|
+
interface InjectionStep {
|
|
430
|
+
n: number;
|
|
431
|
+
title: string;
|
|
432
|
+
detail: string;
|
|
433
|
+
}
|
|
434
|
+
interface MedicationGuideContent {
|
|
435
|
+
title: string;
|
|
436
|
+
summary: string;
|
|
437
|
+
boxedWarning: string;
|
|
438
|
+
doNotUseIf: string[];
|
|
439
|
+
titration: TitrationStep[];
|
|
440
|
+
injectionSteps: InjectionStep[];
|
|
441
|
+
storage: string[];
|
|
442
|
+
missedDose: string;
|
|
443
|
+
/** Optional — only some medications carry a contraception note. */
|
|
444
|
+
contraception?: string;
|
|
445
|
+
sideEffectsCommon: string[];
|
|
446
|
+
sideEffectsSerious: string[];
|
|
447
|
+
whenToCall: string[];
|
|
448
|
+
tips: string[];
|
|
449
|
+
disclaimers: string[];
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* Host-supplied lookup from a medication name to its guide content. Return null
|
|
453
|
+
* (or omit the resolver entirely) when there's no guide — the portal hides the
|
|
454
|
+
* Guide tab rather than showing an empty leaflet.
|
|
455
|
+
*/
|
|
456
|
+
type MedicationGuideResolver = (medicationName: string) => MedicationGuideContent | null;
|
|
457
|
+
|
|
458
|
+
/** Auth seam — the host owns login/session; the portal only needs sign-out
|
|
459
|
+
* (and, optionally, a hydration gate). Mirrors AdminAuthAdapter's shape. */
|
|
460
|
+
interface MemberAuthAdapter {
|
|
461
|
+
isAuthenticated: () => boolean;
|
|
462
|
+
isHydrated?: () => boolean;
|
|
463
|
+
onSignOut: () => void;
|
|
464
|
+
}
|
|
465
|
+
interface MemberPortalBrand {
|
|
466
|
+
name: string;
|
|
467
|
+
/** Logo image URL. Omit for a text-wordmark brand — `name` renders instead. */
|
|
468
|
+
logoSrc?: string;
|
|
469
|
+
/** Where the header logo links (usually the marketing home). */
|
|
470
|
+
homeHref: string;
|
|
471
|
+
/**
|
|
472
|
+
* Explicit "back to shop / catalog" destination for the labeled back button.
|
|
473
|
+
* Optional — falls back to `homeHref` so existing consumers keep working.
|
|
474
|
+
*
|
|
475
|
+
* Pass **`null`** to drop the back link entirely (rail + mobile bar). That is
|
|
476
|
+
* for single-subscription sites with no catalog to go back TO — "Back to
|
|
477
|
+
* shop" there points at a shop that doesn't exist. Note it also removes the
|
|
478
|
+
* only link out of the portal below 900px, where the rail (and its
|
|
479
|
+
* home-linked wordmark) is hidden.
|
|
480
|
+
*/
|
|
481
|
+
catalogHref?: string | null;
|
|
482
|
+
}
|
|
483
|
+
interface MemberPortalRoutes {
|
|
484
|
+
/** Start-an-intake route. */
|
|
485
|
+
intake: string;
|
|
486
|
+
/** Build the check-in deep link for a renewal id. */
|
|
487
|
+
renew: (renewalId: string) => string;
|
|
488
|
+
/** Payment-method update route. */
|
|
489
|
+
paymentMethod: string;
|
|
490
|
+
}
|
|
491
|
+
interface MemberPortalProps {
|
|
492
|
+
brand: MemberPortalBrand;
|
|
493
|
+
routes: MemberPortalRoutes;
|
|
494
|
+
auth: MemberAuthAdapter;
|
|
495
|
+
/** Resolver for the Guide tab's clinical content. Omit to hide the tab. */
|
|
496
|
+
guides?: MedicationGuideResolver;
|
|
497
|
+
/** Footer legal links on the Account tab (Privacy, Terms, …). */
|
|
498
|
+
legalLinks?: LegalLink[];
|
|
499
|
+
/** Fixed-header offset (e.g. a zone bar), forwarded to CSS as --portal-top. */
|
|
500
|
+
topOffset?: number;
|
|
501
|
+
/**
|
|
502
|
+
* Opt-in History tab: read-only review of the member's own submitted
|
|
503
|
+
* intake/refill surveys. Off by default — it surfaces a new patient-facing
|
|
504
|
+
* data surface (GET /apex/surveys/responses), so each site enables it
|
|
505
|
+
* deliberately once its backend serves the review routes.
|
|
506
|
+
*/
|
|
507
|
+
surveyHistory?: boolean;
|
|
508
|
+
}
|
|
509
|
+
declare function MemberPortal(props: MemberPortalProps): JSX.Element;
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* Auth adapter contract for gating the affiliate portal. Mirrors
|
|
513
|
+
* AdminAuthAdapter but without an isAdmin gate — any authenticated
|
|
514
|
+
* affiliate sees the portal. Sites inject this so the page can render a
|
|
515
|
+
* loading state and fire site-controlled redirects when the visitor is
|
|
516
|
+
* not signed in, without the package taking a hard dependency on a router.
|
|
517
|
+
*/
|
|
518
|
+
interface AffiliateAuthAdapter {
|
|
519
|
+
isAuthenticated: () => boolean;
|
|
520
|
+
isHydrated: () => boolean;
|
|
521
|
+
onUnauthenticated?: () => void;
|
|
522
|
+
}
|
|
523
|
+
type AffiliatePortalTab = 'overview' | 'conversions' | 'downline' | 'referral' | 'settings';
|
|
524
|
+
interface AffiliatePortalProps {
|
|
525
|
+
activeTab?: AffiliatePortalTab;
|
|
526
|
+
onTabChange?: (tab: AffiliatePortalTab) => void;
|
|
527
|
+
defaultTab?: AffiliatePortalTab;
|
|
528
|
+
topOffset?: string;
|
|
529
|
+
tabIcons?: Partial<Record<AffiliatePortalTab, string>>;
|
|
530
|
+
enabledTabs?: AffiliatePortalTab[];
|
|
531
|
+
auth?: AffiliateAuthAdapter;
|
|
532
|
+
}
|
|
533
|
+
declare function AffiliatePortal(props: AffiliatePortalProps): solid_js.JSX.Element;
|
|
534
|
+
|
|
535
|
+
interface AffiliateRegisterProps {
|
|
536
|
+
/** Fired when registration succeeds. Sites typically route to a "pending approval" screen. */
|
|
537
|
+
onSuccess?: (affiliateEmail: string) => void;
|
|
538
|
+
/** Optional link to the login route for visitors who already have an account. */
|
|
539
|
+
onNavigateLogin?: () => void;
|
|
540
|
+
}
|
|
541
|
+
declare function AffiliateRegister(props: AffiliateRegisterProps): solid_js.JSX.Element;
|
|
542
|
+
|
|
543
|
+
interface AffiliateLoginProps {
|
|
544
|
+
/** Fired when login succeeds. Sites typically route to the affiliate dashboard. */
|
|
545
|
+
onSuccess?: () => void;
|
|
546
|
+
/** Optional link to the register route for new affiliates. */
|
|
547
|
+
onNavigateRegister?: () => void;
|
|
548
|
+
/** Optional link to the affiliate forgot-password route. */
|
|
549
|
+
onNavigateForgotPassword?: () => void;
|
|
550
|
+
}
|
|
551
|
+
declare function AffiliateLogin(props: AffiliateLoginProps): solid_js.JSX.Element;
|
|
552
|
+
|
|
553
|
+
interface ForgotPasswordPageProps {
|
|
554
|
+
/**
|
|
555
|
+
* Absolute URL of the host site's password-reset page. Sent to the backend,
|
|
556
|
+
* which appends `?token=…&email=…` before emailing the reset link. Required.
|
|
557
|
+
*/
|
|
558
|
+
redirectUrl: string;
|
|
559
|
+
/** Fired after the request is submitted (always, per anti-enumeration). */
|
|
560
|
+
onDone?: () => void;
|
|
561
|
+
}
|
|
562
|
+
/**
|
|
563
|
+
* Self-serve "forgot password" page. Collects an email and calls
|
|
564
|
+
* `authApi.requestPasswordReset`, which always 200s for anti-enumeration — so
|
|
565
|
+
* on success we show the generic message the backend returns rather than
|
|
566
|
+
* confirming whether an account exists.
|
|
567
|
+
*/
|
|
568
|
+
declare function ForgotPasswordPage(props: ForgotPasswordPageProps): solid_js.JSX.Element;
|
|
569
|
+
|
|
570
|
+
interface ResetPasswordPageProps {
|
|
571
|
+
/** Reset token. If omitted, read from the `token` query param the backend set. */
|
|
572
|
+
token?: string;
|
|
573
|
+
/** Account email. If omitted, read from the `email` query param the backend set. */
|
|
574
|
+
email?: string;
|
|
575
|
+
/** Fired once the password has been reset successfully. */
|
|
576
|
+
onSuccess?: () => void;
|
|
577
|
+
}
|
|
578
|
+
/**
|
|
579
|
+
* Self-serve "reset password" page. Reads `token`/`email` from props or falls
|
|
580
|
+
* back to the query params the backend appended to the reset link, collects a
|
|
581
|
+
* new password (with confirmation), and calls `authApi.resetPassword`. An
|
|
582
|
+
* invalid/expired token surfaces as the backend's 400 error message.
|
|
583
|
+
*/
|
|
584
|
+
declare function ResetPasswordPage(props: ResetPasswordPageProps): solid_js.JSX.Element;
|
|
585
|
+
|
|
586
|
+
interface AffiliateForgotPasswordProps {
|
|
587
|
+
/**
|
|
588
|
+
* Absolute URL of the host site's AFFILIATE password-reset page. Sent to the
|
|
589
|
+
* backend, which appends `?token=…&email=…` before emailing the reset link.
|
|
590
|
+
*/
|
|
591
|
+
redirectUrl: string;
|
|
592
|
+
/** Optional link back to the affiliate login route. */
|
|
593
|
+
onNavigateLogin?: () => void;
|
|
594
|
+
}
|
|
595
|
+
/**
|
|
596
|
+
* Self-serve "forgot password" for AFFILIATE accounts (separate identity track
|
|
597
|
+
* from patients — own table, own endpoints). The backend always 200s with
|
|
598
|
+
* generic copy for anti-enumeration, so we show its message rather than
|
|
599
|
+
* confirming whether an account exists.
|
|
600
|
+
*/
|
|
601
|
+
declare function AffiliateForgotPassword(props: AffiliateForgotPasswordProps): solid_js.JSX.Element;
|
|
602
|
+
|
|
603
|
+
interface AffiliateResetPasswordProps {
|
|
604
|
+
/** Reset token. If omitted, read from the `token` query param the backend set. */
|
|
605
|
+
token?: string;
|
|
606
|
+
/** Account email. If omitted, read from the `email` query param the backend set. */
|
|
607
|
+
email?: string;
|
|
608
|
+
/** Fired after the password is successfully reset. Sites route to affiliate login. */
|
|
609
|
+
onSuccess?: () => void;
|
|
610
|
+
}
|
|
611
|
+
/**
|
|
612
|
+
* "Set a new password" page for AFFILIATE accounts — the target of the emailed
|
|
613
|
+
* reset link. An invalid/expired token surfaces as the backend's 400 message.
|
|
614
|
+
*/
|
|
615
|
+
declare function AffiliateResetPassword(props: AffiliateResetPasswordProps): solid_js.JSX.Element;
|
|
616
|
+
|
|
617
|
+
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 };
|
|
@@ -0,0 +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/HLXKWRRW.js';
|
|
2
|
+
import '../chunk/LZWA44KD.js';
|
|
3
|
+
import '../chunk/ZMOG2IIC.js';
|
|
4
|
+
import '../chunk/DS4E7FAI.js';
|
|
5
|
+
import '../chunk/67KHO66G.js';
|
|
6
|
+
import '../chunk/E7722UPF.js';
|
|
7
|
+
import '../chunk/DY5BJ6UG.js';
|
|
8
|
+
import '../chunk/5XGPFYIJ.js';
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AdminDashboard,
|
|
3
|
+
AffiliateForgotPassword,
|
|
4
|
+
AffiliateLogin,
|
|
5
|
+
AffiliatePortal,
|
|
6
|
+
AffiliateRegister,
|
|
7
|
+
AffiliateResetPassword,
|
|
8
|
+
CartCheckoutPage,
|
|
9
|
+
CheckoutPage,
|
|
10
|
+
EmailTemplates,
|
|
11
|
+
ForgotPasswordPage,
|
|
12
|
+
MemberPortal,
|
|
13
|
+
PatientDashboardPreview,
|
|
14
|
+
RegisterPage,
|
|
15
|
+
ResetPasswordPage,
|
|
16
|
+
SignupPage,
|
|
17
|
+
SubscribePage,
|
|
18
|
+
SurveyPage,
|
|
19
|
+
SurveyV2Page,
|
|
20
|
+
UpdatePaymentMethod
|
|
21
|
+
} from "../chunk/3VEOP7TZ.jsx";
|
|
22
|
+
import "../chunk/UZCST66N.jsx";
|
|
23
|
+
import "../chunk/KNTZTYXE.jsx";
|
|
24
|
+
import "../chunk/I46Y2J5W.jsx";
|
|
25
|
+
import "../chunk/J63XPQP4.jsx";
|
|
26
|
+
import "../chunk/KZZSQ7LP.jsx";
|
|
27
|
+
import "../chunk/V42CGY2S.jsx";
|
|
28
|
+
import "../chunk/LDZIUFDM.jsx";
|
|
29
|
+
export {
|
|
30
|
+
AdminDashboard,
|
|
31
|
+
AffiliateForgotPassword,
|
|
32
|
+
AffiliateLogin,
|
|
33
|
+
AffiliatePortal,
|
|
34
|
+
AffiliateRegister,
|
|
35
|
+
AffiliateResetPassword,
|
|
36
|
+
CartCheckoutPage,
|
|
37
|
+
CheckoutPage,
|
|
38
|
+
EmailTemplates,
|
|
39
|
+
ForgotPasswordPage,
|
|
40
|
+
MemberPortal,
|
|
41
|
+
PatientDashboardPreview,
|
|
42
|
+
RegisterPage,
|
|
43
|
+
ResetPasswordPage,
|
|
44
|
+
SignupPage,
|
|
45
|
+
SubscribePage,
|
|
46
|
+
SurveyPage,
|
|
47
|
+
SurveyV2Page,
|
|
48
|
+
UpdatePaymentMethod
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=index.jsx.map
|