@fluid-app/portal-sdk 0.1.280 → 0.1.281
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/{ContactsScreen-D42uVkfI.mjs → ContactsScreen-CMETL0o1.mjs} +33 -36
- package/dist/ContactsScreen-CMETL0o1.mjs.map +1 -0
- package/dist/{ContactsScreen-CVUFwHD0.cjs → ContactsScreen-CNM9nqb1.cjs} +33 -36
- package/dist/ContactsScreen-CNM9nqb1.cjs.map +1 -0
- package/dist/{ContactsScreen-BWgTp9z6.cjs → ContactsScreen-CZLLBgUB.cjs} +2 -2
- package/dist/{MessagingScreen-ihaUzGp0.mjs → MessagingScreen-BvVhwvm8.mjs} +2 -2
- package/dist/{MessagingScreen-CE8MTQxn.cjs → MessagingScreen-C3yCIWo4.cjs} +41 -62
- package/dist/MessagingScreen-C3yCIWo4.cjs.map +1 -0
- package/dist/{MessagingScreen-r73abdKa.mjs → MessagingScreen-C7W5-K1N.mjs} +41 -62
- package/dist/{MessagingScreen-r73abdKa.mjs.map → MessagingScreen-C7W5-K1N.mjs.map} +1 -1
- package/dist/{MessagingScreen-DIbrm4HW.cjs → MessagingScreen-sc1u2IwX.cjs} +2 -2
- package/dist/{MySiteScreen-B1_Xx5-L.cjs → MySiteScreen-BiRsdk3F.cjs} +5 -10
- package/dist/MySiteScreen-BiRsdk3F.cjs.map +1 -0
- package/dist/{MySiteScreen-Dx8wYdv3.mjs → MySiteScreen-CfCr1_w0.mjs} +5 -10
- package/dist/{MySiteScreen-Dx8wYdv3.mjs.map → MySiteScreen-CfCr1_w0.mjs.map} +1 -1
- package/dist/{MySiteScreen-CFyr06DP.cjs → MySiteScreen-D2ivRa2e.cjs} +2 -2
- package/dist/{OrdersScreen-RNTW7SCI.mjs → OrdersScreen-BCFfxurP.mjs} +2 -2
- package/dist/{OrdersScreen-BQKy-1vC.cjs → OrdersScreen-CSkiK7j8.cjs} +13 -15
- package/dist/OrdersScreen-CSkiK7j8.cjs.map +1 -0
- package/dist/{OrdersScreen-C-32UkcG.cjs → OrdersScreen-DOCdTWOx.cjs} +2 -2
- package/dist/{OrdersScreen-9wp4AWDC.mjs → OrdersScreen-NzGaufXO.mjs} +13 -15
- package/dist/OrdersScreen-NzGaufXO.mjs.map +1 -0
- package/dist/{ProfileScreen-OZZ9Zcab.mjs → ProfileScreen-CkRFE_jb.mjs} +5 -6
- package/dist/{ProfileScreen-OZZ9Zcab.mjs.map → ProfileScreen-CkRFE_jb.mjs.map} +1 -1
- package/dist/{ProfileScreen-BdMZsorI.mjs → ProfileScreen-Cm4WZ54w.mjs} +2 -2
- package/dist/{ProfileScreen-BvIfbjnw.cjs → ProfileScreen-Dacb369p.cjs} +5 -6
- package/dist/ProfileScreen-Dacb369p.cjs.map +1 -0
- package/dist/{ProfileScreen-BrdjkmQd.cjs → ProfileScreen-zzk5SGP5.cjs} +2 -2
- package/dist/ScreenHeaderContext-CsfhnuJk.cjs +86 -0
- package/dist/ScreenHeaderContext-CsfhnuJk.cjs.map +1 -0
- package/dist/ScreenHeaderContext-Dn12BZyj.mjs +62 -0
- package/dist/ScreenHeaderContext-Dn12BZyj.mjs.map +1 -0
- package/dist/{ShareablesScreen-BP1Ed_Sv.cjs → ShareablesScreen-BwFmwYNG.cjs} +2 -2
- package/dist/{ShareablesScreen-DwxcReCu.cjs → ShareablesScreen-C6pCPvmx.cjs} +1101 -1144
- package/dist/ShareablesScreen-C6pCPvmx.cjs.map +1 -0
- package/dist/{ShareablesScreen-tq0taJJe.mjs → ShareablesScreen-kr2RL4FN.mjs} +2 -2
- package/dist/{ShareablesScreen-C5ZRdX-y.mjs → ShareablesScreen-uMQYLpTv.mjs} +1101 -1144
- package/dist/ShareablesScreen-uMQYLpTv.mjs.map +1 -0
- package/dist/{ShopScreen-B-OBQ2S7.mjs → ShopScreen-BqDNPM7i.mjs} +36 -47
- package/dist/{ShopScreen-B-OBQ2S7.mjs.map → ShopScreen-BqDNPM7i.mjs.map} +1 -1
- package/dist/{ShopScreen-Cn94XVxx.mjs → ShopScreen-CpCBdW0Z.mjs} +2 -2
- package/dist/{ShopScreen-zdvCwxBT.cjs → ShopScreen-DRnPRtV7.cjs} +36 -47
- package/dist/ShopScreen-DRnPRtV7.cjs.map +1 -0
- package/dist/{ShopScreen-CQDkeQrR.cjs → ShopScreen-SN91S9Ao.cjs} +2 -2
- package/dist/{SubscriptionsScreen-CRHHXzrB.cjs → SubscriptionsScreen-D4C8a7-e.cjs} +13 -15
- package/dist/SubscriptionsScreen-D4C8a7-e.cjs.map +1 -0
- package/dist/{SubscriptionsScreen-Dx7Evic_.mjs → SubscriptionsScreen-DCeby11T.mjs} +13 -15
- package/dist/SubscriptionsScreen-DCeby11T.mjs.map +1 -0
- package/dist/{SubscriptionsScreen-DH10SUZK.cjs → SubscriptionsScreen-DzwK-Sck.cjs} +2 -2
- package/dist/index.cjs +35 -34
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +35 -34
- package/dist/index.mjs.map +1 -1
- package/package.json +18 -18
- package/dist/ContactsScreen-CVUFwHD0.cjs.map +0 -1
- package/dist/ContactsScreen-D42uVkfI.mjs.map +0 -1
- package/dist/MessagingScreen-CE8MTQxn.cjs.map +0 -1
- package/dist/MySiteScreen-B1_Xx5-L.cjs.map +0 -1
- package/dist/OrdersScreen-9wp4AWDC.mjs.map +0 -1
- package/dist/OrdersScreen-BQKy-1vC.cjs.map +0 -1
- package/dist/ProfileScreen-BvIfbjnw.cjs.map +0 -1
- package/dist/ScreenHeaderContext-BDjNSUfr.mjs +0 -85
- package/dist/ScreenHeaderContext-BDjNSUfr.mjs.map +0 -1
- package/dist/ScreenHeaderContext-PbjwAMeB.cjs +0 -109
- package/dist/ScreenHeaderContext-PbjwAMeB.cjs.map +0 -1
- package/dist/ShareablesScreen-C5ZRdX-y.mjs.map +0 -1
- package/dist/ShareablesScreen-DwxcReCu.cjs.map +0 -1
- package/dist/ShopScreen-zdvCwxBT.cjs.map +0 -1
- package/dist/SubscriptionsScreen-CRHHXzrB.cjs.map +0 -1
- package/dist/SubscriptionsScreen-Dx7Evic_.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import "./store-api-context-C1lXT_3d.mjs";
|
|
|
5
5
|
import "./api-context-3GmfqvIB.mjs";
|
|
6
6
|
import "./mysite-api-context-5-qpKHWA.mjs";
|
|
7
7
|
import "./countries-api-context-CMh13cfX.mjs";
|
|
8
|
-
import { r as contactsScreenPropertySchema, t as ContactsScreen } from "./ContactsScreen-
|
|
8
|
+
import { r as contactsScreenPropertySchema, t as ContactsScreen } from "./ContactsScreen-CMETL0o1.mjs";
|
|
9
9
|
import { n as usePortalTenantClient } from "./PortalTenantClientProvider-BF-1Fy27.mjs";
|
|
10
10
|
import "./registry-context-DdfXs3K3.mjs";
|
|
11
11
|
import { t as WidgetInteractionProvider } from "./WidgetInteractionContext-D8HZx_Gf.mjs";
|
|
@@ -25,8 +25,8 @@ import "./MediaRenderer-Db1KsIza.mjs";
|
|
|
25
25
|
import { r as carouselWidgetPropertySchema, t as CarouselWidget } from "./CarouselWidget-BOWNV3rj.mjs";
|
|
26
26
|
import { r as catchUpWidgetPropertySchema, t as CatchUpWidget } from "./CatchUpWidget-z6QHlvp8.mjs";
|
|
27
27
|
import { Cn as cn$1, St as CardTitle, at as Popover, bt as CardFooter, ct as Collapsible, gt as Card, h as Skeleton$1, lt as CollapsibleContent, ot as PopoverContent, p as Toaster, st as PopoverTrigger, ut as CollapsibleTrigger, vn as Button, xt as CardHeader, yt as CardDescription } from "./src-Dk1FJOX0.mjs";
|
|
28
|
-
import { a as useMessagingAuth, i as useMessagingConfig, n as messagingScreenPropertySchema, r as createFluidFileUploader, t as MessagingScreen } from "./MessagingScreen-
|
|
29
|
-
import { r as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-
|
|
28
|
+
import { a as useMessagingAuth, i as useMessagingConfig, n as messagingScreenPropertySchema, r as createFluidFileUploader, t as MessagingScreen } from "./MessagingScreen-C7W5-K1N.mjs";
|
|
29
|
+
import { r as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-DCeby11T.mjs";
|
|
30
30
|
import { r as chartWidgetPropertySchema, t as ChartWidget } from "./ChartWidget-rCUOwT7v.mjs";
|
|
31
31
|
import { r as containerWidgetPropertySchema, t as ContainerWidget } from "./ContainerWidget-DjhBudsq.mjs";
|
|
32
32
|
import { r as imageWidgetPropertySchema, t as ImageWidget } from "./ImageWidget-DGABEW2_.mjs";
|
|
@@ -43,7 +43,7 @@ import { r as spacerWidgetPropertySchema, t as SpacerWidget } from "./SpacerWidg
|
|
|
43
43
|
import { r as tableWidgetPropertySchema, t as TableWidget } from "./TableWidget-DCZDRb0V.mjs";
|
|
44
44
|
import { r as toDoWidgetPropertySchema, t as ToDoWidget } from "./ToDoWidget-IKwBkpj3.mjs";
|
|
45
45
|
import { r as videoWidgetPropertySchema, t as VideoWidget } from "./VideoWidget-DlnwYXlo.mjs";
|
|
46
|
-
import { i as
|
|
46
|
+
import { i as useScreenHeaderSlotRefs, r as ScreenHeaderProvider } from "./ScreenHeaderContext-Dn12BZyj.mjs";
|
|
47
47
|
import { t as useStore } from "./use-store-BnHhQDYo.mjs";
|
|
48
48
|
import { i as CoreScreenPlaceholder, r as customersScreenPropertySchema, t as CustomersScreen } from "./CustomersScreen-C3CEdnrZ.mjs";
|
|
49
49
|
import { t as useAccount } from "./use-account-B201ntr4.mjs";
|
|
@@ -51,16 +51,16 @@ import { n as useAppNavigation, t as AppNavigationProvider } from "./AppNavigati
|
|
|
51
51
|
import "./static-dict-adapter-BGSA0IiX.mjs";
|
|
52
52
|
import "./AddressAutocompleteInput-DBr3dEbL.mjs";
|
|
53
53
|
import "./use-mysite-portal-B7N48vKo.mjs";
|
|
54
|
-
import { n as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-
|
|
54
|
+
import { n as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-CkRFE_jb.mjs";
|
|
55
55
|
import "./dist-PbA1vxAz.mjs";
|
|
56
56
|
import "./es-XDcP51O8.mjs";
|
|
57
57
|
import "./dist-BdonWipX.mjs";
|
|
58
|
-
import { n as ordersScreenPropertySchema, t as OrdersScreen } from "./OrdersScreen-
|
|
59
|
-
import { r as mySiteScreenPropertySchema, t as MySiteScreen } from "./MySiteScreen-
|
|
58
|
+
import { n as ordersScreenPropertySchema, t as OrdersScreen } from "./OrdersScreen-NzGaufXO.mjs";
|
|
59
|
+
import { r as mySiteScreenPropertySchema, t as MySiteScreen } from "./MySiteScreen-CfCr1_w0.mjs";
|
|
60
60
|
import "./sortable.esm-BqjLKOgx.mjs";
|
|
61
|
-
import { n as shareablesScreenPropertySchema, t as ShareablesScreen } from "./ShareablesScreen-
|
|
61
|
+
import { n as shareablesScreenPropertySchema, t as ShareablesScreen } from "./ShareablesScreen-uMQYLpTv.mjs";
|
|
62
62
|
import "./PortalProductsApiProvider-Daft5xxE.mjs";
|
|
63
|
-
import { n as shopScreenPropertySchema, t as ShopScreen } from "./ShopScreen-
|
|
63
|
+
import { n as shopScreenPropertySchema, t as ShopScreen } from "./ShopScreen-BqDNPM7i.mjs";
|
|
64
64
|
import "./UpgradeScreen-CtAPAfxc.mjs";
|
|
65
65
|
import "./AppDownloadScreen-Ciu4ALkO.mjs";
|
|
66
66
|
import * as React$1 from "react";
|
|
@@ -1142,8 +1142,8 @@ function getDefaultNavigation() {
|
|
|
1142
1142
|
//#region ../react/src/shell/ScreenHeader.tsx
|
|
1143
1143
|
function ScreenHeader({ title }) {
|
|
1144
1144
|
const { toggleSidebar, isMobile } = useSidebar();
|
|
1145
|
-
const {
|
|
1146
|
-
if (!title && !
|
|
1145
|
+
const { breadcrumbsRef, actionsRef, hasBreadcrumbs } = useScreenHeaderSlotRefs();
|
|
1146
|
+
if (!title && !hasBreadcrumbs) return null;
|
|
1147
1147
|
return /* @__PURE__ */ jsxs("div", {
|
|
1148
1148
|
className: "border-foreground/[0.06] bg-background sticky top-0 z-30 flex flex-row items-center border-b px-4 py-3 md:px-6",
|
|
1149
1149
|
children: [
|
|
@@ -1154,16 +1154,17 @@ function ScreenHeader({ title }) {
|
|
|
1154
1154
|
"aria-label": "Toggle Sidebar",
|
|
1155
1155
|
children: /* @__PURE__ */ jsx(PanelLeft, { className: "size-4" })
|
|
1156
1156
|
}), /* @__PURE__ */ jsx("div", { className: "bg-border mx-2 h-4 w-px" })] }),
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
})
|
|
1157
|
+
/* @__PURE__ */ jsx("div", {
|
|
1158
|
+
ref: breadcrumbsRef,
|
|
1159
|
+
className: "min-w-0 flex-1 empty:hidden [&_[data-slot=breadcrumb-list]]:text-base!"
|
|
1160
|
+
}),
|
|
1161
|
+
!hasBreadcrumbs && title && /* @__PURE__ */ jsx("h1", {
|
|
1161
1162
|
className: "text-foreground text-base font-semibold",
|
|
1162
1163
|
children: title
|
|
1163
1164
|
}),
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1165
|
+
/* @__PURE__ */ jsx("div", {
|
|
1166
|
+
ref: actionsRef,
|
|
1167
|
+
className: "ml-auto flex items-center gap-2 empty:hidden"
|
|
1167
1168
|
})
|
|
1168
1169
|
]
|
|
1169
1170
|
});
|
|
@@ -2066,15 +2067,15 @@ function BuilderScreenViewImpl({ screen, className }) {
|
|
|
2066
2067
|
const BuilderScreenView = memo(BuilderScreenViewImpl);
|
|
2067
2068
|
//#endregion
|
|
2068
2069
|
//#region src/shell/system-screen-map.ts
|
|
2069
|
-
const ProfileScreen$1 = lazy(() => import("./ProfileScreen-
|
|
2070
|
-
const OrdersScreen$1 = lazy(() => import("./OrdersScreen-
|
|
2071
|
-
const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-
|
|
2072
|
-
const MessagingScreen$1 = lazy(() => import("./MessagingScreen-
|
|
2073
|
-
const ContactsScreen$1 = lazy(() => import("./ContactsScreen-
|
|
2074
|
-
const ShopScreen$1 = lazy(() => import("./ShopScreen-
|
|
2070
|
+
const ProfileScreen$1 = lazy(() => import("./ProfileScreen-Cm4WZ54w.mjs").then((m) => ({ default: m.ProfileScreen })));
|
|
2071
|
+
const OrdersScreen$1 = lazy(() => import("./OrdersScreen-BCFfxurP.mjs").then((m) => ({ default: m.OrdersScreen })));
|
|
2072
|
+
const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-DCeby11T.mjs").then((n) => n.n).then((m) => ({ default: m.SubscriptionsScreen })));
|
|
2073
|
+
const MessagingScreen$1 = lazy(() => import("./MessagingScreen-BvVhwvm8.mjs").then((m) => ({ default: m.MessagingScreen })));
|
|
2074
|
+
const ContactsScreen$1 = lazy(() => import("./ContactsScreen-CMETL0o1.mjs").then((n) => n.n).then((m) => ({ default: m.ContactsScreen })));
|
|
2075
|
+
const ShopScreen$1 = lazy(() => import("./ShopScreen-CpCBdW0Z.mjs").then((m) => ({ default: m.ShopScreen })));
|
|
2075
2076
|
const CustomersScreen$1 = lazy(() => import("./CustomersScreen-C3CEdnrZ.mjs").then((n) => n.n).then((m) => ({ default: m.CustomersScreen })));
|
|
2076
|
-
const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-
|
|
2077
|
-
const MySiteScreen$1 = lazy(() => import("./MySiteScreen-
|
|
2077
|
+
const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-kr2RL4FN.mjs").then((m) => ({ default: m.ShareablesScreen })));
|
|
2078
|
+
const MySiteScreen$1 = lazy(() => import("./MySiteScreen-CfCr1_w0.mjs").then((n) => n.n).then((m) => ({ default: m.MySiteScreen })));
|
|
2078
2079
|
const UpgradeScreen = lazy(() => import("./UpgradeScreen-CtAPAfxc.mjs").then((n) => n.t).then((m) => ({ default: m.UpgradeScreen })));
|
|
2079
2080
|
const AppDownloadScreen = lazy(() => import("./AppDownloadScreen-Ciu4ALkO.mjs").then((n) => n.t).then((m) => ({ default: m.AppDownloadScreen })));
|
|
2080
2081
|
const SYSTEM_SLUG_SCREEN_MAP = {
|
|
@@ -3727,15 +3728,15 @@ z.object({
|
|
|
3727
3728
|
//#endregion
|
|
3728
3729
|
//#region src/screens/index.ts
|
|
3729
3730
|
const screenPropertySchemas = {
|
|
3730
|
-
ProfileScreen: () => import("./ProfileScreen-
|
|
3731
|
-
MessagingScreen: () => import("./MessagingScreen-
|
|
3732
|
-
ContactsScreen: () => import("./ContactsScreen-
|
|
3733
|
-
OrdersScreen: () => import("./OrdersScreen-
|
|
3734
|
-
SubscriptionsScreen: () => import("./SubscriptionsScreen-
|
|
3731
|
+
ProfileScreen: () => import("./ProfileScreen-Cm4WZ54w.mjs").then((m) => m.profileScreenPropertySchema),
|
|
3732
|
+
MessagingScreen: () => import("./MessagingScreen-BvVhwvm8.mjs").then((m) => m.messagingScreenPropertySchema),
|
|
3733
|
+
ContactsScreen: () => import("./ContactsScreen-CMETL0o1.mjs").then((n) => n.n).then((m) => m.contactsScreenPropertySchema),
|
|
3734
|
+
OrdersScreen: () => import("./OrdersScreen-BCFfxurP.mjs").then((m) => m.ordersScreenPropertySchema),
|
|
3735
|
+
SubscriptionsScreen: () => import("./SubscriptionsScreen-DCeby11T.mjs").then((n) => n.n).then((m) => m.subscriptionsScreenPropertySchema),
|
|
3735
3736
|
CustomersScreen: () => import("./CustomersScreen-C3CEdnrZ.mjs").then((n) => n.n).then((m) => m.customersScreenPropertySchema),
|
|
3736
|
-
MySiteScreen: () => import("./MySiteScreen-
|
|
3737
|
-
ShareablesScreen: () => import("./ShareablesScreen-
|
|
3738
|
-
ShopScreen: () => import("./ShopScreen-
|
|
3737
|
+
MySiteScreen: () => import("./MySiteScreen-CfCr1_w0.mjs").then((n) => n.n).then((m) => m.mySiteScreenPropertySchema),
|
|
3738
|
+
ShareablesScreen: () => import("./ShareablesScreen-kr2RL4FN.mjs").then((m) => m.shareablesScreenPropertySchema),
|
|
3739
|
+
ShopScreen: () => import("./ShopScreen-CpCBdW0Z.mjs").then((m) => m.shopScreenPropertySchema),
|
|
3739
3740
|
UpgradeScreen: () => import("./UpgradeScreen-CtAPAfxc.mjs").then((n) => n.t).then((m) => m.upgradeScreenPropertySchema),
|
|
3740
3741
|
AppDownloadScreen: () => import("./AppDownloadScreen-Ciu4ALkO.mjs").then((n) => n.t).then((m) => m.appDownloadScreenPropertySchema)
|
|
3741
3742
|
};
|