@burdenoff/fe-libs 2026.525.2 → 2026.526.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,76 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface RequireAuthProps {
|
|
3
|
-
/** Content to render when authenticated */
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
/** Path to redirect to when not authenticated (default: /auth/login) */
|
|
6
|
-
loginPath?: string;
|
|
7
|
-
/** Custom loading component */
|
|
8
|
-
loadingComponent?: ReactNode;
|
|
9
|
-
/** Custom unauthorized component (shown when lacking permissions) */
|
|
10
|
-
unauthorizedComponent?: ReactNode;
|
|
11
|
-
/** Required permission(s) to access this route */
|
|
12
|
-
permissions?: string | string[];
|
|
13
|
-
/** Whether all permissions are required (true) or just one (false) */
|
|
14
|
-
requireAllPermissions?: boolean;
|
|
15
|
-
/** Callback when authentication check fails */
|
|
16
|
-
onAuthFail?: () => void;
|
|
17
|
-
/** Custom redirect function (for React Router integration) */
|
|
18
|
-
redirect?: (path: string) => ReactNode;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* RequireAuth Component
|
|
22
|
-
*
|
|
23
|
-
* Route guard component that protects routes from unauthenticated access.
|
|
24
|
-
* Supports permission-based access control and customizable fallback UI.
|
|
25
|
-
*
|
|
26
|
-
* Features:
|
|
27
|
-
* - Authentication check
|
|
28
|
-
* - Permission-based authorization
|
|
29
|
-
* - Loading state handling
|
|
30
|
-
* - Customizable redirect
|
|
31
|
-
* - Flexible fallback components
|
|
32
|
-
*
|
|
33
|
-
* @example Basic usage (with Navigate from react-router-dom)
|
|
34
|
-
* ```tsx
|
|
35
|
-
* import { Navigate } from 'react-router-dom';
|
|
36
|
-
*
|
|
37
|
-
* <RequireAuth redirect={(path) => <Navigate to={path} replace />}>
|
|
38
|
-
* <ProtectedPage />
|
|
39
|
-
* </RequireAuth>
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @example With permissions
|
|
43
|
-
* ```tsx
|
|
44
|
-
* <RequireAuth
|
|
45
|
-
* permissions={['admin', 'editor']}
|
|
46
|
-
* requireAllPermissions={false}
|
|
47
|
-
* redirect={(path) => <Navigate to={path} replace />}
|
|
48
|
-
* unauthorizedComponent={<UnauthorizedPage />}
|
|
49
|
-
* >
|
|
50
|
-
* <AdminDashboard />
|
|
51
|
-
* </RequireAuth>
|
|
52
|
-
* ```
|
|
53
|
-
*/
|
|
54
|
-
export declare function RequireAuth({ children, loginPath, loadingComponent, unauthorizedComponent, permissions, requireAllPermissions, onAuthFail, redirect, }: RequireAuthProps): import("react/jsx-runtime").JSX.Element;
|
|
55
|
-
/**
|
|
56
|
-
* RequireGuest Component
|
|
57
|
-
*
|
|
58
|
-
* Opposite of RequireAuth - only allows unauthenticated users.
|
|
59
|
-
* Useful for login/register pages that should redirect authenticated users away.
|
|
60
|
-
*
|
|
61
|
-
* @example
|
|
62
|
-
* ```tsx
|
|
63
|
-
* <RequireGuest redirect={(path) => <Navigate to={path} replace />}>
|
|
64
|
-
* <LoginPage />
|
|
65
|
-
* </RequireGuest>
|
|
66
|
-
* ```
|
|
67
|
-
*/
|
|
68
|
-
export interface RequireGuestProps {
|
|
69
|
-
children: ReactNode;
|
|
70
|
-
/** Path to redirect authenticated users to */
|
|
71
|
-
redirectTo?: string;
|
|
72
|
-
/** Custom redirect function */
|
|
73
|
-
redirect?: (path: string) => ReactNode;
|
|
74
|
-
}
|
|
75
|
-
export declare function RequireGuest({ children, redirectTo, redirect }: RequireGuestProps): import("react/jsx-runtime").JSX.Element | null;
|
|
76
|
-
//# sourceMappingURL=RequireAuth.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RequireAuth.d.ts","sourceRoot":"","sources":["../../../src/shared/components/RequireAuth.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,WAAW,gBAAgB;IAC/B,2CAA2C;IAC3C,QAAQ,EAAE,SAAS,CAAC;IACpB,wEAAwE;IACxE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+BAA+B;IAC/B,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,qEAAqE;IACrE,qBAAqB,CAAC,EAAE,SAAS,CAAC;IAClC,kDAAkD;IAClD,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAChC,sEAAsE;IACtE,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,+CAA+C;IAC/C,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,SAAS,CAAC;CACxC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,SAAyB,EACzB,gBAAgB,EAChB,qBAAqB,EACrB,WAAW,EACX,qBAA6B,EAC7B,UAAU,EACV,QAAQ,GACT,EAAE,gBAAgB,2CA6FlB;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,SAAS,CAAC;IACpB,8CAA8C;IAC9C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,SAAS,CAAC;CACxC;AAED,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,UAAgB,EAAE,QAAQ,EAAE,EAAE,iBAAiB,kDAwBvF"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SSORedirectGuard — Checks for SSO cookie and redirects to login origin
|
|
3
|
-
* for token relay if the current origin doesn't have local tokens.
|
|
4
|
-
*
|
|
5
|
-
* This component should be rendered in route guards (ProtectedRoute,
|
|
6
|
-
* LandingOrDashboardRedirect) to enable cross-domain SSO.
|
|
7
|
-
*
|
|
8
|
-
* Works in all environments (local dev, alpha, production):
|
|
9
|
-
* - Local dev: cookie on .local.burdenoff.com shared domain
|
|
10
|
-
* - Production: cookie on current domain (redirect-based relay)
|
|
11
|
-
*
|
|
12
|
-
* @module @burdenoff/fe-libs/shared/components/SSORedirectGuard
|
|
13
|
-
*/
|
|
14
|
-
export declare function shouldSkipSSORedirect(returnPath?: string): boolean;
|
|
15
|
-
export declare function hasRecentSSORedirectAttempt(relayOrigin: string, returnTo: string): boolean;
|
|
16
|
-
export declare function markSSORedirectAttempt(relayOrigin: string, returnTo: string): void;
|
|
17
|
-
export declare function getSSORedirectUrl(returnPath?: string): string | null;
|
|
18
|
-
/**
|
|
19
|
-
* Check if Single Logout (SLO) has occurred on another shell.
|
|
20
|
-
*
|
|
21
|
-
* If the bf-sso cookie is ABSENT but localStorage has auth tokens,
|
|
22
|
-
* it means another shell cleared the shared cookie (logged out).
|
|
23
|
-
* This function clears local tokens and returns true so the caller
|
|
24
|
-
* can redirect to the login page.
|
|
25
|
-
*
|
|
26
|
-
* Call this in ProtectedRoute BEFORE checking local tokens.
|
|
27
|
-
*/
|
|
28
|
-
export declare function checkSLO(): boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Check if the current access token is still valid by making a lightweight
|
|
31
|
-
* GraphQL query. If the server rejects it (401/UNAUTHENTICATED), the session
|
|
32
|
-
* was invalidated (SLO from another domain) → clear local state.
|
|
33
|
-
*
|
|
34
|
-
* This enables SLO across different eTLD+1 domains (production).
|
|
35
|
-
* Called once on page load from ProtectedRoute.
|
|
36
|
-
*
|
|
37
|
-
* Returns a Promise that resolves to true if session is invalid (SLO occurred).
|
|
38
|
-
*/
|
|
39
|
-
export declare function checkRemoteSLO(gatewayUrl: string, accessToken: string): Promise<boolean>;
|
|
40
|
-
/**
|
|
41
|
-
* Clear all local auth state (used by both checkSLO and checkRemoteSLO).
|
|
42
|
-
*/
|
|
43
|
-
export declare function clearLocalAuthState(): void;
|
|
44
|
-
/**
|
|
45
|
-
* React component that renders a spinner while redirecting.
|
|
46
|
-
* Use this as the return value when getSSORedirectUrl() returns a URL.
|
|
47
|
-
*/
|
|
48
|
-
export declare function SSORedirectSpinner(): import("react/jsx-runtime").JSX.Element;
|
|
49
|
-
//# sourceMappingURL=SSORedirectGuard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SSORedirectGuard.d.ts","sourceRoot":"","sources":["../../../src/shared/components/SSORedirectGuard.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAqGH,wBAAgB,qBAAqB,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAGlE;AAED,wBAAgB,2BAA2B,CAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAM1F;AAED,wBAAgB,sBAAsB,CAAC,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAiBlF;AAoDD,wBAAgB,iBAAiB,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAsCpE;AAED;;;;;;;;;GASG;AACH,wBAAgB,QAAQ,IAAI,OAAO,CA6BlC;AAED;;;;;;;;;GASG;AACH,wBAAsB,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAyC9F;AAED;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CA6B1C;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,4CAMjC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SearchPage Component
|
|
3
|
-
*
|
|
4
|
-
* Full-featured search page with advanced filters, pagination, facets,
|
|
5
|
-
* and rich result display. Supports URL-based query parameters for
|
|
6
|
-
* shareable search links.
|
|
7
|
-
*/
|
|
8
|
-
export interface SearchPageProps {
|
|
9
|
-
/** Available entity types for the filter panel (product-specific) */
|
|
10
|
-
entityTypeOptions?: Array<{
|
|
11
|
-
value: string;
|
|
12
|
-
label: string;
|
|
13
|
-
}>;
|
|
14
|
-
/** Map of entity type to icon component (product-specific) */
|
|
15
|
-
entityTypeIcons?: Record<string, React.ComponentType<{
|
|
16
|
-
className?: string;
|
|
17
|
-
}>>;
|
|
18
|
-
/** Search input placeholder */
|
|
19
|
-
placeholder?: string;
|
|
20
|
-
/** Subtitle under the heading */
|
|
21
|
-
subtitle?: string;
|
|
22
|
-
}
|
|
23
|
-
export declare function SearchPage({ entityTypeOptions, entityTypeIcons, placeholder, subtitle, }?: SearchPageProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
//# sourceMappingURL=SearchPage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SearchPage.d.ts","sourceRoot":"","sources":["../../../src/shared/components/SearchPage.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAkGH,MAAM,WAAW,eAAe;IAC9B,qEAAqE;IACrE,iBAAiB,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC5D,8DAA8D;IAC9D,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC,CAAC;IAC9E,+BAA+B;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,wBAAgB,UAAU,CAAC,EACzB,iBAAuC,EACvC,eAAmC,EACnC,WAA8D,EAC9D,QAAyD,GAC1D,GAAE,eAAoB,2CAukBtB"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export { ErrorBoundary } from './ErrorBoundary';
|
|
2
|
-
export type { ErrorBoundaryProps } from './ErrorBoundary';
|
|
3
|
-
export { RequireAuth, RequireGuest } from './RequireAuth';
|
|
4
|
-
export type { RequireAuthProps, RequireGuestProps } from './RequireAuth';
|
|
5
|
-
export { PermissionGate, PermissionButton, PermissionLink } from './PermissionGate';
|
|
6
|
-
export type { PermissionGateProps, PermissionButtonProps, PermissionLinkProps, } from './PermissionGate';
|
|
7
|
-
export { AccessDenied, PermissionDenied } from './AccessDenied';
|
|
8
|
-
export type { AccessDeniedProps, PermissionDeniedProps } from './AccessDenied';
|
|
9
|
-
export { ErrorFallback } from './ErrorFallback';
|
|
10
|
-
export { MicrofrontendErrorBoundary } from './MicrofrontendErrorBoundary';
|
|
11
|
-
export type { MicrofrontendErrorBoundaryProps } from './MicrofrontendErrorBoundary';
|
|
12
|
-
export { LoadingFallback, PageLoadingFallback, SectionLoadingFallback } from './LoadingFallback';
|
|
13
|
-
export type { LoadingFallbackProps } from './LoadingFallback';
|
|
14
|
-
export { ConditionalShell } from './ConditionalShell';
|
|
15
|
-
export type { ConditionalShellProps } from './ConditionalShell';
|
|
16
|
-
export { PWAInstallBanner } from './PWAInstallBanner';
|
|
17
|
-
export type { PWAInstallBannerProps } from './PWAInstallBanner';
|
|
18
|
-
export { ErrorBoundary as AppErrorBoundary } from './AppErrorBoundary';
|
|
19
|
-
export { ContextConversationWidget } from './ContextConversationWidget';
|
|
20
|
-
export type { ContextConversationWidgetProps } from './ContextConversationWidget';
|
|
21
|
-
export { KeyboardHelpDialogWrapper } from './KeyboardHelpDialogWrapper';
|
|
22
|
-
export { QuotaMeter } from './QuotaMeter';
|
|
23
|
-
export type { QuotaMeterProps } from './QuotaMeter';
|
|
24
|
-
export { getSSORedirectUrl, SSORedirectSpinner, checkSLO, checkRemoteSLO, clearLocalAuthState, } from './SSORedirectGuard';
|
|
25
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/components/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC1D,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAGzE,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACpF,YAAY,EACV,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAChE,YAAY,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAI/E,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,YAAY,EAAE,+BAA+B,EAAE,MAAM,8BAA8B,CAAC;AAEpF,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AACjG,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAE9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EAAE,aAAa,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEvE,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,YAAY,EAAE,8BAA8B,EAAE,MAAM,6BAA6B,CAAC;AAGlF,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAGxE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAGpD,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,QAAQ,EACR,cAAc,EACd,mBAAmB,GACpB,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Runtime auth bridge URL resolution — shared across all product app shells.
|
|
3
|
-
*
|
|
4
|
-
* All Burdenoff products use a single central bridge at app.burdenoff.com
|
|
5
|
-
* (or alphaapp.burdenoff.com for alpha) to share auth state across different
|
|
6
|
-
* TLDs via a hidden iframe + postMessage.
|
|
7
|
-
*
|
|
8
|
-
* This module resolves the correct bridge config based on the current hostname,
|
|
9
|
-
* following the same pattern as `resolveGatewayUrls()`.
|
|
10
|
-
*
|
|
11
|
-
* @module @burdenoff/fe-libs/shared/config/authBridgeUrls
|
|
12
|
-
*/
|
|
13
|
-
export interface RuntimeAuthBridgeConfig {
|
|
14
|
-
url: string;
|
|
15
|
-
allowedOrigins: string;
|
|
16
|
-
debug: boolean;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Resolve runtime auth bridge configuration from the current hostname.
|
|
20
|
-
*
|
|
21
|
-
* Priority:
|
|
22
|
-
* 1. Known production domains (all products) -> production bridge (app.burdenoff.com)
|
|
23
|
-
* 2. Known alpha/staging domains (all products) -> alpha bridge (alphaapp.burdenoff.com)
|
|
24
|
-
* 3. Everything else -> local development bridge (app.local.burdenoff.com)
|
|
25
|
-
*/
|
|
26
|
-
export declare function resolveAuthBridgeConfig(): RuntimeAuthBridgeConfig;
|
|
27
|
-
//# sourceMappingURL=authBridgeUrls.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"authBridgeUrls.d.ts","sourceRoot":"","sources":["../../../src/shared/config/authBridgeUrls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAIH,MAAM,WAAW,uBAAuB;IACtC,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,OAAO,CAAC;CAChB;AAoBD;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,IAAI,uBAAuB,CAOjE"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface EslintConfigOptions {
|
|
2
|
-
ignores?: string[];
|
|
3
|
-
additionalRules?: Record<string, unknown>;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* Creates a shared ESLint configuration for Burdenoff frontend projects.
|
|
7
|
-
* @param options - Configuration options
|
|
8
|
-
* @returns ESLint flat config array
|
|
9
|
-
*/
|
|
10
|
-
export declare function createEslintConfig(options?: EslintConfigOptions): import("typescript-eslint").FlatConfig.ConfigArray;
|
|
11
|
-
export default createEslintConfig;
|
|
12
|
-
//# sourceMappingURL=eslint.config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eslint.config.d.ts","sourceRoot":"","sources":["../../../src/shared/config/eslint.config.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC3C;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,GAAE,mBAAwB,sDAqCnE;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Runtime gateway URL resolution — shared across all product app shells.
|
|
3
|
-
*
|
|
4
|
-
* All Burdenoff products share the same gateways (global + workspace).
|
|
5
|
-
* This module resolves the correct gateway URLs based on the current hostname.
|
|
6
|
-
*
|
|
7
|
-
* @module @burdenoff/fe-libs/shared/config/gatewayUrls
|
|
8
|
-
*/
|
|
9
|
-
export interface RuntimeGatewayUrls {
|
|
10
|
-
workspaceBaseUrl: string;
|
|
11
|
-
globalBaseUrl: string;
|
|
12
|
-
publicStoreBaseUrl: string;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* All known production hostnames across all products.
|
|
16
|
-
* Exported for reuse by authBridgeUrls.ts and other config modules.
|
|
17
|
-
*/
|
|
18
|
-
export declare const ALL_PRODUCT_DOMAINS: string[];
|
|
19
|
-
export declare const PROD_HOSTS: Set<string>;
|
|
20
|
-
/**
|
|
21
|
-
* All known alpha/staging hostnames across all products.
|
|
22
|
-
*/
|
|
23
|
-
export declare const ALPHA_HOSTS: Set<string>;
|
|
24
|
-
export declare function getCurrentHostname(): string;
|
|
25
|
-
/**
|
|
26
|
-
* Resolve runtime gateway URLs from the current hostname, with an optional
|
|
27
|
-
* env-driven override for localhost dev servers.
|
|
28
|
-
*
|
|
29
|
-
* Priority:
|
|
30
|
-
* 1. Known production domains → PROD_GATEWAYS (hostname always wins for real deploys)
|
|
31
|
-
* 2. Known alpha/staging domains → ALPHA_GATEWAYS
|
|
32
|
-
* 3. Localhost-like host: `VITE_GATEWAY_TARGET` env var, case-insensitive
|
|
33
|
-
* - `'prod'` → PROD_GATEWAYS (emits a one-time console warning — mutations write to real data)
|
|
34
|
-
* - `'alpha'` → ALPHA_GATEWAYS
|
|
35
|
-
* - `'local'` or anything else → LOCAL_DEFAULTS
|
|
36
|
-
* 4. Everything else (unknown deployed domain, or localhost with no env):
|
|
37
|
-
* LOCAL_DEFAULTS (fails loud against a missing local stack rather than
|
|
38
|
-
* silently writing to prod — see BOFF-2507).
|
|
39
|
-
*
|
|
40
|
-
* Set the override in `<app-shell>/.env.local` (gitignored by Vite) to test
|
|
41
|
-
* a localhost dev server against a remote backend without editing source.
|
|
42
|
-
*/
|
|
43
|
-
export declare function resolveGatewayUrls(): RuntimeGatewayUrls;
|
|
44
|
-
//# sourceMappingURL=gatewayUrls.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gatewayUrls.d.ts","sourceRoot":"","sources":["../../../src/shared/config/gatewayUrls.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,MAAM,WAAW,kBAAkB;IACjC,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAoBD;;;GAGG;AACH,eAAO,MAAM,mBAAmB,UAkC/B,CAAC;AAEF,eAAO,MAAM,UAAU,aAGrB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,WAAW,aAA2D,CAAC;AAEpF,wBAAgB,kBAAkB,IAAI,MAAM,CAG3C;AA8BD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,kBAAkB,IAAI,kBAAkB,CA6BvD"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Default configuration values for microfrontends
|
|
3
|
-
*
|
|
4
|
-
* NOTE: ESLint and Prettier configs are NOT exported from here since they
|
|
5
|
-
* contain Node.js-specific dependencies. Import them directly:
|
|
6
|
-
* - ESLint: import { createEslintConfig } from '@burdenoff/fe-libs/shared/config/eslint.config'
|
|
7
|
-
* - Prettier: import { prettierConfig } from '@burdenoff/fe-libs/shared/config/prettier.config'
|
|
8
|
-
*/
|
|
9
|
-
export declare const DEFAULT_PAGE_SIZE = 20;
|
|
10
|
-
/**
|
|
11
|
-
* Gateway configuration
|
|
12
|
-
*
|
|
13
|
-
* Two primary gateways:
|
|
14
|
-
* - workspace: For workspace-scoped operations (gw-wspace.local.burdenoff.com in dev)
|
|
15
|
-
* - global: For global/tenant operations (gw-global.local.burdenoff.com in dev)
|
|
16
|
-
*/
|
|
17
|
-
export declare const GATEWAYS: {
|
|
18
|
-
readonly workspace: {
|
|
19
|
-
/** Default base URL for development */
|
|
20
|
-
readonly defaultBaseUrl: "https://gw-wspace.local.burdenoff.com";
|
|
21
|
-
/** GraphQL endpoint path */
|
|
22
|
-
readonly graphql: "/workspaces/graphql";
|
|
23
|
-
/** SSE endpoint path for subscriptions (same endpoint, gateway detects via Accept header) */
|
|
24
|
-
readonly sse: "/workspaces/graphql";
|
|
25
|
-
};
|
|
26
|
-
readonly global: {
|
|
27
|
-
/** Default base URL for development */
|
|
28
|
-
readonly defaultBaseUrl: "https://gw-global.local.burdenoff.com";
|
|
29
|
-
/** GraphQL endpoint path */
|
|
30
|
-
readonly graphql: "/global/graphql";
|
|
31
|
-
/** WebSocket endpoint for subscriptions (if needed) */
|
|
32
|
-
readonly ws: "/global/graphql/ws";
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
export type Supergraph = 'tenant' | 'workspaces';
|
|
36
|
-
export type Gateway = keyof typeof GATEWAYS;
|
|
37
|
-
/**
|
|
38
|
-
* Build full GraphQL endpoint URL
|
|
39
|
-
*/
|
|
40
|
-
export declare function getGraphQLEndpoint(baseUrl: string, supergraph: Supergraph): string;
|
|
41
|
-
/**
|
|
42
|
-
* Get gateway configuration
|
|
43
|
-
*/
|
|
44
|
-
export declare function getGatewayConfig(gateway: Gateway): {
|
|
45
|
-
/** Default base URL for development */
|
|
46
|
-
readonly defaultBaseUrl: "https://gw-wspace.local.burdenoff.com";
|
|
47
|
-
/** GraphQL endpoint path */
|
|
48
|
-
readonly graphql: "/workspaces/graphql";
|
|
49
|
-
/** SSE endpoint path for subscriptions (same endpoint, gateway detects via Accept header) */
|
|
50
|
-
readonly sse: "/workspaces/graphql";
|
|
51
|
-
} | {
|
|
52
|
-
/** Default base URL for development */
|
|
53
|
-
readonly defaultBaseUrl: "https://gw-global.local.burdenoff.com";
|
|
54
|
-
/** GraphQL endpoint path */
|
|
55
|
-
readonly graphql: "/global/graphql";
|
|
56
|
-
/** WebSocket endpoint for subscriptions (if needed) */
|
|
57
|
-
readonly ws: "/global/graphql/ws";
|
|
58
|
-
};
|
|
59
|
-
/**
|
|
60
|
-
* Build full gateway URL
|
|
61
|
-
*/
|
|
62
|
-
export declare function getGatewayUrl(baseUrl: string | undefined, gateway: Gateway): string;
|
|
63
|
-
export { resolveGatewayUrls } from './gatewayUrls';
|
|
64
|
-
export type { RuntimeGatewayUrls } from './gatewayUrls';
|
|
65
|
-
export { resolveAuthBridgeConfig } from './authBridgeUrls';
|
|
66
|
-
export type { RuntimeAuthBridgeConfig } from './authBridgeUrls';
|
|
67
|
-
export { PRODUCTS, PRODUCT_URLS, getProductUrl, getProductsWithUrls } from './products';
|
|
68
|
-
export type { ProductConfig } from './products';
|
|
69
|
-
export { getShellConfig, isShellLessRoute, shouldShowSidebar, shouldShowBreadcrumb, DEFAULT_SHELL_CONFIG, COMMON_SHELL_LESS_ROUTES, } from './shellRoutes';
|
|
70
|
-
export type { ShellRouteConfig } from './shellRoutes';
|
|
71
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/config/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAEpC;;;;;;GAMG;AACH,eAAO,MAAM,QAAQ;;QAEjB,uCAAuC;;QAEvC,4BAA4B;;QAE5B,6FAA6F;;;;QAI7F,uCAAuC;;QAEvC,4BAA4B;;QAE5B,uDAAuD;;;CAGjD,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,YAAY,CAAC;AACjD,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,QAAQ,CAAC;AAE5C;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,GAAG,MAAM,CAMlF;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,OAAO;IAlC7C,uCAAuC;;IAEvC,4BAA4B;;IAE5B,6FAA6F;;;IAI7F,uCAAuC;;IAEvC,4BAA4B;;IAE5B,uDAAuD;;EAwB1D;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,MAAM,CAKnF;AAGD,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,YAAY,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAGxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAC3D,YAAY,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAGhE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACxF,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGhD,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,EACpB,wBAAwB,GACzB,MAAM,eAAe,CAAC;AACvB,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"prettier.config.d.ts","sourceRoot":"","sources":["../../../src/shared/config/prettier.config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,MAW5B,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Burdenoff Product Catalog — shared across all product app shells.
|
|
3
|
-
*
|
|
4
|
-
* @module @burdenoff/fe-libs/shared/config/products
|
|
5
|
-
*/
|
|
6
|
-
export interface ProductConfig {
|
|
7
|
-
id: string;
|
|
8
|
-
name: string;
|
|
9
|
-
icon: string;
|
|
10
|
-
color: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
/**
|
|
13
|
-
* When true, the product appears in the switcher but is gated:
|
|
14
|
-
* non-clickable, with a "Coming soon" badge. Use this for products
|
|
15
|
-
* that exist in the catalog but aren't yet GA so users see the lineup
|
|
16
|
-
* without being able to navigate into a broken shell.
|
|
17
|
-
*/
|
|
18
|
-
comingSoon?: boolean;
|
|
19
|
-
}
|
|
20
|
-
export declare const PRODUCT_URLS: {
|
|
21
|
-
readonly development: {
|
|
22
|
-
readonly fluidgrids: "http://localhost:5147/";
|
|
23
|
-
readonly bigconsole: "http://localhost:5148/";
|
|
24
|
-
readonly workspaces: "http://localhost:5149/";
|
|
25
|
-
readonly vibecontrols: "http://localhost:5151/";
|
|
26
|
-
readonly botlit: "http://localhost:5152/";
|
|
27
|
-
};
|
|
28
|
-
readonly production: {
|
|
29
|
-
readonly fluidgrids: "https://app.fluidgrids.com/";
|
|
30
|
-
readonly bigconsole: "https://app.bigconsole.com/";
|
|
31
|
-
readonly workspaces: "https://app.burdenoff.com/";
|
|
32
|
-
readonly vibecontrols: "https://app.vibecontrols.com/";
|
|
33
|
-
readonly botlit: "https://app.botlit.ai/";
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
export declare const PRODUCTS: ProductConfig[];
|
|
37
|
-
export declare function getProductUrl(productId: string): string;
|
|
38
|
-
/**
|
|
39
|
-
* Get all products with environment-aware URLs.
|
|
40
|
-
*/
|
|
41
|
-
export declare function getProductsWithUrls(): {
|
|
42
|
-
url: string;
|
|
43
|
-
id: string;
|
|
44
|
-
name: string;
|
|
45
|
-
icon: string;
|
|
46
|
-
color: string;
|
|
47
|
-
description?: string;
|
|
48
|
-
/**
|
|
49
|
-
* When true, the product appears in the switcher but is gated:
|
|
50
|
-
* non-clickable, with a "Coming soon" badge. Use this for products
|
|
51
|
-
* that exist in the catalog but aren't yet GA so users see the lineup
|
|
52
|
-
* without being able to navigate into a broken shell.
|
|
53
|
-
*/
|
|
54
|
-
comingSoon?: boolean;
|
|
55
|
-
}[];
|
|
56
|
-
//# sourceMappingURL=products.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"products.d.ts","sourceRoot":"","sources":["../../../src/shared/config/products.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;CAef,CAAC;AAEX,eAAO,MAAM,QAAQ,EAAE,aAAa,EA0CnC,CAAC;AAOF,wBAAgB,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAIvD;AAED;;GAEG;AACH,wBAAgB,mBAAmB;;QAzF7B,MAAM;UACJ,MAAM;UACN,MAAM;WACL,MAAM;kBACC,MAAM;IACpB;;;;;OAKG;iBACU,OAAO;IAgFrB"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shell Route Configuration
|
|
3
|
-
*
|
|
4
|
-
* Defines which routes should show or hide specific shell elements
|
|
5
|
-
* (header, sidebar, footer, breadcrumb).
|
|
6
|
-
*
|
|
7
|
-
* This enables "shell-less" pages like login, signup, and public pages.
|
|
8
|
-
*/
|
|
9
|
-
export interface ShellRouteConfig {
|
|
10
|
-
/** Route pattern - string for exact match, RegExp for pattern match */
|
|
11
|
-
pattern: string | RegExp;
|
|
12
|
-
/** Show header (default: true) */
|
|
13
|
-
showHeader?: boolean;
|
|
14
|
-
/** Show sidebar (default: true) */
|
|
15
|
-
showSidebar?: boolean;
|
|
16
|
-
/** Show footer (default: true) */
|
|
17
|
-
showFooter?: boolean;
|
|
18
|
-
/** Show breadcrumb (default: true) */
|
|
19
|
-
showBreadcrumb?: boolean;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Default shell config - all elements visible
|
|
23
|
-
*/
|
|
24
|
-
export declare const DEFAULT_SHELL_CONFIG: Required<Omit<ShellRouteConfig, 'pattern'>>;
|
|
25
|
-
/**
|
|
26
|
-
* Common shell-less routes shared by all products.
|
|
27
|
-
* Covers auth pages, OAuth callbacks, embed/print routes, etc.
|
|
28
|
-
*
|
|
29
|
-
* Order matters - first match wins.
|
|
30
|
-
*/
|
|
31
|
-
export declare const COMMON_SHELL_LESS_ROUTES: ShellRouteConfig[];
|
|
32
|
-
/**
|
|
33
|
-
* Get shell configuration for a given pathname
|
|
34
|
-
*
|
|
35
|
-
* @param pathname - The current route pathname
|
|
36
|
-
* @param routes - Shell route configurations (first match wins). Defaults to COMMON_SHELL_LESS_ROUTES.
|
|
37
|
-
* @returns Shell configuration with visibility flags
|
|
38
|
-
*/
|
|
39
|
-
export declare function getShellConfig(pathname: string, routes?: ShellRouteConfig[]): Required<Omit<ShellRouteConfig, 'pattern'>>;
|
|
40
|
-
/**
|
|
41
|
-
* Check if a route is completely shell-less (no header, sidebar, footer, breadcrumb)
|
|
42
|
-
*/
|
|
43
|
-
export declare function isShellLessRoute(pathname: string, routes?: ShellRouteConfig[]): boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Check if a route should show the sidebar
|
|
46
|
-
*/
|
|
47
|
-
export declare function shouldShowSidebar(pathname: string, routes?: ShellRouteConfig[]): boolean;
|
|
48
|
-
/**
|
|
49
|
-
* Check if a route should show breadcrumbs
|
|
50
|
-
*/
|
|
51
|
-
export declare function shouldShowBreadcrumb(pathname: string, routes?: ShellRouteConfig[]): boolean;
|
|
52
|
-
//# sourceMappingURL=shellRoutes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"shellRoutes.d.ts","sourceRoot":"","sources":["../../../src/shared/config/shellRoutes.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,MAAM,WAAW,gBAAgB;IAC/B,uEAAuE;IACvE,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,kCAAkC;IAClC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mCAAmC;IACnC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kCAAkC;IAClC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sCAAsC;IACtC,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,IAAI,CAAC,gBAAgB,EAAE,SAAS,CAAC,CAK5E,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,EAAE,gBAAgB,EAgKtD,CAAC;AAYF;;;;;;GAMG;AACH,wBAAgB,cAAc,CAC5B,QAAQ,EAAE,MAAM,EAChB,MAAM,GAAE,gBAAgB,EAA6B,GACpD,QAAQ,CAAC,IAAI,CAAC,gBAAgB,EAAE,SAAS,CAAC,CAAC,CAe7C;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,QAAQ,EAAE,MAAM,EAChB,MAAM,GAAE,gBAAgB,EAA6B,GACpD,OAAO,CAGT;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,MAAM,EAChB,MAAM,GAAE,gBAAgB,EAA6B,GACpD,OAAO,CAET;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,MAAM,EAChB,MAAM,GAAE,gBAAgB,EAA6B,GACpD,OAAO,CAET"}
|