@fluid-app/portal-sdk 0.1.116 → 0.1.117
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/{ProfileScreen-6ncejUCd.cjs → ProfileScreen-B0x4xewb.cjs} +3 -3
- package/dist/ProfileScreen-B0x4xewb.cjs.map +1 -0
- package/dist/{ProfileScreen-BFOtOkTV.cjs → ProfileScreen-Be31KFZx.cjs} +1 -1
- package/dist/{ProfileScreen-DtRy_GWa.mjs → ProfileScreen-DRc4mX74.mjs} +3 -3
- package/dist/ProfileScreen-DRc4mX74.mjs.map +1 -0
- package/dist/index.cjs +11 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +11 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +19 -19
- package/dist/ProfileScreen-6ncejUCd.cjs.map +0 -1
- package/dist/ProfileScreen-DtRy_GWa.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -40,7 +40,7 @@ import { i as useCompanyScopedQueryKey, n as useCurrentUser, r as createCompanyQ
|
|
|
40
40
|
import { n as shareablesScreenPropertySchema, r as useUserType, t as ShareablesScreen } from "./ShareablesScreen-BXBZ7Z-9.mjs";
|
|
41
41
|
import { i as CoreScreenPlaceholder, r as customersScreenPropertySchema, t as CustomersScreen } from "./CustomersScreen-xAauAB-B.mjs";
|
|
42
42
|
import { n as useAppNavigation, t as AppNavigationProvider } from "./AppNavigationContext-Du3Qq0yc.mjs";
|
|
43
|
-
import { r as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-
|
|
43
|
+
import { r as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-DRc4mX74.mjs";
|
|
44
44
|
import "./dist-CMGXkSgZ.mjs";
|
|
45
45
|
import "./es-B84KtbcD.mjs";
|
|
46
46
|
import { r as contactsScreenPropertySchema, t as ContactsScreen } from "./ContactsScreen-DDgoR8CH.mjs";
|
|
@@ -1157,6 +1157,11 @@ const SYSTEM_NAVIGATION_SLUGS = [
|
|
|
1157
1157
|
"upgrade"
|
|
1158
1158
|
];
|
|
1159
1159
|
/**
|
|
1160
|
+
* Slugs hidden from the quicklinks/shortcuts menu.
|
|
1161
|
+
* These screens still exist and are navigable, but don't appear in the grid.
|
|
1162
|
+
*/
|
|
1163
|
+
const QUICKLINKS_HIDDEN_SLUGS = new Set(["app-download"]);
|
|
1164
|
+
/**
|
|
1160
1165
|
* Slugs restricted to rep (non-customer) users.
|
|
1161
1166
|
* Customers will not see these in navigation and cannot access these routes.
|
|
1162
1167
|
*/
|
|
@@ -1200,7 +1205,7 @@ const SYSTEM_NAVIGATION_ITEMS = {
|
|
|
1200
1205
|
orders: {
|
|
1201
1206
|
slug: "orders",
|
|
1202
1207
|
label: "Orders",
|
|
1203
|
-
icon: "
|
|
1208
|
+
icon: "package-open",
|
|
1204
1209
|
section: "User"
|
|
1205
1210
|
},
|
|
1206
1211
|
profile: {
|
|
@@ -1269,6 +1274,7 @@ function getSystemNavigationBySection() {
|
|
|
1269
1274
|
for (const item of Object.values(SYSTEM_NAVIGATION_ITEMS)) {
|
|
1270
1275
|
if (item.slug && seenSlugs.has(item.slug)) continue;
|
|
1271
1276
|
if (item.slug) seenSlugs.add(item.slug);
|
|
1277
|
+
if (item.slug && QUICKLINKS_HIDDEN_SLUGS.has(item.slug)) continue;
|
|
1272
1278
|
const section = item.section || "Other";
|
|
1273
1279
|
if (!sections[section]) sections[section] = [];
|
|
1274
1280
|
sections[section].push(item);
|
|
@@ -1378,6 +1384,7 @@ const ICON_MAP$1 = {
|
|
|
1378
1384
|
"list-music": ListMusic,
|
|
1379
1385
|
"magnifying-glass": Search,
|
|
1380
1386
|
message: MessageSquare,
|
|
1387
|
+
"package-open": PackageOpen,
|
|
1381
1388
|
star: Star,
|
|
1382
1389
|
store: Store,
|
|
1383
1390
|
"table-cells-large": LayoutGrid,
|
|
@@ -2991,7 +2998,7 @@ function AccountManageLayout({ children }) {
|
|
|
2991
2998
|
}
|
|
2992
2999
|
//#endregion
|
|
2993
3000
|
//#region src/shell/system-screen-map.ts
|
|
2994
|
-
const ProfileScreen$1 = lazy(() => import("./ProfileScreen-
|
|
3001
|
+
const ProfileScreen$1 = lazy(() => import("./ProfileScreen-DRc4mX74.mjs").then((n) => n.n).then((m) => ({ default: m.ProfileScreen })));
|
|
2995
3002
|
const OrdersScreen$1 = lazy(() => import("./OrdersScreen-BJETamou.mjs").then((n) => n.n).then((m) => ({ default: m.OrdersScreen })));
|
|
2996
3003
|
const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-DGKW-i80.mjs").then((n) => n.n).then((m) => ({ default: m.SubscriptionsScreen })));
|
|
2997
3004
|
const MessagingScreen$1 = lazy(() => import("./MessagingScreen-DyoTr6qg.mjs").then((m) => ({ default: m.MessagingScreen })));
|
|
@@ -4459,7 +4466,7 @@ function useContact(_contactId) {
|
|
|
4459
4466
|
//#endregion
|
|
4460
4467
|
//#region src/screens/index.ts
|
|
4461
4468
|
const screenPropertySchemas = {
|
|
4462
|
-
ProfileScreen: () => import("./ProfileScreen-
|
|
4469
|
+
ProfileScreen: () => import("./ProfileScreen-DRc4mX74.mjs").then((n) => n.n).then((m) => m.profileScreenPropertySchema),
|
|
4463
4470
|
MessagingScreen: () => import("./MessagingScreen-DyoTr6qg.mjs").then((m) => m.messagingScreenPropertySchema),
|
|
4464
4471
|
ContactsScreen: () => import("./ContactsScreen-DDgoR8CH.mjs").then((n) => n.n).then((m) => m.contactsScreenPropertySchema),
|
|
4465
4472
|
OrdersScreen: () => import("./OrdersScreen-BJETamou.mjs").then((n) => n.n).then((m) => m.ordersScreenPropertySchema),
|