@burdenoff/fe-libs 2026.525.2 → 2026.525.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,215 +0,0 @@
1
- /**
2
- * Tour Player Types
3
- * Defines types for the tour player component
4
- */
5
- export type TourStatus = 'DRAFT' | 'PUBLISHED' | 'ARCHIVED' | 'SCHEDULED';
6
- /**
7
- * TourUserStatus — per-user progress states for a tour.
8
- * Mirrors `enum TourUserStatus` in
9
- * `global-tours-svc/prisma/schema/tours.prisma`. Keep these in sync with
10
- * the backend when adding/removing values — the Tour.myProgress resolver
11
- * returns the raw Prisma enum, so a client-side divergence surfaces as
12
- * a silent string mismatch at render time (unknown statuses fall through
13
- * to `null` in STATUS_CHIP_CONFIG) rather than a runtime error. Tracked
14
- * in Linear BOFF-2233.
15
- */
16
- export type TourUserStatus = 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETED' | 'SKIPPED' | 'DISMISSED';
17
- /**
18
- * Tour user progress (subset of backend TourUserProgress fields that the
19
- * client actually uses to render chips + filters). Matches the selection
20
- * set in `GET_TOURS_FOR_CONTEXT` on `Tour.myProgress` — add fields here
21
- * AND to the query fragment when the client needs more of the progress
22
- * row. Backend source of truth:
23
- * `global-tours-svc/src/modules/tours/resolvers/tour/tour.type.ts`.
24
- */
25
- export interface TourUserProgressSummary {
26
- id: string;
27
- status: TourUserStatus;
28
- }
29
- export type TourTriggerType = 'MANUAL' | 'AUTO_FIRST_VISIT' | 'AUTO_ALWAYS' | 'ON_EVENT' | 'SCHEDULED';
30
- export type StepPlacement = 'AUTO' | 'TOP' | 'BOTTOM' | 'LEFT' | 'RIGHT' | 'CENTER';
31
- export type MediaType = 'IMAGE' | 'VIDEO' | 'AUDIO' | 'DOCUMENT';
32
- export type MediaPosition = 'HEADER' | 'INLINE' | 'BODY' | 'FOOTER';
33
- /**
34
- * Tour step for the player
35
- */
36
- export interface TourStep {
37
- id: string;
38
- tourId: string;
39
- title: string;
40
- content: string;
41
- stepOrder: number;
42
- targetSelector?: string;
43
- placement: StepPlacement;
44
- targetSelectorMobile?: string;
45
- targetSelectorTablet?: string;
46
- targetSelectorDesktop?: string;
47
- customData?: Record<string, unknown>;
48
- actions?: Record<string, unknown>;
49
- requireInteraction?: boolean;
50
- waitForSelector?: string;
51
- waitForEvent?: string;
52
- waitForTimeout?: number;
53
- skipConditions?: Record<string, unknown>;
54
- media?: TourStepMedia[];
55
- }
56
- /**
57
- * Tour step media attachment
58
- */
59
- export interface TourStepMedia {
60
- id: string;
61
- mediaId: string;
62
- position: MediaPosition;
63
- displayOrder: number;
64
- media: {
65
- id: string;
66
- name: string;
67
- type: MediaType;
68
- cdnUrl?: string;
69
- mimeType: string;
70
- altText?: string;
71
- caption?: string;
72
- };
73
- }
74
- /**
75
- * Tour for the player
76
- */
77
- export interface Tour {
78
- id: string;
79
- context?: {
80
- workspaceId?: string;
81
- userId?: string;
82
- organizationId?: string;
83
- projectId?: string;
84
- productId?: string;
85
- moduleId?: string;
86
- pageId?: string;
87
- };
88
- name: string;
89
- slug: string;
90
- description?: string;
91
- productId: string;
92
- moduleId?: string;
93
- pageId?: string;
94
- status: TourStatus;
95
- isActive: boolean;
96
- triggerType: TourTriggerType;
97
- triggerConfig?: Record<string, unknown>;
98
- mobileConfig?: Record<string, unknown>;
99
- tabletConfig?: Record<string, unknown>;
100
- desktopConfig?: Record<string, unknown>;
101
- priority: number;
102
- displayOrder: number;
103
- steps: TourStep[];
104
- /**
105
- * Current authenticated user's progress for this tour, or null if they
106
- * haven't interacted yet. Populated by the backend field resolver
107
- * `Tour.myProgress` (TOUR-P2-020). Used by TourTrigger to render per-tour
108
- * status chips inline in the dropdown.
109
- */
110
- myProgress?: TourUserProgressSummary | null;
111
- }
112
- /**
113
- * Tour player state
114
- */
115
- export interface TourPlayerState {
116
- isPlaying: boolean;
117
- currentTour: Tour | null;
118
- currentStepIndex: number;
119
- isPaused: boolean;
120
- isCompleted: boolean;
121
- isSkipped: boolean;
122
- }
123
- /**
124
- * Tour player actions
125
- */
126
- export interface TourPlayerActions {
127
- startTour: (tour: Tour) => void;
128
- stopTour: () => void;
129
- nextStep: () => void;
130
- previousStep: () => void;
131
- goToStep: (index: number) => void;
132
- pauseTour: () => void;
133
- resumeTour: () => void;
134
- skipTour: () => void;
135
- completeTour: () => void;
136
- }
137
- /**
138
- * Tour player context value
139
- */
140
- export interface TourPlayerContextValue extends TourPlayerState, TourPlayerActions {
141
- currentStep: TourStep | null;
142
- totalSteps: number;
143
- progress: number;
144
- canGoNext: boolean;
145
- canGoPrevious: boolean;
146
- }
147
- /**
148
- * Tour player provider props
149
- */
150
- export interface TourPlayerProviderProps {
151
- children: React.ReactNode;
152
- /**
153
- * Callback when a tour starts
154
- */
155
- onTourStart?: (tour: Tour) => void;
156
- /**
157
- * Callback when a tour completes
158
- */
159
- onTourComplete?: (tour: Tour) => void;
160
- /**
161
- * Callback when a tour is skipped
162
- */
163
- onTourSkip?: (tour: Tour, stepIndex: number) => void;
164
- /**
165
- * Callback when a step changes
166
- */
167
- onStepChange?: (tour: Tour, stepIndex: number) => void;
168
- /**
169
- * Callback when a step is completed before advancing or finishing
170
- */
171
- onStepComplete?: (tour: Tour, stepIndex: number) => void;
172
- /**
173
- * Custom z-index for the overlay
174
- */
175
- zIndex?: number;
176
- }
177
- /**
178
- * Tour tooltip props
179
- */
180
- export interface TourTooltipProps {
181
- step: TourStep;
182
- stepIndex: number;
183
- totalSteps: number;
184
- onNext: () => void;
185
- onPrevious: () => void;
186
- onSkip: () => void;
187
- onComplete: () => void;
188
- canGoNext: boolean;
189
- canGoPrevious: boolean;
190
- isLastStep: boolean;
191
- placement: StepPlacement;
192
- targetRect: DOMRect | null;
193
- }
194
- /**
195
- * Tour spotlight props
196
- */
197
- export interface TourSpotlightProps {
198
- targetRect: DOMRect | null;
199
- padding?: number;
200
- borderRadius?: number;
201
- zIndex?: number;
202
- }
203
- /**
204
- * Device type for responsive selectors
205
- */
206
- export type DeviceType = 'mobile' | 'tablet' | 'desktop';
207
- /**
208
- * Get the appropriate selector based on device type
209
- */
210
- export declare function getResponsiveSelector(step: TourStep, deviceType: DeviceType): string | undefined;
211
- /**
212
- * Detect current device type based on screen width
213
- */
214
- export declare function detectDeviceType(): DeviceType;
215
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/shared/tours/types.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ACjC,UAAU,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEzD;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,GAAG,MAAM,GAAG,SAAS,CAWhG;AAED;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,UAAU,CAO7C"}
@@ -1,38 +0,0 @@
1
- import { Tour, TourStep, DeviceType } from './types';
2
- interface UseTourPlayerOptions {
3
- onTourStart?: (tour: Tour) => void;
4
- onTourComplete?: (tour: Tour) => void;
5
- onTourSkip?: (tour: Tour, stepIndex: number) => void;
6
- onStepChange?: (tour: Tour, stepIndex: number) => void;
7
- onStepComplete?: (tour: Tour, stepIndex: number) => void;
8
- }
9
- /**
10
- * Hook for managing tour player state and actions
11
- */
12
- export declare function useTourPlayer(options?: UseTourPlayerOptions): {
13
- currentStep: TourStep | null;
14
- totalSteps: number;
15
- progress: number;
16
- canGoNext: boolean;
17
- canGoPrevious: boolean;
18
- isLastStep: boolean;
19
- targetRect: DOMRect | null;
20
- deviceType: DeviceType;
21
- startTour: (tour: Tour) => void;
22
- stopTour: () => void;
23
- nextStep: () => void;
24
- previousStep: () => void;
25
- goToStep: (index: number) => void;
26
- pauseTour: () => void;
27
- resumeTour: () => void;
28
- skipTour: () => void;
29
- completeTour: () => void;
30
- isPlaying: boolean;
31
- currentTour: Tour | null;
32
- currentStepIndex: number;
33
- isPaused: boolean;
34
- isCompleted: boolean;
35
- isSkipped: boolean;
36
- };
37
- export {};
38
- //# sourceMappingURL=useTourPlayer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useTourPlayer.d.ts","sourceRoot":"","sources":["../../../src/shared/tours/useTourPlayer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAmB,UAAU,EAAE,MAAM,SAAS,CAAC;AAG3E,UAAU,oBAAoB;IAC5B,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACnC,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IACtC,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACvD,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1D;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,OAAO,GAAE,oBAAyB;;;;;;;;;sBA6OrD,IAAI;;;;sBAuEH,MAAM;;;;;;;;;;;EAoGjB"}
@@ -1,185 +0,0 @@
1
- import { ReactNode } from 'react';
2
- /**
3
- * Navigation item for shell integration
4
- */
5
- export interface NavItem {
6
- id: string;
7
- label: string;
8
- icon?: ReactNode;
9
- path: string;
10
- badge?: number;
11
- order?: number;
12
- group?: string;
13
- visible?: boolean;
14
- children?: NavItem[];
15
- /**
16
- * When sidebar is collapsed and this parent item is clicked,
17
- * navigate to this path instead of the parent's path.
18
- * If not specified, defaults to the first child's path (if children exist).
19
- */
20
- homePath?: string;
21
- }
22
- /**
23
- * Footer item for shell integration
24
- */
25
- export interface FooterItem {
26
- id: string;
27
- label: string;
28
- icon?: string;
29
- onClick?: () => void;
30
- type?: 'status' | 'action' | 'info';
31
- order?: number;
32
- badge?: string;
33
- section?: 'left' | 'center' | 'right';
34
- visible?: boolean;
35
- }
36
- /**
37
- * Footer section type
38
- */
39
- export type FooterSection = 'left' | 'center' | 'right';
40
- /**
41
- * Base user type
42
- * Note: firstName and lastName are optional for compatibility with auth API responses
43
- * that may not always include these fields
44
- */
45
- export interface User {
46
- id: string;
47
- email: string;
48
- firstName?: string;
49
- lastName?: string;
50
- avatar?: string;
51
- /** Optional username for display */
52
- username?: string;
53
- /** Optional full name */
54
- name?: string;
55
- /** User role */
56
- role?: string;
57
- }
58
- /**
59
- * Base microfrontend root props
60
- */
61
- export interface MicrofrontendRootProps {
62
- /**
63
- * Base path for the microfrontend (e.g., '/tags', '/workflows')
64
- */
65
- basePath: string;
66
- /**
67
- * Navigation function injected by the host shell
68
- */
69
- navigate: (path: string) => void;
70
- /**
71
- * Current authenticated user
72
- */
73
- currentUser?: User;
74
- /**
75
- * Current tenant ID (for tenant modules)
76
- */
77
- tenantId?: string;
78
- /**
79
- * Current organization ID (for workspace modules that need org context)
80
- */
81
- organizationId?: string;
82
- /**
83
- * Current workspace ID (for workspace modules)
84
- */
85
- workspaceId?: string;
86
- /**
87
- * API Gateway URL
88
- */
89
- apiGatewayUrl?: string;
90
- /**
91
- * Authentication token
92
- */
93
- authToken?: string;
94
- /**
95
- * Product name for branding (e.g., "Burdenoff Workspaces", "FluidGrids", "Botlit")
96
- * Injected by the host shell to ensure consistent branding across all MFEs
97
- */
98
- productName?: string;
99
- /**
100
- * Product ID for branding (e.g., "workspaces", "fluidgrids", "botlit")
101
- * Injected by the host shell to identify which app shell is rendering
102
- */
103
- productId?: string;
104
- /**
105
- * Optional function to register navigation items with the shell
106
- * Injected by the shell app
107
- * @returns Cleanup function to unregister the items
108
- */
109
- registerNavItems?: (items: NavItem | NavItem[]) => () => void;
110
- /**
111
- * Optional function to register footer items with the shell
112
- * Injected by the shell app
113
- * @returns Cleanup function to unregister the items
114
- */
115
- registerFooterItems?: (items: FooterItem | FooterItem[]) => () => void;
116
- }
117
- /**
118
- * Represents a single search result item
119
- */
120
- export interface SearchResult {
121
- readonly id: string;
122
- readonly title: string;
123
- readonly description?: string;
124
- readonly category: string;
125
- readonly entityType?: string;
126
- readonly productSource?: string;
127
- readonly icon?: React.ComponentType<{
128
- className?: string;
129
- }>;
130
- readonly href: string;
131
- /** Graph relevance score from search engine */
132
- readonly score?: number;
133
- /** Workspace this result belongs to */
134
- readonly workspaceId?: string;
135
- /** Actor who created this entity */
136
- readonly createdBy?: string;
137
- /** Actor who last updated this entity */
138
- readonly updatedBy?: string;
139
- readonly metadata?: Readonly<{
140
- createdAt?: Date;
141
- author?: string;
142
- tags?: readonly string[];
143
- [key: string]: unknown;
144
- }>;
145
- }
146
- /**
147
- * Faceted search counts for filtering UI
148
- */
149
- export interface SearchFacets {
150
- readonly byType: ReadonlyArray<{
151
- type: string;
152
- count: number;
153
- }>;
154
- readonly byProduct: ReadonlyArray<{
155
- product: string;
156
- count: number;
157
- }>;
158
- readonly byWorkspace: ReadonlyArray<{
159
- workspaceId: string;
160
- count: number;
161
- }>;
162
- }
163
- /**
164
- * Full search response including pagination and facets
165
- */
166
- export interface SearchResponse {
167
- readonly results: readonly SearchResult[];
168
- readonly total: number;
169
- readonly hasMore: boolean;
170
- readonly facets?: SearchFacets;
171
- readonly searchTimeMs?: number;
172
- readonly error?: 'NO_WORKSPACE_CONTEXT' | string;
173
- }
174
- /**
175
- * Search category configuration
176
- */
177
- export interface SearchCategory {
178
- readonly name: string;
179
- readonly label: string;
180
- readonly icon: React.ComponentType<{
181
- className?: string;
182
- }>;
183
- readonly entityTypes?: readonly string[];
184
- }
185
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/types/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC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AAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC3D,QAAQ,CAAC,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CAC1C"}
@@ -1,26 +0,0 @@
1
- import { ApolloClient, InMemoryCache } from '@apollo/client';
2
- export interface CreateApolloClientOptions {
3
- uri: string;
4
- getAuthToken?: () => string | null | undefined;
5
- onAuthError?: () => void;
6
- onNetworkError?: (error: Error) => void;
7
- cache?: InMemoryCache;
8
- retryAttempts?: number;
9
- retryDelay?: number;
10
- }
11
- export declare function withBrowserTraceHeader(headersInit?: HeadersInit): Headers;
12
- /**
13
- * Decide whether an Apollo link error should be retried. Exported so it
14
- * can be unit-tested independently of an ApolloClient instance.
15
- *
16
- * Retries any unrecognised error (default-true) so genuine transient
17
- * network / 5xx failures still benefit from the link's retry budget;
18
- * permanent failures are filtered via three signals, in order:
19
- * 1. Numeric `statusCode` (Apollo Client 4's `ServerError`)
20
- * 2. `errors[].extensions.code` (GraphQL response auth codes)
21
- * 3. Substring match on `message` (fallback for link errors that
22
- * surface auth codes only in their message string)
23
- */
24
- export declare function shouldRetryApolloError(error: unknown): boolean;
25
- export declare function createApolloClient(options: CreateApolloClientOptions): ApolloClient;
26
- //# sourceMappingURL=apollo.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"apollo.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/apollo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,aAAa,EAAQ,MAAM,gBAAgB,CAAC;AAanE,MAAM,WAAW,yBAAyB;IACxC,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/C,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACxC,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,sBAAsB,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAMzE;AAYD;;;;;;;;;;;GAWG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAiC9D;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,yBAAyB,GAAG,YAAY,CAyHnF"}
@@ -1,34 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { User } from '../providers/shell/AuthProvider';
3
- import { NavItem } from '../hooks/shell/useNavRegistry';
4
- import { FooterItem } from '../hooks/shell/useFooterRegistry';
5
- /**
6
- * AppInitializer Component
7
- * Initializes auth and active context when the application mounts.
8
- * Useful for integrating standalone MFE dev harnesses with the shell's providers.
9
- */
10
- export interface AppInitializerProps {
11
- user: User | null;
12
- authToken: string;
13
- workspaceId: string | null;
14
- tenantId: string | null;
15
- projectId?: string | null;
16
- children: ReactNode;
17
- }
18
- export declare function AppInitializer({ user, authToken, workspaceId, tenantId, projectId, children, }: AppInitializerProps): import("react/jsx-runtime").JSX.Element;
19
- /**
20
- * Custom navigate hook wrapping React Router's useNavigate.
21
- * Wraps navigation in startTransition so React keeps the current UI
22
- * responsive while lazy-loaded route components are fetched.
23
- */
24
- export declare function useShellNavigate(): (path: string) => void;
25
- /**
26
- * Registry helpers for navigation and footer items.
27
- * Returns functions to register/unregister nav and footer items
28
- * that MFE roots can use via their registerNavItems/registerFooterItems props.
29
- */
30
- export declare function useRegistryHelpers(): {
31
- registerNavItems: (items: NavItem | NavItem[]) => () => void;
32
- registerFooterItems: (items: FooterItem | FooterItem[]) => () => void;
33
- };
34
- //# sourceMappingURL=appHelpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"appHelpers.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/appHelpers.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAyC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAI9E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAuB,KAAK,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAClF,OAAO,EAA0B,KAAK,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,SAAS,EACT,WAAW,EACX,QAAQ,EACR,SAAS,EACT,QAAQ,GACT,EAAE,mBAAmB,2CA+BrB;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,WAKrB,MAAM,UAWhB;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB;8BAYtB,OAAO,GAAG,OAAO,EAAE;iCAWnB,UAAU,GAAG,UAAU,EAAE;EAcpC"}
@@ -1,35 +0,0 @@
1
- /**
2
- * SSO Cookie Utilities
3
- *
4
- * Provides a shared cookie mechanism for cross-domain SSO.
5
- * In local dev, all products share *.local.burdenoff.com so a cookie works.
6
- * In production, the Storage Access API handles cross-domain storage;
7
- * the cookie serves as a fast-path signal that a session exists.
8
- *
9
- * @module @burdenoff/fe-libs/shared/utils/authCookie
10
- */
11
- export interface ShellSsoCookieData {
12
- id: string;
13
- origin: string | null;
14
- }
15
- export declare function isSharedSsoCookieDomain(): boolean;
16
- export declare function isTrustedSsoOrigin(origin: string | null | undefined): boolean;
17
- export declare function setShellSsoCookies(profileId: string, origin?: string): void;
18
- export declare function readShellSsoCookie(): ShellSsoCookieData | null;
19
- export declare function clearShellSsoCookies(): void;
20
- /**
21
- * Set the SSO cookie with the active profile ID.
22
- * This allows other shells on the same (or shared) domain to detect
23
- * an existing session without waiting for the bridge iframe.
24
- */
25
- export declare function setSSoCookie(profileId: string): void;
26
- /**
27
- * Read the SSO cookie to get the active profile ID.
28
- * Returns null if no cookie exists.
29
- */
30
- export declare function getSSoCookie(): string | null;
31
- /**
32
- * Clear the SSO cookie (on logout).
33
- */
34
- export declare function clearSSoCookie(): void;
35
- //# sourceMappingURL=authCookie.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"authCookie.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/authCookie.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAOH,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AA4DD,wBAAgB,uBAAuB,IAAI,OAAO,CAQjD;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CA4B7E;AAED,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,SAAyB,GAAG,IAAI,CAU3F;AAED,wBAAgB,kBAAkB,IAAI,kBAAkB,GAAG,IAAI,CAS9D;AAED,wBAAgB,oBAAoB,IAAI,IAAI,CAQ3C;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAEpD;AAED;;;GAGG;AACH,wBAAgB,YAAY,IAAI,MAAM,GAAG,IAAI,CAI5C;AAED;;GAEG;AACH,wBAAgB,cAAc,IAAI,IAAI,CAErC"}
@@ -1,65 +0,0 @@
1
- /**
2
- * Auth error handling utilities for app shells.
3
- *
4
- * Provides reusable functions for detecting auth errors, refreshing tokens,
5
- * and redirecting to login when sessions expire.
6
- *
7
- * @module @burdenoff/fe-libs/shared/utils/authErrorHandling
8
- */
9
- /**
10
- * Clear all auth-related session storage for the active profile.
11
- * Used when a session expires or the user logs out.
12
- *
13
- * @param clearAuthStore - Optional callback to clear external auth stores (e.g., zustand)
14
- */
15
- export declare function clearAuthSessionStorage(clearAuthStore?: () => void): void;
16
- /**
17
- * Check if a network error is an authentication error (session expired/invalid).
18
- *
19
- * IMPORTANT: Only 401/UNAUTHENTICATED errors trigger login redirect.
20
- * 403/FORBIDDEN errors are authorization errors (user is logged in but lacks permission)
21
- * and should NOT redirect to login — the UI should show "Access Denied" instead.
22
- */
23
- export declare function isAuthNetworkError(error: Error): boolean;
24
- export interface GraphQLErrorLike {
25
- message?: string | null;
26
- extensions?: Record<string, unknown> | null;
27
- }
28
- /**
29
- * Check if a GraphQL error represents an expired or otherwise invalid session.
30
- *
31
- * IMPORTANT: Like network auth detection, this intentionally avoids treating
32
- * generic FORBIDDEN/403 authorization failures as login-expiry events.
33
- */
34
- export declare function isAuthGraphQLError(error: GraphQLErrorLike): boolean;
35
- /**
36
- * Check a GraphQL error array for any expired/invalid-session error.
37
- */
38
- export declare function hasAuthGraphQLErrors(errors: readonly GraphQLErrorLike[] | null | undefined): boolean;
39
- export interface TokenRefreshConfig {
40
- /** Base URL of the global gateway */
41
- globalBaseUrl: string;
42
- /** Whether a refresh is currently in progress (for deduplication) */
43
- isRefreshing: {
44
- current: boolean;
45
- };
46
- /** Promise of the in-flight refresh (for deduplication) */
47
- refreshPromise: {
48
- current: Promise<void> | null;
49
- };
50
- }
51
- /**
52
- * Attempt to refresh the access token using the stored refresh token.
53
- * Returns true if refresh succeeded, false if it failed.
54
- * Uses refs for deduplication so concurrent 401 errors trigger only one refresh.
55
- */
56
- export declare function attemptTokenRefresh(config: TokenRefreshConfig): Promise<boolean>;
57
- /**
58
- * Redirect to login page after session expiry.
59
- * Captures the current URL as returnTo for post-login redirect.
60
- *
61
- * @param clearAuthStore - Optional callback to clear external auth stores
62
- * @param loginPath - Override the login path (default: /auth/login)
63
- */
64
- export declare function redirectToLogin(clearAuthStore?: () => void, loginPath?: string): void;
65
- //# sourceMappingURL=authErrorHandling.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"authErrorHandling.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/authErrorHandling.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAOH;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,cAAc,CAAC,EAAE,MAAM,IAAI,GAAG,IAAI,CAoBzE;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAOxD;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;CAC7C;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,gBAAgB,GAAG,OAAO,CAiBnE;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,SAAS,gBAAgB,EAAE,GAAG,IAAI,GAAG,SAAS,GACrD,OAAO,CAET;AAED,MAAM,WAAW,kBAAkB;IACjC,qCAAqC;IACrC,aAAa,EAAE,MAAM,CAAC;IACtB,qEAAqE;IACrE,YAAY,EAAE;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,CAAC;IACnC,2DAA2D;IAC3D,cAAc,EAAE;QAAE,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAA;KAAE,CAAC;CACnD;AAED;;;;GAIG;AACH,wBAAsB,mBAAmB,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,CAAC,CAuFtF;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,cAAc,CAAC,EAAE,MAAM,IAAI,EAAE,SAAS,SAAgB,GAAG,IAAI,CAW5F"}
@@ -1,6 +0,0 @@
1
- import { ClassValue } from 'clsx';
2
- /**
3
- * Utility function for merging Tailwind CSS classes with conflict resolution
4
- */
5
- export declare function cn(...inputs: ClassValue[]): string;
6
- //# sourceMappingURL=cn.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/cn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;AAG7C;;GAEG;AACH,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,GAAG,MAAM,CAElD"}