@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,272 @@
|
|
|
1
|
+
import { memo as e, useEffect as t, useMemo as n, useState as r } from "react";
|
|
2
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
3
|
+
//#region src/shared/tours/TourTooltip.tsx
|
|
4
|
+
var o = 320, s = 16, c = 10;
|
|
5
|
+
function l(e, t) {
|
|
6
|
+
if (!e) return {
|
|
7
|
+
top: window.innerHeight / 2 - 100,
|
|
8
|
+
left: window.innerWidth / 2 - o / 2,
|
|
9
|
+
arrowPosition: "top"
|
|
10
|
+
};
|
|
11
|
+
let n = window.innerWidth, r = window.innerHeight, i = e.top, a = r - e.bottom, l = e.left, u = n - e.right, d = t;
|
|
12
|
+
(t === "AUTO" || t === "CENTER") && (d = a >= 200 + s ? "BOTTOM" : i >= 200 + s ? "TOP" : u >= o + s ? "RIGHT" : l >= o + s ? "LEFT" : "BOTTOM");
|
|
13
|
+
let f, p, m;
|
|
14
|
+
switch (d) {
|
|
15
|
+
case "TOP":
|
|
16
|
+
f = e.top - 200 - c - s, p = e.left + e.width / 2 - o / 2, m = "bottom";
|
|
17
|
+
break;
|
|
18
|
+
case "BOTTOM":
|
|
19
|
+
f = e.bottom + c + s, p = e.left + e.width / 2 - o / 2, m = "top";
|
|
20
|
+
break;
|
|
21
|
+
case "LEFT":
|
|
22
|
+
f = e.top + e.height / 2 - 200 / 2, p = e.left - o - c - s, m = "right";
|
|
23
|
+
break;
|
|
24
|
+
case "RIGHT":
|
|
25
|
+
f = e.top + e.height / 2 - 200 / 2, p = e.right + c + s, m = "left";
|
|
26
|
+
break;
|
|
27
|
+
default: f = e.bottom + c + s, p = e.left + e.width / 2 - o / 2, m = "top";
|
|
28
|
+
}
|
|
29
|
+
return p < s ? p = s : p + o > n - s && (p = n - o - s), f < s ? f = s : f + 200 > r - s && (f = r - 200 - s), {
|
|
30
|
+
top: f,
|
|
31
|
+
left: p,
|
|
32
|
+
arrowPosition: m
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
var u = e(function({ step: e, stepIndex: s, totalSteps: u, onNext: d, onPrevious: f, onSkip: p, onComplete: m, canGoNext: h, canGoPrevious: g, isLastStep: _, placement: v, targetRect: y }) {
|
|
36
|
+
let [b, x] = r(!1);
|
|
37
|
+
t(() => {
|
|
38
|
+
let e = setTimeout(() => x(!0), 50);
|
|
39
|
+
return () => clearTimeout(e);
|
|
40
|
+
}, [e.id]);
|
|
41
|
+
let S = n(() => l(y, v), [y, v]), C = e.media?.filter((e) => e.position === "HEADER") ?? [], w = e.media?.filter((e) => e.position === "INLINE" || e.position === "BODY") ?? [];
|
|
42
|
+
return /* @__PURE__ */ a("div", {
|
|
43
|
+
className: "tour-tooltip",
|
|
44
|
+
style: {
|
|
45
|
+
position: "fixed",
|
|
46
|
+
top: S.top,
|
|
47
|
+
left: S.left,
|
|
48
|
+
width: o,
|
|
49
|
+
zIndex: 1e4,
|
|
50
|
+
opacity: +!!b,
|
|
51
|
+
transform: b ? "translateY(0)" : "translateY(10px)",
|
|
52
|
+
transition: "opacity 0.2s ease-out, transform 0.2s ease-out"
|
|
53
|
+
},
|
|
54
|
+
role: "dialog",
|
|
55
|
+
"aria-labelledby": `tour-step-title-${e.id}`,
|
|
56
|
+
"aria-describedby": `tour-step-content-${e.id}`,
|
|
57
|
+
children: [/* @__PURE__ */ a("div", {
|
|
58
|
+
style: {
|
|
59
|
+
backgroundColor: "white",
|
|
60
|
+
borderRadius: 12,
|
|
61
|
+
boxShadow: "0 10px 40px rgba(0, 0, 0, 0.2)",
|
|
62
|
+
overflow: "hidden"
|
|
63
|
+
},
|
|
64
|
+
children: [
|
|
65
|
+
C.length > 0 && /* @__PURE__ */ i("div", {
|
|
66
|
+
style: {
|
|
67
|
+
width: "100%",
|
|
68
|
+
maxHeight: 160,
|
|
69
|
+
overflow: "hidden"
|
|
70
|
+
},
|
|
71
|
+
children: C.map((e) => e.media.type === "IMAGE" ? /* @__PURE__ */ i("img", {
|
|
72
|
+
src: e.media.cdnUrl,
|
|
73
|
+
alt: e.media.altText || e.media.name,
|
|
74
|
+
style: {
|
|
75
|
+
width: "100%",
|
|
76
|
+
height: "auto",
|
|
77
|
+
display: "block"
|
|
78
|
+
}
|
|
79
|
+
}, e.id) : e.media.type === "VIDEO" ? /* @__PURE__ */ i("video", {
|
|
80
|
+
src: e.media.cdnUrl,
|
|
81
|
+
controls: !0,
|
|
82
|
+
style: {
|
|
83
|
+
width: "100%",
|
|
84
|
+
height: "auto"
|
|
85
|
+
}
|
|
86
|
+
}, e.id) : null)
|
|
87
|
+
}),
|
|
88
|
+
/* @__PURE__ */ a("div", {
|
|
89
|
+
style: { padding: 20 },
|
|
90
|
+
children: [
|
|
91
|
+
/* @__PURE__ */ a("div", {
|
|
92
|
+
style: {
|
|
93
|
+
display: "flex",
|
|
94
|
+
alignItems: "center",
|
|
95
|
+
justifyContent: "space-between",
|
|
96
|
+
marginBottom: 12
|
|
97
|
+
},
|
|
98
|
+
children: [/* @__PURE__ */ a("span", {
|
|
99
|
+
style: {
|
|
100
|
+
fontSize: 12,
|
|
101
|
+
color: "#6b7280",
|
|
102
|
+
fontWeight: 500
|
|
103
|
+
},
|
|
104
|
+
children: [
|
|
105
|
+
"Step ",
|
|
106
|
+
s + 1,
|
|
107
|
+
" of ",
|
|
108
|
+
u
|
|
109
|
+
]
|
|
110
|
+
}), /* @__PURE__ */ i("div", {
|
|
111
|
+
style: {
|
|
112
|
+
display: "flex",
|
|
113
|
+
gap: 4
|
|
114
|
+
},
|
|
115
|
+
children: Array.from({ length: u }).map((e, t) => /* @__PURE__ */ i("div", { style: {
|
|
116
|
+
width: 8,
|
|
117
|
+
height: 8,
|
|
118
|
+
borderRadius: "50%",
|
|
119
|
+
backgroundColor: t <= s ? "#3b82f6" : "#e5e7eb",
|
|
120
|
+
transition: "background-color 0.2s"
|
|
121
|
+
} }, t))
|
|
122
|
+
})]
|
|
123
|
+
}),
|
|
124
|
+
/* @__PURE__ */ i("h3", {
|
|
125
|
+
id: `tour-step-title-${e.id}`,
|
|
126
|
+
style: {
|
|
127
|
+
fontSize: 18,
|
|
128
|
+
fontWeight: 600,
|
|
129
|
+
color: "#111827",
|
|
130
|
+
margin: "0 0 8px 0",
|
|
131
|
+
lineHeight: 1.3
|
|
132
|
+
},
|
|
133
|
+
children: e.title
|
|
134
|
+
}),
|
|
135
|
+
/* @__PURE__ */ i("p", {
|
|
136
|
+
id: `tour-step-content-${e.id}`,
|
|
137
|
+
style: {
|
|
138
|
+
fontSize: 14,
|
|
139
|
+
color: "#4b5563",
|
|
140
|
+
margin: 0,
|
|
141
|
+
lineHeight: 1.6
|
|
142
|
+
},
|
|
143
|
+
children: e.content
|
|
144
|
+
}),
|
|
145
|
+
w.length > 0 && /* @__PURE__ */ i("div", {
|
|
146
|
+
style: { marginTop: 12 },
|
|
147
|
+
children: w.map((e) => e.media.type === "IMAGE" ? /* @__PURE__ */ i("img", {
|
|
148
|
+
src: e.media.cdnUrl,
|
|
149
|
+
alt: e.media.altText || e.media.name,
|
|
150
|
+
style: {
|
|
151
|
+
width: "100%",
|
|
152
|
+
height: "auto",
|
|
153
|
+
borderRadius: 8
|
|
154
|
+
}
|
|
155
|
+
}, e.id) : null)
|
|
156
|
+
})
|
|
157
|
+
]
|
|
158
|
+
}),
|
|
159
|
+
/* @__PURE__ */ a("div", {
|
|
160
|
+
style: {
|
|
161
|
+
display: "flex",
|
|
162
|
+
alignItems: "center",
|
|
163
|
+
justifyContent: "space-between",
|
|
164
|
+
padding: "12px 20px",
|
|
165
|
+
borderTop: "1px solid #e5e7eb",
|
|
166
|
+
backgroundColor: "#f9fafb"
|
|
167
|
+
},
|
|
168
|
+
children: [/* @__PURE__ */ i("button", {
|
|
169
|
+
onClick: p,
|
|
170
|
+
style: {
|
|
171
|
+
padding: "8px 12px",
|
|
172
|
+
fontSize: 14,
|
|
173
|
+
color: "#6b7280",
|
|
174
|
+
backgroundColor: "transparent",
|
|
175
|
+
border: "none",
|
|
176
|
+
borderRadius: 6,
|
|
177
|
+
cursor: "pointer",
|
|
178
|
+
transition: "color 0.2s"
|
|
179
|
+
},
|
|
180
|
+
onMouseEnter: (e) => e.currentTarget.style.color = "#111827",
|
|
181
|
+
onMouseLeave: (e) => e.currentTarget.style.color = "#6b7280",
|
|
182
|
+
children: "Skip tour"
|
|
183
|
+
}), /* @__PURE__ */ a("div", {
|
|
184
|
+
style: {
|
|
185
|
+
display: "flex",
|
|
186
|
+
gap: 8
|
|
187
|
+
},
|
|
188
|
+
children: [g && /* @__PURE__ */ i("button", {
|
|
189
|
+
onClick: f,
|
|
190
|
+
style: {
|
|
191
|
+
padding: "8px 16px",
|
|
192
|
+
fontSize: 14,
|
|
193
|
+
color: "#374151",
|
|
194
|
+
backgroundColor: "white",
|
|
195
|
+
border: "1px solid #d1d5db",
|
|
196
|
+
borderRadius: 6,
|
|
197
|
+
cursor: "pointer",
|
|
198
|
+
transition: "all 0.2s"
|
|
199
|
+
},
|
|
200
|
+
onMouseEnter: (e) => {
|
|
201
|
+
e.currentTarget.style.backgroundColor = "#f3f4f6";
|
|
202
|
+
},
|
|
203
|
+
onMouseLeave: (e) => {
|
|
204
|
+
e.currentTarget.style.backgroundColor = "white";
|
|
205
|
+
},
|
|
206
|
+
children: "Previous"
|
|
207
|
+
}), /* @__PURE__ */ i("button", {
|
|
208
|
+
onClick: _ ? m : d,
|
|
209
|
+
disabled: !h,
|
|
210
|
+
style: {
|
|
211
|
+
padding: "8px 16px",
|
|
212
|
+
fontSize: 14,
|
|
213
|
+
fontWeight: 500,
|
|
214
|
+
color: "white",
|
|
215
|
+
backgroundColor: h ? "#3b82f6" : "#93c5fd",
|
|
216
|
+
border: "none",
|
|
217
|
+
borderRadius: 6,
|
|
218
|
+
cursor: h ? "pointer" : "not-allowed",
|
|
219
|
+
transition: "background-color 0.2s"
|
|
220
|
+
},
|
|
221
|
+
onMouseEnter: (e) => {
|
|
222
|
+
h && (e.currentTarget.style.backgroundColor = "#2563eb");
|
|
223
|
+
},
|
|
224
|
+
onMouseLeave: (e) => {
|
|
225
|
+
e.currentTarget.style.backgroundColor = h ? "#3b82f6" : "#93c5fd";
|
|
226
|
+
},
|
|
227
|
+
children: _ ? "Finish" : "Next"
|
|
228
|
+
})]
|
|
229
|
+
})]
|
|
230
|
+
})
|
|
231
|
+
]
|
|
232
|
+
}), /* @__PURE__ */ i("div", { style: {
|
|
233
|
+
position: "absolute",
|
|
234
|
+
width: 0,
|
|
235
|
+
height: 0,
|
|
236
|
+
...S.arrowPosition === "top" && {
|
|
237
|
+
top: -c,
|
|
238
|
+
left: "50%",
|
|
239
|
+
marginLeft: -c,
|
|
240
|
+
borderLeft: `${c}px solid transparent`,
|
|
241
|
+
borderRight: `${c}px solid transparent`,
|
|
242
|
+
borderBottom: `${c}px solid white`
|
|
243
|
+
},
|
|
244
|
+
...S.arrowPosition === "bottom" && {
|
|
245
|
+
bottom: -c,
|
|
246
|
+
left: "50%",
|
|
247
|
+
marginLeft: -c,
|
|
248
|
+
borderLeft: `${c}px solid transparent`,
|
|
249
|
+
borderRight: `${c}px solid transparent`,
|
|
250
|
+
borderTop: `${c}px solid white`
|
|
251
|
+
},
|
|
252
|
+
...S.arrowPosition === "left" && {
|
|
253
|
+
left: -c,
|
|
254
|
+
top: "50%",
|
|
255
|
+
marginTop: -c,
|
|
256
|
+
borderTop: `${c}px solid transparent`,
|
|
257
|
+
borderBottom: `${c}px solid transparent`,
|
|
258
|
+
borderRight: `${c}px solid white`
|
|
259
|
+
},
|
|
260
|
+
...S.arrowPosition === "right" && {
|
|
261
|
+
right: -c,
|
|
262
|
+
top: "50%",
|
|
263
|
+
marginTop: -c,
|
|
264
|
+
borderTop: `${c}px solid transparent`,
|
|
265
|
+
borderBottom: `${c}px solid transparent`,
|
|
266
|
+
borderLeft: `${c}px solid white`
|
|
267
|
+
}
|
|
268
|
+
} })]
|
|
269
|
+
});
|
|
270
|
+
});
|
|
271
|
+
//#endregion
|
|
272
|
+
export { u as TourTooltip };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TourTrigger.d.ts","sourceRoot":"","sources":["../../../src/shared/tours/TourTrigger.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAsDH,wBAAgB,WAAW,mDAmQ1B"}
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
import { useSafeShellUi as e } from "../providers/shell/ShellUiProvider.js";
|
|
2
|
+
import { usePlayTour as t } from "./TourPlayer.js";
|
|
3
|
+
import { useSafeToursContext as n } from "./ToursContext.js";
|
|
4
|
+
import { useEffect as r, useRef as i, useState as a } from "react";
|
|
5
|
+
import { ChevronRight as o, HelpCircle as s, Play as c, Sparkles as l, X as u } from "lucide-react";
|
|
6
|
+
import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
7
|
+
//#region src/shared/tours/TourTrigger.tsx
|
|
8
|
+
var m = "bg-bg-muted text-text-tertiary", h = {
|
|
9
|
+
COMPLETED: {
|
|
10
|
+
label: "Completed",
|
|
11
|
+
className: "bg-status-success-bg-subtle text-status-success-text"
|
|
12
|
+
},
|
|
13
|
+
IN_PROGRESS: {
|
|
14
|
+
label: "In progress",
|
|
15
|
+
className: "bg-status-info-bg-subtle text-status-info-text"
|
|
16
|
+
},
|
|
17
|
+
SKIPPED: {
|
|
18
|
+
label: "Skipped",
|
|
19
|
+
className: m
|
|
20
|
+
},
|
|
21
|
+
DISMISSED: {
|
|
22
|
+
label: "Dismissed",
|
|
23
|
+
className: m
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
function g({ status: e }) {
|
|
27
|
+
if (!e) return null;
|
|
28
|
+
let t = h[e];
|
|
29
|
+
return t ? /* @__PURE__ */ f("span", {
|
|
30
|
+
className: `shrink-0 inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium ${t.className}`,
|
|
31
|
+
children: t.label
|
|
32
|
+
}) : null;
|
|
33
|
+
}
|
|
34
|
+
function _() {
|
|
35
|
+
let [m, h] = a(!1), [_, v] = a(!1), y = i(null), b = i(null), { pageTours: x, loading: S } = n(), C = t(), w = e()?.pageAccessDenied ?? !1;
|
|
36
|
+
r(() => {
|
|
37
|
+
let e = () => {
|
|
38
|
+
v(window.innerWidth < 768);
|
|
39
|
+
};
|
|
40
|
+
return e(), window.addEventListener("resize", e), () => window.removeEventListener("resize", e);
|
|
41
|
+
}, []), r(() => {
|
|
42
|
+
let e = (e) => {
|
|
43
|
+
b.current && !b.current.contains(e.target) && y.current && !y.current.contains(e.target) && h(!1);
|
|
44
|
+
};
|
|
45
|
+
return m && (document.addEventListener("mousedown", e), _ && (document.body.style.overflow = "hidden")), () => {
|
|
46
|
+
document.removeEventListener("mousedown", e), document.body.style.overflow = "";
|
|
47
|
+
};
|
|
48
|
+
}, [m, _]), r(() => {
|
|
49
|
+
let e = (e) => {
|
|
50
|
+
e.key === "Escape" && h(!1);
|
|
51
|
+
};
|
|
52
|
+
return m && document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
|
|
53
|
+
}, [m]);
|
|
54
|
+
let T = (e) => {
|
|
55
|
+
h(!1), setTimeout(() => {
|
|
56
|
+
C(e);
|
|
57
|
+
}, 100);
|
|
58
|
+
}, E = x.filter((e) => e.steps && e.steps.length > 0), D = E.length > 0, O = w;
|
|
59
|
+
return r(() => {
|
|
60
|
+
O && m && h(!1);
|
|
61
|
+
}, [O, m]), O ? null : /* @__PURE__ */ p("div", {
|
|
62
|
+
className: "relative",
|
|
63
|
+
children: [
|
|
64
|
+
/* @__PURE__ */ p("button", {
|
|
65
|
+
ref: y,
|
|
66
|
+
onClick: () => h(!m),
|
|
67
|
+
className: `
|
|
68
|
+
relative p-2 rounded-button transition-colors
|
|
69
|
+
${m ? "bg-action-ghost-bg-hover" : "hover:bg-action-ghost-bg-hover"}
|
|
70
|
+
${D ? "text-text-primary" : "text-text-tertiary"}
|
|
71
|
+
`,
|
|
72
|
+
"aria-label": "Help & Tours",
|
|
73
|
+
"aria-expanded": m,
|
|
74
|
+
"aria-haspopup": "true",
|
|
75
|
+
title: "Help & Tours",
|
|
76
|
+
children: [/* @__PURE__ */ f(s, { className: "w-5 h-5" }), D && /* @__PURE__ */ f("span", { className: "absolute top-1 right-1 w-2 h-2 bg-action-primary-bg rounded-full" })]
|
|
77
|
+
}),
|
|
78
|
+
m && _ && /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("div", {
|
|
79
|
+
className: "fixed inset-0 bg-black/50 z-[100] animate-in fade-in duration-200",
|
|
80
|
+
onClick: () => h(!1)
|
|
81
|
+
}), /* @__PURE__ */ p("div", {
|
|
82
|
+
ref: b,
|
|
83
|
+
className: "fixed inset-x-0 bottom-0 z-[101] bg-bg-surface rounded-t-2xl shadow-xl animate-in slide-in-from-bottom duration-300 max-h-[80vh] flex flex-col",
|
|
84
|
+
children: [
|
|
85
|
+
/* @__PURE__ */ f("div", {
|
|
86
|
+
className: "flex justify-center pt-3 pb-2",
|
|
87
|
+
children: /* @__PURE__ */ f("div", { className: "w-10 h-1 bg-border-default rounded-full" })
|
|
88
|
+
}),
|
|
89
|
+
/* @__PURE__ */ p("div", {
|
|
90
|
+
className: "flex items-center justify-between px-4 pb-3 border-b border-border-subtle",
|
|
91
|
+
children: [/* @__PURE__ */ p("div", {
|
|
92
|
+
className: "flex items-center gap-2",
|
|
93
|
+
children: [/* @__PURE__ */ f(l, { className: "w-5 h-5 text-action-primary-bg" }), /* @__PURE__ */ f("h2", {
|
|
94
|
+
className: "text-lg font-semibold text-text-primary",
|
|
95
|
+
children: "Page Tours"
|
|
96
|
+
})]
|
|
97
|
+
}), /* @__PURE__ */ f("button", {
|
|
98
|
+
onClick: () => h(!1),
|
|
99
|
+
className: "p-2 hover:bg-action-ghost-bg-hover rounded-full",
|
|
100
|
+
"aria-label": "Close",
|
|
101
|
+
children: /* @__PURE__ */ f(u, { className: "w-5 h-5" })
|
|
102
|
+
})]
|
|
103
|
+
}),
|
|
104
|
+
/* @__PURE__ */ f("div", {
|
|
105
|
+
className: "flex-1 overflow-y-auto p-4",
|
|
106
|
+
children: S ? /* @__PURE__ */ f("div", {
|
|
107
|
+
className: "flex items-center justify-center py-8",
|
|
108
|
+
children: /* @__PURE__ */ f("div", { className: "animate-spin rounded-full h-6 w-6 border-2 border-action-primary-bg border-t-transparent" })
|
|
109
|
+
}) : E.length > 0 ? /* @__PURE__ */ p("div", {
|
|
110
|
+
className: "space-y-3",
|
|
111
|
+
children: [/* @__PURE__ */ f("p", {
|
|
112
|
+
className: "text-sm text-text-secondary mb-4",
|
|
113
|
+
children: "Take a guided tour to learn about this page:"
|
|
114
|
+
}), E.map((e) => /* @__PURE__ */ f("button", {
|
|
115
|
+
onClick: () => T(e),
|
|
116
|
+
className: "w-full p-4 bg-bg-muted hover:bg-action-ghost-bg-hover rounded-xl transition-colors text-left group",
|
|
117
|
+
children: /* @__PURE__ */ p("div", {
|
|
118
|
+
className: "flex items-center justify-between",
|
|
119
|
+
children: [/* @__PURE__ */ p("div", {
|
|
120
|
+
className: "flex-1 min-w-0",
|
|
121
|
+
children: [
|
|
122
|
+
/* @__PURE__ */ p("div", {
|
|
123
|
+
className: "flex items-center gap-2 min-w-0",
|
|
124
|
+
children: [/* @__PURE__ */ f("h3", {
|
|
125
|
+
className: "min-w-0 flex-1 font-medium text-text-primary truncate",
|
|
126
|
+
children: e.name
|
|
127
|
+
}), /* @__PURE__ */ f(g, { status: e.myProgress?.status })]
|
|
128
|
+
}),
|
|
129
|
+
e.description && /* @__PURE__ */ f("p", {
|
|
130
|
+
className: "text-sm text-text-secondary mt-1 line-clamp-2",
|
|
131
|
+
children: e.description
|
|
132
|
+
}),
|
|
133
|
+
/* @__PURE__ */ p("div", {
|
|
134
|
+
className: "flex items-center gap-3 mt-2 text-xs text-text-tertiary",
|
|
135
|
+
children: [
|
|
136
|
+
/* @__PURE__ */ p("span", { children: [e.steps?.length || 0, " steps"] }),
|
|
137
|
+
/* @__PURE__ */ f("span", { children: "•" }),
|
|
138
|
+
/* @__PURE__ */ p("span", { children: [
|
|
139
|
+
"~",
|
|
140
|
+
Math.ceil((e.steps?.length || 0) * .5),
|
|
141
|
+
" min"
|
|
142
|
+
] })
|
|
143
|
+
]
|
|
144
|
+
})
|
|
145
|
+
]
|
|
146
|
+
}), /* @__PURE__ */ f("div", {
|
|
147
|
+
className: "ml-3 p-2 bg-action-primary-bg rounded-full text-action-primary-text group-hover:scale-110 transition-transform",
|
|
148
|
+
children: /* @__PURE__ */ f(c, { className: "w-4 h-4" })
|
|
149
|
+
})]
|
|
150
|
+
})
|
|
151
|
+
}, e.id))]
|
|
152
|
+
}) : /* @__PURE__ */ p("div", {
|
|
153
|
+
className: "text-center py-8",
|
|
154
|
+
children: [
|
|
155
|
+
/* @__PURE__ */ f(s, { className: "w-12 h-12 mx-auto text-text-tertiary mb-3" }),
|
|
156
|
+
/* @__PURE__ */ f("p", {
|
|
157
|
+
className: "text-text-secondary",
|
|
158
|
+
children: "No tours available for this page"
|
|
159
|
+
}),
|
|
160
|
+
/* @__PURE__ */ f("p", {
|
|
161
|
+
className: "text-sm text-text-tertiary mt-1",
|
|
162
|
+
children: "Check back later or explore other pages"
|
|
163
|
+
})
|
|
164
|
+
]
|
|
165
|
+
})
|
|
166
|
+
}),
|
|
167
|
+
/* @__PURE__ */ f("div", { className: "h-safe-area-inset-bottom" })
|
|
168
|
+
]
|
|
169
|
+
})] }),
|
|
170
|
+
m && !_ && /* @__PURE__ */ p("div", {
|
|
171
|
+
ref: b,
|
|
172
|
+
className: "absolute right-0 top-full mt-2 w-80 bg-bg-surface rounded-lg shadow-xl border border-border-subtle z-50 animate-in fade-in slide-in-from-top-2 duration-200",
|
|
173
|
+
children: [
|
|
174
|
+
/* @__PURE__ */ p("div", {
|
|
175
|
+
className: "flex items-center gap-2 px-4 py-3 border-b border-border-subtle",
|
|
176
|
+
children: [/* @__PURE__ */ f(l, { className: "w-4 h-4 text-action-primary-bg" }), /* @__PURE__ */ f("h3", {
|
|
177
|
+
className: "font-medium text-text-primary",
|
|
178
|
+
children: "Page Tours"
|
|
179
|
+
})]
|
|
180
|
+
}),
|
|
181
|
+
/* @__PURE__ */ f("div", {
|
|
182
|
+
className: "max-h-80 overflow-y-auto",
|
|
183
|
+
children: S ? /* @__PURE__ */ f("div", {
|
|
184
|
+
className: "flex items-center justify-center py-6",
|
|
185
|
+
children: /* @__PURE__ */ f("div", { className: "animate-spin rounded-full h-5 w-5 border-2 border-action-primary-bg border-t-transparent" })
|
|
186
|
+
}) : E.length > 0 ? /* @__PURE__ */ f("div", {
|
|
187
|
+
className: "p-2",
|
|
188
|
+
children: E.map((e) => /* @__PURE__ */ f("button", {
|
|
189
|
+
onClick: () => T(e),
|
|
190
|
+
className: "w-full p-3 hover:bg-action-ghost-bg-hover rounded-md transition-colors text-left group",
|
|
191
|
+
children: /* @__PURE__ */ p("div", {
|
|
192
|
+
className: "flex items-center justify-between",
|
|
193
|
+
children: [/* @__PURE__ */ p("div", {
|
|
194
|
+
className: "flex-1 min-w-0",
|
|
195
|
+
children: [
|
|
196
|
+
/* @__PURE__ */ p("div", {
|
|
197
|
+
className: "flex items-center gap-2 min-w-0",
|
|
198
|
+
children: [/* @__PURE__ */ f("h4", {
|
|
199
|
+
className: "min-w-0 flex-1 font-medium text-text-primary text-sm truncate",
|
|
200
|
+
children: e.name
|
|
201
|
+
}), /* @__PURE__ */ f(g, { status: e.myProgress?.status })]
|
|
202
|
+
}),
|
|
203
|
+
e.description && /* @__PURE__ */ f("p", {
|
|
204
|
+
className: "text-xs text-text-secondary mt-0.5 line-clamp-1",
|
|
205
|
+
children: e.description
|
|
206
|
+
}),
|
|
207
|
+
/* @__PURE__ */ f("div", {
|
|
208
|
+
className: "flex items-center gap-2 mt-1 text-xs text-text-tertiary",
|
|
209
|
+
children: /* @__PURE__ */ p("span", { children: [e.steps?.length || 0, " steps"] })
|
|
210
|
+
})
|
|
211
|
+
]
|
|
212
|
+
}), /* @__PURE__ */ f(o, { className: "w-4 h-4 text-text-tertiary group-hover:text-action-primary-bg group-hover:translate-x-0.5 transition-all" })]
|
|
213
|
+
})
|
|
214
|
+
}, e.id))
|
|
215
|
+
}) : /* @__PURE__ */ f("div", {
|
|
216
|
+
className: "text-center py-6 px-4",
|
|
217
|
+
children: /* @__PURE__ */ f("p", {
|
|
218
|
+
className: "text-sm text-text-secondary",
|
|
219
|
+
children: "No tours available for this page"
|
|
220
|
+
})
|
|
221
|
+
})
|
|
222
|
+
}),
|
|
223
|
+
E.length > 0 && /* @__PURE__ */ f("div", {
|
|
224
|
+
className: "px-4 py-2 border-t border-border-subtle bg-bg-muted/50 rounded-b-lg",
|
|
225
|
+
children: /* @__PURE__ */ f("p", {
|
|
226
|
+
className: "text-xs text-text-tertiary text-center",
|
|
227
|
+
children: "Click a tour to start the guided walkthrough"
|
|
228
|
+
})
|
|
229
|
+
})
|
|
230
|
+
]
|
|
231
|
+
})
|
|
232
|
+
]
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
//#endregion
|
|
236
|
+
export { _ as TourTrigger };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { Tour } from './types';
|
|
3
|
+
export interface ToursContextValue {
|
|
4
|
+
tours: Tour[];
|
|
5
|
+
pageTours: Tour[];
|
|
6
|
+
loading: boolean;
|
|
7
|
+
error: Error | null;
|
|
8
|
+
refetch: () => void;
|
|
9
|
+
trackProgress: (tourId: string, status: "started" | "completed" | "skipped", stepId?: string) => Promise<void>;
|
|
10
|
+
recordStepCompletion: (tourId: string, stepId: string) => Promise<void>;
|
|
11
|
+
trackEvent: (eventType: "TOUR_STARTED" | "TOUR_COMPLETED" | "TOUR_SKIPPED" | "TOUR_DISMISSED" | "STEP_VIEWED" | "STEP_COMPLETED" | "STEP_SKIPPED" | "INTERACTION", tourId: string, options?: {
|
|
12
|
+
stepId?: string;
|
|
13
|
+
stepOrder?: number;
|
|
14
|
+
duration?: number;
|
|
15
|
+
metadata?: Record<string, unknown>;
|
|
16
|
+
}) => Promise<void>;
|
|
17
|
+
autoStartTour: Tour | null;
|
|
18
|
+
moduleId: string | undefined;
|
|
19
|
+
pageId: string | undefined;
|
|
20
|
+
}
|
|
21
|
+
export interface ToursProviderProps {
|
|
22
|
+
children: ReactNode;
|
|
23
|
+
/** Default page ID when path is "/" (e.g., "workspaces", "fluidgrids") */
|
|
24
|
+
defaultPageId?: string;
|
|
25
|
+
/** Custom function to derive pageId from pathname (overrides default) */
|
|
26
|
+
getPageIdFromPath?: (pathname: string) => string | undefined;
|
|
27
|
+
/** Disable automatic tour bootstrap for the current route tree */
|
|
28
|
+
disabled?: boolean;
|
|
29
|
+
}
|
|
30
|
+
export declare function ToursProvider({ children, defaultPageId, getPageIdFromPath, disabled, }: ToursProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export declare function useToursContext(): ToursContextValue;
|
|
32
|
+
export declare function useSafeToursContext(): ToursContextValue;
|
|
33
|
+
export declare function useTours(): {
|
|
34
|
+
tours: Tour[];
|
|
35
|
+
loading: boolean;
|
|
36
|
+
error: Error | null;
|
|
37
|
+
refetch: () => void;
|
|
38
|
+
trackProgress: (tourId: string, status: "started" | "completed" | "skipped", stepId?: string) => Promise<void>;
|
|
39
|
+
};
|
|
40
|
+
export declare function useAutoStartTour(): Tour | null;
|
|
41
|
+
//# sourceMappingURL=ToursContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToursContext.d.ts","sourceRoot":"","sources":["../../../src/shared/tours/ToursContext.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAQL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAQf,OAAO,EAAoB,KAAK,IAAI,EAAE,MAAM,SAAS,CAAC;AAwTtD,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,SAAS,EAAE,IAAI,EAAE,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,EAAE,CACb,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,EAC3C,MAAM,CAAC,EAAE,MAAM,KACZ,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,oBAAoB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxE,UAAU,EAAE,CACV,SAAS,EACL,cAAc,GACd,gBAAgB,GAChB,cAAc,GACd,gBAAgB,GAChB,aAAa,GACb,gBAAgB,GAChB,cAAc,GACd,aAAa,EACjB,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE;QACR,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACpC,KACE,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,aAAa,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3B,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B;AAID,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,SAAS,CAAC;IACpB,0EAA0E;IAC1E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,yEAAyE;IACzE,iBAAiB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;IAC7D,kEAAkE;IAClE,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,aAAsB,EACtB,iBAAiB,EACjB,QAAgB,GACjB,EAAE,kBAAkB,2CAoepB;AAED,wBAAgB,eAAe,IAAI,iBAAiB,CAMnD;AAED,wBAAgB,mBAAmB,IAAI,iBAAiB,CAkBvD;AAED,wBAAgB,QAAQ;;;;mBAjjBP,IAAI;4BAET,MAAM,UACN,SAAS,GAAG,WAAW,GAAG,SAAS,WAClC,MAAM,KACZ,OAAO,CAAC,IAAI,CAAC;EAqjBnB;AAED,wBAAgB,gBAAgB,IAAI,IAAI,GAAG,IAAI,CAG9C"}
|