@fluid-app/portal-sdk 0.1.88 → 0.1.89

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.
@@ -32,12 +32,8 @@ import "./SpacerWidget-CX7bjjNF.mjs";
32
32
  import "./TableWidget-Nkzz38xS.mjs";
33
33
  import "./ToDoWidget-D52-GT7f.mjs";
34
34
  import "./VideoWidget-4DRASBWA.mjs";
35
- import "./use-account-clients-Bg1xqjMk.mjs";
36
35
  import "./ScreenHeaderContext-NdrJ58Mg.mjs";
37
- import "./use-fluid-api-CyK8Yoj-.mjs";
38
- import "./use-current-user-DqLNoj-3.mjs";
39
36
  import { n as shareablesScreenPropertySchema, t as ShareablesScreen } from "./ShareablesScreen-4hhIcSYA.mjs";
40
- import "./AppNavigationContext-BSnbFILQ.mjs";
41
37
  import "./dist-CkIGP8my.mjs";
42
38
  import "./es-Dlib2eNY.mjs";
43
39
  import "./dist-C9vpl_rR.mjs";
package/dist/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_chunk = require("./chunk-9hOWP6kD.cjs");
3
3
  const require_FluidProvider = require("./FluidProvider-Cwh9D2D_.cjs");
4
- const require_ProfileScreen = require("./ProfileScreen-CUBNMPCL.cjs");
4
+ const require_ProfileScreen = require("./ProfileScreen-ueK01fjb.cjs");
5
5
  const require_PointsWidget = require("./PointsWidget-Bgl95R-6.cjs");
6
6
  require("./error-state-BDBF2JrB.cjs");
7
7
  const require_ScreenRenderer = require("./ScreenRenderer-D65AsKjr.cjs");
@@ -2995,7 +2995,7 @@ function AccountManageLayout({ children }) {
2995
2995
  }
2996
2996
  //#endregion
2997
2997
  //#region src/shell/system-screen-map.ts
2998
- const ProfileScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ProfileScreen-CMIJfD3w.cjs")).then((m) => ({ default: m.ProfileScreen })));
2998
+ const ProfileScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./ProfileScreen-C6qbR0YJ.cjs")).then((m) => ({ default: m.ProfileScreen })));
2999
2999
  const OrdersScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./OrdersScreen-BiuWTsM3.cjs")).then((m) => ({ default: m.OrdersScreen })));
3000
3000
  const SubscriptionsScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./SubscriptionsScreen-BRx_ocC3.cjs")).then((m) => ({ default: m.SubscriptionsScreen })));
3001
3001
  const MessagingScreen$1 = (0, react.lazy)(() => Promise.resolve().then(() => require("./MessagingScreen-BIFFfpwv.cjs")).then((m) => ({ default: m.MessagingScreen })));
