@fluid-app/portal-sdk 0.1.59 → 0.1.60

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.
Files changed (89) hide show
  1. package/dist/{AppDownloadScreen-B_SwkDDi.cjs → AppDownloadScreen-BH7GQ-qi.cjs} +2 -2
  2. package/dist/{AppDownloadScreen-B_SwkDDi.cjs.map → AppDownloadScreen-BH7GQ-qi.cjs.map} +1 -1
  3. package/dist/{AppDownloadScreen-NJI_UTLu.cjs → AppDownloadScreen-CH96k5cA.cjs} +2 -2
  4. package/dist/{AppDownloadScreen-Dw7DyU92.mjs → AppDownloadScreen-CLWxnFsd.mjs} +2 -2
  5. package/dist/{AppDownloadScreen-B-4Om2j8.mjs → AppDownloadScreen-DcVl4492.mjs} +2 -2
  6. package/dist/{AppDownloadScreen-B-4Om2j8.mjs.map → AppDownloadScreen-DcVl4492.mjs.map} +1 -1
  7. package/dist/{ContactsScreen-C8510XHQ.cjs → ContactsScreen-B8iWQTbP.cjs} +2 -2
  8. package/dist/{ContactsScreen-BSaedR34.mjs → ContactsScreen-C8Bp62F4.mjs} +2 -2
  9. package/dist/{ContactsScreen-Dcx-CUNk.mjs → ContactsScreen-Dk9bp3Jj.mjs} +2 -2
  10. package/dist/{ContactsScreen-Dcx-CUNk.mjs.map → ContactsScreen-Dk9bp3Jj.mjs.map} +1 -1
  11. package/dist/{ContactsScreen-BHnAPB1v.cjs → ContactsScreen-IAGjo08W.cjs} +2 -2
  12. package/dist/{ContactsScreen-BHnAPB1v.cjs.map → ContactsScreen-IAGjo08W.cjs.map} +1 -1
  13. package/dist/{FluidProvider-BcMVqXGW.cjs → FluidProvider-9JuTycML.cjs} +4 -2
  14. package/dist/{FluidProvider-BcMVqXGW.cjs.map → FluidProvider-9JuTycML.cjs.map} +1 -1
  15. package/dist/{FluidProvider-NsdWcsos.mjs → FluidProvider-9ZC28GXK.mjs} +4 -2
  16. package/dist/{FluidProvider-NsdWcsos.mjs.map → FluidProvider-9ZC28GXK.mjs.map} +1 -1
  17. package/dist/{MessagingScreen-BUC6-xNT.cjs → MessagingScreen-BuZTTy-l.cjs} +2 -2
  18. package/dist/{MessagingScreen-CGvz_4UM.mjs → MessagingScreen-DdQPLrmd.mjs} +3 -3
  19. package/dist/{MessagingScreen-CGvz_4UM.mjs.map → MessagingScreen-DdQPLrmd.mjs.map} +1 -1
  20. package/dist/{MessagingScreen-XSXGBuM5.cjs → MessagingScreen-DpVYlTyB.cjs} +3 -3
  21. package/dist/{MessagingScreen-XSXGBuM5.cjs.map → MessagingScreen-DpVYlTyB.cjs.map} +1 -1
  22. package/dist/{MessagingScreen-CMx7NBXH.mjs → MessagingScreen-RhCqymLN.mjs} +2 -2
  23. package/dist/{MySiteScreen-CJaXSfvP.mjs → MySiteScreen-BgyCPMby.mjs} +3 -2
  24. package/dist/{MySiteScreen-armH7ZmU.cjs → MySiteScreen-DNn3aWn0.cjs} +2 -2
  25. package/dist/{MySiteScreen-armH7ZmU.cjs.map → MySiteScreen-DNn3aWn0.cjs.map} +1 -1
  26. package/dist/{MySiteScreen-6qkt1-AM.cjs → MySiteScreen-DadI19bJ.cjs} +2 -2
  27. package/dist/{MySiteScreen-BYhZIZth.mjs → MySiteScreen-Ddxdk1Pe.mjs} +2 -2
  28. package/dist/{MySiteScreen-BYhZIZth.mjs.map → MySiteScreen-Ddxdk1Pe.mjs.map} +1 -1
  29. package/dist/{OrdersScreen-cBlQv9h0.mjs → OrdersScreen-BB7vBz1g.mjs} +3 -2
  30. package/dist/{OrdersScreen-CKfSGMRB.cjs → OrdersScreen-CZdh8mbE.cjs} +2 -2
  31. package/dist/{OrdersScreen-36U1k66t.mjs → OrdersScreen-CwTIkQNI.mjs} +3 -3
  32. package/dist/{OrdersScreen-36U1k66t.mjs.map → OrdersScreen-CwTIkQNI.mjs.map} +1 -1
  33. package/dist/{OrdersScreen-D5qbccVE.cjs → OrdersScreen-DpyL3mIg.cjs} +3 -3
  34. package/dist/{OrdersScreen-D5qbccVE.cjs.map → OrdersScreen-DpyL3mIg.cjs.map} +1 -1
  35. package/dist/{ProductsScreen-DLysCJ9C.mjs → ProductsScreen-BDCW_OdU.mjs} +3 -2
  36. package/dist/{ProductsScreen-D1TMPOpi.cjs → ProductsScreen-CGjMUHds.cjs} +3 -3
  37. package/dist/{ProductsScreen-D1TMPOpi.cjs.map → ProductsScreen-CGjMUHds.cjs.map} +1 -1
  38. package/dist/{ProductsScreen-i6JTXwNY.mjs → ProductsScreen-CmZw1rWf.mjs} +3 -3
  39. package/dist/{ProductsScreen-i6JTXwNY.mjs.map → ProductsScreen-CmZw1rWf.mjs.map} +1 -1
  40. package/dist/{ProductsScreen-Y3MJJSeK.cjs → ProductsScreen-dN4s469R.cjs} +2 -2
  41. package/dist/{ProfileScreen-BGOd1zyN.cjs → ProfileScreen-1hqd2fN7.cjs} +3 -3
  42. package/dist/{ProfileScreen-BGOd1zyN.cjs.map → ProfileScreen-1hqd2fN7.cjs.map} +1 -1
  43. package/dist/{ProfileScreen-CFSEMg7L.mjs → ProfileScreen-DSr0OwIA.mjs} +2 -2
  44. package/dist/{ProfileScreen-DARnojGI.cjs → ProfileScreen-_4yPoIgh.cjs} +2 -2
  45. package/dist/{ProfileScreen-DOGhmpk-.mjs → ProfileScreen-pCW_VAPN.mjs} +3 -3
  46. package/dist/{ProfileScreen-DOGhmpk-.mjs.map → ProfileScreen-pCW_VAPN.mjs.map} +1 -1
  47. package/dist/{ShareablesScreen-Clf0Z7vk.mjs → ShareablesScreen-BuR6Mei7.mjs} +3 -2
  48. package/dist/{ShareablesScreen-C0OVGZ07.cjs → ShareablesScreen-CdXtyZma.cjs} +3 -3
  49. package/dist/{ShareablesScreen-C0OVGZ07.cjs.map → ShareablesScreen-CdXtyZma.cjs.map} +1 -1
  50. package/dist/{ShareablesScreen-i1KpJcwV.mjs → ShareablesScreen-Cm8zbATC.mjs} +3 -3
  51. package/dist/{ShareablesScreen-i1KpJcwV.mjs.map → ShareablesScreen-Cm8zbATC.mjs.map} +1 -1
  52. package/dist/{ShareablesScreen-CbcwPnLx.cjs → ShareablesScreen-DNzrgsmZ.cjs} +2 -2
  53. package/dist/{ShopScreen-Kq0LKtBN.mjs → ShopScreen-B3I6PRkp.mjs} +3 -2
  54. package/dist/{ShopScreen-DE1qzYW6.cjs → ShopScreen-BnVS75fU.cjs} +2 -2
  55. package/dist/{ShopScreen-1HiWn8Hg.mjs → ShopScreen-Dc3lQLGI.mjs} +4 -4
  56. package/dist/{ShopScreen-1HiWn8Hg.mjs.map → ShopScreen-Dc3lQLGI.mjs.map} +1 -1
  57. package/dist/{ShopScreen-ClGySVDF.cjs → ShopScreen-qZa0cEwy.cjs} +4 -4
  58. package/dist/{ShopScreen-ClGySVDF.cjs.map → ShopScreen-qZa0cEwy.cjs.map} +1 -1
  59. package/dist/{SubscriptionsScreen-D-pb9t7Z.mjs → SubscriptionsScreen-749p5heX.mjs} +3 -3
  60. package/dist/{SubscriptionsScreen-D-pb9t7Z.mjs.map → SubscriptionsScreen-749p5heX.mjs.map} +1 -1
  61. package/dist/{SubscriptionsScreen-CPicMEVG.cjs → SubscriptionsScreen-7VBEggJ_.cjs} +3 -3
  62. package/dist/{SubscriptionsScreen-CPicMEVG.cjs.map → SubscriptionsScreen-7VBEggJ_.cjs.map} +1 -1
  63. package/dist/{SubscriptionsScreen-CluHNO3J.cjs → SubscriptionsScreen-DRgSTuJv.cjs} +2 -2
  64. package/dist/{SubscriptionsScreen-4DRQtr5m.mjs → SubscriptionsScreen-V3mnPdFM.mjs} +3 -2
  65. package/dist/index.cjs +49 -37
  66. package/dist/index.cjs.map +1 -1
  67. package/dist/index.d.cts +10 -1
  68. package/dist/index.d.cts.map +1 -1
  69. package/dist/index.d.mts +10 -1
  70. package/dist/index.d.mts.map +1 -1
  71. package/dist/index.mjs +49 -37
  72. package/dist/index.mjs.map +1 -1
  73. package/dist/{use-account-clients-BNdnotPF.mjs → use-account-clients-CqC0etbc.mjs} +2 -2
  74. package/dist/{use-account-clients-BNdnotPF.mjs.map → use-account-clients-CqC0etbc.mjs.map} +1 -1
  75. package/dist/{use-account-clients-BcfCVnN1.cjs → use-account-clients-cHyQEhPp.cjs} +2 -2
  76. package/dist/{use-account-clients-BcfCVnN1.cjs.map → use-account-clients-cHyQEhPp.cjs.map} +1 -1
  77. package/dist/{use-current-user-C5ye4E_t.cjs → use-current-user-Ccn1lGeB.cjs} +3 -3
  78. package/dist/{use-current-user-C5ye4E_t.cjs.map → use-current-user-Ccn1lGeB.cjs.map} +1 -1
  79. package/dist/{use-current-user-BR36V_-x.mjs → use-current-user-CyodELl8.mjs} +3 -3
  80. package/dist/{use-current-user-BR36V_-x.mjs.map → use-current-user-CyodELl8.mjs.map} +1 -1
  81. package/dist/{use-customer-account-CBRukk1K.mjs → use-customer-account-DODRyBye.mjs} +3 -3
  82. package/dist/{use-customer-account-CBRukk1K.mjs.map → use-customer-account-DODRyBye.mjs.map} +1 -1
  83. package/dist/{use-customer-account-BUcZbQG8.cjs → use-customer-account-DOmzp1sM.cjs} +3 -3
  84. package/dist/{use-customer-account-BUcZbQG8.cjs.map → use-customer-account-DOmzp1sM.cjs.map} +1 -1
  85. package/dist/{use-fluid-api-ByXKmAb3.mjs → use-fluid-api-BvakcAkY.mjs} +2 -2
  86. package/dist/{use-fluid-api-ByXKmAb3.mjs.map → use-fluid-api-BvakcAkY.mjs.map} +1 -1
  87. package/dist/{use-fluid-api-Cp5NpYvl.cjs → use-fluid-api-CBm9h3s3.cjs} +2 -2
  88. package/dist/{use-fluid-api-Cp5NpYvl.cjs.map → use-fluid-api-CBm9h3s3.cjs.map} +1 -1
  89. package/package.json +18 -18
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { A as storeToken, B as USER_TYPES, C as extractAllTokensFromUrl, D as clearTokens, E as hasTokenInUrl, F as isValidToken, H as createPersister, I as validateToken, L as AUTH_CONSTANTS, M as getTokenExpiration, N as getTokenTimeRemaining, O as getStoredToken, P as isTokenExpired, R as STORAGE_KEYS, S as cleanTokenFromUrl, T as extractTokenFromUrl, U as deleteDatabase, V as isUserType, _ as toNavigationItem, a as FluidAuthProvider, b as DEFAULT_AUTH_URL, c as useThemeContext, d as createFluidClient, f as isApiError, g as transformThemes, h as transformManifestToRepAppData, i as widgetPropertySchemas, j as decodeToken, k as hasStoredToken, l as themes_exports, m as getActiveThemeId, n as useFluidContext, o as useFluidAuthContext, p as buildThemeDefinition, r as DEFAULT_SDK_WIDGET_REGISTRY, s as FluidThemeProvider, t as FluidProvider, u as ApiError, v as normalizeComponentTree, w as extractCompanyTokenFromUrl, x as createDefaultAuthRedirect, y as toScreenDefinition, z as URL_PARAMS } from "./FluidProvider-NsdWcsos.mjs";
2
- import { n as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-DOGhmpk-.mjs";
1
+ import { A as storeToken, B as USER_TYPES, C as extractAllTokensFromUrl, D as clearTokens, E as hasTokenInUrl, F as isValidToken, H as createPersister, I as validateToken, L as AUTH_CONSTANTS, M as getTokenExpiration, N as getTokenTimeRemaining, O as getStoredToken, P as isTokenExpired, R as STORAGE_KEYS, S as cleanTokenFromUrl, T as extractTokenFromUrl, U as deleteDatabase, V as isUserType, _ as toNavigationItem, a as FluidAuthProvider, b as DEFAULT_AUTH_URL, c as useThemeContext, d as createFluidClient, f as isApiError, g as transformThemes, h as transformManifestToRepAppData, i as widgetPropertySchemas, j as decodeToken, k as hasStoredToken, l as themes_exports, m as getActiveThemeId, n as useFluidContext, o as useFluidAuthContext, p as buildThemeDefinition, r as DEFAULT_SDK_WIDGET_REGISTRY, s as FluidThemeProvider, t as FluidProvider, u as ApiError, v as normalizeComponentTree, w as extractCompanyTokenFromUrl, x as createDefaultAuthRedirect, y as toScreenDefinition, z as URL_PARAMS } from "./FluidProvider-9ZC28GXK.mjs";
2
+ import { n as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-pCW_VAPN.mjs";
3
3
  import "./error-state-BGEvTYIh.mjs";
4
4
  import { a as useDataSourceRegistryConfig, r as pointsWidgetPropertySchema, t as PointsWidget } from "./PointsWidget-DjSC-B2i.mjs";
5
5
  import { i as useRegistry } from "./ScreenRenderer-CnxT7sYF.mjs";
@@ -13,7 +13,7 @@ import { r as calendarWidgetPropertySchema, t as CalendarWidget } from "./Calend
13
13
  import { r as cardWidgetPropertySchema, t as CardWidget } from "./CardWidget-BKk7OtDP.mjs";
14
14
  import "./purify.es-BiyaWMrt.mjs";
15
15
  import { C as SheetContent, D as SheetTrigger, I as Input, K as DropdownMenu, R as IconButton, S as Sheet, Y as DropdownMenuLabel, an as AlertDialogContent, cn as AlertDialogHeader, et as DropdownMenuTrigger, ht as CollapsibleTrigger, in as AlertDialogCancel, ln as AlertDialogMedia, mt as CollapsibleContent, nn as AlertDialog, on as AlertDialogDescription, pt as Collapsible, q as DropdownMenuContent, rn as AlertDialogAction, sn as AlertDialogFooter, un as AlertDialogTitle, x as Skeleton$1, yn as cn$1 } from "./src-Bh-9OV8i.mjs";
16
- import { a as useMessagingAuth, i as useMessagingConfig, n as messagingScreenPropertySchema, r as createFluidFileUploader, t as MessagingScreen } from "./MessagingScreen-CGvz_4UM.mjs";
16
+ import { a as useMessagingAuth, i as useMessagingConfig, n as messagingScreenPropertySchema, r as createFluidFileUploader, t as MessagingScreen } from "./MessagingScreen-DdQPLrmd.mjs";
17
17
  import "./scroll-arrows-D9DfrbI-.mjs";
18
18
  import "./MediaRenderer-CY2gR7hk.mjs";
19
19
  import { r as carouselWidgetPropertySchema, t as CarouselWidget } from "./CarouselWidget-lx6QKa-q.mjs";
@@ -33,28 +33,28 @@ import { r as spacerWidgetPropertySchema, t as SpacerWidget } from "./SpacerWidg
33
33
  import { r as tableWidgetPropertySchema, t as TableWidget } from "./TableWidget-CK5jQxjz.mjs";
34
34
  import { r as toDoWidgetPropertySchema, t as ToDoWidget } from "./ToDoWidget-Cmvf7I6c.mjs";
35
35
  import { r as videoWidgetPropertySchema, t as VideoWidget } from "./VideoWidget-ho9fGQ3V.mjs";
36
- import { o as useFluidAuth } from "./use-account-clients-BNdnotPF.mjs";
36
+ import { o as useFluidAuth } from "./use-account-clients-CqC0etbc.mjs";
37
37
  import { i as useScreenHeaderContext, t as ScreenHeaderProvider } from "./ScreenHeaderContext-CrdfLGKk.mjs";
38
- import { t as useFluidApi } from "./use-fluid-api-ByXKmAb3.mjs";
39
- import { i as useCompanyScopedQueryKey, n as useCurrentUser, r as createCompanyQueryKey, t as CURRENT_USER_QUERY_KEY } from "./use-current-user-BR36V_-x.mjs";
38
+ import { t as useFluidApi } from "./use-fluid-api-BvakcAkY.mjs";
39
+ import { i as useCompanyScopedQueryKey, n as useCurrentUser, r as createCompanyQueryKey, t as CURRENT_USER_QUERY_KEY } from "./use-current-user-CyodELl8.mjs";
40
40
  import { i as CoreScreenPlaceholder, r as customersScreenPropertySchema, t as CustomersScreen } from "./CustomersScreen-D22G27ru.mjs";
41
41
  import { n as useAppNavigation, t as AppNavigationProvider } from "./AppNavigationContext-DJeNcP4Y.mjs";
42
42
  import "./order-detail-DkMYJvzl.mjs";
43
- import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-D-pb9t7Z.mjs";
43
+ import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-749p5heX.mjs";
44
44
  import "./dist-CMGXkSgZ.mjs";
45
45
  import "./es-CrIkZTQ3.mjs";
46
- import { n as contactsScreenPropertySchema, t as ContactsScreen } from "./ContactsScreen-Dcx-CUNk.mjs";
46
+ import { n as contactsScreenPropertySchema, t as ContactsScreen } from "./ContactsScreen-Dk9bp3Jj.mjs";
47
47
  import "./src-BakNjVTk.mjs";
48
48
  import "./dist-Cl4FsM3V.mjs";
49
- import { n as ordersScreenPropertySchema, t as OrdersScreen } from "./OrdersScreen-36U1k66t.mjs";
49
+ import { n as ordersScreenPropertySchema, t as OrdersScreen } from "./OrdersScreen-CwTIkQNI.mjs";
50
50
  import "./src-CzK-t4_m.mjs";
51
- import { n as shopScreenPropertySchema, t as ShopScreen } from "./ShopScreen-1HiWn8Hg.mjs";
52
- import { n as shareablesScreenPropertySchema, t as ShareablesScreen } from "./ShareablesScreen-i1KpJcwV.mjs";
51
+ import { n as shopScreenPropertySchema, t as ShopScreen } from "./ShopScreen-Dc3lQLGI.mjs";
52
+ import { n as shareablesScreenPropertySchema, t as ShareablesScreen } from "./ShareablesScreen-Cm8zbATC.mjs";
53
53
  import "./sortable.esm-DreCqRxJ.mjs";
54
- import { n as productsScreenPropertySchema, t as ProductsScreen } from "./ProductsScreen-i6JTXwNY.mjs";
55
- import { n as mySiteScreenPropertySchema, t as MySiteScreen } from "./MySiteScreen-BYhZIZth.mjs";
54
+ import { n as productsScreenPropertySchema, t as ProductsScreen } from "./ProductsScreen-CmZw1rWf.mjs";
55
+ import { n as mySiteScreenPropertySchema, t as MySiteScreen } from "./MySiteScreen-Ddxdk1Pe.mjs";
56
56
  import "./UpgradeScreen-D7LfdVSJ.mjs";
57
- import "./AppDownloadScreen-B-4Om2j8.mjs";
57
+ import "./AppDownloadScreen-DcVl4492.mjs";
58
58
  import * as React$1 from "react";
59
59
  import { StrictMode, Suspense, createContext, forwardRef, lazy, memo, useCallback, useContext, useEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
60
60
  import { useMutation, useQueries, useQuery, useQueryClient } from "@tanstack/react-query";
@@ -2401,18 +2401,18 @@ function AccountManageLayout({ children }) {
2401
2401
  }
2402
2402
  //#endregion
2403
2403
  //#region src/shell/system-screen-map.ts
2404
- const ProfileScreen$1 = lazy(() => import("./ProfileScreen-CFSEMg7L.mjs").then((m) => ({ default: m.ProfileScreen })));
2405
- const OrdersScreen$1 = lazy(() => import("./OrdersScreen-cBlQv9h0.mjs").then((m) => ({ default: m.OrdersScreen })));
2406
- const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-4DRQtr5m.mjs").then((m) => ({ default: m.SubscriptionsScreen })));
2407
- const MessagingScreen$1 = lazy(() => import("./MessagingScreen-CMx7NBXH.mjs").then((m) => ({ default: m.MessagingScreen })));
2408
- const ContactsScreen$1 = lazy(() => import("./ContactsScreen-BSaedR34.mjs").then((m) => ({ default: m.ContactsScreen })));
2409
- const ShopScreen$1 = lazy(() => import("./ShopScreen-Kq0LKtBN.mjs").then((m) => ({ default: m.ShopScreen })));
2404
+ const ProfileScreen$1 = lazy(() => import("./ProfileScreen-DSr0OwIA.mjs").then((m) => ({ default: m.ProfileScreen })));
2405
+ const OrdersScreen$1 = lazy(() => import("./OrdersScreen-BB7vBz1g.mjs").then((m) => ({ default: m.OrdersScreen })));
2406
+ const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-V3mnPdFM.mjs").then((m) => ({ default: m.SubscriptionsScreen })));
2407
+ const MessagingScreen$1 = lazy(() => import("./MessagingScreen-RhCqymLN.mjs").then((m) => ({ default: m.MessagingScreen })));
2408
+ const ContactsScreen$1 = lazy(() => import("./ContactsScreen-C8Bp62F4.mjs").then((m) => ({ default: m.ContactsScreen })));
2409
+ const ShopScreen$1 = lazy(() => import("./ShopScreen-B3I6PRkp.mjs").then((m) => ({ default: m.ShopScreen })));
2410
2410
  const CustomersScreen$1 = lazy(() => import("./CustomersScreen-D22G27ru.mjs").then((n) => n.n).then((m) => ({ default: m.CustomersScreen })));
2411
- const ProductsScreen$1 = lazy(() => import("./ProductsScreen-DLysCJ9C.mjs").then((m) => ({ default: m.ProductsScreen })));
2412
- const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-Clf0Z7vk.mjs").then((m) => ({ default: m.ShareablesScreen })));
2413
- const MySiteScreen$1 = lazy(() => import("./MySiteScreen-CJaXSfvP.mjs").then((m) => ({ default: m.MySiteScreen })));
2411
+ const ProductsScreen$1 = lazy(() => import("./ProductsScreen-BDCW_OdU.mjs").then((m) => ({ default: m.ProductsScreen })));
2412
+ const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-BuR6Mei7.mjs").then((m) => ({ default: m.ShareablesScreen })));
2413
+ const MySiteScreen$1 = lazy(() => import("./MySiteScreen-BgyCPMby.mjs").then((m) => ({ default: m.MySiteScreen })));
2414
2414
  const UpgradeScreen = lazy(() => import("./UpgradeScreen-D7LfdVSJ.mjs").then((n) => n.t).then((m) => ({ default: m.UpgradeScreen })));
2415
- const AppDownloadScreen = lazy(() => import("./AppDownloadScreen-Dw7DyU92.mjs").then((m) => ({ default: m.AppDownloadScreen })));
2415
+ const AppDownloadScreen = lazy(() => import("./AppDownloadScreen-CLWxnFsd.mjs").then((m) => ({ default: m.AppDownloadScreen })));
2416
2416
  const SYSTEM_SLUG_SCREEN_MAP = {
2417
2417
  profile: ProfileScreen$1,
2418
2418
  orders: OrdersScreen$1,
@@ -2914,10 +2914,19 @@ function createPortal(config = {}) {
2914
2914
  * Base query key for profile data.
2915
2915
  * Kept for backwards compatibility — the runtime key used by the hook
2916
2916
  * includes a company prefix via {@link useCompanyScopedQueryKey}.
2917
+ *
2918
+ * @deprecated Use {@link APP_DATA_QUERY_KEY} with `useFluidApp` instead.
2917
2919
  */
2918
2920
  const PROFILE_QUERY_KEY = ["fluid", "profile"];
2919
2921
  /**
2920
- * Hook to fetch the portal profile (themes, navigation, screens)
2922
+ * Hook to fetch the portal profile (themes, navigation, screens).
2923
+ *
2924
+ * Internally fetches from the fluidos API (same data source as
2925
+ * {@link useFluidApp}) and selects the `profile` slice, so no
2926
+ * legacy `/api/rep_app/manifest` call is made.
2927
+ *
2928
+ * @deprecated Use `useFluidApp()` instead — it returns the full
2929
+ * `RepAppData` including `profile`, `screens`, and more.
2921
2930
  *
2922
2931
  * @example
2923
2932
  * ```tsx
@@ -2940,8 +2949,11 @@ function useFluidProfile() {
2940
2949
  const api = useFluidApi();
2941
2950
  const { scopeKey } = useCompanyScopedQueryKey();
2942
2951
  return useQuery({
2943
- queryKey: scopeKey(PROFILE_QUERY_KEY),
2944
- queryFn: () => api.profile.get()
2952
+ queryKey: scopeKey(APP_DATA_QUERY_KEY),
2953
+ queryFn: () => api.app.getRaw(),
2954
+ select: (raw) => {
2955
+ return transformManifestToRepAppData(raw).profile;
2956
+ }
2945
2957
  });
2946
2958
  }
2947
2959
  //#endregion
@@ -3800,18 +3812,18 @@ function useContact(_contactId) {
3800
3812
  //#endregion
3801
3813
  //#region src/screens/index.ts
3802
3814
  const screenPropertySchemas = {
3803
- ProfileScreen: () => import("./ProfileScreen-CFSEMg7L.mjs").then((m) => m.profileScreenPropertySchema),
3804
- MessagingScreen: () => import("./MessagingScreen-CMx7NBXH.mjs").then((m) => m.messagingScreenPropertySchema),
3805
- ContactsScreen: () => import("./ContactsScreen-BSaedR34.mjs").then((m) => m.contactsScreenPropertySchema),
3806
- OrdersScreen: () => import("./OrdersScreen-cBlQv9h0.mjs").then((m) => m.ordersScreenPropertySchema),
3807
- SubscriptionsScreen: () => import("./SubscriptionsScreen-4DRQtr5m.mjs").then((m) => m.subscriptionsScreenPropertySchema),
3815
+ ProfileScreen: () => import("./ProfileScreen-DSr0OwIA.mjs").then((m) => m.profileScreenPropertySchema),
3816
+ MessagingScreen: () => import("./MessagingScreen-RhCqymLN.mjs").then((m) => m.messagingScreenPropertySchema),
3817
+ ContactsScreen: () => import("./ContactsScreen-C8Bp62F4.mjs").then((m) => m.contactsScreenPropertySchema),
3818
+ OrdersScreen: () => import("./OrdersScreen-BB7vBz1g.mjs").then((m) => m.ordersScreenPropertySchema),
3819
+ SubscriptionsScreen: () => import("./SubscriptionsScreen-V3mnPdFM.mjs").then((m) => m.subscriptionsScreenPropertySchema),
3808
3820
  CustomersScreen: () => import("./CustomersScreen-D22G27ru.mjs").then((n) => n.n).then((m) => m.customersScreenPropertySchema),
3809
- ProductsScreen: () => import("./ProductsScreen-DLysCJ9C.mjs").then((m) => m.productsScreenPropertySchema),
3810
- MySiteScreen: () => import("./MySiteScreen-CJaXSfvP.mjs").then((m) => m.mySiteScreenPropertySchema),
3811
- ShareablesScreen: () => import("./ShareablesScreen-Clf0Z7vk.mjs").then((m) => m.shareablesScreenPropertySchema),
3812
- ShopScreen: () => import("./ShopScreen-Kq0LKtBN.mjs").then((m) => m.shopScreenPropertySchema),
3821
+ ProductsScreen: () => import("./ProductsScreen-BDCW_OdU.mjs").then((m) => m.productsScreenPropertySchema),
3822
+ MySiteScreen: () => import("./MySiteScreen-BgyCPMby.mjs").then((m) => m.mySiteScreenPropertySchema),
3823
+ ShareablesScreen: () => import("./ShareablesScreen-BuR6Mei7.mjs").then((m) => m.shareablesScreenPropertySchema),
3824
+ ShopScreen: () => import("./ShopScreen-B3I6PRkp.mjs").then((m) => m.shopScreenPropertySchema),
3813
3825
  UpgradeScreen: () => import("./UpgradeScreen-D7LfdVSJ.mjs").then((n) => n.t).then((m) => m.upgradeScreenPropertySchema),
3814
- AppDownloadScreen: () => import("./AppDownloadScreen-Dw7DyU92.mjs").then((m) => m.appDownloadScreenPropertySchema)
3826
+ AppDownloadScreen: () => import("./AppDownloadScreen-CLWxnFsd.mjs").then((m) => m.appDownloadScreenPropertySchema)
3815
3827
  };
3816
3828
  /**
3817
3829
  * Core page template IDs