@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.
Files changed (240) hide show
  1. package/README.md +66 -0
  2. package/dist/button/Button.d.ts +1 -1
  3. package/dist/chrome/AppShellLayout.d.ts +14 -0
  4. package/dist/chrome/AppShellLayout.d.ts.map +1 -1
  5. package/dist/chrome/AppShellLayout.js +13 -10
  6. package/dist/chrome/DynamicFooter.d.ts +6 -1
  7. package/dist/chrome/DynamicFooter.d.ts.map +1 -1
  8. package/dist/chrome/DynamicFooter.js +21 -20
  9. package/dist/chrome/Footer.d.ts +6 -0
  10. package/dist/chrome/Footer.d.ts.map +1 -1
  11. package/dist/chrome/Footer.js +46 -45
  12. package/dist/chrome/FooterBar.d.ts +6 -1
  13. package/dist/chrome/FooterBar.d.ts.map +1 -1
  14. package/dist/chrome/FooterBar.js +28 -26
  15. package/dist/chrome/HeaderBar.d.ts.map +1 -1
  16. package/dist/chrome/HeaderBar.js +3 -0
  17. package/dist/chrome/MobileTabBar.d.ts +26 -0
  18. package/dist/chrome/MobileTabBar.d.ts.map +1 -0
  19. package/dist/chrome/MobileTabBar.js +194 -0
  20. package/dist/chrome/NativePageTransition.d.ts +10 -0
  21. package/dist/chrome/NativePageTransition.d.ts.map +1 -0
  22. package/dist/chrome/NativePageTransition.js +19 -0
  23. package/dist/chrome/NativeTopBar.d.ts +21 -0
  24. package/dist/chrome/NativeTopBar.d.ts.map +1 -0
  25. package/dist/chrome/NativeTopBar.js +72 -0
  26. package/dist/chrome/NotificationCenter.d.ts.map +1 -1
  27. package/dist/chrome/NotificationCenter.js +70 -65
  28. package/dist/chrome/ProductSideNav.d.ts.map +1 -1
  29. package/dist/chrome/ProductSideNav.js +44 -74
  30. package/dist/chrome/SwipeNavigation.d.ts +36 -0
  31. package/dist/chrome/SwipeNavigation.d.ts.map +1 -0
  32. package/dist/chrome/SwipeNavigation.js +111 -0
  33. package/dist/chrome/index.d.ts +14 -7
  34. package/dist/chrome/index.d.ts.map +1 -1
  35. package/dist/chrome/mobileTabBar/selectTabs.d.ts +45 -0
  36. package/dist/chrome/mobileTabBar/selectTabs.d.ts.map +1 -0
  37. package/dist/chrome/mobileTabBar/selectTabs.js +28 -0
  38. package/dist/chrome/mobileTabBar/useMobileTabBarVisible.d.ts +18 -0
  39. package/dist/chrome/mobileTabBar/useMobileTabBarVisible.d.ts.map +1 -0
  40. package/dist/chrome/mobileTabBar/useMobileTabBarVisible.js +16 -0
  41. package/dist/chrome/mobileTabBar/useVisibleNavItems.d.ts +18 -0
  42. package/dist/chrome/mobileTabBar/useVisibleNavItems.d.ts.map +1 -0
  43. package/dist/chrome/mobileTabBar/useVisibleNavItems.js +41 -0
  44. package/dist/chrome/nativeTopBarTitle.d.ts +15 -0
  45. package/dist/chrome/nativeTopBarTitle.d.ts.map +1 -0
  46. package/dist/chrome/nativeTopBarTitle.js +22 -0
  47. package/dist/chrome/swipe/swipeMath.d.ts +25 -0
  48. package/dist/chrome/swipe/swipeMath.d.ts.map +1 -0
  49. package/dist/chrome/swipe/swipeMath.js +14 -0
  50. package/dist/chrome/swipe/swipeState.d.ts +10 -0
  51. package/dist/chrome/swipe/swipeState.d.ts.map +1 -0
  52. package/dist/chrome/swipe/swipeState.js +11 -0
  53. package/dist/chrome.js +8 -1
  54. package/dist/shared/components/DesktopUpdateToast.d.ts +9 -0
  55. package/dist/shared/components/DesktopUpdateToast.d.ts.map +1 -0
  56. package/dist/shared/components/DesktopUpdateToast.js +39 -0
  57. package/dist/shared/components/PWAInstallBanner.js +1 -1
  58. package/dist/shared/components/SSORedirectGuard.d.ts.map +1 -1
  59. package/dist/shared/components/SSORedirectGuard.js +41 -45
  60. package/dist/shared/components/index.d.ts +2 -0
  61. package/dist/shared/components/index.d.ts.map +1 -1
  62. package/dist/shared/config/authBridgeUrls.d.ts +10 -0
  63. package/dist/shared/config/authBridgeUrls.d.ts.map +1 -1
  64. package/dist/shared/config/authBridgeUrls.js +16 -12
  65. package/dist/shared/config/gatewayUrls.d.ts.map +1 -1
  66. package/dist/shared/config/gatewayUrls.js +22 -19
  67. package/dist/shared/config/index.d.ts +1 -1
  68. package/dist/shared/config/index.d.ts.map +1 -1
  69. package/dist/shared/hooks/shell/useNavRegistry.d.ts +7 -0
  70. package/dist/shared/hooks/shell/useNavRegistry.d.ts.map +1 -1
  71. package/dist/shared/hooks/usePWA.d.ts.map +1 -1
  72. package/dist/shared/hooks/usePWA.js +34 -30
  73. package/dist/shared/native/consumers.d.ts +15 -1
  74. package/dist/shared/native/consumers.d.ts.map +1 -1
  75. package/dist/shared/native/consumers.js +26 -7
  76. package/dist/shared/native/desktop.d.ts +123 -0
  77. package/dist/shared/native/desktop.d.ts.map +1 -0
  78. package/dist/shared/native/desktop.js +280 -0
  79. package/dist/shared/native/entry.d.ts +39 -0
  80. package/dist/shared/native/entry.d.ts.map +1 -0
  81. package/dist/shared/native/entry.js +13 -0
  82. package/dist/shared/native/hooks/index.d.ts +10 -0
  83. package/dist/shared/native/hooks/index.d.ts.map +1 -1
  84. package/dist/shared/native/hooks/index.js +6 -0
  85. package/dist/shared/native/hooks/useActionSheet.d.ts +63 -0
  86. package/dist/shared/native/hooks/useActionSheet.d.ts.map +1 -0
  87. package/dist/shared/native/hooks/useActionSheet.js +45 -0
  88. package/dist/shared/native/hooks/useDesktop.d.ts +15 -0
  89. package/dist/shared/native/hooks/useDesktop.d.ts.map +1 -0
  90. package/dist/shared/native/hooks/useDesktop.js +18 -0
  91. package/dist/shared/native/hooks/useDesktopUpdateState.d.ts +7 -0
  92. package/dist/shared/native/hooks/useDesktopUpdateState.d.ts.map +1 -0
  93. package/dist/shared/native/hooks/useDesktopUpdateState.js +20 -0
  94. package/dist/shared/native/hooks/useDesktopWindowState.d.ts +7 -0
  95. package/dist/shared/native/hooks/useDesktopWindowState.d.ts.map +1 -0
  96. package/dist/shared/native/hooks/useDesktopWindowState.js +9 -0
  97. package/dist/shared/native/hooks/useHaptics.d.ts +1 -0
  98. package/dist/shared/native/hooks/useHaptics.d.ts.map +1 -1
  99. package/dist/shared/native/hooks/useHaptics.js +6 -6
  100. package/dist/shared/native/hooks/useNetworkStatus.d.ts +23 -0
  101. package/dist/shared/native/hooks/useNetworkStatus.d.ts.map +1 -0
  102. package/dist/shared/native/hooks/useNetworkStatus.js +29 -0
  103. package/dist/shared/native/hooks/usePullToRefresh.d.ts +62 -0
  104. package/dist/shared/native/hooks/usePullToRefresh.d.ts.map +1 -0
  105. package/dist/shared/native/hooks/usePullToRefresh.js +84 -0
  106. package/dist/shared/native/index.d.ts +6 -1
  107. package/dist/shared/native/index.d.ts.map +1 -1
  108. package/dist/shared/native/platform.d.ts.map +1 -1
  109. package/dist/shared/native/platform.js +2 -1
  110. package/dist/shared/native/purchases.d.ts +7 -1
  111. package/dist/shared/native/purchases.d.ts.map +1 -1
  112. package/dist/shared/native/purchases.js +3 -3
  113. package/dist/shared/native/types.d.ts +136 -0
  114. package/dist/shared/native/types.d.ts.map +1 -1
  115. package/dist/shared/providers/AppShellProvider.d.ts.map +1 -1
  116. package/dist/shared/providers/AppShellProvider.js +117 -115
  117. package/dist/shared/providers/shell/ThemeProvider.d.ts.map +1 -1
  118. package/dist/shared/providers/shell/ThemeProvider.js +64 -51
  119. package/dist/shared/providers/shell/authProvider/useSsoDepositBootGuard.d.ts.map +1 -1
  120. package/dist/shared/providers/shell/authProvider/useSsoDepositBootGuard.js +25 -29
  121. package/dist/shared/utils/gatewayFetchRewrite.d.ts.map +1 -1
  122. package/dist/shared/utils/gatewayFetchRewrite.js +87 -84
  123. package/dist/shared-components.js +2 -1
  124. package/dist/shared-config.js +10 -10
  125. package/dist/shared-native.js +21 -13
  126. package/dist/shared.js +120 -111
  127. package/dist/shell-native/actionSheet.d.ts +7 -0
  128. package/dist/shell-native/actionSheet.d.ts.map +1 -0
  129. package/dist/shell-native/actionSheet.js +26 -0
  130. package/dist/shell-native/app-lifecycle.d.ts +4 -0
  131. package/dist/shell-native/app-lifecycle.d.ts.map +1 -0
  132. package/dist/shell-native/app-lifecycle.js +12 -0
  133. package/dist/shell-native/auth-navigation.d.ts +4 -0
  134. package/dist/shell-native/auth-navigation.d.ts.map +1 -0
  135. package/dist/shell-native/auth-navigation.js +95 -0
  136. package/dist/shell-native/back-button.d.ts +8 -0
  137. package/dist/shell-native/back-button.d.ts.map +1 -0
  138. package/dist/shell-native/back-button.js +49 -0
  139. package/dist/shell-native/boot.d.ts +10 -0
  140. package/dist/shell-native/boot.d.ts.map +1 -0
  141. package/dist/shell-native/boot.js +65 -0
  142. package/dist/shell-native/bridge.d.ts +7 -0
  143. package/dist/shell-native/bridge.d.ts.map +1 -0
  144. package/dist/shell-native/bridge.js +30 -0
  145. package/dist/shell-native/browser.d.ts +12 -0
  146. package/dist/shell-native/browser.d.ts.map +1 -0
  147. package/dist/shell-native/browser.js +45 -0
  148. package/dist/shell-native/capacitor-config.d.ts +21 -0
  149. package/dist/shell-native/capacitor-config.d.ts.map +1 -0
  150. package/dist/shell-native/capacitor-config.js +102 -0
  151. package/dist/shell-native/clipboard.d.ts +3 -0
  152. package/dist/shell-native/clipboard.d.ts.map +1 -0
  153. package/dist/shell-native/clipboard.js +26 -0
  154. package/dist/shell-native/deep-link.d.ts +19 -0
  155. package/dist/shell-native/deep-link.d.ts.map +1 -0
  156. package/dist/shell-native/deep-link.js +53 -0
  157. package/dist/shell-native/desktop-bridge.d.ts +14 -0
  158. package/dist/shell-native/desktop-bridge.d.ts.map +1 -0
  159. package/dist/shell-native/desktop-bridge.js +17 -0
  160. package/dist/shell-native/device.d.ts +4 -0
  161. package/dist/shell-native/device.d.ts.map +1 -0
  162. package/dist/shell-native/device.js +27 -0
  163. package/dist/shell-native/dialog.d.ts +4 -0
  164. package/dist/shell-native/dialog.d.ts.map +1 -0
  165. package/dist/shell-native/dialog.js +13 -0
  166. package/dist/shell-native/feedback.d.ts +6 -0
  167. package/dist/shell-native/feedback.d.ts.map +1 -0
  168. package/dist/shell-native/feedback.js +29 -0
  169. package/dist/shell-native/index.d.ts +54 -0
  170. package/dist/shell-native/index.d.ts.map +1 -0
  171. package/dist/shell-native/keyboard.d.ts +15 -0
  172. package/dist/shell-native/keyboard.d.ts.map +1 -0
  173. package/dist/shell-native/keyboard.js +42 -0
  174. package/dist/shell-native/network.d.ts +9 -0
  175. package/dist/shell-native/network.d.ts.map +1 -0
  176. package/dist/shell-native/network.js +40 -0
  177. package/dist/shell-native/ota.d.ts +3 -0
  178. package/dist/shell-native/ota.d.ts.map +1 -0
  179. package/dist/shell-native/ota.js +21 -0
  180. package/dist/shell-native/platform.d.ts +21 -0
  181. package/dist/shell-native/platform.d.ts.map +1 -0
  182. package/dist/shell-native/platform.js +51 -0
  183. package/dist/shell-native/preview.d.ts +18 -0
  184. package/dist/shell-native/preview.d.ts.map +1 -0
  185. package/dist/shell-native/preview.js +124 -0
  186. package/dist/shell-native/push.d.ts +14 -0
  187. package/dist/shell-native/push.d.ts.map +1 -0
  188. package/dist/shell-native/push.js +62 -0
  189. package/dist/shell-native/pwa.d.ts +14 -0
  190. package/dist/shell-native/pwa.d.ts.map +1 -0
  191. package/dist/shell-native/pwa.js +49 -0
  192. package/dist/shell-native/service-worker.d.ts +5 -0
  193. package/dist/shell-native/service-worker.d.ts.map +1 -0
  194. package/dist/shell-native/service-worker.js +144 -0
  195. package/dist/shell-native/share.d.ts +4 -0
  196. package/dist/shell-native/share.d.ts.map +1 -0
  197. package/dist/shell-native/share.js +19 -0
  198. package/dist/shell-native/splash.d.ts +16 -0
  199. package/dist/shell-native/splash.d.ts.map +1 -0
  200. package/dist/shell-native/splash.js +25 -0
  201. package/dist/shell-native/system-bars.d.ts +24 -0
  202. package/dist/shell-native/system-bars.d.ts.map +1 -0
  203. package/dist/shell-native/system-bars.js +49 -0
  204. package/dist/shell-native/toast.d.ts +4 -0
  205. package/dist/shell-native/toast.d.ts.map +1 -0
  206. package/dist/shell-native/toast.js +16 -0
  207. package/dist/shell-native/types.d.ts +292 -0
  208. package/dist/shell-native/types.d.ts.map +1 -0
  209. package/dist/shell-native/web-manifest.d.ts +36 -0
  210. package/dist/shell-native/web-manifest.d.ts.map +1 -0
  211. package/dist/shell-native/web-manifest.js +55 -0
  212. package/dist/shell-native.d.ts +2 -0
  213. package/dist/shell-native.js +29 -0
  214. package/dist/ui/action-sheet.d.ts +29 -0
  215. package/dist/ui/action-sheet.d.ts.map +1 -0
  216. package/dist/ui/action-sheet.js +53 -0
  217. package/dist/ui/badge.d.ts +1 -1
  218. package/dist/ui/button.d.ts +1 -1
  219. package/dist/ui/index.d.ts +6 -0
  220. package/dist/ui/index.d.ts.map +1 -1
  221. package/dist/ui/native-welcome.d.ts +61 -0
  222. package/dist/ui/native-welcome.d.ts.map +1 -0
  223. package/dist/ui/native-welcome.js +152 -0
  224. package/dist/ui/offline-banner.d.ts +22 -0
  225. package/dist/ui/offline-banner.d.ts.map +1 -0
  226. package/dist/ui/offline-banner.js +34 -0
  227. package/dist/ui/pull-to-refresh.d.ts +29 -0
  228. package/dist/ui/pull-to-refresh.d.ts.map +1 -0
  229. package/dist/ui/pull-to-refresh.js +44 -0
  230. package/dist/ui/pwa-update-toast.d.ts +34 -0
  231. package/dist/ui/pwa-update-toast.d.ts.map +1 -0
  232. package/dist/ui/pwa-update-toast.js +43 -0
  233. package/dist/ui/select.d.ts +38 -0
  234. package/dist/ui/select.d.ts.map +1 -1
  235. package/dist/ui/select.js +162 -61
  236. package/dist/ui.js +40 -35
  237. package/package.json +93 -4
  238. package/src/shared/styles/app-shell.css +3 -0
  239. package/src/shared/styles/native.css +577 -0
  240. package/dist/node_modules/@capacitor/core/dist/index.js +0 -268
