@fluid-app/portal-sdk 0.1.169 → 0.1.171
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/{FluidProvider-4wg1xf_l.mjs → FluidProvider-DrGFcRlB.mjs} +23 -5
- package/dist/FluidProvider-DrGFcRlB.mjs.map +1 -0
- package/dist/{FluidProvider-MFYqEzPc.cjs → FluidProvider-n4cvVkGt.cjs} +23 -5
- package/dist/FluidProvider-n4cvVkGt.cjs.map +1 -0
- package/dist/{MessagingScreen-BodVAop8.cjs → MessagingScreen-BcN85g3v.cjs} +2 -2
- package/dist/{MessagingScreen-GU6S6vv-.mjs → MessagingScreen-Cp8RqZXv.mjs} +2 -2
- package/dist/{MessagingScreen-GU6S6vv-.mjs.map → MessagingScreen-Cp8RqZXv.mjs.map} +1 -1
- package/dist/{MessagingScreen-CEHdeWTl.cjs → MessagingScreen-Cyd_13y-.cjs} +2 -2
- package/dist/{MessagingScreen-CEHdeWTl.cjs.map → MessagingScreen-Cyd_13y-.cjs.map} +1 -1
- package/dist/{ProfileScreen-BfPZOdUy.cjs → ProfileScreen-Bym1xay5.cjs} +2 -2
- package/dist/{ProfileScreen-BtukJFIm.mjs → ProfileScreen-CD2lmt5S.mjs} +84 -46
- package/dist/ProfileScreen-CD2lmt5S.mjs.map +1 -0
- package/dist/{ProfileScreen-DzdtuSBv.cjs → ProfileScreen-PlDpc8RU.cjs} +84 -46
- package/dist/ProfileScreen-PlDpc8RU.cjs.map +1 -0
- package/dist/{ShopScreen-WCUSoGt9.mjs → ShopScreen-Bq0bv8mQ.mjs} +2 -2
- package/dist/{ShopScreen-WCUSoGt9.mjs.map → ShopScreen-Bq0bv8mQ.mjs.map} +1 -1
- package/dist/{ShopScreen-BMFShhIg.cjs → ShopScreen-C6jCsDWH.cjs} +2 -2
- package/dist/{ShopScreen-DyiZc62M.cjs → ShopScreen-C9DPPESd.cjs} +2 -2
- package/dist/{ShopScreen-DyiZc62M.cjs.map → ShopScreen-C9DPPESd.cjs.map} +1 -1
- package/dist/index.cjs +11 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +11 -26
- package/dist/index.mjs.map +1 -1
- package/package.json +14 -14
- package/dist/FluidProvider-4wg1xf_l.mjs.map +0 -1
- package/dist/FluidProvider-MFYqEzPc.cjs.map +0 -1
- package/dist/ProfileScreen-BtukJFIm.mjs.map +0 -1
- package/dist/ProfileScreen-DzdtuSBv.cjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./es-C0sscSvf.mjs";
|
|
2
|
-
import { A as mergeDarkOverrides, C as DEFAULT_THEME_ID, D as deriveDarkVariant, E as generateThemeCSS, F as RADIUS_KEYS, H as useFluidOsApi, I as SEMANTIC_COLOR_NAMES, L as SHADE_STEPS, M as resolveTheme, N as FONT_FAMILY_KEYS, O as generateShades, P as FONT_SIZE_KEYS, S as DEFAULT_SPACING, T as getDefaultThemeDefinition, U as createPersister, V as useAppDefinitionApi, W as deleteDatabase, _ as serialiseTheme, a as createScreen, b as DEFAULT_FONT_SIZES, c as FluidThemeProvider, d as removeAllThemes, f as removeTheme, g as deserialiseTheme, h as transformThemes, i as widgetPropertySchemas, j as parseColor, k as getForegroundColor, l as useThemeContext, m as getActiveThemeId, n as useFluidContext, o as createWidgetFromShareable, p as buildThemeDefinition, r as DEFAULT_SDK_WIDGET_REGISTRY, s as createWidgetRegistry, t as FluidProvider, u as applyTheme, v as DEFAULT_COLORS, w as DEFAULT_THEME_NAME, x as DEFAULT_RADII, y as DEFAULT_FONT_FAMILIES } from "./FluidProvider-
|
|
2
|
+
import { A as mergeDarkOverrides, C as DEFAULT_THEME_ID, D as deriveDarkVariant, E as generateThemeCSS, F as RADIUS_KEYS, H as useFluidOsApi, I as SEMANTIC_COLOR_NAMES, L as SHADE_STEPS, M as resolveTheme, N as FONT_FAMILY_KEYS, O as generateShades, P as FONT_SIZE_KEYS, S as DEFAULT_SPACING, T as getDefaultThemeDefinition, U as createPersister, V as useAppDefinitionApi, W as deleteDatabase, _ as serialiseTheme, a as createScreen, b as DEFAULT_FONT_SIZES, c as FluidThemeProvider, d as removeAllThemes, f as removeTheme, g as deserialiseTheme, h as transformThemes, i as widgetPropertySchemas, j as parseColor, k as getForegroundColor, l as useThemeContext, m as getActiveThemeId, n as useFluidContext, o as createWidgetFromShareable, p as buildThemeDefinition, r as DEFAULT_SDK_WIDGET_REGISTRY, s as createWidgetRegistry, t as FluidProvider, u as applyTheme, v as DEFAULT_COLORS, w as DEFAULT_THEME_NAME, x as DEFAULT_RADII, y as DEFAULT_FONT_FAMILIES } from "./FluidProvider-DrGFcRlB.mjs";
|
|
3
3
|
import "./account-api-context-R4VVlZdv.mjs";
|
|
4
4
|
import "./store-api-context-DViwxyG4.mjs";
|
|
5
5
|
import "./mysite-api-context-kUTM3GNG.mjs";
|
|
@@ -20,7 +20,7 @@ import { r as calendarWidgetPropertySchema, t as CalendarWidget } from "./Calend
|
|
|
20
20
|
import { r as cardWidgetPropertySchema, t as CardWidget } from "./CardWidget-BPH4qlHZ.mjs";
|
|
21
21
|
import "./purify.es-Cjc3iy5J.mjs";
|
|
22
22
|
import { b as Skeleton$1, dt as PopoverContent, ft as PopoverTrigger, ht as CollapsibleTrigger, mt as CollapsibleContent, pt as Collapsible, un as Button, ut as Popover, vn as cn$1 } from "./src-CGu9qU9G.mjs";
|
|
23
|
-
import { a as useMessagingConfig, i as createFluidFileUploader, o as useMessagingAuth, r as messagingScreenPropertySchema, t as MessagingScreen } from "./MessagingScreen-
|
|
23
|
+
import { a as useMessagingConfig, i as createFluidFileUploader, o as useMessagingAuth, r as messagingScreenPropertySchema, t as MessagingScreen } from "./MessagingScreen-Cp8RqZXv.mjs";
|
|
24
24
|
import "./scroll-arrows-BgGN4XiD.mjs";
|
|
25
25
|
import "./MediaRenderer-CqUpv3St.mjs";
|
|
26
26
|
import { r as carouselWidgetPropertySchema, t as CarouselWidget } from "./CarouselWidget-ESZQnYV0.mjs";
|
|
@@ -44,7 +44,7 @@ import { t as useAccount } from "./use-account-BGsJz32U.mjs";
|
|
|
44
44
|
import { t as useStore } from "./use-store-B6s3_-bF.mjs";
|
|
45
45
|
import { i as CoreScreenPlaceholder, r as customersScreenPropertySchema, t as CustomersScreen } from "./CustomersScreen-qvGicxNh.mjs";
|
|
46
46
|
import { n as useAppNavigation, t as AppNavigationProvider } from "./AppNavigationContext-CAnb2Qxs.mjs";
|
|
47
|
-
import { r as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-
|
|
47
|
+
import { r as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-CD2lmt5S.mjs";
|
|
48
48
|
import "./dist-BjehZaTg.mjs";
|
|
49
49
|
import { r as contactsScreenPropertySchema, t as ContactsScreen } from "./ContactsScreen-20YYjP7B.mjs";
|
|
50
50
|
import "./SearchSort--qXK5na1.mjs";
|
|
@@ -60,7 +60,7 @@ import { n as productsScreenPropertySchema, t as ProductsScreen } from "./Produc
|
|
|
60
60
|
import "./use-mysite-portal-V9evOrv8.mjs";
|
|
61
61
|
import { r as mySiteScreenPropertySchema, t as MySiteScreen } from "./MySiteScreen-BZvrWImE.mjs";
|
|
62
62
|
import { n as shareablesScreenPropertySchema, t as ShareablesScreen } from "./ShareablesScreen-M0L9iKpW.mjs";
|
|
63
|
-
import { r as shopScreenPropertySchema, t as ShopScreen } from "./ShopScreen-
|
|
63
|
+
import { r as shopScreenPropertySchema, t as ShopScreen } from "./ShopScreen-Bq0bv8mQ.mjs";
|
|
64
64
|
import "./UpgradeScreen-BsOihloL.mjs";
|
|
65
65
|
import "./AppDownloadScreen-DyoWlNIs.mjs";
|
|
66
66
|
import * as React$1 from "react";
|
|
@@ -953,7 +953,6 @@ const SYSTEM_NAVIGATION_SLUGS = [
|
|
|
953
953
|
"app-download",
|
|
954
954
|
"contacts",
|
|
955
955
|
"account",
|
|
956
|
-
"messages",
|
|
957
956
|
"my-site",
|
|
958
957
|
"orders",
|
|
959
958
|
"profile",
|
|
@@ -961,8 +960,7 @@ const SYSTEM_NAVIGATION_SLUGS = [
|
|
|
961
960
|
"share/media",
|
|
962
961
|
"share/playlists",
|
|
963
962
|
"share/products",
|
|
964
|
-
"shop"
|
|
965
|
-
"upgrade"
|
|
963
|
+
"shop"
|
|
966
964
|
];
|
|
967
965
|
/**
|
|
968
966
|
* Slugs hidden from the quicklinks/shortcuts menu.
|
|
@@ -998,12 +996,6 @@ const SYSTEM_NAVIGATION_ITEMS = {
|
|
|
998
996
|
icon: "circle-user",
|
|
999
997
|
section: "User"
|
|
1000
998
|
},
|
|
1001
|
-
messages: {
|
|
1002
|
-
slug: "messages",
|
|
1003
|
-
label: "Messaging",
|
|
1004
|
-
icon: "message",
|
|
1005
|
-
section: "User"
|
|
1006
|
-
},
|
|
1007
999
|
"my-site": {
|
|
1008
1000
|
slug: "my-site",
|
|
1009
1001
|
label: "My Site",
|
|
@@ -1057,12 +1049,6 @@ const SYSTEM_NAVIGATION_ITEMS = {
|
|
|
1057
1049
|
label: "Subscriptions",
|
|
1058
1050
|
icon: "arrows-repeat",
|
|
1059
1051
|
section: "User"
|
|
1060
|
-
},
|
|
1061
|
-
upgrade: {
|
|
1062
|
-
slug: "upgrade",
|
|
1063
|
-
label: "Upgrade",
|
|
1064
|
-
icon: "arrow-up-from-bracket",
|
|
1065
|
-
section: "User"
|
|
1066
1052
|
}
|
|
1067
1053
|
};
|
|
1068
1054
|
/**
|
|
@@ -1126,7 +1112,6 @@ function getDefaultNavigation() {
|
|
|
1126
1112
|
return [
|
|
1127
1113
|
sectionHeader("We Commerce"),
|
|
1128
1114
|
systemNavItem("shop"),
|
|
1129
|
-
systemNavItem("messages"),
|
|
1130
1115
|
systemNavItem("contacts"),
|
|
1131
1116
|
systemNavItem("account"),
|
|
1132
1117
|
sectionHeader("Marketing Assets"),
|
|
@@ -2623,12 +2608,12 @@ function AccountManageLayout({ children }) {
|
|
|
2623
2608
|
}
|
|
2624
2609
|
//#endregion
|
|
2625
2610
|
//#region src/shell/system-screen-map.ts
|
|
2626
|
-
const ProfileScreen$1 = lazy(() => import("./ProfileScreen-
|
|
2611
|
+
const ProfileScreen$1 = lazy(() => import("./ProfileScreen-CD2lmt5S.mjs").then((n) => n.n).then((m) => ({ default: m.ProfileScreen })));
|
|
2627
2612
|
const OrdersScreen$1 = lazy(() => import("./OrdersScreen-Db05P44X.mjs").then((n) => n.n).then((m) => ({ default: m.OrdersScreen })));
|
|
2628
2613
|
const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-vtLb_1sf.mjs").then((n) => n.n).then((m) => ({ default: m.SubscriptionsScreen })));
|
|
2629
|
-
const MessagingScreen$1 = lazy(() => import("./MessagingScreen-
|
|
2614
|
+
const MessagingScreen$1 = lazy(() => import("./MessagingScreen-Cp8RqZXv.mjs").then((n) => n.n).then((m) => ({ default: m.MessagingScreen })));
|
|
2630
2615
|
const ContactsScreen$1 = lazy(() => import("./ContactsScreen-20YYjP7B.mjs").then((n) => n.n).then((m) => ({ default: m.ContactsScreen })));
|
|
2631
|
-
const ShopScreen$1 = lazy(() => import("./ShopScreen-
|
|
2616
|
+
const ShopScreen$1 = lazy(() => import("./ShopScreen-Bq0bv8mQ.mjs").then((n) => n.n).then((m) => ({ default: m.ShopScreen })));
|
|
2632
2617
|
const CustomersScreen$1 = lazy(() => import("./CustomersScreen-qvGicxNh.mjs").then((n) => n.n).then((m) => ({ default: m.CustomersScreen })));
|
|
2633
2618
|
const ProductsScreen$1 = lazy(() => import("./ProductsScreen-FI28Unh9.mjs").then((m) => ({ default: m.ProductsScreen })));
|
|
2634
2619
|
const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-kr_IbX2l.mjs").then((m) => ({ default: m.ShareablesScreen })));
|
|
@@ -4089,8 +4074,8 @@ z.object({
|
|
|
4089
4074
|
//#endregion
|
|
4090
4075
|
//#region src/screens/index.ts
|
|
4091
4076
|
const screenPropertySchemas = {
|
|
4092
|
-
ProfileScreen: () => import("./ProfileScreen-
|
|
4093
|
-
MessagingScreen: () => import("./MessagingScreen-
|
|
4077
|
+
ProfileScreen: () => import("./ProfileScreen-CD2lmt5S.mjs").then((n) => n.n).then((m) => m.profileScreenPropertySchema),
|
|
4078
|
+
MessagingScreen: () => import("./MessagingScreen-Cp8RqZXv.mjs").then((n) => n.n).then((m) => m.messagingScreenPropertySchema),
|
|
4094
4079
|
ContactsScreen: () => import("./ContactsScreen-20YYjP7B.mjs").then((n) => n.n).then((m) => m.contactsScreenPropertySchema),
|
|
4095
4080
|
OrdersScreen: () => import("./OrdersScreen-Db05P44X.mjs").then((n) => n.n).then((m) => m.ordersScreenPropertySchema),
|
|
4096
4081
|
SubscriptionsScreen: () => import("./SubscriptionsScreen-vtLb_1sf.mjs").then((n) => n.n).then((m) => m.subscriptionsScreenPropertySchema),
|
|
@@ -4098,7 +4083,7 @@ const screenPropertySchemas = {
|
|
|
4098
4083
|
ProductsScreen: () => import("./ProductsScreen-FI28Unh9.mjs").then((m) => m.productsScreenPropertySchema),
|
|
4099
4084
|
MySiteScreen: () => import("./MySiteScreen-BZvrWImE.mjs").then((n) => n.n).then((m) => m.mySiteScreenPropertySchema),
|
|
4100
4085
|
ShareablesScreen: () => import("./ShareablesScreen-kr_IbX2l.mjs").then((m) => m.shareablesScreenPropertySchema),
|
|
4101
|
-
ShopScreen: () => import("./ShopScreen-
|
|
4086
|
+
ShopScreen: () => import("./ShopScreen-Bq0bv8mQ.mjs").then((n) => n.n).then((m) => m.shopScreenPropertySchema),
|
|
4102
4087
|
UpgradeScreen: () => import("./UpgradeScreen-BsOihloL.mjs").then((n) => n.t).then((m) => m.upgradeScreenPropertySchema),
|
|
4103
4088
|
AppDownloadScreen: () => import("./AppDownloadScreen-DyoWlNIs.mjs").then((n) => n.t).then((m) => m.appDownloadScreenPropertySchema)
|
|
4104
4089
|
};
|