@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,10 +0,0 @@
|
|
|
1
|
-
interface BroadcastChannelSinkProps {
|
|
2
|
-
channelName?: string;
|
|
3
|
-
}
|
|
4
|
-
/**
|
|
5
|
-
* BroadcastChannelSink relays every event bus emission to a BroadcastChannel
|
|
6
|
-
* so other tabs/windows of the same origin receive the events.
|
|
7
|
-
*/
|
|
8
|
-
export declare function BroadcastChannelSink({ channelName, }: BroadcastChannelSinkProps): null;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=BroadcastChannelSink.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BroadcastChannelSink.d.ts","sourceRoot":"","sources":["../../../../src/shared/events/sinks/BroadcastChannelSink.tsx"],"names":[],"mappings":"AAKA,UAAU,yBAAyB;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,WAAgC,GACjC,EAAE,yBAAyB,QAoB3B"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
interface DevtoolsSinkProps {
|
|
2
|
-
enabled?: boolean;
|
|
3
|
-
}
|
|
4
|
-
/**
|
|
5
|
-
* DevtoolsSink logs every event bus emission to the browser console.
|
|
6
|
-
* Render inside EventBusProvider. Typically enabled only in development.
|
|
7
|
-
*/
|
|
8
|
-
export declare function DevtoolsSink({ enabled }: DevtoolsSinkProps): null;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=DevtoolsSink.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DevtoolsSink.d.ts","sourceRoot":"","sources":["../../../../src/shared/events/sinks/DevtoolsSink.tsx"],"names":[],"mappings":"AAKA,UAAU,iBAAiB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,EAAE,OAAc,EAAE,EAAE,iBAAiB,QAgBjE"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
interface OtelBrowserSinkProps {
|
|
2
|
-
endpoint: string | undefined;
|
|
3
|
-
/** Service name for OTLP resource. Default "frontend". */
|
|
4
|
-
serviceName?: string;
|
|
5
|
-
/** How long to wait before flushing spans (ms). Default 5000. */
|
|
6
|
-
flushInterval?: number;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* OtelBrowserSink forwards event bus emissions as OTLP/HTTP trace spans.
|
|
10
|
-
* Uses fetch to POST to the configured OpenTelemetry collector endpoint.
|
|
11
|
-
*/
|
|
12
|
-
export declare function OtelBrowserSink({ endpoint, serviceName, flushInterval, }: OtelBrowserSinkProps): null;
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=OtelBrowserSink.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OtelBrowserSink.d.ts","sourceRoot":"","sources":["../../../../src/shared/events/sinks/OtelBrowserSink.tsx"],"names":[],"mappings":"AAMA,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,0DAA0D;IAC1D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iEAAiE;IACjE,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAiED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,WAAwB,EACxB,aAAoB,GACrB,EAAE,oBAAoB,QAmDtB"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { BurdenoffEventName } from '../index';
|
|
2
|
-
interface RybbitSinkProps {
|
|
3
|
-
siteId: string | undefined;
|
|
4
|
-
scriptUrl?: string;
|
|
5
|
-
/** Map event bus names to Rybbit event names. Defaults to identity. */
|
|
6
|
-
rename?: Partial<Record<BurdenoffEventName, string>>;
|
|
7
|
-
/** Only forward these event names to Rybbit. Defaults to a minimal privacy-safe list. */
|
|
8
|
-
allowlist?: BurdenoffEventName[];
|
|
9
|
-
/** Which event triggers `rybbit.identify`. */
|
|
10
|
-
identifyOn?: BurdenoffEventName;
|
|
11
|
-
}
|
|
12
|
-
export declare function shouldDropAnalyticsKey(key: string, eventName: BurdenoffEventName): boolean;
|
|
13
|
-
/**
|
|
14
|
-
* RybbitSink injects the Rybbit analytics script and forwards matching
|
|
15
|
-
* event bus emissions as Rybbit custom events.
|
|
16
|
-
*/
|
|
17
|
-
export declare function RybbitSink({ siteId, scriptUrl, rename, allowlist, identifyOn, }: RybbitSinkProps): null;
|
|
18
|
-
export {};
|
|
19
|
-
//# sourceMappingURL=RybbitSink.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RybbitSink.d.ts","sourceRoot":"","sources":["../../../../src/shared/events/sinks/RybbitSink.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAe,KAAK,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAuChE,UAAU,eAAe;IACvB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uEAAuE;IACvE,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC,CAAC;IACrD,yFAAyF;IACzF,SAAS,CAAC,EAAE,kBAAkB,EAAE,CAAC;IACjC,8CAA8C;IAC9C,UAAU,CAAC,EAAE,kBAAkB,CAAC;CACjC;AA2BD,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,kBAAkB,GAAG,OAAO,CAI1F;AA6BD;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EACzB,MAAM,EACN,SAAiD,EACjD,MAAW,EACX,SAAoC,EACpC,UAA6B,GAC9B,EAAE,eAAe,QAuDjB"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { DevtoolsSink } from './DevtoolsSink';
|
|
2
|
-
export { BroadcastChannelSink } from './BroadcastChannelSink';
|
|
3
|
-
export { BackendAuditSink } from './BackendAuditSink';
|
|
4
|
-
export { RybbitSink } from './RybbitSink';
|
|
5
|
-
export { OtelBrowserSink } from './OtelBrowserSink';
|
|
6
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/shared/events/sinks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { FeatureFlagContextValue, FeatureFlagProviderConfig } from './types';
|
|
3
|
-
export interface FeatureFlagProviderProps extends FeatureFlagProviderConfig {
|
|
4
|
-
children: ReactNode;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* FeatureFlagProvider — manages feature flag state for UI components.
|
|
8
|
-
*
|
|
9
|
-
* Evaluates feature flags against the backend for the given workspace context.
|
|
10
|
-
* When workspaceId is null (not in a workspace), flags are not fetched and
|
|
11
|
-
* all flags return the default-allow value (true).
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* // In your app shell
|
|
16
|
-
* <FeatureFlagProvider workspaceId={activeWorkspaceId} refreshInterval={60000}>
|
|
17
|
-
* <App />
|
|
18
|
-
* </FeatureFlagProvider>
|
|
19
|
-
*
|
|
20
|
-
* // In components
|
|
21
|
-
* const { isEnabled } = useFeatureFlags();
|
|
22
|
-
* if (isEnabled('new-dashboard')) {
|
|
23
|
-
* return <NewDashboard />;
|
|
24
|
-
* }
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
export declare function FeatureFlagProvider({ children, workspaceId, gateway, flagKeys, refreshInterval, // 5 minutes
|
|
28
|
-
staleTime, // 5 minutes
|
|
29
|
-
debug, defaultEnabled, }: FeatureFlagProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
/**
|
|
31
|
-
* Hook to access the feature flag context.
|
|
32
|
-
*
|
|
33
|
-
* @throws Error if used outside a FeatureFlagProvider.
|
|
34
|
-
*
|
|
35
|
-
* @example
|
|
36
|
-
* ```tsx
|
|
37
|
-
* const { isEnabled, getValue, isLoading } = useFeatureFlags();
|
|
38
|
-
*
|
|
39
|
-
* if (isLoading) return <Spinner />;
|
|
40
|
-
*
|
|
41
|
-
* if (isEnabled('new-dashboard')) {
|
|
42
|
-
* return <NewDashboard />;
|
|
43
|
-
* }
|
|
44
|
-
* ```
|
|
45
|
-
*/
|
|
46
|
-
export declare function useFeatureFlags(): FeatureFlagContextValue;
|
|
47
|
-
//# sourceMappingURL=FeatureFlagProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureFlagProvider.d.ts","sourceRoot":"","sources":["../../../src/shared/feature-flags/FeatureFlagProvider.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAQL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAGV,uBAAuB,EACvB,yBAAyB,EAE1B,MAAM,SAAS,CAAC;AA+BjB,MAAM,WAAW,wBAAyB,SAAQ,yBAAyB;IACzE,QAAQ,EAAE,SAAS,CAAC;CACrB;AAMD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,QAAQ,EACR,WAAW,EACX,OAAkB,EAClB,QAAQ,EACR,eAA+B,EAAE,YAAY;AAC7C,SAAyB,EAAE,YAAY;AACvC,KAAa,EACb,cAAqB,GACtB,EAAE,wBAAwB,2CAuN1B;AAMD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,eAAe,IAAI,uBAAuB,CAMzD"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface FeatureGateProps {
|
|
3
|
-
/** Feature flag key to check */
|
|
4
|
-
flag: string;
|
|
5
|
-
/** Content to render when the flag is enabled (or disabled if inverted) */
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
/** Content to render when the flag is disabled (or enabled if inverted) */
|
|
8
|
-
fallback?: ReactNode;
|
|
9
|
-
/** Content to render while flags are loading */
|
|
10
|
-
loading?: ReactNode;
|
|
11
|
-
/**
|
|
12
|
-
* Invert the check: render children when the flag is DISABLED.
|
|
13
|
-
* Useful for showing legacy UI until a new feature is enabled.
|
|
14
|
-
* @default false
|
|
15
|
-
*/
|
|
16
|
-
invert?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Default value if the flag is not found.
|
|
19
|
-
* @default true (default-allow)
|
|
20
|
-
*/
|
|
21
|
-
defaultValue?: boolean;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* FeatureGate — conditionally renders content based on a feature flag.
|
|
25
|
-
*/
|
|
26
|
-
export declare function FeatureGate({ flag, children, fallback, loading, invert, defaultValue, }: FeatureGateProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
//# sourceMappingURL=FeatureGate.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureGate.d.ts","sourceRoot":"","sources":["../../../src/shared/feature-flags/FeatureGate.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,WAAW,gBAAgB;IAC/B,gCAAgC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,2EAA2E;IAC3E,QAAQ,EAAE,SAAS,CAAC;IACpB,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,gDAAgD;IAChD,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,QAAQ,EACR,QAAe,EACf,OAAc,EACd,MAAc,EACd,YAAmB,GACpB,EAAE,gBAAgB,2CAiBlB"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @burdenoff/fe-libs/shared/feature-flags
|
|
3
|
-
*
|
|
4
|
-
* Enhanced feature flag module for Burdenoff products.
|
|
5
|
-
*
|
|
6
|
-
* Provides a React context provider that evaluates feature flags against
|
|
7
|
-
* the global-tenant-svc backend, with workspace-aware re-fetching,
|
|
8
|
-
* polling, and default-allow semantics.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```tsx
|
|
12
|
-
* import {
|
|
13
|
-
* FeatureFlagProvider,
|
|
14
|
-
* useFeatureFlags,
|
|
15
|
-
* useFeatureFlag,
|
|
16
|
-
* FeatureGate,
|
|
17
|
-
* } from '@burdenoff/fe-libs/shared/feature-flags';
|
|
18
|
-
*
|
|
19
|
-
* // In shell
|
|
20
|
-
* <FeatureFlagProvider workspaceId={workspaceId}>
|
|
21
|
-
* <App />
|
|
22
|
-
* </FeatureFlagProvider>
|
|
23
|
-
*
|
|
24
|
-
* // In components
|
|
25
|
-
* const isEnabled = useFeatureFlag('new-dashboard');
|
|
26
|
-
* // or
|
|
27
|
-
* <FeatureGate flag="new-dashboard" fallback={<LegacyDashboard />}>
|
|
28
|
-
* <NewDashboard />
|
|
29
|
-
* </FeatureGate>
|
|
30
|
-
* ```
|
|
31
|
-
*/
|
|
32
|
-
export { FeatureFlagProvider, useFeatureFlags } from './FeatureFlagProvider';
|
|
33
|
-
export type { FeatureFlagProviderProps } from './FeatureFlagProvider';
|
|
34
|
-
export { useFeatureFlag, useFeatureFlagValue, useFeatureFlagDetails } from './useFeatureFlag';
|
|
35
|
-
export { FeatureGate } from './FeatureGate';
|
|
36
|
-
export type { FeatureGateProps } from './FeatureGate';
|
|
37
|
-
export type { FlagValue, FlagType, FlagStatus, FlagEvaluation, BulkEvaluationResponse, FeatureFlagProviderConfig, FeatureFlagContextValue, } from './types';
|
|
38
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/feature-flags/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAGH,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7E,YAAY,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAGtE,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAG9F,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGtD,YAAY,EACV,SAAS,EACT,QAAQ,EACR,UAAU,EACV,cAAc,EACd,sBAAsB,EACtB,yBAAyB,EACzB,uBAAuB,GACxB,MAAM,SAAS,CAAC"}
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Feature Flags — Type Definitions
|
|
3
|
-
*
|
|
4
|
-
* Types for the enhanced feature flag provider that communicates with
|
|
5
|
-
* the global-tenant-svc `evaluateFeatureFlags` GraphQL endpoint.
|
|
6
|
-
*
|
|
7
|
-
* Compatible with OpenFeature ResolutionDetails.
|
|
8
|
-
*/
|
|
9
|
-
/** Supported feature flag value types */
|
|
10
|
-
export type FlagValue = boolean | string | number | Record<string, unknown>;
|
|
11
|
-
/** Feature flag type enumeration (mirrors backend FeatureFlagType) */
|
|
12
|
-
export type FlagType = 'BOOLEAN' | 'STRING' | 'NUMBER' | 'JSON';
|
|
13
|
-
/** Feature flag status (mirrors backend FeatureFlagStatus) */
|
|
14
|
-
export type FlagStatus = 'ACTIVE' | 'ARCHIVED';
|
|
15
|
-
/**
|
|
16
|
-
* Single flag evaluation result from the backend.
|
|
17
|
-
* Compatible with OpenFeature ResolutionDetails.
|
|
18
|
-
*/
|
|
19
|
-
export interface FlagEvaluation {
|
|
20
|
-
/** Flag key */
|
|
21
|
-
key: string;
|
|
22
|
-
/** Resolved value */
|
|
23
|
-
value: FlagValue;
|
|
24
|
-
/** Variant name (optional) */
|
|
25
|
-
variant?: string;
|
|
26
|
-
/** Resolution reason (e.g., "DEFAULT", "WORKSPACE_OVERRIDE", "USER_PREFERENCE") */
|
|
27
|
-
reason: string;
|
|
28
|
-
/** Flag type */
|
|
29
|
-
flagType: FlagType;
|
|
30
|
-
/** Error code if evaluation failed */
|
|
31
|
-
errorCode?: string;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Bulk evaluation response from backend.
|
|
35
|
-
*/
|
|
36
|
-
export interface BulkEvaluationResponse {
|
|
37
|
-
evaluateFeatureFlags: {
|
|
38
|
-
evaluations: FlagEvaluation[];
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Configuration for the FeatureFlagProvider.
|
|
43
|
-
*/
|
|
44
|
-
export interface FeatureFlagProviderConfig {
|
|
45
|
-
/**
|
|
46
|
-
* Workspace ID for flag evaluation context.
|
|
47
|
-
* Flags are re-fetched when this changes.
|
|
48
|
-
*/
|
|
49
|
-
workspaceId: string | null;
|
|
50
|
-
/**
|
|
51
|
-
* Gateway to use for fetching flags.
|
|
52
|
-
* @default 'global'
|
|
53
|
-
*/
|
|
54
|
-
gateway?: 'workspace' | 'global';
|
|
55
|
-
/**
|
|
56
|
-
* Specific flag keys to evaluate.
|
|
57
|
-
* If omitted, evaluates ALL active flags.
|
|
58
|
-
*/
|
|
59
|
-
flagKeys?: string[];
|
|
60
|
-
/**
|
|
61
|
-
* Polling interval in milliseconds for auto-refresh.
|
|
62
|
-
* Set to 0 to disable polling.
|
|
63
|
-
* @default 300000 (5 minutes)
|
|
64
|
-
*/
|
|
65
|
-
refreshInterval?: number;
|
|
66
|
-
/**
|
|
67
|
-
* Stale time in milliseconds. Flags are considered fresh for this duration.
|
|
68
|
-
* @default 300000 (5 minutes)
|
|
69
|
-
*/
|
|
70
|
-
staleTime?: number;
|
|
71
|
-
/**
|
|
72
|
-
* Enable debug logging.
|
|
73
|
-
* @default false
|
|
74
|
-
*/
|
|
75
|
-
debug?: boolean;
|
|
76
|
-
/**
|
|
77
|
-
* Default value returned by isEnabled() when a flag is not found.
|
|
78
|
-
* Follows the default-allow principle.
|
|
79
|
-
* @default true
|
|
80
|
-
*/
|
|
81
|
-
defaultEnabled?: boolean;
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* Feature flag context value provided to consumers.
|
|
85
|
-
*/
|
|
86
|
-
export interface FeatureFlagContextValue {
|
|
87
|
-
/** Map of flag key -> evaluation result */
|
|
88
|
-
evaluations: Map<string, FlagEvaluation>;
|
|
89
|
-
/** Whether flags are currently being fetched */
|
|
90
|
-
isLoading: boolean;
|
|
91
|
-
/** Error from the last fetch attempt */
|
|
92
|
-
error: Error | null;
|
|
93
|
-
/**
|
|
94
|
-
* Check if a feature flag is enabled.
|
|
95
|
-
* Returns `defaultEnabled` (default: true) if the flag is not found
|
|
96
|
-
* (default-allow principle).
|
|
97
|
-
*/
|
|
98
|
-
isEnabled: (flagKey: string) => boolean;
|
|
99
|
-
/**
|
|
100
|
-
* Get the resolved value of a feature flag.
|
|
101
|
-
* Returns `defaultValue` if the flag is not found.
|
|
102
|
-
*/
|
|
103
|
-
getValue: <T extends FlagValue = FlagValue>(flagKey: string, defaultValue: T) => T;
|
|
104
|
-
/**
|
|
105
|
-
* Get the full evaluation details for a flag.
|
|
106
|
-
* Returns undefined if the flag is not found.
|
|
107
|
-
*/
|
|
108
|
-
getEvaluation: (flagKey: string) => FlagEvaluation | undefined;
|
|
109
|
-
/**
|
|
110
|
-
* Get a flat map of all flag keys to their boolean enabled states.
|
|
111
|
-
* Useful for bulk checks or debugging.
|
|
112
|
-
*/
|
|
113
|
-
getAllFlags: () => Record<string, FlagValue>;
|
|
114
|
-
/**
|
|
115
|
-
* Manually trigger a re-fetch of all flags.
|
|
116
|
-
*/
|
|
117
|
-
refreshFlags: () => Promise<void>;
|
|
118
|
-
/** Current workspace ID being evaluated against */
|
|
119
|
-
workspaceId: string | null;
|
|
120
|
-
}
|
|
121
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/shared/feature-flags/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,yCAAyC;AACzC,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE5E,sEAAsE;AACtE,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEhE,8DAA8D;AAC9D,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,UAAU,CAAC;AAM/C;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,eAAe;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,qBAAqB;IACrB,KAAK,EAAE,SAAS,CAAC;IACjB,8BAA8B;IAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,mFAAmF;IACnF,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB;IAChB,QAAQ,EAAE,QAAQ,CAAC;IACnB,sCAAsC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,oBAAoB,EAAE;QACpB,WAAW,EAAE,cAAc,EAAE,CAAC;KAC/B,CAAC;CACH;AAMD;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;;OAGG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;;OAGG;IACH,OAAO,CAAC,EAAE,WAAW,GAAG,QAAQ,CAAC;IAEjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IAEpB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAMD;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,2CAA2C;IAC3C,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IAEzC,gDAAgD;IAChD,SAAS,EAAE,OAAO,CAAC;IAEnB,wCAAwC;IACxC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IAEpB;;;;OAIG;IACH,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC;IAExC;;;OAGG;IACH,QAAQ,EAAE,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,KAAK,CAAC,CAAC;IAEnF;;;OAGG;IACH,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,cAAc,GAAG,SAAS,CAAC;IAE/D;;;OAGG;IACH,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAE7C;;OAEG;IACH,YAAY,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAElC,mDAAmD;IACnD,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { FlagValue, FlagEvaluation } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Check if a single feature flag is enabled.
|
|
4
|
-
*
|
|
5
|
-
* @param flagKey - The feature flag key to check
|
|
6
|
-
* @param defaultValue - Default value if flag not found (default: true — default-allow)
|
|
7
|
-
* @returns Whether the flag is enabled
|
|
8
|
-
*/
|
|
9
|
-
export declare function useFeatureFlag(flagKey: string, defaultValue?: boolean): boolean;
|
|
10
|
-
/**
|
|
11
|
-
* Get the resolved value of a single feature flag.
|
|
12
|
-
*
|
|
13
|
-
* @param flagKey - The feature flag key
|
|
14
|
-
* @param defaultValue - Default value if flag not found
|
|
15
|
-
* @returns The resolved flag value
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```tsx
|
|
19
|
-
* const maxItems = useFeatureFlagValue('max-items-per-page', 20);
|
|
20
|
-
* const theme = useFeatureFlagValue('experiment-theme', 'default');
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare function useFeatureFlagValue<T extends FlagValue = FlagValue>(flagKey: string, defaultValue: T): T;
|
|
24
|
-
/**
|
|
25
|
-
* Get full evaluation details for a single feature flag.
|
|
26
|
-
*
|
|
27
|
-
* Useful when you need the resolution reason, variant, or error code.
|
|
28
|
-
*
|
|
29
|
-
* @param flagKey - The feature flag key
|
|
30
|
-
* @returns The evaluation details, or undefined if not found
|
|
31
|
-
*
|
|
32
|
-
* @example
|
|
33
|
-
* ```tsx
|
|
34
|
-
* const evaluation = useFeatureFlagDetails('ab-test-checkout');
|
|
35
|
-
* if (evaluation?.variant === 'variant-b') {
|
|
36
|
-
* return <CheckoutVariantB />;
|
|
37
|
-
* }
|
|
38
|
-
* ```
|
|
39
|
-
*/
|
|
40
|
-
export declare function useFeatureFlagDetails(flagKey: string): FlagEvaluation | undefined;
|
|
41
|
-
//# sourceMappingURL=useFeatureFlag.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useFeatureFlag.d.ts","sourceRoot":"","sources":["../../../src/shared/feature-flags/useFeatureFlag.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAIH,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzD;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,YAAY,UAAO,GAAG,OAAO,CAY5E;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EACjE,OAAO,EAAE,MAAM,EACf,YAAY,EAAE,CAAC,GACd,CAAC,CAOH;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,cAAc,GAAG,SAAS,CAMjF"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { CountryData } from './countries';
|
|
3
|
-
export interface GeographyContextValue {
|
|
4
|
-
/** Currently selected country */
|
|
5
|
-
country: CountryData | null;
|
|
6
|
-
/** ISO country code */
|
|
7
|
-
countryCode: string | null;
|
|
8
|
-
/** Active currency code */
|
|
9
|
-
currency: string;
|
|
10
|
-
/** Active timezone */
|
|
11
|
-
timezone: string;
|
|
12
|
-
/** Whether geography is loading */
|
|
13
|
-
loading: boolean;
|
|
14
|
-
/** Whether geography was auto-detected */
|
|
15
|
-
autoDetected: boolean;
|
|
16
|
-
/** Set country by ISO code */
|
|
17
|
-
setCountry: (code: string) => void;
|
|
18
|
-
/** Override currency (independent of country) */
|
|
19
|
-
setCurrency: (currency: string) => void;
|
|
20
|
-
/** Override timezone (independent of country) */
|
|
21
|
-
setTimezone: (timezone: string) => void;
|
|
22
|
-
}
|
|
23
|
-
export interface GeographyProviderProps {
|
|
24
|
-
children: ReactNode;
|
|
25
|
-
/** Profile ID for scoped storage (from auth) */
|
|
26
|
-
profileId?: string | null;
|
|
27
|
-
/** Default country code if detection fails */
|
|
28
|
-
defaultCountry?: string;
|
|
29
|
-
/** Whether to enable auto-detection via GPS/timezone */
|
|
30
|
-
enableAutoDetect?: boolean;
|
|
31
|
-
/** Callback when geography changes (for persisting to backend) */
|
|
32
|
-
onGeographyChange?: (geo: {
|
|
33
|
-
country: string;
|
|
34
|
-
currency: string;
|
|
35
|
-
timezone: string;
|
|
36
|
-
}) => void;
|
|
37
|
-
}
|
|
38
|
-
export declare function useGeography(): GeographyContextValue;
|
|
39
|
-
export declare function GeographyProvider({ children, profileId, defaultCountry, enableAutoDetect, onGeographyChange, }: GeographyProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
40
|
-
//# sourceMappingURL=GeographyProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GeographyProvider.d.ts","sourceRoot":"","sources":["../../../src/shared/geography/GeographyProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAO/C,MAAM,WAAW,qBAAqB;IACpC,iCAAiC;IACjC,OAAO,EAAE,WAAW,GAAG,IAAI,CAAC;IAC5B,uBAAuB;IACvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,2BAA2B;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,sBAAsB;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,mCAAmC;IACnC,OAAO,EAAE,OAAO,CAAC;IACjB,0CAA0C;IAC1C,YAAY,EAAE,OAAO,CAAC;IACtB,8BAA8B;IAC9B,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,iDAAiD;IACjD,WAAW,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,iDAAiD;IACjD,WAAW,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,SAAS,CAAC;IACpB,gDAAgD;IAChD,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,8CAA8C;IAC9C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,wDAAwD;IACxD,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,kEAAkE;IAClE,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CAC5F;AAQD,wBAAgB,YAAY,IAAI,qBAAqB,CAMpD;AAwHD,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,SAAS,EACT,cAAqB,EACrB,gBAAuB,EACvB,iBAAiB,GAClB,EAAE,sBAAsB,2CA0KxB"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Comprehensive country dataset based on ISO 3166-1 alpha-2.
|
|
3
|
-
*
|
|
4
|
-
* Sources:
|
|
5
|
-
* - Country codes & names: ISO 3166-1
|
|
6
|
-
* - Currencies: ISO 4217
|
|
7
|
-
* - Timezones: IANA Time Zone Database
|
|
8
|
-
* - Calling codes: ITU-T E.164
|
|
9
|
-
* - Regions: UN M49 geoscheme (simplified to 5 macro regions)
|
|
10
|
-
*/
|
|
11
|
-
export interface CountryData {
|
|
12
|
-
/** ISO 3166-1 alpha-2 code */
|
|
13
|
-
code: string;
|
|
14
|
-
/** English name */
|
|
15
|
-
name: string;
|
|
16
|
-
/** Emoji flag */
|
|
17
|
-
flag: string;
|
|
18
|
-
/** Default ISO 4217 currency code */
|
|
19
|
-
currency: string;
|
|
20
|
-
/** Currency symbol */
|
|
21
|
-
currencySymbol: string;
|
|
22
|
-
/** Primary IANA timezone */
|
|
23
|
-
timezone: string;
|
|
24
|
-
/** International calling code */
|
|
25
|
-
callingCode: string;
|
|
26
|
-
/** Geographic region */
|
|
27
|
-
region: 'Africa' | 'Americas' | 'Asia' | 'Europe' | 'Oceania';
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* All ISO 3166-1 alpha-2 countries.
|
|
31
|
-
*
|
|
32
|
-
* The most significant countries are listed first (US, GB, IN, DE, FR, JP,
|
|
33
|
-
* CN, AU, CA, BR, ...) followed by every remaining country sorted
|
|
34
|
-
* alphabetically by its two-letter code.
|
|
35
|
-
*/
|
|
36
|
-
export declare const COUNTRIES: CountryData[];
|
|
37
|
-
/** Map of country code to CountryData for O(1) lookup */
|
|
38
|
-
export declare const COUNTRY_MAP: Record<string, CountryData>;
|
|
39
|
-
/** Get country by ISO 3166-1 alpha-2 code */
|
|
40
|
-
export declare function getCountryByCode(code: string): CountryData | undefined;
|
|
41
|
-
/** Get all countries belonging to a geographic region */
|
|
42
|
-
export declare function getCountriesByRegion(region: CountryData['region']): CountryData[];
|
|
43
|
-
/** All available regions */
|
|
44
|
-
export declare const REGIONS: CountryData['region'][];
|
|
45
|
-
/**
|
|
46
|
-
* Map from common IANA timezones to ISO 3166-1 alpha-2 country codes.
|
|
47
|
-
*
|
|
48
|
-
* Useful for reverse geo-detection: detect the browser timezone via
|
|
49
|
-
* `Intl.DateTimeFormat().resolvedOptions().timeZone` then look up the likely
|
|
50
|
-
* country.
|
|
51
|
-
*/
|
|
52
|
-
export declare const TIMEZONE_TO_COUNTRY: Record<string, string>;
|
|
53
|
-
//# sourceMappingURL=countries.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"countries.d.ts","sourceRoot":"","sources":["../../../src/shared/geography/countries.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAMH,MAAM,WAAW,WAAW;IAC1B,8BAA8B;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,mBAAmB;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,qCAAqC;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,sBAAsB;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,4BAA4B;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,iCAAiC;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,wBAAwB;IACxB,MAAM,EAAE,QAAQ,GAAG,UAAU,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;CAC/D;AAMD;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,EAAE,WAAW,EAk8ElC,CAAC;AAMF,yDAAyD;AACzD,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAM,CAAC;AAK3D,6CAA6C;AAC7C,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,CAEtE;AAED,yDAAyD;AACzD,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,WAAW,CAAC,QAAQ,CAAC,GAAG,WAAW,EAAE,CAEjF;AAED,4BAA4B;AAC5B,eAAO,MAAM,OAAO,EAAE,WAAW,CAAC,QAAQ,CAAC,EAAwD,CAAC;AAMpG;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAoVtD,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { COUNTRIES, COUNTRY_MAP, REGIONS, TIMEZONE_TO_COUNTRY, getCountryByCode, getCountriesByRegion, } from './countries';
|
|
2
|
-
export type { CountryData } from './countries';
|
|
3
|
-
export { GeographyProvider, useGeography } from './GeographyProvider';
|
|
4
|
-
export type { GeographyContextValue, GeographyProviderProps } from './GeographyProvider';
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/shared/geography/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,WAAW,EACX,OAAO,EACP,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACtE,YAAY,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ApolloClient } from '@apollo/client/core';
|
|
3
|
-
import { Gateway } from '../config';
|
|
4
|
-
export interface GatewayContextValue {
|
|
5
|
-
/** Apollo client for the workspace gateway (port 4003) */
|
|
6
|
-
workspaceClient: ApolloClient;
|
|
7
|
-
/** Apollo client for the global gateway (port 4000) */
|
|
8
|
-
globalClient: ApolloClient;
|
|
9
|
-
/** Get client by gateway type */
|
|
10
|
-
getClient: (gateway: Gateway) => ApolloClient;
|
|
11
|
-
}
|
|
12
|
-
export interface GatewayProviderProps {
|
|
13
|
-
children: ReactNode;
|
|
14
|
-
value: GatewayContextValue;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* GatewayProvider — wraps the React tree with gateway client access.
|
|
18
|
-
*
|
|
19
|
-
* This is called ONCE by the app shell's MultiGatewayProvider.
|
|
20
|
-
* Microfrontends should never render this directly.
|
|
21
|
-
*/
|
|
22
|
-
export declare function GatewayProvider({ children, value }: GatewayProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
/**
|
|
24
|
-
* Access both gateway clients.
|
|
25
|
-
*
|
|
26
|
-
* @example
|
|
27
|
-
* ```ts
|
|
28
|
-
* const { workspaceClient, globalClient } = useGateway();
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
export declare function useGateway(): GatewayContextValue;
|
|
32
|
-
/**
|
|
33
|
-
* Get a specific gateway's Apollo client.
|
|
34
|
-
*
|
|
35
|
-
* @example
|
|
36
|
-
* ```ts
|
|
37
|
-
* const globalClient = useGatewayClient('global');
|
|
38
|
-
* const { data } = useQuery(MY_QUERY, { client: globalClient });
|
|
39
|
-
* ```
|
|
40
|
-
*/
|
|
41
|
-
export declare function useGatewayClient(gateway: Gateway): ApolloClient;
|
|
42
|
-
/**
|
|
43
|
-
* Same as `useGateway` but returns `null` instead of throwing when no
|
|
44
|
-
* `GatewayProvider` is mounted. Used by cross-cutting components (tour
|
|
45
|
-
* triggers, shell chrome) that may render in trees where the provider is
|
|
46
|
-
* intentionally absent — tests, standalone previews, or embed hosts.
|
|
47
|
-
*/
|
|
48
|
-
export declare function useSafeGateway(): GatewayContextValue | null;
|
|
49
|
-
/**
|
|
50
|
-
* Same as `useGatewayClient` but returns `null` instead of throwing when no
|
|
51
|
-
* `GatewayProvider` is mounted. Callers should short-circuit their data
|
|
52
|
-
* fetching when this returns null.
|
|
53
|
-
*/
|
|
54
|
-
export declare function useSafeGatewayClient(gateway: Gateway): ApolloClient | null;
|
|
55
|
-
//# sourceMappingURL=GatewayContext.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GatewayContext.d.ts","sourceRoot":"","sources":["../../../src/shared/graphql/GatewayContext.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,MAAM,WAAW,mBAAmB;IAClC,0DAA0D;IAC1D,eAAe,EAAE,YAAY,CAAC;IAC9B,uDAAuD;IACvD,YAAY,EAAE,YAAY,CAAC;IAC3B,iCAAiC;IACjC,SAAS,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,YAAY,CAAC;CAC/C;AAID,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,EAAE,mBAAmB,CAAC;CAC5B;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,oBAAoB,2CAExE;AAED;;;;;;;GAOG;AACH,wBAAgB,UAAU,IAAI,mBAAmB,CAQhD;AAED;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,OAAO,GAAG,YAAY,CAG/D;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,IAAI,mBAAmB,GAAG,IAAI,CAE3D;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,YAAY,GAAG,IAAI,CAG1E"}
|