@burdenoff/fe-libs 2026.904.2 → 2026.904.3
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/shared/config/authBridgeUrls.d.ts.map +1 -1
- package/dist/shared/config/authBridgeUrls.js +16 -15
- package/dist/shared/config/gatewayUrls.d.ts +29 -0
- package/dist/shared/config/gatewayUrls.d.ts.map +1 -1
- package/dist/shared/config/gatewayUrls.js +44 -20
- package/dist/shared/config/index.d.ts.map +1 -1
- package/dist/shared/native/capacitor.d.ts +49 -0
- package/dist/shared/native/capacitor.d.ts.map +1 -0
- package/dist/shared/native/capacitor.js +31 -0
- package/dist/shared/native/index.d.ts +2 -0
- package/dist/shared/native/index.d.ts.map +1 -1
- package/dist/shared/providers/shell/MultiGatewayProvider.d.ts.map +1 -1
- package/dist/shared/providers/shell/MultiGatewayProvider.js +101 -100
- package/dist/shared/utils/authCookie.d.ts.map +1 -1
- package/dist/shared/utils/authCookie.js +35 -34
- package/dist/shared/utils/gatewayFetchRewrite.d.ts.map +1 -1
- package/dist/shared/utils/gatewayFetchRewrite.js +95 -87
- package/dist/shared-config.js +9 -1
- package/dist/shared-native.js +23 -22
- package/dist/shared.js +124 -123
- package/package.json +2 -2
package/dist/shared.js
CHANGED
|
@@ -4,133 +4,134 @@ import { createApolloClient as n } from "./shared/utils/apollo.js";
|
|
|
4
4
|
import { alertTokens as r, categoryTokens as i, getAlertTokens as a, getCategoryTokens as o, getProgressTokens as s, getStatusBadgeTokens as c, getStatusTokens as l, getTrendTokens as u, progressTokens as d, statusTokens as f, trendTokens as p } from "./shared/utils/tokens.js";
|
|
5
5
|
import { capitalizeFirst as m, capitalizeWords as h, formatBytes as g, formatCompactNumber as _, formatCurrency as v, formatCurrencyCompact as y, formatDate as b, formatDateTime as x, formatDuration as S, formatList as C, formatNumber as w, formatOrdinal as T, formatPercentage as E, formatRelativeTime as D, formatTime as O, pluralize as k, slugify as A, toCamelCase as j, toPascalCase as M, truncateText as N } from "./shared/utils/format.js";
|
|
6
6
|
import { isChunkLoadError as P, lazyWithRetry as F } from "./shared/utils/lazyWithRetry.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
7
|
+
import { getCapacitorPlatform as I, isCapacitorNative as L } from "./shared/native/capacitor.js";
|
|
8
|
+
import { DESKTOP_UPDATE_UNSUPPORTED as R, DESKTOP_WINDOW_STATE_DEFAULT as z, bootDesktopShell as B, desktopCheckForUpdates as V, desktopDeepLinkToPath as H, desktopInstallUpdate as U, desktopNotify as W, desktopOpenExternal as G, desktopSetBadgeCount as K, desktopSetLocale as q, desktopSetTheme as J, desktopSetTrayQuickActions as Y, getDesktopAuthBridgeConfig as X, getDesktopBridge as Z, getDesktopGatewayBases as Q, getDesktopGatewayUrls as $, getDesktopRuntimeConfig as ee, getDesktopUpdateState as te, getDesktopWindowState as ne, getLegacyDesktopRuntime as re, installDesktopDeepLinkHandler as ie, installDesktopNavigateHandler as ae, isDesktop as oe, onDesktopUpdateState as se, onDesktopWindowState as ce, registerDesktopNavigator as le } from "./shared/native/desktop.js";
|
|
9
|
+
import { resolveGatewayUrls as ue } from "./shared/config/gatewayUrls.js";
|
|
10
|
+
import { installGatewayFetchRewrite as de, resolveGatewayBases as fe, suppressConsole as pe } from "./shared/utils/gatewayFetchRewrite.js";
|
|
11
|
+
import { resolveAuthBridgeConfig as me, resolveShellAuthBridgeConfig as he } from "./shared/config/authBridgeUrls.js";
|
|
12
|
+
import { PRODUCTS as ge, PRODUCT_URLS as _e, getProductUrl as ve, getProductsWithUrls as ye } from "./shared/config/products.js";
|
|
13
|
+
import { COMMON_SHELL_LESS_ROUTES as be, DEFAULT_SHELL_CONFIG as xe, getShellConfig as Se, isShellLessRoute as Ce, shouldShowBreadcrumb as we, shouldShowSidebar as Te } from "./shared/config/shellRoutes.js";
|
|
14
|
+
import { DEFAULT_PAGE_SIZE as Ee, GATEWAYS as De, getGatewayConfig as Oe, getGatewayUrl as ke, getGraphQLEndpoint as Ae } from "./shared-config.js";
|
|
15
|
+
import { getWorkspaceTokenPayload as je, isWorkspaceTokenValidForContext as Me } from "./shared/graphql/workspaceToken.js";
|
|
16
|
+
import { BACKEND_ERROR_EVENT as Ne, CONNECTION_STATUS_EVENT as Pe, dispatchBackendErrorEvent as Fe, extractBackendError as Ie, isAbortError as Le, isBackendErrorDisplay as Re, isTransportError as ze, markConnectionHealthy as Be, shouldToastBackendError as Ve } from "./shared/utils/backendErrors.js";
|
|
17
|
+
import { clearGraphqlFetchResponseCache as He, getStoredAuthToken as Ue, getStoredLocale as We, getStoredOrganizationId as Ge, getStoredProjectId as Ke, getStoredWorkspaceId as qe, getStoredWorkspaceToken as Je, graphqlFetch as Ye, resolveGatewayUrl as Xe } from "./shared/graphql/fetch.js";
|
|
18
|
+
import { SSELink as Ze } from "./shared/graphql/links/sse-link.js";
|
|
19
|
+
import { createGraphQLClient as Qe, getGlobalClient as $e, getWorkspaceClient as et, initializeAppClients as tt, resetAppClients as nt } from "./shared/graphql/client.js";
|
|
20
|
+
import { GatewayProvider as rt, useGateway as it, useGatewayClient as at, useSafeGateway as ot, useSafeGatewayClient as st } from "./shared/graphql/GatewayContext.js";
|
|
21
|
+
import { useHasAuthToken as ct } from "./shared/graphql/useHasAuthToken.js";
|
|
22
|
+
import { WsLink as lt } from "./shared/graphql/links/ws-link.js";
|
|
23
|
+
import { ApolloClient as ut, ApolloProvider as dt, InMemoryCache as ft, gql as pt, useApolloClient as mt, useLazyQuery as ht, useMutation as gt, useQuery as _t, useSubscription as vt } from "./shared-graphql.js";
|
|
24
|
+
import { attemptTokenRefresh as yt, clearAuthSessionStorage as bt, hasAuthGraphQLErrors as xt, isAuthGraphQLError as St, isAuthNetworkError as Ct, redirectToLogin as wt } from "./shared/utils/authErrorHandling.js";
|
|
25
|
+
import { clearSSoCookie as Tt, clearShellSsoCookies as Et, getSSoCookie as Dt, isSharedSsoCookieDomain as Ot, isTrustedSsoOrigin as kt, readShellSsoCookie as At, setSSoCookie as jt, setShellSsoCookies as Mt } from "./shared/utils/authCookie.js";
|
|
26
|
+
import { getNativeBridge as Nt } from "./shared/native/bridge.js";
|
|
27
|
+
import { getPlatform as Pt, isAndroid as Ft, isElectron as It, isIOS as Lt, isInstalledApp as Rt, isNative as zt, isStandalonePWA as Bt, isWeb as Vt, isWebBrowser as Ht } from "./shared/native/platform.js";
|
|
28
|
+
import { SSORedirectSpinner as Ut, checkRemoteSLO as Wt, checkSLO as Gt, clearLocalAuthState as Kt, getSSORedirectUrl as qt } from "./shared/components/SSORedirectGuard.js";
|
|
29
|
+
import { SSO_DEPOSITED_PARAM as Jt, beginSsoNavigation as Yt, buildSsoDepositUrl as Xt, clearSsoDepositState as Zt, clearSsoNavigation as Qt, consumeSsoDepositMarker as $t, isSsoNavigationPending as en, markSsoDepositDone as tn, markSsoDepositPending as nn, mintSsoSessionTokens as rn, readSsoDepositState as an, shouldAttemptSsoDeposit as on } from "./shared/utils/ssoDeposit.js";
|
|
30
|
+
import { AppInitializer as sn, useRegistryHelpers as cn, useShellNavigate as ln } from "./shared/utils/appHelpers.js";
|
|
31
|
+
import { LogLevel as un } from "./shared/logger/types.js";
|
|
32
|
+
import { Logger as dn } from "./shared/logger/Logger.js";
|
|
33
|
+
import { LogManager as fn, logManager as pn } from "./shared/logger/LogManager.js";
|
|
34
|
+
import { ConsoleTransport as mn } from "./shared/logger/ConsoleTransport.js";
|
|
35
|
+
import { clearUserContext as hn, initializeLogger as gn, setUserContext as _n } from "./shared/utils/loggerInit.js";
|
|
36
|
+
import { createProfileScopedStorage as vn, getProfileScopedKey as yn } from "./shared/utils/profileScopedStorage.js";
|
|
37
|
+
import { QUOTA_EXHAUSTED_CODE as bn, RESOURCE_CAP_EXCEEDED_CODE as xn, STORAGE_QUOTA_EXCEEDED_CODE as Sn, UPGRADE_ERROR_CODES as Cn, buildQuotaExhaustedMessage as wn, extractQuotaExhaustedExtensions as Tn, extractUpgradeErrorExtensions as En, isQuotaExhaustedError as Dn, isUpgradeError as On } from "./shared/utils/quotaErrors.js";
|
|
38
|
+
import { cn as kn } from "./shared-utils.js";
|
|
39
|
+
import { nativeActionSheet as An, nativeConfirm as jn, nativeCopyText as Mn, nativeImpact as Nn, nativeNotify as Pn, nativeOpenUrl as Fn, nativeSelection as In, nativeShare as Ln, nativeToast as Rn } from "./shared/native/consumers.js";
|
|
40
|
+
import { SafeAreaView as zn } from "./shared/native/SafeAreaView.js";
|
|
41
|
+
import { readInitialNetworkStatus as Bn, reduceNetworkStatus as Vn, useNetworkStatus as Hn } from "./shared/native/hooks/useNetworkStatus.js";
|
|
42
|
+
import { PULL_TO_REFRESH_THRESHOLD as Un, computePullOffset as Wn, computePullProgress as Gn, usePullToRefresh as Kn } from "./shared/native/hooks/usePullToRefresh.js";
|
|
43
|
+
import { ActorIdentity as qn } from "./shared/actors/ActorIdentity.js";
|
|
44
|
+
import { buildActorFallback as Jn, useActorProfiles as Yn } from "./shared/actors/useActorProfiles.js";
|
|
45
|
+
import { ErrorBoundary as Xn } from "./shared/components/ErrorBoundary.js";
|
|
46
|
+
import { RequireAuth as Zn, RequireGuest as Qn } from "./shared/components/RequireAuth.js";
|
|
47
|
+
import { PermissionButton as $n, PermissionGate as er, PermissionLink as tr } from "./shared/components/PermissionGate.js";
|
|
48
|
+
import { AccessDenied as nr, PermissionDenied as rr } from "./shared/components/AccessDenied.js";
|
|
49
|
+
import { ErrorFallback as ir } from "./shared/components/ErrorFallback.js";
|
|
50
|
+
import { LoadingFallback as ar, PageLoadingFallback as or, SectionLoadingFallback as sr } from "./shared/components/LoadingFallback.js";
|
|
51
|
+
import { MicrofrontendErrorBoundary as cr } from "./shared/components/MicrofrontendErrorBoundary.js";
|
|
52
|
+
import { ConditionalShell as lr } from "./shared/components/ConditionalShell.js";
|
|
53
|
+
import { usePWA as ur } from "./shared/hooks/usePWA.js";
|
|
54
|
+
import { PWAInstallBanner as dr } from "./shared/components/PWAInstallBanner.js";
|
|
55
|
+
import { ErrorBoundary as fr } from "./shared/components/AppErrorBoundary.js";
|
|
56
|
+
import { FeatureFlagProvider as pr, useFeatureFlags as mr } from "./shared/feature-flags/FeatureFlagProvider.js";
|
|
57
|
+
import { useFeatureFlag as hr, useFeatureFlagDetails as gr, useFeatureFlagValue as _r } from "./shared/feature-flags/useFeatureFlag.js";
|
|
58
|
+
import { FeatureGate as vr } from "./shared/feature-flags/FeatureGate.js";
|
|
58
59
|
import "./shared-feature-flags.js";
|
|
59
|
-
import { ContextConversationWidget as
|
|
60
|
-
import { detectPlatform as
|
|
61
|
-
import { KeyboardHelpDialogWrapper as
|
|
62
|
-
import { QuotaMeter as
|
|
63
|
-
import { UPGRADE_PROMPT_EVENT as
|
|
64
|
-
import { UpgradeInlineBanner as
|
|
65
|
-
import { useVoiceInput as
|
|
66
|
-
import { ASSISTANT_WIDGET_TOGGLE_EVENT as
|
|
67
|
-
import { Markdown as
|
|
68
|
-
import { useNativePlatform as
|
|
69
|
-
import { useSafeArea as
|
|
70
|
-
import { useNativeKeyboard as
|
|
71
|
-
import { useAppState as
|
|
72
|
-
import { useDeviceInfo as
|
|
73
|
-
import { useHaptics as
|
|
74
|
-
import { useStatusBar as
|
|
75
|
-
import { resolveActionSheetOutcome as
|
|
76
|
-
import { useDesktop as
|
|
77
|
-
import { useDesktopUpdateState as
|
|
78
|
-
import { useDesktopWindowState as
|
|
79
|
-
import { DesktopUpdateToast as
|
|
60
|
+
import { ContextConversationWidget as yr } from "./shared/components/ContextConversationWidget.js";
|
|
61
|
+
import { detectPlatform as br, formatKeyCombo as xr, getDisplayKeysForPlatform as Sr, getShortcutLabel as Cr, isMac as wr, isMobileDevice as Tr, isTabletDevice as Er, matchesKeyCombo as Dr, normalizeKey as Or, normalizePlatformCombo as kr, parseKeyCombo as Ar, shouldEnableKeyboardShortcuts as jr, shouldIgnoreShortcut as Mr } from "./shared/keyboard/utils.js";
|
|
62
|
+
import { KeyboardHelpDialogWrapper as Nr } from "./shared/components/KeyboardHelpDialogWrapper.js";
|
|
63
|
+
import { QuotaMeter as Pr } from "./shared/components/QuotaMeter.js";
|
|
64
|
+
import { UPGRADE_PROMPT_EVENT as Fr, UpgradePromptModal as Ir, dispatchUpgradePrompt as Lr } from "./shared/components/UpgradePromptModal.js";
|
|
65
|
+
import { UpgradeInlineBanner as Rr } from "./shared/components/UpgradeInlineBanner.js";
|
|
66
|
+
import { useVoiceInput as zr } from "./shared/components/assistantWidget/useVoiceInput.js";
|
|
67
|
+
import { ASSISTANT_WIDGET_TOGGLE_EVENT as Br, AssistantWidget as Vr } from "./shared/components/assistantWidget/AssistantWidget.js";
|
|
68
|
+
import { Markdown as Hr } from "./shared/components/Markdown.js";
|
|
69
|
+
import { useNativePlatform as Ur } from "./shared/native/hooks/useNativePlatform.js";
|
|
70
|
+
import { useSafeArea as Wr } from "./shared/native/hooks/useSafeArea.js";
|
|
71
|
+
import { useNativeKeyboard as Gr } from "./shared/native/hooks/useNativeKeyboard.js";
|
|
72
|
+
import { useAppState as Kr } from "./shared/native/hooks/useAppState.js";
|
|
73
|
+
import { useDeviceInfo as qr } from "./shared/native/hooks/useDeviceInfo.js";
|
|
74
|
+
import { useHaptics as Jr } from "./shared/native/hooks/useHaptics.js";
|
|
75
|
+
import { useStatusBar as Yr } from "./shared/native/hooks/useStatusBar.js";
|
|
76
|
+
import { resolveActionSheetOutcome as Xr, useActionSheet as Zr } from "./shared/native/hooks/useActionSheet.js";
|
|
77
|
+
import { useDesktop as Qr } from "./shared/native/hooks/useDesktop.js";
|
|
78
|
+
import { useDesktopUpdateState as $r } from "./shared/native/hooks/useDesktopUpdateState.js";
|
|
79
|
+
import { useDesktopWindowState as ei } from "./shared/native/hooks/useDesktopWindowState.js";
|
|
80
|
+
import { DesktopUpdateToast as ti } from "./shared/components/DesktopUpdateToast.js";
|
|
80
81
|
import "./shared-components.js";
|
|
81
|
-
import { DevtoolsSink as
|
|
82
|
-
import { BroadcastChannelSink as
|
|
83
|
-
import { BackendAuditSink as
|
|
84
|
-
import { AnalyticsConsentBanner as
|
|
85
|
-
import { OtelBrowserSink as
|
|
86
|
-
import { EventBusProvider as
|
|
87
|
-
import { useDebounce as
|
|
88
|
-
import { useThrottle as
|
|
89
|
-
import { BREAKPOINTS as
|
|
90
|
-
import { useOnClickOutside as
|
|
91
|
-
import { useKeyPress as
|
|
92
|
-
import { useExclusiveMenu as
|
|
93
|
-
import { useLocalStorage as
|
|
94
|
-
import { useSessionStorage as
|
|
95
|
-
import { usePrevious as
|
|
96
|
-
import { useConditionalToggle as
|
|
97
|
-
import { usePagination as
|
|
98
|
-
import { useAsync as
|
|
99
|
-
import { MODIFIER_KEYS as
|
|
100
|
-
import { useKeyboardShortcuts as
|
|
101
|
-
import { useHotkeys as
|
|
102
|
-
import { useShortcutHelp as
|
|
103
|
-
import { GLOBAL_SHORTCUT_CATEGORIES as
|
|
104
|
-
import { useLogger as
|
|
105
|
-
import { useHasAnimated as
|
|
106
|
-
import { useReferralAttribution as
|
|
107
|
-
import { useRecordProductVisit as
|
|
108
|
-
import { PUSH_DEVICE_ID_STORAGE_KEY as
|
|
109
|
-
import { usePushDeviceRegistration as
|
|
110
|
-
import { QUOTA_EXHAUSTED_EVENT as
|
|
111
|
-
import { PLAN_USAGE_SNAPSHOT_EVENT as
|
|
112
|
-
import { appendContextToPath as
|
|
113
|
-
import { MicrofrontendContext as
|
|
114
|
-
import { detectDeviceType as
|
|
115
|
-
import { useTourPlayer as
|
|
116
|
-
import { TourSpotlight as
|
|
117
|
-
import { TourTooltip as
|
|
118
|
-
import { TourPlayerProvider as
|
|
119
|
-
import { TourPlayer as
|
|
120
|
-
import { getTourContextRank as
|
|
121
|
-
import { withTourProgressStatus as
|
|
122
|
-
import { ToursProvider as
|
|
123
|
-
import { TourInitializer as
|
|
124
|
-
import { AppShellProvider as
|
|
125
|
-
import { MicrofrontendProvider as
|
|
126
|
-
import { TourTrigger as
|
|
82
|
+
import { DevtoolsSink as ni } from "./shared/events/sinks/DevtoolsSink.js";
|
|
83
|
+
import { BroadcastChannelSink as ri } from "./shared/events/sinks/BroadcastChannelSink.js";
|
|
84
|
+
import { BackendAuditSink as ii } from "./shared/events/sinks/BackendAuditSink.js";
|
|
85
|
+
import { AnalyticsConsentBanner as ai, RybbitSink as oi, readAnalyticsConsent as si, readAnalyticsConsentChoice as ci, setAnalyticsConsent as li } from "./shared/events/sinks/RybbitSink.js";
|
|
86
|
+
import { OtelBrowserSink as ui } from "./shared/events/sinks/OtelBrowserSink.js";
|
|
87
|
+
import { EventBusProvider as di, createEventBus as fi, useEvent as pi, useEventBus as mi, useEventEmitter as hi } from "./shared-events.js";
|
|
88
|
+
import { useDebounce as gi } from "./shared/hooks/useDebounce.js";
|
|
89
|
+
import { useThrottle as _i } from "./shared/hooks/useThrottle.js";
|
|
90
|
+
import { BREAKPOINTS as vi, useBreakpoint as yi, useMobileBreakpoint as bi } from "./shared/hooks/useBreakpoint.js";
|
|
91
|
+
import { useOnClickOutside as xi, useOnClickOutsideWithRef as Si } from "./shared/hooks/useOnClickOutside.js";
|
|
92
|
+
import { useKeyPress as Ci, useKeyboardShortcut as wi } from "./shared/hooks/useKeyPress.js";
|
|
93
|
+
import { useExclusiveMenu as Ti } from "./shared/hooks/useExclusiveMenu.js";
|
|
94
|
+
import { useLocalStorage as Ei } from "./shared/hooks/useLocalStorage.js";
|
|
95
|
+
import { useSessionStorage as Di } from "./shared/hooks/useSessionStorage.js";
|
|
96
|
+
import { usePrevious as Oi, usePreviousDistinct as ki, usePreviousHistory as Ai } from "./shared/hooks/usePrevious.js";
|
|
97
|
+
import { useConditionalToggle as ji, useToggle as Mi, useToggleObject as Ni } from "./shared/hooks/useToggle.js";
|
|
98
|
+
import { usePagination as Pi } from "./shared/hooks/usePagination.js";
|
|
99
|
+
import { useAsync as Fi, useAsyncImmediate as Ii } from "./shared/hooks/useAsync.js";
|
|
100
|
+
import { MODIFIER_KEYS as Li, PLATFORM_TYPES as Ri } from "./shared/keyboard/types.js";
|
|
101
|
+
import { useKeyboardShortcuts as zi } from "./shared/keyboard/useKeyboardShortcuts.js";
|
|
102
|
+
import { useHotkeys as Bi } from "./shared/keyboard/useHotkeys.js";
|
|
103
|
+
import { useShortcutHelp as Vi } from "./shared/keyboard/useShortcutHelp.js";
|
|
104
|
+
import { GLOBAL_SHORTCUT_CATEGORIES as Hi, createGlobalShortcuts as Ui, getGlobalShortcutsByCategory as Wi, mergeShortcuts as Gi } from "./shared/keyboard/globalShortcuts.js";
|
|
105
|
+
import { useLogger as Ki } from "./shared/logger/useLogger.js";
|
|
106
|
+
import { useHasAnimated as qi } from "./shared/hooks/useHasAnimated.js";
|
|
107
|
+
import { useReferralAttribution as Ji } from "./shared/hooks/useReferralAttribution.js";
|
|
108
|
+
import { useRecordProductVisit as Yi } from "./shared/hooks/useRecordProductVisit.js";
|
|
109
|
+
import { PUSH_DEVICE_ID_STORAGE_KEY as Xi, getOrCreatePushDeviceId as Zi, registerPushDevice as Qi, unregisterPushDevice as $i } from "./shared/native/push-registration.js";
|
|
110
|
+
import { usePushDeviceRegistration as ea } from "./shared/hooks/usePushDeviceRegistration.js";
|
|
111
|
+
import { QUOTA_EXHAUSTED_EVENT as ta, dispatchQuotaExhausted as na, useQuotaErrorToast as ra } from "./shared/hooks/useQuotaErrorToast.js";
|
|
112
|
+
import { PLAN_USAGE_SNAPSHOT_EVENT as ia, publishPlanUsageSnapshot as aa, useUpgradePrompt as oa } from "./shared/hooks/useUpgradePrompt.js";
|
|
113
|
+
import { appendContextToPath as sa, useCurrentContextSearchParams as ca } from "./shared/hooks/useCurrentContextSearchParams.js";
|
|
114
|
+
import { MicrofrontendContext as la, useMicrofrontendContext as ua } from "./shared-hooks.js";
|
|
115
|
+
import { detectDeviceType as da, getResponsiveSelector as fa } from "./shared/tours/types.js";
|
|
116
|
+
import { useTourPlayer as pa } from "./shared/tours/useTourPlayer.js";
|
|
117
|
+
import { TourSpotlight as ma } from "./shared/tours/TourSpotlight.js";
|
|
118
|
+
import { TourTooltip as ha } from "./shared/tours/TourTooltip.js";
|
|
119
|
+
import { TourPlayerProvider as ga, useIsTourPlaying as _a, useStartTour as va, useStopTour as ya, useTourPlayerContext as ba } from "./shared/tours/TourPlayerProvider.js";
|
|
120
|
+
import { TourPlayer as xa, TourTriggerButton as Sa, usePlayTour as Ca } from "./shared/tours/TourPlayer.js";
|
|
121
|
+
import { getTourContextRank as wa, getTourRouteCatalog as Ta, getTourRouteModules as Ea, getTourRoutePages as Da, isTourVisibleForContext as Oa, normalizeTourPath as ka, registerTourRouteCatalog as Aa, resolveTourTargetPath as ja } from "./shared/tours/routeCatalog.js";
|
|
122
|
+
import { withTourProgressStatus as Ma } from "./shared/tours/progress.js";
|
|
123
|
+
import { ToursProvider as Na, useAutoStartTour as Pa, useSafeToursContext as Fa, useTours as Ia, useToursContext as La } from "./shared/tours/ToursContext.js";
|
|
124
|
+
import { TourInitializer as Ra } from "./shared/tours/TourInitializer.js";
|
|
125
|
+
import { AppShellProvider as za, resolveAppShellObservabilityConfig as Ba } from "./shared/providers/AppShellProvider.js";
|
|
126
|
+
import { MicrofrontendProvider as Va } from "./shared-providers.js";
|
|
127
|
+
import { TourTrigger as Ha } from "./shared/tours/TourTrigger.js";
|
|
127
128
|
import "./shared-tours.js";
|
|
128
|
-
import { acknowledgeNativePurchase as
|
|
129
|
-
import { getNativeEntryRoutes as
|
|
130
|
-
import { getPushOptInController as
|
|
129
|
+
import { acknowledgeNativePurchase as Ua, getNativeProducts as Wa, getNativePurchases as Ga, installNativeIAP as Ka, isNativeIAPAvailable as qa, purchaseNativeProduct as Ja, restoreNativePurchases as Ya } from "./shared/native/purchases.js";
|
|
130
|
+
import { getNativeEntryRoutes as Xa, shouldShowNativeWelcome as Za } from "./shared/native/entry.js";
|
|
131
|
+
import { getPushOptInController as Qa, registerPushOptInController as $a } from "./shared/native/push-optin.js";
|
|
131
132
|
import "./shared-native.js";
|
|
132
133
|
import "./shared/actors/index.js";
|
|
133
134
|
//#region src/shared/index.ts
|
|
134
|
-
var
|
|
135
|
+
var eo = "1.0.0";
|
|
135
136
|
//#endregion
|
|
136
|
-
export {
|
|
137
|
+
export { Br as ASSISTANT_WIDGET_TOGGLE_EVENT, nr as AccessDenied, qn as ActorIdentity, ai as AnalyticsConsentBanner, ut as ApolloClient, dt as ApolloProvider, fr as AppErrorBoundary, sn as AppInitializer, za as AppShellProvider, Vr as AssistantWidget, Ne as BACKEND_ERROR_EVENT, vi as BREAKPOINTS, ii as BackendAuditSink, ri as BroadcastChannelSink, be as COMMON_SHELL_LESS_ROUTES, Pe as CONNECTION_STATUS_EVENT, lr as ConditionalShell, mn as ConsoleTransport, yr as ContextConversationWidget, Ee as DEFAULT_PAGE_SIZE, xe as DEFAULT_SHELL_CONFIG, R as DESKTOP_UPDATE_UNSUPPORTED, z as DESKTOP_WINDOW_STATE_DEFAULT, ti as DesktopUpdateToast, ni as DevtoolsSink, Xn as ErrorBoundary, ir as ErrorFallback, di as EventBusProvider, eo as FE_SHARED_VERSION, pr as FeatureFlagProvider, vr as FeatureGate, De as GATEWAYS, Hi as GLOBAL_SHORTCUT_CATEGORIES, rt as GatewayProvider, ft as InMemoryCache, Nr as KeyboardHelpDialogWrapper, ar as LoadingFallback, un as LogLevel, fn as LogManager, dn as Logger, Li as MODIFIER_KEYS, Hr as Markdown, la as MicrofrontendContext, cr as MicrofrontendErrorBoundary, Va as MicrofrontendProvider, ui as OtelBrowserSink, ia as PLAN_USAGE_SNAPSHOT_EVENT, Ri as PLATFORM_TYPES, ge as PRODUCTS, _e as PRODUCT_URLS, Un as PULL_TO_REFRESH_THRESHOLD, Xi as PUSH_DEVICE_ID_STORAGE_KEY, dr as PWAInstallBanner, or as PageLoadingFallback, $n as PermissionButton, rr as PermissionDenied, er as PermissionGate, tr as PermissionLink, bn as QUOTA_EXHAUSTED_CODE, ta as QUOTA_EXHAUSTED_EVENT, Pr as QuotaMeter, xn as RESOURCE_CAP_EXCEEDED_CODE, Zn as RequireAuth, Qn as RequireGuest, oi as RybbitSink, Ze as SSELink, Ut as SSORedirectSpinner, Jt as SSO_DEPOSITED_PARAM, Sn as STORAGE_QUOTA_EXCEEDED_CODE, zn as SafeAreaView, sr as SectionLoadingFallback, Ra as TourInitializer, xa as TourPlayer, ga as TourPlayerProvider, ma as TourSpotlight, ha as TourTooltip, Ha as TourTrigger, Sa as TourTriggerButton, Na as ToursProvider, Cn as UPGRADE_ERROR_CODES, Fr as UPGRADE_PROMPT_EVENT, Rr as UpgradeInlineBanner, Ir as UpgradePromptModal, lt as WsLink, Ua as acknowledgeNativePurchase, r as alertTokens, sa as appendContextToPath, yt as attemptTokenRefresh, Yt as beginSsoNavigation, B as bootDesktopShell, Jn as buildActorFallback, wn as buildQuotaExhaustedMessage, Xt as buildSsoDepositUrl, m as capitalizeFirst, h as capitalizeWords, i as categoryTokens, Wt as checkRemoteSLO, Gt as checkSLO, bt as clearAuthSessionStorage, He as clearGraphqlFetchResponseCache, Kt as clearLocalAuthState, Tt as clearSSoCookie, Et as clearShellSsoCookies, Zt as clearSsoDepositState, Qt as clearSsoNavigation, hn as clearUserContext, kn as cn, Wn as computePullOffset, Gn as computePullProgress, $t as consumeSsoDepositMarker, n as createApolloClient, fi as createEventBus, Ui as createGlobalShortcuts, Qe as createGraphQLClient, vn as createProfileScopedStorage, V as desktopCheckForUpdates, H as desktopDeepLinkToPath, U as desktopInstallUpdate, W as desktopNotify, G as desktopOpenExternal, K as desktopSetBadgeCount, q as desktopSetLocale, J as desktopSetTheme, Y as desktopSetTrayQuickActions, da as detectDeviceType, br as detectPlatform, Fe as dispatchBackendErrorEvent, na as dispatchQuotaExhausted, Lr as dispatchUpgradePrompt, Ie as extractBackendError, Tn as extractQuotaExhaustedExtensions, En as extractUpgradeErrorExtensions, g as formatBytes, _ as formatCompactNumber, v as formatCurrency, y as formatCurrencyCompact, b as formatDate, x as formatDateTime, S as formatDuration, xr as formatKeyCombo, C as formatList, w as formatNumber, T as formatOrdinal, E as formatPercentage, D as formatRelativeTime, O as formatTime, a as getAlertTokens, I as getCapacitorPlatform, o as getCategoryTokens, X as getDesktopAuthBridgeConfig, Z as getDesktopBridge, Q as getDesktopGatewayBases, $ as getDesktopGatewayUrls, ee as getDesktopRuntimeConfig, te as getDesktopUpdateState, ne as getDesktopWindowState, Sr as getDisplayKeysForPlatform, Oe as getGatewayConfig, ke as getGatewayUrl, $e as getGlobalClient, Wi as getGlobalShortcutsByCategory, Ae as getGraphQLEndpoint, re as getLegacyDesktopRuntime, Nt as getNativeBridge, Xa as getNativeEntryRoutes, Wa as getNativeProducts, Ga as getNativePurchases, Zi as getOrCreatePushDeviceId, Pt as getPlatform, ve as getProductUrl, ye as getProductsWithUrls, yn as getProfileScopedKey, s as getProgressTokens, Qa as getPushOptInController, fa as getResponsiveSelector, qt as getSSORedirectUrl, Dt as getSSoCookie, Se as getShellConfig, Cr as getShortcutLabel, c as getStatusBadgeTokens, l as getStatusTokens, Ue as getStoredAuthToken, We as getStoredLocale, Ge as getStoredOrganizationId, Ke as getStoredProjectId, qe as getStoredWorkspaceId, Je as getStoredWorkspaceToken, wa as getTourContextRank, Ta as getTourRouteCatalog, Ea as getTourRouteModules, Da as getTourRoutePages, u as getTrendTokens, et as getWorkspaceClient, je as getWorkspaceTokenPayload, pt as gql, Ye as graphqlFetch, xt as hasAuthGraphQLErrors, tt as initializeAppClients, gn as initializeLogger, ie as installDesktopDeepLinkHandler, ae as installDesktopNavigateHandler, de as installGatewayFetchRewrite, Ka as installNativeIAP, Le as isAbortError, Ft as isAndroid, St as isAuthGraphQLError, Ct as isAuthNetworkError, Re as isBackendErrorDisplay, L as isCapacitorNative, P as isChunkLoadError, oe as isDesktop, It as isElectron, Lt as isIOS, Rt as isInstalledApp, wr as isMac, Tr as isMobileDevice, zt as isNative, qa as isNativeIAPAvailable, Dn as isQuotaExhaustedError, Ot as isSharedSsoCookieDomain, Ce as isShellLessRoute, en as isSsoNavigationPending, Bt as isStandalonePWA, Er as isTabletDevice, Oa as isTourVisibleForContext, ze as isTransportError, kt as isTrustedSsoOrigin, On as isUpgradeError, Vt as isWeb, Ht as isWebBrowser, Me as isWorkspaceTokenValidForContext, F as lazyWithRetry, pn as logManager, Be as markConnectionHealthy, tn as markSsoDepositDone, nn as markSsoDepositPending, Dr as matchesKeyCombo, Gi as mergeShortcuts, rn as mintSsoSessionTokens, An as nativeActionSheet, jn as nativeConfirm, Mn as nativeCopyText, Nn as nativeImpact, Pn as nativeNotify, Fn as nativeOpenUrl, In as nativeSelection, Ln as nativeShare, Rn as nativeToast, Or as normalizeKey, kr as normalizePlatformCombo, ka as normalizeTourPath, se as onDesktopUpdateState, ce as onDesktopWindowState, Ar as parseKeyCombo, k as pluralize, d as progressTokens, aa as publishPlanUsageSnapshot, Ja as purchaseNativeProduct, si as readAnalyticsConsent, ci as readAnalyticsConsentChoice, Bn as readInitialNetworkStatus, At as readShellSsoCookie, an as readSsoDepositState, wt as redirectToLogin, Vn as reduceNetworkStatus, le as registerDesktopNavigator, Qi as registerPushDevice, $a as registerPushOptInController, Aa as registerTourRouteCatalog, nt as resetAppClients, Xr as resolveActionSheetOutcome, Ba as resolveAppShellObservabilityConfig, me as resolveAuthBridgeConfig, fe as resolveGatewayBases, Xe as resolveGatewayUrl, ue as resolveGatewayUrls, he as resolveShellAuthBridgeConfig, ja as resolveTourTargetPath, Ya as restoreNativePurchases, li as setAnalyticsConsent, jt as setSSoCookie, Mt as setShellSsoCookies, _n as setUserContext, on as shouldAttemptSsoDeposit, jr as shouldEnableKeyboardShortcuts, Mr as shouldIgnoreShortcut, we as shouldShowBreadcrumb, Za as shouldShowNativeWelcome, Te as shouldShowSidebar, Ve as shouldToastBackendError, A as slugify, f as statusTokens, pe as suppressConsole, j as toCamelCase, M as toPascalCase, p as trendTokens, N as truncateText, $i as unregisterPushDevice, Zr as useActionSheet, Yn as useActorProfiles, mt as useApolloClient, Kr as useAppState, Fi as useAsync, Ii as useAsyncImmediate, Pa as useAutoStartTour, yi as useBreakpoint, ji as useConditionalToggle, e as useCopyToClipboard, ca as useCurrentContextSearchParams, gi as useDebounce, Qr as useDesktop, $r as useDesktopUpdateState, ei as useDesktopWindowState, qr as useDeviceInfo, pi as useEvent, mi as useEventBus, hi as useEventEmitter, Ti as useExclusiveMenu, hr as useFeatureFlag, gr as useFeatureFlagDetails, _r as useFeatureFlagValue, mr as useFeatureFlags, it as useGateway, at as useGatewayClient, Jr as useHaptics, qi as useHasAnimated, ct as useHasAuthToken, Bi as useHotkeys, _a as useIsTourPlaying, Ci as useKeyPress, wi as useKeyboardShortcut, zi as useKeyboardShortcuts, ht as useLazyQuery, Ei as useLocalStorage, Ki as useLogger, t as useMediaQuery, ua as useMicrofrontendContext, bi as useMobileBreakpoint, gt as useMutation, Gr as useNativeKeyboard, Ur as useNativePlatform, Hn as useNetworkStatus, xi as useOnClickOutside, Si as useOnClickOutsideWithRef, ur as usePWA, Pi as usePagination, Ca as usePlayTour, Oi as usePrevious, ki as usePreviousDistinct, Ai as usePreviousHistory, Kn as usePullToRefresh, ea as usePushDeviceRegistration, _t as useQuery, ra as useQuotaErrorToast, Yi as useRecordProductVisit, Ji as useReferralAttribution, cn as useRegistryHelpers, Wr as useSafeArea, ot as useSafeGateway, st as useSafeGatewayClient, Fa as useSafeToursContext, Di as useSessionStorage, ln as useShellNavigate, Vi as useShortcutHelp, va as useStartTour, Yr as useStatusBar, ya as useStopTour, vt as useSubscription, _i as useThrottle, Mi as useToggle, Ni as useToggleObject, pa as useTourPlayer, ba as useTourPlayerContext, Ia as useTours, La as useToursContext, oa as useUpgradePrompt, zr as useVoiceInput, Ma as withTourProgressStatus };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burdenoff/fe-libs",
|
|
3
|
-
"version": "2026.904.
|
|
3
|
+
"version": "2026.904.3",
|
|
4
4
|
"description": "Burdenoff frontend primitives and domain libraries",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -303,7 +303,7 @@
|
|
|
303
303
|
"format": "prettier --config shared/config/prettier.config.mjs --write \"src/**/*.{ts,tsx}\" \"!src/config/*.config.ts\"",
|
|
304
304
|
"type:check": "bash scripts/build-limits.sh tsc --noEmit",
|
|
305
305
|
"test:package-css-exports": "node scripts/validate-package-css-exports.mjs",
|
|
306
|
-
"test": "bun test scripts/graphql-schema-drift/__tests__ scripts/a11y-audit/__tests__ src/credentials src/storage src/shared/assistant src/shared/graphql/links/sse-link.test.ts src/shared/providers/AppShellProvider.test.ts src/shared/events/sinks/RybbitSink.test.ts src/shell-native src/shared/native src/chrome/__tests__ src/ui/__tests__",
|
|
306
|
+
"test": "bun test scripts/graphql-schema-drift/__tests__ scripts/a11y-audit/__tests__ src/credentials src/storage src/shared/assistant src/shared/graphql/links/sse-link.test.ts src/shared/config/gatewayUrls.test.ts src/shared/config/authBridgeUrls.test.ts src/shared/config/gatewayFallback.test.ts src/shared/utils/gatewayFetchRewrite.test.ts src/shared/utils/authCookie.test.ts src/shared/providers/AppShellProvider.test.ts src/shared/events/sinks/RybbitSink.test.ts src/shell-native src/shared/native src/chrome/__tests__ src/ui/__tests__",
|
|
307
307
|
"sanity": "bash scripts/build-limits.sh --gate bash -c 'bun run lint:sanity && bun run format && bun run type:check && bun run test && bun run build'",
|
|
308
308
|
"switch:status": "bun scripts/deps-mode.ts status",
|
|
309
309
|
"switch:remote": "bun scripts/deps-mode.ts remote",
|