@fluid-app/fluid-cli-theme-dev 0.1.172 → 0.1.173
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/dist-cli-preview/.vite/manifest.json +583 -181
- package/dist/dist-cli-preview/account-screens.css +1 -0
- package/dist/dist-cli-preview/account-screens.js +1 -1
- package/dist/dist-cli-preview/chunks/{Breadcrumb-BQKo8hPc.js → Breadcrumb-8-7shsB6.js} +1 -1
- package/dist/dist-cli-preview/chunks/Combobox-m3vSk0_A.js +521 -0
- package/dist/dist-cli-preview/chunks/{ContactsScreen-IsIZ_lQ0.js → ContactsScreen-CBjQOWmH.js} +1523 -1854
- package/dist/dist-cli-preview/chunks/MediaScreen-1akMnH12.js +17379 -0
- package/dist/dist-cli-preview/chunks/{MemberManagementProviders-DiQkiWzc.js → MemberManagementProviders-WSjb3a8B.js} +189 -199
- package/dist/dist-cli-preview/chunks/{MessagingScreen-B8ZxAE0L.js → MessagingScreen-By-jZq6v.js} +27645 -30195
- package/dist/dist-cli-preview/chunks/{MobileActionSheet-DMeTsLlK.js → MobileActionSheet-ERpw3qUF.js} +644 -589
- package/dist/dist-cli-preview/chunks/MySiteScreen-JAGvVMx-.js +1706 -0
- package/dist/dist-cli-preview/chunks/OrdersScreen-B1HQVMZC.js +9 -0
- package/dist/dist-cli-preview/chunks/{OrdersScreen-DrZ3SwEu.js → OrdersScreen-Cb32bBjd.js} +35 -35
- package/dist/dist-cli-preview/chunks/PortalTenantClientProvider-CguU_uRG.js +15 -0
- package/dist/dist-cli-preview/chunks/{ProfileScreen-Dxspc-6p.js → ProfileScreen-CCWM6TBs.js} +454 -463
- package/dist/dist-cli-preview/chunks/Select-5fzq5MB-.js +940 -0
- package/dist/dist-cli-preview/chunks/{SubscriptionsScreen-Be0C29uw.js → SubscriptionsScreen-DLdsaVJK.js} +3 -3
- package/dist/dist-cli-preview/chunks/Textarea-xoKqLVgY.js +330 -0
- package/dist/dist-cli-preview/chunks/{account-screen-runtime-DYMunv0A.js → account-screen-runtime-CCBl8DXt.js} +866 -860
- package/dist/dist-cli-preview/chunks/ar-D6LJV1_E.js +679 -0
- package/dist/dist-cli-preview/chunks/{arrow-left-Bd7dJtIV.js → arrow-left-CTYaRdTX.js} +1 -1
- package/dist/dist-cli-preview/chunks/bg-C5Ldmily.js +679 -0
- package/dist/dist-cli-preview/chunks/bn-kfMPWNR6.js +679 -0
- package/dist/dist-cli-preview/chunks/{cli-preview-C7Db08Ij.js → cli-preview-HAt0Lt-9.js} +20 -13
- package/dist/dist-cli-preview/chunks/{client.gen-Ck6Pm2jV.js → client.gen-B7RMYGYu.js} +1 -1
- package/dist/dist-cli-preview/chunks/copy-DHN1DxE_.js +14 -0
- package/dist/dist-cli-preview/chunks/{countries-api-adapter-InKUzF1q.js → countries-api-adapter-B4TefdRP.js} +2 -2
- package/dist/dist-cli-preview/chunks/{create-card-entry-container-C9z7JILL.js → create-card-entry-container-5NqOQ4D_.js} +3612 -3932
- package/dist/dist-cli-preview/chunks/cs-DqEgtV8D.js +679 -0
- package/dist/dist-cli-preview/chunks/da-BbuvL7Gx.js +679 -0
- package/dist/dist-cli-preview/chunks/de-BfJ7rQig.js +679 -0
- package/dist/dist-cli-preview/chunks/el-BO0rLq6D.js +679 -0
- package/dist/dist-cli-preview/chunks/es-BEVtEUXk.js +679 -0
- package/dist/dist-cli-preview/chunks/eye-qMoMW7-Z.js +20 -0
- package/dist/dist-cli-preview/chunks/fi-DjISV3UN.js +679 -0
- package/dist/dist-cli-preview/chunks/fr-1fFd-aKy.js +679 -0
- package/dist/dist-cli-preview/chunks/he-CaT9bwVp.js +679 -0
- package/dist/dist-cli-preview/chunks/{hey-api-client-DGRBsZ7Y.js → hey-api-client-JMNyZwcF.js} +79 -39
- package/dist/dist-cli-preview/chunks/hi-DkzEm57l.js +679 -0
- package/dist/dist-cli-preview/chunks/hr-DqM5N_bj.js +679 -0
- package/dist/dist-cli-preview/chunks/hu-DiLqjo5c.js +679 -0
- package/dist/dist-cli-preview/chunks/id-DA1KmwgX.js +679 -0
- package/dist/dist-cli-preview/chunks/index-BS4PnEcu.js +353 -0
- package/dist/dist-cli-preview/chunks/index-BhMjUmAr.js +2572 -0
- package/dist/dist-cli-preview/chunks/{screen-route-slug-utils-BDjSpDoe.js → index-Dor8vM2o.js} +2417 -3035
- package/dist/dist-cli-preview/chunks/it-CTEVWCRz.js +679 -0
- package/dist/dist-cli-preview/chunks/ja-fxqg1hhg.js +679 -0
- package/dist/dist-cli-preview/chunks/ko-Btp1_5YS.js +679 -0
- package/dist/dist-cli-preview/chunks/lock-DQTMeEw0.js +14 -0
- package/dist/dist-cli-preview/chunks/{log-out-CSPZjXTK.js → log-out-DUdRJX4l.js} +1 -1
- package/dist/dist-cli-preview/chunks/{map-pin-B2ScoijR.js → map-pin-DyIkpqP0.js} +1 -1
- package/dist/dist-cli-preview/chunks/media-vkLeBb90.js +4 -0
- package/dist/dist-cli-preview/chunks/member-permissions-ndhNmlOk.js +19 -0
- package/dist/dist-cli-preview/chunks/{mount-account-screen-5thBUz3X.js → mount-account-screen--gdc5WO_.js} +1869 -1884
- package/dist/dist-cli-preview/chunks/ms-DqRbmHx8.js +679 -0
- package/dist/dist-cli-preview/chunks/navigate-account-screen-AVNopuIP.js +38 -0
- package/dist/dist-cli-preview/chunks/nl-CkPNddxO.js +679 -0
- package/dist/dist-cli-preview/chunks/no-ftcy0RcQ.js +679 -0
- package/dist/dist-cli-preview/chunks/pl-wyJLqfip.js +679 -0
- package/dist/dist-cli-preview/chunks/{plus-CocoE5gC.js → plus-DZjrp536.js} +1 -1
- package/dist/dist-cli-preview/chunks/pt-7uHLacuI.js +679 -0
- package/dist/dist-cli-preview/chunks/ro-Dh12ghww.js +679 -0
- package/dist/dist-cli-preview/chunks/ru-DFM7xWFz.js +679 -0
- package/dist/dist-cli-preview/chunks/{schemas-D94nZk5x.js → schemas-BTblatUV.js} +1107 -1062
- package/dist/dist-cli-preview/chunks/screen-route-slug-utils-DozJp-uc.js +620 -0
- package/dist/dist-cli-preview/chunks/{sheet-haptics-context-iOjKcNDj.js → sheet-haptics-context-CYrEaGtf.js} +3 -3
- package/dist/dist-cli-preview/chunks/sidebar-9qopXeR1.js +598 -0
- package/dist/dist-cli-preview/chunks/sk-CsuNYa1k.js +679 -0
- package/dist/dist-cli-preview/chunks/sortable.esm-Dlen88Fc.js +3283 -0
- package/dist/dist-cli-preview/chunks/{store-api-context-B96Ip2FB.js → store-api-context-B9pW_xao.js} +1 -1
- package/dist/dist-cli-preview/chunks/sv-DVrPaJbh.js +679 -0
- package/dist/dist-cli-preview/chunks/th-BEkMpcVW.js +679 -0
- package/dist/dist-cli-preview/chunks/tl-CqwwplQC.js +679 -0
- package/dist/dist-cli-preview/chunks/tr-XEp4ekrM.js +679 -0
- package/dist/dist-cli-preview/chunks/{trash-2-wVweQZMw.js → trash-2-ClRyi9iY.js} +12 -12
- package/dist/dist-cli-preview/chunks/uk-DWdZFWBl.js +679 -0
- package/dist/dist-cli-preview/chunks/use-mobile-srOt50VV.js +254 -0
- package/dist/dist-cli-preview/chunks/{use-optional-store-lZUz976C.js → use-optional-store-BgrOjfZJ.js} +2 -2
- package/dist/dist-cli-preview/chunks/{use-store-DVmgsDXy.js → use-store-CUSQx1E-.js} +25 -36
- package/dist/dist-cli-preview/chunks/{useInfiniteQuery-Dtzov9uh.js → useInfiniteQuery-DGc8fotv.js} +1 -1
- package/dist/dist-cli-preview/chunks/user-Ca2sKJ-h.js +14 -0
- package/dist/dist-cli-preview/chunks/users-Dh7zTrKY.js +16 -0
- package/dist/dist-cli-preview/chunks/vi-H__PaPsC.js +679 -0
- package/dist/dist-cli-preview/chunks/zh_CN-B62j_w_1.js +679 -0
- package/dist/dist-cli-preview/chunks/zh_TW-CYUIGBvP.js +679 -0
- package/package.json +1 -1
- package/dist/dist-cli-preview/chunks/Combobox-cf11L_T-.js +0 -1455
- package/dist/dist-cli-preview/chunks/MySiteScreen-Dtw1rsF9.js +0 -4950
- package/dist/dist-cli-preview/chunks/OrdersScreen-DkltVCtr.js +0 -9
- package/dist/dist-cli-preview/chunks/sidebar-Ckzom4Xc.js +0 -848
- package/dist/dist-cli-preview/chunks/user-B81IrSgp.js +0 -31
- package/dist/dist-cli-preview/chunks/users-BXTjoCUz.js +0 -27
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { j as r } from "./account-screen-runtime-CCBl8DXt.js";
|
|
2
|
+
import { O as e } from "./OrdersScreen-Cb32bBjd.js";
|
|
3
|
+
import { M as o } from "./MemberManagementProviders-WSjb3a8B.js";
|
|
4
|
+
function t() {
|
|
5
|
+
return /* @__PURE__ */ r.jsx(o, { children: /* @__PURE__ */ r.jsx(e, {}) });
|
|
6
|
+
}
|
|
7
|
+
export {
|
|
8
|
+
t as OrdersScreen
|
|
9
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { u as ke, S as q } from "./useInfiniteQuery-
|
|
5
|
-
import { B as G, a as
|
|
6
|
-
import "./store-api-context-
|
|
7
|
-
import { u as De } from "./use-optional-store-
|
|
1
|
+
import { G as de, l as u, a8 as ce, j as t, M as F, N as K, aK as ue, B as T, a9 as me, E as pe } from "./account-screen-runtime-CCBl8DXt.js";
|
|
2
|
+
import { c as xe, a as fe, b as ge, u as he, I as _e, S as g } from "./sheet-haptics-context-CYrEaGtf.js";
|
|
3
|
+
import { f as Y, h as be, I as je, R as ye, m as Ne, r as E, n as W, i as z, e as ve, p as we } from "./MemberManagementProviders-WSjb3a8B.js";
|
|
4
|
+
import { u as ke, S as q } from "./useInfiniteQuery-DGc8fotv.js";
|
|
5
|
+
import { B as G, a as V, b as C, c as X, d as Se, e as Oe } from "./Breadcrumb-8-7shsB6.js";
|
|
6
|
+
import "./store-api-context-B9pW_xao.js";
|
|
7
|
+
import { u as De } from "./use-optional-store-BgrOjfZJ.js";
|
|
8
8
|
const Ce = {
|
|
9
9
|
all: ["orders"]
|
|
10
10
|
}, L = {
|
|
@@ -51,15 +51,15 @@ function Pe(e, r, s) {
|
|
|
51
51
|
const a = `${r.address1}, ${r.city}, ${r.state} ${r.postal_code.slice(0, 5)}`, n = encodeURIComponent(a), l = s?.width ?? 600, i = s?.height ?? 300, o = s?.zoom ?? 15, d = encodeURIComponent(s?.markerColor ?? "red");
|
|
52
52
|
return `https://maps.googleapis.com/maps/api/staticmap?center=${n}&zoom=${o}&size=${l}x${i}&maptype=roadmap&markers=color:${d}%7C${n}&key=${e}`;
|
|
53
53
|
}
|
|
54
|
-
const
|
|
54
|
+
const A = {
|
|
55
55
|
singular: "point",
|
|
56
56
|
plural: "points"
|
|
57
57
|
};
|
|
58
58
|
function $e() {
|
|
59
|
-
const { data: e } = De(), r = e?.reward_points_label_singular?.trim() ||
|
|
59
|
+
const { data: e } = De(), r = e?.reward_points_label_singular?.trim() || A.singular, s = e?.reward_points_label_plural?.trim() || A.plural;
|
|
60
60
|
return u.useMemo(() => ({ singular: r, plural: s }), [r, s]);
|
|
61
61
|
}
|
|
62
|
-
const
|
|
62
|
+
const Fe = {
|
|
63
63
|
breadcrumb: "Orders",
|
|
64
64
|
breadcrumb_detail: "Order #{{id}}",
|
|
65
65
|
search_orders: "Search orders...",
|
|
@@ -154,8 +154,8 @@ const Ee = {
|
|
|
154
154
|
track_package: "Track package",
|
|
155
155
|
track_package_aria: "Track package {{number}}",
|
|
156
156
|
track_package_aria_with_carrier: "Track {{carrier}} package {{number}}"
|
|
157
|
-
},
|
|
158
|
-
fallback:
|
|
157
|
+
}, Ee = xe({
|
|
158
|
+
fallback: Fe,
|
|
159
159
|
loaders: {
|
|
160
160
|
ar: () => import("./ar-8iaFSgop.js").then(
|
|
161
161
|
(e) => e.default
|
|
@@ -261,15 +261,15 @@ const Ee = {
|
|
|
261
261
|
)
|
|
262
262
|
}
|
|
263
263
|
});
|
|
264
|
-
function
|
|
264
|
+
function ze(e, r) {
|
|
265
265
|
return fe(e, r);
|
|
266
266
|
}
|
|
267
|
-
const { Provider:
|
|
267
|
+
const { Provider: Ae, useTranslation: Ie } = ge("Orders"), Be = Ae, m = Ie;
|
|
268
268
|
function I({
|
|
269
269
|
children: e
|
|
270
270
|
}) {
|
|
271
|
-
const { locale: r } = ce(), s = he(
|
|
272
|
-
() =>
|
|
271
|
+
const { locale: r } = ce(), s = he(Ee, r), a = u.useMemo(
|
|
272
|
+
() => ze(r, s),
|
|
273
273
|
[r, s]
|
|
274
274
|
);
|
|
275
275
|
return /* @__PURE__ */ t.jsx(Be, { value: a, children: e });
|
|
@@ -303,7 +303,7 @@ function Ke({
|
|
|
303
303
|
return /* @__PURE__ */ t.jsxs(
|
|
304
304
|
"span",
|
|
305
305
|
{
|
|
306
|
-
className:
|
|
306
|
+
className: F(
|
|
307
307
|
"inline-flex items-center gap-1 rounded-full font-medium whitespace-nowrap capitalize",
|
|
308
308
|
Ue[e],
|
|
309
309
|
Re[s],
|
|
@@ -313,7 +313,7 @@ function Ke({
|
|
|
313
313
|
r && /* @__PURE__ */ t.jsx(
|
|
314
314
|
"span",
|
|
315
315
|
{
|
|
316
|
-
className:
|
|
316
|
+
className: F("h-1.5 w-1.5 rounded-full", Me[e])
|
|
317
317
|
}
|
|
318
318
|
),
|
|
319
319
|
n
|
|
@@ -345,7 +345,7 @@ function qe(e, r) {
|
|
|
345
345
|
function Ge(e) {
|
|
346
346
|
return e.sale_date ?? e.created_at;
|
|
347
347
|
}
|
|
348
|
-
const
|
|
348
|
+
const Ve = {
|
|
349
349
|
fulfilled: "gray",
|
|
350
350
|
unfulfilled: "yellow",
|
|
351
351
|
in_progress: "yellow",
|
|
@@ -360,7 +360,7 @@ const Xe = {
|
|
|
360
360
|
returned: "red",
|
|
361
361
|
refunded: "red"
|
|
362
362
|
};
|
|
363
|
-
function
|
|
363
|
+
function Xe(e) {
|
|
364
364
|
return e.includes("fulfilled") || e.includes("complete") ? "gray" : e.includes("hold") ? "orange" : "yellow";
|
|
365
365
|
}
|
|
366
366
|
const He = new Set(Object.keys(Q)), U = "refunded";
|
|
@@ -370,7 +370,7 @@ function J(e, r, s) {
|
|
|
370
370
|
function Qe(e) {
|
|
371
371
|
if (!e) return "gray";
|
|
372
372
|
const r = e.toLowerCase();
|
|
373
|
-
return
|
|
373
|
+
return Ve[r] ?? Q[r] ?? Xe(r);
|
|
374
374
|
}
|
|
375
375
|
function Z({
|
|
376
376
|
status: e,
|
|
@@ -550,7 +550,7 @@ function it({
|
|
|
550
550
|
[N, b, o]
|
|
551
551
|
), oe = u.useMemo(() => rt(k, n), [k, n]);
|
|
552
552
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
553
|
-
/* @__PURE__ */ t.jsx(K, { children: /* @__PURE__ */ t.jsx(G, { children: /* @__PURE__ */ t.jsx(
|
|
553
|
+
/* @__PURE__ */ t.jsx(K, { children: /* @__PURE__ */ t.jsx(G, { children: /* @__PURE__ */ t.jsx(V, { className: "text-lg", children: /* @__PURE__ */ t.jsx(C, { children: /* @__PURE__ */ t.jsx(X, { className: "font-semibold", children: n("order_history") }) }) }) }) }),
|
|
554
554
|
/* @__PURE__ */ t.jsx("div", { className: "relative", children: /* @__PURE__ */ t.jsxs("div", { className: "relative mx-auto max-w-4xl px-5 pt-8 pb-20 md:px-8", children: [
|
|
555
555
|
/* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
556
556
|
/* @__PURE__ */ t.jsx("h1", { className: "text-foreground flex-1 truncate text-xl font-bold tracking-tight md:text-2xl", children: n("order_history") }),
|
|
@@ -859,7 +859,7 @@ function yt({
|
|
|
859
859
|
}) }) }) : /* @__PURE__ */ t.jsx("p", { className: r, style: M, children: e });
|
|
860
860
|
}
|
|
861
861
|
function Nt(e) {
|
|
862
|
-
return e.last4 != null || ve(e.card_network) != null || W(e.card_network) != null ||
|
|
862
|
+
return e.last4 != null || ve(e.card_network) != null || W(e.card_network) != null || z(e.source) || z(e.payment_type);
|
|
863
863
|
}
|
|
864
864
|
function vt(e) {
|
|
865
865
|
return we(
|
|
@@ -870,14 +870,14 @@ function vt(e) {
|
|
|
870
870
|
}
|
|
871
871
|
function wt(e) {
|
|
872
872
|
if (Nt(e))
|
|
873
|
-
return
|
|
873
|
+
return E({
|
|
874
874
|
kind: "card",
|
|
875
875
|
brand: W(e.card_network),
|
|
876
876
|
last4: e.last4,
|
|
877
877
|
logoUrl: e.logo_url
|
|
878
878
|
});
|
|
879
879
|
const r = vt(e);
|
|
880
|
-
return
|
|
880
|
+
return E({
|
|
881
881
|
kind: "non_card",
|
|
882
882
|
brand: r,
|
|
883
883
|
fallbackLabel: r,
|
|
@@ -1250,7 +1250,7 @@ function $t({
|
|
|
1250
1250
|
] })
|
|
1251
1251
|
] }) });
|
|
1252
1252
|
}
|
|
1253
|
-
function
|
|
1253
|
+
function Ft({
|
|
1254
1254
|
id: e,
|
|
1255
1255
|
googleMapsApiKey: r,
|
|
1256
1256
|
onNotFound: s,
|
|
@@ -1267,7 +1267,7 @@ function Et({
|
|
|
1267
1267
|
/* @__PURE__ */ t.jsx($t, { order: d, googleMapsApiKey: r })
|
|
1268
1268
|
] }) : null;
|
|
1269
1269
|
}
|
|
1270
|
-
function
|
|
1270
|
+
function Et({
|
|
1271
1271
|
id: e,
|
|
1272
1272
|
googleMapsApiKey: r,
|
|
1273
1273
|
onNavigateToList: s,
|
|
@@ -1277,7 +1277,7 @@ function Ft({
|
|
|
1277
1277
|
}) {
|
|
1278
1278
|
const { t: i } = m(), { data: o } = H(e), d = o?.order.order_number ?? o?.order.id.toString() ?? String(e);
|
|
1279
1279
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
1280
|
-
/* @__PURE__ */ t.jsx(K, { children: /* @__PURE__ */ t.jsx(G, { children: /* @__PURE__ */ t.jsxs(
|
|
1280
|
+
/* @__PURE__ */ t.jsx(K, { children: /* @__PURE__ */ t.jsx(G, { children: /* @__PURE__ */ t.jsxs(V, { className: "text-lg", children: [
|
|
1281
1281
|
/* @__PURE__ */ t.jsx(C, { children: /* @__PURE__ */ t.jsx(
|
|
1282
1282
|
Se,
|
|
1283
1283
|
{
|
|
@@ -1289,10 +1289,10 @@ function Ft({
|
|
|
1289
1289
|
}
|
|
1290
1290
|
) }),
|
|
1291
1291
|
/* @__PURE__ */ t.jsx(Oe, {}),
|
|
1292
|
-
/* @__PURE__ */ t.jsx(C, { children: /* @__PURE__ */ t.jsx(
|
|
1292
|
+
/* @__PURE__ */ t.jsx(C, { children: /* @__PURE__ */ t.jsx(X, { className: "font-semibold", children: i("breadcrumb_detail", { id: d }) }) })
|
|
1293
1293
|
] }) }) }),
|
|
1294
1294
|
/* @__PURE__ */ t.jsx("div", { className: "mx-auto max-w-7xl px-4 py-4 sm:px-6 sm:py-6 lg:px-10 lg:py-8", children: /* @__PURE__ */ t.jsx(
|
|
1295
|
-
|
|
1295
|
+
Ft,
|
|
1296
1296
|
{
|
|
1297
1297
|
id: e,
|
|
1298
1298
|
googleMapsApiKey: r,
|
|
@@ -1303,13 +1303,13 @@ function Ft({
|
|
|
1303
1303
|
) })
|
|
1304
1304
|
] });
|
|
1305
1305
|
}
|
|
1306
|
-
function
|
|
1306
|
+
function zt({
|
|
1307
1307
|
token: e,
|
|
1308
1308
|
onToast: r
|
|
1309
1309
|
}) {
|
|
1310
1310
|
const { navigate: s } = T(), { config: a } = me(), { t: n } = m();
|
|
1311
1311
|
return /* @__PURE__ */ t.jsx(
|
|
1312
|
-
|
|
1312
|
+
Et,
|
|
1313
1313
|
{
|
|
1314
1314
|
id: e,
|
|
1315
1315
|
googleMapsApiKey: a.googleMapsApiKey,
|
|
@@ -1325,7 +1325,7 @@ function At({
|
|
|
1325
1325
|
}
|
|
1326
1326
|
);
|
|
1327
1327
|
}
|
|
1328
|
-
function
|
|
1328
|
+
function At(e, r) {
|
|
1329
1329
|
pe({ title: e, type: r });
|
|
1330
1330
|
}
|
|
1331
1331
|
function Wt({
|
|
@@ -1339,8 +1339,8 @@ function Wt({
|
|
|
1339
1339
|
/* eslint-enable @typescript-eslint/no-unused-vars */
|
|
1340
1340
|
...i
|
|
1341
1341
|
}) {
|
|
1342
|
-
const { currentSlug: o } = T(), d = e ??
|
|
1343
|
-
return c !== void 0 ? /* @__PURE__ */ t.jsx(I, { children: /* @__PURE__ */ t.jsx("div", { ...i, children: /* @__PURE__ */ t.jsx(
|
|
1342
|
+
const { currentSlug: o } = T(), d = e ?? At, c = o.split("/")[1];
|
|
1343
|
+
return c !== void 0 ? /* @__PURE__ */ t.jsx(I, { children: /* @__PURE__ */ t.jsx("div", { ...i, children: /* @__PURE__ */ t.jsx(zt, { token: c, onToast: d }) }) }) : /* @__PURE__ */ t.jsx(I, { children: /* @__PURE__ */ t.jsx("div", { ...i, children: /* @__PURE__ */ t.jsx(ft, {}) }) });
|
|
1344
1344
|
}
|
|
1345
1345
|
export {
|
|
1346
1346
|
Wt as O
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { l as t } from "./account-screen-runtime-CCBl8DXt.js";
|
|
2
|
+
const n = t.createContext(null), r = t.createContext(null), a = n.Provider;
|
|
3
|
+
r.Provider;
|
|
4
|
+
function l() {
|
|
5
|
+
const e = t.use(n);
|
|
6
|
+
if (!e)
|
|
7
|
+
throw new Error(
|
|
8
|
+
"usePortalTenantClient must be used within a PortalTenantClientProvider"
|
|
9
|
+
);
|
|
10
|
+
return e;
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
a as P,
|
|
14
|
+
l as u
|
|
15
|
+
};
|