@mieweb/ui 0.9.0-dev.4 → 0.9.0-dev.6

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.
Files changed (50) hide show
  1. package/dist/{chunk-DG6LIEUJ.js → chunk-22CYDCXA.js} +13 -1183
  2. package/dist/chunk-22CYDCXA.js.map +1 -0
  3. package/dist/chunk-3SD7PDCV.js +1878 -0
  4. package/dist/chunk-3SD7PDCV.js.map +1 -0
  5. package/dist/{chunk-USZ3VEPE.js → chunk-NORSXAXL.js} +853 -779
  6. package/dist/chunk-NORSXAXL.js.map +1 -0
  7. package/dist/{chunk-Z3RYJWSV.cjs → chunk-PY7XAG4D.cjs} +3 -4
  8. package/dist/chunk-PY7XAG4D.cjs.map +1 -0
  9. package/dist/chunk-T6PTKWM6.cjs +1912 -0
  10. package/dist/chunk-T6PTKWM6.cjs.map +1 -0
  11. package/dist/{chunk-DH7I5HMK.cjs → chunk-WIAQQNFU.cjs} +12 -1184
  12. package/dist/chunk-WIAQQNFU.cjs.map +1 -0
  13. package/dist/{chunk-XEZCHQHB.js → chunk-X5YM3KXY.js} +3 -4
  14. package/dist/chunk-X5YM3KXY.js.map +1 -0
  15. package/dist/{chunk-3MHG4HYB.cjs → chunk-XCNDZNY7.cjs} +855 -780
  16. package/dist/chunk-XCNDZNY7.cjs.map +1 -0
  17. package/dist/components/SuperChat/index.cjs +8 -8
  18. package/dist/components/SuperChat/index.d.cts +4 -4
  19. package/dist/components/SuperChat/index.d.ts +4 -4
  20. package/dist/components/SuperChat/index.js +2 -2
  21. package/dist/components/SuperChat/plugins/index.cjs +10 -3
  22. package/dist/components/SuperChat/plugins/index.cjs.map +1 -1
  23. package/dist/components/SuperChat/plugins/index.d.cts +3 -3
  24. package/dist/components/SuperChat/plugins/index.d.ts +3 -3
  25. package/dist/components/SuperChat/plugins/index.js +9 -2
  26. package/dist/components/SuperChat/plugins/index.js.map +1 -1
  27. package/dist/index.cjs +171 -114
  28. package/dist/index.cjs.map +1 -1
  29. package/dist/index.d.cts +471 -410
  30. package/dist/index.d.ts +471 -410
  31. package/dist/index.js +95 -41
  32. package/dist/index.js.map +1 -1
  33. package/dist/styles.css +1 -1
  34. package/dist/tailwind-preset.cjs +4 -4
  35. package/dist/tailwind-preset.js +1 -1
  36. package/dist/{types-DZDroUW8.d.cts → types-B97JNRNQ.d.cts} +1 -1
  37. package/dist/{types-B2RLmdVd.d.cts → types-CnPEwzlp.d.cts} +6 -2
  38. package/dist/{types-B2RLmdVd.d.ts → types-CnPEwzlp.d.ts} +6 -2
  39. package/dist/{types-9vK_YdEb.d.ts → types-gZXrfLj6.d.ts} +1 -1
  40. package/package.json +1 -1
  41. package/dist/chunk-3MHG4HYB.cjs.map +0 -1
  42. package/dist/chunk-5VXRKOPR.cjs +0 -735
  43. package/dist/chunk-5VXRKOPR.cjs.map +0 -1
  44. package/dist/chunk-DG6LIEUJ.js.map +0 -1
  45. package/dist/chunk-DH7I5HMK.cjs.map +0 -1
  46. package/dist/chunk-IF3X2WZP.js +0 -705
  47. package/dist/chunk-IF3X2WZP.js.map +0 -1
  48. package/dist/chunk-USZ3VEPE.js.map +0 -1
  49. package/dist/chunk-XEZCHQHB.js.map +0 -1
  50. package/dist/chunk-Z3RYJWSV.cjs.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 chunkDH7I5HMK_cjs = require('./chunk-DH7I5HMK.cjs');
