@fluid-app/portal-sdk 0.1.521 → 0.1.523
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-1RcvRveh.cjs → FluidProvider-Ch_tyk-O.cjs} +3 -2
- package/dist/{FluidProvider-1RcvRveh.cjs.map → FluidProvider-Ch_tyk-O.cjs.map} +1 -1
- package/dist/{FluidProvider-D4NciHuM.mjs → FluidProvider-xCT9m0AV.mjs} +3 -2
- package/dist/{FluidProvider-D4NciHuM.mjs.map → FluidProvider-xCT9m0AV.mjs.map} +1 -1
- package/dist/{MessagingScreen-D3rPEhKs.mjs → MessagingScreen-BLeMJBlZ.mjs} +3 -3
- package/dist/{MessagingScreen-D8KHP1Ve.cjs → MessagingScreen-CsXm0cqp.cjs} +2 -2
- package/dist/{MessagingScreen-D8KHP1Ve.cjs.map → MessagingScreen-CsXm0cqp.cjs.map} +1 -1
- package/dist/{MessagingScreen-CODydTyP.mjs → MessagingScreen-Cx1HMX4z.mjs} +2 -2
- package/dist/{MessagingScreen-CODydTyP.mjs.map → MessagingScreen-Cx1HMX4z.mjs.map} +1 -1
- package/dist/{MessagingScreen-C4ODci0C.cjs → MessagingScreen-jDXAQrjW.cjs} +3 -3
- package/dist/{OrdersScreen-DLWgsnr_.mjs → OrdersScreen-C2qOTfFC.mjs} +3 -3
- package/dist/{OrdersScreen-DLWgsnr_.mjs.map → OrdersScreen-C2qOTfFC.mjs.map} +1 -1
- package/dist/{OrdersScreen-BVyouyIY.cjs → OrdersScreen-DR_Aiyui.cjs} +3 -3
- package/dist/{OrdersScreen-BVyouyIY.cjs.map → OrdersScreen-DR_Aiyui.cjs.map} +1 -1
- package/dist/{OrdersScreen-wMSTv3GN.mjs → OrdersScreen-DXDqL5ec.mjs} +3 -3
- package/dist/{OrdersScreen-DcwIkATf.cjs → OrdersScreen-RdIKrkWk.cjs} +3 -3
- package/dist/{ProfileScreen-D3eX2UyZ.mjs → ProfileScreen-5xAu0suR.mjs} +3 -3
- package/dist/{ProfileScreen-D3eX2UyZ.mjs.map → ProfileScreen-5xAu0suR.mjs.map} +1 -1
- package/dist/{ProfileScreen-D_dXM5FI.mjs → ProfileScreen-C5i0U4Cg.mjs} +4 -4
- package/dist/{ProfileScreen-B8xddobu.cjs → ProfileScreen-CVjKS2Tx.cjs} +3 -3
- package/dist/{ProfileScreen-B8xddobu.cjs.map → ProfileScreen-CVjKS2Tx.cjs.map} +1 -1
- package/dist/{ProfileScreen-BHDUQ45N.cjs → ProfileScreen-Ct1eY-TI.cjs} +4 -4
- package/dist/{SubscriptionsScreen-Dm_1xjOv.cjs → SubscriptionsScreen-BXBojuLi.cjs} +4 -4
- package/dist/{SubscriptionsScreen-Bm9yALAj.mjs → SubscriptionsScreen-C_Wt4-wY.mjs} +107 -43
- package/dist/SubscriptionsScreen-C_Wt4-wY.mjs.map +1 -0
- package/dist/{SubscriptionsScreen-m4rM6RFP.mjs → SubscriptionsScreen-CqLyS0HD.mjs} +4 -4
- package/dist/{SubscriptionsScreen-pod3ogsE.cjs → SubscriptionsScreen-DCDoF2c3.cjs} +107 -43
- package/dist/SubscriptionsScreen-DCDoF2c3.cjs.map +1 -0
- package/dist/build-widget-registry-C4vaFR1S.d.mts.map +1 -1
- package/dist/build-widget-registry-C7BPrtGS.d.cts.map +1 -1
- package/dist/{build-widget-registry-EXxP6gv1.mjs → build-widget-registry-DgPaypsV.mjs} +2 -1
- package/dist/{build-widget-registry-EXxP6gv1.mjs.map → build-widget-registry-DgPaypsV.mjs.map} +1 -1
- package/dist/{build-widget-registry-By1GKqAd.cjs → build-widget-registry-iHNtigmM.cjs} +2 -1
- package/dist/{build-widget-registry-By1GKqAd.cjs.map → build-widget-registry-iHNtigmM.cjs.map} +1 -1
- package/dist/index.cjs +17 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +18 -16
- package/dist/index.mjs.map +1 -1
- package/dist/styles/remote-widget-shadow.css +2 -2
- package/dist/{use-portal-card-add-3ds-flow-CjQi2W_2.cjs → use-portal-card-add-3ds-flow-BK7rp-NL.cjs} +3 -3
- package/dist/{use-portal-card-add-3ds-flow-CjQi2W_2.cjs.map → use-portal-card-add-3ds-flow-BK7rp-NL.cjs.map} +1 -1
- package/dist/{use-portal-card-add-3ds-flow-B3pU5kcB.mjs → use-portal-card-add-3ds-flow-DEPhZhOv.mjs} +3 -3
- package/dist/{use-portal-card-add-3ds-flow-B3pU5kcB.mjs.map → use-portal-card-add-3ds-flow-DEPhZhOv.mjs.map} +1 -1
- package/dist/utils/build-remote-widget-plugin-manifests.cjs +1 -1
- package/dist/utils/build-remote-widget-plugin-manifests.mjs +1 -1
- package/dist/utils/build-widget-registry.cjs +1 -1
- package/dist/utils/build-widget-registry.mjs +1 -1
- package/package.json +13 -13
- package/dist/SubscriptionsScreen-Bm9yALAj.mjs.map +0 -1
- package/dist/SubscriptionsScreen-pod3ogsE.cjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { F as IconButton, St as CollapsibleTrigger, Tn as Button, _ as Skeleton, bt as Collapsible, dt as Popover, ft as PopoverContent, h as Toaster, pt as PopoverTrigger, xt as CollapsibleContent, zn as cn } from "./src-BfINy9nC.mjs";
|
|
2
|
-
import { $ as DEFAULT_COLORS, C as DEFAULT_SDK_WIDGET_REGISTRY, D as createWidgetFromShareable, Dt as deleteDatabase, E as createScreen, G as applyTheme, J as buildThemeDefinition, K as removeAllThemes, O as createWidgetRegistry, Q as serialiseTheme, S as useCompanyScopedQueryKey, T as widgetPropertySchemas, Tt as useAppDefinitionApi, X as transformThemes, Y as getActiveThemeId, Z as deserialiseTheme, _ as transformManifestToRepAppData, at as DEFAULT_THEME_NAME, b as toScreenDefinition, c as wrapRemoteDomRoot, ct as deriveDarkVariant, d as useOptionalScreenAreaFullscreenCoordinator, dt as parseColor, et as DEFAULT_FONT_FAMILIES, f as useScreenAreaFullscreenSnapshot, ft as resolveTheme, g as toRawManifest, gt as SEMANTIC_COLOR_NAMES, h as useFluidApp, ht as RADIUS_KEYS, it as DEFAULT_THEME_ID, lt as getForegroundColor, m as fetchRawManifest, mt as FONT_SIZE_KEYS, n as buildRemoteWidgetRegistry, nt as DEFAULT_RADII, ot as getDefaultThemeDefinition, p as APP_DATA_QUERY_KEY, pt as FONT_FAMILY_KEYS, q as removeTheme, rt as DEFAULT_SPACING, s as REMOTE_DOM_COMPONENT_RENDERERS, st as generateThemeCSS, tt as DEFAULT_FONT_SIZES, u as ScreenAreaFullscreenProvider, ut as mergeDarkOverrides, v as toNavigationItem, w as isDefaultWidgetComponent, x as createCompanyQueryKey, xt as useLanguagesApi, y as normalizeComponentTree } from "./build-widget-registry-
|
|
2
|
+
import { $ as DEFAULT_COLORS, C as DEFAULT_SDK_WIDGET_REGISTRY, D as createWidgetFromShareable, Dt as deleteDatabase, E as createScreen, G as applyTheme, J as buildThemeDefinition, K as removeAllThemes, O as createWidgetRegistry, Q as serialiseTheme, S as useCompanyScopedQueryKey, T as widgetPropertySchemas, Tt as useAppDefinitionApi, X as transformThemes, Y as getActiveThemeId, Z as deserialiseTheme, _ as transformManifestToRepAppData, at as DEFAULT_THEME_NAME, b as toScreenDefinition, c as wrapRemoteDomRoot, ct as deriveDarkVariant, d as useOptionalScreenAreaFullscreenCoordinator, dt as parseColor, et as DEFAULT_FONT_FAMILIES, f as useScreenAreaFullscreenSnapshot, ft as resolveTheme, g as toRawManifest, gt as SEMANTIC_COLOR_NAMES, h as useFluidApp, ht as RADIUS_KEYS, it as DEFAULT_THEME_ID, lt as getForegroundColor, m as fetchRawManifest, mt as FONT_SIZE_KEYS, n as buildRemoteWidgetRegistry, nt as DEFAULT_RADII, ot as getDefaultThemeDefinition, p as APP_DATA_QUERY_KEY, pt as FONT_FAMILY_KEYS, q as removeTheme, rt as DEFAULT_SPACING, s as REMOTE_DOM_COMPONENT_RENDERERS, st as generateThemeCSS, tt as DEFAULT_FONT_SIZES, u as ScreenAreaFullscreenProvider, ut as mergeDarkOverrides, v as toNavigationItem, w as isDefaultWidgetComponent, x as createCompanyQueryKey, xt as useLanguagesApi, y as normalizeComponentTree } from "./build-widget-registry-DgPaypsV.mjs";
|
|
3
3
|
import { a as assertNever, d as useRegistry, i as assertDefined, n as DataAwareWidget, o as isWidgetType, r as WIDGET_TYPE_NAMES, s as isWidgetTypeName } from "./ScreenRenderer-saqQPGx2.mjs";
|
|
4
4
|
import "./account-api-context-8vg35E7d.mjs";
|
|
5
5
|
import { i as useOptionalStore } from "./use-optional-store-DpB_jK4Q.mjs";
|
|
6
6
|
import "./use-mysite-portal-BlOgU7cc.mjs";
|
|
7
7
|
import "./Combobox-D8ukt9Tb.mjs";
|
|
8
|
-
import { _ as useHaptics, f as shellEn, g as useHapticCallback, h as getFluidNativeBridge, m as useThemeContext, n as SUPPORTED_LANGUAGES, p as FluidThemeProvider, r as resolveLocale, t as FluidProvider, v as useNativeCapabilities } from "./FluidProvider-
|
|
8
|
+
import { _ as useHaptics, f as shellEn, g as useHapticCallback, h as getFluidNativeBridge, m as useThemeContext, n as SUPPORTED_LANGUAGES, p as FluidThemeProvider, r as resolveLocale, t as FluidProvider, v as useNativeCapabilities } from "./FluidProvider-xCT9m0AV.mjs";
|
|
9
9
|
import { n as contactsScreenPropertySchema, t as ContactsScreen } from "./ContactsScreen-C5WtXbuk.mjs";
|
|
10
10
|
import { i as useFluidContext } from "./ContactsTranslationBridge-7hUvizHe.mjs";
|
|
11
11
|
import { I as cartsClaim, T as usePortalTenantClient, w as useLegacyPortalTenantClient } from "./prop-types-CwLyDfek.mjs";
|
|
@@ -36,8 +36,8 @@ import { r as bulletListWidgetPropertySchema, t as BulletListWidget } from "./Bu
|
|
|
36
36
|
import "./preview-context-BWmZf_Qw.mjs";
|
|
37
37
|
import { n as calendarWidgetPropertySchema, t as CalendarWidget } from "./CalendarWidget-XcCCAFsM.mjs";
|
|
38
38
|
import "./error-state-Vy3ZKhKa.mjs";
|
|
39
|
-
import { a as BottomNavVisibilityProvider, i as useMessagingAuth, n as messagingScreenPropertySchema, o as useBottomNavHidden, r as useMessagingConfig, t as MessagingScreen } from "./MessagingScreen-
|
|
40
|
-
import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-
|
|
39
|
+
import { a as BottomNavVisibilityProvider, i as useMessagingAuth, n as messagingScreenPropertySchema, o as useBottomNavHidden, r as useMessagingConfig, t as MessagingScreen } from "./MessagingScreen-Cx1HMX4z.mjs";
|
|
40
|
+
import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-C_Wt4-wY.mjs";
|
|
41
41
|
import "./WidgetLoadingSkeleton-VmD6A-rW.mjs";
|
|
42
42
|
import { r as cardWidgetPropertySchema, t as CardWidget } from "./CardWidget-BeTseq2w.mjs";
|
|
43
43
|
import "./helpers-BmP1pE-e.mjs";
|
|
@@ -79,12 +79,12 @@ import { a as useScreenHeaderSlotRefs, i as ScreenHeaderProvider, r as ScreenHea
|
|
|
79
79
|
import { a as CartScript, i as CartWidget, n as shopScreenPropertySchema, r as CartButton, t as ShopScreen } from "./ShopScreen-Bud_-2ZA.mjs";
|
|
80
80
|
import { a as FallbackCard, i as CoreScreenPlaceholder, r as customersScreenPropertySchema, t as CustomersScreen } from "./CustomersScreen-Dxo38EhE.mjs";
|
|
81
81
|
import { a as OPT_IN_SYSTEM_SCREEN_SLUGS, i as AppLink, o as findSystemSlugByPrefix, r as activityScreenPropertySchema, t as ActivityScreen } from "./ActivityScreen-8n5MUTqb.mjs";
|
|
82
|
-
import "./use-portal-card-add-3ds-flow-
|
|
83
|
-
import { n as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-
|
|
82
|
+
import "./use-portal-card-add-3ds-flow-DEPhZhOv.mjs";
|
|
83
|
+
import { n as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-5xAu0suR.mjs";
|
|
84
84
|
import "./dist-CWe5yQl-.mjs";
|
|
85
85
|
import "./es-BGkDYJBE.mjs";
|
|
86
86
|
import "./dist-B7Nc5bZB.mjs";
|
|
87
|
-
import { n as ordersScreenPropertySchema, t as OrdersScreen } from "./OrdersScreen-
|
|
87
|
+
import { n as ordersScreenPropertySchema, t as OrdersScreen } from "./OrdersScreen-C2qOTfFC.mjs";
|
|
88
88
|
import { n as mySiteScreenPropertySchema, t as MySiteScreen } from "./MySiteScreen-Dt8DBOqe.mjs";
|
|
89
89
|
import "./sortable.esm-vRB8e_vF.mjs";
|
|
90
90
|
import "./AppDownloadScreen-C7efeY2m.mjs";
|
|
@@ -95,7 +95,7 @@ import { Component, StrictMode, Suspense, createContext, lazy, memo, use, useCal
|
|
|
95
95
|
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
|
|
96
96
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
97
97
|
import { z } from "zod";
|
|
98
|
-
import { Bell, Box, Boxes, Briefcase, Building2, Calendar, Check, ChevronLeft, ChevronRight, CircleUser, Compass, ContactRound, Ellipsis, File, FileText, FileVideo, Folder, FolderOpen, Globe, GraduationCap, Heart, House, Image, LayoutGrid, ListMusic, LogOut, Mail, Menu, MessageCircle, MessageSquare, Moon, PackageOpen, PanelLeft, RefreshCw, Repeat, Search, Settings, ShoppingCart, Smartphone, Star, Store, Sun, TriangleAlert, User, UserCog, Users } from "lucide-react";
|
|
98
|
+
import { Bell, Box, Boxes, Briefcase, Building2, Calendar, Check, ChevronLeft, ChevronRight, CircleUser, Compass, ContactRound, Ellipsis, File, FileText, FileVideo, Folder, FolderOpen, Globe, GraduationCap, Heart, House, Image, LayoutGrid, ListMusic, LogOut, Mail, Menu, MessageCircle, MessageCircleHeart, MessageSquare, Moon, PackageOpen, PanelLeft, Puzzle, RefreshCw, Repeat, Search, Settings, ShoppingCart, Smartphone, Star, Store, Sun, TriangleAlert, User, UserCog, Users } from "lucide-react";
|
|
99
99
|
import { createRoot } from "react-dom/client";
|
|
100
100
|
//#region src/types/page-template.ts
|
|
101
101
|
/**
|
|
@@ -954,7 +954,9 @@ const ICON_MAP = {
|
|
|
954
954
|
"list-music": ListMusic,
|
|
955
955
|
"magnifying-glass": Search,
|
|
956
956
|
message: MessageSquare,
|
|
957
|
+
"message-circle-heart": MessageCircleHeart,
|
|
957
958
|
"package-open": PackageOpen,
|
|
959
|
+
"puzzle-piece": Puzzle,
|
|
958
960
|
star: Star,
|
|
959
961
|
store: Store,
|
|
960
962
|
"table-cells-large": LayoutGrid,
|
|
@@ -2121,10 +2123,10 @@ function resolveMemberTypePage(registry, memberTypeSlug, currentSlug, baseSlug)
|
|
|
2121
2123
|
}
|
|
2122
2124
|
//#endregion
|
|
2123
2125
|
//#region src/shell/system-screen-map.ts
|
|
2124
|
-
const ProfileScreen$1 = lazy(() => import("./ProfileScreen-
|
|
2125
|
-
const OrdersScreen$1 = lazy(() => import("./OrdersScreen-
|
|
2126
|
-
const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-
|
|
2127
|
-
const MessagingScreen$1 = lazy(() => import("./MessagingScreen-
|
|
2126
|
+
const ProfileScreen$1 = lazy(() => import("./ProfileScreen-C5i0U4Cg.mjs").then((m) => ({ default: m.ProfileScreen })));
|
|
2127
|
+
const OrdersScreen$1 = lazy(() => import("./OrdersScreen-DXDqL5ec.mjs").then((m) => ({ default: m.OrdersScreen })));
|
|
2128
|
+
const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-CqLyS0HD.mjs").then((m) => ({ default: m.SubscriptionsScreen })));
|
|
2129
|
+
const MessagingScreen$1 = lazy(() => import("./MessagingScreen-BLeMJBlZ.mjs").then((m) => ({ default: m.MessagingScreen })));
|
|
2128
2130
|
const ContactsScreen$1 = lazy(() => import("./ContactsScreen-C29wHxlb.mjs").then((m) => ({ default: m.ContactsScreen })));
|
|
2129
2131
|
const ShopScreen$1 = lazy(() => import("./ShopScreen-DSSoDy5O.mjs").then((m) => ({ default: m.ShopScreen })));
|
|
2130
2132
|
const CustomersScreen$1 = lazy(() => import("./CustomersScreen-Dxo38EhE.mjs").then((n) => n.n).then((m) => ({ default: m.CustomersScreen })));
|
|
@@ -4671,11 +4673,11 @@ const CORE_PAGE_IDS = {
|
|
|
4671
4673
|
//#endregion
|
|
4672
4674
|
//#region src/screens/index.ts
|
|
4673
4675
|
const screenPropertySchemas = {
|
|
4674
|
-
ProfileScreen: () => import("./ProfileScreen-
|
|
4675
|
-
MessagingScreen: () => import("./MessagingScreen-
|
|
4676
|
+
ProfileScreen: () => import("./ProfileScreen-C5i0U4Cg.mjs").then((m) => m.profileScreenPropertySchema),
|
|
4677
|
+
MessagingScreen: () => import("./MessagingScreen-BLeMJBlZ.mjs").then((m) => m.messagingScreenPropertySchema),
|
|
4676
4678
|
ContactsScreen: () => import("./ContactsScreen-C29wHxlb.mjs").then((m) => m.contactsScreenPropertySchema),
|
|
4677
|
-
OrdersScreen: () => import("./OrdersScreen-
|
|
4678
|
-
SubscriptionsScreen: () => import("./SubscriptionsScreen-
|
|
4679
|
+
OrdersScreen: () => import("./OrdersScreen-DXDqL5ec.mjs").then((m) => m.ordersScreenPropertySchema),
|
|
4680
|
+
SubscriptionsScreen: () => import("./SubscriptionsScreen-CqLyS0HD.mjs").then((m) => m.subscriptionsScreenPropertySchema),
|
|
4679
4681
|
CustomersScreen: () => import("./CustomersScreen-Dxo38EhE.mjs").then((n) => n.n).then((m) => m.customersScreenPropertySchema),
|
|
4680
4682
|
MySiteScreen: () => import("./MySiteScreen-DJZUH7h7.mjs").then((m) => m.mySiteScreenPropertySchema),
|
|
4681
4683
|
ShareablesScreen: () => import("./ShareablesScreen-DzvPPmM9.mjs").then((m) => m.shareablesScreenPropertySchema),
|