@mieweb/ui 0.9.0-dev.3 → 0.9.0-dev.5
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-5VXRKOPR.cjs → chunk-H3GRO43Z.cjs} +2 -2
- package/dist/{chunk-5VXRKOPR.cjs.map → chunk-H3GRO43Z.cjs.map} +1 -1
- package/dist/{chunk-IF3X2WZP.js → chunk-MD3ZY4UO.js} +2 -2
- package/dist/{chunk-IF3X2WZP.js.map → chunk-MD3ZY4UO.js.map} +1 -1
- package/dist/{chunk-RPG2ZP2T.js → chunk-PL6TFCYR.js} +900 -899
- package/dist/chunk-PL6TFCYR.js.map +1 -0
- package/dist/{chunk-NPHZUCF3.cjs → chunk-PY7XAG4D.cjs} +4 -4
- package/dist/chunk-PY7XAG4D.cjs.map +1 -0
- package/dist/{chunk-VMQZAOFM.js → chunk-QWJGEDHV.js} +51 -5
- package/dist/chunk-QWJGEDHV.js.map +1 -0
- package/dist/{chunk-UHHYJ42E.js → chunk-X5YM3KXY.js} +4 -4
- package/dist/chunk-X5YM3KXY.js.map +1 -0
- package/dist/{chunk-B67VPJCZ.cjs → chunk-XJUIZA4G.cjs} +58 -12
- package/dist/chunk-XJUIZA4G.cjs.map +1 -0
- package/dist/{chunk-O425FKDI.cjs → chunk-ZXRVVNT5.cjs} +903 -902
- package/dist/chunk-ZXRVVNT5.cjs.map +1 -0
- package/dist/components/SuperChat/index.cjs +8 -8
- package/dist/components/SuperChat/index.d.cts +4 -4
- package/dist/components/SuperChat/index.d.ts +4 -4
- package/dist/components/SuperChat/index.js +2 -2
- package/dist/components/SuperChat/plugins/index.cjs +3 -3
- package/dist/components/SuperChat/plugins/index.d.cts +3 -3
- package/dist/components/SuperChat/plugins/index.d.ts +3 -3
- package/dist/components/SuperChat/plugins/index.js +2 -2
- package/dist/index.cjs +190 -105
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +471 -426
- package/dist/index.d.ts +471 -426
- package/dist/index.js +123 -38
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/dist/{types-DZDroUW8.d.cts → types-B97JNRNQ.d.cts} +1 -1
- package/dist/{types-B2RLmdVd.d.cts → types-CnPEwzlp.d.cts} +6 -2
- package/dist/{types-B2RLmdVd.d.ts → types-CnPEwzlp.d.ts} +6 -2
- package/dist/{types-9vK_YdEb.d.ts → types-gZXrfLj6.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-B67VPJCZ.cjs.map +0 -1
- package/dist/chunk-NPHZUCF3.cjs.map +0 -1
- package/dist/chunk-O425FKDI.cjs.map +0 -1
- package/dist/chunk-RPG2ZP2T.js.map +0 -1
- package/dist/chunk-UHHYJ42E.js.map +0 -1
- package/dist/chunk-VMQZAOFM.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -22,9 +22,9 @@ var chunkYGA35Z2P_cjs = require('./chunk-YGA35Z2P.cjs');
|
|
|
22
22
|
var chunkXTHMC76F_cjs = require('./chunk-XTHMC76F.cjs');
|
|
23
23
|
var chunk7RV6CAP6_cjs = require('./chunk-7RV6CAP6.cjs');
|
|
24
24
|
var chunkXXVUHLQN_cjs = require('./chunk-XXVUHLQN.cjs');
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
var
|
|
25
|
+
var chunkXJUIZA4G_cjs = require('./chunk-XJUIZA4G.cjs');
|
|
26
|
+
var chunkZXRVVNT5_cjs = require('./chunk-ZXRVVNT5.cjs');
|
|
27
|
+
var chunkH3GRO43Z_cjs = require('./chunk-H3GRO43Z.cjs');
|
|
28
28
|
var chunkJTSKPDPH_cjs = require('./chunk-JTSKPDPH.cjs');
|
|
29
29
|
var chunkOMAACCFW_cjs = require('./chunk-OMAACCFW.cjs');
|
|
30
30
|
var chunk3SZQRMHM_cjs = require('./chunk-3SZQRMHM.cjs');
|
|
@@ -68,7 +68,7 @@ var chunkX4LBUPJO_cjs = require('./chunk-X4LBUPJO.cjs');
|
|
|
68
68
|
require('./chunk-AT732HC6.cjs');
|
|
69
69
|
var chunkC7RVKV25_cjs = require('./chunk-C7RVKV25.cjs');
|
|
70
70
|
var chunkL7YQBSEL_cjs = require('./chunk-L7YQBSEL.cjs');
|
|
71
|
-
var
|
|
71
|
+
var chunkPY7XAG4D_cjs = require('./chunk-PY7XAG4D.cjs');
|
|
72
72
|
var chunkVROIMIHB_cjs = require('./chunk-VROIMIHB.cjs');
|
|
73
73
|
var chunkNYJIXR4Y_cjs = require('./chunk-NYJIXR4Y.cjs');
|
|
74
74
|
var chunkPKD3JLS2_cjs = require('./chunk-PKD3JLS2.cjs');
|
|
@@ -1404,7 +1404,7 @@ function AIEmptyState({
|
|
|
1404
1404
|
{
|
|
1405
1405
|
"data-slot": "ai-empty-state-icon",
|
|
1406
1406
|
className: "bg-primary-800 dark:bg-primary-800 flex h-16 w-16 items-center justify-center rounded-full text-white",
|
|
1407
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1407
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkXJUIZA4G_cjs.SparklesIcon, { size: "lg", className: "h-8 w-8" })
|
|
1408
1408
|
}
|
|
1409
1409
|
);
|
|
1410
1410
|
const suggestionsAction = suggestions && suggestions.length > 0 && onSuggestionSelect ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-6", children: [
|
|
@@ -1412,7 +1412,7 @@ function AIEmptyState({
|
|
|
1412
1412
|
/* @__PURE__ */ jsxRuntime.jsx(SuggestedActions, { actions: suggestions, onSelect: onSuggestionSelect })
|
|
1413
1413
|
] }) : void 0;
|
|
1414
1414
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1415
|
-
|
|
1415
|
+
chunkZXRVVNT5_cjs.EmptyState,
|
|
1416
1416
|
{
|
|
1417
1417
|
title,
|
|
1418
1418
|
description,
|
|
@@ -1443,6 +1443,15 @@ var chatVariants = classVarianceAuthority.cva("flex flex-col", {
|
|
|
1443
1443
|
size: "full"
|
|
1444
1444
|
}
|
|
1445
1445
|
});
|
|
1446
|
+
var LEGACY_ACCEPTED_FILE_TYPES = [
|
|
1447
|
+
"image/*",
|
|
1448
|
+
"video/*",
|
|
1449
|
+
".pdf",
|
|
1450
|
+
".doc",
|
|
1451
|
+
".docx"
|
|
1452
|
+
];
|
|
1453
|
+
var LEGACY_MAX_FILE_SIZE = 25 * 1024 * 1024;
|
|
1454
|
+
var normalizeLegacySlot = (node) => node || void 0;
|
|
1446
1455
|
function AIChat({
|
|
1447
1456
|
session,
|
|
1448
1457
|
messages: messagesProp,
|
|
@@ -1481,11 +1490,88 @@ function AIChat({
|
|
|
1481
1490
|
const container = messagesContainerRef.current;
|
|
1482
1491
|
if (container) container.scrollTop = container.scrollHeight;
|
|
1483
1492
|
}, [messages]);
|
|
1484
|
-
const
|
|
1485
|
-
|
|
1486
|
-
|
|
1493
|
+
const {
|
|
1494
|
+
showAttachmentPicker,
|
|
1495
|
+
inputTrailing,
|
|
1496
|
+
onTypingStart,
|
|
1497
|
+
onTypingStop,
|
|
1498
|
+
value: hostValue,
|
|
1499
|
+
onValueChange: hostOnValueChange,
|
|
1500
|
+
onSend: hostOnSend,
|
|
1501
|
+
micSlot: hostMicSlot,
|
|
1502
|
+
...composerRest
|
|
1503
|
+
} = composerProps ?? {};
|
|
1504
|
+
delete composerRest.showCameraButton;
|
|
1505
|
+
delete composerRest.variant;
|
|
1506
|
+
const hasInputTrailing = !!composerProps && "inputTrailing" in composerProps;
|
|
1507
|
+
const legacyAttachments = !!composerProps && "showAttachmentPicker" in composerProps ? showAttachmentPicker ?? true : false;
|
|
1508
|
+
const [draft, setDraft] = React13__namespace.useState("");
|
|
1509
|
+
const draftEpochRef = React13__namespace.useRef(0);
|
|
1510
|
+
const composerValue = hostValue ?? draft;
|
|
1511
|
+
const isHostControlled = hostValue !== void 0;
|
|
1512
|
+
const handleComposerValueChange = React13__namespace.useCallback(
|
|
1513
|
+
(value) => {
|
|
1514
|
+
draftEpochRef.current += 1;
|
|
1515
|
+
setDraft(value);
|
|
1516
|
+
if (isHostControlled) hostOnValueChange?.(value);
|
|
1517
|
+
},
|
|
1518
|
+
[isHostControlled, hostOnValueChange]
|
|
1519
|
+
);
|
|
1520
|
+
const [isTyping, setIsTyping] = React13__namespace.useState(false);
|
|
1521
|
+
const typingTimeoutRef = React13__namespace.useRef(
|
|
1522
|
+
null
|
|
1523
|
+
);
|
|
1524
|
+
React13__namespace.useEffect(() => {
|
|
1525
|
+
if (!onTypingStart && !onTypingStop) return;
|
|
1526
|
+
if (composerValue.length > 0 && !isTyping) {
|
|
1527
|
+
setIsTyping(true);
|
|
1528
|
+
onTypingStart?.();
|
|
1529
|
+
}
|
|
1530
|
+
if (typingTimeoutRef.current) {
|
|
1531
|
+
clearTimeout(typingTimeoutRef.current);
|
|
1532
|
+
}
|
|
1533
|
+
typingTimeoutRef.current = setTimeout(() => {
|
|
1534
|
+
if (isTyping) {
|
|
1535
|
+
setIsTyping(false);
|
|
1536
|
+
onTypingStop?.();
|
|
1537
|
+
}
|
|
1538
|
+
}, 2e3);
|
|
1539
|
+
return () => {
|
|
1540
|
+
if (typingTimeoutRef.current) {
|
|
1541
|
+
clearTimeout(typingTimeoutRef.current);
|
|
1542
|
+
}
|
|
1543
|
+
};
|
|
1544
|
+
}, [composerValue, isTyping, onTypingStart, onTypingStop]);
|
|
1545
|
+
const stopTypingOnSend = () => {
|
|
1546
|
+
setIsTyping(false);
|
|
1547
|
+
onTypingStop?.();
|
|
1548
|
+
};
|
|
1549
|
+
const sendWithRestore = async (message, send) => {
|
|
1550
|
+
stopTypingOnSend();
|
|
1551
|
+
const epoch = draftEpochRef.current;
|
|
1552
|
+
try {
|
|
1553
|
+
await Promise.resolve(send(message));
|
|
1554
|
+
} catch (error) {
|
|
1555
|
+
if (draftEpochRef.current === epoch) {
|
|
1556
|
+
setDraft(message.content);
|
|
1557
|
+
if (isHostControlled) hostOnValueChange?.(message.content);
|
|
1558
|
+
}
|
|
1559
|
+
throw error;
|
|
1487
1560
|
}
|
|
1488
1561
|
};
|
|
1562
|
+
const handleSend = async (message) => {
|
|
1563
|
+
if (!onSendMessage) return;
|
|
1564
|
+
const content = message.content.trim();
|
|
1565
|
+
const attachments = message.attachments?.length ? message.attachments : void 0;
|
|
1566
|
+
if (!content && !attachments) return;
|
|
1567
|
+
await sendWithRestore(
|
|
1568
|
+
message,
|
|
1569
|
+
() => (
|
|
1570
|
+
// Keep the exact legacy call shape for text-only sends.
|
|
1571
|
+
attachments ? onSendMessage(content, attachments) : onSendMessage(content)
|
|
1572
|
+
)
|
|
1573
|
+
);
|
|
1574
|
+
};
|
|
1489
1575
|
const handleSuggestionSelect = (action) => {
|
|
1490
1576
|
if (onSuggestedAction) {
|
|
1491
1577
|
onSuggestedAction(action);
|
|
@@ -1517,7 +1603,7 @@ function AIChat({
|
|
|
1517
1603
|
{
|
|
1518
1604
|
"data-slot": "ai-chat-header-icon",
|
|
1519
1605
|
className: "bg-primary-800 dark:bg-primary-800 flex h-8 w-8 items-center justify-center rounded-full text-white",
|
|
1520
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1606
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkXJUIZA4G_cjs.SparklesIcon, { size: "sm" })
|
|
1521
1607
|
}
|
|
1522
1608
|
),
|
|
1523
1609
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
@@ -1547,7 +1633,7 @@ function AIChat({
|
|
|
1547
1633
|
className: "rounded-lg p-2 text-neutral-500 hover:bg-neutral-100 hover:text-neutral-700 dark:hover:bg-neutral-800 dark:hover:text-neutral-300",
|
|
1548
1634
|
title: "Clear chat",
|
|
1549
1635
|
"aria-label": "Clear chat",
|
|
1550
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1636
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkXJUIZA4G_cjs.RefreshIcon, {})
|
|
1551
1637
|
}
|
|
1552
1638
|
),
|
|
1553
1639
|
onClose && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1558,7 +1644,7 @@ function AIChat({
|
|
|
1558
1644
|
className: "rounded-lg p-2 text-neutral-500 hover:bg-neutral-100 hover:text-neutral-700 dark:hover:bg-neutral-800 dark:hover:text-neutral-300",
|
|
1559
1645
|
title: "Close chat",
|
|
1560
1646
|
"aria-label": "Close chat",
|
|
1561
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1647
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkXJUIZA4G_cjs.CloseIcon, {})
|
|
1562
1648
|
}
|
|
1563
1649
|
)
|
|
1564
1650
|
] })
|
|
@@ -1578,7 +1664,7 @@ function AIChat({
|
|
|
1578
1664
|
onSuggestionSelect: handleSuggestionSelect
|
|
1579
1665
|
}
|
|
1580
1666
|
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-4", children: messages.map((message) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1581
|
-
|
|
1667
|
+
chunkXJUIZA4G_cjs.AIMessageDisplay,
|
|
1582
1668
|
{
|
|
1583
1669
|
message,
|
|
1584
1670
|
userName,
|
|
@@ -1604,18 +1690,14 @@ function AIChat({
|
|
|
1604
1690
|
onSelect: handleSuggestionSelect
|
|
1605
1691
|
}
|
|
1606
1692
|
) }),
|
|
1607
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1608
|
-
|
|
1693
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "ai-chat-composer", className: "p-3", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1694
|
+
chunkXJUIZA4G_cjs.ChatComposer,
|
|
1609
1695
|
{
|
|
1610
|
-
onSend: handleSend,
|
|
1696
|
+
onSend: hostOnSend ? (message) => sendWithRestore(message, hostOnSend) : handleSend,
|
|
1611
1697
|
placeholder: inputPlaceholder,
|
|
1612
1698
|
disabled: isGenerating,
|
|
1613
1699
|
isSending: isGenerating,
|
|
1614
|
-
|
|
1615
|
-
showCameraButton: false,
|
|
1616
|
-
showCharacterCount: false,
|
|
1617
|
-
variant: "minimal",
|
|
1618
|
-
inputTrailing: talkToText ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1700
|
+
micSlot: hostMicSlot !== void 0 ? hostMicSlot : hasInputTrailing ? normalizeLegacySlot(inputTrailing) : talkToText ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1619
1701
|
chunkJTSKPDPH_cjs.RecordButton,
|
|
1620
1702
|
{
|
|
1621
1703
|
variant: "ghost",
|
|
@@ -1627,9 +1709,16 @@ function AIChat({
|
|
|
1627
1709
|
onRecordingComplete
|
|
1628
1710
|
}
|
|
1629
1711
|
) : void 0,
|
|
1630
|
-
...
|
|
1712
|
+
...composerRest,
|
|
1713
|
+
allowAttachments: composerRest.allowAttachments ?? legacyAttachments,
|
|
1714
|
+
maxLength: composerRest.maxLength ?? 1600,
|
|
1715
|
+
inputLabel: composerRest.inputLabel ?? "Message",
|
|
1716
|
+
acceptedFileTypes: composerRest.acceptedFileTypes ?? (legacyAttachments ? LEGACY_ACCEPTED_FILE_TYPES : void 0),
|
|
1717
|
+
maxFileSize: composerRest.maxFileSize ?? (legacyAttachments ? LEGACY_MAX_FILE_SIZE : void 0),
|
|
1718
|
+
value: composerValue,
|
|
1719
|
+
onValueChange: handleComposerValueChange
|
|
1631
1720
|
}
|
|
1632
|
-
)
|
|
1721
|
+
) })
|
|
1633
1722
|
]
|
|
1634
1723
|
}
|
|
1635
1724
|
)
|
|
@@ -2095,20 +2184,17 @@ function OzwellChat({
|
|
|
2095
2184
|
});
|
|
2096
2185
|
setMessagesMenuOpen(false);
|
|
2097
2186
|
};
|
|
2098
|
-
const
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
className: "border-border bg-card text-foreground max-w-[min(142px,38vw)] shadow-sm"
|
|
2110
|
-
}
|
|
2111
|
-
) : void 0;
|
|
2187
|
+
const modelSelectorProps = showModelSelector && models ? {
|
|
2188
|
+
models: models.options,
|
|
2189
|
+
value: models.value,
|
|
2190
|
+
onChange: models.onChange,
|
|
2191
|
+
...models.providerFilter !== void 0 ? {
|
|
2192
|
+
providerFilter: models.providerFilter,
|
|
2193
|
+
onProviderFilterChange: models.onProviderFilterChange
|
|
2194
|
+
} : { onProviderFilterChange: models.onProviderFilterChange },
|
|
2195
|
+
boundaryRef: shellRef,
|
|
2196
|
+
className: "max-w-[min(160px,44vw)]"
|
|
2197
|
+
} : void 0;
|
|
2112
2198
|
const startQueuedMessageEdit = () => {
|
|
2113
2199
|
setQueuedMessageDraft(queuedMessage ?? "");
|
|
2114
2200
|
setIsEditingQueuedMessage(true);
|
|
@@ -2322,7 +2408,6 @@ function OzwellChat({
|
|
|
2322
2408
|
{
|
|
2323
2409
|
messages: chatMessages,
|
|
2324
2410
|
isGenerating,
|
|
2325
|
-
className: showModelSelector ? '[&_[data-slot="composer-input"]]:pe-[min(160px,44vw)]' : void 0,
|
|
2326
2411
|
showHeader: false,
|
|
2327
2412
|
height: "100%",
|
|
2328
2413
|
variant: "embedded",
|
|
@@ -2332,9 +2417,9 @@ function OzwellChat({
|
|
|
2332
2417
|
renderTextContent: renderMessageTextContent,
|
|
2333
2418
|
renderMessageFooter: renderQueuedMessageFooter,
|
|
2334
2419
|
composerProps: {
|
|
2335
|
-
inputTrailing: modelSelector,
|
|
2336
2420
|
disabled: false,
|
|
2337
|
-
isSending: false
|
|
2421
|
+
isSending: false,
|
|
2422
|
+
...modelSelectorProps ? { showModelSelector: true, modelSelectorProps } : {}
|
|
2338
2423
|
}
|
|
2339
2424
|
}
|
|
2340
2425
|
),
|
|
@@ -4921,7 +5006,7 @@ function AIChatTrigger({
|
|
|
4921
5006
|
children: badge > 9 ? "9+" : badge
|
|
4922
5007
|
}
|
|
4923
5008
|
),
|
|
4924
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5009
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkXJUIZA4G_cjs.SparklesIcon, { size: "lg" })
|
|
4925
5010
|
]
|
|
4926
5011
|
}
|
|
4927
5012
|
);
|
|
@@ -5721,9 +5806,9 @@ function HandsFreeChat({
|
|
|
5721
5806
|
// Controlled input (value/onValueChange) comes from the hook — it fills the box with the live
|
|
5722
5807
|
// caption while dictating, else the typed text. We only add the mic button here.
|
|
5723
5808
|
...oz.chatProps.composerProps,
|
|
5724
|
-
// The composer's OWN mic
|
|
5809
|
+
// The composer's OWN mic slot, driven by our shared stream (controlled mode disables its
|
|
5725
5810
|
// internal recorder). So the built-in mic and "hey ozwell" both do the same thing — one mic.
|
|
5726
|
-
|
|
5811
|
+
micSlot: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5727
5812
|
"span",
|
|
5728
5813
|
{
|
|
5729
5814
|
onClickCapture: () => {
|
|
@@ -6497,7 +6582,7 @@ function ReconciliationProposalRow({
|
|
|
6497
6582
|
children: [
|
|
6498
6583
|
/* @__PURE__ */ jsxRuntime.jsxs("dt", { className: "text-muted-foreground flex items-center gap-1 text-[11px] tracking-wide uppercase", children: [
|
|
6499
6584
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6500
|
-
|
|
6585
|
+
chunkXJUIZA4G_cjs.SparklesIcon,
|
|
6501
6586
|
{
|
|
6502
6587
|
size: "sm",
|
|
6503
6588
|
className: "text-primary-700 dark:text-primary-400"
|
|
@@ -6553,7 +6638,7 @@ function SourcePill({ source }) {
|
|
|
6553
6638
|
"text-muted-foreground"
|
|
6554
6639
|
),
|
|
6555
6640
|
children: [
|
|
6556
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary-700 dark:text-primary-400 flex items-center", children: source.icon ?? /* @__PURE__ */ jsxRuntime.jsx(
|
|
6641
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary-700 dark:text-primary-400 flex items-center", children: source.icon ?? /* @__PURE__ */ jsxRuntime.jsx(chunkXJUIZA4G_cjs.SparklesIcon, { size: "sm" }) }),
|
|
6557
6642
|
source.thumbnailUrl && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6558
6643
|
"img",
|
|
6559
6644
|
{
|
|
@@ -44493,235 +44578,235 @@ Object.defineProperty(exports, "spinnerVariants", {
|
|
|
44493
44578
|
});
|
|
44494
44579
|
Object.defineProperty(exports, "AILogoIcon", {
|
|
44495
44580
|
enumerable: true,
|
|
44496
|
-
get: function () { return
|
|
44581
|
+
get: function () { return chunkXJUIZA4G_cjs.AILogoIcon; }
|
|
44497
44582
|
});
|
|
44498
44583
|
Object.defineProperty(exports, "AIMessageDisplay", {
|
|
44499
44584
|
enumerable: true,
|
|
44500
|
-
get: function () { return
|
|
44585
|
+
get: function () { return chunkXJUIZA4G_cjs.AIMessageDisplay; }
|
|
44501
44586
|
});
|
|
44502
44587
|
Object.defineProperty(exports, "AITypingIndicator", {
|
|
44503
44588
|
enumerable: true,
|
|
44504
|
-
get: function () { return
|
|
44589
|
+
get: function () { return chunkXJUIZA4G_cjs.AITypingIndicator; }
|
|
44505
44590
|
});
|
|
44506
44591
|
Object.defineProperty(exports, "ChatBubble", {
|
|
44507
44592
|
enumerable: true,
|
|
44508
|
-
get: function () { return
|
|
44593
|
+
get: function () { return chunkXJUIZA4G_cjs.ChatBubble; }
|
|
44509
44594
|
});
|
|
44510
44595
|
Object.defineProperty(exports, "ChatComposer", {
|
|
44511
44596
|
enumerable: true,
|
|
44512
|
-
get: function () { return
|
|
44597
|
+
get: function () { return chunkXJUIZA4G_cjs.ChatComposer; }
|
|
44513
44598
|
});
|
|
44514
44599
|
Object.defineProperty(exports, "ChevronIcon", {
|
|
44515
44600
|
enumerable: true,
|
|
44516
|
-
get: function () { return
|
|
44601
|
+
get: function () { return chunkXJUIZA4G_cjs.ChevronIcon; }
|
|
44517
44602
|
});
|
|
44518
44603
|
Object.defineProperty(exports, "CloseIcon", {
|
|
44519
44604
|
enumerable: true,
|
|
44520
|
-
get: function () { return
|
|
44605
|
+
get: function () { return chunkXJUIZA4G_cjs.CloseIcon; }
|
|
44521
44606
|
});
|
|
44522
44607
|
Object.defineProperty(exports, "CollapsiblePill", {
|
|
44523
44608
|
enumerable: true,
|
|
44524
|
-
get: function () { return
|
|
44609
|
+
get: function () { return chunkXJUIZA4G_cjs.CollapsiblePill; }
|
|
44525
44610
|
});
|
|
44526
44611
|
Object.defineProperty(exports, "ComposerModelSelector", {
|
|
44527
44612
|
enumerable: true,
|
|
44528
|
-
get: function () { return
|
|
44613
|
+
get: function () { return chunkXJUIZA4G_cjs.ComposerModelSelector; }
|
|
44529
44614
|
});
|
|
44530
44615
|
Object.defineProperty(exports, "MCPToolCallDisplay", {
|
|
44531
44616
|
enumerable: true,
|
|
44532
|
-
get: function () { return
|
|
44617
|
+
get: function () { return chunkXJUIZA4G_cjs.MCPToolCallDisplay; }
|
|
44533
44618
|
});
|
|
44534
44619
|
Object.defineProperty(exports, "MessageAvatar", {
|
|
44535
44620
|
enumerable: true,
|
|
44536
|
-
get: function () { return
|
|
44621
|
+
get: function () { return chunkXJUIZA4G_cjs.MessageAvatar; }
|
|
44537
44622
|
});
|
|
44538
44623
|
Object.defineProperty(exports, "RefreshIcon", {
|
|
44539
44624
|
enumerable: true,
|
|
44540
|
-
get: function () { return
|
|
44625
|
+
get: function () { return chunkXJUIZA4G_cjs.RefreshIcon; }
|
|
44541
44626
|
});
|
|
44542
44627
|
Object.defineProperty(exports, "ResourceLink", {
|
|
44543
44628
|
enumerable: true,
|
|
44544
|
-
get: function () { return
|
|
44629
|
+
get: function () { return chunkXJUIZA4G_cjs.ResourceLink; }
|
|
44545
44630
|
});
|
|
44546
44631
|
Object.defineProperty(exports, "SendIcon", {
|
|
44547
44632
|
enumerable: true,
|
|
44548
|
-
get: function () { return
|
|
44633
|
+
get: function () { return chunkXJUIZA4G_cjs.SendIcon; }
|
|
44549
44634
|
});
|
|
44550
44635
|
Object.defineProperty(exports, "SparklesIcon", {
|
|
44551
44636
|
enumerable: true,
|
|
44552
|
-
get: function () { return
|
|
44637
|
+
get: function () { return chunkXJUIZA4G_cjs.SparklesIcon; }
|
|
44553
44638
|
});
|
|
44554
44639
|
Object.defineProperty(exports, "SpinnerIcon", {
|
|
44555
44640
|
enumerable: true,
|
|
44556
|
-
get: function () { return
|
|
44641
|
+
get: function () { return chunkXJUIZA4G_cjs.SpinnerIcon; }
|
|
44557
44642
|
});
|
|
44558
44643
|
Object.defineProperty(exports, "ToolStatusIcon", {
|
|
44559
44644
|
enumerable: true,
|
|
44560
|
-
get: function () { return
|
|
44645
|
+
get: function () { return chunkXJUIZA4G_cjs.ToolStatusIcon; }
|
|
44561
44646
|
});
|
|
44562
44647
|
Object.defineProperty(exports, "getToolIcon", {
|
|
44563
44648
|
enumerable: true,
|
|
44564
|
-
get: function () { return
|
|
44649
|
+
get: function () { return chunkXJUIZA4G_cjs.getToolIcon; }
|
|
44565
44650
|
});
|
|
44566
44651
|
Object.defineProperty(exports, "AttachmentPreview", {
|
|
44567
44652
|
enumerable: true,
|
|
44568
|
-
get: function () { return
|
|
44653
|
+
get: function () { return chunkZXRVVNT5_cjs.AttachmentPreview; }
|
|
44569
44654
|
});
|
|
44570
44655
|
Object.defineProperty(exports, "CharacterCounter", {
|
|
44571
44656
|
enumerable: true,
|
|
44572
|
-
get: function () { return
|
|
44657
|
+
get: function () { return chunkZXRVVNT5_cjs.CharacterCounter; }
|
|
44573
44658
|
});
|
|
44574
44659
|
Object.defineProperty(exports, "ConversationHeader", {
|
|
44575
44660
|
enumerable: true,
|
|
44576
|
-
get: function () { return
|
|
44661
|
+
get: function () { return chunkZXRVVNT5_cjs.ConversationHeader; }
|
|
44577
44662
|
});
|
|
44578
44663
|
Object.defineProperty(exports, "ConversationListItem", {
|
|
44579
44664
|
enumerable: true,
|
|
44580
|
-
get: function () { return
|
|
44665
|
+
get: function () { return chunkZXRVVNT5_cjs.ConversationListItem; }
|
|
44581
44666
|
});
|
|
44582
44667
|
Object.defineProperty(exports, "ConversationListSkeleton", {
|
|
44583
44668
|
enumerable: true,
|
|
44584
|
-
get: function () { return
|
|
44669
|
+
get: function () { return chunkZXRVVNT5_cjs.ConversationListSkeleton; }
|
|
44585
44670
|
});
|
|
44586
44671
|
Object.defineProperty(exports, "DateSeparator", {
|
|
44587
44672
|
enumerable: true,
|
|
44588
|
-
get: function () { return
|
|
44673
|
+
get: function () { return chunkZXRVVNT5_cjs.DateSeparator; }
|
|
44589
44674
|
});
|
|
44590
44675
|
Object.defineProperty(exports, "EmptyState", {
|
|
44591
44676
|
enumerable: true,
|
|
44592
|
-
get: function () { return
|
|
44677
|
+
get: function () { return chunkZXRVVNT5_cjs.EmptyState; }
|
|
44593
44678
|
});
|
|
44594
44679
|
Object.defineProperty(exports, "LightboxModal", {
|
|
44595
44680
|
enumerable: true,
|
|
44596
|
-
get: function () { return
|
|
44681
|
+
get: function () { return chunkZXRVVNT5_cjs.LightboxModal; }
|
|
44597
44682
|
});
|
|
44598
44683
|
Object.defineProperty(exports, "LoadMoreButton", {
|
|
44599
44684
|
enumerable: true,
|
|
44600
|
-
get: function () { return
|
|
44685
|
+
get: function () { return chunkZXRVVNT5_cjs.LoadMoreButton; }
|
|
44601
44686
|
});
|
|
44602
44687
|
Object.defineProperty(exports, "MessageBubble", {
|
|
44603
44688
|
enumerable: true,
|
|
44604
|
-
get: function () { return
|
|
44689
|
+
get: function () { return chunkZXRVVNT5_cjs.MessageBubble; }
|
|
44605
44690
|
});
|
|
44606
44691
|
Object.defineProperty(exports, "MessageComposer", {
|
|
44607
44692
|
enumerable: true,
|
|
44608
|
-
get: function () { return
|
|
44693
|
+
get: function () { return chunkZXRVVNT5_cjs.MessageComposer; }
|
|
44609
44694
|
});
|
|
44610
44695
|
Object.defineProperty(exports, "MessageList", {
|
|
44611
44696
|
enumerable: true,
|
|
44612
|
-
get: function () { return
|
|
44697
|
+
get: function () { return chunkZXRVVNT5_cjs.MessageList; }
|
|
44613
44698
|
});
|
|
44614
44699
|
Object.defineProperty(exports, "MessageStatusIcon", {
|
|
44615
44700
|
enumerable: true,
|
|
44616
|
-
get: function () { return
|
|
44701
|
+
get: function () { return chunkZXRVVNT5_cjs.MessageStatusIcon; }
|
|
44617
44702
|
});
|
|
44618
44703
|
Object.defineProperty(exports, "MessageThread", {
|
|
44619
44704
|
enumerable: true,
|
|
44620
|
-
get: function () { return
|
|
44705
|
+
get: function () { return chunkZXRVVNT5_cjs.MessageThread; }
|
|
44621
44706
|
});
|
|
44622
44707
|
Object.defineProperty(exports, "MessagingSplitView", {
|
|
44623
44708
|
enumerable: true,
|
|
44624
|
-
get: function () { return
|
|
44709
|
+
get: function () { return chunkZXRVVNT5_cjs.MessagingSplitView; }
|
|
44625
44710
|
});
|
|
44626
44711
|
Object.defineProperty(exports, "ReadReceiptIndicator", {
|
|
44627
44712
|
enumerable: true,
|
|
44628
|
-
get: function () { return
|
|
44713
|
+
get: function () { return chunkZXRVVNT5_cjs.ReadReceiptIndicator; }
|
|
44629
44714
|
});
|
|
44630
44715
|
Object.defineProperty(exports, "SendButton", {
|
|
44631
44716
|
enumerable: true,
|
|
44632
|
-
get: function () { return
|
|
44717
|
+
get: function () { return chunkZXRVVNT5_cjs.SendButton; }
|
|
44633
44718
|
});
|
|
44634
44719
|
Object.defineProperty(exports, "SkeletonMessage", {
|
|
44635
44720
|
enumerable: true,
|
|
44636
|
-
get: function () { return
|
|
44721
|
+
get: function () { return chunkZXRVVNT5_cjs.SkeletonMessage; }
|
|
44637
44722
|
});
|
|
44638
44723
|
Object.defineProperty(exports, "TypingIndicator", {
|
|
44639
44724
|
enumerable: true,
|
|
44640
|
-
get: function () { return
|
|
44725
|
+
get: function () { return chunkZXRVVNT5_cjs.TypingIndicator; }
|
|
44641
44726
|
});
|
|
44642
44727
|
Object.defineProperty(exports, "bubbleVariants", {
|
|
44643
44728
|
enumerable: true,
|
|
44644
|
-
get: function () { return
|
|
44729
|
+
get: function () { return chunkZXRVVNT5_cjs.bubbleVariants; }
|
|
44645
44730
|
});
|
|
44646
44731
|
Object.defineProperty(exports, "formatDateLabel", {
|
|
44647
44732
|
enumerable: true,
|
|
44648
|
-
get: function () { return
|
|
44733
|
+
get: function () { return chunkZXRVVNT5_cjs.formatDateLabel; }
|
|
44649
44734
|
});
|
|
44650
44735
|
Object.defineProperty(exports, "formatFileSize", {
|
|
44651
44736
|
enumerable: true,
|
|
44652
|
-
get: function () { return
|
|
44737
|
+
get: function () { return chunkZXRVVNT5_cjs.formatFileSize; }
|
|
44653
44738
|
});
|
|
44654
44739
|
Object.defineProperty(exports, "formatLastSeen", {
|
|
44655
44740
|
enumerable: true,
|
|
44656
|
-
get: function () { return
|
|
44741
|
+
get: function () { return chunkZXRVVNT5_cjs.formatLastSeen; }
|
|
44657
44742
|
});
|
|
44658
44743
|
Object.defineProperty(exports, "getConversationSubtitle", {
|
|
44659
44744
|
enumerable: true,
|
|
44660
|
-
get: function () { return
|
|
44745
|
+
get: function () { return chunkZXRVVNT5_cjs.getConversationSubtitle; }
|
|
44661
44746
|
});
|
|
44662
44747
|
Object.defineProperty(exports, "getConversationTitle", {
|
|
44663
44748
|
enumerable: true,
|
|
44664
|
-
get: function () { return
|
|
44749
|
+
get: function () { return chunkZXRVVNT5_cjs.getConversationTitle; }
|
|
44665
44750
|
});
|
|
44666
44751
|
Object.defineProperty(exports, "groupMessagesByDate", {
|
|
44667
44752
|
enumerable: true,
|
|
44668
|
-
get: function () { return
|
|
44753
|
+
get: function () { return chunkZXRVVNT5_cjs.groupMessagesByDate; }
|
|
44669
44754
|
});
|
|
44670
44755
|
Object.defineProperty(exports, "headerVariants", {
|
|
44671
44756
|
enumerable: true,
|
|
44672
|
-
get: function () { return
|
|
44757
|
+
get: function () { return chunkZXRVVNT5_cjs.headerVariants; }
|
|
44673
44758
|
});
|
|
44674
44759
|
Object.defineProperty(exports, "isSameSenderGroup", {
|
|
44675
44760
|
enumerable: true,
|
|
44676
|
-
get: function () { return
|
|
44761
|
+
get: function () { return chunkZXRVVNT5_cjs.isSameSenderGroup; }
|
|
44677
44762
|
});
|
|
44678
44763
|
Object.defineProperty(exports, "sendButtonVariants", {
|
|
44679
44764
|
enumerable: true,
|
|
44680
|
-
get: function () { return
|
|
44765
|
+
get: function () { return chunkZXRVVNT5_cjs.sendButtonVariants; }
|
|
44681
44766
|
});
|
|
44682
44767
|
Object.defineProperty(exports, "useMessageScroll", {
|
|
44683
44768
|
enumerable: true,
|
|
44684
|
-
get: function () { return
|
|
44769
|
+
get: function () { return chunkZXRVVNT5_cjs.useMessageScroll; }
|
|
44685
44770
|
});
|
|
44686
44771
|
Object.defineProperty(exports, "useMessages", {
|
|
44687
44772
|
enumerable: true,
|
|
44688
|
-
get: function () { return
|
|
44773
|
+
get: function () { return chunkZXRVVNT5_cjs.useMessages; }
|
|
44689
44774
|
});
|
|
44690
44775
|
Object.defineProperty(exports, "useReadReceipts", {
|
|
44691
44776
|
enumerable: true,
|
|
44692
|
-
get: function () { return
|
|
44777
|
+
get: function () { return chunkZXRVVNT5_cjs.useReadReceipts; }
|
|
44693
44778
|
});
|
|
44694
44779
|
Object.defineProperty(exports, "useTypingIndicator", {
|
|
44695
44780
|
enumerable: true,
|
|
44696
|
-
get: function () { return
|
|
44781
|
+
get: function () { return chunkZXRVVNT5_cjs.useTypingIndicator; }
|
|
44697
44782
|
});
|
|
44698
44783
|
Object.defineProperty(exports, "AttachmentPicker", {
|
|
44699
44784
|
enumerable: true,
|
|
44700
|
-
get: function () { return
|
|
44785
|
+
get: function () { return chunkH3GRO43Z_cjs.AttachmentPicker; }
|
|
44701
44786
|
});
|
|
44702
44787
|
Object.defineProperty(exports, "AttachmentPreviewItem", {
|
|
44703
44788
|
enumerable: true,
|
|
44704
|
-
get: function () { return
|
|
44789
|
+
get: function () { return chunkH3GRO43Z_cjs.AttachmentPreviewItem; }
|
|
44705
44790
|
});
|
|
44706
44791
|
Object.defineProperty(exports, "CameraButton", {
|
|
44707
44792
|
enumerable: true,
|
|
44708
|
-
get: function () { return
|
|
44793
|
+
get: function () { return chunkH3GRO43Z_cjs.CameraButton; }
|
|
44709
44794
|
});
|
|
44710
44795
|
Object.defineProperty(exports, "DragDropZone", {
|
|
44711
44796
|
enumerable: true,
|
|
44712
|
-
get: function () { return
|
|
44797
|
+
get: function () { return chunkH3GRO43Z_cjs.DragDropZone; }
|
|
44713
44798
|
});
|
|
44714
44799
|
Object.defineProperty(exports, "generateAttachmentId", {
|
|
44715
44800
|
enumerable: true,
|
|
44716
|
-
get: function () { return
|
|
44801
|
+
get: function () { return chunkH3GRO43Z_cjs.generateAttachmentId; }
|
|
44717
44802
|
});
|
|
44718
44803
|
Object.defineProperty(exports, "getFileType", {
|
|
44719
44804
|
enumerable: true,
|
|
44720
|
-
get: function () { return
|
|
44805
|
+
get: function () { return chunkH3GRO43Z_cjs.getFileType; }
|
|
44721
44806
|
});
|
|
44722
44807
|
Object.defineProperty(exports, "validateFile", {
|
|
44723
44808
|
enumerable: true,
|
|
44724
|
-
get: function () { return
|
|
44809
|
+
get: function () { return chunkH3GRO43Z_cjs.validateFile; }
|
|
44725
44810
|
});
|
|
44726
44811
|
Object.defineProperty(exports, "RecordButton", {
|
|
44727
44812
|
enumerable: true,
|
|
@@ -45201,11 +45286,11 @@ Object.defineProperty(exports, "unformatPhoneNumber", {
|
|
|
45201
45286
|
});
|
|
45202
45287
|
Object.defineProperty(exports, "miewebUIPreset", {
|
|
45203
45288
|
enumerable: true,
|
|
45204
|
-
get: function () { return
|
|
45289
|
+
get: function () { return chunkPY7XAG4D_cjs.miewebUIPreset; }
|
|
45205
45290
|
});
|
|
45206
45291
|
Object.defineProperty(exports, "miewebUISafelist", {
|
|
45207
45292
|
enumerable: true,
|
|
45208
|
-
get: function () { return
|
|
45293
|
+
get: function () { return chunkPY7XAG4D_cjs.miewebUISafelist; }
|
|
45209
45294
|
});
|
|
45210
45295
|
Object.defineProperty(exports, "Accordion", {
|
|
45211
45296
|
enumerable: true,
|