@burdenoff/fe-libs 2026.527.6 → 2026.528.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/AppShellLayout.js +9 -3
- 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 +69 -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/PageHeader.js +67 -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/chrome.js +33 -32
- 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/FormLabel.js +17 -10
- 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/FormSection.js +78 -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/form.js +11 -10
- 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/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 +121 -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 +33 -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/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 +13 -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/SafeAreaView.js +22 -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/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 +26 -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-hooks.js +10 -10
- 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-native.js +9 -8
- 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/shared.js +67 -66
- 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/SaveToFilesDialog.js +7 -7
- 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/bottom-sheet.js +89 -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/empty-state.js +34 -0
- package/dist/ui/index.d.ts +32 -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/optional-fields.js +55 -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-dialog.js +38 -0
- package/dist/ui/responsive-stack.d.ts +15 -0
- package/dist/ui/responsive-stack.d.ts.map +1 -0
- package/dist/ui/responsive-stack.js +65 -0
- package/dist/ui/responsive-table.d.ts +24 -0
- package/dist/ui/responsive-table.d.ts.map +1 -0
- package/dist/ui/responsive-table.js +84 -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/sheet.js +2 -2
- 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/stepper.js +79 -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/ui.js +31 -24
- 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 +1 -1
- package/shared/config/eslint.config.mjs +39 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type Locale = 'en' | 'es' | 'fr' | 'de' | 'ja' | 'zh' | 'ta' | 'hi';
|
|
3
|
+
export interface TranslationDictionary {
|
|
4
|
+
[key: string]: string | TranslationDictionary;
|
|
5
|
+
}
|
|
6
|
+
export interface I18nContextValue {
|
|
7
|
+
locale: Locale;
|
|
8
|
+
translations: TranslationDictionary;
|
|
9
|
+
setLocale: (locale: Locale) => void;
|
|
10
|
+
t: (key: string, fallbackOrParams?: string | Record<string, string | number>, params?: Record<string, string | number>) => string;
|
|
11
|
+
/** Whether translations are currently being fetched */
|
|
12
|
+
isLoading: boolean;
|
|
13
|
+
/** Error message if translation fetch failed */
|
|
14
|
+
error: string | null;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Function to fetch translations for a specific locale.
|
|
18
|
+
* Used when dynamic API-based translations are enabled.
|
|
19
|
+
*/
|
|
20
|
+
export type FetchTranslationsFn = (locale: Locale) => Promise<TranslationDictionary>;
|
|
21
|
+
export interface I18nProviderProps {
|
|
22
|
+
children: ReactNode;
|
|
23
|
+
defaultLocale?: Locale;
|
|
24
|
+
/**
|
|
25
|
+
* Static translations (used as fallback or when fetchTranslations is not provided)
|
|
26
|
+
*/
|
|
27
|
+
translations?: Record<Locale, TranslationDictionary>;
|
|
28
|
+
storageKey?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Active profile ID for profile-scoped locale storage.
|
|
31
|
+
* When provided, locale is also read from / written to bf-p-{profileId}-locale.
|
|
32
|
+
* Profile-scoped locale takes priority over the global storageKey on init.
|
|
33
|
+
*/
|
|
34
|
+
profileId?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* Optional function to fetch translations dynamically from an API.
|
|
37
|
+
* When provided, translations will be fetched on mount and locale change.
|
|
38
|
+
* Static translations prop is used as fallback during loading or on error.
|
|
39
|
+
*/
|
|
40
|
+
fetchTranslations?: FetchTranslationsFn;
|
|
41
|
+
/**
|
|
42
|
+
* Whether to show children during initial translation fetch.
|
|
43
|
+
* Default: true (show children with fallback translations while loading)
|
|
44
|
+
*/
|
|
45
|
+
showChildrenWhileLoading?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Custom loading component to show while fetching translations.
|
|
48
|
+
* Only used when showChildrenWhileLoading is false.
|
|
49
|
+
*/
|
|
50
|
+
loadingComponent?: ReactNode;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Deep merge translation dictionaries.
|
|
54
|
+
*
|
|
55
|
+
* Why this matters:
|
|
56
|
+
* - Static dictionaries (bundled fallback) can contain keys that are not yet
|
|
57
|
+
* present in API-fetched payloads.
|
|
58
|
+
* - Fetched payloads should override static keys where present, but must not
|
|
59
|
+
* drop static keys for the same locale.
|
|
60
|
+
*/
|
|
61
|
+
export declare function mergeTranslationDictionaries(base: TranslationDictionary | undefined, override: TranslationDictionary | undefined): TranslationDictionary;
|
|
62
|
+
export declare function I18nProvider({ children, defaultLocale, translations: staticTranslations, storageKey, profileId, fetchTranslations, showChildrenWhileLoading, loadingComponent, }: I18nProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
63
|
+
export declare function useI18n(): I18nContextValue;
|
|
64
|
+
/**
|
|
65
|
+
* Clear the global translation cache.
|
|
66
|
+
* Call this to force a refetch of translations on the next component mount.
|
|
67
|
+
* Useful for development, testing, or when the user explicitly wants to refresh translations.
|
|
68
|
+
*/
|
|
69
|
+
export declare function clearTranslationCache(): void;
|
|
70
|
+
/**
|
|
71
|
+
* Check if translations have been attempted for a locale.
|
|
72
|
+
* Useful for debugging.
|
|
73
|
+
*/
|
|
74
|
+
export declare function isTranslationAttempted(locale: Locale): boolean;
|
|
75
|
+
//# sourceMappingURL=I18nProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"I18nProvider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/I18nProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,MAAM,MAAM,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE3E,MAAM,WAAW,qBAAqB;IACpC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,qBAAqB,CAAC;CAC/C;AAED,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,qBAAqB,CAAC;IACpC,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,CAAC,EAAE,CACD,GAAG,EAAE,MAAM,EACX,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,EAC3D,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KACrC,MAAM,CAAC;IACZ,uDAAuD;IACvD,SAAS,EAAE,OAAO,CAAC;IACnB,gDAAgD;IAChD,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB;AAID;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,qBAAqB,CAAC,CAAC;AAErF,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,SAAS,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;IACrD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,mBAAmB,CAAC;IACxC;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,SAAS,CAAC;CAC9B;AA0FD;;;;;;;;GAQG;AACH,wBAAgB,4BAA4B,CAC1C,IAAI,EAAE,qBAAqB,GAAG,SAAS,EACvC,QAAQ,EAAE,qBAAqB,GAAG,SAAS,GAC1C,qBAAqB,CAsBvB;AAED,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,aAAoB,EACpB,YAAY,EAAE,kBAAyC,EACvD,UAA+B,EAC/B,SAAS,EACT,iBAAiB,EACjB,wBAA+B,EAC/B,gBAAgB,GACjB,EAAE,iBAAiB,2CA2MnB;AAED,wBAAgB,OAAO,qBAMtB;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,IAAI,IAAI,CAE5C;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAE9D"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { Gateway } from '../../graphql';
|
|
3
|
+
export interface MultiGatewayProviderProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
/** Base URL for workspace gateway */
|
|
6
|
+
workspaceBaseUrl?: string;
|
|
7
|
+
/** Base URL for global gateway */
|
|
8
|
+
globalBaseUrl?: string;
|
|
9
|
+
/** Organization ID getter for x-org-id header (global gateway) */
|
|
10
|
+
organizationId?: () => string | null;
|
|
11
|
+
/** Default gateway for the app (used by top-level ApolloProvider) */
|
|
12
|
+
defaultGateway?: Gateway;
|
|
13
|
+
/** Enable debug logging */
|
|
14
|
+
debug?: boolean;
|
|
15
|
+
/** Enable subscriptions */
|
|
16
|
+
enableSubscriptions?: boolean;
|
|
17
|
+
/** Callback when authentication error occurs */
|
|
18
|
+
onAuthError?: () => void;
|
|
19
|
+
/** Callback when network error occurs */
|
|
20
|
+
onNetworkError?: (error: Error) => void;
|
|
21
|
+
/** Callback to attempt token refresh on 401 */
|
|
22
|
+
onRefreshToken?: () => Promise<boolean>;
|
|
23
|
+
}
|
|
24
|
+
export declare function MultiGatewayProvider({ children, workspaceBaseUrl, globalBaseUrl, organizationId, defaultGateway, debug, enableSubscriptions, onAuthError, onNetworkError, onRefreshToken, }: MultiGatewayProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
//# sourceMappingURL=MultiGatewayProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MultiGatewayProvider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/MultiGatewayProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAA2C,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGhF,OAAO,EAGL,KAAK,OAAO,EAEb,MAAM,eAAe,CAAC;AAIvB,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,SAAS,CAAC;IACpB,qCAAqC;IACrC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kCAAkC;IAClC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kEAAkE;IAClE,cAAc,CAAC,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;IACrC,qEAAqE;IACrE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,2BAA2B;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,2BAA2B;IAC3B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,yCAAyC;IACzC,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACxC,+CAA+C;IAC/C,cAAc,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;CACzC;AAED,wBAAgB,oBAAoB,CAAC,EACnC,QAAQ,EACR,gBAAgB,EAChB,aAAa,EACb,cAAc,EACd,cAA4B,EAC5B,KAAa,EACb,mBAA2B,EAC3B,WAAW,EACX,cAAc,EACd,cAAc,GACf,EAAE,yBAAyB,2CA4L3B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface ObservabilityProviderProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
appName: string;
|
|
5
|
+
release: string;
|
|
6
|
+
environment: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* ObservabilityProvider handles frontend telemetry, including:
|
|
10
|
+
* 1. Global JS error capture
|
|
11
|
+
* 2. Unhandled promise rejection capture
|
|
12
|
+
* 3. Core Web Vitals monitoring (LCP, CLS, INP)
|
|
13
|
+
*/
|
|
14
|
+
export declare function ObservabilityProvider({ children, appName, release, environment, }: ObservabilityProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
//# sourceMappingURL=ObservabilityProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObservabilityProvider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/ObservabilityProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAa,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlD,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,QAAQ,EACR,OAAO,EACP,OAAO,EACP,WAAW,GACZ,EAAE,0BAA0B,2CA0D5B"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { useLocation } from 'react-router-dom';
|
|
3
|
+
export interface PageConversationContext {
|
|
4
|
+
product: string;
|
|
5
|
+
pagePath: string;
|
|
6
|
+
contextHref: string;
|
|
7
|
+
contextTitle: string;
|
|
8
|
+
entityType?: string;
|
|
9
|
+
entityId?: string;
|
|
10
|
+
widgetKey: string;
|
|
11
|
+
activeTab?: string;
|
|
12
|
+
metadata?: Record<string, unknown>;
|
|
13
|
+
}
|
|
14
|
+
export interface PageConversationContextProviderProps {
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
product: string;
|
|
17
|
+
resolveContext?: (location: ReturnType<typeof useLocation>) => Partial<PageConversationContext> | null | undefined;
|
|
18
|
+
}
|
|
19
|
+
export declare function PageConversationContextProvider({ children, product, resolveContext, }: PageConversationContextProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare function usePageConversationContext(): PageConversationContext;
|
|
21
|
+
export declare function useRegisterPageConversationContext(value: Partial<PageConversationContext> | null | undefined): void;
|
|
22
|
+
//# sourceMappingURL=PageConversationContextProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PageConversationContextProvider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/PageConversationContextProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED,MAAM,WAAW,oCAAoC;IACnD,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,CACf,QAAQ,EAAE,UAAU,CAAC,OAAO,WAAW,CAAC,KACrC,OAAO,CAAC,uBAAuB,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;CAC1D;AAqBD,wBAAgB,+BAA+B,CAAC,EAC9C,QAAQ,EACR,OAAO,EACP,cAAc,GACf,EAAE,oCAAoC,2CAgEtC;AAED,wBAAgB,0BAA0B,IAAI,uBAAuB,CAQpE;AAED,wBAAgB,kCAAkC,CAChD,KAAK,EAAE,OAAO,CAAC,uBAAuB,CAAC,GAAG,IAAI,GAAG,SAAS,GACzD,IAAI,CAcN"}
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
3
|
+
/**
|
|
4
|
+
* Effective permissions returned from RBAC service
|
|
5
|
+
*/
|
|
6
|
+
export interface EffectivePermissions {
|
|
7
|
+
actorId: string;
|
|
8
|
+
scopeId: string;
|
|
9
|
+
/** Role names assigned to the actor */
|
|
10
|
+
roles: string[];
|
|
11
|
+
/** Detailed permissions by resource type */
|
|
12
|
+
permissions: EffectiveResourcePermission[];
|
|
13
|
+
/** Flat permission strings for easy matching (e.g., "project:read", "task:*") */
|
|
14
|
+
permissionStrings: string[];
|
|
15
|
+
/** When this permission set should be refreshed */
|
|
16
|
+
expiresAt: string;
|
|
17
|
+
/** Cache key for debugging */
|
|
18
|
+
cacheKey?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface EffectiveResourcePermission {
|
|
21
|
+
resourceType: string;
|
|
22
|
+
level: 'ADMIN' | 'EDITOR' | 'VIEWER' | 'NONE';
|
|
23
|
+
allowedActions: string[];
|
|
24
|
+
source: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Lightweight role-only result
|
|
28
|
+
*/
|
|
29
|
+
export interface MyRolesResult {
|
|
30
|
+
roles: RoleInfo[];
|
|
31
|
+
isAdmin: boolean;
|
|
32
|
+
isOwner: boolean;
|
|
33
|
+
}
|
|
34
|
+
export interface RoleInfo {
|
|
35
|
+
id: string;
|
|
36
|
+
name: string;
|
|
37
|
+
priority: number;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Permission check options
|
|
41
|
+
*/
|
|
42
|
+
export interface PermissionCheckOptions {
|
|
43
|
+
/** Require all permissions (AND logic). Default: false (OR logic) */
|
|
44
|
+
requireAll?: boolean;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Permission context value
|
|
48
|
+
*/
|
|
49
|
+
export interface PermissionContextValue {
|
|
50
|
+
/** Current permissions data */
|
|
51
|
+
permissions: EffectivePermissions | null;
|
|
52
|
+
/** Loading state */
|
|
53
|
+
isLoading: boolean;
|
|
54
|
+
/** Error state */
|
|
55
|
+
error: Error | null;
|
|
56
|
+
/** Check if user has a specific permission (supports wildcards) */
|
|
57
|
+
hasPermission: (permission: string) => boolean;
|
|
58
|
+
/** Check multiple permissions */
|
|
59
|
+
hasPermissions: (permissions: string[], options?: PermissionCheckOptions) => boolean;
|
|
60
|
+
/** Check if user has a specific role */
|
|
61
|
+
hasRole: (roleName: string) => boolean;
|
|
62
|
+
/** Check if user has any of the specified roles */
|
|
63
|
+
hasAnyRole: (roleNames: string[]) => boolean;
|
|
64
|
+
/** Check if user has all of the specified roles */
|
|
65
|
+
hasAllRoles: (roleNames: string[]) => boolean;
|
|
66
|
+
/** Refresh permissions manually */
|
|
67
|
+
refreshPermissions: () => Promise<void>;
|
|
68
|
+
/** Invalidate and refetch permissions */
|
|
69
|
+
invalidatePermissions: () => Promise<void>;
|
|
70
|
+
/** Current scope ID */
|
|
71
|
+
scopeId: string | null;
|
|
72
|
+
/** Raw query result for advanced usage */
|
|
73
|
+
query: UseQueryResult<EffectivePermissions, Error>;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Role identifier for platform super admins.
|
|
77
|
+
*
|
|
78
|
+
* This is the server-signed JWT claim emitted by global-auth-svc for the
|
|
79
|
+
* `super_admin` actor type. It must stay in sync with the backend — if the
|
|
80
|
+
* identifier ever changes, update both this constant and the auth-svc
|
|
81
|
+
* contract.
|
|
82
|
+
*/
|
|
83
|
+
export declare const SUPER_ADMIN_ROLE: "SUPER_ADMIN";
|
|
84
|
+
export declare const SUPER_ADMIN_ACTOR_TYPE: "super_admin";
|
|
85
|
+
/**
|
|
86
|
+
* Match a permission string against a pattern with wildcard support.
|
|
87
|
+
*
|
|
88
|
+
* Patterns:
|
|
89
|
+
* - Exact match: "project:read" matches "project:read"
|
|
90
|
+
* - Wildcard action: "project:*" matches "project:read", "project:write", etc.
|
|
91
|
+
* - Global wildcard: "*" matches everything
|
|
92
|
+
*
|
|
93
|
+
* @example
|
|
94
|
+
* matchPermission("project:read", "project:read") // true
|
|
95
|
+
* matchPermission("project:*", "project:read") // true
|
|
96
|
+
* matchPermission("project:read", "project:*") // true (user has wildcard)
|
|
97
|
+
* matchPermission("*", "project:read") // true
|
|
98
|
+
*/
|
|
99
|
+
export declare function matchPermission(userPermission: string, requiredPermission: string): boolean;
|
|
100
|
+
/**
|
|
101
|
+
* Check if any user permission matches the required permission
|
|
102
|
+
*/
|
|
103
|
+
export declare function hasMatchingPermission(userPermissions: string[], requiredPermission: string): boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Determine whether a user should bypass RBAC checks based on their
|
|
106
|
+
* authenticated role. Exported as a pure function so it can be unit
|
|
107
|
+
* tested without mounting the full React provider.
|
|
108
|
+
*/
|
|
109
|
+
export declare function isSuperAdminBypass(isAuthenticated: boolean, role: string | undefined | null, actorType?: string | undefined | null): boolean;
|
|
110
|
+
export interface PermissionProviderProps {
|
|
111
|
+
children: ReactNode;
|
|
112
|
+
/**
|
|
113
|
+
* Scope ID for permission fetching.
|
|
114
|
+
* - For workspace layer: workspaceId
|
|
115
|
+
* - For global layer: tenantId or billingAccountId
|
|
116
|
+
*/
|
|
117
|
+
scopeId: string | null;
|
|
118
|
+
/**
|
|
119
|
+
* Gateway to use for fetching permissions.
|
|
120
|
+
* - 'workspace': Use workspace gateway (wspace-rbac-svc)
|
|
121
|
+
* - 'global': Use global gateway (global-rbac-svc)
|
|
122
|
+
* @default 'workspace'
|
|
123
|
+
*/
|
|
124
|
+
gateway?: 'workspace' | 'global';
|
|
125
|
+
/**
|
|
126
|
+
* Stale time in milliseconds. Permissions are considered fresh for this duration.
|
|
127
|
+
* @default 300000 (5 minutes)
|
|
128
|
+
*/
|
|
129
|
+
staleTime?: number;
|
|
130
|
+
/**
|
|
131
|
+
* Refetch interval in milliseconds. Set to 0 to disable.
|
|
132
|
+
* @default 300000 (5 minutes)
|
|
133
|
+
*/
|
|
134
|
+
refetchInterval?: number;
|
|
135
|
+
/**
|
|
136
|
+
* Refetch on window focus if data is stale for this duration (ms).
|
|
137
|
+
* @default 120000 (2 minutes)
|
|
138
|
+
*/
|
|
139
|
+
refetchOnFocusStaleTime?: number;
|
|
140
|
+
/**
|
|
141
|
+
* Enable debug logging
|
|
142
|
+
* @default false
|
|
143
|
+
*/
|
|
144
|
+
debug?: boolean;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* PermissionProvider - Manages permission state for UI blocking
|
|
148
|
+
*
|
|
149
|
+
* Features:
|
|
150
|
+
* - Fetches permissions from RBAC service on mount and scope change
|
|
151
|
+
* - Caches permissions with React Query
|
|
152
|
+
* - Auto-refreshes based on expiresAt from server
|
|
153
|
+
* - Supports wildcard permission matching
|
|
154
|
+
* - Provides hooks for permission and role checks
|
|
155
|
+
*
|
|
156
|
+
* SECURITY NOTE: `hasPermission` / `hasPermissions` / `hasRole` /
|
|
157
|
+
* `hasAnyRole` / `hasAllRoles` short-circuit to `true` when
|
|
158
|
+
* `useAuth().user?.role === SUPER_ADMIN_ROLE` / `actorType === "super_admin"`,
|
|
159
|
+
* matching the platform rule that super_admin actors bypass all RBAC checks.
|
|
160
|
+
* This is UI
|
|
161
|
+
* gating only — backend enforcement at the API gateway / RBAC service
|
|
162
|
+
* is unchanged. The `permissions` context field (raw fetched RBAC
|
|
163
|
+
* payload) stays `null` for bypassed super admins, so any consumer
|
|
164
|
+
* that reads `permissions?.permissionStrings` directly instead of
|
|
165
|
+
* calling `hasPermission()` will still see an empty set. Prefer the
|
|
166
|
+
* helper methods.
|
|
167
|
+
*
|
|
168
|
+
* @example
|
|
169
|
+
* ```tsx
|
|
170
|
+
* // In your app root or shell
|
|
171
|
+
* <PermissionProvider scopeId={workspaceId} gateway="workspace">
|
|
172
|
+
* <App />
|
|
173
|
+
* </PermissionProvider>
|
|
174
|
+
*
|
|
175
|
+
* // In components
|
|
176
|
+
* const { hasPermission } = usePermissions();
|
|
177
|
+
* if (hasPermission('project:write')) {
|
|
178
|
+
* // Show edit button
|
|
179
|
+
* }
|
|
180
|
+
* ```
|
|
181
|
+
*/
|
|
182
|
+
export declare function PermissionProvider({ children, scopeId, gateway, staleTime, // 5 minutes
|
|
183
|
+
refetchInterval, // 5 minutes
|
|
184
|
+
refetchOnFocusStaleTime, // 2 minutes
|
|
185
|
+
debug, }: PermissionProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
186
|
+
/**
|
|
187
|
+
* Hook to access permission context
|
|
188
|
+
*
|
|
189
|
+
* @throws Error if used outside PermissionProvider
|
|
190
|
+
*
|
|
191
|
+
* @example
|
|
192
|
+
* ```tsx
|
|
193
|
+
* const { hasPermission, hasRole, isLoading } = usePermissions();
|
|
194
|
+
*
|
|
195
|
+
* if (isLoading) return <Spinner />;
|
|
196
|
+
*
|
|
197
|
+
* if (hasPermission('project:write')) {
|
|
198
|
+
* return <EditButton />;
|
|
199
|
+
* }
|
|
200
|
+
* ```
|
|
201
|
+
*/
|
|
202
|
+
export declare function usePermissions(): PermissionContextValue;
|
|
203
|
+
/**
|
|
204
|
+
* Hook to check a single permission
|
|
205
|
+
*
|
|
206
|
+
* @example
|
|
207
|
+
* ```tsx
|
|
208
|
+
* const canEdit = usePermission('project:write');
|
|
209
|
+
* const canAdmin = usePermission('project:*');
|
|
210
|
+
* ```
|
|
211
|
+
*/
|
|
212
|
+
export declare function usePermission(permission: string): boolean;
|
|
213
|
+
/**
|
|
214
|
+
* Hook to check a single role
|
|
215
|
+
*
|
|
216
|
+
* @example
|
|
217
|
+
* ```tsx
|
|
218
|
+
* const isAdmin = useRole('Admin');
|
|
219
|
+
* const isOwner = useRole('Owner');
|
|
220
|
+
* ```
|
|
221
|
+
*/
|
|
222
|
+
export declare function useRole(roleName: string): boolean;
|
|
223
|
+
/**
|
|
224
|
+
* Hook to get permission loading state
|
|
225
|
+
*/
|
|
226
|
+
export declare function usePermissionLoading(): boolean;
|
|
227
|
+
//# sourceMappingURL=PermissionProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PermissionProvider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/PermissionProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5F,OAAO,EAA4B,KAAK,cAAc,EAAc,MAAM,uBAAuB,CAAC;AAQlG;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,uCAAuC;IACvC,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,4CAA4C;IAC5C,WAAW,EAAE,2BAA2B,EAAE,CAAC;IAC3C,iFAAiF;IACjF,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAC5B,mDAAmD;IACnD,SAAS,EAAE,MAAM,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;;;;;;;GAmCG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,OAAO,EACP,OAAqB,EACrB,SAAyB,EAAE,YAAY;AACvC,eAA+B,EAAE,YAAY;AAC7C,uBAAuC,EAAE,YAAY;AACrD,KAAa,GACd,EAAE,uBAAuB,2CAoQzB;AAMD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,cAAc,IAAI,sBAAsB,CAMvD;AAED;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAKzD;AAED;;;;;;;;GAQG;AACH,wBAAgB,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAIjD;AAED;;GAEG;AACH,wBAAgB,oBAAoB,IAAI,OAAO,CAG9C"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface ProfileGeographyBridgeProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
/** Enable auto-detection of geography (GPS, timezone, locale) */
|
|
5
|
+
enableAutoDetect?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare function ProfileGeographyBridge({ children, enableAutoDetect, }: ProfileGeographyBridgeProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=ProfileGeographyBridge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProfileGeographyBridge.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/ProfileGeographyBridge.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,EAAE,SAAS,CAAC;IACpB,iEAAiE;IACjE,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,wBAAgB,sBAAsB,CAAC,EACrC,QAAQ,EACR,gBAAuB,GACxB,EAAE,2BAA2B,2CAS7B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { Locale, TranslationDictionary } from './I18nProvider';
|
|
3
|
+
export interface ProfileI18nBridgeProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
/** Product ID for translations in the i18n service (created during DB seeding) */
|
|
6
|
+
i18nProductId: string;
|
|
7
|
+
/** Default locale (default: "en") */
|
|
8
|
+
defaultLocale?: Locale;
|
|
9
|
+
/** Static fallback translations */
|
|
10
|
+
fallbackTranslations?: Record<string, TranslationDictionary>;
|
|
11
|
+
/** Disable live translation fetches and rely on static fallbacks only */
|
|
12
|
+
disableDynamicFetch?: boolean;
|
|
13
|
+
}
|
|
14
|
+
export declare function ProfileI18nBridge({ children, i18nProductId, defaultLocale, fallbackTranslations, disableDynamicFetch, }: ProfileI18nBridgeProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
//# sourceMappingURL=ProfileI18nBridge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProfileI18nBridge.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/ProfileI18nBridge.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAwB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAG7D,OAAO,EAGL,KAAK,MAAM,EACX,KAAK,qBAAqB,EAC3B,MAAM,gBAAgB,CAAC;AAYxB,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,SAAS,CAAC;IACpB,kFAAkF;IAClF,aAAa,EAAE,MAAM,CAAC;IACtB,qCAAqC;IACrC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mCAAmC;IACnC,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;IAC7D,yEAAyE;IACzE,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,aAAa,EACb,aAAoB,EACpB,oBAAoB,EACpB,mBAA2B,GAC5B,EAAE,sBAAsB,2CAiFxB"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ProfileStorageManager — Profile-Scoped Browser Storage
|
|
3
|
+
*
|
|
4
|
+
* Architecture:
|
|
5
|
+
* - localStorage stores all profile data keyed by profile ID
|
|
6
|
+
* - sessionStorage stores the active profile ID per browser tab
|
|
7
|
+
* - Different tabs can have different active profiles simultaneously
|
|
8
|
+
*
|
|
9
|
+
* Storage layout:
|
|
10
|
+
* localStorage:
|
|
11
|
+
* "bf-profiles" → ProfileMeta[] (list of all profiles)
|
|
12
|
+
* "bf-p-{profileId}-user" → User object
|
|
13
|
+
* "bf-p-{profileId}-tokens" → AuthTokens
|
|
14
|
+
* "bf-p-{profileId}-workspace-token" → string (workspace JWT)
|
|
15
|
+
* "bf-p-{profileId}-context" → { orgId, workspaceId, projectId, tenantId }
|
|
16
|
+
* "bf-p-{profileId}-locale" → string (locale code)
|
|
17
|
+
* "bf-p-{profileId}-theme-mode" → string
|
|
18
|
+
* "bf-p-{profileId}-theme-brand" → string
|
|
19
|
+
* "bf-p-{profileId}-theme-density" → string
|
|
20
|
+
* "bf-p-{profileId}-theme-typography" → string
|
|
21
|
+
* "bf-p-{profileId}-sidebar-collapsed" → "true"|"false"
|
|
22
|
+
* sessionStorage:
|
|
23
|
+
* "bf-active-profile" → string (profileId for this tab)
|
|
24
|
+
*/
|
|
25
|
+
export interface ProfileMeta {
|
|
26
|
+
id: string;
|
|
27
|
+
email: string;
|
|
28
|
+
name: string;
|
|
29
|
+
avatar?: string;
|
|
30
|
+
lastLogin: string;
|
|
31
|
+
}
|
|
32
|
+
export interface AuthTokens {
|
|
33
|
+
accessToken: string;
|
|
34
|
+
refreshToken?: string;
|
|
35
|
+
expiresAt?: number;
|
|
36
|
+
}
|
|
37
|
+
export interface ProfileContext {
|
|
38
|
+
organizationId?: string | null;
|
|
39
|
+
workspaceId?: string | null;
|
|
40
|
+
projectId?: string | null;
|
|
41
|
+
tenantId?: string | null;
|
|
42
|
+
}
|
|
43
|
+
export interface ProfileUser {
|
|
44
|
+
id: string;
|
|
45
|
+
email: string;
|
|
46
|
+
firstName?: string;
|
|
47
|
+
lastName?: string;
|
|
48
|
+
avatar?: string;
|
|
49
|
+
username?: string;
|
|
50
|
+
name?: string;
|
|
51
|
+
role?: string;
|
|
52
|
+
permissions?: string[];
|
|
53
|
+
[key: string]: unknown;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Custom event dispatched when profile storage changes (same-tab).
|
|
57
|
+
* The native 'storage' event only fires in OTHER tabs.
|
|
58
|
+
*/
|
|
59
|
+
export declare const PROFILE_STORAGE_CHANGE_EVENT = "bf-profile-storage-change";
|
|
60
|
+
export declare function getProfiles(): ProfileMeta[];
|
|
61
|
+
export declare function setProfiles(profiles: ProfileMeta[]): void;
|
|
62
|
+
export declare function addProfile(meta: ProfileMeta): void;
|
|
63
|
+
export declare function removeProfile(profileId: string): void;
|
|
64
|
+
export declare function removeAllProfiles(): void;
|
|
65
|
+
export declare function getActiveProfileId(): string | null;
|
|
66
|
+
export declare function setActiveProfileId(profileId: string): void;
|
|
67
|
+
export declare function clearActiveProfileId(): void;
|
|
68
|
+
/**
|
|
69
|
+
* Get or initialize active profile.
|
|
70
|
+
* If no active profile set for this tab, picks the first profile.
|
|
71
|
+
*/
|
|
72
|
+
export declare function resolveActiveProfileId(): string | null;
|
|
73
|
+
export declare function getProfileUser(profileId: string): ProfileUser | null;
|
|
74
|
+
export declare function setProfileUser(profileId: string, user: ProfileUser | null): void;
|
|
75
|
+
export declare function getProfileTokens(profileId: string): AuthTokens | null;
|
|
76
|
+
export declare function setProfileTokens(profileId: string, tokens: AuthTokens | null): void;
|
|
77
|
+
export declare function getProfileWorkspaceToken(profileId: string): string | null;
|
|
78
|
+
export declare function setProfileWorkspaceToken(profileId: string, token: string | null): void;
|
|
79
|
+
export declare function getProfileContext(profileId: string): ProfileContext | null;
|
|
80
|
+
export declare function setProfileContext(profileId: string, context: ProfileContext): void;
|
|
81
|
+
export declare function getProfileLocale(profileId: string): string | null;
|
|
82
|
+
export declare function setProfileLocale(profileId: string, locale: string): void;
|
|
83
|
+
/** Read user for the active profile in this tab */
|
|
84
|
+
export declare function getActiveUser(): ProfileUser | null;
|
|
85
|
+
/** Read tokens for the active profile in this tab */
|
|
86
|
+
export declare function getActiveTokens(): AuthTokens | null;
|
|
87
|
+
/** Read workspace token for the active profile in this tab */
|
|
88
|
+
export declare function getActiveWorkspaceToken(): string | null;
|
|
89
|
+
/** Read context for the active profile in this tab */
|
|
90
|
+
export declare function getActiveContext(): ProfileContext | null;
|
|
91
|
+
/**
|
|
92
|
+
* Full login: creates/updates a profile, sets tokens + user, makes it active.
|
|
93
|
+
*/
|
|
94
|
+
export declare function loginProfile(user: ProfileUser, tokens: AuthTokens): string;
|
|
95
|
+
/**
|
|
96
|
+
* Logout current profile in this tab. Removes profile data.
|
|
97
|
+
*/
|
|
98
|
+
export declare function logoutActiveProfile(): void;
|
|
99
|
+
/**
|
|
100
|
+
* Logout all profiles. Clears everything.
|
|
101
|
+
*/
|
|
102
|
+
export declare function logoutAllProfiles(): void;
|
|
103
|
+
/**
|
|
104
|
+
* Switch active profile for this tab.
|
|
105
|
+
*/
|
|
106
|
+
export declare function switchProfile(profileId: string): boolean;
|
|
107
|
+
//# sourceMappingURL=ProfileStorageManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProfileStorageManager.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/ProfileStorageManager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAA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AAG,IAAI,CAGxD;AAID;;GAEG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,GAAG,MAAM,CAqB1E;AAED;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAS1C;AAED;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,IAAI,CAGxC;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAOxD"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface BreadcrumbItem {
|
|
3
|
+
label: string;
|
|
4
|
+
href?: string;
|
|
5
|
+
icon?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export interface ShellUiContextValue {
|
|
8
|
+
isSidebarCollapsed: boolean;
|
|
9
|
+
isSidebarOpen: boolean;
|
|
10
|
+
breadcrumbs: BreadcrumbItem[];
|
|
11
|
+
setSidebarCollapsed: (collapsed: boolean) => void;
|
|
12
|
+
toggleSidebarCollapsed: () => void;
|
|
13
|
+
setSidebarOpen: (open: boolean) => void;
|
|
14
|
+
toggleSidebarOpen: () => void;
|
|
15
|
+
setBreadcrumbs: (breadcrumbs: BreadcrumbItem[]) => void;
|
|
16
|
+
addBreadcrumb: (breadcrumb: BreadcrumbItem) => void;
|
|
17
|
+
clearBreadcrumbs: () => void;
|
|
18
|
+
headerVisible: boolean;
|
|
19
|
+
footerVisible: boolean;
|
|
20
|
+
sidebarVisible: boolean;
|
|
21
|
+
setHeaderVisible: (visible: boolean) => void;
|
|
22
|
+
setFooterVisible: (visible: boolean) => void;
|
|
23
|
+
setSidebarVisible: (visible: boolean) => void;
|
|
24
|
+
pageAccessDenied: boolean;
|
|
25
|
+
setPageAccessDenied: (denied: boolean) => void;
|
|
26
|
+
sidebarCollapsed: boolean;
|
|
27
|
+
toggleSidebar: () => void;
|
|
28
|
+
}
|
|
29
|
+
export interface ShellUiProviderProps {
|
|
30
|
+
children: ReactNode;
|
|
31
|
+
defaultSidebarCollapsed?: boolean;
|
|
32
|
+
defaultSidebarOpen?: boolean;
|
|
33
|
+
defaultHeaderVisible?: boolean;
|
|
34
|
+
defaultFooterVisible?: boolean;
|
|
35
|
+
defaultSidebarVisible?: boolean;
|
|
36
|
+
storageKey?: string;
|
|
37
|
+
}
|
|
38
|
+
export declare function ShellUiProvider({ children, defaultSidebarCollapsed, defaultSidebarOpen, defaultHeaderVisible, defaultFooterVisible, defaultSidebarVisible, storageKey, }: ShellUiProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
export declare function useShellUi(): ShellUiContextValue;
|
|
40
|
+
/**
|
|
41
|
+
* Same as `useShellUi` but returns `null` instead of throwing when the
|
|
42
|
+
* provider is not mounted. Used by cross-cutting components (e.g., the tour
|
|
43
|
+
* trigger, AccessDenied) that may render outside the app shell during tests
|
|
44
|
+
* or standalone previews.
|
|
45
|
+
*/
|
|
46
|
+
export declare function useSafeShellUi(): ShellUiContextValue | null;
|
|
47
|
+
//# sourceMappingURL=ShellUiProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShellUiProvider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/ShellUiProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3F,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,WAAW,mBAAmB;IAElC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,aAAa,EAAE,OAAO,CAAC;IACvB,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,mBAAmB,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IAClD,sBAAsB,EAAE,MAAM,IAAI,CAAC;IACnC,cAAc,EAA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AmB,GAAG,IAAI,CAE3D"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type ThemeMode = 'light' | 'dark' | 'system';
|
|
3
|
+
export type Brand = 'workspaces' | 'fluidgrids' | 'bigconsole' | 'botlit' | 'vibecontrols' | 'healthybowl' | 'default';
|
|
4
|
+
export type Density = 'compact' | 'comfortable' | 'spacious';
|
|
5
|
+
export type Typography = 'default' | 'large' | 'small';
|
|
6
|
+
export interface ThemeContextValue {
|
|
7
|
+
mode: ThemeMode;
|
|
8
|
+
brand: Brand;
|
|
9
|
+
density: Density;
|
|
10
|
+
typography: Typography;
|
|
11
|
+
resolvedTheme: 'light' | 'dark';
|
|
12
|
+
setMode: (mode: ThemeMode) => void;
|
|
13
|
+
setBrand: (brand: Brand) => void;
|
|
14
|
+
setDensity: (density: Density) => void;
|
|
15
|
+
setTypography: (typography: Typography) => void;
|
|
16
|
+
colorMode: 'light' | 'dark';
|
|
17
|
+
toggleColorMode: () => void;
|
|
18
|
+
}
|
|
19
|
+
export interface ThemeProviderProps {
|
|
20
|
+
children: ReactNode;
|
|
21
|
+
defaultMode?: ThemeMode;
|
|
22
|
+
defaultBrand?: Brand;
|
|
23
|
+
defaultDensity?: Density;
|
|
24
|
+
defaultTypography?: Typography;
|
|
25
|
+
storageKey?: string;
|
|
26
|
+
}
|
|
27
|
+
export declare function ThemeProvider({ children, defaultMode, defaultBrand, defaultDensity, defaultTypography, storageKey, }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export declare function useTheme(): ThemeContextValue;
|
|
29
|
+
//# sourceMappingURL=ThemeProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,MAAM,MAAM,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
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ProfileUser, ProfileMeta } from '../ProfileStorageManager';
|
|
2
|
+
import { BridgeAuthState } from '../AuthBridgeClient';
|
|
3
|
+
export declare function getBridgeTrigger(state: BridgeAuthState): string | undefined;
|
|
4
|
+
export declare function normalizeBridgeProfiles(state: BridgeAuthState, profileId: string, user: ProfileUser): ProfileMeta[];
|
|
5
|
+
export declare function syncBridgeStateToProfileStorage(state: BridgeAuthState): boolean;
|
|
6
|
+
//# sourceMappingURL=bridgeStateSync.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bridgeStateSync.d.ts","sourceRoot":"","sources":["../../../../../src/shared/providers/shell/authProvider/bridgeStateSync.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,EAEhB,KAAK,WAAW,EAOjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAG3D,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM,GAAG,SAAS,CAE3E;AAED,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,eAAe,EACtB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,WAAW,GAChB,WAAW,EAAE,CAiCf;AAED,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAsB/E"}
|