@burdenoff/fe-libs 2026.529.2 → 2026.529.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/graphql/client.d.ts.map +1 -1
- package/dist/shared/graphql/client.js +95 -83
- package/dist/shared/graphql/fetch.d.ts.map +1 -1
- package/dist/shared/graphql/fetch.js +130 -107
- package/dist/shared/providers/AppShellProvider.d.ts.map +1 -1
- package/dist/shared/providers/AppShellProvider.js +215 -181
- package/dist/shared/tours/toursContext/useTourMutations.js +29 -29
- package/dist/shared/utils/backendErrors.d.ts.map +1 -1
- package/dist/shared/utils/backendErrors.js +121 -0
- package/dist/shared/utils/index.d.ts +4 -2
- package/dist/shared/utils/index.d.ts.map +1 -1
- package/dist/shared/utils/quotaErrors.js +11 -8
- package/dist/shared-tours.js +3 -3
- package/dist/shared-utils.js +12 -11
- package/dist/shared.js +96 -95
- package/dist/utils/index.js +1 -0
- package/package.json +1 -1
package/dist/shared.js
CHANGED
|
@@ -10,105 +10,106 @@ import { PRODUCTS as B, PRODUCT_URLS as V, getProductUrl as H, getProductsWithUr
|
|
|
10
10
|
import { COMMON_SHELL_LESS_ROUTES as W, DEFAULT_SHELL_CONFIG as G, getShellConfig as K, isShellLessRoute as q, shouldShowBreadcrumb as J, shouldShowSidebar as Y } from "./shared/config/shellRoutes.js";
|
|
11
11
|
import { DEFAULT_PAGE_SIZE as X, GATEWAYS as Z, getGatewayConfig as Q, getGatewayUrl as $, getGraphQLEndpoint as ee } from "./shared-config.js";
|
|
12
12
|
import { getWorkspaceTokenPayload as te, isWorkspaceTokenValidForContext as ne } from "./shared/graphql/workspaceToken.js";
|
|
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 {
|
|
13
|
+
import { BACKEND_ERROR_EVENT as re, dispatchBackendErrorEvent as ie, extractBackendError as ae, isBackendErrorDisplay as oe, shouldToastBackendError as se } from "./shared/utils/backendErrors.js";
|
|
14
|
+
import { getStoredAuthToken as ce, getStoredLocale as le, getStoredOrganizationId as ue, getStoredWorkspaceId as de, getStoredWorkspaceToken as fe, graphqlFetch as pe, resolveGatewayUrl as me } from "./shared/graphql/fetch.js";
|
|
15
|
+
import { SSELink as he } from "./shared/graphql/links/sse-link.js";
|
|
16
|
+
import { createGraphQLClient as ge, getGlobalClient as _e, getWorkspaceClient as ve, initializeAppClients as ye, resetAppClients as be } from "./shared/graphql/client.js";
|
|
17
|
+
import { GatewayProvider as xe, useGateway as Se, useGatewayClient as Ce, useSafeGateway as we, useSafeGatewayClient as Te } from "./shared/graphql/GatewayContext.js";
|
|
18
|
+
import { ApolloClient as Ee, ApolloProvider as De, InMemoryCache as Oe, gql as ke, useApolloClient as Ae, useLazyQuery as je, useMutation as Me, useQuery as Ne, useSubscription as Pe } from "./shared-graphql.js";
|
|
19
|
+
import { attemptTokenRefresh as Fe, clearAuthSessionStorage as Ie, hasAuthGraphQLErrors as Le, isAuthGraphQLError as Re, isAuthNetworkError as ze, redirectToLogin as Be } from "./shared/utils/authErrorHandling.js";
|
|
20
|
+
import { clearSSoCookie as Ve, clearShellSsoCookies as He, getSSoCookie as Ue, isSharedSsoCookieDomain as We, isTrustedSsoOrigin as Ge, readShellSsoCookie as Ke, setSSoCookie as qe, setShellSsoCookies as Je } from "./shared/utils/authCookie.js";
|
|
21
|
+
import { SSORedirectSpinner as Ye, checkRemoteSLO as Xe, checkSLO as Ze, clearLocalAuthState as Qe, getSSORedirectUrl as $e } from "./shared/components/SSORedirectGuard.js";
|
|
22
|
+
import { AppInitializer as et, useRegistryHelpers as tt, useShellNavigate as nt } from "./shared/utils/appHelpers.js";
|
|
23
|
+
import { LogLevel as rt } from "./shared/logger/types.js";
|
|
24
|
+
import { Logger as it } from "./shared/logger/Logger.js";
|
|
25
|
+
import { LogManager as at, logManager as ot } from "./shared/logger/LogManager.js";
|
|
26
|
+
import { ConsoleTransport as st } from "./shared/logger/ConsoleTransport.js";
|
|
27
|
+
import { clearUserContext as ct, initializeLogger as lt, setUserContext as ut } from "./shared/utils/loggerInit.js";
|
|
28
|
+
import { createProfileScopedStorage as dt, getProfileScopedKey as ft } from "./shared/utils/profileScopedStorage.js";
|
|
29
|
+
import { QUOTA_EXHAUSTED_CODE as pt, RESOURCE_CAP_EXCEEDED_CODE as mt, STORAGE_QUOTA_EXCEEDED_CODE as ht, UPGRADE_ERROR_CODES as gt, buildQuotaExhaustedMessage as _t, extractQuotaExhaustedExtensions as vt, extractUpgradeErrorExtensions as yt, isQuotaExhaustedError as bt, isUpgradeError as xt } from "./shared/utils/quotaErrors.js";
|
|
30
|
+
import { cn as St } from "./shared-utils.js";
|
|
31
|
+
import { ErrorBoundary as Ct } from "./shared/components/ErrorBoundary.js";
|
|
32
|
+
import { RequireAuth as wt, RequireGuest as Tt } from "./shared/components/RequireAuth.js";
|
|
33
|
+
import { PermissionButton as Et, PermissionGate as Dt, PermissionLink as Ot } from "./shared/components/PermissionGate.js";
|
|
34
|
+
import { AccessDenied as kt, PermissionDenied as At } from "./shared/components/AccessDenied.js";
|
|
35
|
+
import { ErrorFallback as jt } from "./shared/components/ErrorFallback.js";
|
|
36
|
+
import { LoadingFallback as Mt, PageLoadingFallback as Nt, SectionLoadingFallback as Pt } from "./shared/components/LoadingFallback.js";
|
|
37
|
+
import { MicrofrontendErrorBoundary as Ft } from "./shared/components/MicrofrontendErrorBoundary.js";
|
|
38
|
+
import { ConditionalShell as It } from "./shared/components/ConditionalShell.js";
|
|
39
|
+
import { usePWA as Lt } from "./shared/hooks/usePWA.js";
|
|
40
|
+
import { PWAInstallBanner as Rt } from "./shared/components/PWAInstallBanner.js";
|
|
41
|
+
import { ErrorBoundary as zt } from "./shared/components/AppErrorBoundary.js";
|
|
42
|
+
import { FeatureFlagProvider as Bt, useFeatureFlags as Vt } from "./shared/feature-flags/FeatureFlagProvider.js";
|
|
43
|
+
import { useFeatureFlag as Ht, useFeatureFlagDetails as Ut, useFeatureFlagValue as Wt } from "./shared/feature-flags/useFeatureFlag.js";
|
|
44
|
+
import { FeatureGate as Gt } from "./shared/feature-flags/FeatureGate.js";
|
|
44
45
|
import "./shared-feature-flags.js";
|
|
45
|
-
import { ContextConversationWidget as
|
|
46
|
-
import { detectPlatform as
|
|
47
|
-
import { KeyboardHelpDialogWrapper as
|
|
48
|
-
import { QuotaMeter as
|
|
49
|
-
import { UPGRADE_PROMPT_EVENT as
|
|
50
|
-
import { UpgradeInlineBanner as
|
|
46
|
+
import { ContextConversationWidget as Kt } from "./shared/components/ContextConversationWidget.js";
|
|
47
|
+
import { detectPlatform as qt, formatKeyCombo as Jt, getDisplayKeysForPlatform as Yt, getShortcutLabel as Xt, isMac as Zt, isMobileDevice as Qt, isTabletDevice as $t, matchesKeyCombo as en, normalizeKey as tn, normalizePlatformCombo as nn, parseKeyCombo as rn, shouldEnableKeyboardShortcuts as an, shouldIgnoreShortcut as on } from "./shared/keyboard/utils.js";
|
|
48
|
+
import { KeyboardHelpDialogWrapper as sn } from "./shared/components/KeyboardHelpDialogWrapper.js";
|
|
49
|
+
import { QuotaMeter as cn } from "./shared/components/QuotaMeter.js";
|
|
50
|
+
import { UPGRADE_PROMPT_EVENT as ln, UpgradePromptModal as un, dispatchUpgradePrompt as dn } from "./shared/components/UpgradePromptModal.js";
|
|
51
|
+
import { UpgradeInlineBanner as fn } from "./shared/components/UpgradeInlineBanner.js";
|
|
51
52
|
import "./shared-components.js";
|
|
52
|
-
import { DevtoolsSink as
|
|
53
|
-
import { BroadcastChannelSink as
|
|
54
|
-
import { BackendAuditSink as
|
|
55
|
-
import { RybbitSink as
|
|
56
|
-
import { OtelBrowserSink as
|
|
57
|
-
import { EventBusProvider as
|
|
58
|
-
import { useDebounce as
|
|
59
|
-
import { useThrottle as
|
|
60
|
-
import { BREAKPOINTS as
|
|
61
|
-
import { useOnClickOutside as
|
|
62
|
-
import { useKeyPress as
|
|
63
|
-
import { useCopyToClipboard as
|
|
64
|
-
import { useLocalStorage as
|
|
65
|
-
import { useSessionStorage as
|
|
66
|
-
import { usePrevious as
|
|
67
|
-
import { useConditionalToggle as
|
|
68
|
-
import { useAsync as
|
|
69
|
-
import { MODIFIER_KEYS as
|
|
70
|
-
import { useKeyboardShortcuts as
|
|
71
|
-
import { useHotkeys as
|
|
72
|
-
import { useShortcutHelp as
|
|
73
|
-
import { GLOBAL_SHORTCUT_CATEGORIES as
|
|
74
|
-
import { useLogger as
|
|
75
|
-
import { useHasAnimated as
|
|
76
|
-
import { useReferralAttribution as
|
|
77
|
-
import { useRecordProductVisit as
|
|
78
|
-
import { QUOTA_EXHAUSTED_EVENT as
|
|
79
|
-
import { PLAN_USAGE_SNAPSHOT_EVENT as
|
|
80
|
-
import { appendContextToPath as
|
|
81
|
-
import { MicrofrontendContext as
|
|
82
|
-
import { detectDeviceType as
|
|
83
|
-
import { useTourPlayer as
|
|
84
|
-
import { TourSpotlight as
|
|
85
|
-
import { TourTooltip as
|
|
86
|
-
import { TourPlayerProvider as
|
|
87
|
-
import { TourPlayer as
|
|
88
|
-
import { getTourContextRank as
|
|
89
|
-
import { withTourProgressStatus as
|
|
90
|
-
import { ToursProvider as
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
53
|
+
import { DevtoolsSink as pn } from "./shared/events/sinks/DevtoolsSink.js";
|
|
54
|
+
import { BroadcastChannelSink as mn } from "./shared/events/sinks/BroadcastChannelSink.js";
|
|
55
|
+
import { BackendAuditSink as hn } from "./shared/events/sinks/BackendAuditSink.js";
|
|
56
|
+
import { RybbitSink as gn } from "./shared/events/sinks/RybbitSink.js";
|
|
57
|
+
import { OtelBrowserSink as _n } from "./shared/events/sinks/OtelBrowserSink.js";
|
|
58
|
+
import { EventBusProvider as vn, createEventBus as yn, useEvent as bn, useEventBus as xn, useEventEmitter as Sn } from "./shared-events.js";
|
|
59
|
+
import { useDebounce as Cn } from "./shared/hooks/useDebounce.js";
|
|
60
|
+
import { useThrottle as wn } from "./shared/hooks/useThrottle.js";
|
|
61
|
+
import { BREAKPOINTS as Tn, useBreakpoint as En, useMobileBreakpoint as Dn } from "./shared/hooks/useBreakpoint.js";
|
|
62
|
+
import { useOnClickOutside as On, useOnClickOutsideWithRef as kn } from "./shared/hooks/useOnClickOutside.js";
|
|
63
|
+
import { useKeyPress as An, useKeyboardShortcut as jn } from "./shared/hooks/useKeyPress.js";
|
|
64
|
+
import { useCopyToClipboard as Mn } from "./shared/hooks/useCopyToClipboard.js";
|
|
65
|
+
import { useLocalStorage as Nn } from "./shared/hooks/useLocalStorage.js";
|
|
66
|
+
import { useSessionStorage as Pn } from "./shared/hooks/useSessionStorage.js";
|
|
67
|
+
import { usePrevious as Fn, usePreviousDistinct as In, usePreviousHistory as Ln } from "./shared/hooks/usePrevious.js";
|
|
68
|
+
import { useConditionalToggle as Rn, useToggle as zn, useToggleObject as Bn } from "./shared/hooks/useToggle.js";
|
|
69
|
+
import { useAsync as Vn, useAsyncImmediate as Hn } from "./shared/hooks/useAsync.js";
|
|
70
|
+
import { MODIFIER_KEYS as Un, PLATFORM_TYPES as Wn } from "./shared/keyboard/types.js";
|
|
71
|
+
import { useKeyboardShortcuts as Gn } from "./shared/keyboard/useKeyboardShortcuts.js";
|
|
72
|
+
import { useHotkeys as Kn } from "./shared/keyboard/useHotkeys.js";
|
|
73
|
+
import { useShortcutHelp as qn } from "./shared/keyboard/useShortcutHelp.js";
|
|
74
|
+
import { GLOBAL_SHORTCUT_CATEGORIES as Jn, createGlobalShortcuts as Yn, getGlobalShortcutsByCategory as Xn, mergeShortcuts as Zn } from "./shared/keyboard/globalShortcuts.js";
|
|
75
|
+
import { useLogger as Qn } from "./shared/logger/useLogger.js";
|
|
76
|
+
import { useHasAnimated as $n } from "./shared/hooks/useHasAnimated.js";
|
|
77
|
+
import { useReferralAttribution as er } from "./shared/hooks/useReferralAttribution.js";
|
|
78
|
+
import { useRecordProductVisit as tr } from "./shared/hooks/useRecordProductVisit.js";
|
|
79
|
+
import { QUOTA_EXHAUSTED_EVENT as nr, dispatchQuotaExhausted as rr, useQuotaErrorToast as ir } from "./shared/hooks/useQuotaErrorToast.js";
|
|
80
|
+
import { PLAN_USAGE_SNAPSHOT_EVENT as ar, publishPlanUsageSnapshot as or, useUpgradePrompt as sr } from "./shared/hooks/useUpgradePrompt.js";
|
|
81
|
+
import { appendContextToPath as cr, useCurrentContextSearchParams as lr } from "./shared/hooks/useCurrentContextSearchParams.js";
|
|
82
|
+
import { MicrofrontendContext as ur, useMicrofrontendContext as dr } from "./shared-hooks.js";
|
|
83
|
+
import { detectDeviceType as fr, getResponsiveSelector as pr } from "./shared/tours/types.js";
|
|
84
|
+
import { useTourPlayer as mr } from "./shared/tours/useTourPlayer.js";
|
|
85
|
+
import { TourSpotlight as hr } from "./shared/tours/TourSpotlight.js";
|
|
86
|
+
import { TourTooltip as gr } from "./shared/tours/TourTooltip.js";
|
|
87
|
+
import { TourPlayerProvider as _r, useIsTourPlaying as vr, useStartTour as yr, useStopTour as br, useTourPlayerContext as xr } from "./shared/tours/TourPlayerProvider.js";
|
|
88
|
+
import { TourPlayer as Sr, TourTriggerButton as Cr, usePlayTour as wr } from "./shared/tours/TourPlayer.js";
|
|
89
|
+
import { getTourContextRank as Tr, getTourRouteCatalog as Er, getTourRouteModules as Dr, getTourRoutePages as Or, isTourVisibleForContext as kr, normalizeTourPath as Ar, registerTourRouteCatalog as jr, resolveTourTargetPath as Mr } from "./shared/tours/routeCatalog.js";
|
|
90
|
+
import { withTourProgressStatus as Nr } from "./shared/tours/progress.js";
|
|
91
|
+
import { ToursProvider as Pr, useAutoStartTour as Fr, useSafeToursContext as Ir, useTours as Lr, useToursContext as Rr } from "./shared/tours/ToursContext.js";
|
|
92
|
+
import { TourInitializer as zr } from "./shared/tours/TourInitializer.js";
|
|
93
|
+
import { AppShellProvider as Br, resolveAppShellObservabilityConfig as Vr } from "./shared/providers/AppShellProvider.js";
|
|
94
|
+
import { MicrofrontendProvider as Hr } from "./shared-providers.js";
|
|
95
|
+
import { TourTrigger as Ur } from "./shared/tours/TourTrigger.js";
|
|
93
96
|
import "./shared-tours.js";
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import { useHaptics as $r } from "./shared/native/hooks/useHaptics.js";
|
|
106
|
-
import { useStatusBar as ei } from "./shared/native/hooks/useStatusBar.js";
|
|
97
|
+
import { getNativeBridge as Wr } from "./shared/native/bridge.js";
|
|
98
|
+
import { getPlatform as Gr, isAndroid as Kr, isIOS as qr, isNative as Jr, isWeb as Yr } from "./shared/native/platform.js";
|
|
99
|
+
import { nativeConfirm as Xr, nativeCopyText as Zr, nativeImpact as Qr, nativeNotify as $r, nativeOpenUrl as ei, nativeShare as ti, nativeToast as ni } from "./shared/native/consumers.js";
|
|
100
|
+
import { SafeAreaView as ri } from "./shared/native/SafeAreaView.js";
|
|
101
|
+
import { useNativePlatform as ii } from "./shared/native/hooks/useNativePlatform.js";
|
|
102
|
+
import { useSafeArea as ai } from "./shared/native/hooks/useSafeArea.js";
|
|
103
|
+
import { useNativeKeyboard as oi } from "./shared/native/hooks/useNativeKeyboard.js";
|
|
104
|
+
import { useAppState as si } from "./shared/native/hooks/useAppState.js";
|
|
105
|
+
import { useDeviceInfo as ci } from "./shared/native/hooks/useDeviceInfo.js";
|
|
106
|
+
import { useHaptics as li } from "./shared/native/hooks/useHaptics.js";
|
|
107
|
+
import { useStatusBar as ui } from "./shared/native/hooks/useStatusBar.js";
|
|
107
108
|
import "./shared-native.js";
|
|
108
|
-
import { buildActorFallback as
|
|
109
|
-
import { ActorIdentity as
|
|
109
|
+
import { buildActorFallback as di, useActorProfiles as fi } from "./shared/actors/useActorProfiles.js";
|
|
110
|
+
import { ActorIdentity as pi } from "./shared/actors/ActorIdentity.js";
|
|
110
111
|
import "./shared/actors/index.js";
|
|
111
112
|
//#region src/shared/index.ts
|
|
112
|
-
var
|
|
113
|
+
var mi = "1.0.0";
|
|
113
114
|
//#endregion
|
|
114
|
-
export {
|
|
115
|
+
export { kt as AccessDenied, pi as ActorIdentity, Ee as ApolloClient, De as ApolloProvider, zt as AppErrorBoundary, et as AppInitializer, Br as AppShellProvider, re as BACKEND_ERROR_EVENT, Tn as BREAKPOINTS, hn as BackendAuditSink, mn as BroadcastChannelSink, W as COMMON_SHELL_LESS_ROUTES, It as ConditionalShell, st as ConsoleTransport, Kt as ContextConversationWidget, X as DEFAULT_PAGE_SIZE, G as DEFAULT_SHELL_CONFIG, pn as DevtoolsSink, Ct as ErrorBoundary, jt as ErrorFallback, vn as EventBusProvider, mi as FE_SHARED_VERSION, Bt as FeatureFlagProvider, Gt as FeatureGate, Z as GATEWAYS, Jn as GLOBAL_SHORTCUT_CATEGORIES, xe as GatewayProvider, Oe as InMemoryCache, sn as KeyboardHelpDialogWrapper, Mt as LoadingFallback, rt as LogLevel, at as LogManager, it as Logger, Un as MODIFIER_KEYS, ur as MicrofrontendContext, Ft as MicrofrontendErrorBoundary, Hr as MicrofrontendProvider, _n as OtelBrowserSink, ar as PLAN_USAGE_SNAPSHOT_EVENT, Wn as PLATFORM_TYPES, B as PRODUCTS, V as PRODUCT_URLS, Rt as PWAInstallBanner, Nt as PageLoadingFallback, Et as PermissionButton, At as PermissionDenied, Dt as PermissionGate, Ot as PermissionLink, pt as QUOTA_EXHAUSTED_CODE, nr as QUOTA_EXHAUSTED_EVENT, cn as QuotaMeter, mt as RESOURCE_CAP_EXCEEDED_CODE, wt as RequireAuth, Tt as RequireGuest, gn as RybbitSink, he as SSELink, Ye as SSORedirectSpinner, ht as STORAGE_QUOTA_EXCEEDED_CODE, ri as SafeAreaView, Pt as SectionLoadingFallback, zr as TourInitializer, Sr as TourPlayer, _r as TourPlayerProvider, hr as TourSpotlight, gr as TourTooltip, Ur as TourTrigger, Cr as TourTriggerButton, Pr as ToursProvider, gt as UPGRADE_ERROR_CODES, ln as UPGRADE_PROMPT_EVENT, fn as UpgradeInlineBanner, un as UpgradePromptModal, n as alertTokens, cr as appendContextToPath, Fe as attemptTokenRefresh, di as buildActorFallback, _t as buildQuotaExhaustedMessage, p as capitalizeFirst, m as capitalizeWords, r as categoryTokens, Xe as checkRemoteSLO, Ze as checkSLO, Ie as clearAuthSessionStorage, Qe as clearLocalAuthState, Ve as clearSSoCookie, He as clearShellSsoCookies, ct as clearUserContext, St as cn, t as createApolloClient, yn as createEventBus, Yn as createGlobalShortcuts, ge as createGraphQLClient, dt as createProfileScopedStorage, fr as detectDeviceType, qt as detectPlatform, ie as dispatchBackendErrorEvent, rr as dispatchQuotaExhausted, dn as dispatchUpgradePrompt, ae as extractBackendError, vt as extractQuotaExhaustedExtensions, yt as extractUpgradeErrorExtensions, h as formatBytes, g as formatCompactNumber, _ as formatCurrency, v as formatCurrencyCompact, y as formatDate, b as formatDateTime, x as formatDuration, Jt as formatKeyCombo, S as formatList, C as formatNumber, w as formatOrdinal, T as formatPercentage, E as formatRelativeTime, D as formatTime, i as getAlertTokens, a as getCategoryTokens, Yt as getDisplayKeysForPlatform, Q as getGatewayConfig, $ as getGatewayUrl, _e as getGlobalClient, Xn as getGlobalShortcutsByCategory, ee as getGraphQLEndpoint, Wr as getNativeBridge, Gr as getPlatform, H as getProductUrl, U as getProductsWithUrls, ft as getProfileScopedKey, o as getProgressTokens, pr as getResponsiveSelector, $e as getSSORedirectUrl, Ue as getSSoCookie, K as getShellConfig, Xt as getShortcutLabel, s as getStatusBadgeTokens, c as getStatusTokens, ce as getStoredAuthToken, le as getStoredLocale, ue as getStoredOrganizationId, de as getStoredWorkspaceId, fe as getStoredWorkspaceToken, Tr as getTourContextRank, Er as getTourRouteCatalog, Dr as getTourRouteModules, Or as getTourRoutePages, l as getTrendTokens, ve as getWorkspaceClient, te as getWorkspaceTokenPayload, ke as gql, pe as graphqlFetch, Le as hasAuthGraphQLErrors, ye as initializeAppClients, lt as initializeLogger, I as installGatewayFetchRewrite, Kr as isAndroid, Re as isAuthGraphQLError, ze as isAuthNetworkError, oe as isBackendErrorDisplay, N as isChunkLoadError, qr as isIOS, Zt as isMac, Qt as isMobileDevice, Jr as isNative, bt as isQuotaExhaustedError, We as isSharedSsoCookieDomain, q as isShellLessRoute, $t as isTabletDevice, kr as isTourVisibleForContext, Ge as isTrustedSsoOrigin, xt as isUpgradeError, Yr as isWeb, ne as isWorkspaceTokenValidForContext, P as lazyWithRetry, ot as logManager, en as matchesKeyCombo, Zn as mergeShortcuts, Xr as nativeConfirm, Zr as nativeCopyText, Qr as nativeImpact, $r as nativeNotify, ei as nativeOpenUrl, ti as nativeShare, ni as nativeToast, tn as normalizeKey, nn as normalizePlatformCombo, Ar as normalizeTourPath, rn as parseKeyCombo, O as pluralize, u as progressTokens, or as publishPlanUsageSnapshot, Ke as readShellSsoCookie, Be as redirectToLogin, jr as registerTourRouteCatalog, be as resetAppClients, Vr as resolveAppShellObservabilityConfig, z as resolveAuthBridgeConfig, L as resolveGatewayBases, me as resolveGatewayUrl, F as resolveGatewayUrls, Mr as resolveTourTargetPath, qe as setSSoCookie, Je as setShellSsoCookies, ut as setUserContext, an as shouldEnableKeyboardShortcuts, on as shouldIgnoreShortcut, J as shouldShowBreadcrumb, Y as shouldShowSidebar, se as shouldToastBackendError, k as slugify, d as statusTokens, R as suppressConsole, A as toCamelCase, j as toPascalCase, f as trendTokens, M as truncateText, fi as useActorProfiles, Ae as useApolloClient, si as useAppState, Vn as useAsync, Hn as useAsyncImmediate, Fr as useAutoStartTour, En as useBreakpoint, Rn as useConditionalToggle, Mn as useCopyToClipboard, lr as useCurrentContextSearchParams, Cn as useDebounce, ci as useDeviceInfo, bn as useEvent, xn as useEventBus, Sn as useEventEmitter, Ht as useFeatureFlag, Ut as useFeatureFlagDetails, Wt as useFeatureFlagValue, Vt as useFeatureFlags, Se as useGateway, Ce as useGatewayClient, li as useHaptics, $n as useHasAnimated, Kn as useHotkeys, vr as useIsTourPlaying, An as useKeyPress, jn as useKeyboardShortcut, Gn as useKeyboardShortcuts, je as useLazyQuery, Nn as useLocalStorage, Qn as useLogger, e as useMediaQuery, dr as useMicrofrontendContext, Dn as useMobileBreakpoint, Me as useMutation, oi as useNativeKeyboard, ii as useNativePlatform, On as useOnClickOutside, kn as useOnClickOutsideWithRef, Lt as usePWA, wr as usePlayTour, Fn as usePrevious, In as usePreviousDistinct, Ln as usePreviousHistory, Ne as useQuery, ir as useQuotaErrorToast, tr as useRecordProductVisit, er as useReferralAttribution, tt as useRegistryHelpers, ai as useSafeArea, we as useSafeGateway, Te as useSafeGatewayClient, Ir as useSafeToursContext, Pn as useSessionStorage, nt as useShellNavigate, qn as useShortcutHelp, yr as useStartTour, ui as useStatusBar, br as useStopTour, Pe as useSubscription, wn as useThrottle, zn as useToggle, Bn as useToggleObject, mr as useTourPlayer, xr as useTourPlayerContext, Lr as useTours, Rr as useToursContext, sr as useUpgradePrompt, Nr as withTourProgressStatus };
|
package/dist/utils/index.js
CHANGED
|
@@ -3,6 +3,7 @@ import "../shared/utils/tokens.js";
|
|
|
3
3
|
import "../shared/utils/format.js";
|
|
4
4
|
import "../shared/utils/lazyWithRetry.js";
|
|
5
5
|
import "../shared/utils/gatewayFetchRewrite.js";
|
|
6
|
+
import "../shared/utils/backendErrors.js";
|
|
6
7
|
import "../shared/utils/authErrorHandling.js";
|
|
7
8
|
import "../shared/utils/authCookie.js";
|
|
8
9
|
import "../shared/utils/appHelpers.js";
|