@flamingo-stack/openframe-frontend-core 0.0.204 → 0.0.205-snapshot.20260525113210
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-4CWSZPXH.cjs → chunk-24KCAECR.cjs} +9 -9
- package/dist/{chunk-4CWSZPXH.cjs.map → chunk-24KCAECR.cjs.map} +1 -1
- package/dist/chunk-27APPAJN.cjs +24 -0
- package/dist/chunk-27APPAJN.cjs.map +1 -0
- package/dist/{chunk-UC43NICZ.cjs → chunk-664KA5FI.cjs} +2 -35
- package/dist/chunk-664KA5FI.cjs.map +1 -0
- package/dist/chunk-6RZYJICV.cjs +24 -0
- package/dist/chunk-6RZYJICV.cjs.map +1 -0
- package/dist/chunk-7L4DWM7P.js +24 -0
- package/dist/chunk-7L4DWM7P.js.map +1 -0
- package/dist/chunk-BZFW3FOF.cjs +21 -0
- package/dist/chunk-BZFW3FOF.cjs.map +1 -0
- package/dist/{chunk-N57KWHDB.js → chunk-CIPO6DXK.js} +5 -5
- package/dist/chunk-EL5YVPD5.js +21 -0
- package/dist/chunk-EL5YVPD5.js.map +1 -0
- package/dist/chunk-G7UE6RKV.cjs +121 -0
- package/dist/chunk-G7UE6RKV.cjs.map +1 -0
- package/dist/{chunk-25LVV26X.cjs → chunk-JUZGUQMX.cjs} +178 -50
- package/dist/chunk-JUZGUQMX.cjs.map +1 -0
- package/dist/{chunk-SZPJ5R5B.js → chunk-KSOOKNBG.js} +1 -34
- package/dist/chunk-KSOOKNBG.js.map +1 -0
- package/dist/{chunk-RMB5DVED.cjs → chunk-KUZGEA7U.cjs} +83 -66
- package/dist/chunk-KUZGEA7U.cjs.map +1 -0
- package/dist/chunk-LXC6P2EO.js +63 -0
- package/dist/chunk-LXC6P2EO.js.map +1 -0
- package/dist/chunk-MJNXIEV2.js +24 -0
- package/dist/chunk-MJNXIEV2.js.map +1 -0
- package/dist/{chunk-CPXLQ57U.js → chunk-MVGGXOFA.js} +37 -20
- package/dist/chunk-MVGGXOFA.js.map +1 -0
- package/dist/chunk-OHPI2HRK.js +47 -0
- package/dist/chunk-OHPI2HRK.js.map +1 -0
- package/dist/{chunk-LY34ORX6.js → chunk-OLTGB32E.js} +39921 -31333
- package/dist/chunk-OLTGB32E.js.map +1 -0
- package/dist/chunk-PLJLE4A4.js +121 -0
- package/dist/chunk-PLJLE4A4.js.map +1 -0
- package/dist/{chunk-XGL5FKIK.js → chunk-SCN5WFIZ.js} +148 -20
- package/dist/chunk-SCN5WFIZ.js.map +1 -0
- package/dist/chunk-WBR7H6E3.cjs +47 -0
- package/dist/chunk-WBR7H6E3.cjs.map +1 -0
- package/dist/chunk-XL4V2PYG.cjs +63 -0
- package/dist/chunk-XL4V2PYG.cjs.map +1 -0
- package/dist/{chunk-ARQ4XP64.cjs → chunk-YGOJIDL5.cjs} +40120 -31532
- package/dist/chunk-YGOJIDL5.cjs.map +1 -0
- package/dist/components/announcement-bar.d.ts.map +1 -1
- package/dist/components/chat/chat-attachment-bar.d.ts +66 -0
- package/dist/components/chat/chat-attachment-bar.d.ts.map +1 -0
- package/dist/components/chat/chat-container.d.ts +21 -1
- package/dist/components/chat/chat-container.d.ts.map +1 -1
- package/dist/components/chat/chat-input.d.ts.map +1 -1
- package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
- package/dist/components/chat/chat-message-list.d.ts.map +1 -1
- package/dist/components/chat/chat-panel-context.d.ts +9 -0
- package/dist/components/chat/chat-panel-context.d.ts.map +1 -0
- package/dist/components/chat/chat-ticket-list.d.ts +1 -1
- package/dist/components/chat/chat-ticket-list.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.d.ts +42 -0
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/admin-content-card.d.ts +34 -0
- package/dist/components/chat/entity-cards/admin-content-card.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/block-card.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/blog-card.d.ts +30 -0
- package/dist/components/chat/entity-cards/blog-card.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/blog-image-placeholder.d.ts +26 -0
- package/dist/components/chat/entity-cards/blog-image-placeholder.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/campaign-card-admin.d.ts +33 -0
- package/dist/components/chat/entity-cards/campaign-card-admin.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/case-study-card.d.ts +20 -0
- package/dist/components/chat/entity-cards/case-study-card.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/chat-ticket-item.d.ts.map +1 -0
- package/dist/components/chat/{chat-video-entity-card.d.ts → entity-cards/chat-video-entity-card.d.ts} +1 -1
- package/dist/components/chat/entity-cards/chat-video-entity-card.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/customer-interview-card.d.ts +19 -0
- package/dist/components/chat/entity-cards/customer-interview-card.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/data-room-doc-card.d.ts +47 -0
- package/dist/components/chat/entity-cards/data-room-doc-card.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/dispatch.d.ts +119 -0
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/entity-author-card.d.ts +87 -0
- package/dist/components/chat/entity-cards/entity-author-card.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/generic-entity-card.d.ts +42 -0
- package/dist/components/chat/entity-cards/generic-entity-card.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/github-activity-card.d.ts +37 -0
- package/dist/components/chat/entity-cards/github-activity-card.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/hubspot-ticket-card.d.ts +28 -0
- package/dist/components/chat/entity-cards/hubspot-ticket-card.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/index.d.ts +32 -0
- package/dist/components/chat/entity-cards/index.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/investor-update-card.d.ts +19 -0
- package/dist/components/chat/entity-cards/investor-update-card.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/onboarding-guide-card.d.ts +20 -0
- package/dist/components/chat/entity-cards/onboarding-guide-card.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/product-release-card-defaults.d.ts +21 -0
- package/dist/components/chat/entity-cards/product-release-card-defaults.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/product-release-card.d.ts +12 -0
- package/dist/components/chat/entity-cards/product-release-card.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/program-card-defaults.d.ts +32 -0
- package/dist/components/chat/entity-cards/program-card-defaults.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/program-card.d.ts +37 -0
- package/dist/components/chat/entity-cards/program-card.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/roadmap-card.d.ts +28 -0
- package/dist/components/chat/entity-cards/roadmap-card.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/roadmap-vote-button.d.ts +12 -0
- package/dist/components/chat/entity-cards/roadmap-vote-button.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/slack-message-card.d.ts +28 -0
- package/dist/components/chat/entity-cards/slack-message-card.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/task-type-icon.d.ts +6 -0
- package/dist/components/chat/entity-cards/task-type-icon.d.ts.map +1 -0
- package/dist/components/chat/hooks/index.d.ts +10 -0
- package/dist/components/chat/hooks/index.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-chat-attachment-image-gallery.d.ts +5 -0
- package/dist/components/chat/hooks/use-chat-attachment-image-gallery.d.ts.map +1 -0
- package/dist/components/chat/hooks/use-chat-attachments.d.ts +33 -0
- package/dist/components/chat/hooks/use-chat-attachments.d.ts.map +1 -0
- package/dist/components/chat/hooks/use-chat-card-item.d.ts +7 -0
- package/dist/components/chat/hooks/use-chat-card-item.d.ts.map +1 -0
- package/dist/components/chat/hooks/use-chat-identity.d.ts +44 -0
- package/dist/components/chat/hooks/use-chat-identity.d.ts.map +1 -0
- package/dist/components/chat/hooks/use-chat.d.ts +30 -0
- package/dist/components/chat/hooks/use-chat.d.ts.map +1 -0
- package/dist/components/chat/hooks/use-close-on-navigation.d.ts +2 -0
- package/dist/components/chat/hooks/use-close-on-navigation.d.ts.map +1 -0
- package/dist/components/chat/hooks/use-embedded-chat.d.ts +174 -0
- package/dist/components/chat/hooks/use-embedded-chat.d.ts.map +1 -0
- package/dist/components/chat/hooks/use-proxied-image-url.d.ts +18 -0
- package/dist/components/chat/hooks/use-proxied-image-url.d.ts.map +1 -0
- package/dist/components/chat/hooks/use-slash-commands.d.ts +32 -0
- package/dist/components/chat/hooks/use-slash-commands.d.ts.map +1 -0
- package/dist/components/chat/hooks/use-sse.d.ts +57 -0
- package/dist/components/chat/hooks/use-sse.d.ts.map +1 -0
- package/dist/components/chat/index.cjs +393 -0
- package/dist/components/chat/index.cjs.map +1 -0
- package/dist/components/chat/index.d.ts +5 -3
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +393 -0
- package/dist/components/chat/index.js.map +1 -0
- package/dist/components/chat/nav-link-anchor-via-runtime.d.ts +33 -0
- package/dist/components/chat/nav-link-anchor-via-runtime.d.ts.map +1 -0
- package/dist/components/chat/source-action-button.d.ts +39 -0
- package/dist/components/chat/source-action-button.d.ts.map +1 -0
- package/dist/components/chat/types/chat.types.d.ts +36 -0
- package/dist/components/chat/types/chat.types.d.ts.map +1 -1
- package/dist/components/chat/types/component.types.d.ts +56 -11
- package/dist/components/chat/types/component.types.d.ts.map +1 -1
- package/dist/components/chat/types/entities/blog.d.ts +14 -0
- package/dist/components/chat/types/entities/blog.d.ts.map +1 -0
- package/dist/components/chat/types/entities/case-study.d.ts +10 -0
- package/dist/components/chat/types/entities/case-study.d.ts.map +1 -0
- package/dist/components/chat/types/entities/content-ref.d.ts +23 -0
- package/dist/components/chat/types/entities/content-ref.d.ts.map +1 -0
- package/dist/components/chat/types/entities/customer-interview.d.ts +10 -0
- package/dist/components/chat/types/entities/customer-interview.d.ts.map +1 -0
- package/dist/components/chat/types/entities/data-room-doc.d.ts +37 -0
- package/dist/components/chat/types/entities/data-room-doc.d.ts.map +1 -0
- package/dist/components/chat/types/entities/github-activity.d.ts +29 -0
- package/dist/components/chat/types/entities/github-activity.d.ts.map +1 -0
- package/dist/components/chat/types/entities/hubspot-ticket.d.ts +39 -0
- package/dist/components/chat/types/entities/hubspot-ticket.d.ts.map +1 -0
- package/dist/components/chat/types/entities/index.d.ts +28 -0
- package/dist/components/chat/types/entities/index.d.ts.map +1 -0
- package/dist/components/chat/types/entities/investor-update.d.ts +83 -0
- package/dist/components/chat/types/entities/investor-update.d.ts.map +1 -0
- package/dist/components/chat/types/entities/onboarding-guide.d.ts +79 -0
- package/dist/components/chat/types/entities/onboarding-guide.d.ts.map +1 -0
- package/dist/components/chat/types/entities/program-types.d.ts +303 -0
- package/dist/components/chat/types/entities/program-types.d.ts.map +1 -0
- package/dist/components/chat/types/entities/roadmap-item.d.ts +41 -0
- package/dist/components/chat/types/entities/roadmap-item.d.ts.map +1 -0
- package/dist/components/chat/types/entities/slack-message.d.ts +28 -0
- package/dist/components/chat/types/entities/slack-message.d.ts.map +1 -0
- package/dist/components/chat/types/index.d.ts +1 -0
- package/dist/components/chat/types/index.d.ts.map +1 -1
- package/dist/components/chat/utils/agent-status-message.d.ts +18 -0
- package/dist/components/chat/utils/agent-status-message.d.ts.map +1 -0
- package/dist/components/chat/utils/auto-continuation-directive.d.ts +38 -0
- package/dist/components/chat/utils/auto-continuation-directive.d.ts.map +1 -0
- package/dist/components/chat/utils/chat-attachment-markdown.d.ts +114 -0
- package/dist/components/chat/utils/chat-attachment-markdown.d.ts.map +1 -0
- package/dist/components/chat/utils/chat-authed-fetch.d.ts +13 -0
- package/dist/components/chat/utils/chat-authed-fetch.d.ts.map +1 -0
- package/dist/components/chat/utils/chat-nav-resolution.d.ts +72 -0
- package/dist/components/chat/utils/chat-nav-resolution.d.ts.map +1 -0
- package/dist/components/chat/utils/chat-proxy-auth-storage.d.ts +43 -0
- package/dist/components/chat/utils/chat-proxy-auth-storage.d.ts.map +1 -0
- package/dist/components/chat/utils/chip-action-class.d.ts +16 -0
- package/dist/components/chat/utils/chip-action-class.d.ts.map +1 -0
- package/dist/components/chat/utils/chip-styles.d.ts +32 -0
- package/dist/components/chat/utils/chip-styles.d.ts.map +1 -0
- package/dist/components/chat/utils/clickup-task-type-utils.d.ts +38 -0
- package/dist/components/chat/utils/clickup-task-type-utils.d.ts.map +1 -0
- package/dist/components/chat/utils/compact-card-classes.d.ts +50 -0
- package/dist/components/chat/utils/compact-card-classes.d.ts.map +1 -0
- package/dist/components/chat/utils/decide-new-tab.d.ts +39 -0
- package/dist/components/chat/utils/decide-new-tab.d.ts.map +1 -0
- package/dist/components/chat/utils/external-app-urls.d.ts +14 -0
- package/dist/components/chat/utils/external-app-urls.d.ts.map +1 -0
- package/dist/components/chat/utils/flatten-assistant-content.d.ts +25 -0
- package/dist/components/chat/utils/flatten-assistant-content.d.ts.map +1 -0
- package/dist/components/chat/utils/icon-registry.d.ts +67 -0
- package/dist/components/chat/utils/icon-registry.d.ts.map +1 -0
- package/dist/components/chat/utils/index.d.ts +21 -0
- package/dist/components/chat/utils/index.d.ts.map +1 -1
- package/dist/components/chat/utils/is-cross-origin-url.d.ts +22 -0
- package/dist/components/chat/utils/is-cross-origin-url.d.ts.map +1 -0
- package/dist/components/chat/utils/nav-anchor-props.d.ts +54 -0
- package/dist/components/chat/utils/nav-anchor-props.d.ts.map +1 -0
- package/dist/components/chat/utils/nav-click-handler.d.ts +51 -0
- package/dist/components/chat/utils/nav-click-handler.d.ts.map +1 -0
- package/dist/components/chat/utils/scroll-anchor.d.ts +30 -0
- package/dist/components/chat/utils/scroll-anchor.d.ts.map +1 -0
- package/dist/components/chat/utils/slash-dispatch-utils.d.ts +109 -0
- package/dist/components/chat/utils/slash-dispatch-utils.d.ts.map +1 -0
- package/dist/components/chat/utils/source-icons.d.ts +8 -0
- package/dist/components/chat/utils/source-icons.d.ts.map +1 -0
- package/dist/components/chat/utils/source-row-cta.d.ts +111 -0
- package/dist/components/chat/utils/source-row-cta.d.ts.map +1 -0
- package/dist/components/features/figma-prototype-viewer.d.ts.map +1 -1
- package/dist/components/features/index.cjs +12 -6
- package/dist/components/features/index.cjs.map +1 -1
- package/dist/components/features/index.js +11 -5
- package/dist/components/features/video.d.ts.map +1 -1
- package/dist/components/icons/index.cjs +3 -3
- package/dist/components/icons/index.js +2 -2
- package/dist/components/index.cjs +274 -8
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +273 -7
- package/dist/components/interactive-wrapper.d.ts +3 -3
- package/dist/components/navigation/index.cjs +12 -6
- package/dist/components/navigation/index.cjs.map +1 -1
- package/dist/components/navigation/index.js +11 -5
- package/dist/components/resizable.d.ts +1 -1
- package/dist/components/shared/product-release/product-release-card-skeleton.d.ts +1 -1
- package/dist/components/shared/product-release/product-release-card-skeleton.d.ts.map +1 -1
- package/dist/components/shared/product-release/product-release-card.d.ts +19 -12
- package/dist/components/shared/product-release/product-release-card.d.ts.map +1 -1
- package/dist/components/shared/product-release/release-detail-page.d.ts +2 -4
- package/dist/components/shared/product-release/release-detail-page.d.ts.map +1 -1
- package/dist/components/ui/button/button.d.ts +13 -0
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/dashboard-info-card.d.ts.map +1 -1
- package/dist/components/ui/entity-image.d.ts.map +1 -1
- package/dist/components/ui/file-manager/index.cjs +71 -70
- package/dist/components/ui/file-manager/index.cjs.map +1 -1
- package/dist/components/ui/file-manager/index.js +6 -5
- package/dist/components/ui/file-manager/index.js.map +1 -1
- package/dist/components/ui/hover-dropdown.d.ts +66 -0
- package/dist/components/ui/hover-dropdown.d.ts.map +1 -0
- package/dist/components/ui/index.cjs +276 -6
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +278 -8
- package/dist/components/ui/simple-markdown-renderer.d.ts.map +1 -1
- package/dist/components/ui/square-avatar.d.ts.map +1 -1
- package/dist/contexts/chat-runtime-context.d.ts +109 -0
- package/dist/contexts/chat-runtime-context.d.ts.map +1 -0
- package/dist/contexts/endpoints-runtime-context.d.ts +28 -0
- package/dist/contexts/endpoints-runtime-context.d.ts.map +1 -0
- package/dist/contexts/index.cjs +30 -0
- package/dist/contexts/index.cjs.map +1 -0
- package/dist/contexts/index.d.ts +26 -0
- package/dist/contexts/index.d.ts.map +1 -0
- package/dist/contexts/index.js +30 -0
- package/dist/contexts/index.js.map +1 -0
- package/dist/contexts/use-outer-or-default.d.ts +29 -0
- package/dist/contexts/use-outer-or-default.d.ts.map +1 -0
- package/dist/embed-shims/index.cjs +51 -0
- package/dist/embed-shims/index.cjs.map +1 -0
- package/dist/embed-shims/index.d.ts +31 -0
- package/dist/embed-shims/index.d.ts.map +1 -0
- package/dist/embed-shims/index.js +51 -0
- package/dist/embed-shims/index.js.map +1 -0
- package/dist/embed-shims/next-dynamic.cjs +12 -0
- package/dist/embed-shims/next-dynamic.cjs.map +1 -0
- package/dist/embed-shims/next-dynamic.d.ts +47 -0
- package/dist/embed-shims/next-dynamic.d.ts.map +1 -0
- package/dist/embed-shims/next-dynamic.js +12 -0
- package/dist/embed-shims/next-dynamic.js.map +1 -0
- package/dist/embed-shims/next-image.cjs +12 -0
- package/dist/embed-shims/next-image.cjs.map +1 -0
- package/dist/embed-shims/next-image.d.ts +28 -0
- package/dist/embed-shims/next-image.d.ts.map +1 -0
- package/dist/embed-shims/next-image.js +12 -0
- package/dist/embed-shims/next-image.js.map +1 -0
- package/dist/embed-shims/next-link.cjs +14 -0
- package/dist/embed-shims/next-link.cjs.map +1 -0
- package/dist/embed-shims/next-link.d.ts +22 -0
- package/dist/embed-shims/next-link.d.ts.map +1 -0
- package/dist/embed-shims/next-link.js +14 -0
- package/dist/embed-shims/next-link.js.map +1 -0
- package/dist/embed-shims/next-navigation.cjs +30 -0
- package/dist/embed-shims/next-navigation.cjs.map +1 -0
- package/dist/embed-shims/next-navigation.d.ts +46 -0
- package/dist/embed-shims/next-navigation.d.ts.map +1 -0
- package/dist/embed-shims/next-navigation.js +30 -0
- package/dist/embed-shims/next-navigation.js.map +1 -0
- package/dist/hooks/index.cjs +10 -4
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +9 -3
- package/dist/hooks/use-access-code-integration.d.ts +48 -0
- package/dist/hooks/use-access-code-integration.d.ts.map +1 -0
- package/dist/hooks/use-contact-submission.d.ts.map +1 -1
- package/dist/hooks/use-og-placeholder.d.ts +31 -0
- package/dist/hooks/use-og-placeholder.d.ts.map +1 -0
- package/dist/hooks/use-toast.d.ts +1 -1
- package/dist/index.cjs +367 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +378 -18
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/utils/access-code-client.d.ts +21 -37
- package/dist/utils/access-code-client.d.ts.map +1 -1
- package/dist/utils/cn.d.ts +0 -27
- package/dist/utils/cn.d.ts.map +1 -1
- package/dist/utils/color-analysis.d.ts +33 -0
- package/dist/utils/color-analysis.d.ts.map +1 -0
- package/dist/utils/date-formatters.d.ts +16 -5
- package/dist/utils/date-formatters.d.ts.map +1 -1
- package/dist/utils/fetch-priority.d.ts +3 -0
- package/dist/utils/fetch-priority.d.ts.map +1 -0
- package/dist/utils/format.d.ts +192 -1
- package/dist/utils/format.d.ts.map +1 -1
- package/dist/utils/image-proxy.d.ts +67 -2
- package/dist/utils/image-proxy.d.ts.map +1 -1
- package/dist/utils/index.cjs +1274 -155
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +19 -3
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1200 -157
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/local-storage-adapter.d.ts +46 -0
- package/dist/utils/local-storage-adapter.d.ts.map +1 -0
- package/dist/utils/source-icons.d.ts +78 -0
- package/dist/utils/source-icons.d.ts.map +1 -0
- package/package.json +29 -2
- package/src/components/announcement-bar.tsx +26 -4
- package/src/components/categories-cart.tsx +1 -1
- package/src/components/chat/chat-attachment-bar.tsx +323 -0
- package/src/components/chat/chat-container.tsx +39 -5
- package/src/components/chat/chat-input.tsx +7 -1
- package/src/components/chat/chat-message-enhanced.tsx +32 -22
- package/src/components/chat/chat-message-list.tsx +53 -4
- package/src/components/chat/chat-panel-context.tsx +37 -0
- package/src/components/chat/chat-ticket-list.tsx +1 -1
- package/src/components/chat/embeddable-chat.tsx +1106 -0
- package/src/components/chat/entity-cards/admin-content-card.tsx +155 -0
- package/src/components/chat/entity-cards/blog-card.tsx +259 -0
- package/src/components/chat/entity-cards/blog-image-placeholder.tsx +52 -0
- package/src/components/chat/entity-cards/campaign-card-admin.tsx +113 -0
- package/src/components/chat/entity-cards/case-study-card.tsx +192 -0
- package/src/components/chat/{chat-ticket-item.tsx → entity-cards/chat-ticket-item.tsx} +2 -2
- package/src/components/chat/{chat-video-entity-card.tsx → entity-cards/chat-video-entity-card.tsx} +2 -2
- package/src/components/chat/entity-cards/customer-interview-card.tsx +211 -0
- package/src/components/chat/entity-cards/data-room-doc-card.tsx +120 -0
- package/src/components/chat/entity-cards/dispatch.tsx +1093 -0
- package/src/components/chat/entity-cards/entity-author-card.tsx +193 -0
- package/src/components/chat/entity-cards/generic-entity-card.tsx +144 -0
- package/src/components/chat/entity-cards/github-activity-card.tsx +305 -0
- package/src/components/chat/entity-cards/hubspot-ticket-card.tsx +205 -0
- package/src/components/chat/entity-cards/index.ts +125 -0
- package/src/components/chat/entity-cards/investor-update-card.tsx +150 -0
- package/src/components/chat/entity-cards/onboarding-guide-card.tsx +326 -0
- package/src/components/chat/entity-cards/product-release-card-defaults.ts +57 -0
- package/src/components/chat/entity-cards/product-release-card.tsx +19 -0
- package/src/components/chat/entity-cards/program-card-defaults.ts +62 -0
- package/src/components/chat/entity-cards/program-card.tsx +451 -0
- package/src/components/chat/entity-cards/roadmap-card.tsx +356 -0
- package/src/components/chat/entity-cards/roadmap-vote-button.tsx +54 -0
- package/src/components/chat/entity-cards/slack-message-card.tsx +182 -0
- package/src/components/chat/entity-cards/task-type-icon.tsx +60 -0
- package/src/components/chat/hooks/index.ts +22 -0
- package/src/components/chat/hooks/use-chat-attachment-image-gallery.tsx +114 -0
- package/src/components/chat/hooks/use-chat-attachments.ts +429 -0
- package/src/components/chat/hooks/use-chat-card-item.ts +102 -0
- package/src/components/chat/hooks/use-chat-identity.ts +139 -0
- package/src/components/chat/hooks/use-chat.ts +501 -0
- package/src/components/chat/hooks/use-close-on-navigation.ts +87 -0
- package/src/components/chat/hooks/use-embedded-chat.ts +1023 -0
- package/src/components/chat/hooks/use-proxied-image-url.ts +31 -0
- package/src/components/chat/hooks/use-slash-commands.ts +106 -0
- package/src/components/chat/hooks/use-sse.ts +143 -0
- package/src/components/chat/index.ts +30 -4
- package/src/components/chat/nav-link-anchor-via-runtime.tsx +72 -0
- package/src/components/chat/source-action-button.tsx +120 -0
- package/src/components/chat/types/chat.types.ts +61 -0
- package/src/components/chat/types/component.types.ts +57 -11
- package/src/components/chat/types/entities/blog.ts +27 -0
- package/src/components/chat/types/entities/case-study.ts +14 -0
- package/src/components/chat/types/entities/content-ref.ts +23 -0
- package/src/components/chat/types/entities/customer-interview.ts +15 -0
- package/src/components/chat/types/entities/data-room-doc.ts +37 -0
- package/src/components/chat/types/entities/github-activity.ts +36 -0
- package/src/components/chat/types/entities/hubspot-ticket.ts +39 -0
- package/src/components/chat/types/entities/index.ts +28 -0
- package/src/components/chat/types/entities/investor-update.ts +100 -0
- package/src/components/chat/types/entities/onboarding-guide.ts +101 -0
- package/src/components/chat/types/entities/program-types.ts +433 -0
- package/src/components/chat/types/entities/roadmap-item.ts +42 -0
- package/src/components/chat/types/entities/slack-message.ts +28 -0
- package/src/components/chat/types/index.ts +1 -0
- package/src/components/chat/utils/agent-status-message.ts +52 -0
- package/src/components/chat/utils/auto-continuation-directive.ts +70 -0
- package/src/components/chat/utils/chat-attachment-markdown.ts +190 -0
- package/src/components/chat/utils/chat-authed-fetch.ts +73 -0
- package/src/components/chat/utils/chat-nav-resolution.ts +151 -0
- package/src/components/chat/utils/chat-proxy-auth-storage.ts +148 -0
- package/src/components/chat/utils/chip-action-class.ts +19 -0
- package/src/components/chat/utils/chip-styles.ts +51 -0
- package/src/components/chat/utils/clickup-task-type-utils.ts +59 -0
- package/src/components/chat/utils/compact-card-classes.ts +97 -0
- package/src/components/chat/utils/decide-new-tab.ts +57 -0
- package/src/components/chat/utils/external-app-urls.ts +19 -0
- package/src/components/chat/utils/flatten-assistant-content.ts +35 -0
- package/src/components/chat/utils/icon-registry.ts +297 -0
- package/src/components/chat/utils/index.ts +133 -0
- package/src/components/chat/utils/is-cross-origin-url.ts +28 -0
- package/src/components/chat/utils/nav-anchor-props.ts +78 -0
- package/src/components/chat/utils/nav-click-handler.ts +81 -0
- package/src/components/chat/utils/scroll-anchor.ts +35 -0
- package/src/components/chat/utils/slash-dispatch-utils.ts +183 -0
- package/src/components/chat/utils/source-icons.ts +14 -0
- package/src/components/chat/utils/source-row-cta.ts +215 -0
- package/src/components/empty-state.tsx +1 -1
- package/src/components/features/board/ticket-card.tsx +1 -1
- package/src/components/features/figma-prototype-viewer.tsx +2 -1
- package/src/components/features/media-gallery-manager.tsx +1 -1
- package/src/components/features/parallax-image-showcase.tsx +1 -1
- package/src/components/features/release-media-manager.tsx +1 -1
- package/src/components/features/seo-editor-preview.tsx +1 -1
- package/src/components/features/video.tsx +54 -3
- package/src/components/footer-waitlist-button.tsx +1 -1
- package/src/components/navigation/header.tsx +1 -1
- package/src/components/shared/onboarding/onboarding-step-card.tsx +1 -1
- package/src/components/shared/product-release/product-release-card-skeleton.tsx +8 -44
- package/src/components/shared/product-release/product-release-card.tsx +31 -116
- package/src/components/shared/product-release/release-detail-page.tsx +12 -16
- package/src/components/ui/actions-menu.tsx +1 -1
- package/src/components/ui/button/button.tsx +41 -11
- package/src/components/ui/button/split-button.tsx +1 -1
- package/src/components/ui/dashboard-info-card.tsx +2 -3
- package/src/components/ui/data-table/data-table-row.tsx +1 -1
- package/src/components/ui/entity-image.tsx +2 -8
- package/src/components/ui/hover-dropdown.tsx +258 -0
- package/src/components/ui/image-gallery-modal.tsx +1 -1
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/markdown-editor.tsx +1 -1
- package/src/components/ui/more-actions-menu.tsx +1 -1
- package/src/components/ui/organization-card.tsx +2 -2
- package/src/components/ui/simple-markdown-renderer.tsx +53 -5
- package/src/components/ui/square-avatar.tsx +3 -12
- package/src/components/ui/tab-navigation.tsx +1 -1
- package/src/components/ui/table/table-row.tsx +1 -1
- package/src/components/unified-filter-logic.tsx +1 -1
- package/src/components/unified-pagination.tsx +1 -1
- package/src/components/user-summary-stub.tsx +1 -1
- package/src/components/vendor-display-button.tsx +1 -1
- package/src/components/vendor-icon.tsx +1 -1
- package/src/contexts/chat-runtime-context.tsx +163 -0
- package/src/contexts/endpoints-runtime-context.tsx +68 -0
- package/src/contexts/index.ts +38 -0
- package/src/contexts/use-outer-or-default.ts +42 -0
- package/src/embed-shims/index.ts +42 -0
- package/src/embed-shims/next-dynamic.tsx +70 -0
- package/src/embed-shims/next-image.tsx +114 -0
- package/src/embed-shims/next-link.tsx +91 -0
- package/src/embed-shims/next-navigation.tsx +201 -0
- package/src/hooks/index.ts +9 -0
- package/src/hooks/state/use-api-params.ts +1 -1
- package/src/hooks/state/use-query-params.ts +1 -1
- package/src/hooks/use-access-code-integration.ts +107 -0
- package/src/hooks/use-contact-submission.ts +7 -3
- package/src/hooks/use-og-placeholder.ts +45 -0
- package/src/stories/OnboardingStepCard.stories.tsx +140 -0
- package/src/styles/chat-animations.css +65 -0
- package/src/styles/index.css +1 -0
- package/src/utils/access-code-client.ts +32 -75
- package/src/utils/cn.ts +0 -65
- package/src/utils/color-analysis.ts +205 -0
- package/src/utils/date-formatters.ts +54 -11
- package/src/utils/fetch-priority.ts +41 -0
- package/src/utils/format.ts +525 -1
- package/src/utils/image-proxy.ts +127 -7
- package/src/utils/index.ts +145 -5
- package/src/utils/local-storage-adapter.ts +105 -0
- package/src/utils/source-icons.ts +219 -0
- package/dist/chunk-25LVV26X.cjs.map +0 -1
- package/dist/chunk-ARQ4XP64.cjs.map +0 -1
- package/dist/chunk-CPXLQ57U.js.map +0 -1
- package/dist/chunk-LY34ORX6.js.map +0 -1
- package/dist/chunk-RMB5DVED.cjs.map +0 -1
- package/dist/chunk-SZPJ5R5B.js.map +0 -1
- package/dist/chunk-UC43NICZ.cjs.map +0 -1
- package/dist/chunk-XGL5FKIK.js.map +0 -1
- package/dist/components/chat/block-card.d.ts.map +0 -1
- package/dist/components/chat/chat-ticket-item.d.ts.map +0 -1
- package/dist/components/chat/chat-video-entity-card.d.ts.map +0 -1
- package/dist/utils/dynamic-icons.d.ts +0 -26
- package/dist/utils/dynamic-icons.d.ts.map +0 -1
- package/dist/utils/format-relative-time.d.ts +0 -21
- package/dist/utils/format-relative-time.d.ts.map +0 -1
- package/src/utils/.dynamic-icons.md +0 -30
- package/src/utils/.format-relative-time.md +0 -36
- package/src/utils/dynamic-icons.tsx +0 -120
- package/src/utils/format-relative-time.ts +0 -52
- /package/dist/{chunk-N57KWHDB.js.map → chunk-CIPO6DXK.js.map} +0 -0
- /package/dist/components/chat/{block-card.d.ts → entity-cards/block-card.d.ts} +0 -0
- /package/dist/components/chat/{chat-ticket-item.d.ts → entity-cards/chat-ticket-item.d.ts} +0 -0
- /package/src/components/chat/{block-card.tsx → entity-cards/block-card.tsx} +0 -0
|
@@ -4,20 +4,28 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var _chunk4CWSZPXHcjs = require('./chunk-4CWSZPXH.cjs');
|
|
8
7
|
|
|
9
8
|
|
|
10
9
|
|
|
11
|
-
var
|
|
10
|
+
var _chunkVJTFBYVGcjs = require('./chunk-VJTFBYVG.cjs');
|
|
12
11
|
|
|
13
12
|
|
|
13
|
+
var _chunk27APPAJNcjs = require('./chunk-27APPAJN.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
+
var _chunkG7UE6RKVcjs = require('./chunk-G7UE6RKV.cjs');
|
|
18
19
|
|
|
19
20
|
|
|
20
|
-
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
var _chunk24KCAECRcjs = require('./chunk-24KCAECR.cjs');
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
var _chunk664KA5FIcjs = require('./chunk-664KA5FI.cjs');
|
|
21
29
|
|
|
22
30
|
// src/hooks/ui/use-debounce.ts
|
|
23
31
|
var _react = require('react'); var React = _interopRequireWildcard(_react);
|
|
@@ -774,16 +782,16 @@ function useAutoLimitTags({
|
|
|
774
782
|
var _lucidereact = require('lucide-react');
|
|
775
783
|
var _jsxruntime = require('react/jsx-runtime');
|
|
776
784
|
var platformIcons = {
|
|
777
|
-
openframe: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
778
|
-
openmsp: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
779
|
-
flamingo: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
780
|
-
"flamingo-teaser": /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
781
|
-
"marketing-hub": /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
782
|
-
"product-hub": /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
783
|
-
"revenue-hub": /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
784
|
-
"people-hub": /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
785
|
-
"company-hub": /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
786
|
-
tmcg: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
785
|
+
openframe: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.OpenFrameLogo, { className: "h-5 w-5", lowerPathColor: "#FFC008", upperPathColor: "#ffffff" }),
|
|
786
|
+
openmsp: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.OpenmspLogo, { className: "h-5 w-5" }),
|
|
787
|
+
flamingo: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.FlamingoLogo, { className: "h-5 w-5", fill: "#EC4899" }),
|
|
788
|
+
"flamingo-teaser": /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.FlamingoLogo, { className: "h-5 w-5", fill: "#EC4899" }),
|
|
789
|
+
"marketing-hub": /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.FlamingoLogo, { className: "h-5 w-5", fill: "#F357BB" }),
|
|
790
|
+
"product-hub": /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.FlamingoLogo, { className: "h-5 w-5", fill: "#5EA62E" }),
|
|
791
|
+
"revenue-hub": /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.FlamingoLogo, { className: "h-5 w-5", fill: "#FFC008" }),
|
|
792
|
+
"people-hub": /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.FlamingoLogo, { className: "h-5 w-5", fill: "#5EFAF0" }),
|
|
793
|
+
"company-hub": /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.FlamingoLogo, { className: "h-5 w-5", fill: "#f36666" }),
|
|
794
|
+
tmcg: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.MiamiCyberGangLogoFaceOnly, { className: "h-5 w-5" }),
|
|
787
795
|
universal: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Globe, { className: "h-5 w-5 text-[#10B981]" })
|
|
788
796
|
};
|
|
789
797
|
var platformColors = {
|
|
@@ -892,24 +900,24 @@ function getSmallPlatformIcon(platformName) {
|
|
|
892
900
|
const className = "h-4 w-4 flex-shrink-0";
|
|
893
901
|
switch (platformName) {
|
|
894
902
|
case "openframe":
|
|
895
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
903
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.OpenFrameLogo, { className, lowerPathColor: "#FFC008", upperPathColor: "#ffffff" });
|
|
896
904
|
case "openmsp":
|
|
897
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
905
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.OpenmspLogo, { className, frontBubbleColor: "#f1f1f1", innerFrontBubbleColor: "#000000", backBubbleColor: "#FFC008" });
|
|
898
906
|
case "flamingo":
|
|
899
907
|
case "flamingo-teaser":
|
|
900
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
908
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.FlamingoLogo, { className: `${className}`, fill: "#EC4899" });
|
|
901
909
|
case "marketing-hub":
|
|
902
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
910
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.FlamingoLogo, { className, fill: "var(--ods-flamingo-pink-base)" });
|
|
903
911
|
case "product-hub":
|
|
904
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
912
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.FlamingoLogo, { className, fill: "var(--ods-attention-green-success)" });
|
|
905
913
|
case "revenue-hub":
|
|
906
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
914
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.FlamingoLogo, { className, fill: "var(--ods-attention-yellow-warning)" });
|
|
907
915
|
case "people-hub":
|
|
908
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
916
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.FlamingoLogo, { className, fill: "var(--ods-flamingo-cyan-base)" });
|
|
909
917
|
case "company-hub":
|
|
910
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
918
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.FlamingoLogo, { className, fill: "var(--ods-attention-red-error)" });
|
|
911
919
|
case "tmcg":
|
|
912
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
920
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.MiamiCyberGangLogoFaceOnly, { className });
|
|
913
921
|
case "universal":
|
|
914
922
|
default:
|
|
915
923
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Globe, { className });
|
|
@@ -918,24 +926,24 @@ function getSmallPlatformIcon(platformName) {
|
|
|
918
926
|
function getPlatformIconComponent(platformName, className = "h-6 w-6") {
|
|
919
927
|
switch (platformName) {
|
|
920
928
|
case "openframe":
|
|
921
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
929
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.OpenFrameLogo, { className });
|
|
922
930
|
case "openmsp":
|
|
923
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
931
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.OpenmspLogo, { className, color: "#f1f1f1" });
|
|
924
932
|
case "flamingo":
|
|
925
933
|
case "flamingo-teaser":
|
|
926
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
934
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.FlamingoLogo, { className: `${className} text-white` });
|
|
927
935
|
case "marketing-hub":
|
|
928
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
936
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.FlamingoLogo, { className, fill: "var(--ods-flamingo-pink-base)" });
|
|
929
937
|
case "product-hub":
|
|
930
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
938
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.FlamingoLogo, { className, fill: "var(--ods-attention-green-success)" });
|
|
931
939
|
case "revenue-hub":
|
|
932
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
940
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.FlamingoLogo, { className, fill: "var(--ods-attention-yellow-warning)" });
|
|
933
941
|
case "people-hub":
|
|
934
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
942
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.FlamingoLogo, { className, fill: "var(--ods-flamingo-cyan-base)" });
|
|
935
943
|
case "company-hub":
|
|
936
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
944
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.FlamingoLogo, { className, fill: "var(--ods-attention-red-error)" });
|
|
937
945
|
case "tmcg":
|
|
938
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
946
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk24KCAECRcjs.MiamiCyberGangLogoFaceOnly, { size: 24, className });
|
|
939
947
|
case "universal":
|
|
940
948
|
default:
|
|
941
949
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Globe, { className });
|
|
@@ -1049,7 +1057,7 @@ var toolLabels = {
|
|
|
1049
1057
|
var renderOpenFrameLogo = (_size, className) => (
|
|
1050
1058
|
// eslint-disable-next-line deprecation/deprecation
|
|
1051
1059
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1052
|
-
|
|
1060
|
+
_chunk24KCAECRcjs.OpenFrameLogo,
|
|
1053
1061
|
{
|
|
1054
1062
|
className: _nullishCoalesce(className, () => ( "h-4 w-auto")),
|
|
1055
1063
|
lowerPathColor: "var(--color-accent-primary)",
|
|
@@ -1072,7 +1080,7 @@ var ToolIcon = ({ toolType, size = 16, className }) => /* @__PURE__ */ _jsxrunti
|
|
|
1072
1080
|
ToolIcon.displayName = "ToolIcon";
|
|
1073
1081
|
|
|
1074
1082
|
// src/components/ui/toaster.tsx
|
|
1075
|
-
|
|
1083
|
+
_chunk664KA5FIcjs.init_cn.call(void 0, );
|
|
1076
1084
|
|
|
1077
1085
|
var dotColorByVariant = {
|
|
1078
1086
|
default: "bg-ods-text-secondary",
|
|
@@ -1101,12 +1109,12 @@ function ToastHeader({
|
|
|
1101
1109
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1102
1110
|
"div",
|
|
1103
1111
|
{
|
|
1104
|
-
className:
|
|
1112
|
+
className: _chunk664KA5FIcjs.cn.call(void 0,
|
|
1105
1113
|
"relative flex w-full items-start gap-2 overflow-hidden bg-ods-card p-3",
|
|
1106
1114
|
className
|
|
1107
1115
|
),
|
|
1108
1116
|
children: [
|
|
1109
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-6 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
1117
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-6 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk664KA5FIcjs.cn.call(void 0, "size-[9px] rounded-full", dotColorByVariant[variant]) }) }),
|
|
1110
1118
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center font-['DM_Sans'] font-medium", children: [
|
|
1111
1119
|
title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate pr-5 text-[18px] leading-6 text-ods-text-primary", title: typeof title === "string" ? title : void 0, children: title }) : null,
|
|
1112
1120
|
description ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-[14px] leading-5 text-ods-text-secondary line-clamp-3", title: typeof description === "string" ? description : void 0, children: description }) : null
|
|
@@ -1124,7 +1132,7 @@ function ToastHeader({
|
|
|
1124
1132
|
showProgress && duration !== Infinity && duration > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1125
1133
|
"div",
|
|
1126
1134
|
{
|
|
1127
|
-
className:
|
|
1135
|
+
className: _chunk664KA5FIcjs.cn.call(void 0,
|
|
1128
1136
|
"absolute inset-x-0 bottom-0 h-1 origin-left",
|
|
1129
1137
|
progressColorByVariant[variant]
|
|
1130
1138
|
),
|
|
@@ -1150,7 +1158,7 @@ function ToastCard({
|
|
|
1150
1158
|
"div",
|
|
1151
1159
|
{
|
|
1152
1160
|
role: "status",
|
|
1153
|
-
className:
|
|
1161
|
+
className: _chunk664KA5FIcjs.cn.call(void 0,
|
|
1154
1162
|
"w-[368px] max-w-[calc(100vw-32px)] overflow-hidden rounded-md border border-ods-border bg-ods-card shadow-lg",
|
|
1155
1163
|
className
|
|
1156
1164
|
),
|
|
@@ -1198,7 +1206,7 @@ function CommandApprovalToast({
|
|
|
1198
1206
|
"div",
|
|
1199
1207
|
{
|
|
1200
1208
|
role: "status",
|
|
1201
|
-
className:
|
|
1209
|
+
className: _chunk664KA5FIcjs.cn.call(void 0,
|
|
1202
1210
|
"flex w-[368px] max-w-[calc(100vw-32px)] flex-col overflow-hidden rounded-md border border-ods-border bg-ods-bg shadow-lg",
|
|
1203
1211
|
className
|
|
1204
1212
|
),
|
|
@@ -1399,18 +1407,19 @@ var useToast = () => ({
|
|
|
1399
1407
|
|
|
1400
1408
|
// src/hooks/use-contact-submission.ts
|
|
1401
1409
|
|
|
1402
|
-
|
|
1410
|
+
_chunkG7UE6RKVcjs.init_next_navigation.call(void 0, );
|
|
1403
1411
|
function useContactSubmission(options = {}) {
|
|
1404
1412
|
const { userId, successRedirectUrl, successToastMessage, onSuccess } = options;
|
|
1405
1413
|
const { toast: toast2 } = useToast();
|
|
1406
|
-
const router =
|
|
1414
|
+
const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
|
|
1415
|
+
const { contactUrl } = _chunk27APPAJNcjs.useRequiredEndpointsRuntime.call(void 0, );
|
|
1407
1416
|
const [isSubmitting, setIsSubmitting] = _react.useState.call(void 0, false);
|
|
1408
1417
|
const [isSuccess, setIsSuccess] = _react.useState.call(void 0, false);
|
|
1409
1418
|
const submit = _react.useCallback.call(void 0, async (formData) => {
|
|
1410
1419
|
if (isSubmitting) return;
|
|
1411
1420
|
setIsSubmitting(true);
|
|
1412
1421
|
try {
|
|
1413
|
-
const response = await fetch(
|
|
1422
|
+
const response = await fetch(contactUrl, {
|
|
1414
1423
|
method: "POST",
|
|
1415
1424
|
headers: { "Content-Type": "application/json" },
|
|
1416
1425
|
body: JSON.stringify({
|
|
@@ -1440,7 +1449,7 @@ function useContactSubmission(options = {}) {
|
|
|
1440
1449
|
} finally {
|
|
1441
1450
|
setIsSubmitting(false);
|
|
1442
1451
|
}
|
|
1443
|
-
}, [isSubmitting, toast2, userId, successToastMessage]);
|
|
1452
|
+
}, [isSubmitting, toast2, userId, successToastMessage, contactUrl]);
|
|
1444
1453
|
_react.useEffect.call(void 0, () => {
|
|
1445
1454
|
if (isSuccess && successRedirectUrl) {
|
|
1446
1455
|
console.log("\u{1F680} Contact submission successful, redirecting to:", successRedirectUrl);
|
|
@@ -1828,7 +1837,7 @@ function useAuthenticatedImage(imageUrl, refreshKey, config) {
|
|
|
1828
1837
|
}
|
|
1829
1838
|
|
|
1830
1839
|
// src/hooks/state/use-query-params.ts
|
|
1831
|
-
|
|
1840
|
+
_chunkG7UE6RKVcjs.init_next_navigation.call(void 0, );
|
|
1832
1841
|
|
|
1833
1842
|
|
|
1834
1843
|
// src/hooks/state/graphql-parser.ts
|
|
@@ -2289,8 +2298,8 @@ var introspector = new GraphQLIntrospector();
|
|
|
2289
2298
|
|
|
2290
2299
|
// src/hooks/state/use-query-params.ts
|
|
2291
2300
|
function useQueryParams(query, options = {}) {
|
|
2292
|
-
const router =
|
|
2293
|
-
const searchParams =
|
|
2301
|
+
const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
|
|
2302
|
+
const searchParams = _chunkG7UE6RKVcjs.useSearchParams.call(void 0, );
|
|
2294
2303
|
const [isLoading, setIsLoading] = _react.useState.call(void 0, true);
|
|
2295
2304
|
const [isReady, setIsReady] = _react.useState.call(void 0, false);
|
|
2296
2305
|
const [error, setError] = _react.useState.call(void 0, null);
|
|
@@ -2449,7 +2458,7 @@ function applyParamMapping(schema, mapping) {
|
|
|
2449
2458
|
}
|
|
2450
2459
|
|
|
2451
2460
|
// src/hooks/state/use-api-params.ts
|
|
2452
|
-
|
|
2461
|
+
_chunkG7UE6RKVcjs.init_next_navigation.call(void 0, );
|
|
2453
2462
|
|
|
2454
2463
|
function useContentStable(value, key) {
|
|
2455
2464
|
const ref = _react.useRef.call(void 0, void 0);
|
|
@@ -2465,8 +2474,8 @@ function reuseIfShallowEqual(prev, next) {
|
|
|
2465
2474
|
return prev;
|
|
2466
2475
|
}
|
|
2467
2476
|
function useApiParams(schema, options = {}) {
|
|
2468
|
-
const router =
|
|
2469
|
-
const searchParamsLive =
|
|
2477
|
+
const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
|
|
2478
|
+
const searchParamsLive = _chunkG7UE6RKVcjs.useSearchParams.call(void 0, );
|
|
2470
2479
|
const debug = options.debug || false;
|
|
2471
2480
|
const searchString = searchParamsLive.toString();
|
|
2472
2481
|
const schemaKey = _react.useMemo.call(void 0, () => JSON.stringify(schema), [schema]);
|
|
@@ -3184,6 +3193,125 @@ function useNearViewport(rootMargin = "500px") {
|
|
|
3184
3193
|
return { ref, isNear };
|
|
3185
3194
|
}
|
|
3186
3195
|
|
|
3196
|
+
// src/hooks/use-access-code-integration.ts
|
|
3197
|
+
|
|
3198
|
+
|
|
3199
|
+
// src/utils/access-code-client.ts
|
|
3200
|
+
async function validateAccessCode(email, code, endpoints) {
|
|
3201
|
+
try {
|
|
3202
|
+
const response = await fetch(endpoints.validateUrl, {
|
|
3203
|
+
method: "POST",
|
|
3204
|
+
headers: {
|
|
3205
|
+
"Content-Type": "application/json"
|
|
3206
|
+
},
|
|
3207
|
+
body: JSON.stringify({ email, code })
|
|
3208
|
+
});
|
|
3209
|
+
if (!response.ok) {
|
|
3210
|
+
const error = await response.json().catch(() => ({}));
|
|
3211
|
+
throw new Error(error.error || "Validation request failed");
|
|
3212
|
+
}
|
|
3213
|
+
return await response.json();
|
|
3214
|
+
} catch (error) {
|
|
3215
|
+
return {
|
|
3216
|
+
valid: false,
|
|
3217
|
+
message: error instanceof Error ? error.message : "Validation failed"
|
|
3218
|
+
};
|
|
3219
|
+
}
|
|
3220
|
+
}
|
|
3221
|
+
async function consumeAccessCode(email, code, endpoints) {
|
|
3222
|
+
try {
|
|
3223
|
+
const response = await fetch(endpoints.consumeUrl, {
|
|
3224
|
+
method: "POST",
|
|
3225
|
+
headers: {
|
|
3226
|
+
"Content-Type": "application/json"
|
|
3227
|
+
},
|
|
3228
|
+
body: JSON.stringify({ email, code })
|
|
3229
|
+
});
|
|
3230
|
+
if (!response.ok) {
|
|
3231
|
+
const error = await response.json().catch(() => ({}));
|
|
3232
|
+
throw new Error(error.error || "Consumption request failed");
|
|
3233
|
+
}
|
|
3234
|
+
return await response.json();
|
|
3235
|
+
} catch (error) {
|
|
3236
|
+
return {
|
|
3237
|
+
success: false,
|
|
3238
|
+
consumed: false,
|
|
3239
|
+
message: error instanceof Error ? error.message : "Consumption failed"
|
|
3240
|
+
};
|
|
3241
|
+
}
|
|
3242
|
+
}
|
|
3243
|
+
async function validateAndConsumeAccessCode(email, code, endpoints) {
|
|
3244
|
+
const validation = await validateAccessCode(email, code, endpoints);
|
|
3245
|
+
if (!validation.valid) {
|
|
3246
|
+
return validation;
|
|
3247
|
+
}
|
|
3248
|
+
const consumption = await consumeAccessCode(email, code, endpoints);
|
|
3249
|
+
return {
|
|
3250
|
+
...validation,
|
|
3251
|
+
consumed: consumption.consumed,
|
|
3252
|
+
message: consumption.consumed ? `Access granted for ${validation.cohort_name}` : consumption.message || validation.message
|
|
3253
|
+
};
|
|
3254
|
+
}
|
|
3255
|
+
|
|
3256
|
+
// src/hooks/use-access-code-integration.ts
|
|
3257
|
+
function useAccessCodeIntegration() {
|
|
3258
|
+
const runtime = _chunk27APPAJNcjs.useRequiredEndpointsRuntime.call(void 0, );
|
|
3259
|
+
const endpoints = runtime.accessCode;
|
|
3260
|
+
const [isValidating, setIsValidating] = React.default.useState(false);
|
|
3261
|
+
const [isConsuming, setIsConsuming] = React.default.useState(false);
|
|
3262
|
+
const validate = async (email, code) => {
|
|
3263
|
+
setIsValidating(true);
|
|
3264
|
+
try {
|
|
3265
|
+
return await validateAccessCode(email, code, endpoints);
|
|
3266
|
+
} finally {
|
|
3267
|
+
setIsValidating(false);
|
|
3268
|
+
}
|
|
3269
|
+
};
|
|
3270
|
+
const consume = async (email, code) => {
|
|
3271
|
+
setIsConsuming(true);
|
|
3272
|
+
try {
|
|
3273
|
+
return await consumeAccessCode(email, code, endpoints);
|
|
3274
|
+
} finally {
|
|
3275
|
+
setIsConsuming(false);
|
|
3276
|
+
}
|
|
3277
|
+
};
|
|
3278
|
+
const validateAndConsume = async (email, code) => {
|
|
3279
|
+
setIsValidating(true);
|
|
3280
|
+
setIsConsuming(true);
|
|
3281
|
+
try {
|
|
3282
|
+
return await validateAndConsumeAccessCode(email, code, endpoints);
|
|
3283
|
+
} finally {
|
|
3284
|
+
setIsValidating(false);
|
|
3285
|
+
setIsConsuming(false);
|
|
3286
|
+
}
|
|
3287
|
+
};
|
|
3288
|
+
return {
|
|
3289
|
+
validate,
|
|
3290
|
+
consume,
|
|
3291
|
+
validateAndConsume,
|
|
3292
|
+
isValidating,
|
|
3293
|
+
isConsuming,
|
|
3294
|
+
isProcessing: isValidating || isConsuming
|
|
3295
|
+
};
|
|
3296
|
+
}
|
|
3297
|
+
|
|
3298
|
+
// src/hooks/use-og-placeholder.ts
|
|
3299
|
+
|
|
3300
|
+
function useOgPlaceholder(buildUrl, title, siteName = "", enabled = true, aspect = "wide") {
|
|
3301
|
+
return _react.useMemo.call(void 0, () => {
|
|
3302
|
+
if (!enabled || !title) return null;
|
|
3303
|
+
const options = {};
|
|
3304
|
+
if (siteName) options.site = siteName;
|
|
3305
|
+
if (aspect === "square") options.aspect = "square";
|
|
3306
|
+
return buildUrl(title, options);
|
|
3307
|
+
}, [buildUrl, title, siteName, enabled, aspect]);
|
|
3308
|
+
}
|
|
3309
|
+
|
|
3310
|
+
|
|
3311
|
+
|
|
3312
|
+
|
|
3313
|
+
|
|
3314
|
+
|
|
3187
3315
|
|
|
3188
3316
|
|
|
3189
3317
|
|
|
@@ -3267,5 +3395,5 @@ function useNearViewport(rootMargin = "500px") {
|
|
|
3267
3395
|
|
|
3268
3396
|
|
|
3269
3397
|
|
|
3270
|
-
exports.useAutoLimitTags = useAutoLimitTags; exports.platformIcons = platformIcons; exports.platformColors = platformColors; exports.platformDisplayNames = platformDisplayNames; exports.platformDescriptions = platformDescriptions; exports.platformSlogans = platformSlogans; exports.platformHexColors = platformHexColors; exports.platformIconNames = platformIconNames; exports.getDefaultColorForPlatform = getDefaultColorForPlatform; exports.getDefaultIconForPlatform = getDefaultIconForPlatform; exports.transformPlatformConfigsToOptions = transformPlatformConfigsToOptions; exports.getPlatformIcon = getPlatformIcon; exports.getPlatformColor = getPlatformColor; exports.getPlatformDisplayName = getPlatformDisplayName; exports.getPlatformDescription = getPlatformDescription; exports.getPlatformSlogan = getPlatformSlogan; exports.getSmallPlatformIcon = getSmallPlatformIcon; exports.getPlatformIconComponent = getPlatformIconComponent; exports.ToolTypeValues = ToolTypeValues; exports.toolLabels = toolLabels; exports.useDebounce = useDebounce; exports.useLocalStorage = useLocalStorage; exports.useMediaQuery = useMediaQuery; exports.breakpoints = breakpoints; exports.useSmUp = useSmUp; exports.useMdUp = useMdUp; exports.useLgUp = useLgUp; exports.useMemoizedCallback = useMemoizedCallback; exports.useOnboardingState = useOnboardingState; exports.useTablePagination = useTablePagination; exports.useThrottle = useThrottle; exports.useWindowSize = useWindowSize; exports.useHorizontalScrollbar = useHorizontalScrollbar; exports.useImageEdgeColor = useImageEdgeColor; exports.useSearch = useSearch; exports.usePlatformConfig = usePlatformConfig; exports.usePlatformByValue = usePlatformByValue; exports.useValidatePlatform = useValidatePlatform; exports.ToolIcon = ToolIcon; exports.dotColorByVariant = dotColorByVariant; exports.progressColorByVariant = progressColorByVariant; exports.ToastCard = ToastCard; exports.CommandApprovalToast = CommandApprovalToast; exports.Toaster = Toaster; exports.showToast = showToast; exports.showCommandApprovalToast = showCommandApprovalToast; exports.toast = toast; exports.useToast = useToast; exports.useContactSubmission = useContactSubmission; exports.useQuickActionHint = useQuickActionHint; exports.useCopyToClipboard = useCopyToClipboard; exports.configureBatchImageFetch = configureBatchImageFetch; exports.batchFetchAuthenticatedImages = batchFetchAuthenticatedImages; exports.useBatchImages = useBatchImages; exports.configureAuthenticatedImage = configureAuthenticatedImage; exports.useAuthenticatedImage = useAuthenticatedImage; exports.extractVariablesFromQuery = extractVariablesFromQuery; exports.isScalarType = isScalarType; exports.isInputObjectType = isInputObjectType; exports.flattenQueryVariables = flattenQueryVariables; exports.mergeDefaults = mergeDefaults; exports.validateSchema = validateSchema; exports.getArrayParams = getArrayParams; exports.getRequiredParams = getRequiredParams; exports.shouldIncludeInUrl = shouldIncludeInUrl; exports.urlParamsToVariables = urlParamsToVariables; exports.variablesToUrlParams = variablesToUrlParams; exports.coerceValue = coerceValue; exports.setNestedValue = setNestedValue; exports.getNestedValue = getNestedValue; exports.mergeVariables = mergeVariables; exports.clearParams = clearParams; exports.validateVariables = validateVariables; exports.GraphQLIntrospector = GraphQLIntrospector; exports.introspector = introspector; exports.useQueryParams = useQueryParams; exports.useApiParams = useApiParams; exports.createSearchParams = createSearchParams; exports.useCursorPaginationState = useCursorPaginationState; exports.createNatsClient = createNatsClient; exports.useNatsClient = useNatsClient; exports.useNearViewport = useNearViewport;
|
|
3271
|
-
//# sourceMappingURL=chunk-
|
|
3398
|
+
exports.useAutoLimitTags = useAutoLimitTags; exports.platformIcons = platformIcons; exports.platformColors = platformColors; exports.platformDisplayNames = platformDisplayNames; exports.platformDescriptions = platformDescriptions; exports.platformSlogans = platformSlogans; exports.platformHexColors = platformHexColors; exports.platformIconNames = platformIconNames; exports.getDefaultColorForPlatform = getDefaultColorForPlatform; exports.getDefaultIconForPlatform = getDefaultIconForPlatform; exports.transformPlatformConfigsToOptions = transformPlatformConfigsToOptions; exports.getPlatformIcon = getPlatformIcon; exports.getPlatformColor = getPlatformColor; exports.getPlatformDisplayName = getPlatformDisplayName; exports.getPlatformDescription = getPlatformDescription; exports.getPlatformSlogan = getPlatformSlogan; exports.getSmallPlatformIcon = getSmallPlatformIcon; exports.getPlatformIconComponent = getPlatformIconComponent; exports.validateAccessCode = validateAccessCode; exports.consumeAccessCode = consumeAccessCode; exports.validateAndConsumeAccessCode = validateAndConsumeAccessCode; exports.ToolTypeValues = ToolTypeValues; exports.toolLabels = toolLabels; exports.useDebounce = useDebounce; exports.useLocalStorage = useLocalStorage; exports.useMediaQuery = useMediaQuery; exports.breakpoints = breakpoints; exports.useSmUp = useSmUp; exports.useMdUp = useMdUp; exports.useLgUp = useLgUp; exports.useMemoizedCallback = useMemoizedCallback; exports.useOnboardingState = useOnboardingState; exports.useTablePagination = useTablePagination; exports.useThrottle = useThrottle; exports.useWindowSize = useWindowSize; exports.useHorizontalScrollbar = useHorizontalScrollbar; exports.useImageEdgeColor = useImageEdgeColor; exports.useSearch = useSearch; exports.usePlatformConfig = usePlatformConfig; exports.usePlatformByValue = usePlatformByValue; exports.useValidatePlatform = useValidatePlatform; exports.ToolIcon = ToolIcon; exports.dotColorByVariant = dotColorByVariant; exports.progressColorByVariant = progressColorByVariant; exports.ToastCard = ToastCard; exports.CommandApprovalToast = CommandApprovalToast; exports.Toaster = Toaster; exports.showToast = showToast; exports.showCommandApprovalToast = showCommandApprovalToast; exports.toast = toast; exports.useToast = useToast; exports.useContactSubmission = useContactSubmission; exports.useQuickActionHint = useQuickActionHint; exports.useCopyToClipboard = useCopyToClipboard; exports.configureBatchImageFetch = configureBatchImageFetch; exports.batchFetchAuthenticatedImages = batchFetchAuthenticatedImages; exports.useBatchImages = useBatchImages; exports.configureAuthenticatedImage = configureAuthenticatedImage; exports.useAuthenticatedImage = useAuthenticatedImage; exports.extractVariablesFromQuery = extractVariablesFromQuery; exports.isScalarType = isScalarType; exports.isInputObjectType = isInputObjectType; exports.flattenQueryVariables = flattenQueryVariables; exports.mergeDefaults = mergeDefaults; exports.validateSchema = validateSchema; exports.getArrayParams = getArrayParams; exports.getRequiredParams = getRequiredParams; exports.shouldIncludeInUrl = shouldIncludeInUrl; exports.urlParamsToVariables = urlParamsToVariables; exports.variablesToUrlParams = variablesToUrlParams; exports.coerceValue = coerceValue; exports.setNestedValue = setNestedValue; exports.getNestedValue = getNestedValue; exports.mergeVariables = mergeVariables; exports.clearParams = clearParams; exports.validateVariables = validateVariables; exports.GraphQLIntrospector = GraphQLIntrospector; exports.introspector = introspector; exports.useQueryParams = useQueryParams; exports.useApiParams = useApiParams; exports.createSearchParams = createSearchParams; exports.useCursorPaginationState = useCursorPaginationState; exports.createNatsClient = createNatsClient; exports.useNatsClient = useNatsClient; exports.useNearViewport = useNearViewport; exports.useAccessCodeIntegration = useAccessCodeIntegration; exports.useOgPlaceholder = useOgPlaceholder;
|
|
3399
|
+
//# sourceMappingURL=chunk-JUZGUQMX.cjs.map
|