@fluid-app/portal-sdk 0.1.101 → 0.1.102
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/{AppDownloadScreen-rO--O0pk.mjs → AppDownloadScreen-BUyo5t28.mjs} +2 -2
- package/dist/{AppDownloadScreen-rO--O0pk.mjs.map → AppDownloadScreen-BUyo5t28.mjs.map} +1 -1
- package/dist/{AppDownloadScreen-CwLZzr-7.cjs → AppDownloadScreen-D7TgBBNp.cjs} +2 -2
- package/dist/{AppDownloadScreen-BcK2snUL.cjs → AppDownloadScreen-DRXJupWZ.cjs} +2 -2
- package/dist/{AppDownloadScreen-BcK2snUL.cjs.map → AppDownloadScreen-DRXJupWZ.cjs.map} +1 -1
- package/dist/{ContactsScreen-D4WQ59ib.cjs → ContactsScreen-8yKH9Vmm.cjs} +2 -2
- package/dist/{ContactsScreen-BGwqGlpV.mjs → ContactsScreen-CHZ-SGpD.mjs} +2 -2
- package/dist/{ContactsScreen-BGwqGlpV.mjs.map → ContactsScreen-CHZ-SGpD.mjs.map} +1 -1
- package/dist/{ContactsScreen-CkSeaPyz.cjs → ContactsScreen-DXDkh7cU.cjs} +2 -2
- package/dist/{ContactsScreen-CkSeaPyz.cjs.map → ContactsScreen-DXDkh7cU.cjs.map} +1 -1
- package/dist/{FluidProvider-CWYquEIF.mjs → FluidProvider-BPFyPU7u.mjs} +81 -32
- package/dist/FluidProvider-BPFyPU7u.mjs.map +1 -0
- package/dist/{FluidProvider-CyzA2g75.cjs → FluidProvider-CUiOFaDp.cjs} +81 -32
- package/dist/FluidProvider-CUiOFaDp.cjs.map +1 -0
- package/dist/{MessagingScreen-Cgx3jwpr.cjs → MessagingScreen-CuVoDjwR.cjs} +4 -9
- package/dist/MessagingScreen-CuVoDjwR.cjs.map +1 -0
- package/dist/{MessagingScreen-DKigg2jz.mjs → MessagingScreen-D2GGSkix.mjs} +2 -2
- package/dist/{MessagingScreen-CGS7aG1A.cjs → MessagingScreen-V7ribzpo.cjs} +2 -2
- package/dist/{MessagingScreen-CBuI3fu6.mjs → MessagingScreen-pS-W5HIk.mjs} +4 -9
- package/dist/MessagingScreen-pS-W5HIk.mjs.map +1 -0
- package/dist/{MySiteScreen-Bvyx63pT.mjs → MySiteScreen-CSs9d6TQ.mjs} +2 -2
- package/dist/{MySiteScreen-Bvyx63pT.mjs.map → MySiteScreen-CSs9d6TQ.mjs.map} +1 -1
- package/dist/{MySiteScreen-BSFb-n7n.cjs → MySiteScreen-DjtoRz-f.cjs} +2 -2
- package/dist/{MySiteScreen-BSFb-n7n.cjs.map → MySiteScreen-DjtoRz-f.cjs.map} +1 -1
- package/dist/{MySiteScreen-2IzxVfpO.cjs → MySiteScreen-DtpHDP-m.cjs} +2 -2
- package/dist/{OrdersScreen-Djdeji9g.mjs → OrdersScreen-BUm_cDrS.mjs} +3 -3
- package/dist/{OrdersScreen-Djdeji9g.mjs.map → OrdersScreen-BUm_cDrS.mjs.map} +1 -1
- package/dist/{OrdersScreen-Bf4o3Kty.cjs → OrdersScreen-DNAtzcu5.cjs} +3 -3
- package/dist/{OrdersScreen-Bf4o3Kty.cjs.map → OrdersScreen-DNAtzcu5.cjs.map} +1 -1
- package/dist/{OrdersScreen-DCzYEgsP.cjs → OrdersScreen-NSLW9EyM.cjs} +2 -2
- package/dist/{ProductsScreen-PJ95OcSX.cjs → ProductsScreen-0K31iqTS.cjs} +4 -4
- package/dist/{ProductsScreen-PJ95OcSX.cjs.map → ProductsScreen-0K31iqTS.cjs.map} +1 -1
- package/dist/{ProductsScreen-DZiugPVb.mjs → ProductsScreen-CQlvW2cC.mjs} +3 -3
- package/dist/{ProductsScreen-DZnKtPBp.cjs → ProductsScreen-CSgVSuOa.cjs} +3 -3
- package/dist/{ProductsScreen-6J79mnIB.mjs → ProductsScreen-Cc5LjAOS.mjs} +4 -4
- package/dist/{ProductsScreen-6J79mnIB.mjs.map → ProductsScreen-Cc5LjAOS.mjs.map} +1 -1
- package/dist/{ProfileScreen-DtmReqa8.cjs → ProfileScreen-BRSE-yT7.cjs} +3 -3
- package/dist/{ProfileScreen-DtmReqa8.cjs.map → ProfileScreen-BRSE-yT7.cjs.map} +1 -1
- package/dist/{ProfileScreen-B46jd4Ic.cjs → ProfileScreen-CxLqoYTU.cjs} +2 -2
- package/dist/{ProfileScreen-CUsGRCB7.mjs → ProfileScreen-DXdLGjJE.mjs} +3 -3
- package/dist/{ProfileScreen-CUsGRCB7.mjs.map → ProfileScreen-DXdLGjJE.mjs.map} +1 -1
- package/dist/{ShareablesScreen-Cy7w85IH.mjs → ShareablesScreen-C3ZUhqHP.mjs} +5 -5
- package/dist/{ShareablesScreen-Cy7w85IH.mjs.map → ShareablesScreen-C3ZUhqHP.mjs.map} +1 -1
- package/dist/{ShareablesScreen-Dk5EQGMa.cjs → ShareablesScreen-TAJ2R5pG.cjs} +3 -3
- package/dist/{ShareablesScreen-CVT7u2hN.cjs → ShareablesScreen-baTkO1KB.cjs} +5 -5
- package/dist/{ShareablesScreen-CVT7u2hN.cjs.map → ShareablesScreen-baTkO1KB.cjs.map} +1 -1
- package/dist/{ShareablesScreen-DFAVIeqB.mjs → ShareablesScreen-h02BeiT8.mjs} +3 -3
- package/dist/{ShopScreen-DgBjP_8D.cjs → ShopScreen-BI5rtJQk.cjs} +4 -4
- package/dist/{ShopScreen-DgBjP_8D.cjs.map → ShopScreen-BI5rtJQk.cjs.map} +1 -1
- package/dist/{ShopScreen-wYtLEGXo.cjs → ShopScreen-BULLgDDI.cjs} +2 -2
- package/dist/{ShopScreen-AGvcqUii.mjs → ShopScreen-DJUhx1ly.mjs} +4 -4
- package/dist/{ShopScreen-AGvcqUii.mjs.map → ShopScreen-DJUhx1ly.mjs.map} +1 -1
- package/dist/{SubscriptionsScreen-BrLlvFJn.cjs → SubscriptionsScreen-BYCEYtcZ.cjs} +3 -3
- package/dist/{SubscriptionsScreen-BrLlvFJn.cjs.map → SubscriptionsScreen-BYCEYtcZ.cjs.map} +1 -1
- package/dist/{SubscriptionsScreen-C5YWtYfE.mjs → SubscriptionsScreen-CWwp5Po6.mjs} +3 -3
- package/dist/{SubscriptionsScreen-C5YWtYfE.mjs.map → SubscriptionsScreen-CWwp5Po6.mjs.map} +1 -1
- package/dist/{SubscriptionsScreen-BqOb2kYR.cjs → SubscriptionsScreen-hkhnXy8j.cjs} +2 -2
- package/dist/index.cjs +54 -52
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +45 -28
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +45 -28
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +54 -52
- package/dist/index.mjs.map +1 -1
- package/dist/{src-BrwLqPPh.mjs → src-DjlwUaws.mjs} +40 -12
- package/dist/src-DjlwUaws.mjs.map +1 -0
- package/dist/{src-Dlsw83js.cjs → src-xEfkv04t.cjs} +40 -12
- package/dist/src-xEfkv04t.cjs.map +1 -0
- package/dist/{use-account-clients-Dsqx0mKw.mjs → use-account-clients-3pKJ6EI1.mjs} +2 -2
- package/dist/{use-account-clients-Dsqx0mKw.mjs.map → use-account-clients-3pKJ6EI1.mjs.map} +1 -1
- package/dist/{use-account-clients-CkDfPpCR.cjs → use-account-clients-Bqc-31kE.cjs} +2 -2
- package/dist/{use-account-clients-CkDfPpCR.cjs.map → use-account-clients-Bqc-31kE.cjs.map} +1 -1
- package/dist/{use-current-user-BMI-LR9t.mjs → use-current-user-BRmRkzNy.mjs} +3 -3
- package/dist/{use-current-user-BMI-LR9t.mjs.map → use-current-user-BRmRkzNy.mjs.map} +1 -1
- package/dist/{use-current-user-LLJ1GtNB.cjs → use-current-user-DqzI6jzQ.cjs} +3 -3
- package/dist/{use-current-user-LLJ1GtNB.cjs.map → use-current-user-DqzI6jzQ.cjs.map} +1 -1
- package/dist/{use-customer-account-DZW_YY9d.cjs → use-customer-account-CHspwp0z.cjs} +3 -3
- package/dist/{use-customer-account-DZW_YY9d.cjs.map → use-customer-account-CHspwp0z.cjs.map} +1 -1
- package/dist/{use-customer-account-DzOD3vLz.mjs → use-customer-account-D83uR5o6.mjs} +3 -3
- package/dist/{use-customer-account-DzOD3vLz.mjs.map → use-customer-account-D83uR5o6.mjs.map} +1 -1
- package/dist/{use-fluid-api-Kw0AKvCs.cjs → use-fluid-api-CRZCVY8_.cjs} +2 -2
- package/dist/{use-fluid-api-Kw0AKvCs.cjs.map → use-fluid-api-CRZCVY8_.cjs.map} +1 -1
- package/dist/{use-fluid-api-CaSYWFuj.mjs → use-fluid-api-Cap4tsCe.mjs} +2 -2
- package/dist/{use-fluid-api-CaSYWFuj.mjs.map → use-fluid-api-Cap4tsCe.mjs.map} +1 -1
- package/package.json +12 -12
- package/dist/FluidProvider-CWYquEIF.mjs.map +0 -1
- package/dist/FluidProvider-CyzA2g75.cjs.map +0 -1
- package/dist/MessagingScreen-CBuI3fu6.mjs.map +0 -1
- package/dist/MessagingScreen-Cgx3jwpr.cjs.map +0 -1
- package/dist/src-BrwLqPPh.mjs.map +0 -1
- package/dist/src-Dlsw83js.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_chunk = require("./chunk-9hOWP6kD.cjs");
|
|
3
|
-
const require_FluidProvider = require("./FluidProvider-
|
|
3
|
+
const require_FluidProvider = require("./FluidProvider-CUiOFaDp.cjs");
|
|
4
4
|
const require_PointsWidget = require("./PointsWidget-DG0QQHqL.cjs");
|
|
5
5
|
require("./error-state-Bpq2CYvz.cjs");
|
|
6
6
|
const require_ScreenRenderer = require("./ScreenRenderer-DFcTR685.cjs");
|
|
@@ -34,30 +34,30 @@ const require_SpacerWidget = require("./SpacerWidget-DHFiuxkx.cjs");
|
|
|
34
34
|
const require_TableWidget = require("./TableWidget-DiqQBV7-.cjs");
|
|
35
35
|
const require_ToDoWidget = require("./ToDoWidget-DZUvDwnJ.cjs");
|
|
36
36
|
const require_VideoWidget = require("./VideoWidget-BmVIIfvM.cjs");
|
|
37
|
-
const require_use_account_clients = require("./use-account-clients-
|
|
37
|
+
const require_use_account_clients = require("./use-account-clients-Bqc-31kE.cjs");
|
|
38
38
|
const require_ScreenHeaderContext = require("./ScreenHeaderContext-DpVOhFzT.cjs");
|
|
39
|
-
const require_use_fluid_api = require("./use-fluid-api-
|
|
40
|
-
const require_use_current_user = require("./use-current-user-
|
|
41
|
-
const require_ShareablesScreen = require("./ShareablesScreen-
|
|
39
|
+
const require_use_fluid_api = require("./use-fluid-api-CRZCVY8_.cjs");
|
|
40
|
+
const require_use_current_user = require("./use-current-user-DqzI6jzQ.cjs");
|
|
41
|
+
const require_ShareablesScreen = require("./ShareablesScreen-baTkO1KB.cjs");
|
|
42
42
|
const require_CustomersScreen = require("./CustomersScreen-9f10-_AZ.cjs");
|
|
43
43
|
const require_AppNavigationContext = require("./AppNavigationContext-Agp0UkCQ.cjs");
|
|
44
|
-
const require_MessagingScreen = require("./MessagingScreen-
|
|
45
|
-
const require_ProfileScreen = require("./ProfileScreen-
|
|
44
|
+
const require_MessagingScreen = require("./MessagingScreen-CuVoDjwR.cjs");
|
|
45
|
+
const require_ProfileScreen = require("./ProfileScreen-BRSE-yT7.cjs");
|
|
46
46
|
require("./dist-DRVtlgQ1.cjs");
|
|
47
47
|
require("./es-DlWO6buB.cjs");
|
|
48
|
-
const require_ContactsScreen = require("./ContactsScreen-
|
|
48
|
+
const require_ContactsScreen = require("./ContactsScreen-DXDkh7cU.cjs");
|
|
49
49
|
require("./order-detail-CksE8d5w.cjs");
|
|
50
50
|
require("./src-C_kOrGdZ.cjs");
|
|
51
51
|
require("./dist-Ck9MGRmE.cjs");
|
|
52
|
-
const require_OrdersScreen = require("./OrdersScreen-
|
|
53
|
-
const require_SubscriptionsScreen = require("./SubscriptionsScreen-
|
|
54
|
-
require("./src-
|
|
52
|
+
const require_OrdersScreen = require("./OrdersScreen-DNAtzcu5.cjs");
|
|
53
|
+
const require_SubscriptionsScreen = require("./SubscriptionsScreen-BYCEYtcZ.cjs");
|
|
54
|
+
require("./src-xEfkv04t.cjs");
|
|
55
55
|
require("./dist-BSbac3uh.cjs");
|
|
56
|
-
const require_ProductsScreen = require("./ProductsScreen-
|
|
57
|
-
const require_MySiteScreen = require("./MySiteScreen-
|
|
58
|
-
const require_ShopScreen = require("./ShopScreen-
|
|
56
|
+
const require_ProductsScreen = require("./ProductsScreen-0K31iqTS.cjs");
|
|
57
|
+
const require_MySiteScreen = require("./MySiteScreen-DjtoRz-f.cjs");
|
|
58
|
+
const require_ShopScreen = require("./ShopScreen-BI5rtJQk.cjs");
|
|
59
59
|
require("./UpgradeScreen-DI7DK6qt.cjs");
|
|
60
|
-
require("./AppDownloadScreen-
|
|
60
|
+
require("./AppDownloadScreen-DRXJupWZ.cjs");
|
|
61
61
|
let react = require("react");
|
|
62
62
|
react = require_chunk.__toESM(react);
|
|
63
63
|
let _tanstack_react_query = require("@tanstack/react-query");
|
|
@@ -2999,18 +2999,18 @@ function AccountManageLayout({ children }) {
|
|
|
2999
2999
|
}
|
|
3000
3000
|
//#endregion
|
|
3001
3001
|
//#region src/shell/system-screen-map.ts
|
|
3002
|
-
const ProfileScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ProfileScreen-
|
|
3003
|
-
const OrdersScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./OrdersScreen-
|
|
3004
|
-
const SubscriptionsScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./SubscriptionsScreen-
|
|
3005
|
-
const MessagingScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./MessagingScreen-
|
|
3006
|
-
const ContactsScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ContactsScreen-
|
|
3007
|
-
const ShopScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ShopScreen-
|
|
3002
|
+
const ProfileScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ProfileScreen-CxLqoYTU.cjs")).then((m) => ({ default: m.ProfileScreen })));
|
|
3003
|
+
const OrdersScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./OrdersScreen-NSLW9EyM.cjs")).then((m) => ({ default: m.OrdersScreen })));
|
|
3004
|
+
const SubscriptionsScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./SubscriptionsScreen-hkhnXy8j.cjs")).then((m) => ({ default: m.SubscriptionsScreen })));
|
|
3005
|
+
const MessagingScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./MessagingScreen-V7ribzpo.cjs")).then((m) => ({ default: m.MessagingScreen })));
|
|
3006
|
+
const ContactsScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ContactsScreen-8yKH9Vmm.cjs")).then((m) => ({ default: m.ContactsScreen })));
|
|
3007
|
+
const ShopScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ShopScreen-BULLgDDI.cjs")).then((m) => ({ default: m.ShopScreen })));
|
|
3008
3008
|
const CustomersScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./CustomersScreen-9f10-_AZ.cjs")).then((n) => n.CustomersScreen_exports).then((m) => ({ default: m.CustomersScreen })));
|
|
3009
|
-
const ProductsScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ProductsScreen-
|
|
3010
|
-
const ShareablesScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ShareablesScreen-
|
|
3011
|
-
const MySiteScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./MySiteScreen-
|
|
3009
|
+
const ProductsScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ProductsScreen-CSgVSuOa.cjs")).then((m) => ({ default: m.ProductsScreen })));
|
|
3010
|
+
const ShareablesScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ShareablesScreen-TAJ2R5pG.cjs")).then((m) => ({ default: m.ShareablesScreen })));
|
|
3011
|
+
const MySiteScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./MySiteScreen-DtpHDP-m.cjs")).then((m) => ({ default: m.MySiteScreen })));
|
|
3012
3012
|
const UpgradeScreen = (0, react.lazy)(() => Promise.resolve().then(() => require("./UpgradeScreen-DfDZG52l.cjs")).then((m) => ({ default: m.UpgradeScreen })));
|
|
3013
|
-
const AppDownloadScreen = (0, react.lazy)(() => Promise.resolve().then(() => require("./AppDownloadScreen-
|
|
3013
|
+
const AppDownloadScreen = (0, react.lazy)(() => Promise.resolve().then(() => require("./AppDownloadScreen-D7TgBBNp.cjs")).then((m) => ({ default: m.AppDownloadScreen })));
|
|
3014
3014
|
const SYSTEM_SLUG_SCREEN_MAP = {
|
|
3015
3015
|
profile: ProfileScreen$1,
|
|
3016
3016
|
orders: OrdersScreen$1,
|
|
@@ -3149,18 +3149,18 @@ function isSlugInSection(item, currentSlug, navSlugs) {
|
|
|
3149
3149
|
/**
|
|
3150
3150
|
* useLogout Hook
|
|
3151
3151
|
*
|
|
3152
|
-
* Provides a complete logout function that
|
|
3153
|
-
*
|
|
3154
|
-
* -
|
|
3155
|
-
* -
|
|
3156
|
-
* - Auth tokens (cookies + localStorage)
|
|
3157
|
-
* - sessionStorage
|
|
3152
|
+
* Provides a complete logout function that:
|
|
3153
|
+
* 1. Calls `DELETE /logout` to clear the server-side session cookie
|
|
3154
|
+
* 2. Clears all client-side state (query cache, IndexedDB, tokens, sessionStorage)
|
|
3155
|
+
* 3. Redirects to the portal hub (server-driven) or a custom URL
|
|
3158
3156
|
*
|
|
3159
|
-
*
|
|
3157
|
+
* The backend `DELETE /logout` clears the `portal_tenant_user_id` cookie
|
|
3158
|
+
* and responds with a redirect to the portal hub.
|
|
3160
3159
|
*/
|
|
3161
3160
|
/**
|
|
3162
|
-
* Hook that returns a `logout` function which
|
|
3163
|
-
* client state and either redirects
|
|
3161
|
+
* Hook that returns a `logout` function which calls the backend logout
|
|
3162
|
+
* endpoint, clears all cached/persisted client state, and either redirects
|
|
3163
|
+
* or calls the provided callback.
|
|
3164
3164
|
*
|
|
3165
3165
|
* @example
|
|
3166
3166
|
* ```tsx
|
|
@@ -3178,6 +3178,12 @@ function isSlugInSection(item, currentSlug, navSlugs) {
|
|
|
3178
3178
|
function useLogout({ redirectUrl, onLogout } = {}) {
|
|
3179
3179
|
const queryClient = (0, _tanstack_react_query.useQueryClient)();
|
|
3180
3180
|
return (0, react.useCallback)(async () => {
|
|
3181
|
+
try {
|
|
3182
|
+
await fetch("/logout", {
|
|
3183
|
+
method: "DELETE",
|
|
3184
|
+
credentials: "include"
|
|
3185
|
+
});
|
|
3186
|
+
} catch {}
|
|
3181
3187
|
await queryClient.cancelQueries();
|
|
3182
3188
|
queryClient.clear();
|
|
3183
3189
|
try {
|
|
@@ -3191,10 +3197,7 @@ function useLogout({ redirectUrl, onLogout } = {}) {
|
|
|
3191
3197
|
} catch {}
|
|
3192
3198
|
if (redirectUrl) window.location.href = redirectUrl;
|
|
3193
3199
|
else if (onLogout) onLogout();
|
|
3194
|
-
else
|
|
3195
|
-
const currentUrl = encodeURIComponent(window.location.href);
|
|
3196
|
-
window.location.href = `${require_FluidProvider.DEFAULT_AUTH_URL}/?logout=true&redirect_url=${currentUrl}`;
|
|
3197
|
-
}
|
|
3200
|
+
else window.location.reload();
|
|
3198
3201
|
}, [
|
|
3199
3202
|
queryClient,
|
|
3200
3203
|
redirectUrl,
|
|
@@ -3480,8 +3483,8 @@ function getViteEnv(key) {
|
|
|
3480
3483
|
* Creates a FluidSDKConfig with sensible defaults.
|
|
3481
3484
|
*
|
|
3482
3485
|
* Default behavior:
|
|
3483
|
-
* - baseUrl: reads from `VITE_API_URL` env var, falls back to "
|
|
3484
|
-
* -
|
|
3486
|
+
* - baseUrl: reads from `VITE_API_URL` env var, falls back to `""` (same-origin relative)
|
|
3487
|
+
* - Auth: relies on session cookies sent via `credentials: 'include'`
|
|
3485
3488
|
*
|
|
3486
3489
|
* Pass overrides to customize any field:
|
|
3487
3490
|
* ```ts
|
|
@@ -3490,8 +3493,7 @@ function getViteEnv(key) {
|
|
|
3490
3493
|
*/
|
|
3491
3494
|
function createDefaultFluidConfig(overrides) {
|
|
3492
3495
|
return {
|
|
3493
|
-
baseUrl: getViteEnv("VITE_API_URL") ?? "
|
|
3494
|
-
getAuthToken: () => require_FluidProvider.getStoredToken() ?? null,
|
|
3496
|
+
baseUrl: getViteEnv("VITE_API_URL") ?? "",
|
|
3495
3497
|
...overrides
|
|
3496
3498
|
};
|
|
3497
3499
|
}
|
|
@@ -4468,18 +4470,18 @@ function useContact(_contactId) {
|
|
|
4468
4470
|
//#endregion
|
|
4469
4471
|
//#region src/screens/index.ts
|
|
4470
4472
|
const screenPropertySchemas = {
|
|
4471
|
-
ProfileScreen: () => Promise.resolve().then(() => require("./ProfileScreen-
|
|
4472
|
-
MessagingScreen: () => Promise.resolve().then(() => require("./MessagingScreen-
|
|
4473
|
-
ContactsScreen: () => Promise.resolve().then(() => require("./ContactsScreen-
|
|
4474
|
-
OrdersScreen: () => Promise.resolve().then(() => require("./OrdersScreen-
|
|
4475
|
-
SubscriptionsScreen: () => Promise.resolve().then(() => require("./SubscriptionsScreen-
|
|
4473
|
+
ProfileScreen: () => Promise.resolve().then(() => require("./ProfileScreen-CxLqoYTU.cjs")).then((m) => m.profileScreenPropertySchema),
|
|
4474
|
+
MessagingScreen: () => Promise.resolve().then(() => require("./MessagingScreen-V7ribzpo.cjs")).then((m) => m.messagingScreenPropertySchema),
|
|
4475
|
+
ContactsScreen: () => Promise.resolve().then(() => require("./ContactsScreen-8yKH9Vmm.cjs")).then((m) => m.contactsScreenPropertySchema),
|
|
4476
|
+
OrdersScreen: () => Promise.resolve().then(() => require("./OrdersScreen-NSLW9EyM.cjs")).then((m) => m.ordersScreenPropertySchema),
|
|
4477
|
+
SubscriptionsScreen: () => Promise.resolve().then(() => require("./SubscriptionsScreen-hkhnXy8j.cjs")).then((m) => m.subscriptionsScreenPropertySchema),
|
|
4476
4478
|
CustomersScreen: () => Promise.resolve().then(() => require("./CustomersScreen-9f10-_AZ.cjs")).then((n) => n.CustomersScreen_exports).then((m) => m.customersScreenPropertySchema),
|
|
4477
|
-
ProductsScreen: () => Promise.resolve().then(() => require("./ProductsScreen-
|
|
4478
|
-
MySiteScreen: () => Promise.resolve().then(() => require("./MySiteScreen-
|
|
4479
|
-
ShareablesScreen: () => Promise.resolve().then(() => require("./ShareablesScreen-
|
|
4480
|
-
ShopScreen: () => Promise.resolve().then(() => require("./ShopScreen-
|
|
4479
|
+
ProductsScreen: () => Promise.resolve().then(() => require("./ProductsScreen-CSgVSuOa.cjs")).then((m) => m.productsScreenPropertySchema),
|
|
4480
|
+
MySiteScreen: () => Promise.resolve().then(() => require("./MySiteScreen-DtpHDP-m.cjs")).then((m) => m.mySiteScreenPropertySchema),
|
|
4481
|
+
ShareablesScreen: () => Promise.resolve().then(() => require("./ShareablesScreen-TAJ2R5pG.cjs")).then((m) => m.shareablesScreenPropertySchema),
|
|
4482
|
+
ShopScreen: () => Promise.resolve().then(() => require("./ShopScreen-BULLgDDI.cjs")).then((m) => m.shopScreenPropertySchema),
|
|
4481
4483
|
UpgradeScreen: () => Promise.resolve().then(() => require("./UpgradeScreen-DfDZG52l.cjs")).then((m) => m.upgradeScreenPropertySchema),
|
|
4482
|
-
AppDownloadScreen: () => Promise.resolve().then(() => require("./AppDownloadScreen-
|
|
4484
|
+
AppDownloadScreen: () => Promise.resolve().then(() => require("./AppDownloadScreen-D7TgBBNp.cjs")).then((m) => m.appDownloadScreenPropertySchema)
|
|
4483
4485
|
};
|
|
4484
4486
|
/**
|
|
4485
4487
|
* Core page template IDs
|