@apextelemed/partner-core 0.23.0-dev.80 → 0.23.0-dev.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.js +3 -3
- package/dist/api/index.jsx +3 -3
- package/dist/chunk/{IM27S2HM.jsx → 2TGKQDQV.jsx} +2 -2
- package/dist/chunk/{M6PV6FON.js → 4GYQYONL.js} +5 -7
- package/dist/chunk/4GYQYONL.js.map +1 -0
- package/dist/chunk/{KPFIVXLP.jsx → 6TJPPA6S.jsx} +32 -10
- package/dist/chunk/{2OXKVNNY.js → 6TO6ZQVD.js} +39 -11
- package/dist/chunk/6TO6ZQVD.js.map +1 -0
- package/dist/chunk/{TNGDSXSC.js → 74A4ERWQ.js} +3 -3
- package/dist/chunk/{TNGDSXSC.js.map → 74A4ERWQ.js.map} +1 -1
- package/dist/chunk/{6X2C7K6K.jsx → GIJCNQCB.jsx} +2 -2
- package/dist/chunk/{AA7EUOB6.jsx → GWVFWHTO.jsx} +1 -1
- package/dist/chunk/{GF4CVY2S.js → K2TKMLIY.js} +3 -3
- package/dist/chunk/{GF4CVY2S.js.map → K2TKMLIY.js.map} +1 -1
- package/dist/chunk/{2GTWVO52.jsx → L5DLLO2G.jsx} +5 -5
- package/dist/chunk/{PXICBLZI.jsx → L7TIWRSK.jsx} +5 -7
- package/dist/chunk/{BJXH2J3Z.js → PK74TNA6.js} +3 -3
- package/dist/chunk/{BJXH2J3Z.js.map → PK74TNA6.js.map} +1 -1
- package/dist/chunk/{MCZVL3GO.js → SAHG4GZB.js} +6 -6
- package/dist/chunk/{MCZVL3GO.js.map → SAHG4GZB.js.map} +1 -1
- package/dist/chunk/{3PUSGUJX.js → Y74YTJXR.js} +2 -2
- package/dist/chunk/{3PUSGUJX.js.map → Y74YTJXR.js.map} +1 -1
- package/dist/chunk/{QKCN523Q.jsx → Z33DIIG6.jsx} +2 -2
- package/dist/{client-CsxG6Mdf.d.ts → client-BdY7wkDp.d.ts} +6 -0
- package/dist/flows/index.d.ts +3 -2
- package/dist/flows/index.js +6 -6
- package/dist/flows/index.jsx +8 -6
- package/dist/index/index.d.ts +2 -2
- package/dist/index/index.js +7 -7
- package/dist/index/index.jsx +9 -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/package.json +1 -1
- package/dist/chunk/2OXKVNNY.js.map +0 -1
- package/dist/chunk/M6PV6FON.js.map +0 -1
|
@@ -83,10 +83,10 @@ import {
|
|
|
83
83
|
useSurveyV2Flow,
|
|
84
84
|
useUpdatePaymentMethodFlow,
|
|
85
85
|
visibleWarnings
|
|
86
|
-
} from "./
|
|
86
|
+
} from "./L7TIWRSK.jsx";
|
|
87
87
|
import {
|
|
88
88
|
fetchFunnelConfig
|
|
89
|
-
} from "./
|
|
89
|
+
} from "./2TGKQDQV.jsx";
|
|
90
90
|
import {
|
|
91
91
|
usePrimitives
|
|
92
92
|
} from "./J63XPQP4.jsx";
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
affiliateAuth_default,
|
|
95
95
|
auth_default,
|
|
96
96
|
cart_default
|
|
97
|
-
} from "./
|
|
97
|
+
} from "./Z33DIIG6.jsx";
|
|
98
98
|
import {
|
|
99
99
|
ADMIN_ROLES,
|
|
100
100
|
ApiError,
|
|
@@ -111,7 +111,7 @@ import {
|
|
|
111
111
|
offersApi,
|
|
112
112
|
subscriptionsApi,
|
|
113
113
|
usersApi
|
|
114
|
-
} from "./
|
|
114
|
+
} from "./GWVFWHTO.jsx";
|
|
115
115
|
|
|
116
116
|
// src/pages/Survey.tsx
|
|
117
117
|
import { Show, For, createEffect, on } from "solid-js";
|
|
@@ -13279,12 +13279,25 @@ function Dashboard(props) {
|
|
|
13279
13279
|
{ label: "Total Customers", value: s.totalCustomers.toLocaleString(), tint: "var(--app-admin-primary-soft-fg)", tab: "customers" },
|
|
13280
13280
|
// Subscriptions live inside the customer 360 now; the card drills into
|
|
13281
13281
|
// the customer list (which lands on the active-subscribers filter when
|
|
13282
|
-
// reached through the retired 'subscriptions' tab alias).
|
|
13282
|
+
// reached through the retired 'subscriptions' tab alias). Past due
|
|
13283
|
+
// counts: it hasn't ended, its card is being retried.
|
|
13283
13284
|
{ label: "Active Subscriptions", value: s.activeSubscriptions.toLocaleString(), tint: "var(--app-admin-success-fg)", tab: "customers" },
|
|
13285
|
+
// Who support should chase: opens the customer list on Past due.
|
|
13286
|
+
...s.pastDueCustomers !== void 0 ? [{
|
|
13287
|
+
label: "Past Due Customers",
|
|
13288
|
+
value: s.pastDueCustomers.toLocaleString(),
|
|
13289
|
+
tint: s.pastDueCustomers > 0 ? "var(--app-admin-danger-fg)" : "var(--app-admin-fg-muted)",
|
|
13290
|
+
tab: "customers",
|
|
13291
|
+
filter: "past_due"
|
|
13292
|
+
}] : [],
|
|
13284
13293
|
{ label: "Revenue (All Time)", value: centsToUsd(s.totalRevenueCents), tint: "var(--app-admin-info-fg)", tab: "payments" },
|
|
13285
13294
|
{ label: "Failed Payments (30d)", value: s.failedPayments30d.toLocaleString(), tint: "var(--app-admin-warning-fg)", tab: "payments" }
|
|
13286
13295
|
];
|
|
13287
13296
|
};
|
|
13297
|
+
const openCard = (card) => {
|
|
13298
|
+
if (card.filter && props.onOpenCustomers) props.onOpenCustomers(card.filter);
|
|
13299
|
+
else props.onSelectTab(card.tab);
|
|
13300
|
+
};
|
|
13288
13301
|
return <div>
|
|
13289
13302
|
<PageTitle>Dashboard</PageTitle>
|
|
13290
13303
|
<Show43 when={!stats.loading} fallback={<LoadingSpinner />}>
|
|
@@ -13303,7 +13316,7 @@ function Dashboard(props) {
|
|
|
13303
13316
|
return <Dynamic
|
|
13304
13317
|
component={clickable ? "button" : "div"}
|
|
13305
13318
|
type={clickable ? "button" : void 0}
|
|
13306
|
-
onClick={clickable ? () =>
|
|
13319
|
+
onClick={clickable ? () => openCard(card) : void 0}
|
|
13307
13320
|
title={clickable ? `View ${card.label}` : void 0}
|
|
13308
13321
|
class="app-admin-card"
|
|
13309
13322
|
style={{
|
|
@@ -13419,7 +13432,7 @@ function RecurringRevenue(props) {
|
|
|
13419
13432
|
</table>
|
|
13420
13433
|
</Show43>
|
|
13421
13434
|
<p style={{ margin: 0, padding: "0.75rem 1.25rem", "font-size": "0.75rem", color: "var(--app-admin-fg-subtle)" }}>
|
|
13422
|
-
Active, non-test subscriptions at what they're charged now, after discounts. Other billing cycles are converted to a 30-day month.
|
|
13435
|
+
Active and past-due, non-test subscriptions at what they're charged now, after discounts. Other billing cycles are converted to a 30-day month.
|
|
13423
13436
|
</p>
|
|
13424
13437
|
</Section>
|
|
13425
13438
|
</div>;
|
|
@@ -24006,17 +24019,25 @@ function AdminDashboard(props) {
|
|
|
24006
24019
|
});
|
|
24007
24020
|
});
|
|
24008
24021
|
const [pendingCustomerUid, setPendingCustomerUid] = createSignal51(null);
|
|
24022
|
+
const [pendingCustomerFilter, setPendingCustomerFilter] = createSignal51(null);
|
|
24009
24023
|
const [pendingThreadId, setPendingThreadId] = createSignal51(null);
|
|
24010
24024
|
const [pendingTemplateId, setPendingTemplateId] = createSignal51(null);
|
|
24011
24025
|
const handleTabClick = (tab, opts) => {
|
|
24012
24026
|
if (!opts?.keepPending) {
|
|
24013
24027
|
setPendingCustomerUid(null);
|
|
24028
|
+
setPendingCustomerFilter(null);
|
|
24014
24029
|
setPendingThreadId(null);
|
|
24015
24030
|
}
|
|
24016
24031
|
setInternalTab(tab);
|
|
24017
24032
|
setDrawerOpen(false);
|
|
24018
24033
|
props.onTabChange?.(tab);
|
|
24019
24034
|
};
|
|
24035
|
+
const openCustomersFiltered = (filter) => {
|
|
24036
|
+
props.customers?.onSelectCustomer?.(null);
|
|
24037
|
+
setPendingCustomerUid(null);
|
|
24038
|
+
setPendingCustomerFilter(filter);
|
|
24039
|
+
handleTabClick("customers", { keepPending: true });
|
|
24040
|
+
};
|
|
24020
24041
|
const adminNav = {
|
|
24021
24042
|
selectTab: (tab) => handleTabClick(tab),
|
|
24022
24043
|
isTabEnabled,
|
|
@@ -24155,9 +24176,9 @@ function AdminDashboard(props) {
|
|
|
24155
24176
|
when={adminMe() === void 0 || roleAllows(currentTab())}
|
|
24156
24177
|
fallback={<RoleForbidden />}
|
|
24157
24178
|
>
|
|
24158
|
-
<Switch5 fallback={<Dashboard onSelectTab={handleTabClick} isTabEnabled={isTabEnabled} />}>
|
|
24179
|
+
<Switch5 fallback={<Dashboard onSelectTab={handleTabClick} isTabEnabled={isTabEnabled} onOpenCustomers={openCustomersFiltered} />}>
|
|
24159
24180
|
<Match5 when={currentTab() === "dashboard"}>
|
|
24160
|
-
<Dashboard onSelectTab={handleTabClick} isTabEnabled={isTabEnabled} />
|
|
24181
|
+
<Dashboard onSelectTab={handleTabClick} isTabEnabled={isTabEnabled} onOpenCustomers={openCustomersFiltered} />
|
|
24161
24182
|
</Match5>
|
|
24162
24183
|
<Match5 when={currentTab() === "customers"}>
|
|
24163
24184
|
<Customers
|
|
@@ -24165,6 +24186,7 @@ function AdminDashboard(props) {
|
|
|
24165
24186
|
activeUid={props.customers?.activeUid}
|
|
24166
24187
|
onSelectCustomer={props.customers?.onSelectCustomer}
|
|
24167
24188
|
initialUid={pendingCustomerUid()}
|
|
24189
|
+
initialFilter={pendingCustomerFilter()}
|
|
24168
24190
|
/>
|
|
24169
24191
|
</Match5>
|
|
24170
24192
|
<Match5 when={currentTab() === "payments"}>
|
|
@@ -28995,4 +29017,4 @@ export {
|
|
|
28995
29017
|
AffiliateForgotPassword,
|
|
28996
29018
|
AffiliateResetPassword
|
|
28997
29019
|
};
|
|
28998
|
-
//# sourceMappingURL=
|
|
29020
|
+
//# sourceMappingURL=6TJPPA6S.jsx.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { disqualificationReasonText, qualifiedDrugIds } from './LZWA44KD.js';
|
|
2
|
-
import { SUPPORT_CATEGORIES, useSurveyFlow, reconcileCartAgainstCatalog, resolveSurveyV2DrugIntent, emailGateAnswered, redeemResumeLink, useSurveyV2Flow, US_STATE_OPTIONS, availableStateOptions, useCheckoutFlow, catalogUnavailableMessage, useCartCheckoutFlow, useSignupFlow, useRegisterFlow, useSubscribeFlow, useDashboardData, useUpdatePaymentMethodFlow, useMemberPortalData, useMessagesThread, captureFunnelEmail, markEmailGateAnswered, isCatalogItemId, subscribeToSupportTopic, useAffiliateStats, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, stateAvailabilityNote, hasStateRestrictions, uploadPrescriptionPhoto, deriveAttention, deriveJourney, buildTimeline, lifecycleReason, accountSource, intakeEvidence, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, classifyCatalogError, groupDrugsByPharmacy, useProductCatalogEditor, skuBindingModeFor, isCssColorValue, categoryLabel, useSmsPreferences, formatUsPhone, formatConversationTime, buildTrackerView, ACCOUNT_SOURCE_LABEL, fmtDay, createCatalogProduct, addCatalogItemAsProduct, applyPriceDrafts, resolveStrengthPrices, invalidDraftKeys, orphanKey, ORPHAN_REASON, useAddPharmacy, READINESS_LABEL, useCatalogConversion, formatCalendarDate, formatMessageTime, formatEventDate, formatStageDate, offerSummaryText, LIFECYCLE_TONE, buildTrackingUrl, buildStrengthRows, pharmacyLabel, isImageAttachment, buildRefillView, toTrackerRequest, needsReview, visibleWarnings, compareStrengths, MATCH_DEPENDENT_WARNINGS, SOURCE_FIELD_NOTE, MATCH_HOW_LABEL, explainFinding, matchKey } from './
|
|
3
|
-
import { fetchFunnelConfig } from './
|
|
2
|
+
import { SUPPORT_CATEGORIES, useSurveyFlow, reconcileCartAgainstCatalog, resolveSurveyV2DrugIntent, emailGateAnswered, redeemResumeLink, useSurveyV2Flow, US_STATE_OPTIONS, availableStateOptions, useCheckoutFlow, catalogUnavailableMessage, useCartCheckoutFlow, useSignupFlow, useRegisterFlow, useSubscribeFlow, useDashboardData, useUpdatePaymentMethodFlow, useMemberPortalData, useMessagesThread, captureFunnelEmail, markEmailGateAnswered, isCatalogItemId, subscribeToSupportTopic, useAffiliateStats, useAffiliateConversions, useAffiliateDownline, useAffiliateLinks, stateAvailabilityNote, hasStateRestrictions, uploadPrescriptionPhoto, deriveAttention, deriveJourney, buildTimeline, lifecycleReason, accountSource, intakeEvidence, LIFECYCLE_BUCKETS, LIFECYCLE_LABEL, classifyCatalogError, groupDrugsByPharmacy, useProductCatalogEditor, skuBindingModeFor, isCssColorValue, categoryLabel, useSmsPreferences, formatUsPhone, formatConversationTime, buildTrackerView, ACCOUNT_SOURCE_LABEL, fmtDay, createCatalogProduct, addCatalogItemAsProduct, applyPriceDrafts, resolveStrengthPrices, invalidDraftKeys, orphanKey, ORPHAN_REASON, useAddPharmacy, READINESS_LABEL, useCatalogConversion, formatCalendarDate, formatMessageTime, formatEventDate, formatStageDate, offerSummaryText, LIFECYCLE_TONE, buildTrackingUrl, buildStrengthRows, pharmacyLabel, isImageAttachment, buildRefillView, toTrackerRequest, needsReview, visibleWarnings, compareStrengths, MATCH_DEPENDENT_WARNINGS, SOURCE_FIELD_NOTE, MATCH_HOW_LABEL, explainFinding, matchKey } from './4GYQYONL.js';
|
|
3
|
+
import { fetchFunnelConfig } from './PK74TNA6.js';
|
|
4
4
|
import { usePrimitives } from './67KHO66G.js';
|
|
5
|
-
import { cart_default, auth_default, affiliateAuth_default } from './
|
|
6
|
-
import { usersApi, adminApi, membersApi, offersApi, authApi, affiliatePortalApi, adminAffiliatesApi, apiFetch, apexApi, adminCatalogApi, SUPPORT_ATTACHMENT_MIME_TYPES, SUPPORT_ATTACHMENT_MAX_BYTES, ADMIN_ROLES, ApiError, subscriptionsApi } from './
|
|
5
|
+
import { cart_default, auth_default, affiliateAuth_default } from './74A4ERWQ.js';
|
|
6
|
+
import { usersApi, adminApi, membersApi, offersApi, authApi, affiliatePortalApi, adminAffiliatesApi, apiFetch, apexApi, adminCatalogApi, SUPPORT_ATTACHMENT_MIME_TYPES, SUPPORT_ATTACHMENT_MAX_BYTES, ADMIN_ROLES, ApiError, subscriptionsApi } from './Y74YTJXR.js';
|
|
7
7
|
import { delegateEvents, createComponent, insert, memo, effect, setStyleProperty, mergeProps, use, setAttribute, addEventListener, style, className, Dynamic, Portal, template } from 'solid-js/web';
|
|
8
8
|
import { createContext, createSignal, createEffect, on, Show, For, createResource, createMemo, untrack, ErrorBoundary, Switch, Match, onMount, onCleanup, useContext, Index } from 'solid-js';
|
|
9
9
|
import { isQuestionVisible } from '@apextelemed/survey-core';
|
|
@@ -15392,7 +15392,7 @@ var _tmpl$354 = /* @__PURE__ */ template(`<span style="display:block;font-size:0
|
|
|
15392
15392
|
var _tmpl$445 = /* @__PURE__ */ template(`<span class=app-admin-heading style=display:block;font-size:1.875rem;margin:0>`);
|
|
15393
15393
|
var _tmpl$540 = /* @__PURE__ */ template(`<div style="display:grid;gap:1rem;grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));padding:1rem 1.25rem">`);
|
|
15394
15394
|
var _tmpl$635 = /* @__PURE__ */ template(`<table class=app-admin-table><thead><tr><th>Paying</th><th>Subscribers</th><th style=text-align:right>Monthly equiv.</th><th style=width:40%>Share of MRR</th></tr></thead><tbody>`);
|
|
15395
|
-
var _tmpl$733 = /* @__PURE__ */ template(`<p style="margin:0;padding:0.75rem 1.25rem;font-size:0.75rem;color:var(--app-admin-fg-subtle)">Active, non-test subscriptions at what they're charged now, after discounts. Other billing cycles are converted to a 30-day month.`);
|
|
15395
|
+
var _tmpl$733 = /* @__PURE__ */ template(`<p style="margin:0;padding:0.75rem 1.25rem;font-size:0.75rem;color:var(--app-admin-fg-subtle)">Active and past-due, non-test subscriptions at what they're charged now, after discounts. Other billing cycles are converted to a 30-day month.`);
|
|
15396
15396
|
var _tmpl$829 = /* @__PURE__ */ template(`<div data-testid=admin-recurring-revenue style=margin-top:1.5rem>`);
|
|
15397
15397
|
var _tmpl$925 = /* @__PURE__ */ template(`<div style="background:var(--app-admin-surface-light);border-radius:var(--app-admin-radius);padding:0.875rem 1rem"><span style="display:block;font-size:0.8125rem;color:var(--app-admin-fg-muted);margin:0 0 0.25rem"></span><span class=app-admin-heading style=display:block;font-size:1.5rem>`);
|
|
15398
15398
|
var _tmpl$022 = /* @__PURE__ */ template(`<tr><td><div style=font-weight:600></div><div style=font-size:0.75rem;color:var(--app-admin-fg-subtle)></div></td><td></td><td style=text-align:right></td><td><div style=display:flex;align-items:center;gap:0.5rem><div style=flex:1;height:8px;background:var(--app-admin-border-soft);border-radius:4px><div style=height:8px;background:var(--app-admin-primary);border-radius:4px></div></div><span style=min-width:3rem;text-align:right;font-size:0.8125rem;color:var(--app-admin-fg-muted)>%`);
|
|
@@ -15423,13 +15423,22 @@ function Dashboard(props) {
|
|
|
15423
15423
|
},
|
|
15424
15424
|
// Subscriptions live inside the customer 360 now; the card drills into
|
|
15425
15425
|
// the customer list (which lands on the active-subscribers filter when
|
|
15426
|
-
// reached through the retired 'subscriptions' tab alias).
|
|
15426
|
+
// reached through the retired 'subscriptions' tab alias). Past due
|
|
15427
|
+
// counts: it hasn't ended, its card is being retried.
|
|
15427
15428
|
{
|
|
15428
15429
|
label: "Active Subscriptions",
|
|
15429
15430
|
value: s.activeSubscriptions.toLocaleString(),
|
|
15430
15431
|
tint: "var(--app-admin-success-fg)",
|
|
15431
15432
|
tab: "customers"
|
|
15432
15433
|
},
|
|
15434
|
+
// Who support should chase: opens the customer list on Past due.
|
|
15435
|
+
...s.pastDueCustomers !== void 0 ? [{
|
|
15436
|
+
label: "Past Due Customers",
|
|
15437
|
+
value: s.pastDueCustomers.toLocaleString(),
|
|
15438
|
+
tint: s.pastDueCustomers > 0 ? "var(--app-admin-danger-fg)" : "var(--app-admin-fg-muted)",
|
|
15439
|
+
tab: "customers",
|
|
15440
|
+
filter: "past_due"
|
|
15441
|
+
}] : [],
|
|
15433
15442
|
{
|
|
15434
15443
|
label: "Revenue (All Time)",
|
|
15435
15444
|
value: centsToUsd(s.totalRevenueCents),
|
|
@@ -15444,6 +15453,10 @@ function Dashboard(props) {
|
|
|
15444
15453
|
}
|
|
15445
15454
|
];
|
|
15446
15455
|
};
|
|
15456
|
+
const openCard = (card) => {
|
|
15457
|
+
if (card.filter && props.onOpenCustomers) props.onOpenCustomers(card.filter);
|
|
15458
|
+
else props.onSelectTab(card.tab);
|
|
15459
|
+
};
|
|
15447
15460
|
return (() => {
|
|
15448
15461
|
var _el$ = _tmpl$281(), _el$3 = _el$.firstChild;
|
|
15449
15462
|
insert(_el$, createComponent(PageTitle, {
|
|
@@ -15477,7 +15490,7 @@ function Dashboard(props) {
|
|
|
15477
15490
|
return createComponent(Dynamic, {
|
|
15478
15491
|
component: clickable ? "button" : "div",
|
|
15479
15492
|
type: clickable ? "button" : void 0,
|
|
15480
|
-
onClick: clickable ? () =>
|
|
15493
|
+
onClick: clickable ? () => openCard(card) : void 0,
|
|
15481
15494
|
get title() {
|
|
15482
15495
|
return clickable ? `View ${card.label}` : void 0;
|
|
15483
15496
|
},
|
|
@@ -28748,17 +28761,27 @@ function AdminDashboard(props) {
|
|
|
28748
28761
|
});
|
|
28749
28762
|
});
|
|
28750
28763
|
const [pendingCustomerUid, setPendingCustomerUid] = createSignal(null);
|
|
28764
|
+
const [pendingCustomerFilter, setPendingCustomerFilter] = createSignal(null);
|
|
28751
28765
|
const [pendingThreadId, setPendingThreadId] = createSignal(null);
|
|
28752
28766
|
const [pendingTemplateId, setPendingTemplateId] = createSignal(null);
|
|
28753
28767
|
const handleTabClick = (tab, opts) => {
|
|
28754
28768
|
if (!opts?.keepPending) {
|
|
28755
28769
|
setPendingCustomerUid(null);
|
|
28770
|
+
setPendingCustomerFilter(null);
|
|
28756
28771
|
setPendingThreadId(null);
|
|
28757
28772
|
}
|
|
28758
28773
|
setInternalTab(tab);
|
|
28759
28774
|
setDrawerOpen(false);
|
|
28760
28775
|
props.onTabChange?.(tab);
|
|
28761
28776
|
};
|
|
28777
|
+
const openCustomersFiltered = (filter) => {
|
|
28778
|
+
props.customers?.onSelectCustomer?.(null);
|
|
28779
|
+
setPendingCustomerUid(null);
|
|
28780
|
+
setPendingCustomerFilter(filter);
|
|
28781
|
+
handleTabClick("customers", {
|
|
28782
|
+
keepPending: true
|
|
28783
|
+
});
|
|
28784
|
+
};
|
|
28762
28785
|
const adminNav = {
|
|
28763
28786
|
selectTab: (tab) => handleTabClick(tab),
|
|
28764
28787
|
isTabEnabled,
|
|
@@ -28879,7 +28902,8 @@ function AdminDashboard(props) {
|
|
|
28879
28902
|
get fallback() {
|
|
28880
28903
|
return createComponent(Dashboard, {
|
|
28881
28904
|
onSelectTab: handleTabClick,
|
|
28882
|
-
isTabEnabled
|
|
28905
|
+
isTabEnabled,
|
|
28906
|
+
onOpenCustomers: openCustomersFiltered
|
|
28883
28907
|
});
|
|
28884
28908
|
},
|
|
28885
28909
|
get children() {
|
|
@@ -28890,7 +28914,8 @@ function AdminDashboard(props) {
|
|
|
28890
28914
|
get children() {
|
|
28891
28915
|
return createComponent(Dashboard, {
|
|
28892
28916
|
onSelectTab: handleTabClick,
|
|
28893
|
-
isTabEnabled
|
|
28917
|
+
isTabEnabled,
|
|
28918
|
+
onOpenCustomers: openCustomersFiltered
|
|
28894
28919
|
});
|
|
28895
28920
|
}
|
|
28896
28921
|
}), createComponent(Match, {
|
|
@@ -28910,6 +28935,9 @@ function AdminDashboard(props) {
|
|
|
28910
28935
|
},
|
|
28911
28936
|
get initialUid() {
|
|
28912
28937
|
return pendingCustomerUid();
|
|
28938
|
+
},
|
|
28939
|
+
get initialFilter() {
|
|
28940
|
+
return pendingCustomerFilter();
|
|
28913
28941
|
}
|
|
28914
28942
|
});
|
|
28915
28943
|
}
|
|
@@ -33795,5 +33823,5 @@ function primaryButtonStyle2(submitting) {
|
|
|
33795
33823
|
}
|
|
33796
33824
|
|
|
33797
33825
|
export { ADMIN_TAB_SEGMENTS, AFFILIATE_SUB_TAB_SEGMENTS, AcceptAdminInvitePage, AddressFields, AdminDashboard, AffiliateForgotPassword, AffiliateLogin, AffiliatePortal, AffiliateRegister, AffiliateResetPassword, CartCheckoutPage, CheckoutPage, EmailTemplates, ForgotPasswordPage, MemberPortal, PatientDashboardPreview, RegisterPage, ResetPasswordPage, SignupPage, SmsConsentField, SubscribePage, SurveyPage, SurveyV2Page, UpdatePaymentMethod, adminTabFromPath, adminTabPath, affiliateSubTabFromPath, affiliateSubTabPath };
|
|
33798
|
-
//# sourceMappingURL=
|
|
33799
|
-
//# sourceMappingURL=
|
|
33826
|
+
//# sourceMappingURL=6TO6ZQVD.js.map
|
|
33827
|
+
//# sourceMappingURL=6TO6ZQVD.js.map
|