@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,228 +0,0 @@
|
|
|
1
|
-
import { ComponentType, LazyExoticComponent } from 'react';
|
|
2
|
-
import { Disposable, DisposableCollection } from './disposable';
|
|
3
|
-
import { CoreEventMap } from './event-bus';
|
|
4
|
-
import { NavItem } from '../hooks/shell/useNavRegistry';
|
|
5
|
-
import { FooterItem } from '../hooks/shell/useFooterRegistry';
|
|
6
|
-
export type ActivationEvent = {
|
|
7
|
-
type: 'eager';
|
|
8
|
-
} | {
|
|
9
|
-
type: 'onRoute';
|
|
10
|
-
pattern: string;
|
|
11
|
-
} | {
|
|
12
|
-
type: 'onCommand';
|
|
13
|
-
commandId: string;
|
|
14
|
-
} | {
|
|
15
|
-
type: 'onEvent';
|
|
16
|
-
eventType: string;
|
|
17
|
-
};
|
|
18
|
-
export interface ExtensionPointDeclaration {
|
|
19
|
-
id: string;
|
|
20
|
-
description?: string;
|
|
21
|
-
}
|
|
22
|
-
/** Base fields shared by all contribution items. */
|
|
23
|
-
export interface ContributionBase {
|
|
24
|
-
id: string;
|
|
25
|
-
pluginId: string;
|
|
26
|
-
order?: number;
|
|
27
|
-
visible?: boolean;
|
|
28
|
-
}
|
|
29
|
-
/** Navigation item contribution (extends existing NavItem). */
|
|
30
|
-
export type NavContribution = NavItem & {
|
|
31
|
-
pluginId: string;
|
|
32
|
-
};
|
|
33
|
-
/** Footer item contribution (extends existing FooterItem). */
|
|
34
|
-
export type FooterContribution = FooterItem & {
|
|
35
|
-
pluginId: string;
|
|
36
|
-
};
|
|
37
|
-
/** Command palette command contribution. */
|
|
38
|
-
export interface CommandContribution extends ContributionBase {
|
|
39
|
-
label: string;
|
|
40
|
-
description?: string;
|
|
41
|
-
icon?: ComponentType<{
|
|
42
|
-
className?: string;
|
|
43
|
-
}>;
|
|
44
|
-
keywords?: string[];
|
|
45
|
-
shortcut?: string;
|
|
46
|
-
section?: string;
|
|
47
|
-
/** Context expression for when this command is available, e.g. "route:/vibecontrols/*" */
|
|
48
|
-
when?: string;
|
|
49
|
-
execute: () => void | Promise<void>;
|
|
50
|
-
}
|
|
51
|
-
/** Route contribution — plugin-owned page. */
|
|
52
|
-
export interface RouteContribution extends ContributionBase {
|
|
53
|
-
path: string;
|
|
54
|
-
component: LazyExoticComponent<ComponentType<unknown>> | ComponentType<unknown>;
|
|
55
|
-
/** Which API gateway this route's data comes from. */
|
|
56
|
-
gateway?: 'workspace' | 'global';
|
|
57
|
-
/** Layout mode for the route. */
|
|
58
|
-
layout?: 'default' | 'full' | 'none';
|
|
59
|
-
}
|
|
60
|
-
/** Panel props passed to panel components. */
|
|
61
|
-
export interface PanelProps {
|
|
62
|
-
panelId: string;
|
|
63
|
-
visible: boolean;
|
|
64
|
-
onClose: () => void;
|
|
65
|
-
}
|
|
66
|
-
/** Panel/view contribution. */
|
|
67
|
-
export interface PanelContribution extends ContributionBase {
|
|
68
|
-
title: string;
|
|
69
|
-
icon?: ComponentType<{
|
|
70
|
-
className?: string;
|
|
71
|
-
}>;
|
|
72
|
-
position: 'bottom' | 'left' | 'right';
|
|
73
|
-
component: ComponentType<PanelProps>;
|
|
74
|
-
/** Default size in pixels. */
|
|
75
|
-
defaultSize?: number;
|
|
76
|
-
minSize?: number;
|
|
77
|
-
maxSize?: number;
|
|
78
|
-
defaultVisible?: boolean;
|
|
79
|
-
}
|
|
80
|
-
/** Status bar item contribution. */
|
|
81
|
-
export interface StatusBarContribution extends ContributionBase {
|
|
82
|
-
section: 'left' | 'center' | 'right';
|
|
83
|
-
priority: number;
|
|
84
|
-
component: ComponentType<Record<string, never>>;
|
|
85
|
-
tooltip?: string;
|
|
86
|
-
onClick?: () => void;
|
|
87
|
-
}
|
|
88
|
-
/** Settings page/section contribution. */
|
|
89
|
-
export interface SettingsContribution extends ContributionBase {
|
|
90
|
-
category: string;
|
|
91
|
-
label: string;
|
|
92
|
-
icon?: ComponentType<{
|
|
93
|
-
className?: string;
|
|
94
|
-
}>;
|
|
95
|
-
component: ComponentType<Record<string, never>>;
|
|
96
|
-
}
|
|
97
|
-
/** Dashboard widget contribution. */
|
|
98
|
-
export interface WidgetContribution extends ContributionBase {
|
|
99
|
-
title: string;
|
|
100
|
-
description?: string;
|
|
101
|
-
icon?: ComponentType<{
|
|
102
|
-
className?: string;
|
|
103
|
-
}>;
|
|
104
|
-
component: ComponentType<{
|
|
105
|
-
widgetId: string;
|
|
106
|
-
}>;
|
|
107
|
-
defaultSize: {
|
|
108
|
-
cols: number;
|
|
109
|
-
rows: number;
|
|
110
|
-
};
|
|
111
|
-
minSize?: {
|
|
112
|
-
cols: number;
|
|
113
|
-
rows: number;
|
|
114
|
-
};
|
|
115
|
-
maxSize?: {
|
|
116
|
-
cols: number;
|
|
117
|
-
rows: number;
|
|
118
|
-
};
|
|
119
|
-
category?: string;
|
|
120
|
-
}
|
|
121
|
-
/** Header toolbar item contribution. */
|
|
122
|
-
export interface ToolbarContribution extends ContributionBase {
|
|
123
|
-
position: 'left' | 'center' | 'right';
|
|
124
|
-
component: ComponentType<Record<string, never>>;
|
|
125
|
-
tooltip?: string;
|
|
126
|
-
}
|
|
127
|
-
/** Context menu item. */
|
|
128
|
-
export interface ContextMenuItem {
|
|
129
|
-
id: string;
|
|
130
|
-
label: string;
|
|
131
|
-
icon?: ComponentType<{
|
|
132
|
-
className?: string;
|
|
133
|
-
}>;
|
|
134
|
-
shortcut?: string;
|
|
135
|
-
disabled?: boolean;
|
|
136
|
-
execute: () => void;
|
|
137
|
-
}
|
|
138
|
-
/** Context menu contribution. */
|
|
139
|
-
export interface ContextMenuContribution extends ContributionBase {
|
|
140
|
-
/** Target element/zone this menu attaches to. */
|
|
141
|
-
target: string;
|
|
142
|
-
items: ContextMenuItem[];
|
|
143
|
-
}
|
|
144
|
-
export interface PluginContributions {
|
|
145
|
-
nav?: NavContribution[];
|
|
146
|
-
footer?: FooterContribution[];
|
|
147
|
-
commands?: CommandContribution[];
|
|
148
|
-
routes?: RouteContribution[];
|
|
149
|
-
panels?: PanelContribution[];
|
|
150
|
-
statusBar?: StatusBarContribution[];
|
|
151
|
-
settings?: SettingsContribution[];
|
|
152
|
-
widgets?: WidgetContribution[];
|
|
153
|
-
toolbar?: ToolbarContribution[];
|
|
154
|
-
contextMenus?: ContextMenuContribution[];
|
|
155
|
-
}
|
|
156
|
-
export interface UIPluginManifest {
|
|
157
|
-
id: string;
|
|
158
|
-
name: string;
|
|
159
|
-
version: string;
|
|
160
|
-
description?: string;
|
|
161
|
-
dependencies?: string[];
|
|
162
|
-
activationEvents?: ActivationEvent[];
|
|
163
|
-
contributes?: PluginContributions;
|
|
164
|
-
extensionPoints?: ExtensionPointDeclaration[];
|
|
165
|
-
}
|
|
166
|
-
export interface RegistryAPI<T extends ContributionBase> {
|
|
167
|
-
register(item: T): Disposable;
|
|
168
|
-
unregister(id: string): void;
|
|
169
|
-
getAll(): T[];
|
|
170
|
-
getByPlugin(pluginId: string): T[];
|
|
171
|
-
}
|
|
172
|
-
export type ToastType = 'info' | 'success' | 'warning' | 'error';
|
|
173
|
-
export interface PluginContext {
|
|
174
|
-
pluginId: string;
|
|
175
|
-
nav: {
|
|
176
|
-
register(items: NavContribution | NavContribution[]): Disposable;
|
|
177
|
-
unregister(id: string): void;
|
|
178
|
-
};
|
|
179
|
-
footer: {
|
|
180
|
-
register(items: FooterContribution | FooterContribution[]): Disposable;
|
|
181
|
-
unregister(id: string): void;
|
|
182
|
-
};
|
|
183
|
-
commands: RegistryAPI<CommandContribution>;
|
|
184
|
-
routes: RegistryAPI<RouteContribution>;
|
|
185
|
-
panels: RegistryAPI<PanelContribution>;
|
|
186
|
-
statusBar: RegistryAPI<StatusBarContribution>;
|
|
187
|
-
settings: RegistryAPI<SettingsContribution>;
|
|
188
|
-
widgets: RegistryAPI<WidgetContribution>;
|
|
189
|
-
toolbar: RegistryAPI<ToolbarContribution>;
|
|
190
|
-
contextMenus: RegistryAPI<ContextMenuContribution>;
|
|
191
|
-
events: {
|
|
192
|
-
on<K extends keyof CoreEventMap & string>(event: K, handler: (payload: CoreEventMap[K]) => void): Disposable;
|
|
193
|
-
on(event: string, handler: (payload: unknown) => void): Disposable;
|
|
194
|
-
once<K extends keyof CoreEventMap & string>(event: K, handler: (payload: CoreEventMap[K]) => void): Disposable;
|
|
195
|
-
once(event: string, handler: (payload: unknown) => void): Disposable;
|
|
196
|
-
emit<K extends keyof CoreEventMap & string>(event: K, payload: CoreEventMap[K]): void;
|
|
197
|
-
emit(event: string, payload: unknown): void;
|
|
198
|
-
};
|
|
199
|
-
subscriptions: DisposableCollection;
|
|
200
|
-
shell: {
|
|
201
|
-
navigate(path: string): void;
|
|
202
|
-
showToast(message: string, type?: ToastType): void;
|
|
203
|
-
getActiveContext(): {
|
|
204
|
-
workspaceId?: string;
|
|
205
|
-
tenantId?: string;
|
|
206
|
-
projectId?: string;
|
|
207
|
-
};
|
|
208
|
-
/**
|
|
209
|
-
* Returns the active user identity. Bearer tokens are intentionally
|
|
210
|
-
* redacted (`token` is always `undefined`) — plugins must use shell
|
|
211
|
-
* gateway clients for authenticated requests, not read tokens here.
|
|
212
|
-
*/
|
|
213
|
-
getAuth(): {
|
|
214
|
-
user?: unknown;
|
|
215
|
-
token?: undefined;
|
|
216
|
-
};
|
|
217
|
-
getTheme(): {
|
|
218
|
-
colorMode: 'light' | 'dark';
|
|
219
|
-
};
|
|
220
|
-
};
|
|
221
|
-
}
|
|
222
|
-
export interface UIPlugin {
|
|
223
|
-
manifest: UIPluginManifest;
|
|
224
|
-
activate(context: PluginContext): void | Promise<void>;
|
|
225
|
-
deactivate?(): void | Promise<void>;
|
|
226
|
-
}
|
|
227
|
-
export type PluginStatus = 'pending' | 'activating' | 'active' | 'error';
|
|
228
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/shared/plugins/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AACrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAMnE,MAAM,MAAM,eAAe,GACvB;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,GACjB;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GACpC;IAAE,IAAI,EAAE,WAAW,CAAC;IAAC,SAAS,E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S,GAAG,YAAY,GAAG,QAAQ,GAAG,OAAO,CAAC"}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { Brand } from './shell/ThemeProvider';
|
|
3
|
-
import { TranslationDictionary } from './shell/I18nProvider';
|
|
4
|
-
import { BurdenoffEventName } from '../events';
|
|
5
|
-
export interface AppShellConfig {
|
|
6
|
-
/** Product display name (e.g., "VibeControls", "FluidGrids") */
|
|
7
|
-
productName: string;
|
|
8
|
-
/** Product slug (e.g., "vibecontrols", "fluidgrids") */
|
|
9
|
-
productSlug?: string;
|
|
10
|
-
/** Product tagline */
|
|
11
|
-
tagline?: string;
|
|
12
|
-
/** Product domain (e.g., "vibecontrols.com") */
|
|
13
|
-
domain?: string;
|
|
14
|
-
/** Product ID for i18n translations service */
|
|
15
|
-
i18nProductId: string;
|
|
16
|
-
/** Resolved gateway URLs */
|
|
17
|
-
gatewayUrls: {
|
|
18
|
-
workspaceBaseUrl: string;
|
|
19
|
-
globalBaseUrl: string;
|
|
20
|
-
};
|
|
21
|
-
/** Auth bridge configuration */
|
|
22
|
-
authBridge?: {
|
|
23
|
-
url?: string;
|
|
24
|
-
allowedOrigins?: string;
|
|
25
|
-
debug?: boolean;
|
|
26
|
-
};
|
|
27
|
-
/** Default theme brand */
|
|
28
|
-
defaultBrand?: Brand;
|
|
29
|
-
/** Enable PWA install banner */
|
|
30
|
-
enablePWA?: boolean;
|
|
31
|
-
/** Brand initial for PWA banner icon */
|
|
32
|
-
brandInitial?: string;
|
|
33
|
-
/** Default gateway for top-level ApolloProvider */
|
|
34
|
-
defaultGateway?: 'workspace' | 'global';
|
|
35
|
-
/** Enable GraphQL subscriptions */
|
|
36
|
-
enableSubscriptions?: boolean;
|
|
37
|
-
/** Static fallback translations (keyed by locale) */
|
|
38
|
-
fallbackTranslations?: Record<string, TranslationDictionary>;
|
|
39
|
-
/** QueryClient options override */
|
|
40
|
-
queryClientOptions?: {
|
|
41
|
-
staleTime?: number;
|
|
42
|
-
retry?: number | false;
|
|
43
|
-
refetchOnWindowFocus?: boolean;
|
|
44
|
-
};
|
|
45
|
-
/** Toaster position */
|
|
46
|
-
toasterPosition?: 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right';
|
|
47
|
-
/** Frontend telemetry sinks. MFEs emit to the shell event bus only. */
|
|
48
|
-
observability?: AppShellObservabilityConfig;
|
|
49
|
-
}
|
|
50
|
-
export interface AppShellObservabilityConfig {
|
|
51
|
-
enabled?: boolean;
|
|
52
|
-
appVersion?: string;
|
|
53
|
-
appEnv?: 'dev' | 'alpha' | 'prod';
|
|
54
|
-
devtools?: boolean;
|
|
55
|
-
broadcast?: boolean;
|
|
56
|
-
rybbit?: {
|
|
57
|
-
enabled?: boolean;
|
|
58
|
-
siteId?: string;
|
|
59
|
-
scriptUrl?: string;
|
|
60
|
-
allowlist?: BurdenoffEventName[];
|
|
61
|
-
identifyOn?: BurdenoffEventName;
|
|
62
|
-
rename?: Partial<Record<BurdenoffEventName, string>>;
|
|
63
|
-
};
|
|
64
|
-
otel?: {
|
|
65
|
-
enabled?: boolean;
|
|
66
|
-
endpoint?: string;
|
|
67
|
-
serviceName?: string;
|
|
68
|
-
flushInterval?: number;
|
|
69
|
-
};
|
|
70
|
-
backendAudit?: {
|
|
71
|
-
enabled?: boolean;
|
|
72
|
-
endpoint?: string;
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
export interface AppShellObservabilityEnv {
|
|
76
|
-
DEV?: boolean;
|
|
77
|
-
PROD?: boolean;
|
|
78
|
-
MODE?: string;
|
|
79
|
-
VITE_DEPLOY_ENV?: string;
|
|
80
|
-
VITE_APP_VERSION?: string;
|
|
81
|
-
VITE_ENABLE_ANALYTICS?: string;
|
|
82
|
-
VITE_DISABLE_ANALYTICS?: string;
|
|
83
|
-
VITE_RYBBIT_SITE_ID?: string;
|
|
84
|
-
VITE_RYBBIT_SCRIPT_URL?: string;
|
|
85
|
-
VITE_OTEL_HTTP_ENDPOINT?: string;
|
|
86
|
-
VITE_BACKEND_AUDIT_ENDPOINT?: string;
|
|
87
|
-
}
|
|
88
|
-
export declare function resolveAppShellObservabilityConfig(productSlug: string, env: AppShellObservabilityEnv): AppShellObservabilityConfig;
|
|
89
|
-
export interface AppShellProviderProps {
|
|
90
|
-
config: AppShellConfig;
|
|
91
|
-
children: ReactNode;
|
|
92
|
-
/** Optional callback to clear external auth stores (e.g., microfe-auth's zustand store) */
|
|
93
|
-
clearAuthStore?: () => void;
|
|
94
|
-
}
|
|
95
|
-
export declare function AppShellProvider({ config, children, clearAuthStore }: AppShellProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
96
|
-
//# sourceMappingURL=AppShellProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AppShellProvider.d.ts","sourceRoot":"","sources":["../../../src/shared/providers/AppShellProvider.tsx"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,EAAqD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAa1F,OAAO,EAAiB,KAAK,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAUlE,OAAO,EAAgB,KAAK,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,EAQL,KAAK,kBAAkB,EACxB,MAAM,WAAW,CAAC;AAenB,MAAM,WAAW,cAAc;IAC7B,gEAAgE;IAChE,WAAW,EAAE,MAAM,CAAC;IAEpB,wDAAwD;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,sBAAsB;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,gDAAgD;IAChD,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,+CAA+C;IAC/C,aAAa,EAAE,MAAM,CAAC;IAEtB,4BAA4B;IAC5B,WAAW,EAAE;QACX,gBAAgB,EAAE,MAAM,CAAC;QACzB,aAAa,EAAE,MAAM,CAAC;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cAAc,EAAE,EAAE,qBAAqB,2CAsP3F"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { MicrofrontendRootProps } from '../types';
|
|
3
|
-
type MicrofrontendContextValue = MicrofrontendRootProps;
|
|
4
|
-
export interface MicrofrontendProviderProps extends MicrofrontendRootProps {
|
|
5
|
-
children: ReactNode;
|
|
6
|
-
/** Target supergraph (tenant or workspaces) - maps to gateway */
|
|
7
|
-
supergraph: 'tenant' | 'workspaces' | 'global';
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Provider that sets up the microfrontend context with GraphQL client,
|
|
11
|
-
* navigation, and user information.
|
|
12
|
-
*/
|
|
13
|
-
export declare function MicrofrontendProvider({ children, basePath, navigate, currentUser, tenantId, workspaceId, apiGatewayUrl, authToken, supergraph, }: MicrofrontendProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
/**
|
|
15
|
-
* Hook to access microfrontend context values
|
|
16
|
-
*/
|
|
17
|
-
export declare function useMicrofrontend(): MicrofrontendContextValue;
|
|
18
|
-
/**
|
|
19
|
-
* Hook to access the current user
|
|
20
|
-
*/
|
|
21
|
-
export declare function useCurrentUser(): import('..').User | undefined;
|
|
22
|
-
/**
|
|
23
|
-
* Hook to access navigation function
|
|
24
|
-
*/
|
|
25
|
-
export declare function useNavigate(): {
|
|
26
|
-
navigate: (path: string) => void;
|
|
27
|
-
basePath: string;
|
|
28
|
-
/**
|
|
29
|
-
* Navigate to a path relative to the microfrontend's base path
|
|
30
|
-
*/
|
|
31
|
-
navigateRelative: (path: string) => void;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* Hook to access tenant and workspace IDs
|
|
35
|
-
*/
|
|
36
|
-
export declare function useScope(): {
|
|
37
|
-
tenantId: string | undefined;
|
|
38
|
-
workspaceId: string | undefined;
|
|
39
|
-
};
|
|
40
|
-
export {};
|
|
41
|
-
//# sourceMappingURL=MicrofrontendProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MicrofrontendProvider.d.ts","sourceRoot":"","sources":["../../../src/shared/providers/MicrofrontendProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAG3E,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAEvD,KAAK,yBAAyB,GAAG,sBAAsB,CAAC;AAIxD,MAAM,WAAW,0BAA2B,SAAQ,sBAAsB;IACxE,QAAQ,EAAE,SAAS,CAAC;IACpB,iEAAiE;IACjE,UAAU,EAAE,QAAQ,GAAG,YAAY,GAAG,QAAQ,CAAC;CAChD;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,WAAW,EACX,aAAa,EACb,SAAS,EACT,UAAU,GACX,EAAE,0BAA0B,2CA8B5B;AAED;;GAEG;AACH,wBAAgB,gBAAgB,IAAI,yBAAyB,CAM5D;AAED;;GAEG;AACH,wBAAgB,cAAc,kCAG7B;AAED;;GAEG;AACH,wBAAgB,WAAW;;;IAOrB;;OAEG;6BACsB,MAAM;EAOpC;AAED;;GAEG;AACH,wBAAgB,QAAQ;;;EAGvB"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { MicrofrontendRootProps } from '../types';
|
|
3
|
-
/**
|
|
4
|
-
* Provider component that wraps microfrontends with necessary context
|
|
5
|
-
*/
|
|
6
|
-
export interface MicrofrontendProviderProps extends MicrofrontendRootProps {
|
|
7
|
-
children: ReactNode;
|
|
8
|
-
}
|
|
9
|
-
export declare function MicrofrontendProvider({ children, ...props }: MicrofrontendProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export { AppShellProvider, resolveAppShellObservabilityConfig } from './AppShellProvider';
|
|
11
|
-
export type { AppShellConfig, AppShellObservabilityConfig, AppShellObservabilityEnv, AppShellProviderProps, } from './AppShellProvider';
|
|
12
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/providers/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAEvD;;GAEG;AACH,MAAM,WAAW,0BAA2B,SAAQ,sBAAsB;IACxE,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,qBAAqB,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,0BAA0B,2CAEvF;AAGD,OAAO,EAAE,gBAAgB,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AAC1F,YAAY,EACV,cAAc,EACd,2BAA2B,EAC3B,wBAAwB,EACxB,qBAAqB,GACtB,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Context value interface for organization/workspace/project selection
|
|
4
|
-
*/
|
|
5
|
-
export interface ActiveContextValue {
|
|
6
|
-
/** Currently selected organization ID */
|
|
7
|
-
organizationId: string | null;
|
|
8
|
-
/** Currently selected workspace ID */
|
|
9
|
-
workspaceId: string | null;
|
|
10
|
-
/** Currently selected project ID */
|
|
11
|
-
projectId: string | null;
|
|
12
|
-
/** Currently selected tenant ID */
|
|
13
|
-
tenantId: string | null;
|
|
14
|
-
/** Set the active organization */
|
|
15
|
-
setOrganization: (orgId: string | null) => void;
|
|
16
|
-
/** Set the active workspace */
|
|
17
|
-
setWorkspace: (workspaceId: string | null) => void;
|
|
18
|
-
/** Set the active project */
|
|
19
|
-
setProject: (projectId: string | null) => void;
|
|
20
|
-
/** Set the active tenant */
|
|
21
|
-
setTenant: (tenantId: string | null) => void;
|
|
22
|
-
/** Set all context values at once */
|
|
23
|
-
setContext: (context: Partial<{
|
|
24
|
-
organizationId: string | null;
|
|
25
|
-
workspaceId: string | null;
|
|
26
|
-
projectId: string | null;
|
|
27
|
-
tenantId: string | null;
|
|
28
|
-
}>) => void;
|
|
29
|
-
/** Clear all context values */
|
|
30
|
-
clearContext: () => void;
|
|
31
|
-
/** Whether URL sync is enabled */
|
|
32
|
-
urlSyncEnabled: boolean;
|
|
33
|
-
}
|
|
34
|
-
export interface ActiveContextProviderProps {
|
|
35
|
-
children: ReactNode;
|
|
36
|
-
/** Default organization ID */
|
|
37
|
-
defaultOrganizationId?: string | null;
|
|
38
|
-
/** Default workspace ID */
|
|
39
|
-
defaultWorkspaceId?: string | null;
|
|
40
|
-
/** Default project ID */
|
|
41
|
-
defaultProjectId?: string | null;
|
|
42
|
-
/** Default tenant ID */
|
|
43
|
-
defaultTenantId?: string | null;
|
|
44
|
-
/** Storage key prefix for localStorage */
|
|
45
|
-
storageKey?: string;
|
|
46
|
-
/** Enable URL query param synchronization */
|
|
47
|
-
syncToUrl?: boolean;
|
|
48
|
-
/** URL param names */
|
|
49
|
-
urlParams?: {
|
|
50
|
-
organization?: string;
|
|
51
|
-
workspace?: string;
|
|
52
|
-
project?: string;
|
|
53
|
-
tenant?: string;
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* ActiveContextProvider
|
|
58
|
-
*
|
|
59
|
-
* Manages the active organization, workspace, project, and tenant context.
|
|
60
|
-
*
|
|
61
|
-
* Features:
|
|
62
|
-
* - Persists context to localStorage
|
|
63
|
-
* - Optional URL query param synchronization
|
|
64
|
-
* - URL takes priority over localStorage when syncing
|
|
65
|
-
* - Provides context to all children including microfrontends
|
|
66
|
-
*
|
|
67
|
-
* @example
|
|
68
|
-
* ```tsx
|
|
69
|
-
* <ActiveContextProvider
|
|
70
|
-
* syncToUrl={true}
|
|
71
|
-
* defaultOrganizationId="org-1"
|
|
72
|
-
* defaultWorkspaceId="ws-1"
|
|
73
|
-
* >
|
|
74
|
-
* <App />
|
|
75
|
-
* </ActiveContextProvider>
|
|
76
|
-
* ```
|
|
77
|
-
*/
|
|
78
|
-
export declare function ActiveContextProvider({ children, defaultOrganizationId, defaultWorkspaceId, defaultProjectId, defaultTenantId, storageKey, syncToUrl, urlParams, }: ActiveContextProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
79
|
-
/**
|
|
80
|
-
* Hook to access the active context
|
|
81
|
-
*
|
|
82
|
-
* @example
|
|
83
|
-
* ```tsx
|
|
84
|
-
* const { organizationId, workspaceId, setWorkspace } = useActiveContext();
|
|
85
|
-
* ```
|
|
86
|
-
*/
|
|
87
|
-
export declare function useActiveContext(): ActiveContextValue;
|
|
88
|
-
//# sourceMappingURL=ActiveContextProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ActiveContextProvider.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/ActiveContextProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAgBf;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,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;IAExB,kCAAkC;IAClC,eAAe,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAChD,+BAA+B;IAC/B,YAAY,EAAE,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACnD,6BAA6B;IAC7B,UAAU,EAAE,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,KA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UAAuC,EACvC,SAAiB,EACjB,SAA6C,GAC9C,EAAE,0BAA0B,2CAkS5B;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,uBAM/B"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export declare const ACTIVE_CONTEXT_STORAGE_KEY = "burdenoff-active-context";
|
|
2
|
-
export type ActiveContextStorageField = 'organization' | 'workspace' | 'project' | 'tenant';
|
|
3
|
-
export interface ActiveContextUrlParams {
|
|
4
|
-
organization?: string;
|
|
5
|
-
workspace?: string;
|
|
6
|
-
project?: string;
|
|
7
|
-
tenant?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const DEFAULT_ACTIVE_CONTEXT_URL_PARAMS: Required<ActiveContextUrlParams>;
|
|
10
|
-
export interface ActiveContextSnapshot {
|
|
11
|
-
organizationId: string | null;
|
|
12
|
-
workspaceId: string | null;
|
|
13
|
-
projectId: string | null;
|
|
14
|
-
tenantId: string | null;
|
|
15
|
-
}
|
|
16
|
-
export declare function getUrlParam(paramName: string): string | null;
|
|
17
|
-
export declare function readActiveContextStorageValue(field: ActiveContextStorageField, storageKey?: string): string | null;
|
|
18
|
-
export declare function writeActiveContextStorageValue(field: ActiveContextStorageField, value: string | null, storageKey?: string): void;
|
|
19
|
-
/**
|
|
20
|
-
* Writes a context value to localStorage as a fallback, bypassing the normal
|
|
21
|
-
* "write then remove" pattern in writeActiveContextStorageValue.
|
|
22
|
-
*
|
|
23
|
-
* Storage contract:
|
|
24
|
-
* - sessionStorage is the primary store for current tab context
|
|
25
|
-
* - localStorage is used in two ways:
|
|
26
|
-
* 1. As a legacy migration source (read by readActiveContextStorageValue,
|
|
27
|
-
* then removed after migration to sessionStorage)
|
|
28
|
-
* 2. As a fallback when profile context isn't yet hydrated (profileId is null)
|
|
29
|
-
*
|
|
30
|
-
* When the profile context isn't available (profileId returns null), we need
|
|
31
|
-
* to persist to localStorage so that on full page reload (which clears
|
|
32
|
-
* sessionStorage), the context can be restored. The value will be picked up
|
|
33
|
-
* by readActiveContextStorageValue's profile context fallback.
|
|
34
|
-
*
|
|
35
|
-
* This helper does NOT clear localStorage afterwards, unlike the main write
|
|
36
|
-
* function, because we intentionally want to re-seed it for reload recovery.
|
|
37
|
-
*/
|
|
38
|
-
export declare function writeActiveContextFallback(field: ActiveContextStorageField, value: string | null, storageKey?: string): void;
|
|
39
|
-
export declare function clearActiveContextStorage(storageKey?: string): void;
|
|
40
|
-
export declare function readActiveContextValueWithUrlPrecedence(field: ActiveContextStorageField, options?: {
|
|
41
|
-
storageKey?: string;
|
|
42
|
-
urlParam?: string;
|
|
43
|
-
}): string | null;
|
|
44
|
-
export declare function readActiveContextSnapshot(storageKey?: string, urlParams?: ActiveContextUrlParams): ActiveContextSnapshot;
|
|
45
|
-
//# sourceMappingURL=ActiveContextStorage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ActiveContextStorage.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/ActiveContextStorage.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,0BAA0B,6BAA6B,CAAC;AAErE,MAAM,MAAM,yBAAyB,GAAG,cAAc,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE5F,MAAM,WAAW,sBAAsB;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,iCAAiC,EAAE,QAAQ,CAAC,sBAAsB,CAK9E,CAAC;AAEF,MAAM,WAAW,qBAAqB;IACpC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AA6BD,wBAAgB,WAAW,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAO5D;AAED,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,yBAAyB,EAChC,UAAU,SAA6B,GACtC,MAAM,GAAG,IAAI,CAyBf;AAED,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,yBAAyB,EAChC,KAAK,EAAE,MAAM,GAAG,IAAI,EACpB,UAAU,SAA6B,GACtC,IAAI,CAaN;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,yBAAyB,EAChC,KAAK,EAAE,MAAM,GAAG,IAAI,EACpB,UAAU,SAA6B,GACtC,IAAI,CAWN;AAED,wBAAgB,yBAAyB,CAAC,UAAU,SAA6B,GAAG,IAAI,CAUvF;AAED,wBAAgB,uCAAuC,CACrD,KAAK,EAAE,yBAAyB,EAChC,OAAO,CAAC,EAAE;IACR,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GACA,MAAM,GAAG,IAAI,CAOf;AAED,wBAAgB,yBAAyB,CACvC,UAAU,SAA6B,EACvC,SAAS,GAAE,sBAA0D,GACpE,qBAAqB,CAmBvB"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface AppShellContextValue {
|
|
3
|
-
/** Product display name (e.g., "VibeControls", "FluidGrids") */
|
|
4
|
-
productName: string;
|
|
5
|
-
/** Product slug (e.g., "vibecontrols", "fluidgrids") */
|
|
6
|
-
productSlug: string;
|
|
7
|
-
/** Brand initial for logos (e.g., "VC", "FG") */
|
|
8
|
-
brandInitial: string;
|
|
9
|
-
/** Product tagline */
|
|
10
|
-
tagline: string;
|
|
11
|
-
/** Product domain (e.g., "vibecontrols.com") */
|
|
12
|
-
domain?: string;
|
|
13
|
-
}
|
|
14
|
-
export declare function AppShellContextProvider({ value, children, }: {
|
|
15
|
-
value: AppShellContextValue;
|
|
16
|
-
children: ReactNode;
|
|
17
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export declare function useAppShell(): AppShellContextValue;
|
|
19
|
-
//# sourceMappingURL=AppShellContext.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AppShellContext.d.ts","sourceRoot":"","sources":["../../../../src/shared/providers/shell/AppShellContext.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAElE,MAAM,WAAW,oBAAoB;IACnC,gEAAgE;IAChE,WAAW,EAAE,MAAM,CAAC;IACpB,wDAAwD;IACxD,WAAW,EAAE,MAAM,CAAC;IACpB,iDAAiD;IACjD,YAAY,EAAE,MAAM,CAAC;IACrB,sBAAsB;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,gDAAgD;IAChD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AASD,wBAAgB,uBAAuB,CAAC,EACtC,KAAK,EACL,QAAQ,GACT,EAAE;IACD,KAAK,EAAE,oBAAoB,CAAC;IAC5B,QAAQ,EAAE,SAAS,CAAC;CACrB,2CAEA;AAED,wBAAgB,WAAW,IAAI,oBAAoB,CAElD"}
|