@flamingo-stack/openframe-frontend-core 0.0.736 → 0.0.738
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/{chunk-AZL332TK.cjs → chunk-2QMBXGMQ.cjs} +15 -2
- package/dist/{chunk-7V2KP2TB.cjs → chunk-2SBHPHLS.cjs} +4 -4
- package/dist/{chunk-LIH5OQLY.cjs → chunk-2UZS3ZH7.cjs} +8 -8
- package/dist/{chunk-MGW5DO6P.cjs → chunk-3BBOAMWJ.cjs} +7 -7
- package/dist/{chunk-HZJRERJW.cjs → chunk-3RFQPQ7Z.cjs} +3 -3
- package/dist/{chunk-T27CVQBO.cjs → chunk-4T6ETBL4.cjs} +151 -83
- package/dist/{chunk-JM54CNZZ.cjs → chunk-4YQNJJWM.cjs} +95 -95
- package/dist/{chunk-UBQSOB3X.cjs → chunk-5BKAUXLR.cjs} +4 -4
- package/dist/{chunk-YADG5Q7C.cjs → chunk-63N4FN5V.cjs} +3 -3
- package/dist/{chunk-URX2YTCL.cjs → chunk-66R4NGGU.cjs} +77 -71
- package/dist/{chunk-EJOXXJJB.cjs → chunk-7F3V45AH.cjs} +29 -29
- package/dist/{chunk-BDF3FNOC.cjs → chunk-7GETNFZ5.cjs} +49 -49
- package/dist/{chunk-L4ZNR5V7.cjs → chunk-7LTG6CJ3.cjs} +67 -67
- package/dist/{chunk-MJGX357L.cjs → chunk-B27QEHYR.cjs} +2 -2
- package/dist/{chunk-OV6BGMEL.cjs → chunk-BRKTN6UR.cjs} +340 -328
- package/dist/{chunk-VRNNIV5Y.cjs → chunk-EG545WGV.cjs} +4 -4
- package/dist/{chunk-ZJNYWNCB.cjs → chunk-FG7HTGT3.cjs} +24 -24
- package/dist/{chunk-77SD7RXY.cjs → chunk-GAF4L3JW.cjs} +7 -7
- package/dist/{chunk-FTGVG6FW.cjs → chunk-GQZOUVXC.cjs} +34 -34
- package/dist/{chunk-ZEX5WU35.cjs → chunk-HNYLTEIS.cjs} +48 -69
- package/dist/{chunk-FCGLSWKR.cjs → chunk-IFS4AH77.cjs} +19 -1
- package/dist/{chunk-L535OD7V.cjs → chunk-JZNESLJX.cjs} +2 -2
- package/dist/{chunk-SZFA2LQR.cjs → chunk-KQ4IKALJ.cjs} +35 -35
- package/dist/{chunk-EX2GYIGW.cjs → chunk-LY5VOKV7.cjs} +6 -6
- package/dist/{chunk-XLSVQJBA.cjs → chunk-MLKL2YVE.cjs} +44 -44
- package/dist/{chunk-BL5GOCHP.cjs → chunk-MTNNYSP3.cjs} +26 -18
- package/dist/{chunk-ZRYKDN2J.cjs → chunk-N2CISBJJ.cjs} +15 -15
- package/dist/chunk-N5NDPULP.cjs +57 -0
- package/dist/{chunk-P6Z3EBPJ.cjs → chunk-R36NZTUJ.cjs} +26 -26
- package/dist/{chunk-OJUMVOMP.cjs → chunk-U5BRSRXA.cjs} +923 -759
- package/dist/{chunk-DUXLZPMJ.cjs → chunk-UMO55S55.cjs} +2 -2
- package/dist/{chunk-JGGSRCRD.cjs → chunk-XGHZIYQN.cjs} +24 -24
- package/dist/{chunk-NONQUGRP.cjs → chunk-XMNLPQ75.cjs} +12 -12
- package/dist/{cloud-tenants-M55HMW6F.cjs → cloud-tenants-FTQGWXHS.cjs} +16 -16
- package/dist/components/agent-identity.d.ts +8 -1
- package/dist/components/agent-identity.d.ts.map +1 -1
- package/dist/components/agent-identity.js +6 -1
- package/dist/components/calendar.cjs +4 -4
- package/dist/components/case-studies/index.cjs +28 -28
- package/dist/components/chat/chat-turn.d.ts +23 -0
- package/dist/components/chat/chat-turn.d.ts.map +1 -0
- package/dist/components/chat/chat-turn.js +30 -0
- package/dist/components/chat/entity-cards/index.d.ts +1 -0
- package/dist/components/chat/entity-cards/index.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/index.js +2 -0
- package/dist/components/chat/hooks/use-ask-prompts.d.ts +1 -1
- package/dist/components/chat/hooks/use-ask-prompts.js +1 -1
- package/dist/components/chat/index.cjs +16 -12
- package/dist/components/chat/index.d.ts +1 -0
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +1 -0
- package/dist/components/chat/mingo-info-card.d.ts +17 -1
- package/dist/components/chat/mingo-info-card.d.ts.map +1 -1
- package/dist/components/chat/mingo-info-card.js +15 -3
- package/dist/components/contact/index.cjs +17 -17
- package/dist/components/docs/index.cjs +20 -20
- package/dist/components/embeds/index.cjs +17 -17
- package/dist/components/faq/faq-ask-card.d.ts +5 -4
- package/dist/components/faq/faq-ask-card.d.ts.map +1 -1
- package/dist/components/faq/faq-document-page.d.ts +3 -1
- package/dist/components/faq/faq-document-page.d.ts.map +1 -1
- package/dist/components/faq/faq-document-page.js +2 -0
- package/dist/components/faq/faq-section.d.ts +37 -5
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/faq-section.js +36 -9
- package/dist/components/faq/index.cjs +23 -17
- 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 +4 -2
- package/dist/components/features/auth/auth-benefits-panel.d.ts +3 -5
- package/dist/components/features/auth/auth-benefits-panel.d.ts.map +1 -1
- package/dist/components/features/auth/auth-benefits-panel.js +3 -19
- package/dist/components/features/conversation-card.d.ts +12 -4
- package/dist/components/features/conversation-card.d.ts.map +1 -1
- package/dist/components/features/conversation-card.js +30 -38
- package/dist/components/features/index.cjs +16 -16
- package/dist/components/help-center-pages/delivery-page.d.ts +8 -1
- package/dist/components/help-center-pages/delivery-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/delivery-page.js +16 -4
- package/dist/components/help-center-pages/download-apps-page.d.ts +8 -1
- package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/download-apps-page.js +11 -6
- package/dist/components/help-center-pages/index.cjs +216 -161
- package/dist/components/help-center-pages/onboarding-guides-catalog-page.d.ts +8 -1
- package/dist/components/help-center-pages/onboarding-guides-catalog-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/onboarding-guides-catalog-page.js +26 -14
- package/dist/components/help-center-pages/product-releases-list-page.d.ts +8 -1
- package/dist/components/help-center-pages/product-releases-list-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/product-releases-list-page.js +24 -12
- package/dist/components/help-center-pages/roadmap-page.d.ts +8 -1
- package/dist/components/help-center-pages/roadmap-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/roadmap-page.js +25 -13
- package/dist/components/index.cjs +103 -79
- package/dist/components/meeting-scheduler/index.cjs +49 -49
- package/dist/components/navigation/index.cjs +19 -19
- package/dist/components/onboarding-guides/index.cjs +19 -19
- package/dist/components/platform/ToolBadge.d.ts.map +1 -1
- package/dist/components/platform/ToolBadge.js +4 -3
- package/dist/components/product-demo/index.cjs +8 -8
- package/dist/components/related-content/index.cjs +8 -8
- package/dist/components/shared/dev-section/dev-section-page.d.ts +8 -1
- package/dist/components/shared/dev-section/dev-section-page.d.ts.map +1 -1
- package/dist/components/shared/dev-section/dev-section-page.js +8 -3
- package/dist/components/shared/legal-document/legal-document-page.d.ts +8 -1
- package/dist/components/shared/legal-document/legal-document-page.d.ts.map +1 -1
- package/dist/components/shared/legal-document/legal-document-page.js +4 -1
- package/dist/components/tickets/index.cjs +22 -21
- package/dist/components/ui/app-window-frame.d.ts +7 -1
- package/dist/components/ui/app-window-frame.d.ts.map +1 -1
- package/dist/components/ui/app-window-frame.js +10 -2
- package/dist/components/ui/benefit-list.d.ts +42 -0
- package/dist/components/ui/benefit-list.d.ts.map +1 -0
- package/dist/components/ui/benefit-list.js +62 -0
- package/dist/components/ui/button/button.d.ts +1 -0
- package/dist/components/ui/button/button.d.ts.map +1 -1
- package/dist/components/ui/button/button.js +15 -2
- package/dist/components/ui/dropdown-button.d.ts +20 -2
- package/dist/components/ui/dropdown-button.d.ts.map +1 -1
- package/dist/components/ui/dropdown-button.js +57 -1
- package/dist/components/ui/file-manager/index.cjs +11 -11
- package/dist/components/ui/index.cjs +32 -16
- package/dist/components/ui/index.d.ts +3 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +3 -0
- package/dist/components/ui/leader-row.d.ts +17 -0
- package/dist/components/ui/leader-row.d.ts.map +1 -0
- package/dist/components/ui/leader-row.js +14 -0
- package/dist/components/ui/strip-card.d.ts +23 -0
- package/dist/components/ui/strip-card.d.ts.map +1 -0
- package/dist/components/ui/strip-card.js +56 -0
- package/dist/contexts/assistant-runtime-context.d.ts +5 -5
- package/dist/{devices-WWJZFG6E.cjs → devices-MPI5HUQS.cjs} +17 -17
- package/dist/{embeddable-chat-76IJ6TQZ.cjs → embeddable-chat-7WLUDBGK.cjs} +84 -84
- package/dist/index.cjs +46 -20
- package/dist/{knowledge-F4YFQT3G.cjs → knowledge-BS663XXL.cjs} +17 -17
- package/dist/{logs-GAYEGEZM.cjs → logs-KS2A2VN5.cjs} +25 -25
- package/dist/{policies-ZOVJCJWX.cjs → policies-H3OK6H4Q.cjs} +20 -20
- package/dist/{remote-session-Z4YZFG5E.cjs → remote-session-EHKXU4HI.cjs} +7 -7
- package/dist/{software-update-H4YE5GMJ.cjs → software-update-HMMMWIL3.cjs} +20 -20
- package/dist/{tickets-board-JOSYLOS7.cjs → tickets-board-3YJKOOZE.cjs} +10 -10
- package/dist/types/faq.d.ts +17 -0
- package/dist/types/faq.d.ts.map +1 -1
- package/dist/types/faq.js +4 -0
- package/dist/types/index.cjs +4 -0
- package/dist/utils/demo-clock.d.ts +22 -0
- package/dist/utils/demo-clock.d.ts.map +1 -0
- package/dist/utils/demo-clock.js +40 -0
- package/dist/utils/identity-tint.d.ts +13 -0
- package/dist/utils/identity-tint.d.ts.map +1 -0
- package/dist/utils/identity-tint.js +14 -0
- package/dist/utils/index.cjs +54 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +2 -0
- package/dist/{video-file-player-6NWGXZ3W.cjs → video-file-player-ZH2ILAPO.cjs} +12 -12
- package/package.json +1 -1
- package/src/components/agent-identity.tsx +12 -1
- package/src/components/chat/chat-turn.tsx +52 -0
- package/src/components/chat/entity-cards/index.ts +1 -0
- package/src/components/chat/hooks/use-ask-prompts.ts +2 -2
- package/src/components/chat/index.ts +1 -0
- package/src/components/chat/mingo-info-card.tsx +39 -4
- package/src/components/faq/faq-ask-card.tsx +5 -4
- package/src/components/faq/faq-document-page.tsx +4 -0
- package/src/components/faq/faq-section.tsx +86 -14
- package/src/components/faq/index.ts +1 -1
- package/src/components/features/auth/auth-benefits-panel.tsx +5 -32
- package/src/components/features/conversation-card.tsx +48 -46
- package/src/components/help-center-pages/delivery-page.tsx +16 -1
- package/src/components/help-center-pages/download-apps-page.tsx +9 -0
- package/src/components/help-center-pages/onboarding-guides-catalog-page.tsx +16 -1
- package/src/components/help-center-pages/product-releases-list-page.tsx +16 -1
- package/src/components/help-center-pages/roadmap-page.tsx +16 -1
- package/src/components/platform/ToolBadge.tsx +4 -3
- package/src/components/shared/dev-section/dev-section-page.tsx +9 -0
- package/src/components/shared/legal-document/legal-document-page.tsx +9 -0
- package/src/components/ui/app-window-frame.tsx +18 -2
- package/src/components/ui/benefit-list.tsx +97 -0
- package/src/components/ui/button/button.tsx +14 -1
- package/src/components/ui/dropdown-button.tsx +73 -1
- package/src/components/ui/index.ts +3 -0
- package/src/components/ui/leader-row.tsx +28 -0
- package/src/components/ui/strip-card.tsx +68 -0
- package/src/contexts/assistant-runtime-context.tsx +5 -5
- package/src/types/faq.ts +18 -0
- package/src/utils/demo-clock.ts +62 -0
- package/src/utils/identity-tint.ts +23 -0
- package/src/utils/index.ts +2 -0
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkN2CISBJJcjs = require('./chunk-N2CISBJJ.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunk3RFQPQ7Zcjs = require('./chunk-3RFQPQ7Z.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
@@ -32,7 +32,7 @@ var _chunkHZJRERJWcjs = require('./chunk-HZJRERJW.cjs');
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkUMO55S55cjs = require('./chunk-UMO55S55.cjs');
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
@@ -41,7 +41,7 @@ var _chunkDUXLZPMJcjs = require('./chunk-DUXLZPMJ.cjs');
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
var _chunkB27QEHYRcjs = require('./chunk-B27QEHYR.cjs');
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
var _chunkREEXZ35Ocjs = require('./chunk-REEXZ35O.cjs');
|
|
@@ -315,7 +315,7 @@ var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
|
|
|
315
315
|
|
|
316
316
|
|
|
317
317
|
|
|
318
|
-
var
|
|
318
|
+
var _chunk7F3V45AHcjs = require('./chunk-7F3V45AH.cjs');
|
|
319
319
|
|
|
320
320
|
|
|
321
321
|
var _chunkMYBTNOS6cjs = require('./chunk-MYBTNOS6.cjs');
|
|
@@ -359,7 +359,7 @@ var _chunkK6VWTUCHcjs = require('./chunk-K6VWTUCH.cjs');
|
|
|
359
359
|
var _chunkZ74QE57Tcjs = require('./chunk-Z74QE57T.cjs');
|
|
360
360
|
|
|
361
361
|
|
|
362
|
-
var
|
|
362
|
+
var _chunk2QMBXGMQcjs = require('./chunk-2QMBXGMQ.cjs');
|
|
363
363
|
|
|
364
364
|
|
|
365
365
|
var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
|
|
@@ -946,7 +946,7 @@ var MermaidDiagram = ({
|
|
|
946
946
|
"aria-label": "Diagram zoom",
|
|
947
947
|
children: [
|
|
948
948
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
949
|
-
|
|
949
|
+
_chunk2QMBXGMQcjs.Button,
|
|
950
950
|
{
|
|
951
951
|
variant: "outline",
|
|
952
952
|
size: "icon-sm",
|
|
@@ -958,7 +958,7 @@ var MermaidDiagram = ({
|
|
|
958
958
|
}
|
|
959
959
|
),
|
|
960
960
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
961
|
-
|
|
961
|
+
_chunk2QMBXGMQcjs.Button,
|
|
962
962
|
{
|
|
963
963
|
variant: "outline",
|
|
964
964
|
size: "compact",
|
|
@@ -973,7 +973,7 @@ var MermaidDiagram = ({
|
|
|
973
973
|
}
|
|
974
974
|
),
|
|
975
975
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
976
|
-
|
|
976
|
+
_chunk2QMBXGMQcjs.Button,
|
|
977
977
|
{
|
|
978
978
|
variant: "outline",
|
|
979
979
|
size: "icon-sm",
|
|
@@ -985,7 +985,7 @@ var MermaidDiagram = ({
|
|
|
985
985
|
}
|
|
986
986
|
),
|
|
987
987
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
988
|
-
|
|
988
|
+
_chunk2QMBXGMQcjs.Button,
|
|
989
989
|
{
|
|
990
990
|
variant: "outline",
|
|
991
991
|
size: "icon-sm",
|
|
@@ -3137,7 +3137,7 @@ function chatListensForAskAiOpens() {
|
|
|
3137
3137
|
|
|
3138
3138
|
// src/components/chat/chat-appearance-context.tsx
|
|
3139
3139
|
|
|
3140
|
-
var ChatAppearanceContext = _react.createContext.call(void 0,
|
|
3140
|
+
var ChatAppearanceContext = _react.createContext.call(void 0, _chunkUMO55S55cjs.CHAT_APPEARANCE.CLASSIC);
|
|
3141
3141
|
function useChatAppearance() {
|
|
3142
3142
|
return _react.useContext.call(void 0, ChatAppearanceContext);
|
|
3143
3143
|
}
|
|
@@ -3176,7 +3176,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
3176
3176
|
...props
|
|
3177
3177
|
}, ref) => {
|
|
3178
3178
|
const [isProcessing, setIsProcessing] = _react.useState.call(void 0, false);
|
|
3179
|
-
const isV2 = useChatAppearance() ===
|
|
3179
|
+
const isV2 = useChatAppearance() === _chunkUMO55S55cjs.CHAT_APPEARANCE.V2;
|
|
3180
3180
|
const handleApprove = async () => {
|
|
3181
3181
|
setIsProcessing(true);
|
|
3182
3182
|
try {
|
|
@@ -3199,7 +3199,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
3199
3199
|
{
|
|
3200
3200
|
ref,
|
|
3201
3201
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
3202
|
-
|
|
3202
|
+
_chunkN2CISBJJcjs.CHAT_BLOCK_CLASS,
|
|
3203
3203
|
// v2: the thread owns the space below the card.
|
|
3204
3204
|
!isV2 && "mb-[var(--spacing-system-xsf)]",
|
|
3205
3205
|
className
|
|
@@ -3207,10 +3207,10 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
3207
3207
|
...props,
|
|
3208
3208
|
children: [
|
|
3209
3209
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full whitespace-pre-line break-words text-ods-text-primary text-h4", children: _optionalChain([data, 'access', _49 => _49.explanation, 'optionalAccess', _50 => _50.trim, 'call', _51 => _51()]) || "Approval required" }),
|
|
3210
|
-
showFooterActions && status === "pending" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3210
|
+
showFooterActions && status === "pending" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2CISBJJcjs.ApprovalWaitingLine, {}),
|
|
3211
3211
|
!showFooterActions ? null : status === "pending" ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
3212
3212
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3213
|
-
|
|
3213
|
+
_chunk2QMBXGMQcjs.Button,
|
|
3214
3214
|
{
|
|
3215
3215
|
size: "small-legacy",
|
|
3216
3216
|
variant: "accent",
|
|
@@ -3225,7 +3225,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
3225
3225
|
}
|
|
3226
3226
|
),
|
|
3227
3227
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3228
|
-
|
|
3228
|
+
_chunk2QMBXGMQcjs.Button,
|
|
3229
3229
|
{
|
|
3230
3230
|
size: "small-legacy",
|
|
3231
3231
|
variant: "outline",
|
|
@@ -3239,17 +3239,17 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
3239
3239
|
children: "Reject"
|
|
3240
3240
|
}
|
|
3241
3241
|
)
|
|
3242
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3242
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2CISBJJcjs.ApprovalStatusTag, { status, resolvedByName, inlineResolver: true }) })
|
|
3243
3243
|
]
|
|
3244
3244
|
}
|
|
3245
3245
|
);
|
|
3246
3246
|
}
|
|
3247
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunk3ATAYP36cjs.cn.call(void 0, "mb-[var(--spacing-system-xsf)]",
|
|
3247
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunk3ATAYP36cjs.cn.call(void 0, "mb-[var(--spacing-system-xsf)]", _chunkN2CISBJJcjs.CHAT_BLOCK_CLASS, className), ...props, children: [
|
|
3248
3248
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ApprovalCardBody, { data }),
|
|
3249
|
-
showFooterActions && status === "pending" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3249
|
+
showFooterActions && status === "pending" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2CISBJJcjs.ApprovalWaitingLine, {}),
|
|
3250
3250
|
!showFooterActions ? null : status === "pending" ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
3251
3251
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3252
|
-
|
|
3252
|
+
_chunk2QMBXGMQcjs.Button,
|
|
3253
3253
|
{
|
|
3254
3254
|
size: "small-legacy",
|
|
3255
3255
|
variant: "accent",
|
|
@@ -3264,7 +3264,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
3264
3264
|
}
|
|
3265
3265
|
),
|
|
3266
3266
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3267
|
-
|
|
3267
|
+
_chunk2QMBXGMQcjs.Button,
|
|
3268
3268
|
{
|
|
3269
3269
|
size: "small-legacy",
|
|
3270
3270
|
variant: "outline",
|
|
@@ -3278,7 +3278,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
3278
3278
|
children: "Reject"
|
|
3279
3279
|
}
|
|
3280
3280
|
)
|
|
3281
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3281
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2CISBJJcjs.ApprovalStatusTag, { status, resolvedByName, inlineResolver: true }) })
|
|
3282
3282
|
] });
|
|
3283
3283
|
}
|
|
3284
3284
|
);
|
|
@@ -3308,7 +3308,7 @@ EscalationOfferMessage.displayName = "EscalationOfferMessage";
|
|
|
3308
3308
|
|
|
3309
3309
|
var AiAssistantInfo = _react.forwardRef.call(void 0,
|
|
3310
3310
|
({ className, icon, leading, title, body, timestamp, ...props }, ref) => {
|
|
3311
|
-
const isV2 = useChatAppearance() ===
|
|
3311
|
+
const isV2 = useChatAppearance() === _chunkUMO55S55cjs.CHAT_APPEARANCE.V2;
|
|
3312
3312
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3313
3313
|
"div",
|
|
3314
3314
|
{
|
|
@@ -3324,7 +3324,7 @@ var AiAssistantInfo = _react.forwardRef.call(void 0,
|
|
|
3324
3324
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
3325
3325
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start", children: [
|
|
3326
3326
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 flex-1 truncate text-ods-text-primary text-h4", title, children: title }),
|
|
3327
|
-
timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-right text-ods-text-secondary text-h6", children:
|
|
3327
|
+
timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-right text-ods-text-secondary text-h6", children: _chunkUMO55S55cjs.formatTime.call(void 0, timestamp) })
|
|
3328
3328
|
] }),
|
|
3329
3329
|
body != null && body !== "" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full break-words text-ods-text-secondary text-h4", children: body })
|
|
3330
3330
|
] })
|
|
@@ -3523,7 +3523,7 @@ var thoughtMdClasses = [
|
|
|
3523
3523
|
var ThinkingDisplay = _react.forwardRef.call(void 0,
|
|
3524
3524
|
({ className, text: text2, isStreaming = false, ...props }, ref) => {
|
|
3525
3525
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
3526
|
-
const { innerRef, isOverflowing, containerStyle } =
|
|
3526
|
+
const { innerRef, isOverflowing, containerStyle } = _chunkN2CISBJJcjs.useCollapsible.call(void 0, {
|
|
3527
3527
|
expanded,
|
|
3528
3528
|
collapsedHeight: 19,
|
|
3529
3529
|
disableTransition: isStreaming
|
|
@@ -3538,7 +3538,7 @@ var ThinkingDisplay = _react.forwardRef.call(void 0,
|
|
|
3538
3538
|
setExpanded(!expanded);
|
|
3539
3539
|
}
|
|
3540
3540
|
};
|
|
3541
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
3541
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk3ATAYP36cjs.cn.call(void 0, _chunkN2CISBJJcjs.CHAT_BLOCK_FRAME_CLASS, "p-1.5", className), ...props, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3542
3542
|
"div",
|
|
3543
3543
|
{
|
|
3544
3544
|
role: "button",
|
|
@@ -3556,7 +3556,7 @@ var ThinkingDisplay = _react.forwardRef.call(void 0,
|
|
|
3556
3556
|
isStreaming && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC7GIHB3Vcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" })
|
|
3557
3557
|
] }),
|
|
3558
3558
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, className: _chunk3ATAYP36cjs.cn.call(void 0, "text-sm leading-snug text-ods-text-secondary", thoughtMdClasses), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SimpleMarkdownRenderer, { content: text2, textSize: "compact" }) }) }),
|
|
3559
|
-
canToggle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[19px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3559
|
+
canToggle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[19px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2CISBJJcjs.ExpandChevron, { expanded }) })
|
|
3560
3560
|
]
|
|
3561
3561
|
}
|
|
3562
3562
|
) });
|
|
@@ -3677,9 +3677,9 @@ var iconTint = {
|
|
|
3677
3677
|
var ErrorMessageDisplay = _react.forwardRef.call(void 0,
|
|
3678
3678
|
({ className, title, details, type = "error", ...props }, ref) => {
|
|
3679
3679
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
3680
|
-
const { innerRef, containerStyle } =
|
|
3680
|
+
const { innerRef, containerStyle } = _chunkN2CISBJJcjs.useCollapsible.call(void 0, { expanded });
|
|
3681
3681
|
const hasDetails = Boolean(details);
|
|
3682
|
-
const isV2 = useChatAppearance() ===
|
|
3682
|
+
const isV2 = useChatAppearance() === _chunkUMO55S55cjs.CHAT_APPEARANCE.V2;
|
|
3683
3683
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3684
3684
|
"div",
|
|
3685
3685
|
{
|
|
@@ -3716,7 +3716,7 @@ var ErrorMessageDisplay = _react.forwardRef.call(void 0,
|
|
|
3716
3716
|
children: title
|
|
3717
3717
|
}
|
|
3718
3718
|
),
|
|
3719
|
-
hasDetails && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3719
|
+
hasDetails && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2CISBJJcjs.ExpandChevron, { expanded })
|
|
3720
3720
|
]
|
|
3721
3721
|
}
|
|
3722
3722
|
),
|
|
@@ -3765,7 +3765,7 @@ function MspOrganizationCard({
|
|
|
3765
3765
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: "Your IT is managed by" }),
|
|
3766
3766
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: _nullishCoalesce(title, () => ( name)) })
|
|
3767
3767
|
] }),
|
|
3768
|
-
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3768
|
+
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { asChild: true, variant: "outline", size: "icon-sm", "aria-label": actionLabel, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noreferrer noopener", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEDVT7OAScjs.ExternalLinkIcon, {}) }) }) : onOpenWebsite ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { variant: "outline", size: "icon-sm", "aria-label": actionLabel, onClick: onOpenWebsite, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEDVT7OAScjs.ExternalLinkIcon, {}) }) : null
|
|
3769
3769
|
]
|
|
3770
3770
|
}
|
|
3771
3771
|
);
|
|
@@ -3786,7 +3786,7 @@ function MspOrganizationCard({
|
|
|
3786
3786
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h3", children: _nullishCoalesce(title, () => ( `Your IT is managed by ${name}`)) }),
|
|
3787
3787
|
website ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: website }) : null
|
|
3788
3788
|
] }),
|
|
3789
|
-
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3789
|
+
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { asChild: true, variant: "outline", size: "icon", "aria-label": actionLabel, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noreferrer noopener", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEDVT7OAScjs.ExternalLinkIcon, {}) }) }) : onOpenWebsite ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { variant: "outline", size: "icon", "aria-label": actionLabel, onClick: onOpenWebsite, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEDVT7OAScjs.ExternalLinkIcon, {}) }) : null
|
|
3790
3790
|
]
|
|
3791
3791
|
}
|
|
3792
3792
|
);
|
|
@@ -3895,7 +3895,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
3895
3895
|
...props,
|
|
3896
3896
|
children: [
|
|
3897
3897
|
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3898
|
-
|
|
3898
|
+
_chunk2QMBXGMQcjs.Button,
|
|
3899
3899
|
{
|
|
3900
3900
|
onClick: onBack,
|
|
3901
3901
|
variant: "transparent",
|
|
@@ -3935,7 +3935,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
3935
3935
|
] }),
|
|
3936
3936
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1", children: [
|
|
3937
3937
|
showNewChat && onNewChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3938
|
-
|
|
3938
|
+
_chunk2QMBXGMQcjs.Button,
|
|
3939
3939
|
{
|
|
3940
3940
|
onClick: onNewChat,
|
|
3941
3941
|
variant: "transparent",
|
|
@@ -3946,7 +3946,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
3946
3946
|
}
|
|
3947
3947
|
),
|
|
3948
3948
|
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3949
|
-
|
|
3949
|
+
_chunk2QMBXGMQcjs.Button,
|
|
3950
3950
|
{
|
|
3951
3951
|
onClick: onClose,
|
|
3952
3952
|
variant: "transparent",
|
|
@@ -3991,9 +3991,9 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
3991
3991
|
)
|
|
3992
3992
|
] }),
|
|
3993
3993
|
(ticketInfo.status || ticketInfo.statusName) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3994
|
-
|
|
3994
|
+
_chunkN2CISBJJcjs.TicketStatusTag,
|
|
3995
3995
|
{
|
|
3996
|
-
...
|
|
3996
|
+
..._chunkN2CISBJJcjs.resolveStatusTagProps.call(void 0, {
|
|
3997
3997
|
status: ticketInfo.status,
|
|
3998
3998
|
statusKind: ticketInfo.statusKind,
|
|
3999
3999
|
statusName: ticketInfo.statusName,
|
|
@@ -4550,11 +4550,11 @@ var remarkMentionChips = () => {
|
|
|
4550
4550
|
// src/components/chat/tool-execution-display.tsx
|
|
4551
4551
|
|
|
4552
4552
|
|
|
4553
|
-
var COMMAND_BODY_KEYS = new Set(
|
|
4553
|
+
var COMMAND_BODY_KEYS = new Set(_chunkN2CISBJJcjs.COMMAND_BODY_ARG_KEYS);
|
|
4554
4554
|
var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
4555
4555
|
({ className, message, assistantType, variant = "admin", ...props }, ref) => {
|
|
4556
4556
|
const [expanded, setExpanded] = _react.useState.call(void 0, false);
|
|
4557
|
-
const { innerRef, containerStyle } =
|
|
4557
|
+
const { innerRef, containerStyle } = _chunkN2CISBJJcjs.useCollapsible.call(void 0, { expanded });
|
|
4558
4558
|
const isClient = assistantType === "fae";
|
|
4559
4559
|
const isClientView = variant === "client";
|
|
4560
4560
|
const isExecuting = message.type === "EXECUTING_TOOL";
|
|
@@ -4596,7 +4596,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
4596
4596
|
}
|
|
4597
4597
|
),
|
|
4598
4598
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: renderStatusIcon() }),
|
|
4599
|
-
!isStaticRow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4599
|
+
!isStaticRow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2CISBJJcjs.ExpandChevron, { expanded }) })
|
|
4600
4600
|
] });
|
|
4601
4601
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4602
4602
|
"div",
|
|
@@ -4606,7 +4606,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
4606
4606
|
// The command running block keeps its bordered box in both chats
|
|
4607
4607
|
// (Figma 1972-6109). CLIENT (Fae) only drops the tool icon below.
|
|
4608
4608
|
"flex w-full flex-col overflow-hidden",
|
|
4609
|
-
|
|
4609
|
+
_chunkN2CISBJJcjs.CHAT_BLOCK_FRAME_CLASS,
|
|
4610
4610
|
className
|
|
4611
4611
|
),
|
|
4612
4612
|
...props,
|
|
@@ -4617,7 +4617,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
4617
4617
|
// It reads as a card: what was done, then one status line under it.
|
|
4618
4618
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xsf)] p-[var(--spacing-system-sf)] text-left", children: [
|
|
4619
4619
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 whitespace-pre-wrap break-words text-ods-text-primary text-h4", children: previewText }),
|
|
4620
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4620
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2CISBJJcjs.StatusLine, { tone: statusTone, label: statusLabel })
|
|
4621
4621
|
] })
|
|
4622
4622
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
4623
4623
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -4630,9 +4630,9 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
4630
4630
|
}
|
|
4631
4631
|
),
|
|
4632
4632
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, children: hasBody && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col items-start gap-0 border-t border-ods-border p-[var(--spacing-system-sf)] text-h6", children: [
|
|
4633
|
-
argEntries.map(([key, value]) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4633
|
+
argEntries.map(([key, value]) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2CISBJJcjs.ArgRow, { argKey: key, value }, key)),
|
|
4634
4634
|
hasResult && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4635
|
-
|
|
4635
|
+
_chunkN2CISBJJcjs.ResultBlock,
|
|
4636
4636
|
{
|
|
4637
4637
|
result: message.result,
|
|
4638
4638
|
className: argEntries.length > 0 ? "mt-[var(--spacing-system-xsf)]" : void 0
|
|
@@ -4686,8 +4686,8 @@ var remarkStripCitations = () => {
|
|
|
4686
4686
|
var MENTION_MARKER_REGEX = /(^|[^\w@])@[a-zA-Z]+:([A-Za-z0-9_.+/=-]*[A-Za-z0-9_+/=])/g;
|
|
4687
4687
|
var CARD_MARKER_REGEX = createCardMarkerScanner();
|
|
4688
4688
|
function formatMessageTimestamp(timestamp) {
|
|
4689
|
-
const time =
|
|
4690
|
-
return
|
|
4689
|
+
const time = _chunkUMO55S55cjs.formatTime.call(void 0, timestamp);
|
|
4690
|
+
return _chunkN2CISBJJcjs.isToday.call(void 0, timestamp) ? time : `${_chunkUMO55S55cjs.formatDate.call(void 0, timestamp)} ${time}`;
|
|
4691
4691
|
}
|
|
4692
4692
|
function normalizeContent(content) {
|
|
4693
4693
|
if (typeof content === "string") {
|
|
@@ -4741,7 +4741,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
4741
4741
|
const isError = role === "error";
|
|
4742
4742
|
const inheritedAppearance = useChatAppearance();
|
|
4743
4743
|
const appearance = _nullishCoalesce(appearanceProp, () => ( inheritedAppearance));
|
|
4744
|
-
const isV2 = appearance ===
|
|
4744
|
+
const isV2 = appearance === _chunkUMO55S55cjs.CHAT_APPEARANCE.V2;
|
|
4745
4745
|
const authorType = _nullishCoalesce(authorTypeProp, () => ( (isUser ? "user" : assistantType === "mingo" ? "mingo" : "fae")));
|
|
4746
4746
|
const hasMarkerSupport = !!renderEntityCard;
|
|
4747
4747
|
const segments = _react.useMemo.call(void 0, () => normalizeContent(content), [content]);
|
|
@@ -4925,7 +4925,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
4925
4925
|
const faceBox = "h-5 w-5 flex-shrink-0";
|
|
4926
4926
|
const face = !showAvatar || isSystem ? null : !isUser && !avatar && assistantIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: displayName, className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center justify-center", faceBox), children: assistantIcon }) : !isUser && !avatar && assistantType ? (
|
|
4927
4927
|
// An agent with no picture shows its packaged mark, never initials.
|
|
4928
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "img", "aria-label": displayName, title: displayName, className: _chunk3ATAYP36cjs.cn.call(void 0, "inline-flex", faceBox), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4928
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "img", "aria-label": displayName, title: displayName, className: _chunk3ATAYP36cjs.cn.call(void 0, "inline-flex", faceBox), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2CISBJJcjs.AgentMark, { agent: assistantType, className: "h-full w-full rounded-full" }) })
|
|
4929
4929
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: displayName, className: "inline-flex flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4930
4930
|
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
4931
4931
|
{
|
|
@@ -5006,7 +5006,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
5006
5006
|
);
|
|
5007
5007
|
} else if (segment.type === "approval_batch") {
|
|
5008
5008
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5009
|
-
|
|
5009
|
+
_chunkN2CISBJJcjs.ApprovalBatchMessage,
|
|
5010
5010
|
{
|
|
5011
5011
|
data: segment.data,
|
|
5012
5012
|
status: segment.status,
|
|
@@ -5265,7 +5265,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
|
|
|
5265
5265
|
contentClassName,
|
|
5266
5266
|
assistantType,
|
|
5267
5267
|
approvalVariant,
|
|
5268
|
-
appearance =
|
|
5268
|
+
appearance = _chunkUMO55S55cjs.CHAT_APPEARANCE.CLASSIC,
|
|
5269
5269
|
assistantIcon,
|
|
5270
5270
|
pendingApprovals,
|
|
5271
5271
|
hasNextPage,
|
|
@@ -5615,7 +5615,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
|
|
|
5615
5615
|
const lastSegment = _optionalChain([lastSegments, 'optionalAccess', _116 => _116[lastSegments.length - 1]]);
|
|
5616
5616
|
const isPausedOnApproval = !!lastSegment && (lastSegment.type === "approval_request" || lastSegment.type === "approval_batch" || lastSegment.type === "escalation_offer") && (lastSegment.status === void 0 || lastSegment.status === "pending");
|
|
5617
5617
|
const showStreamingLoader = isTyping && !isPausedOnApproval && !(pendingApprovals && pendingApprovals.length > 0);
|
|
5618
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatAppearanceContext.Provider, { value: appearance, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5618
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatAppearanceContext.Provider, { value: appearance, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB27QEHYRcjs.OverlayOpenRegistryProvider, { onOpenChange: handleOverlayOpenChange, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col", children: [
|
|
5619
5619
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1 flex-col", children: [
|
|
5620
5620
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5621
5621
|
"div",
|
|
@@ -5784,7 +5784,7 @@ function renderQuickActionIcon(icon) {
|
|
|
5784
5784
|
if (!spec.name && !spec.url) return void 0;
|
|
5785
5785
|
const accentClass = spec.accent ? ACCENT_CLASS[spec.accent] : void 0;
|
|
5786
5786
|
const props = spec.accent && !accentClass ? { color: spec.accent, ..._nullishCoalesce(spec.props, () => ( {})) } : spec.props;
|
|
5787
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5787
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7F3V45AHcjs.EntityIcon, { icon: { name: spec.name, url: spec.url, props }, size: _nullishCoalesce(spec.size, () => ( 16)), className: accentClass });
|
|
5788
5788
|
}
|
|
5789
5789
|
function composeChipLabel(label, lozenge) {
|
|
5790
5790
|
if (!lozenge) return label;
|
|
@@ -6453,7 +6453,7 @@ function formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix) {
|
|
|
6453
6453
|
|
|
6454
6454
|
[Attached: ${safeName}](${url})`;
|
|
6455
6455
|
}
|
|
6456
|
-
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED =
|
|
6456
|
+
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunk7F3V45AHcjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
|
|
6457
6457
|
var CHAT_ATTACHMENT_MARKDOWN_PATTERN = new RegExp(
|
|
6458
6458
|
`^\\s*!?\\[[^\\]]*\\]\\(${CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED}[^)]+\\)\\s*$`,
|
|
6459
6459
|
"gm"
|
|
@@ -7365,7 +7365,7 @@ function MingoChatHistoryRow({
|
|
|
7365
7365
|
menuOpen ? "opacity-100" : "opacity-0 focus-within:opacity-100 group-hover/row:opacity-100"
|
|
7366
7366
|
),
|
|
7367
7367
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7368
|
-
|
|
7368
|
+
_chunkB27QEHYRcjs.ActionsMenuDropdown,
|
|
7369
7369
|
{
|
|
7370
7370
|
triggerAriaLabel: "Chat actions",
|
|
7371
7371
|
groups: [{ items: menuItems }],
|
|
@@ -7373,7 +7373,7 @@ function MingoChatHistoryRow({
|
|
|
7373
7373
|
onOpenChange: setMenuOpen,
|
|
7374
7374
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
7375
7375
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7376
|
-
|
|
7376
|
+
_chunk2QMBXGMQcjs.Button,
|
|
7377
7377
|
{
|
|
7378
7378
|
variant: "transparent",
|
|
7379
7379
|
size: "icon",
|
|
@@ -7596,7 +7596,7 @@ function MingoWelcome({
|
|
|
7596
7596
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "Couldn\u2019t load your chats" }),
|
|
7597
7597
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-body-sm text-ods-text-secondary", children: "Something went wrong reaching the server. Check your connection and try again." })
|
|
7598
7598
|
] }),
|
|
7599
|
-
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7599
|
+
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXLTOM62Pcjs.Refresh01RightIcon, {}), onClick: onRetry, children: "Try again" })
|
|
7600
7600
|
] }) : isLoadingHistory ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoChatHistorySkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1 flex-col", children: [
|
|
7601
7601
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7602
7602
|
"div",
|
|
@@ -7605,7 +7605,7 @@ function MingoWelcome({
|
|
|
7605
7605
|
onScroll: updateScrollFade,
|
|
7606
7606
|
className: "flex min-h-0 flex-1 flex-col gap-[var(--spacing-system-m)] overflow-y-auto overscroll-contain",
|
|
7607
7607
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col items-center justify-center gap-[var(--spacing-system-l)] px-[var(--spacing-system-l)] py-[var(--spacing-system-xxl)] text-center", children: [
|
|
7608
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7608
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2CISBJJcjs.AgentMark, { agent: "mingo", className: "h-12 w-12" }),
|
|
7609
7609
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)]", children: [
|
|
7610
7610
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h2", children: heading }),
|
|
7611
7611
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
|
|
@@ -7727,8 +7727,8 @@ function GuideWelcome({
|
|
|
7727
7727
|
icon && (icon.name || icon.url) ? (
|
|
7728
7728
|
// Agent-mode identity glyph (chat-config Identity tab). Sized to
|
|
7729
7729
|
// match the default Mingo mark (48px).
|
|
7730
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7731
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7730
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7F3V45AHcjs.EntityIcon, { icon: { name: icon.name, url: icon.url, props: icon.props }, size: 48 })
|
|
7731
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2CISBJJcjs.AgentMark, { agent: "mingo", className: "h-12 w-12" }),
|
|
7732
7732
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)]", children: [
|
|
7733
7733
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h2", children: title }),
|
|
7734
7734
|
subtitle ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle }) : subtitleLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5M5C6UV4cjs.Skeleton, { className: "h-5 w-3/4 max-w-80 rounded-sm" }) }) : null
|
|
@@ -7774,8 +7774,8 @@ function GuideModeBanner({ label = DEFAULT_LABEL, tooltip = DEFAULT_TOOLTIP, cla
|
|
|
7774
7774
|
children: [
|
|
7775
7775
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZFJDLJSIcjs.CompassIcon, { size: 16, className: "shrink-0 text-ods-text-on-accent" }),
|
|
7776
7776
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "flex-1 truncate uppercase text-ods-text-on-accent text-h5", children: label }),
|
|
7777
|
-
tooltip != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7778
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7777
|
+
tooltip != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB27QEHYRcjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkB27QEHYRcjs.Tooltip, { children: [
|
|
7778
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB27QEHYRcjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7779
7779
|
"button",
|
|
7780
7780
|
{
|
|
7781
7781
|
type: "button",
|
|
@@ -7784,7 +7784,7 @@ function GuideModeBanner({ label = DEFAULT_LABEL, tooltip = DEFAULT_TOOLTIP, cla
|
|
|
7784
7784
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFO6DOP6Mcjs.QuestionCircleIcon, { size: 16 })
|
|
7785
7785
|
}
|
|
7786
7786
|
) }),
|
|
7787
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7787
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB27QEHYRcjs.TooltipContent, { side: "bottom", align: "end", className: "max-w-[280px] normal-case text-h6", children: tooltip })
|
|
7788
7788
|
] }) })
|
|
7789
7789
|
]
|
|
7790
7790
|
}
|
|
@@ -7930,7 +7930,7 @@ function MingoArchiveList({
|
|
|
7930
7930
|
title: dialog.title || "Untitled Chat",
|
|
7931
7931
|
onClick: () => _optionalChain([onSelectDialog, 'optionalCall', _176 => _176(dialog.id)]),
|
|
7932
7932
|
trailing: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
7933
|
-
dialog.timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-secondary text-h6", children:
|
|
7933
|
+
dialog.timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-secondary text-h6", children: _chunkN2CISBJJcjs.formatRelativeTime.call(void 0, dialog.timestamp) }),
|
|
7934
7934
|
dialog.owner && (dialog.owner.name || dialog.owner.avatarUrl) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7935
7935
|
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
7936
7936
|
{
|
|
@@ -8027,7 +8027,7 @@ function MingoChatHeader({
|
|
|
8027
8027
|
] }),
|
|
8028
8028
|
onRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPX2JK6Pcjs.Refresh01LeftIcon, { size: 24 }) }),
|
|
8029
8029
|
menuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8030
|
-
|
|
8030
|
+
_chunkB27QEHYRcjs.ActionsMenuDropdown,
|
|
8031
8031
|
{
|
|
8032
8032
|
triggerAriaLabel: "Chat actions",
|
|
8033
8033
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
@@ -8248,7 +8248,7 @@ function MingoChatRail({
|
|
|
8248
8248
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "Couldn\u2019t load your chats" }),
|
|
8249
8249
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "Something went wrong reaching the server. Try again." })
|
|
8250
8250
|
] }),
|
|
8251
|
-
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8251
|
+
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXLTOM62Pcjs.Refresh01RightIcon, {}), onClick: onRetry, children: "Try again" })
|
|
8252
8252
|
] });
|
|
8253
8253
|
} else if (isLoadingHistory) {
|
|
8254
8254
|
list = Array.from({ length: 6 }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 shrink-0 animate-pulse rounded-md bg-ods-skeleton", "aria-hidden": true }, i));
|
|
@@ -8290,9 +8290,9 @@ function MingoChatRail({
|
|
|
8290
8290
|
"data-accent": "mingo",
|
|
8291
8291
|
"aria-label": "Mingo chats",
|
|
8292
8292
|
logo: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 items-center justify-between", children: [
|
|
8293
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8293
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2CISBJJcjs.AgentMark, { agent: "mingo", className: "size-6 text-ods-text-primary" }),
|
|
8294
8294
|
onExpand && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8295
|
-
|
|
8295
|
+
_chunk2QMBXGMQcjs.Button,
|
|
8296
8296
|
{
|
|
8297
8297
|
variant: "transparent",
|
|
8298
8298
|
size: "icon",
|
|
@@ -8306,13 +8306,13 @@ function MingoChatRail({
|
|
|
8306
8306
|
items,
|
|
8307
8307
|
sectionLabel: "Your Current Chats",
|
|
8308
8308
|
sectionActions: listMenu.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8309
|
-
|
|
8309
|
+
_chunkB27QEHYRcjs.ActionsMenuDropdown,
|
|
8310
8310
|
{
|
|
8311
8311
|
triggerAriaLabel: "Chat list options",
|
|
8312
8312
|
groups: [{ items: listMenu }],
|
|
8313
8313
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
8314
8314
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8315
|
-
|
|
8315
|
+
_chunk2QMBXGMQcjs.Button,
|
|
8316
8316
|
{
|
|
8317
8317
|
variant: "transparent",
|
|
8318
8318
|
size: "icon",
|
|
@@ -8369,7 +8369,7 @@ function MingoChatRailRow({ dialog, active, status, onSelect, menuItems }) {
|
|
|
8369
8369
|
menuOpen ? "opacity-100" : "opacity-0 focus-within:opacity-100 group-hover/row:opacity-100"
|
|
8370
8370
|
),
|
|
8371
8371
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8372
|
-
|
|
8372
|
+
_chunkB27QEHYRcjs.ActionsMenuDropdown,
|
|
8373
8373
|
{
|
|
8374
8374
|
triggerAriaLabel: `Actions for ${title}`,
|
|
8375
8375
|
groups: [{ items: menuItems }],
|
|
@@ -8377,7 +8377,7 @@ function MingoChatRailRow({ dialog, active, status, onSelect, menuItems }) {
|
|
|
8377
8377
|
onOpenChange: setMenuOpen,
|
|
8378
8378
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
8379
8379
|
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8380
|
-
|
|
8380
|
+
_chunk2QMBXGMQcjs.Button,
|
|
8381
8381
|
{
|
|
8382
8382
|
variant: "transparent",
|
|
8383
8383
|
size: "icon",
|
|
@@ -8405,7 +8405,7 @@ function TabSelector({
|
|
|
8405
8405
|
scrollable = false,
|
|
8406
8406
|
className
|
|
8407
8407
|
}) {
|
|
8408
|
-
const flush =
|
|
8408
|
+
const flush = _chunkB27QEHYRcjs.useIsInActionsMenuHeader.call(void 0, );
|
|
8409
8409
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8410
8410
|
"div",
|
|
8411
8411
|
{
|
|
@@ -8492,7 +8492,7 @@ function MingoHistoryRail({
|
|
|
8492
8492
|
),
|
|
8493
8493
|
children: [
|
|
8494
8494
|
onNewChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8495
|
-
|
|
8495
|
+
_chunk2QMBXGMQcjs.Button,
|
|
8496
8496
|
{
|
|
8497
8497
|
variant: "outline",
|
|
8498
8498
|
fullWidth: true,
|
|
@@ -8520,7 +8520,7 @@ function MingoHistoryRail({
|
|
|
8520
8520
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "Couldn\u2019t load your chats" }),
|
|
8521
8521
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "Something went wrong reaching the server. Try again." })
|
|
8522
8522
|
] }),
|
|
8523
|
-
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8523
|
+
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXLTOM62Pcjs.Refresh01RightIcon, {}), onClick: onRetry, children: "Try again" })
|
|
8524
8524
|
] }) : isLoadingHistory ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoChatHistorySkeleton, {}) : hasList ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8525
8525
|
MingoChatHistory,
|
|
8526
8526
|
{
|
|
@@ -8570,8 +8570,8 @@ function RenameChatModal({ isOpen, initialName = "", onClose, onSave }) {
|
|
|
8570
8570
|
const save = () => {
|
|
8571
8571
|
if (canSave) onSave(name.trim());
|
|
8572
8572
|
};
|
|
8573
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8574
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8573
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUMO55S55cjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
|
|
8574
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUMO55S55cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUMO55S55cjs.ModalTitle, { children: "Rename Chat" }) }),
|
|
8575
8575
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
8576
8576
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { htmlFor: "rename-chat-input", className: "text-ods-text-primary text-h4", children: "Chat Name" }),
|
|
8577
8577
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -8588,27 +8588,27 @@ function RenameChatModal({ isOpen, initialName = "", onClose, onSave }) {
|
|
|
8588
8588
|
}
|
|
8589
8589
|
)
|
|
8590
8590
|
] }),
|
|
8591
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8591
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUMO55S55cjs.ModalFooter, { children: [
|
|
8592
8592
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: onClose, className: cancelBtn, children: "Cancel" }),
|
|
8593
8593
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: save, disabled: !canSave, className: saveBtn, children: "Save" })
|
|
8594
8594
|
] })
|
|
8595
8595
|
] });
|
|
8596
8596
|
}
|
|
8597
8597
|
function ArchiveChatModal({ isOpen, onClose, onConfirm }) {
|
|
8598
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8599
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8598
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUMO55S55cjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
|
|
8599
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUMO55S55cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUMO55S55cjs.ModalTitle, { children: "Archive Chat" }) }),
|
|
8600
8600
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full text-ods-text-primary text-h4", children: "This chat will be hidden from your current chats." }),
|
|
8601
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8601
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUMO55S55cjs.ModalFooter, { children: [
|
|
8602
8602
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: onClose, className: cancelBtn, children: "Cancel" }),
|
|
8603
8603
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: onConfirm, className: dangerBtn, children: "Archive Chat" })
|
|
8604
8604
|
] })
|
|
8605
8605
|
] });
|
|
8606
8606
|
}
|
|
8607
8607
|
function UnarchiveChatModal({ isOpen, onClose, onConfirm }) {
|
|
8608
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8609
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8608
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUMO55S55cjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
|
|
8609
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUMO55S55cjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUMO55S55cjs.ModalTitle, { children: "Unarchive Chat" }) }),
|
|
8610
8610
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full text-ods-text-primary text-h4", children: "This chat will be moved back to your current chats." }),
|
|
8611
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
8611
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkUMO55S55cjs.ModalFooter, { children: [
|
|
8612
8612
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: onClose, className: cancelBtn, children: "Cancel" }),
|
|
8613
8613
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick: onConfirm, className: saveBtn, children: "Unarchive Chat" })
|
|
8614
8614
|
] })
|
|
@@ -8690,18 +8690,18 @@ function ChatPanelHeaderMobile({
|
|
|
8690
8690
|
className
|
|
8691
8691
|
),
|
|
8692
8692
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-end gap-[var(--spacing-system-sf)]", children: [
|
|
8693
|
-
showBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8693
|
+
showBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { variant: "outline", size: "icon", "aria-label": backAriaLabel, onClick: onBack, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFC7N7BQXcjs.Chevron02LeftIcon, {}) }),
|
|
8694
8694
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-end gap-[var(--spacing-system-m)] pt-[var(--spacing-system-xl)]", children: [
|
|
8695
8695
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xs)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 truncate text-ods-text-primary text-h2", title, children: title }) }),
|
|
8696
8696
|
menuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8697
|
-
|
|
8697
|
+
_chunkB27QEHYRcjs.ActionsMenuDropdown,
|
|
8698
8698
|
{
|
|
8699
8699
|
groups: [{ items: menuItems }],
|
|
8700
8700
|
triggerAriaLabel: "Chat actions",
|
|
8701
8701
|
triggerClassName: "flex shrink-0 items-center justify-center border-ods-border bg-ods-card hover:bg-ods-bg-hover focus-visible:ring-0"
|
|
8702
8702
|
}
|
|
8703
8703
|
),
|
|
8704
|
-
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8704
|
+
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2QMBXGMQcjs.Button, { variant: "outline", size: "icon", "aria-label": "Close chat", onClick: onClose, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, {}) })
|
|
8705
8705
|
] })
|
|
8706
8706
|
] })
|
|
8707
8707
|
}
|
|
@@ -8797,7 +8797,7 @@ function ChatPanelHeader({
|
|
|
8797
8797
|
] }),
|
|
8798
8798
|
isArchivedView && onRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPX2JK6Pcjs.Refresh01LeftIcon, { size: 24 }) }),
|
|
8799
8799
|
showBack && !isArchivedView && menuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8800
|
-
|
|
8800
|
+
_chunkB27QEHYRcjs.ActionsMenuDropdown,
|
|
8801
8801
|
{
|
|
8802
8802
|
triggerAriaLabel: "Chat actions",
|
|
8803
8803
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
@@ -8866,7 +8866,7 @@ function ChatAttachmentAddButton({
|
|
|
8866
8866
|
}
|
|
8867
8867
|
),
|
|
8868
8868
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8869
|
-
|
|
8869
|
+
_chunk2QMBXGMQcjs.Button,
|
|
8870
8870
|
{
|
|
8871
8871
|
type: "button",
|
|
8872
8872
|
variant: "transparent",
|
|
@@ -8945,7 +8945,7 @@ function AttachmentChip({ attachment, onRemove, disabled, size = "default" }) {
|
|
|
8945
8945
|
] })
|
|
8946
8946
|
] }),
|
|
8947
8947
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8948
|
-
|
|
8948
|
+
_chunk2QMBXGMQcjs.Button,
|
|
8949
8949
|
{
|
|
8950
8950
|
type: "button",
|
|
8951
8951
|
variant: "transparent",
|
|
@@ -9188,7 +9188,7 @@ var ModelDisplay = _react2.default.forwardRef(
|
|
|
9188
9188
|
}, ref) => {
|
|
9189
9189
|
const icon = getProviderIcon(provider);
|
|
9190
9190
|
const name = displayName || modelName;
|
|
9191
|
-
const isV2 = useChatAppearance() ===
|
|
9191
|
+
const isV2 = useChatAppearance() === _chunkUMO55S55cjs.CHAT_APPEARANCE.V2;
|
|
9192
9192
|
const formatCount = (count) => isV2 ? count.toLocaleString("en-US") : formatTokenCount(count);
|
|
9193
9193
|
const inline = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunk3ATAYP36cjs.cn.call(void 0, "flex items-center gap-1 text-ods-text-secondary", "text-h6", className), ...props, children: [
|
|
9194
9194
|
icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex items-center justify-center", children: icon }),
|
|
@@ -9317,7 +9317,7 @@ function ChatComposer({
|
|
|
9317
9317
|
}, [entityTypes]);
|
|
9318
9318
|
const resolveContextIcon = _react.useCallback.call(void 0, (item) => iconByType.get(item.type), [iconByType]);
|
|
9319
9319
|
const inputNode = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9320
|
-
|
|
9320
|
+
_chunkUMO55S55cjs.ChatInput,
|
|
9321
9321
|
{
|
|
9322
9322
|
ref: inputRef,
|
|
9323
9323
|
onSend,
|
|
@@ -9484,16 +9484,16 @@ function useChatPanel() {
|
|
|
9484
9484
|
|
|
9485
9485
|
// src/components/chat/utils/execute-navigation.ts
|
|
9486
9486
|
function isForeignOriginHref(href) {
|
|
9487
|
-
return /^https?:\/\//i.test(href) && !
|
|
9487
|
+
return /^https?:\/\//i.test(href) && !_chunk7F3V45AHcjs.isSameOriginAbsoluteHref.call(void 0, href);
|
|
9488
9488
|
}
|
|
9489
9489
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
9490
|
-
const isNewTab = runtime ?
|
|
9490
|
+
const isNewTab = runtime ? _chunk7F3V45AHcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
9491
9491
|
if (isNewTab) {
|
|
9492
9492
|
if (_optionalChain([runtime, 'optionalAccess', _202 => _202.navigation, 'access', _203 => _203.openExternal])) runtime.navigation.openExternal(href);
|
|
9493
|
-
else window.open(href, "_blank",
|
|
9493
|
+
else window.open(href, "_blank", _chunk7F3V45AHcjs.NEW_TAB_FEATURES);
|
|
9494
9494
|
return;
|
|
9495
9495
|
}
|
|
9496
|
-
const target = isForeignOriginHref(href) ? href :
|
|
9496
|
+
const target = isForeignOriginHref(href) ? href : _chunk7F3V45AHcjs.stripSameOriginToPath.call(void 0, href);
|
|
9497
9497
|
if (target.includes("#") && _chunkSA7LDEVJcjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkSA7LDEVJcjs.STICKY_HEADER_OFFSET_PX })) {
|
|
9498
9498
|
return;
|
|
9499
9499
|
}
|
|
@@ -9544,8 +9544,8 @@ function useNavLinkViaRuntime({
|
|
|
9544
9544
|
const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
|
|
9545
9545
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
9546
9546
|
const panel = useChatPanel();
|
|
9547
|
-
const resolvedHref =
|
|
9548
|
-
const isNewTab =
|
|
9547
|
+
const resolvedHref = _chunk7F3V45AHcjs.resolveHrefForRuntime.call(void 0, href, runtime);
|
|
9548
|
+
const isNewTab = _chunk7F3V45AHcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
9549
9549
|
const onClick = (e) => {
|
|
9550
9550
|
_optionalChain([onClickProp, 'optionalCall', _207 => _207(e)]);
|
|
9551
9551
|
if (e.defaultPrevented) return;
|
|
@@ -9559,7 +9559,7 @@ function useNavLinkViaRuntime({
|
|
|
9559
9559
|
});
|
|
9560
9560
|
if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _208 => _208.closeChat])) panel.closeChat();
|
|
9561
9561
|
};
|
|
9562
|
-
const attrs =
|
|
9562
|
+
const attrs = _chunk7F3V45AHcjs.newTabAnchorAttrs.call(void 0, isNewTab);
|
|
9563
9563
|
return {
|
|
9564
9564
|
href: resolvedHref,
|
|
9565
9565
|
...attrs,
|
|
@@ -9622,7 +9622,7 @@ function SourceActionButton({
|
|
|
9622
9622
|
const IconComponent = isDisplay ? _lucidereact.FileText : _lucidereact.MessageSquare;
|
|
9623
9623
|
const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: styles.iconSize });
|
|
9624
9624
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9625
|
-
|
|
9625
|
+
_chunk2QMBXGMQcjs.Button,
|
|
9626
9626
|
{
|
|
9627
9627
|
variant: "transparent",
|
|
9628
9628
|
size: styles.size,
|
|
@@ -9706,7 +9706,7 @@ function UserDisplay({
|
|
|
9706
9706
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9707
9707
|
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
9708
9708
|
{
|
|
9709
|
-
src: avatarUrl ?
|
|
9709
|
+
src: avatarUrl ? _chunk7F3V45AHcjs.getProxiedImageUrl.call(void 0, avatarUrl) || avatarUrl : void 0,
|
|
9710
9710
|
fallback: name,
|
|
9711
9711
|
alt: name,
|
|
9712
9712
|
sizePx: size,
|
|
@@ -10156,7 +10156,7 @@ function CardsStrip(props) {
|
|
|
10156
10156
|
},
|
|
10157
10157
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "flex w-full min-w-0 flex-col gap-6", className),
|
|
10158
10158
|
children: [
|
|
10159
|
-
showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
10159
|
+
showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunk7F3V45AHcjs.SECTION_HEADING_CLASS} break-words`, children: _chunk7F3V45AHcjs.accentSentenceMarks.call(void 0, title) }),
|
|
10160
10160
|
headerSlot,
|
|
10161
10161
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", style: bled ? { marginLeft: -insets.left, marginRight: -insets.right } : void 0, children: [
|
|
10162
10162
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10207,7 +10207,7 @@ function CardsStrip(props) {
|
|
|
10207
10207
|
),
|
|
10208
10208
|
showChevrons && overflows && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
10209
10209
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10210
|
-
|
|
10210
|
+
_chunk2QMBXGMQcjs.Button,
|
|
10211
10211
|
{
|
|
10212
10212
|
type: "button",
|
|
10213
10213
|
variant: "outline",
|
|
@@ -10220,7 +10220,7 @@ function CardsStrip(props) {
|
|
|
10220
10220
|
}
|
|
10221
10221
|
),
|
|
10222
10222
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10223
|
-
|
|
10223
|
+
_chunk2QMBXGMQcjs.Button,
|
|
10224
10224
|
{
|
|
10225
10225
|
type: "button",
|
|
10226
10226
|
variant: "outline",
|
|
@@ -10308,7 +10308,7 @@ function groupByAspectRatio(items, getAspectRatio) {
|
|
|
10308
10308
|
|
|
10309
10309
|
function VideoBitesStrip({
|
|
10310
10310
|
bites,
|
|
10311
|
-
title =
|
|
10311
|
+
title = _chunk7F3V45AHcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
10312
10312
|
showTitle = true,
|
|
10313
10313
|
filterPublished = true,
|
|
10314
10314
|
profile = null,
|
|
@@ -10321,14 +10321,14 @@ function VideoBitesStrip({
|
|
|
10321
10321
|
cardHeightMobile = 300,
|
|
10322
10322
|
showChevrons = true,
|
|
10323
10323
|
onBiteNavigate,
|
|
10324
|
-
sortComparator =
|
|
10324
|
+
sortComparator = _chunk7F3V45AHcjs.sortBitesByCreatedAtDesc,
|
|
10325
10325
|
className
|
|
10326
10326
|
}) {
|
|
10327
10327
|
const items = _react.useMemo.call(void 0, () => {
|
|
10328
10328
|
const filtered = filterPublished ? bites.filter((b) => b.published) : [...bites];
|
|
10329
10329
|
return filtered.sort(sortComparator);
|
|
10330
10330
|
}, [bites, filterPublished, sortComparator]);
|
|
10331
|
-
const warmup =
|
|
10331
|
+
const warmup = _chunk3RFQPQ7Zcjs.useVideoWarmup.call(void 0, { videoUrl: _optionalChain([items, 'access', _231 => _231[0], 'optionalAccess', _232 => _232.url]) || null });
|
|
10332
10332
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10333
10333
|
CardsStrip,
|
|
10334
10334
|
{
|
|
@@ -10487,7 +10487,7 @@ function VideoBiteCard({
|
|
|
10487
10487
|
},
|
|
10488
10488
|
children: [
|
|
10489
10489
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10490
|
-
|
|
10490
|
+
_chunk7F3V45AHcjs.VideoHoverPreviewSurface,
|
|
10491
10491
|
{
|
|
10492
10492
|
url: bite.url,
|
|
10493
10493
|
posterUrl: bite.thumbnail_url,
|
|
@@ -10558,7 +10558,7 @@ function EntityVideoSection({
|
|
|
10558
10558
|
title = "Video",
|
|
10559
10559
|
videoSummary,
|
|
10560
10560
|
videoBites,
|
|
10561
|
-
bitesTitle =
|
|
10561
|
+
bitesTitle = _chunk7F3V45AHcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
10562
10562
|
filterPublishedBites = true,
|
|
10563
10563
|
bitesProfile = null,
|
|
10564
10564
|
bitesHref,
|
|
@@ -10604,7 +10604,7 @@ function EntityVideoSection({
|
|
|
10604
10604
|
)
|
|
10605
10605
|
] }),
|
|
10606
10606
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: "mt-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10607
|
-
|
|
10607
|
+
_chunk7F3V45AHcjs.Video,
|
|
10608
10608
|
{
|
|
10609
10609
|
kind: fullVideoKind,
|
|
10610
10610
|
url: fullVideoUrl,
|
|
@@ -10616,7 +10616,7 @@ function EntityVideoSection({
|
|
|
10616
10616
|
}
|
|
10617
10617
|
) }),
|
|
10618
10618
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "highlights", className: "mt-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10619
|
-
|
|
10619
|
+
_chunk7F3V45AHcjs.Video,
|
|
10620
10620
|
{
|
|
10621
10621
|
url: highlightVideoUrl,
|
|
10622
10622
|
poster: highlightVideoThumbnail,
|
|
@@ -10625,7 +10625,7 @@ function EntityVideoSection({
|
|
|
10625
10625
|
}
|
|
10626
10626
|
) })
|
|
10627
10627
|
] }) : fullVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10628
|
-
|
|
10628
|
+
_chunk7F3V45AHcjs.Video,
|
|
10629
10629
|
{
|
|
10630
10630
|
kind: fullVideoKind,
|
|
10631
10631
|
url: fullVideoUrl,
|
|
@@ -10636,7 +10636,7 @@ function EntityVideoSection({
|
|
|
10636
10636
|
priority
|
|
10637
10637
|
}
|
|
10638
10638
|
) : highlightVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10639
|
-
|
|
10639
|
+
_chunk7F3V45AHcjs.Video,
|
|
10640
10640
|
{
|
|
10641
10641
|
url: highlightVideoUrl,
|
|
10642
10642
|
poster: highlightVideoThumbnail,
|
|
@@ -10646,7 +10646,7 @@ function EntityVideoSection({
|
|
|
10646
10646
|
}
|
|
10647
10647
|
) : null),
|
|
10648
10648
|
videoSummary && MarkdownRenderer && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
|
|
10649
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
10649
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunk7F3V45AHcjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
|
|
10650
10650
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-hidden break-words text-ods-text-primary text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: videoSummary }) })
|
|
10651
10651
|
] }),
|
|
10652
10652
|
videoBites && videoBites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10906,14 +10906,14 @@ function designDocPeople(doc) {
|
|
|
10906
10906
|
return people;
|
|
10907
10907
|
}
|
|
10908
10908
|
function designDocMetaLine(doc) {
|
|
10909
|
-
return [_optionalChain([doc, 'access', _243 => _243.author, 'optionalAccess', _244 => _244.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${
|
|
10909
|
+
return [_optionalChain([doc, 'access', _243 => _243.author, 'optionalAccess', _244 => _244.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunk7F3V45AHcjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
|
|
10910
10910
|
}
|
|
10911
10911
|
function DesignDocCardSkeleton() {
|
|
10912
10912
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
10913
10913
|
"div",
|
|
10914
10914
|
{
|
|
10915
10915
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
10916
|
-
|
|
10916
|
+
_chunk7F3V45AHcjs.CONTENT_CARD_SKELETON_FRAME_CLASS,
|
|
10917
10917
|
"flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]"
|
|
10918
10918
|
),
|
|
10919
10919
|
role: "status",
|
|
@@ -10943,7 +10943,7 @@ function DesignDocCardSkeleton() {
|
|
|
10943
10943
|
function DesignDocCard({ doc, href, target, rel, className }) {
|
|
10944
10944
|
const readiness = DESIGN_DOC_READINESS_DISPLAY[designDocReadiness(doc.completion)];
|
|
10945
10945
|
const people = designDocPeople(doc);
|
|
10946
|
-
const link =
|
|
10946
|
+
const link = _chunk7F3V45AHcjs.safeHref.call(void 0, _nullishCoalesce(href, () => ( null)));
|
|
10947
10947
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
10948
10948
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[16px]", children: [
|
|
10949
10949
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
@@ -10951,7 +10951,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
10951
10951
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-[20px] items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h5", children: designDocMetaLine(doc) }) })
|
|
10952
10952
|
] }),
|
|
10953
10953
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10954
|
-
|
|
10954
|
+
_chunk7F3V45AHcjs.StatusBadge,
|
|
10955
10955
|
{
|
|
10956
10956
|
text: readiness.label,
|
|
10957
10957
|
colorScheme: readiness.scheme,
|
|
@@ -10961,7 +10961,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
10961
10961
|
}
|
|
10962
10962
|
)
|
|
10963
10963
|
] }),
|
|
10964
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10964
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7F3V45AHcjs.StatusBadge, { text: readiness.label, colorScheme: readiness.scheme, variant: "button", singleLine: true }) }),
|
|
10965
10965
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-[72px] items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "line-clamp-3 text-ods-text-secondary text-h4", children: doc.summary || "" }) }),
|
|
10966
10966
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
10967
10967
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-2", children: [
|
|
@@ -10970,7 +10970,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
10970
10970
|
] })
|
|
10971
10971
|
] });
|
|
10972
10972
|
const outer = _chunk3ATAYP36cjs.cn.call(void 0,
|
|
10973
|
-
|
|
10973
|
+
_chunk7F3V45AHcjs.CONTENT_CARD_FRAME_CLASS,
|
|
10974
10974
|
"flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]",
|
|
10975
10975
|
className
|
|
10976
10976
|
);
|
|
@@ -11114,26 +11114,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
11114
11114
|
metaParts.push(
|
|
11115
11115
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
11116
11116
|
);
|
|
11117
|
-
const href =
|
|
11117
|
+
const href = _chunk7F3V45AHcjs.safeHref.call(void 0, item.url);
|
|
11118
11118
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
11119
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11120
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
11121
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
11119
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
11120
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11121
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk7F3V45AHcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
11122
11122
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
11123
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11123
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
11124
11124
|
] }),
|
|
11125
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11125
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
11126
11126
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
11127
11127
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
11128
11128
|
] }, i)) }) }),
|
|
11129
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11129
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_SUMMARY, children: _chunk7F3V45AHcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
11130
11130
|
] }),
|
|
11131
11131
|
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
|
|
11132
11132
|
] });
|
|
11133
11133
|
if (anchorProps) {
|
|
11134
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
11134
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunk7F3V45AHcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
11135
11135
|
}
|
|
11136
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
11136
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunk7F3V45AHcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk7F3V45AHcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
11137
11137
|
}
|
|
11138
11138
|
function GitHubActivityCardSkeleton({
|
|
11139
11139
|
variant = "compact",
|
|
@@ -11150,12 +11150,12 @@ function GitHubActivityCardSkeleton({
|
|
|
11150
11150
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
11151
11151
|
] });
|
|
11152
11152
|
}
|
|
11153
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
11154
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11155
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
11156
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11157
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11158
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11153
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk7F3V45AHcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
11154
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
11155
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11156
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
11157
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
11158
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_SUMMARY, children: _chunk7F3V45AHcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
11159
11159
|
] }),
|
|
11160
11160
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
11161
11161
|
] });
|
|
@@ -11167,29 +11167,29 @@ function GitHubActivityCardSkeleton({
|
|
|
11167
11167
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
11168
11168
|
const goalsCount = _optionalChain([campaign, 'access', _245 => _245.goals, 'optionalAccess', _246 => _246.length]) || 0;
|
|
11169
11169
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
11170
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11171
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
11172
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11173
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11174
|
-
campaign.start_date ?
|
|
11170
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
11171
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11172
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
11173
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
11174
|
+
campaign.start_date ? _chunk7F3V45AHcjs.formatDateShort.call(void 0, campaign.start_date) : null,
|
|
11175
11175
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
11176
11176
|
"Marketing campaign"
|
|
11177
11177
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
11178
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11178
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_SUMMARY, children: campaign.description || _chunk7F3V45AHcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
11179
11179
|
] })
|
|
11180
11180
|
] });
|
|
11181
11181
|
if (anchorProps) {
|
|
11182
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
11182
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunk7F3V45AHcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: innerChildren });
|
|
11183
11183
|
}
|
|
11184
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
11184
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk7F3V45AHcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: innerChildren });
|
|
11185
11185
|
}
|
|
11186
11186
|
function CampaignCardAdminSkeleton({ className }) {
|
|
11187
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
11188
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11189
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
11190
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11191
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11192
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11187
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk7F3V45AHcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
11188
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
11189
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11190
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
11191
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
11192
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7F3V45AHcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
11193
11193
|
] })
|
|
11194
11194
|
] });
|
|
11195
11195
|
}
|
|
@@ -11280,7 +11280,7 @@ function VendorIcon({
|
|
|
11280
11280
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: containerClasses, children: logoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11281
11281
|
_chunkUR4K2NSLcjs.next_image_default,
|
|
11282
11282
|
{
|
|
11283
|
-
src:
|
|
11283
|
+
src: _chunk7F3V45AHcjs.getProxiedImageUrl2.call(void 0, logoUrl) || logoUrl,
|
|
11284
11284
|
alt: `${vendor.title} logo`,
|
|
11285
11285
|
width,
|
|
11286
11286
|
height,
|
|
@@ -11310,8 +11310,8 @@ function useChatCardItem(type, id) {
|
|
|
11310
11310
|
const res = await _chunkVOX4E6AXcjs.embedAuthedFetch.call(void 0, url);
|
|
11311
11311
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
11312
11312
|
const data = await res.json();
|
|
11313
|
-
const items =
|
|
11314
|
-
const match = items.find((it) =>
|
|
11313
|
+
const items = _chunk7F3V45AHcjs.extractCardItems.call(void 0, type, data);
|
|
11314
|
+
const match = items.find((it) => _chunk7F3V45AHcjs.extractItemId.call(void 0, type, it) === id);
|
|
11315
11315
|
return _nullishCoalesce(match, () => ( null));
|
|
11316
11316
|
},
|
|
11317
11317
|
enabled: !!url && id.length > 0,
|
|
@@ -11339,6 +11339,129 @@ function useChatCardItem(type, id) {
|
|
|
11339
11339
|
};
|
|
11340
11340
|
}
|
|
11341
11341
|
|
|
11342
|
+
// src/components/chat/mingo-info-card.tsx
|
|
11343
|
+
|
|
11344
|
+
|
|
11345
|
+
var MingoInfoCardActionContext = _react.createContext.call(void 0, null);
|
|
11346
|
+
function MingoInfoCardActionProvider({
|
|
11347
|
+
action,
|
|
11348
|
+
children
|
|
11349
|
+
}) {
|
|
11350
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCardActionContext.Provider, { value: action, children });
|
|
11351
|
+
}
|
|
11352
|
+
var TRAILING_BUTTON_CLASS = "flex w-[56px] shrink-0 items-center justify-center self-stretch text-ods-text-secondary transition-colors hover:bg-ods-bg-hover hover:text-ods-text-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-accent active:bg-ods-bg-active active:text-ods-text-primary md:w-[68px]";
|
|
11353
|
+
function CardMedia({ imageSrc, imageAlt, icon }) {
|
|
11354
|
+
if (imageSrc) {
|
|
11355
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative block size-10 shrink-0", children: [
|
|
11356
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute inset-0 flex items-center justify-center rounded-sm border border-ods-border bg-ods-bg text-ods-text-primary text-h6", children: _chunkFTTLBMHUcjs.personInitials.call(void 0, imageAlt) || "?" }),
|
|
11357
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11358
|
+
_chunkUR4K2NSLcjs.next_image_default,
|
|
11359
|
+
{
|
|
11360
|
+
src: imageSrc,
|
|
11361
|
+
alt: imageAlt || "",
|
|
11362
|
+
className: "relative block size-10 rounded-sm border border-ods-border object-cover",
|
|
11363
|
+
width: 40,
|
|
11364
|
+
height: 40,
|
|
11365
|
+
unoptimized: true,
|
|
11366
|
+
onError: (e) => {
|
|
11367
|
+
const img = e.currentTarget;
|
|
11368
|
+
img.style.display = "none";
|
|
11369
|
+
}
|
|
11370
|
+
}
|
|
11371
|
+
)
|
|
11372
|
+
] });
|
|
11373
|
+
}
|
|
11374
|
+
if (icon) {
|
|
11375
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex size-10 shrink-0 items-center justify-center overflow-hidden rounded-md border border-ods-border bg-ods-bg text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex size-6 items-center justify-center", children: icon }) });
|
|
11376
|
+
}
|
|
11377
|
+
return null;
|
|
11378
|
+
}
|
|
11379
|
+
function MingoInfoCardSkeleton({ className }) {
|
|
11380
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11381
|
+
"span",
|
|
11382
|
+
{
|
|
11383
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
11384
|
+
"flex w-full animate-pulse items-center gap-[var(--spacing-system-s)] overflow-hidden rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-s)]",
|
|
11385
|
+
className
|
|
11386
|
+
),
|
|
11387
|
+
children: [
|
|
11388
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block size-10 shrink-0 rounded-md border border-ods-border bg-ods-bg" }),
|
|
11389
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-1 flex-col justify-center gap-1.5", children: [
|
|
11390
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block h-4 w-1/2 rounded bg-ods-bg" }),
|
|
11391
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block h-3 w-3/4 rounded bg-ods-bg/60" })
|
|
11392
|
+
] }),
|
|
11393
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block h-5 w-16 shrink-0 rounded bg-ods-bg/60" })
|
|
11394
|
+
]
|
|
11395
|
+
}
|
|
11396
|
+
);
|
|
11397
|
+
}
|
|
11398
|
+
function MingoInfoCard({
|
|
11399
|
+
title,
|
|
11400
|
+
description,
|
|
11401
|
+
imageSrc,
|
|
11402
|
+
imageAlt,
|
|
11403
|
+
icon,
|
|
11404
|
+
status,
|
|
11405
|
+
menuGroups,
|
|
11406
|
+
menuAriaLabel = "More actions",
|
|
11407
|
+
anchorProps,
|
|
11408
|
+
onClick,
|
|
11409
|
+
className
|
|
11410
|
+
}) {
|
|
11411
|
+
const hasMedia = !!imageSrc || !!icon;
|
|
11412
|
+
const action = _react.useContext.call(void 0, MingoInfoCardActionContext);
|
|
11413
|
+
const hasMenu = !action && !!menuGroups && menuGroups.length > 0;
|
|
11414
|
+
const isAnchor = !!anchorProps;
|
|
11415
|
+
const isInteractive = isAnchor || !!onClick;
|
|
11416
|
+
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
11417
|
+
hasMedia && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardMedia, { imageSrc, imageAlt, icon }),
|
|
11418
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
11419
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: title }),
|
|
11420
|
+
description ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: description }) : null
|
|
11421
|
+
] }),
|
|
11422
|
+
status ? (
|
|
11423
|
+
// Reuse the shared Tag palette (single source of truth for colours)
|
|
11424
|
+
// without rendering Tag's `<div>` — span-only for `<p>` validity.
|
|
11425
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, _chunkFTTLBMHUcjs.tagVariants.call(void 0, { variant: _nullishCoalesce(status.variant, () => ( "success")) }), "shrink-0"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate uppercase tracking-[-0.28px]", children: status.label }) })
|
|
11426
|
+
) : null
|
|
11427
|
+
] });
|
|
11428
|
+
const contentClass = _chunk3ATAYP36cjs.cn.call(void 0,
|
|
11429
|
+
"flex min-w-0 flex-1 items-center gap-[var(--spacing-system-s)] overflow-hidden p-[var(--spacing-system-s)] text-left",
|
|
11430
|
+
(hasMenu || action) && "border-r border-ods-border",
|
|
11431
|
+
isInteractive && "cursor-pointer transition-colors hover:bg-ods-bg-hover focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-accent active:bg-ods-bg-active"
|
|
11432
|
+
);
|
|
11433
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11434
|
+
"span",
|
|
11435
|
+
{
|
|
11436
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
11437
|
+
"flex w-full items-center overflow-hidden rounded-md border border-ods-border bg-ods-card",
|
|
11438
|
+
className
|
|
11439
|
+
),
|
|
11440
|
+
children: [
|
|
11441
|
+
isAnchor ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: _chunk3ATAYP36cjs.cn.call(void 0, contentClass, "no-underline"), children: content }) : onClick ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick, className: contentClass, children: content }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: contentClass, children: content }),
|
|
11442
|
+
action && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", "aria-label": action.label, onClick: action.onClick, className: TRAILING_BUTTON_CLASS, children: action.icon }),
|
|
11443
|
+
hasMenu && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11444
|
+
_chunkB27QEHYRcjs.ActionsMenuDropdown,
|
|
11445
|
+
{
|
|
11446
|
+
groups: menuGroups,
|
|
11447
|
+
triggerAriaLabel: menuAriaLabel,
|
|
11448
|
+
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
11449
|
+
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11450
|
+
"button",
|
|
11451
|
+
{
|
|
11452
|
+
type: "button",
|
|
11453
|
+
"aria-label": menuAriaLabel,
|
|
11454
|
+
className: TRAILING_BUTTON_CLASS,
|
|
11455
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWHUL32Wcjs.Ellipsis01Icon, { size: 24 })
|
|
11456
|
+
}
|
|
11457
|
+
)
|
|
11458
|
+
}
|
|
11459
|
+
)
|
|
11460
|
+
]
|
|
11461
|
+
}
|
|
11462
|
+
);
|
|
11463
|
+
}
|
|
11464
|
+
|
|
11342
11465
|
// src/components/chat/utils/resolve-fetched-card-href.ts
|
|
11343
11466
|
function readSlug(item) {
|
|
11344
11467
|
if (!item || typeof item !== "object") return null;
|
|
@@ -11390,7 +11513,7 @@ function resolveFetchedCardHref({
|
|
|
11390
11513
|
composeContentUrl
|
|
11391
11514
|
}) {
|
|
11392
11515
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
11393
|
-
const canonicalType =
|
|
11516
|
+
const canonicalType = _chunk7F3V45AHcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
11394
11517
|
return composeContentUrl({
|
|
11395
11518
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
11396
11519
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -11440,16 +11563,16 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
11440
11563
|
if (docTarget) {
|
|
11441
11564
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
11442
11565
|
const base = `${getPlatformUrl(docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
11443
|
-
href = _nullishCoalesce(
|
|
11566
|
+
href = _nullishCoalesce(_chunk7F3V45AHcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
11444
11567
|
targetPlatform = docTarget.platform;
|
|
11445
11568
|
} else if (ctx.chipBasePlatform) {
|
|
11446
11569
|
const base = `${getPlatformUrl(ctx.chipBasePlatform)}/knowledge-base/`;
|
|
11447
|
-
href = _nullishCoalesce(
|
|
11570
|
+
href = _nullishCoalesce(_chunk7F3V45AHcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
11448
11571
|
targetPlatform = ctx.chipBasePlatform;
|
|
11449
11572
|
} else if (ctx.baseRoute) {
|
|
11450
11573
|
const synthetic = `https://_internal_.local${ctx.baseRoute.startsWith("/") ? ctx.baseRoute : "/" + ctx.baseRoute}/`;
|
|
11451
11574
|
const absolute = new URL(safePath, synthetic).toString();
|
|
11452
|
-
href = _nullishCoalesce(
|
|
11575
|
+
href = _nullishCoalesce(_chunk7F3V45AHcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
|
|
11453
11576
|
targetPlatform = _nullishCoalesce(ctx.currentPlatform, () => ( null));
|
|
11454
11577
|
}
|
|
11455
11578
|
}
|
|
@@ -11458,15 +11581,15 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
11458
11581
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
11459
11582
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
11460
11583
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
11461
|
-
type:
|
|
11584
|
+
type: _chunk7F3V45AHcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
11462
11585
|
identifier: idValue,
|
|
11463
11586
|
externalUrl: row.externalUrl,
|
|
11464
11587
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
11465
11588
|
});
|
|
11466
|
-
href = composed.href ? _nullishCoalesce(
|
|
11589
|
+
href = composed.href ? _nullishCoalesce(_chunk7F3V45AHcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
|
|
11467
11590
|
targetPlatform = composed.targetPlatform;
|
|
11468
11591
|
} else if (row.externalUrl) {
|
|
11469
|
-
href = _nullishCoalesce(
|
|
11592
|
+
href = _nullishCoalesce(_chunk7F3V45AHcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
|
|
11470
11593
|
targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
|
|
11471
11594
|
}
|
|
11472
11595
|
const documentType = row.documentType;
|
|
@@ -11533,7 +11656,7 @@ function resolveCardDestination({
|
|
|
11533
11656
|
itemHref: _nullishCoalesce(_optionalChain([entry, 'access', _260 => _260.fallbackHref, 'optionalCall', _261 => _261(item)]), () => ( null)),
|
|
11534
11657
|
allowComposed: !entry.noComposedHref
|
|
11535
11658
|
});
|
|
11536
|
-
const url = choice ? _nullishCoalesce(
|
|
11659
|
+
const url = choice ? _nullishCoalesce(_chunk7F3V45AHcjs.safeHref.call(void 0, choice.href), () => ( null)) : null;
|
|
11537
11660
|
if (choice && url) {
|
|
11538
11661
|
return { url, targetPlatform: _nullishCoalesce(choice.targetPlatform, () => ( rowPlatform)), path, source: choice.source };
|
|
11539
11662
|
}
|
|
@@ -11541,128 +11664,16 @@ function resolveCardDestination({
|
|
|
11541
11664
|
return { url: null, targetPlatform: rowPlatform, path, source: "none" };
|
|
11542
11665
|
}
|
|
11543
11666
|
|
|
11544
|
-
// src/components/chat/mingo-info-card.tsx
|
|
11545
|
-
|
|
11546
|
-
function CardMedia({ imageSrc, imageAlt, icon }) {
|
|
11547
|
-
if (imageSrc) {
|
|
11548
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative block size-10 shrink-0", children: [
|
|
11549
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute inset-0 flex items-center justify-center rounded-sm border border-ods-border bg-ods-bg text-ods-text-primary text-h6", children: _chunkFTTLBMHUcjs.personInitials.call(void 0, imageAlt) || "?" }),
|
|
11550
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11551
|
-
_chunkUR4K2NSLcjs.next_image_default,
|
|
11552
|
-
{
|
|
11553
|
-
src: imageSrc,
|
|
11554
|
-
alt: imageAlt || "",
|
|
11555
|
-
className: "relative block size-10 rounded-sm border border-ods-border object-cover",
|
|
11556
|
-
width: 40,
|
|
11557
|
-
height: 40,
|
|
11558
|
-
unoptimized: true,
|
|
11559
|
-
onError: (e) => {
|
|
11560
|
-
const img = e.currentTarget;
|
|
11561
|
-
img.style.display = "none";
|
|
11562
|
-
}
|
|
11563
|
-
}
|
|
11564
|
-
)
|
|
11565
|
-
] });
|
|
11566
|
-
}
|
|
11567
|
-
if (icon) {
|
|
11568
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex size-10 shrink-0 items-center justify-center overflow-hidden rounded-md border border-ods-border bg-ods-bg text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex size-6 items-center justify-center", children: icon }) });
|
|
11569
|
-
}
|
|
11570
|
-
return null;
|
|
11571
|
-
}
|
|
11572
|
-
function MingoInfoCardSkeleton({ className }) {
|
|
11573
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11574
|
-
"span",
|
|
11575
|
-
{
|
|
11576
|
-
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
11577
|
-
"flex w-full animate-pulse items-center gap-[var(--spacing-system-s)] overflow-hidden rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-s)]",
|
|
11578
|
-
className
|
|
11579
|
-
),
|
|
11580
|
-
children: [
|
|
11581
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block size-10 shrink-0 rounded-md border border-ods-border bg-ods-bg" }),
|
|
11582
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-1 flex-col justify-center gap-1.5", children: [
|
|
11583
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block h-4 w-1/2 rounded bg-ods-bg" }),
|
|
11584
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block h-3 w-3/4 rounded bg-ods-bg/60" })
|
|
11585
|
-
] }),
|
|
11586
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block h-5 w-16 shrink-0 rounded bg-ods-bg/60" })
|
|
11587
|
-
]
|
|
11588
|
-
}
|
|
11589
|
-
);
|
|
11590
|
-
}
|
|
11591
|
-
function MingoInfoCard({
|
|
11592
|
-
title,
|
|
11593
|
-
description,
|
|
11594
|
-
imageSrc,
|
|
11595
|
-
imageAlt,
|
|
11596
|
-
icon,
|
|
11597
|
-
status,
|
|
11598
|
-
menuGroups,
|
|
11599
|
-
menuAriaLabel = "More actions",
|
|
11600
|
-
anchorProps,
|
|
11601
|
-
onClick,
|
|
11602
|
-
className
|
|
11603
|
-
}) {
|
|
11604
|
-
const hasMedia = !!imageSrc || !!icon;
|
|
11605
|
-
const hasMenu = !!menuGroups && menuGroups.length > 0;
|
|
11606
|
-
const isAnchor = !!anchorProps;
|
|
11607
|
-
const isInteractive = isAnchor || !!onClick;
|
|
11608
|
-
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
11609
|
-
hasMedia && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardMedia, { imageSrc, imageAlt, icon }),
|
|
11610
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
|
|
11611
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: title }),
|
|
11612
|
-
description ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: description }) : null
|
|
11613
|
-
] }),
|
|
11614
|
-
status ? (
|
|
11615
|
-
// Reuse the shared Tag palette (single source of truth for colours)
|
|
11616
|
-
// without rendering Tag's `<div>` — span-only for `<p>` validity.
|
|
11617
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3ATAYP36cjs.cn.call(void 0, _chunkFTTLBMHUcjs.tagVariants.call(void 0, { variant: _nullishCoalesce(status.variant, () => ( "success")) }), "shrink-0"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate uppercase tracking-[-0.28px]", children: status.label }) })
|
|
11618
|
-
) : null
|
|
11619
|
-
] });
|
|
11620
|
-
const contentClass = _chunk3ATAYP36cjs.cn.call(void 0,
|
|
11621
|
-
"flex min-w-0 flex-1 items-center gap-[var(--spacing-system-s)] overflow-hidden p-[var(--spacing-system-s)] text-left",
|
|
11622
|
-
hasMenu && "border-r border-ods-border",
|
|
11623
|
-
isInteractive && "cursor-pointer transition-colors hover:bg-ods-bg-hover focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-accent active:bg-ods-bg-active"
|
|
11624
|
-
);
|
|
11625
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11626
|
-
"span",
|
|
11627
|
-
{
|
|
11628
|
-
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
11629
|
-
"flex w-full items-center overflow-hidden rounded-md border border-ods-border bg-ods-card",
|
|
11630
|
-
className
|
|
11631
|
-
),
|
|
11632
|
-
children: [
|
|
11633
|
-
isAnchor ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: _chunk3ATAYP36cjs.cn.call(void 0, contentClass, "no-underline"), children: content }) : onClick ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick, className: contentClass, children: content }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: contentClass, children: content }),
|
|
11634
|
-
hasMenu && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11635
|
-
_chunkMJGX357Lcjs.ActionsMenuDropdown,
|
|
11636
|
-
{
|
|
11637
|
-
groups: menuGroups,
|
|
11638
|
-
triggerAriaLabel: menuAriaLabel,
|
|
11639
|
-
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
11640
|
-
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11641
|
-
"button",
|
|
11642
|
-
{
|
|
11643
|
-
type: "button",
|
|
11644
|
-
"aria-label": menuAriaLabel,
|
|
11645
|
-
className: "flex w-[56px] shrink-0 items-center justify-center self-stretch text-ods-text-secondary transition-colors hover:bg-ods-bg-hover hover:text-ods-text-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-accent active:bg-ods-bg-active active:text-ods-text-primary md:w-[68px]",
|
|
11646
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWHUL32Wcjs.Ellipsis01Icon, { size: 24 })
|
|
11647
|
-
}
|
|
11648
|
-
)
|
|
11649
|
-
}
|
|
11650
|
-
)
|
|
11651
|
-
]
|
|
11652
|
-
}
|
|
11653
|
-
);
|
|
11654
|
-
}
|
|
11655
|
-
|
|
11656
11667
|
// src/components/chat/entity-cards/deleted-data-card.tsx
|
|
11657
11668
|
|
|
11658
11669
|
|
|
11659
11670
|
function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
11660
11671
|
const label = entityLabel || "Item";
|
|
11661
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${
|
|
11662
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11663
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
11664
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11665
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11672
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunk7F3V45AHcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
11673
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7F3V45AHcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
|
|
11674
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7F3V45AHcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11675
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7F3V45AHcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk7F3V45AHcjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
|
|
11676
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7F3V45AHcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
11666
11677
|
label,
|
|
11667
11678
|
" deleted",
|
|
11668
11679
|
recoveryNote ? ` \xB7 ${recoveryNote}` : ""
|
|
@@ -11717,7 +11728,7 @@ function GitHubChatCard({
|
|
|
11717
11728
|
description,
|
|
11718
11729
|
icon: githubKindIcon(kind),
|
|
11719
11730
|
status,
|
|
11720
|
-
anchorProps:
|
|
11731
|
+
anchorProps: _chunk7F3V45AHcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11721
11732
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11722
11733
|
menuAriaLabel: "Activity actions"
|
|
11723
11734
|
}
|
|
@@ -11864,7 +11875,7 @@ function HubspotTicketChatCard({
|
|
|
11864
11875
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11865
11876
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOSS23NHHcjs.TagIcon, { size: 24 }),
|
|
11866
11877
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
11867
|
-
anchorProps:
|
|
11878
|
+
anchorProps: _chunk7F3V45AHcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11868
11879
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
11869
11880
|
label: "Open Ticket Details",
|
|
11870
11881
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOSS23NHHcjs.TagIcon, { size: 20 })
|
|
@@ -11887,7 +11898,7 @@ function FaqChatCard({
|
|
|
11887
11898
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11888
11899
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFO6DOP6Mcjs.QuestionCircleIcon, { size: 24 }),
|
|
11889
11900
|
status: { label: statusLabel, variant: "grey" },
|
|
11890
|
-
anchorProps:
|
|
11901
|
+
anchorProps: _chunk7F3V45AHcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11891
11902
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11892
11903
|
menuAriaLabel: "FAQ actions"
|
|
11893
11904
|
}
|
|
@@ -11907,7 +11918,7 @@ function SlackChatCard({
|
|
|
11907
11918
|
title,
|
|
11908
11919
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11909
11920
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZUHFVG4Fcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
11910
|
-
anchorProps:
|
|
11921
|
+
anchorProps: _chunk7F3V45AHcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11911
11922
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11912
11923
|
menuAriaLabel: "Message actions"
|
|
11913
11924
|
}
|
|
@@ -11925,7 +11936,7 @@ function GlyphChatCard({
|
|
|
11925
11936
|
title: chatRef.title,
|
|
11926
11937
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11927
11938
|
icon,
|
|
11928
|
-
anchorProps:
|
|
11939
|
+
anchorProps: _chunk7F3V45AHcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11929
11940
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11930
11941
|
menuAriaLabel: "Card actions"
|
|
11931
11942
|
}
|
|
@@ -11943,20 +11954,20 @@ function TrustCenterChatCard({
|
|
|
11943
11954
|
}) {
|
|
11944
11955
|
const raw = _optionalChain([item, 'optionalAccess', _285 => _285.frameworks]);
|
|
11945
11956
|
const frameworks = Array.isArray(raw) ? raw : [];
|
|
11946
|
-
const summary =
|
|
11957
|
+
const summary = _chunk7F3V45AHcjs.trustFrameworksSummary.call(void 0, frameworks);
|
|
11947
11958
|
const leadFramework = frameworks[0];
|
|
11948
11959
|
const lead = leadFramework ? {
|
|
11949
|
-
label:
|
|
11950
|
-
color:
|
|
11960
|
+
label: _chunk7F3V45AHcjs.trustFrameworkBadge.call(void 0, leadFramework),
|
|
11961
|
+
color: _chunk7F3V45AHcjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
|
|
11951
11962
|
} : void 0;
|
|
11952
11963
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11953
11964
|
MingoInfoCard,
|
|
11954
11965
|
{
|
|
11955
|
-
title:
|
|
11956
|
-
description: summary ||
|
|
11966
|
+
title: _chunk7F3V45AHcjs.TRUST_CENTER_TITLE,
|
|
11967
|
+
description: summary || _chunk7F3V45AHcjs.TRUST_CENTER_TAGLINE,
|
|
11957
11968
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 24 }),
|
|
11958
11969
|
status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
|
|
11959
|
-
anchorProps:
|
|
11970
|
+
anchorProps: _chunk7F3V45AHcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11960
11971
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
11961
11972
|
label: "View trust center",
|
|
11962
11973
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 20 })
|
|
@@ -11978,7 +11989,7 @@ function DataRoomDocChatCard({
|
|
|
11978
11989
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11979
11990
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 24 }),
|
|
11980
11991
|
status: { label: badgeText, variant: "grey" },
|
|
11981
|
-
anchorProps:
|
|
11992
|
+
anchorProps: _chunk7F3V45AHcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11982
11993
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11983
11994
|
menuAriaLabel: "Document actions"
|
|
11984
11995
|
}
|
|
@@ -11997,7 +12008,7 @@ function GenericFinancialChatCard({
|
|
|
11997
12008
|
title: chatRef.title,
|
|
11998
12009
|
description: subtitle,
|
|
11999
12010
|
icon,
|
|
12000
|
-
anchorProps:
|
|
12011
|
+
anchorProps: _chunk7F3V45AHcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12001
12012
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
12002
12013
|
menuAriaLabel: "Document actions"
|
|
12003
12014
|
}
|
|
@@ -12083,7 +12094,7 @@ function CampaignChatCard({
|
|
|
12083
12094
|
}) {
|
|
12084
12095
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _291 => _291.goals])) ? item.goals.length : 0;
|
|
12085
12096
|
const meta = [
|
|
12086
|
-
_optionalChain([item, 'optionalAccess', _292 => _292.start_date]) ?
|
|
12097
|
+
_optionalChain([item, 'optionalAccess', _292 => _292.start_date]) ? _chunk7F3V45AHcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
12087
12098
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
12088
12099
|
"Marketing campaign"
|
|
12089
12100
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -12122,7 +12133,7 @@ function EntityMingoCard({
|
|
|
12122
12133
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
12123
12134
|
icon: fallbackIcon,
|
|
12124
12135
|
status,
|
|
12125
|
-
anchorProps:
|
|
12136
|
+
anchorProps: _chunk7F3V45AHcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12126
12137
|
menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
|
|
12127
12138
|
menuAriaLabel
|
|
12128
12139
|
}
|
|
@@ -12134,7 +12145,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
12134
12145
|
function statusPill(status) {
|
|
12135
12146
|
const s = typeof status === "string" ? status.trim() : "";
|
|
12136
12147
|
if (!s) return void 0;
|
|
12137
|
-
const scheme =
|
|
12148
|
+
const scheme = _chunk7F3V45AHcjs.getStatusColorScheme.call(void 0, s);
|
|
12138
12149
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
12139
12150
|
return { label: s, variant };
|
|
12140
12151
|
}
|
|
@@ -12225,7 +12236,7 @@ function DesignDocChatCard({
|
|
|
12225
12236
|
description: doc ? [designDocMetaLine(doc), formatCompletionLabel(doc.completion)].join(" \xB7 ") : _nullishCoalesce(displayRef.preview, () => ( void 0)),
|
|
12226
12237
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 24 }),
|
|
12227
12238
|
status: readiness ? { label: readiness.label, variant: readiness.scheme === "success" ? "success" : "grey" } : { label: "Design doc", variant: "grey" },
|
|
12228
|
-
anchorProps:
|
|
12239
|
+
anchorProps: _chunk7F3V45AHcjs.buildAnchorProps.call(void 0, displayRef.url, isNewTab),
|
|
12229
12240
|
menuGroups: cardMenuGroups(displayRef.url, discuss),
|
|
12230
12241
|
menuAriaLabel: "Design doc actions"
|
|
12231
12242
|
}
|
|
@@ -12243,7 +12254,7 @@ function InvestorUpdateChatCard({
|
|
|
12243
12254
|
EntityMingoCard,
|
|
12244
12255
|
{
|
|
12245
12256
|
title,
|
|
12246
|
-
description: _optionalChain([item, 'optionalAccess', _322 => _322.strategic_update]) || _optionalChain([item, 'optionalAccess', _323 => _323.content]) ||
|
|
12257
|
+
description: _optionalChain([item, 'optionalAccess', _322 => _322.strategic_update]) || _optionalChain([item, 'optionalAccess', _323 => _323.content]) || _chunk7F3V45AHcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _324 => _324.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _325 => _325.period_end]), () => ( null))) || void 0,
|
|
12247
12258
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _326 => _326.featured_image]), ogPlaceholder),
|
|
12248
12259
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk37SGOMF5cjs.PresentationLineIcon, { size: 24 }),
|
|
12249
12260
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -12287,7 +12298,7 @@ function ProgramChatCard({
|
|
|
12287
12298
|
discuss
|
|
12288
12299
|
}) {
|
|
12289
12300
|
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGZ6NU2C2cjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM4KPLFFAcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZL4LQNYXcjs.MicrophoneIcon, { size: 24 });
|
|
12290
|
-
const { line: meta } =
|
|
12301
|
+
const { line: meta } = _chunk7F3V45AHcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunk7F3V45AHcjs.programMetaFormatters.call(void 0, _chunk7F3V45AHcjs.PROGRAM_META_RENDERERS));
|
|
12291
12302
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12292
12303
|
EntityMingoCard,
|
|
12293
12304
|
{
|
|
@@ -12313,7 +12324,7 @@ function RoadmapChatCard({
|
|
|
12313
12324
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _336 => _336.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
12314
12325
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _337 => _337.customItemId]) != null;
|
|
12315
12326
|
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UIJR4PYcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6DN5HKRWcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQDSQKK2cjs.MapIcon, { size: 24 });
|
|
12316
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12327
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7F3V45AHcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _338 => _338.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
12317
12328
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
12318
12329
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
12319
12330
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUR4K2NSLcjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
@@ -12379,11 +12390,11 @@ function refText(ref, key) {
|
|
|
12379
12390
|
return typeof value === "string" && value.length > 0 ? value : null;
|
|
12380
12391
|
}
|
|
12381
12392
|
function VendorGlyph({ title, logoUrl }) {
|
|
12382
|
-
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12393
|
+
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7F3V45AHcjs.EntityIcon, { icon: { name: SOURCE_ICON_NAMES.vendors }, size: 24 });
|
|
12383
12394
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, VendorIcon, { vendor: { title, logo_url: logoUrl }, size: "xs", showBackground: false });
|
|
12384
12395
|
}
|
|
12385
12396
|
function SitePageGlyph({ iconName }) {
|
|
12386
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12397
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7F3V45AHcjs.EntityIcon, { icon: { name: _nullishCoalesce(iconName, () => ( SOURCE_ICON_NAMES["website-pages"])) }, size: 24 });
|
|
12387
12398
|
}
|
|
12388
12399
|
var GITHUB_CARD_CONFIGS = {
|
|
12389
12400
|
github_commit: { label: "GitHub commit", kind: "commit" },
|
|
@@ -12500,7 +12511,7 @@ function programRegistryEntries() {
|
|
|
12500
12511
|
label: cfg.label,
|
|
12501
12512
|
contentRefType: cfg.contentRefType,
|
|
12502
12513
|
bareInline: true,
|
|
12503
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12514
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7F3V45AHcjs.ProgramCardSkeleton, { size: "sm" }),
|
|
12504
12515
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12505
12516
|
ProgramChatCard,
|
|
12506
12517
|
{
|
|
@@ -12541,7 +12552,7 @@ function roadmapRegistryEntries() {
|
|
|
12541
12552
|
bareInline: true,
|
|
12542
12553
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
12543
12554
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
12544
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12555
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7F3V45AHcjs.RoadmapCardSkeleton, { size: "sm" }),
|
|
12545
12556
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12546
12557
|
RoadmapChatCard,
|
|
12547
12558
|
{
|
|
@@ -12599,12 +12610,12 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12599
12610
|
// projection route; `extractCardItems` turns its object payload into the
|
|
12600
12611
|
// single matched row. Destination is the public page unless the host
|
|
12601
12612
|
// re-homes the type (`composeContentUrl` override).
|
|
12602
|
-
[
|
|
12613
|
+
[_chunk7F3V45AHcjs.TRUST_CENTER_DOCUMENT_TYPE]: {
|
|
12603
12614
|
label: "Trust center",
|
|
12604
12615
|
bareInline: true,
|
|
12605
|
-
contentRefType:
|
|
12616
|
+
contentRefType: _chunk7F3V45AHcjs.TRUST_CENTER_DOCUMENT_TYPE,
|
|
12606
12617
|
noComposedHref: true,
|
|
12607
|
-
fallbackHref: () =>
|
|
12618
|
+
fallbackHref: () => _chunk7F3V45AHcjs.TRUST_CENTER_PAGE_PATH,
|
|
12608
12619
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCardSkeleton, {}),
|
|
12609
12620
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
|
|
12610
12621
|
},
|
|
@@ -12630,7 +12641,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12630
12641
|
label: "Blog post",
|
|
12631
12642
|
contentRefType: "blog_post_existing",
|
|
12632
12643
|
bareInline: true,
|
|
12633
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12644
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7F3V45AHcjs.BlogCardSkeleton, { size: "sm" }),
|
|
12634
12645
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12635
12646
|
BlogChatCard,
|
|
12636
12647
|
{
|
|
@@ -12647,7 +12658,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12647
12658
|
label: "Case study",
|
|
12648
12659
|
contentRefType: "case_study",
|
|
12649
12660
|
bareInline: true,
|
|
12650
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12661
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7F3V45AHcjs.CaseStudyCardSkeleton, { size: "sm" }),
|
|
12651
12662
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12652
12663
|
CaseStudyChatCard,
|
|
12653
12664
|
{
|
|
@@ -12672,7 +12683,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12672
12683
|
label: "Customer interview",
|
|
12673
12684
|
contentRefType: "customer_interview",
|
|
12674
12685
|
bareInline: true,
|
|
12675
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12686
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7F3V45AHcjs.CustomerInterviewCardSkeleton, { size: "sm" }),
|
|
12676
12687
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12677
12688
|
CustomerInterviewChatCard,
|
|
12678
12689
|
{
|
|
@@ -12688,9 +12699,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12688
12699
|
label: "Product release",
|
|
12689
12700
|
contentRefType: "product_release",
|
|
12690
12701
|
bareInline: true,
|
|
12691
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12702
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7F3V45AHcjs.ProductReleaseCardSkeleton, { size: "sm" }),
|
|
12692
12703
|
render: (item, chatRef, opts) => {
|
|
12693
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _379 => _379.extras, 'optionalAccess', _380 => _380.buildProductReleaseCardProps]), () => (
|
|
12704
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _379 => _379.extras, 'optionalAccess', _380 => _380.buildProductReleaseCardProps]), () => ( _chunk7F3V45AHcjs.defaultBuildProductReleaseCardProps));
|
|
12694
12705
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12695
12706
|
ProductReleaseChatCard,
|
|
12696
12707
|
{
|
|
@@ -12708,7 +12719,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12708
12719
|
label: "Investor update",
|
|
12709
12720
|
contentRefType: "investor_update",
|
|
12710
12721
|
bareInline: true,
|
|
12711
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12722
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7F3V45AHcjs.InvestorUpdateCardSkeleton, { size: "sm" }),
|
|
12712
12723
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12713
12724
|
InvestorUpdateChatCard,
|
|
12714
12725
|
{
|
|
@@ -12726,7 +12737,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12726
12737
|
bareInline: true,
|
|
12727
12738
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
12728
12739
|
displayAction: true,
|
|
12729
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12740
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7F3V45AHcjs.OnboardingGuideCardSkeleton, { size: "sm" }),
|
|
12730
12741
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12731
12742
|
OnboardingGuideChatCard,
|
|
12732
12743
|
{
|
|
@@ -12799,7 +12810,7 @@ function ChatCardLoader({
|
|
|
12799
12810
|
entry: fetchEntry,
|
|
12800
12811
|
ctx: sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform }),
|
|
12801
12812
|
composeContentUrl: runtime.composeContentUrl,
|
|
12802
|
-
resolveHref: (href) =>
|
|
12813
|
+
resolveHref: (href) => _chunk7F3V45AHcjs.resolveHrefForRuntime.call(void 0, href, runtime)
|
|
12803
12814
|
});
|
|
12804
12815
|
const hrefResolvedChatRef = {
|
|
12805
12816
|
...chatRef,
|
|
@@ -12810,12 +12821,12 @@ function ChatCardLoader({
|
|
|
12810
12821
|
};
|
|
12811
12822
|
const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
|
|
12812
12823
|
const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
|
|
12813
|
-
const isNewTab =
|
|
12824
|
+
const isNewTab = _chunk7F3V45AHcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
12814
12825
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
12815
12826
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
12816
12827
|
const discuss = discussFn ? {
|
|
12817
12828
|
label: useDisplay ? "Display" : "Ask Mingo",
|
|
12818
|
-
icon: useDisplay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 20 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12829
|
+
icon: useDisplay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 20 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN2CISBJJcjs.AgentMark, { agent: "mingo", className: "size-5" }),
|
|
12819
12830
|
run: () => discussFn(finalChatRef)
|
|
12820
12831
|
} : void 0;
|
|
12821
12832
|
const renderOpts = {
|
|
@@ -12924,12 +12935,12 @@ function makeBatchDedupKey(item) {
|
|
|
12924
12935
|
return `${item.messageType}:${seq}:${type}:${text2}:${integratedToolType}:${toolFunction}:${approvalRequestId}`;
|
|
12925
12936
|
}
|
|
12926
12937
|
function getChatTypeMessageType(chatType) {
|
|
12927
|
-
return chatType ===
|
|
12938
|
+
return chatType === _chunkUMO55S55cjs.CHAT_TYPE.ADMIN ? "admin-message" : "message";
|
|
12928
12939
|
}
|
|
12929
12940
|
function useChunkCatchup({
|
|
12930
12941
|
dialogId,
|
|
12931
12942
|
onChunkReceived,
|
|
12932
|
-
chatTypes = [
|
|
12943
|
+
chatTypes = [_chunkUMO55S55cjs.CHAT_TYPE.CLIENT],
|
|
12933
12944
|
fetchChunks
|
|
12934
12945
|
}) {
|
|
12935
12946
|
const processedSequenceKeys = _react.useRef.call(void 0, /* @__PURE__ */ new Set());
|
|
@@ -13890,7 +13901,7 @@ function useChatAttachmentImageGallery() {
|
|
|
13890
13901
|
return () => root.removeEventListener("click", onClick);
|
|
13891
13902
|
}, [viewUrlPrefix]);
|
|
13892
13903
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13893
|
-
|
|
13904
|
+
_chunk7F3V45AHcjs.ImageGalleryModal,
|
|
13894
13905
|
{
|
|
13895
13906
|
images: state.images,
|
|
13896
13907
|
isOpen: state.isOpen,
|
|
@@ -15068,7 +15079,7 @@ function nullableText(value) {
|
|
|
15068
15079
|
}
|
|
15069
15080
|
function httpsUrl(value) {
|
|
15070
15081
|
const candidate = text(value);
|
|
15071
|
-
if (!candidate ||
|
|
15082
|
+
if (!candidate || _chunk7F3V45AHcjs.UNSAFE_URL_CHARS.test(candidate)) return void 0;
|
|
15072
15083
|
try {
|
|
15073
15084
|
return new URL(candidate).protocol === "https:" ? candidate : void 0;
|
|
15074
15085
|
} catch (e19) {
|
|
@@ -15652,7 +15663,7 @@ function createChatStreamReducer(options = {}) {
|
|
|
15652
15663
|
const status = approvalStatuses[requestId] || "pending";
|
|
15653
15664
|
if (!displayInline(approvalType)) {
|
|
15654
15665
|
const required = _nullishCoalesce(toolCalls.find((c) => c.requiresApproval), () => ( toolCalls[0]));
|
|
15655
|
-
const summary = required ?
|
|
15666
|
+
const summary = required ? _chunkN2CISBJJcjs.getCommandText.call(void 0, required) : `Batch of ${toolCalls.length} tool calls`;
|
|
15656
15667
|
pendingEscalated.set(requestId, {
|
|
15657
15668
|
command: summary,
|
|
15658
15669
|
explanation: _optionalChain([required, 'optionalAccess', _521 => _521.toolExplanation]),
|
|
@@ -15685,7 +15696,7 @@ function createChatStreamReducer(options = {}) {
|
|
|
15685
15696
|
if (!call.requiresApproval) continue;
|
|
15686
15697
|
segments = accumulator.addApprovalRequest(
|
|
15687
15698
|
requestId,
|
|
15688
|
-
|
|
15699
|
+
_chunkN2CISBJJcjs.getCommandText.call(void 0, call),
|
|
15689
15700
|
call.toolExplanation,
|
|
15690
15701
|
approvalType,
|
|
15691
15702
|
status,
|
|
@@ -15764,7 +15775,7 @@ function createChatStreamReducer(options = {}) {
|
|
|
15764
15775
|
if (!call.requiresApproval) continue;
|
|
15765
15776
|
segments = accumulator.addApprovalRequest(
|
|
15766
15777
|
requestId,
|
|
15767
|
-
|
|
15778
|
+
_chunkN2CISBJJcjs.getCommandText.call(void 0, call),
|
|
15768
15779
|
call.toolExplanation,
|
|
15769
15780
|
escalatedData.approvalType,
|
|
15770
15781
|
status
|
|
@@ -17939,12 +17950,12 @@ function decodeNatsChunk(chunk) {
|
|
|
17939
17950
|
|
|
17940
17951
|
// src/components/chat/utils/process-historical-messages.ts
|
|
17941
17952
|
function getOwnerDisplayName(owner) {
|
|
17942
|
-
if (_optionalChain([owner, 'optionalAccess', _599 => _599.type]) ===
|
|
17953
|
+
if (_optionalChain([owner, 'optionalAccess', _599 => _599.type]) === _chunkUMO55S55cjs.OWNER_TYPE.ADMIN && owner.user) {
|
|
17943
17954
|
const { firstName, lastName } = owner.user;
|
|
17944
17955
|
const name = [firstName, lastName].filter(Boolean).join(" ");
|
|
17945
17956
|
if (name) return name;
|
|
17946
17957
|
}
|
|
17947
|
-
return _optionalChain([owner, 'optionalAccess', _600 => _600.type]) ===
|
|
17958
|
+
return _optionalChain([owner, 'optionalAccess', _600 => _600.type]) === _chunkUMO55S55cjs.OWNER_TYPE.ADMIN ? "Admin" : "You";
|
|
17948
17959
|
}
|
|
17949
17960
|
function getOwnerAvatar(owner) {
|
|
17950
17961
|
return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _601 => _601.user, 'optionalAccess', _602 => _602.image, 'optionalAccess', _603 => _603.imageUrl]), () => ( void 0));
|
|
@@ -18207,7 +18218,7 @@ function applyHistoryEvent(event, accumulator, approvalStatuses, options, escala
|
|
|
18207
18218
|
if (!call.requiresApproval) continue;
|
|
18208
18219
|
accumulator.addApprovalRequest(
|
|
18209
18220
|
event.requestId,
|
|
18210
|
-
|
|
18221
|
+
_chunkN2CISBJJcjs.getCommandText.call(void 0, call),
|
|
18211
18222
|
call.toolExplanation,
|
|
18212
18223
|
approvalType,
|
|
18213
18224
|
status,
|
|
@@ -18268,7 +18279,7 @@ function applyHistoryEvent(event, accumulator, approvalStatuses, options, escala
|
|
|
18268
18279
|
if (!call.requiresApproval) continue;
|
|
18269
18280
|
accumulator.addApprovalRequest(
|
|
18270
18281
|
requestId,
|
|
18271
|
-
|
|
18282
|
+
_chunkN2CISBJJcjs.getCommandText.call(void 0, call),
|
|
18272
18283
|
call.toolExplanation,
|
|
18273
18284
|
escalatedData.approvalType,
|
|
18274
18285
|
status
|
|
@@ -18376,10 +18387,10 @@ function processHistoricalMessages(messages, options = {}) {
|
|
|
18376
18387
|
pushStandaloneMessages(processedMessages, msg, messageDataArray);
|
|
18377
18388
|
return;
|
|
18378
18389
|
}
|
|
18379
|
-
const isUserMessage = _optionalChain([msg, 'access', _616 => _616.owner, 'optionalAccess', _617 => _617.type]) ===
|
|
18390
|
+
const isUserMessage = _optionalChain([msg, 'access', _616 => _616.owner, 'optionalAccess', _617 => _617.type]) === _chunkUMO55S55cjs.OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _618 => _618.owner, 'optionalAccess', _619 => _619.type]) === _chunkUMO55S55cjs.OWNER_TYPE.ADMIN;
|
|
18380
18391
|
if (isUserMessage) {
|
|
18381
18392
|
flushAssistantMessage();
|
|
18382
|
-
const userAuthorType = _optionalChain([msg, 'access', _620 => _620.owner, 'optionalAccess', _621 => _621.type]) ===
|
|
18393
|
+
const userAuthorType = _optionalChain([msg, 'access', _620 => _620.owner, 'optionalAccess', _621 => _621.type]) === _chunkUMO55S55cjs.OWNER_TYPE.ADMIN ? "admin" : "user";
|
|
18383
18394
|
messageDataArray.forEach((data) => {
|
|
18384
18395
|
if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
|
|
18385
18396
|
const rawContext = data.contextItems;
|
|
@@ -18430,7 +18441,7 @@ function processHistoricalMessages(messages, options = {}) {
|
|
|
18430
18441
|
});
|
|
18431
18442
|
const nextMsg = messages[index + 1];
|
|
18432
18443
|
const isLastMessage = index === messages.length - 1;
|
|
18433
|
-
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _624 => _624.owner, 'optionalAccess', _625 => _625.type]) ===
|
|
18444
|
+
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _624 => _624.owner, 'optionalAccess', _625 => _625.type]) === _chunkUMO55S55cjs.OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _626 => _626.owner, 'optionalAccess', _627 => _627.type]) === _chunkUMO55S55cjs.OWNER_TYPE.ADMIN);
|
|
18434
18445
|
if (isLastMessage || nextIsFromUser) {
|
|
18435
18446
|
flushAssistantMessage();
|
|
18436
18447
|
}
|
|
@@ -19414,4 +19425,5 @@ var MINGO_V2_SPLIT_WIDTH = MINGO_V2_RAIL_WIDTH + CHAT_BLOCK_MIN_WIDTH;
|
|
|
19414
19425
|
|
|
19415
19426
|
|
|
19416
19427
|
|
|
19417
|
-
exports.useScrollFade = useScrollFade; exports.ScrollFadeOverlay = ScrollFadeOverlay; exports.ScrollShadow = ScrollShadow; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.buildHeadingIdMap = buildHeadingIdMap; exports.useHeadingIdMap = useHeadingIdMap; exports.extractText = extractText; exports.useIsHydrated = useIsHydrated; exports.MermaidDiagram = MermaidDiagram; exports.hasRenderableSrc = hasRenderableSrc; exports.buildStandardLeafRenderers = buildStandardLeafRenderers; exports.SAFE_HTML_TAGS = SAFE_HTML_TAGS; exports.SVG_TAGS = SVG_TAGS; exports.buildEffectiveTagSet = buildEffectiveTagSet; exports.buildSanitizeSchema = buildSanitizeSchema; exports.rehypeStripUnsafe = rehypeStripUnsafe; exports.escapeUnknownHtmlTags = escapeUnknownHtmlTags; exports.cardAwareUrlTransform = cardAwareUrlTransform; exports.splitStreamingBlocks = splitStreamingBlocks; exports.completeStreamingTail = completeStreamingTail; exports.TEXT_SIZE_PRESETS = TEXT_SIZE_PRESETS; exports.resolveTextSizeConfig = resolveTextSizeConfig; exports.NO_BROKEN_LINKS = NO_BROKEN_LINKS; exports.MarkdownEngine = MarkdownEngine; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.ASK_AI_OPEN_EVENT = ASK_AI_OPEN_EVENT; exports.ASK_AI_OPEN_WITH_REF_EVENT = ASK_AI_OPEN_WITH_REF_EVENT; exports.ASK_AI_OPEN_EVENTS = ASK_AI_OPEN_EVENTS; exports.holdAskAiOpens = holdAskAiOpens; exports.chatListensForAskAiOpens = chatListensForAskAiOpens; exports.ChatAppearanceContext = ChatAppearanceContext; exports.useChatAppearance = useChatAppearance; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.EscalationOfferMessage = EscalationOfferMessage; exports.AiAssistantInfo = AiAssistantInfo; exports.TicketEscalatedMessage = TicketEscalatedMessage; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.TICKET_EVENT_KIND = TICKET_EVENT_KIND; exports.TicketEventMessage = TicketEventMessage; exports.SystemEventMessage = SystemEventMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.ThinkingDisplay = ThinkingDisplay; exports.AskDisplay = AskDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.BlockCard = BlockCard; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.ChatMessageList = ChatMessageList; exports.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.isQuickActionIconSpec = isQuickActionIconSpec; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.QuickActionChipFromData = QuickActionChipFromData; exports.byKey = byKey; exports.getPlatformProductionUrl = getPlatformProductionUrl; exports.getPlatformUrl = getPlatformUrl; exports.getDeploymentUrl = getDeploymentUrl; exports.isLocalUrl = isLocalUrl; exports.getRequestOrigin = getRequestOrigin; exports.resolveRedirectTarget = resolveRedirectTarget; exports.getAllPlatformBaseDomains = getAllPlatformBaseDomains; exports.DESIGN_DOC_READINESS = DESIGN_DOC_READINESS; exports.DESIGN_DOC_READINESS_DISPLAY = DESIGN_DOC_READINESS_DISPLAY; exports.designDocReadiness = designDocReadiness; exports.formatCompletionLabel = formatCompletionLabel; exports.formatCompletionLabelWithBlockers = formatCompletionLabelWithBlockers; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.DOC_TABLE_TYPES = DOC_TABLE_TYPES; exports.groupsByTable = groupsByTable; exports.recordCountLabel = recordCountLabel; exports.buildGroupedSource = buildGroupedSource; exports.groupSourcesByTable = groupSourcesByTable; exports.formatCitationIndices = formatCitationIndices; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.flattenAssistantContent = flattenAssistantContent; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.clickupTaskUrl = clickupTaskUrl; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.useMarqueeSync = useMarqueeSync; exports.getMarqueeTrackOffset = getMarqueeTrackOffset; exports.getMarqueeAppliedOffset = getMarqueeAppliedOffset; exports.getMarqueeCloneTwin = getMarqueeCloneTwin; exports.MarqueeWallFades = MarqueeWallFades; exports.MarqueeWall = MarqueeWall; exports.WALL_SKELETON_LABEL_CH = WALL_SKELETON_LABEL_CH; exports.interleave = interleave; exports.QuickActionWall = QuickActionWall; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.chatDialogMenuItems = chatDialogMenuItems; exports.ChatListEmptyState = ChatListEmptyState; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.GuideModeBanner = GuideModeBanner; exports.ChatNavSidebar = ChatNavSidebar; exports.ChatListItem = ChatListItem; exports.MingoArchiveList = MingoArchiveList; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.MingoChatHeader = MingoChatHeader; exports.ChatHeaderSearchField = ChatHeaderSearchField; exports.MingoChatRail = MingoChatRail; exports.TabSelector = TabSelector; exports.MingoHistoryRail = MingoHistoryRail; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.ChatContextMemoryBar = ChatContextMemoryBar; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.ChatPanelContext = ChatPanelContext; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.useNavLinkViaRuntime = useNavLinkViaRuntime; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.getCaptionsUrl = getCaptionsUrl; exports.rebaseCaptionsUrl = rebaseCaptionsUrl; exports.buildCaptionsUrl = buildCaptionsUrl; exports.getEntityCaptionUrls = getEntityCaptionUrls; exports.getEntityCaptionUrlsById = getEntityCaptionUrlsById; exports.captionsEntityTypeForDocType = captionsEntityTypeForDocType; exports.useCaptions = useCaptions; exports.UserDisplay = UserDisplay; exports.CardHitLayer = CardHitLayer; exports.STRIP_CELL_MAX_WIDTH = STRIP_CELL_MAX_WIDTH; exports.CardsStrip = CardsStrip; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_TO_CSS_ASPECT = RATIO_TO_CSS_ASPECT; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesStrip = VideoBitesStrip; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.UnifiedSkeleton = UnifiedSkeleton; exports.TextSkeleton = TextSkeleton; exports.InteractiveSkeleton = InteractiveSkeleton; exports.MediaSkeleton = MediaSkeleton; exports.designDocPeople = designDocPeople; exports.designDocMetaLine = designDocMetaLine; exports.DesignDocCardSkeleton = DesignDocCardSkeleton; exports.DesignDocCard = DesignDocCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.getVendorLogo = getVendorLogo; exports.VendorIcon = VendorIcon; exports.useChatCardItem = useChatCardItem; exports.readFetchedCardTitle = readFetchedCardTitle; exports.readFetchedCardPath = readFetchedCardPath; exports.resolveFetchedCardHref = resolveFetchedCardHref; exports.sourceRowCtxFromRuntime = sourceRowCtxFromRuntime; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.resolveCardDestination = resolveCardDestination; exports.chatCardLabel = chatCardLabel; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.EMPTY_DIALOG_CAPABILITIES = EMPTY_DIALOG_CAPABILITIES; exports.useChunkCatchup = useChunkCatchup; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.chatProgressLabel = chatProgressLabel; exports.approvalDisplaysInline = approvalDisplaysInline; exports.appendToTrailingAssistant = appendToTrailingAssistant; exports.upsertTrailingCompaction = upsertTrailingCompaction; exports.applyToolExecutionToMessages = applyToolExecutionToMessages; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.createEmptyTurnMeta = createEmptyTurnMeta; exports.createChatStreamReducer = createChatStreamReducer; exports.DEFAULT_DIALOG_SIDE = DEFAULT_DIALOG_SIDE; exports.DEFAULT_MAX_REDUCERS = DEFAULT_MAX_REDUCERS; exports.MAX_PENDING_RETAIN_KEYS = MAX_PENDING_RETAIN_KEYS; exports.createChatDialogStore = createChatDialogStore; exports.createDeltaBatcher = createDeltaBatcher; exports.useChatStreamReducer = useChatStreamReducer; exports.createChatConversationsApi = createChatConversationsApi; exports.buildDiscussPrompt = buildDiscussPrompt; exports.useManagedDialogList = useManagedDialogList; exports.useSseChatAdapter = useSseChatAdapter; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.extractIncompleteTailState = extractIncompleteTailState; exports.decodeHistoricalMessageData = decodeHistoricalMessageData; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.mapProcessedToUnified = mapProcessedToUnified; exports.historicalToUnified = historicalToUnified; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useStableShallow = useStableShallow; exports.useUnifiedChat = useUnifiedChat; exports.chatChipClass = chatChipClass; exports.MINGO_V2_RAIL_WIDTH = MINGO_V2_RAIL_WIDTH; exports.CHAT_BLOCK_MIN_WIDTH = CHAT_BLOCK_MIN_WIDTH; exports.MINGO_V2_SPLIT_WIDTH = MINGO_V2_SPLIT_WIDTH;
|
|
19428
|
+
|
|
19429
|
+
exports.useScrollFade = useScrollFade; exports.ScrollFadeOverlay = ScrollFadeOverlay; exports.ScrollShadow = ScrollShadow; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.buildHeadingIdMap = buildHeadingIdMap; exports.useHeadingIdMap = useHeadingIdMap; exports.extractText = extractText; exports.useIsHydrated = useIsHydrated; exports.MermaidDiagram = MermaidDiagram; exports.hasRenderableSrc = hasRenderableSrc; exports.buildStandardLeafRenderers = buildStandardLeafRenderers; exports.SAFE_HTML_TAGS = SAFE_HTML_TAGS; exports.SVG_TAGS = SVG_TAGS; exports.buildEffectiveTagSet = buildEffectiveTagSet; exports.buildSanitizeSchema = buildSanitizeSchema; exports.rehypeStripUnsafe = rehypeStripUnsafe; exports.escapeUnknownHtmlTags = escapeUnknownHtmlTags; exports.cardAwareUrlTransform = cardAwareUrlTransform; exports.splitStreamingBlocks = splitStreamingBlocks; exports.completeStreamingTail = completeStreamingTail; exports.TEXT_SIZE_PRESETS = TEXT_SIZE_PRESETS; exports.resolveTextSizeConfig = resolveTextSizeConfig; exports.NO_BROKEN_LINKS = NO_BROKEN_LINKS; exports.MarkdownEngine = MarkdownEngine; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.ASK_AI_OPEN_EVENT = ASK_AI_OPEN_EVENT; exports.ASK_AI_OPEN_WITH_REF_EVENT = ASK_AI_OPEN_WITH_REF_EVENT; exports.ASK_AI_OPEN_EVENTS = ASK_AI_OPEN_EVENTS; exports.holdAskAiOpens = holdAskAiOpens; exports.chatListensForAskAiOpens = chatListensForAskAiOpens; exports.ChatAppearanceContext = ChatAppearanceContext; exports.useChatAppearance = useChatAppearance; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.EscalationOfferMessage = EscalationOfferMessage; exports.AiAssistantInfo = AiAssistantInfo; exports.TicketEscalatedMessage = TicketEscalatedMessage; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.TICKET_EVENT_KIND = TICKET_EVENT_KIND; exports.TicketEventMessage = TicketEventMessage; exports.SystemEventMessage = SystemEventMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.ThinkingDisplay = ThinkingDisplay; exports.AskDisplay = AskDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.BlockCard = BlockCard; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.ChatMessageList = ChatMessageList; exports.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.isQuickActionIconSpec = isQuickActionIconSpec; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.QuickActionChipFromData = QuickActionChipFromData; exports.byKey = byKey; exports.getPlatformProductionUrl = getPlatformProductionUrl; exports.getPlatformUrl = getPlatformUrl; exports.getDeploymentUrl = getDeploymentUrl; exports.isLocalUrl = isLocalUrl; exports.getRequestOrigin = getRequestOrigin; exports.resolveRedirectTarget = resolveRedirectTarget; exports.getAllPlatformBaseDomains = getAllPlatformBaseDomains; exports.DESIGN_DOC_READINESS = DESIGN_DOC_READINESS; exports.DESIGN_DOC_READINESS_DISPLAY = DESIGN_DOC_READINESS_DISPLAY; exports.designDocReadiness = designDocReadiness; exports.formatCompletionLabel = formatCompletionLabel; exports.formatCompletionLabelWithBlockers = formatCompletionLabelWithBlockers; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.DOC_TABLE_TYPES = DOC_TABLE_TYPES; exports.groupsByTable = groupsByTable; exports.recordCountLabel = recordCountLabel; exports.buildGroupedSource = buildGroupedSource; exports.groupSourcesByTable = groupSourcesByTable; exports.formatCitationIndices = formatCitationIndices; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.flattenAssistantContent = flattenAssistantContent; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.clickupTaskUrl = clickupTaskUrl; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.useMarqueeSync = useMarqueeSync; exports.getMarqueeTrackOffset = getMarqueeTrackOffset; exports.getMarqueeAppliedOffset = getMarqueeAppliedOffset; exports.getMarqueeCloneTwin = getMarqueeCloneTwin; exports.MarqueeWallFades = MarqueeWallFades; exports.MarqueeWall = MarqueeWall; exports.WALL_SKELETON_LABEL_CH = WALL_SKELETON_LABEL_CH; exports.interleave = interleave; exports.QuickActionWall = QuickActionWall; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.chatDialogMenuItems = chatDialogMenuItems; exports.ChatListEmptyState = ChatListEmptyState; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.GuideModeBanner = GuideModeBanner; exports.ChatNavSidebar = ChatNavSidebar; exports.ChatListItem = ChatListItem; exports.MingoArchiveList = MingoArchiveList; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.MingoChatHeader = MingoChatHeader; exports.ChatHeaderSearchField = ChatHeaderSearchField; exports.MingoChatRail = MingoChatRail; exports.TabSelector = TabSelector; exports.MingoHistoryRail = MingoHistoryRail; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.ChatContextMemoryBar = ChatContextMemoryBar; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.ChatPanelContext = ChatPanelContext; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.useNavLinkViaRuntime = useNavLinkViaRuntime; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.getCaptionsUrl = getCaptionsUrl; exports.rebaseCaptionsUrl = rebaseCaptionsUrl; exports.buildCaptionsUrl = buildCaptionsUrl; exports.getEntityCaptionUrls = getEntityCaptionUrls; exports.getEntityCaptionUrlsById = getEntityCaptionUrlsById; exports.captionsEntityTypeForDocType = captionsEntityTypeForDocType; exports.useCaptions = useCaptions; exports.UserDisplay = UserDisplay; exports.CardHitLayer = CardHitLayer; exports.STRIP_CELL_MAX_WIDTH = STRIP_CELL_MAX_WIDTH; exports.CardsStrip = CardsStrip; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_TO_CSS_ASPECT = RATIO_TO_CSS_ASPECT; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesStrip = VideoBitesStrip; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.UnifiedSkeleton = UnifiedSkeleton; exports.TextSkeleton = TextSkeleton; exports.InteractiveSkeleton = InteractiveSkeleton; exports.MediaSkeleton = MediaSkeleton; exports.designDocPeople = designDocPeople; exports.designDocMetaLine = designDocMetaLine; exports.DesignDocCardSkeleton = DesignDocCardSkeleton; exports.DesignDocCard = DesignDocCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.getVendorLogo = getVendorLogo; exports.VendorIcon = VendorIcon; exports.useChatCardItem = useChatCardItem; exports.MingoInfoCardActionProvider = MingoInfoCardActionProvider; exports.readFetchedCardTitle = readFetchedCardTitle; exports.readFetchedCardPath = readFetchedCardPath; exports.resolveFetchedCardHref = resolveFetchedCardHref; exports.sourceRowCtxFromRuntime = sourceRowCtxFromRuntime; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.resolveCardDestination = resolveCardDestination; exports.chatCardLabel = chatCardLabel; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.EMPTY_DIALOG_CAPABILITIES = EMPTY_DIALOG_CAPABILITIES; exports.useChunkCatchup = useChunkCatchup; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.chatProgressLabel = chatProgressLabel; exports.approvalDisplaysInline = approvalDisplaysInline; exports.appendToTrailingAssistant = appendToTrailingAssistant; exports.upsertTrailingCompaction = upsertTrailingCompaction; exports.applyToolExecutionToMessages = applyToolExecutionToMessages; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.createEmptyTurnMeta = createEmptyTurnMeta; exports.createChatStreamReducer = createChatStreamReducer; exports.DEFAULT_DIALOG_SIDE = DEFAULT_DIALOG_SIDE; exports.DEFAULT_MAX_REDUCERS = DEFAULT_MAX_REDUCERS; exports.MAX_PENDING_RETAIN_KEYS = MAX_PENDING_RETAIN_KEYS; exports.createChatDialogStore = createChatDialogStore; exports.createDeltaBatcher = createDeltaBatcher; exports.useChatStreamReducer = useChatStreamReducer; exports.createChatConversationsApi = createChatConversationsApi; exports.buildDiscussPrompt = buildDiscussPrompt; exports.useManagedDialogList = useManagedDialogList; exports.useSseChatAdapter = useSseChatAdapter; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.extractIncompleteTailState = extractIncompleteTailState; exports.decodeHistoricalMessageData = decodeHistoricalMessageData; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.mapProcessedToUnified = mapProcessedToUnified; exports.historicalToUnified = historicalToUnified; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useStableShallow = useStableShallow; exports.useUnifiedChat = useUnifiedChat; exports.chatChipClass = chatChipClass; exports.MINGO_V2_RAIL_WIDTH = MINGO_V2_RAIL_WIDTH; exports.CHAT_BLOCK_MIN_WIDTH = CHAT_BLOCK_MIN_WIDTH; exports.MINGO_V2_SPLIT_WIDTH = MINGO_V2_SPLIT_WIDTH;
|