@fluid-app/portal-sdk 0.1.115 → 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/{ContactsScreen-CjMFgsml.cjs → ContactsScreen-D0LZl9eo.cjs} +117 -45
- package/dist/ContactsScreen-D0LZl9eo.cjs.map +1 -0
- package/dist/{ContactsScreen-CL6sD1Eb.mjs → ContactsScreen-DDgoR8CH.mjs} +117 -45
- package/dist/ContactsScreen-DDgoR8CH.mjs.map +1 -0
- package/dist/{ContactsScreen-CBjv2bLC.cjs → ContactsScreen-DZ8U0aJv.cjs} +1 -1
- package/dist/{MessagingScreen-DRcY1N_8.mjs → MessagingScreen-DyoTr6qg.mjs} +0 -1
- package/dist/{ProductsScreen-cUnZTQXj.mjs → ProductsScreen-C9crLQdu.mjs} +0 -3
- 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/{ShareablesScreen-Ci_HfDpD.mjs → ShareablesScreen-CEslRgCn.mjs} +0 -4
- package/dist/index.cjs +14 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +20 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +19 -21
- package/dist/ContactsScreen-CL6sD1Eb.mjs.map +0 -1
- package/dist/ContactsScreen-CjMFgsml.cjs.map +0 -1
- package/dist/ProfileScreen-6ncejUCd.cjs.map +0 -1
- package/dist/ProfileScreen-DtRy_GWa.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -40,10 +40,10 @@ 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
|
-
import { r as contactsScreenPropertySchema, t as ContactsScreen } from "./ContactsScreen-
|
|
46
|
+
import { r as contactsScreenPropertySchema, t as ContactsScreen } from "./ContactsScreen-DDgoR8CH.mjs";
|
|
47
47
|
import "./order-detail-B5cxyosZ.mjs";
|
|
48
48
|
import "./src-B7j_mfeS.mjs";
|
|
49
49
|
import "./dist-B1HwSrso.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,15 +2998,15 @@ 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
|
-
const MessagingScreen$1 = lazy(() => import("./MessagingScreen-
|
|
2998
|
-
const ContactsScreen$1 = lazy(() => import("./ContactsScreen-
|
|
3004
|
+
const MessagingScreen$1 = lazy(() => import("./MessagingScreen-DyoTr6qg.mjs").then((m) => ({ default: m.MessagingScreen })));
|
|
3005
|
+
const ContactsScreen$1 = lazy(() => import("./ContactsScreen-DDgoR8CH.mjs").then((n) => n.n).then((m) => ({ default: m.ContactsScreen })));
|
|
2999
3006
|
const ShopScreen$1 = lazy(() => import("./ShopScreen-DCV6T_CN.mjs").then((n) => n.n).then((m) => ({ default: m.ShopScreen })));
|
|
3000
3007
|
const CustomersScreen$1 = lazy(() => import("./CustomersScreen-xAauAB-B.mjs").then((n) => n.n).then((m) => ({ default: m.CustomersScreen })));
|
|
3001
|
-
const ProductsScreen$1 = lazy(() => import("./ProductsScreen-
|
|
3002
|
-
const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-
|
|
3008
|
+
const ProductsScreen$1 = lazy(() => import("./ProductsScreen-C9crLQdu.mjs").then((m) => ({ default: m.ProductsScreen })));
|
|
3009
|
+
const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-CEslRgCn.mjs").then((m) => ({ default: m.ShareablesScreen })));
|
|
3003
3010
|
const MySiteScreen$1 = lazy(() => import("./MySiteScreen-BvLsBrYD.mjs").then((n) => n.n).then((m) => ({ default: m.MySiteScreen })));
|
|
3004
3011
|
const UpgradeScreen = lazy(() => import("./UpgradeScreen-GTOZCURK.mjs").then((n) => n.t).then((m) => ({ default: m.UpgradeScreen })));
|
|
3005
3012
|
const AppDownloadScreen = lazy(() => import("./AppDownloadScreen-85-mmB0D.mjs").then((n) => n.t).then((m) => ({ default: m.AppDownloadScreen })));
|
|
@@ -4459,15 +4466,15 @@ function useContact(_contactId) {
|
|
|
4459
4466
|
//#endregion
|
|
4460
4467
|
//#region src/screens/index.ts
|
|
4461
4468
|
const screenPropertySchemas = {
|
|
4462
|
-
ProfileScreen: () => import("./ProfileScreen-
|
|
4463
|
-
MessagingScreen: () => import("./MessagingScreen-
|
|
4464
|
-
ContactsScreen: () => import("./ContactsScreen-
|
|
4469
|
+
ProfileScreen: () => import("./ProfileScreen-DRc4mX74.mjs").then((n) => n.n).then((m) => m.profileScreenPropertySchema),
|
|
4470
|
+
MessagingScreen: () => import("./MessagingScreen-DyoTr6qg.mjs").then((m) => m.messagingScreenPropertySchema),
|
|
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),
|
|
4466
4473
|
SubscriptionsScreen: () => import("./SubscriptionsScreen-DGKW-i80.mjs").then((n) => n.n).then((m) => m.subscriptionsScreenPropertySchema),
|
|
4467
4474
|
CustomersScreen: () => import("./CustomersScreen-xAauAB-B.mjs").then((n) => n.n).then((m) => m.customersScreenPropertySchema),
|
|
4468
|
-
ProductsScreen: () => import("./ProductsScreen-
|
|
4475
|
+
ProductsScreen: () => import("./ProductsScreen-C9crLQdu.mjs").then((m) => m.productsScreenPropertySchema),
|
|
4469
4476
|
MySiteScreen: () => import("./MySiteScreen-BvLsBrYD.mjs").then((n) => n.n).then((m) => m.mySiteScreenPropertySchema),
|
|
4470
|
-
ShareablesScreen: () => import("./ShareablesScreen-
|
|
4477
|
+
ShareablesScreen: () => import("./ShareablesScreen-CEslRgCn.mjs").then((m) => m.shareablesScreenPropertySchema),
|
|
4471
4478
|
ShopScreen: () => import("./ShopScreen-DCV6T_CN.mjs").then((n) => n.n).then((m) => m.shopScreenPropertySchema),
|
|
4472
4479
|
UpgradeScreen: () => import("./UpgradeScreen-GTOZCURK.mjs").then((n) => n.t).then((m) => m.upgradeScreenPropertySchema),
|
|
4473
4480
|
AppDownloadScreen: () => import("./AppDownloadScreen-85-mmB0D.mjs").then((n) => n.t).then((m) => m.appDownloadScreenPropertySchema)
|