@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,122 @@
|
|
|
1
|
+
import { ApolloClient, InMemoryCache } from '@apollo/client/core';
|
|
2
|
+
import { Gateway } from '../config';
|
|
3
|
+
/**
|
|
4
|
+
* Check if the network circuit breaker is currently open (backend unreachable).
|
|
5
|
+
* Useful for showing "backend offline" banners in the UI.
|
|
6
|
+
*/
|
|
7
|
+
export declare function isNetworkCircuitOpen(): boolean;
|
|
8
|
+
export type { Gateway } from '../config';
|
|
9
|
+
export interface CreateClientOptions {
|
|
10
|
+
/** Gateway type: 'workspace' or 'global' */
|
|
11
|
+
gateway: Gateway;
|
|
12
|
+
/** Optional base URL override (defaults to gateway's defaultBaseUrl) */
|
|
13
|
+
baseUrl?: string;
|
|
14
|
+
/** Authorization token or token getter function */
|
|
15
|
+
authToken?: string | (() => string | null);
|
|
16
|
+
/** Workspace token or getter for X-Workspace-Authorization header (workspace gateway only) */
|
|
17
|
+
workspaceToken?: string | (() => string | null);
|
|
18
|
+
/** Locale code or getter function for Accept-Language header */
|
|
19
|
+
locale?: string | (() => string | null);
|
|
20
|
+
/** Geography getter for x-geo-* headers (country, currency, timezone) */
|
|
21
|
+
geography?: () => {
|
|
22
|
+
country?: string;
|
|
23
|
+
currency?: string;
|
|
24
|
+
timezone?: string;
|
|
25
|
+
} | null;
|
|
26
|
+
/** Organization ID or getter function for x-org-id header (global gateway) */
|
|
27
|
+
organizationId?: string | (() => string | null);
|
|
28
|
+
/** Product ID or getter function for x-product-id header (for product-level isolation) */
|
|
29
|
+
productId?: string | (() => string | null);
|
|
30
|
+
/** Workspace ID or getter function for x-workspace-id header (workspace context) */
|
|
31
|
+
workspaceId?: string | (() => string | null);
|
|
32
|
+
/** Tenant ID or getter function for x-tenant-id header (tenant context) */
|
|
33
|
+
tenantId?: string | (() => string | null);
|
|
34
|
+
/** Optional cache instance for sharing between clients */
|
|
35
|
+
cache?: InMemoryCache;
|
|
36
|
+
/** Enable SSE subscriptions */
|
|
37
|
+
enableSubscriptions?: boolean;
|
|
38
|
+
/** SSE endpoint URL override (defaults to gateway's sse path) */
|
|
39
|
+
sseUrl?: string;
|
|
40
|
+
/** Callback when authentication error occurs */
|
|
41
|
+
onAuthError?: () => void;
|
|
42
|
+
/**
|
|
43
|
+
* Callback to attempt token refresh when a 401/UNAUTHENTICATED error occurs.
|
|
44
|
+
* If provided, the ErrorLink will call this before invoking onAuthError,
|
|
45
|
+
* and will retry the failed operation with the new token on success.
|
|
46
|
+
* Should return `true` if refresh succeeded (token updated in storage),
|
|
47
|
+
* or `false` if refresh failed (triggers onAuthError).
|
|
48
|
+
*/
|
|
49
|
+
onRefreshToken?: () => Promise<boolean>;
|
|
50
|
+
/** Callback when network error occurs */
|
|
51
|
+
onNetworkError?: (error: Error) => void;
|
|
52
|
+
/** Callback when network status changes (circuit breaker open/closed) */
|
|
53
|
+
onNetworkStatusChange?: (isOffline: boolean) => void;
|
|
54
|
+
/** Maximum retry attempts for failed requests (default: 3) */
|
|
55
|
+
maxRetryAttempts?: number;
|
|
56
|
+
/**
|
|
57
|
+
* Maximum number of operations to batch together (default: 10).
|
|
58
|
+
* Set to 1 to disable batching.
|
|
59
|
+
*/
|
|
60
|
+
batchMax?: number;
|
|
61
|
+
/**
|
|
62
|
+
* Time window (ms) to collect operations before sending a batch.
|
|
63
|
+
* Defaults to a longer page-load burst window and a shorter steady-state window.
|
|
64
|
+
*/
|
|
65
|
+
batchInterval?: number;
|
|
66
|
+
/** Enable debug logging */
|
|
67
|
+
debug?: boolean;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Creates an Apollo Client configured for a Burdenoff gateway
|
|
71
|
+
*
|
|
72
|
+
* @example Basic usage
|
|
73
|
+
* ```ts
|
|
74
|
+
* // Workspace gateway client
|
|
75
|
+
* const workspaceClient = createGraphQLClient({
|
|
76
|
+
* gateway: 'workspace',
|
|
77
|
+
* authToken: 'your-jwt-token',
|
|
78
|
+
* });
|
|
79
|
+
*
|
|
80
|
+
* // Global gateway client
|
|
81
|
+
* const globalClient = createGraphQLClient({
|
|
82
|
+
* gateway: 'global',
|
|
83
|
+
* authToken: () => localStorage.getItem('token'),
|
|
84
|
+
* });
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
87
|
+
* @example With subscriptions
|
|
88
|
+
* ```ts
|
|
89
|
+
* const client = createGraphQLClient({
|
|
90
|
+
* gateway: 'workspace',
|
|
91
|
+
* authToken: token,
|
|
92
|
+
* enableSubscriptions: true,
|
|
93
|
+
* });
|
|
94
|
+
* ```
|
|
95
|
+
*/
|
|
96
|
+
export declare function createGraphQLClient(options: CreateClientOptions): ApolloClient;
|
|
97
|
+
export interface AppClientConfig {
|
|
98
|
+
workspaceBaseUrl?: string;
|
|
99
|
+
globalBaseUrl?: string;
|
|
100
|
+
authToken?: string | (() => string | null);
|
|
101
|
+
enableSubscriptions?: boolean;
|
|
102
|
+
onAuthError?: () => void;
|
|
103
|
+
debug?: boolean;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Initialize app-level Apollo clients
|
|
107
|
+
* Call this once during app initialization
|
|
108
|
+
*/
|
|
109
|
+
export declare function initializeAppClients(config: AppClientConfig): void;
|
|
110
|
+
/**
|
|
111
|
+
* Get the workspace gateway Apollo client
|
|
112
|
+
*/
|
|
113
|
+
export declare function getWorkspaceClient(): ApolloClient;
|
|
114
|
+
/**
|
|
115
|
+
* Get the global gateway Apollo client
|
|
116
|
+
*/
|
|
117
|
+
export declare function getGlobalClient(): ApolloClient;
|
|
118
|
+
/**
|
|
119
|
+
* Reset all singleton clients (useful for logout or testing)
|
|
120
|
+
*/
|
|
121
|
+
export declare function resetAppClients(): void;
|
|
122
|
+
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/shared/graphql/client.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { Gateway } from '../config';
|
|
2
|
+
export interface GraphQLFetchOptions {
|
|
3
|
+
/** Gateway to target */
|
|
4
|
+
gateway: Gateway;
|
|
5
|
+
/** GraphQL query / mutation string */
|
|
6
|
+
query: string;
|
|
7
|
+
/** Variables for the operation */
|
|
8
|
+
variables?: Record<string, unknown>;
|
|
9
|
+
/** Operation name (optional, helps with debugging) */
|
|
10
|
+
operationName?: string;
|
|
11
|
+
/** Override auth token (if not provided, reads from profile storage) */
|
|
12
|
+
authToken?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Include workspace token in X-Workspace-Authorization header.
|
|
15
|
+
* For `gateway: "workspace"`, this defaults to `true` (auto-attach) unless explicitly set to `false`.
|
|
16
|
+
* Pass `true` to auto-read from profile storage, or pass the token string directly.
|
|
17
|
+
*/
|
|
18
|
+
workspaceToken?: boolean | string;
|
|
19
|
+
/**
|
|
20
|
+
* Include workspace ID in x-workspace-id header.
|
|
21
|
+
* Pass `true` to auto-read from profile context storage, or pass the workspace ID string directly.
|
|
22
|
+
* This is the "context workspace" - the user's current working context.
|
|
23
|
+
* For "target workspace" (e.g., viewing a specific workspace), use GraphQL arguments instead.
|
|
24
|
+
*/
|
|
25
|
+
workspaceId?: boolean | string;
|
|
26
|
+
/**
|
|
27
|
+
* Include organization ID in x-org-id header.
|
|
28
|
+
* Pass `true` to auto-read from profile context storage, or pass the org ID string directly.
|
|
29
|
+
*/
|
|
30
|
+
organizationId?: boolean | string;
|
|
31
|
+
/**
|
|
32
|
+
* Include tenant ID in x-tenant-id header.
|
|
33
|
+
* Pass `true` to auto-read from profile context storage, or pass the tenant ID string directly.
|
|
34
|
+
*/
|
|
35
|
+
tenantId?: boolean | string;
|
|
36
|
+
/** Override locale (if not provided, reads from profile storage) */
|
|
37
|
+
locale?: string;
|
|
38
|
+
/** Override base URL (if not provided, reads from GATEWAYS config) */
|
|
39
|
+
baseUrl?: string;
|
|
40
|
+
/** Additional headers to merge (overrides auto-detected values) */
|
|
41
|
+
extraHeaders?: Record<string, string>;
|
|
42
|
+
/** AbortSignal for cancellation */
|
|
43
|
+
signal?: AbortSignal;
|
|
44
|
+
}
|
|
45
|
+
export interface GraphQLResponse<T = unknown> {
|
|
46
|
+
data: T | null;
|
|
47
|
+
errors?: Array<{
|
|
48
|
+
message: string;
|
|
49
|
+
locations?: Array<{
|
|
50
|
+
line: number;
|
|
51
|
+
column: number;
|
|
52
|
+
}>;
|
|
53
|
+
path?: Array<string | number>;
|
|
54
|
+
extensions?: Record<string, unknown>;
|
|
55
|
+
}>;
|
|
56
|
+
}
|
|
57
|
+
/** Read the active profile's access token from profile-scoped storage */
|
|
58
|
+
export declare function getStoredAuthToken(): string | null;
|
|
59
|
+
/** Read the active profile's workspace token from profile-scoped storage */
|
|
60
|
+
export declare function getStoredWorkspaceToken(): string | null;
|
|
61
|
+
/** Read the active profile's geography from profile-scoped storage */
|
|
62
|
+
export declare function getStoredGeography(): {
|
|
63
|
+
country?: string;
|
|
64
|
+
currency?: string;
|
|
65
|
+
timezone?: string;
|
|
66
|
+
} | null;
|
|
67
|
+
/** Read the active profile's locale from profile-scoped storage */
|
|
68
|
+
export declare function getStoredLocale(): string;
|
|
69
|
+
/** Read the active profile's context (workspaceId, organizationId, tenantId, projectId) from profile-scoped storage */
|
|
70
|
+
export declare function getStoredContext(): {
|
|
71
|
+
workspaceId?: string;
|
|
72
|
+
organizationId?: string;
|
|
73
|
+
tenantId?: string;
|
|
74
|
+
projectId?: string;
|
|
75
|
+
} | null;
|
|
76
|
+
/** Read the active profile's workspace ID.
|
|
77
|
+
* Reads from profile-scoped context (bf-p-{profileId}-context) which
|
|
78
|
+
* ActiveContextProvider now writes to on every setWorkspace() call and on init.
|
|
79
|
+
* Falls back to the ?workspace= URL param for page loads where the context
|
|
80
|
+
* hasn't been hydrated yet (mirrors MultiGatewayProvider.getWorkspaceId). */
|
|
81
|
+
export declare function getStoredWorkspaceId(): string | null;
|
|
82
|
+
/** Read the active profile's organization ID from profile context storage */
|
|
83
|
+
export declare function getStoredOrganizationId(): string | null;
|
|
84
|
+
/** Read the active profile's tenant ID from profile context storage */
|
|
85
|
+
export declare function getStoredTenantId(): string | null;
|
|
86
|
+
/** Resolve full gateway GraphQL URL */
|
|
87
|
+
export declare function resolveGatewayUrl(gateway: Gateway, baseUrl?: string): string;
|
|
88
|
+
export interface EnqueueGraphQLFetchOptions {
|
|
89
|
+
batchMax?: number;
|
|
90
|
+
batchInterval?: number;
|
|
91
|
+
}
|
|
92
|
+
export declare function enqueueGraphQLFetch(url: string, headers: Record<string, string>, body: Record<string, unknown>, signal?: AbortSignal, options?: EnqueueGraphQLFetchOptions): Promise<unknown>;
|
|
93
|
+
/**
|
|
94
|
+
* Make a GraphQL request with automatic auth + locale headers.
|
|
95
|
+
*
|
|
96
|
+
* @example Basic query (global gateway)
|
|
97
|
+
* ```ts
|
|
98
|
+
* const result = await graphqlFetch<{ myWorkspaces: Workspace[] }>({
|
|
99
|
+
* gateway: 'global',
|
|
100
|
+
* query: `query { myWorkspaces { id name } }`,
|
|
101
|
+
* });
|
|
102
|
+
* ```
|
|
103
|
+
*
|
|
104
|
+
* @example Workspace query with context headers (auto-read from storage)
|
|
105
|
+
* ```ts
|
|
106
|
+
* const result = await graphqlFetch<{ workspaceResources: Resource[] }>({
|
|
107
|
+
* gateway: 'workspace',
|
|
108
|
+
* query: WORKSPACE_RESOURCES_QUERY,
|
|
109
|
+
* workspaceId: true, // auto-reads from profile context storage -> x-workspace-id header
|
|
110
|
+
* });
|
|
111
|
+
* ```
|
|
112
|
+
*
|
|
113
|
+
* @example Workspace query with explicit workspace ID
|
|
114
|
+
* ```ts
|
|
115
|
+
* const result = await graphqlFetch<{ workspaceMembers: MemberList }>({
|
|
116
|
+
* gateway: 'workspace',
|
|
117
|
+
* query: WORKSPACE_MEMBERS_QUERY,
|
|
118
|
+
* variables: { workspaceId: targetWorkspaceId }, // Target workspace in arguments
|
|
119
|
+
* workspaceId: contextWorkspaceId, // Context workspace in header (for RBAC)
|
|
120
|
+
* });
|
|
121
|
+
* ```
|
|
122
|
+
*
|
|
123
|
+
* @example With explicit tokens (e.g. right after login, before storage is updated)
|
|
124
|
+
* ```ts
|
|
125
|
+
* const result = await graphqlFetch({
|
|
126
|
+
* gateway: 'global',
|
|
127
|
+
* query: MY_WORKSPACES_QUERY,
|
|
128
|
+
* authToken: freshAccessToken,
|
|
129
|
+
* });
|
|
130
|
+
* ```
|
|
131
|
+
*/
|
|
132
|
+
export declare function graphqlFetch<T = unknown>(options: GraphQLFetchOptions): Promise<GraphQLResponse<T>>;
|
|
133
|
+
//# sourceMappingURL=fetch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../src/shared/graphql/fetch.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { createGraphQLClient, initializeAppClients, getWorkspaceClient, getGlobalClient, resetAppClients, type CreateClientOptions, type AppClientConfig, type Gateway, } from './client';
|
|
2
|
+
export { GatewayProvider, useGateway, useGatewayClient, useSafeGateway, useSafeGatewayClient, type GatewayContextValue, type GatewayProviderProps, } from './GatewayContext';
|
|
3
|
+
export { graphqlFetch, getStoredAuthToken, getStoredWorkspaceToken, getStoredWorkspaceId, getStoredLocale, getStoredOrganizationId, resolveGatewayUrl, type GraphQLFetchOptions, type GraphQLResponse, } from './fetch';
|
|
4
|
+
export { getWorkspaceTokenPayload, isWorkspaceTokenValidForContext, type WorkspaceTokenContext, type WorkspaceTokenPayload, } from './workspaceToken';
|
|
5
|
+
export { SSELink, type SSELinkOptions } from './links/sse-link';
|
|
6
|
+
export { ApolloClient, InMemoryCache, type NormalizedCacheObject } from '@apollo/client/core';
|
|
7
|
+
export { ApolloProvider, useQuery, useMutation, useLazyQuery, useSubscription, useApolloClient, } from '@apollo/client/react';
|
|
8
|
+
export { gql } from '@apollo/client/core';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/graphql/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAClB,eAAe,EACf,eAAe,EACf,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,OAAO,GACb,MAAM,UAAU,CAAC;AAGlB,OAAO,EACL,eAAe,EACf,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,uBAAuB,EACvB,oBAAoB,EACpB,eAAe,EACf,uBAAuB,EACvB,iBAAiB,EACjB,KAAK,mBAAmB,EACxB,KAAK,eAAe,GACrB,MAAM,SAAS,CAAC;AAEjB,OAAO,EACL,wBAAwB,EACxB,+BAA+B,EAC/B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAIhE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,KAAK,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE9F,OAAO,EACL,cAAc,EACd,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,eAAe,EACf,eAAe,GAChB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ApolloLink, Observable, FetchResult, Operation } from '@apollo/client/core';
|
|
2
|
+
export interface SSELinkOptions {
|
|
3
|
+
/** SSE endpoint URL */
|
|
4
|
+
url: string;
|
|
5
|
+
/** Optional headers to include with requests */
|
|
6
|
+
headers?: Record<string, string>;
|
|
7
|
+
/** Enable debug logging */
|
|
8
|
+
debug?: boolean;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* SSE Link for GraphQL Yoga subscriptions
|
|
12
|
+
*
|
|
13
|
+
* GraphQL Yoga uses Server-Sent Events (SSE) for subscriptions over HTTP.
|
|
14
|
+
* This is more compatible with serverless and edge deployments than WebSockets.
|
|
15
|
+
*
|
|
16
|
+
* SSE Format:
|
|
17
|
+
* - event: next\ndata: {...}\n\n - Subscription data
|
|
18
|
+
* - event: complete\n\n - Subscription ended
|
|
19
|
+
* - event: error\ndata: {...}\n\n - Error occurred
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* import { SSELink } from '@burdenoff/fe-libs/shared/graphql/links/sse-link';
|
|
24
|
+
*
|
|
25
|
+
* const sseLink = new SSELink({
|
|
26
|
+
* url: 'https://gw-wspace.local.burdenoff.com/workspaces/graphql/stream',
|
|
27
|
+
* headers: {
|
|
28
|
+
* authorization: `Bearer ${token}`,
|
|
29
|
+
* },
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export declare class SSELink extends ApolloLink {
|
|
34
|
+
private url;
|
|
35
|
+
private headers;
|
|
36
|
+
private debug;
|
|
37
|
+
constructor(options: SSELinkOptions);
|
|
38
|
+
/**
|
|
39
|
+
* Update headers (useful for token refresh)
|
|
40
|
+
*/
|
|
41
|
+
setHeaders(headers: Record<string, string>): void;
|
|
42
|
+
/**
|
|
43
|
+
* Update the authorization header
|
|
44
|
+
*/
|
|
45
|
+
setAuthToken(token: string | null): void;
|
|
46
|
+
request(operation: Operation): Observable<FetchResult>;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=sse-link.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sse-link.d.ts","sourceRoot":"","sources":["../../../../src/shared/graphql/links/sse-link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAGlE,MAAM,WAAW,cAAc;IAC7B,uBAAuB;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,gDAAgD;IAChD,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,2BAA2B;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,qBAAa,OAAQ,SAAQ,UAAU;IACrC,OAAO,CAAC,GAAG,CAAS;IACpB,OAAO,CAAC,OAAO,CAAyB;IACxC,OAAO,CAAC,KAAK,CAAU;gBAEX,OAAO,EAAE,cAAc;IAOnC;;OAEG;IACH,UAAU,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI;IAIjD;;OAEG;IACH,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;IAQxC,OAAO,CAAC,SAAS,EAAE,SAAS,GAAG,UAAU,CAAC,WAAW,CAAC;CAqJvD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type Geography = {
|
|
2
|
+
country?: string;
|
|
3
|
+
currency?: string;
|
|
4
|
+
timezone?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare function getValidAccessTokenFromStorage(tokensRaw: string | null): string | null;
|
|
7
|
+
export declare function sanitizeGeography(input: Geography | null): Geography | null;
|
|
8
|
+
export declare function isSafeRedirectTarget(target: string, baseOrigin?: string): boolean;
|
|
9
|
+
export declare function redirectToSafeLocation(target: string, fallback?: string, baseOrigin?: string): boolean;
|
|
10
|
+
export declare function validateGatewayBaseUrl(value: string): string;
|
|
11
|
+
export declare function sanitizeExtraHeaders(headers?: Record<string, string>): Record<string, string> | undefined;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=security.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"security.d.ts","sourceRoot":"","sources":["../../../src/shared/graphql/security.ts"],"names":[],"mappings":"AAkBA,KAAK,SAAS,GAAG;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAiBF,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAoBtF;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,CA6B3E;AAED,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,MAAM,EACd,UAAU,GAAE,MAA+B,GAC1C,OAAO,CAeT;AAED,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,MAAM,EACd,QAAQ,GAAE,MAAY,EACtB,UAAU,CAAC,EAAE,MAAM,GAClB,OAAO,CAST;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAkB5D;AAED,wBAAgB,oBAAoB,CAClC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAC/B,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,CAMpC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface WorkspaceTokenContext {
|
|
2
|
+
workspaceId?: string | null;
|
|
3
|
+
organizationId?: string | null;
|
|
4
|
+
tenantId?: string | null;
|
|
5
|
+
projectId?: string | null;
|
|
6
|
+
}
|
|
7
|
+
export interface WorkspaceTokenPayload extends WorkspaceTokenContext {
|
|
8
|
+
exp?: number;
|
|
9
|
+
tokenType?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function getWorkspaceTokenPayload(token: string): WorkspaceTokenPayload | null;
|
|
12
|
+
export declare function isWorkspaceTokenValidForContext(token: string | null | undefined, expected: WorkspaceTokenContext, expiryBufferMs?: number): token is string;
|
|
13
|
+
//# sourceMappingURL=workspaceToken.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspaceToken.d.ts","sourceRoot":"","sources":["../../../src/shared/graphql/workspaceToken.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,qBAAsB,SAAQ,qBAAqB;IAClE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAyBD,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,qBAAqB,GAAG,IAAI,CAcpF;AAED,wBAAgB,+BAA+B,CAC7C,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAChC,QAAQ,EAAE,qBAAqB,EAC/B,cAAc,SAAS,GACtB,KAAK,IAAI,MAAM,CA+BjB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export interface HelpButtonProps {
|
|
3
|
+
/** Additional CSS classes */
|
|
4
|
+
className?: string;
|
|
5
|
+
/** Button variant */
|
|
6
|
+
variant?: 'default' | 'ghost' | 'icon';
|
|
7
|
+
/** Show label text */
|
|
8
|
+
showLabel?: boolean;
|
|
9
|
+
/** Label text */
|
|
10
|
+
label?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* HelpButton component
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* // Icon only
|
|
18
|
+
* <HelpButton variant="icon" />
|
|
19
|
+
*
|
|
20
|
+
* // With label
|
|
21
|
+
* <HelpButton showLabel label="Help & Support" />
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare const HelpButton: FC<HelpButtonProps>;
|
|
25
|
+
//# sourceMappingURL=HelpButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HelpButton.d.ts","sourceRoot":"","sources":["../../../src/shared/help/HelpButton.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,MAAM,WAAW,eAAe;IAC9B,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qBAAqB;IACrB,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;IACvC,sBAAsB;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iBAAiB;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAoC1C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HelpPanel.d.ts","sourceRoot":"","sources":["../../../src/shared/help/HelpPanel.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,MAAM,WAAW,cAAc;IAC7B,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAgID;;GAEG;AACH,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,cAAc,CA0QxC,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { HelpContext, HelpContent, HelpTour, SupportTicket } from './types';
|
|
3
|
+
declare const HelpContext: import('react').Context<HelpContext | null>;
|
|
4
|
+
export interface HelpProviderProps {
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
/** Callback when support ticket is submitted */
|
|
7
|
+
onSubmitTicket?: (ticket: SupportTicket) => Promise<void>;
|
|
8
|
+
/** Default articles to include */
|
|
9
|
+
defaultArticles?: HelpContent['articles'];
|
|
10
|
+
/** Default tours to include */
|
|
11
|
+
defaultTours?: HelpContent['tours'];
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* HelpProvider component
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* <HelpProvider onSubmitTicket={async (ticket) => { ... }}>
|
|
19
|
+
* <App />
|
|
20
|
+
* </HelpProvider>
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function HelpProvider({ children, onSubmitTicket, defaultArticles, defaultTours, }: HelpProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
/**
|
|
25
|
+
* Hook to access help context
|
|
26
|
+
*/
|
|
27
|
+
export declare function useHelp(): HelpContext;
|
|
28
|
+
/**
|
|
29
|
+
* Hook to get all articles (with optional filtering)
|
|
30
|
+
*/
|
|
31
|
+
export declare function useHelpArticles(options?: {
|
|
32
|
+
category?: string;
|
|
33
|
+
search?: string;
|
|
34
|
+
}): import('./types').HelpArticle[];
|
|
35
|
+
/**
|
|
36
|
+
* Hook to get all tours (with optional context filtering)
|
|
37
|
+
*/
|
|
38
|
+
export declare function useHelpTours(contextId?: string): HelpTour[];
|
|
39
|
+
export {};
|
|
40
|
+
//# sourceMappingURL=HelpProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HelpProvider.d.ts","sourceRoot":"","sources":["../../../src/shared/help/HelpProvider.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAsD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3F,OAAO,KAAK,EACV,WAAW,EAGX,WAAW,EACX,QAAQ,EACR,aAAa,EACd,MAAM,SAAS,CAAC;AAEjB,QAAA,MAAM,WAAW,6CAA0C,CAAC;AAE5D,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,SAAS,CAAC;IACpB,gDAAgD;IAChD,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1D,kCAAkC;IAClC,eAAe,CAAC,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;IAC1C,+BAA+B;IAC/B,YAAY,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CACrC;AAED;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,cAAc,EACd,eAAoB,EACpB,YAAiB,GAClB,EAAE,iBAAiB,2CA4LnB;AAED;;GAEG;AACH,wBAAgB,OAAO,IAAI,WAAW,CAMrC;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,OAAO,CAAC,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,mCA+B/E;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,SAAS,CAAC,EAAE,MAAM,cAgB9C"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Help Framework
|
|
3
|
+
*
|
|
4
|
+
* Contextual help system for microfrontend applications.
|
|
5
|
+
*
|
|
6
|
+
* Features:
|
|
7
|
+
* - Help panel with docs, tours, and support tabs
|
|
8
|
+
* - Guided tours system
|
|
9
|
+
* - Context-aware content (microfrontends can register their help content)
|
|
10
|
+
* - Search functionality
|
|
11
|
+
* - Support ticket creation
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* // In your app's root
|
|
16
|
+
* import { HelpProvider, HelpPanel, HelpButton } from '@burdenoff/fe-libs/shared/help';
|
|
17
|
+
*
|
|
18
|
+
* function App() {
|
|
19
|
+
* return (
|
|
20
|
+
* <HelpProvider onSubmitTicket={handleTicket}>
|
|
21
|
+
* <Header>
|
|
22
|
+
* <HelpButton />
|
|
23
|
+
* </Header>
|
|
24
|
+
* <Routes>...</Routes>
|
|
25
|
+
* <HelpPanel />
|
|
26
|
+
* </HelpProvider>
|
|
27
|
+
* );
|
|
28
|
+
* }
|
|
29
|
+
*
|
|
30
|
+
* // In a microfrontend
|
|
31
|
+
* import { useHelp } from '@burdenoff/fe-libs/shared/help';
|
|
32
|
+
*
|
|
33
|
+
* function MyMicrofrontend() {
|
|
34
|
+
* const { registerHelpContent } = useHelp();
|
|
35
|
+
*
|
|
36
|
+
* useEffect(() => {
|
|
37
|
+
* registerHelpContent({
|
|
38
|
+
* contextId: 'my-mfe',
|
|
39
|
+
* articles: [...],
|
|
40
|
+
* tours: [...],
|
|
41
|
+
* });
|
|
42
|
+
* }, []);
|
|
43
|
+
* }
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
export { HelpProvider, useHelp, useHelpArticles, useHelpTours } from './HelpProvider';
|
|
47
|
+
export { HelpButton } from './HelpButton';
|
|
48
|
+
export { HelpPanel } from './HelpPanel';
|
|
49
|
+
export type { HelpArticle, HelpTour, TourStep, SupportTicket, HelpContent, HelpTab, HelpContext, HelpContextState, HelpContextActions, } from './types';
|
|
50
|
+
export type { HelpProviderProps } from './HelpProvider';
|
|
51
|
+
export type { HelpButtonProps } from './HelpButton';
|
|
52
|
+
export type { HelpPanelProps } from './HelpPanel';
|
|
53
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/help/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAEH,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACtF,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,YAAY,EACV,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,aAAa,EACb,WAAW,EACX,OAAO,EACP,WAAW,EACX,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,SAAS,CAAC;AAEjB,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC"}
|