@@ -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 n, PRODUCT_URLS as r, getProductUrl as i, getProductsWithUrls as a } from "./shared/config/products.js";
4
- import { COMMON_SHELL_LESS_ROUTES as o, DEFAULT_SHELL_CONFIG as s, getShellConfig as c, isShellLessRoute as l, shouldShowBreadcrumb as u, shouldShowSidebar as d } from "./shared/config/shellRoutes.js";
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 f = 20, p = {
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 m(e, t) {
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 h(e) {
24
- return p[e];
23
+ function g(e) {
24
+ return m[e];
25
25
  }
26
- function g(e, t) {
27
- let n = p[t], r = e || n.defaultBaseUrl;
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 { o as COMMON_SHELL_LESS_ROUTES, f as DEFAULT_PAGE_SIZE, s as DEFAULT_SHELL_CONFIG, p as GATEWAYS, n as PRODUCTS, r as PRODUCT_URLS, h as getGatewayConfig, g as getGatewayUrl, m as getGraphQLEndpoint, i as getProductUrl, a as getProductsWithUrls, c as getShellConfig, l as isShellLessRoute, t as resolveAuthBridgeConfig, e as resolveGatewayUrls, u as shouldShowBreadcrumb, d as shouldShowSidebar };
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 };
@@ -1,14 +1,22 @@
1
- import { getNativeBridge as e } from "./shared/native/bridge.js";
2
- import { getPlatform as t, isAndroid as n, isElectron as r, isIOS as i, isInstalledApp as a, isNative as o, isStandalonePWA as s, isWeb as c, isWebBrowser as l } from "./shared/native/platform.js";
3
- import { nativeConfirm as u, nativeCopyText as d, nativeImpact as f, nativeNotify as p, nativeOpenUrl as m, nativeShare as h, nativeToast as g } from "./shared/native/consumers.js";
4
- import { SafeAreaView as _ } from "./shared/native/SafeAreaView.js";
5
- import { useNativePlatform as v } from "./shared/native/hooks/useNativePlatform.js";
6
- import { useSafeArea as y } from "./shared/native/hooks/useSafeArea.js";
7
- import { useNativeKeyboard as b } from "./shared/native/hooks/useNativeKeyboard.js";
8
- import { useAppState as x } from "./shared/native/hooks/useAppState.js";
9
- import { useDeviceInfo as S } from "./shared/native/hooks/useDeviceInfo.js";
10
- import { useHaptics as C } from "./shared/native/hooks/useHaptics.js";
11
- import { useStatusBar as w } from "./shared/native/hooks/useStatusBar.js";
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 T, getNativeProducts as E, getNativePurchases as D, installNativeIAP as O, isNativeIAPAvailable as k, purchaseNativeProduct as A, restoreNativePurchases as j } from "./shared/native/purchases.js";
14
- export { _ as SafeAreaView, T as acknowledgeNativePurchase, e as getNativeBridge, E as getNativeProducts, D as getNativePurchases, t as getPlatform, O as installNativeIAP, n as isAndroid, r as isElectron, i as isIOS, a as isInstalledApp, o as isNative, k as isNativeIAPAvailable, s as isStandalonePWA, c as isWeb, l as isWebBrowser, u as nativeConfirm, d as nativeCopyText, f as nativeImpact, p as nativeNotify, m as nativeOpenUrl, h as nativeShare, g as nativeToast, A as purchaseNativeProduct, j as restoreNativePurchases, x as useAppState, S as useDeviceInfo, C as useHaptics, b as useNativeKeyboard, v as useNativePlatform, y as useSafeArea, w as useStatusBar };
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 { resolveGatewayUrls as I } from "./shared/config/gatewayUrls.js";
8
- import { installGatewayFetchRewrite as L, resolveGatewayBases as R, suppressConsole as z } from "./shared/utils/gatewayFetchRewrite.js";
9
- import { resolveAuthBridgeConfig as B } from "./shared/config/authBridgeUrls.js";
10
- import { PRODUCTS as V, PRODUCT_URLS as H, getProductUrl as U, getProductsWithUrls as W } from "./shared/config/products.js";
11
- import { COMMON_SHELL_LESS_ROUTES as G, DEFAULT_SHELL_CONFIG as K, getShellConfig as q, isShellLessRoute as J, shouldShowBreadcrumb as Y, shouldShowSidebar as X } from "./shared/config/shellRoutes.js";
12
- import { DEFAULT_PAGE_SIZE as Z, GATEWAYS as Q, getGatewayConfig as $, getGatewayUrl as ee, getGraphQLEndpoint as te } from "./shared-config.js";
13
- import { getWorkspaceTokenPayload as ne, isWorkspaceTokenValidForContext as re } from "./shared/graphql/workspaceToken.js";
14
- import { BACKEND_ERROR_EVENT as ie, CONNECTION_STATUS_EVENT as ae, dispatchBackendErrorEvent as oe, extractBackendError as se, isAbortError as ce, isBackendErrorDisplay as le, isTransportError as ue, markConnectionHealthy as de, shouldToastBackendError as fe } from "./shared/utils/backendErrors.js";
15
- import { clearGraphqlFetchResponseCache as pe, getStoredAuthToken as me, getStoredLocale as he, getStoredOrganizationId as ge, getStoredProjectId as _e, getStoredWorkspaceId as ve, getStoredWorkspaceToken as ye, graphqlFetch as be, resolveGatewayUrl as xe } from "./shared/graphql/fetch.js";
16
- import { SSELink as Se } from "./shared/graphql/links/sse-link.js";
17
- import { createGraphQLClient as Ce, getGlobalClient as we, getWorkspaceClient as Te, initializeAppClients as Ee, resetAppClients as De } from "./shared/graphql/client.js";
18
- import { GatewayProvider as Oe, useGateway as ke, useGatewayClient as Ae, useSafeGateway as je, useSafeGatewayClient as Me } from "./shared/graphql/GatewayContext.js";
19
- import { useHasAuthToken as Ne } from "./shared/graphql/useHasAuthToken.js";
20
- import { WsLink as Pe } from "./shared/graphql/links/ws-link.js";
21
- import { ApolloClient as Fe, ApolloProvider as Ie, InMemoryCache as Le, gql as Re, useApolloClient as ze, useLazyQuery as Be, useMutation as Ve, useQuery as He, useSubscription as Ue } from "./shared-graphql.js";
22
- import { attemptTokenRefresh as We, clearAuthSessionStorage as Ge, hasAuthGraphQLErrors as Ke, isAuthGraphQLError as qe, isAuthNetworkError as Je, redirectToLogin as Ye } from "./shared/utils/authErrorHandling.js";
23
- import { clearSSoCookie as Xe, clearShellSsoCookies as Ze, getSSoCookie as Qe, isSharedSsoCookieDomain as $e, isTrustedSsoOrigin as et, readShellSsoCookie as tt, setSSoCookie as nt, setShellSsoCookies as rt } from "./shared/utils/authCookie.js";
24
- import { SSORedirectSpinner as it, checkRemoteSLO as at, checkSLO as ot, clearLocalAuthState as st, getSSORedirectUrl as ct } from "./shared/components/SSORedirectGuard.js";
25
- import { SSO_DEPOSITED_PARAM as lt, beginSsoNavigation as ut, buildSsoDepositUrl as dt, clearSsoDepositState as ft, clearSsoNavigation as pt, consumeSsoDepositMarker as mt, isSsoNavigationPending as ht, markSsoDepositDone as gt, markSsoDepositPending as _t, mintSsoSessionTokens as vt, readSsoDepositState as yt, shouldAttemptSsoDeposit as bt } from "./shared/utils/ssoDeposit.js";
26
- import { AppInitializer as xt, useRegistryHelpers as St, useShellNavigate as Ct } from "./shared/utils/appHelpers.js";
27
- import { LogLevel as wt } from "./shared/logger/types.js";
28
- import { Logger as Tt } from "./shared/logger/Logger.js";
29
- import { LogManager as Et, logManager as Dt } from "./shared/logger/LogManager.js";
30
- import { ConsoleTransport as Ot } from "./shared/logger/ConsoleTransport.js";
31
- import { clearUserContext as kt, initializeLogger as At, setUserContext as jt } from "./shared/utils/loggerInit.js";
32
- import { createProfileScopedStorage as Mt, getProfileScopedKey as Nt } from "./shared/utils/profileScopedStorage.js";
33
- import { QUOTA_EXHAUSTED_CODE as Pt, RESOURCE_CAP_EXCEEDED_CODE as Ft, STORAGE_QUOTA_EXCEEDED_CODE as It, UPGRADE_ERROR_CODES as Lt, buildQuotaExhaustedMessage as Rt, extractQuotaExhaustedExtensions as zt, extractUpgradeErrorExtensions as Bt, isQuotaExhaustedError as Vt, isUpgradeError as Ht } from "./shared/utils/quotaErrors.js";
34
- import { cn as Ut } from "./shared-utils.js";
35
- import { ActorIdentity as Wt } from "./shared/actors/ActorIdentity.js";
36
- import { buildActorFallback as Gt, useActorProfiles as Kt } from "./shared/actors/useActorProfiles.js";
37
- import { ErrorBoundary as qt } from "./shared/components/ErrorBoundary.js";
38
- import { RequireAuth as Jt, RequireGuest as Yt } from "./shared/components/RequireAuth.js";
39
- import { PermissionButton as Xt, PermissionGate as Zt, PermissionLink as Qt } from "./shared/components/PermissionGate.js";
40
- import { AccessDenied as $t, PermissionDenied as en } from "./shared/components/AccessDenied.js";
41
- import { ErrorFallback as tn } from "./shared/components/ErrorFallback.js";
42
- import { LoadingFallback as nn, PageLoadingFallback as rn, SectionLoadingFallback as an } from "./shared/components/LoadingFallback.js";
43
- import { MicrofrontendErrorBoundary as on } from "./shared/components/MicrofrontendErrorBoundary.js";
44
- import { ConditionalShell as sn } from "./shared/components/ConditionalShell.js";
45
- import { usePWA as cn } from "./shared/hooks/usePWA.js";
46
- import { PWAInstallBanner as ln } from "./shared/components/PWAInstallBanner.js";
47
- import { ErrorBoundary as un } from "./shared/components/AppErrorBoundary.js";
48
- import { FeatureFlagProvider as dn, useFeatureFlags as fn } from "./shared/feature-flags/FeatureFlagProvider.js";
49
- import { useFeatureFlag as pn, useFeatureFlagDetails as mn, useFeatureFlagValue as hn } from "./shared/feature-flags/useFeatureFlag.js";
50
- import { FeatureGate as gn } from "./shared/feature-flags/FeatureGate.js";
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 _n } from "./shared/components/ContextConversationWidget.js";
53
- import { detectPlatform as vn, formatKeyCombo as yn, getDisplayKeysForPlatform as bn, getShortcutLabel as xn, isMac as Sn, isMobileDevice as Cn, isTabletDevice as wn, matchesKeyCombo as Tn, normalizeKey as En, normalizePlatformCombo as Dn, parseKeyCombo as On, shouldEnableKeyboardShortcuts as kn, shouldIgnoreShortcut as An } from "./shared/keyboard/utils.js";
54
- import { KeyboardHelpDialogWrapper as jn } from "./shared/components/KeyboardHelpDialogWrapper.js";
55
- import { QuotaMeter as Mn } from "./shared/components/QuotaMeter.js";
56
- import { UPGRADE_PROMPT_EVENT as Nn, UpgradePromptModal as Pn, dispatchUpgradePrompt as Fn } from "./shared/components/UpgradePromptModal.js";
57
- import { UpgradeInlineBanner as In } from "./shared/components/UpgradeInlineBanner.js";
58
- import { useVoiceInput as Ln } from "./shared/components/assistantWidget/useVoiceInput.js";
59
- import { ASSISTANT_WIDGET_TOGGLE_EVENT as Rn, AssistantWidget as zn } from "./shared/components/assistantWidget/AssistantWidget.js";
60
- import { Markdown as Bn } from "./shared/components/Markdown.js";
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 Vn } from "./shared/events/sinks/DevtoolsSink.js";
63
- import { BroadcastChannelSink as Hn } from "./shared/events/sinks/BroadcastChannelSink.js";
64
- import { BackendAuditSink as Un } from "./shared/events/sinks/BackendAuditSink.js";
65
- import { AnalyticsConsentBanner as Wn, RybbitSink as Gn, readAnalyticsConsent as Kn, readAnalyticsConsentChoice as qn, setAnalyticsConsent as Jn } from "./shared/events/sinks/RybbitSink.js";
66
- import { OtelBrowserSink as Yn } from "./shared/events/sinks/OtelBrowserSink.js";
67
- import { EventBusProvider as Xn, createEventBus as Zn, useEvent as Qn, useEventBus as $n, useEventEmitter as er } from "./shared-events.js";
68
- import { useDebounce as tr } from "./shared/hooks/useDebounce.js";
69
- import { useThrottle as nr } from "./shared/hooks/useThrottle.js";
70
- import { BREAKPOINTS as rr, useBreakpoint as ir, useMobileBreakpoint as ar } from "./shared/hooks/useBreakpoint.js";
71
- import { useOnClickOutside as or, useOnClickOutsideWithRef as sr } from "./shared/hooks/useOnClickOutside.js";
72
- import { useKeyPress as cr, useKeyboardShortcut as lr } from "./shared/hooks/useKeyPress.js";
73
- import { useExclusiveMenu as ur } from "./shared/hooks/useExclusiveMenu.js";
74
- import { useLocalStorage as dr } from "./shared/hooks/useLocalStorage.js";
75
- import { useSessionStorage as fr } from "./shared/hooks/useSessionStorage.js";
76
- import { usePrevious as pr, usePreviousDistinct as mr, usePreviousHistory as hr } from "./shared/hooks/usePrevious.js";
77
- import { useConditionalToggle as gr, useToggle as _r, useToggleObject as vr } from "./shared/hooks/useToggle.js";
78
- import { usePagination as yr } from "./shared/hooks/usePagination.js";
79
- import { useAsync as br, useAsyncImmediate as xr } from "./shared/hooks/useAsync.js";
80
- import { MODIFIER_KEYS as Sr, PLATFORM_TYPES as Cr } from "./shared/keyboard/types.js";
81
- import { useKeyboardShortcuts as wr } from "./shared/keyboard/useKeyboardShortcuts.js";
82
- import { useHotkeys as Tr } from "./shared/keyboard/useHotkeys.js";
83
- import { useShortcutHelp as Er } from "./shared/keyboard/useShortcutHelp.js";
84
- import { GLOBAL_SHORTCUT_CATEGORIES as Dr, createGlobalShortcuts as Or, getGlobalShortcutsByCategory as kr, mergeShortcuts as Ar } from "./shared/keyboard/globalShortcuts.js";
85
- import { useLogger as jr } from "./shared/logger/useLogger.js";
86
- import { useHasAnimated as Mr } from "./shared/hooks/useHasAnimated.js";
87
- import { useReferralAttribution as Nr } from "./shared/hooks/useReferralAttribution.js";
88
- import { useRecordProductVisit as Pr } from "./shared/hooks/useRecordProductVisit.js";
89
- import { QUOTA_EXHAUSTED_EVENT as Fr, dispatchQuotaExhausted as Ir, useQuotaErrorToast as Lr } from "./shared/hooks/useQuotaErrorToast.js";
90
- import { PLAN_USAGE_SNAPSHOT_EVENT as Rr, publishPlanUsageSnapshot as zr, useUpgradePrompt as Br } from "./shared/hooks/useUpgradePrompt.js";
91
- import { appendContextToPath as Vr, useCurrentContextSearchParams as Hr } from "./shared/hooks/useCurrentContextSearchParams.js";
92
- import { MicrofrontendContext as Ur, useMicrofrontendContext as Wr } from "./shared-hooks.js";
93
- import { detectDeviceType as Gr, getResponsiveSelector as Kr } from "./shared/tours/types.js";
94
- import { useTourPlayer as qr } from "./shared/tours/useTourPlayer.js";
95
- import { TourSpotlight as Jr } from "./shared/tours/TourSpotlight.js";
96
- import { TourTooltip as Yr } from "./shared/tours/TourTooltip.js";
97
- import { TourPlayerProvider as Xr, useIsTourPlaying as Zr, useStartTour as Qr, useStopTour as $r, useTourPlayerContext as ei } from "./shared/tours/TourPlayerProvider.js";
98
- import { TourPlayer as ti, TourTriggerButton as ni, usePlayTour as ri } from "./shared/tours/TourPlayer.js";
99
- import { getTourContextRank as ii, getTourRouteCatalog as ai, getTourRouteModules as oi, getTourRoutePages as si, isTourVisibleForContext as ci, normalizeTourPath as li, registerTourRouteCatalog as ui, resolveTourTargetPath as di } from "./shared/tours/routeCatalog.js";
100
- import { withTourProgressStatus as fi } from "./shared/tours/progress.js";
101
- import { ToursProvider as pi, useAutoStartTour as mi, useSafeToursContext as hi, useTours as gi, useToursContext as _i } from "./shared/tours/ToursContext.js";
102
- import { TourInitializer as vi } from "./shared/tours/TourInitializer.js";
103
- import { AppShellProvider as yi, resolveAppShellObservabilityConfig as bi } from "./shared/providers/AppShellProvider.js";
104
- import { MicrofrontendProvider as xi } from "./shared-providers.js";
105
- import { TourTrigger as Si } from "./shared/tours/TourTrigger.js";
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 { getNativeBridge as Ci } from "./shared/native/bridge.js";
108
- import { getPlatform as wi, isAndroid as Ti, isElectron as Ei, isIOS as Di, isInstalledApp as Oi, isNative as ki, isStandalonePWA as Ai, isWeb as ji, isWebBrowser as Mi } from "./shared/native/platform.js";
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 ta = "1.0.0";
131
+ var Ga = "1.0.0";
123
132
  //#endregion
