@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,136 +0,0 @@
1
- /**
2
- * Versioned envelope shared by every postMessage between a UI plugin
3
- * (iframe-mounted or in-process) and its host shell.
4
- *
5
- * Both sides import these types from this module — there is no other
6
- * source of truth for the wire format. Bumping the envelope is a
7
- * deliberate breaking-change event; the major version embedded in
8
- * `ENVELOPE_VERSION` rides independently of the package's CalVer.
9
- */
10
- export declare const ENVELOPE_VERSION: 1;
11
- export type EnvelopeVersion = typeof ENVELOPE_VERSION;
12
- /** Operations the host sends to the plugin. */
13
- export type HostOp = 'host:init' | 'host:theme-change' | 'host:locale-change' | 'host:feature-flag' | 'host:context-change' | 'host:event' | 'host:rpc-response' | 'host:rpc-progress' | 'host:dispose';
14
- /** Operations the plugin sends to the host. */
15
- export type PluginOp = 'plugin:ready' | 'plugin:rpc-request' | 'plugin:event-emit' | 'plugin:set-badge' | 'plugin:set-title' | 'plugin:resize-request' | 'plugin:error';
16
- export interface HostEnvelope<P = unknown> {
17
- v: EnvelopeVersion;
18
- source: 'host';
19
- kind: HostOp;
20
- /** Set when this envelope answers (or progresses) a prior plugin RPC. */
21
- requestId?: string;
22
- payload: P;
23
- }
24
- export interface PluginEnvelope<P = unknown> {
25
- v: EnvelopeVersion;
26
- source: 'plugin';
27
- kind: PluginOp;
28
- /** Set on rpc-request / set on plugin:error when caused by a specific RPC. */
29
- requestId?: string;
30
- payload: P;
31
- }
32
- export type Envelope<P = unknown> = HostEnvelope<P> | PluginEnvelope<P>;
33
- /**
34
- * Type guard that an unknown postMessage payload looks like a valid v1
35
- * envelope. Origin and `event.source` checks are *not* performed here —
36
- * the caller must do those *before* trusting the payload, because a
37
- * well-formed envelope from a hostile origin is still hostile.
38
- */
39
- export declare function isEnvelope(value: unknown): value is Envelope;
40
- /** Convenience: narrow to a HostEnvelope (caller already trusts the origin). */
41
- export declare function isHostEnvelope(value: unknown): value is HostEnvelope;
42
- /** Convenience: narrow to a PluginEnvelope (caller already trusts the origin). */
43
- export declare function isPluginEnvelope(value: unknown): value is PluginEnvelope;
44
- /** Sent in reply to `plugin:ready`. The plugin blocks render until it arrives. */
45
- export interface HostInitPayload {
46
- /** Scoped iframe token. Bounded by manifest capabilities. */
47
- iframeToken: string;
48
- tunnelUrl: string;
49
- mountPoint: string;
50
- context: Record<string, unknown>;
51
- agentId: string;
52
- profile: string;
53
- theme: {
54
- colorMode: 'light' | 'dark';
55
- tokens: Record<string, string>;
56
- };
57
- locale: string;
58
- capabilities: {
59
- restPaths: string[];
60
- wsTopics: string[];
61
- rpcMethods: string[];
62
- };
63
- featureFlags: Record<string, boolean>;
64
- sdkVersion: string;
65
- hostVersion: string;
66
- }
67
- export interface HostThemeChangePayload {
68
- colorMode: 'light' | 'dark';
69
- tokens: Record<string, string>;
70
- }
71
- export interface HostLocaleChangePayload {
72
- locale: string;
73
- }
74
- export interface HostFeatureFlagPayload {
75
- flag: string;
76
- value: boolean;
77
- }
78
- export interface HostContextChangePayload {
79
- context: Record<string, unknown>;
80
- }
81
- export interface HostEventPayload<T = unknown> {
82
- name: string;
83
- data: T;
84
- }
85
- export interface HostRpcResponsePayload<T = unknown> {
86
- ok: boolean;
87
- result?: T;
88
- error?: {
89
- code: string;
90
- message: string;
91
- data?: unknown;
92
- };
93
- }
94
- export interface HostRpcProgressPayload<T = unknown> {
95
- progress: T;
96
- }
97
- export type HostDisposePayload = Record<string, never>;
98
- export interface PluginReadyPayload {
99
- pluginId: string;
100
- pluginVersion: string;
101
- sdkVersion: string;
102
- declaredCapabilities: {
103
- restPaths: string[];
104
- wsTopics: string[];
105
- rpcMethods: string[];
106
- };
107
- }
108
- export interface PluginRpcRequestPayload {
109
- method: string;
110
- args: unknown;
111
- /** Caller hint that the RPC may stream progress before terminal response. */
112
- streaming?: boolean;
113
- }
114
- export interface PluginEventEmitPayload<T = unknown> {
115
- name: string;
116
- data: T;
117
- }
118
- export interface PluginSetBadgePayload {
119
- value: string | number | null;
120
- }
121
- export interface PluginSetTitlePayload {
122
- value: string;
123
- }
124
- export interface PluginResizeRequestPayload {
125
- /** Suggested iframe height in pixels. Host may ignore. */
126
- height?: number;
127
- width?: number;
128
- }
129
- export interface PluginErrorPayload {
130
- code: string;
131
- message: string;
132
- stack?: string;
133
- /** Optional reference to a specific in-flight requestId. */
134
- requestId?: string;
135
- }
136
- //# sourceMappingURL=envelope.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"envelope.d.ts","sourceRoot":"","sources":["../../../../../src/shared/plugins/iframe-mount/protocol/envelope.ts"],"names":[],"mappings":"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"}
@@ -1,3 +0,0 @@
1
- export * from './envelope.js';
2
- export * from './contribution.js';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/shared/plugins/iframe-mount/protocol/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC"}
@@ -1,3 +0,0 @@
1
- import { PluginCapabilities } from './protocol/index.js';
2
- export declare function deriveSandbox(capabilities: PluginCapabilities | undefined | null): string;
3
- //# sourceMappingURL=sandbox.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sandbox.d.ts","sourceRoot":"","sources":["../../../../src/shared/plugins/iframe-mount/sandbox.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAuC9D,wBAAgB,aAAa,CAAC,YAAY,EAAE,kBAAkB,GAAG,SAAS,GAAG,IAAI,GAAG,MAAM,CAmBzF"}
@@ -1,64 +0,0 @@
1
- import { PluginCapabilities, PluginContribution, PluginRuntime } from './protocol/index.js';
2
- /**
3
- * A "tunnel" the host page can query for contributions and from which
4
- * iframe-mounted plugins are served. For VibeControls this is the
5
- * vibecontrols-agent's Cloudflare tunnel + the current profile name;
6
- * other products map to whatever serves their plugins.
7
- */
8
- export interface MountTunnel {
9
- /** Base URL — used for both fetch + iframe src. */
10
- tunnelUrl: string;
11
- /** Profile or scope segment the agent uses to namespace plugins. */
12
- profile: string;
13
- /** Optional human-readable label for picker UIs / errors. */
14
- label?: string;
15
- /**
16
- * Factory that mints a fresh iframe token scoped to a contribution's
17
- * capability `restPaths`. Called once on first mount + on each
18
- * scheduled refresh. The host supplies this so the SDK stays
19
- * transport-agnostic.
20
- */
21
- mintIframeToken: (input: {
22
- pathPrefixes: string[];
23
- }) => Promise<{
24
- token: string;
25
- expiresAt: string;
26
- }>;
27
- }
28
- /**
29
- * What `usePluginContributions` returns per-contribution after
30
- * fetching from one or more tunnels. The `tunnel` is the source the
31
- * contribution came from; multiple tunnels' results are unioned (last
32
- * wins on id collisions).
33
- */
34
- export interface DiscoveredContribution {
35
- pluginKey: string;
36
- pluginPackageName?: string;
37
- contribution: PluginContribution;
38
- capabilities: PluginCapabilities;
39
- /**
40
- * Relative URL — the host concatenates with `tunnel.tunnelUrl` to
41
- * mount the iframe. Returned by the agent as e.g. `/ui/<pluginKey>`.
42
- */
43
- url: string;
44
- tunnel: MountTunnel;
45
- }
46
- export type RuntimePreference = PluginRuntime | 'auto';
47
- export interface InProcessPluginEntry {
48
- /**
49
- * Plugin package key (matches `DiscoveredContribution.pluginKey`).
50
- * Required to disambiguate when two different plugins contribute
51
- * the same local `id` at the same `mountPoint` — without this, the
52
- * later registration silently overwrites the earlier one.
53
- */
54
- pluginKey: string;
55
- /** Matches `contribution.id`. */
56
- id: string;
57
- /** Matches `contribution.mountPoint`. */
58
- mountPoint: string;
59
- /** React component to render. Receives the same context object the iframe would. */
60
- Component: React.ComponentType<{
61
- context: Record<string, unknown>;
62
- }>;
63
- }
64
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/shared/plugins/iframe-mount/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEjG;;;;;GAKG;AACH,MAAM,WAAW,WAAW;IAC1B,mDAAmD;IACnD,SAAS,EAAE,MAAM,CAAC;IAClB,oEAAoE;IACpE,OAAO,EAAE,MAAM,CAAC;IAChB,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;OAKG;IACH,eAAe,EAAE,CAAC,KAAK,EAAE;QAAE,YAAY,EAAE,MAAM,EAAE,CAAA;KAAE,KAAK,OAAO,CAAC;QAC9D,KAAK,EAAE,MAAM,CAAC;QACd,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC,CAAC;CACJ;AAED;;;;;GAKG;AACH,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,EAAE,kBAAkB,CAAC;IACjC,YAAY,EAAE,kBAAkB,CAAC;IACjC;;;OAGG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,WAAW,CAAC;CACrB;AAED,MAAM,MAAM,iBAAiB,GAAG,aAAa,GAAG,MAAM,CAAC;AAEvD,MAAM,WAAW,oBAAoB;IACnC;;;;;OAKG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,iCAAiC;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,yCAAyC;IACzC,UAAU,EAAE,MAAM,CAAC;IACnB,oFAAoF;IACpF,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,CAAC,CAAC;CACtE"}
@@ -1,31 +0,0 @@
1
- import { DiscoveredContribution, MountTunnel } from './types';
2
- export interface UsePluginContributionsOptions {
3
- /**
4
- * Filter to a single mount point. When omitted, the hook returns the
5
- * union of every contribution across every mount point so the host
6
- * can seed multiple tab strips from one request.
7
- */
8
- mountPoint?: string;
9
- /**
10
- * Polling cadence. Defaults to 60s. Set to `false` to disable; the
11
- * hook will only refetch on tunnel reconnect / focus.
12
- */
13
- refetchIntervalMs?: number | false;
14
- enabled?: boolean;
15
- }
16
- /**
17
- * Fetch plugin contributions from every supplied tunnel. Results are
18
- * unioned; if two tunnels report contributions with the same `id`, the
19
- * one whose tunnel.label is lexicographically smaller wins (stable,
20
- * deterministic, debuggable). Authors should pick unique ids anyway.
21
- */
22
- export declare function usePluginContributions(tunnels: MountTunnel[], opts?: UsePluginContributionsOptions): {
23
- data: DiscoveredContribution[];
24
- isFetching: boolean;
25
- errors: Array<{
26
- tunnel: MountTunnel;
27
- error: unknown;
28
- }>;
29
- refetch: () => void;
30
- };
31
- //# sourceMappingURL=useFetchContributions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useFetchContributions.d.ts","sourceRoot":"","sources":["../../../../src/shared/plugins/iframe-mount/useFetchContributions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAwCnE,MAAM,WAAW,6BAA6B;IAC5C;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,WAAW,EAAE,EACtB,IAAI,GAAE,6BAAkC,GACvC;IACD,IAAI,EAAE,sBAAsB,EAAE,CAAC;IAC/B,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,KAAK,CAAC;QAAE,MAAM,EAAE,WAAW,CAAC;QAAC,KAAK,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IACvD,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAsEA"}
@@ -1,41 +0,0 @@
1
- /**
2
- * UI Plugin Architecture — public API.
3
- *
4
- * This module provides the core infrastructure for building extensible
5
- * frontend applications with a VSCode/Backstage-inspired plugin system.
6
- *
7
- * @module @burdenoff/fe-libs/shared/plugins
8
- *
9
- * @example
10
- * ```tsx
11
- * // In an app shell:
12
- * import { PluginRuntimeProvider, type UIPlugin } from '@burdenoff/fe-libs/shared/plugins';
13
- *
14
- * // In a plugin/MFE:
15
- * import type { UIPlugin, PluginContext } from '@burdenoff/fe-libs/shared/plugins';
16
- *
17
- * export const myPlugin: UIPlugin = {
18
- * manifest: { id: 'my-plugin', name: 'My Plugin', version: '1.0.0' },
19
- * activate(ctx) {
20
- * ctx.nav.register({ id: 'mp', pluginId: 'my-plugin', label: 'My Plugin', path: '/my-plugin' });
21
- * },
22
- * };
23
- * ```
24
- */
25
- export type { UIPlugin, UIPluginManifest, PluginContributions, PluginContext, ActivationEvent, ExtensionPointDeclaration, ContributionBase, NavContribution, FooterContribution, CommandContribution, RouteContribution, PanelContribution, PanelProps, StatusBarContribution, SettingsContribution, WidgetContribution, ToolbarContribution, ContextMenuContribution, ContextMenuItem, RegistryAPI, PluginStatus, ToastType, } from './types';
26
- export { DisposableCollection, type Disposable } from './disposable';
27
- export { EventBus, usePluginEvent, type CoreEventMap, type VibeControlsEventMap, type EventMiddleware, } from './event-bus';
28
- export { PluginRuntime, type PluginRuntimeConfig } from './runtime';
29
- export { createPluginContext, type ShellServices, type RegistryRefs, type PluginActiveContext, type PluginAuthSnapshot, } from './context';
30
- export { PluginRuntimeProvider, usePluginRuntime, type PluginRuntimeProviderProps, type PluginRuntimeObservedState, } from './PluginRuntimeProvider';
31
- export { createContributionRegistry, type RegistryItem, type ContributionRegistryStore, } from './registries/createContributionRegistry';
32
- export { useCommandRegistryStore } from './registries/useCommandRegistry';
33
- export { useRouteRegistryStore } from './registries/useRouteRegistry';
34
- export { usePanelRegistryStore } from './registries/usePanelRegistry';
35
- export { useStatusBarRegistryStore } from './registries/useStatusBarRegistry';
36
- export { useSettingsRegistryStore } from './registries/useSettingsRegistry';
37
- export { useWidgetRegistryStore } from './registries/useWidgetRegistry';
38
- export { useToolbarRegistryStore } from './registries/useToolbarRegistry';
39
- export { useContextMenuRegistryStore } from './registries/useContextMenuRegistry';
40
- export * from './iframe-mount';
41
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/plugins/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAGH,YAAY,EACV,QAAQ,EACR,gBAAgB,EAChB,mBAAmB,EACnB,aAAa,EACb,eAAe,EACf,yBAAyB,EACzB,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,UAAU,EACV,qBAAqB,EACrB,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,EACvB,eAAe,EACf,WAAW,EACX,YAAY,EACZ,SAAS,GACV,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,oBAAoB,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAGrE,OAAO,EACL,QAAQ,EACR,cAAc,EACd,KAAK,YAAY,EACjB,KAAK,oBAAoB,EACzB,KAAK,eAAe,GACrB,MAAM,aAAa,CAAC;AAGrB,OAAO,EAAE,aAAa,EAAE,KAAK,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAGpE,OAAO,EACL,mBAAmB,EACnB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,GACxB,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,GAChC,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EACL,0BAA0B,EAC1B,KAAK,YAAY,EACjB,KAAK,yBAAyB,GAC/B,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAKlF,cAAc,gBAAgB,CAAC"}
@@ -1,68 +0,0 @@
1
- /**
2
- * Panel state management store.
3
- *
4
- * Tracks visibility, size, and active tab for each panel area.
5
- *
6
- * @module @burdenoff/fe-libs/shared/plugins/panels/usePanelManagerStore
7
- */
8
- export interface PanelState {
9
- id: string;
10
- position: 'bottom' | 'left' | 'right';
11
- visible: boolean;
12
- size: number;
13
- minimized: boolean;
14
- maximized: boolean;
15
- }
16
- interface PanelManagerStore {
17
- panels: Record<string, PanelState>;
18
- /** Active panel ID per position */
19
- activePanels: Record<string, string | undefined>;
20
- initPanel(id: string, position: string, defaultSize: number): void;
21
- openPanel(id: string): void;
22
- closePanel(id: string): void;
23
- togglePanel(id: string): void;
24
- resizePanel(id: string, size: number): void;
25
- minimizePanel(id: string): void;
26
- maximizePanel(id: string): void;
27
- restorePanel(id: string): void;
28
- setActivePanel(position: string, panelId: string): void;
29
- }
30
- export declare const usePanelManagerStore: import('zustand').UseBoundStore<Omit<import('zustand').StoreApi<PanelManagerStore>, "setState" | "persist"> & {
31
- setState(partial: PanelManagerStore | Partial<PanelManagerStore> | ((state: PanelManagerStore) => PanelManagerStore | Partial<PanelManagerStore>), replace?: false | undefined): unknown;
32
- setState(state: PanelManagerStore | ((state: PanelManagerStore) => PanelManagerStore), replace: true): unknown;
33
- persist: {
34
- setOptions: (options: Partial<import('zustand/middleware').PersistOptions<PanelManagerStore, {
35
- panels: {
36
- [k: string]: {
37
- visible: boolean;
38
- minimized: boolean;
39
- maximized: boolean;
40
- id: string;
41
- position: "bottom" | "left" | "right";
42
- size: number;
43
- };
44
- };
45
- activePanels: {};
46
- }, unknown>>) => void;
47
- clearStorage: () => void;
48
- rehydrate: () => Promise<void> | void;
49
- hasHydrated: () => boolean;
50
- onHydrate: (fn: (state: PanelManagerStore) => void) => () => void;
51
- onFinishHydration: (fn: (state: PanelManagerStore) => void) => () => void;
52
- getOptions: () => Partial<import('zustand/middleware').PersistOptions<PanelManagerStore, {
53
- panels: {
54
- [k: string]: {
55
- visible: boolean;
56
- minimized: boolean;
57
- maximized: boolean;
58
- id: string;
59
- position: "bottom" | "left" | "right";
60
- size: number;
61
- };
62
- };
63
- activePanels: {};
64
- }, unknown>>;
65
- };
66
- }>;
67
- export {};
68
- //# sourceMappingURL=usePanelManagerStore.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"usePanelManagerStore.d.ts","sourceRoot":"","sources":["../../../../src/shared/plugins/panels/usePanelManagerStore.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,UAAU,iBAAiB;IACzB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACnC,mCAAmC;IACnC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;IAEjD,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IACnE,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5C,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACzD;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;wBAxB3B,MAAM;8BACA,QAAQ,GAAG,MAAM,GAAG,OAAO;0BAE/B,MAAM;;;;;;;;;;;;;;;;wBAHR,MAAM;8BACA,QAAQ,GAAG,MAAM,GAAG,OAAO;0BAE/B,MAAM;;;;;;EA4Lb,CAAC"}
@@ -1,16 +0,0 @@
1
- import { Disposable } from '../disposable';
2
- export interface RegistryItem {
3
- id: string;
4
- pluginId: string;
5
- order?: number;
6
- visible?: boolean;
7
- }
8
- export interface ContributionRegistryStore<T extends RegistryItem> {
9
- items: T[];
10
- register: (item: T) => Disposable;
11
- unregister: (id: string) => void;
12
- clear: () => void;
13
- getByPlugin: (pluginId: string) => T[];
14
- }
15
- export declare function createContributionRegistry<T extends RegistryItem>(): import('zustand').UseBoundStore<import('zustand').StoreApi<ContributionRegistryStore<T>>>;
16
- //# sourceMappingURL=createContributionRegistry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createContributionRegistry.d.ts","sourceRoot":"","sources":["../../../../src/shared/plugins/registries/createContributionRegistry.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,yBAAyB,CAAC,CAAC,SAAS,YAAY;IAC/D,KAAK,EAAE,CAAC,EAAE,CAAC;IACX,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,UAAU,CAAC;IAClC,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,WAAW,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,CAAC,EAAE,CAAC;CACxC;AAED,wBAAgB,0BAA0B,CAAC,CAAC,SAAS,YAAY,+FA2BhE"}
@@ -1,15 +0,0 @@
1
- /**
2
- * Plugin contribution registries.
3
- *
4
- * @module @burdenoff/fe-libs/shared/plugins/registries
5
- */
6
- export { createContributionRegistry, type RegistryItem, type ContributionRegistryStore, } from './createContributionRegistry';
7
- export { useCommandRegistryStore } from './useCommandRegistry';
8
- export { useRouteRegistryStore } from './useRouteRegistry';
9
- export { usePanelRegistryStore } from './usePanelRegistry';
10
- export { useStatusBarRegistryStore } from './useStatusBarRegistry';
11
- export { useSettingsRegistryStore } from './useSettingsRegistry';
12
- export { useWidgetRegistryStore } from './useWidgetRegistry';
13
- export { useToolbarRegistryStore } from './useToolbarRegistry';
14
- export { useContextMenuRegistryStore } from './useContextMenuRegistry';
15
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/shared/plugins/registries/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,0BAA0B,EAC1B,KAAK,YAAY,EACjB,KAAK,yBAAyB,GAC/B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC"}
@@ -1,3 +0,0 @@
1
- import { CommandContribution } from '../types';
2
- export declare const useCommandRegistryStore: import('zustand').UseBoundStore<import('zustand').StoreApi<import('./createContributionRegistry').ContributionRegistryStore<CommandContribution>>>;
3
- //# sourceMappingURL=useCommandRegistry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCommandRegistry.d.ts","sourceRoot":"","sources":["../../../../src/shared/plugins/registries/useCommandRegistry.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,eAAO,MAAM,uBAAuB,oJAAoD,CAAC"}
@@ -1,3 +0,0 @@
1
- import { ContextMenuContribution } from '../types';
2
- export declare const useContextMenuRegistryStore: import('zustand').UseBoundStore<import('zustand').StoreApi<import('./createContributionRegistry').ContributionRegistryStore<ContextMenuContribution>>>;
3
- //# sourceMappingURL=useContextMenuRegistry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useContextMenuRegistry.d.ts","sourceRoot":"","sources":["../../../../src/shared/plugins/registries/useContextMenuRegistry.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAExD,eAAO,MAAM,2BAA2B,wJAAwD,CAAC"}
@@ -1,3 +0,0 @@
1
- import { PanelContribution } from '../types';
2
- export declare const usePanelRegistryStore: import('zustand').UseBoundStore<import('zustand').StoreApi<import('./createContributionRegistry').ContributionRegistryStore<PanelContribution>>>;
3
- //# sourceMappingURL=usePanelRegistry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"usePanelRegistry.d.ts","sourceRoot":"","sources":["../../../../src/shared/plugins/registries/usePanelRegistry.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,eAAO,MAAM,qBAAqB,kJAAkD,CAAC"}
@@ -1,3 +0,0 @@
1
- import { RouteContribution } from '../types';
2
- export declare const useRouteRegistryStore: import('zustand').UseBoundStore<import('zustand').StoreApi<import('./createContributionRegistry').ContributionRegistryStore<RouteContribution>>>;
3
- //# sourceMappingURL=useRouteRegistry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useRouteRegistry.d.ts","sourceRoot":"","sources":["../../../../src/shared/plugins/registries/useRouteRegistry.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,eAAO,MAAM,qBAAqB,kJAAkD,CAAC"}
@@ -1,3 +0,0 @@
1
- import { SettingsContribution } from '../types';
2
- export declare const useSettingsRegistryStore: import('zustand').UseBoundStore<import('zustand').StoreApi<import('./createContributionRegistry').ContributionRegistryStore<SettingsContribution>>>;
3
- //# sourceMappingURL=useSettingsRegistry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useSettingsRegistry.d.ts","sourceRoot":"","sources":["../../../../src/shared/plugins/registries/useSettingsRegistry.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAErD,eAAO,MAAM,wBAAwB,qJAAqD,CAAC"}
@@ -1,3 +0,0 @@
1
- import { StatusBarContribution } from '../types';
2
- export declare const useStatusBarRegistryStore: import('zustand').UseBoundStore<import('zustand').StoreApi<import('./createContributionRegistry').ContributionRegistryStore<StatusBarContribution>>>;
3
- //# sourceMappingURL=useStatusBarRegistry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useStatusBarRegistry.d.ts","sourceRoot":"","sources":["../../../../src/shared/plugins/registries/useStatusBarRegistry.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD,eAAO,MAAM,yBAAyB,sJAAsD,CAAC"}
@@ -1,3 +0,0 @@
1
- import { ToolbarContribution } from '../types';
2
- export declare const useToolbarRegistryStore: import('zustand').UseBoundStore<import('zustand').StoreApi<import('./createContributionRegistry').ContributionRegistryStore<ToolbarContribution>>>;
3
- //# sourceMappingURL=useToolbarRegistry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useToolbarRegistry.d.ts","sourceRoot":"","sources":["../../../../src/shared/plugins/registries/useToolbarRegistry.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEpD,eAAO,MAAM,uBAAuB,oJAAoD,CAAC"}
@@ -1,3 +0,0 @@
1
- import { WidgetContribution } from '../types';
2
- export declare const useWidgetRegistryStore: import('zustand').UseBoundStore<import('zustand').StoreApi<import('./createContributionRegistry').ContributionRegistryStore<WidgetContribution>>>;
3
- //# sourceMappingURL=useWidgetRegistry.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useWidgetRegistry.d.ts","sourceRoot":"","sources":["../../../../src/shared/plugins/registries/useWidgetRegistry.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,eAAO,MAAM,sBAAsB,mJAAmD,CAAC"}
@@ -1,68 +0,0 @@
1
- import { EventBus, CoreEventMap } from './event-bus';
2
- import { RegistryRefs, ShellServices } from './context';
3
- import { UIPlugin, PluginStatus } from './types';
4
- export interface PluginRuntimeConfig {
5
- registries: RegistryRefs;
6
- shell: ShellServices;
7
- }
8
- export declare class PluginRuntime {
9
- private plugins;
10
- readonly eventBus: EventBus<CoreEventMap>;
11
- private config;
12
- private currentPath?;
13
- constructor(config: PluginRuntimeConfig);
14
- /**
15
- * Load a plugin into the runtime. Activation depends on its activation events.
16
- */
17
- loadPlugin(plugin: UIPlugin): Promise<void>;
18
- /**
19
- * Load multiple plugins in dependency order.
20
- */
21
- loadPlugins(plugins: UIPlugin[]): Promise<void>;
22
- /**
23
- * Record route changes so onRoute activation events can activate plugins.
24
- */
25
- handleRouteChange(path: string): void;
26
- /**
27
- * Activate any pending plugins waiting on a command.
28
- */
29
- handleCommandInvocation(commandId: string): Promise<void>;
30
- /**
31
- * Deactivate and unload a plugin, cleaning up all its contributions.
32
- */
33
- unloadPlugin(pluginId: string): Promise<void>;
34
- /**
35
- * Unload all plugins.
36
- */
37
- unloadAll(): Promise<void>;
38
- /**
39
- * Get a loaded plugin's status.
40
- */
41
- getPluginStatus(pluginId: string): PluginStatus | undefined;
42
- /**
43
- * Get all loaded plugin IDs.
44
- */
45
- getLoadedPlugins(): string[];
46
- /**
47
- * Check if a plugin is loaded and active.
48
- */
49
- isActive(pluginId: string): boolean;
50
- /**
51
- * Register static contributions declared in the plugin manifest.
52
- */
53
- private processStaticContributions;
54
- /**
55
- * Topological sort of plugins by their dependency graph.
56
- * Plugins with no dependencies come first.
57
- */
58
- private topologicalSort;
59
- private registerPlugin;
60
- private activateIfNeeded;
61
- private activatePlugin;
62
- private registerDeferredActivation;
63
- private getActivationEvents;
64
- private matchesCurrentRoute;
65
- private routePatternMatches;
66
- private wrapStaticCommandContribution;
67
- }
68
- //# sourceMappingURL=runtime.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../src/shared/plugins/runtime.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,QAAQ,EAAE,KAAK,YAAY,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAuB,KAAK,YAAY,EAAE,KAAK,aAAa,EAAE,MAAM,WAAW,CAAC;AAEvF,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAiB,MAAM,SAAS,CAAC;AASrE,MAAM,WAAW,mBAAmB;IAClC,UAAU,EAAE,YAAY,CAAC;IACzB,KAAK,EAAE,aAAa,CAAC;CACtB;AAED,qBAAa,aAAa;IACxB,OAAO,CAAC,OAAO,CAAkC;IACjD,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;IAC1C,OAAO,CAAC,MAAM,CAAsB;IACpC,OAAO,CAAC,WAAW,CAAC,CAAS;gBAEjB,MAAM,EAAE,mBAAmB;IAKvC;;OAEG;IACG,UAAU,CAAC,MAAM,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC;IAKjD;;OAEG;IACG,WAAW,CAAC,OAAO,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAWrD;;OAEG;IACH,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAcrC;;OAEG;IACG,uBAAuB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAiB/D;;OAEG;IACG,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAkBnD;;OAEG;IACG,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;IAShC;;OAEG;IACH,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS;IAI3D;;OAEG;IACH,gBAAgB,IAAI,MAAM,EAAE;IAI5B;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO;IAQnC;;OAEG;IACH,OAAO,CAAC,0BAA0B;IAoDlC;;;OAGG;IACH,OAAO,CAAC,eAAe;IA8BvB,OAAO,CAAC,cAAc;YAqCR,gBAAgB;YAgBhB,cAAc;IA2B5B,OAAO,CAAC,0BAA0B;IAclC,OAAO,CAAC,mBAAmB;IAO3B,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,6BAA6B;CAmCtC"}