@burdenoff/fe-libs 2026.528.10 → 2026.529.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/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/node_modules/{.bun/@ungap_structured-clone@1.3.0/node_modules/@ungap → @ungap}/structured-clone/esm/deserialize.js +1 -1
- package/dist/node_modules/{.bun/@ungap_structured-clone@1.3.0/node_modules/@ungap → @ungap}/structured-clone/esm/index.js +1 -1
- package/dist/node_modules/{.bun/@ungap_structured-clone@1.3.0/node_modules/@ungap → @ungap}/structured-clone/esm/serialize.js +1 -1
- package/dist/node_modules/{.bun/bail@2.0.2/node_modules/bail → bail}/index.js +1 -1
- package/dist/node_modules/{.bun/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens → comma-separated-tokens}/index.js +1 -1
- package/dist/node_modules/{.bun/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference → decode-named-character-reference}/index.dom.js +1 -1
- package/dist/node_modules/{.bun/devlop@1.1.0/node_modules/devlop → devlop}/lib/default.js +1 -1
- package/dist/node_modules/{.bun/estree-util-is-identifier-name@3.0.0/node_modules/estree-util-is-identifier-name → estree-util-is-identifier-name}/lib/index.js +1 -1
- package/dist/node_modules/{.bun/extend@3.0.2/node_modules/extend → extend}/index.js +2 -2
- package/dist/node_modules/{.bun/hast-util-to-jsx-runtime@2.3.6/node_modules/hast-util-to-jsx-runtime → hast-util-to-jsx-runtime}/lib/index.js +13 -13
- package/dist/node_modules/{.bun/hast-util-whitespace@3.0.0/node_modules/hast-util-whitespace → hast-util-whitespace}/lib/index.js +1 -1
- package/dist/node_modules/{.bun/html-url-attributes@3.0.1/node_modules/html-url-attributes → html-url-attributes}/lib/index.js +1 -1
- package/dist/node_modules/{.bun/inline-style-parser@0.2.7/node_modules/inline-style-parser → inline-style-parser}/cjs/index.js +2 -2
- package/dist/node_modules/{.bun/is-plain-obj@4.1.0/node_modules/is-plain-obj → is-plain-obj}/index.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown → mdast-util-from-markdown}/lib/index.js +10 -10
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/footer.js +3 -3
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/blockquote.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/break.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/code.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/delete.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/emphasis.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/footnote-reference.js +2 -2
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/heading.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/html.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/image-reference.js +2 -2
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/image.js +2 -2
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/index.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/inline-code.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/link-reference.js +2 -2
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/link.js +2 -2
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/list-item.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/list.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/paragraph.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/root.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/strong.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/table-cell.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/table-row.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/table.js +2 -2
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +11 -0
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/handlers/thematic-break.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/index.js +2 -2
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/revert.js +1 -1
- package/dist/node_modules/{.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast → mdast-util-to-hast}/lib/state.js +4 -4
- package/dist/node_modules/{.bun/mdast-util-to-string@4.0.0/node_modules/mdast-util-to-string → mdast-util-to-string}/lib/index.js +1 -1
- package/dist/node_modules/micromark/lib/constructs.js +80 -0
- package/dist/node_modules/{.bun/micromark@4.0.2/node_modules/micromark → micromark}/lib/create-tokenizer.js +4 -4
- package/dist/node_modules/{.bun/micromark@4.0.2/node_modules/micromark → micromark}/lib/initialize/content.js +3 -3
- package/dist/node_modules/{.bun/micromark@4.0.2/node_modules/micromark → micromark}/lib/initialize/document.js +4 -4
- package/dist/node_modules/{.bun/micromark@4.0.2/node_modules/micromark → micromark}/lib/initialize/flow.js +4 -4
- package/dist/node_modules/{.bun/micromark@4.0.2/node_modules/micromark → micromark}/lib/initialize/text.js +1 -1
- package/dist/node_modules/{.bun/micromark@4.0.2/node_modules/micromark → micromark}/lib/parse.js +2 -2
- package/dist/node_modules/micromark/lib/postprocess.js +8 -0
- package/dist/node_modules/{.bun/micromark@4.0.2/node_modules/micromark → micromark}/lib/preprocess.js +1 -1
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/attention.js +4 -4
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/autolink.js +2 -2
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +18 -0
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/block-quote.js +3 -3
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/character-escape.js +2 -2
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/character-reference.js +3 -3
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-fenced.js +3 -3
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-indented.js +3 -3
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/code-text.js +2 -2
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/content.js +4 -4
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/definition.js +8 -8
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/hard-break-escape.js +2 -2
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/heading-atx.js +4 -4
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/html-flow.js +3 -3
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/html-text.js +3 -3
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-end.js +9 -9
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-start-image.js +1 -1
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/label-start-link.js +1 -1
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +14 -0
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/list.js +3 -3
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/setext-underline.js +3 -3
- package/dist/node_modules/{.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark → micromark-core-commonmark}/lib/thematic-break.js +3 -3
- package/dist/node_modules/{.bun/micromark-factory-destination@2.0.1/node_modules/micromark-factory-destination → micromark-factory-destination}/index.js +2 -2
- package/dist/node_modules/{.bun/micromark-factory-label@2.0.1/node_modules/micromark-factory-label → micromark-factory-label}/index.js +2 -2
- package/dist/node_modules/{.bun/micromark-factory-space@2.0.1/node_modules/micromark-factory-space → micromark-factory-space}/index.js +2 -2
- package/dist/node_modules/{.bun/micromark-factory-title@2.0.1/node_modules/micromark-factory-title → micromark-factory-title}/index.js +3 -3
- package/dist/node_modules/micromark-factory-whitespace/index.js +12 -0
- package/dist/node_modules/{.bun/micromark-util-character@2.1.1/node_modules/micromark-util-character → micromark-util-character}/index.js +1 -1
- package/dist/node_modules/{.bun/micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked → micromark-util-chunked}/index.js +1 -1
- package/dist/node_modules/micromark-util-classify-character/index.js +8 -0
- package/dist/node_modules/{.bun/micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions → micromark-util-combine-extensions}/index.js +2 -2
- package/dist/node_modules/{.bun/micromark-util-decode-numeric-character-reference@2.0.2/node_modules/micromark-util-decode-numeric-character-reference → micromark-util-decode-numeric-character-reference}/index.js +1 -1
- package/dist/node_modules/micromark-util-decode-string/index.js +17 -0
- package/dist/node_modules/{.bun/micromark-util-html-tag-name@2.0.1/node_modules/micromark-util-html-tag-name → micromark-util-html-tag-name}/index.js +1 -1
- package/dist/node_modules/{.bun/micromark-util-normalize-identifier@2.0.1/node_modules/micromark-util-normalize-identifier → micromark-util-normalize-identifier}/index.js +1 -1
- package/dist/node_modules/{.bun/micromark-util-resolve-all@2.0.1/node_modules/micromark-util-resolve-all → micromark-util-resolve-all}/index.js +1 -1
- package/dist/node_modules/{.bun/micromark-util-sanitize-uri@2.0.1/node_modules/micromark-util-sanitize-uri → micromark-util-sanitize-uri}/index.js +2 -2
- package/dist/node_modules/{.bun/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/index.js +2 -2
- package/dist/node_modules/{.bun/micromark-util-subtokenize@2.1.0/node_modules/micromark-util-subtokenize → micromark-util-subtokenize}/lib/splice-buffer.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/index.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/aria.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/find.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/hast-to-react.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/html.js +1 -1
- package/dist/node_modules/property-information/lib/normalize.js +6 -0
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/svg.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/util/case-insensitive-transform.js +1 -1
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/util/create.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/util/defined-info.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/util/info.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/util/merge.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/util/schema.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/util/types.js +2 -2
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/xlink.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/xml.js +1 -1
- package/dist/node_modules/{.bun/property-information@7.1.0/node_modules/property-information → property-information}/lib/xmlns.js +1 -1
- package/dist/node_modules/{.bun/react-error-boundary@6.1.1_3f10a4be4e334a9b/node_modules/react-error-boundary → react-error-boundary}/dist/react-error-boundary.js +1 -1
- package/dist/node_modules/{.bun/react-markdown@10.1.0_b2e33729a97476bf/node_modules/react-markdown → react-markdown}/lib/index.js +9 -9
- package/dist/node_modules/{.bun/remark-parse@11.0.0/node_modules/remark-parse → remark-parse}/lib/index.js +2 -2
- package/dist/node_modules/{.bun/remark-rehype@11.1.2/node_modules/remark-rehype → remark-rehype}/lib/index.js +2 -2
- package/dist/node_modules/space-separated-tokens/index.js +6 -0
- package/dist/node_modules/{.bun/style-to-js@1.1.21/node_modules/style-to-js → style-to-js}/cjs/index.js +3 -3
- package/dist/node_modules/{.bun/style-to-js@1.1.21/node_modules/style-to-js → style-to-js}/cjs/utilities.js +2 -2
- package/dist/node_modules/{.bun/style-to-object@1.0.14/node_modules/style-to-object → style-to-object}/cjs/index.js +3 -3
- package/dist/node_modules/{.bun/trim-lines@3.0.1/node_modules/trim-lines → trim-lines}/index.js +1 -1
- package/dist/node_modules/{.bun/trough@2.2.0/node_modules/trough → trough}/lib/index.js +1 -1
- package/dist/node_modules/{.bun/unified@11.0.5/node_modules/unified → unified}/lib/callable-instance.js +1 -1
- package/dist/node_modules/{.bun/unified@11.0.5/node_modules/unified → unified}/lib/index.js +8 -8
- package/dist/node_modules/{.bun/unist-util-is@6.0.1/node_modules/unist-util-is → unist-util-is}/lib/index.js +1 -1
- package/dist/node_modules/{.bun/unist-util-position@5.0.0/node_modules/unist-util-position → unist-util-position}/lib/index.js +1 -1
- package/dist/node_modules/{.bun/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position → unist-util-stringify-position}/lib/index.js +1 -1
- package/dist/node_modules/{.bun/unist-util-visit@5.1.0/node_modules/unist-util-visit → unist-util-visit}/lib/index.js +2 -2
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +6 -0
- package/dist/node_modules/{.bun/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents → unist-util-visit-parents}/lib/index.js +2 -2
- package/dist/node_modules/{.bun/vfile@6.0.3/node_modules/vfile → vfile}/lib/index.js +2 -2
- package/dist/node_modules/{.bun/vfile@6.0.3/node_modules/vfile → vfile}/lib/minpath.browser.js +1 -1
- package/dist/node_modules/{.bun/vfile@6.0.3/node_modules/vfile → vfile}/lib/minproc.browser.js +1 -1
- package/dist/node_modules/{.bun/vfile@6.0.3/node_modules/vfile → vfile}/lib/minurl.browser.js +1 -1
- package/dist/node_modules/{.bun/vfile@6.0.3/node_modules/vfile → vfile}/lib/minurl.shared.js +1 -1
- package/dist/node_modules/{.bun/vfile-message@4.0.3/node_modules/vfile-message → vfile-message}/lib/index.js +2 -2
- package/dist/node_modules/{.bun/web-vitals@4.2.4/node_modules/web-vitals → web-vitals}/dist/web-vitals.js +1 -1
- 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/MicrofrontendErrorBoundary.js +1 -1
- 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/client.js +83 -95
- package/dist/shared/graphql/fetch.d.ts +133 -0
- package/dist/shared/graphql/fetch.d.ts.map +1 -0
- package/dist/shared/graphql/fetch.js +107 -130
- 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/LegalPage.js +1 -1
- 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/AppShellProvider.js +181 -205
- 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/AuthBridgeClient.js +0 -6
- 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/ObservabilityProvider.js +1 -1
- 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/toursContext/useTourMutations.js +29 -29
- 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/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 +26 -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/quotaErrors.js +8 -11
- 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-tours.js +3 -3
- package/dist/shared-types.d.ts +1 -0
- package/dist/shared-utils.d.ts +2 -0
- package/dist/shared-utils.js +11 -12
- package/dist/shared.d.ts +2 -0
- package/dist/shared.js +95 -96
- 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/dist/utils/index.js +0 -1
- package/package.json +2 -2
- package/dist/node_modules/.bun/mdast-util-to-hast@13.2.1/node_modules/mdast-util-to-hast/lib/handlers/text.js +0 -11
- package/dist/node_modules/.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/blank-line.js +0 -18
- package/dist/node_modules/.bun/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/line-ending.js +0 -14
- package/dist/node_modules/.bun/micromark-factory-whitespace@2.0.1/node_modules/micromark-factory-whitespace/index.js +0 -12
- package/dist/node_modules/.bun/micromark-util-classify-character@2.0.1/node_modules/micromark-util-classify-character/index.js +0 -8
- package/dist/node_modules/.bun/micromark-util-decode-string@2.0.1/node_modules/micromark-util-decode-string/index.js +0 -17
- package/dist/node_modules/.bun/micromark@4.0.2/node_modules/micromark/lib/constructs.js +0 -80
- package/dist/node_modules/.bun/micromark@4.0.2/node_modules/micromark/lib/postprocess.js +0 -8
- package/dist/node_modules/.bun/property-information@7.1.0/node_modules/property-information/lib/normalize.js +0 -6
- package/dist/node_modules/.bun/property-information@7.1.0/node_modules/property-information/lib/util/case-sensitive-transform.js +0 -6
- package/dist/node_modules/.bun/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.js +0 -6
- package/dist/node_modules/.bun/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/color.js +0 -6
- package/dist/shared/utils/backendErrors.js +0 -123
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { ApolloClient, InMemoryCache } from '@apollo/client/core';
|
|
2
|
+
import { Gateway } from '../config';
|
|
3
|
+
/**
|
|
4
|
+
* Check if the network circuit breaker is currently open (backend unreachable).
|
|
5
|
+
* Useful for showing "backend offline" banners in the UI.
|
|
6
|
+
*/
|
|
7
|
+
export declare function isNetworkCircuitOpen(): boolean;
|
|
8
|
+
export type { Gateway } from '../config';
|
|
9
|
+
export interface CreateClientOptions {
|
|
10
|
+
/** Gateway type: 'workspace' or 'global' */
|
|
11
|
+
gateway: Gateway;
|
|
12
|
+
/** Optional base URL override (defaults to gateway's defaultBaseUrl) */
|
|
13
|
+
baseUrl?: string;
|
|
14
|
+
/** Authorization token or token getter function */
|
|
15
|
+
authToken?: string | (() => string | null);
|
|
16
|
+
/** Workspace token or getter for X-Workspace-Authorization header (workspace gateway only) */
|
|
17
|
+
workspaceToken?: string | (() => string | null);
|
|
18
|
+
/** Locale code or getter function for Accept-Language header */
|
|
19
|
+
locale?: string | (() => string | null);
|
|
20
|
+
/** Geography getter for x-geo-* headers (country, currency, timezone) */
|
|
21
|
+
geography?: () => {
|
|
22
|
+
country?: string;
|
|
23
|
+
currency?: string;
|
|
24
|
+
timezone?: string;
|
|
25
|
+
} | null;
|
|
26
|
+
/** Organization ID or getter function for x-org-id header (global gateway) */
|
|
27
|
+
organizationId?: string | (() => string | null);
|
|
28
|
+
/** Product ID or getter function for x-product-id header (for product-level isolation) */
|
|
29
|
+
productId?: string | (() => string | null);
|
|
30
|
+
/** Workspace ID or getter function for x-workspace-id header (workspace context) */
|
|
31
|
+
workspaceId?: string | (() => string | null);
|
|
32
|
+
/** Tenant ID or getter function for x-tenant-id header (tenant context) */
|
|
33
|
+
tenantId?: string | (() => string | null);
|
|
34
|
+
/** Optional cache instance for sharing between clients */
|
|
35
|
+
cache?: InMemoryCache;
|
|
36
|
+
/** Enable SSE subscriptions */
|
|
37
|
+
enableSubscriptions?: boolean;
|
|
38
|
+
/** SSE endpoint URL override (defaults to gateway's sse path) */
|
|
39
|
+
sseUrl?: string;
|
|
40
|
+
/** Callback when authentication error occurs */
|
|
41
|
+
onAuthError?: () => void;
|
|
42
|
+
/**
|
|
43
|
+
* Callback to attempt token refresh when a 401/UNAUTHENTICATED error occurs.
|
|
44
|
+
* If provided, the ErrorLink will call this before invoking onAuthError,
|
|
45
|
+
* and will retry the failed operation with the new token on success.
|
|
46
|
+
* Should return `true` if refresh succeeded (token updated in storage),
|
|
47
|
+
* or `false` if refresh failed (triggers onAuthError).
|
|
48
|
+
*/
|
|
49
|
+
onRefreshToken?: () => Promise<boolean>;
|
|
50
|
+
/** Callback when network error occurs */
|
|
51
|
+
onNetworkError?: (error: Error) => void;
|
|
52
|
+
/** Callback when network status changes (circuit breaker open/closed) */
|
|
53
|
+
onNetworkStatusChange?: (isOffline: boolean) => void;
|
|
54
|
+
/** Maximum retry attempts for failed requests (default: 3) */
|
|
55
|
+
maxRetryAttempts?: number;
|
|
56
|
+
/**
|
|
57
|
+
* Maximum number of operations to batch together (default: 10).
|
|
58
|
+
* Set to 1 to disable batching.
|
|
59
|
+
*/
|
|
60
|
+
batchMax?: number;
|
|
61
|
+
/**
|
|
62
|
+
* Time window (ms) to collect operations before sending a batch.
|
|
63
|
+
* Defaults to a longer page-load burst window and a shorter steady-state window.
|
|
64
|
+
*/
|
|
65
|
+
batchInterval?: number;
|
|
66
|
+
/** Enable debug logging */
|
|
67
|
+
debug?: boolean;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Creates an Apollo Client configured for a Burdenoff gateway
|
|
71
|
+
*
|
|
72
|
+
* @example Basic usage
|
|
73
|
+
* ```ts
|
|
74
|
+
* // Workspace gateway client
|
|
75
|
+
* const workspaceClient = createGraphQLClient({
|
|
76
|
+
* gateway: 'workspace',
|
|
77
|
+
* authToken: 'your-jwt-token',
|
|
78
|
+
* });
|
|
79
|
+
*
|
|
80
|
+
* // Global gateway client
|
|
81
|
+
* const globalClient = createGraphQLClient({
|
|
82
|
+
* gateway: 'global',
|
|
83
|
+
* authToken: () => localStorage.getItem('token'),
|
|
84
|
+
* });
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
87
|
+
* @example With subscriptions
|
|
88
|
+
* ```ts
|
|
89
|
+
* const client = createGraphQLClient({
|
|
90
|
+
* gateway: 'workspace',
|
|
91
|
+
* authToken: token,
|
|
92
|
+
* enableSubscriptions: true,
|
|
93
|
+
* });
|
|
94
|
+
* ```
|
|
95
|
+
*/
|
|
96
|
+
export declare function createGraphQLClient(options: CreateClientOptions): ApolloClient;
|
|
97
|
+
export interface AppClientConfig {
|
|
98
|
+
workspaceBaseUrl?: string;
|
|
99
|
+
globalBaseUrl?: string;
|
|
100
|
+
authToken?: string | (() => string | null);
|
|
101
|
+
enableSubscriptions?: boolean;
|
|
102
|
+
onAuthError?: () => void;
|
|
103
|
+
debug?: boolean;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Initialize app-level Apollo clients
|
|
107
|
+
* Call this once during app initialization
|
|
108
|
+
*/
|
|
109
|
+
export declare function initializeAppClients(config: AppClientConfig): void;
|
|
110
|
+
/**
|
|
111
|
+
* Get the workspace gateway Apollo client
|
|
112
|
+
*/
|
|
113
|
+
export declare function getWorkspaceClient(): ApolloClient;
|
|
114
|
+
/**
|
|
115
|
+
* Get the global gateway Apollo client
|
|
116
|
+
*/
|
|
117
|
+
export declare function getGlobalClient(): ApolloClient;
|
|
118
|
+
/**
|
|
119
|
+
* Reset all singleton clients (useful for logout or testing)
|
|
120
|
+
*/
|
|
121
|
+
export declare function resetAppClients(): void;
|
|
122
|
+
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/shared/graphql/client.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,151 +1,150 @@
|
|
|
1
1
|
import { GATEWAYS as e, getGatewayUrl as t } from "../../shared-config.js";
|
|
2
2
|
import { validateGatewayBaseUrl as n } from "./security.js";
|
|
3
3
|
import { isWorkspaceTokenValidForContext as r } from "./workspaceToken.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { ApolloClient as u, ApolloLink as d, InMemoryCache as f, Observable as p, from as m, split as ee } from "@apollo/client/core";
|
|
4
|
+
import { enqueueGraphQLFetch as i } from "./fetch.js";
|
|
5
|
+
import { SSELink as a } from "./links/sse-link.js";
|
|
6
|
+
import { onError as o } from "@apollo/client/link/error";
|
|
7
|
+
import { RetryLink as s } from "@apollo/client/link/retry";
|
|
8
|
+
import { setContext as c } from "@apollo/client/link/context";
|
|
9
|
+
import { ApolloClient as l, ApolloLink as u, InMemoryCache as d, Observable as f, from as p, split as ee } from "@apollo/client/core";
|
|
11
10
|
import { getMainDefinition as te } from "@apollo/client/utilities";
|
|
12
|
-
import { print as
|
|
11
|
+
import { print as m } from "graphql";
|
|
13
12
|
//#region src/shared/graphql/client.ts
|
|
14
|
-
var
|
|
13
|
+
var h = {
|
|
15
14
|
consecutiveFailures: 0,
|
|
16
15
|
lastFailureTime: 0,
|
|
17
16
|
isOpen: !1
|
|
18
|
-
},
|
|
17
|
+
}, g = 5, _ = 3e4;
|
|
19
18
|
function ne() {
|
|
20
|
-
return
|
|
19
|
+
return h.consecutiveFailures++, h.lastFailureTime = Date.now(), h.consecutiveFailures >= g && (h.isOpen = !0), h.isOpen;
|
|
21
20
|
}
|
|
22
|
-
function
|
|
23
|
-
|
|
21
|
+
function v() {
|
|
22
|
+
h.consecutiveFailures = 0, h.isOpen = !1;
|
|
24
23
|
}
|
|
25
|
-
function
|
|
26
|
-
return
|
|
24
|
+
function y() {
|
|
25
|
+
return h.isOpen ? Date.now() - h.lastFailureTime > _ ? (h.isOpen = !1, h.consecutiveFailures = 0, !1) : !0 : !1;
|
|
27
26
|
}
|
|
28
|
-
function
|
|
27
|
+
function b(e) {
|
|
29
28
|
if (!e || typeof e != "object") return null;
|
|
30
29
|
let t = e.workspaceId;
|
|
31
30
|
return typeof t == "string" && t.trim() ? t : null;
|
|
32
31
|
}
|
|
33
|
-
function
|
|
32
|
+
function x(e) {
|
|
34
33
|
let t = e.headers;
|
|
35
34
|
if (!t || typeof t != "object" || Array.isArray(t)) return {};
|
|
36
35
|
let n = {};
|
|
37
36
|
for (let [e, r] of Object.entries(t)) typeof r == "string" && (n[e] = r);
|
|
38
37
|
return n;
|
|
39
38
|
}
|
|
40
|
-
function
|
|
39
|
+
function S(e) {
|
|
41
40
|
let t = e.fetchOptions;
|
|
42
41
|
if (!t || typeof t != "object" || !("signal" in t)) return;
|
|
43
42
|
let n = t.signal;
|
|
44
43
|
return n instanceof AbortSignal ? n : void 0;
|
|
45
44
|
}
|
|
46
45
|
function re({ uri: e, batchMax: t, batchInterval: n }) {
|
|
47
|
-
return new
|
|
48
|
-
let o = r.getContext(), s = { query:
|
|
46
|
+
return new u((r) => new f((a) => {
|
|
47
|
+
let o = r.getContext(), s = { query: m(r.query) };
|
|
49
48
|
r.operationName && (s.operationName = r.operationName);
|
|
50
49
|
let c = r.variables ?? {}, l = r.extensions ?? {};
|
|
51
50
|
Object.keys(c).length > 0 && (s.variables = c), Object.keys(l).length > 0 && (s.extensions = l);
|
|
52
51
|
let u = !1;
|
|
53
|
-
return
|
|
52
|
+
return i(e, {
|
|
54
53
|
"content-type": "application/json",
|
|
55
|
-
...
|
|
56
|
-
}, s,
|
|
54
|
+
...x(o)
|
|
55
|
+
}, s, S(o), {
|
|
57
56
|
batchMax: t,
|
|
58
57
|
batchInterval: n
|
|
59
58
|
}).then((e) => {
|
|
60
|
-
u || (
|
|
59
|
+
u || (a.next(e), a.complete());
|
|
61
60
|
}).catch((e) => {
|
|
62
|
-
u ||
|
|
61
|
+
u || a.error(e);
|
|
63
62
|
}), () => {
|
|
64
63
|
u = !0;
|
|
65
64
|
};
|
|
66
65
|
}));
|
|
67
66
|
}
|
|
68
|
-
function
|
|
69
|
-
let { gateway:
|
|
70
|
-
uri: n(t(
|
|
71
|
-
batchMax:
|
|
72
|
-
batchInterval:
|
|
73
|
-
}), z =
|
|
74
|
-
let n = t.headers ?? {}, r = typeof
|
|
67
|
+
function C(i) {
|
|
68
|
+
let { gateway: m, baseUrl: g, authToken: _, workspaceToken: x, locale: S, geography: C, organizationId: w, productId: T, workspaceId: E, tenantId: D, cache: O, enableSubscriptions: k = !1, sseUrl: A, onAuthError: j, onRefreshToken: M, onNetworkError: N, onNetworkStatusChange: P, maxRetryAttempts: F = 3, batchMax: ie = 10, batchInterval: ae, debug: I = !1 } = i, L = e[m], R = re({
|
|
69
|
+
uri: n(t(g, m)),
|
|
70
|
+
batchMax: ie,
|
|
71
|
+
batchInterval: ae
|
|
72
|
+
}), z = c((e, t) => {
|
|
73
|
+
let n = t.headers ?? {}, r = typeof _ == "function" ? _() : _;
|
|
75
74
|
return { headers: {
|
|
76
75
|
...n,
|
|
77
76
|
...r ? { authorization: `Bearer ${r}` } : {}
|
|
78
77
|
} };
|
|
79
|
-
}), B =
|
|
80
|
-
let n = t.headers ?? {}, r = typeof
|
|
78
|
+
}), B = c((e, t) => {
|
|
79
|
+
let n = t.headers ?? {}, r = typeof S == "function" ? S() : S;
|
|
81
80
|
return { headers: {
|
|
82
81
|
...n,
|
|
83
82
|
...r ? { "accept-language": r } : {}
|
|
84
83
|
} };
|
|
85
|
-
}), V =
|
|
86
|
-
let n = t.headers ?? {}, r = typeof
|
|
84
|
+
}), V = c((e, t) => {
|
|
85
|
+
let n = t.headers ?? {}, r = typeof C == "function" ? C() : null;
|
|
87
86
|
return { headers: {
|
|
88
87
|
...n,
|
|
89
88
|
...r?.country ? { "x-geo-country": r.country } : {},
|
|
90
89
|
...r?.currency ? { "x-geo-currency": r.currency } : {},
|
|
91
90
|
...r?.timezone ? { "x-geo-timezone": r.timezone } : {}
|
|
92
91
|
} };
|
|
93
|
-
}), H =
|
|
94
|
-
let n = t.headers ?? {}, r = typeof
|
|
92
|
+
}), H = c((e, t) => {
|
|
93
|
+
let n = t.headers ?? {}, r = typeof w == "function" ? w() : w;
|
|
95
94
|
return { headers: {
|
|
96
95
|
...n,
|
|
97
96
|
...r ? { "x-org-id": r } : {}
|
|
98
97
|
} };
|
|
99
|
-
}), U =
|
|
100
|
-
let n = t.headers ?? {}, r = typeof
|
|
98
|
+
}), U = c((e, t) => {
|
|
99
|
+
let n = t.headers ?? {}, r = typeof T == "function" ? T() : T;
|
|
101
100
|
return { headers: {
|
|
102
101
|
...n,
|
|
103
102
|
...r ? { "x-product-id": r } : {}
|
|
104
103
|
} };
|
|
105
|
-
}), W =
|
|
106
|
-
let n = t.headers ?? {}, r = (typeof
|
|
104
|
+
}), W = c((e, t) => {
|
|
105
|
+
let n = t.headers ?? {}, r = (typeof E == "function" ? E() : E) || b(e.variables);
|
|
107
106
|
return { headers: {
|
|
108
107
|
...n,
|
|
109
108
|
...r ? { "x-workspace-id": r } : {}
|
|
110
109
|
} };
|
|
111
|
-
}), G =
|
|
112
|
-
let n = t.headers ?? {}, r = typeof
|
|
110
|
+
}), G = c((e, t) => {
|
|
111
|
+
let n = t.headers ?? {}, r = typeof D == "function" ? D() : D;
|
|
113
112
|
return { headers: {
|
|
114
113
|
...n,
|
|
115
114
|
...r ? { "x-tenant-id": r } : {}
|
|
116
115
|
} };
|
|
117
|
-
}), K =
|
|
118
|
-
let n = t.headers ?? {}, i = typeof
|
|
116
|
+
}), K = c((e, t) => {
|
|
117
|
+
let n = t.headers ?? {}, i = typeof x == "function" ? x() : x, a = r(i, { workspaceId: typeof E == "function" ? E() : E }) ? i : null;
|
|
119
118
|
return { headers: {
|
|
120
119
|
...n,
|
|
121
120
|
...a ? { "x-workspace-authorization": `Bearer ${a}` } : {}
|
|
122
121
|
} };
|
|
123
|
-
}), q = new
|
|
122
|
+
}), q = new s({
|
|
124
123
|
delay: {
|
|
125
124
|
initial: 1e3,
|
|
126
125
|
max: 8e3,
|
|
127
126
|
jitter: !0
|
|
128
127
|
},
|
|
129
128
|
attempts: {
|
|
130
|
-
max:
|
|
129
|
+
max: F,
|
|
131
130
|
retryIf: (e) => {
|
|
132
|
-
if (
|
|
131
|
+
if (y() || !e) return !1;
|
|
133
132
|
let t = e.message?.toLowerCase?.() ?? "";
|
|
134
133
|
return !(t.includes("401") || t.includes("403") || t.includes("unauthorized") || t.includes("forbidden") || t.includes("unauthenticated"));
|
|
135
134
|
}
|
|
136
135
|
}
|
|
137
|
-
}), J = new
|
|
138
|
-
if (
|
|
136
|
+
}), J = new u((e, t) => {
|
|
137
|
+
if (y()) {
|
|
139
138
|
I && console.warn("[CircuitBreaker] Circuit is open, blocking request:", e.operationName);
|
|
140
139
|
let t = /* @__PURE__ */ Error("Network circuit breaker is open — backend appears unreachable. Retrying in 30 seconds.");
|
|
141
|
-
return
|
|
140
|
+
return N?.(t), new f((e) => {
|
|
142
141
|
e.error(t);
|
|
143
142
|
});
|
|
144
143
|
}
|
|
145
|
-
return new
|
|
144
|
+
return new f((n) => {
|
|
146
145
|
let r = t(e).subscribe({
|
|
147
146
|
next: (e) => {
|
|
148
|
-
|
|
147
|
+
v(), h.consecutiveFailures === 0 && P?.(!1), n.next(e);
|
|
149
148
|
},
|
|
150
149
|
error: (e) => {
|
|
151
150
|
n.error(e);
|
|
@@ -162,54 +161,43 @@ function w(a) {
|
|
|
162
161
|
function Z(e) {
|
|
163
162
|
X.forEach(({ resolve: t }) => t(e)), X = [];
|
|
164
163
|
}
|
|
165
|
-
let Q =
|
|
164
|
+
let Q = o(({ error: e, operation: t, forward: n }) => {
|
|
166
165
|
let r = e.errors;
|
|
167
166
|
if (r) {
|
|
168
|
-
let
|
|
167
|
+
let i = r.some((e) => e.extensions?.code === "UNAUTHENTICATED" || e.message.includes("Unauthorized") || e.message.includes("Unauthenticated"));
|
|
169
168
|
for (let e of r) I && console.error("[GraphQL Error]:", e.message);
|
|
170
|
-
|
|
171
|
-
let o = new Set(["STORAGE_QUOTA_EXCEEDED", "RESOURCE_CAP_EXCEEDED"]);
|
|
169
|
+
let a = new Set(["STORAGE_QUOTA_EXCEEDED", "RESOURCE_CAP_EXCEEDED"]);
|
|
172
170
|
for (let e of r) {
|
|
173
171
|
let t = e.extensions?.code;
|
|
174
|
-
if (t &&
|
|
172
|
+
if (t && a.has(t) && typeof window < "u") {
|
|
175
173
|
window.dispatchEvent(new CustomEvent("burdenoff:upgrade-prompt", { detail: { extensions: e.extensions } }));
|
|
176
174
|
break;
|
|
177
175
|
}
|
|
178
176
|
}
|
|
179
|
-
if (
|
|
177
|
+
if (i && M) return new f((r) => {
|
|
180
178
|
(async () => {
|
|
181
179
|
if (Y) if (await new Promise((e) => {
|
|
182
180
|
X.push({ resolve: e });
|
|
183
181
|
})) {
|
|
184
182
|
let e = n(t).subscribe(r);
|
|
185
183
|
return () => e.unsubscribe();
|
|
186
|
-
} else return
|
|
184
|
+
} else return j?.(), r.error(e), () => {};
|
|
187
185
|
Y = !0;
|
|
188
186
|
try {
|
|
189
|
-
let i = await
|
|
187
|
+
let i = await M();
|
|
190
188
|
if (Y = !1, i) {
|
|
191
189
|
Z(!0);
|
|
192
190
|
let e = n(t).subscribe(r);
|
|
193
191
|
return () => e.unsubscribe();
|
|
194
|
-
} else return Z(!1),
|
|
192
|
+
} else return Z(!1), j?.(), r.error(e), () => {};
|
|
195
193
|
} catch {
|
|
196
|
-
return Y = !1, Z(!1),
|
|
194
|
+
return Y = !1, Z(!1), j?.(), r.error(e), () => {};
|
|
197
195
|
}
|
|
198
196
|
})();
|
|
199
197
|
});
|
|
200
|
-
|
|
201
|
-
} else
|
|
202
|
-
|
|
203
|
-
fallbackMessage: "We could not reach the server. Please check your connection and try again."
|
|
204
|
-
});
|
|
205
|
-
else {
|
|
206
|
-
let n = Error(String(e));
|
|
207
|
-
P?.(n), i(n, {
|
|
208
|
-
operationName: t.operationName,
|
|
209
|
-
fallbackMessage: "We could not reach the server. Please check your connection and try again."
|
|
210
|
-
});
|
|
211
|
-
}
|
|
212
|
-
}), $ = m([
|
|
198
|
+
i && j?.(), v();
|
|
199
|
+
} else I && console.error("[Network Error]:", e), ne() && P?.(!0), e instanceof Error ? N?.(e) : N?.(Error(String(e)));
|
|
200
|
+
}), $ = p([
|
|
213
201
|
q,
|
|
214
202
|
J,
|
|
215
203
|
Q,
|
|
@@ -223,9 +211,9 @@ function w(a) {
|
|
|
223
211
|
V,
|
|
224
212
|
R
|
|
225
213
|
]);
|
|
226
|
-
if (
|
|
227
|
-
let e =
|
|
228
|
-
e && ($ =
|
|
214
|
+
if (k) {
|
|
215
|
+
let e = A || n(g || L.defaultBaseUrl) + L.sse;
|
|
216
|
+
e && ($ = p([
|
|
229
217
|
q,
|
|
230
218
|
J,
|
|
231
219
|
Q,
|
|
@@ -240,14 +228,14 @@ function w(a) {
|
|
|
240
228
|
ee(({ query: e }) => {
|
|
241
229
|
let t = te(e);
|
|
242
230
|
return t.kind === "OperationDefinition" && t.operation === "subscription";
|
|
243
|
-
}, new
|
|
231
|
+
}, new a({
|
|
244
232
|
url: e,
|
|
245
233
|
headers: {},
|
|
246
234
|
debug: I
|
|
247
235
|
}), R)
|
|
248
236
|
]));
|
|
249
237
|
}
|
|
250
|
-
let
|
|
238
|
+
let oe = new d({ typePolicies: {
|
|
251
239
|
File: { keyFields: ["id"] },
|
|
252
240
|
Folder: { keyFields: ["id"] },
|
|
253
241
|
Tag: { keyFields: ["id"] },
|
|
@@ -279,9 +267,9 @@ function w(a) {
|
|
|
279
267
|
Session: { keyFields: ["id"] },
|
|
280
268
|
DeveloperOrganization: { keyFields: ["id"] }
|
|
281
269
|
} });
|
|
282
|
-
return new
|
|
270
|
+
return new l({
|
|
283
271
|
link: $,
|
|
284
|
-
cache:
|
|
272
|
+
cache: O ?? oe,
|
|
285
273
|
defaultOptions: {
|
|
286
274
|
watchQuery: {
|
|
287
275
|
fetchPolicy: "cache-and-network",
|
|
@@ -295,17 +283,17 @@ function w(a) {
|
|
|
295
283
|
}
|
|
296
284
|
});
|
|
297
285
|
}
|
|
298
|
-
var
|
|
299
|
-
function
|
|
286
|
+
var w = null, T = null;
|
|
287
|
+
function E(e) {
|
|
300
288
|
let { workspaceBaseUrl: t, globalBaseUrl: n, authToken: r, enableSubscriptions: i = !1, onAuthError: a, debug: o = !1 } = e;
|
|
301
|
-
|
|
289
|
+
w = C({
|
|
302
290
|
gateway: "workspace",
|
|
303
291
|
baseUrl: t,
|
|
304
292
|
authToken: r,
|
|
305
293
|
enableSubscriptions: i,
|
|
306
294
|
onAuthError: a,
|
|
307
295
|
debug: o
|
|
308
|
-
}),
|
|
296
|
+
}), T = C({
|
|
309
297
|
gateway: "global",
|
|
310
298
|
baseUrl: n,
|
|
311
299
|
authToken: r,
|
|
@@ -313,16 +301,16 @@ function D(e) {
|
|
|
313
301
|
debug: o
|
|
314
302
|
});
|
|
315
303
|
}
|
|
304
|
+
function D() {
|
|
305
|
+
if (!w) throw Error("Workspace client not initialized. Call initializeAppClients first.");
|
|
306
|
+
return w;
|
|
307
|
+
}
|
|
316
308
|
function O() {
|
|
317
|
-
if (!T) throw Error("
|
|
309
|
+
if (!T) throw Error("Global client not initialized. Call initializeAppClients first.");
|
|
318
310
|
return T;
|
|
319
311
|
}
|
|
320
312
|
function k() {
|
|
321
|
-
|
|
322
|
-
return E;
|
|
323
|
-
}
|
|
324
|
-
function A() {
|
|
325
|
-
T &&= (T.clearStore(), null), E &&= (E.clearStore(), null);
|
|
313
|
+
w &&= (w.clearStore(), null), T &&= (T.clearStore(), null);
|
|
326
314
|
}
|
|
327
315
|
//#endregion
|
|
328
|
-
export {
|
|
316
|
+
export { C as createGraphQLClient, O as getGlobalClient, D as getWorkspaceClient, E as initializeAppClients, k as resetAppClients };
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { Gateway } from '../config';
|
|
2
|
+
export interface GraphQLFetchOptions {
|
|
3
|
+
/** Gateway to target */
|
|
4
|
+
gateway: Gateway;
|
|
5
|
+
/** GraphQL query / mutation string */
|
|
6
|
+
query: string;
|
|
7
|
+
/** Variables for the operation */
|
|
8
|
+
variables?: Record<string, unknown>;
|
|
9
|
+
/** Operation name (optional, helps with debugging) */
|
|
10
|
+
operationName?: string;
|
|
11
|
+
/** Override auth token (if not provided, reads from profile storage) */
|
|
12
|
+
authToken?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Include workspace token in X-Workspace-Authorization header.
|
|
15
|
+
* For `gateway: "workspace"`, this defaults to `true` (auto-attach) unless explicitly set to `false`.
|
|
16
|
+
* Pass `true` to auto-read from profile storage, or pass the token string directly.
|
|
17
|
+
*/
|
|
18
|
+
workspaceToken?: boolean | string;
|
|
19
|
+
/**
|
|
20
|
+
* Include workspace ID in x-workspace-id header.
|
|
21
|
+
* Pass `true` to auto-read from profile context storage, or pass the workspace ID string directly.
|
|
22
|
+
* This is the "context workspace" - the user's current working context.
|
|
23
|
+
* For "target workspace" (e.g., viewing a specific workspace), use GraphQL arguments instead.
|
|
24
|
+
*/
|
|
25
|
+
workspaceId?: boolean | string;
|
|
26
|
+
/**
|
|
27
|
+
* Include organization ID in x-org-id header.
|
|
28
|
+
* Pass `true` to auto-read from profile context storage, or pass the org ID string directly.
|
|
29
|
+
*/
|
|
30
|
+
organizationId?: boolean | string;
|
|
31
|
+
/**
|
|
32
|
+
* Include tenant ID in x-tenant-id header.
|
|
33
|
+
* Pass `true` to auto-read from profile context storage, or pass the tenant ID string directly.
|
|
34
|
+
*/
|
|
35
|
+
tenantId?: boolean | string;
|
|
36
|
+
/** Override locale (if not provided, reads from profile storage) */
|
|
37
|
+
locale?: string;
|
|
38
|
+
/** Override base URL (if not provided, reads from GATEWAYS config) */
|
|
39
|
+
baseUrl?: string;
|
|
40
|
+
/** Additional headers to merge (overrides auto-detected values) */
|
|
41
|
+
extraHeaders?: Record<string, string>;
|
|
42
|
+
/** AbortSignal for cancellation */
|
|
43
|
+
signal?: AbortSignal;
|
|
44
|
+
}
|
|
45
|
+
export interface GraphQLResponse<T = unknown> {
|
|
46
|
+
data: T | null;
|
|
47
|
+
errors?: Array<{
|
|
48
|
+
message: string;
|
|
49
|
+
locations?: Array<{
|
|
50
|
+
line: number;
|
|
51
|
+
column: number;
|
|
52
|
+
}>;
|
|
53
|
+
path?: Array<string | number>;
|
|
54
|
+
extensions?: Record<string, unknown>;
|
|
55
|
+
}>;
|
|
56
|
+
}
|
|
57
|
+
/** Read the active profile's access token from profile-scoped storage */
|
|
58
|
+
export declare function getStoredAuthToken(): string | null;
|
|
59
|
+
/** Read the active profile's workspace token from profile-scoped storage */
|
|
60
|
+
export declare function getStoredWorkspaceToken(): string | null;
|
|
61
|
+
/** Read the active profile's geography from profile-scoped storage */
|
|
62
|
+
export declare function getStoredGeography(): {
|
|
63
|
+
country?: string;
|
|
64
|
+
currency?: string;
|
|
65
|
+
timezone?: string;
|
|
66
|
+
} | null;
|
|
67
|
+
/** Read the active profile's locale from profile-scoped storage */
|
|
68
|
+
export declare function getStoredLocale(): string;
|
|
69
|
+
/** Read the active profile's context (workspaceId, organizationId, tenantId, projectId) from profile-scoped storage */
|
|
70
|
+
export declare function getStoredContext(): {
|
|
71
|
+
workspaceId?: string;
|
|
72
|
+
organizationId?: string;
|
|
73
|
+
tenantId?: string;
|
|
74
|
+
projectId?: string;
|
|
75
|
+
} | null;
|
|
76
|
+
/** Read the active profile's workspace ID.
|
|
77
|
+
* Reads from profile-scoped context (bf-p-{profileId}-context) which
|
|
78
|
+
* ActiveContextProvider now writes to on every setWorkspace() call and on init.
|
|
79
|
+
* Falls back to the ?workspace= URL param for page loads where the context
|
|
80
|
+
* hasn't been hydrated yet (mirrors MultiGatewayProvider.getWorkspaceId). */
|
|
81
|
+
export declare function getStoredWorkspaceId(): string | null;
|
|
82
|
+
/** Read the active profile's organization ID from profile context storage */
|
|
83
|
+
export declare function getStoredOrganizationId(): string | null;
|
|
84
|
+
/** Read the active profile's tenant ID from profile context storage */
|
|
85
|
+
export declare function getStoredTenantId(): string | null;
|
|
86
|
+
/** Resolve full gateway GraphQL URL */
|
|
87
|
+
export declare function resolveGatewayUrl(gateway: Gateway, baseUrl?: string): string;
|
|
88
|
+
export interface EnqueueGraphQLFetchOptions {
|
|
89
|
+
batchMax?: number;
|
|
90
|
+
batchInterval?: number;
|
|
91
|
+
}
|
|
92
|
+
export declare function enqueueGraphQLFetch(url: string, headers: Record<string, string>, body: Record<string, unknown>, signal?: AbortSignal, options?: EnqueueGraphQLFetchOptions): Promise<unknown>;
|
|
93
|
+
/**
|
|
94
|
+
* Make a GraphQL request with automatic auth + locale headers.
|
|
95
|
+
*
|
|
96
|
+
* @example Basic query (global gateway)
|
|
97
|
+
* ```ts
|
|
98
|
+
* const result = await graphqlFetch<{ myWorkspaces: Workspace[] }>({
|
|
99
|
+
* gateway: 'global',
|
|
100
|
+
* query: `query { myWorkspaces { id name } }`,
|
|
101
|
+
* });
|
|
102
|
+
* ```
|
|
103
|
+
*
|
|
104
|
+
* @example Workspace query with context headers (auto-read from storage)
|
|
105
|
+
* ```ts
|
|
106
|
+
* const result = await graphqlFetch<{ workspaceResources: Resource[] }>({
|
|
107
|
+
* gateway: 'workspace',
|
|
108
|
+
* query: WORKSPACE_RESOURCES_QUERY,
|
|
109
|
+
* workspaceId: true, // auto-reads from profile context storage -> x-workspace-id header
|
|
110
|
+
* });
|
|
111
|
+
* ```
|
|
112
|
+
*
|
|
113
|
+
* @example Workspace query with explicit workspace ID
|
|
114
|
+
* ```ts
|
|
115
|
+
* const result = await graphqlFetch<{ workspaceMembers: MemberList }>({
|
|
116
|
+
* gateway: 'workspace',
|
|
117
|
+
* query: WORKSPACE_MEMBERS_QUERY,
|
|
118
|
+
* variables: { workspaceId: targetWorkspaceId }, // Target workspace in arguments
|
|
119
|
+
* workspaceId: contextWorkspaceId, // Context workspace in header (for RBAC)
|
|
120
|
+
* });
|
|
121
|
+
* ```
|
|
122
|
+
*
|
|
123
|
+
* @example With explicit tokens (e.g. right after login, before storage is updated)
|
|
124
|
+
* ```ts
|
|
125
|
+
* const result = await graphqlFetch({
|
|
126
|
+
* gateway: 'global',
|
|
127
|
+
* query: MY_WORKSPACES_QUERY,
|
|
128
|
+
* authToken: freshAccessToken,
|
|
129
|
+
* });
|
|
130
|
+
* ```
|
|
131
|
+
*/
|
|
132
|
+
export declare function graphqlFetch<T = unknown>(options: GraphQLFetchOptions): Promise<GraphQLResponse<T>>;
|
|
133
|
+
//# sourceMappingURL=fetch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../src/shared/graphql/fetch.ts"],"names":[],"mappings":"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"}
|