@fluid-app/portal-sdk 0.1.165 → 0.1.166
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-DbLFKavY.cjs → FluidProvider-DMFD--HI.cjs} +16 -270
- package/dist/FluidProvider-DMFD--HI.cjs.map +1 -0
- package/dist/{FluidProvider-BfATASw-.mjs → FluidProvider-qmTRBp3-.mjs} +17 -259
- package/dist/FluidProvider-qmTRBp3-.mjs.map +1 -0
- package/dist/{MessagingScreen-Dhg3eu32.mjs → MessagingScreen-B78wJC_8.mjs} +2 -2
- package/dist/{MessagingScreen-Dhg3eu32.mjs.map → MessagingScreen-B78wJC_8.mjs.map} +1 -1
- package/dist/{MessagingScreen-lFvwnAU6.cjs → MessagingScreen-BlCjptc6.cjs} +3 -3
- package/dist/{MessagingScreen-lFvwnAU6.cjs.map → MessagingScreen-BlCjptc6.cjs.map} +1 -1
- package/dist/{MessagingScreen-Dd0EBrre.cjs → MessagingScreen-DRD8xnXj.cjs} +2 -2
- package/dist/{ProductsScreen-nHmUftQn.mjs → ProductsScreen-C8amMeRh.mjs} +2 -0
- package/dist/{ProfileScreen-DUj4bkhx.cjs → ProfileScreen-CfHE4Ded.cjs} +2 -2
- package/dist/{ProfileScreen-DUj4bkhx.cjs.map → ProfileScreen-CfHE4Ded.cjs.map} +1 -1
- package/dist/{ProfileScreen-BuIxKbXC.mjs → ProfileScreen-Ct-m03oC.mjs} +2 -2
- package/dist/{ProfileScreen-BuIxKbXC.mjs.map → ProfileScreen-Ct-m03oC.mjs.map} +1 -1
- package/dist/{ProfileScreen-uAud2ErT.cjs → ProfileScreen-hD0bjuys.cjs} +2 -2
- package/dist/{ShareablesScreen-CdTyyDRO.mjs → ShareablesScreen-JxVPd89h.mjs} +2 -0
- package/dist/{ShopScreen-BUXUtEuj.cjs → ShopScreen-D9clGspu.cjs} +2 -2
- package/dist/{ShopScreen-BUXUtEuj.cjs.map → ShopScreen-D9clGspu.cjs.map} +1 -1
- package/dist/{ShopScreen-BH6zQndJ.mjs → ShopScreen-DW0puWGa.mjs} +2 -2
- package/dist/{ShopScreen-BH6zQndJ.mjs.map → ShopScreen-DW0puWGa.mjs.map} +1 -1
- package/dist/{ShopScreen-BbucUNI7.cjs → ShopScreen-Dvsz_wyc.cjs} +2 -2
- package/dist/index.cjs +10 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -161
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +24 -161
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +15 -15
- package/dist/index.mjs.map +1 -1
- package/package.json +16 -16
- package/dist/FluidProvider-BfATASw-.mjs.map +0 -1
- package/dist/FluidProvider-DbLFKavY.cjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./es-DfBgEQMu.mjs";
|
|
2
|
-
import { A as mergeDarkOverrides, C as DEFAULT_THEME_ID, D as deriveDarkVariant, E as generateThemeCSS, F as RADIUS_KEYS,
|
|
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-qmTRBp3-.mjs";
|
|
3
3
|
import "./account-api-context-R4VVlZdv.mjs";
|
|
4
4
|
import "./mysite-api-context-C7eiw7TO.mjs";
|
|
5
5
|
import "./countries-api-context-D0dubtHy.mjs";
|
|
@@ -19,7 +19,7 @@ import { r as calendarWidgetPropertySchema, t as CalendarWidget } from "./Calend
|
|
|
19
19
|
import { r as cardWidgetPropertySchema, t as CardWidget } from "./CardWidget-BD_cpz6g.mjs";
|
|
20
20
|
import "./purify.es-MQBOoEgB.mjs";
|
|
21
21
|
import { dt as PopoverTrigger, ft as Collapsible, ln as Button, lt as Popover, mt as CollapsibleTrigger, pt as CollapsibleContent, ut as PopoverContent } from "./src-hUw6fI7h.mjs";
|
|
22
|
-
import { a as useMessagingConfig, i as createFluidFileUploader, o as useMessagingAuth, r as messagingScreenPropertySchema, t as MessagingScreen } from "./MessagingScreen-
|
|
22
|
+
import { a as useMessagingConfig, i as createFluidFileUploader, o as useMessagingAuth, r as messagingScreenPropertySchema, t as MessagingScreen } from "./MessagingScreen-B78wJC_8.mjs";
|
|
23
23
|
import "./scroll-arrows-EzuBEkDF.mjs";
|
|
24
24
|
import "./MediaRenderer-Or2bLge-.mjs";
|
|
25
25
|
import { r as carouselWidgetPropertySchema, t as CarouselWidget } from "./CarouselWidget-DghKCmKw.mjs";
|
|
@@ -42,7 +42,7 @@ import { i as useScreenHeaderContext, t as ScreenHeaderProvider } from "./Screen
|
|
|
42
42
|
import { t as useAccount } from "./use-account-BJhzTl2j.mjs";
|
|
43
43
|
import { i as CoreScreenPlaceholder, r as customersScreenPropertySchema, t as CustomersScreen } from "./CustomersScreen-DeQj6gi4.mjs";
|
|
44
44
|
import { n as useAppNavigation, t as AppNavigationProvider } from "./AppNavigationContext-D29xW9Ua.mjs";
|
|
45
|
-
import { r as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-
|
|
45
|
+
import { r as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-Ct-m03oC.mjs";
|
|
46
46
|
import "./dist-CkIGP8my.mjs";
|
|
47
47
|
import { r as contactsScreenPropertySchema, t as ContactsScreen } from "./ContactsScreen-D-bONbrH.mjs";
|
|
48
48
|
import "./SearchSort-Br8J8JS8.mjs";
|
|
@@ -57,7 +57,7 @@ import "./PortalProductsApiProvider-BCXX9NGK.mjs";
|
|
|
57
57
|
import { n as productsScreenPropertySchema, t as ProductsScreen } from "./ProductsScreen-CVNJudq9.mjs";
|
|
58
58
|
import { r as mySiteScreenPropertySchema, t as MySiteScreen } from "./MySiteScreen-CG2DnzQH.mjs";
|
|
59
59
|
import { n as shareablesScreenPropertySchema, t as ShareablesScreen } from "./ShareablesScreen-DpEP_6u0.mjs";
|
|
60
|
-
import { r as shopScreenPropertySchema, t as ShopScreen } from "./ShopScreen-
|
|
60
|
+
import { r as shopScreenPropertySchema, t as ShopScreen } from "./ShopScreen-DW0puWGa.mjs";
|
|
61
61
|
import "./UpgradeScreen-KxjpcpiH.mjs";
|
|
62
62
|
import "./AppDownloadScreen-oSfoycT9.mjs";
|
|
63
63
|
import * as React$1 from "react";
|
|
@@ -2562,15 +2562,15 @@ function AccountManageLayout({ children }) {
|
|
|
2562
2562
|
}
|
|
2563
2563
|
//#endregion
|
|
2564
2564
|
//#region src/shell/system-screen-map.ts
|
|
2565
|
-
const ProfileScreen$1 = lazy(() => import("./ProfileScreen-
|
|
2565
|
+
const ProfileScreen$1 = lazy(() => import("./ProfileScreen-Ct-m03oC.mjs").then((n) => n.n).then((m) => ({ default: m.ProfileScreen })));
|
|
2566
2566
|
const OrdersScreen$1 = lazy(() => import("./OrdersScreen-CFRVfzez.mjs").then((n) => n.n).then((m) => ({ default: m.OrdersScreen })));
|
|
2567
2567
|
const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-Dn3AEUJi.mjs").then((n) => n.n).then((m) => ({ default: m.SubscriptionsScreen })));
|
|
2568
|
-
const MessagingScreen$1 = lazy(() => import("./MessagingScreen-
|
|
2568
|
+
const MessagingScreen$1 = lazy(() => import("./MessagingScreen-B78wJC_8.mjs").then((n) => n.n).then((m) => ({ default: m.MessagingScreen })));
|
|
2569
2569
|
const ContactsScreen$1 = lazy(() => import("./ContactsScreen-D-bONbrH.mjs").then((n) => n.n).then((m) => ({ default: m.ContactsScreen })));
|
|
2570
|
-
const ShopScreen$1 = lazy(() => import("./ShopScreen-
|
|
2570
|
+
const ShopScreen$1 = lazy(() => import("./ShopScreen-DW0puWGa.mjs").then((n) => n.n).then((m) => ({ default: m.ShopScreen })));
|
|
2571
2571
|
const CustomersScreen$1 = lazy(() => import("./CustomersScreen-DeQj6gi4.mjs").then((n) => n.n).then((m) => ({ default: m.CustomersScreen })));
|
|
2572
|
-
const ProductsScreen$1 = lazy(() => import("./ProductsScreen-
|
|
2573
|
-
const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-
|
|
2572
|
+
const ProductsScreen$1 = lazy(() => import("./ProductsScreen-C8amMeRh.mjs").then((m) => ({ default: m.ProductsScreen })));
|
|
2573
|
+
const ShareablesScreen$1 = lazy(() => import("./ShareablesScreen-JxVPd89h.mjs").then((m) => ({ default: m.ShareablesScreen })));
|
|
2574
2574
|
const MySiteScreen$1 = lazy(() => import("./MySiteScreen-CG2DnzQH.mjs").then((n) => n.n).then((m) => ({ default: m.MySiteScreen })));
|
|
2575
2575
|
const UpgradeScreen = lazy(() => import("./UpgradeScreen-KxjpcpiH.mjs").then((n) => n.t).then((m) => ({ default: m.UpgradeScreen })));
|
|
2576
2576
|
const AppDownloadScreen = lazy(() => import("./AppDownloadScreen-oSfoycT9.mjs").then((n) => n.t).then((m) => ({ default: m.AppDownloadScreen })));
|
|
@@ -4028,16 +4028,16 @@ z.object({
|
|
|
4028
4028
|
//#endregion
|
|
4029
4029
|
//#region src/screens/index.ts
|
|
4030
4030
|
const screenPropertySchemas = {
|
|
4031
|
-
ProfileScreen: () => import("./ProfileScreen-
|
|
4032
|
-
MessagingScreen: () => import("./MessagingScreen-
|
|
4031
|
+
ProfileScreen: () => import("./ProfileScreen-Ct-m03oC.mjs").then((n) => n.n).then((m) => m.profileScreenPropertySchema),
|
|
4032
|
+
MessagingScreen: () => import("./MessagingScreen-B78wJC_8.mjs").then((n) => n.n).then((m) => m.messagingScreenPropertySchema),
|
|
4033
4033
|
ContactsScreen: () => import("./ContactsScreen-D-bONbrH.mjs").then((n) => n.n).then((m) => m.contactsScreenPropertySchema),
|
|
4034
4034
|
OrdersScreen: () => import("./OrdersScreen-CFRVfzez.mjs").then((n) => n.n).then((m) => m.ordersScreenPropertySchema),
|
|
4035
4035
|
SubscriptionsScreen: () => import("./SubscriptionsScreen-Dn3AEUJi.mjs").then((n) => n.n).then((m) => m.subscriptionsScreenPropertySchema),
|
|
4036
4036
|
CustomersScreen: () => import("./CustomersScreen-DeQj6gi4.mjs").then((n) => n.n).then((m) => m.customersScreenPropertySchema),
|
|
4037
|
-
ProductsScreen: () => import("./ProductsScreen-
|
|
4037
|
+
ProductsScreen: () => import("./ProductsScreen-C8amMeRh.mjs").then((m) => m.productsScreenPropertySchema),
|
|
4038
4038
|
MySiteScreen: () => import("./MySiteScreen-CG2DnzQH.mjs").then((n) => n.n).then((m) => m.mySiteScreenPropertySchema),
|
|
4039
|
-
ShareablesScreen: () => import("./ShareablesScreen-
|
|
4040
|
-
ShopScreen: () => import("./ShopScreen-
|
|
4039
|
+
ShareablesScreen: () => import("./ShareablesScreen-JxVPd89h.mjs").then((m) => m.shareablesScreenPropertySchema),
|
|
4040
|
+
ShopScreen: () => import("./ShopScreen-DW0puWGa.mjs").then((n) => n.n).then((m) => m.shopScreenPropertySchema),
|
|
4041
4041
|
UpgradeScreen: () => import("./UpgradeScreen-KxjpcpiH.mjs").then((n) => n.t).then((m) => m.upgradeScreenPropertySchema),
|
|
4042
4042
|
AppDownloadScreen: () => import("./AppDownloadScreen-oSfoycT9.mjs").then((n) => n.t).then((m) => m.appDownloadScreenPropertySchema)
|
|
4043
4043
|
};
|
|
@@ -4361,6 +4361,6 @@ const SCAFFOLD_MANIFEST = {
|
|
|
4361
4361
|
]
|
|
4362
4362
|
};
|
|
4363
4363
|
//#endregion
|
|
4364
|
-
export { ACTIVITY_SLUGS, APP_DATA_QUERY_KEY, APP_DEFINITION_QUERY_KEY, AlertWidget,
|
|
4364
|
+
export { ACTIVITY_SLUGS, APP_DATA_QUERY_KEY, APP_DEFINITION_QUERY_KEY, AlertWidget, AppLink, AppNavigationProvider, AppShell, BuilderScreenView, BulletListWidget, CORE_PAGE_IDS, CalendarWidget, CardWidget, CarouselWidget, CatchUpWidget, ChartWidget, ContactsScreen, ContainerWidget, CustomersScreen, DEFAULT_COLORS, DEFAULT_FONT_FAMILIES, DEFAULT_FONT_SIZES, DEFAULT_RADII, DEFAULT_SDK_WIDGET_REGISTRY, DEFAULT_SPACING, DEFAULT_THEME_ID, DEFAULT_THEME_NAME, EmbedWidget, FONT_FAMILY_KEYS, FONT_SIZE_KEYS, FluidProvider, FluidThemeProvider, ImageWidget, LayoutWidget, LinkWidget, ListWidget, MessagingScreen, MySiteScreen, MySiteWidget, NestedWidget, OrdersScreen, PAGE_CATEGORIES, PROFILE_QUERY_KEY, PROPERTY_FIELD_TYPES, PageRouter, PageTemplateProvider, PageTemplateRegistry, PointsWidget, ProductsScreen, ProfileScreen, QuickLinksDropdown, QuickShareWidget, RADIUS_KEYS, RecentActivityWidget, SCAFFOLD_MANIFEST, SEMANTIC_COLOR_NAMES, SHADE_STEPS, SdkCompanySwitcher, SdkHeader, SdkNavigation, SeparatorWidget, ShareablesScreen, ShopScreen, SpacerWidget, SubscriptionsScreen, TableWidget, TextWidget, ThemeModeProvider, ToDoWidget, USER_TYPES, VideoWidget, WIDGET_TYPE_NAMES, alertWidgetPropertySchema, applyTheme, assertDefined, assertNever, buildThemeDefinition, buildWidgetRegistry, bulletListWidgetPropertySchema, calendarWidgetPropertySchema, cardWidgetPropertySchema, carouselWidgetPropertySchema, catchUpWidgetPropertySchema, chartWidgetPropertySchema, collectNavSlugs, contactsScreenPropertySchema, containerWidgetPropertySchema, createCompanyQueryKey, createDefaultFluidConfig, createFluidFileUploader, createPortal, createScreen, createWidgetFromShareable, createWidgetRegistry, customersScreenPropertySchema, deriveDarkVariant, deserialiseTheme, embedWidgetPropertySchema, extractSlugFromPathname, filterRepOnlyNavItems, gapValues, generateShades, generateThemeCSS, getActiveThemeId, getAvailablePageTemplates, getCorePageTemplates, getDefaultThemeDefinition, getForegroundColor, getOptionalPageTemplates, getProperty, getThemeModeAttribute, groupChildrenByColumn, hasData, imageWidgetPropertySchema, isActivitySlug, isContactStatus, isErrorResult, isIdle, isLoading, isPropertyFieldType, isSlugInSection, isUserType, isWidgetType, isWidgetTypeName, layoutWidgetPropertySchema, linkWidgetPropertySchema, listWidgetPropertySchema, matchSlugPrefix, mergeDarkOverrides, messagingScreenPropertySchema, mySiteScreenPropertySchema, mySiteWidgetPropertySchema, nestedWidgetPropertySchema, normalizeComponentTree, ordersScreenPropertySchema, parseColor, pointsWidgetPropertySchema, productsScreenPropertySchema, profileScreenPropertySchema, quickShareWidgetPropertySchema, recentActivityWidgetPropertySchema, removeAllThemes, removeTheme, resolveNavigationPages, resolveTheme, screenPropertySchemas, sectionLayoutConfig, selectProperty, separatorWidgetPropertySchema, serialiseTheme, shareablesScreenPropertySchema, shopScreenPropertySchema, spacerWidgetPropertySchema, subscriptionsScreenPropertySchema, tableWidgetPropertySchema, textWidgetPropertySchema, toDoWidgetPropertySchema, toNavigationItem, toRawManifest, toScreenDefinition, transformManifestToRepAppData, transformThemes, useActivities, useAppDefinition, useAppDefinitionApi, useAppNavigation, useCalendarEvents, useCatchUps, useCompanyScopedQueryKey, useCompanySwitch, useContact, useContacts, useConversationMessages, useConversations, useFluidApp, useFluidContext, useFluidProfile, useFluidTheme, useLogout, useMessagingAuth, useMessagingConfig, useMySite, usePageTemplates, usePortalTenantClient, useResolvedPages, useThemeContext, useThemeMode, useTodos, validateNavigationPages, videoWidgetPropertySchema, widgetPropertySchemas };
|
|
4365
4365
|
|
|
4366
4366
|
//# sourceMappingURL=index.mjs.map
|