@fluid-app/portal-sdk 0.1.492 → 0.1.494
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/{AnnouncementWidget-CNP37JUB.cjs → AnnouncementWidget--nRHRrQH.cjs} +3 -3
- package/dist/{AnnouncementWidget-93a322Pl.mjs → AnnouncementWidget-BND76Ojg.mjs} +2 -2
- package/dist/{AnnouncementWidget-93a322Pl.mjs.map → AnnouncementWidget-BND76Ojg.mjs.map} +1 -1
- package/dist/{AnnouncementWidget-BIFJ7E6o.cjs → AnnouncementWidget-Dh6nKAqT.cjs} +2 -2
- package/dist/{AnnouncementWidget-BIFJ7E6o.cjs.map → AnnouncementWidget-Dh6nKAqT.cjs.map} +1 -1
- package/dist/{CarouselWidget-fft3Aibh.cjs → CarouselWidget-BETNqs_K.cjs} +3 -3
- package/dist/{CarouselWidget-fft3Aibh.cjs.map → CarouselWidget-BETNqs_K.cjs.map} +1 -1
- package/dist/{CarouselWidget-COavwXvx.mjs → CarouselWidget-CU1oj0q4.mjs} +3 -3
- package/dist/{CarouselWidget-COavwXvx.mjs.map → CarouselWidget-CU1oj0q4.mjs.map} +1 -1
- package/dist/{CarouselWidget-DDKKVEan.cjs → CarouselWidget-D3BODbpO.cjs} +3 -3
- package/dist/{CatchUpWidget-C3HdLA5t.mjs → CatchUpWidget-BtwG2-JD.mjs} +2 -2
- package/dist/{CatchUpWidget-BNEEQNcr.mjs → CatchUpWidget-CLwHp30X.mjs} +5 -4
- package/dist/CatchUpWidget-CLwHp30X.mjs.map +1 -0
- package/dist/{CatchUpWidget-G4txAfv3.cjs → CatchUpWidget-CqAHpCJP.cjs} +5 -4
- package/dist/CatchUpWidget-CqAHpCJP.cjs.map +1 -0
- package/dist/{CatchUpWidget-g9GtsvCy.cjs → CatchUpWidget-ak-oFdKY.cjs} +2 -2
- package/dist/{FluidProvider-DxwbLpfX.mjs → FluidProvider-BRgNyDk3.mjs} +3 -3
- package/dist/{FluidProvider-DxwbLpfX.mjs.map → FluidProvider-BRgNyDk3.mjs.map} +1 -1
- package/dist/{FluidProvider-B7bYw1AY.cjs → FluidProvider-XONLsJbE.cjs} +3 -3
- package/dist/{FluidProvider-B7bYw1AY.cjs.map → FluidProvider-XONLsJbE.cjs.map} +1 -1
- package/dist/{ImageWidget-B3IlWnKJ.cjs → ImageWidget-CksrA9rH.cjs} +2 -2
- package/dist/{ImageWidget-B3IlWnKJ.cjs.map → ImageWidget-CksrA9rH.cjs.map} +1 -1
- package/dist/{ImageWidget-DiWlWvKm.cjs → ImageWidget-DmO84AYo.cjs} +3 -3
- package/dist/{ImageWidget-CovwH8bp.mjs → ImageWidget-I8F34YlI.mjs} +2 -2
- package/dist/{ImageWidget-CovwH8bp.mjs.map → ImageWidget-I8F34YlI.mjs.map} +1 -1
- package/dist/{LinkWidget-StpP6gPq.mjs → LinkWidget-Dg0tHfgD.mjs} +2 -2
- package/dist/{LinkWidget-StpP6gPq.mjs.map → LinkWidget-Dg0tHfgD.mjs.map} +1 -1
- package/dist/{LinkWidget-BTIsGyc5.cjs → LinkWidget-Dvp6-Dow.cjs} +2 -2
- package/dist/{LinkWidget-BTIsGyc5.cjs.map → LinkWidget-Dvp6-Dow.cjs.map} +1 -1
- package/dist/{LinkWidget-ZVFlL178.cjs → LinkWidget-N6yz6w-U.cjs} +3 -3
- package/dist/{ListWidget-ddhJLwxZ.mjs → ListWidget-BAS3SGpD.mjs} +3 -3
- package/dist/{ListWidget-ddhJLwxZ.mjs.map → ListWidget-BAS3SGpD.mjs.map} +1 -1
- package/dist/{ListWidget-6TkLyp00.cjs → ListWidget-CH-zz3sb.cjs} +3 -3
- package/dist/{ListWidget-6TkLyp00.cjs.map → ListWidget-CH-zz3sb.cjs.map} +1 -1
- package/dist/{ListWidget-BNAED5xZ.cjs → ListWidget-vG31UVVS.cjs} +3 -3
- package/dist/{MessagingScreen-CZje-9-C.mjs → MessagingScreen-B8--eInM.mjs} +19 -19
- package/dist/{MessagingScreen-DDVflwCT.cjs → MessagingScreen-D2oC8zGg.cjs} +19 -19
- package/dist/{MessagingScreen-Q0BSmRuJ.mjs → MessagingScreen-DYjU5smt.mjs} +2 -2
- package/dist/{MessagingScreen-Q0BSmRuJ.mjs.map → MessagingScreen-DYjU5smt.mjs.map} +1 -1
- package/dist/{MessagingScreen-D7Yuy_Rn.cjs → MessagingScreen-gPqbIcFd.cjs} +2 -2
- package/dist/{MessagingScreen-D7Yuy_Rn.cjs.map → MessagingScreen-gPqbIcFd.cjs.map} +1 -1
- package/dist/{NestedWidget-orTqukJD.cjs → NestedWidget-B24yMkV4.cjs} +2 -2
- package/dist/{NestedWidget-orTqukJD.cjs.map → NestedWidget-B24yMkV4.cjs.map} +1 -1
- package/dist/{NestedWidget-DMhmCZT6.mjs → NestedWidget-D31rZhTR.mjs} +2 -2
- package/dist/{NestedWidget-DMhmCZT6.mjs.map → NestedWidget-D31rZhTR.mjs.map} +1 -1
- package/dist/{NestedWidget-BZZqukZw.cjs → NestedWidget-DqM5HGFl.cjs} +2 -2
- package/dist/{OrdersScreen-vAO6E8EM.cjs → OrdersScreen-BdLqCq1V.cjs} +19 -19
- package/dist/{OrdersScreen-CXxGN6RY.mjs → OrdersScreen-CHSqar4N.mjs} +3 -3
- package/dist/{OrdersScreen-CXxGN6RY.mjs.map → OrdersScreen-CHSqar4N.mjs.map} +1 -1
- package/dist/{OrdersScreen-DOBWnf_w.mjs → OrdersScreen-DRcdhc7y.mjs} +19 -19
- package/dist/{OrdersScreen-C0TzmZCl.cjs → OrdersScreen-Xs90dlpC.cjs} +3 -3
- package/dist/{OrdersScreen-C0TzmZCl.cjs.map → OrdersScreen-Xs90dlpC.cjs.map} +1 -1
- package/dist/{ProfileScreen-B9NHS4A_.cjs → ProfileScreen-BeaM28Qw.cjs} +20 -20
- package/dist/{ProfileScreen-DWFXnUUU.mjs → ProfileScreen-C-YfTr7l.mjs} +20 -20
- package/dist/{ProfileScreen-BGLpyuef.mjs → ProfileScreen-CpoLji_m.mjs} +3 -3
- package/dist/{ProfileScreen-BGLpyuef.mjs.map → ProfileScreen-CpoLji_m.mjs.map} +1 -1
- package/dist/{ProfileScreen-tq1DJ71b.cjs → ProfileScreen-DdCPrQUL.cjs} +3 -3
- package/dist/{ProfileScreen-tq1DJ71b.cjs.map → ProfileScreen-DdCPrQUL.cjs.map} +1 -1
- package/dist/{QuickLinksWidget-DIkDVuvE.mjs → QuickLinksWidget-BiEUvm_J.mjs} +2 -2
- package/dist/{QuickLinksWidget-DIkDVuvE.mjs.map → QuickLinksWidget-BiEUvm_J.mjs.map} +1 -1
- package/dist/{QuickLinksWidget-DDFtIKqs.cjs → QuickLinksWidget-CLBvaogv.cjs} +2 -2
- package/dist/{QuickLinksWidget-DDFtIKqs.cjs.map → QuickLinksWidget-CLBvaogv.cjs.map} +1 -1
- package/dist/{QuickLinksWidget-HvMQHOkz.cjs → QuickLinksWidget-DzAL_wuz.cjs} +3 -3
- package/dist/{QuickShareWidget-BNf1Un61.cjs → QuickShareWidget-B7mlqgW8.cjs} +2 -2
- package/dist/{QuickShareWidget-lysi8Dhh.mjs → QuickShareWidget-Dzpzis1d.mjs} +2 -2
- package/dist/{QuickShareWidget-lysi8Dhh.mjs.map → QuickShareWidget-Dzpzis1d.mjs.map} +1 -1
- package/dist/{QuickShareWidget-mxiy1zdd.cjs → QuickShareWidget-wxRcBUkf.cjs} +2 -2
- package/dist/{QuickShareWidget-mxiy1zdd.cjs.map → QuickShareWidget-wxRcBUkf.cjs.map} +1 -1
- package/dist/{RecentActivityWidget-DGtKC_9F.mjs → RecentActivityWidget-BzmV4G8e.mjs} +2 -2
- package/dist/{RecentActivityWidget-DGtKC_9F.mjs.map → RecentActivityWidget-BzmV4G8e.mjs.map} +1 -1
- package/dist/{RecentActivityWidget-DcgOzvHx.cjs → RecentActivityWidget-DQcy41-I.cjs} +2 -2
- package/dist/{RecentActivityWidget-Cr1G82Cd.cjs → RecentActivityWidget-zBOY0c_B.cjs} +2 -2
- package/dist/{RecentActivityWidget-Cr1G82Cd.cjs.map → RecentActivityWidget-zBOY0c_B.cjs.map} +1 -1
- package/dist/{ShopWidget-C5hjVwsY.cjs → ShopWidget-CCITGTSs.cjs} +2 -2
- package/dist/{ShopWidget-C5hjVwsY.cjs.map → ShopWidget-CCITGTSs.cjs.map} +1 -1
- package/dist/{ShopWidget-BYQKWyri.mjs → ShopWidget-D98tmUgG.mjs} +2 -2
- package/dist/{ShopWidget-B80w-Drk.mjs → ShopWidget-DHM86LM3.mjs} +2 -2
- package/dist/{ShopWidget-B80w-Drk.mjs.map → ShopWidget-DHM86LM3.mjs.map} +1 -1
- package/dist/{ShopWidget-CoOK6Ctd.cjs → ShopWidget-DXVsF1Jh.cjs} +2 -2
- package/dist/{SubscriptionsScreen-BwcpTAn5.mjs → SubscriptionsScreen-BOM_1txu.mjs} +20 -20
- package/dist/{SubscriptionsScreen-BEzmLp01.cjs → SubscriptionsScreen-DGIEnvLM.cjs} +20 -20
- package/dist/{SubscriptionsScreen-Cy7RtO5K.cjs → SubscriptionsScreen-DzBPA9H8.cjs} +4 -4
- package/dist/{SubscriptionsScreen-Cy7RtO5K.cjs.map → SubscriptionsScreen-DzBPA9H8.cjs.map} +1 -1
- package/dist/{SubscriptionsScreen-C7OOGlBt.mjs → SubscriptionsScreen-cAKZwpIu.mjs} +4 -4
- package/dist/{SubscriptionsScreen-C7OOGlBt.mjs.map → SubscriptionsScreen-cAKZwpIu.mjs.map} +1 -1
- package/dist/{TableWidget-lXrvBX6U.cjs → TableWidget-B8F_uQ92.cjs} +2 -2
- package/dist/{TableWidget-Bxwn3QYs.mjs → TableWidget-CDGdl71J.mjs} +2 -2
- package/dist/{TableWidget-Bxwn3QYs.mjs.map → TableWidget-CDGdl71J.mjs.map} +1 -1
- package/dist/{TableWidget-uoeYCPzf.cjs → TableWidget-DNjUA2Il.cjs} +2 -2
- package/dist/{TableWidget-uoeYCPzf.cjs.map → TableWidget-DNjUA2Il.cjs.map} +1 -1
- package/dist/{VideoWidget-D8FAjnvj.cjs → VideoWidget-UQQoRmwC.cjs} +3 -3
- package/dist/{VideoWidget-DQzYOcFF.mjs → VideoWidget-Wca2-So_.mjs} +2 -2
- package/dist/{VideoWidget-DQzYOcFF.mjs.map → VideoWidget-Wca2-So_.mjs.map} +1 -1
- package/dist/{VideoWidget-BhN4oTGG.cjs → VideoWidget-bf-gkCfx.cjs} +2 -2
- package/dist/{VideoWidget-BhN4oTGG.cjs.map → VideoWidget-bf-gkCfx.cjs.map} +1 -1
- package/dist/{WidgetInteractionContext-Bjy4P_YP.cjs → WidgetInteractionContext-D9dBJ-39.cjs} +5 -3
- package/dist/WidgetInteractionContext-D9dBJ-39.cjs.map +1 -0
- package/dist/{WidgetInteractionContext-Ba_G5sDP.mjs → WidgetInteractionContext-IsMo73Ka.mjs} +5 -3
- package/dist/WidgetInteractionContext-IsMo73Ka.mjs.map +1 -0
- package/dist/{build-widget-registry-DAOb4Muk.mjs → build-widget-registry-70KBtqiR.mjs} +27 -27
- package/dist/{build-widget-registry-DAOb4Muk.mjs.map → build-widget-registry-70KBtqiR.mjs.map} +1 -1
- package/dist/{build-widget-registry-BZeMOKCj.cjs → build-widget-registry-CWQ0YvEy.cjs} +27 -27
- package/dist/{build-widget-registry-BZeMOKCj.cjs.map → build-widget-registry-CWQ0YvEy.cjs.map} +1 -1
- package/dist/index.cjs +55 -34
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +55 -34
- package/dist/index.mjs.map +1 -1
- package/dist/styles/remote-widget-shadow.css +2 -2
- package/dist/{use-internal-link-WJcYzKsi.mjs → use-internal-link-CKMpGvvs.mjs} +2 -2
- package/dist/{use-internal-link-WJcYzKsi.mjs.map → use-internal-link-CKMpGvvs.mjs.map} +1 -1
- package/dist/{use-internal-link-BTIkbJYg.cjs → use-internal-link-IcDHjPGp.cjs} +2 -2
- package/dist/{use-internal-link-BTIkbJYg.cjs.map → use-internal-link-IcDHjPGp.cjs.map} +1 -1
- package/dist/{use-link-action-C32zrsI0.mjs → use-link-action-CtVnC_2G.mjs} +2 -2
- package/dist/{use-link-action-C32zrsI0.mjs.map → use-link-action-CtVnC_2G.mjs.map} +1 -1
- package/dist/{use-link-action-rBy0j6go.cjs → use-link-action-DzA9AQsE.cjs} +2 -2
- package/dist/{use-link-action-rBy0j6go.cjs.map → use-link-action-DzA9AQsE.cjs.map} +1 -1
- package/dist/{use-portal-card-add-3ds-flow-DhfOxgMV.mjs → use-portal-card-add-3ds-flow-BMHRmeuB.mjs} +3 -3
- package/dist/{use-portal-card-add-3ds-flow-DhfOxgMV.mjs.map → use-portal-card-add-3ds-flow-BMHRmeuB.mjs.map} +1 -1
- package/dist/{use-portal-card-add-3ds-flow-DUBFzvAB.cjs → use-portal-card-add-3ds-flow-BsSH1Xks.cjs} +3 -3
- package/dist/{use-portal-card-add-3ds-flow-DUBFzvAB.cjs.map → use-portal-card-add-3ds-flow-BsSH1Xks.cjs.map} +1 -1
- package/dist/utils/build-remote-widget-plugin-manifests.cjs +17 -17
- package/dist/utils/build-remote-widget-plugin-manifests.mjs +17 -17
- package/dist/utils/build-widget-registry.cjs +17 -17
- package/dist/utils/build-widget-registry.mjs +17 -17
- package/package.json +19 -19
- package/dist/CatchUpWidget-BNEEQNcr.mjs.map +0 -1
- package/dist/CatchUpWidget-G4txAfv3.cjs.map +0 -1
- package/dist/WidgetInteractionContext-Ba_G5sDP.mjs.map +0 -1
- package/dist/WidgetInteractionContext-Bjy4P_YP.cjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
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-70KBtqiR.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 { i as storeKeys, t as useAccount } from "./use-account-DhZ3gaOS.mjs";
|
|
5
5
|
import { i as useOptionalStore } from "./use-optional-store-DpB_jK4Q.mjs";
|
|
6
6
|
import "./use-mysite-portal--6Mw0jDm.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-BRgNyDk3.mjs";
|
|
9
9
|
import { n as contactsScreenPropertySchema, t as ContactsScreen } from "./ContactsScreen-DHW4w7xr.mjs";
|
|
10
10
|
import { i as useFluidContext } from "./ContactsTranslationBridge-DMW-aBw8.mjs";
|
|
11
11
|
import { A as usePortalTenantClient, V as cartsClaim, a as memberTypeName, i as hasMemberPermission, k as useLegacyPortalTenantClient, n as canAccessRepSurfaces, o as memberTypeSlug, r as deniesRepSurfaces } from "./prop-types-BK4OBoZZ.mjs";
|
|
12
12
|
import { n as useIsMobile, t as MobileBottomSheet } from "./MobileBottomSheet-BKm3ysnd.mjs";
|
|
13
13
|
import "./registry-context-DeQRPEBN.mjs";
|
|
14
|
-
import { t as WidgetInteractionProvider } from "./WidgetInteractionContext-
|
|
14
|
+
import { t as WidgetInteractionProvider } from "./WidgetInteractionContext-IsMo73Ka.mjs";
|
|
15
15
|
import { n as RepUserProvider, r as useRepUser } from "./WidgetRenderStateContext-Bax78KoX.mjs";
|
|
16
|
-
import { r as quickLinksWidgetPropertySchema, t as QuickLinksWidget } from "./QuickLinksWidget-
|
|
16
|
+
import { r as quickLinksWidgetPropertySchema, t as QuickLinksWidget } from "./QuickLinksWidget-BiEUvm_J.mjs";
|
|
17
17
|
import { a as useActiveLocale } from "./static-dict-adapter-DUyazFbx.mjs";
|
|
18
18
|
import "./SearchSort-Bff2iTtF.mjs";
|
|
19
19
|
import "./use-share-link-mOe2vbOG.mjs";
|
|
@@ -29,41 +29,41 @@ import { _ as extractPropertyValues, g as applyPropertyValues, h as PROPERTY_FIE
|
|
|
29
29
|
import "./fields-Ch4XJaCs.mjs";
|
|
30
30
|
import { r as textWidgetPropertySchema, t as TextWidget } from "./TextWidget-CshhnCUL.mjs";
|
|
31
31
|
import { r as alertWidgetPropertySchema, t as AlertWidget } from "./AlertWidget-DlSTpa3y.mjs";
|
|
32
|
-
import "./use-internal-link-
|
|
33
|
-
import { r as announcementWidgetPropertySchema, t as AnnouncementWidget } from "./AnnouncementWidget-
|
|
32
|
+
import "./use-internal-link-CKMpGvvs.mjs";
|
|
33
|
+
import { r as announcementWidgetPropertySchema, t as AnnouncementWidget } from "./AnnouncementWidget-BND76Ojg.mjs";
|
|
34
34
|
import { r as bulletListWidgetPropertySchema, t as BulletListWidget } from "./BulletListWidget-BqUtGDk2.mjs";
|
|
35
35
|
import "./preview-context-D1c5nVF4.mjs";
|
|
36
36
|
import { n as calendarWidgetPropertySchema, t as CalendarWidget } from "./CalendarWidget-B3bIYc5_.mjs";
|
|
37
37
|
import "./error-state-B7i_iTF6.mjs";
|
|
38
|
-
import { a as BottomNavVisibilityProvider, i as useMessagingAuth, n as messagingScreenPropertySchema, o as useBottomNavHidden, r as useMessagingConfig, t as MessagingScreen } from "./MessagingScreen-
|
|
39
|
-
import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-
|
|
38
|
+
import { a as BottomNavVisibilityProvider, i as useMessagingAuth, n as messagingScreenPropertySchema, o as useBottomNavHidden, r as useMessagingConfig, t as MessagingScreen } from "./MessagingScreen-DYjU5smt.mjs";
|
|
39
|
+
import { n as subscriptionsScreenPropertySchema, t as SubscriptionsScreen } from "./SubscriptionsScreen-cAKZwpIu.mjs";
|
|
40
40
|
import "./WidgetLoadingSkeleton-D4Dx1qBJ.mjs";
|
|
41
41
|
import { r as cardWidgetPropertySchema, t as CardWidget } from "./CardWidget-RrRS-tdW.mjs";
|
|
42
42
|
import "./helpers-wMrhc0DH.mjs";
|
|
43
43
|
import "./MediaRenderer-BgMdmkkL.mjs";
|
|
44
|
-
import { r as carouselWidgetPropertySchema, t as CarouselWidget } from "./CarouselWidget-
|
|
45
|
-
import { n as catchUpWidgetPropertySchema, t as CatchUpWidget } from "./CatchUpWidget-
|
|
44
|
+
import { r as carouselWidgetPropertySchema, t as CarouselWidget } from "./CarouselWidget-CU1oj0q4.mjs";
|
|
45
|
+
import { n as catchUpWidgetPropertySchema, t as CatchUpWidget } from "./CatchUpWidget-CLwHp30X.mjs";
|
|
46
46
|
import { r as chartWidgetPropertySchema, t as ChartWidget } from "./ChartWidget-Bl-SQUJg.mjs";
|
|
47
47
|
import { r as containerWidgetPropertySchema, t as ContainerWidget } from "./ContainerWidget-B3elq25T.mjs";
|
|
48
48
|
import { r as embedWidgetPropertySchema, t as EmbedWidget } from "./EmbedWidget-DbgW5JqU.mjs";
|
|
49
|
-
import "./use-link-action-
|
|
50
|
-
import { r as imageWidgetPropertySchema, t as ImageWidget } from "./ImageWidget-
|
|
51
|
-
import { r as linkWidgetPropertySchema, t as LinkWidget } from "./LinkWidget-
|
|
52
|
-
import { r as listWidgetPropertySchema, t as ListWidget } from "./ListWidget-
|
|
49
|
+
import "./use-link-action-CtVnC_2G.mjs";
|
|
50
|
+
import { r as imageWidgetPropertySchema, t as ImageWidget } from "./ImageWidget-I8F34YlI.mjs";
|
|
51
|
+
import { r as linkWidgetPropertySchema, t as LinkWidget } from "./LinkWidget-Dg0tHfgD.mjs";
|
|
52
|
+
import { r as listWidgetPropertySchema, t as ListWidget } from "./ListWidget-BAS3SGpD.mjs";
|
|
53
53
|
import { r as mySiteWidgetPropertySchema, t as MySiteWidget } from "./MySiteWidget-CB3vfPZV.mjs";
|
|
54
|
-
import { r as nestedWidgetPropertySchema, t as NestedWidget } from "./NestedWidget-
|
|
54
|
+
import { r as nestedWidgetPropertySchema, t as NestedWidget } from "./NestedWidget-D31rZhTR.mjs";
|
|
55
55
|
import { r as quoteWidgetPropertySchema, t as QuoteWidget } from "./QuoteWidget-Cph8pFGq.mjs";
|
|
56
|
-
import { r as quickShareWidgetPropertySchema, t as QuickShareWidget } from "./QuickShareWidget-
|
|
57
|
-
import { r as recentActivityWidgetPropertySchema, t as RecentActivityWidget } from "./RecentActivityWidget-
|
|
56
|
+
import { r as quickShareWidgetPropertySchema, t as QuickShareWidget } from "./QuickShareWidget-Dzpzis1d.mjs";
|
|
57
|
+
import { r as recentActivityWidgetPropertySchema, t as RecentActivityWidget } from "./RecentActivityWidget-BzmV4G8e.mjs";
|
|
58
58
|
import "./activity-presentation-Bsgui65l.mjs";
|
|
59
59
|
import { r as separatorWidgetPropertySchema, t as SeparatorWidget } from "./SeparatorWidget-CCaFxpKI.mjs";
|
|
60
60
|
import { r as spacerWidgetPropertySchema, t as SpacerWidget } from "./SpacerWidget-B6D0TsyT.mjs";
|
|
61
|
-
import { r as tableWidgetPropertySchema, t as TableWidget } from "./TableWidget-
|
|
61
|
+
import { r as tableWidgetPropertySchema, t as TableWidget } from "./TableWidget-CDGdl71J.mjs";
|
|
62
62
|
import { t as MobileActionSheet } from "./MobileActionSheet-DKM4gNiX.mjs";
|
|
63
63
|
import { n as toDoWidgetPropertySchema, t as ToDoWidget } from "./ToDoWidget-DlCCGkHh.mjs";
|
|
64
64
|
import "./ResponsiveDialog-CquyCSKL.mjs";
|
|
65
|
-
import { r as videoWidgetPropertySchema, t as VideoWidget } from "./VideoWidget-
|
|
66
|
-
import { n as shopWidgetPropertySchema } from "./ShopWidget-
|
|
65
|
+
import { r as videoWidgetPropertySchema, t as VideoWidget } from "./VideoWidget-Wca2-So_.mjs";
|
|
66
|
+
import { n as shopWidgetPropertySchema } from "./ShopWidget-DHM86LM3.mjs";
|
|
67
67
|
import "./translation-adapter-IiqkTGD3.mjs";
|
|
68
68
|
import "./translation-adapter-DqTPmv9d.mjs";
|
|
69
69
|
import "./translation-adapter-BnsbEgQF.mjs";
|
|
@@ -76,12 +76,12 @@ import { a as useScreenHeaderSlotRefs, i as ScreenHeaderProvider, r as ScreenHea
|
|
|
76
76
|
import { a as CartScript, i as CartWidget, n as shopScreenPropertySchema, r as CartButton, t as ShopScreen } from "./ShopScreen-B5Qmh20N.mjs";
|
|
77
77
|
import { a as FallbackCard, i as CoreScreenPlaceholder, r as customersScreenPropertySchema, t as CustomersScreen } from "./CustomersScreen-CkpHSo0v.mjs";
|
|
78
78
|
import { a as OPT_IN_SYSTEM_SCREEN_SLUGS, i as AppLink, o as findSystemSlugByPrefix, r as activityScreenPropertySchema, t as ActivityScreen } from "./ActivityScreen-iGACHWBk.mjs";
|
|
79
|
-
import "./use-portal-card-add-3ds-flow-
|
|
80
|
-
import { n as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-
|
|
79
|
+
import "./use-portal-card-add-3ds-flow-BMHRmeuB.mjs";
|
|
80
|
+
import { n as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-CpoLji_m.mjs";
|
|
81
81
|
import "./dist-HgsLVQIJ.mjs";
|
|
82
82
|
import "./es-LQXjCS_G.mjs";
|
|
83
83
|
import "./dist-BHaeNy3f.mjs";
|
|
84
|
-
import { n as ordersScreenPropertySchema, t as OrdersScreen } from "./OrdersScreen-
|
|
84
|
+
import { n as ordersScreenPropertySchema, t as OrdersScreen } from "./OrdersScreen-CHSqar4N.mjs";
|
|
85
85
|
import { n as mySiteScreenPropertySchema, t as MySiteScreen } from "./MySiteScreen-D_hDE0iw.mjs";
|
|
86
86
|
import "./sortable.esm-Ci5ib3FM.mjs";
|
|
87
87
|
import "./AppDownloadScreen-TFA928cW.mjs";
|
|
@@ -2118,10 +2118,10 @@ function resolveMemberTypePage(registry, memberTypeSlug, currentSlug, baseSlug)
|
|
|
2118
2118
|
}
|
|
2119
2119
|
//#endregion
|
|
2120
2120
|
//#region src/shell/system-screen-map.ts
|
|
2121
|
-
const ProfileScreen$1 = lazy(() => import("./ProfileScreen-
|
|
2122
|
-
const OrdersScreen$1 = lazy(() => import("./OrdersScreen-
|
|
2123
|
-
const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-
|
|
2124
|
-
const MessagingScreen$1 = lazy(() => import("./MessagingScreen-
|
|
2121
|
+
const ProfileScreen$1 = lazy(() => import("./ProfileScreen-C-YfTr7l.mjs").then((m) => ({ default: m.ProfileScreen })));
|
|
2122
|
+
const OrdersScreen$1 = lazy(() => import("./OrdersScreen-DRcdhc7y.mjs").then((m) => ({ default: m.OrdersScreen })));
|
|
2123
|
+
const SubscriptionsScreen$1 = lazy(() => import("./SubscriptionsScreen-BOM_1txu.mjs").then((m) => ({ default: m.SubscriptionsScreen })));
|
|
2124
|
+
const MessagingScreen$1 = lazy(() => import("./MessagingScreen-B8--eInM.mjs").then((m) => ({ default: m.MessagingScreen })));
|
|
2125
2125
|
const ContactsScreen$1 = lazy(() => import("./ContactsScreen-CPeKwfMp.mjs").then((m) => ({ default: m.ContactsScreen })));
|
|
2126
2126
|
const ShopScreen$1 = lazy(() => import("./ShopScreen-CoFlBxDl.mjs").then((m) => ({ default: m.ShopScreen })));
|
|
2127
2127
|
const CustomersScreen$1 = lazy(() => import("./CustomersScreen-CkpHSo0v.mjs").then((n) => n.n).then((m) => ({ default: m.CustomersScreen })));
|
|
@@ -2162,9 +2162,6 @@ function findScreenByPrefix(slug) {
|
|
|
2162
2162
|
const key = findSystemSlugByPrefix(slug);
|
|
2163
2163
|
return key ? SCREEN_FOR_SLUG[key] : void 0;
|
|
2164
2164
|
}
|
|
2165
|
-
//#endregion
|
|
2166
|
-
//#region src/shell/PageRouter.tsx
|
|
2167
|
-
const FLAG_GATED_SLUG = "activity";
|
|
2168
2165
|
/**
|
|
2169
2166
|
* Returns true if any nav slug resolves to the given system screen component.
|
|
2170
2167
|
* Lets detail routes (e.g. `share/product/:id`) render when their listing
|
|
@@ -2174,6 +2171,27 @@ function isSystemScreenCoveredByNav(target, navSlugs) {
|
|
|
2174
2171
|
for (const slug of navSlugs) if ((SYSTEM_SLUG_SCREEN_MAP[slug] ?? findScreenByPrefix(slug)) === target) return true;
|
|
2175
2172
|
return false;
|
|
2176
2173
|
}
|
|
2174
|
+
/**
|
|
2175
|
+
* Whether navigating to `slug` would land on a real screen rather than "Page
|
|
2176
|
+
* Not Found". Deliberately conservative — it reports *unreachable* only for the
|
|
2177
|
+
* one case it can be sure of: an opt-in system screen (contacts, messages) whose
|
|
2178
|
+
* nav item is absent (the sole reason PageRouter shows "Page Not Found" for an
|
|
2179
|
+
* otherwise-valid destination). Non-opt-in system screens, custom / builder
|
|
2180
|
+
* screen-picker destinations, and unknown navSlugs (e.g. builder preview) are
|
|
2181
|
+
* all treated as reachable, so a valid link is never hidden without cause.
|
|
2182
|
+
* Widgets use this to avoid offering a deep-link that dead-ends.
|
|
2183
|
+
*/
|
|
2184
|
+
function isSlugReachable(slug, navSlugs, customPageSlugs) {
|
|
2185
|
+
const baseSlug = slug.split("/")[0] ?? slug;
|
|
2186
|
+
if (customPageSlugs?.has(slug) || customPageSlugs?.has(baseSlug)) return true;
|
|
2187
|
+
if (navSlugs === void 0) return true;
|
|
2188
|
+
const screen = SYSTEM_SLUG_SCREEN_MAP[baseSlug] ?? findScreenByPrefix(slug);
|
|
2189
|
+
if (screen === void 0 || !OPT_IN_SYSTEM_SCREENS.has(screen)) return true;
|
|
2190
|
+
return isSystemScreenCoveredByNav(screen, navSlugs);
|
|
2191
|
+
}
|
|
2192
|
+
//#endregion
|
|
2193
|
+
//#region src/shell/PageRouter.tsx
|
|
2194
|
+
const FLAG_GATED_SLUG = "activity";
|
|
2177
2195
|
function isRouteCoveredByNav(currentSlug, baseSlug, navSlugs) {
|
|
2178
2196
|
if (navSlugs === void 0) return true;
|
|
2179
2197
|
return navSlugs.some((navSlug) => navSlug === baseSlug || currentSlug === navSlug || currentSlug.startsWith(navSlug + "/"));
|
|
@@ -2953,6 +2971,8 @@ function AppShell({ appData: appDataProp, navigation: navigationProp, customPage
|
|
|
2953
2971
|
});
|
|
2954
2972
|
}, [navigateToSlug]);
|
|
2955
2973
|
const resolveInternalSlug = useCallback((href) => typeof window === "undefined" ? void 0 : internalSlugFromHref(href, normalizedBasePath, window.location.origin), [normalizedBasePath]);
|
|
2974
|
+
const customPageSlugs = useMemo(() => new Set(Object.keys(customPages ?? {})), [customPages]);
|
|
2975
|
+
const canNavigateTo = useCallback((slug) => isSlugReachable(slug, allNavSlugs, customPageSlugs), [allNavSlugs, customPageSlugs]);
|
|
2956
2976
|
const queryClient = useQueryClient();
|
|
2957
2977
|
const handleRefresh = useCallback(() => queryClient.refetchQueries({ type: "active" }), [queryClient]);
|
|
2958
2978
|
const handleWidgetItemClick = useCallback((item) => {
|
|
@@ -3072,6 +3092,7 @@ function AppShell({ appData: appDataProp, navigation: navigationProp, customPage
|
|
|
3072
3092
|
onItemClick: handleWidgetItemClick,
|
|
3073
3093
|
onNavigate: handleNavigate,
|
|
3074
3094
|
resolveInternalSlug,
|
|
3095
|
+
canNavigateTo,
|
|
3075
3096
|
children: /* @__PURE__ */ jsxs(BottomNavVisibilityProvider, { children: [/* @__PURE__ */ jsx(ScreenHeaderProvider, { children: /* @__PURE__ */ jsx(AppShellLayout, {
|
|
3076
3097
|
sidebarContent: /* @__PURE__ */ jsx(SdkNavigation, {
|
|
3077
3098
|
navItems: filteredNavItems,
|
|
@@ -4647,11 +4668,11 @@ const CORE_PAGE_IDS = {
|
|
|
4647
4668
|
//#endregion
|
|
4648
4669
|
//#region src/screens/index.ts
|
|
4649
4670
|
const screenPropertySchemas = {
|
|
4650
|
-
ProfileScreen: () => import("./ProfileScreen-
|
|
4651
|
-
MessagingScreen: () => import("./MessagingScreen-
|
|
4671
|
+
ProfileScreen: () => import("./ProfileScreen-C-YfTr7l.mjs").then((m) => m.profileScreenPropertySchema),
|
|
4672
|
+
MessagingScreen: () => import("./MessagingScreen-B8--eInM.mjs").then((m) => m.messagingScreenPropertySchema),
|
|
4652
4673
|
ContactsScreen: () => import("./ContactsScreen-CPeKwfMp.mjs").then((m) => m.contactsScreenPropertySchema),
|
|
4653
|
-
OrdersScreen: () => import("./OrdersScreen-
|
|
4654
|
-
SubscriptionsScreen: () => import("./SubscriptionsScreen-
|
|
4674
|
+
OrdersScreen: () => import("./OrdersScreen-DRcdhc7y.mjs").then((m) => m.ordersScreenPropertySchema),
|
|
4675
|
+
SubscriptionsScreen: () => import("./SubscriptionsScreen-BOM_1txu.mjs").then((m) => m.subscriptionsScreenPropertySchema),
|
|
4655
4676
|
CustomersScreen: () => import("./CustomersScreen-CkpHSo0v.mjs").then((n) => n.n).then((m) => m.customersScreenPropertySchema),
|
|
4656
4677
|
MySiteScreen: () => import("./MySiteScreen-tVdfxfdq.mjs").then((m) => m.mySiteScreenPropertySchema),
|
|
4657
4678
|
ShareablesScreen: () => import("./ShareablesScreen-Cixf8vTL.mjs").then((m) => m.shareablesScreenPropertySchema),
|