@burdenoff/fe-libs 2026.819.5 → 2026.823.2
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/README.md +66 -0
- package/dist/button/Button.d.ts +1 -1
- package/dist/chrome/AppShellLayout.d.ts +14 -0
- package/dist/chrome/AppShellLayout.d.ts.map +1 -1
- package/dist/chrome/AppShellLayout.js +13 -10
- package/dist/chrome/DynamicFooter.d.ts +6 -1
- package/dist/chrome/DynamicFooter.d.ts.map +1 -1
- package/dist/chrome/DynamicFooter.js +21 -20
- package/dist/chrome/Footer.d.ts +6 -0
- package/dist/chrome/Footer.d.ts.map +1 -1
- package/dist/chrome/Footer.js +46 -45
- package/dist/chrome/FooterBar.d.ts +6 -1
- package/dist/chrome/FooterBar.d.ts.map +1 -1
- package/dist/chrome/FooterBar.js +28 -26
- package/dist/chrome/HeaderBar.d.ts.map +1 -1
- package/dist/chrome/HeaderBar.js +3 -0
- package/dist/chrome/MobileTabBar.d.ts +26 -0
- package/dist/chrome/MobileTabBar.d.ts.map +1 -0
- package/dist/chrome/MobileTabBar.js +194 -0
- package/dist/chrome/NativePageTransition.d.ts +10 -0
- package/dist/chrome/NativePageTransition.d.ts.map +1 -0
- package/dist/chrome/NativePageTransition.js +19 -0
- package/dist/chrome/NativeTopBar.d.ts +21 -0
- package/dist/chrome/NativeTopBar.d.ts.map +1 -0
- package/dist/chrome/NativeTopBar.js +72 -0
- package/dist/chrome/NotificationCenter.d.ts.map +1 -1
- package/dist/chrome/NotificationCenter.js +70 -65
- package/dist/chrome/ProductSideNav.d.ts.map +1 -1
- package/dist/chrome/ProductSideNav.js +44 -74
- package/dist/chrome/SwipeNavigation.d.ts +36 -0
- package/dist/chrome/SwipeNavigation.d.ts.map +1 -0
- package/dist/chrome/SwipeNavigation.js +111 -0
- package/dist/chrome/index.d.ts +14 -7
- package/dist/chrome/index.d.ts.map +1 -1
- package/dist/chrome/mobileTabBar/selectTabs.d.ts +45 -0
- package/dist/chrome/mobileTabBar/selectTabs.d.ts.map +1 -0
- package/dist/chrome/mobileTabBar/selectTabs.js +28 -0
- package/dist/chrome/mobileTabBar/useMobileTabBarVisible.d.ts +18 -0
- package/dist/chrome/mobileTabBar/useMobileTabBarVisible.d.ts.map +1 -0
- package/dist/chrome/mobileTabBar/useMobileTabBarVisible.js +16 -0
- package/dist/chrome/mobileTabBar/useVisibleNavItems.d.ts +18 -0
- package/dist/chrome/mobileTabBar/useVisibleNavItems.d.ts.map +1 -0
- package/dist/chrome/mobileTabBar/useVisibleNavItems.js +41 -0
- package/dist/chrome/nativeTopBarTitle.d.ts +15 -0
- package/dist/chrome/nativeTopBarTitle.d.ts.map +1 -0
- package/dist/chrome/nativeTopBarTitle.js +22 -0
- package/dist/chrome/swipe/swipeMath.d.ts +25 -0
- package/dist/chrome/swipe/swipeMath.d.ts.map +1 -0
- package/dist/chrome/swipe/swipeMath.js +14 -0
- package/dist/chrome/swipe/swipeState.d.ts +10 -0
- package/dist/chrome/swipe/swipeState.d.ts.map +1 -0
- package/dist/chrome/swipe/swipeState.js +11 -0
- package/dist/chrome.js +8 -1
- package/dist/shared/components/DesktopUpdateToast.d.ts +9 -0
- package/dist/shared/components/DesktopUpdateToast.d.ts.map +1 -0
- package/dist/shared/components/DesktopUpdateToast.js +39 -0
- package/dist/shared/components/PWAInstallBanner.js +1 -1
- package/dist/shared/components/SSORedirectGuard.d.ts.map +1 -1
- package/dist/shared/components/SSORedirectGuard.js +41 -45
- package/dist/shared/components/index.d.ts +2 -0
- package/dist/shared/components/index.d.ts.map +1 -1
- package/dist/shared/config/authBridgeUrls.d.ts +10 -0
- package/dist/shared/config/authBridgeUrls.d.ts.map +1 -1
- package/dist/shared/config/authBridgeUrls.js +16 -12
- package/dist/shared/config/gatewayUrls.d.ts.map +1 -1
- package/dist/shared/config/gatewayUrls.js +22 -19
- package/dist/shared/config/index.d.ts +1 -1
- package/dist/shared/config/index.d.ts.map +1 -1
- package/dist/shared/hooks/shell/useNavRegistry.d.ts +7 -0
- package/dist/shared/hooks/shell/useNavRegistry.d.ts.map +1 -1
- package/dist/shared/hooks/usePWA.d.ts.map +1 -1
- package/dist/shared/hooks/usePWA.js +34 -30
- package/dist/shared/native/consumers.d.ts +15 -1
- package/dist/shared/native/consumers.d.ts.map +1 -1
- package/dist/shared/native/consumers.js +26 -7
- package/dist/shared/native/desktop.d.ts +123 -0
- package/dist/shared/native/desktop.d.ts.map +1 -0
- package/dist/shared/native/desktop.js +280 -0
- package/dist/shared/native/entry.d.ts +39 -0
- package/dist/shared/native/entry.d.ts.map +1 -0
- package/dist/shared/native/entry.js +13 -0
- package/dist/shared/native/hooks/index.d.ts +10 -0
- package/dist/shared/native/hooks/index.d.ts.map +1 -1
- package/dist/shared/native/hooks/index.js +6 -0
- package/dist/shared/native/hooks/useActionSheet.d.ts +63 -0
- package/dist/shared/native/hooks/useActionSheet.d.ts.map +1 -0
- package/dist/shared/native/hooks/useActionSheet.js +45 -0
- package/dist/shared/native/hooks/useDesktop.d.ts +15 -0
- package/dist/shared/native/hooks/useDesktop.d.ts.map +1 -0
- package/dist/shared/native/hooks/useDesktop.js +18 -0
- package/dist/shared/native/hooks/useDesktopUpdateState.d.ts +7 -0
- package/dist/shared/native/hooks/useDesktopUpdateState.d.ts.map +1 -0
- package/dist/shared/native/hooks/useDesktopUpdateState.js +20 -0
- package/dist/shared/native/hooks/useDesktopWindowState.d.ts +7 -0
- package/dist/shared/native/hooks/useDesktopWindowState.d.ts.map +1 -0
- package/dist/shared/native/hooks/useDesktopWindowState.js +9 -0
- package/dist/shared/native/hooks/useHaptics.d.ts +1 -0
- package/dist/shared/native/hooks/useHaptics.d.ts.map +1 -1
- package/dist/shared/native/hooks/useHaptics.js +6 -6
- package/dist/shared/native/hooks/useNetworkStatus.d.ts +23 -0
- package/dist/shared/native/hooks/useNetworkStatus.d.ts.map +1 -0
- package/dist/shared/native/hooks/useNetworkStatus.js +29 -0
- package/dist/shared/native/hooks/usePullToRefresh.d.ts +62 -0
- package/dist/shared/native/hooks/usePullToRefresh.d.ts.map +1 -0
- package/dist/shared/native/hooks/usePullToRefresh.js +84 -0
- package/dist/shared/native/index.d.ts +6 -1
- package/dist/shared/native/index.d.ts.map +1 -1
- package/dist/shared/native/platform.d.ts.map +1 -1
- package/dist/shared/native/platform.js +2 -1
- package/dist/shared/native/purchases.d.ts +7 -1
- package/dist/shared/native/purchases.d.ts.map +1 -1
- package/dist/shared/native/purchases.js +3 -3
- package/dist/shared/native/types.d.ts +136 -0
- package/dist/shared/native/types.d.ts.map +1 -1
- package/dist/shared/providers/AppShellProvider.d.ts.map +1 -1
- package/dist/shared/providers/AppShellProvider.js +117 -115
- package/dist/shared/providers/shell/ThemeProvider.d.ts.map +1 -1
- package/dist/shared/providers/shell/ThemeProvider.js +64 -51
- package/dist/shared/providers/shell/authProvider/useSsoDepositBootGuard.d.ts.map +1 -1
- package/dist/shared/providers/shell/authProvider/useSsoDepositBootGuard.js +25 -29
- package/dist/shared/utils/gatewayFetchRewrite.d.ts.map +1 -1
- package/dist/shared/utils/gatewayFetchRewrite.js +87 -84
- package/dist/shared-components.js +2 -1
- package/dist/shared-config.js +10 -10
- package/dist/shared-native.js +21 -13
- package/dist/shared.js +120 -111
- package/dist/shell-native/actionSheet.d.ts +7 -0
- package/dist/shell-native/actionSheet.d.ts.map +1 -0
- package/dist/shell-native/actionSheet.js +26 -0
- package/dist/shell-native/app-lifecycle.d.ts +4 -0
- package/dist/shell-native/app-lifecycle.d.ts.map +1 -0
- package/dist/shell-native/app-lifecycle.js +12 -0
- package/dist/shell-native/auth-navigation.d.ts +4 -0
- package/dist/shell-native/auth-navigation.d.ts.map +1 -0
- package/dist/shell-native/auth-navigation.js +95 -0
- package/dist/shell-native/back-button.d.ts +8 -0
- package/dist/shell-native/back-button.d.ts.map +1 -0
- package/dist/shell-native/back-button.js +49 -0
- package/dist/shell-native/boot.d.ts +10 -0
- package/dist/shell-native/boot.d.ts.map +1 -0
- package/dist/shell-native/boot.js +65 -0
- package/dist/shell-native/bridge.d.ts +7 -0
- package/dist/shell-native/bridge.d.ts.map +1 -0
- package/dist/shell-native/bridge.js +30 -0
- package/dist/shell-native/browser.d.ts +12 -0
- package/dist/shell-native/browser.d.ts.map +1 -0
- package/dist/shell-native/browser.js +45 -0
- package/dist/shell-native/capacitor-config.d.ts +21 -0
- package/dist/shell-native/capacitor-config.d.ts.map +1 -0
- package/dist/shell-native/capacitor-config.js +102 -0
- package/dist/shell-native/clipboard.d.ts +3 -0
- package/dist/shell-native/clipboard.d.ts.map +1 -0
- package/dist/shell-native/clipboard.js +26 -0
- package/dist/shell-native/deep-link.d.ts +19 -0
- package/dist/shell-native/deep-link.d.ts.map +1 -0
- package/dist/shell-native/deep-link.js +53 -0
- package/dist/shell-native/desktop-bridge.d.ts +14 -0
- package/dist/shell-native/desktop-bridge.d.ts.map +1 -0
- package/dist/shell-native/desktop-bridge.js +17 -0
- package/dist/shell-native/device.d.ts +4 -0
- package/dist/shell-native/device.d.ts.map +1 -0
- package/dist/shell-native/device.js +27 -0
- package/dist/shell-native/dialog.d.ts +4 -0
- package/dist/shell-native/dialog.d.ts.map +1 -0
- package/dist/shell-native/dialog.js +13 -0
- package/dist/shell-native/feedback.d.ts +6 -0
- package/dist/shell-native/feedback.d.ts.map +1 -0
- package/dist/shell-native/feedback.js +29 -0
- package/dist/shell-native/index.d.ts +54 -0
- package/dist/shell-native/index.d.ts.map +1 -0
- package/dist/shell-native/keyboard.d.ts +15 -0
- package/dist/shell-native/keyboard.d.ts.map +1 -0
- package/dist/shell-native/keyboard.js +42 -0
- package/dist/shell-native/network.d.ts +9 -0
- package/dist/shell-native/network.d.ts.map +1 -0
- package/dist/shell-native/network.js +40 -0
- package/dist/shell-native/ota.d.ts +3 -0
- package/dist/shell-native/ota.d.ts.map +1 -0
- package/dist/shell-native/ota.js +21 -0
- package/dist/shell-native/platform.d.ts +21 -0
- package/dist/shell-native/platform.d.ts.map +1 -0
- package/dist/shell-native/platform.js +51 -0
- package/dist/shell-native/preview.d.ts +18 -0
- package/dist/shell-native/preview.d.ts.map +1 -0
- package/dist/shell-native/preview.js +124 -0
- package/dist/shell-native/push.d.ts +14 -0
- package/dist/shell-native/push.d.ts.map +1 -0
- package/dist/shell-native/push.js +62 -0
- package/dist/shell-native/pwa.d.ts +14 -0
- package/dist/shell-native/pwa.d.ts.map +1 -0
- package/dist/shell-native/pwa.js +49 -0
- package/dist/shell-native/service-worker.d.ts +5 -0
- package/dist/shell-native/service-worker.d.ts.map +1 -0
- package/dist/shell-native/service-worker.js +144 -0
- package/dist/shell-native/share.d.ts +4 -0
- package/dist/shell-native/share.d.ts.map +1 -0
- package/dist/shell-native/share.js +19 -0
- package/dist/shell-native/splash.d.ts +16 -0
- package/dist/shell-native/splash.d.ts.map +1 -0
- package/dist/shell-native/splash.js +25 -0
- package/dist/shell-native/system-bars.d.ts +24 -0
- package/dist/shell-native/system-bars.d.ts.map +1 -0
- package/dist/shell-native/system-bars.js +49 -0
- package/dist/shell-native/toast.d.ts +4 -0
- package/dist/shell-native/toast.d.ts.map +1 -0
- package/dist/shell-native/toast.js +16 -0
- package/dist/shell-native/types.d.ts +292 -0
- package/dist/shell-native/types.d.ts.map +1 -0
- package/dist/shell-native/web-manifest.d.ts +36 -0
- package/dist/shell-native/web-manifest.d.ts.map +1 -0
- package/dist/shell-native/web-manifest.js +55 -0
- package/dist/shell-native.d.ts +2 -0
- package/dist/shell-native.js +29 -0
- package/dist/ui/action-sheet.d.ts +29 -0
- package/dist/ui/action-sheet.d.ts.map +1 -0
- package/dist/ui/action-sheet.js +53 -0
- package/dist/ui/badge.d.ts +1 -1
- package/dist/ui/button.d.ts +1 -1
- package/dist/ui/index.d.ts +6 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/native-welcome.d.ts +61 -0
- package/dist/ui/native-welcome.d.ts.map +1 -0
- package/dist/ui/native-welcome.js +152 -0
- package/dist/ui/offline-banner.d.ts +22 -0
- package/dist/ui/offline-banner.d.ts.map +1 -0
- package/dist/ui/offline-banner.js +34 -0
- package/dist/ui/pull-to-refresh.d.ts +29 -0
- package/dist/ui/pull-to-refresh.d.ts.map +1 -0
- package/dist/ui/pull-to-refresh.js +44 -0
- package/dist/ui/pwa-update-toast.d.ts +34 -0
- package/dist/ui/pwa-update-toast.d.ts.map +1 -0
- package/dist/ui/pwa-update-toast.js +43 -0
- package/dist/ui/select.d.ts +38 -0
- package/dist/ui/select.d.ts.map +1 -1
- package/dist/ui/select.js +162 -61
- package/dist/ui.js +40 -35
- package/package.json +93 -4
- package/src/shared/styles/app-shell.css +3 -0
- package/src/shared/styles/native.css +577 -0
- package/dist/node_modules/@capacitor/core/dist/index.js +0 -268
package/dist/shared-config.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { resolveGatewayUrls as e } from "./shared/config/gatewayUrls.js";
|
|
2
|
-
import { resolveAuthBridgeConfig as t } from "./shared/config/authBridgeUrls.js";
|
|
3
|
-
import { PRODUCTS as
|
|
4
|
-
import { COMMON_SHELL_LESS_ROUTES as
|
|
2
|
+
import { resolveAuthBridgeConfig as t, resolveShellAuthBridgeConfig as n } from "./shared/config/authBridgeUrls.js";
|
|
3
|
+
import { PRODUCTS as r, PRODUCT_URLS as i, getProductUrl as a, getProductsWithUrls as o } from "./shared/config/products.js";
|
|
4
|
+
import { COMMON_SHELL_LESS_ROUTES as s, DEFAULT_SHELL_CONFIG as c, getShellConfig as l, isShellLessRoute as u, shouldShowBreadcrumb as d, shouldShowSidebar as f } from "./shared/config/shellRoutes.js";
|
|
5
5
|
//#region src/shared/config/index.ts
|
|
6
|
-
var
|
|
6
|
+
var p = 20, m = {
|
|
7
7
|
workspace: {
|
|
8
8
|
defaultBaseUrl: "https://gw-wspace.local.burdenoff.com",
|
|
9
9
|
graphql: "/workspaces/graphql",
|
|
@@ -16,16 +16,16 @@ var f = 20, p = {
|
|
|
16
16
|
ws: "/global/graphql/ws"
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
|
-
function
|
|
19
|
+
function h(e, t) {
|
|
20
20
|
let n = e.endsWith("/") ? e.slice(0, -1) : e;
|
|
21
21
|
return t === "workspaces" ? `${n}/workspaces/graphql` : `${n}/global/graphql`;
|
|
22
22
|
}
|
|
23
|
-
function
|
|
24
|
-
return
|
|
23
|
+
function g(e) {
|
|
24
|
+
return m[e];
|
|
25
25
|
}
|
|
26
|
-
function
|
|
27
|
-
let n =
|
|
26
|
+
function _(e, t) {
|
|
27
|
+
let n = m[t], r = e || n.defaultBaseUrl;
|
|
28
28
|
return `${r.endsWith("/") ? r.slice(0, -1) : r}${n.graphql}`;
|
|
29
29
|
}
|
|
30
30
|
//#endregion
|
|
31
|
-
export {
|
|
31
|
+
export { s as COMMON_SHELL_LESS_ROUTES, p as DEFAULT_PAGE_SIZE, c as DEFAULT_SHELL_CONFIG, m as GATEWAYS, r as PRODUCTS, i as PRODUCT_URLS, g as getGatewayConfig, _ as getGatewayUrl, h as getGraphQLEndpoint, a as getProductUrl, o as getProductsWithUrls, l as getShellConfig, u as isShellLessRoute, t as resolveAuthBridgeConfig, e as resolveGatewayUrls, n as resolveShellAuthBridgeConfig, d as shouldShowBreadcrumb, f as shouldShowSidebar };
|
package/dist/shared-native.js
CHANGED
|
@@ -1,14 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
1
|
+
import { DESKTOP_UPDATE_UNSUPPORTED as e, DESKTOP_WINDOW_STATE_DEFAULT as t, bootDesktopShell as n, desktopCheckForUpdates as r, desktopDeepLinkToPath as i, desktopInstallUpdate as a, desktopNotify as o, desktopOpenExternal as s, desktopSetBadgeCount as c, desktopSetLocale as l, desktopSetTheme as u, desktopSetTrayQuickActions as d, getDesktopAuthBridgeConfig as f, getDesktopBridge as p, getDesktopGatewayBases as m, getDesktopGatewayUrls as h, getDesktopRuntimeConfig as g, getDesktopUpdateState as _, getDesktopWindowState as v, getLegacyDesktopRuntime as y, installDesktopDeepLinkHandler as b, installDesktopNavigateHandler as x, isDesktop as S, onDesktopUpdateState as C, onDesktopWindowState as w, registerDesktopNavigator as T } from "./shared/native/desktop.js";
|
|
2
|
+
import { getNativeBridge as E } from "./shared/native/bridge.js";
|
|
3
|
+
import { getPlatform as D, isAndroid as O, isElectron as k, isIOS as A, isInstalledApp as j, isNative as M, isStandalonePWA as N, isWeb as P, isWebBrowser as F } from "./shared/native/platform.js";
|
|
4
|
+
import { nativeActionSheet as I, nativeConfirm as L, nativeCopyText as R, nativeImpact as z, nativeNotify as B, nativeOpenUrl as V, nativeSelection as H, nativeShare as U, nativeToast as W } from "./shared/native/consumers.js";
|
|
5
|
+
import { SafeAreaView as G } from "./shared/native/SafeAreaView.js";
|
|
6
|
+
import { readInitialNetworkStatus as K, reduceNetworkStatus as q, useNetworkStatus as J } from "./shared/native/hooks/useNetworkStatus.js";
|
|
7
|
+
import { PULL_TO_REFRESH_THRESHOLD as Y, computePullOffset as X, computePullProgress as Z, usePullToRefresh as Q } from "./shared/native/hooks/usePullToRefresh.js";
|
|
8
|
+
import { useNativePlatform as $ } from "./shared/native/hooks/useNativePlatform.js";
|
|
9
|
+
import { useSafeArea as ee } from "./shared/native/hooks/useSafeArea.js";
|
|
10
|
+
import { useNativeKeyboard as te } from "./shared/native/hooks/useNativeKeyboard.js";
|
|
11
|
+
import { useAppState as ne } from "./shared/native/hooks/useAppState.js";
|
|
12
|
+
import { useDeviceInfo as re } from "./shared/native/hooks/useDeviceInfo.js";
|
|
13
|
+
import { useHaptics as ie } from "./shared/native/hooks/useHaptics.js";
|
|
14
|
+
import { useStatusBar as ae } from "./shared/native/hooks/useStatusBar.js";
|
|
15
|
+
import { resolveActionSheetOutcome as oe, useActionSheet as se } from "./shared/native/hooks/useActionSheet.js";
|
|
16
|
+
import { useDesktop as ce } from "./shared/native/hooks/useDesktop.js";
|
|
17
|
+
import { useDesktopUpdateState as le } from "./shared/native/hooks/useDesktopUpdateState.js";
|
|
18
|
+
import { useDesktopWindowState as ue } from "./shared/native/hooks/useDesktopWindowState.js";
|
|
12
19
|
import "./shared/native/hooks/index.js";
|
|
13
|
-
import { acknowledgeNativePurchase as
|
|
14
|
-
|
|
20
|
+
import { acknowledgeNativePurchase as de, getNativeProducts as fe, getNativePurchases as pe, installNativeIAP as me, isNativeIAPAvailable as he, purchaseNativeProduct as ge, restoreNativePurchases as _e } from "./shared/native/purchases.js";
|
|
21
|
+
import { getNativeEntryRoutes as ve, shouldShowNativeWelcome as ye } from "./shared/native/entry.js";
|
|
22
|
+
export { e as DESKTOP_UPDATE_UNSUPPORTED, t as DESKTOP_WINDOW_STATE_DEFAULT, Y as PULL_TO_REFRESH_THRESHOLD, G as SafeAreaView, de as acknowledgeNativePurchase, n as bootDesktopShell, X as computePullOffset, Z as computePullProgress, r as desktopCheckForUpdates, i as desktopDeepLinkToPath, a as desktopInstallUpdate, o as desktopNotify, s as desktopOpenExternal, c as desktopSetBadgeCount, l as desktopSetLocale, u as desktopSetTheme, d as desktopSetTrayQuickActions, f as getDesktopAuthBridgeConfig, p as getDesktopBridge, m as getDesktopGatewayBases, h as getDesktopGatewayUrls, g as getDesktopRuntimeConfig, _ as getDesktopUpdateState, v as getDesktopWindowState, y as getLegacyDesktopRuntime, E as getNativeBridge, ve as getNativeEntryRoutes, fe as getNativeProducts, pe as getNativePurchases, D as getPlatform, b as installDesktopDeepLinkHandler, x as installDesktopNavigateHandler, me as installNativeIAP, O as isAndroid, S as isDesktop, k as isElectron, A as isIOS, j as isInstalledApp, M as isNative, he as isNativeIAPAvailable, N as isStandalonePWA, P as isWeb, F as isWebBrowser, I as nativeActionSheet, L as nativeConfirm, R as nativeCopyText, z as nativeImpact, B as nativeNotify, V as nativeOpenUrl, H as nativeSelection, U as nativeShare, W as nativeToast, C as onDesktopUpdateState, w as onDesktopWindowState, ge as purchaseNativeProduct, K as readInitialNetworkStatus, q as reduceNetworkStatus, T as registerDesktopNavigator, oe as resolveActionSheetOutcome, _e as restoreNativePurchases, ye as shouldShowNativeWelcome, se as useActionSheet, ne as useAppState, ce as useDesktop, le as useDesktopUpdateState, ue as useDesktopWindowState, re as useDeviceInfo, ie as useHaptics, te as useNativeKeyboard, $ as useNativePlatform, J as useNetworkStatus, Q as usePullToRefresh, ee as useSafeArea, ae as useStatusBar };
|
package/dist/shared.js
CHANGED
|
@@ -4,121 +4,130 @@ 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 {
|
|
7
|
+
import { DESKTOP_UPDATE_UNSUPPORTED as I, DESKTOP_WINDOW_STATE_DEFAULT as L, bootDesktopShell as R, desktopCheckForUpdates as z, desktopDeepLinkToPath as B, desktopInstallUpdate as V, desktopNotify as H, desktopOpenExternal as U, desktopSetBadgeCount as W, desktopSetLocale as G, desktopSetTheme as K, desktopSetTrayQuickActions as q, getDesktopAuthBridgeConfig as J, getDesktopBridge as Y, getDesktopGatewayBases as X, getDesktopGatewayUrls as Z, getDesktopRuntimeConfig as Q, getDesktopUpdateState as $, getDesktopWindowState as ee, getLegacyDesktopRuntime as te, installDesktopDeepLinkHandler as ne, installDesktopNavigateHandler as re, isDesktop as ie, onDesktopUpdateState as ae, onDesktopWindowState as oe, registerDesktopNavigator as se } from "./shared/native/desktop.js";
|
|
8
|
+
import { resolveGatewayUrls as ce } from "./shared/config/gatewayUrls.js";
|
|
9
|
+
import { installGatewayFetchRewrite as le, resolveGatewayBases as ue, suppressConsole as de } from "./shared/utils/gatewayFetchRewrite.js";
|
|
10
|
+
import { resolveAuthBridgeConfig as fe, resolveShellAuthBridgeConfig as pe } from "./shared/config/authBridgeUrls.js";
|
|
11
|
+
import { PRODUCTS as me, PRODUCT_URLS as he, getProductUrl as ge, getProductsWithUrls as _e } from "./shared/config/products.js";
|
|
12
|
+
import { COMMON_SHELL_LESS_ROUTES as ve, DEFAULT_SHELL_CONFIG as ye, getShellConfig as be, isShellLessRoute as xe, shouldShowBreadcrumb as Se, shouldShowSidebar as Ce } from "./shared/config/shellRoutes.js";
|
|
13
|
+
import { DEFAULT_PAGE_SIZE as we, GATEWAYS as Te, getGatewayConfig as Ee, getGatewayUrl as De, getGraphQLEndpoint as Oe } from "./shared-config.js";
|
|
14
|
+
import { getWorkspaceTokenPayload as ke, isWorkspaceTokenValidForContext as Ae } from "./shared/graphql/workspaceToken.js";
|
|
15
|
+
import { BACKEND_ERROR_EVENT as je, CONNECTION_STATUS_EVENT as Me, dispatchBackendErrorEvent as Ne, extractBackendError as Pe, isAbortError as Fe, isBackendErrorDisplay as Ie, isTransportError as Le, markConnectionHealthy as Re, shouldToastBackendError as ze } from "./shared/utils/backendErrors.js";
|
|
16
|
+
import { clearGraphqlFetchResponseCache as Be, getStoredAuthToken as Ve, getStoredLocale as He, getStoredOrganizationId as Ue, getStoredProjectId as We, getStoredWorkspaceId as Ge, getStoredWorkspaceToken as Ke, graphqlFetch as qe, resolveGatewayUrl as Je } from "./shared/graphql/fetch.js";
|
|
17
|
+
import { SSELink as Ye } from "./shared/graphql/links/sse-link.js";
|
|
18
|
+
import { createGraphQLClient as Xe, getGlobalClient as Ze, getWorkspaceClient as Qe, initializeAppClients as $e, resetAppClients as et } from "./shared/graphql/client.js";
|
|
19
|
+
import { GatewayProvider as tt, useGateway as nt, useGatewayClient as rt, useSafeGateway as it, useSafeGatewayClient as at } from "./shared/graphql/GatewayContext.js";
|
|
20
|
+
import { useHasAuthToken as ot } from "./shared/graphql/useHasAuthToken.js";
|
|
21
|
+
import { WsLink as st } from "./shared/graphql/links/ws-link.js";
|
|
22
|
+
import { ApolloClient as ct, ApolloProvider as lt, InMemoryCache as ut, gql as dt, useApolloClient as ft, useLazyQuery as pt, useMutation as mt, useQuery as ht, useSubscription as gt } from "./shared-graphql.js";
|
|
23
|
+
import { attemptTokenRefresh as _t, clearAuthSessionStorage as vt, hasAuthGraphQLErrors as yt, isAuthGraphQLError as bt, isAuthNetworkError as xt, redirectToLogin as St } from "./shared/utils/authErrorHandling.js";
|
|
24
|
+
import { clearSSoCookie as Ct, clearShellSsoCookies as wt, getSSoCookie as Tt, isSharedSsoCookieDomain as Et, isTrustedSsoOrigin as Dt, readShellSsoCookie as Ot, setSSoCookie as kt, setShellSsoCookies as At } from "./shared/utils/authCookie.js";
|
|
25
|
+
import { getNativeBridge as jt } from "./shared/native/bridge.js";
|
|
26
|
+
import { getPlatform as Mt, isAndroid as Nt, isElectron as Pt, isIOS as Ft, isInstalledApp as It, isNative as Lt, isStandalonePWA as Rt, isWeb as zt, isWebBrowser as Bt } from "./shared/native/platform.js";
|
|
27
|
+
import { SSORedirectSpinner as Vt, checkRemoteSLO as Ht, checkSLO as Ut, clearLocalAuthState as Wt, getSSORedirectUrl as Gt } from "./shared/components/SSORedirectGuard.js";
|
|
28
|
+
import { SSO_DEPOSITED_PARAM as Kt, beginSsoNavigation as qt, buildSsoDepositUrl as Jt, clearSsoDepositState as Yt, clearSsoNavigation as Xt, consumeSsoDepositMarker as Zt, isSsoNavigationPending as Qt, markSsoDepositDone as $t, markSsoDepositPending as en, mintSsoSessionTokens as tn, readSsoDepositState as nn, shouldAttemptSsoDeposit as rn } from "./shared/utils/ssoDeposit.js";
|
|
29
|
+
import { AppInitializer as an, useRegistryHelpers as on, useShellNavigate as sn } from "./shared/utils/appHelpers.js";
|
|
30
|
+
import { LogLevel as cn } from "./shared/logger/types.js";
|
|
31
|
+
import { Logger as ln } from "./shared/logger/Logger.js";
|
|
32
|
+
import { LogManager as un, logManager as dn } from "./shared/logger/LogManager.js";
|
|
33
|
+
import { ConsoleTransport as fn } from "./shared/logger/ConsoleTransport.js";
|
|
34
|
+
import { clearUserContext as pn, initializeLogger as mn, setUserContext as hn } from "./shared/utils/loggerInit.js";
|
|
35
|
+
import { createProfileScopedStorage as gn, getProfileScopedKey as _n } from "./shared/utils/profileScopedStorage.js";
|
|
36
|
+
import { QUOTA_EXHAUSTED_CODE as vn, RESOURCE_CAP_EXCEEDED_CODE as yn, STORAGE_QUOTA_EXCEEDED_CODE as bn, UPGRADE_ERROR_CODES as xn, buildQuotaExhaustedMessage as Sn, extractQuotaExhaustedExtensions as Cn, extractUpgradeErrorExtensions as wn, isQuotaExhaustedError as Tn, isUpgradeError as En } from "./shared/utils/quotaErrors.js";
|
|
37
|
+
import { cn as Dn } from "./shared-utils.js";
|
|
38
|
+
import { nativeActionSheet as On, nativeConfirm as kn, nativeCopyText as An, nativeImpact as jn, nativeNotify as Mn, nativeOpenUrl as Nn, nativeSelection as Pn, nativeShare as Fn, nativeToast as In } from "./shared/native/consumers.js";
|
|
39
|
+
import { SafeAreaView as Ln } from "./shared/native/SafeAreaView.js";
|
|
40
|
+
import { readInitialNetworkStatus as Rn, reduceNetworkStatus as zn, useNetworkStatus as Bn } from "./shared/native/hooks/useNetworkStatus.js";
|
|
41
|
+
import { PULL_TO_REFRESH_THRESHOLD as Vn, computePullOffset as Hn, computePullProgress as Un, usePullToRefresh as Wn } from "./shared/native/hooks/usePullToRefresh.js";
|
|
42
|
+
import { ActorIdentity as Gn } from "./shared/actors/ActorIdentity.js";
|
|
43
|
+
import { buildActorFallback as Kn, useActorProfiles as qn } from "./shared/actors/useActorProfiles.js";
|
|
44
|
+
import { ErrorBoundary as Jn } from "./shared/components/ErrorBoundary.js";
|
|
45
|
+
import { RequireAuth as Yn, RequireGuest as Xn } from "./shared/components/RequireAuth.js";
|
|
46
|
+
import { PermissionButton as Zn, PermissionGate as Qn, PermissionLink as $n } from "./shared/components/PermissionGate.js";
|
|
47
|
+
import { AccessDenied as er, PermissionDenied as tr } from "./shared/components/AccessDenied.js";
|
|
48
|
+
import { ErrorFallback as nr } from "./shared/components/ErrorFallback.js";
|
|
49
|
+
import { LoadingFallback as rr, PageLoadingFallback as ir, SectionLoadingFallback as ar } from "./shared/components/LoadingFallback.js";
|
|
50
|
+
import { MicrofrontendErrorBoundary as or } from "./shared/components/MicrofrontendErrorBoundary.js";
|
|
51
|
+
import { ConditionalShell as sr } from "./shared/components/ConditionalShell.js";
|
|
52
|
+
import { usePWA as cr } from "./shared/hooks/usePWA.js";
|
|
53
|
+
import { PWAInstallBanner as lr } from "./shared/components/PWAInstallBanner.js";
|
|
54
|
+
import { ErrorBoundary as ur } from "./shared/components/AppErrorBoundary.js";
|
|
55
|
+
import { FeatureFlagProvider as dr, useFeatureFlags as fr } from "./shared/feature-flags/FeatureFlagProvider.js";
|
|
56
|
+
import { useFeatureFlag as pr, useFeatureFlagDetails as mr, useFeatureFlagValue as hr } from "./shared/feature-flags/useFeatureFlag.js";
|
|
57
|
+
import { FeatureGate as gr } from "./shared/feature-flags/FeatureGate.js";
|
|
51
58
|
import "./shared-feature-flags.js";
|
|
52
|
-
import { ContextConversationWidget as
|
|
53
|
-
import { detectPlatform as
|
|
54
|
-
import { KeyboardHelpDialogWrapper as
|
|
55
|
-
import { QuotaMeter as
|
|
56
|
-
import { UPGRADE_PROMPT_EVENT as
|
|
57
|
-
import { UpgradeInlineBanner as
|
|
58
|
-
import { useVoiceInput as
|
|
59
|
-
import { ASSISTANT_WIDGET_TOGGLE_EVENT as
|
|
60
|
-
import { Markdown as
|
|
59
|
+
import { ContextConversationWidget as _r } from "./shared/components/ContextConversationWidget.js";
|
|
60
|
+
import { detectPlatform as vr, formatKeyCombo as yr, getDisplayKeysForPlatform as br, getShortcutLabel as xr, isMac as Sr, isMobileDevice as Cr, isTabletDevice as wr, matchesKeyCombo as Tr, normalizeKey as Er, normalizePlatformCombo as Dr, parseKeyCombo as Or, shouldEnableKeyboardShortcuts as kr, shouldIgnoreShortcut as Ar } from "./shared/keyboard/utils.js";
|
|
61
|
+
import { KeyboardHelpDialogWrapper as jr } from "./shared/components/KeyboardHelpDialogWrapper.js";
|
|
62
|
+
import { QuotaMeter as Mr } from "./shared/components/QuotaMeter.js";
|
|
63
|
+
import { UPGRADE_PROMPT_EVENT as Nr, UpgradePromptModal as Pr, dispatchUpgradePrompt as Fr } from "./shared/components/UpgradePromptModal.js";
|
|
64
|
+
import { UpgradeInlineBanner as Ir } from "./shared/components/UpgradeInlineBanner.js";
|
|
65
|
+
import { useVoiceInput as Lr } from "./shared/components/assistantWidget/useVoiceInput.js";
|
|
66
|
+
import { ASSISTANT_WIDGET_TOGGLE_EVENT as Rr, AssistantWidget as zr } from "./shared/components/assistantWidget/AssistantWidget.js";
|
|
67
|
+
import { Markdown as Br } from "./shared/components/Markdown.js";
|
|
68
|
+
import { useNativePlatform as Vr } from "./shared/native/hooks/useNativePlatform.js";
|
|
69
|
+
import { useSafeArea as Hr } from "./shared/native/hooks/useSafeArea.js";
|
|
70
|
+
import { useNativeKeyboard as Ur } from "./shared/native/hooks/useNativeKeyboard.js";
|
|
71
|
+
import { useAppState as Wr } from "./shared/native/hooks/useAppState.js";
|
|
72
|
+
import { useDeviceInfo as Gr } from "./shared/native/hooks/useDeviceInfo.js";
|
|
73
|
+
import { useHaptics as Kr } from "./shared/native/hooks/useHaptics.js";
|
|
74
|
+
import { useStatusBar as qr } from "./shared/native/hooks/useStatusBar.js";
|
|
75
|
+
import { resolveActionSheetOutcome as Jr, useActionSheet as Yr } from "./shared/native/hooks/useActionSheet.js";
|
|
76
|
+
import { useDesktop as Xr } from "./shared/native/hooks/useDesktop.js";
|
|
77
|
+
import { useDesktopUpdateState as Zr } from "./shared/native/hooks/useDesktopUpdateState.js";
|
|
78
|
+
import { useDesktopWindowState as Qr } from "./shared/native/hooks/useDesktopWindowState.js";
|
|
79
|
+
import { DesktopUpdateToast as $r } from "./shared/components/DesktopUpdateToast.js";
|
|
61
80
|
import "./shared-components.js";
|
|
62
|
-
import { DevtoolsSink as
|
|
63
|
-
import { BroadcastChannelSink as
|
|
64
|
-
import { BackendAuditSink as
|
|
65
|
-
import { AnalyticsConsentBanner as
|
|
66
|
-
import { OtelBrowserSink as
|
|
67
|
-
import { EventBusProvider as
|
|
68
|
-
import { useDebounce as
|
|
69
|
-
import { useThrottle as
|
|
70
|
-
import { BREAKPOINTS as
|
|
71
|
-
import { useOnClickOutside as
|
|
72
|
-
import { useKeyPress as
|
|
73
|
-
import { useExclusiveMenu as
|
|
74
|
-
import { useLocalStorage as
|
|
75
|
-
import { useSessionStorage as
|
|
76
|
-
import { usePrevious as
|
|
77
|
-
import { useConditionalToggle as
|
|
78
|
-
import { usePagination as
|
|
79
|
-
import { useAsync as
|
|
80
|
-
import { MODIFIER_KEYS as
|
|
81
|
-
import { useKeyboardShortcuts as
|
|
82
|
-
import { useHotkeys as
|
|
83
|
-
import { useShortcutHelp as
|
|
84
|
-
import { GLOBAL_SHORTCUT_CATEGORIES as
|
|
85
|
-
import { useLogger as
|
|
86
|
-
import { useHasAnimated as
|
|
87
|
-
import { useReferralAttribution as
|
|
88
|
-
import { useRecordProductVisit as
|
|
89
|
-
import { QUOTA_EXHAUSTED_EVENT as
|
|
90
|
-
import { PLAN_USAGE_SNAPSHOT_EVENT as
|
|
91
|
-
import { appendContextToPath as
|
|
92
|
-
import { MicrofrontendContext as
|
|
93
|
-
import { detectDeviceType as
|
|
94
|
-
import { useTourPlayer as
|
|
95
|
-
import { TourSpotlight as
|
|
96
|
-
import { TourTooltip as
|
|
97
|
-
import { TourPlayerProvider as
|
|
98
|
-
import { TourPlayer as
|
|
99
|
-
import { getTourContextRank as
|
|
100
|
-
import { withTourProgressStatus as
|
|
101
|
-
import { ToursProvider as
|
|
102
|
-
import { TourInitializer as
|
|
103
|
-
import { AppShellProvider as
|
|
104
|
-
import { MicrofrontendProvider as
|
|
105
|
-
import { TourTrigger as
|
|
81
|
+
import { DevtoolsSink as ei } from "./shared/events/sinks/DevtoolsSink.js";
|
|
82
|
+
import { BroadcastChannelSink as ti } from "./shared/events/sinks/BroadcastChannelSink.js";
|
|
83
|
+
import { BackendAuditSink as ni } from "./shared/events/sinks/BackendAuditSink.js";
|
|
84
|
+
import { AnalyticsConsentBanner as ri, RybbitSink as ii, readAnalyticsConsent as ai, readAnalyticsConsentChoice as oi, setAnalyticsConsent as si } from "./shared/events/sinks/RybbitSink.js";
|
|
85
|
+
import { OtelBrowserSink as ci } from "./shared/events/sinks/OtelBrowserSink.js";
|
|
86
|
+
import { EventBusProvider as li, createEventBus as ui, useEvent as di, useEventBus as fi, useEventEmitter as pi } from "./shared-events.js";
|
|
87
|
+
import { useDebounce as mi } from "./shared/hooks/useDebounce.js";
|
|
88
|
+
import { useThrottle as hi } from "./shared/hooks/useThrottle.js";
|
|
89
|
+
import { BREAKPOINTS as gi, useBreakpoint as _i, useMobileBreakpoint as vi } from "./shared/hooks/useBreakpoint.js";
|
|
90
|
+
import { useOnClickOutside as yi, useOnClickOutsideWithRef as bi } from "./shared/hooks/useOnClickOutside.js";
|
|
91
|
+
import { useKeyPress as xi, useKeyboardShortcut as Si } from "./shared/hooks/useKeyPress.js";
|
|
92
|
+
import { useExclusiveMenu as Ci } from "./shared/hooks/useExclusiveMenu.js";
|
|
93
|
+
import { useLocalStorage as wi } from "./shared/hooks/useLocalStorage.js";
|
|
94
|
+
import { useSessionStorage as Ti } from "./shared/hooks/useSessionStorage.js";
|
|
95
|
+
import { usePrevious as Ei, usePreviousDistinct as Di, usePreviousHistory as Oi } from "./shared/hooks/usePrevious.js";
|
|
96
|
+
import { useConditionalToggle as ki, useToggle as Ai, useToggleObject as ji } from "./shared/hooks/useToggle.js";
|
|
97
|
+
import { usePagination as Mi } from "./shared/hooks/usePagination.js";
|
|
98
|
+
import { useAsync as Ni, useAsyncImmediate as Pi } from "./shared/hooks/useAsync.js";
|
|
99
|
+
import { MODIFIER_KEYS as Fi, PLATFORM_TYPES as Ii } from "./shared/keyboard/types.js";
|
|
100
|
+
import { useKeyboardShortcuts as Li } from "./shared/keyboard/useKeyboardShortcuts.js";
|
|
101
|
+
import { useHotkeys as Ri } from "./shared/keyboard/useHotkeys.js";
|
|
102
|
+
import { useShortcutHelp as zi } from "./shared/keyboard/useShortcutHelp.js";
|
|
103
|
+
import { GLOBAL_SHORTCUT_CATEGORIES as Bi, createGlobalShortcuts as Vi, getGlobalShortcutsByCategory as Hi, mergeShortcuts as Ui } from "./shared/keyboard/globalShortcuts.js";
|
|
104
|
+
import { useLogger as Wi } from "./shared/logger/useLogger.js";
|
|
105
|
+
import { useHasAnimated as Gi } from "./shared/hooks/useHasAnimated.js";
|
|
106
|
+
import { useReferralAttribution as Ki } from "./shared/hooks/useReferralAttribution.js";
|
|
107
|
+
import { useRecordProductVisit as qi } from "./shared/hooks/useRecordProductVisit.js";
|
|
108
|
+
import { QUOTA_EXHAUSTED_EVENT as Ji, dispatchQuotaExhausted as Yi, useQuotaErrorToast as Xi } from "./shared/hooks/useQuotaErrorToast.js";
|
|
109
|
+
import { PLAN_USAGE_SNAPSHOT_EVENT as Zi, publishPlanUsageSnapshot as Qi, useUpgradePrompt as $i } from "./shared/hooks/useUpgradePrompt.js";
|
|
110
|
+
import { appendContextToPath as ea, useCurrentContextSearchParams as ta } from "./shared/hooks/useCurrentContextSearchParams.js";
|
|
111
|
+
import { MicrofrontendContext as na, useMicrofrontendContext as ra } from "./shared-hooks.js";
|
|
112
|
+
import { detectDeviceType as ia, getResponsiveSelector as aa } from "./shared/tours/types.js";
|
|
113
|
+
import { useTourPlayer as oa } from "./shared/tours/useTourPlayer.js";
|
|
114
|
+
import { TourSpotlight as sa } from "./shared/tours/TourSpotlight.js";
|
|
115
|
+
import { TourTooltip as ca } from "./shared/tours/TourTooltip.js";
|
|
116
|
+
import { TourPlayerProvider as la, useIsTourPlaying as ua, useStartTour as da, useStopTour as fa, useTourPlayerContext as pa } from "./shared/tours/TourPlayerProvider.js";
|
|
117
|
+
import { TourPlayer as ma, TourTriggerButton as ha, usePlayTour as ga } from "./shared/tours/TourPlayer.js";
|
|
118
|
+
import { getTourContextRank as _a, getTourRouteCatalog as va, getTourRouteModules as ya, getTourRoutePages as ba, isTourVisibleForContext as xa, normalizeTourPath as Sa, registerTourRouteCatalog as Ca, resolveTourTargetPath as wa } from "./shared/tours/routeCatalog.js";
|
|
119
|
+
import { withTourProgressStatus as Ta } from "./shared/tours/progress.js";
|
|
120
|
+
import { ToursProvider as Ea, useAutoStartTour as Da, useSafeToursContext as Oa, useTours as ka, useToursContext as Aa } from "./shared/tours/ToursContext.js";
|
|
121
|
+
import { TourInitializer as ja } from "./shared/tours/TourInitializer.js";
|
|
122
|
+
import { AppShellProvider as Ma, resolveAppShellObservabilityConfig as Na } from "./shared/providers/AppShellProvider.js";
|
|
123
|
+
import { MicrofrontendProvider as Pa } from "./shared-providers.js";
|
|
124
|
+
import { TourTrigger as Fa } from "./shared/tours/TourTrigger.js";
|
|
106
125
|
import "./shared-tours.js";
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import { nativeConfirm as Ni, nativeCopyText as Pi, nativeImpact as Fi, nativeNotify as Ii, nativeOpenUrl as Li, nativeShare as Ri, nativeToast as zi } from "./shared/native/consumers.js";
|
|
110
|
-
import { SafeAreaView as Bi } from "./shared/native/SafeAreaView.js";
|
|
111
|
-
import { useNativePlatform as Vi } from "./shared/native/hooks/useNativePlatform.js";
|
|
112
|
-
import { useSafeArea as Hi } from "./shared/native/hooks/useSafeArea.js";
|
|
113
|
-
import { useNativeKeyboard as Ui } from "./shared/native/hooks/useNativeKeyboard.js";
|
|
114
|
-
import { useAppState as Wi } from "./shared/native/hooks/useAppState.js";
|
|
115
|
-
import { useDeviceInfo as Gi } from "./shared/native/hooks/useDeviceInfo.js";
|
|
116
|
-
import { useHaptics as Ki } from "./shared/native/hooks/useHaptics.js";
|
|
117
|
-
import { useStatusBar as qi } from "./shared/native/hooks/useStatusBar.js";
|
|
118
|
-
import { acknowledgeNativePurchase as Ji, getNativeProducts as Yi, getNativePurchases as Xi, installNativeIAP as Zi, isNativeIAPAvailable as Qi, purchaseNativeProduct as $i, restoreNativePurchases as ea } from "./shared/native/purchases.js";
|
|
126
|
+
import { acknowledgeNativePurchase as Ia, getNativeProducts as La, getNativePurchases as Ra, installNativeIAP as za, isNativeIAPAvailable as Ba, purchaseNativeProduct as Va, restoreNativePurchases as Ha } from "./shared/native/purchases.js";
|
|
127
|
+
import { getNativeEntryRoutes as Ua, shouldShowNativeWelcome as Wa } from "./shared/native/entry.js";
|
|
119
128
|
import "./shared-native.js";
|
|
120
129
|
import "./shared/actors/index.js";
|
|
121
130
|
//#region src/shared/index.ts
|
|
122
|
-
var
|
|
131
|
+
var Ga = "1.0.0";
|
|
123
132
|
//#endregion
|
|
124
|
-
export {
|
|
133
|
+
export { Rr as ASSISTANT_WIDGET_TOGGLE_EVENT, er as AccessDenied, Gn as ActorIdentity, ri as AnalyticsConsentBanner, ct as ApolloClient, lt as ApolloProvider, ur as AppErrorBoundary, an as AppInitializer, Ma as AppShellProvider, zr as AssistantWidget, je as BACKEND_ERROR_EVENT, gi as BREAKPOINTS, ni as BackendAuditSink, ti as BroadcastChannelSink, ve as COMMON_SHELL_LESS_ROUTES, Me as CONNECTION_STATUS_EVENT, sr as ConditionalShell, fn as ConsoleTransport, _r as ContextConversationWidget, we as DEFAULT_PAGE_SIZE, ye as DEFAULT_SHELL_CONFIG, I as DESKTOP_UPDATE_UNSUPPORTED, L as DESKTOP_WINDOW_STATE_DEFAULT, $r as DesktopUpdateToast, ei as DevtoolsSink, Jn as ErrorBoundary, nr as ErrorFallback, li as EventBusProvider, Ga as FE_SHARED_VERSION, dr as FeatureFlagProvider, gr as FeatureGate, Te as GATEWAYS, Bi as GLOBAL_SHORTCUT_CATEGORIES, tt as GatewayProvider, ut as InMemoryCache, jr as KeyboardHelpDialogWrapper, rr as LoadingFallback, cn as LogLevel, un as LogManager, ln as Logger, Fi as MODIFIER_KEYS, Br as Markdown, na as MicrofrontendContext, or as MicrofrontendErrorBoundary, Pa as MicrofrontendProvider, ci as OtelBrowserSink, Zi as PLAN_USAGE_SNAPSHOT_EVENT, Ii as PLATFORM_TYPES, me as PRODUCTS, he as PRODUCT_URLS, Vn as PULL_TO_REFRESH_THRESHOLD, lr as PWAInstallBanner, ir as PageLoadingFallback, Zn as PermissionButton, tr as PermissionDenied, Qn as PermissionGate, $n as PermissionLink, vn as QUOTA_EXHAUSTED_CODE, Ji as QUOTA_EXHAUSTED_EVENT, Mr as QuotaMeter, yn as RESOURCE_CAP_EXCEEDED_CODE, Yn as RequireAuth, Xn as RequireGuest, ii as RybbitSink, Ye as SSELink, Vt as SSORedirectSpinner, Kt as SSO_DEPOSITED_PARAM, bn as STORAGE_QUOTA_EXCEEDED_CODE, Ln as SafeAreaView, ar as SectionLoadingFallback, ja as TourInitializer, ma as TourPlayer, la as TourPlayerProvider, sa as TourSpotlight, ca as TourTooltip, Fa as TourTrigger, ha as TourTriggerButton, Ea as ToursProvider, xn as UPGRADE_ERROR_CODES, Nr as UPGRADE_PROMPT_EVENT, Ir as UpgradeInlineBanner, Pr as UpgradePromptModal, st as WsLink, Ia as acknowledgeNativePurchase, r as alertTokens, ea as appendContextToPath, _t as attemptTokenRefresh, qt as beginSsoNavigation, R as bootDesktopShell, Kn as buildActorFallback, Sn as buildQuotaExhaustedMessage, Jt as buildSsoDepositUrl, m as capitalizeFirst, h as capitalizeWords, i as categoryTokens, Ht as checkRemoteSLO, Ut as checkSLO, vt as clearAuthSessionStorage, Be as clearGraphqlFetchResponseCache, Wt as clearLocalAuthState, Ct as clearSSoCookie, wt as clearShellSsoCookies, Yt as clearSsoDepositState, Xt as clearSsoNavigation, pn as clearUserContext, Dn as cn, Hn as computePullOffset, Un as computePullProgress, Zt as consumeSsoDepositMarker, n as createApolloClient, ui as createEventBus, Vi as createGlobalShortcuts, Xe as createGraphQLClient, gn as createProfileScopedStorage, z as desktopCheckForUpdates, B as desktopDeepLinkToPath, V as desktopInstallUpdate, H as desktopNotify, U as desktopOpenExternal, W as desktopSetBadgeCount, G as desktopSetLocale, K as desktopSetTheme, q as desktopSetTrayQuickActions, ia as detectDeviceType, vr as detectPlatform, Ne as dispatchBackendErrorEvent, Yi as dispatchQuotaExhausted, Fr as dispatchUpgradePrompt, Pe as extractBackendError, Cn as extractQuotaExhaustedExtensions, wn as extractUpgradeErrorExtensions, g as formatBytes, _ as formatCompactNumber, v as formatCurrency, y as formatCurrencyCompact, b as formatDate, x as formatDateTime, S as formatDuration, yr as formatKeyCombo, C as formatList, w as formatNumber, T as formatOrdinal, E as formatPercentage, D as formatRelativeTime, O as formatTime, a as getAlertTokens, o as getCategoryTokens, J as getDesktopAuthBridgeConfig, Y as getDesktopBridge, X as getDesktopGatewayBases, Z as getDesktopGatewayUrls, Q as getDesktopRuntimeConfig, $ as getDesktopUpdateState, ee as getDesktopWindowState, br as getDisplayKeysForPlatform, Ee as getGatewayConfig, De as getGatewayUrl, Ze as getGlobalClient, Hi as getGlobalShortcutsByCategory, Oe as getGraphQLEndpoint, te as getLegacyDesktopRuntime, jt as getNativeBridge, Ua as getNativeEntryRoutes, La as getNativeProducts, Ra as getNativePurchases, Mt as getPlatform, ge as getProductUrl, _e as getProductsWithUrls, _n as getProfileScopedKey, s as getProgressTokens, aa as getResponsiveSelector, Gt as getSSORedirectUrl, Tt as getSSoCookie, be as getShellConfig, xr as getShortcutLabel, c as getStatusBadgeTokens, l as getStatusTokens, Ve as getStoredAuthToken, He as getStoredLocale, Ue as getStoredOrganizationId, We as getStoredProjectId, Ge as getStoredWorkspaceId, Ke as getStoredWorkspaceToken, _a as getTourContextRank, va as getTourRouteCatalog, ya as getTourRouteModules, ba as getTourRoutePages, u as getTrendTokens, Qe as getWorkspaceClient, ke as getWorkspaceTokenPayload, dt as gql, qe as graphqlFetch, yt as hasAuthGraphQLErrors, $e as initializeAppClients, mn as initializeLogger, ne as installDesktopDeepLinkHandler, re as installDesktopNavigateHandler, le as installGatewayFetchRewrite, za as installNativeIAP, Fe as isAbortError, Nt as isAndroid, bt as isAuthGraphQLError, xt as isAuthNetworkError, Ie as isBackendErrorDisplay, P as isChunkLoadError, ie as isDesktop, Pt as isElectron, Ft as isIOS, It as isInstalledApp, Sr as isMac, Cr as isMobileDevice, Lt as isNative, Ba as isNativeIAPAvailable, Tn as isQuotaExhaustedError, Et as isSharedSsoCookieDomain, xe as isShellLessRoute, Qt as isSsoNavigationPending, Rt as isStandalonePWA, wr as isTabletDevice, xa as isTourVisibleForContext, Le as isTransportError, Dt as isTrustedSsoOrigin, En as isUpgradeError, zt as isWeb, Bt as isWebBrowser, Ae as isWorkspaceTokenValidForContext, F as lazyWithRetry, dn as logManager, Re as markConnectionHealthy, $t as markSsoDepositDone, en as markSsoDepositPending, Tr as matchesKeyCombo, Ui as mergeShortcuts, tn as mintSsoSessionTokens, On as nativeActionSheet, kn as nativeConfirm, An as nativeCopyText, jn as nativeImpact, Mn as nativeNotify, Nn as nativeOpenUrl, Pn as nativeSelection, Fn as nativeShare, In as nativeToast, Er as normalizeKey, Dr as normalizePlatformCombo, Sa as normalizeTourPath, ae as onDesktopUpdateState, oe as onDesktopWindowState, Or as parseKeyCombo, k as pluralize, d as progressTokens, Qi as publishPlanUsageSnapshot, Va as purchaseNativeProduct, ai as readAnalyticsConsent, oi as readAnalyticsConsentChoice, Rn as readInitialNetworkStatus, Ot as readShellSsoCookie, nn as readSsoDepositState, St as redirectToLogin, zn as reduceNetworkStatus, se as registerDesktopNavigator, Ca as registerTourRouteCatalog, et as resetAppClients, Jr as resolveActionSheetOutcome, Na as resolveAppShellObservabilityConfig, fe as resolveAuthBridgeConfig, ue as resolveGatewayBases, Je as resolveGatewayUrl, ce as resolveGatewayUrls, pe as resolveShellAuthBridgeConfig, wa as resolveTourTargetPath, Ha as restoreNativePurchases, si as setAnalyticsConsent, kt as setSSoCookie, At as setShellSsoCookies, hn as setUserContext, rn as shouldAttemptSsoDeposit, kr as shouldEnableKeyboardShortcuts, Ar as shouldIgnoreShortcut, Se as shouldShowBreadcrumb, Wa as shouldShowNativeWelcome, Ce as shouldShowSidebar, ze as shouldToastBackendError, A as slugify, f as statusTokens, de as suppressConsole, j as toCamelCase, M as toPascalCase, p as trendTokens, N as truncateText, Yr as useActionSheet, qn as useActorProfiles, ft as useApolloClient, Wr as useAppState, Ni as useAsync, Pi as useAsyncImmediate, Da as useAutoStartTour, _i as useBreakpoint, ki as useConditionalToggle, e as useCopyToClipboard, ta as useCurrentContextSearchParams, mi as useDebounce, Xr as useDesktop, Zr as useDesktopUpdateState, Qr as useDesktopWindowState, Gr as useDeviceInfo, di as useEvent, fi as useEventBus, pi as useEventEmitter, Ci as useExclusiveMenu, pr as useFeatureFlag, mr as useFeatureFlagDetails, hr as useFeatureFlagValue, fr as useFeatureFlags, nt as useGateway, rt as useGatewayClient, Kr as useHaptics, Gi as useHasAnimated, ot as useHasAuthToken, Ri as useHotkeys, ua as useIsTourPlaying, xi as useKeyPress, Si as useKeyboardShortcut, Li as useKeyboardShortcuts, pt as useLazyQuery, wi as useLocalStorage, Wi as useLogger, t as useMediaQuery, ra as useMicrofrontendContext, vi as useMobileBreakpoint, mt as useMutation, Ur as useNativeKeyboard, Vr as useNativePlatform, Bn as useNetworkStatus, yi as useOnClickOutside, bi as useOnClickOutsideWithRef, cr as usePWA, Mi as usePagination, ga as usePlayTour, Ei as usePrevious, Di as usePreviousDistinct, Oi as usePreviousHistory, Wn as usePullToRefresh, ht as useQuery, Xi as useQuotaErrorToast, qi as useRecordProductVisit, Ki as useReferralAttribution, on as useRegistryHelpers, Hr as useSafeArea, it as useSafeGateway, at as useSafeGatewayClient, Oa as useSafeToursContext, Ti as useSessionStorage, sn as useShellNavigate, zi as useShortcutHelp, da as useStartTour, qr as useStatusBar, fa as useStopTour, gt as useSubscription, hi as useThrottle, Ai as useToggle, ji as useToggleObject, oa as useTourPlayer, pa as useTourPlayerContext, ka as useTours, Aa as useToursContext, $i as useUpgradePrompt, Lr as useVoiceInput, Ta as withTourProgressStatus };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ActionSheetOptions } from '../shared/native/types';
|
|
2
|
+
/**
|
|
3
|
+
* Native action sheet. Resolves the chosen option index, or `null` when the
|
|
4
|
+
* native sheet is unavailable (the caller must render its web fallback sheet).
|
|
5
|
+
*/
|
|
6
|
+
export declare function showNativeActionSheet(options: ActionSheetOptions): Promise<number | null>;
|
|
7
|
+
//# sourceMappingURL=actionSheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionSheet.d.ts","sourceRoot":"","sources":["../../src/shell-native/actionSheet.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AASjE;;;GAGG;AACH,wBAAsB,qBAAqB,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAgB/F"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { isNativePluginAvailable as e } from "./platform.js";
|
|
2
|
+
import { ActionSheet as t, ActionSheetButtonStyle as n } from "@capacitor/action-sheet";
|
|
3
|
+
//#region src/shell-native/actionSheet.ts
|
|
4
|
+
var r = {
|
|
5
|
+
default: n.Default,
|
|
6
|
+
destructive: n.Destructive,
|
|
7
|
+
cancel: n.Cancel
|
|
8
|
+
};
|
|
9
|
+
async function i(n) {
|
|
10
|
+
if (!e("ActionSheet") || !n.options.length) return null;
|
|
11
|
+
try {
|
|
12
|
+
let e = await t.showActions({
|
|
13
|
+
title: n.title,
|
|
14
|
+
message: n.message,
|
|
15
|
+
options: n.options.map((e) => ({
|
|
16
|
+
title: e.title,
|
|
17
|
+
style: r[e.style ?? "default"]
|
|
18
|
+
}))
|
|
19
|
+
});
|
|
20
|
+
return typeof e.index == "number" ? e.index : null;
|
|
21
|
+
} catch {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
export { i as showNativeActionSheet };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { MobileRuntimeHooks } from './types';
|
|
2
|
+
/** Dispatches `burdenoff:appStateChange` `{ isActive }` and runs the shell hooks. */
|
|
3
|
+
export declare function installMobileRuntimeHooks(hooks?: Partial<MobileRuntimeHooks>): Promise<void>;
|
|
4
|
+
//# sourceMappingURL=app-lifecycle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-lifecycle.d.ts","sourceRoot":"","sources":["../../src/shell-native/app-lifecycle.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,qFAAqF;AACrF,wBAAsB,yBAAyB,CAC7C,KAAK,GAAE,OAAO,CAAC,kBAAkB,CAAM,GACtC,OAAO,CAAC,IAAI,CAAC,CAWf"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { isNativePluginAvailable as e } from "./platform.js";
|
|
2
|
+
import { App as t } from "@capacitor/app";
|
|
3
|
+
//#region src/shell-native/app-lifecycle.ts
|
|
4
|
+
async function n(n = {}) {
|
|
5
|
+
if (e("App")) try {
|
|
6
|
+
await t.addListener("appStateChange", ({ isActive: e }) => {
|
|
7
|
+
window.dispatchEvent(new CustomEvent("burdenoff:appStateChange", { detail: { isActive: e } })), e ? n.syncPendingOperations?.() : n.saveState?.();
|
|
8
|
+
});
|
|
9
|
+
} catch {}
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { n as installMobileRuntimeHooks };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { AuthInterceptOptions } from './types';
|
|
2
|
+
export declare const DEFAULT_AUTH_INTERCEPT_PREFIXES: readonly ["/auth/sso-deposit", "/auth/sso-relay", "/auth/sso-clear"];
|
|
3
|
+
export declare function installNativeAuthNavigationIntercept(options?: AuthInterceptOptions): void;
|
|
4
|
+
//# sourceMappingURL=auth-navigation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth-navigation.d.ts","sourceRoot":"","sources":["../../src/shell-native/auth-navigation.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD,eAAO,MAAM,+BAA+B,sEAIlC,CAAC;AAkDX,wBAAgB,oCAAoC,CAAC,OAAO,GAAE,oBAAyB,GAAG,IAAI,CAiF7F"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { isNativePlatform as e, isRealNativePlatform as t } from "./platform.js";
|
|
2
|
+
import { isDesktopShell as n } from "./desktop-bridge.js";
|
|
3
|
+
//#region src/shell-native/auth-navigation.ts
|
|
4
|
+
var r = [
|
|
5
|
+
"/auth/sso-deposit",
|
|
6
|
+
"/auth/sso-relay",
|
|
7
|
+
"/auth/sso-clear"
|
|
8
|
+
];
|
|
9
|
+
function i() {
|
|
10
|
+
if (typeof window > "u") return !1;
|
|
11
|
+
if (n()) return !0;
|
|
12
|
+
try {
|
|
13
|
+
if (t() || e()) return !0;
|
|
14
|
+
} catch {}
|
|
15
|
+
return !1;
|
|
16
|
+
}
|
|
17
|
+
function a(e, t) {
|
|
18
|
+
if (typeof window > "u") return null;
|
|
19
|
+
let n;
|
|
20
|
+
try {
|
|
21
|
+
n = new URL(e, window.location.href);
|
|
22
|
+
} catch {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
if (n.origin === window.location.origin || !t.some((e) => n.pathname.startsWith(e))) return null;
|
|
26
|
+
let r = n.searchParams.get("returnTo");
|
|
27
|
+
if (!r) return "/";
|
|
28
|
+
try {
|
|
29
|
+
let e = new URL(decodeURIComponent(r), window.location.origin);
|
|
30
|
+
return `${e.pathname}${e.search}${e.hash}`;
|
|
31
|
+
} catch {
|
|
32
|
+
return "/";
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
function o(e) {
|
|
36
|
+
try {
|
|
37
|
+
window.history.pushState({}, "", e), window.dispatchEvent(new PopStateEvent("popstate"));
|
|
38
|
+
} catch {
|
|
39
|
+
try {
|
|
40
|
+
window.location.pathname = e.split("?")[0] ?? "/";
|
|
41
|
+
} catch {}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
var s = !1;
|
|
45
|
+
function c(e = {}) {
|
|
46
|
+
if (s || e.enabled === !1 || typeof window > "u" || typeof Location > "u" || !i()) return;
|
|
47
|
+
s = !0;
|
|
48
|
+
let t = e.pathPrefixes ?? r, n = Location.prototype, c = n.assign, l = n.replace, u = Object.getOwnPropertyDescriptor(n, "href");
|
|
49
|
+
function d(e) {
|
|
50
|
+
let n = a(String(e), t);
|
|
51
|
+
return n ? (o(n), !0) : !1;
|
|
52
|
+
}
|
|
53
|
+
let f, p;
|
|
54
|
+
try {
|
|
55
|
+
if (Object.defineProperty(n, "assign", {
|
|
56
|
+
configurable: !0,
|
|
57
|
+
writable: !0,
|
|
58
|
+
value(e) {
|
|
59
|
+
if (!d(e)) return c.call(this, e);
|
|
60
|
+
}
|
|
61
|
+
}), f = n.assign !== c, Object.defineProperty(n, "replace", {
|
|
62
|
+
configurable: !0,
|
|
63
|
+
writable: !0,
|
|
64
|
+
value(e) {
|
|
65
|
+
if (!d(e)) return l.call(this, e);
|
|
66
|
+
}
|
|
67
|
+
}), p = n.replace !== l, u?.get && u?.set) {
|
|
68
|
+
let e = u.get, t = u.set;
|
|
69
|
+
Object.defineProperty(n, "href", {
|
|
70
|
+
configurable: !0,
|
|
71
|
+
get() {
|
|
72
|
+
return e.call(this);
|
|
73
|
+
},
|
|
74
|
+
set(e) {
|
|
75
|
+
d(e) || t.call(this, e);
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
} catch (e) {
|
|
80
|
+
console.debug("[shell-native] Failed to install Location intercept:", e), s = !1;
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
console.debug("[shell-native] Auth navigation intercept installed", {
|
|
84
|
+
assignPatched: f,
|
|
85
|
+
replacePatched: p
|
|
86
|
+
}), typeof document < "u" && document.addEventListener("click", (e) => {
|
|
87
|
+
if (e.defaultPrevented) return;
|
|
88
|
+
let t = e.target, n = t && "closest" in t ? t.closest?.("a") : null;
|
|
89
|
+
if (!n) return;
|
|
90
|
+
let r = n.href;
|
|
91
|
+
r && d(r) && e.preventDefault();
|
|
92
|
+
}, !0);
|
|
93
|
+
}
|
|
94
|
+
//#endregion
|
|
95
|
+
export { r as DEFAULT_AUTH_INTERCEPT_PREFIXES, c as installNativeAuthNavigationIntercept };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BackButtonHandlers } from './types';
|
|
2
|
+
/** Default handlers — overridable per-shell via `bootNativeShell({ backButton })`. */
|
|
3
|
+
export declare function createDefaultBackButtonHandlers(appName: string): BackButtonHandlers;
|
|
4
|
+
/** Precedence: close top overlay → in-app history back → confirm + exit. */
|
|
5
|
+
export declare function runBackButtonPrecedence(handlers: BackButtonHandlers): void;
|
|
6
|
+
/** Android hardware back button (Capacitor `backButton` event). */
|
|
7
|
+
export declare function installBackButtonHandler(handlers: BackButtonHandlers): Promise<void>;
|
|
8
|
+
//# sourceMappingURL=back-button.d.ts.map
|