@@ -4464,7 +4464,7 @@ function useContact(_contactId) {
4464
4464
  //#endregion
4465
4465
  //#region src/screens/index.ts
4466
4466
  const screenPropertySchemas = {
4467
- ProfileScreen: () => Promise.resolve().then(() => require("./ProfileScreen-CMIJfD3w.cjs")).then((m) => m.profileScreenPropertySchema),
4467
+ ProfileScreen: () => Promise.resolve().then(() => require("./ProfileScreen-C6qbR0YJ.cjs")).then((m) => m.profileScreenPropertySchema),
4468
4468
  MessagingScreen: () => Promise.resolve().then(() => require("./MessagingScreen-BIFFfpwv.cjs")).then((m) => m.messagingScreenPropertySchema),
4469
4469
  ContactsScreen: () => Promise.resolve().then(() => require("./ContactsScreen-BZOjocjS.cjs")).then((m) => m.contactsScreenPropertySchema),
4470
4470
  OrdersScreen: () => Promise.resolve().then(() => require("./OrdersScreen-BiuWTsM3.cjs")).then((m) => m.ordersScreenPropertySchema),
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { $ as hasTokenInUrl, A as DEFAULT_RADII, B as parseColor, C as getActiveThemeId, D as DEFAULT_COLORS, E as serialiseTheme, F as generateThemeCSS, G as SEMANTIC_COLOR_NAMES, H as FONT_FAMILY_KEYS, I as deriveDarkVariant, J as createDefaultAuthRedirect, K as SHADE_STEPS, L as generateShades, M as DEFAULT_THEME_ID, N as DEFAULT_THEME_NAME, O as DEFAULT_FONT_FAMILIES, P as getDefaultThemeDefinition, Q as extractTokenFromUrl, R as getForegroundColor, S as buildThemeDefinition, T as deserialiseTheme, U as FONT_SIZE_KEYS, V as resolveTheme, W as RADIUS_KEYS, X as extractAllTokensFromUrl, Y as cleanTokenFromUrl, Z as extractCompanyTokenFromUrl, _ as normalizeComponentTree, a as createScreen, at as getTokenExpiration, b as removeAllThemes, c as FluidAuthProvider, ct as isValidToken, d as useThemeContext, dt as STORAGE_KEYS, et as clearTokens, f as ApiError, ft as URL_PARAMS, g as toNavigationItem, gt as deleteDatabase, h as transformManifestToRepAppData, ht as createPersister, i as widgetPropertySchemas, it as decodeToken, j as DEFAULT_SPACING, k as DEFAULT_FONT_SIZES, l as useFluidAuthContext, lt as validateToken, m as isApiError, mt as isUserType, n as useFluidContext, nt as hasStoredToken, o as createWidgetFromShareable, ot as getTokenTimeRemaining, p as createFluidClient, pt as USER_TYPES, q as DEFAULT_AUTH_URL, r as DEFAULT_SDK_WIDGET_REGISTRY, rt as storeToken, s as createWidgetRegistry, st as isTokenExpired, t as FluidProvider, tt as getStoredToken, u as FluidThemeProvider, ut as AUTH_CONSTANTS, v as toScreenDefinition, w as transformThemes, x as removeTheme, y as applyTheme, z as mergeDarkOverrides } from "./FluidProvider-CRiIzR8g.mjs";
2
- import { r as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-COoE756I.mjs";
2
+ import { r as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-DKJrpeMw.mjs";
3
3
  import { a as useDataSourceRegistryConfig, r as pointsWidgetPropertySchema, t as PointsWidget } from "./PointsWidget-C05iCMne.mjs";
4
4
  import "./error-state-C9MqwdW7.mjs";
5
5
  import { a as isWidgetType, i as assertNever, l as useRegistry, n as WIDGET_TYPE_NAMES, o as isWidgetTypeName, r as assertDefined } from "./ScreenRenderer-DoVfmxCl.mjs";
@@ -2993,15 +2993,15 @@ function AccountManageLayout({ children }) {
2993
2993
  }
2994
2994
  //#endregion
2995
2995
  //#region src/shell/system-screen-map.ts
2996
- const ProfileScreen$1 = lazy(() => import("./ProfileScreen-COoE756I.mjs").then((n) => n.n).then((m) => ({ default: m.ProfileScreen })));
2996
+ const ProfileScreen$1 = lazy(() => import("./ProfileScreen-DKJrpeMw.mjs").then((n) => n.n).then((m) => ({ default: m.ProfileScreen })));
2997
2997
  const OrdersScreen$1 = lazy(() => import("./OrdersScreen-BkxKQpwS.mjs").then((n) => n.n).then((m) => ({ default: m.OrdersScreen })));
2998
2998
  const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-BSDYjJvj.mjs").then((n) => n.n).then((m) => ({ default: m.SubscriptionsScreen })));
2999
- const MessagingScreen$1 = lazy(() => import("./MessagingScreen-Cni4eaOi.mjs").then((m) => ({ default: m.MessagingScreen })));
2999
+ const MessagingScreen$1 = lazy(() => import("./MessagingScreen-DbXef2ee.mjs").then((m) => ({ default: m.MessagingScreen })));
3000
3000
  const ContactsScreen$1 = lazy(() => import("./ContactsScreen-21VYWIsO.mjs").then((n) => n.n).then((m) => ({ default: m.ContactsScreen })));
3001
3001
  const ShopScreen$1 = lazy(() => import("./ShopScreen-CfxPQVZD.mjs").then((n) => n.n).then((m) => ({ default: m.ShopScreen })));
3002
3002
  const CustomersScreen$1 = lazy(() => import("./CustomersScreen-DEFY3mRL.mjs").then((n) => n.n).then((m) => ({ default: m.CustomersScreen })));
3003
- const ProductsScreen$1 = lazy(() => import("./ProductsScreen-C5RMR8Mp.mjs").then((m) => ({ default: m.ProductsScreen })));
3004
- const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-BxiqE8OR.mjs").then((m) => ({ default: m.ShareablesScreen })));
3003
+ const ProductsScreen$1 = lazy(() => import("./ProductsScreen-DY6tKX9Q.mjs").then((m) => ({ default: m.ProductsScreen })));
3004
+ const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-BrLq61Q7.mjs").then((m) => ({ default: m.ShareablesScreen })));
3005
3005
  const MySiteScreen$1 = lazy(() => import("./MySiteScreen-YujACNSf.mjs").then((n) => n.n).then((m) => ({ default: m.MySiteScreen })));
3006
3006
  const UpgradeScreen = lazy(() => import("./UpgradeScreen-CaTBqSyO.mjs").then((n) => n.t).then((m) => ({ default: m.UpgradeScreen })));
3007
3007
  const AppDownloadScreen = lazy(() => import("./AppDownloadScreen-Bt--8jSo.mjs").then((n) => n.t).then((m) => ({ default: m.AppDownloadScreen })));
@@ -4462,15 +4462,15 @@ function useContact(_contactId) {
4462
4462
  //#endregion
4463
4463
  //#region src/screens/index.ts
4464
4464
  const screenPropertySchemas = {
4465
- ProfileScreen: () => import("./ProfileScreen-COoE756I.mjs").then((n) => n.n).then((m) => m.profileScreenPropertySchema),
4466
- MessagingScreen: () => import("./MessagingScreen-Cni4eaOi.mjs").then((m) => m.messagingScreenPropertySchema),
4465
+ ProfileScreen: () => import("./ProfileScreen-DKJrpeMw.mjs").then((n) => n.n).then((m) => m.profileScreenPropertySchema),
4466
+ MessagingScreen: () => import("./MessagingScreen-DbXef2ee.mjs").then((m) => m.messagingScreenPropertySchema),
4467
4467
  ContactsScreen: () => import("./ContactsScreen-21VYWIsO.mjs").then((n) => n.n).then((m) => m.contactsScreenPropertySchema),
4468
4468
  OrdersScreen: () => import("./OrdersScreen-BkxKQpwS.mjs").then((n) => n.n).then((m) => m.ordersScreenPropertySchema),
4469
4469
  SubscriptionsScreen: () => import("./SubscriptionsScreen-BSDYjJvj.mjs").then((n) => n.n).then((m) => m.subscriptionsScreenPropertySchema),
4470
4470
  CustomersScreen: () => import("./CustomersScreen-DEFY3mRL.mjs").then((n) => n.n).then((m) => m.customersScreenPropertySchema),
4471
- ProductsScreen: () => import("./ProductsScreen-C5RMR8Mp.mjs").then((m) => m.productsScreenPropertySchema),
4471
+ ProductsScreen: () => import("./ProductsScreen-DY6tKX9Q.mjs").then((m) => m.productsScreenPropertySchema),
4472
4472
  MySiteScreen: () => import("./MySiteScreen-YujACNSf.mjs").then((n) => n.n).then((m) => m.mySiteScreenPropertySchema),
4473
- ShareablesScreen: () => import("./ShareablesScreen-BxiqE8OR.mjs").then((m) => m.shareablesScreenPropertySchema),
4473
+ ShareablesScreen: () => import("./ShareablesScreen-BrLq61Q7.mjs").then((m) => m.shareablesScreenPropertySchema),
4474
4474
  ShopScreen: () => import("./ShopScreen-CfxPQVZD.mjs").then((n) => n.n).then((m) => m.shopScreenPropertySchema),
4475
4475
  UpgradeScreen: () => import("./UpgradeScreen-CaTBqSyO.mjs").then((n) => n.t).then((m) => m.upgradeScreenPropertySchema),
4476
4476
  AppDownloadScreen: () => import("./AppDownloadScreen-Bt--8jSo.mjs").then((n) => n.t).then((m) => m.appDownloadScreenPropertySchema)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-app/portal-sdk",
3
- "version": "0.1.88",
3
+ "version": "0.1.89",
4
4
  "description": "SDK for building custom Fluid portals",
5
5
  "files": [
6
6
  "dist",
@@ -65,43 +65,43 @@
65
65
  "tsdown": "^0.21.0",
66
66
  "typescript": "^5",
67
67
  "zod": "4.3.5",
68
- "@fluid-app/api-client-core": "0.1.0",
69
68
  "@fluid-app/auth": "0.1.0",
69
+ "@fluid-app/api-client-core": "0.1.0",
70
70
  "@fluid-app/cart-ui": "0.1.12",
71
71
  "@fluid-app/company-switcher-ui": "0.1.0",
72
- "@fluid-app/company-switcher-core": "0.1.0",
73
72
  "@fluid-app/contacts-ui": "0.1.0",
73
+ "@fluid-app/company-switcher-core": "0.1.0",
74
74
  "@fluid-app/file-picker-api-client": "0.1.0",
75
- "@fluid-app/fluidos-api-client": "0.1.0",
76
75
  "@fluid-app/fluid-pay-api-client": "0.1.0",
76
+ "@fluid-app/fluidos-api-client": "0.1.0",
77
77
  "@fluid-app/messaging-api-client": "0.1.0",
78
78
  "@fluid-app/messaging-core": "0.1.0",
79
+ "@fluid-app/messaging-ui": "0.1.0",
79
80
  "@fluid-app/mysite-ui": "0.1.0",
80
81
  "@fluid-app/orders-api-client": "0.1.0",
81
- "@fluid-app/messaging-ui": "0.1.0",
82
82
  "@fluid-app/orders-core": "0.1.0",
83
83
  "@fluid-app/orders-ui": "0.1.0",
84
- "@fluid-app/permissions": "0.1.0",
85
84
  "@fluid-app/portal-app-download-ui": "0.1.0",
85
+ "@fluid-app/permissions": "0.1.0",
86
86
  "@fluid-app/portal-core": "0.1.23",
87
87
  "@fluid-app/portal-preview": "0.1.0",
88
88
  "@fluid-app/portal-pro-upgrade-ui": "0.1.0",
89
89
  "@fluid-app/portal-widgets": "0.1.22",
90
90
  "@fluid-app/portal-react": "0.1.0",
91
- "@fluid-app/products-core": "0.1.0",
92
91
  "@fluid-app/products-api-client": "0.1.0",
93
92
  "@fluid-app/profile-core": "0.1.0",
93
+ "@fluid-app/products-core": "0.1.0",
94
94
  "@fluid-app/profile-ui": "0.1.0",
95
95
  "@fluid-app/query-persister": "0.1.0",
96
96
  "@fluid-app/shareables-api-client": "0.1.0",
97
97
  "@fluid-app/shareables-core": "0.1.0",
98
+ "@fluid-app/shareables-ui": "0.1.0",
99
+ "@fluid-app/shop-ui": "0.1.0",
98
100
  "@fluid-app/subscriptions-api-client": "0.1.0",
99
- "@fluid-app/subscriptions-core": "0.1.0",
100
101
  "@fluid-app/subscriptions-ui": "0.1.0",
101
- "@fluid-app/shop-ui": "0.1.0",
102
- "@fluid-app/shareables-ui": "0.1.0",
103
- "@fluid-app/typescript-config": "0.0.0",
102
+ "@fluid-app/subscriptions-core": "0.1.0",
104
103
  "@fluid-app/ui-primitives": "0.1.13",
104
+ "@fluid-app/typescript-config": "0.0.0",
105
105
  "@fluid-app/user-contacts-api-client": "0.1.0",
106
106
  "@fluid-app/user-notes-api-client": "0.1.0",
107
107
  "@fluid-app/user-tasks-api-client": "0.1.0"