@burdenoff/fe-libs 2026.528.10 → 2026.528.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/button/Button.d.ts +14 -0
- package/dist/button/Button.d.ts.map +1 -0
- package/dist/button/index.d.ts +3 -0
- package/dist/button/index.d.ts.map +1 -0
- package/dist/button.d.ts +2 -0
- package/dist/chrome/AccountSwitcher.d.ts +51 -0
- package/dist/chrome/AccountSwitcher.d.ts.map +1 -0
- package/dist/chrome/AppShellLayout.d.ts +73 -0
- package/dist/chrome/AppShellLayout.d.ts.map +1 -0
- package/dist/chrome/AutoBreadcrumbs.d.ts +22 -0
- package/dist/chrome/AutoBreadcrumbs.d.ts.map +1 -0
- package/dist/chrome/Breadcrumb.d.ts +47 -0
- package/dist/chrome/Breadcrumb.d.ts.map +1 -0
- package/dist/chrome/Breadcrumbs.d.ts +18 -0
- package/dist/chrome/Breadcrumbs.d.ts.map +1 -0
- package/dist/chrome/CommandPalette.d.ts +64 -0
- package/dist/chrome/CommandPalette.d.ts.map +1 -0
- package/dist/chrome/ContextSwitcher.d.ts +18 -0
- package/dist/chrome/ContextSwitcher.d.ts.map +1 -0
- package/dist/chrome/DynamicFooter.d.ts +21 -0
- package/dist/chrome/DynamicFooter.d.ts.map +1 -0
- package/dist/chrome/Footer.d.ts +128 -0
- package/dist/chrome/Footer.d.ts.map +1 -0
- package/dist/chrome/FooterBar.d.ts +79 -0
- package/dist/chrome/FooterBar.d.ts.map +1 -0
- package/dist/chrome/GeographySwitcher.d.ts +22 -0
- package/dist/chrome/GeographySwitcher.d.ts.map +1 -0
- package/dist/chrome/GlobalSearch.d.ts +49 -0
- package/dist/chrome/GlobalSearch.d.ts.map +1 -0
- package/dist/chrome/HeaderBar.d.ts +108 -0
- package/dist/chrome/HeaderBar.d.ts.map +1 -0
- package/dist/chrome/LanguagePickerSheet.d.ts +22 -0
- package/dist/chrome/LanguagePickerSheet.d.ts.map +1 -0
- package/dist/chrome/LanguageSwitcher.d.ts +23 -0
- package/dist/chrome/LanguageSwitcher.d.ts.map +1 -0
- package/dist/chrome/NavLink.d.ts +64 -0
- package/dist/chrome/NavLink.d.ts.map +1 -0
- package/dist/chrome/NotificationCenter.d.ts +16 -0
- package/dist/chrome/NotificationCenter.d.ts.map +1 -0
- package/dist/chrome/PageHeader.d.ts +17 -0
- package/dist/chrome/PageHeader.d.ts.map +1 -0
- package/dist/chrome/PanelContainer.d.ts +8 -0
- package/dist/chrome/PanelContainer.d.ts.map +1 -0
- package/dist/chrome/PanelTabs.d.ts +19 -0
- package/dist/chrome/PanelTabs.d.ts.map +1 -0
- package/dist/chrome/PluginContextMenuTarget.d.ts +8 -0
- package/dist/chrome/PluginContextMenuTarget.d.ts.map +1 -0
- package/dist/chrome/PluginFooterStrip.d.ts +3 -0
- package/dist/chrome/PluginFooterStrip.d.ts.map +1 -0
- package/dist/chrome/PluginRoutes.d.ts +9 -0
- package/dist/chrome/PluginRoutes.d.ts.map +1 -0
- package/dist/chrome/PluginSettingsPage.d.ts +3 -0
- package/dist/chrome/PluginSettingsPage.d.ts.map +1 -0
- package/dist/chrome/PluginToolbar.d.ts +9 -0
- package/dist/chrome/PluginToolbar.d.ts.map +1 -0
- package/dist/chrome/PluginWidgetGrid.d.ts +7 -0
- package/dist/chrome/PluginWidgetGrid.d.ts.map +1 -0
- package/dist/chrome/ProductPickerSheet.d.ts +24 -0
- package/dist/chrome/ProductPickerSheet.d.ts.map +1 -0
- package/dist/chrome/ProductSideNav.d.ts +22 -0
- package/dist/chrome/ProductSideNav.d.ts.map +1 -0
- package/dist/chrome/ProductSwitcher.d.ts +31 -0
- package/dist/chrome/ProductSwitcher.d.ts.map +1 -0
- package/dist/chrome/ProfileSwitcher.d.ts +49 -0
- package/dist/chrome/ProfileSwitcher.d.ts.map +1 -0
- package/dist/chrome/ShortcutHelpDialog.d.ts +33 -0
- package/dist/chrome/ShortcutHelpDialog.d.ts.map +1 -0
- package/dist/chrome/SideNavigation.d.ts +41 -0
- package/dist/chrome/SideNavigation.d.ts.map +1 -0
- package/dist/chrome/Sidebar.d.ts +108 -0
- package/dist/chrome/Sidebar.d.ts.map +1 -0
- package/dist/chrome/StatusBar.d.ts +3 -0
- package/dist/chrome/StatusBar.d.ts.map +1 -0
- package/dist/chrome/Tabs.d.ts +74 -0
- package/dist/chrome/Tabs.d.ts.map +1 -0
- package/dist/chrome/contextSwitcher/EmptyState.d.ts +6 -0
- package/dist/chrome/contextSwitcher/EmptyState.d.ts.map +1 -0
- package/dist/chrome/contextSwitcher/OrganizationList.d.ts +12 -0
- package/dist/chrome/contextSwitcher/OrganizationList.d.ts.map +1 -0
- package/dist/chrome/contextSwitcher/ProjectList.d.ts +12 -0
- package/dist/chrome/contextSwitcher/ProjectList.d.ts.map +1 -0
- package/dist/chrome/contextSwitcher/SearchInput.d.ts +8 -0
- package/dist/chrome/contextSwitcher/SearchInput.d.ts.map +1 -0
- package/dist/chrome/contextSwitcher/TabButton.d.ts +7 -0
- package/dist/chrome/contextSwitcher/TabButton.d.ts.map +1 -0
- package/dist/chrome/contextSwitcher/TriggerButton.d.ts +11 -0
- package/dist/chrome/contextSwitcher/TriggerButton.d.ts.map +1 -0
- package/dist/chrome/contextSwitcher/WorkspaceList.d.ts +12 -0
- package/dist/chrome/contextSwitcher/WorkspaceList.d.ts.map +1 -0
- package/dist/chrome/contextSwitcher/icons.d.ts +17 -0
- package/dist/chrome/contextSwitcher/icons.d.ts.map +1 -0
- package/dist/chrome/contextSwitcher/types.d.ts +19 -0
- package/dist/chrome/contextSwitcher/types.d.ts.map +1 -0
- package/dist/chrome/contextSwitcher/useIsMobile.d.ts +2 -0
- package/dist/chrome/contextSwitcher/useIsMobile.d.ts.map +1 -0
- package/dist/chrome/globalSearch/AdvancedFiltersPanel.d.ts +7 -0
- package/dist/chrome/globalSearch/AdvancedFiltersPanel.d.ts.map +1 -0
- package/dist/chrome/globalSearch/CategoryTabs.d.ts +9 -0
- package/dist/chrome/globalSearch/CategoryTabs.d.ts.map +1 -0
- package/dist/chrome/globalSearch/ResultsList.d.ts +14 -0
- package/dist/chrome/globalSearch/ResultsList.d.ts.map +1 -0
- package/dist/chrome/globalSearch/SearchInput.d.ts +9 -0
- package/dist/chrome/globalSearch/SearchInput.d.ts.map +1 -0
- package/dist/chrome/globalSearch/SearchModeBar.d.ts +10 -0
- package/dist/chrome/globalSearch/SearchModeBar.d.ts.map +1 -0
- package/dist/chrome/globalSearch/useAdvancedFilters.d.ts +39 -0
- package/dist/chrome/globalSearch/useAdvancedFilters.d.ts.map +1 -0
- package/dist/chrome/globalSearch/utils.d.ts +6 -0
- package/dist/chrome/globalSearch/utils.d.ts.map +1 -0
- package/dist/chrome/index.d.ts +110 -0
- package/dist/chrome/index.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/BellButton.d.ts +9 -0
- package/dist/chrome/notificationCenter/BellButton.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/NotificationCardItem.d.ts +11 -0
- package/dist/chrome/notificationCenter/NotificationCardItem.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/NotificationFilters.d.ts +16 -0
- package/dist/chrome/notificationCenter/NotificationFilters.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/NotificationFooter.d.ts +8 -0
- package/dist/chrome/notificationCenter/NotificationFooter.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/NotificationHeader.d.ts +10 -0
- package/dist/chrome/notificationCenter/NotificationHeader.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/NotificationList.d.ts +17 -0
- package/dist/chrome/notificationCenter/NotificationList.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/NotificationPanel.d.ts +9 -0
- package/dist/chrome/notificationCenter/NotificationPanel.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/SkeletonCard.d.ts +3 -0
- package/dist/chrome/notificationCenter/SkeletonCard.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/constants.d.ts +22 -0
- package/dist/chrome/notificationCenter/constants.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/gql.d.ts +15 -0
- package/dist/chrome/notificationCenter/gql.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/types.d.ts +31 -0
- package/dist/chrome/notificationCenter/types.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/useNotificationCenter.d.ts +24 -0
- package/dist/chrome/notificationCenter/useNotificationCenter.d.ts.map +1 -0
- package/dist/chrome/notificationCenter/usePanelChrome.d.ts +7 -0
- package/dist/chrome/notificationCenter/usePanelChrome.d.ts.map +1 -0
- package/dist/chrome/sideNavigation/CollapseToggle.d.ts +9 -0
- package/dist/chrome/sideNavigation/CollapseToggle.d.ts.map +1 -0
- package/dist/chrome/sideNavigation/MobileActionsBar.d.ts +10 -0
- package/dist/chrome/sideNavigation/MobileActionsBar.d.ts.map +1 -0
- package/dist/chrome/sideNavigation/NavItemRenderer.d.ts +16 -0
- package/dist/chrome/sideNavigation/NavItemRenderer.d.ts.map +1 -0
- package/dist/chrome/sideNavigation/SidebarHeader.d.ts +10 -0
- package/dist/chrome/sideNavigation/SidebarHeader.d.ts.map +1 -0
- package/dist/chrome/sideNavigation/helpers.d.ts +6 -0
- package/dist/chrome/sideNavigation/helpers.d.ts.map +1 -0
- package/dist/chrome/sideNavigation/types.d.ts +33 -0
- package/dist/chrome/sideNavigation/types.d.ts.map +1 -0
- package/dist/chrome/sideNavigation/useSideNavigationState.d.ts +15 -0
- package/dist/chrome/sideNavigation/useSideNavigationState.d.ts.map +1 -0
- package/dist/chrome.d.ts +2 -0
- package/dist/config/eslint.config.d.ts +12 -0
- package/dist/config/eslint.config.d.ts.map +1 -0
- package/dist/config/index.d.ts +19 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/prettier.config.d.ts +7 -0
- package/dist/config/prettier.config.d.ts.map +1 -0
- package/dist/form/Checkbox.d.ts +65 -0
- package/dist/form/Checkbox.d.ts.map +1 -0
- package/dist/form/Form.d.ts +114 -0
- package/dist/form/Form.d.ts.map +1 -0
- package/dist/form/FormDescription.d.ts +35 -0
- package/dist/form/FormDescription.d.ts.map +1 -0
- package/dist/form/FormField.d.ts +100 -0
- package/dist/form/FormField.d.ts.map +1 -0
- package/dist/form/FormLabel.d.ts +45 -0
- package/dist/form/FormLabel.d.ts.map +1 -0
- package/dist/form/FormMessage.d.ts +37 -0
- package/dist/form/FormMessage.d.ts.map +1 -0
- package/dist/form/FormSection.d.ts +18 -0
- package/dist/form/FormSection.d.ts.map +1 -0
- package/dist/form/Input.d.ts +45 -0
- package/dist/form/Input.d.ts.map +1 -0
- package/dist/form/Radio.d.ts +109 -0
- package/dist/form/Radio.d.ts.map +1 -0
- package/dist/form/Select.d.ts +136 -0
- package/dist/form/Select.d.ts.map +1 -0
- package/dist/form/Textarea.d.ts +52 -0
- package/dist/form/Textarea.d.ts.map +1 -0
- package/dist/form/index.d.ts +26 -0
- package/dist/form/index.d.ts.map +1 -0
- package/dist/form.d.ts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/shared/actors/ActorIdentity.d.ts +20 -0
- package/dist/shared/actors/ActorIdentity.d.ts.map +1 -0
- package/dist/shared/actors/index.d.ts +3 -0
- package/dist/shared/actors/index.d.ts.map +1 -0
- package/dist/shared/actors/useActorProfiles.d.ts +42 -0
- package/dist/shared/actors/useActorProfiles.d.ts.map +1 -0
- package/dist/shared/components/AccessDenied.d.ts +117 -0
- package/dist/shared/components/AccessDenied.d.ts.map +1 -0
- package/dist/shared/components/AppErrorBoundary.d.ts +19 -0
- package/dist/shared/components/AppErrorBoundary.d.ts.map +1 -0
- package/dist/shared/components/ConditionalShell.d.ts +17 -0
- package/dist/shared/components/ConditionalShell.d.ts.map +1 -0
- package/dist/shared/components/ContextConversationWidget.d.ts +6 -0
- package/dist/shared/components/ContextConversationWidget.d.ts.map +1 -0
- package/dist/shared/components/ErrorBoundary.d.ts +19 -0
- package/dist/shared/components/ErrorBoundary.d.ts.map +1 -0
- package/dist/shared/components/ErrorFallback.d.ts +3 -0
- package/dist/shared/components/ErrorFallback.d.ts.map +1 -0
- package/dist/shared/components/KeyboardHelpDialogWrapper.d.ts +7 -0
- package/dist/shared/components/KeyboardHelpDialogWrapper.d.ts.map +1 -0
- package/dist/shared/components/LegalPage.d.ts +19 -0
- package/dist/shared/components/LegalPage.d.ts.map +1 -0
- package/dist/shared/components/LoadingFallback.d.ts +31 -0
- package/dist/shared/components/LoadingFallback.d.ts.map +1 -0
- package/dist/shared/components/MicrofrontendErrorBoundary.d.ts +20 -0
- package/dist/shared/components/MicrofrontendErrorBoundary.d.ts.map +1 -0
- package/dist/shared/components/PWAInstallBanner.d.ts +14 -0
- package/dist/shared/components/PWAInstallBanner.d.ts.map +1 -0
- package/dist/shared/components/PermissionGate.d.ts +202 -0
- package/dist/shared/components/PermissionGate.d.ts.map +1 -0
- package/dist/shared/components/ProductAccessGuard.d.ts +8 -0
- package/dist/shared/components/ProductAccessGuard.d.ts.map +1 -0
- package/dist/shared/components/QuotaMeter.d.ts +30 -0
- package/dist/shared/components/QuotaMeter.d.ts.map +1 -0
- package/dist/shared/components/RequireAuth.d.ts +76 -0
- package/dist/shared/components/RequireAuth.d.ts.map +1 -0
- package/dist/shared/components/SSORedirectGuard.d.ts +49 -0
- package/dist/shared/components/SSORedirectGuard.d.ts.map +1 -0
- package/dist/shared/components/SearchPage.d.ts +24 -0
- package/dist/shared/components/SearchPage.d.ts.map +1 -0
- package/dist/shared/components/UpgradeInlineBanner.d.ts +45 -0
- package/dist/shared/components/UpgradeInlineBanner.d.ts.map +1 -0
- package/dist/shared/components/UpgradePromptModal.d.ts +64 -0
- package/dist/shared/components/UpgradePromptModal.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/Composer.d.ts +19 -0
- package/dist/shared/components/contextConversationWidget/Composer.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/MessageItem.d.ts +20 -0
- package/dist/shared/components/contextConversationWidget/MessageItem.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/MessageList.d.ts +22 -0
- package/dist/shared/components/contextConversationWidget/MessageList.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/NoWorkspaceCard.d.ts +7 -0
- package/dist/shared/components/contextConversationWidget/NoWorkspaceCard.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/PendingAttachmentsBar.d.ts +8 -0
- package/dist/shared/components/contextConversationWidget/PendingAttachmentsBar.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/ReplyBanner.d.ts +9 -0
- package/dist/shared/components/contextConversationWidget/ReplyBanner.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/WidgetHeader.d.ts +19 -0
- package/dist/shared/components/contextConversationWidget/WidgetHeader.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/queries.d.ts +16 -0
- package/dist/shared/components/contextConversationWidget/queries.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/types.d.ts +113 -0
- package/dist/shared/components/contextConversationWidget/types.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/useAttachmentUpload.d.ts +16 -0
- package/dist/shared/components/contextConversationWidget/useAttachmentUpload.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/useConversationSubscriptions.d.ts +3 -0
- package/dist/shared/components/contextConversationWidget/useConversationSubscriptions.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/useMessageActions.d.ts +15 -0
- package/dist/shared/components/contextConversationWidget/useMessageActions.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/useSendMessage.d.ts +25 -0
- package/dist/shared/components/contextConversationWidget/useSendMessage.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/useWidgetMessages.d.ts +3 -0
- package/dist/shared/components/contextConversationWidget/useWidgetMessages.d.ts.map +1 -0
- package/dist/shared/components/contextConversationWidget/utils.d.ts +12 -0
- package/dist/shared/components/contextConversationWidget/utils.d.ts.map +1 -0
- package/dist/shared/components/index.d.ts +29 -0
- package/dist/shared/components/index.d.ts.map +1 -0
- package/dist/shared/components/searchPage/FiltersPanel.d.ts +17 -0
- package/dist/shared/components/searchPage/FiltersPanel.d.ts.map +1 -0
- package/dist/shared/components/searchPage/Pagination.d.ts +8 -0
- package/dist/shared/components/searchPage/Pagination.d.ts.map +1 -0
- package/dist/shared/components/searchPage/ResultsHeader.d.ts +8 -0
- package/dist/shared/components/searchPage/ResultsHeader.d.ts.map +1 -0
- package/dist/shared/components/searchPage/ResultsList.d.ts +13 -0
- package/dist/shared/components/searchPage/ResultsList.d.ts.map +1 -0
- package/dist/shared/components/searchPage/SearchInput.d.ts +9 -0
- package/dist/shared/components/searchPage/SearchInput.d.ts.map +1 -0
- package/dist/shared/components/searchPage/SearchToolbar.d.ts +13 -0
- package/dist/shared/components/searchPage/SearchToolbar.d.ts.map +1 -0
- package/dist/shared/components/searchPage/constants.d.ts +18 -0
- package/dist/shared/components/searchPage/constants.d.ts.map +1 -0
- package/dist/shared/config/authBridgeUrls.d.ts +27 -0
- package/dist/shared/config/authBridgeUrls.d.ts.map +1 -0
- package/dist/shared/config/eslint.config.d.ts +12 -0
- package/dist/shared/config/eslint.config.d.ts.map +1 -0
- package/dist/shared/config/gatewayUrls.d.ts +44 -0
- package/dist/shared/config/gatewayUrls.d.ts.map +1 -0
- package/dist/shared/config/index.d.ts +71 -0
- package/dist/shared/config/index.d.ts.map +1 -0
- package/dist/shared/config/prettier.config.d.ts +7 -0
- package/dist/shared/config/prettier.config.d.ts.map +1 -0
- package/dist/shared/config/products.d.ts +56 -0
- package/dist/shared/config/products.d.ts.map +1 -0
- package/dist/shared/config/shellRoutes.d.ts +52 -0
- package/dist/shared/config/shellRoutes.d.ts.map +1 -0
- package/dist/shared/events/index.d.ts +591 -0
- package/dist/shared/events/index.d.ts.map +1 -0
- package/dist/shared/events/metadata.d.ts +7 -0
- package/dist/shared/events/metadata.d.ts.map +1 -0
- package/dist/shared/events/sinks/BackendAuditSink.d.ts +18 -0
- package/dist/shared/events/sinks/BackendAuditSink.d.ts.map +1 -0
- package/dist/shared/events/sinks/BroadcastChannelSink.d.ts +10 -0
- package/dist/shared/events/sinks/BroadcastChannelSink.d.ts.map +1 -0
- package/dist/shared/events/sinks/DevtoolsSink.d.ts +10 -0
- package/dist/shared/events/sinks/DevtoolsSink.d.ts.map +1 -0
- package/dist/shared/events/sinks/OtelBrowserSink.d.ts +14 -0
- package/dist/shared/events/sinks/OtelBrowserSink.d.ts.map +1 -0
- package/dist/shared/events/sinks/RybbitSink.d.ts +19 -0
- package/dist/shared/events/sinks/RybbitSink.d.ts.map +1 -0
- package/dist/shared/events/sinks/index.d.ts +6 -0
- package/dist/shared/events/sinks/index.d.ts.map +1 -0
- package/dist/shared/feature-flags/FeatureFlagProvider.d.ts +47 -0
- package/dist/shared/feature-flags/FeatureFlagProvider.d.ts.map +1 -0
- package/dist/shared/feature-flags/FeatureGate.d.ts +27 -0
- package/dist/shared/feature-flags/FeatureGate.d.ts.map +1 -0
- package/dist/shared/feature-flags/index.d.ts +38 -0
- package/dist/shared/feature-flags/index.d.ts.map +1 -0
- package/dist/shared/feature-flags/types.d.ts +122 -0
- package/dist/shared/feature-flags/types.d.ts.map +1 -0
- package/dist/shared/feature-flags/useFeatureFlag.d.ts +41 -0
- package/dist/shared/feature-flags/useFeatureFlag.d.ts.map +1 -0
- package/dist/shared/geography/GeographyProvider.d.ts +40 -0
- package/dist/shared/geography/GeographyProvider.d.ts.map +1 -0
- package/dist/shared/geography/countries.d.ts +53 -0
- package/dist/shared/geography/countries.d.ts.map +1 -0
- package/dist/shared/geography/index.d.ts +5 -0
- package/dist/shared/geography/index.d.ts.map +1 -0
- package/dist/shared/graphql/GatewayContext.d.ts +55 -0
- package/dist/shared/graphql/GatewayContext.d.ts.map +1 -0
- package/dist/shared/graphql/client.d.ts +122 -0
- package/dist/shared/graphql/client.d.ts.map +1 -0
- package/dist/shared/graphql/fetch.d.ts +133 -0
- package/dist/shared/graphql/fetch.d.ts.map +1 -0
- package/dist/shared/graphql/index.d.ts +9 -0
- package/dist/shared/graphql/index.d.ts.map +1 -0
- package/dist/shared/graphql/links/sse-link.d.ts +48 -0
- package/dist/shared/graphql/links/sse-link.d.ts.map +1 -0
- package/dist/shared/graphql/security.d.ts +13 -0
- package/dist/shared/graphql/security.d.ts.map +1 -0
- package/dist/shared/graphql/workspaceToken.d.ts +13 -0
- package/dist/shared/graphql/workspaceToken.d.ts.map +1 -0
- package/dist/shared/help/HelpButton.d.ts +25 -0
- package/dist/shared/help/HelpButton.d.ts.map +1 -0
- package/dist/shared/help/HelpPanel.d.ts +10 -0
- package/dist/shared/help/HelpPanel.d.ts.map +1 -0
- package/dist/shared/help/HelpProvider.d.ts +40 -0
- package/dist/shared/help/HelpProvider.d.ts.map +1 -0
- package/dist/shared/help/index.d.ts +53 -0
- package/dist/shared/help/index.d.ts.map +1 -0
- package/dist/shared/help/types.d.ts +159 -0
- package/dist/shared/help/types.d.ts.map +1 -0
- package/dist/shared/hooks/index.d.ts +34 -0
- package/dist/shared/hooks/index.d.ts.map +1 -0
- package/dist/shared/hooks/shell/index.d.ts +22 -0
- package/dist/shared/hooks/shell/index.d.ts.map +1 -0
- package/dist/shared/hooks/shell/useBreadcrumbs.d.ts +50 -0
- package/dist/shared/hooks/shell/useBreadcrumbs.d.ts.map +1 -0
- package/dist/shared/hooks/shell/useFooterRegistry.d.ts +23 -0
- package/dist/shared/hooks/shell/useFooterRegistry.d.ts.map +1 -0
- package/dist/shared/hooks/shell/useGlobalSearch.d.ts +103 -0
- package/dist/shared/hooks/shell/useGlobalSearch.d.ts.map +1 -0
- package/dist/shared/hooks/shell/useLanguages.d.ts +43 -0
- package/dist/shared/hooks/shell/useLanguages.d.ts.map +1 -0
- package/dist/shared/hooks/shell/useNavRegistry.d.ts +25 -0
- package/dist/shared/hooks/shell/useNavRegistry.d.ts.map +1 -0
- package/dist/shared/hooks/shell/useProductAccess.d.ts +37 -0
- package/dist/shared/hooks/shell/useProductAccess.d.ts.map +1 -0
- package/dist/shared/hooks/shell/useProducts.d.ts +30 -0
- package/dist/shared/hooks/shell/useProducts.d.ts.map +1 -0
- package/dist/shared/hooks/useAsync.d.ts +151 -0
- package/dist/shared/hooks/useAsync.d.ts.map +1 -0
- package/dist/shared/hooks/useBreakpoint.d.ts +83 -0
- package/dist/shared/hooks/useBreakpoint.d.ts.map +1 -0
- package/dist/shared/hooks/useCopyToClipboard.d.ts +72 -0
- package/dist/shared/hooks/useCopyToClipboard.d.ts.map +1 -0
- package/dist/shared/hooks/useCurrentContextSearchParams.d.ts +17 -0
- package/dist/shared/hooks/useCurrentContextSearchParams.d.ts.map +1 -0
- package/dist/shared/hooks/useDebounce.d.ts +26 -0
- package/dist/shared/hooks/useDebounce.d.ts.map +1 -0
- package/dist/shared/hooks/useHasAnimated.d.ts +10 -0
- package/dist/shared/hooks/useHasAnimated.d.ts.map +1 -0
- package/dist/shared/hooks/useKeyPress.d.ts +116 -0
- package/dist/shared/hooks/useKeyPress.d.ts.map +1 -0
- package/dist/shared/hooks/useLocalStorage.d.ts +41 -0
- package/dist/shared/hooks/useLocalStorage.d.ts.map +1 -0
- package/dist/shared/hooks/useMediaQuery.d.ts +35 -0
- package/dist/shared/hooks/useMediaQuery.d.ts.map +1 -0
- package/dist/shared/hooks/useOnClickOutside.d.ts +76 -0
- package/dist/shared/hooks/useOnClickOutside.d.ts.map +1 -0
- package/dist/shared/hooks/usePWA.d.ts +57 -0
- package/dist/shared/hooks/usePWA.d.ts.map +1 -0
- package/dist/shared/hooks/usePrevious.d.ts +157 -0
- package/dist/shared/hooks/usePrevious.d.ts.map +1 -0
- package/dist/shared/hooks/useQuotaErrorToast.d.ts +50 -0
- package/dist/shared/hooks/useQuotaErrorToast.d.ts.map +1 -0
- package/dist/shared/hooks/useRecordProductVisit.d.ts +11 -0
- package/dist/shared/hooks/useRecordProductVisit.d.ts.map +1 -0
- package/dist/shared/hooks/useReferralAttribution.d.ts +2 -0
- package/dist/shared/hooks/useReferralAttribution.d.ts.map +1 -0
- package/dist/shared/hooks/useSessionStorage.d.ts +44 -0
- package/dist/shared/hooks/useSessionStorage.d.ts.map +1 -0
- package/dist/shared/hooks/useThrottle.d.ts +37 -0
- package/dist/shared/hooks/useThrottle.d.ts.map +1 -0
- package/dist/shared/hooks/useToggle.d.ts +152 -0
- package/dist/shared/hooks/useToggle.d.ts.map +1 -0
- package/dist/shared/hooks/useUpgradePrompt.d.ts +50 -0
- package/dist/shared/hooks/useUpgradePrompt.d.ts.map +1 -0
- package/dist/shared/index.d.ts +14 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/keyboard/globalShortcuts.d.ts +58 -0
- package/dist/shared/keyboard/globalShortcuts.d.ts.map +1 -0
- package/dist/shared/keyboard/index.d.ts +40 -0
- package/dist/shared/keyboard/index.d.ts.map +1 -0
- package/dist/shared/keyboard/types.d.ts +85 -0
- package/dist/shared/keyboard/types.d.ts.map +1 -0
- package/dist/shared/keyboard/useHotkeys.d.ts +21 -0
- package/dist/shared/keyboard/useHotkeys.d.ts.map +1 -0
- package/dist/shared/keyboard/useKeyboardShortcuts.d.ts +94 -0
- package/dist/shared/keyboard/useKeyboardShortcuts.d.ts.map +1 -0
- package/dist/shared/keyboard/useShortcutHelp.d.ts +27 -0
- package/dist/shared/keyboard/useShortcutHelp.d.ts.map +1 -0
- package/dist/shared/keyboard/utils.d.ts +72 -0
- package/dist/shared/keyboard/utils.d.ts.map +1 -0
- package/dist/shared/logger/ConsoleTransport.d.ts +22 -0
- package/dist/shared/logger/ConsoleTransport.d.ts.map +1 -0
- package/dist/shared/logger/LogManager.d.ts +75 -0
- package/dist/shared/logger/LogManager.d.ts.map +1 -0
- package/dist/shared/logger/Logger.d.ts +86 -0
- package/dist/shared/logger/Logger.d.ts.map +1 -0
- package/dist/shared/logger/index.d.ts +42 -0
- package/dist/shared/logger/index.d.ts.map +1 -0
- package/dist/shared/logger/types.d.ts +70 -0
- package/dist/shared/logger/types.d.ts.map +1 -0
- package/dist/shared/logger/useLogger.d.ts +29 -0
- package/dist/shared/logger/useLogger.d.ts.map +1 -0
- package/dist/shared/motion/AnimatedCounter.d.ts +16 -0
- package/dist/shared/motion/AnimatedCounter.d.ts.map +1 -0
- package/dist/shared/motion/MotionCard.d.ts +18 -0
- package/dist/shared/motion/MotionCard.d.ts.map +1 -0
- package/dist/shared/motion/MotionCollapse.d.ts +14 -0
- package/dist/shared/motion/MotionCollapse.d.ts.map +1 -0
- package/dist/shared/motion/MotionFade.d.ts +16 -0
- package/dist/shared/motion/MotionFade.d.ts.map +1 -0
- package/dist/shared/motion/MotionItem.d.ts +25 -0
- package/dist/shared/motion/MotionItem.d.ts.map +1 -0
- package/dist/shared/motion/MotionList.d.ts +28 -0
- package/dist/shared/motion/MotionList.d.ts.map +1 -0
- package/dist/shared/motion/MotionPage.d.ts +18 -0
- package/dist/shared/motion/MotionPage.d.ts.map +1 -0
- package/dist/shared/motion/index.d.ts +9 -0
- package/dist/shared/motion/index.d.ts.map +1 -0
- package/dist/shared/motion/variants.d.ts +70 -0
- package/dist/shared/motion/variants.d.ts.map +1 -0
- package/dist/shared/native/SafeAreaView.d.ts +15 -0
- package/dist/shared/native/SafeAreaView.d.ts.map +1 -0
- package/dist/shared/native/bridge.d.ts +3 -0
- package/dist/shared/native/bridge.d.ts.map +1 -0
- package/dist/shared/native/consumers.d.ts +9 -0
- package/dist/shared/native/consumers.d.ts.map +1 -0
- package/dist/shared/native/hooks/index.d.ts +12 -0
- package/dist/shared/native/hooks/index.d.ts.map +1 -0
- package/dist/shared/native/hooks/useAppState.d.ts +3 -0
- package/dist/shared/native/hooks/useAppState.d.ts.map +1 -0
- package/dist/shared/native/hooks/useDeviceInfo.d.ts +3 -0
- package/dist/shared/native/hooks/useDeviceInfo.d.ts.map +1 -0
- package/dist/shared/native/hooks/useHaptics.d.ts +8 -0
- package/dist/shared/native/hooks/useHaptics.d.ts.map +1 -0
- package/dist/shared/native/hooks/useNativeKeyboard.d.ts +6 -0
- package/dist/shared/native/hooks/useNativeKeyboard.d.ts.map +1 -0
- package/dist/shared/native/hooks/useNativePlatform.d.ts +10 -0
- package/dist/shared/native/hooks/useNativePlatform.d.ts.map +1 -0
- package/dist/shared/native/hooks/useSafeArea.d.ts +3 -0
- package/dist/shared/native/hooks/useSafeArea.d.ts.map +1 -0
- package/dist/shared/native/hooks/useStatusBar.d.ts +6 -0
- package/dist/shared/native/hooks/useStatusBar.d.ts.map +1 -0
- package/dist/shared/native/index.d.ts +7 -0
- package/dist/shared/native/index.d.ts.map +1 -0
- package/dist/shared/native/platform.d.ts +7 -0
- package/dist/shared/native/platform.d.ts.map +1 -0
- package/dist/shared/native/types.d.ts +62 -0
- package/dist/shared/native/types.d.ts.map +1 -0
- package/dist/shared/pages/AiPage.d.ts +14 -0
- package/dist/shared/pages/AiPage.d.ts.map +1 -0
- package/dist/shared/pages/LegalPage.d.ts +19 -0
- package/dist/shared/pages/LegalPage.d.ts.map +1 -0
- package/dist/shared/pages/SearchPage.d.ts +28 -0
- package/dist/shared/pages/SearchPage.d.ts.map +1 -0
- package/dist/shared/pages/index.d.ts +7 -0
- package/dist/shared/pages/index.d.ts.map +1 -0
- package/dist/shared/pages/searchPage/ActiveFilterChips.d.ts +40 -0
- package/dist/shared/pages/searchPage/ActiveFilterChips.d.ts.map +1 -0
- package/dist/shared/pages/searchPage/FiltersPanel.d.ts +54 -0
- package/dist/shared/pages/searchPage/FiltersPanel.d.ts.map +1 -0
- package/dist/shared/pages/searchPage/ResultsList.d.ts +13 -0
- package/dist/shared/pages/searchPage/ResultsList.d.ts.map +1 -0
- package/dist/shared/pages/searchPage/ResultsStatus.d.ts +8 -0
- package/dist/shared/pages/searchPage/ResultsStatus.d.ts.map +1 -0
- package/dist/shared/pages/searchPage/SearchInput.d.ts +9 -0
- package/dist/shared/pages/searchPage/SearchInput.d.ts.map +1 -0
- package/dist/shared/pages/searchPage/SearchPagination.d.ts +8 -0
- package/dist/shared/pages/searchPage/SearchPagination.d.ts.map +1 -0
- package/dist/shared/pages/searchPage/SearchToolbar.d.ts +13 -0
- package/dist/shared/pages/searchPage/SearchToolbar.d.ts.map +1 -0
- package/dist/shared/pages/searchPage/constants.d.ts +26 -0
- package/dist/shared/pages/searchPage/constants.d.ts.map +1 -0
- package/dist/shared/pages/searchPage/utils.d.ts +7 -0
- package/dist/shared/pages/searchPage/utils.d.ts.map +1 -0
- package/dist/shared/plugins/PluginRuntimeProvider.d.ts +28 -0
- package/dist/shared/plugins/PluginRuntimeProvider.d.ts.map +1 -0
- package/dist/shared/plugins/context.d.ts +65 -0
- package/dist/shared/plugins/context.d.ts.map +1 -0
- package/dist/shared/plugins/disposable.d.ts +17 -0
- package/dist/shared/plugins/disposable.d.ts.map +1 -0
- package/dist/shared/plugins/event-bus.d.ts +112 -0
- package/dist/shared/plugins/event-bus.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/PluginIframe.d.ts +75 -0
- package/dist/shared/plugins/iframe-mount/PluginIframe.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/PluginMount.d.ts +59 -0
- package/dist/shared/plugins/iframe-mount/PluginMount.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/client/index.d.ts +3 -0
- package/dist/shared/plugins/iframe-mount/client/index.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/client/message-bus.d.ts +71 -0
- package/dist/shared/plugins/iframe-mount/client/message-bus.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/client/rpc.d.ts +25 -0
- package/dist/shared/plugins/iframe-mount/client/rpc.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/index.d.ts +6 -0
- package/dist/shared/plugins/iframe-mount/index.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/protocol/contribution.d.ts +83 -0
- package/dist/shared/plugins/iframe-mount/protocol/contribution.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/protocol/envelope.d.ts +136 -0
- package/dist/shared/plugins/iframe-mount/protocol/envelope.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/protocol/index.d.ts +3 -0
- package/dist/shared/plugins/iframe-mount/protocol/index.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/sandbox.d.ts +3 -0
- package/dist/shared/plugins/iframe-mount/sandbox.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/types.d.ts +64 -0
- package/dist/shared/plugins/iframe-mount/types.d.ts.map +1 -0
- package/dist/shared/plugins/iframe-mount/useFetchContributions.d.ts +31 -0
- package/dist/shared/plugins/iframe-mount/useFetchContributions.d.ts.map +1 -0
- package/dist/shared/plugins/index.d.ts +41 -0
- package/dist/shared/plugins/index.d.ts.map +1 -0
- package/dist/shared/plugins/panels/usePanelManagerStore.d.ts +68 -0
- package/dist/shared/plugins/panels/usePanelManagerStore.d.ts.map +1 -0
- package/dist/shared/plugins/registries/createContributionRegistry.d.ts +16 -0
- package/dist/shared/plugins/registries/createContributionRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/index.d.ts +15 -0
- package/dist/shared/plugins/registries/index.d.ts.map +1 -0
- package/dist/shared/plugins/registries/useCommandRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/useCommandRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/useContextMenuRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/useContextMenuRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/usePanelRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/usePanelRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/useRouteRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/useRouteRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/useSettingsRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/useSettingsRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/useStatusBarRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/useStatusBarRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/useToolbarRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/useToolbarRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/registries/useWidgetRegistry.d.ts +3 -0
- package/dist/shared/plugins/registries/useWidgetRegistry.d.ts.map +1 -0
- package/dist/shared/plugins/runtime.d.ts +68 -0
- package/dist/shared/plugins/runtime.d.ts.map +1 -0
- package/dist/shared/plugins/types.d.ts +228 -0
- package/dist/shared/plugins/types.d.ts.map +1 -0
- package/dist/shared/providers/AppShellProvider.d.ts +96 -0
- package/dist/shared/providers/AppShellProvider.d.ts.map +1 -0
- package/dist/shared/providers/MicrofrontendProvider.d.ts +41 -0
- package/dist/shared/providers/MicrofrontendProvider.d.ts.map +1 -0
- package/dist/shared/providers/index.d.ts +12 -0
- package/dist/shared/providers/index.d.ts.map +1 -0
- package/dist/shared/providers/shell/ActiveContextProvider.d.ts +88 -0
- package/dist/shared/providers/shell/ActiveContextProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/ActiveContextStorage.d.ts +45 -0
- package/dist/shared/providers/shell/ActiveContextStorage.d.ts.map +1 -0
- package/dist/shared/providers/shell/AppShellContext.d.ts +19 -0
- package/dist/shared/providers/shell/AppShellContext.d.ts.map +1 -0
- package/dist/shared/providers/shell/AuthBridgeClient.d.ts +121 -0
- package/dist/shared/providers/shell/AuthBridgeClient.d.ts.map +1 -0
- package/dist/shared/providers/shell/AuthProvider.d.ts +58 -0
- package/dist/shared/providers/shell/AuthProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/AuthTokenProvider.d.ts +22 -0
- package/dist/shared/providers/shell/AuthTokenProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/ContextManagerProvider.d.ts +56 -0
- package/dist/shared/providers/shell/ContextManagerProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/FeatureFlagsProvider.d.ts +20 -0
- package/dist/shared/providers/shell/FeatureFlagsProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/GatewayRouter.d.ts +31 -0
- package/dist/shared/providers/shell/GatewayRouter.d.ts.map +1 -0
- package/dist/shared/providers/shell/GlobalUiProvider.d.ts +46 -0
- package/dist/shared/providers/shell/GlobalUiProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/I18nProvider.d.ts +75 -0
- package/dist/shared/providers/shell/I18nProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/MultiGatewayProvider.d.ts +25 -0
- package/dist/shared/providers/shell/MultiGatewayProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/ObservabilityProvider.d.ts +15 -0
- package/dist/shared/providers/shell/ObservabilityProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/PageConversationContextProvider.d.ts +22 -0
- package/dist/shared/providers/shell/PageConversationContextProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/PermissionProvider.d.ts +227 -0
- package/dist/shared/providers/shell/PermissionProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/ProfileGeographyBridge.d.ts +8 -0
- package/dist/shared/providers/shell/ProfileGeographyBridge.d.ts.map +1 -0
- package/dist/shared/providers/shell/ProfileI18nBridge.d.ts +15 -0
- package/dist/shared/providers/shell/ProfileI18nBridge.d.ts.map +1 -0
- package/dist/shared/providers/shell/ProfileStorageManager.d.ts +107 -0
- package/dist/shared/providers/shell/ProfileStorageManager.d.ts.map +1 -0
- package/dist/shared/providers/shell/ShellUiProvider.d.ts +47 -0
- package/dist/shared/providers/shell/ShellUiProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/ThemeProvider.d.ts +29 -0
- package/dist/shared/providers/shell/ThemeProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/authProvider/bridgeStateSync.d.ts +6 -0
- package/dist/shared/providers/shell/authProvider/bridgeStateSync.d.ts.map +1 -0
- package/dist/shared/providers/shell/authProvider/jwt.d.ts +6 -0
- package/dist/shared/providers/shell/authProvider/jwt.d.ts.map +1 -0
- package/dist/shared/providers/shell/authProvider/ssoRelay.d.ts +17 -0
- package/dist/shared/providers/shell/authProvider/ssoRelay.d.ts.map +1 -0
- package/dist/shared/providers/shell/authProvider/useAuthActions.d.ts +38 -0
- package/dist/shared/providers/shell/authProvider/useAuthActions.d.ts.map +1 -0
- package/dist/shared/providers/shell/authProvider/useBridgeInitialization.d.ts +18 -0
- package/dist/shared/providers/shell/authProvider/useBridgeInitialization.d.ts.map +1 -0
- package/dist/shared/providers/shell/authProvider/useRemoteSLO.d.ts +13 -0
- package/dist/shared/providers/shell/authProvider/useRemoteSLO.d.ts.map +1 -0
- package/dist/shared/providers/shell/authProvider/useStorageSync.d.ts +15 -0
- package/dist/shared/providers/shell/authProvider/useStorageSync.d.ts.map +1 -0
- package/dist/shared/providers/shell/authProvider/useTokenExpiryTimer.d.ts +14 -0
- package/dist/shared/providers/shell/authProvider/useTokenExpiryTimer.d.ts.map +1 -0
- package/dist/shared/providers/shell/index.d.ts +45 -0
- package/dist/shared/providers/shell/index.d.ts.map +1 -0
- package/dist/shared/shims/assert.d.ts +19 -0
- package/dist/shared/shims/assert.d.ts.map +1 -0
- package/dist/shared/shims/index.d.ts +25 -0
- package/dist/shared/shims/index.d.ts.map +1 -0
- package/dist/shared/shims/process.d.ts +20 -0
- package/dist/shared/shims/process.d.ts.map +1 -0
- package/dist/shared/shims/use-sync-external-store-shim.d.ts +7 -0
- package/dist/shared/shims/use-sync-external-store-shim.d.ts.map +1 -0
- package/dist/shared/shims/use-sync-external-store-with-selector.d.ts +17 -0
- package/dist/shared/shims/use-sync-external-store-with-selector.d.ts.map +1 -0
- package/dist/shared/shims/util.d.ts +135 -0
- package/dist/shared/shims/util.d.ts.map +1 -0
- package/dist/shared/tours/TourInitializer.d.ts +6 -0
- package/dist/shared/tours/TourInitializer.d.ts.map +1 -0
- package/dist/shared/tours/TourPlayer.d.ts +49 -0
- package/dist/shared/tours/TourPlayer.d.ts.map +1 -0
- package/dist/shared/tours/TourPlayerProvider.d.ts +26 -0
- package/dist/shared/tours/TourPlayerProvider.d.ts.map +1 -0
- package/dist/shared/tours/TourSpotlight.d.ts +8 -0
- package/dist/shared/tours/TourSpotlight.d.ts.map +1 -0
- package/dist/shared/tours/TourTooltip.d.ts +7 -0
- package/dist/shared/tours/TourTooltip.d.ts.map +1 -0
- package/dist/shared/tours/TourTrigger.d.ts +15 -0
- package/dist/shared/tours/TourTrigger.d.ts.map +1 -0
- package/dist/shared/tours/ToursContext.d.ts +38 -0
- package/dist/shared/tours/ToursContext.d.ts.map +1 -0
- package/dist/shared/tours/index.d.ts +53 -0
- package/dist/shared/tours/index.d.ts.map +1 -0
- package/dist/shared/tours/progress.d.ts +7 -0
- package/dist/shared/tours/progress.d.ts.map +1 -0
- package/dist/shared/tours/routeCatalog.d.ts +42 -0
- package/dist/shared/tours/routeCatalog.d.ts.map +1 -0
- package/dist/shared/tours/tourTrigger/DesktopTourDropdown.d.ts +9 -0
- package/dist/shared/tours/tourTrigger/DesktopTourDropdown.d.ts.map +1 -0
- package/dist/shared/tours/tourTrigger/MobileTourSheet.d.ts +10 -0
- package/dist/shared/tours/tourTrigger/MobileTourSheet.d.ts.map +1 -0
- package/dist/shared/tours/tourTrigger/TourListItemDesktop.d.ts +8 -0
- package/dist/shared/tours/tourTrigger/TourListItemDesktop.d.ts.map +1 -0
- package/dist/shared/tours/tourTrigger/TourListItemMobile.d.ts +8 -0
- package/dist/shared/tours/tourTrigger/TourListItemMobile.d.ts.map +1 -0
- package/dist/shared/tours/tourTrigger/TourStatusChip.d.ts +5 -0
- package/dist/shared/tours/tourTrigger/TourStatusChip.d.ts.map +1 -0
- package/dist/shared/tours/tourTrigger/TourTriggerButton.d.ts +8 -0
- package/dist/shared/tours/tourTrigger/TourTriggerButton.d.ts.map +1 -0
- package/dist/shared/tours/toursContext/errors.d.ts +3 -0
- package/dist/shared/tours/toursContext/errors.d.ts.map +1 -0
- package/dist/shared/tours/toursContext/gql.d.ts +8 -0
- package/dist/shared/tours/toursContext/gql.d.ts.map +1 -0
- package/dist/shared/tours/toursContext/route.d.ts +5 -0
- package/dist/shared/tours/toursContext/route.d.ts.map +1 -0
- package/dist/shared/tours/toursContext/session.d.ts +3 -0
- package/dist/shared/tours/toursContext/session.d.ts.map +1 -0
- package/dist/shared/tours/toursContext/useIdleReady.d.ts +2 -0
- package/dist/shared/tours/toursContext/useIdleReady.d.ts.map +1 -0
- package/dist/shared/tours/toursContext/useTourMutations.d.ts +29 -0
- package/dist/shared/tours/toursContext/useTourMutations.d.ts.map +1 -0
- package/dist/shared/tours/types.d.ts +215 -0
- package/dist/shared/tours/types.d.ts.map +1 -0
- package/dist/shared/tours/useTourPlayer.d.ts +38 -0
- package/dist/shared/tours/useTourPlayer.d.ts.map +1 -0
- package/dist/shared/types/index.d.ts +185 -0
- package/dist/shared/types/index.d.ts.map +1 -0
- package/dist/shared/utils/apollo.d.ts +26 -0
- package/dist/shared/utils/apollo.d.ts.map +1 -0
- package/dist/shared/utils/appHelpers.d.ts +34 -0
- package/dist/shared/utils/appHelpers.d.ts.map +1 -0
- package/dist/shared/utils/authCookie.d.ts +35 -0
- package/dist/shared/utils/authCookie.d.ts.map +1 -0
- package/dist/shared/utils/authErrorHandling.d.ts +65 -0
- package/dist/shared/utils/authErrorHandling.d.ts.map +1 -0
- package/dist/shared/utils/backendErrors.d.ts +37 -0
- package/dist/shared/utils/backendErrors.d.ts.map +1 -0
- package/dist/shared/utils/cn.d.ts +6 -0
- package/dist/shared/utils/cn.d.ts.map +1 -0
- package/dist/shared/utils/format.d.ts +98 -0
- package/dist/shared/utils/format.d.ts.map +1 -0
- package/dist/shared/utils/gatewayFetchRewrite.d.ts +53 -0
- package/dist/shared/utils/gatewayFetchRewrite.d.ts.map +1 -0
- package/dist/shared/utils/index.d.ts +28 -0
- package/dist/shared/utils/index.d.ts.map +1 -0
- package/dist/shared/utils/lazyWithRetry.d.ts +43 -0
- package/dist/shared/utils/lazyWithRetry.d.ts.map +1 -0
- package/dist/shared/utils/loggerInit.d.ts +15 -0
- package/dist/shared/utils/loggerInit.d.ts.map +1 -0
- package/dist/shared/utils/mockData.d.ts +40 -0
- package/dist/shared/utils/mockData.d.ts.map +1 -0
- package/dist/shared/utils/profileScopedStorage.d.ts +42 -0
- package/dist/shared/utils/profileScopedStorage.d.ts.map +1 -0
- package/dist/shared/utils/quotaErrors.d.ts +81 -0
- package/dist/shared/utils/quotaErrors.d.ts.map +1 -0
- package/dist/shared/utils/tokens.d.ts +166 -0
- package/dist/shared/utils/tokens.d.ts.map +1 -0
- package/dist/shared-components.d.ts +2 -0
- package/dist/shared-config.d.ts +2 -0
- package/dist/shared-events.d.ts +2 -0
- package/dist/shared-feature-flags.d.ts +2 -0
- package/dist/shared-geography.d.ts +2 -0
- package/dist/shared-graphql.d.ts +2 -0
- package/dist/shared-hooks-shell.d.ts +2 -0
- package/dist/shared-hooks.d.ts +2 -0
- package/dist/shared-keyboard.d.ts +2 -0
- package/dist/shared-logger.d.ts +2 -0
- package/dist/shared-motion.d.ts +2 -0
- package/dist/shared-native.d.ts +2 -0
- package/dist/shared-pages.d.ts +2 -0
- package/dist/shared-plugins.d.ts +2 -0
- package/dist/shared-providers-shell.d.ts +2 -0
- package/dist/shared-providers.d.ts +2 -0
- package/dist/shared-shims.d.ts +2 -0
- package/dist/shared-tours.d.ts +2 -0
- package/dist/shared-types.d.ts +1 -0
- package/dist/shared-utils.d.ts +2 -0
- package/dist/shared.d.ts +2 -0
- package/dist/storage/SaveToFilesButton.d.ts +55 -0
- package/dist/storage/SaveToFilesButton.d.ts.map +1 -0
- package/dist/storage/SaveToFilesDialog.d.ts +13 -0
- package/dist/storage/SaveToFilesDialog.d.ts.map +1 -0
- package/dist/storage/StorageFolderPicker.d.ts +23 -0
- package/dist/storage/StorageFolderPicker.d.ts.map +1 -0
- package/dist/storage/index.d.ts +10 -0
- package/dist/storage/index.d.ts.map +1 -0
- package/dist/storage/uploadBlob.d.ts +21 -0
- package/dist/storage/uploadBlob.d.ts.map +1 -0
- package/dist/storage/useSaveToFiles.d.ts +17 -0
- package/dist/storage/useSaveToFiles.d.ts.map +1 -0
- package/dist/tag/TagBadge.d.ts +17 -0
- package/dist/tag/TagBadge.d.ts.map +1 -0
- package/dist/tag/TagsWidget.d.ts +103 -0
- package/dist/tag/TagsWidget.d.ts.map +1 -0
- package/dist/tag/index.d.ts +3 -0
- package/dist/tag/index.d.ts.map +1 -0
- package/dist/tag/tagsWidget/AddTagTrigger.d.ts +5 -0
- package/dist/tag/tagsWidget/AddTagTrigger.d.ts.map +1 -0
- package/dist/tag/tagsWidget/TagBadgeList.d.ts +7 -0
- package/dist/tag/tagsWidget/TagBadgeList.d.ts.map +1 -0
- package/dist/tag/tagsWidget/TagSearchPopover.d.ts +17 -0
- package/dist/tag/tagsWidget/TagSearchPopover.d.ts.map +1 -0
- package/dist/tag/tagsWidget/operations.d.ts +13 -0
- package/dist/tag/tagsWidget/operations.d.ts.map +1 -0
- package/dist/tag/tagsWidget/useVocabResolver.d.ts +6 -0
- package/dist/tag/tagsWidget/useVocabResolver.d.ts.map +1 -0
- package/dist/tag.d.ts +2 -0
- package/dist/ui/accordion.d.ts +8 -0
- package/dist/ui/accordion.d.ts.map +1 -0
- package/dist/ui/alert-dialog.d.ts +15 -0
- package/dist/ui/alert-dialog.d.ts.map +1 -0
- package/dist/ui/badge.d.ts +10 -0
- package/dist/ui/badge.d.ts.map +1 -0
- package/dist/ui/bottom-sheet.d.ts +16 -0
- package/dist/ui/bottom-sheet.d.ts.map +1 -0
- package/dist/ui/button.d.ts +12 -0
- package/dist/ui/button.d.ts.map +1 -0
- package/dist/ui/card.d.ts +21 -0
- package/dist/ui/card.d.ts.map +1 -0
- package/dist/ui/checkbox.d.ts +5 -0
- package/dist/ui/checkbox.d.ts.map +1 -0
- package/dist/ui/command.d.ts +19 -0
- package/dist/ui/command.d.ts.map +1 -0
- package/dist/ui/dialog.d.ts +16 -0
- package/dist/ui/dialog.d.ts.map +1 -0
- package/dist/ui/dropdown-menu.d.ts +68 -0
- package/dist/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/ui/empty-state.d.ts +13 -0
- package/dist/ui/empty-state.d.ts.map +1 -0
- package/dist/ui/index.d.ts +33 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/ui/input.d.ts +7 -0
- package/dist/ui/input.d.ts.map +1 -0
- package/dist/ui/label.d.ts +12 -0
- package/dist/ui/label.d.ts.map +1 -0
- package/dist/ui/optional-fields.d.ts +16 -0
- package/dist/ui/optional-fields.d.ts.map +1 -0
- package/dist/ui/page-container.d.ts +24 -0
- package/dist/ui/page-container.d.ts.map +1 -0
- package/dist/ui/popover.d.ts +8 -0
- package/dist/ui/popover.d.ts.map +1 -0
- package/dist/ui/responsive-dialog.d.ts +18 -0
- package/dist/ui/responsive-dialog.d.ts.map +1 -0
- package/dist/ui/responsive-stack.d.ts +15 -0
- package/dist/ui/responsive-stack.d.ts.map +1 -0
- package/dist/ui/responsive-table.d.ts +24 -0
- package/dist/ui/responsive-table.d.ts.map +1 -0
- package/dist/ui/scroll-area.d.ts +6 -0
- package/dist/ui/scroll-area.d.ts.map +1 -0
- package/dist/ui/select.d.ts +49 -0
- package/dist/ui/select.d.ts.map +1 -0
- package/dist/ui/separator.d.ts +5 -0
- package/dist/ui/separator.d.ts.map +1 -0
- package/dist/ui/sheet.d.ts +14 -0
- package/dist/ui/sheet.d.ts.map +1 -0
- package/dist/ui/skeleton.d.ts +4 -0
- package/dist/ui/skeleton.d.ts.map +1 -0
- package/dist/ui/sonner.d.ts +4 -0
- package/dist/ui/sonner.d.ts.map +1 -0
- package/dist/ui/spinner.d.ts +6 -0
- package/dist/ui/spinner.d.ts.map +1 -0
- package/dist/ui/stepper.d.ts +16 -0
- package/dist/ui/stepper.d.ts.map +1 -0
- package/dist/ui/switch.d.ts +5 -0
- package/dist/ui/switch.d.ts.map +1 -0
- package/dist/ui/table.d.ts +27 -0
- package/dist/ui/table.d.ts.map +1 -0
- package/dist/ui/tabs.d.ts +8 -0
- package/dist/ui/tabs.d.ts.map +1 -0
- package/dist/ui/textarea.d.ts +7 -0
- package/dist/ui/textarea.d.ts.map +1 -0
- package/dist/ui/tooltip.d.ts +13 -0
- package/dist/ui/tooltip.d.ts.map +1 -0
- package/dist/ui.d.ts +2 -0
- package/dist/utils/cn.d.ts +15 -0
- package/dist/utils/cn.d.ts.map +1 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lazy import wrapper with automatic retry for failed dynamic imports.
|
|
3
|
+
*
|
|
4
|
+
* When Vite's dev server restarts or dependency optimizer re-optimizes,
|
|
5
|
+
* cached module URLs become stale. This wrapper:
|
|
6
|
+
* 1. Catches the failed import
|
|
7
|
+
* 2. Retries with increasing delays (gives Vite time to rebuild/re-optimize)
|
|
8
|
+
* 3. On final failure, surfaces the error to the nearest boundary so the user
|
|
9
|
+
* can choose whether to reload.
|
|
10
|
+
*
|
|
11
|
+
* @module @burdenoff/fe-libs/shared/utils/lazyWithRetry
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* import { lazyWithRetry } from "@burdenoff/fe-libs/shared/utils";
|
|
16
|
+
*
|
|
17
|
+
* const MyComponent = lazyWithRetry(() =>
|
|
18
|
+
* import("./MyComponent").then(m => ({ default: m.MyComponent }))
|
|
19
|
+
* );
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
/**
|
|
23
|
+
* Check if an error is a chunk/module load failure.
|
|
24
|
+
* Covers both production chunk errors and Vite dev server 504 errors.
|
|
25
|
+
*/
|
|
26
|
+
export declare function isChunkLoadError(error: unknown): boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Wrap React.lazy() with automatic retry for chunk load failures.
|
|
29
|
+
*
|
|
30
|
+
* Retry strategy:
|
|
31
|
+
* - Attempt 1: immediate
|
|
32
|
+
* - Attempt 2: after retryDelay (1.5s default)
|
|
33
|
+
* - Attempt 3: after retryDelay * 2 (3s default)
|
|
34
|
+
* - If all fail: throw so the error boundary can offer an explicit reload action
|
|
35
|
+
*
|
|
36
|
+
* @param factory - The dynamic import factory function
|
|
37
|
+
* @param maxRetries - Maximum number of retries before page reload (default: 2)
|
|
38
|
+
* @param retryDelay - Base delay in ms between retries (default: 1500)
|
|
39
|
+
*/
|
|
40
|
+
export declare function lazyWithRetry<T extends React.ComponentType<any>>(factory: () => Promise<{
|
|
41
|
+
default: T;
|
|
42
|
+
}>, maxRetries?: number, retryDelay?: number): import('react').LazyExoticComponent<T>;
|
|
43
|
+
//# sourceMappingURL=lazyWithRetry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lazyWithRetry.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/lazyWithRetry.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAIH;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAYxD;AAED;;;;;;;;;;;;GAYG;AAEH,wBAAgB,aAAa,CAAC,CAAC,SAAS,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,EAC9D,OAAO,EAAE,MAAM,OAAO,CAAC;IAAE,OAAO,EAAE,CAAC,CAAA;CAAE,CAAC,EACtC,UAAU,SAAI,EACd,UAAU,SAAO,0CA8BlB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Logger initialization utility for app shells.
|
|
3
|
+
*
|
|
4
|
+
* @module @burdenoff/fe-libs/shared/utils/loggerInit
|
|
5
|
+
*/
|
|
6
|
+
export interface InitLoggerOptions {
|
|
7
|
+
/** App name for global context (e.g., "workspaces", "fluidgrids") */
|
|
8
|
+
appName: string;
|
|
9
|
+
/** Environment variable name for debug flag (default: "VITE_LOG_LEVEL_DEBUG") */
|
|
10
|
+
debugEnvVar?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function initializeLogger(options: InitLoggerOptions): void;
|
|
13
|
+
export declare function setUserContext(userId: string, organizationId?: string, workspaceId?: string): void;
|
|
14
|
+
export declare function clearUserContext(): void;
|
|
15
|
+
//# sourceMappingURL=loggerInit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loggerInit.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/loggerInit.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,MAAM,WAAW,iBAAiB;IAChC,qEAAqE;IACrE,OAAO,EAAE,MAAM,CAAC;IAChB,iFAAiF;IACjF,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,iBAAiB,QA4B1D;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,QAI3F;AAED,wBAAgB,gBAAgB,SAQ/B"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mock data for development and testing.
|
|
3
|
+
*
|
|
4
|
+
* Provides realistic mock entities (organizations, workspaces, projects, products, languages)
|
|
5
|
+
* that can be used in dev harnesses and storybook.
|
|
6
|
+
*
|
|
7
|
+
* @module @burdenoff/fe-libs/shared/utils/mockData
|
|
8
|
+
*/
|
|
9
|
+
export declare const mockProducts: {
|
|
10
|
+
id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
icon: string;
|
|
13
|
+
color: string;
|
|
14
|
+
url: string;
|
|
15
|
+
}[];
|
|
16
|
+
export declare const mockLanguages: {
|
|
17
|
+
code: string;
|
|
18
|
+
name: string;
|
|
19
|
+
nativeName: string;
|
|
20
|
+
flag: string;
|
|
21
|
+
}[];
|
|
22
|
+
export declare const mockOrganizations: {
|
|
23
|
+
id: string;
|
|
24
|
+
name: string;
|
|
25
|
+
slug: string;
|
|
26
|
+
tenantId: string;
|
|
27
|
+
}[];
|
|
28
|
+
export declare const mockWorkspaces: {
|
|
29
|
+
id: string;
|
|
30
|
+
name: string;
|
|
31
|
+
organizationId: string;
|
|
32
|
+
slug: string;
|
|
33
|
+
}[];
|
|
34
|
+
export declare const mockProjects: {
|
|
35
|
+
id: string;
|
|
36
|
+
name: string;
|
|
37
|
+
workspaceId: string;
|
|
38
|
+
slug: string;
|
|
39
|
+
}[];
|
|
40
|
+
//# sourceMappingURL=mockData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mockData.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/mockData.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,eAAO,MAAM,YAAY;;;;;;GAoCxB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;GAuDzB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;GAmB7B,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;GA2B1B,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;GAwDxB,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Profile-Scoped Storage — Zustand persist adapter + helpers
|
|
3
|
+
*
|
|
4
|
+
* Dynamically prefixes localStorage keys with the active profile ID
|
|
5
|
+
* so that persisted UI state (tabs, filters, selections, etc.) is
|
|
6
|
+
* isolated per user account.
|
|
7
|
+
*
|
|
8
|
+
* Key format: bf-p-{profileId}-{baseName}
|
|
9
|
+
*
|
|
10
|
+
* Includes one-time migration: on first read, if the scoped key is
|
|
11
|
+
* missing but the legacy (un-prefixed) key exists, the value is
|
|
12
|
+
* copied to the scoped key and the legacy key is removed.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Returns the profile-scoped localStorage key for the given base key.
|
|
16
|
+
* Falls back to the bare key if no profile is active.
|
|
17
|
+
*
|
|
18
|
+
* Use this for raw `localStorage.getItem` / `localStorage.setItem` calls
|
|
19
|
+
* outside of zustand stores.
|
|
20
|
+
*/
|
|
21
|
+
export declare function getProfileScopedKey(key: string): string;
|
|
22
|
+
/**
|
|
23
|
+
* Creates a zustand persist-compatible storage that scopes localStorage
|
|
24
|
+
* keys by the active user profile.
|
|
25
|
+
*
|
|
26
|
+
* Usage:
|
|
27
|
+
* ```ts
|
|
28
|
+
* import { createProfileScopedStorage } from '@burdenoff/fe-libs/shared/utils';
|
|
29
|
+
*
|
|
30
|
+
* const useMyStore = create(
|
|
31
|
+
* persist(
|
|
32
|
+
* (set) => ({ ... }),
|
|
33
|
+
* {
|
|
34
|
+
* name: 'my-store-key',
|
|
35
|
+
* storage: createProfileScopedStorage(),
|
|
36
|
+
* }
|
|
37
|
+
* )
|
|
38
|
+
* );
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare function createProfileScopedStorage(): import('zustand/middleware').PersistStorage<unknown, unknown> | undefined;
|
|
42
|
+
//# sourceMappingURL=profileScopedStorage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profileScopedStorage.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/profileScopedStorage.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAuCH;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAGvD;AA+CD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,0BAA0B,8EAEzC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Quota error detection utilities.
|
|
3
|
+
*
|
|
4
|
+
* Backend services return HTTP 429 with GraphQL error code `QUOTA_EXHAUSTED`
|
|
5
|
+
* (and extension fields like `field`, `quotaName`, `limitLeft`) when an
|
|
6
|
+
* `@usage`-annotated mutation exceeds its quota. Apollo Client surfaces this
|
|
7
|
+
* shape through one of three paths depending on whether the response was
|
|
8
|
+
* parsed as a network error or as GraphQL errors.
|
|
9
|
+
*
|
|
10
|
+
* See: ~/products/dev/platform/context/usage/HOW_TO_INTEGRATE_USAGE_MICROFE.md
|
|
11
|
+
*/
|
|
12
|
+
export declare const QUOTA_EXHAUSTED_CODE: "QUOTA_EXHAUSTED";
|
|
13
|
+
export declare const STORAGE_QUOTA_EXCEEDED_CODE: "STORAGE_QUOTA_EXCEEDED";
|
|
14
|
+
export declare const RESOURCE_CAP_EXCEEDED_CODE: "RESOURCE_CAP_EXCEEDED";
|
|
15
|
+
/**
|
|
16
|
+
* All upgrade-eligible error codes the gateway/subgraphs may emit when a
|
|
17
|
+
* plan limit is hit. Any error with one of these codes should surface the
|
|
18
|
+
* shared `UpgradePromptModal` via `dispatchUpgradePrompt`.
|
|
19
|
+
*/
|
|
20
|
+
export declare const UPGRADE_ERROR_CODES: readonly ["QUOTA_EXHAUSTED", "STORAGE_QUOTA_EXCEEDED", "RESOURCE_CAP_EXCEEDED"];
|
|
21
|
+
export type UpgradeErrorCode = (typeof UPGRADE_ERROR_CODES)[number];
|
|
22
|
+
export interface QuotaExhaustedExtensions {
|
|
23
|
+
code: typeof QUOTA_EXHAUSTED_CODE;
|
|
24
|
+
field?: string;
|
|
25
|
+
quotaName?: string;
|
|
26
|
+
limitLeft?: number;
|
|
27
|
+
limit?: number;
|
|
28
|
+
used?: number;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Extensions emitted by storage / resource cap errors. Storage backends set
|
|
32
|
+
* `currentBytes/limitBytes`; resource-cap backends set `currentCount/limit`.
|
|
33
|
+
* Both carry `planName` and `resource`.
|
|
34
|
+
*/
|
|
35
|
+
export interface UpgradeErrorExtensions {
|
|
36
|
+
code: UpgradeErrorCode;
|
|
37
|
+
resource?: string;
|
|
38
|
+
planName?: string;
|
|
39
|
+
currentBytes?: number;
|
|
40
|
+
limitBytes?: number;
|
|
41
|
+
currentCount?: number;
|
|
42
|
+
limit?: number;
|
|
43
|
+
field?: string;
|
|
44
|
+
quotaName?: string;
|
|
45
|
+
used?: number;
|
|
46
|
+
limitLeft?: number;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the error matches any upgrade-eligible code
|
|
50
|
+
* (QUOTA_EXHAUSTED, STORAGE_QUOTA_EXCEEDED, RESOURCE_CAP_EXCEEDED).
|
|
51
|
+
*/
|
|
52
|
+
export declare function isUpgradeError(err: unknown): boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Extract upgrade-eligible error extensions from any Apollo error shape.
|
|
55
|
+
*/
|
|
56
|
+
export declare function extractUpgradeErrorExtensions(err: unknown): UpgradeErrorExtensions | null;
|
|
57
|
+
/**
|
|
58
|
+
* Resolve current/limit numerics for display, abstracting over storage-vs-count.
|
|
59
|
+
*/
|
|
60
|
+
export declare function resolveUpgradeUsage(ext: UpgradeErrorExtensions | null): {
|
|
61
|
+
current: number | null;
|
|
62
|
+
limit: number | null;
|
|
63
|
+
unit: 'bytes' | 'count';
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Returns true if the given error is a `QUOTA_EXHAUSTED` response from any
|
|
67
|
+
* gateway path Apollo may surface it through.
|
|
68
|
+
*/
|
|
69
|
+
export declare function isQuotaExhaustedError(err: unknown): boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Extracts the QUOTA_EXHAUSTED extensions object from any Apollo error shape,
|
|
72
|
+
* or returns `null` if the error is not a quota-exhausted error.
|
|
73
|
+
*/
|
|
74
|
+
export declare function extractQuotaExhaustedExtensions(err: unknown): QuotaExhaustedExtensions | null;
|
|
75
|
+
/**
|
|
76
|
+
* Build a user-facing toast message for a quota-exhausted error. Uses
|
|
77
|
+
* `quotaName` (preferred) or `field` from the extensions when available, and
|
|
78
|
+
* falls back to a generic message otherwise.
|
|
79
|
+
*/
|
|
80
|
+
export declare function buildQuotaExhaustedMessage(ext: QuotaExhaustedExtensions | null): string;
|
|
81
|
+
//# sourceMappingURL=quotaErrors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quotaErrors.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/quotaErrors.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,eAAO,MAAM,oBAAoB,EAAG,iBAA0B,CAAC;AAC/D,eAAO,MAAM,2BAA2B,EAAG,wBAAiC,CAAC;AAC7E,eAAO,MAAM,0BAA0B,EAAG,uBAAgC,CAAC;AAE3E;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,iFAItB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpE,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,OAAO,oBAAoB,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,gBAAgB,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAeD;;;GAGG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAEpD;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,GAAG,EAAE,OAAO,GAAG,sBAAsB,GAAG,IAAI,CAmBzF;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,sBAAsB,GAAG,IAAI,GAAG;IACvE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC;CACzB,CAcA;AAyBD;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAE3D;AAED;;;GAGG;AACH,wBAAgB,+BAA+B,CAAC,GAAG,EAAE,OAAO,GAAG,wBAAwB,GAAG,IAAI,CAqB7F;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,GAAG,EAAE,wBAAwB,GAAG,IAAI,GAAG,MAAM,CAMvF"}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Semantic Design Tokens Utility
|
|
3
|
+
*
|
|
4
|
+
* Provides TypeScript mappings for semantic design tokens.
|
|
5
|
+
* These map to CSS custom properties defined in fe-libs/tokens.
|
|
6
|
+
*
|
|
7
|
+
* Token Reference (from fe-libs/tokens):
|
|
8
|
+
* - Status: --color-status-{success|warning|error|info}-{bg|bg-subtle|text|border}
|
|
9
|
+
* - Action: --color-action-{primary|secondary|danger}-{bg|bgHover|text}
|
|
10
|
+
* - Text: --color-text-{primary|secondary|muted}
|
|
11
|
+
* - Background: --color-bg-{canvas|surface|elevated|sunken}
|
|
12
|
+
*
|
|
13
|
+
* The app shell (e.g., fluidgrids-app) defines the actual CSS variable values,
|
|
14
|
+
* allowing each product to have its own theme while microfrontends remain consistent.
|
|
15
|
+
*/
|
|
16
|
+
export type SemanticStatus = 'success' | 'warning' | 'error' | 'info' | 'neutral' | 'primary';
|
|
17
|
+
interface StatusTokenClasses {
|
|
18
|
+
/** Background for subtle/badge usage */
|
|
19
|
+
bg: string;
|
|
20
|
+
/** Text color */
|
|
21
|
+
text: string;
|
|
22
|
+
/** Border color */
|
|
23
|
+
border: string;
|
|
24
|
+
/** Dot/indicator color (solid) */
|
|
25
|
+
dot: string;
|
|
26
|
+
/** Icon color */
|
|
27
|
+
icon: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Semantic status color classes using design tokens
|
|
31
|
+
* These map to CSS custom properties defined in the app shell
|
|
32
|
+
*/
|
|
33
|
+
export declare const statusTokens: Record<SemanticStatus, StatusTokenClasses>;
|
|
34
|
+
/**
|
|
35
|
+
* Get status token classes for a given status
|
|
36
|
+
*/
|
|
37
|
+
export declare function getStatusTokens(status: SemanticStatus): StatusTokenClasses;
|
|
38
|
+
/**
|
|
39
|
+
* Get combined badge classes for a status
|
|
40
|
+
*/
|
|
41
|
+
export declare function getStatusBadgeTokens(status: SemanticStatus): string;
|
|
42
|
+
export declare const trendTokens: {
|
|
43
|
+
readonly positive: {
|
|
44
|
+
readonly text: "text-status-success-text";
|
|
45
|
+
readonly icon: "text-status-success-bg";
|
|
46
|
+
};
|
|
47
|
+
readonly negative: {
|
|
48
|
+
readonly text: "text-status-error-text";
|
|
49
|
+
readonly icon: "text-status-error-bg";
|
|
50
|
+
};
|
|
51
|
+
readonly neutral: {
|
|
52
|
+
readonly text: "text-status-neutral-text";
|
|
53
|
+
readonly icon: "text-status-neutral-text";
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Get trend indicator classes
|
|
58
|
+
*/
|
|
59
|
+
export declare function getTrendTokens(isPositive: boolean | null): {
|
|
60
|
+
readonly text: "text-status-success-text";
|
|
61
|
+
readonly icon: "text-status-success-bg";
|
|
62
|
+
} | {
|
|
63
|
+
readonly text: "text-status-error-text";
|
|
64
|
+
readonly icon: "text-status-error-bg";
|
|
65
|
+
} | {
|
|
66
|
+
readonly text: "text-status-neutral-text";
|
|
67
|
+
readonly icon: "text-status-neutral-text";
|
|
68
|
+
};
|
|
69
|
+
export declare const progressTokens: {
|
|
70
|
+
healthy: {
|
|
71
|
+
bar: string;
|
|
72
|
+
track: string;
|
|
73
|
+
};
|
|
74
|
+
warning: {
|
|
75
|
+
bar: string;
|
|
76
|
+
track: string;
|
|
77
|
+
};
|
|
78
|
+
critical: {
|
|
79
|
+
bar: string;
|
|
80
|
+
track: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Get progress bar colors based on percentage
|
|
85
|
+
*/
|
|
86
|
+
export declare function getProgressTokens(percentage: number): {
|
|
87
|
+
bar: string;
|
|
88
|
+
track: string;
|
|
89
|
+
};
|
|
90
|
+
export declare const categoryTokens: {
|
|
91
|
+
plan: {
|
|
92
|
+
bg: string;
|
|
93
|
+
text: string;
|
|
94
|
+
border: string;
|
|
95
|
+
};
|
|
96
|
+
addon: {
|
|
97
|
+
bg: string;
|
|
98
|
+
text: string;
|
|
99
|
+
border: string;
|
|
100
|
+
};
|
|
101
|
+
credits: {
|
|
102
|
+
bg: string;
|
|
103
|
+
text: string;
|
|
104
|
+
border: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* Get category badge classes
|
|
109
|
+
*/
|
|
110
|
+
export declare function getCategoryTokens(category: 'plan' | 'addon' | 'credits'): {
|
|
111
|
+
bg: string;
|
|
112
|
+
text: string;
|
|
113
|
+
border: string;
|
|
114
|
+
} | {
|
|
115
|
+
bg: string;
|
|
116
|
+
text: string;
|
|
117
|
+
border: string;
|
|
118
|
+
} | {
|
|
119
|
+
bg: string;
|
|
120
|
+
text: string;
|
|
121
|
+
border: string;
|
|
122
|
+
};
|
|
123
|
+
export declare const alertTokens: {
|
|
124
|
+
success: {
|
|
125
|
+
container: string;
|
|
126
|
+
text: string;
|
|
127
|
+
icon: string;
|
|
128
|
+
};
|
|
129
|
+
warning: {
|
|
130
|
+
container: string;
|
|
131
|
+
text: string;
|
|
132
|
+
icon: string;
|
|
133
|
+
};
|
|
134
|
+
error: {
|
|
135
|
+
container: string;
|
|
136
|
+
text: string;
|
|
137
|
+
icon: string;
|
|
138
|
+
};
|
|
139
|
+
info: {
|
|
140
|
+
container: string;
|
|
141
|
+
text: string;
|
|
142
|
+
icon: string;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* Get alert/banner classes
|
|
147
|
+
*/
|
|
148
|
+
export declare function getAlertTokens(type: 'success' | 'warning' | 'error' | 'info'): {
|
|
149
|
+
container: string;
|
|
150
|
+
text: string;
|
|
151
|
+
icon: string;
|
|
152
|
+
} | {
|
|
153
|
+
container: string;
|
|
154
|
+
text: string;
|
|
155
|
+
icon: string;
|
|
156
|
+
} | {
|
|
157
|
+
container: string;
|
|
158
|
+
text: string;
|
|
159
|
+
icon: string;
|
|
160
|
+
} | {
|
|
161
|
+
container: string;
|
|
162
|
+
text: string;
|
|
163
|
+
icon: string;
|
|
164
|
+
};
|
|
165
|
+
export {};
|
|
166
|
+
//# sourceMappingURL=tokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/shared/utils/tokens.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;AAE9F,UAAU,kBAAkB;IAC1B,wCAAwC;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,iBAAiB;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,mBAAmB;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,kCAAkC;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,iBAAiB;IACjB,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,cAAc,EAAE,kBAAkB,CA2CnE,CAAC;AAEF;;GAEG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,cAAc,GAAG,kBAAkB,CAE1E;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM,CAGnE;AAMD,eAAO,MAAM,WAAW;;;;;;;;;;;;;CAad,CAAC;AAEX;;GAEG;AACH,wBAAgB,cAAc,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI;;;;;;;;;EAGxD;AAMD,eAAO,MAAM,cAAc;;;;;;;;;;;;;CAa1B,CAAC;AAEF;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM;;;EAInD;AAMD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;CAgB1B,CAAC;AAEF;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS;;;;;;;;;;;;EAEvE;AAMD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;CAqBvB,CAAC;AAEF;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM;;;;;;;;;;;;;;;;EAE5E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {}
|
package/dist/shared.d.ts
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { SavedFile } from './useSaveToFiles';
|
|
2
|
+
/** Two shapes — pick one based on where the bytes come from. */
|
|
3
|
+
export type SaveToFilesSource = {
|
|
4
|
+
kind: 'blob';
|
|
5
|
+
/**
|
|
6
|
+
* Producer thunk. Returning `null` cleanly aborts the save (e.g. user
|
|
7
|
+
* cancelled a downstream confirm). Producers MAY override the filename
|
|
8
|
+
* and mime type at runtime (useful when the bytes carry metadata only
|
|
9
|
+
* known after a slow GraphQL call resolves).
|
|
10
|
+
*/
|
|
11
|
+
getBlob: () => Promise<{
|
|
12
|
+
blob: Blob;
|
|
13
|
+
filename?: string;
|
|
14
|
+
mimeType?: string;
|
|
15
|
+
} | null>;
|
|
16
|
+
/** Default filename — used by the browser-download path. */
|
|
17
|
+
filename: string;
|
|
18
|
+
/** Default MIME type — used by the browser-download path. */
|
|
19
|
+
mimeType: string;
|
|
20
|
+
} | {
|
|
21
|
+
kind: 'sandbox-artifact';
|
|
22
|
+
sandboxId: string;
|
|
23
|
+
sessionId: string;
|
|
24
|
+
/** Artifact path inside the sandbox session. */
|
|
25
|
+
path: string;
|
|
26
|
+
/** Optional override; otherwise the sandbox's reported filename wins. */
|
|
27
|
+
filename?: string;
|
|
28
|
+
};
|
|
29
|
+
interface Props {
|
|
30
|
+
source: SaveToFilesSource;
|
|
31
|
+
/**
|
|
32
|
+
* Pre-selected destination folder path. The dialog will lazily create
|
|
33
|
+
* missing ancestors via `ensureFolderByPath` on submit. The user can edit
|
|
34
|
+
* the path in the dialog.
|
|
35
|
+
*/
|
|
36
|
+
defaultFolderPath?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Browser-download action. Called when the user clicks the primary button.
|
|
39
|
+
* SaveToFilesButton does not implement the download itself — callers may
|
|
40
|
+
* have specialised tracking, anti-flood, or transformation logic.
|
|
41
|
+
*/
|
|
42
|
+
onDownload: () => void | Promise<void>;
|
|
43
|
+
/** Called after a successful Save to Files. */
|
|
44
|
+
onSaved?: (file: SavedFile) => void;
|
|
45
|
+
/** Primary button label. Default "Download". */
|
|
46
|
+
label?: string;
|
|
47
|
+
disabled?: boolean;
|
|
48
|
+
/** ARIA-style test ID prefix; defaults to `save-to-files`. */
|
|
49
|
+
testId?: string;
|
|
50
|
+
/** Pass-through className for the outer wrapper. */
|
|
51
|
+
className?: string;
|
|
52
|
+
}
|
|
53
|
+
export declare function SaveToFilesButton({ source, defaultFolderPath, onDownload, onSaved, label, disabled, testId, className, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
export {};
|
|
55
|
+
//# sourceMappingURL=SaveToFilesButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SaveToFilesButton.d.ts","sourceRoot":"","sources":["../../src/storage/SaveToFilesButton.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,gEAAgE;AAChE,MAAM,MAAM,iBAAiB,GACzB;IACE,IAAI,EAAE,MAAM,CAAC;IACb;;;;;OAKG;IACH,OAAO,EAAE,MAAM,OAAO,CAAC;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC,CAAC;IACpF,4DAA4D;IAC5D,QAAQ,EAAE,MAAM,CAAC;IACjB,6DAA6D;IAC7D,QAAQ,EAAE,MAAM,CAAC;CAClB,GACD;IACE,IAAI,EAAE,kBAAkB,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,gDAAgD;IAChD,IAAI,EAAE,MAAM,CAAC;IACb,yEAAyE;IACzE,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEN,UAAU,KAAK;IACb,MAAM,EAAE,iBAAiB,CAAC;IAC1B;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,UAAU,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACvC,+CAA+C;IAC/C,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IACpC,gDAAgD;IAChD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8DAA8D;IAC9D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAOD,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,EACN,iBAAiB,EACjB,UAAU,EACV,OAAO,EACP,KAAkB,EAClB,QAAQ,EACR,MAAwB,EACxB,SAAS,GACV,EAAE,KAAK,2CA4DP"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SaveToFilesSource } from './SaveToFilesButton';
|
|
2
|
+
import { SavedFile } from './useSaveToFiles';
|
|
3
|
+
interface Props {
|
|
4
|
+
open: boolean;
|
|
5
|
+
onOpenChange: (open: boolean) => void;
|
|
6
|
+
source: SaveToFilesSource;
|
|
7
|
+
defaultFolderPath?: string;
|
|
8
|
+
filename: string;
|
|
9
|
+
onSaved?: (file: SavedFile) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare function SaveToFilesDialog({ open, onOpenChange, source, defaultFolderPath, filename, onSaved, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=SaveToFilesDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SaveToFilesDialog.d.ts","sourceRoot":"","sources":["../../src/storage/SaveToFilesDialog.tsx"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElE,UAAU,KAAK;IACb,IAAI,EAAE,OAAO,CAAC;IACd,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,MAAM,EAAE,iBAAiB,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;CACrC;AAED,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,YAAY,EACZ,MAAM,EACN,iBAAiB,EACjB,QAAQ,EACR,OAAO,GACR,EAAE,KAAK,2CAwFP"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { gql } from '@apollo/client';
|
|
2
|
+
export interface StorageFolder {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
path: string;
|
|
6
|
+
parentId?: string | null;
|
|
7
|
+
}
|
|
8
|
+
interface Props {
|
|
9
|
+
workspaceId: string;
|
|
10
|
+
value: StorageFolder | null;
|
|
11
|
+
onChange: (folder: StorageFolder | null) => void;
|
|
12
|
+
/** Customise GraphQL operation names if your gateway uses different ones. */
|
|
13
|
+
operations?: {
|
|
14
|
+
list?: ReturnType<typeof gql>;
|
|
15
|
+
create?: ReturnType<typeof gql>;
|
|
16
|
+
};
|
|
17
|
+
/** Optional starting parent folder ID. */
|
|
18
|
+
initialParentId?: string;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare function StorageFolderPicker({ workspaceId, value, onChange, operations, initialParentId, disabled, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=StorageFolderPicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StorageFolderPicker.d.ts","sourceRoot":"","sources":["../../src/storage/StorageFolderPicker.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAIrC,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AA8BD,UAAU,KAAK;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,aAAa,GAAG,IAAI,CAAC;IAC5B,QAAQ,EAAE,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD,6EAA6E;IAC7E,UAAU,CAAC,EAAE;QACX,IAAI,CAAC,EAAE,UAAU,CAAC,OAAO,GAAG,CAAC,CAAC;QAC9B,MAAM,CAAC,EAAE,UAAU,CAAC,OAAO,GAAG,CAAC,CAAC;KACjC,CAAC;IACF,0CAA0C;IAC1C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,mBAAmB,CAAC,EAClC,WAAW,EACX,KAAK,EACL,QAAQ,EACR,UAAU,EACV,eAAe,EACf,QAAQ,GACT,EAAE,KAAK,2CAkIP"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { StorageFolderPicker } from './StorageFolderPicker';
|
|
2
|
+
export type { StorageFolder } from './StorageFolderPicker';
|
|
3
|
+
export { SaveToFilesButton } from './SaveToFilesButton';
|
|
4
|
+
export type { SaveToFilesSource } from './SaveToFilesButton';
|
|
5
|
+
export { SaveToFilesDialog } from './SaveToFilesDialog';
|
|
6
|
+
export { useSaveToFiles } from './useSaveToFiles';
|
|
7
|
+
export type { SavedFile, UseSaveToFilesResult } from './useSaveToFiles';
|
|
8
|
+
export { uploadBlobToFiles, FILES_AFTER_SAVE_REFETCH } from './uploadBlob';
|
|
9
|
+
export type { UploadBlobParams, UploadedFile } from './uploadBlob';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/storage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAC;AAC3E,YAAY,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ApolloClient } from '@apollo/client';
|
|
2
|
+
/**
|
|
3
|
+
* Apollo invalidations every "Save to Files" caller benefits from — pulled
|
|
4
|
+
* from microfe-files' useUploadFile to keep the browse views in sync.
|
|
5
|
+
*/
|
|
6
|
+
export declare const FILES_AFTER_SAVE_REFETCH: string[];
|
|
7
|
+
export interface UploadBlobParams {
|
|
8
|
+
client: ApolloClient;
|
|
9
|
+
blob: Blob;
|
|
10
|
+
filename: string;
|
|
11
|
+
mimeType: string;
|
|
12
|
+
folderId: string;
|
|
13
|
+
onProgress?: (pct: number) => void;
|
|
14
|
+
}
|
|
15
|
+
export interface UploadedFile {
|
|
16
|
+
id: string;
|
|
17
|
+
name: string;
|
|
18
|
+
folderId: string | null;
|
|
19
|
+
}
|
|
20
|
+
export declare function uploadBlobToFiles(params: UploadBlobParams): Promise<UploadedFile>;
|
|
21
|
+
//# sourceMappingURL=uploadBlob.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploadBlob.d.ts","sourceRoot":"","sources":["../../src/storage/uploadBlob.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAyBxD;;;GAGG;AACH,eAAO,MAAM,wBAAwB,UAKpC,CAAC;AAEF,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,YAAY,CAAC;IACrB,IAAI,EAAE,IAAI,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,wBAAsB,iBAAiB,CAAC,MAAM,EAAE,gBAAgB,GAAG,OAAO,CAAC,YAAY,CAAC,CAoEvF"}
|