@burdenoff/fe-libs 2026.525.2 → 2026.526.1

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 (617) hide show
  1. package/package.json +1 -1
  2. package/dist/button/Button.d.ts +0 -12
  3. package/dist/button/Button.d.ts.map +0 -1
  4. package/dist/button/index.d.ts +0 -3
  5. package/dist/button/index.d.ts.map +0 -1
  6. package/dist/button.d.ts +0 -2
  7. package/dist/chrome/AccountSwitcher.d.ts +0 -51
  8. package/dist/chrome/AccountSwitcher.d.ts.map +0 -1
  9. package/dist/chrome/AppShellLayout.d.ts +0 -67
  10. package/dist/chrome/AppShellLayout.d.ts.map +0 -1
  11. package/dist/chrome/AutoBreadcrumbs.d.ts +0 -22
  12. package/dist/chrome/AutoBreadcrumbs.d.ts.map +0 -1
  13. package/dist/chrome/Breadcrumb.d.ts +0 -47
  14. package/dist/chrome/Breadcrumb.d.ts.map +0 -1
  15. package/dist/chrome/Breadcrumbs.d.ts +0 -69
  16. package/dist/chrome/Breadcrumbs.d.ts.map +0 -1
  17. package/dist/chrome/CommandPalette.d.ts +0 -64
  18. package/dist/chrome/CommandPalette.d.ts.map +0 -1
  19. package/dist/chrome/ContextSwitcher.d.ts +0 -48
  20. package/dist/chrome/ContextSwitcher.d.ts.map +0 -1
  21. package/dist/chrome/DynamicFooter.d.ts +0 -21
  22. package/dist/chrome/DynamicFooter.d.ts.map +0 -1
  23. package/dist/chrome/Footer.d.ts +0 -128
  24. package/dist/chrome/Footer.d.ts.map +0 -1
  25. package/dist/chrome/FooterBar.d.ts +0 -79
  26. package/dist/chrome/FooterBar.d.ts.map +0 -1
  27. package/dist/chrome/GeographySwitcher.d.ts +0 -22
  28. package/dist/chrome/GeographySwitcher.d.ts.map +0 -1
  29. package/dist/chrome/GlobalSearch.d.ts +0 -49
  30. package/dist/chrome/GlobalSearch.d.ts.map +0 -1
  31. package/dist/chrome/HeaderBar.d.ts +0 -108
  32. package/dist/chrome/HeaderBar.d.ts.map +0 -1
  33. package/dist/chrome/LanguagePickerSheet.d.ts +0 -22
  34. package/dist/chrome/LanguagePickerSheet.d.ts.map +0 -1
  35. package/dist/chrome/LanguageSwitcher.d.ts +0 -23
  36. package/dist/chrome/LanguageSwitcher.d.ts.map +0 -1
  37. package/dist/chrome/NavLink.d.ts +0 -64
  38. package/dist/chrome/NavLink.d.ts.map +0 -1
  39. package/dist/chrome/NotificationCenter.d.ts +0 -16
  40. package/dist/chrome/NotificationCenter.d.ts.map +0 -1
  41. package/dist/chrome/PanelContainer.d.ts +0 -8
  42. package/dist/chrome/PanelContainer.d.ts.map +0 -1
  43. package/dist/chrome/PanelTabs.d.ts +0 -19
  44. package/dist/chrome/PanelTabs.d.ts.map +0 -1
  45. package/dist/chrome/PluginContextMenuTarget.d.ts +0 -8
  46. package/dist/chrome/PluginContextMenuTarget.d.ts.map +0 -1
  47. package/dist/chrome/PluginFooterStrip.d.ts +0 -3
  48. package/dist/chrome/PluginFooterStrip.d.ts.map +0 -1
  49. package/dist/chrome/PluginRoutes.d.ts +0 -9
  50. package/dist/chrome/PluginRoutes.d.ts.map +0 -1
  51. package/dist/chrome/PluginSettingsPage.d.ts +0 -3
  52. package/dist/chrome/PluginSettingsPage.d.ts.map +0 -1
  53. package/dist/chrome/PluginToolbar.d.ts +0 -9
  54. package/dist/chrome/PluginToolbar.d.ts.map +0 -1
  55. package/dist/chrome/PluginWidgetGrid.d.ts +0 -7
  56. package/dist/chrome/PluginWidgetGrid.d.ts.map +0 -1
  57. package/dist/chrome/ProductPickerSheet.d.ts +0 -24
  58. package/dist/chrome/ProductPickerSheet.d.ts.map +0 -1
  59. package/dist/chrome/ProductSideNav.d.ts +0 -22
  60. package/dist/chrome/ProductSideNav.d.ts.map +0 -1
  61. package/dist/chrome/ProductSwitcher.d.ts +0 -31
  62. package/dist/chrome/ProductSwitcher.d.ts.map +0 -1
  63. package/dist/chrome/ProfileSwitcher.d.ts +0 -49
  64. package/dist/chrome/ProfileSwitcher.d.ts.map +0 -1
  65. package/dist/chrome/ShortcutHelpDialog.d.ts +0 -33
  66. package/dist/chrome/ShortcutHelpDialog.d.ts.map +0 -1
  67. package/dist/chrome/SideNavigation.d.ts +0 -85
  68. package/dist/chrome/SideNavigation.d.ts.map +0 -1
  69. package/dist/chrome/Sidebar.d.ts +0 -108
  70. package/dist/chrome/Sidebar.d.ts.map +0 -1
  71. package/dist/chrome/StatusBar.d.ts +0 -3
  72. package/dist/chrome/StatusBar.d.ts.map +0 -1
  73. package/dist/chrome/Tabs.d.ts +0 -74
  74. package/dist/chrome/Tabs.d.ts.map +0 -1
  75. package/dist/chrome/index.d.ts +0 -108
  76. package/dist/chrome/index.d.ts.map +0 -1
  77. package/dist/chrome.d.ts +0 -2
  78. package/dist/config/eslint.config.d.ts +0 -12
  79. package/dist/config/eslint.config.d.ts.map +0 -1
  80. package/dist/config/index.d.ts +0 -19
  81. package/dist/config/index.d.ts.map +0 -1
  82. package/dist/config/prettier.config.d.ts +0 -7
  83. package/dist/config/prettier.config.d.ts.map +0 -1
  84. package/dist/form/Checkbox.d.ts +0 -60
  85. package/dist/form/Checkbox.d.ts.map +0 -1
  86. package/dist/form/Form.d.ts +0 -114
  87. package/dist/form/Form.d.ts.map +0 -1
  88. package/dist/form/FormDescription.d.ts +0 -33
  89. package/dist/form/FormDescription.d.ts.map +0 -1
  90. package/dist/form/FormField.d.ts +0 -96
  91. package/dist/form/FormField.d.ts.map +0 -1
  92. package/dist/form/FormLabel.d.ts +0 -41
  93. package/dist/form/FormLabel.d.ts.map +0 -1
  94. package/dist/form/FormMessage.d.ts +0 -35
  95. package/dist/form/FormMessage.d.ts.map +0 -1
  96. package/dist/form/Input.d.ts +0 -43
  97. package/dist/form/Input.d.ts.map +0 -1
  98. package/dist/form/Radio.d.ts +0 -99
  99. package/dist/form/Radio.d.ts.map +0 -1
  100. package/dist/form/Select.d.ts +0 -101
  101. package/dist/form/Select.d.ts.map +0 -1
  102. package/dist/form/Textarea.d.ts +0 -50
  103. package/dist/form/Textarea.d.ts.map +0 -1
  104. package/dist/form/index.d.ts +0 -24
  105. package/dist/form/index.d.ts.map +0 -1
  106. package/dist/form.d.ts +0 -2
  107. package/dist/index.d.ts +0 -2
  108. package/dist/index.d.ts.map +0 -1
  109. package/dist/lib/utils.d.ts +0 -3
  110. package/dist/lib/utils.d.ts.map +0 -1
  111. package/dist/shared/components/AccessDenied.d.ts +0 -117
  112. package/dist/shared/components/AccessDenied.d.ts.map +0 -1
  113. package/dist/shared/components/AppErrorBoundary.d.ts +0 -19
  114. package/dist/shared/components/AppErrorBoundary.d.ts.map +0 -1
  115. package/dist/shared/components/ConditionalShell.d.ts +0 -17
  116. package/dist/shared/components/ConditionalShell.d.ts.map +0 -1
  117. package/dist/shared/components/ContextConversationWidget.d.ts +0 -6
  118. package/dist/shared/components/ContextConversationWidget.d.ts.map +0 -1
  119. package/dist/shared/components/ErrorBoundary.d.ts +0 -19
  120. package/dist/shared/components/ErrorBoundary.d.ts.map +0 -1
  121. package/dist/shared/components/ErrorFallback.d.ts +0 -3
  122. package/dist/shared/components/ErrorFallback.d.ts.map +0 -1
  123. package/dist/shared/components/KeyboardHelpDialogWrapper.d.ts +0 -7
  124. package/dist/shared/components/KeyboardHelpDialogWrapper.d.ts.map +0 -1
  125. package/dist/shared/components/LegalPage.d.ts +0 -19
  126. package/dist/shared/components/LegalPage.d.ts.map +0 -1
  127. package/dist/shared/components/LoadingFallback.d.ts +0 -31
  128. package/dist/shared/components/LoadingFallback.d.ts.map +0 -1
  129. package/dist/shared/components/MicrofrontendErrorBoundary.d.ts +0 -20
  130. package/dist/shared/components/MicrofrontendErrorBoundary.d.ts.map +0 -1
  131. package/dist/shared/components/PWAInstallBanner.d.ts +0 -14
  132. package/dist/shared/components/PWAInstallBanner.d.ts.map +0 -1
  133. package/dist/shared/components/PermissionGate.d.ts +0 -202
  134. package/dist/shared/components/PermissionGate.d.ts.map +0 -1
  135. package/dist/shared/components/ProductAccessGuard.d.ts +0 -8
  136. package/dist/shared/components/ProductAccessGuard.d.ts.map +0 -1
  137. package/dist/shared/components/QuotaMeter.d.ts +0 -30
  138. package/dist/shared/components/QuotaMeter.d.ts.map +0 -1
  139. package/dist/shared/components/RequireAuth.d.ts +0 -76
  140. package/dist/shared/components/RequireAuth.d.ts.map +0 -1
  141. package/dist/shared/components/SSORedirectGuard.d.ts +0 -49
  142. package/dist/shared/components/SSORedirectGuard.d.ts.map +0 -1
  143. package/dist/shared/components/SearchPage.d.ts +0 -24
  144. package/dist/shared/components/SearchPage.d.ts.map +0 -1
  145. package/dist/shared/components/index.d.ts +0 -25
  146. package/dist/shared/components/index.d.ts.map +0 -1
  147. package/dist/shared/config/authBridgeUrls.d.ts +0 -27
  148. package/dist/shared/config/authBridgeUrls.d.ts.map +0 -1
  149. package/dist/shared/config/eslint.config.d.ts +0 -12
  150. package/dist/shared/config/eslint.config.d.ts.map +0 -1
  151. package/dist/shared/config/gatewayUrls.d.ts +0 -44
  152. package/dist/shared/config/gatewayUrls.d.ts.map +0 -1
  153. package/dist/shared/config/index.d.ts +0 -71
  154. package/dist/shared/config/index.d.ts.map +0 -1
  155. package/dist/shared/config/prettier.config.d.ts +0 -7
  156. package/dist/shared/config/prettier.config.d.ts.map +0 -1
  157. package/dist/shared/config/products.d.ts +0 -56
  158. package/dist/shared/config/products.d.ts.map +0 -1
  159. package/dist/shared/config/shellRoutes.d.ts +0 -52
  160. package/dist/shared/config/shellRoutes.d.ts.map +0 -1
  161. package/dist/shared/events/index.d.ts +0 -591
  162. package/dist/shared/events/index.d.ts.map +0 -1
  163. package/dist/shared/events/metadata.d.ts +0 -7
  164. package/dist/shared/events/metadata.d.ts.map +0 -1
  165. package/dist/shared/events/sinks/BackendAuditSink.d.ts +0 -18
  166. package/dist/shared/events/sinks/BackendAuditSink.d.ts.map +0 -1
  167. package/dist/shared/events/sinks/BroadcastChannelSink.d.ts +0 -10
  168. package/dist/shared/events/sinks/BroadcastChannelSink.d.ts.map +0 -1
  169. package/dist/shared/events/sinks/DevtoolsSink.d.ts +0 -10
  170. package/dist/shared/events/sinks/DevtoolsSink.d.ts.map +0 -1
  171. package/dist/shared/events/sinks/OtelBrowserSink.d.ts +0 -14
  172. package/dist/shared/events/sinks/OtelBrowserSink.d.ts.map +0 -1
  173. package/dist/shared/events/sinks/RybbitSink.d.ts +0 -19
  174. package/dist/shared/events/sinks/RybbitSink.d.ts.map +0 -1
  175. package/dist/shared/events/sinks/index.d.ts +0 -6
  176. package/dist/shared/events/sinks/index.d.ts.map +0 -1
  177. package/dist/shared/feature-flags/FeatureFlagProvider.d.ts +0 -47
  178. package/dist/shared/feature-flags/FeatureFlagProvider.d.ts.map +0 -1
  179. package/dist/shared/feature-flags/FeatureGate.d.ts +0 -27
  180. package/dist/shared/feature-flags/FeatureGate.d.ts.map +0 -1
  181. package/dist/shared/feature-flags/index.d.ts +0 -38
  182. package/dist/shared/feature-flags/index.d.ts.map +0 -1
  183. package/dist/shared/feature-flags/types.d.ts +0 -121
  184. package/dist/shared/feature-flags/types.d.ts.map +0 -1
  185. package/dist/shared/feature-flags/useFeatureFlag.d.ts +0 -41
  186. package/dist/shared/feature-flags/useFeatureFlag.d.ts.map +0 -1
  187. package/dist/shared/geography/GeographyProvider.d.ts +0 -40
  188. package/dist/shared/geography/GeographyProvider.d.ts.map +0 -1
  189. package/dist/shared/geography/countries.d.ts +0 -53
  190. package/dist/shared/geography/countries.d.ts.map +0 -1
  191. package/dist/shared/geography/index.d.ts +0 -5
  192. package/dist/shared/geography/index.d.ts.map +0 -1
  193. package/dist/shared/graphql/GatewayContext.d.ts +0 -55
  194. package/dist/shared/graphql/GatewayContext.d.ts.map +0 -1
  195. package/dist/shared/graphql/client.d.ts +0 -122
  196. package/dist/shared/graphql/client.d.ts.map +0 -1
  197. package/dist/shared/graphql/fetch.d.ts +0 -133
  198. package/dist/shared/graphql/fetch.d.ts.map +0 -1
  199. package/dist/shared/graphql/index.d.ts +0 -9
  200. package/dist/shared/graphql/index.d.ts.map +0 -1
  201. package/dist/shared/graphql/links/sse-link.d.ts +0 -48
  202. package/dist/shared/graphql/links/sse-link.d.ts.map +0 -1
  203. package/dist/shared/graphql/security.d.ts +0 -13
  204. package/dist/shared/graphql/security.d.ts.map +0 -1
  205. package/dist/shared/graphql/workspaceToken.d.ts +0 -13
  206. package/dist/shared/graphql/workspaceToken.d.ts.map +0 -1
  207. package/dist/shared/help/HelpButton.d.ts +0 -25
  208. package/dist/shared/help/HelpButton.d.ts.map +0 -1
  209. package/dist/shared/help/HelpPanel.d.ts +0 -10
  210. package/dist/shared/help/HelpPanel.d.ts.map +0 -1
  211. package/dist/shared/help/HelpProvider.d.ts +0 -40
  212. package/dist/shared/help/HelpProvider.d.ts.map +0 -1
  213. package/dist/shared/help/index.d.ts +0 -53
  214. package/dist/shared/help/index.d.ts.map +0 -1
  215. package/dist/shared/help/types.d.ts +0 -159
  216. package/dist/shared/help/types.d.ts.map +0 -1
  217. package/dist/shared/hooks/index.d.ts +0 -31
  218. package/dist/shared/hooks/index.d.ts.map +0 -1
  219. package/dist/shared/hooks/shell/index.d.ts +0 -22
  220. package/dist/shared/hooks/shell/index.d.ts.map +0 -1
  221. package/dist/shared/hooks/shell/useBreadcrumbs.d.ts +0 -50
  222. package/dist/shared/hooks/shell/useBreadcrumbs.d.ts.map +0 -1
  223. package/dist/shared/hooks/shell/useFooterRegistry.d.ts +0 -23
  224. package/dist/shared/hooks/shell/useFooterRegistry.d.ts.map +0 -1
  225. package/dist/shared/hooks/shell/useGlobalSearch.d.ts +0 -103
  226. package/dist/shared/hooks/shell/useGlobalSearch.d.ts.map +0 -1
  227. package/dist/shared/hooks/shell/useLanguages.d.ts +0 -43
  228. package/dist/shared/hooks/shell/useLanguages.d.ts.map +0 -1
  229. package/dist/shared/hooks/shell/useNavRegistry.d.ts +0 -25
  230. package/dist/shared/hooks/shell/useNavRegistry.d.ts.map +0 -1
  231. package/dist/shared/hooks/shell/useProductAccess.d.ts +0 -37
  232. package/dist/shared/hooks/shell/useProductAccess.d.ts.map +0 -1
  233. package/dist/shared/hooks/shell/useProducts.d.ts +0 -30
  234. package/dist/shared/hooks/shell/useProducts.d.ts.map +0 -1
  235. package/dist/shared/hooks/useAsync.d.ts +0 -151
  236. package/dist/shared/hooks/useAsync.d.ts.map +0 -1
  237. package/dist/shared/hooks/useBreakpoint.d.ts +0 -83
  238. package/dist/shared/hooks/useBreakpoint.d.ts.map +0 -1
  239. package/dist/shared/hooks/useCopyToClipboard.d.ts +0 -72
  240. package/dist/shared/hooks/useCopyToClipboard.d.ts.map +0 -1
  241. package/dist/shared/hooks/useDebounce.d.ts +0 -26
  242. package/dist/shared/hooks/useDebounce.d.ts.map +0 -1
  243. package/dist/shared/hooks/useHasAnimated.d.ts +0 -10
  244. package/dist/shared/hooks/useHasAnimated.d.ts.map +0 -1
  245. package/dist/shared/hooks/useKeyPress.d.ts +0 -116
  246. package/dist/shared/hooks/useKeyPress.d.ts.map +0 -1
  247. package/dist/shared/hooks/useLocalStorage.d.ts +0 -41
  248. package/dist/shared/hooks/useLocalStorage.d.ts.map +0 -1
  249. package/dist/shared/hooks/useMediaQuery.d.ts +0 -35
  250. package/dist/shared/hooks/useMediaQuery.d.ts.map +0 -1
  251. package/dist/shared/hooks/useOnClickOutside.d.ts +0 -76
  252. package/dist/shared/hooks/useOnClickOutside.d.ts.map +0 -1
  253. package/dist/shared/hooks/usePWA.d.ts +0 -57
  254. package/dist/shared/hooks/usePWA.d.ts.map +0 -1
  255. package/dist/shared/hooks/usePrevious.d.ts +0 -157
  256. package/dist/shared/hooks/usePrevious.d.ts.map +0 -1
  257. package/dist/shared/hooks/useQuotaErrorToast.d.ts +0 -50
  258. package/dist/shared/hooks/useQuotaErrorToast.d.ts.map +0 -1
  259. package/dist/shared/hooks/useRecordProductVisit.d.ts +0 -11
  260. package/dist/shared/hooks/useRecordProductVisit.d.ts.map +0 -1
  261. package/dist/shared/hooks/useReferralAttribution.d.ts +0 -2
  262. package/dist/shared/hooks/useReferralAttribution.d.ts.map +0 -1
  263. package/dist/shared/hooks/useSessionStorage.d.ts +0 -44
  264. package/dist/shared/hooks/useSessionStorage.d.ts.map +0 -1
  265. package/dist/shared/hooks/useThrottle.d.ts +0 -37
  266. package/dist/shared/hooks/useThrottle.d.ts.map +0 -1
  267. package/dist/shared/hooks/useToggle.d.ts +0 -152
  268. package/dist/shared/hooks/useToggle.d.ts.map +0 -1
  269. package/dist/shared/index.d.ts +0 -13
  270. package/dist/shared/index.d.ts.map +0 -1
  271. package/dist/shared/keyboard/globalShortcuts.d.ts +0 -58
  272. package/dist/shared/keyboard/globalShortcuts.d.ts.map +0 -1
  273. package/dist/shared/keyboard/index.d.ts +0 -40
  274. package/dist/shared/keyboard/index.d.ts.map +0 -1
  275. package/dist/shared/keyboard/types.d.ts +0 -85
  276. package/dist/shared/keyboard/types.d.ts.map +0 -1
  277. package/dist/shared/keyboard/useHotkeys.d.ts +0 -21
  278. package/dist/shared/keyboard/useHotkeys.d.ts.map +0 -1
  279. package/dist/shared/keyboard/useKeyboardShortcuts.d.ts +0 -94
  280. package/dist/shared/keyboard/useKeyboardShortcuts.d.ts.map +0 -1
  281. package/dist/shared/keyboard/useShortcutHelp.d.ts +0 -27
  282. package/dist/shared/keyboard/useShortcutHelp.d.ts.map +0 -1
  283. package/dist/shared/keyboard/utils.d.ts +0 -72
  284. package/dist/shared/keyboard/utils.d.ts.map +0 -1
  285. package/dist/shared/logger/ConsoleTransport.d.ts +0 -22
  286. package/dist/shared/logger/ConsoleTransport.d.ts.map +0 -1
  287. package/dist/shared/logger/LogManager.d.ts +0 -75
  288. package/dist/shared/logger/LogManager.d.ts.map +0 -1
  289. package/dist/shared/logger/Logger.d.ts +0 -86
  290. package/dist/shared/logger/Logger.d.ts.map +0 -1
  291. package/dist/shared/logger/index.d.ts +0 -42
  292. package/dist/shared/logger/index.d.ts.map +0 -1
  293. package/dist/shared/logger/types.d.ts +0 -70
  294. package/dist/shared/logger/types.d.ts.map +0 -1
  295. package/dist/shared/logger/useLogger.d.ts +0 -29
  296. package/dist/shared/logger/useLogger.d.ts.map +0 -1
  297. package/dist/shared/motion/AnimatedCounter.d.ts +0 -16
  298. package/dist/shared/motion/AnimatedCounter.d.ts.map +0 -1
  299. package/dist/shared/motion/MotionCard.d.ts +0 -18
  300. package/dist/shared/motion/MotionCard.d.ts.map +0 -1
  301. package/dist/shared/motion/MotionCollapse.d.ts +0 -14
  302. package/dist/shared/motion/MotionCollapse.d.ts.map +0 -1
  303. package/dist/shared/motion/MotionFade.d.ts +0 -16
  304. package/dist/shared/motion/MotionFade.d.ts.map +0 -1
  305. package/dist/shared/motion/MotionItem.d.ts +0 -25
  306. package/dist/shared/motion/MotionItem.d.ts.map +0 -1
  307. package/dist/shared/motion/MotionList.d.ts +0 -28
  308. package/dist/shared/motion/MotionList.d.ts.map +0 -1
  309. package/dist/shared/motion/MotionPage.d.ts +0 -18
  310. package/dist/shared/motion/MotionPage.d.ts.map +0 -1
  311. package/dist/shared/motion/index.d.ts +0 -9
  312. package/dist/shared/motion/index.d.ts.map +0 -1
  313. package/dist/shared/motion/variants.d.ts +0 -70
  314. package/dist/shared/motion/variants.d.ts.map +0 -1
  315. package/dist/shared/native/bridge.d.ts +0 -3
  316. package/dist/shared/native/bridge.d.ts.map +0 -1
  317. package/dist/shared/native/consumers.d.ts +0 -9
  318. package/dist/shared/native/consumers.d.ts.map +0 -1
  319. package/dist/shared/native/hooks/index.d.ts +0 -12
  320. package/dist/shared/native/hooks/index.d.ts.map +0 -1
  321. package/dist/shared/native/hooks/useAppState.d.ts +0 -3
  322. package/dist/shared/native/hooks/useAppState.d.ts.map +0 -1
  323. package/dist/shared/native/hooks/useDeviceInfo.d.ts +0 -3
  324. package/dist/shared/native/hooks/useDeviceInfo.d.ts.map +0 -1
  325. package/dist/shared/native/hooks/useHaptics.d.ts +0 -8
  326. package/dist/shared/native/hooks/useHaptics.d.ts.map +0 -1
  327. package/dist/shared/native/hooks/useNativeKeyboard.d.ts +0 -6
  328. package/dist/shared/native/hooks/useNativeKeyboard.d.ts.map +0 -1
  329. package/dist/shared/native/hooks/useNativePlatform.d.ts +0 -10
  330. package/dist/shared/native/hooks/useNativePlatform.d.ts.map +0 -1
  331. package/dist/shared/native/hooks/useSafeArea.d.ts +0 -3
  332. package/dist/shared/native/hooks/useSafeArea.d.ts.map +0 -1
  333. package/dist/shared/native/hooks/useStatusBar.d.ts +0 -6
  334. package/dist/shared/native/hooks/useStatusBar.d.ts.map +0 -1
  335. package/dist/shared/native/index.d.ts +0 -6
  336. package/dist/shared/native/index.d.ts.map +0 -1
  337. package/dist/shared/native/platform.d.ts +0 -7
  338. package/dist/shared/native/platform.d.ts.map +0 -1
  339. package/dist/shared/native/types.d.ts +0 -62
  340. package/dist/shared/native/types.d.ts.map +0 -1
  341. package/dist/shared/pages/AiPage.d.ts +0 -14
  342. package/dist/shared/pages/AiPage.d.ts.map +0 -1
  343. package/dist/shared/pages/LegalPage.d.ts +0 -19
  344. package/dist/shared/pages/LegalPage.d.ts.map +0 -1
  345. package/dist/shared/pages/SearchPage.d.ts +0 -28
  346. package/dist/shared/pages/SearchPage.d.ts.map +0 -1
  347. package/dist/shared/pages/index.d.ts +0 -7
  348. package/dist/shared/pages/index.d.ts.map +0 -1
  349. package/dist/shared/plugins/PluginRuntimeProvider.d.ts +0 -28
  350. package/dist/shared/plugins/PluginRuntimeProvider.d.ts.map +0 -1
  351. package/dist/shared/plugins/context.d.ts +0 -65
  352. package/dist/shared/plugins/context.d.ts.map +0 -1
  353. package/dist/shared/plugins/disposable.d.ts +0 -17
  354. package/dist/shared/plugins/disposable.d.ts.map +0 -1
  355. package/dist/shared/plugins/event-bus.d.ts +0 -112
  356. package/dist/shared/plugins/event-bus.d.ts.map +0 -1
  357. package/dist/shared/plugins/iframe-mount/PluginIframe.d.ts +0 -75
  358. package/dist/shared/plugins/iframe-mount/PluginIframe.d.ts.map +0 -1
  359. package/dist/shared/plugins/iframe-mount/PluginMount.d.ts +0 -59
  360. package/dist/shared/plugins/iframe-mount/PluginMount.d.ts.map +0 -1
  361. package/dist/shared/plugins/iframe-mount/client/index.d.ts +0 -3
  362. package/dist/shared/plugins/iframe-mount/client/index.d.ts.map +0 -1
  363. package/dist/shared/plugins/iframe-mount/client/message-bus.d.ts +0 -71
  364. package/dist/shared/plugins/iframe-mount/client/message-bus.d.ts.map +0 -1
  365. package/dist/shared/plugins/iframe-mount/client/rpc.d.ts +0 -25
  366. package/dist/shared/plugins/iframe-mount/client/rpc.d.ts.map +0 -1
  367. package/dist/shared/plugins/iframe-mount/index.d.ts +0 -6
  368. package/dist/shared/plugins/iframe-mount/index.d.ts.map +0 -1
  369. package/dist/shared/plugins/iframe-mount/protocol/contribution.d.ts +0 -83
  370. package/dist/shared/plugins/iframe-mount/protocol/contribution.d.ts.map +0 -1
  371. package/dist/shared/plugins/iframe-mount/protocol/envelope.d.ts +0 -136
  372. package/dist/shared/plugins/iframe-mount/protocol/envelope.d.ts.map +0 -1
  373. package/dist/shared/plugins/iframe-mount/protocol/index.d.ts +0 -3
  374. package/dist/shared/plugins/iframe-mount/protocol/index.d.ts.map +0 -1
  375. package/dist/shared/plugins/iframe-mount/sandbox.d.ts +0 -3
  376. package/dist/shared/plugins/iframe-mount/sandbox.d.ts.map +0 -1
  377. package/dist/shared/plugins/iframe-mount/types.d.ts +0 -64
  378. package/dist/shared/plugins/iframe-mount/types.d.ts.map +0 -1
  379. package/dist/shared/plugins/iframe-mount/useFetchContributions.d.ts +0 -31
  380. package/dist/shared/plugins/iframe-mount/useFetchContributions.d.ts.map +0 -1
  381. package/dist/shared/plugins/index.d.ts +0 -41
  382. package/dist/shared/plugins/index.d.ts.map +0 -1
  383. package/dist/shared/plugins/panels/usePanelManagerStore.d.ts +0 -68
  384. package/dist/shared/plugins/panels/usePanelManagerStore.d.ts.map +0 -1
  385. package/dist/shared/plugins/registries/createContributionRegistry.d.ts +0 -16
  386. package/dist/shared/plugins/registries/createContributionRegistry.d.ts.map +0 -1
  387. package/dist/shared/plugins/registries/index.d.ts +0 -15
  388. package/dist/shared/plugins/registries/index.d.ts.map +0 -1
  389. package/dist/shared/plugins/registries/useCommandRegistry.d.ts +0 -3
  390. package/dist/shared/plugins/registries/useCommandRegistry.d.ts.map +0 -1
  391. package/dist/shared/plugins/registries/useContextMenuRegistry.d.ts +0 -3
  392. package/dist/shared/plugins/registries/useContextMenuRegistry.d.ts.map +0 -1
  393. package/dist/shared/plugins/registries/usePanelRegistry.d.ts +0 -3
  394. package/dist/shared/plugins/registries/usePanelRegistry.d.ts.map +0 -1
  395. package/dist/shared/plugins/registries/useRouteRegistry.d.ts +0 -3
  396. package/dist/shared/plugins/registries/useRouteRegistry.d.ts.map +0 -1
  397. package/dist/shared/plugins/registries/useSettingsRegistry.d.ts +0 -3
  398. package/dist/shared/plugins/registries/useSettingsRegistry.d.ts.map +0 -1
  399. package/dist/shared/plugins/registries/useStatusBarRegistry.d.ts +0 -3
  400. package/dist/shared/plugins/registries/useStatusBarRegistry.d.ts.map +0 -1
  401. package/dist/shared/plugins/registries/useToolbarRegistry.d.ts +0 -3
  402. package/dist/shared/plugins/registries/useToolbarRegistry.d.ts.map +0 -1
  403. package/dist/shared/plugins/registries/useWidgetRegistry.d.ts +0 -3
  404. package/dist/shared/plugins/registries/useWidgetRegistry.d.ts.map +0 -1
  405. package/dist/shared/plugins/runtime.d.ts +0 -68
  406. package/dist/shared/plugins/runtime.d.ts.map +0 -1
  407. package/dist/shared/plugins/types.d.ts +0 -228
  408. package/dist/shared/plugins/types.d.ts.map +0 -1
  409. package/dist/shared/providers/AppShellProvider.d.ts +0 -96
  410. package/dist/shared/providers/AppShellProvider.d.ts.map +0 -1
  411. package/dist/shared/providers/MicrofrontendProvider.d.ts +0 -41
  412. package/dist/shared/providers/MicrofrontendProvider.d.ts.map +0 -1
  413. package/dist/shared/providers/index.d.ts +0 -12
  414. package/dist/shared/providers/index.d.ts.map +0 -1
  415. package/dist/shared/providers/shell/ActiveContextProvider.d.ts +0 -88
  416. package/dist/shared/providers/shell/ActiveContextProvider.d.ts.map +0 -1
  417. package/dist/shared/providers/shell/ActiveContextStorage.d.ts +0 -45
  418. package/dist/shared/providers/shell/ActiveContextStorage.d.ts.map +0 -1
  419. package/dist/shared/providers/shell/AppShellContext.d.ts +0 -19
  420. package/dist/shared/providers/shell/AppShellContext.d.ts.map +0 -1
  421. package/dist/shared/providers/shell/AuthBridgeClient.d.ts +0 -121
  422. package/dist/shared/providers/shell/AuthBridgeClient.d.ts.map +0 -1
  423. package/dist/shared/providers/shell/AuthProvider.d.ts +0 -58
  424. package/dist/shared/providers/shell/AuthProvider.d.ts.map +0 -1
  425. package/dist/shared/providers/shell/AuthTokenProvider.d.ts +0 -22
  426. package/dist/shared/providers/shell/AuthTokenProvider.d.ts.map +0 -1
  427. package/dist/shared/providers/shell/ContextManagerProvider.d.ts +0 -56
  428. package/dist/shared/providers/shell/ContextManagerProvider.d.ts.map +0 -1
  429. package/dist/shared/providers/shell/FeatureFlagsProvider.d.ts +0 -20
  430. package/dist/shared/providers/shell/FeatureFlagsProvider.d.ts.map +0 -1
  431. package/dist/shared/providers/shell/GatewayRouter.d.ts +0 -31
  432. package/dist/shared/providers/shell/GatewayRouter.d.ts.map +0 -1
  433. package/dist/shared/providers/shell/GlobalUiProvider.d.ts +0 -46
  434. package/dist/shared/providers/shell/GlobalUiProvider.d.ts.map +0 -1
  435. package/dist/shared/providers/shell/I18nProvider.d.ts +0 -65
  436. package/dist/shared/providers/shell/I18nProvider.d.ts.map +0 -1
  437. package/dist/shared/providers/shell/MultiGatewayProvider.d.ts +0 -25
  438. package/dist/shared/providers/shell/MultiGatewayProvider.d.ts.map +0 -1
  439. package/dist/shared/providers/shell/ObservabilityProvider.d.ts +0 -15
  440. package/dist/shared/providers/shell/ObservabilityProvider.d.ts.map +0 -1
  441. package/dist/shared/providers/shell/PageConversationContextProvider.d.ts +0 -22
  442. package/dist/shared/providers/shell/PageConversationContextProvider.d.ts.map +0 -1
  443. package/dist/shared/providers/shell/PermissionProvider.d.ts +0 -227
  444. package/dist/shared/providers/shell/PermissionProvider.d.ts.map +0 -1
  445. package/dist/shared/providers/shell/ProfileGeographyBridge.d.ts +0 -8
  446. package/dist/shared/providers/shell/ProfileGeographyBridge.d.ts.map +0 -1
  447. package/dist/shared/providers/shell/ProfileI18nBridge.d.ts +0 -15
  448. package/dist/shared/providers/shell/ProfileI18nBridge.d.ts.map +0 -1
  449. package/dist/shared/providers/shell/ProfileStorageManager.d.ts +0 -107
  450. package/dist/shared/providers/shell/ProfileStorageManager.d.ts.map +0 -1
  451. package/dist/shared/providers/shell/ShellUiProvider.d.ts +0 -47
  452. package/dist/shared/providers/shell/ShellUiProvider.d.ts.map +0 -1
  453. package/dist/shared/providers/shell/ThemeProvider.d.ts +0 -29
  454. package/dist/shared/providers/shell/ThemeProvider.d.ts.map +0 -1
  455. package/dist/shared/providers/shell/index.d.ts +0 -45
  456. package/dist/shared/providers/shell/index.d.ts.map +0 -1
  457. package/dist/shared/shims/assert.d.ts +0 -19
  458. package/dist/shared/shims/assert.d.ts.map +0 -1
  459. package/dist/shared/shims/index.d.ts +0 -25
  460. package/dist/shared/shims/index.d.ts.map +0 -1
  461. package/dist/shared/shims/process.d.ts +0 -20
  462. package/dist/shared/shims/process.d.ts.map +0 -1
  463. package/dist/shared/shims/use-sync-external-store-shim.d.ts +0 -7
  464. package/dist/shared/shims/use-sync-external-store-shim.d.ts.map +0 -1
  465. package/dist/shared/shims/use-sync-external-store-with-selector.d.ts +0 -17
  466. package/dist/shared/shims/use-sync-external-store-with-selector.d.ts.map +0 -1
  467. package/dist/shared/shims/util.d.ts +0 -135
  468. package/dist/shared/shims/util.d.ts.map +0 -1
  469. package/dist/shared/tours/TourInitializer.d.ts +0 -6
  470. package/dist/shared/tours/TourInitializer.d.ts.map +0 -1
  471. package/dist/shared/tours/TourPlayer.d.ts +0 -49
  472. package/dist/shared/tours/TourPlayer.d.ts.map +0 -1
  473. package/dist/shared/tours/TourPlayerProvider.d.ts +0 -26
  474. package/dist/shared/tours/TourPlayerProvider.d.ts.map +0 -1
  475. package/dist/shared/tours/TourSpotlight.d.ts +0 -8
  476. package/dist/shared/tours/TourSpotlight.d.ts.map +0 -1
  477. package/dist/shared/tours/TourTooltip.d.ts +0 -7
  478. package/dist/shared/tours/TourTooltip.d.ts.map +0 -1
  479. package/dist/shared/tours/TourTrigger.d.ts +0 -15
  480. package/dist/shared/tours/TourTrigger.d.ts.map +0 -1
  481. package/dist/shared/tours/ToursContext.d.ts +0 -42
  482. package/dist/shared/tours/ToursContext.d.ts.map +0 -1
  483. package/dist/shared/tours/index.d.ts +0 -53
  484. package/dist/shared/tours/index.d.ts.map +0 -1
  485. package/dist/shared/tours/progress.d.ts +0 -7
  486. package/dist/shared/tours/progress.d.ts.map +0 -1
  487. package/dist/shared/tours/routeCatalog.d.ts +0 -42
  488. package/dist/shared/tours/routeCatalog.d.ts.map +0 -1
  489. package/dist/shared/tours/types.d.ts +0 -215
  490. package/dist/shared/tours/types.d.ts.map +0 -1
  491. package/dist/shared/tours/useTourPlayer.d.ts +0 -38
  492. package/dist/shared/tours/useTourPlayer.d.ts.map +0 -1
  493. package/dist/shared/types/index.d.ts +0 -185
  494. package/dist/shared/types/index.d.ts.map +0 -1
  495. package/dist/shared/utils/apollo.d.ts +0 -26
  496. package/dist/shared/utils/apollo.d.ts.map +0 -1
  497. package/dist/shared/utils/appHelpers.d.ts +0 -34
  498. package/dist/shared/utils/appHelpers.d.ts.map +0 -1
  499. package/dist/shared/utils/authCookie.d.ts +0 -35
  500. package/dist/shared/utils/authCookie.d.ts.map +0 -1
  501. package/dist/shared/utils/authErrorHandling.d.ts +0 -65
  502. package/dist/shared/utils/authErrorHandling.d.ts.map +0 -1
  503. package/dist/shared/utils/cn.d.ts +0 -6
  504. package/dist/shared/utils/cn.d.ts.map +0 -1
  505. package/dist/shared/utils/format.d.ts +0 -98
  506. package/dist/shared/utils/format.d.ts.map +0 -1
  507. package/dist/shared/utils/gatewayFetchRewrite.d.ts +0 -53
  508. package/dist/shared/utils/gatewayFetchRewrite.d.ts.map +0 -1
  509. package/dist/shared/utils/index.d.ts +0 -26
  510. package/dist/shared/utils/index.d.ts.map +0 -1
  511. package/dist/shared/utils/lazyWithRetry.d.ts +0 -43
  512. package/dist/shared/utils/lazyWithRetry.d.ts.map +0 -1
  513. package/dist/shared/utils/loggerInit.d.ts +0 -15
  514. package/dist/shared/utils/loggerInit.d.ts.map +0 -1
  515. package/dist/shared/utils/mockData.d.ts +0 -40
  516. package/dist/shared/utils/mockData.d.ts.map +0 -1
  517. package/dist/shared/utils/profileScopedStorage.d.ts +0 -42
  518. package/dist/shared/utils/profileScopedStorage.d.ts.map +0 -1
  519. package/dist/shared/utils/quotaErrors.d.ts +0 -37
  520. package/dist/shared/utils/quotaErrors.d.ts.map +0 -1
  521. package/dist/shared/utils/tokens.d.ts +0 -166
  522. package/dist/shared/utils/tokens.d.ts.map +0 -1
  523. package/dist/shared-components.d.ts +0 -2
  524. package/dist/shared-config.d.ts +0 -2
  525. package/dist/shared-events.d.ts +0 -2
  526. package/dist/shared-feature-flags.d.ts +0 -2
  527. package/dist/shared-geography.d.ts +0 -2
  528. package/dist/shared-graphql.d.ts +0 -2
  529. package/dist/shared-hooks-shell.d.ts +0 -2
  530. package/dist/shared-hooks.d.ts +0 -2
  531. package/dist/shared-keyboard.d.ts +0 -2
  532. package/dist/shared-logger.d.ts +0 -2
  533. package/dist/shared-motion.d.ts +0 -2
  534. package/dist/shared-native.d.ts +0 -2
  535. package/dist/shared-pages.d.ts +0 -2
  536. package/dist/shared-plugins.d.ts +0 -2
  537. package/dist/shared-providers-shell.d.ts +0 -2
  538. package/dist/shared-providers.d.ts +0 -2
  539. package/dist/shared-shims.d.ts +0 -2
  540. package/dist/shared-tours.d.ts +0 -2
  541. package/dist/shared-types.d.ts +0 -1
  542. package/dist/shared-utils.d.ts +0 -2
  543. package/dist/shared.d.ts +0 -2
  544. package/dist/storage/SaveToFilesButton.d.ts +0 -55
  545. package/dist/storage/SaveToFilesButton.d.ts.map +0 -1
  546. package/dist/storage/SaveToFilesDialog.d.ts +0 -13
  547. package/dist/storage/SaveToFilesDialog.d.ts.map +0 -1
  548. package/dist/storage/StorageFolderPicker.d.ts +0 -23
  549. package/dist/storage/StorageFolderPicker.d.ts.map +0 -1
  550. package/dist/storage/index.d.ts +0 -10
  551. package/dist/storage/index.d.ts.map +0 -1
  552. package/dist/storage/uploadBlob.d.ts +0 -21
  553. package/dist/storage/uploadBlob.d.ts.map +0 -1
  554. package/dist/storage/useSaveToFiles.d.ts +0 -17
  555. package/dist/storage/useSaveToFiles.d.ts.map +0 -1
  556. package/dist/tag/TagBadge.d.ts +0 -17
  557. package/dist/tag/TagBadge.d.ts.map +0 -1
  558. package/dist/tag/TagsWidget.d.ts +0 -103
  559. package/dist/tag/TagsWidget.d.ts.map +0 -1
  560. package/dist/tag/index.d.ts +0 -3
  561. package/dist/tag/index.d.ts.map +0 -1
  562. package/dist/tag.d.ts +0 -2
  563. package/dist/ui/accordion.d.ts +0 -8
  564. package/dist/ui/accordion.d.ts.map +0 -1
  565. package/dist/ui/alert-dialog.d.ts +0 -15
  566. package/dist/ui/alert-dialog.d.ts.map +0 -1
  567. package/dist/ui/badge.d.ts +0 -10
  568. package/dist/ui/badge.d.ts.map +0 -1
  569. package/dist/ui/button.d.ts +0 -12
  570. package/dist/ui/button.d.ts.map +0 -1
  571. package/dist/ui/card.d.ts +0 -9
  572. package/dist/ui/card.d.ts.map +0 -1
  573. package/dist/ui/checkbox.d.ts +0 -5
  574. package/dist/ui/checkbox.d.ts.map +0 -1
  575. package/dist/ui/command.d.ts +0 -19
  576. package/dist/ui/command.d.ts.map +0 -1
  577. package/dist/ui/dialog.d.ts +0 -16
  578. package/dist/ui/dialog.d.ts.map +0 -1
  579. package/dist/ui/dropdown-menu.d.ts +0 -28
  580. package/dist/ui/dropdown-menu.d.ts.map +0 -1
  581. package/dist/ui/index.d.ts +0 -25
  582. package/dist/ui/index.d.ts.map +0 -1
  583. package/dist/ui/input.d.ts +0 -5
  584. package/dist/ui/input.d.ts.map +0 -1
  585. package/dist/ui/label.d.ts +0 -5
  586. package/dist/ui/label.d.ts.map +0 -1
  587. package/dist/ui/popover.d.ts +0 -8
  588. package/dist/ui/popover.d.ts.map +0 -1
  589. package/dist/ui/scroll-area.d.ts +0 -6
  590. package/dist/ui/scroll-area.d.ts.map +0 -1
  591. package/dist/ui/select.d.ts +0 -13
  592. package/dist/ui/select.d.ts.map +0 -1
  593. package/dist/ui/separator.d.ts +0 -5
  594. package/dist/ui/separator.d.ts.map +0 -1
  595. package/dist/ui/sheet.d.ts +0 -14
  596. package/dist/ui/sheet.d.ts.map +0 -1
  597. package/dist/ui/skeleton.d.ts +0 -4
  598. package/dist/ui/skeleton.d.ts.map +0 -1
  599. package/dist/ui/sonner.d.ts +0 -4
  600. package/dist/ui/sonner.d.ts.map +0 -1
  601. package/dist/ui/spinner.d.ts +0 -6
  602. package/dist/ui/spinner.d.ts.map +0 -1
  603. package/dist/ui/switch.d.ts +0 -5
  604. package/dist/ui/switch.d.ts.map +0 -1
  605. package/dist/ui/table.d.ts +0 -11
  606. package/dist/ui/table.d.ts.map +0 -1
  607. package/dist/ui/tabs.d.ts +0 -8
  608. package/dist/ui/tabs.d.ts.map +0 -1
  609. package/dist/ui/textarea.d.ts +0 -5
  610. package/dist/ui/textarea.d.ts.map +0 -1
  611. package/dist/ui/tooltip.d.ts +0 -7
  612. package/dist/ui/tooltip.d.ts.map +0 -1
  613. package/dist/ui.d.ts +0 -2
  614. package/dist/utils/cn.d.ts +0 -15
  615. package/dist/utils/cn.d.ts.map +0 -1
  616. package/dist/utils/index.d.ts +0 -3
  617. package/dist/utils/index.d.ts.map +0 -1
