@flamingo-stack/openframe-frontend-core 0.0.777 → 0.0.781
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/build/export-map.json +1 -1
- package/dist/case-study-card-CYJ3JXU6.cjs +23 -0
- package/dist/{chunk-64KBI5MI.cjs → chunk-2OYKOHFK.cjs} +2 -2
- package/dist/{chunk-JB2SEF6Q.cjs → chunk-3IHGS44W.cjs} +5 -5
- package/dist/{chunk-E76ONBKF.cjs → chunk-3VINTJPE.cjs} +5 -5
- package/dist/{chunk-R6BKQKIF.cjs → chunk-4XDYSGRL.cjs} +23 -17
- package/dist/{chunk-WMZIBRTR.cjs → chunk-57NE7SHG.cjs} +8 -10
- package/dist/{chunk-G2N7INFT.cjs → chunk-5PBWAF2D.cjs} +44 -44
- package/dist/{chunk-WEANWBJH.cjs → chunk-63OCO2G5.cjs} +4 -3
- package/dist/{chunk-XVAVQ4BK.cjs → chunk-A7FSNBNV.cjs} +217 -275
- package/dist/{chunk-BNUZKBNV.cjs → chunk-AFJEUBDS.cjs} +61 -33
- package/dist/{chunk-XEYL6AFZ.cjs → chunk-AKCBLZAO.cjs} +350 -79
- package/dist/{chunk-DOM5CUEY.cjs → chunk-B6EQVH7D.cjs} +53 -66
- package/dist/{chunk-TF5D5MNO.cjs → chunk-CDBFQVPA.cjs} +84 -127
- package/dist/{chunk-4JZDJ34E.cjs → chunk-D46WFWWI.cjs} +63 -75
- package/dist/{chunk-WCSWWVPF.cjs → chunk-DIY4SJZI.cjs} +20 -30
- package/dist/{chunk-3LW5TD54.cjs → chunk-DJTPDK3W.cjs} +4 -4
- package/dist/{chunk-ALA4KHTE.cjs → chunk-EYNQE2XN.cjs} +6 -6
- package/dist/{chunk-TZP7PSPG.cjs → chunk-FWJ5YECN.cjs} +1312 -1489
- package/dist/{chunk-S3YDUX2I.cjs → chunk-HLZUBJPL.cjs} +600 -646
- package/dist/{chunk-T47VAUYR.cjs → chunk-HPGCUYAZ.cjs} +207 -230
- package/dist/{chunk-SETFUCZA.cjs → chunk-HTSRCFXP.cjs} +7 -7
- package/dist/{chunk-TUAATMUE.cjs → chunk-IYU2ZH2J.cjs} +2 -2
- package/dist/chunk-JHDPEYZH.cjs +385 -0
- package/dist/{chunk-MQPTOJMF.cjs → chunk-JQWYXC2E.cjs} +161 -177
- package/dist/{chunk-YXDHVHB2.cjs → chunk-KWV23THO.cjs} +34 -17
- package/dist/{chunk-XIFEZ2JT.cjs → chunk-L4XOCV7S.cjs} +10 -10
- package/dist/{chunk-U5VQFKRZ.cjs → chunk-LDGR5VCK.cjs} +4 -4
- package/dist/chunk-N6YCOBLK.cjs +252 -0
- package/dist/{chunk-HXLOCZMG.cjs → chunk-ODZ5XGWA.cjs} +4624 -5079
- package/dist/{chunk-7LJSGOWS.cjs → chunk-OFX6XEVN.cjs} +13 -13
- package/dist/{chunk-CGQ7CL62.cjs → chunk-OHXB6HUX.cjs} +808 -422
- package/dist/{chunk-UW6AOF42.cjs → chunk-PID7LUDP.cjs} +59 -57
- package/dist/{chunk-3ZLPYEL5.cjs → chunk-Q7HXTF2C.cjs} +4 -4
- package/dist/{chunk-KKAY6GPU.cjs → chunk-QD7SKYCQ.cjs} +3 -3
- package/dist/{chunk-SDZG7VV7.cjs → chunk-RJX33Y4Q.cjs} +24 -25
- package/dist/{chunk-BEMGJDXI.cjs → chunk-RYIWADIB.cjs} +23 -20
- package/dist/chunk-SMEX3BWO.cjs +49 -0
- package/dist/{chunk-FL2RMEDX.cjs → chunk-T4ZVKEDP.cjs} +10 -7
- package/dist/{chunk-LBGAHB6X.cjs → chunk-T7SDYBST.cjs} +104 -104
- package/dist/{chunk-LU2DGST4.cjs → chunk-TH5X2BXK.cjs} +161 -167
- package/dist/{chunk-VY3NGJRH.cjs → chunk-TZ6MTHUC.cjs} +69 -88
- package/dist/{chunk-SIDDZZKL.cjs → chunk-UONQCE5N.cjs} +348 -373
- package/dist/{chunk-BDDOC425.cjs → chunk-VDTLVFCV.cjs} +13 -13
- package/dist/{chunk-LELS4XMX.cjs → chunk-VZKAAXU3.cjs} +54 -56
- package/dist/{chunk-3PCSEZNZ.cjs → chunk-X6TXMWBV.cjs} +64 -67
- package/dist/{chunk-JMFF3L3T.cjs → chunk-XHJI7R4J.cjs} +55 -85
- package/dist/{chunk-QIATO42V.cjs → chunk-XYKVOBIP.cjs} +3 -3
- package/dist/{chunk-KLTUTZBO.cjs → chunk-YEJWNHD3.cjs} +206 -207
- package/dist/{chunk-T7NDPPLF.cjs → chunk-YKJ4JN6T.cjs} +44 -44
- package/dist/{chunk-XFRBEXQN.cjs → chunk-YNDH72VU.cjs} +21 -48
- package/dist/{chunk-Y6MQBLTZ.cjs → chunk-ZPYFPLPD.cjs} +10 -10
- package/dist/{chunk-5PK22JP7.cjs → chunk-ZV6RQNXE.cjs} +59 -61
- package/dist/{cloud-tenants-EUH42CCL.cjs → cloud-tenants-UAFVHKX7.cjs} +32 -33
- package/dist/components/agent-mark.d.ts +4 -6
- package/dist/components/agent-mark.d.ts.map +1 -1
- package/dist/components/agent-mark.js +3 -2
- package/dist/components/authors/author-detail-view.js +3 -5
- package/dist/components/calendar.cjs +11 -11
- package/dist/components/case-studies/entity-quotes-panel.d.ts +0 -7
- package/dist/components/case-studies/entity-quotes-panel.d.ts.map +1 -1
- package/dist/components/case-studies/entity-quotes-panel.js +1 -25
- package/dist/components/case-studies/index.cjs +57 -84
- package/dist/components/case-studies/index.d.ts +2 -2
- package/dist/components/case-studies/index.d.ts.map +1 -1
- package/dist/components/case-studies/index.js +1 -4
- package/dist/components/case-studies/quote-cards-strip.d.ts +13 -9
- package/dist/components/case-studies/quote-cards-strip.d.ts.map +1 -1
- package/dist/components/case-studies/quote-cards-strip.js +7 -7
- package/dist/components/categories-cart.d.ts +0 -9
- package/dist/components/categories-cart.d.ts.map +1 -1
- package/dist/components/categories-cart.js +24 -9
- package/dist/components/category-card.d.ts.map +1 -1
- package/dist/components/category-card.js +57 -11
- package/dist/components/chat/approval-batch-message.d.ts.map +1 -1
- package/dist/components/chat/approval-batch-message.js +14 -22
- package/dist/components/chat/ask-display.d.ts.map +1 -1
- package/dist/components/chat/ask-display.js +9 -10
- package/dist/components/chat/ask-prompts.d.ts +3 -3
- package/dist/components/chat/ask-prompts.d.ts.map +1 -1
- package/dist/components/chat/ask-prompts.js +20 -20
- package/dist/components/chat/chat-archive-page.d.ts +5 -4
- package/dist/components/chat/chat-archive-page.d.ts.map +1 -1
- package/dist/components/chat/chat-archive-page.js +33 -22
- package/dist/components/chat/chat-container.d.ts.map +1 -1
- package/dist/components/chat/chat-container.js +18 -15
- package/dist/components/chat/chat-context-memory-bar.d.ts.map +1 -1
- package/dist/components/chat/chat-context-memory-bar.js +10 -9
- package/dist/components/chat/chat-context-picker.d.ts.map +1 -1
- package/dist/components/chat/chat-context-picker.js +40 -35
- package/dist/components/chat/chat-input.d.ts.map +1 -1
- package/dist/components/chat/chat-input.js +5 -13
- package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
- package/dist/components/chat/chat-message-enhanced.js +33 -16
- package/dist/components/chat/chat-message-layout.d.ts +35 -0
- package/dist/components/chat/chat-message-layout.d.ts.map +1 -0
- package/dist/components/chat/chat-message-layout.js +34 -0
- package/dist/components/chat/chat-message-list.d.ts.map +1 -1
- package/dist/components/chat/chat-message-list.js +30 -16
- package/dist/components/chat/chat-message-row.d.ts +9 -8
- package/dist/components/chat/chat-message-row.d.ts.map +1 -1
- package/dist/components/chat/chat-message-row.js +40 -19
- package/dist/components/chat/chat-message-skeleton.d.ts +34 -13
- package/dist/components/chat/chat-message-skeleton.d.ts.map +1 -1
- package/dist/components/chat/chat-message-skeleton.js +57 -29
- package/dist/components/chat/chat-nav-sidebar.d.ts +20 -2
- package/dist/components/chat/chat-nav-sidebar.d.ts.map +1 -1
- package/dist/components/chat/chat-nav-sidebar.js +66 -34
- package/dist/components/chat/chat-panel-header.d.ts.map +1 -1
- package/dist/components/chat/chat-panel-header.js +18 -8
- package/dist/components/chat/chat-sidebar.d.ts +4 -0
- package/dist/components/chat/chat-sidebar.d.ts.map +1 -1
- package/dist/components/chat/chat-sidebar.js +34 -26
- package/dist/components/chat/chat-ticket-list.d.ts +4 -1
- package/dist/components/chat/chat-ticket-list.d.ts.map +1 -1
- package/dist/components/chat/chat-ticket-list.js +18 -13
- package/dist/components/chat/chat-top-navigation.d.ts +2 -1
- package/dist/components/chat/chat-top-navigation.d.ts.map +1 -1
- package/dist/components/chat/chat-top-navigation.js +55 -47
- package/dist/components/chat/chat-turn.d.ts +11 -11
- package/dist/components/chat/chat-turn.d.ts.map +1 -1
- package/dist/components/chat/chat-turn.js +9 -13
- package/dist/components/chat/context-items-list.d.ts +11 -7
- package/dist/components/chat/context-items-list.d.ts.map +1 -1
- package/dist/components/chat/context-items-list.js +53 -51
- package/dist/components/chat/embeddable-chat.d.ts +8 -0
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +81 -81
- package/dist/components/chat/entity-cards/admin-content-card-grid.d.ts +8 -29
- package/dist/components/chat/entity-cards/admin-content-card-grid.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/admin-content-card-grid.js +27 -22
- package/dist/components/chat/entity-cards/admin-content-card.d.ts +6 -15
- package/dist/components/chat/entity-cards/admin-content-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/admin-content-card.js +9 -8
- package/dist/components/chat/entity-cards/ai-prompt-card.d.ts +10 -5
- package/dist/components/chat/entity-cards/ai-prompt-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/ai-prompt-card.js +5 -9
- package/dist/components/chat/entity-cards/blog-card.d.ts +11 -11
- package/dist/components/chat/entity-cards/blog-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/blog-card.js +20 -6
- package/dist/components/chat/entity-cards/campaign-card-admin.d.ts +0 -3
- package/dist/components/chat/entity-cards/campaign-card-admin.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/campaign-card-admin.js +1 -2
- package/dist/components/chat/entity-cards/case-study-card.d.ts +0 -10
- package/dist/components/chat/entity-cards/case-study-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/case-study-card.js +13 -4
- package/dist/components/chat/entity-cards/chat-ticket-item.d.ts +6 -8
- package/dist/components/chat/entity-cards/chat-ticket-item.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/chat-ticket-item.js +69 -85
- package/dist/components/chat/entity-cards/customer-interview-card.d.ts +11 -11
- package/dist/components/chat/entity-cards/customer-interview-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/customer-interview-card.js +48 -21
- package/dist/components/chat/entity-cards/data-room-doc-card.d.ts +0 -3
- package/dist/components/chat/entity-cards/data-room-doc-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/data-room-doc-card.js +1 -2
- package/dist/components/chat/entity-cards/design-doc-card.d.ts +0 -8
- package/dist/components/chat/entity-cards/design-doc-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/design-doc-card.js +5 -6
- package/dist/components/chat/entity-cards/dispatch.d.ts +2 -2
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/dispatch.js +23 -26
- package/dist/components/chat/entity-cards/employee-entry-card.d.ts +14 -21
- package/dist/components/chat/entity-cards/employee-entry-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/employee-entry-card.js +19 -7
- package/dist/components/chat/entity-cards/entity-author-card.d.ts +13 -29
- package/dist/components/chat/entity-cards/entity-author-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/entity-author-card.js +7 -8
- package/dist/components/chat/entity-cards/entity-portrait-card.d.ts +4 -10
- package/dist/components/chat/entity-cards/entity-portrait-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/entity-portrait-card.js +22 -13
- package/dist/components/chat/entity-cards/generic-entity-card.d.ts +0 -3
- package/dist/components/chat/entity-cards/generic-entity-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/generic-entity-card.js +1 -2
- package/dist/components/chat/entity-cards/github-activity-card.d.ts +0 -4
- package/dist/components/chat/entity-cards/github-activity-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/github-activity-card.js +0 -1
- package/dist/components/chat/entity-cards/how-i-work-card.d.ts +10 -6
- package/dist/components/chat/entity-cards/how-i-work-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/how-i-work-card.js +5 -9
- package/dist/components/chat/entity-cards/hubspot-ticket-card.d.ts +0 -4
- package/dist/components/chat/entity-cards/hubspot-ticket-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/hubspot-ticket-card.js +1 -2
- package/dist/components/chat/entity-cards/index.d.ts +23 -24
- package/dist/components/chat/entity-cards/index.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/index.js +26 -78
- package/dist/components/chat/entity-cards/investor-update-card.d.ts +11 -10
- package/dist/components/chat/entity-cards/investor-update-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/investor-update-card.js +16 -10
- package/dist/components/chat/entity-cards/onboarding-guide-card.d.ts +14 -14
- package/dist/components/chat/entity-cards/onboarding-guide-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/onboarding-guide-card.js +34 -12
- package/dist/components/chat/entity-cards/program-card.d.ts +18 -17
- package/dist/components/chat/entity-cards/program-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/program-card.js +47 -36
- package/dist/components/chat/entity-cards/roadmap-card.d.ts +12 -14
- package/dist/components/chat/entity-cards/roadmap-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/roadmap-card.js +19 -9
- package/dist/components/chat/entity-cards/slack-message-card.d.ts +0 -4
- package/dist/components/chat/entity-cards/slack-message-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/slack-message-card.js +1 -2
- package/dist/components/chat/entity-cards/what-i-shipped-card.d.ts +10 -6
- package/dist/components/chat/entity-cards/what-i-shipped-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/what-i-shipped-card.js +5 -5
- package/dist/components/chat/error-message-display.d.ts.map +1 -1
- package/dist/components/chat/error-message-display.js +3 -5
- package/dist/components/chat/guide-mode-banner.d.ts.map +1 -1
- package/dist/components/chat/guide-mode-banner.js +2 -9
- package/dist/components/chat/guide-welcome.d.ts +1 -1
- package/dist/components/chat/guide-welcome.d.ts.map +1 -1
- package/dist/components/chat/guide-welcome.js +4 -2
- package/dist/components/chat/hooks/use-chat-dialog-manager.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-chat-dialog-manager.js +2 -1
- package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-nats-chat-adapter.js +2 -1
- package/dist/components/chat/hooks/use-sse-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-sse-chat-adapter.js +2 -1
- package/dist/components/chat/index.cjs +26 -88
- package/dist/components/chat/index.d.ts +1 -4
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +2 -4
- package/dist/components/chat/mingo-archive-list.d.ts +4 -2
- package/dist/components/chat/mingo-archive-list.d.ts.map +1 -1
- package/dist/components/chat/mingo-archive-list.js +8 -4
- package/dist/components/chat/mingo-chat-header.d.ts.map +1 -1
- package/dist/components/chat/mingo-chat-header.js +9 -8
- package/dist/components/chat/mingo-chat-history.d.ts +15 -14
- package/dist/components/chat/mingo-chat-history.d.ts.map +1 -1
- package/dist/components/chat/mingo-chat-history.js +63 -46
- package/dist/components/chat/mingo-chat-modals.d.ts.map +1 -1
- package/dist/components/chat/mingo-chat-modals.js +10 -12
- package/dist/components/chat/mingo-chat-rail.d.ts +4 -2
- package/dist/components/chat/mingo-chat-rail.d.ts.map +1 -1
- package/dist/components/chat/mingo-chat-rail.js +10 -6
- package/dist/components/chat/mingo-history-rail.d.ts +6 -3
- package/dist/components/chat/mingo-history-rail.d.ts.map +1 -1
- package/dist/components/chat/mingo-history-rail.js +7 -2
- package/dist/components/chat/mingo-info-card.d.ts +6 -7
- package/dist/components/chat/mingo-info-card.d.ts.map +1 -1
- package/dist/components/chat/mingo-info-card.js +21 -16
- package/dist/components/chat/mingo-onboarding-card.d.ts +8 -1
- package/dist/components/chat/mingo-onboarding-card.d.ts.map +1 -1
- package/dist/components/chat/mingo-onboarding-card.js +70 -32
- package/dist/components/chat/mingo-welcome.d.ts +4 -1
- package/dist/components/chat/mingo-welcome.d.ts.map +1 -1
- package/dist/components/chat/mingo-welcome.js +15 -5
- package/dist/components/chat/model-display.d.ts +1 -15
- package/dist/components/chat/model-display.d.ts.map +1 -1
- package/dist/components/chat/model-display.js +16 -13
- package/dist/components/chat/msp-organization-card.d.ts +8 -1
- package/dist/components/chat/msp-organization-card.d.ts.map +1 -1
- package/dist/components/chat/msp-organization-card.js +34 -39
- package/dist/components/chat/quick-action-chip.d.ts +10 -24
- package/dist/components/chat/quick-action-chip.d.ts.map +1 -1
- package/dist/components/chat/quick-action-chip.js +42 -8
- package/dist/components/chat/quick-action-wall.d.ts +3 -3
- package/dist/components/chat/quick-action-wall.d.ts.map +1 -1
- package/dist/components/chat/quick-action-wall.js +17 -10
- package/dist/components/chat/tool-execution-display.d.ts.map +1 -1
- package/dist/components/chat/tool-execution-display.js +2 -9
- package/dist/components/chat/types/component.types.d.ts +26 -0
- package/dist/components/chat/types/component.types.d.ts.map +1 -1
- package/dist/components/chat/types/entities/program-types.d.ts +3 -0
- package/dist/components/chat/types/entities/program-types.d.ts.map +1 -1
- package/dist/components/chat/utils/compact-card-skeleton.d.ts +1 -1
- package/dist/components/chat/utils/compact-card-skeleton.js +2 -2
- package/dist/components/command.d.ts +7 -7
- package/dist/components/comment-card.d.ts +15 -16
- package/dist/components/comment-card.d.ts.map +1 -1
- package/dist/components/comment-card.js +121 -127
- package/dist/components/comment-thread.d.ts +9 -27
- package/dist/components/comment-thread.d.ts.map +1 -1
- package/dist/components/comment-thread.js +36 -24
- package/dist/components/contact/index.cjs +33 -34
- package/dist/components/docs/docs-hub-page.d.ts +1 -4
- package/dist/components/docs/docs-hub-page.d.ts.map +1 -1
- package/dist/components/docs/docs-hub-page.js +2 -3
- package/dist/components/docs/index.cjs +36 -41
- package/dist/components/docs/index.d.ts +0 -1
- package/dist/components/docs/index.d.ts.map +1 -1
- package/dist/components/docs/index.js +0 -3
- package/dist/components/embeds/embed-viewer-frame.d.ts +1 -1
- package/dist/components/embeds/embed-viewer-frame.d.ts.map +1 -1
- package/dist/components/embeds/embed-viewer-frame.js +3 -1
- package/dist/components/embeds/index.cjs +33 -38
- package/dist/components/embeds/index.d.ts +1 -1
- package/dist/components/embeds/index.d.ts.map +1 -1
- package/dist/components/embeds/index.js +1 -3
- package/dist/components/embeds/og-link-preview.d.ts +0 -10
- package/dist/components/embeds/og-link-preview.d.ts.map +1 -1
- package/dist/components/embeds/og-link-preview.js +1 -3
- package/dist/components/faq/faq-section.d.ts +0 -7
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/faq-section.js +13 -9
- package/dist/components/faq/index.cjs +34 -37
- package/dist/components/faq/index.d.ts +1 -1
- package/dist/components/faq/index.d.ts.map +1 -1
- package/dist/components/faq/index.js +0 -2
- package/dist/components/faq-accordion.d.ts +6 -9
- package/dist/components/faq-accordion.d.ts.map +1 -1
- package/dist/components/faq-accordion.js +14 -17
- package/dist/components/features/ai-enrich/AIEnrichSection.d.ts.map +1 -1
- package/dist/components/features/ai-enrich/AIEnrichSection.js +2 -1
- package/dist/components/features/approval-level.d.ts +0 -12
- package/dist/components/features/approval-level.d.ts.map +1 -1
- package/dist/components/features/approval-level.js +0 -1
- package/dist/components/features/auth/back-to-login-link.js +2 -2
- package/dist/components/features/auth/complete-account-form.d.ts +4 -1
- package/dist/components/features/auth/complete-account-form.d.ts.map +1 -1
- package/dist/components/features/auth/complete-account-form.js +5 -3
- package/dist/components/features/auth/create-organization-form.d.ts +5 -3
- package/dist/components/features/auth/create-organization-form.d.ts.map +1 -1
- package/dist/components/features/auth/create-organization-form.js +12 -2
- package/dist/components/features/auth/invite-link-invalid-modal.d.ts.map +1 -1
- package/dist/components/features/auth/invite-link-invalid-modal.js +5 -3
- package/dist/components/features/auth/login-form.d.ts +6 -1
- package/dist/components/features/auth/login-form.d.ts.map +1 -1
- package/dist/components/features/auth/login-form.js +5 -3
- package/dist/components/features/auth/sso-join-form.d.ts +7 -10
- package/dist/components/features/auth/sso-join-form.d.ts.map +1 -1
- package/dist/components/features/auth/sso-join-form.js +16 -6
- package/dist/components/features/auth/sso-providers.d.ts +9 -1
- package/dist/components/features/auth/sso-providers.d.ts.map +1 -1
- package/dist/components/features/auth/sso-providers.js +14 -2
- package/dist/components/features/board/board-column.d.ts +1 -1
- package/dist/components/features/board/board-column.d.ts.map +1 -1
- package/dist/components/features/board/board-column.js +9 -7
- package/dist/components/features/board/board-ticket-approval.d.ts.map +1 -1
- package/dist/components/features/board/board-ticket-approval.js +16 -24
- package/dist/components/features/board/board.d.ts +5 -3
- package/dist/components/features/board/board.d.ts.map +1 -1
- package/dist/components/features/board/board.js +17 -8
- package/dist/components/features/board/index.d.ts +1 -3
- package/dist/components/features/board/index.d.ts.map +1 -1
- package/dist/components/features/board/index.js +2 -3
- package/dist/components/features/board/ticket-card.d.ts +9 -6
- package/dist/components/features/board/ticket-card.d.ts.map +1 -1
- package/dist/components/features/board/ticket-card.js +41 -8
- package/dist/components/features/board/types.d.ts +5 -0
- package/dist/components/features/board/types.d.ts.map +1 -1
- package/dist/components/features/board/types.js +2 -0
- package/dist/components/features/capability-explorer.d.ts +2 -16
- package/dist/components/features/capability-explorer.d.ts.map +1 -1
- package/dist/components/features/capability-explorer.js +106 -121
- package/dist/components/features/card-hit-layer.d.ts.map +1 -1
- package/dist/components/features/card-hit-layer.js +4 -2
- package/dist/components/features/cloud-tenants/tenant-access-cell.d.ts.map +1 -1
- package/dist/components/features/cloud-tenants/tenant-access-cell.js +4 -2
- package/dist/components/features/cloud-tenants/tenant-cell.d.ts.map +1 -1
- package/dist/components/features/cloud-tenants/tenant-cell.js +5 -2
- package/dist/components/features/cloud-tenants/tenant-customer-cell.d.ts.map +1 -1
- package/dist/components/features/cloud-tenants/tenant-customer-cell.js +3 -1
- package/dist/components/features/cloud-tenants/tenants-table-view.d.ts.map +1 -1
- package/dist/components/features/cloud-tenants/tenants-table-view.js +39 -20
- package/dist/components/features/command-box.d.ts +4 -20
- package/dist/components/features/command-box.d.ts.map +1 -1
- package/dist/components/features/command-box.js +28 -8
- package/dist/components/features/conversation-card.d.ts +3 -28
- package/dist/components/features/conversation-card.d.ts.map +1 -1
- package/dist/components/features/conversation-card.js +73 -30
- package/dist/components/features/devices/device-selector/device-selector.d.ts +1 -1
- package/dist/components/features/devices/device-selector/device-selector.d.ts.map +1 -1
- package/dist/components/features/devices/device-selector/device-selector.js +45 -45
- package/dist/components/features/devices/device-selector/device-selector.types.d.ts +5 -0
- package/dist/components/features/devices/device-selector/device-selector.types.d.ts.map +1 -1
- package/dist/components/features/devices/device-type-tile.d.ts.map +1 -1
- package/dist/components/features/devices/device-type-tile.js +4 -1
- package/dist/components/features/devices/devices-grid-filters.d.ts.map +1 -1
- package/dist/components/features/devices/devices-grid-filters.js +5 -20
- package/dist/components/features/devices/devices-grid.d.ts +8 -1
- package/dist/components/features/devices/devices-grid.d.ts.map +1 -1
- package/dist/components/features/devices/devices-grid.js +22 -12
- package/dist/components/features/devices/devices-list.d.ts +1 -1
- package/dist/components/features/devices/devices-list.d.ts.map +1 -1
- package/dist/components/features/devices/devices-list.js +5 -2
- package/dist/components/features/devices/devices-panel-view.d.ts +7 -1
- package/dist/components/features/devices/devices-panel-view.d.ts.map +1 -1
- package/dist/components/features/devices/devices-panel-view.js +11 -6
- package/dist/components/features/devices/devices-table-columns.d.ts.map +1 -1
- package/dist/components/features/devices/devices-table-columns.js +29 -8
- package/dist/components/features/devices/index.d.ts +0 -1
- package/dist/components/features/devices/index.d.ts.map +1 -1
- package/dist/components/features/devices/index.js +0 -2
- package/dist/components/features/entity-tag-badges.d.ts +3 -20
- package/dist/components/features/entity-tag-badges.d.ts.map +1 -1
- package/dist/components/features/entity-tag-badges.js +12 -27
- package/dist/components/features/entity-video-section.d.ts +0 -8
- package/dist/components/features/entity-video-section.d.ts.map +1 -1
- package/dist/components/features/entity-video-section.js +4 -5
- package/dist/components/features/filters-dropdown.d.ts.map +1 -1
- package/dist/components/features/filters-dropdown.js +14 -17
- package/dist/components/features/highlight-video-section.d.ts.map +1 -1
- package/dist/components/features/highlight-video-section.js +7 -7
- package/dist/components/features/index.cjs +32 -65
- package/dist/components/features/knowledge-base/knowledge-base-table.d.ts.map +1 -1
- package/dist/components/features/knowledge-base/knowledge-base-table.js +78 -47
- package/dist/components/features/logs/index.d.ts +2 -2
- package/dist/components/features/logs/index.d.ts.map +1 -1
- package/dist/components/features/logs/index.js +1 -2
- package/dist/components/features/logs/logs-page-view.d.ts.map +1 -1
- package/dist/components/features/logs/logs-page-view.js +1 -0
- package/dist/components/features/logs/logs-table-columns.d.ts +2 -3
- package/dist/components/features/logs/logs-table-columns.d.ts.map +1 -1
- package/dist/components/features/logs/logs-table-view.d.ts +6 -12
- package/dist/components/features/logs/logs-table-view.d.ts.map +1 -1
- package/dist/components/features/logs/logs-table-view.js +75 -98
- package/dist/components/features/model-token-rates.d.ts +0 -5
- package/dist/components/features/model-token-rates.d.ts.map +1 -1
- package/dist/components/features/model-token-rates.js +18 -20
- package/dist/components/features/notifications/index.d.ts +2 -2
- package/dist/components/features/notifications/index.d.ts.map +1 -1
- package/dist/components/features/notifications/index.js +1 -2
- package/dist/components/features/notifications/notification-drawer.d.ts.map +1 -1
- package/dist/components/features/notifications/notification-drawer.js +6 -3
- package/dist/components/features/notifications/notification-tile.d.ts +21 -20
- package/dist/components/features/notifications/notification-tile.d.ts.map +1 -1
- package/dist/components/features/notifications/notification-tile.js +24 -6
- package/dist/components/features/os-type-badge-group.d.ts +3 -1
- package/dist/components/features/os-type-badge-group.d.ts.map +1 -1
- package/dist/components/features/os-type-badge-group.js +12 -1
- package/dist/components/features/os-type-badge.d.ts.map +1 -1
- package/dist/components/features/os-type-badge.js +10 -0
- package/dist/components/features/paths-display.d.ts +0 -7
- package/dist/components/features/paths-display.d.ts.map +1 -1
- package/dist/components/features/paths-display.js +17 -9
- package/dist/components/features/platform-badge.d.ts +4 -3
- package/dist/components/features/platform-badge.d.ts.map +1 -1
- package/dist/components/features/platform-badge.js +4 -4
- package/dist/components/features/policies/policies-table.d.ts.map +1 -1
- package/dist/components/features/policies/policies-table.js +49 -27
- package/dist/components/features/policy-configuration-panel.d.ts +2 -0
- package/dist/components/features/policy-configuration-panel.d.ts.map +1 -1
- package/dist/components/features/policy-configuration-panel.js +56 -34
- package/dist/components/features/push-button-selector.d.ts +0 -19
- package/dist/components/features/push-button-selector.d.ts.map +1 -1
- package/dist/components/features/push-button-selector.js +13 -11
- package/dist/components/features/remote-session/index.d.ts +1 -1
- package/dist/components/features/remote-session/index.d.ts.map +1 -1
- package/dist/components/features/remote-session/index.js +1 -2
- package/dist/components/features/remote-session/remote-desktop-chat-message-row.d.ts +9 -3
- package/dist/components/features/remote-session/remote-desktop-chat-message-row.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-desktop-chat-message-row.js +31 -17
- package/dist/components/features/remote-session/remote-desktop-chat-panel.d.ts +1 -1
- package/dist/components/features/remote-session/remote-desktop-chat-panel.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-desktop-chat-panel.js +20 -7
- package/dist/components/features/remote-session/remote-desktop-fullscreen-toolbar.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-desktop-fullscreen-toolbar.js +5 -13
- package/dist/components/features/remote-session/remote-desktop-view.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-desktop-view.js +7 -15
- package/dist/components/features/remote-session/remote-session-block.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-session-block.js +18 -28
- package/dist/components/features/remote-session/remote-session-chat-panel.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-session-chat-panel.js +5 -3
- package/dist/components/features/remote-session/remote-session-events.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-session-events.js +9 -8
- package/dist/components/features/remote-session/remote-session-overlay.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-session-overlay.js +5 -12
- package/dist/components/features/scripts/execution-cells.d.ts +4 -1
- package/dist/components/features/scripts/execution-cells.d.ts.map +1 -1
- package/dist/components/features/scripts/execution-cells.js +9 -3
- package/dist/components/features/scripts/schedule-form/schedule-script-picker-card.js +4 -2
- package/dist/components/features/scripts/schedule-form/schedule-timing-fields.d.ts.map +1 -1
- package/dist/components/features/scripts/schedule-form/schedule-timing-fields.js +5 -2
- package/dist/components/features/scripts/script-executions-table.d.ts.map +1 -1
- package/dist/components/features/scripts/script-executions-table.js +24 -7
- package/dist/components/features/scripts/script-schedules-table.d.ts.map +1 -1
- package/dist/components/features/scripts/script-schedules-table.js +36 -9
- package/dist/components/features/scripts/script-shell-badge.d.ts.map +1 -1
- package/dist/components/features/scripts/script-shell-badge.js +8 -0
- package/dist/components/features/scripts/scripts-table-shared.d.ts +4 -1
- package/dist/components/features/scripts/scripts-table-shared.d.ts.map +1 -1
- package/dist/components/features/scripts/scripts-table-shared.js +4 -1
- package/dist/components/features/scripts/scripts-table.d.ts.map +1 -1
- package/dist/components/features/scripts/scripts-table.js +23 -7
- package/dist/components/features/select-button.d.ts.map +1 -1
- package/dist/components/features/select-button.js +5 -12
- package/dist/components/features/status-filter-component.d.ts +0 -14
- package/dist/components/features/status-filter-component.d.ts.map +1 -1
- package/dist/components/features/status-filter-component.js +1 -2
- package/dist/components/features/tags-selector.d.ts.map +1 -1
- package/dist/components/features/tags-selector.js +4 -3
- package/dist/components/features/ticket-status-config-list/ticket-status-config-list.d.ts +10 -1
- package/dist/components/features/ticket-status-config-list/ticket-status-config-list.d.ts.map +1 -1
- package/dist/components/features/ticket-status-config-list/ticket-status-config-list.js +34 -9
- package/dist/components/features/video-bites-strip.d.ts +0 -31
- package/dist/components/features/video-bites-strip.d.ts.map +1 -1
- package/dist/components/features/video-bites-strip.js +2 -9
- package/dist/components/features/video-hover-preview.d.ts.map +1 -1
- package/dist/components/features/video-hover-preview.js +2 -5
- package/dist/components/features/video-shared.d.ts +3 -0
- package/dist/components/features/video-shared.d.ts.map +1 -1
- package/dist/components/features/video-source-selector.d.ts.map +1 -1
- package/dist/components/features/video-source-selector.js +5 -3
- package/dist/components/features/video.d.ts +1 -9
- package/dist/components/features/video.d.ts.map +1 -1
- package/dist/components/features/video.js +5 -47
- package/dist/components/features/walkthrough-video.d.ts +0 -7
- package/dist/components/features/walkthrough-video.d.ts.map +1 -1
- package/dist/components/features/walkthrough-video.js +1 -2
- package/dist/components/filter-chip.d.ts.map +1 -1
- package/dist/components/filter-chip.js +5 -9
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/download-apps-page.js +19 -13
- package/dist/components/help-center-pages/index.cjs +187 -191
- package/dist/components/help-center-pages/index.d.ts +1 -1
- package/dist/components/help-center-pages/index.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.js +2 -3
- package/dist/components/help-center-pages/trust-center-page.d.ts +0 -9
- package/dist/components/help-center-pages/trust-center-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/trust-center-page.js +4 -11
- package/dist/components/help-center-pages/trust-center-sections.js +10 -10
- package/dist/components/index.cjs +493 -1298
- package/dist/components/index.d.ts +2 -3
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -9
- package/dist/components/interactive-wrapper.d.ts +0 -4
- package/dist/components/interactive-wrapper.d.ts.map +1 -1
- package/dist/components/interactive-wrapper.js +0 -21
- package/dist/components/layout/back-button.d.ts +5 -2
- package/dist/components/layout/back-button.d.ts.map +1 -1
- package/dist/components/layout/back-button.js +5 -18
- package/dist/components/layout/list-page-layout.d.ts +3 -3
- package/dist/components/layout/list-page-layout.d.ts.map +1 -1
- package/dist/components/layout/list-page-layout.js +1 -0
- package/dist/components/layout/page-container.d.ts +0 -8
- package/dist/components/layout/page-container.d.ts.map +1 -1
- package/dist/components/layout/page-container.js +0 -2
- package/dist/components/layout/page-heading.d.ts +11 -21
- package/dist/components/layout/page-heading.d.ts.map +1 -1
- package/dist/components/layout/page-heading.js +18 -2
- package/dist/components/loading/index.d.ts +2 -13
- package/dist/components/loading/index.d.ts.map +1 -1
- package/dist/components/loading/index.js +5 -42
- package/dist/components/loading/loading-fallback.d.ts +46 -0
- package/dist/components/loading/loading-fallback.d.ts.map +1 -0
- package/dist/components/loading/loading-fallback.js +33 -0
- package/dist/components/loading/loading-region.d.ts.map +1 -1
- package/dist/components/loading/loading-region.js +2 -2
- package/dist/components/log-severity-dot.d.ts +0 -2
- package/dist/components/log-severity-dot.d.ts.map +1 -1
- package/dist/components/log-severity-dot.js +4 -3
- package/dist/components/logs-list.d.ts.map +1 -1
- package/dist/components/logs-list.js +6 -8
- package/dist/components/meeting-scheduler/booking-form.d.ts +1 -28
- package/dist/components/meeting-scheduler/booking-form.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/booking-form.js +4 -6
- package/dist/components/meeting-scheduler/context-panel.d.ts +1 -24
- package/dist/components/meeting-scheduler/context-panel.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/context-panel.js +8 -39
- package/dist/components/meeting-scheduler/directory.d.ts +0 -10
- package/dist/components/meeting-scheduler/directory.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/directory.js +6 -7
- package/dist/components/meeting-scheduler/host-identity.d.ts +12 -0
- package/dist/components/meeting-scheduler/host-identity.d.ts.map +1 -0
- package/dist/components/meeting-scheduler/host-identity.js +51 -0
- package/dist/components/meeting-scheduler/index.cjs +278 -306
- package/dist/components/meeting-scheduler/index.d.ts +3 -3
- package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.js +4 -11
- package/dist/components/meeting-scheduler/modal-header.d.ts +1 -4
- package/dist/components/meeting-scheduler/modal-header.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/modal-header.js +6 -45
- package/dist/components/meeting-scheduler/slot-picker.d.ts +0 -16
- package/dist/components/meeting-scheduler/slot-picker.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/slot-picker.js +7 -14
- package/dist/components/metric-value.d.ts +0 -5
- package/dist/components/metric-value.d.ts.map +1 -1
- package/dist/components/metric-value.js +1 -2
- package/dist/components/msp-display.d.ts +0 -5
- package/dist/components/msp-display.d.ts.map +1 -1
- package/dist/components/msp-display.js +3 -4
- package/dist/components/navigation/app-header.d.ts.map +1 -1
- package/dist/components/navigation/app-header.js +3 -1
- package/dist/components/navigation/header-button.d.ts.map +1 -1
- package/dist/components/navigation/header-button.js +5 -9
- package/dist/components/navigation/header-mingo-button.d.ts.map +1 -1
- package/dist/components/navigation/header-mingo-button.js +4 -8
- package/dist/components/navigation/header-organization-filter.d.ts.map +1 -1
- package/dist/components/navigation/header-organization-filter.js +11 -23
- package/dist/components/navigation/index.cjs +35 -36
- package/dist/components/navigation/mobile-burger-menu.d.ts.map +1 -1
- package/dist/components/navigation/mobile-burger-menu.js +8 -29
- package/dist/components/navigation/multi-level-navigation.d.ts +0 -10
- package/dist/components/navigation/multi-level-navigation.d.ts.map +1 -1
- package/dist/components/navigation/multi-level-navigation.js +26 -37
- package/dist/components/navigation/navigation-sidebar-item.d.ts +12 -14
- package/dist/components/navigation/navigation-sidebar-item.d.ts.map +1 -1
- package/dist/components/navigation/navigation-sidebar-item.js +29 -44
- package/dist/components/navigation/navigation-sidebar-toggle.d.ts.map +1 -1
- package/dist/components/navigation/navigation-sidebar-toggle.js +4 -8
- package/dist/components/navigation/navigation-sidebar.d.ts.map +1 -1
- package/dist/components/navigation/navigation-sidebar.js +3 -3
- package/dist/components/navigation/sticky-section-nav.d.ts +0 -7
- package/dist/components/navigation/sticky-section-nav.d.ts.map +1 -1
- package/dist/components/navigation/sticky-section-nav.js +9 -15
- package/dist/components/onboarding-guides/index.cjs +35 -36
- package/dist/components/onboarding-guides/onboarding-guide-detail-view.d.ts.map +1 -1
- package/dist/components/onboarding-guides/onboarding-guide-detail-view.js +3 -5
- package/dist/components/onboarding-guides/onboarding-guides-catalog-view.d.ts.map +1 -1
- package/dist/components/onboarding-guides/onboarding-guides-catalog-view.js +22 -14
- package/dist/components/pagination.d.ts.map +1 -1
- package/dist/components/pagination.js +1 -11
- package/dist/components/platform/ToolBadge.d.ts +0 -8
- package/dist/components/platform/ToolBadge.d.ts.map +1 -1
- package/dist/components/platform/ToolBadge.js +1 -2
- package/dist/components/platform/index.d.ts +2 -2
- package/dist/components/platform/index.d.ts.map +1 -1
- package/dist/components/platform/index.js +2 -3
- package/dist/components/product-demo/index.cjs +66 -54
- package/dist/components/product-demo/product-screen.d.ts.map +1 -1
- package/dist/components/product-demo/product-screen.js +22 -9
- package/dist/components/product-demo/screen-loading.d.ts.map +1 -1
- package/dist/components/product-demo/screen-loading.js +2 -4
- package/dist/components/related-content/card-registry.d.ts.map +1 -1
- package/dist/components/related-content/card-registry.js +23 -36
- package/dist/components/related-content/index.cjs +17 -19
- package/dist/components/related-content/index.d.ts +1 -1
- package/dist/components/related-content/index.d.ts.map +1 -1
- package/dist/components/related-content/index.js +2 -4
- package/dist/components/related-content/related-content-section.d.ts +0 -14
- package/dist/components/related-content/related-content-section.d.ts.map +1 -1
- package/dist/components/related-content/related-content-section.js +1 -2
- package/dist/components/resizable.d.ts +1 -1
- package/dist/components/results-count.d.ts +0 -5
- package/dist/components/results-count.d.ts.map +1 -1
- package/dist/components/results-count.js +1 -2
- package/dist/components/shared/article-author-byline.d.ts +0 -8
- package/dist/components/shared/article-author-byline.d.ts.map +1 -1
- package/dist/components/shared/article-author-byline.js +1 -2
- package/dist/components/shared/delivery/delivery-row.d.ts +12 -8
- package/dist/components/shared/delivery/delivery-row.d.ts.map +1 -1
- package/dist/components/shared/delivery/delivery-row.js +7 -7
- package/dist/components/shared/delivery/delivery-table.d.ts +1 -3
- package/dist/components/shared/delivery/delivery-table.d.ts.map +1 -1
- package/dist/components/shared/delivery/delivery-table.js +6 -6
- package/dist/components/shared/dev-section/dev-card-row.d.ts +10 -22
- package/dist/components/shared/dev-section/dev-card-row.d.ts.map +1 -1
- package/dist/components/shared/dev-section/dev-card-row.js +10 -39
- package/dist/components/shared/dev-section/index.d.ts +1 -1
- package/dist/components/shared/dev-section/index.d.ts.map +1 -1
- package/dist/components/shared/dev-section/index.js +1 -7
- package/dist/components/shared/legal-document/index.d.ts +1 -1
- package/dist/components/shared/legal-document/index.d.ts.map +1 -1
- package/dist/components/shared/legal-document/index.js +0 -2
- package/dist/components/shared/legal-document/legal-document-page.d.ts +0 -7
- package/dist/components/shared/legal-document/legal-document-page.d.ts.map +1 -1
- package/dist/components/shared/legal-document/legal-document-page.js +2 -3
- package/dist/components/shared/media-gallery-strip.d.ts +0 -5
- package/dist/components/shared/media-gallery-strip.d.ts.map +1 -1
- package/dist/components/shared/media-gallery-strip.js +15 -14
- package/dist/components/shared/onboarding/onboarding-walkthrough.d.ts +1 -1
- package/dist/components/shared/onboarding/onboarding-walkthrough.d.ts.map +1 -1
- package/dist/components/shared/onboarding/onboarding-walkthrough.js +3 -1
- package/dist/components/shared/product-release/index.d.ts +0 -1
- package/dist/components/shared/product-release/index.d.ts.map +1 -1
- package/dist/components/shared/product-release/index.js +0 -2
- package/dist/components/shared/product-release/product-release-card-skeleton.js +4 -4
- package/dist/components/shared/product-release/product-release-card.d.ts +9 -4
- package/dist/components/shared/product-release/product-release-card.d.ts.map +1 -1
- package/dist/components/shared/product-release/product-release-card.js +8 -4
- package/dist/components/shared/product-release/product-releases-view.d.ts +3 -3
- package/dist/components/shared/product-release/product-releases-view.d.ts.map +1 -1
- package/dist/components/shared/product-release/product-releases-view.js +8 -8
- package/dist/components/shared/product-release/release-detail-page.d.ts.map +1 -1
- package/dist/components/shared/product-release/release-detail-page.js +3 -5
- package/dist/components/shared/roadmap/index.d.ts +0 -1
- package/dist/components/shared/roadmap/index.d.ts.map +1 -1
- package/dist/components/shared/roadmap/index.js +0 -2
- package/dist/components/shared/roadmap/roadmap-grid.d.ts +2 -12
- package/dist/components/shared/roadmap/roadmap-grid.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-grid.js +16 -7
- package/dist/components/shared/roadmap/roadmap-view.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-view.js +3 -2
- package/dist/components/smooth-accordion.d.ts.map +1 -1
- package/dist/components/smooth-accordion.js +0 -2
- package/dist/components/social-icon-row.d.ts +6 -1
- package/dist/components/social-icon-row.d.ts.map +1 -1
- package/dist/components/social-icon-row.js +5 -1
- package/dist/components/tickets/help-center-card.d.ts +16 -2
- package/dist/components/tickets/help-center-card.d.ts.map +1 -1
- package/dist/components/tickets/help-center-card.js +28 -9
- package/dist/components/tickets/help-center-create-form.d.ts +15 -37
- package/dist/components/tickets/help-center-create-form.d.ts.map +1 -1
- package/dist/components/tickets/help-center-create-form.js +10 -41
- package/dist/components/tickets/help-center-list.d.ts.map +1 -1
- package/dist/components/tickets/help-center-list.js +27 -40
- package/dist/components/tickets/index.cjs +39 -41
- package/dist/components/tickets/index.d.ts +1 -1
- package/dist/components/tickets/index.d.ts.map +1 -1
- package/dist/components/tickets/index.js +1 -5
- package/dist/components/tickets/ticket-center.d.ts.map +1 -1
- package/dist/components/tickets/ticket-center.js +6 -14
- package/dist/components/tickets/ticket-detail-drawer.d.ts.map +1 -1
- package/dist/components/tickets/ticket-detail-drawer.js +5 -2
- package/dist/components/tickets/ticket-open-form.d.ts.map +1 -1
- package/dist/components/tickets/ticket-open-form.js +3 -2
- package/dist/components/tickets/ticket-row.d.ts +17 -2
- package/dist/components/tickets/ticket-row.d.ts.map +1 -1
- package/dist/components/tickets/ticket-row.js +13 -3
- package/dist/components/ui/actions-menu.d.ts +3 -0
- package/dist/components/ui/actions-menu.d.ts.map +1 -1
- package/dist/components/ui/actions-menu.js +36 -39
- package/dist/components/ui/alert.d.ts +1 -1
- package/dist/components/ui/allowed-domains-input.d.ts.map +1 -1
- package/dist/components/ui/allowed-domains-input.js +7 -10
- package/dist/components/ui/assignee-dropdown.d.ts.map +1 -1
- package/dist/components/ui/assignee-dropdown.js +23 -23
- package/dist/components/ui/autocomplete.d.ts +0 -8
- package/dist/components/ui/autocomplete.d.ts.map +1 -1
- package/dist/components/ui/autocomplete.js +16 -20
- package/dist/components/ui/avatar-stack.d.ts +4 -8
- package/dist/components/ui/avatar-stack.d.ts.map +1 -1
- package/dist/components/ui/avatar-stack.js +13 -11
- package/dist/components/ui/badge.d.ts +5 -10
- package/dist/components/ui/badge.d.ts.map +1 -1
- package/dist/components/ui/badge.js +3 -2
- package/dist/components/ui/breadcrumb.d.ts +2 -0
- package/dist/components/ui/breadcrumb.d.ts.map +1 -1
- package/dist/components/ui/breadcrumb.js +5 -1
- package/dist/components/ui/button/button-styles.d.ts +21 -0
- package/dist/components/ui/button/button-styles.d.ts.map +1 -1
- package/dist/components/ui/button/button-styles.js +63 -0
- package/dist/components/ui/button/button.d.ts +1 -1
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/button/button.js +33 -3
- package/dist/components/ui/button/index.d.ts +1 -1
- package/dist/components/ui/button/index.d.ts.map +1 -1
- package/dist/components/ui/button/index.js +2 -1
- package/dist/components/ui/button/split-button.d.ts +2 -9
- package/dist/components/ui/button/split-button.d.ts.map +1 -1
- package/dist/components/ui/button/split-button.js +18 -91
- package/dist/components/ui/checkbox-block.d.ts +9 -1
- package/dist/components/ui/checkbox-block.d.ts.map +1 -1
- package/dist/components/ui/checkbox-block.js +110 -93
- package/dist/components/ui/checkbox-with-description.d.ts +5 -0
- package/dist/components/ui/checkbox-with-description.d.ts.map +1 -1
- package/dist/components/ui/checkbox-with-description.js +36 -36
- package/dist/components/ui/checkbox.d.ts +10 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/checkbox.js +21 -14
- package/dist/components/ui/chevron-button.d.ts +2 -2
- package/dist/components/ui/chevron-button.d.ts.map +1 -1
- package/dist/components/ui/chevron-button.js +13 -20
- package/dist/components/ui/color-preset-select.d.ts +4 -1
- package/dist/components/ui/color-preset-select.d.ts.map +1 -1
- package/dist/components/ui/color-preset-select.js +24 -12
- package/dist/components/ui/color-swatch.d.ts +2 -1
- package/dist/components/ui/color-swatch.d.ts.map +1 -1
- package/dist/components/ui/color-swatch.js +5 -8
- package/dist/components/ui/content-loader.d.ts.map +1 -1
- package/dist/components/ui/content-loader.js +12 -9
- package/dist/components/ui/cursor-pagination.d.ts +5 -8
- package/dist/components/ui/cursor-pagination.d.ts.map +1 -1
- package/dist/components/ui/cursor-pagination.js +6 -8
- package/dist/components/ui/dashboard-info-card.d.ts +13 -7
- package/dist/components/ui/dashboard-info-card.d.ts.map +1 -1
- package/dist/components/ui/dashboard-info-card.js +19 -10
- package/dist/components/ui/data-attribution.d.ts +0 -6
- package/dist/components/ui/data-attribution.d.ts.map +1 -1
- package/dist/components/ui/data-attribution.js +0 -1
- package/dist/components/ui/data-table/data-table-body.d.ts +7 -1
- package/dist/components/ui/data-table/data-table-body.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-body.js +47 -15
- package/dist/components/ui/data-table/data-table-cursor-footer.d.ts +1 -1
- package/dist/components/ui/data-table/data-table-header.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-header.js +5 -0
- package/dist/components/ui/data-table/data-table-infinite-footer.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-infinite-footer.js +7 -5
- package/dist/components/ui/data-table/data-table-reserved-rows.d.ts +27 -0
- package/dist/components/ui/data-table/data-table-reserved-rows.d.ts.map +1 -0
- package/dist/components/ui/data-table/data-table-reserved-rows.js +73 -0
- package/dist/components/ui/data-table/data-table-row-classes.d.ts +34 -0
- package/dist/components/ui/data-table/data-table-row-classes.d.ts.map +1 -0
- package/dist/components/ui/data-table/data-table-row-classes.js +20 -0
- package/dist/components/ui/data-table/data-table-row-count.d.ts +3 -6
- package/dist/components/ui/data-table/data-table-row-count.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-row-count.js +3 -3
- package/dist/components/ui/data-table/data-table-row.d.ts +18 -38
- package/dist/components/ui/data-table/data-table-row.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-row.js +109 -9
- package/dist/components/ui/data-table/index.d.ts +6 -9
- package/dist/components/ui/data-table/index.d.ts.map +1 -1
- package/dist/components/ui/data-table/index.js +12 -7
- package/dist/components/ui/data-table/types.d.ts +13 -0
- package/dist/components/ui/data-table/types.d.ts.map +1 -1
- package/dist/components/ui/data-table/utils.d.ts +8 -0
- package/dist/components/ui/data-table/utils.d.ts.map +1 -1
- package/dist/components/ui/data-table/utils.js +6 -0
- package/dist/components/ui/date-picker.d.ts.map +1 -1
- package/dist/components/ui/date-picker.js +12 -47
- package/dist/components/ui/device-card.d.ts +7 -1
- package/dist/components/ui/device-card.d.ts.map +1 -1
- package/dist/components/ui/device-card.js +40 -27
- package/dist/components/ui/entity-image.d.ts +0 -2
- package/dist/components/ui/entity-image.d.ts.map +1 -1
- package/dist/components/ui/entity-image.js +2 -6
- package/dist/components/ui/feature-card.d.ts +0 -5
- package/dist/components/ui/feature-card.d.ts.map +1 -1
- package/dist/components/ui/feature-card.js +12 -9
- package/dist/components/ui/feature-list.d.ts +0 -10
- package/dist/components/ui/feature-list.d.ts.map +1 -1
- package/dist/components/ui/feature-list.js +3 -4
- package/dist/components/ui/field-value-skeleton.d.ts +7 -0
- package/dist/components/ui/field-value-skeleton.d.ts.map +1 -0
- package/dist/components/ui/field-value-skeleton.js +10 -0
- package/dist/components/ui/file-manager/file-manager-breadcrumb.d.ts.map +1 -1
- package/dist/components/ui/file-manager/file-manager-breadcrumb.js +8 -6
- package/dist/components/ui/file-manager/file-manager-table-row.d.ts +12 -1
- package/dist/components/ui/file-manager/file-manager-table-row.d.ts.map +1 -1
- package/dist/components/ui/file-manager/file-manager-table-row.js +100 -31
- package/dist/components/ui/file-manager/file-manager-table.d.ts +1 -1
- package/dist/components/ui/file-manager/file-manager-table.d.ts.map +1 -1
- package/dist/components/ui/file-manager/file-manager-table.js +41 -39
- package/dist/components/ui/file-manager/file-manager.d.ts +1 -1
- package/dist/components/ui/file-manager/file-manager.d.ts.map +1 -1
- package/dist/components/ui/file-manager/file-manager.js +62 -44
- package/dist/components/ui/file-manager/index.cjs +240 -217
- package/dist/components/ui/file-manager/index.d.ts +0 -1
- package/dist/components/ui/file-manager/index.d.ts.map +1 -1
- package/dist/components/ui/file-manager/index.js +0 -2
- package/dist/components/ui/file-manager/types.d.ts +12 -1
- package/dist/components/ui/file-manager/types.d.ts.map +1 -1
- package/dist/components/ui/file-upload.d.ts.map +1 -1
- package/dist/components/ui/file-upload.js +38 -26
- package/dist/components/ui/filter-checkbox-item.d.ts +1 -10
- package/dist/components/ui/filter-checkbox-item.d.ts.map +1 -1
- package/dist/components/ui/filter-checkbox-item.js +11 -7
- package/dist/components/ui/filter-modal.d.ts +3 -3
- package/dist/components/ui/filter-modal.d.ts.map +1 -1
- package/dist/components/ui/filter-modal.js +74 -67
- package/dist/components/ui/filter-pill-row.d.ts +0 -13
- package/dist/components/ui/filter-pill-row.d.ts.map +1 -1
- package/dist/components/ui/filter-pill-row.js +3 -3
- package/dist/components/ui/hidden-tags-popup.d.ts.map +1 -1
- package/dist/components/ui/hidden-tags-popup.js +6 -3
- package/dist/components/ui/hover-dropdown.d.ts.map +1 -1
- package/dist/components/ui/hover-dropdown.js +7 -3
- package/dist/components/ui/image-uploader.d.ts.map +1 -1
- package/dist/components/ui/image-uploader.js +7 -12
- package/dist/components/ui/index.cjs +35 -160
- package/dist/components/ui/index.d.ts +5 -6
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +3 -23
- package/dist/components/ui/info-card-row.d.ts +0 -12
- package/dist/components/ui/info-card-row.d.ts.map +1 -1
- package/dist/components/ui/info-card-row.js +1 -2
- package/dist/components/ui/info-card.d.ts +32 -21
- package/dist/components/ui/info-card.d.ts.map +1 -1
- package/dist/components/ui/info-card.js +91 -76
- package/dist/components/ui/info-section.d.ts +8 -1
- package/dist/components/ui/info-section.d.ts.map +1 -1
- package/dist/components/ui/info-section.js +39 -18
- package/dist/components/ui/input-styles.d.ts +3 -0
- package/dist/components/ui/input-styles.d.ts.map +1 -1
- package/dist/components/ui/input-styles.js +2 -0
- package/dist/components/ui/input-trigger.d.ts +3 -0
- package/dist/components/ui/input-trigger.d.ts.map +1 -1
- package/dist/components/ui/input-trigger.js +13 -21
- package/dist/components/ui/input.d.ts +7 -1
- package/dist/components/ui/input.d.ts.map +1 -1
- package/dist/components/ui/input.js +14 -4
- package/dist/components/ui/label.d.ts +2 -2
- package/dist/components/ui/label.d.ts.map +1 -1
- package/dist/components/ui/label.js +8 -5
- package/dist/components/ui/leader-row.d.ts +17 -13
- package/dist/components/ui/leader-row.d.ts.map +1 -1
- package/dist/components/ui/leader-row.js +34 -25
- package/dist/components/ui/loading-scope.d.ts +82 -3
- package/dist/components/ui/loading-scope.d.ts.map +1 -1
- package/dist/components/ui/loading-scope.js +56 -4
- package/dist/components/ui/markdown/engine.d.ts +5 -0
- package/dist/components/ui/markdown/engine.d.ts.map +1 -1
- package/dist/components/ui/markdown/engine.js +10 -6
- package/dist/components/ui/markdown/index.d.ts +1 -1
- package/dist/components/ui/markdown/index.d.ts.map +1 -1
- package/dist/components/ui/markdown/index.js +1 -5
- package/dist/components/ui/markdown/rich/rich-markdown-renderer.d.ts +0 -10
- package/dist/components/ui/markdown/rich/rich-markdown-renderer.d.ts.map +1 -1
- package/dist/components/ui/markdown/rich/rich-markdown-renderer.js +2 -10
- package/dist/components/ui/modal-v2.d.ts.map +1 -1
- package/dist/components/ui/modal-v2.js +7 -3
- package/dist/components/ui/numbered-step.d.ts +9 -11
- package/dist/components/ui/numbered-step.d.ts.map +1 -1
- package/dist/components/ui/numbered-step.js +12 -2
- package/dist/components/ui/organization-card.d.ts +14 -1
- package/dist/components/ui/organization-card.d.ts.map +1 -1
- package/dist/components/ui/organization-card.js +70 -29
- package/dist/components/ui/page-actions.d.ts +5 -5
- package/dist/components/ui/page-actions.d.ts.map +1 -1
- package/dist/components/ui/page-actions.js +45 -50
- package/dist/components/ui/password-input.d.ts.map +1 -1
- package/dist/components/ui/password-input.js +5 -3
- package/dist/components/ui/people-cell.d.ts +3 -5
- package/dist/components/ui/people-cell.d.ts.map +1 -1
- package/dist/components/ui/people-cell.js +6 -6
- package/dist/components/ui/product-screen-frame.d.ts.map +1 -1
- package/dist/components/ui/product-screen-frame.js +19 -6
- package/dist/components/ui/progress-bar.d.ts +3 -4
- package/dist/components/ui/progress-bar.d.ts.map +1 -1
- package/dist/components/ui/progress-bar.js +7 -4
- package/dist/components/ui/query-report-table/index.d.ts +1 -2
- package/dist/components/ui/query-report-table/index.d.ts.map +1 -1
- package/dist/components/ui/query-report-table/index.js +0 -2
- package/dist/components/ui/query-report-table/query-report-table-header.d.ts.map +1 -1
- package/dist/components/ui/query-report-table/query-report-table-header.js +3 -2
- package/dist/components/ui/query-report-table/query-report-table-row.d.ts +15 -1
- package/dist/components/ui/query-report-table/query-report-table-row.d.ts.map +1 -1
- package/dist/components/ui/query-report-table/query-report-table-row.js +30 -21
- package/dist/components/ui/query-report-table/query-report-table-skeleton.d.ts.map +1 -1
- package/dist/components/ui/query-report-table/query-report-table-skeleton.js +20 -28
- package/dist/components/ui/query-report-table/query-report-table.d.ts +1 -1
- package/dist/components/ui/query-report-table/query-report-table.d.ts.map +1 -1
- package/dist/components/ui/query-report-table/query-report-table.js +19 -14
- package/dist/components/ui/query-report-table/types.d.ts +5 -1
- package/dist/components/ui/query-report-table/types.d.ts.map +1 -1
- package/dist/components/ui/radio-group.d.ts +14 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/radio-group.js +51 -33
- package/dist/components/ui/release-changelog-section.d.ts +0 -19
- package/dist/components/ui/release-changelog-section.d.ts.map +1 -1
- package/dist/components/ui/release-changelog-section.js +11 -16
- package/dist/components/ui/search-input.d.ts.map +1 -1
- package/dist/components/ui/search-input.js +11 -14
- package/dist/components/ui/searchable-select.d.ts.map +1 -1
- package/dist/components/ui/searchable-select.js +30 -33
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/select.js +4 -1
- package/dist/components/ui/service-card.d.ts +9 -1
- package/dist/components/ui/service-card.d.ts.map +1 -1
- package/dist/components/ui/service-card.js +89 -66
- package/dist/components/ui/slack-channel-chip.d.ts +0 -4
- package/dist/components/ui/slack-channel-chip.d.ts.map +1 -1
- package/dist/components/ui/slack-channel-chip.js +1 -2
- package/dist/components/ui/snap-carousel.d.ts +38 -6
- package/dist/components/ui/snap-carousel.d.ts.map +1 -1
- package/dist/components/ui/snap-carousel.js +122 -63
- package/dist/components/ui/square-avatar.d.ts +3 -2
- package/dist/components/ui/square-avatar.d.ts.map +1 -1
- package/dist/components/ui/square-avatar.js +18 -6
- package/dist/components/ui/stacked-rows-panel.d.ts +21 -23
- package/dist/components/ui/stacked-rows-panel.d.ts.map +1 -1
- package/dist/components/ui/stacked-rows-panel.js +36 -38
- package/dist/components/ui/status-badge.d.ts +9 -11
- package/dist/components/ui/status-badge.d.ts.map +1 -1
- package/dist/components/ui/status-badge.js +14 -3
- package/dist/components/ui/status-indicator.d.ts +0 -4
- package/dist/components/ui/status-indicator.d.ts.map +1 -1
- package/dist/components/ui/status-indicator.js +1 -2
- package/dist/components/ui/strip-card.d.ts +0 -9
- package/dist/components/ui/strip-card.d.ts.map +1 -1
- package/dist/components/ui/strip-card.js +1 -2
- package/dist/components/ui/super-user-banner-view.d.ts +4 -1
- package/dist/components/ui/super-user-banner-view.d.ts.map +1 -1
- package/dist/components/ui/super-user-banner-view.js +10 -2
- package/dist/components/ui/switch.d.ts +3 -0
- package/dist/components/ui/switch.d.ts.map +1 -1
- package/dist/components/ui/switch.js +15 -10
- package/dist/components/ui/tab-navigation.d.ts +11 -17
- package/dist/components/ui/tab-navigation.d.ts.map +1 -1
- package/dist/components/ui/tab-navigation.js +28 -33
- package/dist/components/ui/tab-selector.d.ts.map +1 -1
- package/dist/components/ui/tab-selector.js +7 -11
- package/dist/components/ui/tabs.d.ts +1 -22
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/components/ui/tabs.js +1 -16
- package/dist/components/ui/tag-search-input.d.ts.map +1 -1
- package/dist/components/ui/tag-search-input.js +9 -10
- package/dist/components/ui/tag-select-dropdown.d.ts.map +1 -1
- package/dist/components/ui/tag-select-dropdown.js +14 -26
- package/dist/components/ui/tag.d.ts +6 -10
- package/dist/components/ui/tag.d.ts.map +1 -1
- package/dist/components/ui/tag.js +23 -9
- package/dist/components/ui/tags-input.d.ts +5 -7
- package/dist/components/ui/tags-input.d.ts.map +1 -1
- package/dist/components/ui/tags-input.js +14 -11
- package/dist/components/ui/tags-manager.d.ts.map +1 -1
- package/dist/components/ui/tags-manager.js +8 -3
- package/dist/components/ui/test-run.d.ts +1 -8
- package/dist/components/ui/test-run.d.ts.map +1 -1
- package/dist/components/ui/test-run.js +17 -11
- package/dist/components/ui/textarea.d.ts +1 -10
- package/dist/components/ui/textarea.d.ts.map +1 -1
- package/dist/components/ui/textarea.js +38 -35
- package/dist/components/ui/ticket-attachments-list.d.ts.map +1 -1
- package/dist/components/ui/ticket-attachments-list.js +11 -6
- package/dist/components/ui/ticket-info-section.d.ts.map +1 -1
- package/dist/components/ui/ticket-info-section.js +13 -18
- package/dist/components/ui/ticket-note-card.d.ts.map +1 -1
- package/dist/components/ui/ticket-note-card.js +19 -12
- package/dist/components/ui/ticket-notes-section.d.ts.map +1 -1
- package/dist/components/ui/ticket-notes-section.js +6 -8
- package/dist/components/ui/ticket-status-config-row.d.ts +6 -1
- package/dist/components/ui/ticket-status-config-row.d.ts.map +1 -1
- package/dist/components/ui/ticket-status-config-row.js +41 -23
- package/dist/components/ui/ticket-status-tag.d.ts +3 -1
- package/dist/components/ui/ticket-status-tag.d.ts.map +1 -1
- package/dist/components/ui/ticket-status-tag.js +42 -28
- package/dist/components/ui/timezone-select.d.ts +3 -2
- package/dist/components/ui/timezone-select.d.ts.map +1 -1
- package/dist/components/ui/timezone-select.js +3 -1
- package/dist/components/ui/toaster.d.ts.map +1 -1
- package/dist/components/ui/toaster.js +18 -20
- package/dist/components/ui/truncate-text.d.ts +6 -1
- package/dist/components/ui/truncate-text.d.ts.map +1 -1
- package/dist/components/ui/truncate-text.js +7 -1
- package/dist/components/user-display.d.ts +0 -11
- package/dist/components/user-display.d.ts.map +1 -1
- package/dist/components/user-display.js +3 -4
- package/dist/components/vendor-display-button.d.ts +4 -4
- package/dist/components/vendor-display-button.d.ts.map +1 -1
- package/dist/components/vendor-display-button.js +21 -34
- package/dist/components/vendor-icon.d.ts +3 -6
- package/dist/components/vendor-icon.d.ts.map +1 -1
- package/dist/components/vendor-icon.js +21 -9
- package/dist/components/vendor-tag.d.ts +0 -5
- package/dist/components/vendor-tag.d.ts.map +1 -1
- package/dist/components/vendor-tag.js +4 -2
- package/dist/{devices-WL3I23EE.cjs → devices-TDKCKWRP.cjs} +33 -34
- package/dist/embed-shims/index.cjs +4 -4
- package/dist/embed-shims/next-image.cjs +4 -4
- package/dist/embed-shims/next-image.d.ts +1 -1
- package/dist/{embeddable-chat-KEWUGQIF.cjs → embeddable-chat-HEL4Z2FL.cjs} +185 -183
- package/dist/hooks/index.cjs +11 -9
- package/dist/hooks/use-toast.d.ts +1 -1
- package/dist/index.cjs +65 -226
- package/dist/{knowledge-O3PXUX73.cjs → knowledge-A5KJ4CAD.cjs} +33 -34
- package/dist/loading-standard/engine.d.mts +131 -0
- package/dist/loading-standard/engine.d.mts.map +1 -0
- package/dist/loading-standard/rule-examples.d.mts +13 -0
- package/dist/loading-standard/rule-examples.d.mts.map +1 -0
- package/dist/{logs-XODCXWYI.cjs → logs-6WRBPIMM.cjs} +41 -42
- package/dist/{policies-CQACBIKK.cjs → policies-ICRXHW3H.cjs} +36 -37
- package/dist/{remote-session-TGM2OTTV.cjs → remote-session-MEV5JL2Z.cjs} +17 -17
- package/dist/{scripts-QMM6SEB5.cjs → scripts-AZVCZE6C.cjs} +39 -40
- package/dist/{software-update-CCCKS4ZE.cjs → software-update-4ZBCGJGA.cjs} +36 -37
- package/dist/{tickets-board-FB5AGLJD.cjs → tickets-board-BJPQD3HE.cjs} +17 -17
- package/dist/types/logs.types.d.ts +9 -3
- package/dist/types/logs.types.d.ts.map +1 -1
- package/dist/types/permissions.d.ts +10 -0
- package/dist/types/permissions.d.ts.map +1 -1
- package/dist/{video-file-player-SIJW5UWU.cjs → video-file-player-DETXW4OJ.cjs} +14 -14
- package/package.json +1 -1
- package/src/components/agent-mark.tsx +9 -2
- package/src/components/authors/author-detail-view.tsx +5 -5
- package/src/components/case-studies/entity-quotes-panel.tsx +0 -34
- package/src/components/case-studies/index.ts +1 -2
- package/src/components/case-studies/quote-cards-strip.tsx +15 -12
- package/src/components/categories-cart.tsx +23 -8
- package/src/components/category-card.tsx +80 -14
- package/src/components/chat/approval-batch-message.tsx +2 -6
- package/src/components/chat/ask-display.tsx +12 -13
- package/src/components/chat/ask-prompts.tsx +26 -22
- package/src/components/chat/chat-archive-page.tsx +33 -30
- package/src/components/chat/chat-container.tsx +39 -41
- package/src/components/chat/chat-context-memory-bar.tsx +12 -11
- package/src/components/chat/chat-context-picker.tsx +50 -41
- package/src/components/chat/chat-input.tsx +6 -14
- package/src/components/chat/chat-message-enhanced.tsx +36 -18
- package/src/components/chat/chat-message-layout.ts +39 -0
- package/src/components/chat/chat-message-list.tsx +35 -18
- package/src/components/chat/chat-message-row.tsx +57 -25
- package/src/components/chat/chat-message-skeleton.tsx +109 -56
- package/src/components/chat/chat-nav-sidebar.tsx +116 -39
- package/src/components/chat/chat-panel-header.tsx +21 -15
- package/src/components/chat/chat-sidebar.tsx +80 -48
- package/src/components/chat/chat-ticket-list.tsx +32 -23
- package/src/components/chat/chat-top-navigation.tsx +57 -49
- package/src/components/chat/chat-turn.tsx +20 -17
- package/src/components/chat/context-items-list.tsx +64 -33
- package/src/components/chat/embeddable-chat.tsx +133 -138
- package/src/components/chat/entity-cards/admin-content-card-grid.tsx +64 -34
- package/src/components/chat/entity-cards/admin-content-card.tsx +14 -8
- package/src/components/chat/entity-cards/ai-prompt-card.tsx +9 -11
- package/src/components/chat/entity-cards/blog-card.tsx +28 -7
- package/src/components/chat/entity-cards/campaign-card-admin.tsx +1 -1
- package/src/components/chat/entity-cards/case-study-card.tsx +10 -3
- package/src/components/chat/entity-cards/chat-ticket-item.tsx +86 -79
- package/src/components/chat/entity-cards/customer-interview-card.tsx +47 -13
- package/src/components/chat/entity-cards/data-room-doc-card.tsx +1 -1
- package/src/components/chat/entity-cards/design-doc-card.tsx +6 -6
- package/src/components/chat/entity-cards/dispatch.tsx +25 -30
- package/src/components/chat/entity-cards/employee-entry-card.tsx +30 -15
- package/src/components/chat/entity-cards/entity-author-card.tsx +16 -8
- package/src/components/chat/entity-cards/entity-portrait-card.tsx +12 -3
- package/src/components/chat/entity-cards/generic-entity-card.tsx +1 -1
- package/src/components/chat/entity-cards/github-activity-card.tsx +1 -1
- package/src/components/chat/entity-cards/how-i-work-card.tsx +9 -12
- package/src/components/chat/entity-cards/hubspot-ticket-card.tsx +1 -1
- package/src/components/chat/entity-cards/index.ts +21 -61
- package/src/components/chat/entity-cards/investor-update-card.tsx +30 -11
- package/src/components/chat/entity-cards/onboarding-guide-card.tsx +45 -13
- package/src/components/chat/entity-cards/program-card.tsx +69 -41
- package/src/components/chat/entity-cards/roadmap-card.tsx +27 -10
- package/src/components/chat/entity-cards/slack-message-card.tsx +1 -1
- package/src/components/chat/entity-cards/what-i-shipped-card.tsx +9 -7
- package/src/components/chat/error-message-display.tsx +4 -6
- package/src/components/chat/guide-mode-banner.tsx +4 -7
- package/src/components/chat/guide-welcome.tsx +9 -6
- package/src/components/chat/hooks/use-chat-dialog-manager.ts +2 -1
- package/src/components/chat/hooks/use-nats-chat-adapter.ts +2 -1
- package/src/components/chat/hooks/use-sse-chat-adapter.ts +2 -1
- package/src/components/chat/index.ts +1 -4
- package/src/components/chat/mingo-archive-list.tsx +14 -8
- package/src/components/chat/mingo-chat-header.tsx +14 -13
- package/src/components/chat/mingo-chat-history.tsx +122 -78
- package/src/components/chat/mingo-chat-modals.tsx +18 -22
- package/src/components/chat/mingo-chat-rail.tsx +16 -9
- package/src/components/chat/mingo-history-rail.tsx +12 -6
- package/src/components/chat/mingo-info-card.tsx +26 -18
- package/src/components/chat/mingo-onboarding-card.tsx +117 -36
- package/src/components/chat/mingo-welcome.tsx +22 -7
- package/src/components/chat/model-display.tsx +29 -33
- package/src/components/chat/msp-organization-card.tsx +64 -46
- package/src/components/chat/quick-action-chip.tsx +52 -7
- package/src/components/chat/quick-action-wall.tsx +29 -13
- package/src/components/chat/tool-execution-display.tsx +3 -6
- package/src/components/chat/types/component.types.ts +26 -0
- package/src/components/chat/types/entities/program-types.ts +3 -0
- package/src/components/chat/utils/compact-card-skeleton.tsx +3 -3
- package/src/components/comment-card.tsx +79 -49
- package/src/components/comment-thread.tsx +56 -47
- package/src/components/docs/docs-hub-page.tsx +3 -7
- package/src/components/docs/index.ts +0 -2
- package/src/components/embeds/embed-viewer-frame.tsx +4 -1
- package/src/components/embeds/index.ts +1 -1
- package/src/components/embeds/og-link-preview.tsx +2 -2
- package/src/components/faq/faq-section.tsx +20 -12
- package/src/components/faq/index.ts +0 -2
- package/src/components/faq-accordion.tsx +33 -23
- package/src/components/features/ai-enrich/AIEnrichSection.tsx +2 -3
- package/src/components/features/approval-level.tsx +2 -2
- package/src/components/features/auth/back-to-login-link.tsx +3 -3
- package/src/components/features/auth/complete-account-form.tsx +8 -3
- package/src/components/features/auth/create-organization-form.tsx +27 -6
- package/src/components/features/auth/invite-link-invalid-modal.tsx +6 -4
- package/src/components/features/auth/login-form.tsx +9 -2
- package/src/components/features/auth/sso-join-form.tsx +35 -7
- package/src/components/features/auth/sso-providers.tsx +30 -1
- package/src/components/features/board/board-column.tsx +9 -17
- package/src/components/features/board/board-ticket-approval.tsx +4 -8
- package/src/components/features/board/board.tsx +41 -11
- package/src/components/features/board/index.ts +1 -3
- package/src/components/features/board/ticket-card.tsx +60 -8
- package/src/components/features/board/types.ts +6 -0
- package/src/components/features/capability-explorer.tsx +88 -71
- package/src/components/features/card-hit-layer.tsx +4 -2
- package/src/components/features/cloud-tenants/tenant-access-cell.tsx +5 -2
- package/src/components/features/cloud-tenants/tenant-cell.tsx +10 -2
- package/src/components/features/cloud-tenants/tenant-customer-cell.tsx +4 -1
- package/src/components/features/cloud-tenants/tenants-table-view.tsx +44 -16
- package/src/components/features/command-box.tsx +25 -10
- package/src/components/features/conversation-card.tsx +101 -48
- package/src/components/features/devices/device-selector/device-selector.tsx +135 -105
- package/src/components/features/devices/device-selector/device-selector.types.ts +5 -0
- package/src/components/features/devices/device-type-tile.tsx +11 -1
- package/src/components/features/devices/devices-grid-filters.tsx +5 -15
- package/src/components/features/devices/devices-grid.tsx +40 -10
- package/src/components/features/devices/devices-list.tsx +9 -2
- package/src/components/features/devices/devices-panel-view.tsx +17 -4
- package/src/components/features/devices/devices-table-columns.tsx +42 -8
- package/src/components/features/devices/index.ts +0 -1
- package/src/components/features/entity-tag-badges.tsx +24 -37
- package/src/components/features/entity-video-section.tsx +5 -5
- package/src/components/features/filters-dropdown.tsx +17 -22
- package/src/components/features/highlight-video-section.tsx +7 -5
- package/src/components/features/knowledge-base/knowledge-base-table.tsx +101 -60
- package/src/components/features/logs/index.ts +2 -2
- package/src/components/features/logs/logs-page-view.tsx +1 -0
- package/src/components/features/logs/logs-table-columns.ts +2 -3
- package/src/components/features/logs/logs-table-view.tsx +98 -135
- package/src/components/features/model-token-rates.tsx +31 -28
- package/src/components/features/notifications/index.ts +2 -2
- package/src/components/features/notifications/notification-drawer.tsx +7 -4
- package/src/components/features/notifications/notification-tile.tsx +53 -12
- package/src/components/features/os-type-badge-group.tsx +19 -1
- package/src/components/features/os-type-badge.tsx +13 -0
- package/src/components/features/paths-display.tsx +26 -20
- package/src/components/features/platform-badge.tsx +7 -3
- package/src/components/features/policies/policies-table.tsx +62 -27
- package/src/components/features/policy-configuration-panel.tsx +94 -32
- package/src/components/features/push-button-selector.tsx +21 -10
- package/src/components/features/remote-session/index.ts +1 -1
- package/src/components/features/remote-session/remote-desktop-chat-message-row.tsx +41 -25
- package/src/components/features/remote-session/remote-desktop-chat-panel.tsx +21 -7
- package/src/components/features/remote-session/remote-desktop-fullscreen-toolbar.tsx +5 -13
- package/src/components/features/remote-session/remote-desktop-view.tsx +13 -15
- package/src/components/features/remote-session/remote-session-block.tsx +34 -36
- package/src/components/features/remote-session/remote-session-chat-panel.tsx +6 -4
- package/src/components/features/remote-session/remote-session-events.tsx +12 -10
- package/src/components/features/remote-session/remote-session-overlay.tsx +4 -7
- package/src/components/features/scripts/execution-cells.tsx +18 -4
- package/src/components/features/scripts/schedule-form/schedule-script-picker-card.tsx +5 -5
- package/src/components/features/scripts/schedule-form/schedule-timing-fields.tsx +6 -3
- package/src/components/features/scripts/script-executions-table.tsx +29 -7
- package/src/components/features/scripts/script-schedules-table.tsx +42 -9
- package/src/components/features/scripts/script-shell-badge.tsx +11 -0
- package/src/components/features/scripts/scripts-table-shared.tsx +8 -2
- package/src/components/features/scripts/scripts-table.tsx +28 -7
- package/src/components/features/select-button.tsx +7 -15
- package/src/components/features/status-filter-component.tsx +1 -1
- package/src/components/features/tags-selector.tsx +5 -4
- package/src/components/features/ticket-status-config-list/ticket-status-config-list.tsx +52 -5
- package/src/components/features/video-bites-strip.tsx +4 -9
- package/src/components/features/video-hover-preview.tsx +37 -46
- package/src/components/features/video-shared.tsx +3 -0
- package/src/components/features/video-source-selector.tsx +6 -4
- package/src/components/features/video.tsx +7 -65
- package/src/components/features/walkthrough-video.tsx +1 -1
- package/src/components/filter-chip.tsx +6 -16
- package/src/components/help-center-pages/download-apps-page.tsx +21 -13
- package/src/components/help-center-pages/index.ts +1 -1
- package/src/components/help-center-pages/trust-center-page.tsx +5 -25
- package/src/components/help-center-pages/trust-center-sections.tsx +14 -11
- package/src/components/index.ts +1 -9
- package/src/components/interactive-wrapper.tsx +0 -21
- package/src/components/layout/back-button.tsx +15 -18
- package/src/components/layout/list-page-layout.tsx +4 -3
- package/src/components/layout/page-container.tsx +2 -2
- package/src/components/layout/page-heading.tsx +26 -2
- package/src/components/loading/index.ts +4 -34
- package/src/components/loading/loading-fallback.tsx +81 -0
- package/src/components/loading/loading-region.tsx +2 -6
- package/src/components/log-severity-dot.tsx +7 -2
- package/src/components/logs-list.tsx +6 -8
- package/src/components/meeting-scheduler/booking-form.tsx +5 -5
- package/src/components/meeting-scheduler/context-panel.tsx +13 -47
- package/src/components/meeting-scheduler/directory.tsx +6 -7
- package/src/components/meeting-scheduler/host-identity.tsx +68 -0
- package/src/components/meeting-scheduler/index.tsx +5 -9
- package/src/components/meeting-scheduler/modal-header.tsx +8 -50
- package/src/components/meeting-scheduler/slot-picker.tsx +13 -16
- package/src/components/metric-value.tsx +1 -1
- package/src/components/msp-display.tsx +3 -3
- package/src/components/navigation/app-header.tsx +4 -2
- package/src/components/navigation/header-button.tsx +6 -10
- package/src/components/navigation/header-mingo-button.tsx +5 -9
- package/src/components/navigation/header-organization-filter.tsx +3 -11
- package/src/components/navigation/mobile-burger-menu.tsx +7 -24
- package/src/components/navigation/multi-level-navigation.tsx +33 -44
- package/src/components/navigation/navigation-sidebar-item.tsx +47 -50
- package/src/components/navigation/navigation-sidebar-toggle.tsx +6 -9
- package/src/components/navigation/navigation-sidebar.tsx +7 -3
- package/src/components/navigation/sticky-section-nav.tsx +12 -16
- package/src/components/onboarding-guides/onboarding-guide-detail-view.tsx +3 -11
- package/src/components/onboarding-guides/onboarding-guides-catalog-view.tsx +52 -18
- package/src/components/pagination.tsx +1 -10
- package/src/components/platform/ToolBadge.tsx +2 -2
- package/src/components/platform/index.ts +2 -2
- package/src/components/product-demo/product-screen.tsx +36 -16
- package/src/components/product-demo/screen-loading.tsx +2 -6
- package/src/components/related-content/card-registry.tsx +23 -35
- package/src/components/related-content/index.ts +0 -2
- package/src/components/related-content/related-content-section.tsx +2 -2
- package/src/components/results-count.tsx +1 -1
- package/src/components/shared/article-author-byline.tsx +1 -1
- package/src/components/shared/delivery/delivery-row.tsx +14 -9
- package/src/components/shared/delivery/delivery-table.tsx +14 -11
- package/src/components/shared/dev-section/dev-card-row.tsx +22 -59
- package/src/components/shared/dev-section/index.ts +1 -6
- package/src/components/shared/legal-document/index.ts +0 -1
- package/src/components/shared/legal-document/legal-document-page.tsx +4 -4
- package/src/components/shared/media-gallery-strip.tsx +28 -20
- package/src/components/shared/onboarding/onboarding-walkthrough.tsx +4 -1
- package/src/components/shared/product-release/index.ts +0 -1
- package/src/components/shared/product-release/product-release-card-skeleton.tsx +4 -4
- package/src/components/shared/product-release/product-release-card.tsx +16 -8
- package/src/components/shared/product-release/product-releases-view.tsx +27 -22
- package/src/components/shared/product-release/release-detail-page.tsx +3 -11
- package/src/components/shared/roadmap/index.ts +0 -1
- package/src/components/shared/roadmap/roadmap-grid.tsx +56 -7
- package/src/components/shared/roadmap/roadmap-view.tsx +5 -3
- package/src/components/smooth-accordion.tsx +0 -2
- package/src/components/social-icon-row.tsx +9 -0
- package/src/components/tickets/help-center-card.tsx +62 -14
- package/src/components/tickets/help-center-create-form.tsx +29 -112
- package/src/components/tickets/help-center-list.tsx +26 -24
- package/src/components/tickets/index.ts +1 -5
- package/src/components/tickets/ticket-center.tsx +16 -27
- package/src/components/tickets/ticket-detail-drawer.tsx +8 -5
- package/src/components/tickets/ticket-open-form.tsx +5 -4
- package/src/components/tickets/ticket-row.tsx +42 -5
- package/src/components/ui/actions-menu.tsx +45 -44
- package/src/components/ui/allowed-domains-input.tsx +7 -8
- package/src/components/ui/assignee-dropdown.tsx +26 -24
- package/src/components/ui/autocomplete.tsx +26 -25
- package/src/components/ui/avatar-stack.tsx +24 -15
- package/src/components/ui/badge.tsx +9 -3
- package/src/components/ui/breadcrumb.tsx +8 -1
- package/src/components/ui/button/button-styles.ts +79 -0
- package/src/components/ui/button/button.tsx +36 -2
- package/src/components/ui/button/index.ts +1 -1
- package/src/components/ui/button/split-button.tsx +21 -102
- package/src/components/ui/checkbox-block.tsx +118 -88
- package/src/components/ui/checkbox-with-description.tsx +39 -33
- package/src/components/ui/checkbox.tsx +34 -16
- package/src/components/ui/chevron-button.tsx +16 -23
- package/src/components/ui/color-preset-select.tsx +34 -11
- package/src/components/ui/color-swatch.tsx +9 -8
- package/src/components/ui/content-loader.tsx +42 -29
- package/src/components/ui/cursor-pagination.tsx +10 -24
- package/src/components/ui/dashboard-info-card.tsx +35 -16
- package/src/components/ui/data-attribution.tsx +1 -1
- package/src/components/ui/data-table/data-table-body.tsx +62 -15
- package/src/components/ui/data-table/data-table-cursor-footer.tsx +1 -1
- package/src/components/ui/data-table/data-table-header.tsx +13 -1
- package/src/components/ui/data-table/data-table-infinite-footer.tsx +10 -5
- package/src/components/ui/data-table/data-table-reserved-rows.tsx +111 -0
- package/src/components/ui/data-table/data-table-row-classes.ts +48 -0
- package/src/components/ui/data-table/data-table-row-count.tsx +5 -2
- package/src/components/ui/data-table/data-table-row.tsx +136 -10
- package/src/components/ui/data-table/index.ts +10 -9
- package/src/components/ui/data-table/types.ts +14 -0
- package/src/components/ui/data-table/utils.ts +12 -0
- package/src/components/ui/date-picker.tsx +23 -55
- package/src/components/ui/device-card.tsx +99 -43
- package/src/components/ui/entity-image.tsx +1 -4
- package/src/components/ui/feature-card.tsx +15 -8
- package/src/components/ui/feature-list.tsx +3 -3
- package/src/components/ui/field-value-skeleton.tsx +11 -0
- package/src/components/ui/file-manager/file-manager-breadcrumb.tsx +9 -7
- package/src/components/ui/file-manager/file-manager-table-row.tsx +126 -32
- package/src/components/ui/file-manager/file-manager-table.tsx +69 -96
- package/src/components/ui/file-manager/file-manager.tsx +19 -5
- package/src/components/ui/file-manager/index.ts +0 -1
- package/src/components/ui/file-manager/types.ts +12 -1
- package/src/components/ui/file-upload.tsx +40 -29
- package/src/components/ui/filter-checkbox-item.tsx +9 -3
- package/src/components/ui/filter-modal.tsx +66 -51
- package/src/components/ui/filter-pill-row.tsx +5 -2
- package/src/components/ui/hidden-tags-popup.tsx +7 -4
- package/src/components/ui/hover-dropdown.tsx +9 -5
- package/src/components/ui/image-uploader.tsx +8 -13
- package/src/components/ui/index.ts +4 -31
- package/src/components/ui/info-card-row.tsx +1 -1
- package/src/components/ui/info-card.tsx +193 -134
- package/src/components/ui/info-section.tsx +61 -24
- package/src/components/ui/input-styles.ts +3 -0
- package/src/components/ui/input-trigger.tsx +26 -26
- package/src/components/ui/input.tsx +24 -6
- package/src/components/ui/label.tsx +13 -8
- package/src/components/ui/leader-row.tsx +61 -46
- package/src/components/ui/loading-scope.tsx +147 -4
- package/src/components/ui/markdown/engine.tsx +21 -12
- package/src/components/ui/markdown/index.ts +1 -5
- package/src/components/ui/markdown/rich/rich-markdown-renderer.tsx +1 -18
- package/src/components/ui/modal-v2.tsx +8 -4
- package/src/components/ui/numbered-step.tsx +18 -1
- package/src/components/ui/organization-card.tsx +115 -32
- package/src/components/ui/page-actions.tsx +82 -127
- package/src/components/ui/password-input.tsx +6 -4
- package/src/components/ui/people-cell.tsx +8 -5
- package/src/components/ui/product-screen-frame.tsx +20 -10
- package/src/components/ui/progress-bar.tsx +12 -2
- package/src/components/ui/query-report-table/index.ts +0 -2
- package/src/components/ui/query-report-table/query-report-table-header.tsx +3 -2
- package/src/components/ui/query-report-table/query-report-table-row.tsx +31 -12
- package/src/components/ui/query-report-table/query-report-table-skeleton.tsx +41 -34
- package/src/components/ui/query-report-table/query-report-table.tsx +42 -26
- package/src/components/ui/query-report-table/types.ts +5 -1
- package/src/components/ui/radio-group.tsx +111 -50
- package/src/components/ui/release-changelog-section.tsx +23 -24
- package/src/components/ui/search-input.tsx +19 -18
- package/src/components/ui/searchable-select.tsx +36 -39
- package/src/components/ui/select.tsx +6 -1
- package/src/components/ui/service-card.tsx +118 -55
- package/src/components/ui/slack-channel-chip.tsx +1 -1
- package/src/components/ui/snap-carousel.tsx +146 -61
- package/src/components/ui/square-avatar.tsx +25 -6
- package/src/components/ui/stacked-rows-panel.tsx +94 -70
- package/src/components/ui/status-badge.tsx +21 -3
- package/src/components/ui/status-indicator.tsx +1 -1
- package/src/components/ui/strip-card.tsx +1 -1
- package/src/components/ui/super-user-banner-view.tsx +18 -2
- package/src/components/ui/switch.tsx +25 -13
- package/src/components/ui/tab-navigation.tsx +63 -55
- package/src/components/ui/tab-selector.tsx +10 -20
- package/src/components/ui/tabs.tsx +1 -30
- package/src/components/ui/tag-search-input.tsx +11 -12
- package/src/components/ui/tag-select-dropdown.tsx +9 -17
- package/src/components/ui/tag.tsx +32 -10
- package/src/components/ui/tags-input.tsx +19 -11
- package/src/components/ui/tags-manager.tsx +10 -5
- package/src/components/ui/test-run.tsx +40 -28
- package/src/components/ui/textarea.tsx +27 -20
- package/src/components/ui/ticket-attachments-list.tsx +13 -8
- package/src/components/ui/ticket-info-section.tsx +15 -17
- package/src/components/ui/ticket-note-card.tsx +23 -16
- package/src/components/ui/ticket-notes-section.tsx +7 -9
- package/src/components/ui/ticket-status-config-row.tsx +65 -34
- package/src/components/ui/ticket-status-tag.tsx +35 -22
- package/src/components/ui/timezone-select.tsx +6 -2
- package/src/components/ui/toaster.tsx +19 -17
- package/src/components/ui/truncate-text.tsx +12 -0
- package/src/components/user-display.tsx +4 -4
- package/src/components/vendor-display-button.tsx +12 -17
- package/src/components/vendor-icon.tsx +25 -7
- package/src/components/vendor-tag.tsx +5 -1
- package/src/loading-standard/engine.mjs +3124 -0
- package/src/loading-standard/rule-examples.mjs +580 -0
- package/src/styles/index.css +1 -0
- package/src/styles/product-screen-frame.css +33 -0
- package/src/types/logs.types.ts +3 -3
- package/src/types/permissions.ts +10 -0
- package/dist/case-study-card-FMH622O5.cjs +0 -25
- package/dist/chunk-65VVJSQZ.cjs +0 -109
- package/dist/chunk-C42WIUH6.cjs +0 -42
- package/dist/chunk-LGNJTSKB.cjs +0 -699
- package/dist/components/chat/chat-header-icon-button.d.ts +0 -18
- package/dist/components/chat/chat-header-icon-button.d.ts.map +0 -1
- package/dist/components/chat/chat-header-icon-button.js +0 -27
- package/dist/components/chat/chat-sidebar-skeleton.d.ts +0 -12
- package/dist/components/chat/chat-sidebar-skeleton.d.ts.map +0 -1
- package/dist/components/chat/chat-sidebar-skeleton.js +0 -63
- package/dist/components/chat/mingo-onboarding-card-skeleton.d.ts +0 -45
- package/dist/components/chat/mingo-onboarding-card-skeleton.d.ts.map +0 -1
- package/dist/components/chat/mingo-onboarding-card-skeleton.js +0 -70
- package/dist/components/chat/msp-organization-card-skeleton.d.ts +0 -12
- package/dist/components/chat/msp-organization-card-skeleton.d.ts.map +0 -1
- package/dist/components/chat/msp-organization-card-skeleton.js +0 -26
- package/dist/components/features/board/ticket-card-skeleton.d.ts +0 -5
- package/dist/components/features/board/ticket-card-skeleton.d.ts.map +0 -1
- package/dist/components/features/board/ticket-card-skeleton.js +0 -41
- package/dist/components/features/devices/device-selector/device-selector-skeleton.d.ts +0 -28
- package/dist/components/features/devices/device-selector/device-selector-skeleton.d.ts.map +0 -1
- package/dist/components/features/devices/device-selector/device-selector-skeleton.js +0 -10
- package/dist/components/loading/card-skeleton.d.ts +0 -41
- package/dist/components/loading/card-skeleton.d.ts.map +0 -1
- package/dist/components/loading/card-skeleton.js +0 -141
- package/dist/components/loading/category-card-skeleton.d.ts +0 -6
- package/dist/components/loading/category-card-skeleton.d.ts.map +0 -1
- package/dist/components/loading/category-card-skeleton.js +0 -27
- package/dist/components/loading/category-vendor-selector-skeleton.d.ts +0 -13
- package/dist/components/loading/category-vendor-selector-skeleton.d.ts.map +0 -1
- package/dist/components/loading/category-vendor-selector-skeleton.js +0 -32
- package/dist/components/loading/deprecated-layout-skeletons.d.ts +0 -25
- package/dist/components/loading/deprecated-layout-skeletons.d.ts.map +0 -1
- package/dist/components/loading/deprecated-layout-skeletons.js +0 -78
- package/dist/components/loading/device-card-skeleton.d.ts +0 -40
- package/dist/components/loading/device-card-skeleton.d.ts.map +0 -1
- package/dist/components/loading/device-card-skeleton.js +0 -54
- package/dist/components/loading/margin-report-skeleton.d.ts +0 -14
- package/dist/components/loading/margin-report-skeleton.d.ts.map +0 -1
- package/dist/components/loading/margin-report-skeleton.js +0 -99
- package/dist/components/loading/msp-profile-form-skeleton.d.ts +0 -28
- package/dist/components/loading/msp-profile-form-skeleton.d.ts.map +0 -1
- package/dist/components/loading/msp-profile-form-skeleton.js +0 -28
- package/dist/components/loading/organization-card-skeleton.d.ts +0 -51
- package/dist/components/loading/organization-card-skeleton.d.ts.map +0 -1
- package/dist/components/loading/organization-card-skeleton.js +0 -88
- package/dist/components/loading/organization-icon-skeleton.d.ts +0 -49
- package/dist/components/loading/organization-icon-skeleton.d.ts.map +0 -1
- package/dist/components/loading/organization-icon-skeleton.js +0 -35
- package/dist/components/loading/page-layout-skeleton.d.ts +0 -45
- package/dist/components/loading/page-layout-skeleton.d.ts.map +0 -1
- package/dist/components/loading/page-layout-skeleton.js +0 -124
- package/dist/components/loading/settings-form-skeleton.d.ts +0 -19
- package/dist/components/loading/settings-form-skeleton.d.ts.map +0 -1
- package/dist/components/loading/settings-form-skeleton.js +0 -42
- package/dist/components/loading/wizard-layout-skeleton.d.ts +0 -9
- package/dist/components/loading/wizard-layout-skeleton.d.ts.map +0 -1
- package/dist/components/loading/wizard-layout-skeleton.js +0 -21
- package/dist/components/onboarding-guides/onboarding-guides-catalog-skeleton.d.ts +0 -21
- package/dist/components/onboarding-guides/onboarding-guides-catalog-skeleton.d.ts.map +0 -1
- package/dist/components/onboarding-guides/onboarding-guides-catalog-skeleton.js +0 -35
- package/dist/components/profile/ProfileLoadingSkeleton.d.ts +0 -8
- package/dist/components/profile/ProfileLoadingSkeleton.d.ts.map +0 -1
- package/dist/components/profile/ProfileLoadingSkeleton.js +0 -24
- package/dist/components/shared/detail-page-skeleton.d.ts +0 -18
- package/dist/components/shared/detail-page-skeleton.d.ts.map +0 -1
- package/dist/components/shared/detail-page-skeleton.js +0 -68
- package/dist/components/shared/roadmap/roadmap-grid-skeleton.d.ts +0 -30
- package/dist/components/shared/roadmap/roadmap-grid-skeleton.d.ts.map +0 -1
- package/dist/components/shared/roadmap/roadmap-grid-skeleton.js +0 -21
- package/dist/components/ui/data-table/data-table-skeleton.d.ts +0 -74
- package/dist/components/ui/data-table/data-table-skeleton.d.ts.map +0 -1
- package/dist/components/ui/data-table/data-table-skeleton.js +0 -150
- package/dist/components/ui/file-manager/file-manager-skeleton.d.ts +0 -10
- package/dist/components/ui/file-manager/file-manager-skeleton.d.ts.map +0 -1
- package/dist/components/ui/file-manager/file-manager-skeleton.js +0 -55
- package/dist/components/ui/table/index.d.ts +0 -17
- package/dist/components/ui/table/index.d.ts.map +0 -1
- package/dist/components/ui/table/index.js +0 -25
- package/dist/components/ui/table/table-cell.d.ts +0 -4
- package/dist/components/ui/table/table-cell.d.ts.map +0 -1
- package/dist/components/ui/table/table-cell.js +0 -19
- package/dist/components/ui/table/table-column-filter-dropdown.d.ts +0 -21
- package/dist/components/ui/table/table-column-filter-dropdown.d.ts.map +0 -1
- package/dist/components/ui/table/table-column-filter-dropdown.js +0 -63
- package/dist/components/ui/table/table-description-cell.d.ts +0 -21
- package/dist/components/ui/table/table-description-cell.d.ts.map +0 -1
- package/dist/components/ui/table/table-description-cell.js +0 -24
- package/dist/components/ui/table/table-empty-state.d.ts +0 -4
- package/dist/components/ui/table/table-empty-state.d.ts.map +0 -1
- package/dist/components/ui/table/table-empty-state.js +0 -22
- package/dist/components/ui/table/table-header.d.ts +0 -4
- package/dist/components/ui/table/table-header.d.ts.map +0 -1
- package/dist/components/ui/table/table-header.js +0 -158
- package/dist/components/ui/table/table-row.d.ts +0 -5
- package/dist/components/ui/table/table-row.d.ts.map +0 -1
- package/dist/components/ui/table/table-row.js +0 -112
- package/dist/components/ui/table/table-skeleton.d.ts +0 -22
- package/dist/components/ui/table/table-skeleton.d.ts.map +0 -1
- package/dist/components/ui/table/table-skeleton.js +0 -64
- package/dist/components/ui/table/table-timestamp-cell.d.ts +0 -28
- package/dist/components/ui/table/table-timestamp-cell.d.ts.map +0 -1
- package/dist/components/ui/table/table-timestamp-cell.js +0 -36
- package/dist/components/ui/table/table.d.ts +0 -4
- package/dist/components/ui/table/table.d.ts.map +0 -1
- package/dist/components/ui/table/table.js +0 -326
- package/dist/components/ui/table/types.d.ts +0 -289
- package/dist/components/ui/table/types.d.ts.map +0 -1
- package/dist/components/ui/table/types.js +0 -1
- package/dist/components/ui/table/use-table-motion.d.ts +0 -24
- package/dist/components/ui/table/use-table-motion.d.ts.map +0 -1
- package/dist/components/ui/table/use-table-motion.js +0 -20
- package/dist/components/ui/table/utils.d.ts +0 -10
- package/dist/components/ui/table/utils.d.ts.map +0 -1
- package/dist/components/ui/table/utils.js +0 -34
- package/src/components/chat/chat-header-icon-button.tsx +0 -41
- package/src/components/chat/chat-sidebar-skeleton.tsx +0 -89
- package/src/components/chat/mingo-onboarding-card-skeleton.tsx +0 -146
- package/src/components/chat/msp-organization-card-skeleton.tsx +0 -33
- package/src/components/features/board/ticket-card-skeleton.tsx +0 -41
- package/src/components/features/devices/device-selector/device-selector-skeleton.tsx +0 -38
- package/src/components/loading/card-skeleton.tsx +0 -259
- package/src/components/loading/category-card-skeleton.tsx +0 -36
- package/src/components/loading/category-vendor-selector-skeleton.tsx +0 -51
- package/src/components/loading/deprecated-layout-skeletons.tsx +0 -133
- package/src/components/loading/device-card-skeleton.tsx +0 -100
- package/src/components/loading/margin-report-skeleton.tsx +0 -153
- package/src/components/loading/msp-profile-form-skeleton.tsx +0 -59
- package/src/components/loading/organization-card-skeleton.tsx +0 -130
- package/src/components/loading/organization-icon-skeleton.tsx +0 -95
- package/src/components/loading/page-layout-skeleton.tsx +0 -192
- package/src/components/loading/settings-form-skeleton.tsx +0 -55
- package/src/components/loading/wizard-layout-skeleton.tsx +0 -35
- package/src/components/onboarding-guides/onboarding-guides-catalog-skeleton.tsx +0 -48
- package/src/components/profile/ProfileLoadingSkeleton.tsx +0 -31
- package/src/components/shared/detail-page-skeleton.tsx +0 -105
- package/src/components/shared/roadmap/roadmap-grid-skeleton.tsx +0 -54
- package/src/components/ui/data-table/data-table-skeleton.tsx +0 -229
- package/src/components/ui/file-manager/file-manager-skeleton.tsx +0 -110
- package/src/components/ui/table/index.ts +0 -34
- package/src/components/ui/table/table-cell.tsx +0 -28
- package/src/components/ui/table/table-column-filter-dropdown.tsx +0 -76
- package/src/components/ui/table/table-description-cell.tsx +0 -46
- package/src/components/ui/table/table-empty-state.tsx +0 -24
- package/src/components/ui/table/table-header.tsx +0 -182
- package/src/components/ui/table/table-row.tsx +0 -133
- package/src/components/ui/table/table-skeleton.tsx +0 -102
- package/src/components/ui/table/table-timestamp-cell.tsx +0 -81
- package/src/components/ui/table/table.tsx +0 -410
- package/src/components/ui/table/types.ts +0 -335
- package/src/components/ui/table/use-table-motion.ts +0 -48
- package/src/components/ui/table/utils.ts +0 -55
|
@@ -14,15 +14,18 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
+
var _chunkFWJ5YECNcjs = require('./chunk-FWJ5YECN.cjs');
|
|
17
18
|
|
|
18
19
|
|
|
19
|
-
var _chunkTZP7PSPGcjs = require('./chunk-TZP7PSPG.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
+
var _chunkT7SDYBSTcjs = require('./chunk-T7SDYBST.cjs');
|
|
23
24
|
|
|
24
25
|
|
|
25
|
-
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
var _chunkAKCBLZAOcjs = require('./chunk-AKCBLZAO.cjs');
|
|
26
29
|
|
|
27
30
|
|
|
28
31
|
var _chunkSXGDKNVEcjs = require('./chunk-SXGDKNVE.cjs');
|
|
@@ -88,7 +91,7 @@ var _chunkBFMRU3R6cjs = require('./chunk-BFMRU3R6.cjs');
|
|
|
88
91
|
|
|
89
92
|
|
|
90
93
|
|
|
91
|
-
var
|
|
94
|
+
var _chunk3IHGS44Wcjs = require('./chunk-3IHGS44W.cjs');
|
|
92
95
|
|
|
93
96
|
|
|
94
97
|
|
|
@@ -104,15 +107,13 @@ var _chunkJKX2C3I2cjs = require('./chunk-JKX2C3I2.cjs');
|
|
|
104
107
|
var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
|
|
105
108
|
|
|
106
109
|
|
|
107
|
-
var
|
|
108
|
-
|
|
109
|
-
|
|
110
|
+
var _chunkJHDPEYZHcjs = require('./chunk-JHDPEYZH.cjs');
|
|
110
111
|
|
|
111
112
|
|
|
112
113
|
|
|
113
|
-
var _chunkCGQ7CL62cjs = require('./chunk-CGQ7CL62.cjs');
|
|
114
114
|
|
|
115
115
|
|
|
116
|
+
var _chunkOHXB6HUXcjs = require('./chunk-OHXB6HUX.cjs');
|
|
116
117
|
|
|
117
118
|
|
|
118
119
|
|
|
@@ -129,9 +130,9 @@ var _chunkCGQ7CL62cjs = require('./chunk-CGQ7CL62.cjs');
|
|
|
129
130
|
|
|
130
131
|
|
|
131
132
|
|
|
132
|
-
var _chunkMQPTOJMFcjs = require('./chunk-MQPTOJMF.cjs');
|
|
133
133
|
|
|
134
134
|
|
|
135
|
+
var _chunkJQWYXC2Ecjs = require('./chunk-JQWYXC2E.cjs');
|
|
135
136
|
|
|
136
137
|
|
|
137
138
|
|
|
@@ -140,7 +141,7 @@ var _chunkMQPTOJMFcjs = require('./chunk-MQPTOJMF.cjs');
|
|
|
140
141
|
|
|
141
142
|
|
|
142
143
|
|
|
143
|
-
var
|
|
144
|
+
var _chunkAFJEUBDScjs = require('./chunk-AFJEUBDS.cjs');
|
|
144
145
|
|
|
145
146
|
|
|
146
147
|
|
|
@@ -152,32 +153,32 @@ var _chunkBNUZKBNVcjs = require('./chunk-BNUZKBNV.cjs');
|
|
|
152
153
|
var _chunk5GJM7VRRcjs = require('./chunk-5GJM7VRR.cjs');
|
|
153
154
|
|
|
154
155
|
|
|
155
|
-
var
|
|
156
|
+
var _chunk3VINTJPEcjs = require('./chunk-3VINTJPE.cjs');
|
|
156
157
|
|
|
157
158
|
|
|
158
159
|
|
|
159
|
-
var
|
|
160
|
+
var _chunkKWV23THOcjs = require('./chunk-KWV23THO.cjs');
|
|
160
161
|
|
|
161
162
|
|
|
162
|
-
var
|
|
163
|
+
var _chunkT4ZVKEDPcjs = require('./chunk-T4ZVKEDP.cjs');
|
|
163
164
|
|
|
164
165
|
|
|
165
|
-
var _chunkWEANWBJHcjs = require('./chunk-WEANWBJH.cjs');
|
|
166
166
|
|
|
167
167
|
|
|
168
|
+
var _chunkYNDH72VUcjs = require('./chunk-YNDH72VU.cjs');
|
|
168
169
|
|
|
169
170
|
|
|
171
|
+
var _chunkCDBFQVPAcjs = require('./chunk-CDBFQVPA.cjs');
|
|
170
172
|
|
|
171
|
-
var _chunkXFRBEXQNcjs = require('./chunk-XFRBEXQN.cjs');
|
|
172
173
|
|
|
173
174
|
|
|
174
|
-
var _chunkTF5D5MNOcjs = require('./chunk-TF5D5MNO.cjs');
|
|
175
175
|
|
|
176
176
|
|
|
177
|
-
|
|
177
|
+
|
|
178
|
+
var _chunkN6YCOBLKcjs = require('./chunk-N6YCOBLK.cjs');
|
|
178
179
|
|
|
179
180
|
|
|
180
|
-
var
|
|
181
|
+
var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
|
|
181
182
|
|
|
182
183
|
|
|
183
184
|
|
|
@@ -190,27 +191,48 @@ var _react = require('react'); var _react2 = _interopRequireDefault(_react);
|
|
|
190
191
|
// src/components/chat/chat-message-row.tsx
|
|
191
192
|
|
|
192
193
|
var _jsxruntime = require('react/jsx-runtime');
|
|
193
|
-
|
|
194
|
-
|
|
194
|
+
var ROW_CLASS = "flex w-full min-w-0 gap-2 md:gap-3";
|
|
195
|
+
var AVATAR_BOX_CLASS = "h-8 w-8 flex-shrink-0 rounded-lg md:h-10 md:w-10";
|
|
196
|
+
var CONTENT_CLASS = "min-w-0 max-w-full flex-1";
|
|
197
|
+
var HEADER_CLASS = "mb-1 flex min-w-0 max-w-full items-center gap-2";
|
|
198
|
+
var NAME_TYPE_CLASS = "font-body text-[14px] font-bold leading-[1.33] tracking-[-0.02em] md:text-[15px]";
|
|
199
|
+
var CHAT_MESSAGE_ROW_BODY_LINES = 2;
|
|
200
|
+
function ChatMessageRow(props) {
|
|
201
|
+
const loading = _chunkN6YCOBLKcjs.useLoadingScope.call(void 0, ) || !!props.loading;
|
|
202
|
+
if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatMessageRowLoading, { ..._chunkN6YCOBLKcjs.loadingItemProps.call(void 0, props) });
|
|
203
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatMessageRowLoaded, { ...props });
|
|
204
|
+
}
|
|
205
|
+
function ChatMessageRowLoaded(props) {
|
|
206
|
+
const { displayName, avatarUrl, timeLabel, body, footer } = props;
|
|
207
|
+
const proxiedAvatar = _chunkOHXB6HUXcjs.useProxiedImageUrl.call(void 0, _nullishCoalesce(avatarUrl, () => ( "")));
|
|
195
208
|
const resolvedAvatar = proxiedAvatar || avatarUrl || void 0;
|
|
196
209
|
const [failedSrc, setFailedSrc] = _react.useState.call(void 0, null);
|
|
197
210
|
const src = resolvedAvatar && resolvedAvatar !== failedSrc ? resolvedAvatar : void 0;
|
|
198
211
|
const hasBody = typeof body === "string" ? body.trim().length > 0 : body != null && body !== false;
|
|
199
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
212
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_CLASS, ..._chunkN6YCOBLKcjs.loadingItemProps.call(void 0, props), children: [
|
|
200
213
|
src ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
201
|
-
|
|
214
|
+
_chunk3VINTJPEcjs.next_image_default,
|
|
202
215
|
{
|
|
203
216
|
src,
|
|
204
217
|
alt: displayName,
|
|
205
|
-
className:
|
|
218
|
+
className: _chunkN6YCOBLKcjs.cn.call(void 0, AVATAR_BOX_CLASS, "object-cover"),
|
|
206
219
|
width: 40,
|
|
207
220
|
height: 40,
|
|
208
221
|
onError: () => setFailedSrc(_nullishCoalesce(resolvedAvatar, () => ( null)))
|
|
209
222
|
}
|
|
210
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
223
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
224
|
+
"div",
|
|
225
|
+
{
|
|
226
|
+
className: _chunkN6YCOBLKcjs.cn.call(void 0,
|
|
227
|
+
AVATAR_BOX_CLASS,
|
|
228
|
+
"flex items-center justify-center border border-ods-border bg-ods-bg text-ods-text-primary text-h6"
|
|
229
|
+
),
|
|
230
|
+
children: _chunkAFJEUBDScjs.personInitials.call(void 0, displayName) || "?"
|
|
231
|
+
}
|
|
232
|
+
),
|
|
233
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CONTENT_CLASS, children: [
|
|
234
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: HEADER_CLASS, children: [
|
|
235
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkN6YCOBLKcjs.cn.call(void 0, "truncate text-ods-text-primary", NAME_TYPE_CLASS), children: displayName }),
|
|
214
236
|
timeLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex-shrink-0 text-ods-text-secondary text-h6", children: timeLabel })
|
|
215
237
|
] }),
|
|
216
238
|
hasBody && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 max-w-full whitespace-pre-wrap break-words text-ods-text-primary text-h6", children: body }),
|
|
@@ -218,16 +240,15 @@ function ChatMessageRow({ displayName, avatarUrl, timeLabel, body, footer }) {
|
|
|
218
240
|
] })
|
|
219
241
|
] });
|
|
220
242
|
}
|
|
221
|
-
function
|
|
222
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
223
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
224
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
225
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
226
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
227
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
243
|
+
function ChatMessageRowLoading(markers) {
|
|
244
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ROW_CLASS, ...markers, children: [
|
|
245
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.UnifiedSkeleton, { className: AVATAR_BOX_CLASS }),
|
|
246
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CONTENT_CLASS, children: [
|
|
247
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: HEADER_CLASS, children: [
|
|
248
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "inherit", as: "span", className: _chunkN6YCOBLKcjs.cn.call(void 0, NAME_TYPE_CLASS, "w-24 md:w-32") }),
|
|
249
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "h6", as: "span", className: "w-12 flex-shrink-0 md:w-16" })
|
|
228
250
|
] }),
|
|
229
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
230
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: "mt-1 h-[14px] w-3/4 rounded md:h-[18px]" })
|
|
251
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "h6", lines: CHAT_MESSAGE_ROW_BODY_LINES })
|
|
231
252
|
] })
|
|
232
253
|
] });
|
|
233
254
|
}
|
|
@@ -251,9 +272,11 @@ function ChatTurn({
|
|
|
251
272
|
time,
|
|
252
273
|
children,
|
|
253
274
|
className,
|
|
275
|
+
loading: loadingProp,
|
|
254
276
|
skeleton
|
|
255
277
|
}) {
|
|
256
|
-
|
|
278
|
+
const loading = _chunkN6YCOBLKcjs.useLoadingScope.call(void 0, ) || loadingProp;
|
|
279
|
+
if (loading) {
|
|
257
280
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
258
281
|
ChatTurnSkeleton,
|
|
259
282
|
{
|
|
@@ -261,17 +284,19 @@ function ChatTurn({
|
|
|
261
284
|
time: _nullishCoalesce(_optionalChain([skeleton, 'optionalAccess', _2 => _2.time]), () => ( time != null)),
|
|
262
285
|
meta: _nullishCoalesce(_optionalChain([skeleton, 'optionalAccess', _3 => _3.meta]), () => ( !!meta)),
|
|
263
286
|
lines: _optionalChain([skeleton, 'optionalAccess', _4 => _4.lines]),
|
|
264
|
-
|
|
287
|
+
body: _optionalChain([skeleton, 'optionalAccess', _5 => _5.body]),
|
|
288
|
+
avatarPx: _optionalChain([skeleton, 'optionalAccess', _6 => _6.avatarPx]),
|
|
289
|
+
avatarShape: _optionalChain([skeleton, 'optionalAccess', _7 => _7.avatarShape]),
|
|
265
290
|
className
|
|
266
291
|
}
|
|
267
292
|
);
|
|
268
293
|
}
|
|
269
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
294
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkN6YCOBLKcjs.cn.call(void 0, TURN_ROW_CLASS, className), children: [
|
|
270
295
|
avatar && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: avatar }),
|
|
271
296
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TURN_BODY_CLASS, children: [
|
|
272
297
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: NAME_ROW_CLASS, children: [
|
|
273
298
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: NAME_GROUP_CLASS, children: [
|
|
274
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
299
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkN6YCOBLKcjs.cn.call(void 0, "min-w-0 truncate", NAME_CLASS[nameSize]), children: name }),
|
|
275
300
|
meta && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: META_CLASS, children: meta })
|
|
276
301
|
] }),
|
|
277
302
|
time && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: TIME_CLASS, children: time })
|
|
@@ -287,10 +312,10 @@ function ChatTurnNameSkeleton({
|
|
|
287
312
|
}) {
|
|
288
313
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: NAME_ROW_CLASS, children: [
|
|
289
314
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: NAME_GROUP_CLASS, children: [
|
|
290
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
291
|
-
typeof meta === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: META_CLASS, children: meta }) : meta && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
315
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: NAME_TYPE[nameSize], className: "w-24" }),
|
|
316
|
+
typeof meta === "string" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: META_CLASS, children: meta }) : meta && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "h6", className: "w-20" })
|
|
292
317
|
] }),
|
|
293
|
-
time && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
318
|
+
time && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "h6", className: "w-12 shrink-0" })
|
|
294
319
|
] });
|
|
295
320
|
}
|
|
296
321
|
function ChatTurnSkeleton({
|
|
@@ -298,22 +323,16 @@ function ChatTurnSkeleton({
|
|
|
298
323
|
avatarShape = "round",
|
|
299
324
|
nameSize = "default",
|
|
300
325
|
lines = 1,
|
|
326
|
+
body,
|
|
301
327
|
time = false,
|
|
302
328
|
meta = false,
|
|
303
329
|
className
|
|
304
330
|
}) {
|
|
305
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
306
|
-
avatarPx ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
331
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkN6YCOBLKcjs.cn.call(void 0, TURN_ROW_CLASS, className), "aria-hidden": true, children: [
|
|
332
|
+
avatarPx ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAFJEUBDScjs.SquareAvatar, { loading: true, sizePx: avatarPx, variant: avatarShape }) : null,
|
|
307
333
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TURN_BODY_CLASS, children: [
|
|
308
334
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatTurnNameSkeleton, { nameSize, meta, time }),
|
|
309
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
310
|
-
_chunkXFRBEXQNcjs.TextLineSkeleton,
|
|
311
|
-
{
|
|
312
|
-
type: "h4",
|
|
313
|
-
className: i === lines - 1 && lines > 1 ? "w-2/3" : "w-full"
|
|
314
|
-
},
|
|
315
|
-
i
|
|
316
|
-
)) })
|
|
335
|
+
_nullishCoalesce(body, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { lines, type: "h4" })))
|
|
317
336
|
] })
|
|
318
337
|
] });
|
|
319
338
|
}
|
|
@@ -332,8 +351,8 @@ function aiProvider(key, stated) {
|
|
|
332
351
|
const known = AI_PROVIDERS[key];
|
|
333
352
|
const parts = words(key);
|
|
334
353
|
return {
|
|
335
|
-
label: _optionalChain([stated, 'optionalAccess',
|
|
336
|
-
icon: _optionalChain([stated, 'optionalAccess',
|
|
354
|
+
label: _optionalChain([stated, 'optionalAccess', _8 => _8.label]) || _optionalChain([known, 'optionalAccess', _9 => _9.label]) || parts.map((word) => word.charAt(0).toUpperCase() + word.slice(1)).join(" ") || key,
|
|
355
|
+
icon: _optionalChain([stated, 'optionalAccess', _10 => _10.icon]) || _optionalChain([known, 'optionalAccess', _11 => _11.icon]) || `${parts.join("-")}-logo-grey`
|
|
337
356
|
};
|
|
338
357
|
}
|
|
339
358
|
|
|
@@ -397,7 +416,7 @@ function trialLabels(days) {
|
|
|
397
416
|
var NO_ROW_CLICK_SELECTOR = "[data-no-row-click]";
|
|
398
417
|
var CONTROL_SELECTOR = 'a, button, input, select, textarea, label, [role="button"], [role="link"]';
|
|
399
418
|
function isOwnClick(target, container, { controls = false } = {}) {
|
|
400
|
-
if (!(target instanceof Element) || !_optionalChain([container, 'optionalAccess',
|
|
419
|
+
if (!(target instanceof Element) || !_optionalChain([container, 'optionalAccess', _12 => _12.contains, 'call', _13 => _13(target)])) return false;
|
|
401
420
|
if (target.closest(NO_ROW_CLICK_SELECTOR)) return false;
|
|
402
421
|
if (controls) {
|
|
403
422
|
const control = target.closest(CONTROL_SELECTOR);
|
|
@@ -778,7 +797,7 @@ function getShellIcon(shellType) {
|
|
|
778
797
|
if (!shellType) return void 0;
|
|
779
798
|
const normalized = shellType.toUpperCase();
|
|
780
799
|
const shellDef = SHELL_TYPES.find((s) => s.id === normalized);
|
|
781
|
-
return _optionalChain([shellDef, 'optionalAccess',
|
|
800
|
+
return _optionalChain([shellDef, 'optionalAccess', _14 => _14.icon]);
|
|
782
801
|
}
|
|
783
802
|
|
|
784
803
|
// src/utils/video-bite-id.ts
|
|
@@ -880,7 +899,7 @@ function getOSIcon(osType) {
|
|
|
880
899
|
const normalized = normalizeOSType(osType);
|
|
881
900
|
if (!normalized) return void 0;
|
|
882
901
|
const osTypeDef = OS_TYPES.find((t) => t.id === normalized);
|
|
883
|
-
return _optionalChain([osTypeDef, 'optionalAccess',
|
|
902
|
+
return _optionalChain([osTypeDef, 'optionalAccess', _15 => _15.icon]);
|
|
884
903
|
}
|
|
885
904
|
function getOSTypeDefinition(osType) {
|
|
886
905
|
if (!osType) return void 0;
|
|
@@ -890,7 +909,7 @@ function getOSTypeDefinition(osType) {
|
|
|
890
909
|
}
|
|
891
910
|
function getOSPlatformId(osType) {
|
|
892
911
|
const osTypeDef = getOSTypeDefinition(osType);
|
|
893
|
-
return _optionalChain([osTypeDef, 'optionalAccess',
|
|
912
|
+
return _optionalChain([osTypeDef, 'optionalAccess', _16 => _16.platformId]);
|
|
894
913
|
}
|
|
895
914
|
function isOSPlatform(deviceOS, targetPlatform) {
|
|
896
915
|
if (!deviceOS || !targetPlatform) return false;
|
|
@@ -901,7 +920,7 @@ function isOSPlatform(deviceOS, targetPlatform) {
|
|
|
901
920
|
// src/utils/mobile-app.ts
|
|
902
921
|
var DOWNLOAD_PAGE_PATH = "/download";
|
|
903
922
|
function resolveMobileStoreUrl(links, userAgent, maxTouchPoints) {
|
|
904
|
-
const os =
|
|
923
|
+
const os = _chunk3IHGS44Wcjs.detectVisitorOs.call(void 0, userAgent, { maxTouchPoints });
|
|
905
924
|
if (os === "ios") return links.appStoreUrl;
|
|
906
925
|
if (os === "android") return links.googlePlayUrl;
|
|
907
926
|
return null;
|
|
@@ -1053,7 +1072,7 @@ function getCountryByName(name) {
|
|
|
1053
1072
|
}
|
|
1054
1073
|
function getFlagFromCountryName(countryName) {
|
|
1055
1074
|
const country = getCountryByName(countryName);
|
|
1056
|
-
return _optionalChain([country, 'optionalAccess',
|
|
1075
|
+
return _optionalChain([country, 'optionalAccess', _17 => _17.flag]);
|
|
1057
1076
|
}
|
|
1058
1077
|
function validatePhoneNumber(phoneNumber, countryCode) {
|
|
1059
1078
|
if (!phoneNumber.trim()) return true;
|
|
@@ -1162,10 +1181,10 @@ var GENERIC_EMAIL_DOMAINS = [
|
|
|
1162
1181
|
];
|
|
1163
1182
|
function extractDomainFromEmail(email) {
|
|
1164
1183
|
if (!email || !email.includes("@")) return null;
|
|
1165
|
-
return _optionalChain([email, 'access',
|
|
1184
|
+
return _optionalChain([email, 'access', _18 => _18.split, 'call', _19 => _19("@"), 'access', _20 => _20[1], 'optionalAccess', _21 => _21.toLowerCase, 'call', _22 => _22()]) || null;
|
|
1166
1185
|
}
|
|
1167
1186
|
function normalizeDomain(domain) {
|
|
1168
|
-
return _optionalChain([domain, 'optionalAccess',
|
|
1187
|
+
return _optionalChain([domain, 'optionalAccess', _23 => _23.toLowerCase, 'call', _24 => _24(), 'access', _25 => _25.replace, 'call', _26 => _26(/^https?:\/\//, ""), 'access', _27 => _27.replace, 'call', _28 => _28(/^www\./, ""), 'access', _29 => _29.split, 'call', _30 => _30("/"), 'access', _31 => _31[0], 'access', _32 => _32.trim, 'call', _33 => _33()]) || "";
|
|
1169
1188
|
}
|
|
1170
1189
|
function isGenericDomain(domain) {
|
|
1171
1190
|
const normalized = normalizeDomain(domain);
|
|
@@ -1266,7 +1285,7 @@ function clearLegacyAnnouncementCache(platform) {
|
|
|
1266
1285
|
// src/utils/announcement-surface.ts
|
|
1267
1286
|
function isAnnouncementOnSurface(announcement, surface) {
|
|
1268
1287
|
const surfaces = announcement.surfaces;
|
|
1269
|
-
return !_optionalChain([surfaces, 'optionalAccess',
|
|
1288
|
+
return !_optionalChain([surfaces, 'optionalAccess', _34 => _34.length]) || surfaces.includes(surface);
|
|
1270
1289
|
}
|
|
1271
1290
|
|
|
1272
1291
|
// src/utils/after-page-load.ts
|
|
@@ -1287,7 +1306,7 @@ function afterPageLoad(run, maxWaitMs = 2e3) {
|
|
|
1287
1306
|
return () => {
|
|
1288
1307
|
cancelled = true;
|
|
1289
1308
|
window.removeEventListener("load", whenIdle);
|
|
1290
|
-
if (idleHandle !== null) _optionalChain([w, 'access',
|
|
1309
|
+
if (idleHandle !== null) _optionalChain([w, 'access', _35 => _35.cancelIdleCallback, 'optionalCall', _36 => _36(idleHandle)]);
|
|
1291
1310
|
if (timer !== null) clearTimeout(timer);
|
|
1292
1311
|
};
|
|
1293
1312
|
}
|
|
@@ -1356,7 +1375,7 @@ function createSseSubscription(options) {
|
|
|
1356
1375
|
if (connected === next) return;
|
|
1357
1376
|
connected = next;
|
|
1358
1377
|
try {
|
|
1359
|
-
_optionalChain([onConnectedChange, 'optionalCall',
|
|
1378
|
+
_optionalChain([onConnectedChange, 'optionalCall', _37 => _37(next)]);
|
|
1360
1379
|
} catch (err) {
|
|
1361
1380
|
console.error("[sse-subscription] onConnectedChange threw:", err);
|
|
1362
1381
|
}
|
|
@@ -1372,7 +1391,7 @@ function createSseSubscription(options) {
|
|
|
1372
1391
|
if (status !== "open") {
|
|
1373
1392
|
confirmTimerId = clearLifecycleTimer(confirmTimerId);
|
|
1374
1393
|
}
|
|
1375
|
-
_optionalChain([onStatusChange, 'optionalCall',
|
|
1394
|
+
_optionalChain([onStatusChange, 'optionalCall', _38 => _38(status)]);
|
|
1376
1395
|
};
|
|
1377
1396
|
const internalReconnect = (delayMs) => {
|
|
1378
1397
|
failedDelayTimerId = clearLifecycleTimer(failedDelayTimerId);
|
|
@@ -1386,7 +1405,7 @@ function createSseSubscription(options) {
|
|
|
1386
1405
|
}, delayMs);
|
|
1387
1406
|
};
|
|
1388
1407
|
const handleServerStatus = (data) => {
|
|
1389
|
-
const status = _optionalChain([data, 'optionalAccess',
|
|
1408
|
+
const status = _optionalChain([data, 'optionalAccess', _39 => _39.status]);
|
|
1390
1409
|
if (status === "subscribed") {
|
|
1391
1410
|
confirmTimerId = clearLifecycleTimer(confirmTimerId);
|
|
1392
1411
|
serverGraceTimerId = clearLifecycleTimer(serverGraceTimerId);
|
|
@@ -1427,7 +1446,7 @@ function createSseSubscription(options) {
|
|
|
1427
1446
|
const armSilenceTimer = () => {
|
|
1428
1447
|
if (silenceTimerId) clearTimeout(silenceTimerId);
|
|
1429
1448
|
silenceTimerId = setTimeout(() => {
|
|
1430
|
-
_optionalChain([abortController, 'optionalAccess',
|
|
1449
|
+
_optionalChain([abortController, 'optionalAccess', _40 => _40.abort, 'call', _41 => _41()]);
|
|
1431
1450
|
}, silenceTimeoutMs);
|
|
1432
1451
|
};
|
|
1433
1452
|
const scheduleReconnect = (delayMs) => {
|
|
@@ -1580,7 +1599,7 @@ function createSseSubscription(options) {
|
|
|
1580
1599
|
generation += 1;
|
|
1581
1600
|
clearTimers();
|
|
1582
1601
|
attempt = 0;
|
|
1583
|
-
_optionalChain([abortController, 'optionalAccess',
|
|
1602
|
+
_optionalChain([abortController, 'optionalAccess', _42 => _42.abort, 'call', _43 => _43()]);
|
|
1584
1603
|
void connect();
|
|
1585
1604
|
}
|
|
1586
1605
|
const suspend = () => {
|
|
@@ -1588,7 +1607,7 @@ function createSseSubscription(options) {
|
|
|
1588
1607
|
suspended = true;
|
|
1589
1608
|
generation += 1;
|
|
1590
1609
|
clearTimers();
|
|
1591
|
-
_optionalChain([abortController, 'optionalAccess',
|
|
1610
|
+
_optionalChain([abortController, 'optionalAccess', _44 => _44.abort, 'call', _45 => _45()]);
|
|
1592
1611
|
setStatus("suspended");
|
|
1593
1612
|
};
|
|
1594
1613
|
const retryIfStalled = () => {
|
|
@@ -1633,15 +1652,15 @@ function createSseSubscription(options) {
|
|
|
1633
1652
|
generation += 1;
|
|
1634
1653
|
clearTimers();
|
|
1635
1654
|
hiddenGraceTimerId = clearLifecycleTimer(hiddenGraceTimerId);
|
|
1636
|
-
_optionalChain([abortController, 'optionalAccess',
|
|
1655
|
+
_optionalChain([abortController, 'optionalAccess', _46 => _46.abort, 'call', _47 => _47()]);
|
|
1637
1656
|
if (listenersActive) {
|
|
1638
1657
|
document.removeEventListener("visibilitychange", onVisibilityChange);
|
|
1639
1658
|
window.removeEventListener("online", onOnline);
|
|
1640
1659
|
window.removeEventListener("focus", retryIfStalled);
|
|
1641
1660
|
}
|
|
1642
|
-
_optionalChain([unsubscribeCredentials, 'optionalCall',
|
|
1661
|
+
_optionalChain([unsubscribeCredentials, 'optionalCall', _48 => _48()]);
|
|
1643
1662
|
setConnected(false);
|
|
1644
|
-
_optionalChain([onStatusChange, 'optionalCall',
|
|
1663
|
+
_optionalChain([onStatusChange, 'optionalCall', _49 => _49("closed")]);
|
|
1645
1664
|
},
|
|
1646
1665
|
reconnectNow: () => {
|
|
1647
1666
|
if (closed) return;
|
|
@@ -1653,7 +1672,7 @@ function createSseSubscription(options) {
|
|
|
1653
1672
|
|
|
1654
1673
|
// src/utils/sse-decision-frame.ts
|
|
1655
1674
|
async function readLeadingDecisionFrame(response) {
|
|
1656
|
-
const reader = _optionalChain([response, 'access',
|
|
1675
|
+
const reader = _optionalChain([response, 'access', _50 => _50.body, 'optionalAccess', _51 => _51.getReader, 'call', _52 => _52()]);
|
|
1657
1676
|
if (!reader) throw new Error("readLeadingDecisionFrame: response has no body");
|
|
1658
1677
|
const decoder = new TextDecoder();
|
|
1659
1678
|
let buffer = "";
|
|
@@ -1678,8 +1697,8 @@ async function readLeadingDecisionFrame(response) {
|
|
|
1678
1697
|
throw new Error(`readLeadingDecisionFrame: leading JSON parse failed: ${err.message}`);
|
|
1679
1698
|
}
|
|
1680
1699
|
const obj = parsed;
|
|
1681
|
-
if (_optionalChain([obj, 'optionalAccess',
|
|
1682
|
-
throw new Error(`readLeadingDecisionFrame: expected decision_resolved, got kind=${String(_optionalChain([obj, 'optionalAccess',
|
|
1700
|
+
if (_optionalChain([obj, 'optionalAccess', _53 => _53.kind]) !== "decision_resolved") {
|
|
1701
|
+
throw new Error(`readLeadingDecisionFrame: expected decision_resolved, got kind=${String(_optionalChain([obj, 'optionalAccess', _54 => _54.kind]))}`);
|
|
1683
1702
|
}
|
|
1684
1703
|
frame = normalizeDecisionFrame(obj);
|
|
1685
1704
|
buffer = buffer.slice(nullIdx + 1);
|
|
@@ -1890,12 +1909,12 @@ var FullscreenSwitchController = class {
|
|
|
1890
1909
|
if (fullscreenElementOf(doc)) {
|
|
1891
1910
|
if (doc.exitFullscreen) doc.exitFullscreen().catch(() => {
|
|
1892
1911
|
});
|
|
1893
|
-
else _optionalChain([doc, 'access',
|
|
1912
|
+
else _optionalChain([doc, 'access', _55 => _55.webkitExitFullscreen, 'optionalCall', _56 => _56()]);
|
|
1894
1913
|
} else {
|
|
1895
|
-
const el = _nullishCoalesce(_optionalChain([this, 'access',
|
|
1914
|
+
const el = _nullishCoalesce(_optionalChain([this, 'access', _57 => _57.opts, 'access', _58 => _58.target, 'optionalCall', _59 => _59()]), () => ( document.documentElement));
|
|
1896
1915
|
if (el.requestFullscreen) el.requestFullscreen({ navigationUI: "hide" }).catch(() => {
|
|
1897
1916
|
});
|
|
1898
|
-
else _optionalChain([el, 'access',
|
|
1917
|
+
else _optionalChain([el, 'access', _60 => _60.webkitRequestFullscreen, 'optionalCall', _61 => _61()]);
|
|
1899
1918
|
}
|
|
1900
1919
|
};
|
|
1901
1920
|
/** Raise the mask + start tracking. Idempotent — safe from the pre-emptive
|
|
@@ -1910,7 +1929,7 @@ var FullscreenSwitchController = class {
|
|
|
1910
1929
|
window.clearTimeout(this.quietTimer);
|
|
1911
1930
|
window.clearTimeout(this.capTimer);
|
|
1912
1931
|
window.removeEventListener("resize", this.onResize);
|
|
1913
|
-
_optionalChain([this, 'access',
|
|
1932
|
+
_optionalChain([this, 'access', _62 => _62.opts, 'access', _63 => _63.onGeometryPulse, 'optionalCall', _64 => _64()]);
|
|
1914
1933
|
if (this.opts.switchingClass) document.documentElement.classList.remove(this.opts.switchingClass);
|
|
1915
1934
|
};
|
|
1916
1935
|
this.armQuiet = () => {
|
|
@@ -1918,7 +1937,7 @@ var FullscreenSwitchController = class {
|
|
|
1918
1937
|
this.quietTimer = window.setTimeout(this.endSwitch, _nullishCoalesce(this.opts.quietMs, () => ( DEFAULT_QUIET_MS)));
|
|
1919
1938
|
};
|
|
1920
1939
|
this.onResize = () => {
|
|
1921
|
-
_optionalChain([this, 'access',
|
|
1940
|
+
_optionalChain([this, 'access', _65 => _65.opts, 'access', _66 => _66.onGeometryPulse, 'optionalCall', _67 => _67()]);
|
|
1922
1941
|
this.armQuiet();
|
|
1923
1942
|
};
|
|
1924
1943
|
/** Escape is the one exit path that skips toggle() — pre-mask on the
|
|
@@ -1930,7 +1949,7 @@ var FullscreenSwitchController = class {
|
|
|
1930
1949
|
const fs = this.isFullscreen;
|
|
1931
1950
|
if (this.opts.activeClass) document.documentElement.classList.toggle(this.opts.activeClass, fs);
|
|
1932
1951
|
this.beginSwitch();
|
|
1933
|
-
requestAnimationFrame(() => _optionalChain([this, 'access',
|
|
1952
|
+
requestAnimationFrame(() => _optionalChain([this, 'access', _68 => _68.opts, 'access', _69 => _69.onGeometryPulse, 'optionalCall', _70 => _70()]));
|
|
1934
1953
|
this.armQuiet();
|
|
1935
1954
|
this.opts.onFullscreenChange(fs);
|
|
1936
1955
|
};
|
|
@@ -1944,7 +1963,7 @@ var FullscreenSwitchController = class {
|
|
|
1944
1963
|
}
|
|
1945
1964
|
get isFullscreen() {
|
|
1946
1965
|
const fs = fullscreenElementOf(document);
|
|
1947
|
-
const target = _optionalChain([this, 'access',
|
|
1966
|
+
const target = _optionalChain([this, 'access', _71 => _71.opts, 'access', _72 => _72.target, 'optionalCall', _73 => _73()]);
|
|
1948
1967
|
return target ? fs === target : Boolean(fs);
|
|
1949
1968
|
}
|
|
1950
1969
|
attach() {
|
|
@@ -1991,7 +2010,7 @@ function primaryPlatformOf(platforms) {
|
|
|
1991
2010
|
if (!Array.isArray(platforms)) return null;
|
|
1992
2011
|
for (const entry of platforms) {
|
|
1993
2012
|
const row = entry;
|
|
1994
|
-
const name = _nullishCoalesce(_nullishCoalesce(_optionalChain([row, 'optionalAccess',
|
|
2013
|
+
const name = _nullishCoalesce(_nullishCoalesce(_optionalChain([row, 'optionalAccess', _74 => _74.platforms, 'optionalAccess', _75 => _75.name]), () => ( _optionalChain([row, 'optionalAccess', _76 => _76.platform_name]))), () => ( _optionalChain([row, 'optionalAccess', _77 => _77.name])));
|
|
1995
2014
|
if (typeof name === "string" && name.trim()) return name.trim();
|
|
1996
2015
|
}
|
|
1997
2016
|
return null;
|
|
@@ -2008,21 +2027,21 @@ function lastPathSegment(url) {
|
|
|
2008
2027
|
function makeComposeContentUrl(opts) {
|
|
2009
2028
|
const suffixes = _nullishCoalesce(opts.suffixes, () => ( DEFAULT_CONTENT_SUFFIXES));
|
|
2010
2029
|
return ({ type: rawType, identifier, slug: slugHint, externalUrl, targetPlatform, platforms }) => {
|
|
2011
|
-
const type =
|
|
2030
|
+
const type = _chunkOHXB6HUXcjs.canonicalContentRefType.call(void 0, rawType);
|
|
2012
2031
|
const override = opts.overrides && Object.prototype.hasOwnProperty.call(opts.overrides, type) ? opts.overrides[type] : void 0;
|
|
2013
2032
|
if (override) return { ...override(identifier), hostOverride: true };
|
|
2014
2033
|
const seg = _nullishCoalesce((Object.prototype.hasOwnProperty.call(suffixes, type) ? suffixes[type] : void 0), () => ( type));
|
|
2015
2034
|
if (opts.hostedTypes.has(type)) {
|
|
2016
2035
|
const recovered = externalUrl ? lastPathSegment(externalUrl) : null;
|
|
2017
|
-
const slug = recovered && recovered !== seg ? recovered : _optionalChain([slugHint, 'optionalAccess',
|
|
2036
|
+
const slug = recovered && recovered !== seg ? recovered : _optionalChain([slugHint, 'optionalAccess', _78 => _78.trim, 'call', _79 => _79()]) || identifier;
|
|
2018
2037
|
return { href: `/${seg}/${slug}`, targetPlatform: null };
|
|
2019
2038
|
}
|
|
2020
2039
|
if (externalUrl) return { href: externalUrl, targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)) };
|
|
2021
2040
|
const claimedOwner = _nullishCoalesce(targetPlatform, () => ( primaryPlatformOf(platforms)));
|
|
2022
|
-
const owner = claimedOwner &&
|
|
2023
|
-
const origin = owner ?
|
|
2041
|
+
const owner = claimedOwner && _chunkFWJ5YECNcjs.byKey.call(void 0, claimedOwner) ? claimedOwner : null;
|
|
2042
|
+
const origin = owner ? _chunkFWJ5YECNcjs.getPlatformProductionUrl.call(void 0, owner) : opts.contentOrigin;
|
|
2024
2043
|
return {
|
|
2025
|
-
href: `${origin.replace(/\/+$/, "")}/${seg}/${_optionalChain([slugHint, 'optionalAccess',
|
|
2044
|
+
href: `${origin.replace(/\/+$/, "")}/${seg}/${_optionalChain([slugHint, 'optionalAccess', _80 => _80.trim, 'call', _81 => _81()]) || identifier}`,
|
|
2026
2045
|
// Report the owner so `decideNewTab` can compare it against the current
|
|
2027
2046
|
// app instead of falling back to an origin guess (which is unreliable in
|
|
2028
2047
|
// dev, where every platform shares localhost). `null` whenever the href
|
|
@@ -2098,7 +2117,7 @@ function getDocSourceDefaultPath(structure, folderIndexFile = DEFAULT_FOLDER_IND
|
|
|
2098
2117
|
const hasRootIndex = structure.some((node) => node.type === "file" && node.path === folderIndexFile);
|
|
2099
2118
|
if (hasRootIndex) return null;
|
|
2100
2119
|
const firstFolderWithReadme = structure.find((node) => node.type === "folder" && node.hasReadme && !!node.path);
|
|
2101
|
-
return _nullishCoalesce(_optionalChain([firstFolderWithReadme, 'optionalAccess',
|
|
2120
|
+
return _nullishCoalesce(_optionalChain([firstFolderWithReadme, 'optionalAccess', _82 => _82.path]), () => ( null));
|
|
2102
2121
|
}
|
|
2103
2122
|
|
|
2104
2123
|
// src/utils/doc-path-utils.ts
|
|
@@ -2109,7 +2128,7 @@ function pathToNodeId(path) {
|
|
|
2109
2128
|
return path.replace(/[/\s]/g, "-").toLowerCase();
|
|
2110
2129
|
}
|
|
2111
2130
|
function normalizeDocPath(segments, folderIndexFile = DEFAULT_FOLDER_INDEX_FILE) {
|
|
2112
|
-
const lowerPath = (_optionalChain([segments, 'optionalAccess',
|
|
2131
|
+
const lowerPath = (_optionalChain([segments, 'optionalAccess', _83 => _83.join, 'call', _84 => _84("/")]) || "").toLowerCase();
|
|
2113
2132
|
const lowerIndex = folderIndexFile.toLowerCase();
|
|
2114
2133
|
const suffix = `/${lowerIndex}`;
|
|
2115
2134
|
if (lowerPath.endsWith(suffix)) return lowerPath.slice(0, -suffix.length);
|
|
@@ -2201,7 +2220,7 @@ function extractSections(markdown, options = {}) {
|
|
|
2201
2220
|
if (heading.level > opts.maxLevel) continue;
|
|
2202
2221
|
let title = heading.text;
|
|
2203
2222
|
if (opts.stripFormattingMarkers) {
|
|
2204
|
-
title =
|
|
2223
|
+
title = _chunkFWJ5YECNcjs.stripInlineMarkdown.call(void 0, title).trim();
|
|
2205
2224
|
}
|
|
2206
2225
|
const baseId = _chunkOJZBZH56cjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkOJZBZH56cjs.stripHeadingEmojis.call(void 0, title) : title);
|
|
2207
2226
|
const cleanId = baseId || `section-${sections.length + 1}`;
|
|
@@ -2467,7 +2486,7 @@ function isValidPathPattern(pattern) {
|
|
|
2467
2486
|
return pattern.trim().length > 0 && compile(pattern.trim()) !== null;
|
|
2468
2487
|
}
|
|
2469
2488
|
function matchesPathPattern(pathname, pattern) {
|
|
2470
|
-
return _nullishCoalesce(_optionalChain([compile, 'call',
|
|
2489
|
+
return _nullishCoalesce(_optionalChain([compile, 'call', _85 => _85(pattern.trim()), 'optionalAccess', _86 => _86.test, 'call', _87 => _87(pathname)]), () => ( false));
|
|
2471
2490
|
}
|
|
2472
2491
|
function pathMatchesAny(pathname, patterns) {
|
|
2473
2492
|
return (_nullishCoalesce(patterns, () => ( []))).some((pattern) => matchesPathPattern(pathname, pattern));
|
|
@@ -2514,9 +2533,9 @@ function demoClockTimes(seed, options = {}) {
|
|
|
2514
2533
|
// src/components/navigation/mingo-ai-button.tsx
|
|
2515
2534
|
|
|
2516
2535
|
function openAskAi(source, options) {
|
|
2517
|
-
const prompt = _optionalChain([options, 'optionalAccess',
|
|
2536
|
+
const prompt = _optionalChain([options, 'optionalAccess', _88 => _88.prompt, 'optionalAccess', _89 => _89.trim, 'call', _90 => _90()]);
|
|
2518
2537
|
const detail = prompt ? { source: _nullishCoalesce(source, () => ( "")), prompt } : { source: _nullishCoalesce(source, () => ( "")) };
|
|
2519
|
-
window.dispatchEvent(new CustomEvent(
|
|
2538
|
+
window.dispatchEvent(new CustomEvent(_chunkFWJ5YECNcjs.ASK_AI_OPEN_EVENT, { detail }));
|
|
2520
2539
|
}
|
|
2521
2540
|
function MingoAiButton({
|
|
2522
2541
|
source,
|
|
@@ -2528,15 +2547,15 @@ function MingoAiButton({
|
|
|
2528
2547
|
onClick,
|
|
2529
2548
|
...props
|
|
2530
2549
|
}) {
|
|
2531
|
-
const visitor =
|
|
2550
|
+
const visitor = _chunk3IHGS44Wcjs.useVisitorOs.call(void 0, );
|
|
2532
2551
|
const field = variant === "field";
|
|
2533
2552
|
const inPage = variant === "button";
|
|
2534
|
-
const commandKey = visitor.known &&
|
|
2553
|
+
const commandKey = visitor.known && _chunk3IHGS44Wcjs.usesCommandKey.call(void 0, visitor.os);
|
|
2535
2554
|
const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
|
|
2536
|
-
const label = _nullishCoalesce(labelProp, () => ( _optionalChain([assistant, 'optionalAccess',
|
|
2537
|
-
const icon = _nullishCoalesce(iconProp, () => ( _optionalChain([assistant, 'optionalAccess',
|
|
2538
|
-
const runtimeOpen = _optionalChain([assistant, 'optionalAccess',
|
|
2539
|
-
const eventSource = _nullishCoalesce(source, () => ( _optionalChain([assistant, 'optionalAccess',
|
|
2555
|
+
const label = _nullishCoalesce(labelProp, () => ( _optionalChain([assistant, 'optionalAccess', _91 => _91.name])));
|
|
2556
|
+
const icon = _nullishCoalesce(iconProp, () => ( _optionalChain([assistant, 'optionalAccess', _92 => _92.icon])));
|
|
2557
|
+
const runtimeOpen = _optionalChain([assistant, 'optionalAccess', _93 => _93.open]);
|
|
2558
|
+
const eventSource = _nullishCoalesce(source, () => ( _optionalChain([assistant, 'optionalAccess', _94 => _94.source])));
|
|
2540
2559
|
const openRef = _react.useRef.call(void 0, () => void 0);
|
|
2541
2560
|
_react.useEffect.call(void 0, () => {
|
|
2542
2561
|
openRef.current = () => runtimeOpen ? runtimeOpen({}) : openAskAi(eventSource);
|
|
@@ -2555,11 +2574,11 @@ function MingoAiButton({
|
|
|
2555
2574
|
}, [shortcutHint, commandKey]);
|
|
2556
2575
|
if (!label) return null;
|
|
2557
2576
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2558
|
-
|
|
2577
|
+
_chunkCDBFQVPAcjs.Button,
|
|
2559
2578
|
{
|
|
2560
2579
|
...props,
|
|
2561
2580
|
type: "button",
|
|
2562
|
-
...{ [
|
|
2581
|
+
...{ [_chunkFWJ5YECNcjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" },
|
|
2563
2582
|
variant: field ? "glyph" : "transparent",
|
|
2564
2583
|
size: "wrap",
|
|
2565
2584
|
font: "regular",
|
|
@@ -2567,9 +2586,9 @@ function MingoAiButton({
|
|
|
2567
2586
|
onClick: (e) => {
|
|
2568
2587
|
if (runtimeOpen) runtimeOpen({});
|
|
2569
2588
|
else openAskAi(eventSource);
|
|
2570
|
-
_optionalChain([onClick, 'optionalCall',
|
|
2589
|
+
_optionalChain([onClick, 'optionalCall', _95 => _95(e)]);
|
|
2571
2590
|
},
|
|
2572
|
-
className:
|
|
2591
|
+
className: _chunkN6YCOBLKcjs.cn.call(void 0,
|
|
2573
2592
|
"group/mingo flex shrink-0 justify-start focus-visible:ring-ods-accent",
|
|
2574
2593
|
field ? (
|
|
2575
2594
|
// A row of the mobile menu like the groups under it: same height,
|
|
@@ -2598,23 +2617,23 @@ function MingoAiButton({
|
|
|
2598
2617
|
icon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2599
2618
|
"span",
|
|
2600
2619
|
{
|
|
2601
|
-
className:
|
|
2620
|
+
className: _chunkN6YCOBLKcjs.cn.call(void 0,
|
|
2602
2621
|
"relative inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full",
|
|
2603
2622
|
field ? "size-6" : "size-5"
|
|
2604
2623
|
),
|
|
2605
2624
|
children: icon
|
|
2606
2625
|
}
|
|
2607
2626
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2608
|
-
|
|
2627
|
+
_chunkT7SDYBSTcjs.AgentMark,
|
|
2609
2628
|
{
|
|
2610
2629
|
agent: "mingo",
|
|
2611
|
-
className:
|
|
2630
|
+
className: _chunkN6YCOBLKcjs.cn.call(void 0, "relative shrink-0 text-ods-text-primary", field ? "size-6" : "size-5")
|
|
2612
2631
|
}
|
|
2613
2632
|
),
|
|
2614
2633
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2615
2634
|
"span",
|
|
2616
2635
|
{
|
|
2617
|
-
className:
|
|
2636
|
+
className: _chunkN6YCOBLKcjs.cn.call(void 0,
|
|
2618
2637
|
"relative whitespace-nowrap",
|
|
2619
2638
|
field ? "min-w-0 flex-1 truncate" : inPage ? "text-h6" : "sr-only text-h6 lg:not-sr-only"
|
|
2620
2639
|
),
|
|
@@ -2628,161 +2647,11 @@ function MingoAiButton({
|
|
|
2628
2647
|
"kbd",
|
|
2629
2648
|
{
|
|
2630
2649
|
"aria-hidden": "true",
|
|
2631
|
-
className:
|
|
2650
|
+
className: _chunkN6YCOBLKcjs.cn.call(void 0,
|
|
2632
2651
|
"relative h-6 min-w-9 items-center justify-center rounded border border-ods-border px-[var(--spacing-system-xxs)] text-h6",
|
|
2633
2652
|
inPage ? "inline-flex" : "hidden lg:inline-flex"
|
|
2634
2653
|
),
|
|
2635
|
-
children: visitor.known ?
|
|
2636
|
-
}
|
|
2637
|
-
)
|
|
2638
|
-
]
|
|
2639
|
-
}
|
|
2640
|
-
);
|
|
2641
|
-
}
|
|
2642
|
-
|
|
2643
|
-
// src/components/chat/ask-prompts.tsx
|
|
2644
|
-
|
|
2645
|
-
function AssistantGlyph({ icon, className }) {
|
|
2646
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk65VVJSQZcjs.cn.call(void 0, "inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full", className), children: _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBGAHB6Xcjs.AgentMark, { agent: "mingo", className: "size-full" }))) });
|
|
2647
|
-
}
|
|
2648
|
-
var DEFAULT_LOADING_SLOTS = 2;
|
|
2649
|
-
var slotCount = (count, loading, prompts) => _nullishCoalesce(count, () => ( (loading ? DEFAULT_LOADING_SLOTS : prompts.length)));
|
|
2650
|
-
var SKELETON_LABEL_CH = [26, 22, 30, 24, 20, 28];
|
|
2651
|
-
var CHIP_SLOT_CLASS = "flex h-9 min-w-0 max-w-full";
|
|
2652
|
-
var ROW_CHIP_SLOT_CLASS = "flex h-9 shrink-0 content-md:min-w-0 content-md:max-w-full content-md:shrink";
|
|
2653
|
-
var ASK_PROMPTS_ROW_CLASS = "flex min-w-0 flex-row items-center gap-2 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden content-md:flex-col content-md:overflow-visible";
|
|
2654
|
-
function QuestionChips({
|
|
2655
|
-
prompts,
|
|
2656
|
-
count,
|
|
2657
|
-
loading,
|
|
2658
|
-
source,
|
|
2659
|
-
onOpen,
|
|
2660
|
-
onAsk,
|
|
2661
|
-
slotClassName
|
|
2662
|
-
}) {
|
|
2663
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: count }, (_, slot) => {
|
|
2664
|
-
const prompt = loading ? void 0 : prompts[slot];
|
|
2665
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2666
|
-
"span",
|
|
2667
|
-
{
|
|
2668
|
-
className: _nullishCoalesce(slotClassName, () => ( CHIP_SLOT_CLASS)),
|
|
2669
|
-
...prompt ? { [_chunkTZP7PSPGcjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" } : {},
|
|
2670
|
-
children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2671
|
-
_chunkTZP7PSPGcjs.QuickActionChipSkeleton,
|
|
2672
|
-
{
|
|
2673
|
-
variant: "question",
|
|
2674
|
-
labelCh: SKELETON_LABEL_CH[slot % SKELETON_LABEL_CH.length]
|
|
2675
|
-
}
|
|
2676
|
-
) : prompt ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2677
|
-
_chunkTZP7PSPGcjs.QuickActionChipButton,
|
|
2678
|
-
{
|
|
2679
|
-
variant: "question",
|
|
2680
|
-
label: prompt.label,
|
|
2681
|
-
icon: prompt.icon,
|
|
2682
|
-
onSelect: () => {
|
|
2683
|
-
const request = { prompt: _nullishCoalesce(prompt.prompt, () => ( prompt.label)) };
|
|
2684
|
-
if (onOpen) onOpen(request);
|
|
2685
|
-
else openAskAi(source, request);
|
|
2686
|
-
_optionalChain([onAsk, 'optionalCall', _94 => _94(prompt)]);
|
|
2687
|
-
}
|
|
2688
|
-
}
|
|
2689
|
-
) : null
|
|
2690
|
-
},
|
|
2691
|
-
_nullishCoalesce(_optionalChain([prompt, 'optionalAccess', _95 => _95.id]), () => ( `slot-${slot}`))
|
|
2692
|
-
);
|
|
2693
|
-
}) });
|
|
2694
|
-
}
|
|
2695
|
-
function AskPrompts({
|
|
2696
|
-
prompts,
|
|
2697
|
-
count: countProp,
|
|
2698
|
-
loading = false,
|
|
2699
|
-
align = "start",
|
|
2700
|
-
source,
|
|
2701
|
-
label,
|
|
2702
|
-
icon,
|
|
2703
|
-
onOpen,
|
|
2704
|
-
onAsk,
|
|
2705
|
-
fadeColor,
|
|
2706
|
-
className
|
|
2707
|
-
}) {
|
|
2708
|
-
const count = slotCount(countProp, loading, prompts);
|
|
2709
|
-
if (!loading && prompts.length === 0) return null;
|
|
2710
|
-
const end = align === "end";
|
|
2711
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2712
|
-
_chunkTZP7PSPGcjs.ScrollShadow,
|
|
2713
|
-
{
|
|
2714
|
-
axis: "horizontal",
|
|
2715
|
-
color: fadeColor,
|
|
2716
|
-
className: "w-full min-w-0 content-md:w-auto",
|
|
2717
|
-
scrollClassName: _chunk65VVJSQZcjs.cn.call(void 0, ASK_PROMPTS_ROW_CLASS, end ? "content-md:items-end" : "content-md:items-start", className),
|
|
2718
|
-
children: [
|
|
2719
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoAiButton, { variant: "button", source, label, icon, className: "shrink-0" }),
|
|
2720
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2721
|
-
QuestionChips,
|
|
2722
|
-
{
|
|
2723
|
-
prompts,
|
|
2724
|
-
count,
|
|
2725
|
-
loading,
|
|
2726
|
-
source,
|
|
2727
|
-
onOpen,
|
|
2728
|
-
onAsk,
|
|
2729
|
-
slotClassName: _chunk65VVJSQZcjs.cn.call(void 0, ROW_CHIP_SLOT_CLASS, end && "content-md:justify-end")
|
|
2730
|
-
}
|
|
2731
|
-
)
|
|
2732
|
-
]
|
|
2733
|
-
}
|
|
2734
|
-
);
|
|
2735
|
-
}
|
|
2736
|
-
function AskCard({
|
|
2737
|
-
title,
|
|
2738
|
-
description,
|
|
2739
|
-
prompts,
|
|
2740
|
-
count: countProp,
|
|
2741
|
-
loading = false,
|
|
2742
|
-
source,
|
|
2743
|
-
label,
|
|
2744
|
-
icon,
|
|
2745
|
-
onOpen,
|
|
2746
|
-
onAsk,
|
|
2747
|
-
shortcutHint = true,
|
|
2748
|
-
className
|
|
2749
|
-
}) {
|
|
2750
|
-
const count = slotCount(countProp, loading, prompts);
|
|
2751
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2752
|
-
"div",
|
|
2753
|
-
{
|
|
2754
|
-
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
2755
|
-
"flex flex-col gap-[var(--spacing-system-m)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-l)]",
|
|
2756
|
-
className
|
|
2757
|
-
),
|
|
2758
|
-
children: [
|
|
2759
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
2760
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AssistantGlyph, { icon, className: "size-8" }),
|
|
2761
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0", children: [
|
|
2762
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: title }),
|
|
2763
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: description })
|
|
2764
|
-
] })
|
|
2765
|
-
] }),
|
|
2766
|
-
(loading || prompts.length > 0) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-col items-start gap-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2767
|
-
QuestionChips,
|
|
2768
|
-
{
|
|
2769
|
-
prompts,
|
|
2770
|
-
count,
|
|
2771
|
-
loading,
|
|
2772
|
-
source,
|
|
2773
|
-
onOpen,
|
|
2774
|
-
onAsk
|
|
2775
|
-
}
|
|
2776
|
-
) }),
|
|
2777
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2778
|
-
MingoAiButton,
|
|
2779
|
-
{
|
|
2780
|
-
variant: "button",
|
|
2781
|
-
source,
|
|
2782
|
-
label,
|
|
2783
|
-
icon,
|
|
2784
|
-
shortcutHint,
|
|
2785
|
-
className: "self-start"
|
|
2654
|
+
children: visitor.known ? _chunk3IHGS44Wcjs.shortcutLabel.call(void 0, visitor.os, "K") : ""
|
|
2786
2655
|
}
|
|
2787
2656
|
)
|
|
2788
2657
|
]
|
|
@@ -2811,7 +2680,7 @@ function useAskPrompts({
|
|
|
2811
2680
|
const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
|
|
2812
2681
|
const base = assistantAvailable(assistant) ? assistant.askPromptsUrl : void 0;
|
|
2813
2682
|
const url = base && enabled ? buildAskPromptsUrl(base, { count, topic, exclude }) : null;
|
|
2814
|
-
const { data, dataUrl, error } =
|
|
2683
|
+
const { data, dataUrl, error } = _chunkJHDPEYZHcjs.useSelfFetch.call(void 0, url);
|
|
2815
2684
|
const landed = url !== null && (dataUrl === url || error);
|
|
2816
2685
|
return { prompts: landed ? _nullishCoalesce(_optionalChain([data, 'optionalAccess', _97 => _97.prompts]), () => ( [])) : [], isLoading: !!base && !landed, supported: !!base };
|
|
2817
2686
|
}
|
|
@@ -2891,7 +2760,7 @@ function useAskSurface({
|
|
|
2891
2760
|
const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
|
|
2892
2761
|
const surface = _react.useId.call(void 0, );
|
|
2893
2762
|
const queue = useAskQueue();
|
|
2894
|
-
const held =
|
|
2763
|
+
const held = _chunkN6YCOBLKcjs.useLoadingScope.call(void 0, );
|
|
2895
2764
|
const picks = !held && assistantAvailable(assistant) && !!assistant.askPromptsUrl && enabled && exclude !== null;
|
|
2896
2765
|
_react.useLayoutEffect.call(void 0, () => {
|
|
2897
2766
|
if (!picks) return void 0;
|
|
@@ -2924,6 +2793,154 @@ function useAskSurface({
|
|
|
2924
2793
|
return { assistant, scoped, prompts, isLoading: supported && (!picks || isLoading), supported, open, reportAsk };
|
|
2925
2794
|
}
|
|
2926
2795
|
|
|
2796
|
+
// src/components/chat/ask-prompts.tsx
|
|
2797
|
+
|
|
2798
|
+
function AssistantGlyph({ icon, className }) {
|
|
2799
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkN6YCOBLKcjs.cn.call(void 0, "inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full", className), children: _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7SDYBSTcjs.AgentMark, { agent: "mingo", className: "size-full" }))) });
|
|
2800
|
+
}
|
|
2801
|
+
var slotCount = (count, loading, prompts) => _nullishCoalesce(count, () => ( (loading ? ASK_PROMPTS_DEFAULT_COUNT : prompts.length)));
|
|
2802
|
+
var SKELETON_LABEL_CH = [26, 22, 30, 24, 20, 28];
|
|
2803
|
+
var CHIP_SLOT_CLASS = "flex h-9 min-w-0 max-w-full";
|
|
2804
|
+
var ROW_CHIP_SLOT_CLASS = "flex h-9 shrink-0 content-md:min-w-0 content-md:max-w-full content-md:shrink";
|
|
2805
|
+
var ASK_PROMPTS_ROW_CLASS = "flex min-w-0 flex-row items-center gap-2 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden content-md:flex-col content-md:overflow-visible";
|
|
2806
|
+
function QuestionChips({
|
|
2807
|
+
prompts,
|
|
2808
|
+
count,
|
|
2809
|
+
loading,
|
|
2810
|
+
source,
|
|
2811
|
+
onOpen,
|
|
2812
|
+
onAsk,
|
|
2813
|
+
slotClassName
|
|
2814
|
+
}) {
|
|
2815
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN6YCOBLKcjs.LoadingItems, { count, children: (slot) => {
|
|
2816
|
+
const prompt = loading ? void 0 : prompts[slot];
|
|
2817
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2818
|
+
"span",
|
|
2819
|
+
{
|
|
2820
|
+
"data-loading-item": true,
|
|
2821
|
+
className: _nullishCoalesce(slotClassName, () => ( CHIP_SLOT_CLASS)),
|
|
2822
|
+
...prompt ? { [_chunkFWJ5YECNcjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" } : {},
|
|
2823
|
+
children: (loading || prompt) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2824
|
+
_chunkFWJ5YECNcjs.QuickActionChipButton,
|
|
2825
|
+
{
|
|
2826
|
+
loading,
|
|
2827
|
+
variant: "question",
|
|
2828
|
+
label: _nullishCoalesce(_optionalChain([prompt, 'optionalAccess', _108 => _108.label]), () => ( "")),
|
|
2829
|
+
icon: _optionalChain([prompt, 'optionalAccess', _109 => _109.icon]),
|
|
2830
|
+
labelCh: SKELETON_LABEL_CH[slot % SKELETON_LABEL_CH.length],
|
|
2831
|
+
onSelect: () => {
|
|
2832
|
+
if (!prompt) return;
|
|
2833
|
+
const request = { prompt: _nullishCoalesce(prompt.prompt, () => ( prompt.label)) };
|
|
2834
|
+
if (onOpen) onOpen(request);
|
|
2835
|
+
else openAskAi(source, request);
|
|
2836
|
+
_optionalChain([onAsk, 'optionalCall', _110 => _110(prompt)]);
|
|
2837
|
+
}
|
|
2838
|
+
}
|
|
2839
|
+
)
|
|
2840
|
+
}
|
|
2841
|
+
);
|
|
2842
|
+
} });
|
|
2843
|
+
}
|
|
2844
|
+
function AskPrompts({
|
|
2845
|
+
prompts,
|
|
2846
|
+
count: countProp,
|
|
2847
|
+
loading: loadingProp = false,
|
|
2848
|
+
align = "start",
|
|
2849
|
+
source,
|
|
2850
|
+
label,
|
|
2851
|
+
icon,
|
|
2852
|
+
onOpen,
|
|
2853
|
+
onAsk,
|
|
2854
|
+
fadeColor,
|
|
2855
|
+
className
|
|
2856
|
+
}) {
|
|
2857
|
+
const loading = _chunkN6YCOBLKcjs.useLoadingScope.call(void 0, ) || loadingProp;
|
|
2858
|
+
const count = slotCount(countProp, loading, prompts);
|
|
2859
|
+
if (!loading && prompts.length === 0) return null;
|
|
2860
|
+
const end = align === "end";
|
|
2861
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2862
|
+
_chunkAKCBLZAOcjs.ScrollShadow,
|
|
2863
|
+
{
|
|
2864
|
+
axis: "horizontal",
|
|
2865
|
+
color: fadeColor,
|
|
2866
|
+
className: "w-full min-w-0 content-md:w-auto",
|
|
2867
|
+
scrollClassName: _chunkN6YCOBLKcjs.cn.call(void 0, ASK_PROMPTS_ROW_CLASS, end ? "content-md:items-end" : "content-md:items-start", className),
|
|
2868
|
+
children: [
|
|
2869
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoAiButton, { variant: "button", source, label, icon, className: "shrink-0" }),
|
|
2870
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2871
|
+
QuestionChips,
|
|
2872
|
+
{
|
|
2873
|
+
prompts,
|
|
2874
|
+
count,
|
|
2875
|
+
loading,
|
|
2876
|
+
source,
|
|
2877
|
+
onOpen,
|
|
2878
|
+
onAsk,
|
|
2879
|
+
slotClassName: _chunkN6YCOBLKcjs.cn.call(void 0, ROW_CHIP_SLOT_CLASS, end && "content-md:justify-end")
|
|
2880
|
+
}
|
|
2881
|
+
)
|
|
2882
|
+
]
|
|
2883
|
+
}
|
|
2884
|
+
);
|
|
2885
|
+
}
|
|
2886
|
+
function AskCard({
|
|
2887
|
+
title,
|
|
2888
|
+
description,
|
|
2889
|
+
prompts,
|
|
2890
|
+
count: countProp,
|
|
2891
|
+
loading: loadingProp = false,
|
|
2892
|
+
source,
|
|
2893
|
+
label,
|
|
2894
|
+
icon,
|
|
2895
|
+
onOpen,
|
|
2896
|
+
onAsk,
|
|
2897
|
+
shortcutHint = true,
|
|
2898
|
+
className
|
|
2899
|
+
}) {
|
|
2900
|
+
const loading = _chunkN6YCOBLKcjs.useLoadingScope.call(void 0, ) || loadingProp;
|
|
2901
|
+
const count = slotCount(countProp, loading, prompts);
|
|
2902
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2903
|
+
"div",
|
|
2904
|
+
{
|
|
2905
|
+
className: _chunkN6YCOBLKcjs.cn.call(void 0,
|
|
2906
|
+
"flex flex-col gap-[var(--spacing-system-m)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-l)]",
|
|
2907
|
+
className
|
|
2908
|
+
),
|
|
2909
|
+
children: [
|
|
2910
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
2911
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, AssistantGlyph, { icon, className: "size-8" }),
|
|
2912
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0", children: [
|
|
2913
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: title }),
|
|
2914
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: description })
|
|
2915
|
+
] })
|
|
2916
|
+
] }),
|
|
2917
|
+
(loading || prompts.length > 0) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-col items-start gap-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2918
|
+
QuestionChips,
|
|
2919
|
+
{
|
|
2920
|
+
prompts,
|
|
2921
|
+
count,
|
|
2922
|
+
loading,
|
|
2923
|
+
source,
|
|
2924
|
+
onOpen,
|
|
2925
|
+
onAsk
|
|
2926
|
+
}
|
|
2927
|
+
) }),
|
|
2928
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2929
|
+
MingoAiButton,
|
|
2930
|
+
{
|
|
2931
|
+
variant: "button",
|
|
2932
|
+
source,
|
|
2933
|
+
label,
|
|
2934
|
+
icon,
|
|
2935
|
+
shortcutHint,
|
|
2936
|
+
className: "self-start"
|
|
2937
|
+
}
|
|
2938
|
+
)
|
|
2939
|
+
]
|
|
2940
|
+
}
|
|
2941
|
+
);
|
|
2942
|
+
}
|
|
2943
|
+
|
|
2927
2944
|
// src/components/chat/assistant-ask-prompts.tsx
|
|
2928
2945
|
|
|
2929
2946
|
var DEFAULT_ASK_CARD = {
|
|
@@ -2948,7 +2965,7 @@ function AssistantAskPrompts({
|
|
|
2948
2965
|
}) {
|
|
2949
2966
|
const card = variant === "card";
|
|
2950
2967
|
const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
|
|
2951
|
-
const slots = _nullishCoalesce(_nullishCoalesce(count, () => ( (card ? _optionalChain([assistant, 'optionalAccess',
|
|
2968
|
+
const slots = _nullishCoalesce(_nullishCoalesce(count, () => ( (card ? _optionalChain([assistant, 'optionalAccess', _111 => _111.askCard, 'optionalAccess', _112 => _112.count]) : void 0))), () => ( ASK_PROMPTS_DEFAULT_COUNT));
|
|
2952
2969
|
const ask = useAskSurface({ topic, count: slots, exclude, enabled, onOpen });
|
|
2953
2970
|
if (!assistantAvailable(assistant)) return null;
|
|
2954
2971
|
const shared = {
|
|
@@ -2962,12 +2979,12 @@ function AssistantAskPrompts({
|
|
|
2962
2979
|
if (card) {
|
|
2963
2980
|
const name = _nullishCoalesce(label, () => ( assistant.name));
|
|
2964
2981
|
if (!name) return null;
|
|
2965
|
-
const words2 = _nullishCoalesce(_nullishCoalesce(description, () => ( _optionalChain([assistant, 'access',
|
|
2982
|
+
const words2 = _nullishCoalesce(_nullishCoalesce(description, () => ( _optionalChain([assistant, 'access', _113 => _113.askCard, 'optionalAccess', _114 => _114.description]))), () => ( DEFAULT_ASK_CARD.description));
|
|
2966
2983
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEWPR7662cjs.AssistantRuntimeContext.Provider, { value: ask.scoped, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2967
2984
|
AskCard,
|
|
2968
2985
|
{
|
|
2969
2986
|
...shared,
|
|
2970
|
-
title: fillAssistant(_nullishCoalesce(_nullishCoalesce(title, () => ( _optionalChain([assistant, 'access',
|
|
2987
|
+
title: fillAssistant(_nullishCoalesce(_nullishCoalesce(title, () => ( _optionalChain([assistant, 'access', _115 => _115.askCard, 'optionalAccess', _116 => _116.title]))), () => ( DEFAULT_ASK_CARD.title)), name),
|
|
2971
2988
|
description: words2 ? fillAssistant(words2, name) : void 0,
|
|
2972
2989
|
count: ask.supported ? slots : 0,
|
|
2973
2990
|
label: name,
|
|
@@ -3014,7 +3031,7 @@ function QuickActionMarquee({
|
|
|
3014
3031
|
);
|
|
3015
3032
|
if (items.length === 0) return null;
|
|
3016
3033
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3017
|
-
|
|
3034
|
+
_chunkFWJ5YECNcjs.QuickActionWall,
|
|
3018
3035
|
{
|
|
3019
3036
|
chips,
|
|
3020
3037
|
mode,
|
|
@@ -3039,98 +3056,82 @@ function QuickActionMarquee({
|
|
|
3039
3056
|
|
|
3040
3057
|
|
|
3041
3058
|
var UNREAD_NOTICE = "You have a new unread message";
|
|
3042
|
-
var
|
|
3059
|
+
var TICKET_ROW_HEIGHT = "h-20";
|
|
3060
|
+
var TICKET_ROW = _chunkN6YCOBLKcjs.cn.call(void 0, _chunkN6YCOBLKcjs.BUTTON_KIND_CLASS.row, TICKET_ROW_HEIGHT);
|
|
3043
3061
|
var TICKET_ROW_TEXT = "flex min-w-0 flex-1 flex-col justify-center";
|
|
3044
|
-
var TICKET_ROW_CHEVRON = `flex ${
|
|
3045
|
-
function ChatTicketItemSkeleton({ className }) {
|
|
3046
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "aria-hidden": true, className: _chunk65VVJSQZcjs.cn.call(void 0, TICKET_ROW, className), children: [
|
|
3047
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TICKET_ROW_TEXT, children: [
|
|
3048
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "h3", className: "w-1/2" }),
|
|
3049
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "h6", className: "w-1/3" })
|
|
3050
|
-
] }),
|
|
3051
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBNUZKBNVcjs.TagSkeleton, { className: "w-20" }),
|
|
3052
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, TICKET_ROW_CHEVRON, "border-ods-border bg-ods-card"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "size-6 text-ods-text-secondary" }) })
|
|
3053
|
-
] });
|
|
3054
|
-
}
|
|
3062
|
+
var TICKET_ROW_CHEVRON = `flex ${_chunkYNDH72VUcjs.TILE_SIZE.xl} shrink-0 items-center justify-center rounded-md border`;
|
|
3055
3063
|
var ChatTicketItem = _react.forwardRef.call(void 0,
|
|
3056
|
-
({ className, ticket, onClick,
|
|
3057
|
-
const
|
|
3058
|
-
if (
|
|
3059
|
-
|
|
3060
|
-
const statusTagProps = _chunkLBGAHB6Xcjs.resolveStatusTagProps.call(void 0, {
|
|
3064
|
+
({ className, ticket, onClick, loading: loadingProp = false, ...props }, ref) => {
|
|
3065
|
+
const loading = _chunkN6YCOBLKcjs.useLoadingScope.call(void 0, ) || loadingProp;
|
|
3066
|
+
if (!loading && !ticket) return null;
|
|
3067
|
+
const statusTagProps = ticket ? _chunkT7SDYBSTcjs.resolveStatusTagProps.call(void 0, {
|
|
3061
3068
|
status: ticket.status,
|
|
3062
3069
|
statusKind: ticket.statusKind,
|
|
3063
3070
|
statusName: ticket.statusLabel,
|
|
3064
3071
|
statusColor: ticket.statusColor
|
|
3065
|
-
});
|
|
3066
|
-
const isResolved = ticket.statusKind === "RESOLVED" ||
|
|
3067
|
-
const composedSubtitle = [ticket.ticketNumber, ticket.category, ticket.timeAgo].filter(Boolean).join(" \u2022 ");
|
|
3068
|
-
const subtitle = _nullishCoalesce(ticket.subtitle, () => ( (ticket.unread ? UNREAD_NOTICE : composedSubtitle)));
|
|
3069
|
-
|
|
3070
|
-
|
|
3072
|
+
}) : null;
|
|
3073
|
+
const isResolved = !!ticket && (ticket.statusKind === "RESOLVED" || _chunkT7SDYBSTcjs.resolveTicketStatus.call(void 0, ticket.status) === "RESOLVED");
|
|
3074
|
+
const composedSubtitle = ticket ? [ticket.ticketNumber, ticket.category, ticket.timeAgo].filter(Boolean).join(" \u2022 ") : "";
|
|
3075
|
+
const subtitle = _nullishCoalesce(_optionalChain([ticket, 'optionalAccess', _117 => _117.subtitle]), () => ( (_optionalChain([ticket, 'optionalAccess', _118 => _118.unread]) ? UNREAD_NOTICE : composedSubtitle)));
|
|
3076
|
+
const unread = !!_optionalChain([ticket, 'optionalAccess', _119 => _119.unread]);
|
|
3077
|
+
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3078
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkN6YCOBLKcjs.cn.call(void 0, TICKET_ROW_TEXT, "text-left"), children: loading || !ticket ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3079
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "h3", className: "w-1/2" }),
|
|
3080
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "h6", className: "w-1/3" })
|
|
3081
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3082
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3083
|
+
"p",
|
|
3084
|
+
{
|
|
3085
|
+
className: _chunkN6YCOBLKcjs.cn.call(void 0, "truncate text-h3", isResolved ? "text-ods-text-secondary" : "text-ods-text-primary"),
|
|
3086
|
+
title: ticket.title,
|
|
3087
|
+
children: ticket.title
|
|
3088
|
+
}
|
|
3089
|
+
),
|
|
3090
|
+
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3091
|
+
"p",
|
|
3092
|
+
{
|
|
3093
|
+
className: _chunkN6YCOBLKcjs.cn.call(void 0, "truncate text-h6", unread ? "text-ods-open-yellow" : "text-ods-text-secondary"),
|
|
3094
|
+
title: subtitle,
|
|
3095
|
+
children: subtitle
|
|
3096
|
+
}
|
|
3097
|
+
)
|
|
3098
|
+
] }) }),
|
|
3099
|
+
_optionalChain([ticket, 'optionalAccess', _120 => _120.linkedTaskLabel]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3100
|
+
_chunkAFJEUBDScjs.Tag,
|
|
3101
|
+
{
|
|
3102
|
+
"data-loading-optional": true,
|
|
3103
|
+
label: ticket.linkedTaskLabel,
|
|
3104
|
+
variant: "outline",
|
|
3105
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3XTNLCTCcjs.WrenchIcon, { size: 14, color: "var(--color-text-secondary)" }),
|
|
3106
|
+
className: "hidden shrink-0 sm:inline-flex"
|
|
3107
|
+
}
|
|
3108
|
+
),
|
|
3109
|
+
loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7SDYBSTcjs.TicketStatusTag, { status: "", loading: true, className: "w-20" }) : statusTagProps && (statusTagProps.status || statusTagProps.label) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkT7SDYBSTcjs.TicketStatusTag, { ...statusTagProps }),
|
|
3110
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3111
|
+
"div",
|
|
3112
|
+
{
|
|
3113
|
+
"data-testid": "chat-ticket-item-chevron",
|
|
3114
|
+
className: _chunkN6YCOBLKcjs.cn.call(void 0,
|
|
3115
|
+
TICKET_ROW_CHEVRON,
|
|
3116
|
+
unread ? "border-ods-open-yellow bg-ods-open-yellow" : "border-ods-border bg-ods-card"
|
|
3117
|
+
),
|
|
3118
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: _chunkN6YCOBLKcjs.cn.call(void 0, "size-6", unread ? "text-ods-text-on-accent" : "text-ods-text-secondary") })
|
|
3119
|
+
}
|
|
3120
|
+
)
|
|
3121
|
+
] });
|
|
3122
|
+
if (loading || !ticket) {
|
|
3123
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: _chunkN6YCOBLKcjs.cn.call(void 0, TICKET_ROW, className), ..._chunkN6YCOBLKcjs.loadingItemProps.call(void 0, props), children: content });
|
|
3124
|
+
}
|
|
3125
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3126
|
+
_chunkCDBFQVPAcjs.Button,
|
|
3071
3127
|
{
|
|
3128
|
+
variant: "row",
|
|
3072
3129
|
ref,
|
|
3073
3130
|
type: "button",
|
|
3074
|
-
onClick: () => _optionalChain([onClick, 'optionalCall',
|
|
3075
|
-
className:
|
|
3076
|
-
TICKET_ROW,
|
|
3077
|
-
"cursor-pointer transition-colors duration-150",
|
|
3078
|
-
"hover:bg-ods-bg-hover",
|
|
3079
|
-
// `focus-visible:` covers keyboard nav AND the post-click state
|
|
3080
|
-
// jsdom/Chromium leave behind. Without it, the global focus
|
|
3081
|
-
// ring (1.5px white) renders as a stray "white border" after
|
|
3082
|
-
// clicking a row.
|
|
3083
|
-
"focus:bg-ods-bg-hover focus:outline-none",
|
|
3084
|
-
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-accent",
|
|
3085
|
-
className
|
|
3086
|
-
),
|
|
3131
|
+
onClick: () => _optionalChain([onClick, 'optionalCall', _121 => _121(ticket.id)]),
|
|
3132
|
+
className: _chunkN6YCOBLKcjs.cn.call(void 0, TICKET_ROW_HEIGHT, className),
|
|
3087
3133
|
...props,
|
|
3088
|
-
children:
|
|
3089
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, TICKET_ROW_TEXT, "text-left"), children: [
|
|
3090
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3091
|
-
"p",
|
|
3092
|
-
{
|
|
3093
|
-
className: _chunk65VVJSQZcjs.cn.call(void 0, "truncate text-h3", isResolved ? "text-ods-text-secondary" : "text-ods-text-primary"),
|
|
3094
|
-
title: ticket.title,
|
|
3095
|
-
children: ticket.title
|
|
3096
|
-
}
|
|
3097
|
-
),
|
|
3098
|
-
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3099
|
-
"p",
|
|
3100
|
-
{
|
|
3101
|
-
className: _chunk65VVJSQZcjs.cn.call(void 0, "truncate text-h6", ticket.unread ? "text-ods-open-yellow" : "text-ods-text-secondary"),
|
|
3102
|
-
title: subtitle,
|
|
3103
|
-
children: subtitle
|
|
3104
|
-
}
|
|
3105
|
-
)
|
|
3106
|
-
] }),
|
|
3107
|
-
ticket.linkedTaskLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3108
|
-
_chunkBNUZKBNVcjs.Tag,
|
|
3109
|
-
{
|
|
3110
|
-
label: ticket.linkedTaskLabel,
|
|
3111
|
-
variant: "outline",
|
|
3112
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3XTNLCTCcjs.WrenchIcon, { size: 14, color: "var(--color-text-secondary)" }),
|
|
3113
|
-
className: "hidden shrink-0 sm:inline-flex"
|
|
3114
|
-
}
|
|
3115
|
-
),
|
|
3116
|
-
(statusTagProps.status || statusTagProps.label) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBGAHB6Xcjs.TicketStatusTag, { ...statusTagProps }),
|
|
3117
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3118
|
-
"div",
|
|
3119
|
-
{
|
|
3120
|
-
"data-testid": "chat-ticket-item-chevron",
|
|
3121
|
-
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
3122
|
-
TICKET_ROW_CHEVRON,
|
|
3123
|
-
ticket.unread ? "border-ods-open-yellow bg-ods-open-yellow" : "border-ods-border bg-ods-card"
|
|
3124
|
-
),
|
|
3125
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3126
|
-
_lucidereact.ChevronRight,
|
|
3127
|
-
{
|
|
3128
|
-
className: _chunk65VVJSQZcjs.cn.call(void 0, "size-6", ticket.unread ? "text-ods-text-on-accent" : "text-ods-text-secondary")
|
|
3129
|
-
}
|
|
3130
|
-
)
|
|
3131
|
-
}
|
|
3132
|
-
)
|
|
3133
|
-
]
|
|
3134
|
+
children: content
|
|
3134
3135
|
}
|
|
3135
3136
|
);
|
|
3136
3137
|
}
|
|
@@ -3139,30 +3140,33 @@ ChatTicketItem.displayName = "ChatTicketItem";
|
|
|
3139
3140
|
|
|
3140
3141
|
// src/components/chat/chat-ticket-list.tsx
|
|
3141
3142
|
|
|
3143
|
+
var CHAT_TICKET_LIST_SKELETON_ROWS = 5;
|
|
3142
3144
|
var ChatTicketList = _react.forwardRef.call(void 0,
|
|
3143
|
-
({
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3145
|
+
({
|
|
3146
|
+
className,
|
|
3147
|
+
tickets,
|
|
3148
|
+
onTicketClick,
|
|
3149
|
+
isLoading: isLoadingProp = false,
|
|
3150
|
+
skeletonCount = CHAT_TICKET_LIST_SKELETON_ROWS,
|
|
3151
|
+
...props
|
|
3152
|
+
}, ref) => {
|
|
3153
|
+
const isLoading = _chunkN6YCOBLKcjs.useLoadingScope.call(void 0, ) || isLoadingProp;
|
|
3154
|
+
const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkAKCBLZAOcjs.useScrollFade.call(void 0, );
|
|
3155
|
+
if (!isLoading && tickets.length === 0) return null;
|
|
3156
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunkN6YCOBLKcjs.cn.call(void 0, "flex min-h-0 flex-col gap-2", className), ...props, children: [
|
|
3153
3157
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "shrink-0 text-ods-text-secondary text-h5", children: "Your Chats:" }),
|
|
3154
3158
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3155
3159
|
"div",
|
|
3156
3160
|
{
|
|
3157
|
-
className:
|
|
3161
|
+
className: _chunkN6YCOBLKcjs.cn.call(void 0,
|
|
3158
3162
|
"relative min-h-0 flex-1 overflow-hidden border-x border-ods-border",
|
|
3159
|
-
!fadeTop && "rounded-t-md border-t",
|
|
3160
|
-
!fadeBottom && "rounded-b-md border-b"
|
|
3163
|
+
(isLoading || !fadeTop) && "rounded-t-md border-t",
|
|
3164
|
+
(isLoading || !fadeBottom) && "rounded-b-md border-b"
|
|
3161
3165
|
),
|
|
3162
3166
|
children: [
|
|
3163
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: scrollRef, className: "h-full overflow-y-auto overscroll-contain", onScroll: updateFade, children: tickets.map((ticket) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatTicketItem, { ticket, onClick: onTicketClick }, ticket.id)) }),
|
|
3164
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3165
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3167
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: scrollRef, className: "h-full overflow-y-auto overscroll-contain", onScroll: updateFade, children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN6YCOBLKcjs.LoadingItems, { count: skeletonCount, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatTicketItem, { loading: true, "data-loading-item": true }) }) : tickets.map((ticket) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatTicketItem, { ticket, onClick: onTicketClick, "data-loading-item": true }, ticket.id)) }),
|
|
3168
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAKCBLZAOcjs.ScrollFadeOverlay, { edge: "top", visible: !isLoading && fadeTop }),
|
|
3169
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAKCBLZAOcjs.ScrollFadeOverlay, { edge: "bottom", visible: !isLoading && fadeBottom })
|
|
3166
3170
|
]
|
|
3167
3171
|
}
|
|
3168
3172
|
)
|
|
@@ -3174,94 +3178,40 @@ ChatTicketList.displayName = "ChatTicketList";
|
|
|
3174
3178
|
// src/components/chat/chat-sidebar.tsx
|
|
3175
3179
|
|
|
3176
3180
|
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
var DialogListItemSkeleton = _react.forwardRef.call(void 0,
|
|
3181
|
-
({ className, ...props }, ref) => {
|
|
3182
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3183
|
-
"div",
|
|
3184
|
-
{
|
|
3185
|
-
ref,
|
|
3186
|
-
className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
3187
|
-
"flex items-center gap-4 overflow-clip",
|
|
3188
|
-
"px-4 py-3",
|
|
3189
|
-
"border-b border-ods-border",
|
|
3190
|
-
"bg-ods-card",
|
|
3191
|
-
className
|
|
3192
|
-
),
|
|
3193
|
-
...props,
|
|
3194
|
-
children: [
|
|
3195
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col items-start justify-center gap-1", children: [
|
|
3196
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: "h-6 w-full max-w-[200px] rounded" }) }),
|
|
3197
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: "h-4 w-32 rounded" })
|
|
3198
|
-
] }),
|
|
3199
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: "size-6 shrink-0 rounded" })
|
|
3200
|
-
]
|
|
3201
|
-
}
|
|
3202
|
-
);
|
|
3203
|
-
}
|
|
3204
|
-
);
|
|
3205
|
-
DialogListItemSkeleton.displayName = "DialogListItemSkeleton";
|
|
3206
|
-
var ChatSidebarSkeleton = _react.forwardRef.call(void 0,
|
|
3207
|
-
({ className, dialogCount = 8, showNewChatButton = true, ...props }, ref) => {
|
|
3208
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3209
|
-
"div",
|
|
3210
|
-
{
|
|
3211
|
-
ref,
|
|
3212
|
-
className: _chunk65VVJSQZcjs.cn.call(void 0, "flex h-full w-80 flex-col", "bg-ods-bg", "border-r border-ods-border", className),
|
|
3213
|
-
...props,
|
|
3214
|
-
children: [
|
|
3215
|
-
showNewChatButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center justify-center border-b border-ods-border bg-ods-card px-4 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3216
|
-
_chunkTF5D5MNOcjs.Button,
|
|
3217
|
-
{
|
|
3218
|
-
variant: "transparent",
|
|
3219
|
-
disabled: true,
|
|
3220
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIZPN2P7Ucjs.ChatPlusIcon, { className: "size-6 text-ods-text-secondary" }),
|
|
3221
|
-
className: "flex-1 cursor-not-allowed justify-center text-ods-text-secondary text-h3 hover:bg-transparent",
|
|
3222
|
-
children: "Start New Chat"
|
|
3223
|
-
}
|
|
3224
|
-
) }),
|
|
3225
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-0 flex-1 overflow-y-auto overscroll-contain", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-col", children: Array.from({ length: dialogCount }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogListItemSkeleton, {}, index)) }) }) })
|
|
3226
|
-
]
|
|
3227
|
-
}
|
|
3228
|
-
);
|
|
3229
|
-
}
|
|
3230
|
-
);
|
|
3231
|
-
ChatSidebarSkeleton.displayName = "ChatSidebarSkeleton";
|
|
3232
|
-
|
|
3233
|
-
// src/components/chat/chat-sidebar.tsx
|
|
3234
|
-
|
|
3181
|
+
var DIALOG_LIST_ITEM_CLASS = "flex items-center gap-4 overflow-clip px-4 py-3 border-b border-ods-border bg-ods-card";
|
|
3235
3182
|
var DialogListItem = _react.forwardRef.call(void 0,
|
|
3236
|
-
({ className, dialog, isActive, onDialogSelect, onClick, ...props }, ref) => {
|
|
3183
|
+
({ className, dialog, isActive, onDialogSelect, onClick, loading: loadingProp = false, ...props }, ref) => {
|
|
3184
|
+
const loading = _chunkN6YCOBLKcjs.useLoadingScope.call(void 0, ) || loadingProp;
|
|
3237
3185
|
const handleClick = (e) => {
|
|
3238
|
-
_optionalChain([onDialogSelect, 'optionalCall',
|
|
3239
|
-
_optionalChain([onClick, 'optionalCall',
|
|
3186
|
+
_optionalChain([onDialogSelect, 'optionalCall', _122 => _122(dialog.id)]);
|
|
3187
|
+
_optionalChain([onClick, 'optionalCall', _123 => _123(e)]);
|
|
3240
3188
|
};
|
|
3241
3189
|
const formatTimestamp = (timestamp) => {
|
|
3242
|
-
return
|
|
3190
|
+
return _chunkAFJEUBDScjs.formatDateWithTimezone.call(void 0, timestamp, _chunkAFJEUBDScjs.VIEWER_TIMEZONE, "numericDateTime24h");
|
|
3243
3191
|
};
|
|
3192
|
+
const unread = loading ? 0 : _nullishCoalesce(dialog.unreadMessagesCount, () => ( 0));
|
|
3244
3193
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3245
3194
|
"div",
|
|
3246
3195
|
{
|
|
3247
|
-
ref,
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
"cursor-pointer
|
|
3252
|
-
"bg-ods-
|
|
3253
|
-
"transition-colors hover:bg-ods-bg-hover",
|
|
3254
|
-
isActive && "border-l-2 border-l-ods-accent bg-ods-bg-hover",
|
|
3196
|
+
ref: loading ? void 0 : ref,
|
|
3197
|
+
"aria-hidden": loading || void 0,
|
|
3198
|
+
className: _chunkN6YCOBLKcjs.cn.call(void 0,
|
|
3199
|
+
DIALOG_LIST_ITEM_CLASS,
|
|
3200
|
+
!loading && "cursor-pointer transition-colors hover:bg-ods-bg-hover",
|
|
3201
|
+
!loading && isActive && "border-l-2 border-l-ods-accent bg-ods-bg-hover",
|
|
3255
3202
|
className
|
|
3256
3203
|
),
|
|
3257
|
-
onClick: handleClick,
|
|
3258
|
-
...props,
|
|
3204
|
+
onClick: loading ? void 0 : handleClick,
|
|
3205
|
+
...loading ? _chunkN6YCOBLKcjs.loadingItemProps.call(void 0, props) : props,
|
|
3259
3206
|
children: [
|
|
3260
|
-
/* @__PURE__ */ _jsxruntime.
|
|
3207
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col items-start justify-center gap-1", children: loading ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3208
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "h6", className: "w-full max-w-[200px]" }),
|
|
3209
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "h6", className: "w-32" })
|
|
3210
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3261
3211
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full min-w-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3262
3212
|
"h3",
|
|
3263
3213
|
{
|
|
3264
|
-
className:
|
|
3214
|
+
className: _chunkN6YCOBLKcjs.cn.call(void 0,
|
|
3265
3215
|
"min-w-0 flex-1 text-h6",
|
|
3266
3216
|
isActive ? "text-ods-accent" : "text-ods-text-primary",
|
|
3267
3217
|
"truncate"
|
|
@@ -3271,14 +3221,18 @@ var DialogListItem = _react.forwardRef.call(void 0,
|
|
|
3271
3221
|
}
|
|
3272
3222
|
) }),
|
|
3273
3223
|
dialog.timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full min-w-0 truncate text-ods-text-secondary text-h6", children: formatTimestamp(dialog.timestamp) })
|
|
3274
|
-
] }),
|
|
3275
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ml-2 flex-shrink-0", children:
|
|
3224
|
+
] }) }),
|
|
3225
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ml-2 flex-shrink-0", children: unread > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-6 min-w-6 shrink-0 items-center justify-center rounded-md bg-ods-accent px-[var(--spacing-system-xsf)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-on-accent text-h6", children: unread > 99 ? "99+" : unread }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4TUSPDNScjs.Chevron02RightIcon, { className: "size-6 text-ods-text-secondary" }) })
|
|
3276
3226
|
]
|
|
3277
3227
|
}
|
|
3278
3228
|
);
|
|
3279
3229
|
}
|
|
3280
3230
|
);
|
|
3281
3231
|
DialogListItem.displayName = "DialogListItem";
|
|
3232
|
+
var LOADING_DIALOG = { id: "", title: "" };
|
|
3233
|
+
function DialogListItemLoadingPage({ count }) {
|
|
3234
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN6YCOBLKcjs.LoadingItems, { count, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogListItem, { loading: true, dialog: LOADING_DIALOG, "data-loading-item": true }) });
|
|
3235
|
+
}
|
|
3282
3236
|
var ChatSidebar = _react.forwardRef.call(void 0,
|
|
3283
3237
|
({
|
|
3284
3238
|
className,
|
|
@@ -3292,15 +3246,19 @@ var ChatSidebar = _react.forwardRef.call(void 0,
|
|
|
3292
3246
|
hasNextPage,
|
|
3293
3247
|
isFetchingNextPage,
|
|
3294
3248
|
onLoadMore,
|
|
3249
|
+
pageSize = _chunkFWJ5YECNcjs.CHAT_HISTORY_PAGE_SIZE,
|
|
3295
3250
|
...props
|
|
3296
3251
|
}, ref) => {
|
|
3297
|
-
const
|
|
3252
|
+
const loading = _chunkN6YCOBLKcjs.useLoadingScope.call(void 0, ) || !!isLoading && dialogs.length === 0 && !children;
|
|
3253
|
+
const showEmptyState = !loading && dialogs.length === 0 && !children;
|
|
3298
3254
|
const scrollContainerRef = _react.useRef.call(void 0, null);
|
|
3299
3255
|
const loadMoreRef = _react.useRef.call(void 0, null);
|
|
3300
3256
|
const onLoadMoreRef = _react.useRef.call(void 0, onLoadMore);
|
|
3301
|
-
onLoadMoreRef.current = onLoadMore;
|
|
3302
3257
|
const isFetchingRef = _react.useRef.call(void 0, isFetchingNextPage);
|
|
3303
|
-
|
|
3258
|
+
_react.useEffect.call(void 0, () => {
|
|
3259
|
+
onLoadMoreRef.current = onLoadMore;
|
|
3260
|
+
isFetchingRef.current = isFetchingNextPage;
|
|
3261
|
+
});
|
|
3304
3262
|
_react.useEffect.call(void 0, () => {
|
|
3305
3263
|
const scrollContainer = scrollContainerRef.current;
|
|
3306
3264
|
const loadMoreElement = loadMoreRef.current;
|
|
@@ -3309,7 +3267,7 @@ var ChatSidebar = _react.forwardRef.call(void 0,
|
|
|
3309
3267
|
(entries) => {
|
|
3310
3268
|
const [entry] = entries;
|
|
3311
3269
|
if (entry.isIntersecting && !isFetchingRef.current) {
|
|
3312
|
-
_optionalChain([onLoadMoreRef, 'access',
|
|
3270
|
+
_optionalChain([onLoadMoreRef, 'access', _124 => _124.current, 'optionalCall', _125 => _125()]);
|
|
3313
3271
|
}
|
|
3314
3272
|
},
|
|
3315
3273
|
{ root: scrollContainer, rootMargin: "100px", threshold: 0.1 }
|
|
@@ -3317,18 +3275,15 @@ var ChatSidebar = _react.forwardRef.call(void 0,
|
|
|
3317
3275
|
observer.observe(loadMoreElement);
|
|
3318
3276
|
return () => observer.disconnect();
|
|
3319
3277
|
}, [hasNextPage]);
|
|
3320
|
-
if (isLoading && dialogs.length === 0 && !children) {
|
|
3321
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatSidebarSkeleton, { className, dialogCount: 8, showNewChatButton: true });
|
|
3322
|
-
}
|
|
3323
3278
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3324
3279
|
"div",
|
|
3325
3280
|
{
|
|
3326
3281
|
ref,
|
|
3327
|
-
className:
|
|
3282
|
+
className: _chunkN6YCOBLKcjs.cn.call(void 0, "flex h-full w-80 flex-col", "bg-ods-bg", "border-r border-ods-border", className),
|
|
3328
3283
|
...props,
|
|
3329
3284
|
children: [
|
|
3330
3285
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center justify-center border-b border-ods-border bg-ods-card px-4 py-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3331
|
-
|
|
3286
|
+
_chunkCDBFQVPAcjs.Button,
|
|
3332
3287
|
{
|
|
3333
3288
|
onClick: onNewChat,
|
|
3334
3289
|
variant: "transparent",
|
|
@@ -3347,7 +3302,7 @@ var ChatSidebar = _react.forwardRef.call(void 0,
|
|
|
3347
3302
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "Previous Mingo sessions will show here" })
|
|
3348
3303
|
] })
|
|
3349
3304
|
] })
|
|
3350
|
-
) : children ? (
|
|
3305
|
+
) : loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-0 flex-1 overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-col", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogListItemLoadingPage, { count: pageSize }) }) }) : children ? (
|
|
3351
3306
|
/* Custom children content */
|
|
3352
3307
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1 overflow-y-auto overscroll-contain", children })
|
|
3353
3308
|
) : (
|
|
@@ -3356,17 +3311,14 @@ var ChatSidebar = _react.forwardRef.call(void 0,
|
|
|
3356
3311
|
dialogs.map((dialog) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3357
3312
|
DialogListItem,
|
|
3358
3313
|
{
|
|
3314
|
+
"data-loading-item": true,
|
|
3359
3315
|
dialog,
|
|
3360
3316
|
isActive: dialog.id === activeDialogId,
|
|
3361
3317
|
onDialogSelect
|
|
3362
3318
|
},
|
|
3363
3319
|
dialog.id
|
|
3364
3320
|
)),
|
|
3365
|
-
hasNextPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: loadMoreRef, children: isFetchingNextPage && /* @__PURE__ */ _jsxruntime.
|
|
3366
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogListItemSkeleton, {}),
|
|
3367
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogListItemSkeleton, {}),
|
|
3368
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogListItemSkeleton, {})
|
|
3369
|
-
] }) })
|
|
3321
|
+
hasNextPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: loadMoreRef, children: isFetchingNextPage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogListItemLoadingPage, { count: pageSize }) })
|
|
3370
3322
|
] }) })
|
|
3371
3323
|
) })
|
|
3372
3324
|
]
|
|
@@ -3379,11 +3331,7 @@ ChatSidebar.displayName = "ChatSidebar";
|
|
|
3379
3331
|
// src/components/chat/chat-top-navigation.tsx
|
|
3380
3332
|
|
|
3381
3333
|
|
|
3382
|
-
var
|
|
3383
|
-
"flex size-14 shrink-0 items-center justify-center border-ods-border text-ods-text-secondary",
|
|
3384
|
-
"hover:text-ods-text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-focus",
|
|
3385
|
-
"[&_svg]:size-6"
|
|
3386
|
-
);
|
|
3334
|
+
var EDGE_CELL_CLASS = "w-14";
|
|
3387
3335
|
var ChatTopNavigation = _react.forwardRef.call(void 0,
|
|
3388
3336
|
({
|
|
3389
3337
|
className,
|
|
@@ -3395,50 +3343,60 @@ var ChatTopNavigation = _react.forwardRef.call(void 0,
|
|
|
3395
3343
|
sidebarOpen,
|
|
3396
3344
|
onOpenSettings,
|
|
3397
3345
|
before,
|
|
3398
|
-
isLoading,
|
|
3346
|
+
isLoading: isLoadingProp,
|
|
3399
3347
|
...props
|
|
3400
|
-
}, ref) =>
|
|
3401
|
-
|
|
3402
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3348
|
+
}, ref) => {
|
|
3349
|
+
const isLoading = _chunkN6YCOBLKcjs.useLoadingScope.call(void 0, ) || isLoadingProp;
|
|
3350
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "header", { ref, className: _chunkN6YCOBLKcjs.cn.call(void 0, "flex shrink-0 flex-col bg-ods-bg", className), ...props, children: [
|
|
3351
|
+
before,
|
|
3352
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-14 items-stretch divide-x divide-ods-border border-b border-ods-border", children: [
|
|
3353
|
+
onToggleSidebar && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3354
|
+
_chunkCDBFQVPAcjs.Button,
|
|
3355
|
+
{
|
|
3356
|
+
variant: "cell",
|
|
3357
|
+
type: "button",
|
|
3358
|
+
onClick: onToggleSidebar,
|
|
3359
|
+
"aria-label": sidebarOpen ? "Hide sidebar" : "Show sidebar",
|
|
3360
|
+
"aria-expanded": sidebarOpen,
|
|
3361
|
+
className: EDGE_CELL_CLASS,
|
|
3362
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5TANV4ONcjs.SidebarIcon, {})
|
|
3363
|
+
}
|
|
3364
|
+
),
|
|
3365
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-m)] px-[var(--spacing-system-m)]", children: [
|
|
3366
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3367
|
+
_chunkAFJEUBDScjs.SquareAvatar,
|
|
3368
|
+
{
|
|
3369
|
+
loading: isLoading,
|
|
3370
|
+
src: _nullishCoalesce(avatarUrl, () => ( void 0)),
|
|
3371
|
+
alt: name,
|
|
3372
|
+
fallback: name,
|
|
3373
|
+
size: "md",
|
|
3374
|
+
variant: "round"
|
|
3375
|
+
}
|
|
3376
|
+
),
|
|
3377
|
+
isLoading ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
3378
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "h3", className: "w-24" }),
|
|
3379
|
+
subtitle !== void 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.TextLineSkeleton, { type: "h6", className: "w-32" })
|
|
3380
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
3424
3381
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h3", children: name }),
|
|
3425
3382
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: subtitle })
|
|
3426
|
-
] })
|
|
3383
|
+
] }),
|
|
3384
|
+
actions && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xs)]", children: actions })
|
|
3427
3385
|
] }),
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
)
|
|
3440
|
-
] })
|
|
3441
|
-
|
|
3386
|
+
onOpenSettings && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3387
|
+
_chunkCDBFQVPAcjs.Button,
|
|
3388
|
+
{
|
|
3389
|
+
variant: "cell",
|
|
3390
|
+
type: "button",
|
|
3391
|
+
onClick: onOpenSettings,
|
|
3392
|
+
"aria-label": "Settings",
|
|
3393
|
+
className: EDGE_CELL_CLASS,
|
|
3394
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNAGWQAIMcjs.Settings01Icon, {})
|
|
3395
|
+
}
|
|
3396
|
+
)
|
|
3397
|
+
] })
|
|
3398
|
+
] });
|
|
3399
|
+
}
|
|
3442
3400
|
);
|
|
3443
3401
|
ChatTopNavigation.displayName = "ChatTopNavigation";
|
|
3444
3402
|
|
|
@@ -3476,7 +3434,7 @@ function OnboardingCarousel({
|
|
|
3476
3434
|
"aria-roledescription": "carousel",
|
|
3477
3435
|
"aria-label": label,
|
|
3478
3436
|
onKeyDown: handleKeyDown,
|
|
3479
|
-
className:
|
|
3437
|
+
className: _chunkN6YCOBLKcjs.cn.call(void 0,
|
|
3480
3438
|
"flex min-h-0 w-full flex-1 flex-col items-center gap-[calc(2*var(--spacing-system-xlf))]",
|
|
3481
3439
|
className
|
|
3482
3440
|
),
|
|
@@ -3498,7 +3456,7 @@ function OnboardingCarousel({
|
|
|
3498
3456
|
"aria-label": `${i + 1} of ${steps.length}`,
|
|
3499
3457
|
"aria-hidden": !isCurrent,
|
|
3500
3458
|
inert: !isCurrent || void 0,
|
|
3501
|
-
className:
|
|
3459
|
+
className: _chunkN6YCOBLKcjs.cn.call(void 0,
|
|
3502
3460
|
"flex w-[var(--onboarding-card-w)] shrink-0 flex-col items-center justify-center gap-[var(--spacing-system-m)] rounded-md border border-ods-border bg-ods-card px-[var(--spacing-system-xl)] py-[calc(2*var(--spacing-system-xlf))] text-center",
|
|
3503
3461
|
i === 0 && "ml-[calc((100%-var(--onboarding-card-w))/2)]"
|
|
3504
3462
|
),
|
|
@@ -3524,12 +3482,12 @@ function OnboardingCarousel({
|
|
|
3524
3482
|
" of ",
|
|
3525
3483
|
steps.length,
|
|
3526
3484
|
": ",
|
|
3527
|
-
_optionalChain([steps, 'access',
|
|
3485
|
+
_optionalChain([steps, 'access', _126 => _126[index], 'optionalAccess', _127 => _127.title])
|
|
3528
3486
|
] }),
|
|
3529
3487
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", role: "group", "aria-label": "Choose step", children: steps.map((step, i) => {
|
|
3530
3488
|
const isCurrent = i === index;
|
|
3531
3489
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3532
|
-
|
|
3490
|
+
_chunkCDBFQVPAcjs.Button,
|
|
3533
3491
|
{
|
|
3534
3492
|
variant: "transparent",
|
|
3535
3493
|
"aria-current": isCurrent ? "step" : void 0,
|
|
@@ -3539,7 +3497,7 @@ function OnboardingCarousel({
|
|
|
3539
3497
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3540
3498
|
"span",
|
|
3541
3499
|
{
|
|
3542
|
-
className:
|
|
3500
|
+
className: _chunkN6YCOBLKcjs.cn.call(void 0,
|
|
3543
3501
|
"size-1.5 rounded-full transition-colors duration-150",
|
|
3544
3502
|
isCurrent ? "bg-ods-accent" : "bg-ods-text-secondary"
|
|
3545
3503
|
)
|
|
@@ -3552,7 +3510,7 @@ function OnboardingCarousel({
|
|
|
3552
3510
|
] }),
|
|
3553
3511
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap items-center justify-center gap-[var(--spacing-system-m)]", children: [
|
|
3554
3512
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3555
|
-
|
|
3513
|
+
_chunkCDBFQVPAcjs.Button,
|
|
3556
3514
|
{
|
|
3557
3515
|
variant: "outline",
|
|
3558
3516
|
className: "w-[200px]",
|
|
@@ -3561,7 +3519,7 @@ function OnboardingCarousel({
|
|
|
3561
3519
|
children: previousLabel
|
|
3562
3520
|
}
|
|
3563
3521
|
),
|
|
3564
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3522
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCDBFQVPAcjs.Button, { variant: "accent", className: "w-[200px]", onClick: isLast ? onComplete : () => goTo(index + 1), children: isLast ? completeLabel : nextLabel })
|
|
3565
3523
|
] })
|
|
3566
3524
|
]
|
|
3567
3525
|
}
|
|
@@ -3571,49 +3529,54 @@ function OnboardingCarousel({
|
|
|
3571
3529
|
// src/components/chat/entity-cards/admin-content-card-grid.tsx
|
|
3572
3530
|
|
|
3573
3531
|
var ADMIN_CONTENT_CARD_GRID_CLASS = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-[var(--spacing-system-lf)]";
|
|
3532
|
+
var GRID_CELL_CLASS = "h-full";
|
|
3533
|
+
var DEFAULT_LOADING_CARD = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOHXB6HUXcjs.AdminContentCard, { loading: true, reserveRows: true, title: "", actions: true });
|
|
3534
|
+
function loadingCardOf(loadingCard, Skeleton) {
|
|
3535
|
+
if (loadingCard !== void 0) return loadingCard;
|
|
3536
|
+
return Skeleton ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, {}) : DEFAULT_LOADING_CARD;
|
|
3537
|
+
}
|
|
3538
|
+
var ADMIN_CONTENT_CARD_GRID_SKELETON_CARDS = 12;
|
|
3574
3539
|
function AdminContentCardGridSkeleton({
|
|
3575
|
-
count =
|
|
3576
|
-
|
|
3540
|
+
count = ADMIN_CONTENT_CARD_GRID_SKELETON_CARDS,
|
|
3541
|
+
loadingCard,
|
|
3542
|
+
Skeleton,
|
|
3577
3543
|
className,
|
|
3578
3544
|
label = "Loading",
|
|
3579
3545
|
region = true
|
|
3580
3546
|
}) {
|
|
3581
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3582
|
-
_chunkWEANWBJHcjs.LoadingRegion,
|
|
3583
|
-
{
|
|
3584
|
-
label,
|
|
3585
|
-
announce: region,
|
|
3586
|
-
className: _chunk65VVJSQZcjs.cn.call(void 0, ADMIN_CONTENT_CARD_GRID_CLASS, className),
|
|
3587
|
-
"data-state": "loading",
|
|
3588
|
-
children: Array.from({ length: count }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, {}, i))
|
|
3589
|
-
}
|
|
3590
|
-
);
|
|
3547
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFWJ5YECNcjs.LoadingFallback, { label, status: region, className: _chunkN6YCOBLKcjs.cn.call(void 0, ADMIN_CONTENT_CARD_GRID_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN6YCOBLKcjs.LoadingItems, { count, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: GRID_CELL_CLASS, "data-loading-item": true, children: loadingCardOf(loadingCard, Skeleton) }) }) });
|
|
3591
3548
|
}
|
|
3592
3549
|
function AdminContentCardGrid({
|
|
3593
3550
|
items,
|
|
3594
3551
|
pageSize,
|
|
3595
|
-
loading,
|
|
3552
|
+
loading: loadingProp,
|
|
3596
3553
|
itemKey,
|
|
3597
3554
|
renderCard,
|
|
3598
3555
|
empty,
|
|
3599
|
-
|
|
3556
|
+
loadingCard,
|
|
3557
|
+
Skeleton,
|
|
3600
3558
|
className,
|
|
3601
3559
|
loadingLabel,
|
|
3602
3560
|
loadingRegion
|
|
3603
3561
|
}) {
|
|
3604
|
-
const gridClass =
|
|
3562
|
+
const gridClass = _chunkN6YCOBLKcjs.cn.call(void 0, ADMIN_CONTENT_CARD_GRID_CLASS, className);
|
|
3563
|
+
const loading = _chunkN6YCOBLKcjs.useLoadingScope.call(void 0, ) || loadingProp;
|
|
3605
3564
|
if (loading)
|
|
3606
3565
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3607
3566
|
AdminContentCardGridSkeleton,
|
|
3608
3567
|
{
|
|
3609
3568
|
count: pageSize,
|
|
3610
|
-
Skeleton,
|
|
3569
|
+
loadingCard: loadingCardOf(loadingCard, Skeleton),
|
|
3611
3570
|
className,
|
|
3612
3571
|
label: loadingLabel,
|
|
3613
3572
|
region: loadingRegion
|
|
3614
3573
|
}
|
|
3615
3574
|
);
|
|
3616
|
-
const slots =
|
|
3575
|
+
const slots = (
|
|
3576
|
+
// loading-standard-ok(ITEM_MARK): invisible pad slots that hold a short page's height, not items of the list
|
|
3577
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN6YCOBLKcjs.LoadingItems, { count: Math.max(0, pageSize - items.length), children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkN6YCOBLKcjs.cn.call(void 0, GRID_CELL_CLASS, "invisible"), children: loadingCardOf(loadingCard, Skeleton) }) })
|
|
3578
|
+
);
|
|
3579
|
+
const hasSlots = items.length < pageSize;
|
|
3617
3580
|
if (items.length === 0) {
|
|
3618
3581
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", "data-state": "empty", children: [
|
|
3619
3582
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: gridClass, children: slots }),
|
|
@@ -3621,8 +3584,8 @@ function AdminContentCardGrid({
|
|
|
3621
3584
|
] });
|
|
3622
3585
|
}
|
|
3623
3586
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: gridClass, "data-state": "items", children: [
|
|
3624
|
-
items.map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "
|
|
3625
|
-
|
|
3587
|
+
items.map((item) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: GRID_CELL_CLASS, "data-loading-item": true, children: renderCard(item) }, itemKey(item))),
|
|
3588
|
+
hasSlots && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "contents", children: slots })
|
|
3626
3589
|
] });
|
|
3627
3590
|
}
|
|
3628
3591
|
|
|
@@ -3643,9 +3606,9 @@ function parseChannelFromUrl(url) {
|
|
|
3643
3606
|
return null;
|
|
3644
3607
|
}
|
|
3645
3608
|
function SlackMessageCard({ item, variant = "compact", className, anchorProps }) {
|
|
3646
|
-
if (
|
|
3609
|
+
if (_chunkN6YCOBLKcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SlackMessageCardSkeleton, { variant, className });
|
|
3647
3610
|
const channel = _nullishCoalesce(_nullishCoalesce(item.channel, () => ( parseChannelFromUrl(item.url))), () => ( null));
|
|
3648
|
-
const dateText =
|
|
3611
|
+
const dateText = _chunkAFJEUBDScjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
3649
3612
|
if (variant === "row") {
|
|
3650
3613
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
3651
3614
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWDRZM73cjs.SlackIcon, { className: "h-3.5 w-3.5 shrink-0" }),
|
|
@@ -3671,23 +3634,23 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
3671
3634
|
metaParts.push(
|
|
3672
3635
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
3673
3636
|
);
|
|
3674
|
-
const href =
|
|
3637
|
+
const href = _chunkJQWYXC2Ecjs.safeHref.call(void 0, item.url);
|
|
3675
3638
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3676
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3677
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3678
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3679
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3680
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3639
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWDRZM73cjs.SlackIcon, { className: "h-5 w-5" }) }),
|
|
3640
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3641
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_TITLE, children: item.title }) }),
|
|
3642
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_SUMMARY, children: item.preview || _chunkJQWYXC2Ecjs.COMPACT_CARD_ROW_FILLER }) }),
|
|
3643
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
3681
3644
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
3682
3645
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
3683
|
-
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3646
|
+
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_SUMMARY, children: _chunkJQWYXC2Ecjs.COMPACT_CARD_ROW_FILLER }) }) })
|
|
3684
3647
|
] }),
|
|
3685
3648
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
3686
3649
|
] });
|
|
3687
3650
|
if (anchorProps) {
|
|
3688
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3651
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkJQWYXC2Ecjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
3689
3652
|
}
|
|
3690
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
3653
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkJQWYXC2Ecjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJQWYXC2Ecjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
3691
3654
|
}
|
|
3692
3655
|
function SlackMessageCardSkeleton({
|
|
3693
3656
|
variant = "compact",
|
|
@@ -3695,11 +3658,11 @@ function SlackMessageCardSkeleton({
|
|
|
3695
3658
|
}) {
|
|
3696
3659
|
if (variant === "row") {
|
|
3697
3660
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3698
|
-
|
|
3661
|
+
_chunkJQWYXC2Ecjs.ActivityRowSkeleton,
|
|
3699
3662
|
{
|
|
3700
3663
|
lead: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3701
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3702
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3664
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.UnifiedSkeleton, { className: "h-3.5 w-3.5 shrink-0 rounded" }),
|
|
3665
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.UnifiedSkeleton, { className: "h-3 w-32 shrink-0 rounded" })
|
|
3703
3666
|
] }),
|
|
3704
3667
|
trailingWidths: ["w-24", "w-20"],
|
|
3705
3668
|
className
|
|
@@ -3707,7 +3670,7 @@ function SlackMessageCardSkeleton({
|
|
|
3707
3670
|
);
|
|
3708
3671
|
}
|
|
3709
3672
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3710
|
-
|
|
3673
|
+
_chunkJQWYXC2Ecjs.CompactCardSkeleton,
|
|
3711
3674
|
{
|
|
3712
3675
|
titleWidth: "w-2/3",
|
|
3713
3676
|
rows: [{ width: "w-5/6" }, { width: "w-1/3" }],
|
|
@@ -3740,15 +3703,15 @@ function statusScheme(status) {
|
|
|
3740
3703
|
return "default";
|
|
3741
3704
|
}
|
|
3742
3705
|
function HubspotTicketCard({ item, variant = "compact", className, anchorProps }) {
|
|
3743
|
-
if (
|
|
3706
|
+
if (_chunkN6YCOBLKcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HubspotTicketCardSkeleton, { variant, className });
|
|
3744
3707
|
const statusText = _nullishCoalesce(item.statusLabel, () => ( formatToken(item.status)));
|
|
3745
3708
|
const priorityText = formatToken(item.priority);
|
|
3746
|
-
const dateText =
|
|
3709
|
+
const dateText = _chunkAFJEUBDScjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
3747
3710
|
if (variant === "row") {
|
|
3748
3711
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
3749
3712
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "max-w-[260px] shrink-0 truncate text-ods-text-primary text-h6", children: item.title }),
|
|
3750
3713
|
item.preview ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1 truncate text-ods-text-secondary text-h6", children: item.preview }) : null,
|
|
3751
|
-
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3714
|
+
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJQWYXC2Ecjs.StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
|
|
3752
3715
|
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
|
|
3753
3716
|
] });
|
|
3754
3717
|
}
|
|
@@ -3762,13 +3725,13 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3762
3725
|
metaParts.push(
|
|
3763
3726
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
3764
3727
|
);
|
|
3765
|
-
const href =
|
|
3728
|
+
const href = _chunkJQWYXC2Ecjs.safeHref.call(void 0, item.url);
|
|
3766
3729
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3767
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3730
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3768
3731
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
3769
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3732
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJQWYXC2Ecjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
3770
3733
|
priorityText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3771
|
-
|
|
3734
|
+
_chunkJQWYXC2Ecjs.StatusBadge,
|
|
3772
3735
|
{
|
|
3773
3736
|
text: priorityText,
|
|
3774
3737
|
variant: "button",
|
|
@@ -3777,7 +3740,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3777
3740
|
}
|
|
3778
3741
|
) : null,
|
|
3779
3742
|
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3780
|
-
|
|
3743
|
+
_chunkJQWYXC2Ecjs.StatusBadge,
|
|
3781
3744
|
{
|
|
3782
3745
|
text: statusText,
|
|
3783
3746
|
variant: "button",
|
|
@@ -3791,7 +3754,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3791
3754
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
3792
3755
|
] }) : null,
|
|
3793
3756
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-4 whitespace-pre-wrap break-words text-ods-text-secondary text-h6", children: item.preview || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "italic text-ods-text-secondary/60", children: "No description provided." }) }) }),
|
|
3794
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3757
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
3795
3758
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
3796
3759
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
3797
3760
|
] }, i)) }) }) : null
|
|
@@ -3799,9 +3762,9 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
3799
3762
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
3800
3763
|
] });
|
|
3801
3764
|
if (anchorProps) {
|
|
3802
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3765
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkJQWYXC2Ecjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
3803
3766
|
}
|
|
3804
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
3767
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkJQWYXC2Ecjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJQWYXC2Ecjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
3805
3768
|
}
|
|
3806
3769
|
function HubspotTicketCardSkeleton({
|
|
3807
3770
|
variant = "compact",
|
|
@@ -3809,14 +3772,14 @@ function HubspotTicketCardSkeleton({
|
|
|
3809
3772
|
}) {
|
|
3810
3773
|
if (variant === "row") {
|
|
3811
3774
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
3812
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3813
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3814
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3815
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3775
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.UnifiedSkeleton, { className: "h-3 w-40 shrink-0 rounded" }),
|
|
3776
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.UnifiedSkeleton, { className: "h-3 w-2/3 flex-1 rounded" }),
|
|
3777
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.UnifiedSkeleton, { className: "h-3 w-16 shrink-0 rounded" }),
|
|
3778
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYNDH72VUcjs.UnifiedSkeleton, { className: "h-3 w-20 shrink-0 rounded" })
|
|
3816
3779
|
] });
|
|
3817
3780
|
}
|
|
3818
3781
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3819
|
-
|
|
3782
|
+
_chunkJQWYXC2Ecjs.CompactCardSkeleton,
|
|
3820
3783
|
{
|
|
3821
3784
|
slot: false,
|
|
3822
3785
|
titleWidth: "w-2/3",
|
|
@@ -3832,12 +3795,12 @@ function HubspotTicketCardSkeleton({
|
|
|
3832
3795
|
|
|
3833
3796
|
|
|
3834
3797
|
function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
3835
|
-
if (
|
|
3798
|
+
if (_chunkN6YCOBLKcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DataRoomDocCardSkeleton, { className });
|
|
3836
3799
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3837
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3800
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3838
3801
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
3839
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3840
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3802
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJQWYXC2Ecjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
3803
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJQWYXC2Ecjs.StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
|
|
3841
3804
|
] }),
|
|
3842
3805
|
item.path ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1 text-ods-text-secondary text-h6", children: [
|
|
3843
3806
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
|
|
@@ -3845,16 +3808,16 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
3845
3808
|
] }) : null,
|
|
3846
3809
|
item.preview ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-2 whitespace-pre-wrap break-words text-ods-text-secondary text-h6", children: item.preview }) }) : null
|
|
3847
3810
|
] }),
|
|
3848
|
-
_optionalChain([anchorProps, 'optionalAccess',
|
|
3811
|
+
_optionalChain([anchorProps, 'optionalAccess', _128 => _128.href]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
3849
3812
|
] });
|
|
3850
3813
|
if (!anchorProps) {
|
|
3851
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3814
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJQWYXC2Ecjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
3852
3815
|
}
|
|
3853
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3816
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkJQWYXC2Ecjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
3854
3817
|
}
|
|
3855
3818
|
function DataRoomDocCardSkeleton({ className }) {
|
|
3856
3819
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3857
|
-
|
|
3820
|
+
_chunkJQWYXC2Ecjs.CompactCardSkeleton,
|
|
3858
3821
|
{
|
|
3859
3822
|
slot: false,
|
|
3860
3823
|
titleWidth: "w-2/3",
|
|
@@ -3870,42 +3833,42 @@ function DataRoomDocCardSkeleton({ className }) {
|
|
|
3870
3833
|
|
|
3871
3834
|
|
|
3872
3835
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
3873
|
-
if (
|
|
3874
|
-
const goalsCount = _optionalChain([campaign, 'access',
|
|
3836
|
+
if (_chunkN6YCOBLKcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CampaignCardAdminSkeleton, { className });
|
|
3837
|
+
const goalsCount = _optionalChain([campaign, 'access', _129 => _129.goals, 'optionalAccess', _130 => _130.length]) || 0;
|
|
3875
3838
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3876
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3877
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3878
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3879
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3880
|
-
campaign.start_date ?
|
|
3839
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
3840
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3841
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
3842
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_SUBTITLE, children: [
|
|
3843
|
+
campaign.start_date ? _chunkOHXB6HUXcjs.formatDateShort.call(void 0, campaign.start_date) : null,
|
|
3881
3844
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
3882
3845
|
"Marketing campaign"
|
|
3883
3846
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
3884
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3847
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_SUMMARY, children: campaign.description || _chunkJQWYXC2Ecjs.COMPACT_CARD_ROW_FILLER }) })
|
|
3885
3848
|
] })
|
|
3886
3849
|
] });
|
|
3887
3850
|
if (anchorProps) {
|
|
3888
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3851
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkJQWYXC2Ecjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: innerChildren });
|
|
3889
3852
|
}
|
|
3890
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3853
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJQWYXC2Ecjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: innerChildren });
|
|
3891
3854
|
}
|
|
3892
3855
|
function CampaignCardAdminSkeleton({ className }) {
|
|
3893
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3856
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJQWYXC2Ecjs.CompactCardSkeleton, { rows: [{ width: "w-1/2" }, { width: "w-11/12" }], className });
|
|
3894
3857
|
}
|
|
3895
3858
|
|
|
3896
3859
|
// src/components/chat/entity-cards/generic-entity-card.tsx
|
|
3897
3860
|
|
|
3898
3861
|
|
|
3899
3862
|
function GenericEntityCard({ item, className, anchorProps }) {
|
|
3900
|
-
if (
|
|
3901
|
-
const href =
|
|
3902
|
-
const dateText =
|
|
3863
|
+
if (_chunkN6YCOBLKcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, GenericEntityCardSkeleton, { className });
|
|
3864
|
+
const href = _chunkJQWYXC2Ecjs.safeHref.call(void 0, item.url);
|
|
3865
|
+
const dateText = _chunkAFJEUBDScjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
3903
3866
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3904
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
3867
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_TEXT_COL, children: [
|
|
3905
3868
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
3906
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
3869
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJQWYXC2Ecjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
3907
3870
|
item.badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3908
|
-
|
|
3871
|
+
_chunkJQWYXC2Ecjs.StatusBadge,
|
|
3909
3872
|
{
|
|
3910
3873
|
text: item.badge.text,
|
|
3911
3874
|
variant: "button",
|
|
@@ -3923,18 +3886,18 @@ function GenericEntityCard({ item, className, anchorProps }) {
|
|
|
3923
3886
|
] }),
|
|
3924
3887
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-medium text-ods-text-primary", children: f.value })
|
|
3925
3888
|
] }, i)) }) : null,
|
|
3926
|
-
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
3889
|
+
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJQWYXC2Ecjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
|
|
3927
3890
|
] }),
|
|
3928
3891
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
3929
3892
|
] });
|
|
3930
3893
|
if (anchorProps) {
|
|
3931
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
3894
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkJQWYXC2Ecjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
3932
3895
|
}
|
|
3933
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, className: `${
|
|
3896
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, className: `${_chunkJQWYXC2Ecjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJQWYXC2Ecjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
3934
3897
|
}
|
|
3935
3898
|
function GenericEntityCardSkeleton({ className }) {
|
|
3936
3899
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3937
|
-
|
|
3900
|
+
_chunkJQWYXC2Ecjs.CompactCardSkeleton,
|
|
3938
3901
|
{
|
|
3939
3902
|
slot: false,
|
|
3940
3903
|
titleWidth: "w-2/3",
|
|
@@ -3964,7 +3927,7 @@ var NETWORK_CONFIG = {
|
|
|
3964
3927
|
|
|
3965
3928
|
var EMPTY_FRAME = { messages: [], phase: "idle", typing: false, delayMs: 0 };
|
|
3966
3929
|
function prefersReducedMotion() {
|
|
3967
|
-
return typeof window !== "undefined" && _optionalChain([window, 'access',
|
|
3930
|
+
return typeof window !== "undefined" && _optionalChain([window, 'access', _131 => _131.matchMedia, 'optionalCall', _132 => _132("(prefers-reduced-motion: reduce)"), 'access', _133 => _133.matches]) === true;
|
|
3968
3931
|
}
|
|
3969
3932
|
function useScriptedStream(frames, resetKey, enabled = true) {
|
|
3970
3933
|
const [index, setIndex] = _react.useState.call(void 0, 0);
|
|
@@ -3975,7 +3938,7 @@ function useScriptedStream(frames, resetKey, enabled = true) {
|
|
|
3975
3938
|
setIndex(0);
|
|
3976
3939
|
}
|
|
3977
3940
|
_react.useEffect.call(void 0, () => {
|
|
3978
|
-
const mq = _optionalChain([window, 'access',
|
|
3941
|
+
const mq = _optionalChain([window, 'access', _134 => _134.matchMedia, 'optionalCall', _135 => _135("(prefers-reduced-motion: reduce)")]);
|
|
3979
3942
|
const sync = () => setReducedMotion(mq ? mq.matches : prefersReducedMotion());
|
|
3980
3943
|
sync();
|
|
3981
3944
|
if (!mq) return void 0;
|
|
@@ -4120,7 +4083,7 @@ function useJetStreamDialogSubscription({
|
|
|
4120
4083
|
const lifecycle = _chunkKHKPLOU4cjs.startConnectionLifecycle.call(void 0, {
|
|
4121
4084
|
conn: sharedConn,
|
|
4122
4085
|
wsUrl,
|
|
4123
|
-
onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access',
|
|
4086
|
+
onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _136 => _136.current, 'optionalCall', _137 => _137()]),
|
|
4124
4087
|
backoff: reconnectionBackoffRef.current,
|
|
4125
4088
|
getFreshUrl: () => getNatsWsUrlRef.current(),
|
|
4126
4089
|
// JetStream emits 'error' for protocol-level failures (e.g. -ERR Permissions
|
|
@@ -4135,7 +4098,7 @@ function useJetStreamDialogSubscription({
|
|
|
4135
4098
|
setReconnectionCount((c) => c + 1);
|
|
4136
4099
|
}
|
|
4137
4100
|
hadConnectionBeforeRef.current = true;
|
|
4138
|
-
_optionalChain([onConnectRef, 'access',
|
|
4101
|
+
_optionalChain([onConnectRef, 'access', _138 => _138.current, 'optionalCall', _139 => _139()]);
|
|
4139
4102
|
}
|
|
4140
4103
|
if (status === "error") {
|
|
4141
4104
|
console.warn("[JetStream] NATS protocol error:", evt.data);
|
|
@@ -4145,7 +4108,7 @@ function useJetStreamDialogSubscription({
|
|
|
4145
4108
|
setIsConnected(false);
|
|
4146
4109
|
setIsSubscribed(false);
|
|
4147
4110
|
tearDownSubscription();
|
|
4148
|
-
_optionalChain([onDisconnectRef, 'access',
|
|
4111
|
+
_optionalChain([onDisconnectRef, 'access', _140 => _140.current, 'optionalCall', _141 => _141()]);
|
|
4149
4112
|
}
|
|
4150
4113
|
}
|
|
4151
4114
|
});
|
|
@@ -4289,7 +4252,7 @@ function useJetStreamDialogSubscription({
|
|
|
4289
4252
|
subscriptionRef.current = handle;
|
|
4290
4253
|
setIsSubscribed(true);
|
|
4291
4254
|
try {
|
|
4292
|
-
_optionalChain([onSubscribedRef, 'access',
|
|
4255
|
+
_optionalChain([onSubscribedRef, 'access', _142 => _142.current, 'optionalCall', _143 => _143()]);
|
|
4293
4256
|
} catch (e) {
|
|
4294
4257
|
console.warn("[JetStream] onSubscribed threw:", e);
|
|
4295
4258
|
}
|
|
@@ -4401,7 +4364,7 @@ function useChat({
|
|
|
4401
4364
|
onMessagesChangeRef.current = onMessagesChange;
|
|
4402
4365
|
});
|
|
4403
4366
|
_react.useEffect.call(void 0, () => {
|
|
4404
|
-
_optionalChain([onMessagesChangeRef, 'access',
|
|
4367
|
+
_optionalChain([onMessagesChangeRef, 'access', _144 => _144.current, 'optionalCall', _145 => _145(messages)]);
|
|
4405
4368
|
}, [messages]);
|
|
4406
4369
|
const {
|
|
4407
4370
|
streamMessage,
|
|
@@ -4438,7 +4401,7 @@ function useChat({
|
|
|
4438
4401
|
name: "You",
|
|
4439
4402
|
content: text,
|
|
4440
4403
|
timestamp: /* @__PURE__ */ new Date(),
|
|
4441
|
-
..._optionalChain([options, 'optionalAccess',
|
|
4404
|
+
..._optionalChain([options, 'optionalAccess', _146 => _146.hidden]) ? { hidden: true } : {}
|
|
4442
4405
|
};
|
|
4443
4406
|
addMessage(userMessage);
|
|
4444
4407
|
setIsTyping(true);
|
|
@@ -4669,19 +4632,19 @@ function turnRequestKeys(content) {
|
|
|
4669
4632
|
if (!Array.isArray(content)) return keys;
|
|
4670
4633
|
for (const seg of content) {
|
|
4671
4634
|
if (seg.type === "tool_execution") {
|
|
4672
|
-
const id = _optionalChain([seg, 'access',
|
|
4635
|
+
const id = _optionalChain([seg, 'access', _147 => _147.data, 'optionalAccess', _148 => _148.toolExecutionRequestId]);
|
|
4673
4636
|
if (id) keys.add(id);
|
|
4674
4637
|
} else if (seg.type === "approval_request") {
|
|
4675
|
-
const id = _optionalChain([seg, 'access',
|
|
4638
|
+
const id = _optionalChain([seg, 'access', _149 => _149.data, 'optionalAccess', _150 => _150.requestId]);
|
|
4676
4639
|
if (id) keys.add(id);
|
|
4677
4640
|
} else if (seg.type === "escalation_offer") {
|
|
4678
|
-
const id = _optionalChain([seg, 'access',
|
|
4641
|
+
const id = _optionalChain([seg, 'access', _151 => _151.data, 'optionalAccess', _152 => _152.offerId]);
|
|
4679
4642
|
if (id) keys.add(id);
|
|
4680
4643
|
} else if (seg.type === "approval_batch") {
|
|
4681
4644
|
const data = seg.data;
|
|
4682
|
-
if (_optionalChain([data, 'optionalAccess',
|
|
4683
|
-
for (const call of _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
4684
|
-
if (_optionalChain([call, 'optionalAccess',
|
|
4645
|
+
if (_optionalChain([data, 'optionalAccess', _153 => _153.approvalRequestId])) keys.add(data.approvalRequestId);
|
|
4646
|
+
for (const call of _nullishCoalesce(_optionalChain([data, 'optionalAccess', _154 => _154.toolCalls]), () => ( []))) {
|
|
4647
|
+
if (_optionalChain([call, 'optionalAccess', _155 => _155.toolExecutionRequestId])) keys.add(call.toolExecutionRequestId);
|
|
4685
4648
|
}
|
|
4686
4649
|
}
|
|
4687
4650
|
}
|
|
@@ -4785,18 +4748,18 @@ function mergeHistoryWithRealtime(input) {
|
|
|
4785
4748
|
}
|
|
4786
4749
|
}
|
|
4787
4750
|
const trailing = processedHistory[processedHistory.length - 1];
|
|
4788
|
-
const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess',
|
|
4789
|
-
const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access',
|
|
4751
|
+
const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _156 => _156.role]) === "assistant" ? trailing : null;
|
|
4752
|
+
const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _157 => _157.content, 'access', _158 => _158.find, 'call', _159 => _159((s) => s.type === "approval_batch"), 'optionalAccess', _160 => _160.data, 'optionalAccess', _161 => _161.approvalRequestId]), () => ( null)) : null;
|
|
4790
4753
|
let processedToUse = processedHistory;
|
|
4791
4754
|
const pinnedSyntheticIds = /* @__PURE__ */ new Set();
|
|
4792
4755
|
const droppedSyntheticIds = /* @__PURE__ */ new Set();
|
|
4793
4756
|
if (historyBatchId) {
|
|
4794
4757
|
const batchTwins = existingMessages.filter(
|
|
4795
|
-
(m) => m.role === "assistant" && Array.isArray(m.content) && m.content.some((s) => s.type === "approval_batch" && _optionalChain([s, 'access',
|
|
4758
|
+
(m) => m.role === "assistant" && Array.isArray(m.content) && m.content.some((s) => s.type === "approval_batch" && _optionalChain([s, 'access', _162 => _162.data, 'optionalAccess', _163 => _163.approvalRequestId]) === historyBatchId)
|
|
4796
4759
|
);
|
|
4797
4760
|
const existingWithSameBatch = _nullishCoalesce(batchTwins.find((m) => m.id === streamingMessageId), () => ( batchTwins[batchTwins.length - 1]));
|
|
4798
4761
|
if (existingWithSameBatch && Array.isArray(existingWithSameBatch.content)) {
|
|
4799
|
-
const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess',
|
|
4762
|
+
const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _164 => _164.content])) ? historyTrailingAssistant.content.length : 0;
|
|
4800
4763
|
const realtimeSize = existingWithSameBatch.content.length;
|
|
4801
4764
|
if (existingWithSameBatch.id === streamingMessageId || realtimeSize > histSize) {
|
|
4802
4765
|
processedToUse = processedHistory.slice(0, -1);
|
|
@@ -4829,9 +4792,9 @@ function mergeHistoryWithRealtime(input) {
|
|
|
4829
4792
|
const trailingAssistantText = lastProcessed && lastProcessed.role === "assistant" ? assistantAnswerText(lastProcessed.content) : "";
|
|
4830
4793
|
const windowSignals = collectTwinSignals(processedToUse);
|
|
4831
4794
|
const seenUserSyntheticByContent = /* @__PURE__ */ new Map();
|
|
4832
|
-
const isInWindow = (m) => processedIds.has(m.id) || (_nullishCoalesce(_optionalChain([rawHistoryIds, 'optionalAccess',
|
|
4795
|
+
const isInWindow = (m) => processedIds.has(m.id) || (_nullishCoalesce(_optionalChain([rawHistoryIds, 'optionalAccess', _165 => _165.has, 'call', _166 => _166(m.id)]), () => ( false)));
|
|
4833
4796
|
const firstWindowIndex = existingMessages.findIndex(isInWindow);
|
|
4834
|
-
const isPersistedOlder = (m) => !isClientMintedId(m.id) && (_nullishCoalesce(_optionalChain([m, 'access',
|
|
4797
|
+
const isPersistedOlder = (m) => !isClientMintedId(m.id) && (_nullishCoalesce(_optionalChain([m, 'access', _167 => _167.timestamp, 'optionalAccess', _168 => _168.getTime, 'call', _169 => _169()]), () => ( 0))) <= historyFetchedAt;
|
|
4835
4798
|
let lastOlderPersistedIndex = -1;
|
|
4836
4799
|
if (firstWindowIndex < 0) {
|
|
4837
4800
|
for (const [index, m] of existingMessages.entries()) {
|
|
@@ -4849,7 +4812,7 @@ function mergeHistoryWithRealtime(input) {
|
|
|
4849
4812
|
} else if (pm.role === "assistant") {
|
|
4850
4813
|
windowHasUnstampedAssistant = true;
|
|
4851
4814
|
}
|
|
4852
|
-
const time = _optionalChain([pm, 'access',
|
|
4815
|
+
const time = _optionalChain([pm, 'access', _170 => _170.timestamp, 'optionalAccess', _171 => _171.getTime, 'call', _172 => _172()]);
|
|
4853
4816
|
if (typeof time === "number" && time < windowMinTime) windowMinTime = time;
|
|
4854
4817
|
}
|
|
4855
4818
|
const threadHasClientMintedRow = existingMessages.some((m) => isClientMintedId(m.id));
|
|
@@ -4867,14 +4830,14 @@ function mergeHistoryWithRealtime(input) {
|
|
|
4867
4830
|
const verdict = twinVerdict(windowSignals, m);
|
|
4868
4831
|
return verdict === "unknown" ? !seqCanMislead(m) : verdict === "distinct";
|
|
4869
4832
|
}
|
|
4870
|
-
const time = _optionalChain([m, 'access',
|
|
4833
|
+
const time = _optionalChain([m, 'access', _173 => _173.timestamp, 'optionalAccess', _174 => _174.getTime, 'call', _175 => _175()]);
|
|
4871
4834
|
if (typeof time !== "number" || time > historyFetchedAt) return false;
|
|
4872
4835
|
if (!Number.isFinite(windowMinTime) || time >= windowMinTime) return false;
|
|
4873
4836
|
return twinVerdict(windowSignals, m) === "distinct";
|
|
4874
4837
|
};
|
|
4875
4838
|
const keepRealtime = (m) => {
|
|
4876
4839
|
if (m.role === "user" && isOptimisticId(m.id) && typeof m.content === "string") {
|
|
4877
|
-
const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access',
|
|
4840
|
+
const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _176 => _176.timestamp, 'optionalAccess', _177 => _177.getTime, 'call', _178 => _178()]), () => ( 0))) <= historyFetchedAt;
|
|
4878
4841
|
return !(canBeInSnapshot && windowSignals.userContents.has(userTwinKey(m)));
|
|
4879
4842
|
}
|
|
4880
4843
|
if (isSyntheticRealtimeId(m.id) && m.id !== streamingMessageId) {
|
|
@@ -4899,7 +4862,7 @@ function mergeHistoryWithRealtime(input) {
|
|
|
4899
4862
|
} else if (typeof m.streamSeq === "number") {
|
|
4900
4863
|
covered = historyMaxStreamSeq > 0 && historyMaxStreamSeq >= m.streamSeq;
|
|
4901
4864
|
} else {
|
|
4902
|
-
covered = historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access',
|
|
4865
|
+
covered = historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _179 => _179.timestamp, 'optionalAccess', _180 => _180.getTime, 'call', _181 => _181()]), () => ( 0))) <= historyFetchedAt;
|
|
4903
4866
|
}
|
|
4904
4867
|
if (covered) return false;
|
|
4905
4868
|
}
|
|
@@ -4990,7 +4953,7 @@ function normalizeHistoricalMessageData(md) {
|
|
|
4990
4953
|
function isHistoricalUserTurn(m) {
|
|
4991
4954
|
return !!m.owner;
|
|
4992
4955
|
}
|
|
4993
|
-
var isTextSegment = (d) => _optionalChain([d, 'optionalAccess',
|
|
4956
|
+
var isTextSegment = (d) => _optionalChain([d, 'optionalAccess', _182 => _182.type]) === "TEXT" && typeof d.text === "string";
|
|
4994
4957
|
var THINK_MS = 550;
|
|
4995
4958
|
var TOKEN_MS = 55;
|
|
4996
4959
|
var USER_MS = 480;
|
|
@@ -5053,9 +5016,9 @@ function buildStreamFrames(messages) {
|
|
|
5053
5016
|
|
|
5054
5017
|
function InfoHint({ children, label, side = "top", className }) {
|
|
5055
5018
|
const describedById = _react.useId.call(void 0, );
|
|
5056
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
5019
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkN6YCOBLKcjs.cn.call(void 0, "inline-flex shrink-0 items-center", className), children: [
|
|
5057
5020
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5058
|
-
|
|
5021
|
+
_chunkAFJEUBDScjs.FloatingTooltip,
|
|
5059
5022
|
{
|
|
5060
5023
|
content: children,
|
|
5061
5024
|
side,
|
|
@@ -5063,7 +5026,7 @@ function InfoHint({ children, label, side = "top", className }) {
|
|
|
5063
5026
|
triggerClassName: "inline-flex shrink-0 items-center",
|
|
5064
5027
|
className: "text-h6",
|
|
5065
5028
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5066
|
-
|
|
5029
|
+
_chunkCDBFQVPAcjs.Button,
|
|
5067
5030
|
{
|
|
5068
5031
|
type: "button",
|
|
5069
5032
|
variant: "transparent",
|
|
@@ -5094,9 +5057,9 @@ function Field({ label, hint, required, children, error, labelExtras, labelEnd }
|
|
|
5094
5057
|
};
|
|
5095
5058
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
5096
5059
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5", children: [
|
|
5097
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
5060
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkT4ZVKEDPcjs.Label, { htmlFor: controlId, children: [
|
|
5098
5061
|
label,
|
|
5099
|
-
required && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5062
|
+
required && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKWV23THOcjs.RequiredMark, {})
|
|
5100
5063
|
] }),
|
|
5101
5064
|
hint && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoHint, { label, children: hint }),
|
|
5102
5065
|
labelExtras,
|
|
@@ -5157,7 +5120,7 @@ var GROUPS = [
|
|
|
5157
5120
|
}
|
|
5158
5121
|
];
|
|
5159
5122
|
function maskKey(key) {
|
|
5160
|
-
const prefix = _nullishCoalesce(_optionalChain([/^fpk_[a-z0-9-]+_/i, 'access',
|
|
5123
|
+
const prefix = _nullishCoalesce(_optionalChain([/^fpk_[a-z0-9-]+_/i, 'access', _183 => _183.exec, 'call', _184 => _184(key), 'optionalAccess', _185 => _185[0]]), () => ( ""));
|
|
5161
5124
|
return key.length - prefix.length <= 8 ? `${prefix}\u2022\u2022\u2022\u2022` : `${prefix}\u2026${key.slice(-4)}`;
|
|
5162
5125
|
}
|
|
5163
5126
|
function HeaderName({ children }) {
|
|
@@ -5173,7 +5136,7 @@ function Section({ title, description, children }) {
|
|
|
5173
5136
|
] });
|
|
5174
5137
|
}
|
|
5175
5138
|
function ProxyCredentialsPanel({ description }) {
|
|
5176
|
-
const hydrated =
|
|
5139
|
+
const hydrated = _chunkFWJ5YECNcjs.useIsHydrated.call(void 0, );
|
|
5177
5140
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5178
5141
|
ProxyCredentialsForm,
|
|
5179
5142
|
{
|
|
@@ -5194,8 +5157,8 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
5194
5157
|
const errors = _react.useMemo.call(void 0, () => {
|
|
5195
5158
|
const out = {};
|
|
5196
5159
|
for (const { field } of _chunk5GJM7VRRcjs.EMBED_PROXY_OPTIONAL_HEADERS) {
|
|
5197
|
-
const value = _optionalChain([optional, 'access',
|
|
5198
|
-
const message = value ? _optionalChain([OPTIONAL_FIELD_COPY, 'access',
|
|
5160
|
+
const value = _optionalChain([optional, 'access', _186 => _186[field], 'optionalAccess', _187 => _187.trim, 'call', _188 => _188()]);
|
|
5161
|
+
const message = value ? _optionalChain([OPTIONAL_FIELD_COPY, 'access', _189 => _189[field], 'access', _190 => _190.validate, 'optionalCall', _191 => _191(value)]) : null;
|
|
5199
5162
|
if (message) out[field] = message;
|
|
5200
5163
|
}
|
|
5201
5164
|
return out;
|
|
@@ -5207,12 +5170,12 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
5207
5170
|
...keyForPreview ? [["Authorization", `Bearer ${keyForPreview}`]] : [],
|
|
5208
5171
|
...email.trim() ? [["X-Chat-Act-As", email.trim().toLowerCase()]] : [],
|
|
5209
5172
|
..._chunk5GJM7VRRcjs.EMBED_PROXY_OPTIONAL_HEADERS.flatMap(({ field, header }) => {
|
|
5210
|
-
const value = _optionalChain([optional, 'access',
|
|
5173
|
+
const value = _optionalChain([optional, 'access', _192 => _192[field], 'optionalAccess', _193 => _193.trim, 'call', _194 => _194()]);
|
|
5211
5174
|
return value ? [[header, value]] : [];
|
|
5212
5175
|
})
|
|
5213
5176
|
];
|
|
5214
5177
|
const save = () => {
|
|
5215
|
-
const key = secret.trim() || _optionalChain([_chunk5GJM7VRRcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess',
|
|
5178
|
+
const key = secret.trim() || _optionalChain([_chunk5GJM7VRRcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _195 => _195.secret]);
|
|
5216
5179
|
const actAs = email.trim().toLowerCase();
|
|
5217
5180
|
if (!key || !actAs || hasErrors) {
|
|
5218
5181
|
setStatus(hasErrors ? "Fix the highlighted fields first." : "API key and act-as email are required.");
|
|
@@ -5234,13 +5197,13 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
5234
5197
|
setStatus("Cleared. Requests use the session again.");
|
|
5235
5198
|
};
|
|
5236
5199
|
const setField = (field, value) => setOptional((prev) => ({ ...prev, [field]: value }));
|
|
5237
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5200
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJQWYXC2Ecjs.Card, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkJQWYXC2Ecjs.CardContent, { className: "space-y-[var(--spacing-system-lf)] p-[var(--spacing-system-mf)]", children: [
|
|
5238
5201
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "header", { className: "flex flex-col gap-[var(--spacing-system-sf)] sm:flex-row sm:items-start sm:justify-between", children: [
|
|
5239
5202
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
5240
5203
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h3", children: "Proxy credentials" }),
|
|
5241
5204
|
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: description })
|
|
5242
5205
|
] }),
|
|
5243
|
-
activeEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5206
|
+
activeEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJQWYXC2Ecjs.StatusBadge, { singleLine: true, colorScheme: "success", text: `Active: ${activeEmail}` }) })
|
|
5244
5207
|
] }),
|
|
5245
5208
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5246
5209
|
Section,
|
|
@@ -5256,7 +5219,7 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
5256
5219
|
hint: "A SERVICE key may act as anyone; a personal key only as its owner.",
|
|
5257
5220
|
labelEnd: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderName, { children: "Authorization" }),
|
|
5258
5221
|
children: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5259
|
-
|
|
5222
|
+
_chunkKWV23THOcjs.Input,
|
|
5260
5223
|
{
|
|
5261
5224
|
...props,
|
|
5262
5225
|
type: "password",
|
|
@@ -5277,7 +5240,7 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
5277
5240
|
hint: "The end user the requests run as.",
|
|
5278
5241
|
labelEnd: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderName, { children: "X-Chat-Act-As" }),
|
|
5279
5242
|
children: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5280
|
-
|
|
5243
|
+
_chunkKWV23THOcjs.Input,
|
|
5281
5244
|
{
|
|
5282
5245
|
...props,
|
|
5283
5246
|
type: "email",
|
|
@@ -5303,7 +5266,7 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
5303
5266
|
error: _nullishCoalesce(errors[field], () => ( null)),
|
|
5304
5267
|
labelEnd: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderName, { children: header }),
|
|
5305
5268
|
children: (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5306
|
-
|
|
5269
|
+
_chunkKWV23THOcjs.Input,
|
|
5307
5270
|
{
|
|
5308
5271
|
...props,
|
|
5309
5272
|
type: _nullishCoalesce(copy.type, () => ( "text")),
|
|
@@ -5328,8 +5291,8 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
5328
5291
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap items-center justify-between gap-[var(--spacing-system-sf)]", children: [
|
|
5329
5292
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: status }),
|
|
5330
5293
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-[var(--spacing-system-xsf)]", children: [
|
|
5331
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5332
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5294
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCDBFQVPAcjs.Button, { variant: "outline", onClick: clear, disabled: !activeEmail && !secret && !email, children: "Clear" }),
|
|
5295
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCDBFQVPAcjs.Button, { onClick: save, disabled: !canSave, children: "Save" })
|
|
5333
5296
|
] })
|
|
5334
5297
|
] })
|
|
5335
5298
|
] }) });
|
|
@@ -5337,21 +5300,21 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
5337
5300
|
|
|
5338
5301
|
// src/components/chat/index.ts
|
|
5339
5302
|
var LoadedEmbeddableChat = _react.lazy.call(void 0,
|
|
5340
|
-
() => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-
|
|
5303
|
+
() => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-HEL4Z2FL.cjs"))).then((module) => ({ default: module.EmbeddableChat }))
|
|
5341
5304
|
);
|
|
5342
5305
|
var EmbeddableChat = _react.forwardRef.call(void 0, (props, ref) => {
|
|
5343
5306
|
const [loadRequested, setLoadRequested] = _react.useState.call(void 0, false);
|
|
5344
5307
|
const load = loadRequested || Boolean(props.open) || Boolean(props.defaultOpen);
|
|
5345
|
-
_react.useEffect.call(void 0, () =>
|
|
5308
|
+
_react.useEffect.call(void 0, () => _chunkFWJ5YECNcjs.holdAskAiOpens.call(void 0, ), []);
|
|
5346
5309
|
_react.useEffect.call(void 0, () => {
|
|
5347
5310
|
if (load) return void 0;
|
|
5348
5311
|
const start = () => setLoadRequested(true);
|
|
5349
|
-
if (
|
|
5350
|
-
for (const name of
|
|
5351
|
-
const cancel =
|
|
5312
|
+
if (_chunkFWJ5YECNcjs.askAiOpenIsHeld.call(void 0, )) queueMicrotask(start);
|
|
5313
|
+
for (const name of _chunkFWJ5YECNcjs.ASK_AI_OPEN_EVENTS) window.addEventListener(name, start);
|
|
5314
|
+
const cancel = _chunkFWJ5YECNcjs.onAskAiIntent.call(void 0, start);
|
|
5352
5315
|
return () => {
|
|
5353
5316
|
cancel();
|
|
5354
|
-
for (const name of
|
|
5317
|
+
for (const name of _chunkFWJ5YECNcjs.ASK_AI_OPEN_EVENTS) window.removeEventListener(name, start);
|
|
5355
5318
|
};
|
|
5356
5319
|
}, [load]);
|
|
5357
5320
|
if (!load) return null;
|
|
@@ -5571,13 +5534,4 @@ EmbeddableChat.displayName = "EmbeddableChat";
|
|
|
5571
5534
|
|
|
5572
5535
|
|
|
5573
5536
|
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
exports.InfoHint = InfoHint; exports.Field = Field; exports.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS = HUBSPOT_DO_NOT_COLLECT_FORM_PROPS; exports.FullscreenSwitchController = FullscreenSwitchController; exports.SOCIAL_PLATFORM_ALIASES = SOCIAL_PLATFORM_ALIASES; exports.normalizeSocialPlatform = normalizeSocialPlatform; exports.hostMatches = hostMatches; exports.SOCIAL_PLATFORM_ALT_HOSTS = SOCIAL_PLATFORM_ALT_HOSTS; exports.socialPlatformHosts = socialPlatformHosts; exports.classifySocialHost = classifySocialHost; exports.pickSocialLink = pickSocialLink; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.TURN_ROW_CLASS = TURN_ROW_CLASS; exports.TURN_BODY_CLASS = TURN_BODY_CLASS; exports.ChatTurn = ChatTurn; exports.ChatTurnNameSkeleton = ChatTurnNameSkeleton; exports.ChatTurnSkeleton = ChatTurnSkeleton; exports.AI_PROVIDERS = AI_PROVIDERS; exports.aiProvider = aiProvider; exports.TOKEN_RATE_EMPTY = TOKEN_RATE_EMPTY; exports.formatTokenRate = formatTokenRate; exports.tokenCost = tokenCost; exports.formatTokenAmount = formatTokenAmount; exports.tokensForBalance = tokensForBalance; exports.tokenRateProviderLabel = tokenRateProviderLabel; exports.groupTokenRatesByProvider = groupTokenRatesByProvider; exports.TRIAL_TERMS = TRIAL_TERMS; exports.trialLengthLabel = trialLengthLabel; exports.trialLabels = trialLabels; exports.isOwnClick = isOwnClick; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.SEO_DESCRIPTION_MAX_LENGTH = SEO_DESCRIPTION_MAX_LENGTH; exports.BRAND_MARK_SVGS = BRAND_MARK_SVGS; exports.brandMarkDataUri = brandMarkDataUri; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.TICKET_OPEN_PARAM = TICKET_OPEN_PARAM; exports.buildTicketOpenHref = buildTicketOpenHref; exports.ToolTypeValues = ToolTypeValues; exports.toolLabels = toolLabels; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.BITE_ID_RE = BITE_ID_RE; exports.generateBiteId = generateBiteId; exports.ensureBiteIds = ensureBiteIds; exports.matchBiteElement = matchBiteElement; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.DOWNLOAD_PAGE_PATH = DOWNLOAD_PAGE_PATH; exports.resolveMobileStoreUrl = resolveMobileStoreUrl; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.getCountryByName = getCountryByName; exports.getFlagFromCountryName = getFlagFromCountryName; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.COMPLIANCE_STANDARDS = COMPLIANCE_STANDARDS; exports.complianceStandardForName = complianceStandardForName; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.isDismissedCookieValue = isDismissedCookieValue; exports.readDismissCookie = readDismissCookie; exports.writeDismissCookie = writeDismissCookie; exports.clearDismissCookie = clearDismissCookie; exports.dismissedBeforePaintScript = dismissedBeforePaintScript; exports.announcementDismissCookieName = announcementDismissCookieName; exports.dismissAnnouncement = dismissAnnouncement; exports.isAnnouncementDismissed = isAnnouncementDismissed; exports.clearAnnouncementDismissals = clearAnnouncementDismissals; exports.clearLegacyAnnouncementCache = clearLegacyAnnouncementCache; exports.isAnnouncementOnSurface = isAnnouncementOnSurface; exports.afterPageLoad = afterPageLoad; exports.WALKTHROUGH_VIDEO_DISMISS_KEY = WALKTHROUGH_VIDEO_DISMISS_KEY; exports.walkthroughDismissCookieName = walkthroughDismissCookieName; exports.isWalkthroughDismissed = isWalkthroughDismissed; exports.dismissWalkthrough = dismissWalkthrough; exports.clearWalkthroughDismissal = clearWalkthroughDismissal; exports.WALKTHROUGH_OPEN_QUERY_PARAM = WALKTHROUGH_OPEN_QUERY_PARAM; exports.withWalkthroughOpenParam = withWalkthroughOpenParam; exports.createSseSubscription = createSseSubscription; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.openInNewTab = openInNewTab; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.LEGAL_DOCUMENT_TYPES = LEGAL_DOCUMENT_TYPES; exports.isLegalDocumentType = isLegalDocumentType; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.extractSections = extractSections; exports.SCHEDULING_SLUG_SHAPE = SCHEDULING_SLUG_SHAPE; exports.MAX_MONTH_OFFSET = MAX_MONTH_OFFSET; exports.normalizeSchedulingSlug = normalizeSchedulingSlug; exports.isValidSchedulingSlug = isValidSchedulingSlug; exports.parseSchedulingLinkName = parseSchedulingLinkName; exports.isListedSchedulingName = isListedSchedulingName; exports.schedulingAudienceKey = schedulingAudienceKey; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.FIRST_TOUCH_ATTRIBUTION_KEY = FIRST_TOUCH_ATTRIBUTION_KEY; exports.sanitizeLandingUrl = sanitizeLandingUrl; exports.parseAttributionFromUrl = parseAttributionFromUrl; exports.captureFirstTouchAttribution = captureFirstTouchAttribution; exports.getFirstTouchAttribution = getFirstTouchAttribution; exports.withFirstTouchAttribution = withFirstTouchAttribution; exports.clearFirstTouchAttribution = clearFirstTouchAttribution; exports.ODS_SPACING_TOKENS = ODS_SPACING_TOKENS; exports.ODS_SPACING_TOKEN_PATTERN = ODS_SPACING_TOKEN_PATTERN; exports.ODS_SPACING_PROPS = ODS_SPACING_PROPS; exports.TAILWIND_STEP_TO_ODS_TOKEN = TAILWIND_STEP_TO_ODS_TOKEN; exports.CSV_CONTENT_TYPE = CSV_CONTENT_TYPE; exports.csvEscape = csvEscape; exports.toCsv = toCsv; exports.copyrightLine = copyrightLine; exports.isValidPathPattern = isValidPathPattern; exports.matchesPathPattern = matchesPathPattern; exports.pathMatchesAny = pathMatchesAny; exports.formatDemoClock = formatDemoClock; exports.demoClockTimes = demoClockTimes; exports.openAskAi = openAskAi; exports.MingoAiButton = MingoAiButton; exports.AskPrompts = AskPrompts; exports.AskCard = AskCard; exports.ASK_PROMPTS_DEFAULT_COUNT = ASK_PROMPTS_DEFAULT_COUNT; exports.buildAskPromptsUrl = buildAskPromptsUrl; exports.assistantAvailable = assistantAvailable; exports.useAskPrompts = useAskPrompts; exports.useAssistantOpen = useAssistantOpen; exports.useAskSurface = useAskSurface; exports.AssistantAskPrompts = AssistantAskPrompts; exports.QuickActionMarquee = QuickActionMarquee; exports.ChatTicketItemSkeleton = ChatTicketItemSkeleton; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.ChatTopNavigation = ChatTopNavigation; exports.OnboardingCarousel = OnboardingCarousel; exports.ADMIN_CONTENT_CARD_GRID_CLASS = ADMIN_CONTENT_CARD_GRID_CLASS; exports.AdminContentCardGridSkeleton = AdminContentCardGridSkeleton; exports.AdminContentCardGrid = AdminContentCardGrid; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.useScriptedStream = useScriptedStream; exports.RESYNC_AFTER_HIDDEN_MS = RESYNC_AFTER_HIDDEN_MS; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useSSE = useSSE; exports.useChat = useChat; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.normalizeHistoricalMessageData = normalizeHistoricalMessageData; exports.isHistoricalUserTurn = isHistoricalUserTurn; exports.buildStreamFrames = buildStreamFrames; exports.ProxyCredentialsPanel = ProxyCredentialsPanel; exports.EmbeddableChat = EmbeddableChat;
|
|
5537
|
+
exports.InfoHint = InfoHint; exports.Field = Field; exports.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS = HUBSPOT_DO_NOT_COLLECT_FORM_PROPS; exports.FullscreenSwitchController = FullscreenSwitchController; exports.SOCIAL_PLATFORM_ALIASES = SOCIAL_PLATFORM_ALIASES; exports.normalizeSocialPlatform = normalizeSocialPlatform; exports.hostMatches = hostMatches; exports.SOCIAL_PLATFORM_ALT_HOSTS = SOCIAL_PLATFORM_ALT_HOSTS; exports.socialPlatformHosts = socialPlatformHosts; exports.classifySocialHost = classifySocialHost; exports.pickSocialLink = pickSocialLink; exports.ChatMessageRow = ChatMessageRow; exports.TURN_ROW_CLASS = TURN_ROW_CLASS; exports.TURN_BODY_CLASS = TURN_BODY_CLASS; exports.ChatTurn = ChatTurn; exports.AI_PROVIDERS = AI_PROVIDERS; exports.aiProvider = aiProvider; exports.TOKEN_RATE_EMPTY = TOKEN_RATE_EMPTY; exports.formatTokenRate = formatTokenRate; exports.tokenCost = tokenCost; exports.formatTokenAmount = formatTokenAmount; exports.tokensForBalance = tokensForBalance; exports.tokenRateProviderLabel = tokenRateProviderLabel; exports.groupTokenRatesByProvider = groupTokenRatesByProvider; exports.TRIAL_TERMS = TRIAL_TERMS; exports.trialLengthLabel = trialLengthLabel; exports.trialLabels = trialLabels; exports.isOwnClick = isOwnClick; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.SEO_DESCRIPTION_MAX_LENGTH = SEO_DESCRIPTION_MAX_LENGTH; exports.BRAND_MARK_SVGS = BRAND_MARK_SVGS; exports.brandMarkDataUri = brandMarkDataUri; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.TICKET_OPEN_PARAM = TICKET_OPEN_PARAM; exports.buildTicketOpenHref = buildTicketOpenHref; exports.ToolTypeValues = ToolTypeValues; exports.toolLabels = toolLabels; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.BITE_ID_RE = BITE_ID_RE; exports.generateBiteId = generateBiteId; exports.ensureBiteIds = ensureBiteIds; exports.matchBiteElement = matchBiteElement; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.DOWNLOAD_PAGE_PATH = DOWNLOAD_PAGE_PATH; exports.resolveMobileStoreUrl = resolveMobileStoreUrl; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.getCountryByName = getCountryByName; exports.getFlagFromCountryName = getFlagFromCountryName; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.COMPLIANCE_STANDARDS = COMPLIANCE_STANDARDS; exports.complianceStandardForName = complianceStandardForName; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.isDismissedCookieValue = isDismissedCookieValue; exports.readDismissCookie = readDismissCookie; exports.writeDismissCookie = writeDismissCookie; exports.clearDismissCookie = clearDismissCookie; exports.dismissedBeforePaintScript = dismissedBeforePaintScript; exports.announcementDismissCookieName = announcementDismissCookieName; exports.dismissAnnouncement = dismissAnnouncement; exports.isAnnouncementDismissed = isAnnouncementDismissed; exports.clearAnnouncementDismissals = clearAnnouncementDismissals; exports.clearLegacyAnnouncementCache = clearLegacyAnnouncementCache; exports.isAnnouncementOnSurface = isAnnouncementOnSurface; exports.afterPageLoad = afterPageLoad; exports.WALKTHROUGH_VIDEO_DISMISS_KEY = WALKTHROUGH_VIDEO_DISMISS_KEY; exports.walkthroughDismissCookieName = walkthroughDismissCookieName; exports.isWalkthroughDismissed = isWalkthroughDismissed; exports.dismissWalkthrough = dismissWalkthrough; exports.clearWalkthroughDismissal = clearWalkthroughDismissal; exports.WALKTHROUGH_OPEN_QUERY_PARAM = WALKTHROUGH_OPEN_QUERY_PARAM; exports.withWalkthroughOpenParam = withWalkthroughOpenParam; exports.createSseSubscription = createSseSubscription; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.openInNewTab = openInNewTab; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.LEGAL_DOCUMENT_TYPES = LEGAL_DOCUMENT_TYPES; exports.isLegalDocumentType = isLegalDocumentType; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.extractSections = extractSections; exports.SCHEDULING_SLUG_SHAPE = SCHEDULING_SLUG_SHAPE; exports.MAX_MONTH_OFFSET = MAX_MONTH_OFFSET; exports.normalizeSchedulingSlug = normalizeSchedulingSlug; exports.isValidSchedulingSlug = isValidSchedulingSlug; exports.parseSchedulingLinkName = parseSchedulingLinkName; exports.isListedSchedulingName = isListedSchedulingName; exports.schedulingAudienceKey = schedulingAudienceKey; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.FIRST_TOUCH_ATTRIBUTION_KEY = FIRST_TOUCH_ATTRIBUTION_KEY; exports.sanitizeLandingUrl = sanitizeLandingUrl; exports.parseAttributionFromUrl = parseAttributionFromUrl; exports.captureFirstTouchAttribution = captureFirstTouchAttribution; exports.getFirstTouchAttribution = getFirstTouchAttribution; exports.withFirstTouchAttribution = withFirstTouchAttribution; exports.clearFirstTouchAttribution = clearFirstTouchAttribution; exports.ODS_SPACING_TOKENS = ODS_SPACING_TOKENS; exports.ODS_SPACING_TOKEN_PATTERN = ODS_SPACING_TOKEN_PATTERN; exports.ODS_SPACING_PROPS = ODS_SPACING_PROPS; exports.TAILWIND_STEP_TO_ODS_TOKEN = TAILWIND_STEP_TO_ODS_TOKEN; exports.CSV_CONTENT_TYPE = CSV_CONTENT_TYPE; exports.csvEscape = csvEscape; exports.toCsv = toCsv; exports.copyrightLine = copyrightLine; exports.isValidPathPattern = isValidPathPattern; exports.matchesPathPattern = matchesPathPattern; exports.pathMatchesAny = pathMatchesAny; exports.formatDemoClock = formatDemoClock; exports.demoClockTimes = demoClockTimes; exports.openAskAi = openAskAi; exports.MingoAiButton = MingoAiButton; exports.ASK_PROMPTS_DEFAULT_COUNT = ASK_PROMPTS_DEFAULT_COUNT; exports.buildAskPromptsUrl = buildAskPromptsUrl; exports.assistantAvailable = assistantAvailable; exports.useAskPrompts = useAskPrompts; exports.useAssistantOpen = useAssistantOpen; exports.useAskSurface = useAskSurface; exports.AskPrompts = AskPrompts; exports.AskCard = AskCard; exports.AssistantAskPrompts = AssistantAskPrompts; exports.QuickActionMarquee = QuickActionMarquee; exports.ChatTicketItem = ChatTicketItem; exports.CHAT_TICKET_LIST_SKELETON_ROWS = CHAT_TICKET_LIST_SKELETON_ROWS; exports.ChatTicketList = ChatTicketList; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.ChatTopNavigation = ChatTopNavigation; exports.OnboardingCarousel = OnboardingCarousel; exports.ADMIN_CONTENT_CARD_GRID_CLASS = ADMIN_CONTENT_CARD_GRID_CLASS; exports.AdminContentCardGrid = AdminContentCardGrid; exports.SlackMessageCard = SlackMessageCard; exports.HubspotTicketCard = HubspotTicketCard; exports.DataRoomDocCard = DataRoomDocCard; exports.CampaignCardAdmin = CampaignCardAdmin; exports.GenericEntityCard = GenericEntityCard; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.useScriptedStream = useScriptedStream; exports.RESYNC_AFTER_HIDDEN_MS = RESYNC_AFTER_HIDDEN_MS; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useSSE = useSSE; exports.useChat = useChat; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.normalizeHistoricalMessageData = normalizeHistoricalMessageData; exports.isHistoricalUserTurn = isHistoricalUserTurn; exports.buildStreamFrames = buildStreamFrames; exports.ProxyCredentialsPanel = ProxyCredentialsPanel; exports.EmbeddableChat = EmbeddableChat;
|