@fluid-app/portal-sdk 0.1.241 → 0.1.243

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 (32) hide show
  1. package/dist/{EmbedWidget-Q45pAeCI.cjs → EmbedWidget-DgbCzBA4.cjs} +5 -4
  2. package/dist/EmbedWidget-DgbCzBA4.cjs.map +1 -0
  3. package/dist/{EmbedWidget-Cj6VgQJC.mjs → EmbedWidget-LYnd3TZD.mjs} +5 -4
  4. package/dist/EmbedWidget-LYnd3TZD.mjs.map +1 -0
  5. package/dist/{FluidProvider-BwMwMCxW.mjs → FluidProvider-CNk1Y2k1.mjs} +3 -3
  6. package/dist/{FluidProvider-BwMwMCxW.mjs.map → FluidProvider-CNk1Y2k1.mjs.map} +1 -1
  7. package/dist/{FluidProvider-eT4gA6Io.cjs → FluidProvider-o1Gu53TN.cjs} +3 -3
  8. package/dist/{FluidProvider-eT4gA6Io.cjs.map → FluidProvider-o1Gu53TN.cjs.map} +1 -1
  9. package/dist/{MessagingScreen-D3S230Ba.cjs → MessagingScreen-CCbgNRp1.cjs} +2 -2
  10. package/dist/{MessagingScreen-D3S230Ba.cjs.map → MessagingScreen-CCbgNRp1.cjs.map} +1 -1
  11. package/dist/{MessagingScreen-BHYX1Kc6.cjs → MessagingScreen-KYx6DSMx.cjs} +3 -3
  12. package/dist/{MessagingScreen-CZddjqma.mjs → MessagingScreen-vb5P-7jP.mjs} +2 -2
  13. package/dist/{MessagingScreen-CZddjqma.mjs.map → MessagingScreen-vb5P-7jP.mjs.map} +1 -1
  14. package/dist/{ProfileScreen-DAujb81k.cjs → ProfileScreen-BT0iys-q.cjs} +2 -2
  15. package/dist/{ProfileScreen-DAujb81k.cjs.map → ProfileScreen-BT0iys-q.cjs.map} +1 -1
  16. package/dist/{ProfileScreen-BYJj4D1W.cjs → ProfileScreen-CKcdtroU.cjs} +3 -3
  17. package/dist/{ProfileScreen-DlMEqXXg.mjs → ProfileScreen-CZAIUM2a.mjs} +2 -2
  18. package/dist/{ProfileScreen-DlMEqXXg.mjs.map → ProfileScreen-CZAIUM2a.mjs.map} +1 -1
  19. package/dist/{ShopScreen-6nEKrNjK.cjs → ShopScreen-DVpCo-OV.cjs} +3 -3
  20. package/dist/{ShopScreen-1yvcCk7l.cjs → ShopScreen-Dm85_rMp.cjs} +2 -2
  21. package/dist/{ShopScreen-1yvcCk7l.cjs.map → ShopScreen-Dm85_rMp.cjs.map} +1 -1
  22. package/dist/{ShopScreen-U7G6Jf67.mjs → ShopScreen-sLUTgIcQ.mjs} +2 -2
  23. package/dist/{ShopScreen-U7G6Jf67.mjs.map → ShopScreen-sLUTgIcQ.mjs.map} +1 -1
  24. package/dist/index.cjs +13 -12
  25. package/dist/index.cjs.map +1 -1
  26. package/dist/index.d.cts.map +1 -1
  27. package/dist/index.d.mts.map +1 -1
  28. package/dist/index.mjs +13 -12
  29. package/dist/index.mjs.map +1 -1
  30. package/package.json +14 -14
  31. package/dist/EmbedWidget-Cj6VgQJC.mjs.map +0 -1
  32. package/dist/EmbedWidget-Q45pAeCI.cjs.map +0 -1
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./es-BXxGlAp6.mjs";
2
- import { a as createScreen, c as FluidThemeProvider, f as useAppDefinitionApi, i as widgetPropertySchemas, l as useThemeContext, m as deleteDatabase, n as useFluidContext, o as createWidgetFromShareable, p as createPersister, r as DEFAULT_SDK_WIDGET_REGISTRY, s as createWidgetRegistry, t as FluidProvider } from "./FluidProvider-BwMwMCxW.mjs";
2
+ import { a as createScreen, c as FluidThemeProvider, f as useAppDefinitionApi, i as widgetPropertySchemas, l as useThemeContext, m as deleteDatabase, n as useFluidContext, o as createWidgetFromShareable, p as createPersister, r as DEFAULT_SDK_WIDGET_REGISTRY, s as createWidgetRegistry, t as FluidProvider } from "./FluidProvider-CNk1Y2k1.mjs";
3
3
  import { a as assertNever, i as assertDefined, n as DataAwareWidget, o as isWidgetType, r as WIDGET_TYPE_NAMES, s as isWidgetTypeName, u as useRegistry } from "./ScreenRenderer-Cl2aAJ7D.mjs";