26
- var chunk3MHG4HYB_cjs = require('./chunk-3MHG4HYB.cjs');
27
- var chunk5VXRKOPR_cjs = require('./chunk-5VXRKOPR.cjs');
25
+ var chunkWIAQQNFU_cjs = require('./chunk-WIAQQNFU.cjs');
26
+ var chunkXCNDZNY7_cjs = require('./chunk-XCNDZNY7.cjs');
27
+ var chunkT6PTKWM6_cjs = require('./chunk-T6PTKWM6.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 chunkZ3RYJWSV_cjs = require('./chunk-Z3RYJWSV.cjs');
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(chunkDH7I5HMK_cjs.SparklesIcon, { size: "lg", className: "h-8 w-8" })
1407
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunkWIAQQNFU_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
- chunk3MHG4HYB_cjs.EmptyState,
1415
+ chunkXCNDZNY7_cjs.EmptyState,
1416
1416
  {
1417
1417
  title,
1418
1418
  description,
@@ -1443,6 +1443,7 @@ var chatVariants = classVarianceAuthority.cva("flex flex-col", {
1443
1443
  size: "full"
1444
1444
  }
1445
1445
  });
1446
+ var normalizeLegacySlot = (node) => node || void 0;
1446
1447
  function AIChat({
1447
1448
  session,
1448
1449
  messages: messagesProp,
@@ -1481,11 +1482,64 @@ function AIChat({
1481
1482
  const container = messagesContainerRef.current;
1482
1483
  if (container) container.scrollTop = container.scrollHeight;
1483
1484
  }, [messages]);
1484
- const handleSend = async (message) => {
1485
- if (message.content.trim() && onSendMessage) {
1486
- onSendMessage(message.content.trim());
1485
+ const {
1486
+ showAttachmentPicker,
1487
+ inputTrailing,
1488
+ onTypingStart,
1489
+ onTypingStop,
1490
+ value: hostValue,
1491
+ onValueChange: hostOnValueChange,
1492
+ onSend: hostOnSend,
1493
+ micSlot: hostMicSlot,
1494
+ ...composerRest
1495
+ } = composerProps ?? {};
1496
+ delete composerRest.showCameraButton;
1497
+ delete composerRest.variant;
1498
+ const hasInputTrailing = !!composerProps && "inputTrailing" in composerProps;
1499
+ const legacyAttachments = !!composerProps && "showAttachmentPicker" in composerProps ? showAttachmentPicker ?? true : false;
1500
+ const [draft, setDraft] = React13__namespace.useState("");
1501
+ const draftEpochRef = React13__namespace.useRef(0);
1502
+ const composerValue = hostValue ?? draft;
1503
+ const isHostControlled = hostValue !== void 0;
1504
+ const handleComposerValueChange = React13__namespace.useCallback(
1505
+ (value) => {
1506
+ draftEpochRef.current += 1;
1507
+ setDraft(value);
1508
+ if (isHostControlled) hostOnValueChange?.(value);
1509
+ },
1510
+ [isHostControlled, hostOnValueChange]
1511
+ );
1512
+ const { stopTyping } = chunkXCNDZNY7_cjs.useTypingEmulation({
1513
+ value: composerValue,
1514
+ onTypingStart,
1515
+ onTypingStop
1516
+ });
1517
+ const sendWithRestore = async (message, send) => {
1518
+ stopTyping();
1519
+ const epoch = draftEpochRef.current;
1520
+ try {
1521
+ await Promise.resolve(send(message));
1522
+ } catch (error) {
1523
+ if (draftEpochRef.current === epoch) {
1524
+ setDraft(message.content);
1525
+ if (isHostControlled) hostOnValueChange?.(message.content);
1526
+ }
1527
+ throw error;
1487
1528
  }
1488
1529
  };
1530
+ const handleSend = async (message) => {
1531
+ if (!onSendMessage) return;
1532
+ const content = message.content.trim();
1533
+ const attachments = message.attachments?.length ? message.attachments : void 0;
1534
+ if (!content && !attachments) return;
1535
+ await sendWithRestore(
1536
+ message,
1537
+ () => (
1538
+ // Keep the exact legacy call shape for text-only sends.
1539
+ attachments ? onSendMessage(content, attachments) : onSendMessage(content)
1540
+ )
1541
+ );
1542
+ };
1489
1543
  const handleSuggestionSelect = (action) => {
1490
1544
  if (onSuggestedAction) {
1491
1545
  onSuggestedAction(action);
@@ -1517,7 +1571,7 @@ function AIChat({
1517
1571
  {
1518
1572
  "data-slot": "ai-chat-header-icon",
1519
1573
  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(chunkDH7I5HMK_cjs.SparklesIcon, { size: "sm" })
1574
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunkWIAQQNFU_cjs.SparklesIcon, { size: "sm" })
1521
1575
  }
1522
1576
  ),
1523
1577
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
@@ -1547,7 +1601,7 @@ function AIChat({
1547
1601
  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
1602
  title: "Clear chat",
1549
1603
  "aria-label": "Clear chat",
1550
- children: /* @__PURE__ */ jsxRuntime.jsx(chunkDH7I5HMK_cjs.RefreshIcon, {})
1604
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunkWIAQQNFU_cjs.RefreshIcon, {})
1551
1605
  }
1552
1606
  ),
1553
1607
  onClose && /* @__PURE__ */ jsxRuntime.jsx(
@@ -1558,7 +1612,7 @@ function AIChat({
1558
1612
  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
1613
  title: "Close chat",
1560
1614
  "aria-label": "Close chat",
1561
- children: /* @__PURE__ */ jsxRuntime.jsx(chunkDH7I5HMK_cjs.CloseIcon, {})
1615
+ children: /* @__PURE__ */ jsxRuntime.jsx(chunkWIAQQNFU_cjs.CloseIcon, {})
1562
1616
  }
1563
1617
  )
1564
1618
  ] })
@@ -1578,7 +1632,7 @@ function AIChat({
1578
1632
  onSuggestionSelect: handleSuggestionSelect
1579
1633
  }
1580
1634
  ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-4", children: messages.map((message) => /* @__PURE__ */ jsxRuntime.jsx(
1581
- chunkDH7I5HMK_cjs.AIMessageDisplay,
1635
+ chunkWIAQQNFU_cjs.AIMessageDisplay,
1582
1636
  {
1583
1637
  message,
1584
1638
  userName,
@@ -1604,18 +1658,14 @@ function AIChat({
1604
1658
  onSelect: handleSuggestionSelect
1605
1659
  }
1606
1660
  ) }),
1607
- /* @__PURE__ */ jsxRuntime.jsx(
1608
- chunk3MHG4HYB_cjs.MessageComposer,
1661
+ /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "ai-chat-composer", className: "p-3", children: /* @__PURE__ */ jsxRuntime.jsx(
1662
+ chunkT6PTKWM6_cjs.ChatComposer,
1609
1663
  {
1610
- onSend: handleSend,
1664
+ onSend: hostOnSend ? (message) => sendWithRestore(message, hostOnSend) : handleSend,
1611
1665
  placeholder: inputPlaceholder,
1612
1666
  disabled: isGenerating,
1613
1667
  isSending: isGenerating,
1614
- showAttachmentPicker: false,
1615
- showCameraButton: false,
1616
- showCharacterCount: false,
1617
- variant: "minimal",
1618
- inputTrailing: talkToText ? /* @__PURE__ */ jsxRuntime.jsx(
1668
+ micSlot: hostMicSlot !== void 0 ? hostMicSlot : hasInputTrailing ? normalizeLegacySlot(inputTrailing) : talkToText ? /* @__PURE__ */ jsxRuntime.jsx(
1619
1669
  chunkJTSKPDPH_cjs.RecordButton,
1620
1670
  {
1621
1671
  variant: "ghost",
@@ -1627,9 +1677,16 @@ function AIChat({
1627
1677
  onRecordingComplete
1628
1678
  }
1629
1679
  ) : void 0,
1630
- ...composerProps
1680
+ ...composerRest,
1681
+ allowAttachments: composerRest.allowAttachments ?? legacyAttachments,
1682
+ maxLength: composerRest.maxLength ?? 1600,
1683
+ inputLabel: composerRest.inputLabel ?? "Message",
1684
+ acceptedFileTypes: composerRest.acceptedFileTypes ?? (legacyAttachments ? chunkT6PTKWM6_cjs.DEFAULT_ACCEPTED_FILE_TYPES : void 0),
1685
+ maxFileSize: composerRest.maxFileSize ?? (legacyAttachments ? chunkT6PTKWM6_cjs.DEFAULT_MAX_FILE_SIZE : void 0),
1686
+ value: composerValue,
1687
+ onValueChange: handleComposerValueChange
1631
1688
  }
1632
- )
1689
+ ) })
1633
1690
  ]
1634
1691
  }
1635
1692
  )
@@ -2095,20 +2152,17 @@ function OzwellChat({
2095
2152
  });
2096
2153
  setMessagesMenuOpen(false);
2097
2154
  };
2098
- const modelSelector = showModelSelector && models ? /* @__PURE__ */ jsxRuntime.jsx(
2099
- chunkDH7I5HMK_cjs.ComposerModelSelector,
2100
- {
2101
- models: models.options,
2102
- value: models.value,
2103
- onChange: models.onChange,
2104
- ...models.providerFilter !== void 0 ? {
2105
- providerFilter: models.providerFilter,
2106
- onProviderFilterChange: models.onProviderFilterChange
2107
- } : { onProviderFilterChange: models.onProviderFilterChange },
2108
- boundaryRef: shellRef,
2109
- className: "border-border bg-card text-foreground max-w-[min(142px,38vw)] shadow-sm"
2110
- }
2111
- ) : void 0;
2155
+ const modelSelectorProps = showModelSelector && models ? {
2156
+ models: models.options,
2157
+ value: models.value,
2158
+ onChange: models.onChange,
2159
+ ...models.providerFilter !== void 0 ? {
2160
+ providerFilter: models.providerFilter,
2161
+ onProviderFilterChange: models.onProviderFilterChange
2162
+ } : { onProviderFilterChange: models.onProviderFilterChange },
2163
+ boundaryRef: shellRef,
2164
+ className: "max-w-[min(160px,44vw)]"
2165
+ } : void 0;
2112
2166
  const startQueuedMessageEdit = () => {
2113
2167
  setQueuedMessageDraft(queuedMessage ?? "");
2114
2168
  setIsEditingQueuedMessage(true);
@@ -2322,7 +2376,6 @@ function OzwellChat({
2322
2376
  {
2323
2377
  messages: chatMessages,
2324
2378
  isGenerating,
2325
- className: showModelSelector ? '[&_[data-slot="composer-input"]]:pe-[min(160px,44vw)]' : void 0,
2326
2379
  showHeader: false,
2327
2380
  height: "100%",
2328
2381
  variant: "embedded",
@@ -2332,9 +2385,9 @@ function OzwellChat({
2332
2385
  renderTextContent: renderMessageTextContent,
2333
2386
  renderMessageFooter: renderQueuedMessageFooter,
2334
2387
  composerProps: {
2335
- inputTrailing: modelSelector,
2336
2388
  disabled: false,
2337
- isSending: false
2389
+ isSending: false,
2390
+ ...modelSelectorProps ? { showModelSelector: true, modelSelectorProps } : {}
2338
2391
  }
2339
2392
  }
2340
2393
  ),
@@ -4921,7 +4974,7 @@ function AIChatTrigger({
4921
4974
  children: badge > 9 ? "9+" : badge
4922
4975
  }
4923
4976
  ),
4924
- /* @__PURE__ */ jsxRuntime.jsx(chunkDH7I5HMK_cjs.SparklesIcon, { size: "lg" })
4977
+ /* @__PURE__ */ jsxRuntime.jsx(chunkWIAQQNFU_cjs.SparklesIcon, { size: "lg" })
4925
4978
  ]
4926
4979
  }
4927
4980
  );
@@ -5721,9 +5774,9 @@ function HandsFreeChat({
5721
5774
  // Controlled input (value/onValueChange) comes from the hook — it fills the box with the live
5722
5775
  // caption while dictating, else the typed text. We only add the mic button here.
5723
5776
  ...oz.chatProps.composerProps,
5724
- // The composer's OWN mic button, driven by our shared stream (controlled mode disables its
5777
+ // The composer's OWN mic slot, driven by our shared stream (controlled mode disables its
5725
5778
  // internal recorder). So the built-in mic and "hey ozwell" both do the same thing — one mic.
5726
- inputTrailing: /* @__PURE__ */ jsxRuntime.jsx(
5779
+ micSlot: /* @__PURE__ */ jsxRuntime.jsx(
5727
5780
  "span",
5728
5781
  {
5729
5782
  onClickCapture: () => {
@@ -6497,7 +6550,7 @@ function ReconciliationProposalRow({
6497
6550
  children: [
6498
6551
  /* @__PURE__ */ jsxRuntime.jsxs("dt", { className: "text-muted-foreground flex items-center gap-1 text-[11px] tracking-wide uppercase", children: [
6499
6552
  /* @__PURE__ */ jsxRuntime.jsx(
6500
- chunkDH7I5HMK_cjs.SparklesIcon,
6553
+ chunkWIAQQNFU_cjs.SparklesIcon,
6501
6554
  {
6502
6555
  size: "sm",
6503
6556
  className: "text-primary-700 dark:text-primary-400"
@@ -6553,7 +6606,7 @@ function SourcePill({ source }) {
6553
6606
  "text-muted-foreground"
6554
6607
  ),
6555
6608
  children: [
6556
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary-700 dark:text-primary-400 flex items-center", children: source.icon ?? /* @__PURE__ */ jsxRuntime.jsx(chunkDH7I5HMK_cjs.SparklesIcon, { size: "sm" }) }),
6609
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary-700 dark:text-primary-400 flex items-center", children: source.icon ?? /* @__PURE__ */ jsxRuntime.jsx(chunkWIAQQNFU_cjs.SparklesIcon, { size: "sm" }) }),
6557
6610
  source.thumbnailUrl && /* @__PURE__ */ jsxRuntime.jsx(
6558
6611
  "img",
6559
6612
  {
@@ -18184,7 +18237,7 @@ function WebcamModal({
18184
18237
  WebcamModal.displayName = "WebcamModal";
18185
18238
 
18186
18239
  // src/components/DocumentScanner/types.ts
18187
- var DEFAULT_ACCEPTED_FILE_TYPES = [
18240
+ var DEFAULT_ACCEPTED_FILE_TYPES2 = [
18188
18241
  "image/jpeg",
18189
18242
  "image/jpg",
18190
18243
  "image/png",
@@ -18220,7 +18273,7 @@ function createPreviewUrl(file) {
18220
18273
  return URL.createObjectURL(file);
18221
18274
  }
18222
18275
  function useFileUpload({
18223
- acceptedFileTypes = [...DEFAULT_ACCEPTED_FILE_TYPES],
18276
+ acceptedFileTypes = [...DEFAULT_ACCEPTED_FILE_TYPES2],
18224
18277
  maxFileSizeMb = DEFAULT_MAX_FILE_SIZE_MB,
18225
18278
  multiple = false,
18226
18279
  onValidationError
@@ -18303,7 +18356,7 @@ function DocumentScanner({
18303
18356
  onScan,
18304
18357
  onResult,
18305
18358
  multiple = false,
18306
- acceptedFileTypes = [...DEFAULT_ACCEPTED_FILE_TYPES],
18359
+ acceptedFileTypes = [...DEFAULT_ACCEPTED_FILE_TYPES2],
18307
18360
  maxFileSizeMb = DEFAULT_MAX_FILE_SIZE_MB,
18308
18361
  disabled = false,
18309
18362
  enableWebcam = true,
@@ -44493,235 +44546,239 @@ Object.defineProperty(exports, "spinnerVariants", {
44493
44546
  });
44494
44547
  Object.defineProperty(exports, "AILogoIcon", {
44495
44548
  enumerable: true,
44496
- get: function () { return chunkDH7I5HMK_cjs.AILogoIcon; }
44549
+ get: function () { return chunkWIAQQNFU_cjs.AILogoIcon; }
44497
44550
  });
44498
44551
  Object.defineProperty(exports, "AIMessageDisplay", {
44499
44552
  enumerable: true,
44500
- get: function () { return chunkDH7I5HMK_cjs.AIMessageDisplay; }
44553
+ get: function () { return chunkWIAQQNFU_cjs.AIMessageDisplay; }
44501
44554
  });
44502
44555
  Object.defineProperty(exports, "AITypingIndicator", {
44503
44556
  enumerable: true,
44504
- get: function () { return chunkDH7I5HMK_cjs.AITypingIndicator; }
44557
+ get: function () { return chunkWIAQQNFU_cjs.AITypingIndicator; }
44505
44558
  });
44506
44559
  Object.defineProperty(exports, "ChatBubble", {
44507
44560
  enumerable: true,
44508
- get: function () { return chunkDH7I5HMK_cjs.ChatBubble; }
44509
- });
44510
- Object.defineProperty(exports, "ChatComposer", {
44511
- enumerable: true,
44512
- get: function () { return chunkDH7I5HMK_cjs.ChatComposer; }
44561
+ get: function () { return chunkWIAQQNFU_cjs.ChatBubble; }
44513
44562
  });
44514
44563
  Object.defineProperty(exports, "ChevronIcon", {
44515
44564
  enumerable: true,
44516
- get: function () { return chunkDH7I5HMK_cjs.ChevronIcon; }
44565
+ get: function () { return chunkWIAQQNFU_cjs.ChevronIcon; }
44517
44566
  });
44518
44567
  Object.defineProperty(exports, "CloseIcon", {
44519
44568
  enumerable: true,
44520
- get: function () { return chunkDH7I5HMK_cjs.CloseIcon; }
44569
+ get: function () { return chunkWIAQQNFU_cjs.CloseIcon; }
44521
44570
  });
44522
44571
  Object.defineProperty(exports, "CollapsiblePill", {
44523
44572
  enumerable: true,
44524
- get: function () { return chunkDH7I5HMK_cjs.CollapsiblePill; }
44525
- });
44526
- Object.defineProperty(exports, "ComposerModelSelector", {
44527
- enumerable: true,
44528
- get: function () { return chunkDH7I5HMK_cjs.ComposerModelSelector; }
44573
+ get: function () { return chunkWIAQQNFU_cjs.CollapsiblePill; }
44529
44574
  });
44530
44575
  Object.defineProperty(exports, "MCPToolCallDisplay", {
44531
44576
  enumerable: true,
44532
- get: function () { return chunkDH7I5HMK_cjs.MCPToolCallDisplay; }
44577
+ get: function () { return chunkWIAQQNFU_cjs.MCPToolCallDisplay; }
44533
44578
  });
44534
44579
  Object.defineProperty(exports, "MessageAvatar", {
44535
44580
  enumerable: true,
44536
- get: function () { return chunkDH7I5HMK_cjs.MessageAvatar; }
44581
+ get: function () { return chunkWIAQQNFU_cjs.MessageAvatar; }
44537
44582
  });
44538
44583
  Object.defineProperty(exports, "RefreshIcon", {
44539
44584
  enumerable: true,
44540
- get: function () { return chunkDH7I5HMK_cjs.RefreshIcon; }
44585
+ get: function () { return chunkWIAQQNFU_cjs.RefreshIcon; }
44541
44586
  });
44542
44587
  Object.defineProperty(exports, "ResourceLink", {
44543
44588
  enumerable: true,
44544
- get: function () { return chunkDH7I5HMK_cjs.ResourceLink; }
44589
+ get: function () { return chunkWIAQQNFU_cjs.ResourceLink; }
44545
44590
  });
44546
44591
  Object.defineProperty(exports, "SendIcon", {
44547
44592
  enumerable: true,
44548
- get: function () { return chunkDH7I5HMK_cjs.SendIcon; }
44593
+ get: function () { return chunkWIAQQNFU_cjs.SendIcon; }
44549
44594
  });
44550
44595
  Object.defineProperty(exports, "SparklesIcon", {
44551
44596
  enumerable: true,
44552
- get: function () { return chunkDH7I5HMK_cjs.SparklesIcon; }
44597
+ get: function () { return chunkWIAQQNFU_cjs.SparklesIcon; }
44553
44598
  });
44554
44599
  Object.defineProperty(exports, "SpinnerIcon", {
44555
44600
  enumerable: true,
44556
- get: function () { return chunkDH7I5HMK_cjs.SpinnerIcon; }
44601
+ get: function () { return chunkWIAQQNFU_cjs.SpinnerIcon; }
44557
44602
  });
44558
44603
  Object.defineProperty(exports, "ToolStatusIcon", {
44559
44604
  enumerable: true,
44560
- get: function () { return chunkDH7I5HMK_cjs.ToolStatusIcon; }
44605
+ get: function () { return chunkWIAQQNFU_cjs.ToolStatusIcon; }
44561
44606
  });
44562
44607
  Object.defineProperty(exports, "getToolIcon", {
44563
44608
  enumerable: true,
44564
- get: function () { return chunkDH7I5HMK_cjs.getToolIcon; }
44609
+ get: function () { return chunkWIAQQNFU_cjs.getToolIcon; }
44565
44610
  });
44566
44611
  Object.defineProperty(exports, "AttachmentPreview", {
44567
44612
  enumerable: true,
44568
- get: function () { return chunk3MHG4HYB_cjs.AttachmentPreview; }
44613
+ get: function () { return chunkXCNDZNY7_cjs.AttachmentPreview; }
44569
44614
  });
44570
44615
  Object.defineProperty(exports, "CharacterCounter", {
44571
44616
  enumerable: true,
44572
- get: function () { return chunk3MHG4HYB_cjs.CharacterCounter; }
44617
+ get: function () { return chunkXCNDZNY7_cjs.CharacterCounter; }
44573
44618
  });
44574
44619
  Object.defineProperty(exports, "ConversationHeader", {
44575
44620
  enumerable: true,
44576
- get: function () { return chunk3MHG4HYB_cjs.ConversationHeader; }
44621
+ get: function () { return chunkXCNDZNY7_cjs.ConversationHeader; }
44577
44622
  });
44578
44623
  Object.defineProperty(exports, "ConversationListItem", {
44579
44624
  enumerable: true,
44580
- get: function () { return chunk3MHG4HYB_cjs.ConversationListItem; }
44625
+ get: function () { return chunkXCNDZNY7_cjs.ConversationListItem; }
44581
44626
  });
44582
44627
  Object.defineProperty(exports, "ConversationListSkeleton", {
44583
44628
  enumerable: true,
44584
- get: function () { return chunk3MHG4HYB_cjs.ConversationListSkeleton; }
44629
+ get: function () { return chunkXCNDZNY7_cjs.ConversationListSkeleton; }
44585
44630
  });
44586
44631
  Object.defineProperty(exports, "DateSeparator", {
44587
44632
  enumerable: true,
44588
- get: function () { return chunk3MHG4HYB_cjs.DateSeparator; }
44633
+ get: function () { return chunkXCNDZNY7_cjs.DateSeparator; }
44589
44634
  });
44590
44635
  Object.defineProperty(exports, "EmptyState", {
44591
44636
  enumerable: true,
44592
- get: function () { return chunk3MHG4HYB_cjs.EmptyState; }
44637
+ get: function () { return chunkXCNDZNY7_cjs.EmptyState; }
44593
44638
  });
44594
44639
  Object.defineProperty(exports, "LightboxModal", {
44595
44640
  enumerable: true,
44596
- get: function () { return chunk3MHG4HYB_cjs.LightboxModal; }
44641
+ get: function () { return chunkXCNDZNY7_cjs.LightboxModal; }
44597
44642
  });
44598
44643
  Object.defineProperty(exports, "LoadMoreButton", {
44599
44644
  enumerable: true,
44600
- get: function () { return chunk3MHG4HYB_cjs.LoadMoreButton; }
44645
+ get: function () { return chunkXCNDZNY7_cjs.LoadMoreButton; }
44601
44646
  });
44602
44647
  Object.defineProperty(exports, "MessageBubble", {
44603
44648
  enumerable: true,
44604
- get: function () { return chunk3MHG4HYB_cjs.MessageBubble; }
44649
+ get: function () { return chunkXCNDZNY7_cjs.MessageBubble; }
44605
44650
  });
44606
44651
  Object.defineProperty(exports, "MessageComposer", {
44607
44652
  enumerable: true,
44608
- get: function () { return chunk3MHG4HYB_cjs.MessageComposer; }
44653
+ get: function () { return chunkXCNDZNY7_cjs.MessageComposer; }
44609
44654
  });
44610
44655
  Object.defineProperty(exports, "MessageList", {
44611
44656
  enumerable: true,
44612
- get: function () { return chunk3MHG4HYB_cjs.MessageList; }
44657
+ get: function () { return chunkXCNDZNY7_cjs.MessageList; }
44613
44658
  });
44614
44659
  Object.defineProperty(exports, "MessageStatusIcon", {
44615
44660
  enumerable: true,
44616
- get: function () { return chunk3MHG4HYB_cjs.MessageStatusIcon; }
44661
+ get: function () { return chunkXCNDZNY7_cjs.MessageStatusIcon; }
44617
44662
  });
44618
44663
  Object.defineProperty(exports, "MessageThread", {
44619
44664
  enumerable: true,
44620
- get: function () { return chunk3MHG4HYB_cjs.MessageThread; }
44665
+ get: function () { return chunkXCNDZNY7_cjs.MessageThread; }
44621
44666
  });
44622
44667
  Object.defineProperty(exports, "MessagingSplitView", {
44623
44668
  enumerable: true,
44624
- get: function () { return chunk3MHG4HYB_cjs.MessagingSplitView; }
44669
+ get: function () { return chunkXCNDZNY7_cjs.MessagingSplitView; }
44625
44670
  });
44626
44671
  Object.defineProperty(exports, "ReadReceiptIndicator", {
44627
44672
  enumerable: true,
44628
- get: function () { return chunk3MHG4HYB_cjs.ReadReceiptIndicator; }
44673
+ get: function () { return chunkXCNDZNY7_cjs.ReadReceiptIndicator; }
44629
44674
  });
44630
44675
  Object.defineProperty(exports, "SendButton", {
44631
44676
  enumerable: true,
44632
- get: function () { return chunk3MHG4HYB_cjs.SendButton; }
44677
+ get: function () { return chunkXCNDZNY7_cjs.SendButton; }
44633
44678
  });
44634
44679
  Object.defineProperty(exports, "SkeletonMessage", {
44635
44680
  enumerable: true,
44636
- get: function () { return chunk3MHG4HYB_cjs.SkeletonMessage; }
44681
+ get: function () { return chunkXCNDZNY7_cjs.SkeletonMessage; }
44637
44682
  });
44638
44683
  Object.defineProperty(exports, "TypingIndicator", {
44639
44684
  enumerable: true,
44640
- get: function () { return chunk3MHG4HYB_cjs.TypingIndicator; }
44685
+ get: function () { return chunkXCNDZNY7_cjs.TypingIndicator; }
44641
44686
  });
44642
44687
  Object.defineProperty(exports, "bubbleVariants", {
44643
44688
  enumerable: true,
44644
- get: function () { return chunk3MHG4HYB_cjs.bubbleVariants; }
44689
+ get: function () { return chunkXCNDZNY7_cjs.bubbleVariants; }
44645
44690
  });
44646
44691
  Object.defineProperty(exports, "formatDateLabel", {
44647
44692
  enumerable: true,
44648
- get: function () { return chunk3MHG4HYB_cjs.formatDateLabel; }
44693
+ get: function () { return chunkXCNDZNY7_cjs.formatDateLabel; }
44649
44694
  });
44650
44695
  Object.defineProperty(exports, "formatFileSize", {
44651
44696
  enumerable: true,
44652
- get: function () { return chunk3MHG4HYB_cjs.formatFileSize; }
44697
+ get: function () { return chunkXCNDZNY7_cjs.formatFileSize; }
44653
44698
  });
44654
44699
  Object.defineProperty(exports, "formatLastSeen", {
44655
44700
  enumerable: true,
44656
- get: function () { return chunk3MHG4HYB_cjs.formatLastSeen; }
44701
+ get: function () { return chunkXCNDZNY7_cjs.formatLastSeen; }
44657
44702
  });
44658
44703
  Object.defineProperty(exports, "getConversationSubtitle", {
44659
44704
  enumerable: true,
44660
- get: function () { return chunk3MHG4HYB_cjs.getConversationSubtitle; }
44705
+ get: function () { return chunkXCNDZNY7_cjs.getConversationSubtitle; }
44661
44706
  });
44662
44707
  Object.defineProperty(exports, "getConversationTitle", {
44663
44708
  enumerable: true,
44664
- get: function () { return chunk3MHG4HYB_cjs.getConversationTitle; }
44709
+ get: function () { return chunkXCNDZNY7_cjs.getConversationTitle; }
44665
44710
  });
44666
44711
  Object.defineProperty(exports, "groupMessagesByDate", {
44667
44712
  enumerable: true,
44668
- get: function () { return chunk3MHG4HYB_cjs.groupMessagesByDate; }
44713
+ get: function () { return chunkXCNDZNY7_cjs.groupMessagesByDate; }
44669
44714
  });
44670
44715
  Object.defineProperty(exports, "headerVariants", {
44671
44716
  enumerable: true,
44672
- get: function () { return chunk3MHG4HYB_cjs.headerVariants; }
44717
+ get: function () { return chunkXCNDZNY7_cjs.headerVariants; }
44673
44718
  });
44674
44719
  Object.defineProperty(exports, "isSameSenderGroup", {
44675
44720
  enumerable: true,
44676
- get: function () { return chunk3MHG4HYB_cjs.isSameSenderGroup; }
44721
+ get: function () { return chunkXCNDZNY7_cjs.isSameSenderGroup; }
44677
44722
  });
44678
44723
  Object.defineProperty(exports, "sendButtonVariants", {
44679
44724
  enumerable: true,
44680
- get: function () { return chunk3MHG4HYB_cjs.sendButtonVariants; }
44725
+ get: function () { return chunkXCNDZNY7_cjs.sendButtonVariants; }
44681
44726
  });
44682
44727
  Object.defineProperty(exports, "useMessageScroll", {
44683
44728
  enumerable: true,
44684
- get: function () { return chunk3MHG4HYB_cjs.useMessageScroll; }
44729
+ get: function () { return chunkXCNDZNY7_cjs.useMessageScroll; }
44685
44730
  });
44686
44731
  Object.defineProperty(exports, "useMessages", {
44687
44732
  enumerable: true,
44688
- get: function () { return chunk3MHG4HYB_cjs.useMessages; }
44733
+ get: function () { return chunkXCNDZNY7_cjs.useMessages; }
44689
44734
  });
44690
44735
  Object.defineProperty(exports, "useReadReceipts", {
44691
44736
  enumerable: true,
44692
- get: function () { return chunk3MHG4HYB_cjs.useReadReceipts; }
44737
+ get: function () { return chunkXCNDZNY7_cjs.useReadReceipts; }
44738
+ });
44739
+ Object.defineProperty(exports, "useTypingEmulation", {
44740
+ enumerable: true,
44741
+ get: function () { return chunkXCNDZNY7_cjs.useTypingEmulation; }
44693
44742
  });
44694
44743
  Object.defineProperty(exports, "useTypingIndicator", {
44695
44744
  enumerable: true,
44696
- get: function () { return chunk3MHG4HYB_cjs.useTypingIndicator; }
44745
+ get: function () { return chunkXCNDZNY7_cjs.useTypingIndicator; }
44697
44746
  });
44698
44747
  Object.defineProperty(exports, "AttachmentPicker", {
44699
44748
  enumerable: true,
44700
- get: function () { return chunk5VXRKOPR_cjs.AttachmentPicker; }
44749
+ get: function () { return chunkT6PTKWM6_cjs.AttachmentPicker; }
44701
44750
  });
44702
44751
  Object.defineProperty(exports, "AttachmentPreviewItem", {
44703
44752
  enumerable: true,
44704
- get: function () { return chunk5VXRKOPR_cjs.AttachmentPreviewItem; }
44753
+ get: function () { return chunkT6PTKWM6_cjs.AttachmentPreviewItem; }
44705
44754
  });
44706
44755
  Object.defineProperty(exports, "CameraButton", {
44707
44756
  enumerable: true,
44708
- get: function () { return chunk5VXRKOPR_cjs.CameraButton; }
44757
+ get: function () { return chunkT6PTKWM6_cjs.CameraButton; }
44758
+ });
44759
+ Object.defineProperty(exports, "ChatComposer", {
44760
+ enumerable: true,
44761
+ get: function () { return chunkT6PTKWM6_cjs.ChatComposer; }
44762
+ });
44763
+ Object.defineProperty(exports, "ComposerModelSelector", {
44764
+ enumerable: true,
44765
+ get: function () { return chunkT6PTKWM6_cjs.ComposerModelSelector; }
44709
44766
  });
44710
44767
  Object.defineProperty(exports, "DragDropZone", {
44711
44768
  enumerable: true,
44712
- get: function () { return chunk5VXRKOPR_cjs.DragDropZone; }
44769
+ get: function () { return chunkT6PTKWM6_cjs.DragDropZone; }
44713
44770
  });
44714
44771
  Object.defineProperty(exports, "generateAttachmentId", {
44715
44772
  enumerable: true,
44716
- get: function () { return chunk5VXRKOPR_cjs.generateAttachmentId; }
44773
+ get: function () { return chunkT6PTKWM6_cjs.generateAttachmentId; }
44717
44774
  });
44718
44775
  Object.defineProperty(exports, "getFileType", {
44719
44776
  enumerable: true,
44720
- get: function () { return chunk5VXRKOPR_cjs.getFileType; }
44777
+ get: function () { return chunkT6PTKWM6_cjs.getFileType; }
44721
44778
  });
44722
44779
  Object.defineProperty(exports, "validateFile", {
44723
44780
  enumerable: true,
44724
- get: function () { return chunk5VXRKOPR_cjs.validateFile; }
44781
+ get: function () { return chunkT6PTKWM6_cjs.validateFile; }
44725
44782
  });
44726
44783
  Object.defineProperty(exports, "RecordButton", {
44727
44784
  enumerable: true,
@@ -45201,11 +45258,11 @@ Object.defineProperty(exports, "unformatPhoneNumber", {
45201
45258
  });
45202
45259
  Object.defineProperty(exports, "miewebUIPreset", {
45203
45260
  enumerable: true,
45204
- get: function () { return chunkZ3RYJWSV_cjs.miewebUIPreset; }
45261
+ get: function () { return chunkPY7XAG4D_cjs.miewebUIPreset; }
45205
45262
  });
45206
45263
  Object.defineProperty(exports, "miewebUISafelist", {
45207
45264
  enumerable: true,
45208
- get: function () { return chunkZ3RYJWSV_cjs.miewebUISafelist; }
45265
+ get: function () { return chunkPY7XAG4D_cjs.miewebUISafelist; }
45209
45266
  });
45210
45267
  Object.defineProperty(exports, "Accordion", {
45211
45268
  enumerable: true,