@burdenoff/fe-libs 2026.510.126
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/README.md +65 -0
- package/dist/_virtual/_rolldown/runtime.js +20 -0
- package/dist/button/Button.d.ts +12 -0
- package/dist/button/Button.d.ts.map +1 -0
- package/dist/button/Button.js +39 -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/button.js +2 -0
- package/dist/chrome/AccountSwitcher.d.ts +51 -0
- package/dist/chrome/AccountSwitcher.d.ts.map +1 -0
- package/dist/chrome/AccountSwitcher.js +221 -0
- package/dist/chrome/AppShellLayout.d.ts +67 -0
- package/dist/chrome/AppShellLayout.d.ts.map +1 -0
- package/dist/chrome/AppShellLayout.js +32 -0
- package/dist/chrome/AutoBreadcrumbs.d.ts +22 -0
- package/dist/chrome/AutoBreadcrumbs.d.ts.map +1 -0
- package/dist/chrome/AutoBreadcrumbs.js +84 -0
- package/dist/chrome/Breadcrumb.d.ts +47 -0
- package/dist/chrome/Breadcrumb.d.ts.map +1 -0
- package/dist/chrome/Breadcrumbs.d.ts +69 -0
- package/dist/chrome/Breadcrumbs.d.ts.map +1 -0
- package/dist/chrome/Breadcrumbs.js +78 -0
- package/dist/chrome/CommandPalette.d.ts +64 -0
- package/dist/chrome/CommandPalette.d.ts.map +1 -0
- package/dist/chrome/CommandPalette.js +189 -0
- package/dist/chrome/ContextSwitcher.d.ts +48 -0
- package/dist/chrome/ContextSwitcher.d.ts.map +1 -0
- package/dist/chrome/ContextSwitcher.js +393 -0
- package/dist/chrome/DynamicFooter.d.ts +21 -0
- package/dist/chrome/DynamicFooter.d.ts.map +1 -0
- package/dist/chrome/DynamicFooter.js +142 -0
- package/dist/chrome/Footer.d.ts +128 -0
- package/dist/chrome/Footer.d.ts.map +1 -0
- package/dist/chrome/Footer.js +211 -0
- package/dist/chrome/FooterBar.d.ts +79 -0
- package/dist/chrome/FooterBar.d.ts.map +1 -0
- package/dist/chrome/FooterBar.js +84 -0
- package/dist/chrome/GeographySwitcher.d.ts +22 -0
- package/dist/chrome/GeographySwitcher.d.ts.map +1 -0
- package/dist/chrome/GeographySwitcher.js +162 -0
- package/dist/chrome/GlobalSearch.d.ts +49 -0
- package/dist/chrome/GlobalSearch.d.ts.map +1 -0
- package/dist/chrome/GlobalSearch.js +489 -0
- package/dist/chrome/HeaderBar.d.ts +108 -0
- package/dist/chrome/HeaderBar.d.ts.map +1 -0
- package/dist/chrome/HeaderBar.js +141 -0
- package/dist/chrome/LanguagePickerSheet.d.ts +22 -0
- package/dist/chrome/LanguagePickerSheet.d.ts.map +1 -0
- package/dist/chrome/LanguagePickerSheet.js +57 -0
- package/dist/chrome/LanguageSwitcher.d.ts +23 -0
- package/dist/chrome/LanguageSwitcher.d.ts.map +1 -0
- package/dist/chrome/LanguageSwitcher.js +94 -0
- package/dist/chrome/NavLink.d.ts +64 -0
- package/dist/chrome/NavLink.d.ts.map +1 -0
- package/dist/chrome/NavLink.js +46 -0
- package/dist/chrome/NotificationCenter.d.ts +16 -0
- package/dist/chrome/NotificationCenter.d.ts.map +1 -0
- package/dist/chrome/NotificationCenter.js +697 -0
- package/dist/chrome/PanelContainer.d.ts +8 -0
- package/dist/chrome/PanelContainer.d.ts.map +1 -0
- package/dist/chrome/PanelContainer.js +83 -0
- package/dist/chrome/PanelTabs.d.ts +19 -0
- package/dist/chrome/PanelTabs.d.ts.map +1 -0
- package/dist/chrome/PanelTabs.js +41 -0
- package/dist/chrome/PluginContextMenuTarget.d.ts +8 -0
- package/dist/chrome/PluginContextMenuTarget.d.ts.map +1 -0
- package/dist/chrome/PluginContextMenuTarget.js +71 -0
- package/dist/chrome/PluginFooterStrip.d.ts +3 -0
- package/dist/chrome/PluginFooterStrip.d.ts.map +1 -0
- package/dist/chrome/PluginFooterStrip.js +55 -0
- package/dist/chrome/PluginRoutes.d.ts +9 -0
- package/dist/chrome/PluginRoutes.d.ts.map +1 -0
- package/dist/chrome/PluginRoutes.js +19 -0
- package/dist/chrome/PluginSettingsPage.d.ts +3 -0
- package/dist/chrome/PluginSettingsPage.d.ts.map +1 -0
- package/dist/chrome/PluginSettingsPage.js +57 -0
- package/dist/chrome/PluginToolbar.d.ts +9 -0
- package/dist/chrome/PluginToolbar.d.ts.map +1 -0
- package/dist/chrome/PluginToolbar.js +40 -0
- package/dist/chrome/PluginWidgetGrid.d.ts +7 -0
- package/dist/chrome/PluginWidgetGrid.d.ts.map +1 -0
- package/dist/chrome/PluginWidgetGrid.js +37 -0
- package/dist/chrome/ProductPickerSheet.d.ts +24 -0
- package/dist/chrome/ProductPickerSheet.d.ts.map +1 -0
- package/dist/chrome/ProductPickerSheet.js +75 -0
- package/dist/chrome/ProductSideNav.d.ts +22 -0
- package/dist/chrome/ProductSideNav.d.ts.map +1 -0
- package/dist/chrome/ProductSideNav.js +51 -0
- package/dist/chrome/ProductSwitcher.d.ts +29 -0
- package/dist/chrome/ProductSwitcher.d.ts.map +1 -0
- package/dist/chrome/ProductSwitcher.js +86 -0
- package/dist/chrome/ProfileSwitcher.d.ts +49 -0
- package/dist/chrome/ProfileSwitcher.d.ts.map +1 -0
- package/dist/chrome/ProfileSwitcher.js +226 -0
- package/dist/chrome/ShortcutHelpDialog.d.ts +33 -0
- package/dist/chrome/ShortcutHelpDialog.d.ts.map +1 -0
- package/dist/chrome/ShortcutHelpDialog.js +122 -0
- package/dist/chrome/SideNavigation.d.ts +85 -0
- package/dist/chrome/SideNavigation.d.ts.map +1 -0
- package/dist/chrome/SideNavigation.js +320 -0
- package/dist/chrome/Sidebar.d.ts +108 -0
- package/dist/chrome/Sidebar.d.ts.map +1 -0
- package/dist/chrome/Sidebar.js +104 -0
- package/dist/chrome/StatusBar.d.ts +3 -0
- package/dist/chrome/StatusBar.d.ts.map +1 -0
- package/dist/chrome/StatusBar.js +55 -0
- package/dist/chrome/Tabs.d.ts +74 -0
- package/dist/chrome/Tabs.d.ts.map +1 -0
- package/dist/chrome/Tabs.js +55 -0
- package/dist/chrome/index.d.ts +108 -0
- package/dist/chrome/index.d.ts.map +1 -0
- package/dist/chrome.d.ts +2 -0
- package/dist/chrome.js +34 -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 +60 -0
- package/dist/form/Checkbox.d.ts.map +1 -0
- package/dist/form/Checkbox.js +18 -0
- package/dist/form/Form.d.ts +114 -0
- package/dist/form/Form.d.ts.map +1 -0
- package/dist/form/Form.js +32 -0
- package/dist/form/FormDescription.d.ts +33 -0
- package/dist/form/FormDescription.d.ts.map +1 -0
- package/dist/form/FormDescription.js +17 -0
- package/dist/form/FormField.d.ts +96 -0
- package/dist/form/FormField.d.ts.map +1 -0
- package/dist/form/FormField.js +50 -0
- package/dist/form/FormLabel.d.ts +41 -0
- package/dist/form/FormLabel.d.ts.map +1 -0
- package/dist/form/FormLabel.js +24 -0
- package/dist/form/FormMessage.d.ts +35 -0
- package/dist/form/FormMessage.d.ts.map +1 -0
- package/dist/form/FormMessage.js +20 -0
- package/dist/form/Input.d.ts +43 -0
- package/dist/form/Input.d.ts.map +1 -0
- package/dist/form/Input.js +13 -0
- package/dist/form/Radio.d.ts +99 -0
- package/dist/form/Radio.d.ts.map +1 -0
- package/dist/form/Radio.js +24 -0
- package/dist/form/Select.d.ts +101 -0
- package/dist/form/Select.d.ts.map +1 -0
- package/dist/form/Select.js +69 -0
- package/dist/form/Textarea.d.ts +50 -0
- package/dist/form/Textarea.d.ts.map +1 -0
- package/dist/form/Textarea.js +12 -0
- package/dist/form/index.d.ts +24 -0
- package/dist/form/index.d.ts.map +1 -0
- package/dist/form.d.ts +2 -0
- package/dist/form.js +12 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +8 -0
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +51 -0
- package/dist/node_modules/@ungap/structured-clone/esm/index.js +6 -0
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +91 -0
- package/dist/node_modules/bail/index.js +6 -0
- package/dist/node_modules/comma-separated-tokens/index.js +7 -0
- package/dist/node_modules/decode-named-character-reference/index.dom.js +10 -0
- package/dist/node_modules/devlop/lib/default.js +5 -0
- package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +7 -0
- package/dist/node_modules/extend/index.js +40 -0
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +253 -0
- package/dist/node_modules/hast-util-whitespace/lib/index.js +10 -0
- package/dist/node_modules/html-url-attributes/lib/index.js +36 -0
- package/dist/node_modules/inline-style-parser/cjs/index.js +90 -0
- package/dist/node_modules/is-plain-obj/index.js +8 -0
- package/dist/node_modules/mdast-util-from-markdown/lib/index.js +557 -0
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js +103 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +15 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +22 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +30 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +21 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +15 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +56 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +17 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +18 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +15 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +59 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +20 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +24 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +35 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +11 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/index.js +19 -0
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js +20 -0
- package/dist/node_modules/mdast-util-to-hast/lib/state.js +108 -0
- package/dist/node_modules/mdast-util-to-string/lib/index.js +24 -0
- package/dist/node_modules/micromark/lib/constructs.js +80 -0
- package/dist/node_modules/micromark/lib/create-tokenizer.js +177 -0
- package/dist/node_modules/micromark/lib/initialize/content.js +34 -0
- package/dist/node_modules/micromark/lib/initialize/document.js +102 -0
- package/dist/node_modules/micromark/lib/initialize/flow.js +25 -0
- package/dist/node_modules/micromark/lib/initialize/text.js +86 -0
- package/dist/node_modules/micromark/lib/parse.js +29 -0
- package/dist/node_modules/micromark/lib/postprocess.js +8 -0
- package/dist/node_modules/micromark/lib/preprocess.js +32 -0
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js +114 -0
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +43 -0
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +18 -0
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +38 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +17 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +29 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +89 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +43 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +43 -0
- package/dist/node_modules/micromark-core-commonmark/lib/content.js +47 -0
- package/dist/node_modules/micromark-core-commonmark/lib/definition.js +60 -0
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +17 -0
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +67 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +141 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +100 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +158 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +23 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +20 -0
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +14 -0
- package/dist/node_modules/micromark-core-commonmark/lib/list.js +78 -0
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +59 -0
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +25 -0
- package/dist/node_modules/micromark-factory-destination/index.js +26 -0
- package/dist/node_modules/micromark-factory-label/index.js +20 -0
- package/dist/node_modules/micromark-factory-space/index.js +14 -0
- package/dist/node_modules/micromark-factory-title/index.js +24 -0
- package/dist/node_modules/micromark-factory-whitespace/index.js +12 -0
- package/dist/node_modules/micromark-util-character/index.js +24 -0
- package/dist/node_modules/micromark-util-chunked/index.js +11 -0
- package/dist/node_modules/micromark-util-classify-character/index.js +8 -0
- package/dist/node_modules/micromark-util-combine-extensions/index.js +26 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +7 -0
- package/dist/node_modules/micromark-util-decode-string/index.js +17 -0
- package/dist/node_modules/micromark-util-html-tag-name/index.js +9 -0
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +6 -0
- package/dist/node_modules/micromark-util-resolve-all/index.js +11 -0
- package/dist/node_modules/micromark-util-sanitize-uri/index.js +18 -0
- package/dist/node_modules/micromark-util-subtokenize/index.js +35 -0
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +57 -0
- package/dist/node_modules/property-information/index.js +26 -0
- package/dist/node_modules/property-information/lib/aria.js +61 -0
- package/dist/node_modules/property-information/lib/find.js +31 -0
- package/dist/node_modules/property-information/lib/hast-to-react.js +22 -0
- package/dist/node_modules/property-information/lib/html.js +316 -0
- package/dist/node_modules/property-information/lib/normalize.js +6 -0
- package/dist/node_modules/property-information/lib/svg.js +562 -0
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +7 -0
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
- package/dist/node_modules/property-information/lib/util/create.js +14 -0
- package/dist/node_modules/property-information/lib/util/defined-info.js +18 -0
- package/dist/node_modules/property-information/lib/util/info.js +9 -0
- package/dist/node_modules/property-information/lib/util/merge.js +9 -0
- package/dist/node_modules/property-information/lib/util/schema.js +9 -0
- package/dist/node_modules/property-information/lib/util/types.js +16 -0
- package/dist/node_modules/property-information/lib/xlink.js +19 -0
- package/dist/node_modules/property-information/lib/xml.js +15 -0
- package/dist/node_modules/property-information/lib/xmlns.js +14 -0
- package/dist/node_modules/react-error-boundary/dist/react-error-boundary.js +58 -0
- package/dist/node_modules/react-markdown/lib/index.js +140 -0
- package/dist/node_modules/remark-parse/lib/index.js +16 -0
- package/dist/node_modules/remark-rehype/lib/index.js +18 -0
- package/dist/node_modules/space-separated-tokens/index.js +6 -0
- package/dist/node_modules/style-to-js/cjs/index.js +19 -0
- package/dist/node_modules/style-to-js/cjs/utilities.js +18 -0
- package/dist/node_modules/style-to-object/cjs/index.js +23 -0
- package/dist/node_modules/trim-lines/index.js +21 -0
- package/dist/node_modules/trough/lib/index.js +50 -0
- package/dist/node_modules/unified/lib/callable-instance.js +9 -0
- package/dist/node_modules/unified/lib/index.js +161 -0
- package/dist/node_modules/unist-util-is/lib/index.js +47 -0
- package/dist/node_modules/unist-util-position/lib/index.js +22 -0
- package/dist/node_modules/unist-util-stringify-position/lib/index.js +15 -0
- package/dist/node_modules/unist-util-visit/lib/index.js +12 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +6 -0
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +36 -0
- package/dist/node_modules/vfile/lib/index.js +89 -0
- package/dist/node_modules/vfile/lib/minpath.browser.js +99 -0
- package/dist/node_modules/vfile/lib/minproc.browser.js +7 -0
- package/dist/node_modules/vfile/lib/minurl.browser.js +31 -0
- package/dist/node_modules/vfile/lib/minurl.shared.js +6 -0
- package/dist/node_modules/vfile-message/lib/index.js +24 -0
- package/dist/node_modules/web-vitals/dist/web-vitals.js +238 -0
- package/dist/shared/components/AccessDenied.d.ts +117 -0
- package/dist/shared/components/AccessDenied.d.ts.map +1 -0
- package/dist/shared/components/AccessDenied.js +129 -0
- package/dist/shared/components/AppErrorBoundary.d.ts +19 -0
- package/dist/shared/components/AppErrorBoundary.d.ts.map +1 -0
- package/dist/shared/components/AppErrorBoundary.js +221 -0
- package/dist/shared/components/ConditionalShell.d.ts +17 -0
- package/dist/shared/components/ConditionalShell.d.ts.map +1 -0
- package/dist/shared/components/ConditionalShell.js +16 -0
- package/dist/shared/components/ContextConversationWidget.d.ts +6 -0
- package/dist/shared/components/ContextConversationWidget.d.ts.map +1 -0
- package/dist/shared/components/ContextConversationWidget.js +821 -0
- package/dist/shared/components/ErrorBoundary.d.ts +19 -0
- package/dist/shared/components/ErrorBoundary.d.ts.map +1 -0
- package/dist/shared/components/ErrorBoundary.js +90 -0
- package/dist/shared/components/ErrorFallback.d.ts +3 -0
- package/dist/shared/components/ErrorFallback.d.ts.map +1 -0
- package/dist/shared/components/ErrorFallback.js +46 -0
- package/dist/shared/components/KeyboardHelpDialogWrapper.d.ts +7 -0
- package/dist/shared/components/KeyboardHelpDialogWrapper.d.ts.map +1 -0
- package/dist/shared/components/KeyboardHelpDialogWrapper.js +14 -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/LoadingFallback.js +46 -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 +19 -0
- package/dist/shared/components/PWAInstallBanner.d.ts +14 -0
- package/dist/shared/components/PWAInstallBanner.d.ts.map +1 -0
- package/dist/shared/components/PWAInstallBanner.js +113 -0
- package/dist/shared/components/PermissionGate.d.ts +202 -0
- package/dist/shared/components/PermissionGate.d.ts.map +1 -0
- package/dist/shared/components/PermissionGate.js +41 -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/QuotaMeter.js +47 -0
- package/dist/shared/components/RequireAuth.d.ts +76 -0
- package/dist/shared/components/RequireAuth.d.ts.map +1 -0
- package/dist/shared/components/RequireAuth.js +90 -0
- package/dist/shared/components/SSORedirectGuard.d.ts +56 -0
- package/dist/shared/components/SSORedirectGuard.d.ts.map +1 -0
- package/dist/shared/components/SSORedirectGuard.js +134 -0
- package/dist/shared/components/SearchPage.d.ts +24 -0
- package/dist/shared/components/SearchPage.d.ts.map +1 -0
- package/dist/shared/components/index.d.ts +25 -0
- package/dist/shared/components/index.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/authBridgeUrls.js +21 -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 +34 -0
- package/dist/shared/config/gatewayUrls.d.ts.map +1 -0
- package/dist/shared/config/gatewayUrls.js +23 -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 +42 -0
- package/dist/shared/config/products.d.ts.map +1 -0
- package/dist/shared/config/products.js +67 -0
- package/dist/shared/config/shellRoutes.d.ts +52 -0
- package/dist/shared/config/shellRoutes.d.ts.map +1 -0
- package/dist/shared/config/shellRoutes.js +179 -0
- package/dist/shared/events/index.d.ts +407 -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/metadata.js +22 -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/BackendAuditSink.js +50 -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/BroadcastChannelSink.js +20 -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/DevtoolsSink.js +18 -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/OtelBrowserSink.js +92 -0
- package/dist/shared/events/sinks/RybbitSink.d.ts +18 -0
- package/dist/shared/events/sinks/RybbitSink.d.ts.map +1 -0
- package/dist/shared/events/sinks/RybbitSink.js +85 -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/events/sinks/index.js +5 -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/FeatureFlagProvider.js +110 -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/FeatureGate.js +10 -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 +121 -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/feature-flags/useFeatureFlag.js +27 -0
- package/dist/shared/geography/GeographyProvider.d.ts +40 -0
- package/dist/shared/geography/GeographyProvider.d.ts.map +1 -0
- package/dist/shared/geography/GeographyProvider.js +171 -0
- package/dist/shared/geography/countries.d.ts +53 -0
- package/dist/shared/geography/countries.d.ts.map +1 -0
- package/dist/shared/geography/countries.js +2650 -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/GatewayContext.js +28 -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 +308 -0
- 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 +323 -0
- package/dist/shared/graphql/index.d.ts +9 -0
- package/dist/shared/graphql/index.d.ts.map +1 -0
- package/dist/shared/graphql/links/sse-link.d.ts +48 -0
- package/dist/shared/graphql/links/sse-link.d.ts.map +1 -0
- package/dist/shared/graphql/links/sse-link.js +88 -0
- package/dist/shared/graphql/security.d.ts +13 -0
- package/dist/shared/graphql/security.d.ts.map +1 -0
- package/dist/shared/graphql/security.js +84 -0
- package/dist/shared/graphql/workspaceToken.d.ts +13 -0
- package/dist/shared/graphql/workspaceToken.d.ts.map +1 -0
- package/dist/shared/graphql/workspaceToken.js +33 -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 +30 -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/useFooterRegistry.js +16 -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/useGlobalSearch.js +232 -0
- package/dist/shared/hooks/shell/useLanguages.d.ts +36 -0
- package/dist/shared/hooks/shell/useLanguages.d.ts.map +1 -0
- package/dist/shared/hooks/shell/useLanguages.js +165 -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/useNavRegistry.js +10 -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/shell/useProducts.js +97 -0
- package/dist/shared/hooks/useAsync.d.ts +151 -0
- package/dist/shared/hooks/useAsync.d.ts.map +1 -0
- package/dist/shared/hooks/useAsync.js +39 -0
- package/dist/shared/hooks/useBreakpoint.d.ts +83 -0
- package/dist/shared/hooks/useBreakpoint.d.ts.map +1 -0
- package/dist/shared/hooks/useBreakpoint.js +32 -0
- package/dist/shared/hooks/useCopyToClipboard.d.ts +72 -0
- package/dist/shared/hooks/useCopyToClipboard.d.ts.map +1 -0
- package/dist/shared/hooks/useCopyToClipboard.js +26 -0
- package/dist/shared/hooks/useDebounce.d.ts +26 -0
- package/dist/shared/hooks/useDebounce.d.ts.map +1 -0
- package/dist/shared/hooks/useDebounce.js +15 -0
- package/dist/shared/hooks/useHasAnimated.d.ts +10 -0
- package/dist/shared/hooks/useHasAnimated.d.ts.map +1 -0
- package/dist/shared/hooks/useHasAnimated.js +16 -0
- package/dist/shared/hooks/useKeyPress.d.ts +116 -0
- package/dist/shared/hooks/useKeyPress.d.ts.map +1 -0
- package/dist/shared/hooks/useKeyPress.js +31 -0
- package/dist/shared/hooks/useLocalStorage.d.ts +41 -0
- package/dist/shared/hooks/useLocalStorage.d.ts.map +1 -0
- package/dist/shared/hooks/useLocalStorage.js +33 -0
- package/dist/shared/hooks/useMediaQuery.d.ts +35 -0
- package/dist/shared/hooks/useMediaQuery.d.ts.map +1 -0
- package/dist/shared/hooks/useMediaQuery.js +14 -0
- package/dist/shared/hooks/useOnClickOutside.d.ts +76 -0
- package/dist/shared/hooks/useOnClickOutside.d.ts.map +1 -0
- package/dist/shared/hooks/useOnClickOutside.js +25 -0
- package/dist/shared/hooks/usePWA.d.ts +57 -0
- package/dist/shared/hooks/usePWA.d.ts.map +1 -0
- package/dist/shared/hooks/usePWA.js +68 -0
- package/dist/shared/hooks/usePrevious.d.ts +157 -0
- package/dist/shared/hooks/usePrevious.d.ts.map +1 -0
- package/dist/shared/hooks/usePrevious.js +22 -0
- package/dist/shared/hooks/useQuotaErrorToast.d.ts +50 -0
- package/dist/shared/hooks/useQuotaErrorToast.d.ts.map +1 -0
- package/dist/shared/hooks/useQuotaErrorToast.js +32 -0
- package/dist/shared/hooks/useReferralAttribution.d.ts +2 -0
- package/dist/shared/hooks/useReferralAttribution.d.ts.map +1 -0
- package/dist/shared/hooks/useReferralAttribution.js +113 -0
- package/dist/shared/hooks/useSessionStorage.d.ts +44 -0
- package/dist/shared/hooks/useSessionStorage.d.ts.map +1 -0
- package/dist/shared/hooks/useSessionStorage.js +33 -0
- package/dist/shared/hooks/useThrottle.d.ts +37 -0
- package/dist/shared/hooks/useThrottle.d.ts.map +1 -0
- package/dist/shared/hooks/useThrottle.js +11 -0
- package/dist/shared/hooks/useToggle.d.ts +152 -0
- package/dist/shared/hooks/useToggle.d.ts.map +1 -0
- package/dist/shared/hooks/useToggle.js +38 -0
- package/dist/shared/index.d.ts +13 -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/globalShortcuts.js +79 -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/types.js +15 -0
- package/dist/shared/keyboard/useHotkeys.d.ts +21 -0
- package/dist/shared/keyboard/useHotkeys.d.ts.map +1 -0
- package/dist/shared/keyboard/useHotkeys.js +27 -0
- package/dist/shared/keyboard/useKeyboardShortcuts.d.ts +94 -0
- package/dist/shared/keyboard/useKeyboardShortcuts.d.ts.map +1 -0
- package/dist/shared/keyboard/useKeyboardShortcuts.js +105 -0
- package/dist/shared/keyboard/useShortcutHelp.d.ts +27 -0
- package/dist/shared/keyboard/useShortcutHelp.d.ts.map +1 -0
- package/dist/shared/keyboard/useShortcutHelp.js +21 -0
- package/dist/shared/keyboard/utils.d.ts +72 -0
- package/dist/shared/keyboard/utils.d.ts.map +1 -0
- package/dist/shared/keyboard/utils.js +165 -0
- package/dist/shared/logger/ConsoleTransport.d.ts +22 -0
- package/dist/shared/logger/ConsoleTransport.d.ts.map +1 -0
- package/dist/shared/logger/ConsoleTransport.js +60 -0
- package/dist/shared/logger/LogManager.d.ts +75 -0
- package/dist/shared/logger/LogManager.d.ts.map +1 -0
- package/dist/shared/logger/LogManager.js +82 -0
- package/dist/shared/logger/Logger.d.ts +86 -0
- package/dist/shared/logger/Logger.d.ts.map +1 -0
- package/dist/shared/logger/Logger.js +100 -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/types.js +6 -0
- package/dist/shared/logger/useLogger.d.ts +29 -0
- package/dist/shared/logger/useLogger.d.ts.map +1 -0
- package/dist/shared/logger/useLogger.js +11 -0
- package/dist/shared/motion/AnimatedCounter.d.ts +16 -0
- package/dist/shared/motion/AnimatedCounter.d.ts.map +1 -0
- package/dist/shared/motion/AnimatedCounter.js +24 -0
- package/dist/shared/motion/MotionCard.d.ts +18 -0
- package/dist/shared/motion/MotionCard.d.ts.map +1 -0
- package/dist/shared/motion/MotionCard.js +38 -0
- package/dist/shared/motion/MotionCollapse.d.ts +14 -0
- package/dist/shared/motion/MotionCollapse.d.ts.map +1 -0
- package/dist/shared/motion/MotionCollapse.js +22 -0
- package/dist/shared/motion/MotionFade.d.ts +16 -0
- package/dist/shared/motion/MotionFade.d.ts.map +1 -0
- package/dist/shared/motion/MotionFade.js +22 -0
- package/dist/shared/motion/MotionItem.d.ts +25 -0
- package/dist/shared/motion/MotionItem.d.ts.map +1 -0
- package/dist/shared/motion/MotionItem.js +46 -0
- package/dist/shared/motion/MotionList.d.ts +28 -0
- package/dist/shared/motion/MotionList.d.ts.map +1 -0
- package/dist/shared/motion/MotionList.js +32 -0
- package/dist/shared/motion/MotionPage.d.ts +18 -0
- package/dist/shared/motion/MotionPage.d.ts.map +1 -0
- package/dist/shared/motion/MotionPage.js +36 -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/motion/variants.js +267 -0
- package/dist/shared/native/bridge.d.ts +3 -0
- package/dist/shared/native/bridge.d.ts.map +1 -0
- package/dist/shared/native/bridge.js +6 -0
- package/dist/shared/native/consumers.d.ts +9 -0
- package/dist/shared/native/consumers.d.ts.map +1 -0
- package/dist/shared/native/consumers.js +49 -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/index.js +7 -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/useAppState.js +17 -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/useDeviceInfo.js +23 -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/useHaptics.js +12 -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/useNativeKeyboard.js +28 -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/useNativePlatform.js +14 -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/useSafeArea.js +35 -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/hooks/useStatusBar.js +9 -0
- package/dist/shared/native/index.d.ts +6 -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/platform.js +20 -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/AiPage.js +78 -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 +172 -0
- package/dist/shared/pages/SearchPage.d.ts +28 -0
- package/dist/shared/pages/SearchPage.d.ts.map +1 -0
- package/dist/shared/pages/SearchPage.js +1144 -0
- package/dist/shared/pages/index.d.ts +7 -0
- package/dist/shared/pages/index.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/PluginRuntimeProvider.js +78 -0
- package/dist/shared/plugins/context.d.ts +65 -0
- package/dist/shared/plugins/context.d.ts.map +1 -0
- package/dist/shared/plugins/context.js +84 -0
- package/dist/shared/plugins/disposable.d.ts +17 -0
- package/dist/shared/plugins/disposable.d.ts.map +1 -0
- package/dist/shared/plugins/disposable.js +16 -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/event-bus.js +45 -0
- package/dist/shared/plugins/index.d.ts +40 -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/panels/usePanelManagerStore.js +140 -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/createContributionRegistry.js +15 -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/useCommandRegistry.js +5 -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/useContextMenuRegistry.js +5 -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/usePanelRegistry.js +5 -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/useRouteRegistry.js +5 -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/useSettingsRegistry.js +5 -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/useStatusBarRegistry.js +5 -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/useToolbarRegistry.js +5 -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/registries/useWidgetRegistry.js +5 -0
- package/dist/shared/plugins/runtime.d.ts +68 -0
- package/dist/shared/plugins/runtime.d.ts.map +1 -0
- package/dist/shared/plugins/runtime.js +148 -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 +436 -0
- package/dist/shared/providers/MicrofrontendProvider.d.ts +41 -0
- package/dist/shared/providers/MicrofrontendProvider.d.ts.map +1 -0
- package/dist/shared/providers/index.d.ts +12 -0
- package/dist/shared/providers/index.d.ts.map +1 -0
- package/dist/shared/providers/shell/ActiveContextProvider.d.ts +88 -0
- package/dist/shared/providers/shell/ActiveContextProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/ActiveContextProvider.js +181 -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/ActiveContextStorage.js +61 -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/AppShellContext.js +20 -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 +187 -0
- package/dist/shared/providers/shell/AuthProvider.d.ts +58 -0
- package/dist/shared/providers/shell/AuthProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/AuthProvider.js +391 -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/AuthTokenProvider.js +125 -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/ContextManagerProvider.js +41 -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/FeatureFlagsProvider.js +58 -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/GatewayRouter.js +27 -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/GlobalUiProvider.js +99 -0
- package/dist/shared/providers/shell/I18nProvider.d.ts +65 -0
- package/dist/shared/providers/shell/I18nProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/I18nProvider.js +149 -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/MultiGatewayProvider.js +146 -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 +35 -0
- package/dist/shared/providers/shell/PageConversationContextProvider.d.ts +22 -0
- package/dist/shared/providers/shell/PageConversationContextProvider.d.ts.map +1 -0
- package/dist/shared/providers/shell/PageConversationContextProvider.js +68 -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/PermissionProvider.js +173 -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/ProfileGeographyBridge.js +14 -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/ProfileI18nBridge.js +57 -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/ProfileStorageManager.js +184 -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/ShellUiProvider.js +89 -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/ThemeProvider.js +68 -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/assert.js +15 -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/process.js +13 -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-shim.js +2 -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/use-sync-external-store-with-selector.js +39 -0
- package/dist/shared/shims/util.d.ts +135 -0
- package/dist/shared/shims/util.d.ts.map +1 -0
- package/dist/shared/shims/util.js +176 -0
- package/dist/shared/tours/TourInitializer.d.ts +6 -0
- package/dist/shared/tours/TourInitializer.d.ts.map +1 -0
- package/dist/shared/tours/TourInitializer.js +35 -0
- package/dist/shared/tours/TourPlayer.d.ts +49 -0
- package/dist/shared/tours/TourPlayer.d.ts.map +1 -0
- package/dist/shared/tours/TourPlayer.js +57 -0
- package/dist/shared/tours/TourPlayerProvider.d.ts +26 -0
- package/dist/shared/tours/TourPlayerProvider.d.ts.map +1 -0
- package/dist/shared/tours/TourPlayerProvider.js +120 -0
- package/dist/shared/tours/TourSpotlight.d.ts +8 -0
- package/dist/shared/tours/TourSpotlight.d.ts.map +1 -0
- package/dist/shared/tours/TourSpotlight.js +78 -0
- package/dist/shared/tours/TourTooltip.d.ts +7 -0
- package/dist/shared/tours/TourTooltip.d.ts.map +1 -0
- package/dist/shared/tours/TourTooltip.js +272 -0
- package/dist/shared/tours/TourTrigger.d.ts +6 -0
- package/dist/shared/tours/TourTrigger.d.ts.map +1 -0
- package/dist/shared/tours/TourTrigger.js +236 -0
- package/dist/shared/tours/ToursContext.d.ts +41 -0
- package/dist/shared/tours/ToursContext.d.ts.map +1 -0
- package/dist/shared/tours/ToursContext.js +443 -0
- package/dist/shared/tours/index.d.ts +49 -0
- package/dist/shared/tours/index.d.ts.map +1 -0
- package/dist/shared/tours/types.d.ts +215 -0
- package/dist/shared/tours/types.d.ts.map +1 -0
- package/dist/shared/tours/types.js +16 -0
- package/dist/shared/tours/useTourPlayer.d.ts +38 -0
- package/dist/shared/tours/useTourPlayer.d.ts.map +1 -0
- package/dist/shared/tours/useTourPlayer.js +238 -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 +13 -0
- package/dist/shared/utils/apollo.d.ts.map +1 -0
- package/dist/shared/utils/apollo.js +68 -0
- package/dist/shared/utils/appHelpers.d.ts +34 -0
- package/dist/shared/utils/appHelpers.d.ts.map +1 -0
- package/dist/shared/utils/appHelpers.js +54 -0
- package/dist/shared/utils/authCookie.d.ts +35 -0
- package/dist/shared/utils/authCookie.d.ts.map +1 -0
- package/dist/shared/utils/authCookie.js +86 -0
- package/dist/shared/utils/authErrorHandling.d.ts +65 -0
- package/dist/shared/utils/authErrorHandling.d.ts.map +1 -0
- package/dist/shared/utils/authErrorHandling.js +75 -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/format.js +135 -0
- package/dist/shared/utils/gatewayFetchRewrite.d.ts +53 -0
- package/dist/shared/utils/gatewayFetchRewrite.d.ts.map +1 -0
- package/dist/shared/utils/gatewayFetchRewrite.js +130 -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/lazyWithRetry.js +25 -0
- package/dist/shared/utils/loggerInit.d.ts +15 -0
- package/dist/shared/utils/loggerInit.d.ts.map +1 -0
- package/dist/shared/utils/loggerInit.js +44 -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/profileScopedStorage.js +55 -0
- package/dist/shared/utils/quotaErrors.d.ts +37 -0
- package/dist/shared/utils/quotaErrors.d.ts.map +1 -0
- package/dist/shared/utils/quotaErrors.js +21 -0
- package/dist/shared/utils/tokens.d.ts +166 -0
- package/dist/shared/utils/tokens.d.ts.map +1 -0
- package/dist/shared/utils/tokens.js +133 -0
- package/dist/shared-components.d.ts +2 -0
- package/dist/shared-components.js +15 -0
- package/dist/shared-config.d.ts +2 -0
- package/dist/shared-config.js +30 -0
- package/dist/shared-events.d.ts +2 -0
- package/dist/shared-events.js +132 -0
- package/dist/shared-feature-flags.d.ts +2 -0
- package/dist/shared-feature-flags.js +4 -0
- package/dist/shared-geography.d.ts +2 -0
- package/dist/shared-geography.js +3 -0
- package/dist/shared-graphql.d.ts +2 -0
- package/dist/shared-graphql.js +8 -0
- package/dist/shared-hooks-shell.d.ts +2 -0
- package/dist/shared-hooks-shell.js +15 -0
- package/dist/shared-hooks.d.ts +2 -0
- package/dist/shared-hooks.js +39 -0
- package/dist/shared-keyboard.d.ts +2 -0
- package/dist/shared-keyboard.js +7 -0
- package/dist/shared-logger.d.ts +2 -0
- package/dist/shared-logger.js +6 -0
- package/dist/shared-motion.d.ts +2 -0
- package/dist/shared-motion.js +9 -0
- package/dist/shared-native.d.ts +2 -0
- package/dist/shared-native.js +12 -0
- package/dist/shared-pages.d.ts +2 -0
- package/dist/shared-pages.js +4 -0
- package/dist/shared-plugins.d.ts +2 -0
- package/dist/shared-plugins.js +15 -0
- package/dist/shared-providers-shell.d.ts +2 -0
- package/dist/shared-providers-shell.js +25 -0
- package/dist/shared-providers.d.ts +2 -0
- package/dist/shared-providers.js +12 -0
- package/dist/shared-shims.d.ts +2 -0
- package/dist/shared-shims.js +6 -0
- package/dist/shared-tours.d.ts +2 -0
- package/dist/shared-tours.js +10 -0
- package/dist/shared-types.d.ts +1 -0
- package/dist/shared-types.js +0 -0
- package/dist/shared-utils.d.ts +2 -0
- package/dist/shared-utils.js +19 -0
- package/dist/shared.d.ts +2 -0
- package/dist/shared.js +103 -0
- package/dist/storage/StorageFolderPicker.d.ts +23 -0
- package/dist/storage/StorageFolderPicker.d.ts.map +1 -0
- package/dist/storage/index.d.ts +3 -0
- package/dist/storage/index.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/TagBadge.js +51 -0
- package/dist/tag/TagsWidget.d.ts +103 -0
- package/dist/tag/TagsWidget.d.ts.map +1 -0
- package/dist/tag/TagsWidget.js +283 -0
- package/dist/tag/index.d.ts +3 -0
- package/dist/tag/index.d.ts.map +1 -0
- package/dist/tag.d.ts +2 -0
- package/dist/tag.js +3 -0
- package/dist/ui/accordion.d.ts +8 -0
- package/dist/ui/accordion.d.ts.map +1 -0
- package/dist/ui/accordion.js +43 -0
- package/dist/ui/alert-dialog.d.ts +15 -0
- package/dist/ui/alert-dialog.d.ts.map +1 -0
- package/dist/ui/alert-dialog.js +81 -0
- package/dist/ui/badge.d.ts +10 -0
- package/dist/ui/badge.d.ts.map +1 -0
- package/dist/ui/badge.js +24 -0
- package/dist/ui/button.d.ts +12 -0
- package/dist/ui/button.d.ts.map +1 -0
- package/dist/ui/button.js +45 -0
- package/dist/ui/card.d.ts +9 -0
- package/dist/ui/card.d.ts.map +1 -0
- package/dist/ui/card.js +42 -0
- package/dist/ui/checkbox.d.ts +5 -0
- package/dist/ui/checkbox.d.ts.map +1 -0
- package/dist/ui/checkbox.js +20 -0
- package/dist/ui/command.d.ts +19 -0
- package/dist/ui/command.d.ts.map +1 -0
- package/dist/ui/command.js +85 -0
- package/dist/ui/dialog.d.ts +16 -0
- package/dist/ui/dialog.d.ts.map +1 -0
- package/dist/ui/dialog.js +86 -0
- package/dist/ui/dropdown-menu.d.ts +28 -0
- package/dist/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/ui/dropdown-menu.js +72 -0
- package/dist/ui/index.d.ts +25 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/ui/input.d.ts +5 -0
- package/dist/ui/input.d.ts.map +1 -0
- package/dist/ui/input.js +13 -0
- package/dist/ui/label.d.ts +5 -0
- package/dist/ui/label.d.ts.map +1 -0
- package/dist/ui/label.js +14 -0
- package/dist/ui/popover.d.ts +8 -0
- package/dist/ui/popover.d.ts.map +1 -0
- package/dist/ui/popover.js +35 -0
- package/dist/ui/scroll-area.d.ts +6 -0
- package/dist/ui/scroll-area.d.ts.map +1 -0
- package/dist/ui/scroll-area.js +36 -0
- package/dist/ui/select.d.ts +13 -0
- package/dist/ui/select.d.ts.map +1 -0
- package/dist/ui/select.js +69 -0
- package/dist/ui/separator.d.ts +5 -0
- package/dist/ui/separator.d.ts.map +1 -0
- package/dist/ui/separator.js +16 -0
- package/dist/ui/sheet.d.ts +14 -0
- package/dist/ui/sheet.d.ts.map +1 -0
- package/dist/ui/sheet.js +81 -0
- package/dist/ui/skeleton.d.ts +4 -0
- package/dist/ui/skeleton.d.ts.map +1 -0
- package/dist/ui/skeleton.js +12 -0
- package/dist/ui/sonner.d.ts +4 -0
- package/dist/ui/sonner.d.ts.map +1 -0
- package/dist/ui/sonner.js +28 -0
- package/dist/ui/spinner.d.ts +6 -0
- package/dist/ui/spinner.d.ts.map +1 -0
- package/dist/ui/spinner.js +18 -0
- package/dist/ui/switch.d.ts +5 -0
- package/dist/ui/switch.d.ts.map +1 -0
- package/dist/ui/switch.js +19 -0
- package/dist/ui/table.d.ts +11 -0
- package/dist/ui/table.d.ts.map +1 -0
- package/dist/ui/table.js +57 -0
- package/dist/ui/tabs.d.ts +8 -0
- package/dist/ui/tabs.d.ts.map +1 -0
- package/dist/ui/tabs.js +35 -0
- package/dist/ui/textarea.d.ts +5 -0
- package/dist/ui/textarea.d.ts.map +1 -0
- package/dist/ui/textarea.js +12 -0
- package/dist/ui/tooltip.d.ts +7 -0
- package/dist/ui/tooltip.d.ts.map +1 -0
- package/dist/ui/tooltip.js +14 -0
- package/dist/ui.d.ts +2 -0
- package/dist/ui.js +25 -0
- package/dist/utils/cn.d.ts +15 -0
- package/dist/utils/cn.d.ts.map +1 -0
- package/dist/utils/cn.js +8 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +13 -0
- package/package.json +376 -0
- package/shared/config/eslint.config.d.mts +10 -0
- package/shared/config/eslint.config.mjs +53 -0
- package/shared/config/prettier.config.d.mts +5 -0
- package/shared/config/prettier.config.mjs +18 -0
- package/shared/config/tsconfig.base.json +23 -0
- package/src/shared/shims/assert.ts +54 -0
- package/src/shared/shims/index.ts +27 -0
- package/src/shared/shims/process.ts +24 -0
- package/src/shared/shims/use-sync-external-store-shim.ts +15 -0
- package/src/shared/shims/use-sync-external-store-with-selector.ts +112 -0
- package/src/shared/shims/util.ts +229 -0
- package/src/shared/styles/app-shell.css +298 -0
- package/src/shared/styles/index.css +213 -0
- package/src/shared/tokens/build/brands/fluidgrids.css +6 -0
- package/src/shared/tokens/build/brands/healthybowl.css +6 -0
- package/src/shared/tokens/build/brands/tenant.css +6 -0
- package/src/shared/tokens/build/brands/vibecontrols.css +6 -0
- package/src/shared/tokens/build/brands/workspaces.css +6 -0
- package/src/shared/tokens/build/foundation.css +175 -0
- package/src/shared/tokens/build/semantic.css +301 -0
- package/src/shared/tokens/build/tailwind.preset.js +211 -0
- package/src/shared/tokens/tokens.css +22 -0
- package/src/vite/index.ts +49 -0
- package/src/vite/mfe.config.ts +176 -0
- package/src/vite/plugins.ts +311 -0
- package/src/vite/shell.config.ts +233 -0
- package/src/vite/types.ts +176 -0
|
@@ -0,0 +1,1144 @@
|
|
|
1
|
+
import { useActiveContext as e } from "../providers/shell/ActiveContextProvider.js";
|
|
2
|
+
import { useShellNavigate as t } from "../utils/appHelpers.js";
|
|
3
|
+
import { useGlobalSearch as n } from "../hooks/shell/useGlobalSearch.js";
|
|
4
|
+
import { useCallback as r, useEffect as i, useMemo as a, useState as o } from "react";
|
|
5
|
+
import { ArrowUpDown as ee, Calendar as s, CheckSquare as te, ChevronDown as ne, ChevronLeft as re, ChevronRight as ie, ChevronUp as ae, Clock as oe, File as c, FileText as l, FolderKanban as u, LayoutGrid as d, Loader2 as se, MessageSquare as f, Plus as ce, Search as p, Server as m, SlidersHorizontal as le, Tag as h, Terminal as g, Users as _, X as v } from "lucide-react";
|
|
6
|
+
import { Fragment as ue, jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
7
|
+
import { useSearchParams as de } from "react-router-dom";
|
|
8
|
+
//#region src/shared/pages/SearchPage.tsx
|
|
9
|
+
var fe = {
|
|
10
|
+
UniversalTag: h,
|
|
11
|
+
TagVocabulary: h,
|
|
12
|
+
tag: h,
|
|
13
|
+
document: l,
|
|
14
|
+
file: c,
|
|
15
|
+
page: l,
|
|
16
|
+
member: _,
|
|
17
|
+
user: _,
|
|
18
|
+
"calendar-event": s,
|
|
19
|
+
meeting: s,
|
|
20
|
+
project: u,
|
|
21
|
+
conversation: f,
|
|
22
|
+
thread: f,
|
|
23
|
+
task: te,
|
|
24
|
+
projects: u,
|
|
25
|
+
workspaces: d,
|
|
26
|
+
workspace: d,
|
|
27
|
+
docs: l,
|
|
28
|
+
tags: h,
|
|
29
|
+
members: _,
|
|
30
|
+
calendar: s,
|
|
31
|
+
conversations: f,
|
|
32
|
+
tasks: te,
|
|
33
|
+
Agent: m,
|
|
34
|
+
agent: m,
|
|
35
|
+
agents: m,
|
|
36
|
+
Vibe: u,
|
|
37
|
+
vibe: u,
|
|
38
|
+
vibes: u,
|
|
39
|
+
Session: g,
|
|
40
|
+
session: g,
|
|
41
|
+
sessions: g,
|
|
42
|
+
Note: l,
|
|
43
|
+
note: l,
|
|
44
|
+
notes: l,
|
|
45
|
+
Target: m,
|
|
46
|
+
target: m,
|
|
47
|
+
targets: m
|
|
48
|
+
}, pe = {
|
|
49
|
+
PARTIAL: {
|
|
50
|
+
label: "Partial",
|
|
51
|
+
description: "Matches prefixes and substrings (autocomplete)"
|
|
52
|
+
},
|
|
53
|
+
FULLTEXT: {
|
|
54
|
+
label: "Full-text",
|
|
55
|
+
description: "BM25 word matching with stemming"
|
|
56
|
+
},
|
|
57
|
+
EXACT: {
|
|
58
|
+
label: "Exact",
|
|
59
|
+
description: "All search terms must appear exactly"
|
|
60
|
+
}
|
|
61
|
+
}, me = [
|
|
62
|
+
{
|
|
63
|
+
value: "SCORE_DESC",
|
|
64
|
+
label: "Relevance"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
value: "CREATED_DESC",
|
|
68
|
+
label: "Newest first"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
value: "CREATED_ASC",
|
|
72
|
+
label: "Oldest first"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
value: "UPDATED_DESC",
|
|
76
|
+
label: "Recently updated"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
value: "UPDATED_ASC",
|
|
80
|
+
label: "Least recently updated"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
value: "TITLE_ASC",
|
|
84
|
+
label: "Title A-Z"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
value: "TITLE_DESC",
|
|
88
|
+
label: "Title Z-A"
|
|
89
|
+
}
|
|
90
|
+
], he = [
|
|
91
|
+
{
|
|
92
|
+
value: "workspace",
|
|
93
|
+
label: "Workspaces"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
value: "project",
|
|
97
|
+
label: "Projects"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
value: "member",
|
|
101
|
+
label: "Members"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
value: "user",
|
|
105
|
+
label: "Users"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
value: "UniversalTag",
|
|
109
|
+
label: "Tags"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
value: "TagVocabulary",
|
|
113
|
+
label: "Vocabularies"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
value: "document",
|
|
117
|
+
label: "Documents"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
value: "file",
|
|
121
|
+
label: "Files"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
value: "task",
|
|
125
|
+
label: "Tasks"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
value: "calendar-event",
|
|
129
|
+
label: "Calendar Events"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
value: "conversation",
|
|
133
|
+
label: "Conversations"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
value: "Agent",
|
|
137
|
+
label: "Agents"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
value: "Vibe",
|
|
141
|
+
label: "Vibes"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
value: "Session",
|
|
145
|
+
label: "Sessions"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
value: "Note",
|
|
149
|
+
label: "Notes"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
value: "Target",
|
|
153
|
+
label: "Targets"
|
|
154
|
+
}
|
|
155
|
+
], ge = [], x = 20, _e = {
|
|
156
|
+
key: "",
|
|
157
|
+
value: "",
|
|
158
|
+
operator: "EQUALS"
|
|
159
|
+
};
|
|
160
|
+
function S(e) {
|
|
161
|
+
return e.split(",").map((e) => e.trim()).filter(Boolean);
|
|
162
|
+
}
|
|
163
|
+
function C(e) {
|
|
164
|
+
return e.length > 0 ? e.join(",") : void 0;
|
|
165
|
+
}
|
|
166
|
+
function ve(e, t) {
|
|
167
|
+
if (!e) return t;
|
|
168
|
+
try {
|
|
169
|
+
return JSON.parse(e);
|
|
170
|
+
} catch {
|
|
171
|
+
return t;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
function ye(e) {
|
|
175
|
+
return (e ?? []).filter((e) => e.key?.trim() || e.value?.trim()).map((e) => ({
|
|
176
|
+
key: e.key ?? "",
|
|
177
|
+
value: e.value ?? "",
|
|
178
|
+
operator: e.operator ?? "EQUALS"
|
|
179
|
+
}));
|
|
180
|
+
}
|
|
181
|
+
function be({ entityTypeOptions: s = he, entityTypeIcons: te = fe, productOptions: c = ge, defaultProductSources: u = [], placeholder: d = "Search for documents, tags, projects, tasks...", subtitle: f = "Search across all entities in your workspace", supplementalSearch: m } = {}) {
|
|
182
|
+
let h = t(), [g, _] = de(), { workspaceId: be } = e(), { searchFull: xe, isSearching: w } = n(), Se = g.get("q") || "", Ce = g.get("mode") || "FULLTEXT", we = g.get("sortBy") || "SCORE_DESC", Te = S(g.get("types") || ""), Ee = S(g.get("excludeTypes") || ""), De = S(g.get("products") || ""), Oe = g.get("createdBy") || "", ke = g.get("updatedBy") || "", Ae = g.get("projectId") || "", je = g.get("from") || "", Me = g.get("to") || "", Ne = g.get("updatedFrom") || "", Pe = g.get("updatedTo") || "", Fe = S(g.get("excludeIds") || ""), T = ve(g.get("tagFilter"), {}), Ie = ye(ve(g.get("metadataConditions"), [])), Le = parseInt(g.get("page") || "1", 10), [E, Re] = o(Se), [D, ze] = o(Ce), [O, Be] = o(we), [k, Ve] = o(Te), [A, He] = o(Ee), [j, Ue] = o(De.length > 0 ? De : u), [M, N] = o(Oe), [P, F] = o(ke), [I, We] = o(Ae), [L, Ge] = o(je), [R, Ke] = o(Me), [z, qe] = o(Ne), [B, Je] = o(Pe), [Ye, Xe] = o(Fe.join(", ")), [Ze, Qe] = o((T.tagIds ?? []).join(", ")), [$e, et] = o((T.tagKeys ?? []).join(", ")), [tt, nt] = o((T.hierarchyPaths ?? []).join(", ")), [rt, it] = o((T.vocabularyKeys ?? []).join(", ")), [at, ot] = o(T.matchAll ?? !1), [st, ct] = o(T.includeDescendants ?? !0), [V, lt] = o(T.depth === void 0 ? "" : String(T.depth)), [H, U] = o(Ie), [W, G] = o(Le), [K, ut] = o([]), [dt, ft] = o(0), [pt, mt] = o(!1), [ht, gt] = o(0), [_t, vt] = o(), [yt, q] = o(null), [J, bt] = o(!1), [xt, St] = o(Se), Ct = r((e) => {
|
|
183
|
+
let t = new URLSearchParams(g);
|
|
184
|
+
Object.entries(e).forEach(([e, n]) => {
|
|
185
|
+
n ? t.set(e, n) : t.delete(e);
|
|
186
|
+
}), _(t, { replace: !0 });
|
|
187
|
+
}, [g, _]), Y = a(() => S(Ye), [Ye]), X = a(() => H.filter((e) => e.key.trim() && e.value.trim()), [H]), Z = a(() => {
|
|
188
|
+
let e = S(Ze), t = S($e), n = S(tt), r = S(rt), i = V.trim() ? Number(V.trim()) : void 0;
|
|
189
|
+
if (e.length > 0 || t.length > 0 || n.length > 0 || r.length > 0) return {
|
|
190
|
+
tagIds: e.length > 0 ? e : void 0,
|
|
191
|
+
tagKeys: t.length > 0 ? t : void 0,
|
|
192
|
+
hierarchyPaths: n.length > 0 ? n : void 0,
|
|
193
|
+
vocabularyKeys: r.length > 0 ? r : void 0,
|
|
194
|
+
matchAll: at,
|
|
195
|
+
includeDescendants: st,
|
|
196
|
+
depth: i !== void 0 && Number.isFinite(i) ? i : void 0
|
|
197
|
+
};
|
|
198
|
+
}, [
|
|
199
|
+
st,
|
|
200
|
+
V,
|
|
201
|
+
Ze,
|
|
202
|
+
$e,
|
|
203
|
+
at,
|
|
204
|
+
tt,
|
|
205
|
+
rt
|
|
206
|
+
]), wt = r(() => {
|
|
207
|
+
let e = {
|
|
208
|
+
searchMode: D,
|
|
209
|
+
sortBy: O,
|
|
210
|
+
limit: x,
|
|
211
|
+
offset: (W - 1) * x
|
|
212
|
+
};
|
|
213
|
+
return k.length > 0 && (e.entityTypes = k), A.length > 0 && (e.excludeEntityTypes = A), j.length > 0 && (e.productSources = j), I.trim() && (e.projectId = I.trim()), M.trim() && (e.createdBy = M.trim()), P.trim() && (e.updatedBy = P.trim()), (L || R) && (e.dateRange = {}, L && (e.dateRange.from = new Date(L).toISOString()), R && (e.dateRange.to = new Date(R).toISOString())), (z || B) && (e.updatedDateRange = {}, z && (e.updatedDateRange.from = new Date(z).toISOString()), B && (e.updatedDateRange.to = new Date(B).toISOString())), Y.length > 0 && (e.excludeIds = Y), X.length > 0 && (e.metadataConditions = X), Z && (e.tagFilter = Z), e;
|
|
214
|
+
}, [
|
|
215
|
+
Z,
|
|
216
|
+
M,
|
|
217
|
+
L,
|
|
218
|
+
R,
|
|
219
|
+
A,
|
|
220
|
+
Y,
|
|
221
|
+
X,
|
|
222
|
+
D,
|
|
223
|
+
O,
|
|
224
|
+
W,
|
|
225
|
+
I,
|
|
226
|
+
k,
|
|
227
|
+
j,
|
|
228
|
+
P,
|
|
229
|
+
z,
|
|
230
|
+
B
|
|
231
|
+
]), Tt = r(async () => {
|
|
232
|
+
if (!E.trim()) {
|
|
233
|
+
ut([]), ft(0), mt(!1), gt(0), vt(void 0), q(null);
|
|
234
|
+
return;
|
|
235
|
+
}
|
|
236
|
+
if (!be) {
|
|
237
|
+
q("No workspace selected. Please select a workspace to search.");
|
|
238
|
+
return;
|
|
239
|
+
}
|
|
240
|
+
q(null);
|
|
241
|
+
let e = performance.now();
|
|
242
|
+
try {
|
|
243
|
+
let t = wt(), n = await xe(E, void 0, t), r = performance.now(), i = m && n.results.length === 0 ? await m(E, t) : [], a = n.results.length > 0 ? n.results : i;
|
|
244
|
+
ut(a), ft(a.length > 0 ? a.length : n.total), mt(n.hasMore), vt(n.facets), gt(n.searchTimeMs ?? Math.round(r - e));
|
|
245
|
+
} catch (e) {
|
|
246
|
+
q(e instanceof Error ? e.message : "Search failed"), ut([]), ft(0), vt(void 0);
|
|
247
|
+
}
|
|
248
|
+
}, [
|
|
249
|
+
E,
|
|
250
|
+
be,
|
|
251
|
+
xe,
|
|
252
|
+
wt,
|
|
253
|
+
m
|
|
254
|
+
]);
|
|
255
|
+
i(() => {
|
|
256
|
+
Tt();
|
|
257
|
+
}, [Tt]), i(() => {
|
|
258
|
+
Ct({
|
|
259
|
+
q: E || void 0,
|
|
260
|
+
mode: D === "FULLTEXT" ? void 0 : D,
|
|
261
|
+
sortBy: O === "SCORE_DESC" ? void 0 : O,
|
|
262
|
+
types: C(k),
|
|
263
|
+
excludeTypes: C(A),
|
|
264
|
+
products: C(j),
|
|
265
|
+
createdBy: M || void 0,
|
|
266
|
+
updatedBy: P || void 0,
|
|
267
|
+
projectId: I || void 0,
|
|
268
|
+
from: L || void 0,
|
|
269
|
+
to: R || void 0,
|
|
270
|
+
updatedFrom: z || void 0,
|
|
271
|
+
updatedTo: B || void 0,
|
|
272
|
+
excludeIds: C(Y),
|
|
273
|
+
tagFilter: Z ? JSON.stringify(Z) : void 0,
|
|
274
|
+
metadataConditions: X.length > 0 ? JSON.stringify(X) : void 0,
|
|
275
|
+
page: W > 1 ? String(W) : void 0
|
|
276
|
+
});
|
|
277
|
+
}, [
|
|
278
|
+
Z,
|
|
279
|
+
M,
|
|
280
|
+
L,
|
|
281
|
+
R,
|
|
282
|
+
A,
|
|
283
|
+
Y,
|
|
284
|
+
X,
|
|
285
|
+
E,
|
|
286
|
+
I,
|
|
287
|
+
D,
|
|
288
|
+
O,
|
|
289
|
+
k,
|
|
290
|
+
j,
|
|
291
|
+
W,
|
|
292
|
+
P,
|
|
293
|
+
z,
|
|
294
|
+
B,
|
|
295
|
+
Ct
|
|
296
|
+
]);
|
|
297
|
+
let Et = (e) => {
|
|
298
|
+
e.preventDefault(), Re(xt), G(1);
|
|
299
|
+
}, Dt = (e) => {
|
|
300
|
+
Ve((t) => t.includes(e) ? t.filter((t) => t !== e) : [...t, e]), G(1);
|
|
301
|
+
}, Ot = (e) => {
|
|
302
|
+
He((t) => t.includes(e) ? t.filter((t) => t !== e) : [...t, e]), G(1);
|
|
303
|
+
}, kt = () => {
|
|
304
|
+
U((e) => [...e, { ..._e }]);
|
|
305
|
+
}, At = (e, t) => {
|
|
306
|
+
U((n) => n.map((n, r) => r === e ? {
|
|
307
|
+
...n,
|
|
308
|
+
...t
|
|
309
|
+
} : n)), G(1);
|
|
310
|
+
}, jt = (e) => {
|
|
311
|
+
U((t) => t.filter((t, n) => n !== e)), G(1);
|
|
312
|
+
}, Mt = () => {
|
|
313
|
+
ze("FULLTEXT"), Be("SCORE_DESC"), Ve([]), He([]), Ue([]), N(""), F(""), We(""), Ge(""), Ke(""), qe(""), Je(""), Xe(""), Qe(""), et(""), nt(""), it(""), ot(!1), ct(!0), lt(""), U([]), G(1);
|
|
314
|
+
}, Q = a(() => {
|
|
315
|
+
let e = 0;
|
|
316
|
+
return D !== "FULLTEXT" && e++, O !== "SCORE_DESC" && e++, k.length > 0 && e++, A.length > 0 && e++, j.length > 0 && e++, M && e++, P && e++, I && e++, (L || R) && e++, (z || B) && e++, Y.length > 0 && e++, Z && e++, X.length > 0 && e++, e;
|
|
317
|
+
}, [
|
|
318
|
+
Z,
|
|
319
|
+
M,
|
|
320
|
+
L,
|
|
321
|
+
R,
|
|
322
|
+
A,
|
|
323
|
+
Y.length,
|
|
324
|
+
X.length,
|
|
325
|
+
I,
|
|
326
|
+
D,
|
|
327
|
+
j,
|
|
328
|
+
k,
|
|
329
|
+
O,
|
|
330
|
+
P,
|
|
331
|
+
z,
|
|
332
|
+
B
|
|
333
|
+
]), $ = Math.ceil(dt / x), Nt = (e) => {
|
|
334
|
+
e.href && h(e.href);
|
|
335
|
+
}, Pt = (e) => te[e] || l, Ft = a(() => {
|
|
336
|
+
let e = /* @__PURE__ */ new Map();
|
|
337
|
+
for (let t of c) e.set(t.value, t);
|
|
338
|
+
for (let t of j) e.has(t) || e.set(t, {
|
|
339
|
+
value: t,
|
|
340
|
+
label: t
|
|
341
|
+
});
|
|
342
|
+
for (let t of _t?.byProduct ?? []) e.has(t.product) || e.set(t.product, {
|
|
343
|
+
value: t.product,
|
|
344
|
+
label: t.product
|
|
345
|
+
});
|
|
346
|
+
return Array.from(e.values());
|
|
347
|
+
}, [
|
|
348
|
+
_t?.byProduct,
|
|
349
|
+
c,
|
|
350
|
+
j
|
|
351
|
+
]), It = (e) => {
|
|
352
|
+
Ue((t) => t.includes(e) ? t.filter((t) => t !== e) : [...t, e]), G(1);
|
|
353
|
+
};
|
|
354
|
+
return /* @__PURE__ */ y("div", {
|
|
355
|
+
className: "min-h-screen bg-bg-canvas",
|
|
356
|
+
children: /* @__PURE__ */ b("div", {
|
|
357
|
+
className: "container mx-auto max-w-5xl py-6 px-4",
|
|
358
|
+
children: [
|
|
359
|
+
/* @__PURE__ */ b("div", {
|
|
360
|
+
className: "mb-6",
|
|
361
|
+
children: [/* @__PURE__ */ y("h1", {
|
|
362
|
+
className: "text-2xl font-bold text-text-primary mb-2",
|
|
363
|
+
children: "Search"
|
|
364
|
+
}), /* @__PURE__ */ y("p", {
|
|
365
|
+
className: "text-text-secondary",
|
|
366
|
+
children: f
|
|
367
|
+
})]
|
|
368
|
+
}),
|
|
369
|
+
/* @__PURE__ */ y("form", {
|
|
370
|
+
onSubmit: Et,
|
|
371
|
+
className: "mb-6",
|
|
372
|
+
children: /* @__PURE__ */ b("div", {
|
|
373
|
+
className: "relative",
|
|
374
|
+
children: [
|
|
375
|
+
/* @__PURE__ */ y(p, { className: "absolute left-4 top-1/2 -translate-y-1/2 h-5 w-5 text-text-tertiary" }),
|
|
376
|
+
/* @__PURE__ */ y("input", {
|
|
377
|
+
type: "text",
|
|
378
|
+
value: xt,
|
|
379
|
+
onChange: (e) => St(e.target.value),
|
|
380
|
+
placeholder: d,
|
|
381
|
+
className: "w-full h-12 pl-12 pr-12 text-lg rounded-lg border border-border-default bg-bg-surface text-text-primary placeholder:text-text-tertiary focus:outline-none focus:ring-2 focus:ring-primary-default focus:border-transparent",
|
|
382
|
+
autoFocus: !0
|
|
383
|
+
}),
|
|
384
|
+
xt && /* @__PURE__ */ y("button", {
|
|
385
|
+
type: "button",
|
|
386
|
+
onClick: () => {
|
|
387
|
+
St(""), Re("");
|
|
388
|
+
},
|
|
389
|
+
className: "absolute right-4 top-1/2 -translate-y-1/2 p-1 rounded hover:bg-bg-muted transition-colors",
|
|
390
|
+
children: /* @__PURE__ */ y(v, { className: "h-4 w-4 text-text-tertiary" })
|
|
391
|
+
})
|
|
392
|
+
]
|
|
393
|
+
})
|
|
394
|
+
}),
|
|
395
|
+
/* @__PURE__ */ b("div", {
|
|
396
|
+
className: "flex flex-wrap items-center gap-4 mb-6",
|
|
397
|
+
children: [
|
|
398
|
+
/* @__PURE__ */ y("div", {
|
|
399
|
+
className: "flex items-center gap-1 bg-bg-surface rounded-lg p-1 border border-border-default",
|
|
400
|
+
children: [
|
|
401
|
+
"PARTIAL",
|
|
402
|
+
"FULLTEXT",
|
|
403
|
+
"EXACT"
|
|
404
|
+
].map((e) => /* @__PURE__ */ y("button", {
|
|
405
|
+
onClick: () => {
|
|
406
|
+
ze(e), G(1);
|
|
407
|
+
},
|
|
408
|
+
className: `px-3 py-1.5 text-sm font-medium rounded-md transition-colors ${D === e ? "bg-primary-default text-primary-foreground" : "text-text-secondary hover:bg-bg-muted"}`,
|
|
409
|
+
title: pe[e].description,
|
|
410
|
+
children: pe[e].label
|
|
411
|
+
}, e))
|
|
412
|
+
}),
|
|
413
|
+
/* @__PURE__ */ b("div", {
|
|
414
|
+
className: "flex items-center gap-2",
|
|
415
|
+
children: [/* @__PURE__ */ y(ee, { className: "h-4 w-4 text-text-tertiary" }), /* @__PURE__ */ y("select", {
|
|
416
|
+
value: O,
|
|
417
|
+
onChange: (e) => {
|
|
418
|
+
Be(e.target.value), G(1);
|
|
419
|
+
},
|
|
420
|
+
className: "h-9 px-3 text-sm rounded-md border border-border-default bg-bg-surface text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default",
|
|
421
|
+
children: me.map((e) => /* @__PURE__ */ y("option", {
|
|
422
|
+
value: e.value,
|
|
423
|
+
children: e.label
|
|
424
|
+
}, e.value))
|
|
425
|
+
})]
|
|
426
|
+
}),
|
|
427
|
+
/* @__PURE__ */ b("button", {
|
|
428
|
+
onClick: () => bt(!J),
|
|
429
|
+
className: `flex items-center gap-2 px-3 py-2 text-sm rounded-md border transition-colors ${J || Q > 0 ? "border-primary-default bg-primary-default/10 text-primary-default" : "border-border-default bg-bg-surface text-text-secondary hover:bg-bg-muted"}`,
|
|
430
|
+
children: [
|
|
431
|
+
/* @__PURE__ */ y(le, { className: "h-4 w-4" }),
|
|
432
|
+
"Filters",
|
|
433
|
+
Q > 0 && /* @__PURE__ */ y("span", {
|
|
434
|
+
className: "ml-1 px-1.5 py-0.5 text-xs font-medium bg-primary-default text-primary-foreground rounded-full",
|
|
435
|
+
children: Q
|
|
436
|
+
}),
|
|
437
|
+
y(J ? ae : ne, { className: "h-4 w-4" })
|
|
438
|
+
]
|
|
439
|
+
}),
|
|
440
|
+
Q > 0 && /* @__PURE__ */ y("button", {
|
|
441
|
+
onClick: Mt,
|
|
442
|
+
className: "text-sm text-text-secondary hover:text-text-primary underline",
|
|
443
|
+
children: "Clear all filters"
|
|
444
|
+
})
|
|
445
|
+
]
|
|
446
|
+
}),
|
|
447
|
+
J && /* @__PURE__ */ y("div", {
|
|
448
|
+
className: "mb-6 p-4 bg-bg-surface rounded-lg border border-border-default",
|
|
449
|
+
children: /* @__PURE__ */ b("div", {
|
|
450
|
+
className: "grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-6",
|
|
451
|
+
children: [
|
|
452
|
+
/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("h3", {
|
|
453
|
+
className: "text-sm font-medium text-text-primary mb-3",
|
|
454
|
+
children: "Include Entity Types"
|
|
455
|
+
}), /* @__PURE__ */ y("div", {
|
|
456
|
+
className: "space-y-2 max-h-56 overflow-y-auto",
|
|
457
|
+
children: s.map((e) => /* @__PURE__ */ b("label", {
|
|
458
|
+
className: "flex items-center gap-2 cursor-pointer",
|
|
459
|
+
children: [/* @__PURE__ */ y("input", {
|
|
460
|
+
type: "checkbox",
|
|
461
|
+
checked: k.includes(e.value),
|
|
462
|
+
onChange: () => Dt(e.value),
|
|
463
|
+
className: "h-4 w-4 rounded border-border-default text-primary-default focus:ring-primary-default"
|
|
464
|
+
}), /* @__PURE__ */ y("span", {
|
|
465
|
+
className: "text-sm text-text-secondary",
|
|
466
|
+
children: e.label
|
|
467
|
+
})]
|
|
468
|
+
}, e.value))
|
|
469
|
+
})] }),
|
|
470
|
+
/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("h3", {
|
|
471
|
+
className: "text-sm font-medium text-text-primary mb-3",
|
|
472
|
+
children: "Exclude Entity Types"
|
|
473
|
+
}), /* @__PURE__ */ y("div", {
|
|
474
|
+
className: "space-y-2 max-h-56 overflow-y-auto",
|
|
475
|
+
children: s.map((e) => /* @__PURE__ */ b("label", {
|
|
476
|
+
className: "flex items-center gap-2 cursor-pointer",
|
|
477
|
+
children: [/* @__PURE__ */ y("input", {
|
|
478
|
+
type: "checkbox",
|
|
479
|
+
checked: A.includes(e.value),
|
|
480
|
+
onChange: () => Ot(e.value),
|
|
481
|
+
className: "h-4 w-4 rounded border-border-default text-primary-default focus:ring-primary-default"
|
|
482
|
+
}), /* @__PURE__ */ y("span", {
|
|
483
|
+
className: "text-sm text-text-secondary",
|
|
484
|
+
children: e.label
|
|
485
|
+
})]
|
|
486
|
+
}, `exclude-${e.value}`))
|
|
487
|
+
})] }),
|
|
488
|
+
/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("h3", {
|
|
489
|
+
className: "text-sm font-medium text-text-primary mb-3",
|
|
490
|
+
children: "Product Sources"
|
|
491
|
+
}), /* @__PURE__ */ y("div", {
|
|
492
|
+
className: "space-y-2 max-h-56 overflow-y-auto",
|
|
493
|
+
children: Ft.length > 0 ? Ft.map((e) => {
|
|
494
|
+
let t = _t?.byProduct?.find((t) => t.product === e.value)?.count;
|
|
495
|
+
return /* @__PURE__ */ b("label", {
|
|
496
|
+
className: "flex items-center justify-between gap-2 cursor-pointer",
|
|
497
|
+
children: [/* @__PURE__ */ b("div", {
|
|
498
|
+
className: "flex items-center gap-2",
|
|
499
|
+
children: [/* @__PURE__ */ y("input", {
|
|
500
|
+
type: "checkbox",
|
|
501
|
+
checked: j.includes(e.value),
|
|
502
|
+
onChange: () => It(e.value),
|
|
503
|
+
className: "h-4 w-4 rounded border-border-default text-primary-default focus:ring-primary-default"
|
|
504
|
+
}), /* @__PURE__ */ y("span", {
|
|
505
|
+
className: "text-sm text-text-secondary",
|
|
506
|
+
children: e.label
|
|
507
|
+
})]
|
|
508
|
+
}), t !== void 0 && /* @__PURE__ */ y("span", {
|
|
509
|
+
className: "text-xs text-text-tertiary",
|
|
510
|
+
children: t
|
|
511
|
+
})]
|
|
512
|
+
}, e.value);
|
|
513
|
+
}) : /* @__PURE__ */ y("span", {
|
|
514
|
+
className: "text-sm text-text-tertiary",
|
|
515
|
+
children: "Product filters will appear after results are loaded."
|
|
516
|
+
})
|
|
517
|
+
})] }),
|
|
518
|
+
/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("h3", {
|
|
519
|
+
className: "text-sm font-medium text-text-primary mb-3",
|
|
520
|
+
children: "Scope & Actors"
|
|
521
|
+
}), /* @__PURE__ */ b("div", {
|
|
522
|
+
className: "space-y-3",
|
|
523
|
+
children: [
|
|
524
|
+
/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
|
|
525
|
+
className: "block text-xs text-text-tertiary mb-1",
|
|
526
|
+
children: "Project ID"
|
|
527
|
+
}), /* @__PURE__ */ y("input", {
|
|
528
|
+
"aria-label": "Project ID filter",
|
|
529
|
+
type: "text",
|
|
530
|
+
value: I,
|
|
531
|
+
onChange: (e) => {
|
|
532
|
+
We(e.target.value), G(1);
|
|
533
|
+
},
|
|
534
|
+
placeholder: "Optional project scope",
|
|
535
|
+
className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
|
|
536
|
+
})] }),
|
|
537
|
+
/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
|
|
538
|
+
className: "block text-xs text-text-tertiary mb-1",
|
|
539
|
+
children: "Created by"
|
|
540
|
+
}), /* @__PURE__ */ y("input", {
|
|
541
|
+
"aria-label": "Created by filter",
|
|
542
|
+
type: "text",
|
|
543
|
+
value: M,
|
|
544
|
+
onChange: (e) => {
|
|
545
|
+
N(e.target.value), G(1);
|
|
546
|
+
},
|
|
547
|
+
placeholder: "Actor ID",
|
|
548
|
+
className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
|
|
549
|
+
})] }),
|
|
550
|
+
/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
|
|
551
|
+
className: "block text-xs text-text-tertiary mb-1",
|
|
552
|
+
children: "Updated by"
|
|
553
|
+
}), /* @__PURE__ */ y("input", {
|
|
554
|
+
"aria-label": "Updated by filter",
|
|
555
|
+
type: "text",
|
|
556
|
+
value: P,
|
|
557
|
+
onChange: (e) => {
|
|
558
|
+
F(e.target.value), G(1);
|
|
559
|
+
},
|
|
560
|
+
placeholder: "Actor ID",
|
|
561
|
+
className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
|
|
562
|
+
})] })
|
|
563
|
+
]
|
|
564
|
+
})] }),
|
|
565
|
+
/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("h3", {
|
|
566
|
+
className: "text-sm font-medium text-text-primary mb-3",
|
|
567
|
+
children: "Created Date Range"
|
|
568
|
+
}), /* @__PURE__ */ b("div", {
|
|
569
|
+
className: "space-y-3",
|
|
570
|
+
children: [/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
|
|
571
|
+
className: "block text-xs text-text-tertiary mb-1",
|
|
572
|
+
children: "From"
|
|
573
|
+
}), /* @__PURE__ */ y("input", {
|
|
574
|
+
"aria-label": "Created from date",
|
|
575
|
+
type: "date",
|
|
576
|
+
value: L,
|
|
577
|
+
onChange: (e) => {
|
|
578
|
+
Ge(e.target.value), G(1);
|
|
579
|
+
},
|
|
580
|
+
className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
|
|
581
|
+
})] }), /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
|
|
582
|
+
className: "block text-xs text-text-tertiary mb-1",
|
|
583
|
+
children: "To"
|
|
584
|
+
}), /* @__PURE__ */ y("input", {
|
|
585
|
+
"aria-label": "Created to date",
|
|
586
|
+
type: "date",
|
|
587
|
+
value: R,
|
|
588
|
+
onChange: (e) => {
|
|
589
|
+
Ke(e.target.value), G(1);
|
|
590
|
+
},
|
|
591
|
+
className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
|
|
592
|
+
})] })]
|
|
593
|
+
})] }),
|
|
594
|
+
/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("h3", {
|
|
595
|
+
className: "text-sm font-medium text-text-primary mb-3",
|
|
596
|
+
children: "Updated Date Range"
|
|
597
|
+
}), /* @__PURE__ */ b("div", {
|
|
598
|
+
className: "space-y-3",
|
|
599
|
+
children: [/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
|
|
600
|
+
className: "block text-xs text-text-tertiary mb-1",
|
|
601
|
+
children: "From"
|
|
602
|
+
}), /* @__PURE__ */ y("input", {
|
|
603
|
+
"aria-label": "Updated from date",
|
|
604
|
+
type: "date",
|
|
605
|
+
value: z,
|
|
606
|
+
onChange: (e) => {
|
|
607
|
+
qe(e.target.value), G(1);
|
|
608
|
+
},
|
|
609
|
+
className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
|
|
610
|
+
})] }), /* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
|
|
611
|
+
className: "block text-xs text-text-tertiary mb-1",
|
|
612
|
+
children: "To"
|
|
613
|
+
}), /* @__PURE__ */ y("input", {
|
|
614
|
+
"aria-label": "Updated to date",
|
|
615
|
+
type: "date",
|
|
616
|
+
value: B,
|
|
617
|
+
onChange: (e) => {
|
|
618
|
+
Je(e.target.value), G(1);
|
|
619
|
+
},
|
|
620
|
+
className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
|
|
621
|
+
})] })]
|
|
622
|
+
})] }),
|
|
623
|
+
/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("h3", {
|
|
624
|
+
className: "text-sm font-medium text-text-primary mb-3",
|
|
625
|
+
children: "Tag Filters"
|
|
626
|
+
}), /* @__PURE__ */ b("div", {
|
|
627
|
+
className: "space-y-3",
|
|
628
|
+
children: [
|
|
629
|
+
/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
|
|
630
|
+
className: "block text-xs text-text-tertiary mb-1",
|
|
631
|
+
children: "Tag IDs"
|
|
632
|
+
}), /* @__PURE__ */ y("input", {
|
|
633
|
+
"aria-label": "Tag IDs filter",
|
|
634
|
+
type: "text",
|
|
635
|
+
value: Ze,
|
|
636
|
+
onChange: (e) => {
|
|
637
|
+
Qe(e.target.value), G(1);
|
|
638
|
+
},
|
|
639
|
+
placeholder: "Comma-separated tag IDs",
|
|
640
|
+
className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
|
|
641
|
+
})] }),
|
|
642
|
+
/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
|
|
643
|
+
className: "block text-xs text-text-tertiary mb-1",
|
|
644
|
+
children: "Tag Keys"
|
|
645
|
+
}), /* @__PURE__ */ y("input", {
|
|
646
|
+
"aria-label": "Tag keys filter",
|
|
647
|
+
type: "text",
|
|
648
|
+
value: $e,
|
|
649
|
+
onChange: (e) => {
|
|
650
|
+
et(e.target.value), G(1);
|
|
651
|
+
},
|
|
652
|
+
placeholder: "Comma-separated tag keys",
|
|
653
|
+
className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
|
|
654
|
+
})] }),
|
|
655
|
+
/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
|
|
656
|
+
className: "block text-xs text-text-tertiary mb-1",
|
|
657
|
+
children: "Hierarchy Paths"
|
|
658
|
+
}), /* @__PURE__ */ y("input", {
|
|
659
|
+
"aria-label": "Tag hierarchy paths filter",
|
|
660
|
+
type: "text",
|
|
661
|
+
value: tt,
|
|
662
|
+
onChange: (e) => {
|
|
663
|
+
nt(e.target.value), G(1);
|
|
664
|
+
},
|
|
665
|
+
placeholder: "team/engineering, finance/payables",
|
|
666
|
+
className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
|
|
667
|
+
})] }),
|
|
668
|
+
/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
|
|
669
|
+
className: "block text-xs text-text-tertiary mb-1",
|
|
670
|
+
children: "Vocabulary Keys"
|
|
671
|
+
}), /* @__PURE__ */ y("input", {
|
|
672
|
+
"aria-label": "Tag vocabulary keys filter",
|
|
673
|
+
type: "text",
|
|
674
|
+
value: rt,
|
|
675
|
+
onChange: (e) => {
|
|
676
|
+
it(e.target.value), G(1);
|
|
677
|
+
},
|
|
678
|
+
placeholder: "project-tags, workspace-tags",
|
|
679
|
+
className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
|
|
680
|
+
})] }),
|
|
681
|
+
/* @__PURE__ */ b("div", {
|
|
682
|
+
className: "grid grid-cols-2 gap-3",
|
|
683
|
+
children: [/* @__PURE__ */ b("label", {
|
|
684
|
+
className: "flex items-center gap-2 text-sm text-text-secondary cursor-pointer",
|
|
685
|
+
children: [/* @__PURE__ */ y("input", {
|
|
686
|
+
type: "checkbox",
|
|
687
|
+
checked: at,
|
|
688
|
+
onChange: (e) => {
|
|
689
|
+
ot(e.target.checked), G(1);
|
|
690
|
+
},
|
|
691
|
+
className: "h-4 w-4 rounded border-border-default text-primary-default focus:ring-primary-default"
|
|
692
|
+
}), "Match all"]
|
|
693
|
+
}), /* @__PURE__ */ b("label", {
|
|
694
|
+
className: "flex items-center gap-2 text-sm text-text-secondary cursor-pointer",
|
|
695
|
+
children: [/* @__PURE__ */ y("input", {
|
|
696
|
+
type: "checkbox",
|
|
697
|
+
checked: st,
|
|
698
|
+
onChange: (e) => {
|
|
699
|
+
ct(e.target.checked), G(1);
|
|
700
|
+
},
|
|
701
|
+
className: "h-4 w-4 rounded border-border-default text-primary-default focus:ring-primary-default"
|
|
702
|
+
}), "Include descendants"]
|
|
703
|
+
})]
|
|
704
|
+
}),
|
|
705
|
+
/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
|
|
706
|
+
className: "block text-xs text-text-tertiary mb-1",
|
|
707
|
+
children: "Tag depth"
|
|
708
|
+
}), /* @__PURE__ */ y("input", {
|
|
709
|
+
"aria-label": "Tag depth filter",
|
|
710
|
+
type: "number",
|
|
711
|
+
min: "1",
|
|
712
|
+
value: V,
|
|
713
|
+
onChange: (e) => {
|
|
714
|
+
lt(e.target.value), G(1);
|
|
715
|
+
},
|
|
716
|
+
placeholder: "Optional depth limit",
|
|
717
|
+
className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
|
|
718
|
+
})] })
|
|
719
|
+
]
|
|
720
|
+
})] }),
|
|
721
|
+
/* @__PURE__ */ b("div", {
|
|
722
|
+
className: "xl:col-span-2",
|
|
723
|
+
children: [/* @__PURE__ */ b("div", {
|
|
724
|
+
className: "flex items-center justify-between mb-3",
|
|
725
|
+
children: [/* @__PURE__ */ y("h3", {
|
|
726
|
+
className: "text-sm font-medium text-text-primary",
|
|
727
|
+
children: "Metadata Conditions"
|
|
728
|
+
}), /* @__PURE__ */ b("button", {
|
|
729
|
+
type: "button",
|
|
730
|
+
onClick: kt,
|
|
731
|
+
className: "inline-flex items-center gap-1 text-xs text-primary-default hover:text-primary-default/80",
|
|
732
|
+
children: [/* @__PURE__ */ y(ce, { className: "h-3.5 w-3.5" }), "Add condition"]
|
|
733
|
+
})]
|
|
734
|
+
}), /* @__PURE__ */ y("div", {
|
|
735
|
+
className: "space-y-3",
|
|
736
|
+
children: H.length === 0 ? /* @__PURE__ */ y("span", {
|
|
737
|
+
className: "text-sm text-text-tertiary",
|
|
738
|
+
children: "No metadata conditions applied."
|
|
739
|
+
}) : H.map((e, t) => /* @__PURE__ */ b("div", {
|
|
740
|
+
className: "grid grid-cols-1 md:grid-cols-[1.4fr_auto_1.4fr_auto] gap-2 items-center",
|
|
741
|
+
children: [
|
|
742
|
+
/* @__PURE__ */ y("input", {
|
|
743
|
+
"aria-label": `Metadata key ${t + 1}`,
|
|
744
|
+
type: "text",
|
|
745
|
+
value: e.key,
|
|
746
|
+
onChange: (e) => At(t, { key: e.target.value }),
|
|
747
|
+
placeholder: "metadata.path",
|
|
748
|
+
className: "h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
|
|
749
|
+
}),
|
|
750
|
+
/* @__PURE__ */ b("select", {
|
|
751
|
+
"aria-label": `Metadata operator ${t + 1}`,
|
|
752
|
+
value: e.operator,
|
|
753
|
+
onChange: (e) => At(t, { operator: e.target.value }),
|
|
754
|
+
className: "h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default",
|
|
755
|
+
children: [
|
|
756
|
+
/* @__PURE__ */ y("option", {
|
|
757
|
+
value: "EQUALS",
|
|
758
|
+
children: "Equals"
|
|
759
|
+
}),
|
|
760
|
+
/* @__PURE__ */ y("option", {
|
|
761
|
+
value: "NOT_EQUALS",
|
|
762
|
+
children: "Not equals"
|
|
763
|
+
}),
|
|
764
|
+
/* @__PURE__ */ y("option", {
|
|
765
|
+
value: "CONTAINS",
|
|
766
|
+
children: "Contains"
|
|
767
|
+
}),
|
|
768
|
+
/* @__PURE__ */ y("option", {
|
|
769
|
+
value: "STARTS_WITH",
|
|
770
|
+
children: "Starts with"
|
|
771
|
+
})
|
|
772
|
+
]
|
|
773
|
+
}),
|
|
774
|
+
/* @__PURE__ */ y("input", {
|
|
775
|
+
"aria-label": `Metadata value ${t + 1}`,
|
|
776
|
+
type: "text",
|
|
777
|
+
value: e.value,
|
|
778
|
+
onChange: (e) => At(t, { value: e.target.value }),
|
|
779
|
+
placeholder: "Expected value",
|
|
780
|
+
className: "h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
|
|
781
|
+
}),
|
|
782
|
+
/* @__PURE__ */ y("button", {
|
|
783
|
+
type: "button",
|
|
784
|
+
onClick: () => jt(t),
|
|
785
|
+
className: "inline-flex items-center justify-center h-9 w-9 rounded-md border border-border-default text-text-secondary hover:bg-bg-muted",
|
|
786
|
+
"aria-label": `Remove metadata condition ${t + 1}`,
|
|
787
|
+
children: /* @__PURE__ */ y(v, { className: "h-4 w-4" })
|
|
788
|
+
})
|
|
789
|
+
]
|
|
790
|
+
}, `metadata-condition-${t}`))
|
|
791
|
+
})]
|
|
792
|
+
}),
|
|
793
|
+
/* @__PURE__ */ b("div", {
|
|
794
|
+
className: "xl:col-span-2",
|
|
795
|
+
children: [/* @__PURE__ */ y("h3", {
|
|
796
|
+
className: "text-sm font-medium text-text-primary mb-3",
|
|
797
|
+
children: "Exclusions & Active Filters"
|
|
798
|
+
}), /* @__PURE__ */ b("div", {
|
|
799
|
+
className: "space-y-4",
|
|
800
|
+
children: [/* @__PURE__ */ b("div", { children: [/* @__PURE__ */ y("label", {
|
|
801
|
+
className: "block text-xs text-text-tertiary mb-1",
|
|
802
|
+
children: "Exclude entity IDs"
|
|
803
|
+
}), /* @__PURE__ */ y("input", {
|
|
804
|
+
"aria-label": "Exclude entity IDs filter",
|
|
805
|
+
type: "text",
|
|
806
|
+
value: Ye,
|
|
807
|
+
onChange: (e) => {
|
|
808
|
+
Xe(e.target.value), G(1);
|
|
809
|
+
},
|
|
810
|
+
placeholder: "Comma-separated entity IDs",
|
|
811
|
+
className: "w-full h-9 px-3 text-sm rounded-md border border-border-default bg-bg-canvas text-text-primary focus:outline-none focus:ring-2 focus:ring-primary-default"
|
|
812
|
+
})] }), /* @__PURE__ */ b("div", {
|
|
813
|
+
className: "flex flex-wrap gap-2",
|
|
814
|
+
children: [
|
|
815
|
+
k.map((e) => /* @__PURE__ */ b("span", {
|
|
816
|
+
className: "inline-flex items-center gap-1 px-2 py-1 text-xs bg-primary-default/10 text-primary-default rounded-full",
|
|
817
|
+
children: [s.find((t) => t.value === e)?.label || e, /* @__PURE__ */ y("button", {
|
|
818
|
+
type: "button",
|
|
819
|
+
onClick: () => Dt(e),
|
|
820
|
+
className: "hover:bg-primary-default/20 rounded-full p-0.5",
|
|
821
|
+
children: /* @__PURE__ */ y(v, { className: "h-3 w-3" })
|
|
822
|
+
})]
|
|
823
|
+
}, `include-${e}`)),
|
|
824
|
+
A.map((e) => /* @__PURE__ */ b("span", {
|
|
825
|
+
className: "inline-flex items-center gap-1 px-2 py-1 text-xs bg-bg-muted text-text-secondary rounded-full",
|
|
826
|
+
children: [
|
|
827
|
+
"Excluding ",
|
|
828
|
+
e,
|
|
829
|
+
/* @__PURE__ */ y("button", {
|
|
830
|
+
type: "button",
|
|
831
|
+
onClick: () => Ot(e),
|
|
832
|
+
className: "hover:bg-bg-canvas rounded-full p-0.5",
|
|
833
|
+
children: /* @__PURE__ */ y(v, { className: "h-3 w-3" })
|
|
834
|
+
})
|
|
835
|
+
]
|
|
836
|
+
}, `exclude-chip-${e}`)),
|
|
837
|
+
j.map((e) => /* @__PURE__ */ b("span", {
|
|
838
|
+
className: "inline-flex items-center gap-1 px-2 py-1 text-xs bg-primary-default/10 text-primary-default rounded-full",
|
|
839
|
+
children: [
|
|
840
|
+
"Product: ",
|
|
841
|
+
Ft.find((t) => t.value === e)?.label || e,
|
|
842
|
+
/* @__PURE__ */ y("button", {
|
|
843
|
+
type: "button",
|
|
844
|
+
onClick: () => It(e),
|
|
845
|
+
className: "hover:bg-primary-default/20 rounded-full p-0.5",
|
|
846
|
+
children: /* @__PURE__ */ y(v, { className: "h-3 w-3" })
|
|
847
|
+
})
|
|
848
|
+
]
|
|
849
|
+
}, e)),
|
|
850
|
+
M && /* @__PURE__ */ b("span", {
|
|
851
|
+
className: "inline-flex items-center gap-1 px-2 py-1 text-xs bg-primary-default/10 text-primary-default rounded-full",
|
|
852
|
+
children: [
|
|
853
|
+
"Created by: ",
|
|
854
|
+
M,
|
|
855
|
+
/* @__PURE__ */ y("button", {
|
|
856
|
+
type: "button",
|
|
857
|
+
onClick: () => N(""),
|
|
858
|
+
className: "hover:bg-primary-default/20 rounded-full p-0.5",
|
|
859
|
+
children: /* @__PURE__ */ y(v, { className: "h-3 w-3" })
|
|
860
|
+
})
|
|
861
|
+
]
|
|
862
|
+
}),
|
|
863
|
+
P && /* @__PURE__ */ b("span", {
|
|
864
|
+
className: "inline-flex items-center gap-1 px-2 py-1 text-xs bg-primary-default/10 text-primary-default rounded-full",
|
|
865
|
+
children: [
|
|
866
|
+
"Updated by: ",
|
|
867
|
+
P,
|
|
868
|
+
/* @__PURE__ */ y("button", {
|
|
869
|
+
type: "button",
|
|
870
|
+
onClick: () => F(""),
|
|
871
|
+
className: "hover:bg-primary-default/20 rounded-full p-0.5",
|
|
872
|
+
children: /* @__PURE__ */ y(v, { className: "h-3 w-3" })
|
|
873
|
+
})
|
|
874
|
+
]
|
|
875
|
+
}),
|
|
876
|
+
I && /* @__PURE__ */ b("span", {
|
|
877
|
+
className: "inline-flex items-center gap-1 px-2 py-1 text-xs bg-primary-default/10 text-primary-default rounded-full",
|
|
878
|
+
children: [
|
|
879
|
+
"Project: ",
|
|
880
|
+
I,
|
|
881
|
+
/* @__PURE__ */ y("button", {
|
|
882
|
+
type: "button",
|
|
883
|
+
onClick: () => We(""),
|
|
884
|
+
className: "hover:bg-primary-default/20 rounded-full p-0.5",
|
|
885
|
+
children: /* @__PURE__ */ y(v, { className: "h-3 w-3" })
|
|
886
|
+
})
|
|
887
|
+
]
|
|
888
|
+
}),
|
|
889
|
+
(L || R) && /* @__PURE__ */ b("span", {
|
|
890
|
+
className: "inline-flex items-center gap-1 px-2 py-1 text-xs bg-primary-default/10 text-primary-default rounded-full",
|
|
891
|
+
children: [
|
|
892
|
+
"Created: ",
|
|
893
|
+
L || "…",
|
|
894
|
+
" → ",
|
|
895
|
+
R || "…",
|
|
896
|
+
/* @__PURE__ */ y("button", {
|
|
897
|
+
type: "button",
|
|
898
|
+
onClick: () => {
|
|
899
|
+
Ge(""), Ke("");
|
|
900
|
+
},
|
|
901
|
+
className: "hover:bg-primary-default/20 rounded-full p-0.5",
|
|
902
|
+
children: /* @__PURE__ */ y(v, { className: "h-3 w-3" })
|
|
903
|
+
})
|
|
904
|
+
]
|
|
905
|
+
}),
|
|
906
|
+
(z || B) && /* @__PURE__ */ b("span", {
|
|
907
|
+
className: "inline-flex items-center gap-1 px-2 py-1 text-xs bg-primary-default/10 text-primary-default rounded-full",
|
|
908
|
+
children: [
|
|
909
|
+
"Updated: ",
|
|
910
|
+
z || "…",
|
|
911
|
+
" →",
|
|
912
|
+
" ",
|
|
913
|
+
B || "…",
|
|
914
|
+
/* @__PURE__ */ y("button", {
|
|
915
|
+
type: "button",
|
|
916
|
+
onClick: () => {
|
|
917
|
+
qe(""), Je("");
|
|
918
|
+
},
|
|
919
|
+
className: "hover:bg-primary-default/20 rounded-full p-0.5",
|
|
920
|
+
children: /* @__PURE__ */ y(v, { className: "h-3 w-3" })
|
|
921
|
+
})
|
|
922
|
+
]
|
|
923
|
+
}),
|
|
924
|
+
Z && /* @__PURE__ */ b("span", {
|
|
925
|
+
className: "inline-flex items-center gap-1 px-2 py-1 text-xs bg-primary-default/10 text-primary-default rounded-full",
|
|
926
|
+
children: ["Tag filter active", /* @__PURE__ */ y("button", {
|
|
927
|
+
type: "button",
|
|
928
|
+
onClick: () => {
|
|
929
|
+
Qe(""), et(""), nt(""), it(""), ot(!1), ct(!0), lt("");
|
|
930
|
+
},
|
|
931
|
+
className: "hover:bg-primary-default/20 rounded-full p-0.5",
|
|
932
|
+
children: /* @__PURE__ */ y(v, { className: "h-3 w-3" })
|
|
933
|
+
})]
|
|
934
|
+
}),
|
|
935
|
+
X.length > 0 && /* @__PURE__ */ b("span", {
|
|
936
|
+
className: "inline-flex items-center gap-1 px-2 py-1 text-xs bg-primary-default/10 text-primary-default rounded-full",
|
|
937
|
+
children: [
|
|
938
|
+
X.length,
|
|
939
|
+
" metadata condition",
|
|
940
|
+
X.length > 1 ? "s" : "",
|
|
941
|
+
/* @__PURE__ */ y("button", {
|
|
942
|
+
type: "button",
|
|
943
|
+
onClick: () => U([]),
|
|
944
|
+
className: "hover:bg-primary-default/20 rounded-full p-0.5",
|
|
945
|
+
children: /* @__PURE__ */ y(v, { className: "h-3 w-3" })
|
|
946
|
+
})
|
|
947
|
+
]
|
|
948
|
+
}),
|
|
949
|
+
Y.length > 0 && /* @__PURE__ */ b("span", {
|
|
950
|
+
className: "inline-flex items-center gap-1 px-2 py-1 text-xs bg-bg-muted text-text-secondary rounded-full",
|
|
951
|
+
children: [
|
|
952
|
+
Y.length,
|
|
953
|
+
" excluded ID",
|
|
954
|
+
Y.length > 1 ? "s" : "",
|
|
955
|
+
/* @__PURE__ */ y("button", {
|
|
956
|
+
type: "button",
|
|
957
|
+
onClick: () => Xe(""),
|
|
958
|
+
className: "hover:bg-bg-canvas rounded-full p-0.5",
|
|
959
|
+
children: /* @__PURE__ */ y(v, { className: "h-3 w-3" })
|
|
960
|
+
})
|
|
961
|
+
]
|
|
962
|
+
}),
|
|
963
|
+
Q === 0 && /* @__PURE__ */ y("span", {
|
|
964
|
+
className: "text-sm text-text-tertiary",
|
|
965
|
+
children: "No active filters"
|
|
966
|
+
})
|
|
967
|
+
]
|
|
968
|
+
})]
|
|
969
|
+
})]
|
|
970
|
+
})
|
|
971
|
+
]
|
|
972
|
+
})
|
|
973
|
+
}),
|
|
974
|
+
E && /* @__PURE__ */ y("div", {
|
|
975
|
+
className: "flex items-center justify-between mb-4",
|
|
976
|
+
children: /* @__PURE__ */ y("div", {
|
|
977
|
+
className: "text-sm text-text-secondary",
|
|
978
|
+
children: w ? /* @__PURE__ */ b("span", {
|
|
979
|
+
className: "flex items-center gap-2",
|
|
980
|
+
children: [/* @__PURE__ */ y(se, { className: "h-4 w-4 animate-spin" }), "Searching..."]
|
|
981
|
+
}) : yt ? /* @__PURE__ */ y("span", {
|
|
982
|
+
className: "text-danger-default",
|
|
983
|
+
children: yt
|
|
984
|
+
}) : /* @__PURE__ */ b("span", { children: [
|
|
985
|
+
"Found ",
|
|
986
|
+
/* @__PURE__ */ y("strong", { children: dt }),
|
|
987
|
+
" results",
|
|
988
|
+
ht > 0 && /* @__PURE__ */ b("span", {
|
|
989
|
+
className: "text-text-tertiary",
|
|
990
|
+
children: [
|
|
991
|
+
" ",
|
|
992
|
+
"in ",
|
|
993
|
+
ht,
|
|
994
|
+
"ms"
|
|
995
|
+
]
|
|
996
|
+
})
|
|
997
|
+
] })
|
|
998
|
+
})
|
|
999
|
+
}),
|
|
1000
|
+
/* @__PURE__ */ b("div", {
|
|
1001
|
+
className: "space-y-3",
|
|
1002
|
+
children: [
|
|
1003
|
+
w && K.length === 0 && /* @__PURE__ */ y(ue, { children: [
|
|
1004
|
+
1,
|
|
1005
|
+
2,
|
|
1006
|
+
3,
|
|
1007
|
+
4,
|
|
1008
|
+
5
|
|
1009
|
+
].map((e) => /* @__PURE__ */ y("div", {
|
|
1010
|
+
className: "p-4 bg-bg-surface rounded-lg border border-border-default animate-pulse",
|
|
1011
|
+
children: /* @__PURE__ */ b("div", {
|
|
1012
|
+
className: "flex items-start gap-3",
|
|
1013
|
+
children: [/* @__PURE__ */ y("div", { className: "w-10 h-10 rounded-md bg-bg-muted" }), /* @__PURE__ */ b("div", {
|
|
1014
|
+
className: "flex-1",
|
|
1015
|
+
children: [/* @__PURE__ */ y("div", { className: "h-5 w-1/3 bg-bg-muted rounded mb-2" }), /* @__PURE__ */ y("div", { className: "h-4 w-2/3 bg-bg-muted rounded" })]
|
|
1016
|
+
})]
|
|
1017
|
+
})
|
|
1018
|
+
}, e)) }),
|
|
1019
|
+
!w && !yt && K.length === 0 && E && /* @__PURE__ */ b("div", {
|
|
1020
|
+
className: "py-12 text-center",
|
|
1021
|
+
children: [
|
|
1022
|
+
/* @__PURE__ */ y(p, { className: "h-12 w-12 mx-auto text-text-tertiary mb-4" }),
|
|
1023
|
+
/* @__PURE__ */ y("h3", {
|
|
1024
|
+
className: "text-lg font-medium text-text-primary mb-2",
|
|
1025
|
+
children: "No results found"
|
|
1026
|
+
}),
|
|
1027
|
+
/* @__PURE__ */ b("p", {
|
|
1028
|
+
className: "text-text-secondary max-w-md mx-auto",
|
|
1029
|
+
children: [
|
|
1030
|
+
"No results found for \"",
|
|
1031
|
+
E,
|
|
1032
|
+
"\". Try adjusting your search terms or filters."
|
|
1033
|
+
]
|
|
1034
|
+
}),
|
|
1035
|
+
/* @__PURE__ */ b("div", {
|
|
1036
|
+
className: "mt-6 space-y-2 text-sm text-text-tertiary",
|
|
1037
|
+
children: [/* @__PURE__ */ y("p", { children: "Suggestions:" }), /* @__PURE__ */ b("ul", {
|
|
1038
|
+
className: "list-disc list-inside",
|
|
1039
|
+
children: [
|
|
1040
|
+
/* @__PURE__ */ y("li", { children: "Check your spelling" }),
|
|
1041
|
+
/* @__PURE__ */ y("li", { children: "Try more general keywords" }),
|
|
1042
|
+
/* @__PURE__ */ y("li", { children: "Use fewer filters" }),
|
|
1043
|
+
/* @__PURE__ */ y("li", { children: "Try \"Partial\" search mode for autocomplete" })
|
|
1044
|
+
]
|
|
1045
|
+
})]
|
|
1046
|
+
})
|
|
1047
|
+
]
|
|
1048
|
+
}),
|
|
1049
|
+
!w && !E && /* @__PURE__ */ b("div", {
|
|
1050
|
+
className: "py-12 text-center",
|
|
1051
|
+
children: [
|
|
1052
|
+
/* @__PURE__ */ y(p, { className: "h-12 w-12 mx-auto text-text-tertiary mb-4" }),
|
|
1053
|
+
/* @__PURE__ */ y("h3", {
|
|
1054
|
+
className: "text-lg font-medium text-text-primary mb-2",
|
|
1055
|
+
children: "Start searching"
|
|
1056
|
+
}),
|
|
1057
|
+
/* @__PURE__ */ y("p", {
|
|
1058
|
+
className: "text-text-secondary max-w-md mx-auto",
|
|
1059
|
+
children: "Enter a search term above to find documents, tags, projects, tasks, and more across your workspace."
|
|
1060
|
+
})
|
|
1061
|
+
]
|
|
1062
|
+
}),
|
|
1063
|
+
K.map((e) => /* @__PURE__ */ y("button", {
|
|
1064
|
+
onClick: () => Nt(e),
|
|
1065
|
+
className: "w-full p-4 bg-bg-surface rounded-lg border border-border-default hover:border-primary-default hover:shadow-sm transition-all text-left group",
|
|
1066
|
+
children: /* @__PURE__ */ b("div", {
|
|
1067
|
+
className: "flex items-start gap-3",
|
|
1068
|
+
children: [/* @__PURE__ */ y("div", {
|
|
1069
|
+
className: "flex-shrink-0 w-10 h-10 rounded-md bg-bg-muted flex items-center justify-center group-hover:bg-primary-default/10 transition-colors",
|
|
1070
|
+
children: /* @__PURE__ */ y(Pt(e.entityType || e.category), { className: "h-5 w-5 text-text-tertiary group-hover:text-primary-default" })
|
|
1071
|
+
}), /* @__PURE__ */ b("div", {
|
|
1072
|
+
className: "flex-1 min-w-0",
|
|
1073
|
+
children: [
|
|
1074
|
+
/* @__PURE__ */ b("div", {
|
|
1075
|
+
className: "flex items-center gap-2 mb-1",
|
|
1076
|
+
children: [
|
|
1077
|
+
/* @__PURE__ */ y("h3", {
|
|
1078
|
+
className: "text-base font-medium text-text-primary truncate group-hover:text-primary-default",
|
|
1079
|
+
children: e.title
|
|
1080
|
+
}),
|
|
1081
|
+
/* @__PURE__ */ y("span", {
|
|
1082
|
+
className: "flex-shrink-0 px-2 py-0.5 text-xs font-medium bg-bg-muted text-text-tertiary rounded",
|
|
1083
|
+
children: e.entityType || e.category
|
|
1084
|
+
}),
|
|
1085
|
+
e.productSource && /* @__PURE__ */ y("span", {
|
|
1086
|
+
className: "flex-shrink-0 px-2 py-0.5 text-xs font-medium bg-bg-muted text-text-tertiary rounded",
|
|
1087
|
+
children: e.productSource
|
|
1088
|
+
})
|
|
1089
|
+
]
|
|
1090
|
+
}),
|
|
1091
|
+
e.description && /* @__PURE__ */ y("p", {
|
|
1092
|
+
className: "text-sm text-text-secondary line-clamp-2",
|
|
1093
|
+
children: e.description
|
|
1094
|
+
}),
|
|
1095
|
+
/* @__PURE__ */ b("div", {
|
|
1096
|
+
className: "flex items-center gap-4 mt-2 text-xs text-text-tertiary",
|
|
1097
|
+
children: [e.score !== void 0 && e.score > 0 && /* @__PURE__ */ b("span", {
|
|
1098
|
+
className: "flex items-center gap-1",
|
|
1099
|
+
children: ["Score: ", e.score.toFixed(2)]
|
|
1100
|
+
}), e.metadata?.createdAt && /* @__PURE__ */ b("span", {
|
|
1101
|
+
className: "flex items-center gap-1",
|
|
1102
|
+
children: [/* @__PURE__ */ y(oe, { className: "h-3 w-3" }), new Date(String(e.metadata.createdAt)).toLocaleDateString()]
|
|
1103
|
+
})]
|
|
1104
|
+
})
|
|
1105
|
+
]
|
|
1106
|
+
})]
|
|
1107
|
+
})
|
|
1108
|
+
}, e.id))
|
|
1109
|
+
]
|
|
1110
|
+
}),
|
|
1111
|
+
K.length > 0 && $ > 1 && /* @__PURE__ */ b("div", {
|
|
1112
|
+
className: "flex items-center justify-center gap-2 mt-8",
|
|
1113
|
+
children: [
|
|
1114
|
+
/* @__PURE__ */ b("button", {
|
|
1115
|
+
onClick: () => G((e) => Math.max(1, e - 1)),
|
|
1116
|
+
disabled: W === 1,
|
|
1117
|
+
className: "flex items-center gap-1 px-3 py-2 text-sm rounded-md border border-border-default bg-bg-surface text-text-secondary hover:bg-bg-muted disabled:opacity-50 disabled:cursor-not-allowed",
|
|
1118
|
+
children: [/* @__PURE__ */ y(re, { className: "h-4 w-4" }), "Previous"]
|
|
1119
|
+
}),
|
|
1120
|
+
/* @__PURE__ */ y("div", {
|
|
1121
|
+
className: "flex items-center gap-1",
|
|
1122
|
+
children: Array.from({ length: Math.min(5, $) }, (e, t) => {
|
|
1123
|
+
let n;
|
|
1124
|
+
return n = $ <= 5 || W <= 3 ? t + 1 : W >= $ - 2 ? $ - 4 + t : W - 2 + t, /* @__PURE__ */ y("button", {
|
|
1125
|
+
onClick: () => G(n),
|
|
1126
|
+
className: `w-9 h-9 text-sm rounded-md transition-colors ${W === n ? "bg-primary-default text-primary-foreground" : "border border-border-default bg-bg-surface text-text-secondary hover:bg-bg-muted"}`,
|
|
1127
|
+
children: n
|
|
1128
|
+
}, n);
|
|
1129
|
+
})
|
|
1130
|
+
}),
|
|
1131
|
+
/* @__PURE__ */ b("button", {
|
|
1132
|
+
onClick: () => G((e) => Math.min($, e + 1)),
|
|
1133
|
+
disabled: W === $ || !pt,
|
|
1134
|
+
className: "flex items-center gap-1 px-3 py-2 text-sm rounded-md border border-border-default bg-bg-surface text-text-secondary hover:bg-bg-muted disabled:opacity-50 disabled:cursor-not-allowed",
|
|
1135
|
+
children: ["Next", /* @__PURE__ */ y(ie, { className: "h-4 w-4" })]
|
|
1136
|
+
})
|
|
1137
|
+
]
|
|
1138
|
+
})
|
|
1139
|
+
]
|
|
1140
|
+
})
|
|
1141
|
+
});
|
|
1142
|
+
}
|
|
1143
|
+
//#endregion
|
|
1144
|
+
export { be as SearchPage };
|