@@ -1,122 +0,0 @@
1
- import { ApolloClient, InMemoryCache } from '@apollo/client/core';
2
- import { Gateway } from '../config';
3
- /**
4
- * Check if the network circuit breaker is currently open (backend unreachable).
5
- * Useful for showing "backend offline" banners in the UI.
6
- */
7
- export declare function isNetworkCircuitOpen(): boolean;
8
- export type { Gateway } from '../config';
9
- export interface CreateClientOptions {
10
- /** Gateway type: 'workspace' or 'global' */
11
- gateway: Gateway;
12
- /** Optional base URL override (defaults to gateway's defaultBaseUrl) */
13
- baseUrl?: string;
14
- /** Authorization token or token getter function */
15
- authToken?: string | (() => string | null);
16
- /** Workspace token or getter for X-Workspace-Authorization header (workspace gateway only) */
17
- workspaceToken?: string | (() => string | null);
18
- /** Locale code or getter function for Accept-Language header */
19
- locale?: string | (() => string | null);
20
- /** Geography getter for x-geo-* headers (country, currency, timezone) */
21
- geography?: () => {
22
- country?: string;
23
- currency?: string;
24
- timezone?: string;
25
- } | null;
26
- /** Organization ID or getter function for x-org-id header (global gateway) */
27
- organizationId?: string | (() => string | null);
28
- /** Product ID or getter function for x-product-id header (for product-level isolation) */
29
- productId?: string | (() => string | null);
30
- /** Workspace ID or getter function for x-workspace-id header (workspace context) */
31
- workspaceId?: string | (() => string | null);
32
- /** Tenant ID or getter function for x-tenant-id header (tenant context) */
33
- tenantId?: string | (() => string | null);
34
- /** Optional cache instance for sharing between clients */
35
- cache?: InMemoryCache;
36
- /** Enable SSE subscriptions */
37
- enableSubscriptions?: boolean;
38
- /** SSE endpoint URL override (defaults to gateway's sse path) */
39
- sseUrl?: string;
40
- /** Callback when authentication error occurs */
41
- onAuthError?: () => void;
42
- /**
43
- * Callback to attempt token refresh when a 401/UNAUTHENTICATED error occurs.
44
- * If provided, the ErrorLink will call this before invoking onAuthError,
45
- * and will retry the failed operation with the new token on success.
46
- * Should return `true` if refresh succeeded (token updated in storage),
47
- * or `false` if refresh failed (triggers onAuthError).
48
- */
49
- onRefreshToken?: () => Promise<boolean>;
50
- /** Callback when network error occurs */
51
- onNetworkError?: (error: Error) => void;
52
- /** Callback when network status changes (circuit breaker open/closed) */
53
- onNetworkStatusChange?: (isOffline: boolean) => void;
54
- /** Maximum retry attempts for failed requests (default: 3) */
55
- maxRetryAttempts?: number;
56
- /**
57
- * Maximum number of operations to batch together (default: 10).
58
- * Set to 1 to disable batching.
59
- */
60
- batchMax?: number;
61
- /**
62
- * Time window (ms) to collect operations before sending a batch.
63
- * Defaults to a longer page-load burst window and a shorter steady-state window.
64
- */
65
- batchInterval?: number;
66
- /** Enable debug logging */
67
- debug?: boolean;
68
- }
69
- /**
70
- * Creates an Apollo Client configured for a Burdenoff gateway
71
- *
72
- * @example Basic usage
73
- * ```ts
74
- * // Workspace gateway client
75
- * const workspaceClient = createGraphQLClient({
76
- * gateway: 'workspace',
77
- * authToken: 'your-jwt-token',
78
- * });
79
- *
80
- * // Global gateway client
81
- * const globalClient = createGraphQLClient({
82
- * gateway: 'global',
83
- * authToken: () => localStorage.getItem('token'),
84
- * });
85
- * ```
86
- *
87
- * @example With subscriptions
88
- * ```ts
89
- * const client = createGraphQLClient({
90
- * gateway: 'workspace',
91
- * authToken: token,
92
- * enableSubscriptions: true,
93
- * });
94
- * ```
95
- */
96
- export declare function createGraphQLClient(options: CreateClientOptions): ApolloClient;
97
- export interface AppClientConfig {
98
- workspaceBaseUrl?: string;
99
- globalBaseUrl?: string;
100
- authToken?: string | (() => string | null);
101
- enableSubscriptions?: boolean;
102
- onAuthError?: () => void;
103
- debug?: boolean;
104
- }
105
- /**
106
- * Initialize app-level Apollo clients
107
- * Call this once during app initialization
108
- */
109
- export declare function initializeAppClients(config: AppClientConfig): void;
110
- /**
111
- * Get the workspace gateway Apollo client
112
- */
113
- export declare function getWorkspaceClient(): ApolloClient;
114
- /**
115
- * Get the global gateway Apollo client
116
- */
117
- export declare function getGlobalClient(): ApolloClient;
118
- /**
119
- * Reset all singleton clients (useful for logout or testing)
120
- */
121
- export declare function resetAppClients(): void;
122
- //# sourceMappingURL=client.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/shared/graphql/client.ts"],"names":[],"mappings":"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"}
@@ -1,133 +0,0 @@
1
- import { Gateway } from '../config';
2
- export interface GraphQLFetchOptions {
3
- /** Gateway to target */
4
- gateway: Gateway;
5
- /** GraphQL query / mutation string */
6
- query: string;
7
- /** Variables for the operation */
8
- variables?: Record<string, unknown>;
9
- /** Operation name (optional, helps with debugging) */
10
- operationName?: string;
11
- /** Override auth token (if not provided, reads from profile storage) */
12
- authToken?: string;
13
- /**
14
- * Include workspace token in X-Workspace-Authorization header.
15
- * For `gateway: "workspace"`, this defaults to `true` (auto-attach) unless explicitly set to `false`.
16
- * Pass `true` to auto-read from profile storage, or pass the token string directly.
17
- */
18
- workspaceToken?: boolean | string;
19
- /**
20
- * Include workspace ID in x-workspace-id header.
21
- * Pass `true` to auto-read from profile context storage, or pass the workspace ID string directly.
22
- * This is the "context workspace" - the user's current working context.
23
- * For "target workspace" (e.g., viewing a specific workspace), use GraphQL arguments instead.
24
- */
25
- workspaceId?: boolean | string;
26
- /**
27
- * Include organization ID in x-org-id header.
28
- * Pass `true` to auto-read from profile context storage, or pass the org ID string directly.
29
- */
30
- organizationId?: boolean | string;
31
- /**
32
- * Include tenant ID in x-tenant-id header.
33
- * Pass `true` to auto-read from profile context storage, or pass the tenant ID string directly.
34
- */
35
- tenantId?: boolean | string;
36
- /** Override locale (if not provided, reads from profile storage) */
37
- locale?: string;
38
- /** Override base URL (if not provided, reads from GATEWAYS config) */
39
- baseUrl?: string;
40
- /** Additional headers to merge (overrides auto-detected values) */
41
- extraHeaders?: Record<string, string>;
42
- /** AbortSignal for cancellation */
43
- signal?: AbortSignal;
44
- }
45
- export interface GraphQLResponse<T = unknown> {
46
- data: T | null;
47
- errors?: Array<{
48
- message: string;
49
- locations?: Array<{
50
- line: number;
51
- column: number;
52
- }>;
53
- path?: Array<string | number>;
54
- extensions?: Record<string, unknown>;
55
- }>;
56
- }
57
- /** Read the active profile's access token from profile-scoped storage */
58
- export declare function getStoredAuthToken(): string | null;
59
- /** Read the active profile's workspace token from profile-scoped storage */
60
- export declare function getStoredWorkspaceToken(): string | null;
61
- /** Read the active profile's geography from profile-scoped storage */
62
- export declare function getStoredGeography(): {
63
- country?: string;
64
- currency?: string;
65
- timezone?: string;
66
- } | null;
67
- /** Read the active profile's locale from profile-scoped storage */
68
- export declare function getStoredLocale(): string;
69
- /** Read the active profile's context (workspaceId, organizationId, tenantId, projectId) from profile-scoped storage */
70
- export declare function getStoredContext(): {
71
- workspaceId?: string;
72
- organizationId?: string;
73
- tenantId?: string;
74
- projectId?: string;
75
- } | null;
76
- /** Read the active profile's workspace ID.
77
- * Reads from profile-scoped context (bf-p-{profileId}-context) which
78
- * ActiveContextProvider now writes to on every setWorkspace() call and on init.
79
- * Falls back to the ?workspace= URL param for page loads where the context
80
- * hasn't been hydrated yet (mirrors MultiGatewayProvider.getWorkspaceId). */
81
- export declare function getStoredWorkspaceId(): string | null;
82
- /** Read the active profile's organization ID from profile context storage */
83
- export declare function getStoredOrganizationId(): string | null;
84
- /** Read the active profile's tenant ID from profile context storage */
85
- export declare function getStoredTenantId(): string | null;
86
- /** Resolve full gateway GraphQL URL */
87
- export declare function resolveGatewayUrl(gateway: Gateway, baseUrl?: string): string;
88
- export interface EnqueueGraphQLFetchOptions {
89
- batchMax?: number;
90
- batchInterval?: number;
91
- }
92
- export declare function enqueueGraphQLFetch(url: string, headers: Record<string, string>, body: Record<string, unknown>, signal?: AbortSignal, options?: EnqueueGraphQLFetchOptions): Promise<unknown>;
93
- /**
94
- * Make a GraphQL request with automatic auth + locale headers.
95
- *
96
- * @example Basic query (global gateway)
97
- * ```ts
98
- * const result = await graphqlFetch<{ myWorkspaces: Workspace[] }>({
99
- * gateway: 'global',
100
- * query: `query { myWorkspaces { id name } }`,
101
- * });
102
- * ```
103
- *
104
- * @example Workspace query with context headers (auto-read from storage)
105
- * ```ts
106
- * const result = await graphqlFetch<{ workspaceResources: Resource[] }>({
107
- * gateway: 'workspace',
108
- * query: WORKSPACE_RESOURCES_QUERY,
109
- * workspaceId: true, // auto-reads from profile context storage -> x-workspace-id header
110
- * });
111
- * ```
112
- *
113
- * @example Workspace query with explicit workspace ID
114
- * ```ts
115
- * const result = await graphqlFetch<{ workspaceMembers: MemberList }>({
116
- * gateway: 'workspace',
117
- * query: WORKSPACE_MEMBERS_QUERY,
118
- * variables: { workspaceId: targetWorkspaceId }, // Target workspace in arguments
119
- * workspaceId: contextWorkspaceId, // Context workspace in header (for RBAC)
120
- * });
121
- * ```
122
- *
123
- * @example With explicit tokens (e.g. right after login, before storage is updated)
124
- * ```ts
125
- * const result = await graphqlFetch({
126
- * gateway: 'global',
127
- * query: MY_WORKSPACES_QUERY,
128
- * authToken: freshAccessToken,
129
- * });
130
- * ```
131
- */
132
- export declare function graphqlFetch<T = unknown>(options: GraphQLFetchOptions): Promise<GraphQLResponse<T>>;
133
- //# sourceMappingURL=fetch.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../src/shared/graphql/fetch.ts"],"names":[],"mappings":"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"}
@@ -1,9 +0,0 @@
1
- export { createGraphQLClient, initializeAppClients, getWorkspaceClient, getGlobalClient, resetAppClients, type CreateClientOptions, type AppClientConfig, type Gateway, } from './client';
2
- export { GatewayProvider, useGateway, useGatewayClient, useSafeGateway, useSafeGatewayClient, type GatewayContextValue, type GatewayProviderProps, } from './GatewayContext';
3
- export { graphqlFetch, getStoredAuthToken, getStoredWorkspaceToken, getStoredWorkspaceId, getStoredLocale, getStoredOrganizationId, resolveGatewayUrl, type GraphQLFetchOptions, type GraphQLResponse, } from './fetch';
4
- export { getWorkspaceTokenPayload, isWorkspaceTokenValidForContext, type WorkspaceTokenContext, type WorkspaceTokenPayload, } from './workspaceToken';
5
- export { SSELink, type SSELinkOptions } from './links/sse-link';
6
- export { ApolloClient, InMemoryCache, type NormalizedCacheObject } from '@apollo/client/core';
7
- export { ApolloProvider, useQuery, useMutation, useLazyQuery, useSubscription, useApolloClient, } from '@apollo/client/react';
8
- export { gql } from '@apollo/client/core';
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/graphql/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,OAAO,GACb,MAAM,UAAU,CAAC;AAGlB,OAAO,EACL,eAAe,EACf,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,uBAAuB,EACvB,oBAAoB,EACpB,eAAe,EACf,uBAAuB,EACvB,iBAAiB,EACjB,KAAK,mBAAmB,EACxB,KAAK,eAAe,GACrB,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,wBAAwB,EACxB,+BAA+B,EAC/B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAIhE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,KAAK,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE9F,OAAO,EACL,cAAc,EACd,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,eAAe,EACf,eAAe,GAChB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1,48 +0,0 @@
1
- import { ApolloLink, Observable, FetchResult, Operation } from '@apollo/client/core';
2
- export interface SSELinkOptions {
3
- /** SSE endpoint URL */
4
- url: string;
5
- /** Optional headers to include with requests */
6
- headers?: Record<string, string>;
7
- /** Enable debug logging */
8
- debug?: boolean;
9
- }
10
- /**
11
- * SSE Link for GraphQL Yoga subscriptions
12
- *
13
- * GraphQL Yoga uses Server-Sent Events (SSE) for subscriptions over HTTP.
14
- * This is more compatible with serverless and edge deployments than WebSockets.
15
- *
16
- * SSE Format:
17
- * - event: next\ndata: {...}\n\n - Subscription data
18
- * - event: complete\n\n - Subscription ended
19
- * - event: error\ndata: {...}\n\n - Error occurred
20
- *
21
- * @example
22
- * ```ts
23
- * import { SSELink } from '@burdenoff/fe-libs/shared/graphql/links/sse-link';
24
- *
25
- * const sseLink = new SSELink({
26
- * url: 'https://gw-wspace.local.burdenoff.com/workspaces/graphql/stream',
27
- * headers: {
28
- * authorization: `Bearer ${token}`,
29
- * },
30
- * });
31
- * ```
32
- */
33
- export declare class SSELink extends ApolloLink {
34
- private url;
35
- private headers;
36
- private debug;
37
- constructor(options: SSELinkOptions);
38
- /**
39
- * Update headers (useful for token refresh)
40
- */
41
- setHeaders(headers: Record<string, string>): void;
42
- /**
43
- * Update the authorization header
44
- */
45
- setAuthToken(token: string | null): void;
46
- request(operation: Operation): Observable<FetchResult>;
47
- }
48
- //# sourceMappingURL=sse-link.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sse-link.d.ts","sourceRoot":"","sources":["../../../../src/shared/graphql/links/sse-link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAGlE,MAAM,WAAW,cAAc;IAC7B,uBAAuB;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,gDAAgD;IAChD,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,2BAA2B;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,qBAAa,OAAQ,SAAQ,UAAU;IACrC,OAAO,CAAC,GAAG,CAAS;IACpB,OAAO,CAAC,OAAO,CAAyB;IACxC,OAAO,CAAC,KAAK,CAAU;gBAEX,OAAO,EAAE,cAAc;IAOnC;;OAEG;IACH,UAAU,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI;IAIjD;;OAEG;IACH,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;IAQxC,OAAO,CAAC,SAAS,EAAE,SAAS,GAAG,UAAU,CAAC,WAAW,CAAC;CAqJvD"}
@@ -1,13 +0,0 @@
1
- type Geography = {
2
- country?: string;
3
- currency?: string;
4
- timezone?: string;
5
- };
6
- export declare function getValidAccessTokenFromStorage(tokensRaw: string | null): string | null;
7
- export declare function sanitizeGeography(input: Geography | null): Geography | null;
8
- export declare function isSafeRedirectTarget(target: string, baseOrigin?: string): boolean;
9
- export declare function redirectToSafeLocation(target: string, fallback?: string, baseOrigin?: string): boolean;
10
- export declare function validateGatewayBaseUrl(value: string): string;
11
- export declare function sanitizeExtraHeaders(headers?: Record<string, string>): Record<string, string> | undefined;
12
- export {};
13
- //# sourceMappingURL=security.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"security.d.ts","sourceRoot":"","sources":["../../../src/shared/graphql/security.ts"],"names":[],"mappings":"AAkBA,KAAK,SAAS,GAAG;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAiBF,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAoBtF;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,CA6B3E;AAED,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,MAAM,EACd,UAAU,GAAE,MAA+B,GAC1C,OAAO,CAeT;AAED,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,MAAM,EACd,QAAQ,GAAE,MAAY,EACtB,UAAU,CAAC,EAAE,MAAM,GAClB,OAAO,CAST;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAkB5D;AAED,wBAAgB,oBAAoB,CAClC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAC/B,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAMpC"}
@@ -1,13 +0,0 @@
1
- export interface WorkspaceTokenContext {
2
- workspaceId?: string | null;
3
- organizationId?: string | null;
4
- tenantId?: string | null;
5
- projectId?: string | null;
6
- }
7
- export interface WorkspaceTokenPayload extends WorkspaceTokenContext {
8
- exp?: number;
9
- tokenType?: string;
10
- }
11
- export declare function getWorkspaceTokenPayload(token: string): WorkspaceTokenPayload | null;
12
- export declare function isWorkspaceTokenValidForContext(token: string | null | undefined, expected: WorkspaceTokenContext, expiryBufferMs?: number): token is string;
13
- //# sourceMappingURL=workspaceToken.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"workspaceToken.d.ts","sourceRoot":"","sources":["../../../src/shared/graphql/workspaceToken.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,qBAAsB,SAAQ,qBAAqB;IAClE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAyBD,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,qBAAqB,GAAG,IAAI,CAcpF;AAED,wBAAgB,+BAA+B,CAC7C,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAChC,QAAQ,EAAE,qBAAqB,EAC/B,cAAc,SAAS,GACtB,KAAK,IAAI,MAAM,CA+BjB"}
@@ -1,25 +0,0 @@
1
- import { FC } from 'react';
2
- export interface HelpButtonProps {
3
- /** Additional CSS classes */
4
- className?: string;
5
- /** Button variant */
6
- variant?: 'default' | 'ghost' | 'icon';
7
- /** Show label text */
8
- showLabel?: boolean;
9
- /** Label text */
10
- label?: string;
11
- }
12
- /**
13
- * HelpButton component
14
- *
15
- * @example
16
- * ```tsx
17
- * // Icon only
18
- * <HelpButton variant="icon" />
19
- *
20
- * // With label
21
- * <HelpButton showLabel label="Help & Support" />
22
- * ```
23
- */
24
- export declare const HelpButton: FC<HelpButtonProps>;
25
- //# sourceMappingURL=HelpButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HelpButton.d.ts","sourceRoot":"","sources":["../../../src/shared/help/HelpButton.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,MAAM,WAAW,eAAe;IAC9B,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qBAAqB;IACrB,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;IACvC,sBAAsB;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iBAAiB;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAmC1C,CAAC"}
@@ -1,10 +0,0 @@
1
- import { FC } from 'react';
2
- export interface HelpPanelProps {
3
- /** Additional CSS classes */
4
- className?: string;
5
- }
6
- /**
7
- * HelpPanel component
8
- */
9
- export declare const HelpPanel: FC<HelpPanelProps>;
10
- //# sourceMappingURL=HelpPanel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HelpPanel.d.ts","sourceRoot":"","sources":["../../../src/shared/help/HelpPanel.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,MAAM,WAAW,cAAc;IAC7B,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA+HD;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CA0QxC,CAAC"}
@@ -1,40 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { HelpContext, HelpContent, HelpTour, SupportTicket } from './types';
3
- declare const HelpContext: import('react').Context<HelpContext | null>;
4
- export interface HelpProviderProps {
5
- children: ReactNode;
6
- /** Callback when support ticket is submitted */
7
- onSubmitTicket?: (ticket: SupportTicket) => Promise<void>;
8
- /** Default articles to include */
9
- defaultArticles?: HelpContent['articles'];
10
- /** Default tours to include */
11
- defaultTours?: HelpContent['tours'];
12
- }
13
- /**
14
- * HelpProvider component
15
- *
16
- * @example
17
- * ```tsx
18
- * <HelpProvider onSubmitTicket={async (ticket) => { ... }}>
19
- * <App />
20
- * </HelpProvider>
21
- * ```
22
- */
23
- export declare function HelpProvider({ children, onSubmitTicket, defaultArticles, defaultTours, }: HelpProviderProps): import("react/jsx-runtime").JSX.Element;
24
- /**
25
- * Hook to access help context
26
- */
27
- export declare function useHelp(): HelpContext;
28
- /**
29
- * Hook to get all articles (with optional filtering)
30
- */
31
- export declare function useHelpArticles(options?: {
32
- category?: string;
33
- search?: string;
34
- }): import('./types').HelpArticle[];
35
- /**
36
- * Hook to get all tours (with optional context filtering)
37
- */
38
- export declare function useHelpTours(contextId?: string): HelpTour[];
39
- export {};
40
- //# sourceMappingURL=HelpProvider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HelpProvider.d.ts","sourceRoot":"","sources":["../../../src/shared/help/HelpProvider.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAA6D,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAClG,OAAO,KAAK,EACV,WAAW,EAGX,WAAW,EACX,QAAQ,EACR,aAAa,EACd,MAAM,SAAS,CAAC;AAEjB,QAAA,MAAM,WAAW,6CAA0C,CAAC;AAE5D,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,SAAS,CAAC;IACpB,gDAAgD;IAChD,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1D,kCAAkC;IAClC,eAAe,CAAC,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;IAC1C,+BAA+B;IAC/B,YAAY,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CACrC;AAED;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,cAAc,EACd,eAAoB,EACpB,YAAiB,GAClB,EAAE,iBAAiB,2CA4LnB;AAED;;GAEG;AACH,wBAAgB,OAAO,IAAI,WAAW,CAMrC;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,OAAO,CAAC,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,mCA+B/E;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,SAAS,CAAC,EAAE,MAAM,cAgB9C"}
@@ -1,53 +0,0 @@
1
- /**
2
- * Help Framework
3
- *
4
- * Contextual help system for microfrontend applications.
5
- *
6
- * Features:
7
- * - Help panel with docs, tours, and support tabs
8
- * - Guided tours system
9
- * - Context-aware content (microfrontends can register their help content)
10
- * - Search functionality
11
- * - Support ticket creation
12
- *
13
- * @example
14
- * ```tsx
15
- * // In your app's root
16
- * import { HelpProvider, HelpPanel, HelpButton } from '@burdenoff/fe-libs/shared/help';
17
- *
18
- * function App() {
19
- * return (
20
- * <HelpProvider onSubmitTicket={handleTicket}>
21
- * <Header>
22
- * <HelpButton />
23
- * </Header>
24
- * <Routes>...</Routes>
25
- * <HelpPanel />
26
- * </HelpProvider>
27
- * );
28
- * }
29
- *
30
- * // In a microfrontend
31
- * import { useHelp } from '@burdenoff/fe-libs/shared/help';
32
- *
33
- * function MyMicrofrontend() {
34
- * const { registerHelpContent } = useHelp();
35
- *
36
- * useEffect(() => {
37
- * registerHelpContent({
38
- * contextId: 'my-mfe',
39
- * articles: [...],
40
- * tours: [...],
41
- * });
42
- * }, []);
43
- * }
44
- * ```
45
- */
46
- export { HelpProvider, useHelp, useHelpArticles, useHelpTours } from './HelpProvider';
47
- export { HelpButton } from './HelpButton';
48
- export { HelpPanel } from './HelpPanel';
49
- export type { HelpArticle, HelpTour, TourStep, SupportTicket, HelpContent, HelpTab, HelpContext, HelpContextState, HelpContextActions, } from './types';
50
- export type { HelpProviderProps } from './HelpProvider';
51
- export type { HelpButtonProps } from './HelpButton';
52
- export type { HelpPanelProps } from './HelpPanel';
53
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/help/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAEH,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACtF,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,YAAY,EACV,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,aAAa,EACb,WAAW,EACX,OAAO,EACP,WAAW,EACX,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,SAAS,CAAC;AAEjB,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC"}