@flamingo-stack/openframe-frontend-core 0.0.783 → 0.0.784
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-TS6TISIF.cjs → chunk-4LQKUZQL.cjs} +15 -15
- package/dist/{chunk-KRXHRL3W.cjs → chunk-4T2ZBCVJ.cjs} +55 -55
- package/dist/{chunk-WHNI4QTG.cjs → chunk-6F3IS3RD.cjs} +3 -3
- package/dist/{chunk-YU23M33V.cjs → chunk-CBDSML44.cjs} +32 -32
- package/dist/{chunk-3PKORICR.cjs → chunk-CZPUVFON.cjs} +51 -51
- package/dist/{chunk-RL45AU2C.cjs → chunk-FQE5MGRD.cjs} +11 -11
- package/dist/{chunk-WS7IDGEL.cjs → chunk-GI5QCHOV.cjs} +6 -6
- package/dist/{chunk-E2ZZOYSM.cjs → chunk-GMIXTXAO.cjs} +15 -3
- package/dist/{chunk-LGISRUGF.cjs → chunk-GTYVI4QR.cjs} +4 -4
- package/dist/{chunk-H3RHAN6B.cjs → chunk-JYLECAIR.cjs} +41 -41
- package/dist/{chunk-AFSVWR3X.cjs → chunk-KVPHCBQV.cjs} +12 -12
- package/dist/{chunk-URFAMWCA.cjs → chunk-L33AEGH4.cjs} +22 -22
- package/dist/{chunk-THOGSAFH.cjs → chunk-MYXC6PEG.cjs} +329 -329
- package/dist/{chunk-XKDJ5ISQ.cjs → chunk-MZQGHDTE.cjs} +3 -3
- package/dist/{chunk-6NEWJ6I2.cjs → chunk-NZJ5WW2D.cjs} +21 -21
- package/dist/{chunk-62TMGBRO.cjs → chunk-STYH4ISW.cjs} +23 -23
- package/dist/{chunk-APO7GMZQ.cjs → chunk-U5R4MY4F.cjs} +4 -4
- package/dist/{chunk-PQSTPJQQ.cjs → chunk-V5PJQ4C2.cjs} +6 -6
- package/dist/{chunk-7OJMOG34.cjs → chunk-WMXNSSJZ.cjs} +48 -48
- package/dist/{chunk-BAJB3JF3.cjs → chunk-XVFESSEB.cjs} +7 -7
- package/dist/{cloud-tenants-QYW3MPPP.cjs → cloud-tenants-HUFCDOSC.cjs} +6 -6
- package/dist/components/case-studies/index.cjs +18 -18
- package/dist/components/chat/index.cjs +4 -4
- package/dist/components/contact/index.cjs +7 -7
- package/dist/components/docs/index.cjs +10 -10
- package/dist/components/embeds/index.cjs +7 -7
- package/dist/components/faq/index.cjs +8 -8
- package/dist/components/features/board/board-column.d.ts +1 -1
- package/dist/components/features/board/board-column.d.ts.map +1 -1
- package/dist/components/features/board/ticket-card.d.ts +1 -1
- package/dist/components/features/board/ticket-card.d.ts.map +1 -1
- package/dist/components/features/index.cjs +6 -6
- package/dist/components/help-center-pages/index.cjs +72 -72
- package/dist/components/index.cjs +40 -40
- package/dist/components/media-carousel.d.ts +1 -1
- package/dist/components/media-carousel.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +38 -38
- package/dist/components/navigation/app-header.d.ts +1 -1
- package/dist/components/navigation/app-header.d.ts.map +1 -1
- package/dist/components/navigation/index.cjs +9 -9
- package/dist/components/navigation/mobile-burger-menu.d.ts +1 -1
- package/dist/components/navigation/mobile-burger-menu.d.ts.map +1 -1
- package/dist/components/navigation/navigation-sidebar-item.d.ts +1 -1
- package/dist/components/navigation/navigation-sidebar-item.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.cjs +8 -8
- package/dist/components/product-demo/index.cjs +16 -16
- package/dist/components/tickets/index.cjs +11 -11
- package/dist/components/ui/index.cjs +6 -6
- package/dist/components/ui/markdown/engine.d.ts +1 -1
- package/dist/components/ui/markdown/engine.d.ts.map +1 -1
- package/dist/components/ui/modal-v2.d.ts.map +1 -1
- package/dist/components/ui/modal-v2.js +16 -4
- package/dist/{devices-DMMMEO2B.cjs → devices-KRWVEY76.cjs} +7 -7
- package/dist/{embeddable-chat-OSSPL7L4.cjs → embeddable-chat-AZEPJAPN.cjs} +65 -65
- package/dist/index.cjs +10 -10
- package/dist/{knowledge-XQQXVV6C.cjs → knowledge-Z3FM7U3W.cjs} +7 -7
- package/dist/{logs-BHKMDCBP.cjs → logs-CNJYF5CO.cjs} +14 -14
- package/dist/{policies-5IY7QUED.cjs → policies-U32LUDZ4.cjs} +10 -10
- package/dist/{remote-session-IEOWFBF7.cjs → remote-session-ST6JEZML.cjs} +5 -5
- package/dist/{scripts-ZQXRBGVK.cjs → scripts-2Y6ISOOK.cjs} +13 -13
- package/dist/{software-update-RGFRYL3N.cjs → software-update-EEN7PQR3.cjs} +10 -10
- package/package.json +3 -3
- package/src/components/ui/modal-v2.tsx +22 -4
|
@@ -57,7 +57,7 @@ require('./chunk-24I6RFVU.cjs');
|
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
var
|
|
60
|
+
var _chunkWMXNSSJZcjs = require('./chunk-WMXNSSJZ.cjs');
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
var _chunkBE4OUWTAcjs = require('./chunk-BE4OUWTA.cjs');
|
|
@@ -67,7 +67,7 @@ require('./chunk-WSBWP7IW.cjs');
|
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
var
|
|
70
|
+
var _chunkGMIXTXAOcjs = require('./chunk-GMIXTXAO.cjs');
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
var _chunkFS7CBRF4cjs = require('./chunk-FS7CBRF4.cjs');
|
|
@@ -2008,7 +2008,7 @@ function useChatDialogManager({
|
|
|
2008
2008
|
setArchivedLoading(true);
|
|
2009
2009
|
}
|
|
2010
2010
|
try {
|
|
2011
|
-
const result = await fetchArchivedDialogs({ cursor, limit:
|
|
2011
|
+
const result = await fetchArchivedDialogs({ cursor, limit: _chunkWMXNSSJZcjs.CHAT_HISTORY_PAGE_SIZE });
|
|
2012
2012
|
if (!isCurrent()) return;
|
|
2013
2013
|
setArchivedCursor(result.nextCursor);
|
|
2014
2014
|
setArchivedDialogs((prev) => cursor ? [...prev, ...result.dialogs] : result.dialogs);
|
|
@@ -2135,7 +2135,7 @@ function splitCitedSources(sources, content) {
|
|
|
2135
2135
|
}
|
|
2136
2136
|
const cited = sources.filter((source) => firstMentionAt.has(source.index)).sort((a, b) => (_nullishCoalesce(firstMentionAt.get(a.index), () => ( 0))) - (_nullishCoalesce(firstMentionAt.get(b.index), () => ( 0))));
|
|
2137
2137
|
const uncited = sources.filter((source) => !firstMentionAt.has(source.index));
|
|
2138
|
-
return { cited:
|
|
2138
|
+
return { cited: _chunkWMXNSSJZcjs.groupSourcesByTable.call(void 0, cited), uncited: _chunkWMXNSSJZcjs.groupSourcesByTable.call(void 0, uncited) };
|
|
2139
2139
|
}
|
|
2140
2140
|
|
|
2141
2141
|
// src/components/chat/utils/host-message.ts
|
|
@@ -2186,7 +2186,7 @@ function pruneTimestampCache(timestampCache, liveIds) {
|
|
|
2186
2186
|
// src/components/chat/embeddable-chat.tsx
|
|
2187
2187
|
var _jsxruntime = require('react/jsx-runtime');
|
|
2188
2188
|
var HISTORY_RAIL_WIDTH = 320;
|
|
2189
|
-
var SPLIT_MIN_WIDTH = HISTORY_RAIL_WIDTH +
|
|
2189
|
+
var SPLIT_MIN_WIDTH = HISTORY_RAIL_WIDTH + _chunkWMXNSSJZcjs.CHAT_BLOCK_MIN_WIDTH;
|
|
2190
2190
|
var DRAWER_DEFAULT_WIDTH_RATIO = 0.5;
|
|
2191
2191
|
var DRAWER_WIDTH_KEY = "mingo-chat-width-v4";
|
|
2192
2192
|
var DRAWER_DEFAULT_WIDTH_PX = 750;
|
|
@@ -2259,7 +2259,7 @@ function dispatchSlashCommandAction(actionId, cmdId, ref) {
|
|
|
2259
2259
|
if (!input) return;
|
|
2260
2260
|
switch (actionId) {
|
|
2261
2261
|
case "browse":
|
|
2262
|
-
input.submit(
|
|
2262
|
+
input.submit(_chunkWMXNSSJZcjs.formatSingularLookupInvocation.call(void 0, cmdId));
|
|
2263
2263
|
return;
|
|
2264
2264
|
case "search":
|
|
2265
2265
|
input.setValue(`/${cmdId} `);
|
|
@@ -2285,7 +2285,7 @@ function SourceChip({
|
|
|
2285
2285
|
}) {
|
|
2286
2286
|
const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
|
|
2287
2287
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
2288
|
-
const cta =
|
|
2288
|
+
const cta = _chunkWMXNSSJZcjs.resolveSourceRowCTA.call(void 0,
|
|
2289
2289
|
{
|
|
2290
2290
|
sourceRepo: src.sourceRepo,
|
|
2291
2291
|
documentType: src.documentType,
|
|
@@ -2295,15 +2295,15 @@ function SourceChip({
|
|
|
2295
2295
|
targetPlatform: _nullishCoalesce(src.targetPlatform, () => ( null)),
|
|
2296
2296
|
path: src.path
|
|
2297
2297
|
},
|
|
2298
|
-
|
|
2298
|
+
_chunkWMXNSSJZcjs.sourceRowCtxFromRuntime.call(void 0, runtime, { baseRoute, chipBasePlatform })
|
|
2299
2299
|
);
|
|
2300
2300
|
const Icon = cta.icon;
|
|
2301
2301
|
const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-3.5 w-3.5" });
|
|
2302
|
-
const chipClass =
|
|
2302
|
+
const chipClass = _chunkWMXNSSJZcjs.chatChipClass.call(void 0, { tone: "secondary" });
|
|
2303
2303
|
const decideTab = (href, targetPlatform) => _chunkODDUGLYFcjs.computeIsNewTab.call(void 0, runtime, href, targetPlatform);
|
|
2304
2304
|
if (src.items && src.items.length > 0) {
|
|
2305
2305
|
const dropdownItems = src.items.map((item) => {
|
|
2306
|
-
const itemCta =
|
|
2306
|
+
const itemCta = _chunkWMXNSSJZcjs.resolveSourceRowCTA.call(void 0,
|
|
2307
2307
|
{
|
|
2308
2308
|
sourceRepo: src.sourceRepo,
|
|
2309
2309
|
documentType: item.documentType,
|
|
@@ -2313,7 +2313,7 @@ function SourceChip({
|
|
|
2313
2313
|
targetPlatform: _nullishCoalesce(item.targetPlatform, () => ( null)),
|
|
2314
2314
|
path: item.path
|
|
2315
2315
|
},
|
|
2316
|
-
|
|
2316
|
+
_chunkWMXNSSJZcjs.sourceRowCtxFromRuntime.call(void 0, runtime, { baseRoute, chipBasePlatform })
|
|
2317
2317
|
);
|
|
2318
2318
|
const ItemIcon = itemCta.icon;
|
|
2319
2319
|
const itemChatRef = itemCta.chatRef;
|
|
@@ -2333,13 +2333,13 @@ function SourceChip({
|
|
|
2333
2333
|
};
|
|
2334
2334
|
});
|
|
2335
2335
|
const itemIndices = src.items.flatMap((item) => item.index === void 0 ? [] : [item.index]);
|
|
2336
|
-
const groupIndices = itemIndices.length > 0 ?
|
|
2336
|
+
const groupIndices = itemIndices.length > 0 ? _chunkWMXNSSJZcjs.formatCitationIndices.call(void 0, itemIndices) : `${src.index}`;
|
|
2337
2337
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2338
2338
|
_chunkZFOMRALUcjs.HoverDropdown,
|
|
2339
2339
|
{
|
|
2340
2340
|
items: dropdownItems,
|
|
2341
2341
|
renderAnchor: ({ href, targetPlatform, path, className, children }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2342
|
-
|
|
2342
|
+
_chunkWMXNSSJZcjs.NavLinkAnchorViaRuntime,
|
|
2343
2343
|
{
|
|
2344
2344
|
href,
|
|
2345
2345
|
targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)),
|
|
@@ -2372,10 +2372,10 @@ function SourceChip({
|
|
|
2372
2372
|
] });
|
|
2373
2373
|
const wrapChip = (clickable) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "inline-flex items-center", children: [
|
|
2374
2374
|
clickable,
|
|
2375
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2375
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWMXNSSJZcjs.SourceActionButton, { chatRef: cta.chatRef, onDiscuss, density: "inline", className: "-mr-1 ml-1" })
|
|
2376
2376
|
] });
|
|
2377
2377
|
const buildClickHandler = (href, path, targetPlatform, isNewTab) => (e) => {
|
|
2378
|
-
const handled =
|
|
2378
|
+
const handled = _chunkWMXNSSJZcjs.executeNavigation.call(void 0, {
|
|
2379
2379
|
event: e,
|
|
2380
2380
|
runtime,
|
|
2381
2381
|
href,
|
|
@@ -2524,7 +2524,7 @@ function EmbeddableChatInner({
|
|
|
2524
2524
|
defaultActiveMode,
|
|
2525
2525
|
shell = "drawer",
|
|
2526
2526
|
closable = true,
|
|
2527
|
-
appearance =
|
|
2527
|
+
appearance = _chunkGMIXTXAOcjs.CHAT_APPEARANCE.CLASSIC,
|
|
2528
2528
|
onCollapse,
|
|
2529
2529
|
collapseTo = "list",
|
|
2530
2530
|
onExpand,
|
|
@@ -2547,11 +2547,11 @@ function EmbeddableChatInner({
|
|
|
2547
2547
|
handleRef
|
|
2548
2548
|
}) {
|
|
2549
2549
|
const shellLess = shell !== "drawer";
|
|
2550
|
-
const isV2 = appearance ===
|
|
2550
|
+
const isV2 = appearance === _chunkGMIXTXAOcjs.CHAT_APPEARANCE.V2;
|
|
2551
2551
|
const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
|
|
2552
2552
|
const source = _nullishCoalesce(runtime.source, () => ( ""));
|
|
2553
2553
|
const commandsUrl = runtime.endpoints.commandsUrl;
|
|
2554
|
-
const { attachmentsEnabled, user: identityUser } =
|
|
2554
|
+
const { attachmentsEnabled, user: identityUser } = _chunkWMXNSSJZcjs.useChatIdentity.call(void 0, );
|
|
2555
2555
|
const viewUrlPrefix = runtime.endpoints.attachmentViewUrlPrefix;
|
|
2556
2556
|
_react.useEffect.call(void 0, () => {
|
|
2557
2557
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -2605,9 +2605,9 @@ function EmbeddableChatInner({
|
|
|
2605
2605
|
const [quickActionPreview, setQuickActionPreview] = _react.useState.call(void 0, null);
|
|
2606
2606
|
const slashCommandsProp = _react.useMemo.call(void 0,
|
|
2607
2607
|
() => ({
|
|
2608
|
-
fetchCommands: (prefix, signal) =>
|
|
2608
|
+
fetchCommands: (prefix, signal) => _chunkWMXNSSJZcjs.fetchSlashCommands.call(void 0, prefix, signal, commandsUrl),
|
|
2609
2609
|
resolveSourceIcon: (sourceId) => {
|
|
2610
|
-
const iconName =
|
|
2610
|
+
const iconName = _chunkWMXNSSJZcjs.getSourceIconName.call(void 0, sourceId);
|
|
2611
2611
|
if (!iconName) return void 0;
|
|
2612
2612
|
return { Icon: _chunkCS5SZJFVcjs.resolveIcon.call(void 0, iconName, { variant: "brand" }), label: sourceId };
|
|
2613
2613
|
},
|
|
@@ -2636,7 +2636,7 @@ function EmbeddableChatInner({
|
|
|
2636
2636
|
},
|
|
2637
2637
|
[controlledActiveMode, onActiveModeChange]
|
|
2638
2638
|
);
|
|
2639
|
-
const { commands: commandsList, loaded: commandsLoaded } =
|
|
2639
|
+
const { commands: commandsList, loaded: commandsLoaded } = _chunkWMXNSSJZcjs.useSlashCommandRegistry.call(void 0, commandsUrl, {
|
|
2640
2640
|
enabled: activeMode === "guide"
|
|
2641
2641
|
});
|
|
2642
2642
|
const commandsById = _react.useMemo.call(void 0, () => {
|
|
@@ -2647,7 +2647,7 @@ function EmbeddableChatInner({
|
|
|
2647
2647
|
const resolveAgentConfigUrl = _nullishCoalesce(_nullishCoalesce(aiAgentConfigUrlProp, () => ( runtime.endpoints.aiAgentConfigUrl)), () => ( DEFAULT_AI_AGENT_CONFIG_URL));
|
|
2648
2648
|
const agentConfigUrl = activeAgentSlug ? resolveAgentConfigUrl(activeAgentSlug) : void 0;
|
|
2649
2649
|
const emptyStateUrl = _nullishCoalesce(agentConfigUrl, () => ( runtime.endpoints.emptyStateUrl));
|
|
2650
|
-
const { config: emptyStateConfig, loading: emptyStateLoading } =
|
|
2650
|
+
const { config: emptyStateConfig, loading: emptyStateLoading } = _chunkWMXNSSJZcjs.useEmptyStateConfig.call(void 0, emptyStateUrl, {
|
|
2651
2651
|
enabled: activeMode === "guide" || !!activeAgentSlug
|
|
2652
2652
|
});
|
|
2653
2653
|
const effectiveGreeting = _nullishCoalesce(emptyStateConfig.greeting, () => ( emptyStateGreeting));
|
|
@@ -2694,7 +2694,7 @@ function EmbeddableChatInner({
|
|
|
2694
2694
|
hasMoreMessages,
|
|
2695
2695
|
loadMoreMessages,
|
|
2696
2696
|
dialogCapabilities
|
|
2697
|
-
} =
|
|
2697
|
+
} = _chunkWMXNSSJZcjs.useUnifiedChat.call(void 0, {
|
|
2698
2698
|
modes: effectiveModes,
|
|
2699
2699
|
activeMode,
|
|
2700
2700
|
mingoStateOverride: mingoState,
|
|
@@ -2741,8 +2741,8 @@ function EmbeddableChatInner({
|
|
|
2741
2741
|
addFiles: addAttachmentFiles,
|
|
2742
2742
|
removeAttachment,
|
|
2743
2743
|
clear: clearAttachments
|
|
2744
|
-
} =
|
|
2745
|
-
const { panelRef: galleryPanelRef, modal: galleryModal } =
|
|
2744
|
+
} = _chunkWMXNSSJZcjs.useChatAttachments.call(void 0, );
|
|
2745
|
+
const { panelRef: galleryPanelRef, modal: galleryModal } = _chunkWMXNSSJZcjs.useChatAttachmentImageGallery.call(void 0, );
|
|
2746
2746
|
const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _16 => _16.maxItems]), () => ( 10));
|
|
2747
2747
|
const contextPickerForMode = activeMode === "mingo" ? contextPicker : void 0;
|
|
2748
2748
|
const [contextItems, setContextItems] = _react.useState.call(void 0, NO_CONTEXT_ITEMS);
|
|
@@ -2862,7 +2862,7 @@ function EmbeddableChatInner({
|
|
|
2862
2862
|
const askAboutRef = _react.useRef.call(void 0, discussRef);
|
|
2863
2863
|
const askAbout = _react.useCallback.call(void 0, (reference) => askAboutRef.current(reference), []);
|
|
2864
2864
|
const renderEntityCard = _react.useCallback.call(void 0,
|
|
2865
|
-
(reference) =>
|
|
2865
|
+
(reference) => _chunkWMXNSSJZcjs.renderChatInlineEntityCard.call(void 0, reference, {
|
|
2866
2866
|
onDiscuss: askAbout,
|
|
2867
2867
|
onDisplay: displayRef,
|
|
2868
2868
|
baseRoute: resolvedBaseRoute,
|
|
@@ -2884,13 +2884,13 @@ function EmbeddableChatInner({
|
|
|
2884
2884
|
pruneTimestampCache(timestampCache, new Set(rawMessages.map((m) => m.id)));
|
|
2885
2885
|
return mapped;
|
|
2886
2886
|
}, [rawMessages, guideUserName, guideUserAvatar, timestampCache]);
|
|
2887
|
-
const whatToAsk =
|
|
2887
|
+
const whatToAsk = _chunkWMXNSSJZcjs.useWhatToAsk.call(void 0, {
|
|
2888
2888
|
dialogId: activeDialogId,
|
|
2889
2889
|
content: typeof whatToAskContent === "function" ? void 0 : whatToAskContent,
|
|
2890
2890
|
user: {
|
|
2891
2891
|
name: _nullishCoalesce(headerUserName, () => ( "You")),
|
|
2892
2892
|
avatar: _optionalChain([identityUser, 'optionalAccess', _40 => _40.avatarUrl, 'optionalAccess', _41 => _41.trim, 'call', _42 => _42()]) || _optionalChain([userAvatarUrl, 'optionalAccess', _43 => _43.trim, 'call', _44 => _44()]) || null,
|
|
2893
|
-
authorType:
|
|
2893
|
+
authorType: _chunkGMIXTXAOcjs.AUTHOR_TYPE.ADMIN
|
|
2894
2894
|
},
|
|
2895
2895
|
assistant: { name: "Mingo", assistantType: "mingo" }
|
|
2896
2896
|
});
|
|
@@ -2903,7 +2903,7 @@ function EmbeddableChatInner({
|
|
|
2903
2903
|
noteWhatToAskSend();
|
|
2904
2904
|
let augmentedText = text;
|
|
2905
2905
|
if (readyAttachments.length > 0) {
|
|
2906
|
-
const markdown = readyAttachments.map((att) =>
|
|
2906
|
+
const markdown = readyAttachments.map((att) => _chunkWMXNSSJZcjs.formatChatAttachmentMarkdownForBubble.call(void 0, att, viewUrlPrefix)).join("");
|
|
2907
2907
|
augmentedText = `${text}${markdown}`;
|
|
2908
2908
|
}
|
|
2909
2909
|
void sendMessage(augmentedText, {
|
|
@@ -2942,7 +2942,7 @@ function EmbeddableChatInner({
|
|
|
2942
2942
|
// agent/persona (`icon_props.color`) wins; the built-in slug map
|
|
2943
2943
|
// (fae→pink, mingo→cyan) is only the fallback for unconfigured
|
|
2944
2944
|
// built-in agents.
|
|
2945
|
-
accent: _nullishCoalesce(
|
|
2945
|
+
accent: _nullishCoalesce(_chunkWMXNSSJZcjs.accentFromIdentityIcon.call(void 0, effectiveAssistantIcon), () => ( _chunkWMXNSSJZcjs.getAgentAccent.call(void 0, activeAgentSlug)))
|
|
2946
2946
|
}));
|
|
2947
2947
|
}
|
|
2948
2948
|
return (_nullishCoalesce(effectiveSuggestedQueries, () => ( []))).map((q, i) => ({
|
|
@@ -2990,7 +2990,7 @@ function EmbeddableChatInner({
|
|
|
2990
2990
|
unarchiveDialog: mingoCaps.unarchiveDialog
|
|
2991
2991
|
});
|
|
2992
2992
|
const handleOpen = _react.useCallback.call(void 0, () => setIsOpen(true), [setIsOpen]);
|
|
2993
|
-
|
|
2993
|
+
_chunkWMXNSSJZcjs.useCloseOnNavigation.call(void 0, handleNavigationClose, null);
|
|
2994
2994
|
_react.useEffect.call(void 0, () => {
|
|
2995
2995
|
const handler = (e) => {
|
|
2996
2996
|
const detail = e.detail;
|
|
@@ -2998,8 +2998,8 @@ function EmbeddableChatInner({
|
|
|
2998
2998
|
setIsOpen(true);
|
|
2999
2999
|
setTimeout(() => askAbout(detail.ref), 0);
|
|
3000
3000
|
};
|
|
3001
|
-
window.addEventListener(
|
|
3002
|
-
return () => window.removeEventListener(
|
|
3001
|
+
window.addEventListener(_chunkWMXNSSJZcjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
|
|
3002
|
+
return () => window.removeEventListener(_chunkWMXNSSJZcjs.ASK_AI_OPEN_WITH_REF_EVENT, handler);
|
|
3003
3003
|
}, [source, askAbout, setIsOpen]);
|
|
3004
3004
|
const pendingAskRef = _react.useRef.call(void 0, null);
|
|
3005
3005
|
const isDraft = activeDialogId == null && messages.length === 0;
|
|
@@ -3033,10 +3033,10 @@ function EmbeddableChatInner({
|
|
|
3033
3033
|
const prompt = typeof detail.prompt === "string" ? detail.prompt.trim() : "";
|
|
3034
3034
|
if (prompt) setTimeout(() => sendAskPrompt(prompt), 0);
|
|
3035
3035
|
};
|
|
3036
|
-
window.addEventListener(
|
|
3037
|
-
return () => window.removeEventListener(
|
|
3036
|
+
window.addEventListener(_chunkWMXNSSJZcjs.ASK_AI_OPEN_EVENT, handler);
|
|
3037
|
+
return () => window.removeEventListener(_chunkWMXNSSJZcjs.ASK_AI_OPEN_EVENT, handler);
|
|
3038
3038
|
}, [source, setIsOpen, sendAskPrompt]);
|
|
3039
|
-
_react.useEffect.call(void 0, () =>
|
|
3039
|
+
_react.useEffect.call(void 0, () => _chunkWMXNSSJZcjs.chatListensForAskAiOpens.call(void 0, ), []);
|
|
3040
3040
|
const hasMessages = messages.length > 0;
|
|
3041
3041
|
const dialogsInitialLoading = isDialogsLoading && dialogs.length === 0;
|
|
3042
3042
|
const dialogsLoadError = dialogsError && dialogs.length === 0;
|
|
@@ -3073,7 +3073,7 @@ function EmbeddableChatInner({
|
|
|
3073
3073
|
(message, index) => {
|
|
3074
3074
|
if (message.role !== "assistant") return null;
|
|
3075
3075
|
if (chatLoading && index === messages.length - 1) return null;
|
|
3076
|
-
const { cited, uncited } = splitCitedSources(message.sources,
|
|
3076
|
+
const { cited, uncited } = splitCitedSources(message.sources, _chunkWMXNSSJZcjs.flattenAssistantContent.call(void 0, message.content));
|
|
3077
3077
|
if (cited.length === 0 && uncited.length === 0) return null;
|
|
3078
3078
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pb-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3079
3079
|
SourceChips,
|
|
@@ -3091,7 +3091,7 @@ function EmbeddableChatInner({
|
|
|
3091
3091
|
);
|
|
3092
3092
|
const [portalHost, setPortalHost] = _react.useState.call(void 0, null);
|
|
3093
3093
|
const [panelBoundary, setPanelBoundary] = _react.useState.call(void 0, null);
|
|
3094
|
-
const splitMinWidth = (isV2 ?
|
|
3094
|
+
const splitMinWidth = (isV2 ? _chunkWMXNSSJZcjs.MINGO_V2_RAIL_WIDTH : HISTORY_RAIL_WIDTH) + _chunkWMXNSSJZcjs.CHAT_BLOCK_MIN_WIDTH;
|
|
3095
3095
|
const [canSplit, setCanSplit] = _react.useState.call(void 0, false);
|
|
3096
3096
|
_react.useEffect.call(void 0, () => {
|
|
3097
3097
|
if (!panelBoundary || typeof ResizeObserver === "undefined") return void 0;
|
|
@@ -3110,7 +3110,7 @@ function EmbeddableChatInner({
|
|
|
3110
3110
|
[splitMinWidth]
|
|
3111
3111
|
);
|
|
3112
3112
|
const [railCollapsed, setRailCollapsed] = _react.useState.call(void 0, false);
|
|
3113
|
-
const railStorageHydrated =
|
|
3113
|
+
const railStorageHydrated = _chunkWMXNSSJZcjs.useIsHydrated.call(void 0, );
|
|
3114
3114
|
const [railStorageRead, setRailStorageRead] = _react.useState.call(void 0, false);
|
|
3115
3115
|
if (railStorageHydrated && !railStorageRead) {
|
|
3116
3116
|
setRailStorageRead(true);
|
|
@@ -3164,7 +3164,7 @@ function EmbeddableChatInner({
|
|
|
3164
3164
|
resetToNewChat();
|
|
3165
3165
|
}, [clearWhatToAskDraft, resetToNewChat]);
|
|
3166
3166
|
const activeDialogStatus = activeDialog && dialogStatusOf ? dialogStatusOf(activeDialog) : void 0;
|
|
3167
|
-
const isChatBlocked = !!composerLock || chatLoading || activeDialogStatus === "working" || activeDialogStatus === "approval" || (_nullishCoalesce(_optionalChain([pendingApprovals, 'optionalAccess', _65 => _65.length]), () => ( 0))) > 0 ||
|
|
3167
|
+
const isChatBlocked = !!composerLock || chatLoading || activeDialogStatus === "working" || activeDialogStatus === "approval" || (_nullishCoalesce(_optionalChain([pendingApprovals, 'optionalAccess', _65 => _65.length]), () => ( 0))) > 0 || _chunkWMXNSSJZcjs.awaitsDecision.call(void 0, hostMessages);
|
|
3168
3168
|
const showWhatToAsk = (content) => {
|
|
3169
3169
|
whatToAsk.clearDraft();
|
|
3170
3170
|
resetToNewChat();
|
|
@@ -3260,7 +3260,7 @@ function EmbeddableChatInner({
|
|
|
3260
3260
|
}),
|
|
3261
3261
|
[resetToNewChat, contextMaxItems]
|
|
3262
3262
|
);
|
|
3263
|
-
const splitHeaderMenuItems =
|
|
3263
|
+
const splitHeaderMenuItems = _chunkWMXNSSJZcjs.chatDialogMenuItems.call(void 0, {
|
|
3264
3264
|
onCopyLink: headerOnCopyLink,
|
|
3265
3265
|
onRename: headerOnRename,
|
|
3266
3266
|
onCompact: headerOnCompact,
|
|
@@ -3340,7 +3340,7 @@ function EmbeddableChatInner({
|
|
|
3340
3340
|
onRetry: reloadDialogs
|
|
3341
3341
|
};
|
|
3342
3342
|
const v2Header = isV2 && !stackedListView ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "col-start-2 row-start-1 min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3343
|
-
|
|
3343
|
+
_chunkWMXNSSJZcjs.MingoChatHeader,
|
|
3344
3344
|
{
|
|
3345
3345
|
title: archiveOpen ? "Chat Archive" : headerShowBack || isGuideEmpty ? headerTitle : freshConversationTitle,
|
|
3346
3346
|
subtitle: archiveOpen ? void 0 : headerPersonName,
|
|
@@ -3360,7 +3360,7 @@ function EmbeddableChatInner({
|
|
|
3360
3360
|
const body = (
|
|
3361
3361
|
// The whole panel reads the appearance (the composer's footer too), not
|
|
3362
3362
|
// only the thread `ChatMessageList` provides it to.
|
|
3363
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3363
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWMXNSSJZcjs.ChatAppearanceContext.Provider, { value: appearance, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4DQ4CNAGcjs.PortalContainerContext.Provider, { value: portalHost, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk4DQ4CNAGcjs.CollisionBoundaryContext.Provider, { value: panelBoundary, children: [
|
|
3364
3364
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3365
3365
|
"div",
|
|
3366
3366
|
{
|
|
@@ -3368,7 +3368,7 @@ function EmbeddableChatInner({
|
|
|
3368
3368
|
"data-surface": isV2 ? "mingo" : void 0,
|
|
3369
3369
|
className: `flex h-full flex-col overflow-hidden transition-colors duration-200 ${!isV2 && (archiveOpen && !splitActive || stackedListView) ? "bg-ods-card" : "bg-ods-bg"} ${previewMode ? "pointer-events-none select-none" : ""}`,
|
|
3370
3370
|
children: archiveOpen && !splitActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col duration-200 animate-in fade-in-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3371
|
-
|
|
3371
|
+
_chunkWMXNSSJZcjs.ChatArchivePage,
|
|
3372
3372
|
{
|
|
3373
3373
|
dialogs: archivedDialogs,
|
|
3374
3374
|
onSelectDialog: handleArchivedSelect,
|
|
@@ -3398,7 +3398,7 @@ function EmbeddableChatInner({
|
|
|
3398
3398
|
narrow: true,
|
|
3399
3399
|
className: "col-start-1 row-span-3 row-start-1",
|
|
3400
3400
|
innerClassName: "flex min-h-0 flex-col",
|
|
3401
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3401
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWMXNSSJZcjs.MingoChatRail, { ...mingoRailProps, className: "w-full border-r-0" })
|
|
3402
3402
|
}
|
|
3403
3403
|
),
|
|
3404
3404
|
isV2 ? v2Header : showWideHeader ? (
|
|
@@ -3437,7 +3437,7 @@ function EmbeddableChatInner({
|
|
|
3437
3437
|
// (Figma 116:51217) and the magnifier toggle is hidden.
|
|
3438
3438
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
3439
3439
|
railSearchOpen && mingoCaps.onSearchChange ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3440
|
-
|
|
3440
|
+
_chunkWMXNSSJZcjs.ChatHeaderSearchField,
|
|
3441
3441
|
{
|
|
3442
3442
|
initialValue: mingoCaps.searchQuery,
|
|
3443
3443
|
onSearchChange: mingoCaps.onSearchChange,
|
|
@@ -3524,10 +3524,10 @@ function EmbeddableChatInner({
|
|
|
3524
3524
|
// guide, resolved into `narrowHeaderProps` above. (Wide layouts,
|
|
3525
3525
|
// including rail-collapsed, use the wide header above.) Embedded
|
|
3526
3526
|
// previews (hero demo tabs) force the compact bar via `compact`.
|
|
3527
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3527
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWMXNSSJZcjs.ChatPanelHeader, { ...narrowHeaderProps, compact: previewMode })
|
|
3528
3528
|
),
|
|
3529
3529
|
activeMode === "guide" && hasMingoMode && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3530
|
-
|
|
3530
|
+
_chunkWMXNSSJZcjs.GuideModeBanner,
|
|
3531
3531
|
{
|
|
3532
3532
|
className: _chunkMGEUZRNQcjs.cn.call(void 0, "duration-200 animate-in fade-in-0", isV2 && "col-start-2 row-start-2")
|
|
3533
3533
|
}
|
|
@@ -3537,7 +3537,7 @@ function EmbeddableChatInner({
|
|
|
3537
3537
|
// Archive list inside the rail (header lives in the split
|
|
3538
3538
|
// header's left cell above). Right chat block stays put.
|
|
3539
3539
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3540
|
-
|
|
3540
|
+
_chunkWMXNSSJZcjs.ChatArchivePage,
|
|
3541
3541
|
{
|
|
3542
3542
|
embedded: true,
|
|
3543
3543
|
dialogs: archivedDialogs,
|
|
@@ -3551,7 +3551,7 @@ function EmbeddableChatInner({
|
|
|
3551
3551
|
}
|
|
3552
3552
|
)
|
|
3553
3553
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3554
|
-
|
|
3554
|
+
_chunkWMXNSSJZcjs.MingoHistoryRail,
|
|
3555
3555
|
{
|
|
3556
3556
|
dialogs,
|
|
3557
3557
|
activeDialogId: _nullishCoalesce(activeDialogId, () => ( void 0)),
|
|
@@ -3579,7 +3579,7 @@ function EmbeddableChatInner({
|
|
|
3579
3579
|
// v2: the archive opens in the chat column under the chat's
|
|
3580
3580
|
// header; the list stays, and "Chat Archive" there toggles back.
|
|
3581
3581
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3582
|
-
|
|
3582
|
+
_chunkWMXNSSJZcjs.MingoArchiveList,
|
|
3583
3583
|
{
|
|
3584
3584
|
dialogs: archivedDialogs,
|
|
3585
3585
|
onSelectDialog: handleArchivedSelect,
|
|
@@ -3592,7 +3592,7 @@ function EmbeddableChatInner({
|
|
|
3592
3592
|
}
|
|
3593
3593
|
)
|
|
3594
3594
|
) : stackedListView && isV2 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3595
|
-
|
|
3595
|
+
_chunkWMXNSSJZcjs.MingoChatRail,
|
|
3596
3596
|
{
|
|
3597
3597
|
...mingoRailProps,
|
|
3598
3598
|
onNewChat: () => setComposeOpen(true),
|
|
@@ -3611,7 +3611,7 @@ function EmbeddableChatInner({
|
|
|
3611
3611
|
// single-column view. No composer here; "Start New Chat" opens
|
|
3612
3612
|
// the compose view.
|
|
3613
3613
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3614
|
-
|
|
3614
|
+
_chunkWMXNSSJZcjs.MingoHistoryRail,
|
|
3615
3615
|
{
|
|
3616
3616
|
className: "duration-200 animate-in fade-in-0",
|
|
3617
3617
|
dialogs,
|
|
@@ -3654,14 +3654,14 @@ function EmbeddableChatInner({
|
|
|
3654
3654
|
{
|
|
3655
3655
|
className: "flex min-h-0 flex-1 flex-col duration-200 animate-in fade-in-0",
|
|
3656
3656
|
children: hasConversation ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3657
|
-
|
|
3657
|
+
_chunkWMXNSSJZcjs.ChatMessageList,
|
|
3658
3658
|
{
|
|
3659
3659
|
messages,
|
|
3660
3660
|
isLoading: messagesInitialLoading,
|
|
3661
3661
|
fill: previewMode,
|
|
3662
3662
|
appearance,
|
|
3663
3663
|
isTyping: chatLoading,
|
|
3664
|
-
typingMessage: streamingProgress ?
|
|
3664
|
+
typingMessage: streamingProgress ? _chunkWMXNSSJZcjs.chatProgressLabel.call(void 0, streamingProgress) : void 0,
|
|
3665
3665
|
pendingApprovals,
|
|
3666
3666
|
autoScroll: !previewMode,
|
|
3667
3667
|
pinBottom: previewMode,
|
|
@@ -3674,7 +3674,7 @@ function EmbeddableChatInner({
|
|
|
3674
3674
|
renderMention,
|
|
3675
3675
|
renderAfterMessage: renderMessageSources,
|
|
3676
3676
|
onAskSelect: chatLoading || previewMode ? void 0 : handleAskSelect,
|
|
3677
|
-
NavLinkAnchor:
|
|
3677
|
+
NavLinkAnchor: _chunkWMXNSSJZcjs.NavLinkAnchorViaRuntime,
|
|
3678
3678
|
className: previewMode ? "pointer-events-auto flex-1" : "flex-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
3679
3679
|
contentClassName: "max-w-none pb-0",
|
|
3680
3680
|
fullWidth: true,
|
|
@@ -3688,7 +3688,7 @@ function EmbeddableChatInner({
|
|
|
3688
3688
|
quick-action chips. Guide mode keeps the slash-command
|
|
3689
3689
|
onboarding list below. */
|
|
3690
3690
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3691
|
-
|
|
3691
|
+
_chunkWMXNSSJZcjs.MingoWelcome,
|
|
3692
3692
|
{
|
|
3693
3693
|
onStartGuideChat: effectiveModes.guide ? () => handleActiveModeChange("guide") : void 0,
|
|
3694
3694
|
historyPageSize,
|
|
@@ -3704,7 +3704,7 @@ function EmbeddableChatInner({
|
|
|
3704
3704
|
+ slash-command onboarding list share one scroll region,
|
|
3705
3705
|
with a pinned quick-action chip row above the composer. */
|
|
3706
3706
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3707
|
-
|
|
3707
|
+
_chunkWMXNSSJZcjs.GuideWelcome,
|
|
3708
3708
|
{
|
|
3709
3709
|
subtitle: _nullishCoalesce(effectiveGreeting, () => ( void 0)),
|
|
3710
3710
|
subtitleLoading: emptyStateLoading,
|
|
@@ -3720,7 +3720,7 @@ function EmbeddableChatInner({
|
|
|
3720
3720
|
onQuickActionHoverEnd: () => setQuickActionPreview(null),
|
|
3721
3721
|
agentSlug: activeAgentSlug,
|
|
3722
3722
|
children: (chipCommands.length > 0 || !commandsLoaded) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "shrink-0 overflow-hidden rounded-md border border-ods-border", children: [
|
|
3723
|
-
!commandsLoaded && chipCommands.length === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMGEUZRNQcjs.LoadingItems, { count:
|
|
3723
|
+
!commandsLoaded && chipCommands.length === 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMGEUZRNQcjs.LoadingItems, { count: _chunkGMIXTXAOcjs.MINGO_ONBOARDING_SKELETON_ROWS, children: (i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGMIXTXAOcjs.MingoOnboardingCard, { loading: true, "data-loading-item": true, skeletonIndex: i, title: "" }) }),
|
|
3724
3724
|
chipCommands.map((cmd) => {
|
|
3725
3725
|
const Icon = _chunkCS5SZJFVcjs.resolveIcon.call(void 0, cmd.iconName);
|
|
3726
3726
|
const cmdId = cmd.id;
|
|
@@ -3731,7 +3731,7 @@ function EmbeddableChatInner({
|
|
|
3731
3731
|
onClick: () => dispatchSlashCommandAction(action.id, cmdId, chatInputRef)
|
|
3732
3732
|
}));
|
|
3733
3733
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3734
|
-
|
|
3734
|
+
_chunkGMIXTXAOcjs.MingoOnboardingCard,
|
|
3735
3735
|
{
|
|
3736
3736
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { size: 16 }),
|
|
3737
3737
|
title: label,
|
|
@@ -3761,7 +3761,7 @@ function EmbeddableChatInner({
|
|
|
3761
3761
|
}
|
|
3762
3762
|
),
|
|
3763
3763
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3764
|
-
|
|
3764
|
+
_chunkWMXNSSJZcjs.ChatAttachmentChipStrip,
|
|
3765
3765
|
{
|
|
3766
3766
|
attachments: stagedAttachments,
|
|
3767
3767
|
onRemove: removeAttachment,
|
|
@@ -3769,7 +3769,7 @@ function EmbeddableChatInner({
|
|
|
3769
3769
|
}
|
|
3770
3770
|
),
|
|
3771
3771
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3772
|
-
|
|
3772
|
+
_chunkWMXNSSJZcjs.ChatComposer,
|
|
3773
3773
|
{
|
|
3774
3774
|
archived: isViewingArchived,
|
|
3775
3775
|
lock: composerLock,
|
|
@@ -3820,7 +3820,7 @@ function EmbeddableChatInner({
|
|
|
3820
3820
|
),
|
|
3821
3821
|
galleryModal,
|
|
3822
3822
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3823
|
-
|
|
3823
|
+
_chunkWMXNSSJZcjs.ChatDialogModals,
|
|
3824
3824
|
{
|
|
3825
3825
|
renameTarget,
|
|
3826
3826
|
setRenameTarget,
|
|
@@ -3836,13 +3836,13 @@ function EmbeddableChatInner({
|
|
|
3836
3836
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: setPortalHost, style: { display: "contents" } })
|
|
3837
3837
|
] }) }) })
|
|
3838
3838
|
);
|
|
3839
|
-
const panel = shellLess ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3839
|
+
const panel = shellLess ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkWMXNSSJZcjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: [
|
|
3840
3840
|
shell === "none" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactvisuallyhidden.VisuallyHidden, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, DialogPrimitive.Title, { children: [
|
|
3841
3841
|
sourceLabel,
|
|
3842
3842
|
" AI Assistant"
|
|
3843
3843
|
] }) }),
|
|
3844
3844
|
body
|
|
3845
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZFOMRALUcjs.Drawer, { open: isOpen, onOpenChange: (o) => !o && handleClose(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3845
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZFOMRALUcjs.Drawer, { open: isOpen, onOpenChange: (o) => !o && handleClose(), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWMXNSSJZcjs.ChatPanelContext.Provider, { value: chatPanelHandle, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
3846
3846
|
_chunkZFOMRALUcjs.DrawerContent,
|
|
3847
3847
|
{
|
|
3848
3848
|
side: "right",
|