@burdenoff/fe-libs 2026.525.2 → 2026.525.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/dist/button/Button.d.ts +0 -12
- package/dist/button/Button.d.ts.map +0 -1
- package/dist/button/index.d.ts +0 -3
- package/dist/button/index.d.ts.map +0 -1
- package/dist/button.d.ts +0 -2
- package/dist/chrome/AccountSwitcher.d.ts +0 -51
- package/dist/chrome/AccountSwitcher.d.ts.map +0 -1
- package/dist/chrome/AppShellLayout.d.ts +0 -67
- package/dist/chrome/AppShellLayout.d.ts.map +0 -1
- package/dist/chrome/AutoBreadcrumbs.d.ts +0 -22
- package/dist/chrome/AutoBreadcrumbs.d.ts.map +0 -1
- package/dist/chrome/Breadcrumb.d.ts +0 -47
- package/dist/chrome/Breadcrumb.d.ts.map +0 -1
- package/dist/chrome/Breadcrumbs.d.ts +0 -69
- package/dist/chrome/Breadcrumbs.d.ts.map +0 -1
- package/dist/chrome/CommandPalette.d.ts +0 -64
- package/dist/chrome/CommandPalette.d.ts.map +0 -1
- package/dist/chrome/ContextSwitcher.d.ts +0 -48
- package/dist/chrome/ContextSwitcher.d.ts.map +0 -1
- package/dist/chrome/DynamicFooter.d.ts +0 -21
- package/dist/chrome/DynamicFooter.d.ts.map +0 -1
- package/dist/chrome/Footer.d.ts +0 -128
- package/dist/chrome/Footer.d.ts.map +0 -1
- package/dist/chrome/FooterBar.d.ts +0 -79
- package/dist/chrome/FooterBar.d.ts.map +0 -1
- package/dist/chrome/GeographySwitcher.d.ts +0 -22
- package/dist/chrome/GeographySwitcher.d.ts.map +0 -1
- package/dist/chrome/GlobalSearch.d.ts +0 -49
- package/dist/chrome/GlobalSearch.d.ts.map +0 -1
- package/dist/chrome/HeaderBar.d.ts +0 -108
- package/dist/chrome/HeaderBar.d.ts.map +0 -1
- package/dist/chrome/LanguagePickerSheet.d.ts +0 -22
- package/dist/chrome/LanguagePickerSheet.d.ts.map +0 -1
- package/dist/chrome/LanguageSwitcher.d.ts +0 -23
- package/dist/chrome/LanguageSwitcher.d.ts.map +0 -1
- package/dist/chrome/NavLink.d.ts +0 -64
- package/dist/chrome/NavLink.d.ts.map +0 -1
- package/dist/chrome/NotificationCenter.d.ts +0 -16
- package/dist/chrome/NotificationCenter.d.ts.map +0 -1
- package/dist/chrome/PanelContainer.d.ts +0 -8
- package/dist/chrome/PanelContainer.d.ts.map +0 -1
- package/dist/chrome/PanelTabs.d.ts +0 -19
- package/dist/chrome/PanelTabs.d.ts.map +0 -1
- package/dist/chrome/PluginContextMenuTarget.d.ts +0 -8
- package/dist/chrome/PluginContextMenuTarget.d.ts.map +0 -1
- package/dist/chrome/PluginFooterStrip.d.ts +0 -3
- package/dist/chrome/PluginFooterStrip.d.ts.map +0 -1
- package/dist/chrome/PluginRoutes.d.ts +0 -9
- package/dist/chrome/PluginRoutes.d.ts.map +0 -1
- package/dist/chrome/PluginSettingsPage.d.ts +0 -3
- package/dist/chrome/PluginSettingsPage.d.ts.map +0 -1
- package/dist/chrome/PluginToolbar.d.ts +0 -9
- package/dist/chrome/PluginToolbar.d.ts.map +0 -1
- package/dist/chrome/PluginWidgetGrid.d.ts +0 -7
- package/dist/chrome/PluginWidgetGrid.d.ts.map +0 -1
- package/dist/chrome/ProductPickerSheet.d.ts +0 -24
- package/dist/chrome/ProductPickerSheet.d.ts.map +0 -1
- package/dist/chrome/ProductSideNav.d.ts +0 -22
- package/dist/chrome/ProductSideNav.d.ts.map +0 -1
- package/dist/chrome/ProductSwitcher.d.ts +0 -31
- package/dist/chrome/ProductSwitcher.d.ts.map +0 -1
- package/dist/chrome/ProfileSwitcher.d.ts +0 -49
- package/dist/chrome/ProfileSwitcher.d.ts.map +0 -1
- package/dist/chrome/ShortcutHelpDialog.d.ts +0 -33
- package/dist/chrome/ShortcutHelpDialog.d.ts.map +0 -1
- package/dist/chrome/SideNavigation.d.ts +0 -85
- package/dist/chrome/SideNavigation.d.ts.map +0 -1
- package/dist/chrome/Sidebar.d.ts +0 -108
- package/dist/chrome/Sidebar.d.ts.map +0 -1
- package/dist/chrome/StatusBar.d.ts +0 -3
- package/dist/chrome/StatusBar.d.ts.map +0 -1
- package/dist/chrome/Tabs.d.ts +0 -74
- package/dist/chrome/Tabs.d.ts.map +0 -1
- package/dist/chrome/index.d.ts +0 -108
- package/dist/chrome/index.d.ts.map +0 -1
- package/dist/chrome.d.ts +0 -2
- package/dist/config/eslint.config.d.ts +0 -12
- package/dist/config/eslint.config.d.ts.map +0 -1
- package/dist/config/index.d.ts +0 -19
- package/dist/config/index.d.ts.map +0 -1
- package/dist/config/prettier.config.d.ts +0 -7
- package/dist/config/prettier.config.d.ts.map +0 -1
- package/dist/form/Checkbox.d.ts +0 -60
- package/dist/form/Checkbox.d.ts.map +0 -1
- package/dist/form/Form.d.ts +0 -114
- package/dist/form/Form.d.ts.map +0 -1
- package/dist/form/FormDescription.d.ts +0 -33
- package/dist/form/FormDescription.d.ts.map +0 -1
- package/dist/form/FormField.d.ts +0 -96
- package/dist/form/FormField.d.ts.map +0 -1
- package/dist/form/FormLabel.d.ts +0 -41
- package/dist/form/FormLabel.d.ts.map +0 -1
- package/dist/form/FormMessage.d.ts +0 -35
- package/dist/form/FormMessage.d.ts.map +0 -1
- package/dist/form/Input.d.ts +0 -43
- package/dist/form/Input.d.ts.map +0 -1
- package/dist/form/Radio.d.ts +0 -99
- package/dist/form/Radio.d.ts.map +0 -1
- package/dist/form/Select.d.ts +0 -101
- package/dist/form/Select.d.ts.map +0 -1
- package/dist/form/Textarea.d.ts +0 -50
- package/dist/form/Textarea.d.ts.map +0 -1
- package/dist/form/index.d.ts +0 -24
- package/dist/form/index.d.ts.map +0 -1
- package/dist/form.d.ts +0 -2
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +0 -1
- package/dist/lib/utils.d.ts +0 -3
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/shared/components/AccessDenied.d.ts +0 -117
- package/dist/shared/components/AccessDenied.d.ts.map +0 -1
- package/dist/shared/components/AppErrorBoundary.d.ts +0 -19
- package/dist/shared/components/AppErrorBoundary.d.ts.map +0 -1
- package/dist/shared/components/ConditionalShell.d.ts +0 -17
- package/dist/shared/components/ConditionalShell.d.ts.map +0 -1
- package/dist/shared/components/ContextConversationWidget.d.ts +0 -6
- package/dist/shared/components/ContextConversationWidget.d.ts.map +0 -1
- package/dist/shared/components/ErrorBoundary.d.ts +0 -19
- package/dist/shared/components/ErrorBoundary.d.ts.map +0 -1
- package/dist/shared/components/ErrorFallback.d.ts +0 -3
- package/dist/shared/components/ErrorFallback.d.ts.map +0 -1
- package/dist/shared/components/KeyboardHelpDialogWrapper.d.ts +0 -7
- package/dist/shared/components/KeyboardHelpDialogWrapper.d.ts.map +0 -1
- package/dist/shared/components/LegalPage.d.ts +0 -19
- package/dist/shared/components/LegalPage.d.ts.map +0 -1
- package/dist/shared/components/LoadingFallback.d.ts +0 -31
- package/dist/shared/components/LoadingFallback.d.ts.map +0 -1
- package/dist/shared/components/MicrofrontendErrorBoundary.d.ts +0 -20
- package/dist/shared/components/MicrofrontendErrorBoundary.d.ts.map +0 -1
- package/dist/shared/components/PWAInstallBanner.d.ts +0 -14
- package/dist/shared/components/PWAInstallBanner.d.ts.map +0 -1
- package/dist/shared/components/PermissionGate.d.ts +0 -202
- package/dist/shared/components/PermissionGate.d.ts.map +0 -1
- package/dist/shared/components/ProductAccessGuard.d.ts +0 -8
- package/dist/shared/components/ProductAccessGuard.d.ts.map +0 -1
- package/dist/shared/components/QuotaMeter.d.ts +0 -30
- package/dist/shared/components/QuotaMeter.d.ts.map +0 -1
- package/dist/shared/components/RequireAuth.d.ts +0 -76
- package/dist/shared/components/RequireAuth.d.ts.map +0 -1
- package/dist/shared/components/SSORedirectGuard.d.ts +0 -49
- package/dist/shared/components/SSORedirectGuard.d.ts.map +0 -1
- package/dist/shared/components/SearchPage.d.ts +0 -24
- package/dist/shared/components/SearchPage.d.ts.map +0 -1
- package/dist/shared/components/index.d.ts +0 -25
- package/dist/shared/components/index.d.ts.map +0 -1
- package/dist/shared/config/authBridgeUrls.d.ts +0 -27
- package/dist/shared/config/authBridgeUrls.d.ts.map +0 -1
- package/dist/shared/config/eslint.config.d.ts +0 -12
- package/dist/shared/config/eslint.config.d.ts.map +0 -1
- package/dist/shared/config/gatewayUrls.d.ts +0 -44
- package/dist/shared/config/gatewayUrls.d.ts.map +0 -1
- package/dist/shared/config/index.d.ts +0 -71
- package/dist/shared/config/index.d.ts.map +0 -1
- package/dist/shared/config/prettier.config.d.ts +0 -7
- package/dist/shared/config/prettier.config.d.ts.map +0 -1
- package/dist/shared/config/products.d.ts +0 -56
- package/dist/shared/config/products.d.ts.map +0 -1
- package/dist/shared/config/shellRoutes.d.ts +0 -52
- package/dist/shared/config/shellRoutes.d.ts.map +0 -1
- package/dist/shared/events/index.d.ts +0 -591
- package/dist/shared/events/index.d.ts.map +0 -1
- package/dist/shared/events/metadata.d.ts +0 -7
- package/dist/shared/events/metadata.d.ts.map +0 -1
- package/dist/shared/events/sinks/BackendAuditSink.d.ts +0 -18
- package/dist/shared/events/sinks/BackendAuditSink.d.ts.map +0 -1
- package/dist/shared/events/sinks/BroadcastChannelSink.d.ts +0 -10
- package/dist/shared/events/sinks/BroadcastChannelSink.d.ts.map +0 -1
- package/dist/shared/events/sinks/DevtoolsSink.d.ts +0 -10
- package/dist/shared/events/sinks/DevtoolsSink.d.ts.map +0 -1
- package/dist/shared/events/sinks/OtelBrowserSink.d.ts +0 -14
- package/dist/shared/events/sinks/OtelBrowserSink.d.ts.map +0 -1
- package/dist/shared/events/sinks/RybbitSink.d.ts +0 -19
- package/dist/shared/events/sinks/RybbitSink.d.ts.map +0 -1
- package/dist/shared/events/sinks/index.d.ts +0 -6
- package/dist/shared/events/sinks/index.d.ts.map +0 -1
- package/dist/shared/feature-flags/FeatureFlagProvider.d.ts +0 -47
- package/dist/shared/feature-flags/FeatureFlagProvider.d.ts.map +0 -1
- package/dist/shared/feature-flags/FeatureGate.d.ts +0 -27
- package/dist/shared/feature-flags/FeatureGate.d.ts.map +0 -1
- package/dist/shared/feature-flags/index.d.ts +0 -38
- package/dist/shared/feature-flags/index.d.ts.map +0 -1
- package/dist/shared/feature-flags/types.d.ts +0 -121
- package/dist/shared/feature-flags/types.d.ts.map +0 -1
- package/dist/shared/feature-flags/useFeatureFlag.d.ts +0 -41
- package/dist/shared/feature-flags/useFeatureFlag.d.ts.map +0 -1
- package/dist/shared/geography/GeographyProvider.d.ts +0 -40
- package/dist/shared/geography/GeographyProvider.d.ts.map +0 -1
- package/dist/shared/geography/countries.d.ts +0 -53
- package/dist/shared/geography/countries.d.ts.map +0 -1
- package/dist/shared/geography/index.d.ts +0 -5
- package/dist/shared/geography/index.d.ts.map +0 -1
- package/dist/shared/graphql/GatewayContext.d.ts +0 -55
- package/dist/shared/graphql/GatewayContext.d.ts.map +0 -1
- package/dist/shared/graphql/client.d.ts +0 -122
- package/dist/shared/graphql/client.d.ts.map +0 -1
- package/dist/shared/graphql/fetch.d.ts +0 -133
- package/dist/shared/graphql/fetch.d.ts.map +0 -1
- package/dist/shared/graphql/index.d.ts +0 -9
- package/dist/shared/graphql/index.d.ts.map +0 -1
- package/dist/shared/graphql/links/sse-link.d.ts +0 -48
- package/dist/shared/graphql/links/sse-link.d.ts.map +0 -1
- package/dist/shared/graphql/security.d.ts +0 -13
- package/dist/shared/graphql/security.d.ts.map +0 -1
- package/dist/shared/graphql/workspaceToken.d.ts +0 -13
- package/dist/shared/graphql/workspaceToken.d.ts.map +0 -1
- package/dist/shared/help/HelpButton.d.ts +0 -25
- package/dist/shared/help/HelpButton.d.ts.map +0 -1
- package/dist/shared/help/HelpPanel.d.ts +0 -10
- package/dist/shared/help/HelpPanel.d.ts.map +0 -1
- package/dist/shared/help/HelpProvider.d.ts +0 -40
- package/dist/shared/help/HelpProvider.d.ts.map +0 -1
- package/dist/shared/help/index.d.ts +0 -53
- package/dist/shared/help/index.d.ts.map +0 -1
- package/dist/shared/help/types.d.ts +0 -159
- package/dist/shared/help/types.d.ts.map +0 -1
- package/dist/shared/hooks/index.d.ts +0 -31
- package/dist/shared/hooks/index.d.ts.map +0 -1
- package/dist/shared/hooks/shell/index.d.ts +0 -22
- package/dist/shared/hooks/shell/index.d.ts.map +0 -1
- package/dist/shared/hooks/shell/useBreadcrumbs.d.ts +0 -50
- package/dist/shared/hooks/shell/useBreadcrumbs.d.ts.map +0 -1
- package/dist/shared/hooks/shell/useFooterRegistry.d.ts +0 -23
- package/dist/shared/hooks/shell/useFooterRegistry.d.ts.map +0 -1
- package/dist/shared/hooks/shell/useGlobalSearch.d.ts +0 -103
- package/dist/shared/hooks/shell/useGlobalSearch.d.ts.map +0 -1
- package/dist/shared/hooks/shell/useLanguages.d.ts +0 -43
- package/dist/shared/hooks/shell/useLanguages.d.ts.map +0 -1
- package/dist/shared/hooks/shell/useNavRegistry.d.ts +0 -25
- package/dist/shared/hooks/shell/useNavRegistry.d.ts.map +0 -1
- package/dist/shared/hooks/shell/useProductAccess.d.ts +0 -37
- package/dist/shared/hooks/shell/useProductAccess.d.ts.map +0 -1
- package/dist/shared/hooks/shell/useProducts.d.ts +0 -30
- package/dist/shared/hooks/shell/useProducts.d.ts.map +0 -1
- package/dist/shared/hooks/useAsync.d.ts +0 -151
- package/dist/shared/hooks/useAsync.d.ts.map +0 -1
- package/dist/shared/hooks/useBreakpoint.d.ts +0 -83
- package/dist/shared/hooks/useBreakpoint.d.ts.map +0 -1
- package/dist/shared/hooks/useCopyToClipboard.d.ts +0 -72
- package/dist/shared/hooks/useCopyToClipboard.d.ts.map +0 -1
- package/dist/shared/hooks/useDebounce.d.ts +0 -26
- package/dist/shared/hooks/useDebounce.d.ts.map +0 -1
- package/dist/shared/hooks/useHasAnimated.d.ts +0 -10
- package/dist/shared/hooks/useHasAnimated.d.ts.map +0 -1
- package/dist/shared/hooks/useKeyPress.d.ts +0 -116
- package/dist/shared/hooks/useKeyPress.d.ts.map +0 -1
- package/dist/shared/hooks/useLocalStorage.d.ts +0 -41
- package/dist/shared/hooks/useLocalStorage.d.ts.map +0 -1
- package/dist/shared/hooks/useMediaQuery.d.ts +0 -35
- package/dist/shared/hooks/useMediaQuery.d.ts.map +0 -1
- package/dist/shared/hooks/useOnClickOutside.d.ts +0 -76
- package/dist/shared/hooks/useOnClickOutside.d.ts.map +0 -1
- package/dist/shared/hooks/usePWA.d.ts +0 -57
- package/dist/shared/hooks/usePWA.d.ts.map +0 -1
- package/dist/shared/hooks/usePrevious.d.ts +0 -157
- package/dist/shared/hooks/usePrevious.d.ts.map +0 -1
- package/dist/shared/hooks/useQuotaErrorToast.d.ts +0 -50
- package/dist/shared/hooks/useQuotaErrorToast.d.ts.map +0 -1
- package/dist/shared/hooks/useRecordProductVisit.d.ts +0 -11
- package/dist/shared/hooks/useRecordProductVisit.d.ts.map +0 -1
- package/dist/shared/hooks/useReferralAttribution.d.ts +0 -2
- package/dist/shared/hooks/useReferralAttribution.d.ts.map +0 -1
- package/dist/shared/hooks/useSessionStorage.d.ts +0 -44
- package/dist/shared/hooks/useSessionStorage.d.ts.map +0 -1
- package/dist/shared/hooks/useThrottle.d.ts +0 -37
- package/dist/shared/hooks/useThrottle.d.ts.map +0 -1
- package/dist/shared/hooks/useToggle.d.ts +0 -152
- package/dist/shared/hooks/useToggle.d.ts.map +0 -1
- package/dist/shared/index.d.ts +0 -13
- package/dist/shared/index.d.ts.map +0 -1
- package/dist/shared/keyboard/globalShortcuts.d.ts +0 -58
- package/dist/shared/keyboard/globalShortcuts.d.ts.map +0 -1
- package/dist/shared/keyboard/index.d.ts +0 -40
- package/dist/shared/keyboard/index.d.ts.map +0 -1
- package/dist/shared/keyboard/types.d.ts +0 -85
- package/dist/shared/keyboard/types.d.ts.map +0 -1
- package/dist/shared/keyboard/useHotkeys.d.ts +0 -21
- package/dist/shared/keyboard/useHotkeys.d.ts.map +0 -1
- package/dist/shared/keyboard/useKeyboardShortcuts.d.ts +0 -94
- package/dist/shared/keyboard/useKeyboardShortcuts.d.ts.map +0 -1
- package/dist/shared/keyboard/useShortcutHelp.d.ts +0 -27
- package/dist/shared/keyboard/useShortcutHelp.d.ts.map +0 -1
- package/dist/shared/keyboard/utils.d.ts +0 -72
- package/dist/shared/keyboard/utils.d.ts.map +0 -1
- package/dist/shared/logger/ConsoleTransport.d.ts +0 -22
- package/dist/shared/logger/ConsoleTransport.d.ts.map +0 -1
- package/dist/shared/logger/LogManager.d.ts +0 -75
- package/dist/shared/logger/LogManager.d.ts.map +0 -1
- package/dist/shared/logger/Logger.d.ts +0 -86
- package/dist/shared/logger/Logger.d.ts.map +0 -1
- package/dist/shared/logger/index.d.ts +0 -42
- package/dist/shared/logger/index.d.ts.map +0 -1
- package/dist/shared/logger/types.d.ts +0 -70
- package/dist/shared/logger/types.d.ts.map +0 -1
- package/dist/shared/logger/useLogger.d.ts +0 -29
- package/dist/shared/logger/useLogger.d.ts.map +0 -1
- package/dist/shared/motion/AnimatedCounter.d.ts +0 -16
- package/dist/shared/motion/AnimatedCounter.d.ts.map +0 -1
- package/dist/shared/motion/MotionCard.d.ts +0 -18
- package/dist/shared/motion/MotionCard.d.ts.map +0 -1
- package/dist/shared/motion/MotionCollapse.d.ts +0 -14
- package/dist/shared/motion/MotionCollapse.d.ts.map +0 -1
- package/dist/shared/motion/MotionFade.d.ts +0 -16
- package/dist/shared/motion/MotionFade.d.ts.map +0 -1
- package/dist/shared/motion/MotionItem.d.ts +0 -25
- package/dist/shared/motion/MotionItem.d.ts.map +0 -1
- package/dist/shared/motion/MotionList.d.ts +0 -28
- package/dist/shared/motion/MotionList.d.ts.map +0 -1
- package/dist/shared/motion/MotionPage.d.ts +0 -18
- package/dist/shared/motion/MotionPage.d.ts.map +0 -1
- package/dist/shared/motion/index.d.ts +0 -9
- package/dist/shared/motion/index.d.ts.map +0 -1
- package/dist/shared/motion/variants.d.ts +0 -70
- package/dist/shared/motion/variants.d.ts.map +0 -1
- package/dist/shared/native/bridge.d.ts +0 -3
- package/dist/shared/native/bridge.d.ts.map +0 -1
- package/dist/shared/native/consumers.d.ts +0 -9
- package/dist/shared/native/consumers.d.ts.map +0 -1
- package/dist/shared/native/hooks/index.d.ts +0 -12
- package/dist/shared/native/hooks/index.d.ts.map +0 -1
- package/dist/shared/native/hooks/useAppState.d.ts +0 -3
- package/dist/shared/native/hooks/useAppState.d.ts.map +0 -1
- package/dist/shared/native/hooks/useDeviceInfo.d.ts +0 -3
- package/dist/shared/native/hooks/useDeviceInfo.d.ts.map +0 -1
- package/dist/shared/native/hooks/useHaptics.d.ts +0 -8
- package/dist/shared/native/hooks/useHaptics.d.ts.map +0 -1
- package/dist/shared/native/hooks/useNativeKeyboard.d.ts +0 -6
- package/dist/shared/native/hooks/useNativeKeyboard.d.ts.map +0 -1
- package/dist/shared/native/hooks/useNativePlatform.d.ts +0 -10
- package/dist/shared/native/hooks/useNativePlatform.d.ts.map +0 -1
- package/dist/shared/native/hooks/useSafeArea.d.ts +0 -3
- package/dist/shared/native/hooks/useSafeArea.d.ts.map +0 -1
- package/dist/shared/native/hooks/useStatusBar.d.ts +0 -6
- package/dist/shared/native/hooks/useStatusBar.d.ts.map +0 -1
- package/dist/shared/native/index.d.ts +0 -6
- package/dist/shared/native/index.d.ts.map +0 -1
- package/dist/shared/native/platform.d.ts +0 -7
- package/dist/shared/native/platform.d.ts.map +0 -1
- package/dist/shared/native/types.d.ts +0 -62
- package/dist/shared/native/types.d.ts.map +0 -1
- package/dist/shared/pages/AiPage.d.ts +0 -14
- package/dist/shared/pages/AiPage.d.ts.map +0 -1
- package/dist/shared/pages/LegalPage.d.ts +0 -19
- package/dist/shared/pages/LegalPage.d.ts.map +0 -1
- package/dist/shared/pages/SearchPage.d.ts +0 -28
- package/dist/shared/pages/SearchPage.d.ts.map +0 -1
- package/dist/shared/pages/index.d.ts +0 -7
- package/dist/shared/pages/index.d.ts.map +0 -1
- package/dist/shared/plugins/PluginRuntimeProvider.d.ts +0 -28
- package/dist/shared/plugins/PluginRuntimeProvider.d.ts.map +0 -1
- package/dist/shared/plugins/context.d.ts +0 -65
- package/dist/shared/plugins/context.d.ts.map +0 -1
- package/dist/shared/plugins/disposable.d.ts +0 -17
- package/dist/shared/plugins/disposable.d.ts.map +0 -1
- package/dist/shared/plugins/event-bus.d.ts +0 -112
- package/dist/shared/plugins/event-bus.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/PluginIframe.d.ts +0 -75
- package/dist/shared/plugins/iframe-mount/PluginIframe.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/PluginMount.d.ts +0 -59
- package/dist/shared/plugins/iframe-mount/PluginMount.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/client/index.d.ts +0 -3
- package/dist/shared/plugins/iframe-mount/client/index.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/client/message-bus.d.ts +0 -71
- package/dist/shared/plugins/iframe-mount/client/message-bus.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/client/rpc.d.ts +0 -25
- package/dist/shared/plugins/iframe-mount/client/rpc.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/index.d.ts +0 -6
- package/dist/shared/plugins/iframe-mount/index.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/protocol/contribution.d.ts +0 -83
- package/dist/shared/plugins/iframe-mount/protocol/contribution.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/protocol/envelope.d.ts +0 -136
- package/dist/shared/plugins/iframe-mount/protocol/envelope.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/protocol/index.d.ts +0 -3
- package/dist/shared/plugins/iframe-mount/protocol/index.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/sandbox.d.ts +0 -3
- package/dist/shared/plugins/iframe-mount/sandbox.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/types.d.ts +0 -64
- package/dist/shared/plugins/iframe-mount/types.d.ts.map +0 -1
- package/dist/shared/plugins/iframe-mount/useFetchContributions.d.ts +0 -31
- package/dist/shared/plugins/iframe-mount/useFetchContributions.d.ts.map +0 -1
- package/dist/shared/plugins/index.d.ts +0 -41
- package/dist/shared/plugins/index.d.ts.map +0 -1
- package/dist/shared/plugins/panels/usePanelManagerStore.d.ts +0 -68
- package/dist/shared/plugins/panels/usePanelManagerStore.d.ts.map +0 -1
- package/dist/shared/plugins/registries/createContributionRegistry.d.ts +0 -16
- package/dist/shared/plugins/registries/createContributionRegistry.d.ts.map +0 -1
- package/dist/shared/plugins/registries/index.d.ts +0 -15
- package/dist/shared/plugins/registries/index.d.ts.map +0 -1
- package/dist/shared/plugins/registries/useCommandRegistry.d.ts +0 -3
- package/dist/shared/plugins/registries/useCommandRegistry.d.ts.map +0 -1
- package/dist/shared/plugins/registries/useContextMenuRegistry.d.ts +0 -3
- package/dist/shared/plugins/registries/useContextMenuRegistry.d.ts.map +0 -1
- package/dist/shared/plugins/registries/usePanelRegistry.d.ts +0 -3
- package/dist/shared/plugins/registries/usePanelRegistry.d.ts.map +0 -1
- package/dist/shared/plugins/registries/useRouteRegistry.d.ts +0 -3
- package/dist/shared/plugins/registries/useRouteRegistry.d.ts.map +0 -1
- package/dist/shared/plugins/registries/useSettingsRegistry.d.ts +0 -3
- package/dist/shared/plugins/registries/useSettingsRegistry.d.ts.map +0 -1
- package/dist/shared/plugins/registries/useStatusBarRegistry.d.ts +0 -3
- package/dist/shared/plugins/registries/useStatusBarRegistry.d.ts.map +0 -1
- package/dist/shared/plugins/registries/useToolbarRegistry.d.ts +0 -3
- package/dist/shared/plugins/registries/useToolbarRegistry.d.ts.map +0 -1
- package/dist/shared/plugins/registries/useWidgetRegistry.d.ts +0 -3
- package/dist/shared/plugins/registries/useWidgetRegistry.d.ts.map +0 -1
- package/dist/shared/plugins/runtime.d.ts +0 -68
- package/dist/shared/plugins/runtime.d.ts.map +0 -1
- package/dist/shared/plugins/types.d.ts +0 -228
- package/dist/shared/plugins/types.d.ts.map +0 -1
- package/dist/shared/providers/AppShellProvider.d.ts +0 -96
- package/dist/shared/providers/AppShellProvider.d.ts.map +0 -1
- package/dist/shared/providers/MicrofrontendProvider.d.ts +0 -41
- package/dist/shared/providers/MicrofrontendProvider.d.ts.map +0 -1
- package/dist/shared/providers/index.d.ts +0 -12
- package/dist/shared/providers/index.d.ts.map +0 -1
- package/dist/shared/providers/shell/ActiveContextProvider.d.ts +0 -88
- package/dist/shared/providers/shell/ActiveContextProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/ActiveContextStorage.d.ts +0 -45
- package/dist/shared/providers/shell/ActiveContextStorage.d.ts.map +0 -1
- package/dist/shared/providers/shell/AppShellContext.d.ts +0 -19
- package/dist/shared/providers/shell/AppShellContext.d.ts.map +0 -1
- package/dist/shared/providers/shell/AuthBridgeClient.d.ts +0 -121
- package/dist/shared/providers/shell/AuthBridgeClient.d.ts.map +0 -1
- package/dist/shared/providers/shell/AuthProvider.d.ts +0 -58
- package/dist/shared/providers/shell/AuthProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/AuthTokenProvider.d.ts +0 -22
- package/dist/shared/providers/shell/AuthTokenProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/ContextManagerProvider.d.ts +0 -56
- package/dist/shared/providers/shell/ContextManagerProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/FeatureFlagsProvider.d.ts +0 -20
- package/dist/shared/providers/shell/FeatureFlagsProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/GatewayRouter.d.ts +0 -31
- package/dist/shared/providers/shell/GatewayRouter.d.ts.map +0 -1
- package/dist/shared/providers/shell/GlobalUiProvider.d.ts +0 -46
- package/dist/shared/providers/shell/GlobalUiProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/I18nProvider.d.ts +0 -65
- package/dist/shared/providers/shell/I18nProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/MultiGatewayProvider.d.ts +0 -25
- package/dist/shared/providers/shell/MultiGatewayProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/ObservabilityProvider.d.ts +0 -15
- package/dist/shared/providers/shell/ObservabilityProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/PageConversationContextProvider.d.ts +0 -22
- package/dist/shared/providers/shell/PageConversationContextProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/PermissionProvider.d.ts +0 -227
- package/dist/shared/providers/shell/PermissionProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/ProfileGeographyBridge.d.ts +0 -8
- package/dist/shared/providers/shell/ProfileGeographyBridge.d.ts.map +0 -1
- package/dist/shared/providers/shell/ProfileI18nBridge.d.ts +0 -15
- package/dist/shared/providers/shell/ProfileI18nBridge.d.ts.map +0 -1
- package/dist/shared/providers/shell/ProfileStorageManager.d.ts +0 -107
- package/dist/shared/providers/shell/ProfileStorageManager.d.ts.map +0 -1
- package/dist/shared/providers/shell/ShellUiProvider.d.ts +0 -47
- package/dist/shared/providers/shell/ShellUiProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/ThemeProvider.d.ts +0 -29
- package/dist/shared/providers/shell/ThemeProvider.d.ts.map +0 -1
- package/dist/shared/providers/shell/index.d.ts +0 -45
- package/dist/shared/providers/shell/index.d.ts.map +0 -1
- package/dist/shared/shims/assert.d.ts +0 -19
- package/dist/shared/shims/assert.d.ts.map +0 -1
- package/dist/shared/shims/index.d.ts +0 -25
- package/dist/shared/shims/index.d.ts.map +0 -1
- package/dist/shared/shims/process.d.ts +0 -20
- package/dist/shared/shims/process.d.ts.map +0 -1
- package/dist/shared/shims/use-sync-external-store-shim.d.ts +0 -7
- package/dist/shared/shims/use-sync-external-store-shim.d.ts.map +0 -1
- package/dist/shared/shims/use-sync-external-store-with-selector.d.ts +0 -17
- package/dist/shared/shims/use-sync-external-store-with-selector.d.ts.map +0 -1
- package/dist/shared/shims/util.d.ts +0 -135
- package/dist/shared/shims/util.d.ts.map +0 -1
- package/dist/shared/tours/TourInitializer.d.ts +0 -6
- package/dist/shared/tours/TourInitializer.d.ts.map +0 -1
- package/dist/shared/tours/TourPlayer.d.ts +0 -49
- package/dist/shared/tours/TourPlayer.d.ts.map +0 -1
- package/dist/shared/tours/TourPlayerProvider.d.ts +0 -26
- package/dist/shared/tours/TourPlayerProvider.d.ts.map +0 -1
- package/dist/shared/tours/TourSpotlight.d.ts +0 -8
- package/dist/shared/tours/TourSpotlight.d.ts.map +0 -1
- package/dist/shared/tours/TourTooltip.d.ts +0 -7
- package/dist/shared/tours/TourTooltip.d.ts.map +0 -1
- package/dist/shared/tours/TourTrigger.d.ts +0 -15
- package/dist/shared/tours/TourTrigger.d.ts.map +0 -1
- package/dist/shared/tours/ToursContext.d.ts +0 -42
- package/dist/shared/tours/ToursContext.d.ts.map +0 -1
- package/dist/shared/tours/index.d.ts +0 -53
- package/dist/shared/tours/index.d.ts.map +0 -1
- package/dist/shared/tours/progress.d.ts +0 -7
- package/dist/shared/tours/progress.d.ts.map +0 -1
- package/dist/shared/tours/routeCatalog.d.ts +0 -42
- package/dist/shared/tours/routeCatalog.d.ts.map +0 -1
- package/dist/shared/tours/types.d.ts +0 -215
- package/dist/shared/tours/types.d.ts.map +0 -1
- package/dist/shared/tours/useTourPlayer.d.ts +0 -38
- package/dist/shared/tours/useTourPlayer.d.ts.map +0 -1
- package/dist/shared/types/index.d.ts +0 -185
- package/dist/shared/types/index.d.ts.map +0 -1
- package/dist/shared/utils/apollo.d.ts +0 -26
- package/dist/shared/utils/apollo.d.ts.map +0 -1
- package/dist/shared/utils/appHelpers.d.ts +0 -34
- package/dist/shared/utils/appHelpers.d.ts.map +0 -1
- package/dist/shared/utils/authCookie.d.ts +0 -35
- package/dist/shared/utils/authCookie.d.ts.map +0 -1
- package/dist/shared/utils/authErrorHandling.d.ts +0 -65
- package/dist/shared/utils/authErrorHandling.d.ts.map +0 -1
- package/dist/shared/utils/cn.d.ts +0 -6
- package/dist/shared/utils/cn.d.ts.map +0 -1
- package/dist/shared/utils/format.d.ts +0 -98
- package/dist/shared/utils/format.d.ts.map +0 -1
- package/dist/shared/utils/gatewayFetchRewrite.d.ts +0 -53
- package/dist/shared/utils/gatewayFetchRewrite.d.ts.map +0 -1
- package/dist/shared/utils/index.d.ts +0 -26
- package/dist/shared/utils/index.d.ts.map +0 -1
- package/dist/shared/utils/lazyWithRetry.d.ts +0 -43
- package/dist/shared/utils/lazyWithRetry.d.ts.map +0 -1
- package/dist/shared/utils/loggerInit.d.ts +0 -15
- package/dist/shared/utils/loggerInit.d.ts.map +0 -1
- package/dist/shared/utils/mockData.d.ts +0 -40
- package/dist/shared/utils/mockData.d.ts.map +0 -1
- package/dist/shared/utils/profileScopedStorage.d.ts +0 -42
- package/dist/shared/utils/profileScopedStorage.d.ts.map +0 -1
- package/dist/shared/utils/quotaErrors.d.ts +0 -37
- package/dist/shared/utils/quotaErrors.d.ts.map +0 -1
- package/dist/shared/utils/tokens.d.ts +0 -166
- package/dist/shared/utils/tokens.d.ts.map +0 -1
- package/dist/shared-components.d.ts +0 -2
- package/dist/shared-config.d.ts +0 -2
- package/dist/shared-events.d.ts +0 -2
- package/dist/shared-feature-flags.d.ts +0 -2
- package/dist/shared-geography.d.ts +0 -2
- package/dist/shared-graphql.d.ts +0 -2
- package/dist/shared-hooks-shell.d.ts +0 -2
- package/dist/shared-hooks.d.ts +0 -2
- package/dist/shared-keyboard.d.ts +0 -2
- package/dist/shared-logger.d.ts +0 -2
- package/dist/shared-motion.d.ts +0 -2
- package/dist/shared-native.d.ts +0 -2
- package/dist/shared-pages.d.ts +0 -2
- package/dist/shared-plugins.d.ts +0 -2
- package/dist/shared-providers-shell.d.ts +0 -2
- package/dist/shared-providers.d.ts +0 -2
- package/dist/shared-shims.d.ts +0 -2
- package/dist/shared-tours.d.ts +0 -2
- package/dist/shared-types.d.ts +0 -1
- package/dist/shared-utils.d.ts +0 -2
- package/dist/shared.d.ts +0 -2
- package/dist/storage/SaveToFilesButton.d.ts +0 -55
- package/dist/storage/SaveToFilesButton.d.ts.map +0 -1
- package/dist/storage/SaveToFilesDialog.d.ts +0 -13
- package/dist/storage/SaveToFilesDialog.d.ts.map +0 -1
- package/dist/storage/StorageFolderPicker.d.ts +0 -23
- package/dist/storage/StorageFolderPicker.d.ts.map +0 -1
- package/dist/storage/index.d.ts +0 -10
- package/dist/storage/index.d.ts.map +0 -1
- package/dist/storage/uploadBlob.d.ts +0 -21
- package/dist/storage/uploadBlob.d.ts.map +0 -1
- package/dist/storage/useSaveToFiles.d.ts +0 -17
- package/dist/storage/useSaveToFiles.d.ts.map +0 -1
- package/dist/tag/TagBadge.d.ts +0 -17
- package/dist/tag/TagBadge.d.ts.map +0 -1
- package/dist/tag/TagsWidget.d.ts +0 -103
- package/dist/tag/TagsWidget.d.ts.map +0 -1
- package/dist/tag/index.d.ts +0 -3
- package/dist/tag/index.d.ts.map +0 -1
- package/dist/tag.d.ts +0 -2
- package/dist/ui/accordion.d.ts +0 -8
- package/dist/ui/accordion.d.ts.map +0 -1
- package/dist/ui/alert-dialog.d.ts +0 -15
- package/dist/ui/alert-dialog.d.ts.map +0 -1
- package/dist/ui/badge.d.ts +0 -10
- package/dist/ui/badge.d.ts.map +0 -1
- package/dist/ui/button.d.ts +0 -12
- package/dist/ui/button.d.ts.map +0 -1
- package/dist/ui/card.d.ts +0 -9
- package/dist/ui/card.d.ts.map +0 -1
- package/dist/ui/checkbox.d.ts +0 -5
- package/dist/ui/checkbox.d.ts.map +0 -1
- package/dist/ui/command.d.ts +0 -19
- package/dist/ui/command.d.ts.map +0 -1
- package/dist/ui/dialog.d.ts +0 -16
- package/dist/ui/dialog.d.ts.map +0 -1
- package/dist/ui/dropdown-menu.d.ts +0 -28
- package/dist/ui/dropdown-menu.d.ts.map +0 -1
- package/dist/ui/index.d.ts +0 -25
- package/dist/ui/index.d.ts.map +0 -1
- package/dist/ui/input.d.ts +0 -5
- package/dist/ui/input.d.ts.map +0 -1
- package/dist/ui/label.d.ts +0 -5
- package/dist/ui/label.d.ts.map +0 -1
- package/dist/ui/popover.d.ts +0 -8
- package/dist/ui/popover.d.ts.map +0 -1
- package/dist/ui/scroll-area.d.ts +0 -6
- package/dist/ui/scroll-area.d.ts.map +0 -1
- package/dist/ui/select.d.ts +0 -13
- package/dist/ui/select.d.ts.map +0 -1
- package/dist/ui/separator.d.ts +0 -5
- package/dist/ui/separator.d.ts.map +0 -1
- package/dist/ui/sheet.d.ts +0 -14
- package/dist/ui/sheet.d.ts.map +0 -1
- package/dist/ui/skeleton.d.ts +0 -4
- package/dist/ui/skeleton.d.ts.map +0 -1
- package/dist/ui/sonner.d.ts +0 -4
- package/dist/ui/sonner.d.ts.map +0 -1
- package/dist/ui/spinner.d.ts +0 -6
- package/dist/ui/spinner.d.ts.map +0 -1
- package/dist/ui/switch.d.ts +0 -5
- package/dist/ui/switch.d.ts.map +0 -1
- package/dist/ui/table.d.ts +0 -11
- package/dist/ui/table.d.ts.map +0 -1
- package/dist/ui/tabs.d.ts +0 -8
- package/dist/ui/tabs.d.ts.map +0 -1
- package/dist/ui/textarea.d.ts +0 -5
- package/dist/ui/textarea.d.ts.map +0 -1
- package/dist/ui/tooltip.d.ts +0 -7
- package/dist/ui/tooltip.d.ts.map +0 -1
- package/dist/ui.d.ts +0 -2
- package/dist/utils/cn.d.ts +0 -15
- package/dist/utils/cn.d.ts.map +0 -1
- package/dist/utils/index.d.ts +0 -3
- package/dist/utils/index.d.ts.map +0 -1
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AuthBridgeClient - Cross-Domain Orchestrated Auth via Hidden iframe + postMessage
|
|
3
|
-
*
|
|
4
|
-
* This client manages a hidden iframe pointing to a session bridge page.
|
|
5
|
-
* The bridge page runs on the auth domain and stores/retrieves tokens in
|
|
6
|
-
* its own localStorage. Multiple app shells can embed this bridge to share
|
|
7
|
-
* auth state across different origins.
|
|
8
|
-
*
|
|
9
|
-
* Architecture:
|
|
10
|
-
* - Each app shell creates one AuthBridgeClient instance
|
|
11
|
-
* - The bridge iframe is loaded from a configurable URL (e.g., /auth/session-bridge)
|
|
12
|
-
* - Auth state changes are broadcast via postMessage to/from the bridge
|
|
13
|
-
* - The bridge's localStorage is scoped to ITS origin, enabling cross-domain sharing
|
|
14
|
-
*
|
|
15
|
-
* Protocol Messages:
|
|
16
|
-
* Parent -> Bridge: AUTH_INIT, AUTH_LOGIN, AUTH_LOGOUT, AUTH_LOGOUT_ALL,
|
|
17
|
-
* AUTH_TOKEN_REFRESH, AUTH_ACCOUNT_ADD, AUTH_ACCOUNT_SWITCH
|
|
18
|
-
* Bridge -> Parent: AUTH_STATE, AUTH_STATE_CHANGED
|
|
19
|
-
*/
|
|
20
|
-
export interface BridgeAuthState {
|
|
21
|
-
user: Record<string, unknown> | null;
|
|
22
|
-
tokens: {
|
|
23
|
-
accessToken: string;
|
|
24
|
-
refreshToken?: string;
|
|
25
|
-
expiresAt?: number;
|
|
26
|
-
workspaceToken?: string;
|
|
27
|
-
} | null;
|
|
28
|
-
accounts?: Array<Record<string, unknown>>;
|
|
29
|
-
activeAccountId?: string | null;
|
|
30
|
-
profiles?: Array<Record<string, unknown>>;
|
|
31
|
-
activeProfileId?: string | null;
|
|
32
|
-
}
|
|
33
|
-
export interface BridgeMessage {
|
|
34
|
-
type: 'AUTH_INIT' | 'AUTH_STATE' | 'AUTH_LOGIN' | 'AUTH_LOGOUT' | 'AUTH_LOGOUT_ALL' | 'AUTH_TOKEN_REFRESH' | 'AUTH_ACCOUNT_ADD' | 'AUTH_ACCOUNT_SWITCH' | 'AUTH_STATE_CHANGED' | 'AUTH_BRIDGE_READY';
|
|
35
|
-
payload?: BridgeAuthState & {
|
|
36
|
-
trigger?: string;
|
|
37
|
-
accountId?: string;
|
|
38
|
-
};
|
|
39
|
-
/** Unique message ID for request/response correlation */
|
|
40
|
-
messageId?: string;
|
|
41
|
-
/** Source identifier */
|
|
42
|
-
source?: string;
|
|
43
|
-
}
|
|
44
|
-
export type AuthBridgeListener = (state: BridgeAuthState) => void;
|
|
45
|
-
export interface AuthBridgeClientOptions {
|
|
46
|
-
/** URL of the session bridge page */
|
|
47
|
-
bridgeUrl: string;
|
|
48
|
-
/** Allowed origins for postMessage (comma-separated or array) */
|
|
49
|
-
allowedOrigins?: string | string[];
|
|
50
|
-
/** Callback when auth state changes from another app shell */
|
|
51
|
-
onStateChanged?: AuthBridgeListener;
|
|
52
|
-
/** Enable debug logging */
|
|
53
|
-
debug?: boolean;
|
|
54
|
-
}
|
|
55
|
-
export declare class AuthBridgeClient {
|
|
56
|
-
private iframe;
|
|
57
|
-
private bridgeUrl;
|
|
58
|
-
private allowedOrigins;
|
|
59
|
-
private onStateChanged?;
|
|
60
|
-
private debug;
|
|
61
|
-
private ready;
|
|
62
|
-
private readyReceived;
|
|
63
|
-
private pendingMessages;
|
|
64
|
-
private messageHandler;
|
|
65
|
-
private destroyed;
|
|
66
|
-
constructor(options: AuthBridgeClientOptions);
|
|
67
|
-
/**
|
|
68
|
-
* Initialize the bridge by creating the hidden iframe and setting up listeners
|
|
69
|
-
*/
|
|
70
|
-
init(): Promise<void>;
|
|
71
|
-
/**
|
|
72
|
-
* Read current auth state from localStorage to include in AUTH_INIT.
|
|
73
|
-
* This allows the bridge to store the parent's auth state for cross-domain SSO.
|
|
74
|
-
*/
|
|
75
|
-
private getCurrentAuthState;
|
|
76
|
-
/**
|
|
77
|
-
* Destroy the bridge — remove iframe and listeners
|
|
78
|
-
* @param removeIframe - If false, keeps iframe in DOM for reuse (StrictMode compatibility)
|
|
79
|
-
*/
|
|
80
|
-
destroy(removeIframe?: boolean): void;
|
|
81
|
-
/**
|
|
82
|
-
* Notify bridge of a login event
|
|
83
|
-
*/
|
|
84
|
-
notifyLogin(state: BridgeAuthState): void;
|
|
85
|
-
/**
|
|
86
|
-
* Notify bridge of a logout event
|
|
87
|
-
*/
|
|
88
|
-
notifyLogout(): void;
|
|
89
|
-
/**
|
|
90
|
-
* Notify bridge to logout all accounts
|
|
91
|
-
*/
|
|
92
|
-
notifyLogoutAll(): void;
|
|
93
|
-
/**
|
|
94
|
-
* Notify bridge of a token refresh
|
|
95
|
-
*/
|
|
96
|
-
notifyTokenRefresh(tokens: BridgeAuthState['tokens']): void;
|
|
97
|
-
/**
|
|
98
|
-
* Notify bridge of an account switch
|
|
99
|
-
*/
|
|
100
|
-
notifyAccountSwitch(accountId: string): void;
|
|
101
|
-
private handleMessage;
|
|
102
|
-
private sendToBridge;
|
|
103
|
-
private flushPendingMessages;
|
|
104
|
-
private log;
|
|
105
|
-
}
|
|
106
|
-
export declare function initAuthBridge(options: AuthBridgeClientOptions): AuthBridgeClient;
|
|
107
|
-
export declare function getAuthBridge(): AuthBridgeClient | null;
|
|
108
|
-
/**
|
|
109
|
-
* Check if the auth bridge has been initialized
|
|
110
|
-
*/
|
|
111
|
-
export declare function isAuthBridgeInitialized(): boolean;
|
|
112
|
-
/**
|
|
113
|
-
* Destroy the auth bridge
|
|
114
|
-
*
|
|
115
|
-
* By default, this is a no-op to handle React StrictMode correctly.
|
|
116
|
-
* The bridge persists for the lifetime of the page.
|
|
117
|
-
*
|
|
118
|
-
* @param forceDestroy - If true, actually destroys the bridge (use on logout/app close)
|
|
119
|
-
*/
|
|
120
|
-
export declare function destroyAuthBridge(forceDestroy?: boolean): void;
|
|
121
|
-
//# sourceMappingURL=AuthBridgeClient.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AuthBridgeClient.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/AuthBridgeClient.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ProfileUser, AuthTokens, ProfileMeta } from './ProfileStorageManager';
|
|
3
|
-
export type { ProfileUser as User, AuthTokens, ProfileMeta };
|
|
4
|
-
export interface Account {
|
|
5
|
-
id: string;
|
|
6
|
-
email: string;
|
|
7
|
-
name: string;
|
|
8
|
-
firstName?: string;
|
|
9
|
-
lastName?: string;
|
|
10
|
-
avatar?: string;
|
|
11
|
-
isActive?: boolean;
|
|
12
|
-
lastLogin?: string;
|
|
13
|
-
}
|
|
14
|
-
export interface AuthContextValue {
|
|
15
|
-
user: ProfileUser | null;
|
|
16
|
-
tokens: AuthTokens | null;
|
|
17
|
-
isAuthenticated: boolean;
|
|
18
|
-
isLoading: boolean;
|
|
19
|
-
login: (user: ProfileUser, accessToken: string, refreshToken?: string) => void;
|
|
20
|
-
logout: () => void;
|
|
21
|
-
updateUser: (user: Partial<ProfileUser>) => void;
|
|
22
|
-
refreshAccessToken: () => Promise<void>;
|
|
23
|
-
hasPermission: (permission: string) => boolean;
|
|
24
|
-
setWorkspaceToken: (token: string | null) => void;
|
|
25
|
-
workspaceToken: string | null;
|
|
26
|
-
mfaRequired: boolean;
|
|
27
|
-
mfaChallengeId: string | null;
|
|
28
|
-
setMfaState: (required: boolean, challengeId?: string | null) => void;
|
|
29
|
-
activeProfileId: string | null;
|
|
30
|
-
accounts: Account[];
|
|
31
|
-
switchAccount: (accountId: string) => void;
|
|
32
|
-
addAccount: (user: ProfileUser, accessToken: string, refreshToken?: string) => void;
|
|
33
|
-
removeAccount: (accountId: string) => void;
|
|
34
|
-
logoutAll: () => void;
|
|
35
|
-
currentUser: ProfileUser | null;
|
|
36
|
-
}
|
|
37
|
-
export interface AuthProviderProps {
|
|
38
|
-
children: ReactNode;
|
|
39
|
-
onTokenExpired?: () => void;
|
|
40
|
-
/** Called when a session is about to expire (5 minutes before). Use to show warning toast. */
|
|
41
|
-
onSessionExpiringSoon?: () => void;
|
|
42
|
-
onRefreshToken?: (refreshToken: string) => Promise<{
|
|
43
|
-
accessToken: string;
|
|
44
|
-
refreshToken?: string;
|
|
45
|
-
expiresAt?: number;
|
|
46
|
-
}>;
|
|
47
|
-
/** URL of the auth session bridge page (e.g., /auth/session-bridge). Enables cross-domain auth. */
|
|
48
|
-
bridgeUrl?: string;
|
|
49
|
-
/** Comma-separated allowed origins for the bridge postMessage (e.g., "http://localhost:5149,...") */
|
|
50
|
-
bridgeAllowedOrigins?: string;
|
|
51
|
-
/** Enable debug logging for the auth bridge */
|
|
52
|
-
bridgeDebug?: boolean;
|
|
53
|
-
/** Called when the auth bridge has finished initializing (responded or timed out) */
|
|
54
|
-
onBridgeReady?: () => void;
|
|
55
|
-
}
|
|
56
|
-
export declare function AuthProvider({ children, onTokenExpired, onSessionExpiringSoon, onRefreshToken, bridgeUrl, bridgeAllowedOrigins, bridgeDebug, onBridgeReady, }: AuthProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
57
|
-
export declare function useAuth(): AuthContextValue;
|
|
58
|
-
//# sourceMappingURL=AuthProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AuthProvider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/AuthProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,WAAW,EAkBjB,MAAM,yBAAyB,CAAC;AAyBjC,YAAY,EAAE,WAAW,IAAI,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,CAAC;AAE7D,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,WAAW,GAAG,IAAI,CAAC;IACzB,MAAM,EAAE,UAAU,GAAG,IAAI,CAAC;IAC1B,eAAe,EAAE,OAAO,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/E,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,UAAU,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACjD,kBAAkB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC;IAE/C,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAClD,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAEtE,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,UAAU,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACpF,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,SAAS,EAAE,MAAM,IAAI,CAAC;IAEtB,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;CACjC;AA2JD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,SAAS,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,8FAA8F;IAC9F,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IACnC,cAAc,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,OAAO,CAAC;QACjD,WAAW,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC,CAAC;IACH,mGAAmG;IACnG,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qGAAqG;IACrG,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,+CAA+C;IAC/C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,qFAAqF;IACrF,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,SAAS,EACT,oBAAoB,EACpB,WAAW,EACX,aAAa,GACd,EAAE,iBAAiB,2CAiqBnB;AAED,wBAAgB,OAAO,qBAMtB"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface AuthTokenContextValue {
|
|
3
|
-
accessToken: string | null;
|
|
4
|
-
workspaceToken: string | null;
|
|
5
|
-
workspaceId: string | null;
|
|
6
|
-
userId: string | null;
|
|
7
|
-
getAccessToken: () => string | null;
|
|
8
|
-
getWorkspaceToken: () => string | null;
|
|
9
|
-
getWorkspaceAuthToken: () => string | null;
|
|
10
|
-
reloadFromStorage: () => void;
|
|
11
|
-
isAuthenticated: boolean;
|
|
12
|
-
hasWorkspaceToken: boolean;
|
|
13
|
-
}
|
|
14
|
-
export interface AuthTokenProviderProps {
|
|
15
|
-
children: ReactNode;
|
|
16
|
-
debug?: boolean;
|
|
17
|
-
onTokenChange?: (accessToken: string | null, workspaceToken: string | null) => void;
|
|
18
|
-
onWorkspaceChange?: (workspaceId: string | null) => void;
|
|
19
|
-
}
|
|
20
|
-
export declare function AuthTokenProvider({ children, debug, onTokenChange, onWorkspaceChange, }: AuthTokenProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export declare function useAuthToken(): AuthTokenContextValue;
|
|
22
|
-
//# sourceMappingURL=AuthTokenProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AuthTokenProvider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/AuthTokenProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAKL,KAAK,SAAS,EAIf,MAAM,OAAO,CAAC;AAef,MAAM,WAAW,qBAAqB;IACpC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,cAAc,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;IACpC,iBAAiB,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;IACvC,qBAAqB,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;IAC3C,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,eAAe,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAID,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,aAAa,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,EAAE,cAAc,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACpF,iBAAiB,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAC1D;AAmGD,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,KAAa,EACb,aAAa,EACb,iBAAiB,GAClB,EAAE,sBAAsB,2CAwFxB;AAED,wBAAgB,YAAY,IAAI,qBAAqB,CAMpD"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { User as ProfileUser } from './AuthProvider';
|
|
3
|
-
/**
|
|
4
|
-
* Unified context value available to all components and microfrontends.
|
|
5
|
-
*/
|
|
6
|
-
export interface ContextManagerValue {
|
|
7
|
-
/** Current user ID (null if not authenticated) */
|
|
8
|
-
userId: string | null;
|
|
9
|
-
/** Full user object */
|
|
10
|
-
user: ProfileUser | null;
|
|
11
|
-
/** Access token (JWT) */
|
|
12
|
-
accessToken: string | null;
|
|
13
|
-
/** Workspace-scoped token (JWT) */
|
|
14
|
-
workspaceToken: string | null;
|
|
15
|
-
/** Whether the user is authenticated */
|
|
16
|
-
isAuthenticated: boolean;
|
|
17
|
-
/** Active profile ID (for multi-account) */
|
|
18
|
-
activeProfileId: string | null;
|
|
19
|
-
/** Currently selected organization ID */
|
|
20
|
-
organizationId: string | null;
|
|
21
|
-
/** Currently selected workspace ID */
|
|
22
|
-
workspaceId: string | null;
|
|
23
|
-
/** Currently selected project ID */
|
|
24
|
-
projectId: string | null;
|
|
25
|
-
/** Currently selected tenant ID */
|
|
26
|
-
tenantId: string | null;
|
|
27
|
-
}
|
|
28
|
-
export interface ContextManagerProviderProps {
|
|
29
|
-
children: ReactNode;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* ContextManagerProvider
|
|
33
|
-
*
|
|
34
|
-
* Wraps the React tree to provide unified context access.
|
|
35
|
-
* Must be rendered inside both AuthProvider and ActiveContextProvider.
|
|
36
|
-
*/
|
|
37
|
-
export declare function ContextManagerProvider({ children }: ContextManagerProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
/**
|
|
39
|
-
* Hook to access the unified context manager.
|
|
40
|
-
*
|
|
41
|
-
* Returns all context data (user, auth, org, workspace, project, tenant)
|
|
42
|
-
* from a single hook call.
|
|
43
|
-
*
|
|
44
|
-
* @example
|
|
45
|
-
* ```tsx
|
|
46
|
-
* const ctx = useContextManager();
|
|
47
|
-
*
|
|
48
|
-
* // Check auth
|
|
49
|
-
* if (!ctx.isAuthenticated) return <LoginRedirect />;
|
|
50
|
-
*
|
|
51
|
-
* // Use context IDs
|
|
52
|
-
* fetchData({ workspaceId: ctx.workspaceId, orgId: ctx.organizationId });
|
|
53
|
-
* ```
|
|
54
|
-
*/
|
|
55
|
-
export declare function useContextManager(): ContextManagerValue;
|
|
56
|
-
//# sourceMappingURL=ContextManagerProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContextManagerProvider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/ContextManagerProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,EAAsC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE3E,OAAO,EAAW,KAAK,IAAI,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAGnE;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAElC,kDAAkD;IAClD,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,uBAAuB;IACvB,IAAI,EAAE,WAAW,GAAG,IAAI,CAAC;IACzB,yBAAyB;IACzB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,mCAAmC;IACnC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,wCAAwC;IACxC,eAAe,EAAE,OAAO,CAAC;IACzB,4CAA4C;IAC5C,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAG/B,yCAAyC;IACzC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,sCAAsC;IACtC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,oCAAoC;IACpC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,mCAAmC;IACnC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAID,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,QAAQ,EAAE,EAAE,2BAA2B,2CAkC/E;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,iBAAiB,IAAI,mBAAmB,CASvD"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface FeatureFlags {
|
|
3
|
-
[key: string]: boolean | string | number;
|
|
4
|
-
}
|
|
5
|
-
export interface FeatureFlagsContextValue {
|
|
6
|
-
flags: FeatureFlags;
|
|
7
|
-
isLoading: boolean;
|
|
8
|
-
isEnabled: (flag: string) => boolean;
|
|
9
|
-
getFlag: <T = boolean | string | number>(flag: string, defaultValue?: T) => T;
|
|
10
|
-
refreshFlags: () => Promise<void>;
|
|
11
|
-
}
|
|
12
|
-
export interface FeatureFlagsProviderProps {
|
|
13
|
-
children: ReactNode;
|
|
14
|
-
initialFlags?: FeatureFlags;
|
|
15
|
-
fetchFlags?: () => Promise<FeatureFlags>;
|
|
16
|
-
refreshInterval?: number;
|
|
17
|
-
}
|
|
18
|
-
export declare function FeatureFlagsProvider({ children, initialFlags, fetchFlags, refreshInterval, }: FeatureFlagsProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
export declare function useFeatureFlags(): FeatureFlagsContextValue;
|
|
20
|
-
//# sourceMappingURL=FeatureFlagsProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureFlagsProvider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/FeatureFlagsProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,MAAM,WAAW,YAAY;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;CAC1C;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,YAAY,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;IACrC,OAAO,EAAE,CAAC,CAAC,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC;IAC9E,YAAY,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CACnC;AAID,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,SAAS,CAAC;IACpB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,OAAO,CAAC,YAAY,CAAC,CAAC;IACzC,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,wBAAgB,oBAAoB,CAAC,EACnC,QAAQ,EACR,YAAiB,EACjB,UAAU,EACV,eAAe,GAChB,EAAE,yBAAyB,2CAiE3B;AAED,wBAAgB,eAAe,6BAM9B"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { default as React, ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { Gateway } from '../../graphql';
|
|
3
|
-
export interface GatewayRouteProps {
|
|
4
|
-
/** Target gateway for this route */
|
|
5
|
-
gateway: Gateway;
|
|
6
|
-
/** Child components (microfrontend) */
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* GatewayRoute - Wraps children with appropriate Apollo client.
|
|
11
|
-
* Use this to wrap microfrontend routes that need a specific gateway.
|
|
12
|
-
*/
|
|
13
|
-
export declare function GatewayRoute({ gateway, children }: GatewayRouteProps): ReactElement;
|
|
14
|
-
/**
|
|
15
|
-
* Get gateway for a microfrontend from a gateway map.
|
|
16
|
-
*
|
|
17
|
-
* @param key - Microfrontend key
|
|
18
|
-
* @param gatewayMap - Map of microfrontend keys to gateway types
|
|
19
|
-
* @param defaultGateway - Default gateway if key is not found
|
|
20
|
-
*/
|
|
21
|
-
export declare function getMicrofrontendGateway<T extends string>(key: T, gatewayMap: Record<T, Gateway>, defaultGateway?: Gateway): Gateway;
|
|
22
|
-
/**
|
|
23
|
-
* Higher-order component to wrap a component with gateway-specific Apollo client.
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* ```tsx
|
|
27
|
-
* const BillingWithGateway = withGateway('global')(BillingRoot);
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
|
-
export declare function withGateway(gateway: Gateway): <P extends object>(Component: React.ComponentType<P>) => (props: P) => import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
//# sourceMappingURL=GatewayRouter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GatewayRouter.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/GatewayRouter.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EAAE,EAAE,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjE,OAAO,EAAE,KAAK,OAAO,EAAoB,MAAM,eAAe,CAAC;AAE/D,MAAM,WAAW,iBAAiB;IAChC,oCAAoC;IACpC,OAAO,EAAE,OAAO,CAAC;IACjB,uCAAuC;IACvC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,iBAAiB,GAAG,YAAY,CAInF;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,MAAM,EACtD,GAAG,EAAE,CAAC,EACN,UAAU,EAAE,MAAM,CAAC,CAAC,EAAE,OAAO,CAAC,EAC9B,cAAc,GAAE,OAAqB,GACpC,OAAO,CAET;AAED;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,OAAO,IACzB,CAAC,SAAS,MAAM,EAAE,WAAW,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAC1B,OAAO,CAAC,6CAQnD"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export type ToastType = 'info' | 'success' | 'warning' | 'error';
|
|
3
|
-
export type NotificationType = 'info' | 'success' | 'warning' | 'error';
|
|
4
|
-
export interface Toast {
|
|
5
|
-
id: string;
|
|
6
|
-
type: ToastType;
|
|
7
|
-
message: string;
|
|
8
|
-
duration?: number;
|
|
9
|
-
}
|
|
10
|
-
export interface Notification {
|
|
11
|
-
id: string;
|
|
12
|
-
type: NotificationType;
|
|
13
|
-
title: string;
|
|
14
|
-
message: string;
|
|
15
|
-
timestamp: number;
|
|
16
|
-
read: boolean;
|
|
17
|
-
actionUrl?: string;
|
|
18
|
-
}
|
|
19
|
-
export interface GlobalUiContextValue {
|
|
20
|
-
toasts: Toast[];
|
|
21
|
-
notifications: Notification[];
|
|
22
|
-
isGlobalSearchOpen: boolean;
|
|
23
|
-
isKeyboardHelpOpen: boolean;
|
|
24
|
-
showToast: (message: string, type?: ToastType, duration?: number) => void;
|
|
25
|
-
dismissToast: (id: string) => void;
|
|
26
|
-
addNotification: (notification: Omit<Notification, 'id' | 'timestamp' | 'read'>) => void;
|
|
27
|
-
markNotificationRead: (id: string) => void;
|
|
28
|
-
markAllNotificationsRead: () => void;
|
|
29
|
-
clearNotifications: () => void;
|
|
30
|
-
openGlobalSearch: () => void;
|
|
31
|
-
closeGlobalSearch: () => void;
|
|
32
|
-
toggleGlobalSearch: () => void;
|
|
33
|
-
openKeyboardHelp: () => void;
|
|
34
|
-
closeKeyboardHelp: () => void;
|
|
35
|
-
toggleKeyboardHelp: () => void;
|
|
36
|
-
openSearch: () => void;
|
|
37
|
-
unreadCount: number;
|
|
38
|
-
}
|
|
39
|
-
export interface GlobalUiProviderProps {
|
|
40
|
-
children: ReactNode;
|
|
41
|
-
maxToasts?: number;
|
|
42
|
-
defaultToastDuration?: number;
|
|
43
|
-
}
|
|
44
|
-
export declare function GlobalUiProvider({ children, maxToasts, defaultToastDuration, }: GlobalUiProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
45
|
-
export declare function useGlobalUi(): GlobalUiContextValue;
|
|
46
|
-
//# sourceMappingURL=GlobalUiProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GlobalUiProvider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/GlobalUiProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6D,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAElG,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AACjE,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAExE,MAAM,WAAW,KAAK;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,gBAAgB,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,aAAa,EAAE,YAAY,EAAE,CAAC;IAC9B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1E,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,eAAe,EAAE,CAAC,YAAY,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,GAAG,WAAW,GAAG,MAAM,CAAC,KAAK,IAAI,CAAC;IACzF,oBAAoB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,wBAAwB,EAAE,MAAM,IAAI,CAAC;IACrC,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAE/B,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;CACrB;AAID,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,SAAa,EACb,oBAA2B,GAC5B,EAAE,qBAAqB,2CA8HvB;AAED,wBAAgB,WAAW,yBAM1B"}
|
|
@@ -1,65 +0,0 @@
|
|
|
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
|
-
export declare function I18nProvider({ children, defaultLocale, translations: staticTranslations, storageKey, profileId, fetchTranslations, showChildrenWhileLoading, loadingComponent, }: I18nProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
53
|
-
export declare function useI18n(): I18nContextValue;
|
|
54
|
-
/**
|
|
55
|
-
* Clear the global translation cache.
|
|
56
|
-
* Call this to force a refetch of translations on the next component mount.
|
|
57
|
-
* Useful for development, testing, or when the user explicitly wants to refresh translations.
|
|
58
|
-
*/
|
|
59
|
-
export declare function clearTranslationCache(): void;
|
|
60
|
-
/**
|
|
61
|
-
* Check if translations have been attempted for a locale.
|
|
62
|
-
* Useful for debugging.
|
|
63
|
-
*/
|
|
64
|
-
export declare function isTranslationAttempted(locale: Locale): boolean;
|
|
65
|
-
//# sourceMappingURL=I18nProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;AA8HD,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"}
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,22 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|