124
- export { Rn as ASSISTANT_WIDGET_TOGGLE_EVENT, $t as AccessDenied, Wt as ActorIdentity, Wn as AnalyticsConsentBanner, Fe as ApolloClient, Ie as ApolloProvider, un as AppErrorBoundary, xt as AppInitializer, yi as AppShellProvider, zn as AssistantWidget, ie as BACKEND_ERROR_EVENT, rr as BREAKPOINTS, Un as BackendAuditSink, Hn as BroadcastChannelSink, G as COMMON_SHELL_LESS_ROUTES, ae as CONNECTION_STATUS_EVENT, sn as ConditionalShell, Ot as ConsoleTransport, _n as ContextConversationWidget, Z as DEFAULT_PAGE_SIZE, K as DEFAULT_SHELL_CONFIG, Vn as DevtoolsSink, qt as ErrorBoundary, tn as ErrorFallback, Xn as EventBusProvider, ta as FE_SHARED_VERSION, dn as FeatureFlagProvider, gn as FeatureGate, Q as GATEWAYS, Dr as GLOBAL_SHORTCUT_CATEGORIES, Oe as GatewayProvider, Le as InMemoryCache, jn as KeyboardHelpDialogWrapper, nn as LoadingFallback, wt as LogLevel, Et as LogManager, Tt as Logger, Sr as MODIFIER_KEYS, Bn as Markdown, Ur as MicrofrontendContext, on as MicrofrontendErrorBoundary, xi as MicrofrontendProvider, Yn as OtelBrowserSink, Rr as PLAN_USAGE_SNAPSHOT_EVENT, Cr as PLATFORM_TYPES, V as PRODUCTS, H as PRODUCT_URLS, ln as PWAInstallBanner, rn as PageLoadingFallback, Xt as PermissionButton, en as PermissionDenied, Zt as PermissionGate, Qt as PermissionLink, Pt as QUOTA_EXHAUSTED_CODE, Fr as QUOTA_EXHAUSTED_EVENT, Mn as QuotaMeter, Ft as RESOURCE_CAP_EXCEEDED_CODE, Jt as RequireAuth, Yt as RequireGuest, Gn as RybbitSink, Se as SSELink, it as SSORedirectSpinner, lt as SSO_DEPOSITED_PARAM, It as STORAGE_QUOTA_EXCEEDED_CODE, Bi as SafeAreaView, an as SectionLoadingFallback, vi as TourInitializer, ti as TourPlayer, Xr as TourPlayerProvider, Jr as TourSpotlight, Yr as TourTooltip, Si as TourTrigger, ni as TourTriggerButton, pi as ToursProvider, Lt as UPGRADE_ERROR_CODES, Nn as UPGRADE_PROMPT_EVENT, In as UpgradeInlineBanner, Pn as UpgradePromptModal, Pe as WsLink, Ji as acknowledgeNativePurchase, r as alertTokens, Vr as appendContextToPath, We as attemptTokenRefresh, ut as beginSsoNavigation, Gt as buildActorFallback, Rt as buildQuotaExhaustedMessage, dt as buildSsoDepositUrl, m as capitalizeFirst, h as capitalizeWords, i as categoryTokens, at as checkRemoteSLO, ot as checkSLO, Ge as clearAuthSessionStorage, pe as clearGraphqlFetchResponseCache, st as clearLocalAuthState, Xe as clearSSoCookie, Ze as clearShellSsoCookies, ft as clearSsoDepositState, pt as clearSsoNavigation, kt as clearUserContext, Ut as cn, mt as consumeSsoDepositMarker, n as createApolloClient, Zn as createEventBus, Or as createGlobalShortcuts, Ce as createGraphQLClient, Mt as createProfileScopedStorage, Gr as detectDeviceType, vn as detectPlatform, oe as dispatchBackendErrorEvent, Ir as dispatchQuotaExhausted, Fn as dispatchUpgradePrompt, se as extractBackendError, zt as extractQuotaExhaustedExtensions, Bt as extractUpgradeErrorExtensions, g as formatBytes, _ as formatCompactNumber, v as formatCurrency, y as formatCurrencyCompact, b as formatDate, x as formatDateTime, S as formatDuration, yn 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, bn as getDisplayKeysForPlatform, $ as getGatewayConfig, ee as getGatewayUrl, we as getGlobalClient, kr as getGlobalShortcutsByCategory, te as getGraphQLEndpoint, Ci as getNativeBridge, Yi as getNativeProducts, Xi as getNativePurchases, wi as getPlatform, U as getProductUrl, W as getProductsWithUrls, Nt as getProfileScopedKey, s as getProgressTokens, Kr as getResponsiveSelector, ct as getSSORedirectUrl, Qe as getSSoCookie, q as getShellConfig, xn as getShortcutLabel, c as getStatusBadgeTokens, l as getStatusTokens, me as getStoredAuthToken, he as getStoredLocale, ge as getStoredOrganizationId, _e as getStoredProjectId, ve as getStoredWorkspaceId, ye as getStoredWorkspaceToken, ii as getTourContextRank, ai as getTourRouteCatalog, oi as getTourRouteModules, si as getTourRoutePages, u as getTrendTokens, Te as getWorkspaceClient, ne as getWorkspaceTokenPayload, Re as gql, be as graphqlFetch, Ke as hasAuthGraphQLErrors, Ee as initializeAppClients, At as initializeLogger, L as installGatewayFetchRewrite, Zi as installNativeIAP, ce as isAbortError, Ti as isAndroid, qe as isAuthGraphQLError, Je as isAuthNetworkError, le as isBackendErrorDisplay, P as isChunkLoadError, Ei as isElectron, Di as isIOS, Oi as isInstalledApp, Sn as isMac, Cn as isMobileDevice, ki as isNative, Qi as isNativeIAPAvailable, Vt as isQuotaExhaustedError, $e as isSharedSsoCookieDomain, J as isShellLessRoute, ht as isSsoNavigationPending, Ai as isStandalonePWA, wn as isTabletDevice, ci as isTourVisibleForContext, ue as isTransportError, et as isTrustedSsoOrigin, Ht as isUpgradeError, ji as isWeb, Mi as isWebBrowser, re as isWorkspaceTokenValidForContext, F as lazyWithRetry, Dt as logManager, de as markConnectionHealthy, gt as markSsoDepositDone, _t as markSsoDepositPending, Tn as matchesKeyCombo, Ar as mergeShortcuts, vt as mintSsoSessionTokens, Ni as nativeConfirm, Pi as nativeCopyText, Fi as nativeImpact, Ii as nativeNotify, Li as nativeOpenUrl, Ri as nativeShare, zi as nativeToast, En as normalizeKey, Dn as normalizePlatformCombo, li as normalizeTourPath, On as parseKeyCombo, k as pluralize, d as progressTokens, zr as publishPlanUsageSnapshot, $i as purchaseNativeProduct, Kn as readAnalyticsConsent, qn as readAnalyticsConsentChoice, tt as readShellSsoCookie, yt as readSsoDepositState, Ye as redirectToLogin, ui as registerTourRouteCatalog, De as resetAppClients, bi as resolveAppShellObservabilityConfig, B as resolveAuthBridgeConfig, R as resolveGatewayBases, xe as resolveGatewayUrl, I as resolveGatewayUrls, di as resolveTourTargetPath, ea as restoreNativePurchases, Jn as setAnalyticsConsent, nt as setSSoCookie, rt as setShellSsoCookies, jt as setUserContext, bt as shouldAttemptSsoDeposit, kn as shouldEnableKeyboardShortcuts, An as shouldIgnoreShortcut, Y as shouldShowBreadcrumb, X as shouldShowSidebar, fe as shouldToastBackendError, A as slugify, f as statusTokens, z as suppressConsole, j as toCamelCase, M as toPascalCase, p as trendTokens, N as truncateText, Kt as useActorProfiles, ze as useApolloClient, Wi as useAppState, br as useAsync, xr as useAsyncImmediate, mi as useAutoStartTour, ir as useBreakpoint, gr as useConditionalToggle, e as useCopyToClipboard, Hr as useCurrentContextSearchParams, tr as useDebounce, Gi as useDeviceInfo, Qn as useEvent, $n as useEventBus, er as useEventEmitter, ur as useExclusiveMenu, pn as useFeatureFlag, mn as useFeatureFlagDetails, hn as useFeatureFlagValue, fn as useFeatureFlags, ke as useGateway, Ae as useGatewayClient, Ki as useHaptics, Mr as useHasAnimated, Ne as useHasAuthToken, Tr as useHotkeys, Zr as useIsTourPlaying, cr as useKeyPress, lr as useKeyboardShortcut, wr as useKeyboardShortcuts, Be as useLazyQuery, dr as useLocalStorage, jr as useLogger, t as useMediaQuery, Wr as useMicrofrontendContext, ar as useMobileBreakpoint, Ve as useMutation, Ui as useNativeKeyboard, Vi as useNativePlatform, or as useOnClickOutside, sr as useOnClickOutsideWithRef, cn as usePWA, yr as usePagination, ri as usePlayTour, pr as usePrevious, mr as usePreviousDistinct, hr as usePreviousHistory, He as useQuery, Lr as useQuotaErrorToast, Pr as useRecordProductVisit, Nr as useReferralAttribution, St as useRegistryHelpers, Hi as useSafeArea, je as useSafeGateway, Me as useSafeGatewayClient, hi as useSafeToursContext, fr as useSessionStorage, Ct as useShellNavigate, Er as useShortcutHelp, Qr as useStartTour, qi as useStatusBar, $r as useStopTour, Ue as useSubscription, nr as useThrottle, _r as useToggle, vr as useToggleObject, qr as useTourPlayer, ei as useTourPlayerContext, gi as useTours, _i as useToursContext, Br as useUpgradePrompt, Ln as useVoiceInput, fi as withTourProgressStatus };
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