@burdenoff/fe-libs 2026.528.10 → 2026.528.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/button/Button.d.ts +14 -0
- package/dist/button/Button.d.ts.map +1 -0
- package/dist/button/index.d.ts +3 -0
- package/dist/button/index.d.ts.map +1 -0
- package/dist/button.d.ts +2 -0
- package/dist/chrome/AccountSwitcher.d.ts +51 -0
- package/dist/chrome/AccountSwitcher.d.ts.map +1 -0
- package/dist/chrome/AppShellLayout.d.ts +73 -0
- package/dist/chrome/AppShellLayout.d.ts.map +1 -0
- package/dist/chrome/AutoBreadcrumbs.d.ts +22 -0
- package/dist/chrome/AutoBreadcrumbs.d.ts.map +1 -0
- package/dist/chrome/Breadcrumb.d.ts +47 -0
- package/dist/chrome/Breadcrumb.d.ts.map +1 -0
- package/dist/chrome/Breadcrumbs.d.ts +18 -0
- package/dist/chrome/Breadcrumbs.d.ts.map +1 -0
- package/dist/chrome/CommandPalette.d.ts +64 -0
- package/dist/chrome/CommandPalette.d.ts.map +1 -0
- package/dist/chrome/ContextSwitcher.d.ts +18 -0
- package/dist/chrome/ContextSwitcher.d.ts.map +1 -0
- package/dist/chrome/DynamicFooter.d.ts +21 -0
- package/dist/chrome/DynamicFooter.d.ts.map +1 -0
- package/dist/chrome/Footer.d.ts +128 -0
- package/dist/chrome/Footer.d.ts.map +1 -0
- package/dist/chrome/FooterBar.d.ts +79 -0
- package/dist/chrome/FooterBar.d.ts.map +1 -0
- package/dist/chrome/GeographySwitcher.d.ts +22 -0
- package/dist/chrome/GeographySwitcher.d.ts.map +1 -0
- package/dist/chrome/GlobalSearch.d.ts +49 -0
- package/dist/chrome/GlobalSearch.d.ts.map +1 -0
- package/dist/chrome/HeaderBar.d.ts +108 -0
- package/dist/chrome/HeaderBar.d.ts.map +1 -0
- package/dist/chrome/LanguagePickerSheet.d.ts +22 -0
- package/dist/chrome/LanguagePickerSheet.d.ts.map +1 -0
- package/dist/chrome/LanguageSwitcher.d.ts +23 -0
- package/dist/chrome/LanguageSwitcher.d.ts.map +1 -0
- package/dist/chrome/NavLink.d.ts +64 -0
- package/dist/chrome/NavLink.d.ts.map +1 -0
- package/dist/chrome/NotificationCenter.d.ts +16 -0
- package/dist/chrome/NotificationCenter.d.ts.map +1 -0
- package/dist/chrome/PageHeader.d.ts +17 -0
- package/dist/chrome/PageHeader.d.ts.map +1 -0
- package/dist/chrome/PanelContainer.d.ts +8 -0
- package/dist/chrome/PanelContainer.d.ts.map +1 -0
- package/dist/chrome/PanelTabs.d.ts +19 -0
- package/dist/chrome/PanelTabs.d.ts.map +1 -0
- package/dist/chrome/PluginContextMenuTarget.d.ts +8 -0
- package/dist/chrome/PluginContextMenuTarget.d.ts.map +1 -0
- package/dist/chrome/PluginFooterStrip.d.ts +3 -0
- package/dist/chrome/PluginFooterStrip.d.ts.map +1 -0
- package/dist/chrome/PluginRoutes.d.ts +9 -0
- package/dist/chrome/PluginRoutes.d.ts.map +1 -0
- package/dist/chrome/PluginSettingsPage.d.ts +3 -0
- package/dist/chrome/PluginSettingsPage.d.ts.map +1 -0
- package/dist/chrome/PluginToolbar.d.ts +9 -0
- package/dist/chrome/PluginToolbar.d.ts.map +1 -0
- package/dist/chrome/PluginWidgetGrid.d.ts +7 -0
- package/dist/chrome/PluginWidgetGrid.d.ts.map +1 -0
- package/dist/chrome/ProductPickerSheet.d.ts +24 -0
- package/dist/chrome/ProductPickerSheet.d.ts.map +1 -0
- package/dist/chrome/ProductSideNav.d.ts +22 -0
- package/dist/chrome/ProductSideNav.d.ts.map +1 -0
- package/dist/chrome/ProductSwitcher.d.ts +31 -0
- package/dist/chrome/ProductSwitcher.d.ts.map +1 -0
- package/dist/chrome/ProfileSwitcher.d.ts +49 -0
- package/dist/chrome/ProfileSwitcher.d.ts.map +1 -0
- package/dist/chrome/ShortcutHelpDialog.d.ts +33 -0
- package/dist/chrome/ShortcutHelpDialog.d.ts.map +1 -0
- package/dist/chrome/SideNavigation.d.ts +41 -0
- package/dist/chrome/SideNavigation.d.ts.map +1 -0
- package/dist/chrome/Sidebar.d.ts +108 -0
- package/dist/chrome/Sidebar.d.ts.map +1 -0
- package/dist/chrome/StatusBar.d.ts +3 -0
- package/dist/chrome/StatusBar.d.ts.map +1 -0
- package/dist/chrome/Tabs.d.ts +74 -0
- package/dist/chrome/Tabs.d.ts.map +1 -0
- package/dist/chrome/contextSwitcher/EmptyState.d.ts +6 -0
- package/dist/chrome/contextSwitcher/EmptyState.d.ts.map +1 -0
- package/dist/chrome/contextSwitcher/OrganizationList.d.ts +12 -0
- package/dist/chrome/contextSwitcher/OrganizationList.d.ts.map +1 -0
- package/dist/chrome/contextSwitcher/ProjectList.d.ts +12 -0
- package/dist/chrome/contextSwitcher/ProjectList.d.ts.map +1 -0
- package/dist/chrome/contextSwitcher/SearchInput.d.ts +8 -0
- package/dist/chrome/contextSwitcher/SearchInput.d.ts.map +1 -0
- package/dist/chrome/contextSwitcher/TabButton.d.ts +7 -0
- package/dist/chrome/contextSwitcher/TabButton.d.ts.map +1 -0
- package/dist/chrome/contextSwitcher/TriggerButton.d.ts +11 -0
- package/dist/chrome/contextSwitcher/TriggerButton.d.ts.map +1 -0
- package/dist/chrome/contextSwitcher/WorkspaceList.d.ts +12 -0
- package/dist/chrome/contextSwitcher/WorkspaceList.d.ts.map +1 -0
- package/dist/chrome/contextSwitcher/icons.d.ts +17 -0
- package/dist/chrome/contextSwitcher/icons.d.ts.map +1 -0
- package/dist/chrome/contextSwitcher/types.d.ts +19 -0
- package/dist/chrome/contextSwitcher/types.d.ts.map +1 -0
- package/dist/chrome/contextSwitcher/useIsMobile.d.ts +2 -0
- package/dist/chrome/contextSwitcher/useIsMobile.d.ts.map +1 -0
- package/dist/chrome/globalSearch/AdvancedFiltersPanel.d.ts +7 -0
- package/dist/chrome/globalSearch/AdvancedFiltersPanel.d.ts.map +1 -0
- package/dist/chrome/globalSearch/CategoryTabs.d.ts +9 -0
- package/dist/chrome/globalSearch/CategoryTabs.d.ts.map +1 -0
- package/dist/chrome/globalSearch/ResultsList.d.ts +14 -0
- package/dist/chrome/globalSearch/ResultsList.d.ts.map +1 -0
- package/dist/chrome/globalSearch/SearchInput.d.ts +9 -0
- package/dist/chrome/globalSearch/SearchInput.d.ts.map +1 -0
- package/dist/chrome/globalSearch/SearchModeBar.d.ts +10 -0
- package/dist/chrome/globalSearch/SearchModeBar.d.ts.map +1 -0
- package/dist/chrome/globalSearch/useAdvancedFilters.d.ts +39 -0
- package/dist/chrome/globalSearch/useAdvancedFilters.d.ts.map +1 -0
- package/dist/chrome/globalSearch/utils.d.ts +6 -0
- package/dist/chrome/globalSearch/utils.d.ts.map +1 -0
- package/dist/chrome/index.d.ts +110 -0
- package/dist/chrome/index.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/BellButton.d.ts +9 -0
- package/dist/chrome/notificationCenter/BellButton.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/NotificationCardItem.d.ts +11 -0
- package/dist/chrome/notificationCenter/NotificationCardItem.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/NotificationFilters.d.ts +16 -0
- package/dist/chrome/notificationCenter/NotificationFilters.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/NotificationFooter.d.ts +8 -0
- package/dist/chrome/notificationCenter/NotificationFooter.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/NotificationHeader.d.ts +10 -0
- package/dist/chrome/notificationCenter/NotificationHeader.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/NotificationList.d.ts +17 -0
- package/dist/chrome/notificationCenter/NotificationList.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/NotificationPanel.d.ts +9 -0
- package/dist/chrome/notificationCenter/NotificationPanel.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/SkeletonCard.d.ts +3 -0
- package/dist/chrome/notificationCenter/SkeletonCard.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/constants.d.ts +22 -0
- package/dist/chrome/notificationCenter/constants.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/gql.d.ts +15 -0
- package/dist/chrome/notificationCenter/gql.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/types.d.ts +31 -0
- package/dist/chrome/notificationCenter/types.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/useNotificationCenter.d.ts +24 -0
- package/dist/chrome/notificationCenter/useNotificationCenter.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/usePanelChrome.d.ts +7 -0
- package/dist/chrome/notificationCenter/usePanelChrome.d.ts.map +1 -0
- package/dist/chrome/sideNavigation/CollapseToggle.d.ts +9 -0
- package/dist/chrome/sideNavigation/CollapseToggle.d.ts.map +1 -0
- package/dist/chrome/sideNavigation/MobileActionsBar.d.ts +10 -0
- package/dist/chrome/sideNavigation/MobileActionsBar.d.ts.map +1 -0
- package/dist/chrome/sideNavigation/NavItemRenderer.d.ts +16 -0
- package/dist/chrome/sideNavigation/NavItemRenderer.d.ts.map +1 -0
- package/dist/chrome/sideNavigation/SidebarHeader.d.ts +10 -0
- package/dist/chrome/sideNavigation/SidebarHeader.d.ts.map +1 -0
- package/dist/chrome/sideNavigation/helpers.d.ts +6 -0
- package/dist/chrome/sideNavigation/helpers.d.ts.map +1 -0
- package/dist/chrome/sideNavigation/types.d.ts +33 -0
- package/dist/chrome/sideNavigation/types.d.ts.map +1 -0
- package/dist/chrome/sideNavigation/useSideNavigationState.d.ts +15 -0
- package/dist/chrome/sideNavigation/useSideNavigationState.d.ts.map +1 -0
- package/dist/chrome.d.ts +2 -0
- package/dist/config/eslint.config.d.ts +12 -0
- package/dist/config/eslint.config.d.ts.map +1 -0
- package/dist/config/index.d.ts +19 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/prettier.config.d.ts +7 -0
- package/dist/config/prettier.config.d.ts.map +1 -0
- package/dist/form/Checkbox.d.ts +65 -0
- package/dist/form/Checkbox.d.ts.map +1 -0
- package/dist/form/Form.d.ts +114 -0
- package/dist/form/Form.d.ts.map +1 -0
- package/dist/form/FormDescription.d.ts +35 -0
- package/dist/form/FormDescription.d.ts.map +1 -0
- package/dist/form/FormField.d.ts +100 -0
- package/dist/form/FormField.d.ts.map +1 -0
- package/dist/form/FormLabel.d.ts +45 -0
- package/dist/form/FormLabel.d.ts.map +1 -0
- package/dist/form/FormMessage.d.ts +37 -0
- package/dist/form/FormMessage.d.ts.map +1 -0
- package/dist/form/FormSection.d.ts +18 -0
- package/dist/form/FormSection.d.ts.map +1 -0
- package/dist/form/Input.d.ts +45 -0
- package/dist/form/Input.d.ts.map +1 -0
- package/dist/form/Radio.d.ts +109 -0
- package/dist/form/Radio.d.ts.map +1 -0
- package/dist/form/Select.d.ts +136 -0
- package/dist/form/Select.d.ts.map +1 -0
- package/dist/form/Textarea.d.ts +52 -0
- package/dist/form/Textarea.d.ts.map +1 -0
- package/dist/form/index.d.ts +26 -0
- package/dist/form/index.d.ts.map +1 -0
- package/dist/form.d.ts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/shared/actors/ActorIdentity.d.ts +20 -0
- package/dist/shared/actors/ActorIdentity.d.ts.map +1 -0
- package/dist/shared/actors/index.d.ts +3 -0
- package/dist/shared/actors/index.d.ts.map +1 -0
- package/dist/shared/actors/useActorProfiles.d.ts +42 -0
- package/dist/shared/actors/useActorProfiles.d.ts.map +1 -0
- package/dist/shared/components/AccessDenied.d.ts +117 -0
- package/dist/shared/components/AccessDenied.d.ts.map +1 -0
- package/dist/shared/components/AppErrorBoundary.d.ts +19 -0
- package/dist/shared/components/AppErrorBoundary.d.ts.map +1 -0
- package/dist/shared/components/ConditionalShell.d.ts +17 -0
- package/dist/shared/components/ConditionalShell.d.ts.map +1 -0
- package/dist/shared/components/ContextConversationWidget.d.ts +6 -0
- package/dist/shared/components/ContextConversationWidget.d.ts.map +1 -0
- package/dist/shared/components/ErrorBoundary.d.ts +19 -0
- package/dist/shared/components/ErrorBoundary.d.ts.map +1 -0
- package/dist/shared/components/ErrorFallback.d.ts +3 -0
- package/dist/shared/components/ErrorFallback.d.ts.map +1 -0
- package/dist/shared/components/KeyboardHelpDialogWrapper.d.ts +7 -0
- package/dist/shared/components/KeyboardHelpDialogWrapper.d.ts.map +1 -0
- package/dist/shared/components/LegalPage.d.ts +19 -0
- package/dist/shared/components/LegalPage.d.ts.map +1 -0
- package/dist/shared/components/LoadingFallback.d.ts +31 -0
- package/dist/shared/components/LoadingFallback.d.ts.map +1 -0
- package/dist/shared/components/MicrofrontendErrorBoundary.d.ts +20 -0
- package/dist/shared/components/MicrofrontendErrorBoundary.d.ts.map +1 -0
- package/dist/shared/components/PWAInstallBanner.d.ts +14 -0
- package/dist/shared/components/PWAInstallBanner.d.ts.map +1 -0
- package/dist/shared/components/PermissionGate.d.ts +202 -0
- package/dist/shared/components/PermissionGate.d.ts.map +1 -0
- package/dist/shared/components/ProductAccessGuard.d.ts +8 -0
- package/dist/shared/components/ProductAccessGuard.d.ts.map +1 -0
- package/dist/shared/components/QuotaMeter.d.ts +30 -0
- package/dist/shared/components/QuotaMeter.d.ts.map +1 -0
- package/dist/shared/components/RequireAuth.d.ts +76 -0
- package/dist/shared/components/RequireAuth.d.ts.map +1 -0
- package/dist/shared/components/SSORedirectGuard.d.ts +49 -0
- package/dist/shared/components/SSORedirectGuard.d.ts.map +1 -0
- package/dist/shared/components/SearchPage.d.ts +24 -0
- package/dist/shared/components/SearchPage.d.ts.map +1 -0
- package/dist/shared/components/UpgradeInlineBanner.d.ts +45 -0
- package/dist/shared/components/UpgradeInlineBanner.d.ts.map +1 -0
- package/dist/shared/components/UpgradePromptModal.d.ts +64 -0
- package/dist/shared/components/UpgradePromptModal.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/Composer.d.ts +19 -0
- package/dist/shared/components/contextConversationWidget/Composer.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/MessageItem.d.ts +20 -0
- package/dist/shared/components/contextConversationWidget/MessageItem.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/MessageList.d.ts +22 -0
- package/dist/shared/components/contextConversationWidget/MessageList.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/NoWorkspaceCard.d.ts +7 -0
- package/dist/shared/components/contextConversationWidget/NoWorkspaceCard.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/PendingAttachmentsBar.d.ts +8 -0
- package/dist/shared/components/contextConversationWidget/PendingAttachmentsBar.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/ReplyBanner.d.ts +9 -0
- package/dist/shared/components/contextConversationWidget/ReplyBanner.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/WidgetHeader.d.ts +19 -0
- package/dist/shared/components/contextConversationWidget/WidgetHeader.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/queries.d.ts +16 -0
- package/dist/shared/components/contextConversationWidget/queries.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/types.d.ts +113 -0
- package/dist/shared/components/contextConversationWidget/types.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/useAttachmentUpload.d.ts +16 -0
- package/dist/shared/components/contextConversationWidget/useAttachmentUpload.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/useConversationSubscriptions.d.ts +3 -0
- package/dist/shared/components/contextConversationWidget/useConversationSubscriptions.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/useMessageActions.d.ts +15 -0
- package/dist/shared/components/contextConversationWidget/useMessageActions.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/useSendMessage.d.ts +25 -0
- package/dist/shared/components/contextConversationWidget/useSendMessage.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/useWidgetMessages.d.ts +3 -0
- package/dist/shared/components/contextConversationWidget/useWidgetMessages.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/utils.d.ts +12 -0
- package/dist/shared/components/contextConversationWidget/utils.d.ts.map +1 -0
- package/dist/shared/components/index.d.ts +29 -0
- package/dist/shared/components/index.d.ts.map +1 -0
- package/dist/shared/components/searchPage/FiltersPanel.d.ts +17 -0
- package/dist/shared/components/searchPage/FiltersPanel.d.ts.map +1 -0
- package/dist/shared/components/searchPage/Pagination.d.ts +8 -0
- package/dist/shared/components/searchPage/Pagination.d.ts.map +1 -0
- package/dist/shared/components/searchPage/ResultsHeader.d.ts +8 -0
- package/dist/shared/components/searchPage/ResultsHeader.d.ts.map +1 -0
- package/dist/shared/components/searchPage/ResultsList.d.ts +13 -0
- package/dist/shared/components/searchPage/ResultsList.d.ts.map +1 -0
- package/dist/shared/components/searchPage/SearchInput.d.ts +9 -0
- package/dist/shared/components/searchPage/SearchInput.d.ts.map +1 -0
- package/dist/shared/components/searchPage/SearchToolbar.d.ts +13 -0
- package/dist/shared/components/searchPage/SearchToolbar.d.ts.map +1 -0
- package/dist/shared/components/searchPage/constants.d.ts +18 -0
- package/dist/shared/components/searchPage/constants.d.ts.map +1 -0
- package/dist/shared/config/authBridgeUrls.d.ts +27 -0
- package/dist/shared/config/authBridgeUrls.d.ts.map +1 -0
- package/dist/shared/config/eslint.config.d.ts +12 -0
- package/dist/shared/config/eslint.config.d.ts.map +1 -0
- package/dist/shared/config/gatewayUrls.d.ts +44 -0
- package/dist/shared/config/gatewayUrls.d.ts.map +1 -0
- package/dist/shared/config/index.d.ts +71 -0
- package/dist/shared/config/index.d.ts.map +1 -0
- package/dist/shared/config/prettier.config.d.ts +7 -0
- package/dist/shared/config/prettier.config.d.ts.map +1 -0
- package/dist/shared/config/products.d.ts +56 -0
- package/dist/shared/config/products.d.ts.map +1 -0
- package/dist/shared/config/shellRoutes.d.ts +52 -0
- package/dist/shared/config/shellRoutes.d.ts.map +1 -0
- package/dist/shared/events/index.d.ts +591 -0
- package/dist/shared/events/index.d.ts.map +1 -0
- package/dist/shared/events/metadata.d.ts +7 -0
- package/dist/shared/events/metadata.d.ts.map +1 -0
- package/dist/shared/events/sinks/BackendAuditSink.d.ts +18 -0
- package/dist/shared/events/sinks/BackendAuditSink.d.ts.map +1 -0
- package/dist/shared/events/sinks/BroadcastChannelSink.d.ts +10 -0
- package/dist/shared/events/sinks/BroadcastChannelSink.d.ts.map +1 -0
- package/dist/shared/events/sinks/DevtoolsSink.d.ts +10 -0
- package/dist/shared/events/sinks/DevtoolsSink.d.ts.map +1 -0
- package/dist/shared/events/sinks/OtelBrowserSink.d.ts +14 -0
- package/dist/shared/events/sinks/OtelBrowserSink.d.ts.map +1 -0
- package/dist/shared/events/sinks/RybbitSink.d.ts +19 -0
- package/dist/shared/events/sinks/RybbitSink.d.ts.map +1 -0
- package/dist/shared/events/sinks/index.d.ts +6 -0
- package/dist/shared/events/sinks/index.d.ts.map +1 -0
- package/dist/shared/feature-flags/FeatureFlagProvider.d.ts +47 -0
- package/dist/shared/feature-flags/FeatureFlagProvider.d.ts.map +1 -0
- package/dist/shared/feature-flags/FeatureGate.d.ts +27 -0
- package/dist/shared/feature-flags/FeatureGate.d.ts.map +1 -0
- package/dist/shared/feature-flags/index.d.ts +38 -0
- package/dist/shared/feature-flags/index.d.ts.map +1 -0
- package/dist/shared/feature-flags/types.d.ts +122 -0
- package/dist/shared/feature-flags/types.d.ts.map +1 -0
- package/dist/shared/feature-flags/useFeatureFlag.d.ts +41 -0
- package/dist/shared/feature-flags/useFeatureFlag.d.ts.map +1 -0
- package/dist/shared/geography/GeographyProvider.d.ts +40 -0
- package/dist/shared/geography/GeographyProvider.d.ts.map +1 -0
- package/dist/shared/geography/countries.d.ts +53 -0
- package/dist/shared/geography/countries.d.ts.map +1 -0
- package/dist/shared/geography/index.d.ts +5 -0
- package/dist/shared/geography/index.d.ts.map +1 -0
- package/dist/shared/graphql/GatewayContext.d.ts +55 -0
- package/dist/shared/graphql/GatewayContext.d.ts.map +1 -0
- package/dist/shared/graphql/client.d.ts +122 -0
- package/dist/shared/graphql/client.d.ts.map +1 -0
- package/dist/shared/graphql/fetch.d.ts +133 -0
- package/dist/shared/graphql/fetch.d.ts.map +1 -0
- package/dist/shared/graphql/index.d.ts +9 -0
- package/dist/shared/graphql/index.d.ts.map +1 -0
- package/dist/shared/graphql/links/sse-link.d.ts +48 -0
- package/dist/shared/graphql/links/sse-link.d.ts.map +1 -0
- package/dist/shared/graphql/security.d.ts +13 -0
- package/dist/shared/graphql/security.d.ts.map +1 -0
- package/dist/shared/graphql/workspaceToken.d.ts +13 -0
- package/dist/shared/graphql/workspaceToken.d.ts.map +1 -0
- package/dist/shared/help/HelpButton.d.ts +25 -0
- package/dist/shared/help/HelpButton.d.ts.map +1 -0
- package/dist/shared/help/HelpPanel.d.ts +10 -0
- package/dist/shared/help/HelpPanel.d.ts.map +1 -0
- package/dist/shared/help/HelpProvider.d.ts +40 -0
- package/dist/shared/help/HelpProvider.d.ts.map +1 -0
- package/dist/shared/help/index.d.ts +53 -0
- package/dist/shared/help/index.d.ts.map +1 -0
- package/dist/shared/help/types.d.ts +159 -0
- package/dist/shared/help/types.d.ts.map +1 -0
- package/dist/shared/hooks/index.d.ts +34 -0
- package/dist/shared/hooks/index.d.ts.map +1 -0
- package/dist/shared/hooks/shell/index.d.ts +22 -0
- package/dist/shared/hooks/shell/index.d.ts.map +1 -0
- package/dist/shared/hooks/shell/useBreadcrumbs.d.ts +50 -0
- package/dist/shared/hooks/shell/useBreadcrumbs.d.ts.map +1 -0
- package/dist/shared/hooks/shell/useFooterRegistry.d.ts +23 -0
- package/dist/shared/hooks/shell/useFooterRegistry.d.ts.map +1 -0
- package/dist/shared/hooks/shell/useGlobalSearch.d.ts +103 -0
- package/dist/shared/hooks/shell/useGlobalSearch.d.ts.map +1 -0
- package/dist/shared/hooks/shell/useLanguages.d.ts +43 -0
- package/dist/shared/hooks/shell/useLanguages.d.ts.map +1 -0
- package/dist/shared/hooks/shell/useNavRegistry.d.ts +25 -0
- package/dist/shared/hooks/shell/useNavRegistry.d.ts.map +1 -0
- package/dist/shared/hooks/shell/useProductAccess.d.ts +37 -0
- package/dist/shared/hooks/shell/useProductAccess.d.ts.map +1 -0
- package/dist/shared/hooks/shell/useProducts.d.ts +30 -0
- package/dist/shared/hooks/shell/useProducts.d.ts.map +1 -0
- package/dist/shared/hooks/useAsync.d.ts +151 -0
- package/dist/shared/hooks/useAsync.d.ts.map +1 -0
- package/dist/shared/hooks/useBreakpoint.d.ts +83 -0
- package/dist/shared/hooks/useBreakpoint.d.ts.map +1 -0
- package/dist/shared/hooks/useCopyToClipboard.d.ts +72 -0
- package/dist/shared/hooks/useCopyToClipboard.d.ts.map +1 -0
- package/dist/shared/hooks/useCurrentContextSearchParams.d.ts +17 -0
- package/dist/shared/hooks/useCurrentContextSearchParams.d.ts.map +1 -0
- package/dist/shared/hooks/useDebounce.d.ts +26 -0
- package/dist/shared/hooks/useDebounce.d.ts.map +1 -0
- package/dist/shared/hooks/useHasAnimated.d.ts +10 -0
- package/dist/shared/hooks/useHasAnimated.d.ts.map +1 -0
- package/dist/shared/hooks/useKeyPress.d.ts +116 -0
- package/dist/shared/hooks/useKeyPress.d.ts.map +1 -0
- package/dist/shared/hooks/useLocalStorage.d.ts +41 -0
- package/dist/shared/hooks/useLocalStorage.d.ts.map +1 -0
- package/dist/shared/hooks/useMediaQuery.d.ts +35 -0
- package/dist/shared/hooks/useMediaQuery.d.ts.map +1 -0
- package/dist/shared/hooks/useOnClickOutside.d.ts +76 -0
- package/dist/shared/hooks/useOnClickOutside.d.ts.map +1 -0
- package/dist/shared/hooks/usePWA.d.ts +57 -0
- package/dist/shared/hooks/usePWA.d.ts.map +1 -0
- package/dist/shared/hooks/usePrevious.d.ts +157 -0
- package/dist/shared/hooks/usePrevious.d.ts.map +1 -0
- package/dist/shared/hooks/useQuotaErrorToast.d.ts +50 -0
- package/dist/shared/hooks/useQuotaErrorToast.d.ts.map +1 -0
- package/dist/shared/hooks/useRecordProductVisit.d.ts +11 -0
- package/dist/shared/hooks/useRecordProductVisit.d.ts.map +1 -0
- package/dist/shared/hooks/useReferralAttribution.d.ts +2 -0
- package/dist/shared/hooks/useReferralAttribution.d.ts.map +1 -0
- package/dist/shared/hooks/useSessionStorage.d.ts +44 -0
- package/dist/shared/hooks/useSessionStorage.d.ts.map +1 -0
- package/dist/shared/hooks/useThrottle.d.ts +37 -0
- package/dist/shared/hooks/useThrottle.d.ts.map +1 -0
- package/dist/shared/hooks/useToggle.d.ts +152 -0
- package/dist/shared/hooks/useToggle.d.ts.map +1 -0
- package/dist/shared/hooks/useUpgradePrompt.d.ts +50 -0
- package/dist/shared/hooks/useUpgradePrompt.d.ts.map +1 -0
- package/dist/shared/index.d.ts +14 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/keyboard/globalShortcuts.d.ts +58 -0
- package/dist/shared/keyboard/globalShortcuts.d.ts.map +1 -0
- package/dist/shared/keyboard/index.d.ts +40 -0
- package/dist/shared/keyboard/index.d.ts.map +1 -0
- package/dist/shared/keyboard/types.d.ts +85 -0
- package/dist/shared/keyboard/types.d.ts.map +1 -0
- package/dist/shared/keyboard/useHotkeys.d.ts +21 -0
- package/dist/shared/keyboard/useHotkeys.d.ts.map +1 -0
- package/dist/shared/keyboard/useKeyboardShortcuts.d.ts +94 -0
- package/dist/shared/keyboard/useKeyboardShortcuts.d.ts.map +1 -0
- package/dist/shared/keyboard/useShortcutHelp.d.ts +27 -0
- package/dist/shared/keyboard/useShortcutHelp.d.ts.map +1 -0
- package/dist/shared/keyboard/utils.d.ts +72 -0
- package/dist/shared/keyboard/utils.d.ts.map +1 -0
- package/dist/shared/logger/ConsoleTransport.d.ts +22 -0
- package/dist/shared/logger/ConsoleTransport.d.ts.map +1 -0
- package/dist/shared/logger/LogManager.d.ts +75 -0
- package/dist/shared/logger/LogManager.d.ts.map +1 -0
- package/dist/shared/logger/Logger.d.ts +86 -0
- package/dist/shared/logger/Logger.d.ts.map +1 -0
- package/dist/shared/logger/index.d.ts +42 -0
- package/dist/shared/logger/index.d.ts.map +1 -0
- package/dist/shared/logger/types.d.ts +70 -0
- package/dist/shared/logger/types.d.ts.map +1 -0
- package/dist/shared/logger/useLogger.d.ts +29 -0
- package/dist/shared/logger/useLogger.d.ts.map +1 -0
- package/dist/shared/motion/AnimatedCounter.d.ts +16 -0
- package/dist/shared/motion/AnimatedCounter.d.ts.map +1 -0
- package/dist/shared/motion/MotionCard.d.ts +18 -0
- package/dist/shared/motion/MotionCard.d.ts.map +1 -0
- package/dist/shared/motion/MotionCollapse.d.ts +14 -0
- package/dist/shared/motion/MotionCollapse.d.ts.map +1 -0
- package/dist/shared/motion/MotionFade.d.ts +16 -0
- package/dist/shared/motion/MotionFade.d.ts.map +1 -0
- package/dist/shared/motion/MotionItem.d.ts +25 -0
- package/dist/shared/motion/MotionItem.d.ts.map +1 -0
- package/dist/shared/motion/MotionList.d.ts +28 -0
- package/dist/shared/motion/MotionList.d.ts.map +1 -0
- package/dist/shared/motion/MotionPage.d.ts +18 -0
- package/dist/shared/motion/MotionPage.d.ts.map +1 -0
- package/dist/shared/motion/index.d.ts +9 -0
- package/dist/shared/motion/index.d.ts.map +1 -0
- package/dist/shared/motion/variants.d.ts +70 -0
- package/dist/shared/motion/variants.d.ts.map +1 -0
- package/dist/shared/native/SafeAreaView.d.ts +15 -0
- package/dist/shared/native/SafeAreaView.d.ts.map +1 -0
- package/dist/shared/native/bridge.d.ts +3 -0
- package/dist/shared/native/bridge.d.ts.map +1 -0
- package/dist/shared/native/consumers.d.ts +9 -0
- package/dist/shared/native/consumers.d.ts.map +1 -0
- package/dist/shared/native/hooks/index.d.ts +12 -0
- package/dist/shared/native/hooks/index.d.ts.map +1 -0
- package/dist/shared/native/hooks/useAppState.d.ts +3 -0
- package/dist/shared/native/hooks/useAppState.d.ts.map +1 -0
- package/dist/shared/native/hooks/useDeviceInfo.d.ts +3 -0
- package/dist/shared/native/hooks/useDeviceInfo.d.ts.map +1 -0
- package/dist/shared/native/hooks/useHaptics.d.ts +8 -0
- package/dist/shared/native/hooks/useHaptics.d.ts.map +1 -0
- package/dist/shared/native/hooks/useNativeKeyboard.d.ts +6 -0
- package/dist/shared/native/hooks/useNativeKeyboard.d.ts.map +1 -0
- package/dist/shared/native/hooks/useNativePlatform.d.ts +10 -0
- package/dist/shared/native/hooks/useNativePlatform.d.ts.map +1 -0
- package/dist/shared/native/hooks/useSafeArea.d.ts +3 -0
- package/dist/shared/native/hooks/useSafeArea.d.ts.map +1 -0
- package/dist/shared/native/hooks/useStatusBar.d.ts +6 -0
- package/dist/shared/native/hooks/useStatusBar.d.ts.map +1 -0
- package/dist/shared/native/index.d.ts +7 -0
- package/dist/shared/native/index.d.ts.map +1 -0
- package/dist/shared/native/platform.d.ts +7 -0
- package/dist/shared/native/platform.d.ts.map +1 -0
- package/dist/shared/native/types.d.ts +62 -0
- package/dist/shared/native/types.d.ts.map +1 -0
- package/dist/shared/pages/AiPage.d.ts +14 -0
- package/dist/shared/pages/AiPage.d.ts.map +1 -0
- package/dist/shared/pages/LegalPage.d.ts +19 -0
- package/dist/shared/pages/LegalPage.d.ts.map +1 -0
- package/dist/shared/pages/SearchPage.d.ts +28 -0
- package/dist/shared/pages/SearchPage.d.ts.map +1 -0
- package/dist/shared/pages/index.d.ts +7 -0
- package/dist/shared/pages/index.d.ts.map +1 -0
- package/dist/shared/pages/searchPage/ActiveFilterChips.d.ts +40 -0
- package/dist/shared/pages/searchPage/ActiveFilterChips.d.ts.map +1 -0
- package/dist/shared/pages/searchPage/FiltersPanel.d.ts +54 -0
- package/dist/shared/pages/searchPage/FiltersPanel.d.ts.map +1 -0
- package/dist/shared/pages/searchPage/ResultsList.d.ts +13 -0
- package/dist/shared/pages/searchPage/ResultsList.d.ts.map +1 -0
- package/dist/shared/pages/searchPage/ResultsStatus.d.ts +8 -0
- package/dist/shared/pages/searchPage/ResultsStatus.d.ts.map +1 -0
- package/dist/shared/pages/searchPage/SearchInput.d.ts +9 -0
- package/dist/shared/pages/searchPage/SearchInput.d.ts.map +1 -0
- package/dist/shared/pages/searchPage/SearchPagination.d.ts +8 -0
- package/dist/shared/pages/searchPage/SearchPagination.d.ts.map +1 -0
- package/dist/shared/pages/searchPage/SearchToolbar.d.ts +13 -0
- package/dist/shared/pages/searchPage/SearchToolbar.d.ts.map +1 -0
- package/dist/shared/pages/searchPage/constants.d.ts +26 -0
- package/dist/shared/pages/searchPage/constants.d.ts.map +1 -0
- package/dist/shared/pages/searchPage/utils.d.ts +7 -0
- package/dist/shared/pages/searchPage/utils.d.ts.map +1 -0
- package/dist/shared/plugins/PluginRuntimeProvider.d.ts +28 -0
- package/dist/shared/plugins/PluginRuntimeProvider.d.ts.map +1 -0
- package/dist/shared/plugins/context.d.ts +65 -0
- package/dist/shared/plugins/context.d.ts.map +1 -0
- package/dist/shared/plugins/disposable.d.ts +17 -0
- package/dist/shared/plugins/disposable.d.ts.map +1 -0
- package/dist/shared/plugins/event-bus.d.ts +112 -0
- package/dist/shared/plugins/event-bus.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/PluginIframe.d.ts +75 -0
- package/dist/shared/plugins/iframe-mount/PluginIframe.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/PluginMount.d.ts +59 -0
- package/dist/shared/plugins/iframe-mount/PluginMount.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/client/index.d.ts +3 -0
- package/dist/shared/plugins/iframe-mount/client/index.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/client/message-bus.d.ts +71 -0
- package/dist/shared/plugins/iframe-mount/client/message-bus.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/client/rpc.d.ts +25 -0
- package/dist/shared/plugins/iframe-mount/client/rpc.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/index.d.ts +6 -0
- package/dist/shared/plugins/iframe-mount/index.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/protocol/contribution.d.ts +83 -0
- package/dist/shared/plugins/iframe-mount/protocol/contribution.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/protocol/envelope.d.ts +136 -0
- package/dist/shared/plugins/iframe-mount/protocol/envelope.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/protocol/index.d.ts +3 -0
- package/dist/shared/plugins/iframe-mount/protocol/index.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/sandbox.d.ts +3 -0
- package/dist/shared/plugins/iframe-mount/sandbox.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/types.d.ts +64 -0
- package/dist/shared/plugins/iframe-mount/types.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/useFetchContributions.d.ts +31 -0
- package/dist/shared/plugins/iframe-mount/useFetchContributions.d.ts.map +1 -0
- package/dist/shared/plugins/index.d.ts +41 -0
- package/dist/shared/plugins/index.d.ts.map +1 -0
- package/dist/shared/plugins/panels/usePanelManagerStore.d.ts +68 -0
- package/dist/shared/plugins/panels/usePanelManagerStore.d.ts.map +1 -0
- package/dist/shared/plugins/registries/createContributionRegistry.d.ts +16 -0
- package/dist/shared/plugins/registries/createContributionRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/index.d.ts +15 -0
- package/dist/shared/plugins/registries/index.d.ts.map +1 -0
- package/dist/shared/plugins/registries/useCommandRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/useCommandRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/useContextMenuRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/useContextMenuRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/usePanelRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/usePanelRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/useRouteRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/useRouteRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/useSettingsRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/useSettingsRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/useStatusBarRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/useStatusBarRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/useToolbarRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/useToolbarRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/useWidgetRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/useWidgetRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/runtime.d.ts +68 -0
- package/dist/shared/plugins/runtime.d.ts.map +1 -0
- package/dist/shared/plugins/types.d.ts +228 -0
- package/dist/shared/plugins/types.d.ts.map +1 -0
- package/dist/shared/providers/AppShellProvider.d.ts +96 -0
- package/dist/shared/providers/AppShellProvider.d.ts.map +1 -0
- package/dist/shared/providers/MicrofrontendProvider.d.ts +41 -0
- package/dist/shared/providers/MicrofrontendProvider.d.ts.map +1 -0
- package/dist/shared/providers/index.d.ts +12 -0
- package/dist/shared/providers/index.d.ts.map +1 -0
- package/dist/shared/providers/shell/ActiveContextProvider.d.ts +88 -0
- package/dist/shared/providers/shell/ActiveContextProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/ActiveContextStorage.d.ts +45 -0
- package/dist/shared/providers/shell/ActiveContextStorage.d.ts.map +1 -0
- package/dist/shared/providers/shell/AppShellContext.d.ts +19 -0
- package/dist/shared/providers/shell/AppShellContext.d.ts.map +1 -0
- package/dist/shared/providers/shell/AuthBridgeClient.d.ts +121 -0
- package/dist/shared/providers/shell/AuthBridgeClient.d.ts.map +1 -0
- package/dist/shared/providers/shell/AuthProvider.d.ts +58 -0
- package/dist/shared/providers/shell/AuthProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/AuthTokenProvider.d.ts +22 -0
- package/dist/shared/providers/shell/AuthTokenProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/ContextManagerProvider.d.ts +56 -0
- package/dist/shared/providers/shell/ContextManagerProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/FeatureFlagsProvider.d.ts +20 -0
- package/dist/shared/providers/shell/FeatureFlagsProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/GatewayRouter.d.ts +31 -0
- package/dist/shared/providers/shell/GatewayRouter.d.ts.map +1 -0
- package/dist/shared/providers/shell/GlobalUiProvider.d.ts +46 -0
- package/dist/shared/providers/shell/GlobalUiProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/I18nProvider.d.ts +75 -0
- package/dist/shared/providers/shell/I18nProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/MultiGatewayProvider.d.ts +25 -0
- package/dist/shared/providers/shell/MultiGatewayProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/ObservabilityProvider.d.ts +15 -0
- package/dist/shared/providers/shell/ObservabilityProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/PageConversationContextProvider.d.ts +22 -0
- package/dist/shared/providers/shell/PageConversationContextProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/PermissionProvider.d.ts +227 -0
- package/dist/shared/providers/shell/PermissionProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/ProfileGeographyBridge.d.ts +8 -0
- package/dist/shared/providers/shell/ProfileGeographyBridge.d.ts.map +1 -0
- package/dist/shared/providers/shell/ProfileI18nBridge.d.ts +15 -0
- package/dist/shared/providers/shell/ProfileI18nBridge.d.ts.map +1 -0
- package/dist/shared/providers/shell/ProfileStorageManager.d.ts +107 -0
- package/dist/shared/providers/shell/ProfileStorageManager.d.ts.map +1 -0
- package/dist/shared/providers/shell/ShellUiProvider.d.ts +47 -0
- package/dist/shared/providers/shell/ShellUiProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/ThemeProvider.d.ts +29 -0
- package/dist/shared/providers/shell/ThemeProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/authProvider/bridgeStateSync.d.ts +6 -0
- package/dist/shared/providers/shell/authProvider/bridgeStateSync.d.ts.map +1 -0
- package/dist/shared/providers/shell/authProvider/jwt.d.ts +6 -0
- package/dist/shared/providers/shell/authProvider/jwt.d.ts.map +1 -0
- package/dist/shared/providers/shell/authProvider/ssoRelay.d.ts +17 -0
- package/dist/shared/providers/shell/authProvider/ssoRelay.d.ts.map +1 -0
- package/dist/shared/providers/shell/authProvider/useAuthActions.d.ts +38 -0
- package/dist/shared/providers/shell/authProvider/useAuthActions.d.ts.map +1 -0
- package/dist/shared/providers/shell/authProvider/useBridgeInitialization.d.ts +18 -0
- package/dist/shared/providers/shell/authProvider/useBridgeInitialization.d.ts.map +1 -0
- package/dist/shared/providers/shell/authProvider/useRemoteSLO.d.ts +13 -0
- package/dist/shared/providers/shell/authProvider/useRemoteSLO.d.ts.map +1 -0
- package/dist/shared/providers/shell/authProvider/useStorageSync.d.ts +15 -0
- package/dist/shared/providers/shell/authProvider/useStorageSync.d.ts.map +1 -0
- package/dist/shared/providers/shell/authProvider/useTokenExpiryTimer.d.ts +14 -0
- package/dist/shared/providers/shell/authProvider/useTokenExpiryTimer.d.ts.map +1 -0
- package/dist/shared/providers/shell/index.d.ts +45 -0
- package/dist/shared/providers/shell/index.d.ts.map +1 -0
- package/dist/shared/shims/assert.d.ts +19 -0
- package/dist/shared/shims/assert.d.ts.map +1 -0
- package/dist/shared/shims/index.d.ts +25 -0
- package/dist/shared/shims/index.d.ts.map +1 -0
- package/dist/shared/shims/process.d.ts +20 -0
- package/dist/shared/shims/process.d.ts.map +1 -0
- package/dist/shared/shims/use-sync-external-store-shim.d.ts +7 -0
- package/dist/shared/shims/use-sync-external-store-shim.d.ts.map +1 -0
- package/dist/shared/shims/use-sync-external-store-with-selector.d.ts +17 -0
- package/dist/shared/shims/use-sync-external-store-with-selector.d.ts.map +1 -0
- package/dist/shared/shims/util.d.ts +135 -0
- package/dist/shared/shims/util.d.ts.map +1 -0
- package/dist/shared/tours/TourInitializer.d.ts +6 -0
- package/dist/shared/tours/TourInitializer.d.ts.map +1 -0
- package/dist/shared/tours/TourPlayer.d.ts +49 -0
- package/dist/shared/tours/TourPlayer.d.ts.map +1 -0
- package/dist/shared/tours/TourPlayerProvider.d.ts +26 -0
- package/dist/shared/tours/TourPlayerProvider.d.ts.map +1 -0
- package/dist/shared/tours/TourSpotlight.d.ts +8 -0
- package/dist/shared/tours/TourSpotlight.d.ts.map +1 -0
- package/dist/shared/tours/TourTooltip.d.ts +7 -0
- package/dist/shared/tours/TourTooltip.d.ts.map +1 -0
- package/dist/shared/tours/TourTrigger.d.ts +15 -0
- package/dist/shared/tours/TourTrigger.d.ts.map +1 -0
- package/dist/shared/tours/ToursContext.d.ts +38 -0
- package/dist/shared/tours/ToursContext.d.ts.map +1 -0
- package/dist/shared/tours/index.d.ts +53 -0
- package/dist/shared/tours/index.d.ts.map +1 -0
- package/dist/shared/tours/progress.d.ts +7 -0
- package/dist/shared/tours/progress.d.ts.map +1 -0
- package/dist/shared/tours/routeCatalog.d.ts +42 -0
- package/dist/shared/tours/routeCatalog.d.ts.map +1 -0
- package/dist/shared/tours/tourTrigger/DesktopTourDropdown.d.ts +9 -0
- package/dist/shared/tours/tourTrigger/DesktopTourDropdown.d.ts.map +1 -0
- package/dist/shared/tours/tourTrigger/MobileTourSheet.d.ts +10 -0
- package/dist/shared/tours/tourTrigger/MobileTourSheet.d.ts.map +1 -0
- package/dist/shared/tours/tourTrigger/TourListItemDesktop.d.ts +8 -0
- package/dist/shared/tours/tourTrigger/TourListItemDesktop.d.ts.map +1 -0
- package/dist/shared/tours/tourTrigger/TourListItemMobile.d.ts +8 -0
- package/dist/shared/tours/tourTrigger/TourListItemMobile.d.ts.map +1 -0
- package/dist/shared/tours/tourTrigger/TourStatusChip.d.ts +5 -0
- package/dist/shared/tours/tourTrigger/TourStatusChip.d.ts.map +1 -0
- package/dist/shared/tours/tourTrigger/TourTriggerButton.d.ts +8 -0
- package/dist/shared/tours/tourTrigger/TourTriggerButton.d.ts.map +1 -0
- package/dist/shared/tours/toursContext/errors.d.ts +3 -0
- package/dist/shared/tours/toursContext/errors.d.ts.map +1 -0
- package/dist/shared/tours/toursContext/gql.d.ts +8 -0
- package/dist/shared/tours/toursContext/gql.d.ts.map +1 -0
- package/dist/shared/tours/toursContext/route.d.ts +5 -0
- package/dist/shared/tours/toursContext/route.d.ts.map +1 -0
- package/dist/shared/tours/toursContext/session.d.ts +3 -0
- package/dist/shared/tours/toursContext/session.d.ts.map +1 -0
- package/dist/shared/tours/toursContext/useIdleReady.d.ts +2 -0
- package/dist/shared/tours/toursContext/useIdleReady.d.ts.map +1 -0
- package/dist/shared/tours/toursContext/useTourMutations.d.ts +29 -0
- package/dist/shared/tours/toursContext/useTourMutations.d.ts.map +1 -0
- package/dist/shared/tours/types.d.ts +215 -0
- package/dist/shared/tours/types.d.ts.map +1 -0
- package/dist/shared/tours/useTourPlayer.d.ts +38 -0
- package/dist/shared/tours/useTourPlayer.d.ts.map +1 -0
- package/dist/shared/types/index.d.ts +185 -0
- package/dist/shared/types/index.d.ts.map +1 -0
- package/dist/shared/utils/apollo.d.ts +26 -0
- package/dist/shared/utils/apollo.d.ts.map +1 -0
- package/dist/shared/utils/appHelpers.d.ts +34 -0
- package/dist/shared/utils/appHelpers.d.ts.map +1 -0
- package/dist/shared/utils/authCookie.d.ts +35 -0
- package/dist/shared/utils/authCookie.d.ts.map +1 -0
- package/dist/shared/utils/authErrorHandling.d.ts +65 -0
- package/dist/shared/utils/authErrorHandling.d.ts.map +1 -0
- package/dist/shared/utils/backendErrors.d.ts +37 -0
- package/dist/shared/utils/backendErrors.d.ts.map +1 -0
- package/dist/shared/utils/cn.d.ts +6 -0
- package/dist/shared/utils/cn.d.ts.map +1 -0
- package/dist/shared/utils/format.d.ts +98 -0
- package/dist/shared/utils/format.d.ts.map +1 -0
- package/dist/shared/utils/gatewayFetchRewrite.d.ts +53 -0
- package/dist/shared/utils/gatewayFetchRewrite.d.ts.map +1 -0
- package/dist/shared/utils/index.d.ts +28 -0
- package/dist/shared/utils/index.d.ts.map +1 -0
- package/dist/shared/utils/lazyWithRetry.d.ts +43 -0
- package/dist/shared/utils/lazyWithRetry.d.ts.map +1 -0
- package/dist/shared/utils/loggerInit.d.ts +15 -0
- package/dist/shared/utils/loggerInit.d.ts.map +1 -0
- package/dist/shared/utils/mockData.d.ts +40 -0
- package/dist/shared/utils/mockData.d.ts.map +1 -0
- package/dist/shared/utils/profileScopedStorage.d.ts +42 -0
- package/dist/shared/utils/profileScopedStorage.d.ts.map +1 -0
- package/dist/shared/utils/quotaErrors.d.ts +81 -0
- package/dist/shared/utils/quotaErrors.d.ts.map +1 -0
- package/dist/shared/utils/tokens.d.ts +166 -0
- package/dist/shared/utils/tokens.d.ts.map +1 -0
- package/dist/shared-components.d.ts +2 -0
- package/dist/shared-config.d.ts +2 -0
- package/dist/shared-events.d.ts +2 -0
- package/dist/shared-feature-flags.d.ts +2 -0
- package/dist/shared-geography.d.ts +2 -0
- package/dist/shared-graphql.d.ts +2 -0
- package/dist/shared-hooks-shell.d.ts +2 -0
- package/dist/shared-hooks.d.ts +2 -0
- package/dist/shared-keyboard.d.ts +2 -0
- package/dist/shared-logger.d.ts +2 -0
- package/dist/shared-motion.d.ts +2 -0
- package/dist/shared-native.d.ts +2 -0
- package/dist/shared-pages.d.ts +2 -0
- package/dist/shared-plugins.d.ts +2 -0
- package/dist/shared-providers-shell.d.ts +2 -0
- package/dist/shared-providers.d.ts +2 -0
- package/dist/shared-shims.d.ts +2 -0
- package/dist/shared-tours.d.ts +2 -0
- package/dist/shared-types.d.ts +1 -0
- package/dist/shared-utils.d.ts +2 -0
- package/dist/shared.d.ts +2 -0
- package/dist/storage/SaveToFilesButton.d.ts +55 -0
- package/dist/storage/SaveToFilesButton.d.ts.map +1 -0
- package/dist/storage/SaveToFilesDialog.d.ts +13 -0
- package/dist/storage/SaveToFilesDialog.d.ts.map +1 -0
- package/dist/storage/StorageFolderPicker.d.ts +23 -0
- package/dist/storage/StorageFolderPicker.d.ts.map +1 -0
- package/dist/storage/index.d.ts +10 -0
- package/dist/storage/index.d.ts.map +1 -0
- package/dist/storage/uploadBlob.d.ts +21 -0
- package/dist/storage/uploadBlob.d.ts.map +1 -0
- package/dist/storage/useSaveToFiles.d.ts +17 -0
- package/dist/storage/useSaveToFiles.d.ts.map +1 -0
- package/dist/tag/TagBadge.d.ts +17 -0
- package/dist/tag/TagBadge.d.ts.map +1 -0
- package/dist/tag/TagsWidget.d.ts +103 -0
- package/dist/tag/TagsWidget.d.ts.map +1 -0
- package/dist/tag/index.d.ts +3 -0
- package/dist/tag/index.d.ts.map +1 -0
- package/dist/tag/tagsWidget/AddTagTrigger.d.ts +5 -0
- package/dist/tag/tagsWidget/AddTagTrigger.d.ts.map +1 -0
- package/dist/tag/tagsWidget/TagBadgeList.d.ts +7 -0
- package/dist/tag/tagsWidget/TagBadgeList.d.ts.map +1 -0
- package/dist/tag/tagsWidget/TagSearchPopover.d.ts +17 -0
- package/dist/tag/tagsWidget/TagSearchPopover.d.ts.map +1 -0
- package/dist/tag/tagsWidget/operations.d.ts +13 -0
- package/dist/tag/tagsWidget/operations.d.ts.map +1 -0
- package/dist/tag/tagsWidget/useVocabResolver.d.ts +6 -0
- package/dist/tag/tagsWidget/useVocabResolver.d.ts.map +1 -0
- package/dist/tag.d.ts +2 -0
- package/dist/ui/accordion.d.ts +8 -0
- package/dist/ui/accordion.d.ts.map +1 -0
- package/dist/ui/alert-dialog.d.ts +15 -0
- package/dist/ui/alert-dialog.d.ts.map +1 -0
- package/dist/ui/badge.d.ts +10 -0
- package/dist/ui/badge.d.ts.map +1 -0
- package/dist/ui/bottom-sheet.d.ts +16 -0
- package/dist/ui/bottom-sheet.d.ts.map +1 -0
- package/dist/ui/button.d.ts +12 -0
- package/dist/ui/button.d.ts.map +1 -0
- package/dist/ui/card.d.ts +21 -0
- package/dist/ui/card.d.ts.map +1 -0
- package/dist/ui/checkbox.d.ts +5 -0
- package/dist/ui/checkbox.d.ts.map +1 -0
- package/dist/ui/command.d.ts +19 -0
- package/dist/ui/command.d.ts.map +1 -0
- package/dist/ui/dialog.d.ts +16 -0
- package/dist/ui/dialog.d.ts.map +1 -0
- package/dist/ui/dropdown-menu.d.ts +68 -0
- package/dist/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/ui/empty-state.d.ts +13 -0
- package/dist/ui/empty-state.d.ts.map +1 -0
- package/dist/ui/index.d.ts +33 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/ui/input.d.ts +7 -0
- package/dist/ui/input.d.ts.map +1 -0
- package/dist/ui/label.d.ts +12 -0
- package/dist/ui/label.d.ts.map +1 -0
- package/dist/ui/optional-fields.d.ts +16 -0
- package/dist/ui/optional-fields.d.ts.map +1 -0
- package/dist/ui/page-container.d.ts +24 -0
- package/dist/ui/page-container.d.ts.map +1 -0
- package/dist/ui/popover.d.ts +8 -0
- package/dist/ui/popover.d.ts.map +1 -0
- package/dist/ui/responsive-dialog.d.ts +18 -0
- package/dist/ui/responsive-dialog.d.ts.map +1 -0
- package/dist/ui/responsive-stack.d.ts +15 -0
- package/dist/ui/responsive-stack.d.ts.map +1 -0
- package/dist/ui/responsive-table.d.ts +24 -0
- package/dist/ui/responsive-table.d.ts.map +1 -0
- package/dist/ui/scroll-area.d.ts +6 -0
- package/dist/ui/scroll-area.d.ts.map +1 -0
- package/dist/ui/select.d.ts +49 -0
- package/dist/ui/select.d.ts.map +1 -0
- package/dist/ui/separator.d.ts +5 -0
- package/dist/ui/separator.d.ts.map +1 -0
- package/dist/ui/sheet.d.ts +14 -0
- package/dist/ui/sheet.d.ts.map +1 -0
- package/dist/ui/skeleton.d.ts +4 -0
- package/dist/ui/skeleton.d.ts.map +1 -0
- package/dist/ui/sonner.d.ts +4 -0
- package/dist/ui/sonner.d.ts.map +1 -0
- package/dist/ui/spinner.d.ts +6 -0
- package/dist/ui/spinner.d.ts.map +1 -0
- package/dist/ui/stepper.d.ts +16 -0
- package/dist/ui/stepper.d.ts.map +1 -0
- package/dist/ui/switch.d.ts +5 -0
- package/dist/ui/switch.d.ts.map +1 -0
- package/dist/ui/table.d.ts +27 -0
- package/dist/ui/table.d.ts.map +1 -0
- package/dist/ui/tabs.d.ts +8 -0
- package/dist/ui/tabs.d.ts.map +1 -0
- package/dist/ui/textarea.d.ts +7 -0
- package/dist/ui/textarea.d.ts.map +1 -0
- package/dist/ui/tooltip.d.ts +13 -0
- package/dist/ui/tooltip.d.ts.map +1 -0
- package/dist/ui.d.ts +2 -0
- package/dist/utils/cn.d.ts +15 -0
- package/dist/utils/cn.d.ts.map +1 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,41 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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,Y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@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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,3 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,3 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,3 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,3 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,3 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,3 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,3 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,3 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
}
|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AgB,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"}
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import { ComponentType, LazyExoticComponent } from 'react';
|
|
2
|
+
import { Disposable, DisposableCollection } from './disposable';
|
|
3
|
+
import { CoreEventMap } from './event-bus';
|
|
4
|
+
import { NavItem } from '../hooks/shell/useNavRegistry';
|
|
5
|
+
import { FooterItem } from '../hooks/shell/useFooterRegistry';
|
|
6
|
+
export type ActivationEvent = {
|
|
7
|
+
type: 'eager';
|
|
8
|
+
} | {
|
|
9
|
+
type: 'onRoute';
|
|
10
|
+
pattern: string;
|
|
11
|
+
} | {
|
|
12
|
+
type: 'onCommand';
|
|
13
|
+
commandId: string;
|
|
14
|
+
} | {
|
|
15
|
+
type: 'onEvent';
|
|
16
|
+
eventType: string;
|
|
17
|
+
};
|
|
18
|
+
export interface ExtensionPointDeclaration {
|
|
19
|
+
id: string;
|
|
20
|
+
description?: string;
|
|
21
|
+
}
|
|
22
|
+
/** Base fields shared by all contribution items. */
|
|
23
|
+
export interface ContributionBase {
|
|
24
|
+
id: string;
|
|
25
|
+
pluginId: string;
|
|
26
|
+
order?: number;
|
|
27
|
+
visible?: boolean;
|
|
28
|
+
}
|
|
29
|
+
/** Navigation item contribution (extends existing NavItem). */
|
|
30
|
+
export type NavContribution = NavItem & {
|
|
31
|
+
pluginId: string;
|
|
32
|
+
};
|
|
33
|
+
/** Footer item contribution (extends existing FooterItem). */
|
|
34
|
+
export type FooterContribution = FooterItem & {
|
|
35
|
+
pluginId: string;
|
|
36
|
+
};
|
|
37
|
+
/** Command palette command contribution. */
|
|
38
|
+
export interface CommandContribution extends ContributionBase {
|
|
39
|
+
label: string;
|
|
40
|
+
description?: string;
|
|
41
|
+
icon?: ComponentType<{
|
|
42
|
+
className?: string;
|
|
43
|
+
}>;
|
|
44
|
+
keywords?: string[];
|
|
45
|
+
shortcut?: string;
|
|
46
|
+
section?: string;
|
|
47
|
+
/** Context expression for when this command is available, e.g. "route:/vibecontrols/*" */
|
|
48
|
+
when?: string;
|
|
49
|
+
execute: () => void | Promise<void>;
|
|
50
|
+
}
|
|
51
|
+
/** Route contribution — plugin-owned page. */
|
|
52
|
+
export interface RouteContribution extends ContributionBase {
|
|
53
|
+
path: string;
|
|
54
|
+
component: LazyExoticComponent<ComponentType<unknown>> | ComponentType<unknown>;
|
|
55
|
+
/** Which API gateway this route's data comes from. */
|
|
56
|
+
gateway?: 'workspace' | 'global';
|
|
57
|
+
/** Layout mode for the route. */
|
|
58
|
+
layout?: 'default' | 'full' | 'none';
|
|
59
|
+
}
|
|
60
|
+
/** Panel props passed to panel components. */
|
|
61
|
+
export interface PanelProps {
|
|
62
|
+
panelId: string;
|
|
63
|
+
visible: boolean;
|
|
64
|
+
onClose: () => void;
|
|
65
|
+
}
|
|
66
|
+
/** Panel/view contribution. */
|
|
67
|
+
export interface PanelContribution extends ContributionBase {
|
|
68
|
+
title: string;
|
|
69
|
+
icon?: ComponentType<{
|
|
70
|
+
className?: string;
|
|
71
|
+
}>;
|
|
72
|
+
position: 'bottom' | 'left' | 'right';
|
|
73
|
+
component: ComponentType<PanelProps>;
|
|
74
|
+
/** Default size in pixels. */
|
|
75
|
+
defaultSize?: number;
|
|
76
|
+
minSize?: number;
|
|
77
|
+
maxSize?: number;
|
|
78
|
+
defaultVisible?: boolean;
|
|
79
|
+
}
|
|
80
|
+
/** Status bar item contribution. */
|
|
81
|
+
export interface StatusBarContribution extends ContributionBase {
|
|
82
|
+
section: 'left' | 'center' | 'right';
|
|
83
|
+
priority: number;
|
|
84
|
+
component: ComponentType<Record<string, never>>;
|
|
85
|
+
tooltip?: string;
|
|
86
|
+
onClick?: () => void;
|
|
87
|
+
}
|
|
88
|
+
/** Settings page/section contribution. */
|
|
89
|
+
export interface SettingsContribution extends ContributionBase {
|
|
90
|
+
category: string;
|
|
91
|
+
label: string;
|
|
92
|
+
icon?: ComponentType<{
|
|
93
|
+
className?: string;
|
|
94
|
+
}>;
|
|
95
|
+
component: ComponentType<Record<string, never>>;
|
|
96
|
+
}
|
|
97
|
+
/** Dashboard widget contribution. */
|
|
98
|
+
export interface WidgetContribution extends ContributionBase {
|
|
99
|
+
title: string;
|
|
100
|
+
description?: string;
|
|
101
|
+
icon?: ComponentType<{
|
|
102
|
+
className?: string;
|
|
103
|
+
}>;
|
|
104
|
+
component: ComponentType<{
|
|
105
|
+
widgetId: string;
|
|
106
|
+
}>;
|
|
107
|
+
defaultSize: {
|
|
108
|
+
cols: number;
|
|
109
|
+
rows: number;
|
|
110
|
+
};
|
|
111
|
+
minSize?: {
|
|
112
|
+
cols: number;
|
|
113
|
+
rows: number;
|
|
114
|
+
};
|
|
115
|
+
maxSize?: {
|
|
116
|
+
cols: number;
|
|
117
|
+
rows: number;
|
|
118
|
+
};
|
|
119
|
+
category?: string;
|
|
120
|
+
}
|
|
121
|
+
/** Header toolbar item contribution. */
|
|
122
|
+
export interface ToolbarContribution extends ContributionBase {
|
|
123
|
+
position: 'left' | 'center' | 'right';
|
|
124
|
+
component: ComponentType<Record<string, never>>;
|
|
125
|
+
tooltip?: string;
|
|
126
|
+
}
|
|
127
|
+
/** Context menu item. */
|
|
128
|
+
export interface ContextMenuItem {
|
|
129
|
+
id: string;
|
|
130
|
+
label: string;
|
|
131
|
+
icon?: ComponentType<{
|
|
132
|
+
className?: string;
|
|
133
|
+
}>;
|
|
134
|
+
shortcut?: string;
|
|
135
|
+
disabled?: boolean;
|
|
136
|
+
execute: () => void;
|
|
137
|
+
}
|
|
138
|
+
/** Context menu contribution. */
|
|
139
|
+
export interface ContextMenuContribution extends ContributionBase {
|
|
140
|
+
/** Target element/zone this menu attaches to. */
|
|
141
|
+
target: string;
|
|
142
|
+
items: ContextMenuItem[];
|
|
143
|
+
}
|
|
144
|
+
export interface PluginContributions {
|
|
145
|
+
nav?: NavContribution[];
|
|
146
|
+
footer?: FooterContribution[];
|
|
147
|
+
commands?: CommandContribution[];
|
|
148
|
+
routes?: RouteContribution[];
|
|
149
|
+
panels?: PanelContribution[];
|
|
150
|
+
statusBar?: StatusBarContribution[];
|
|
151
|
+
settings?: SettingsContribution[];
|
|
152
|
+
widgets?: WidgetContribution[];
|
|
153
|
+
toolbar?: ToolbarContribution[];
|
|
154
|
+
contextMenus?: ContextMenuContribution[];
|
|
155
|
+
}
|
|
156
|
+
export interface UIPluginManifest {
|
|
157
|
+
id: string;
|
|
158
|
+
name: string;
|
|
159
|
+
version: string;
|
|
160
|
+
description?: string;
|
|
161
|
+
dependencies?: string[];
|
|
162
|
+
activationEvents?: ActivationEvent[];
|
|
163
|
+
contributes?: PluginContributions;
|
|
164
|
+
extensionPoints?: ExtensionPointDeclaration[];
|
|
165
|
+
}
|
|
166
|
+
export interface RegistryAPI<T extends ContributionBase> {
|
|
167
|
+
register(item: T): Disposable;
|
|
168
|
+
unregister(id: string): void;
|
|
169
|
+
getAll(): T[];
|
|
170
|
+
getByPlugin(pluginId: string): T[];
|
|
171
|
+
}
|
|
172
|
+
export type ToastType = 'info' | 'success' | 'warning' | 'error';
|
|
173
|
+
export interface PluginContext {
|
|
174
|
+
pluginId: string;
|
|
175
|
+
nav: {
|
|
176
|
+
register(items: NavContribution | NavContribution[]): Disposable;
|
|
177
|
+
unregister(id: string): void;
|
|
178
|
+
};
|
|
179
|
+
footer: {
|
|
180
|
+
register(items: FooterContribution | FooterContribution[]): Disposable;
|
|
181
|
+
unregister(id: string): void;
|
|
182
|
+
};
|
|
183
|
+
commands: RegistryAPI<CommandContribution>;
|
|
184
|
+
routes: RegistryAPI<RouteContribution>;
|
|
185
|
+
panels: RegistryAPI<PanelContribution>;
|
|
186
|
+
statusBar: RegistryAPI<StatusBarContribution>;
|
|
187
|
+
settings: RegistryAPI<SettingsContribution>;
|
|
188
|
+
widgets: RegistryAPI<WidgetContribution>;
|
|
189
|
+
toolbar: RegistryAPI<ToolbarContribution>;
|
|
190
|
+
contextMenus: RegistryAPI<ContextMenuContribution>;
|
|
191
|
+
events: {
|
|
192
|
+
on<K extends keyof CoreEventMap & string>(event: K, handler: (payload: CoreEventMap[K]) => void): Disposable;
|
|
193
|
+
on(event: string, handler: (payload: unknown) => void): Disposable;
|
|
194
|
+
once<K extends keyof CoreEventMap & string>(event: K, handler: (payload: CoreEventMap[K]) => void): Disposable;
|
|
195
|
+
once(event: string, handler: (payload: unknown) => void): Disposable;
|
|
196
|
+
emit<K extends keyof CoreEventMap & string>(event: K, payload: CoreEventMap[K]): void;
|
|
197
|
+
emit(event: string, payload: unknown): void;
|
|
198
|
+
};
|
|
199
|
+
subscriptions: DisposableCollection;
|
|
200
|
+
shell: {
|
|
201
|
+
navigate(path: string): void;
|
|
202
|
+
showToast(message: string, type?: ToastType): void;
|
|
203
|
+
getActiveContext(): {
|
|
204
|
+
workspaceId?: string;
|
|
205
|
+
tenantId?: string;
|
|
206
|
+
projectId?: string;
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* Returns the active user identity. Bearer tokens are intentionally
|
|
210
|
+
* redacted (`token` is always `undefined`) — plugins must use shell
|
|
211
|
+
* gateway clients for authenticated requests, not read tokens here.
|
|
212
|
+
*/
|
|
213
|
+
getAuth(): {
|
|
214
|
+
user?: unknown;
|
|
215
|
+
token?: undefined;
|
|
216
|
+
};
|
|
217
|
+
getTheme(): {
|
|
218
|
+
colorMode: 'light' | 'dark';
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
}
|
|
222
|
+
export interface UIPlugin {
|
|
223
|
+
manifest: UIPluginManifest;
|
|
224
|
+
activate(context: PluginContext): void | Promise<void>;
|
|
225
|
+
deactivate?(): void | Promise<void>;
|
|
226
|
+
}
|
|
227
|
+
export type PluginStatus = 'pending' | 'activating' | 'active' | 'error';
|
|
228
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/shared/plugins/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAMnE,MAAM,MAAM,eAAe,GACvB;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,GACjB;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GACpC;IAAE,IAAI,EAAE,WAAW,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,GACxC;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC;AAM3C,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAMD,oDAAoD;AACpD,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,+DAA+D;AAC/D,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG;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AAC;IAGF,aAAa,EAAE,oBAAoB,CAAC;IAGpC,KAAK,EAAE;QACL,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QAC7B,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;QACnD,gBAAgB,IAAI;YAClB,WAAW,CAAC,EAAE,MAAM,CAAC;YACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,SAAS,CAAC,EAAE,MAAM,CAAC;SACpB,CAAC;QACF;;;;WAIG;QACH,OAAO,IAAI;YAAE,IAAI,CAAC,EAAE,OAAO,CAAC;YAAC,KAAK,CAAC,EAAE,SAAS,CAAA;SAAE,CAAC;QACjD,QAAQ,IAAI;YAAE,SAAS,EAAE,OAAO,GAAG,MAAM,CAAA;SAAE,CAAC;KAC7C,CAAC;CACH;AAMD,MAAM,WAAW,QAAQ;IACvB,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACvD,UAAU,CAAC,IAAI,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACrC;AAMD,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,YAAY,GAAG,QAAQ,GAAG,OAAO,CAAC"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { Brand } from './shell/ThemeProvider';
|
|
3
|
+
import { TranslationDictionary } from './shell/I18nProvider';
|
|
4
|
+
import { BurdenoffEventName } from '../events';
|
|
5
|
+
export interface AppShellConfig {
|
|
6
|
+
/** Product display name (e.g., "VibeControls", "FluidGrids") */
|
|
7
|
+
productName: string;
|
|
8
|
+
/** Product slug (e.g., "vibecontrols", "fluidgrids") */
|
|
9
|
+
productSlug?: string;
|
|
10
|
+
/** Product tagline */
|
|
11
|
+
tagline?: string;
|
|
12
|
+
/** Product domain (e.g., "vibecontrols.com") */
|
|
13
|
+
domain?: string;
|
|
14
|
+
/** Product ID for i18n translations service */
|
|
15
|
+
i18nProductId: string;
|
|
16
|
+
/** Resolved gateway URLs */
|
|
17
|
+
gatewayUrls: {
|
|
18
|
+
workspaceBaseUrl: string;
|
|
19
|
+
globalBaseUrl: string;
|
|
20
|
+
};
|
|
21
|
+
/** Auth bridge configuration */
|
|
22
|
+
authBridge?: {
|
|
23
|
+
url?: string;
|
|
24
|
+
allowedOrigins?: string;
|
|
25
|
+
debug?: boolean;
|
|
26
|
+
};
|
|
27
|
+
/** Default theme brand */
|
|
28
|
+
defaultBrand?: Brand;
|
|
29
|
+
/** Enable PWA install banner */
|
|
30
|
+
enablePWA?: boolean;
|
|
31
|
+
/** Brand initial for PWA banner icon */
|
|
32
|
+
brandInitial?: string;
|
|
33
|
+
/** Default gateway for top-level ApolloProvider */
|
|
34
|
+
defaultGateway?: "workspace" | "global";
|
|
35
|
+
/** Enable GraphQL subscriptions */
|
|
36
|
+
enableSubscriptions?: boolean;
|
|
37
|
+
/** Static fallback translations (keyed by locale) */
|
|
38
|
+
fallbackTranslations?: Record<string, TranslationDictionary>;
|
|
39
|
+
/** QueryClient options override */
|
|
40
|
+
queryClientOptions?: {
|
|
41
|
+
staleTime?: number;
|
|
42
|
+
retry?: number | false;
|
|
43
|
+
refetchOnWindowFocus?: boolean;
|
|
44
|
+
};
|
|
45
|
+
/** Toaster position */
|
|
46
|
+
toasterPosition?: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
|
|
47
|
+
/** Frontend telemetry sinks. MFEs emit to the shell event bus only. */
|
|
48
|
+
observability?: AppShellObservabilityConfig;
|
|
49
|
+
}
|
|
50
|
+
export interface AppShellObservabilityConfig {
|
|
51
|
+
enabled?: boolean;
|
|
52
|
+
appVersion?: string;
|
|
53
|
+
appEnv?: "dev" | "alpha" | "prod";
|
|
54
|
+
devtools?: boolean;
|
|
55
|
+
broadcast?: boolean;
|
|
56
|
+
rybbit?: {
|
|
57
|
+
enabled?: boolean;
|
|
58
|
+
siteId?: string;
|
|
59
|
+
scriptUrl?: string;
|
|
60
|
+
allowlist?: BurdenoffEventName[];
|
|
61
|
+
identifyOn?: BurdenoffEventName;
|
|
62
|
+
rename?: Partial<Record<BurdenoffEventName, string>>;
|
|
63
|
+
};
|
|
64
|
+
otel?: {
|
|
65
|
+
enabled?: boolean;
|
|
66
|
+
endpoint?: string;
|
|
67
|
+
serviceName?: string;
|
|
68
|
+
flushInterval?: number;
|
|
69
|
+
};
|
|
70
|
+
backendAudit?: {
|
|
71
|
+
enabled?: boolean;
|
|
72
|
+
endpoint?: string;
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
export interface AppShellObservabilityEnv {
|
|
76
|
+
DEV?: boolean;
|
|
77
|
+
PROD?: boolean;
|
|
78
|
+
MODE?: string;
|
|
79
|
+
VITE_DEPLOY_ENV?: string;
|
|
80
|
+
VITE_APP_VERSION?: string;
|
|
81
|
+
VITE_ENABLE_ANALYTICS?: string;
|
|
82
|
+
VITE_DISABLE_ANALYTICS?: string;
|
|
83
|
+
VITE_RYBBIT_SITE_ID?: string;
|
|
84
|
+
VITE_RYBBIT_SCRIPT_URL?: string;
|
|
85
|
+
VITE_OTEL_HTTP_ENDPOINT?: string;
|
|
86
|
+
VITE_BACKEND_AUDIT_ENDPOINT?: string;
|
|
87
|
+
}
|
|
88
|
+
export declare function resolveAppShellObservabilityConfig(productSlug: string, env: AppShellObservabilityEnv): AppShellObservabilityConfig;
|
|
89
|
+
export interface AppShellProviderProps {
|
|
90
|
+
config: AppShellConfig;
|
|
91
|
+
children: ReactNode;
|
|
92
|
+
/** Optional callback to clear external auth stores (e.g., microfe-auth's zustand store) */
|
|
93
|
+
clearAuthStore?: () => void;
|
|
94
|
+
}
|
|
95
|
+
export declare function AppShellProvider({ config, children, clearAuthStore, }: AppShellProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
96
|
+
//# sourceMappingURL=AppShellProvider.d.ts.map
|