4
4
  import "./account-api-context-BIZ_aibJ.mjs";
5
5
  import "./store-api-context-C1lXT_3d.mjs";
@@ -10,7 +10,7 @@ import { C as resolveTheme, D as SEMANTIC_COLOR_NAMES, E as RADIUS_KEYS, S as pa
10
10
  import { n as usePortalTenantClient } from "./PortalTenantClientProvider-CjJzBCTL.mjs";
11
11
  import "./registry-context-CTHUCfEc.mjs";
12
12
  import { t as WidgetInteractionProvider } from "./WidgetInteractionContext-B1mELhQ_.mjs";
13
- import { a as useRepUser, i as RepUserProvider, r as embedWidgetPropertySchema, t as EmbedWidget } from "./EmbedWidget-Cj6VgQJC.mjs";
13
+ import { a as useRepUser, i as RepUserProvider, r as embedWidgetPropertySchema, t as EmbedWidget } from "./EmbedWidget-LYnd3TZD.mjs";
14
14
  import "./error-state-DYzHx8tt.mjs";
15
15
  import { a as sectionLayoutConfig, i as groupChildrenByColumn, r as layoutWidgetPropertySchema, t as LayoutWidget } from "./LayoutWidget-UI5fbsx4.mjs";
16
16
  import { g as isPropertyFieldType, h as PROPERTY_FIELD_TYPES, r as gapValues } from "./registries-Ct8o2YRe.mjs";
@@ -25,7 +25,7 @@ import "./MediaRenderer-DMdb_5xw.mjs";
25
25
  import { r as carouselWidgetPropertySchema, t as CarouselWidget } from "./CarouselWidget-Cn5P4FVN.mjs";
26
26
  import { r as catchUpWidgetPropertySchema, t as CatchUpWidget } from "./CatchUpWidget-B9CI7lq0.mjs";
27
27
  import { At as CardTitle, C as Skeleton$1, Dn as Button, Dt as CardDescription, Fn as cn$1, Ot as CardFooter, _t as CollapsibleContent, gt as Collapsible, ht as PopoverTrigger, kt as CardHeader, mt as PopoverContent, pt as Popover, vt as CollapsibleTrigger, wt as Card, x as Toaster } from "./src-pgBBOcJa.mjs";
28
- import { a as useMessagingConfig, i as createFluidFileUploader, o as useMessagingAuth, r as messagingScreenPropertySchema, t as MessagingScreen } from "./MessagingScreen-CZddjqma.mjs";
28
+ import { a as useMessagingConfig, i as createFluidFileUploader, o as useMessagingAuth, r as messagingScreenPropertySchema, t as MessagingScreen } from "./MessagingScreen-vb5P-7jP.mjs";
29
29
  import { r as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-CXM2zmF7.mjs";
30
30
  import { r as chartWidgetPropertySchema, t as ChartWidget } from "./ChartWidget-obje-Xj9.mjs";
31
31
  import { r as containerWidgetPropertySchema, t as ContainerWidget } from "./ContainerWidget-DNenbORS.mjs";
@@ -50,7 +50,7 @@ import { i as CoreScreenPlaceholder, r as customersScreenPropertySchema, t as Cu
50
50
  import { n as useAppNavigation, t as AppNavigationProvider } from "./AppNavigationContext-Dvc0yoZF.mjs";
51
51
  import { t as useAccount } from "./use-account-C76sphlu.mjs";
52
52
  import "./fluid-pay-api-adapter-eNT8m0xB.mjs";
53
- import { r as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-DlMEqXXg.mjs";
53
+ import { r as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-CZAIUM2a.mjs";
54
54
  import "./dist-PbA1vxAz.mjs";
55
55
  import { r as contactsScreenPropertySchema, t as ContactsScreen } from "./ContactsScreen-CMBERzKU.mjs";
56
56
  import "./SearchSort-CFHU38Er.mjs";
@@ -62,7 +62,7 @@ import "./sortable.esm-C8G00cCP.mjs";
62
62
  import { r as mySiteScreenPropertySchema, t as MySiteScreen } from "./MySiteScreen-CN0ZDBgy.mjs";
63
63
  import { r as shareablesScreenPropertySchema, t as ShareablesScreen } from "./ShareablesScreen-sieWBlAl.mjs";
64
64
  import "./PortalProductsApiProvider-BIZg_c4Y.mjs";
65
- import { r as shopScreenPropertySchema, t as ShopScreen } from "./ShopScreen-U7G6Jf67.mjs";
65
+ import { r as shopScreenPropertySchema, t as ShopScreen } from "./ShopScreen-sLUTgIcQ.mjs";
66
66
  import "./UpgradeScreen-DnGnWVTf.mjs";
67
67
  import "./AppDownloadScreen-DQR40F0y.mjs";
68
68
  import * as React$1 from "react";
@@ -2072,12 +2072,12 @@ function AccountManageLayout({ children }) {
2072
2072
  }
2073
2073
  //#endregion
2074
2074
  //#region src/shell/system-screen-map.ts
2075
- const ProfileScreen$1 = lazy(() => import("./ProfileScreen-DlMEqXXg.mjs").then((n) => n.n).then((m) => ({ default: m.ProfileScreen })));
2075
+ const ProfileScreen$1 = lazy(() => import("./ProfileScreen-CZAIUM2a.mjs").then((n) => n.n).then((m) => ({ default: m.ProfileScreen })));
2076
2076
  const OrdersScreen$1 = lazy(() => import("./OrdersScreen-BV3vJ7xy.mjs").then((n) => n.n).then((m) => ({ default: m.OrdersScreen })));
2077
2077
  const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-CXM2zmF7.mjs").then((n) => n.n).then((m) => ({ default: m.SubscriptionsScreen })));
2078
- const MessagingScreen$1 = lazy(() => import("./MessagingScreen-CZddjqma.mjs").then((n) => n.n).then((m) => ({ default: m.MessagingScreen })));
2078
+ const MessagingScreen$1 = lazy(() => import("./MessagingScreen-vb5P-7jP.mjs").then((n) => n.n).then((m) => ({ default: m.MessagingScreen })));
2079
2079
  const ContactsScreen$1 = lazy(() => import("./ContactsScreen-CMBERzKU.mjs").then((n) => n.n).then((m) => ({ default: m.ContactsScreen })));
2080
- const ShopScreen$1 = lazy(() => import("./ShopScreen-U7G6Jf67.mjs").then((n) => n.n).then((m) => ({ default: m.ShopScreen })));
2080
+ const ShopScreen$1 = lazy(() => import("./ShopScreen-sLUTgIcQ.mjs").then((n) => n.n).then((m) => ({ default: m.ShopScreen })));
2081
2081
  const CustomersScreen$1 = lazy(() => import("./CustomersScreen-BJOBG5f5.mjs").then((n) => n.n).then((m) => ({ default: m.CustomersScreen })));
2082
2082
  const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-sieWBlAl.mjs").then((n) => n.n).then((m) => ({ default: m.ShareablesScreen })));
2083
2083
  const MySiteScreen$1 = lazy(() => import("./MySiteScreen-CN0ZDBgy.mjs").then((n) => n.n).then((m) => ({ default: m.MySiteScreen })));
@@ -2085,6 +2085,7 @@ const UpgradeScreen = lazy(() => import("./UpgradeScreen-DnGnWVTf.mjs").then((n)
2085
2085
  const AppDownloadScreen = lazy(() => import("./AppDownloadScreen-DQR40F0y.mjs").then((n) => n.t).then((m) => ({ default: m.AppDownloadScreen })));
2086
2086
  const SYSTEM_SLUG_SCREEN_MAP = {
2087
2087
  profile: ProfileScreen$1,
2088
+ account: ProfileScreen$1,
2088
2089
  orders: OrdersScreen$1,
2089
2090
  subscriptions: SubscriptionsScreen$1,
2090
2091
  messages: MessagingScreen$1,
@@ -2121,7 +2122,7 @@ function findScreenByPrefix(slug) {
2121
2122
  }
2122
2123
  //#endregion
2123
2124
  //#region src/shell/PageRouter.tsx
2124
- const ACCOUNT_SLUGS = new Set(ACCOUNT_MANAGE_SLUGS);
2125
+ const ACCOUNT_SLUGS = new Set([...ACCOUNT_MANAGE_SLUGS, "account"]);
2125
2126
  /**
2126
2127
  * Returns true if any nav slug resolves to the given system screen component.
2127
2128
  * Lets detail routes (e.g. `share/product/:id`) render when their listing
@@ -3774,15 +3775,15 @@ z.object({
3774
3775
  //#endregion
3775
3776
  //#region src/screens/index.ts
3776
3777
  const screenPropertySchemas = {
3777
- ProfileScreen: () => import("./ProfileScreen-DlMEqXXg.mjs").then((n) => n.n).then((m) => m.profileScreenPropertySchema),
3778
- MessagingScreen: () => import("./MessagingScreen-CZddjqma.mjs").then((n) => n.n).then((m) => m.messagingScreenPropertySchema),
3778
+ ProfileScreen: () => import("./ProfileScreen-CZAIUM2a.mjs").then((n) => n.n).then((m) => m.profileScreenPropertySchema),
3779
+ MessagingScreen: () => import("./MessagingScreen-vb5P-7jP.mjs").then((n) => n.n).then((m) => m.messagingScreenPropertySchema),
3779
3780
  ContactsScreen: () => import("./ContactsScreen-CMBERzKU.mjs").then((n) => n.n).then((m) => m.contactsScreenPropertySchema),
3780
3781
  OrdersScreen: () => import("./OrdersScreen-BV3vJ7xy.mjs").then((n) => n.n).then((m) => m.ordersScreenPropertySchema),
3781
3782
  SubscriptionsScreen: () => import("./SubscriptionsScreen-CXM2zmF7.mjs").then((n) => n.n).then((m) => m.subscriptionsScreenPropertySchema),
3782
3783
  CustomersScreen: () => import("./CustomersScreen-BJOBG5f5.mjs").then((n) => n.n).then((m) => m.customersScreenPropertySchema),
3783
3784
  MySiteScreen: () => import("./MySiteScreen-CN0ZDBgy.mjs").then((n) => n.n).then((m) => m.mySiteScreenPropertySchema),
3784
3785
  ShareablesScreen: () => import("./ShareablesScreen-sieWBlAl.mjs").then((n) => n.n).then((m) => m.shareablesScreenPropertySchema),
3785
- ShopScreen: () => import("./ShopScreen-U7G6Jf67.mjs").then((n) => n.n).then((m) => m.shopScreenPropertySchema),
3786
+ ShopScreen: () => import("./ShopScreen-sLUTgIcQ.mjs").then((n) => n.n).then((m) => m.shopScreenPropertySchema),
3786
3787
  UpgradeScreen: () => import("./UpgradeScreen-DnGnWVTf.mjs").then((n) => n.t).then((m) => m.upgradeScreenPropertySchema),
3787
3788
  AppDownloadScreen: () => import("./AppDownloadScreen-DQR40F0y.mjs").then((n) => n.t).then((m) => m.appDownloadScreenPropertySchema)
3788
3789
  };