@frontera-sdk/chat-ui 1.50.78 → 1.50.80

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 (46) hide show
  1. package/dist/agent-picker.js +6 -6
  2. package/dist/{capture-NO5ZIGP6.js → capture-G4CDPSBH.js} +1 -1
  3. package/dist/chat.d.ts +1 -1
  4. package/dist/chat.js +4594 -941
  5. package/dist/{chunk-V44YVBRX.js → chunk-2P4IEVOQ.js} +29 -12
  6. package/dist/{chunk-WMN6BPPS.js → chunk-4FRTPVJT.js} +2 -2
  7. package/dist/{chunk-UTKQ6G2A.js → chunk-5B25DNOG.js} +7 -7
  8. package/dist/{chunk-FTLVGUG5.js → chunk-7AT2LRVW.js} +2640 -153
  9. package/dist/{chunk-FNIHHKOZ.js → chunk-C2TZSGKK.js} +1374 -186
  10. package/dist/{chunk-BDJFVRYR.js → chunk-C3HW5S2Z.js} +57 -18
  11. package/dist/chunk-CWAOLMFS.js +32 -0
  12. package/dist/{chunk-26L3ST3H.js → chunk-EFFOOCIK.js} +5975 -639
  13. package/dist/{chunk-J7EWRXEC.js → chunk-EXPHCRFP.js} +3 -3
  14. package/dist/{chunk-PH7AYVSS.js → chunk-FLOAEPRU.js} +4 -4
  15. package/dist/chunk-LGVMMBL3.js +33 -0
  16. package/dist/{chunk-IQXJEZM7.js → chunk-LOBDKA2D.js} +328 -32
  17. package/dist/{chunk-FDGBZFGN.js → chunk-PKNEC4LJ.js} +528 -12
  18. package/dist/{chunk-TSKFBMGC.js → chunk-PUMRNN3R.js} +117 -66
  19. package/dist/{chunk-S3ECTKA3.js → chunk-QBV7MAFV.js} +30 -4
  20. package/dist/{chunk-F6PEZE7A.js → chunk-T5SANYSX.js} +3 -10
  21. package/dist/{chunk-AFVU5VT6.js → chunk-TUDJ35AB.js} +1071 -87
  22. package/dist/{chunk-ROJM44GB.js → chunk-UWKO24VT.js} +28 -2
  23. package/dist/{chunk-KHF7OM3F.js → chunk-UZ6RDWCT.js} +4 -4
  24. package/dist/chunk-X3QVICX7.js +32 -0
  25. package/dist/client.d.ts +3 -3
  26. package/dist/client.js +1 -1
  27. package/dist/header.d.ts +1 -1
  28. package/dist/header.js +15 -15
  29. package/dist/message.js +14 -15
  30. package/dist/new-session.d.ts +1 -1
  31. package/dist/new-session.js +7 -8
  32. package/dist/parts.js +6 -6
  33. package/dist/{pdf-deck-view-inner-AY4FYDAJ.js → pdf-deck-view-inner-KW6RIALH.js} +7 -8
  34. package/dist/{pdf-document-view-inner-NC5MBN7X.js → pdf-document-view-inner-AJEP5IJC.js} +6 -7
  35. package/dist/{pdf-viewer-inner-GPES3KG2.js → pdf-viewer-inner-CXWPRACH.js} +2 -2
  36. package/dist/pending-cards.js +7 -7
  37. package/dist/platform.css +1 -1
  38. package/package.json +7 -4
  39. package/dist/chunk-6BPHEBCF.js +0 -639
  40. package/dist/chunk-IXDM5R55.js +0 -23
  41. package/dist/chunk-XLX3L3P4.js +0 -43
  42. package/dist/vega-chart-block-NQADYNWQ.js +0 -2857
  43. package/dist/{chunk-7ADM3CKD.js → chunk-6JLWE7M3.js} +0 -0
  44. package/dist/{pdf-cover-thumbnail-inner-4N2Q5AAG.js → pdf-cover-thumbnail-inner-B2P6S25B.js} +0 -0
  45. package/dist/{types-BDqLaBfH.d.ts → types-BZhoOcz2.d.ts} +3 -3
  46. /package/dist/{univer-workbook-LSBVETAQ.js → univer-workbook-PENO65OQ.js} +0 -0
@@ -1,10 +1,34 @@
1
1
  'use client';
2
- import { cn, usePortalContainer } from './chunk-XLX3L3P4.js';
3
- import { CrossMediumIcon } from './chunk-AFVU5VT6.js';
2
+ import { cn, usePortalContainer } from './chunk-LGVMMBL3.js';
3
+ import { jsx, jsxs } from 'react/jsx-runtime';
4
4
  import * as React from 'react';
5
5
  import * as DialogPrimitive from '@radix-ui/react-dialog';
6
- import { jsx, jsxs } from 'react/jsx-runtime';
7
6
 
7
+ function CrossMediumIcon(props) {
8
+ return /* @__PURE__ */ jsx(
9
+ "svg",
10
+ {
11
+ "aria-hidden": "true",
12
+ role: "img",
13
+ "aria-label": "cross-medium, crossed medium, close",
14
+ width: "24px",
15
+ height: "24px",
16
+ viewBox: "0 0 24 24",
17
+ fill: "none",
18
+ xmlns: "http://www.w3.org/2000/svg",
19
+ ...props,
20
+ children: /* @__PURE__ */ jsx(
21
+ "path",
22
+ {
23
+ d: "M6.25 6.25L17.75 17.75M17.75 6.25L6.25 17.75",
24
+ stroke: "currentColor",
25
+ strokeWidth: "1.5",
26
+ strokeLinecap: "round"
27
+ }
28
+ )
29
+ }
30
+ );
31
+ }
8
32
  function Dialog({
9
33
  ...props
10
34
  }) {
@@ -14,14 +38,7 @@ function DialogPortal({
14
38
  ...props
15
39
  }) {
16
40
  const container = usePortalContainer();
17
- return /* @__PURE__ */ jsx(
18
- DialogPrimitive.Portal,
19
- {
20
- "data-slot": "dialog-portal",
21
- ...container ? { container } : {},
22
- ...props
23
- }
24
- );
41
+ return /* @__PURE__ */ jsx(DialogPrimitive.Portal, { "data-slot": "dialog-portal", ...container ? { container } : {}, ...props });
25
42
  }
26
43
  function DialogClose({
27
44
  className,
@@ -199,4 +216,4 @@ function DialogDescription({
199
216
  );
200
217
  }
201
218
 
202
- export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle };
219
+ export { CrossMediumIcon, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle };
@@ -1,14 +1,14 @@
1
1
  'use client';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
 
4
- // src/vendor/lib/typing-target.ts
4
+ // ../platform-kit/src/lib/typing-target.ts
5
5
  function isTypingTarget(target) {
6
6
  const el = target;
7
7
  if (!el || typeof el.tagName !== "string") return false;
8
8
  return el.tagName === "INPUT" || el.tagName === "TEXTAREA" || el.tagName === "SELECT" || el.isContentEditable === true;
9
9
  }
10
10
 
11
- // src/vendor/ui/library/artifact-viewer/components/deck-key-scope.ts
11
+ // ../chat/src/ui/library/artifact-viewer/components/deck-key-scope.ts
12
12
  var ARROW_OWNING_TAGS = /* @__PURE__ */ new Set(["INPUT", "TEXTAREA", "SELECT"]);
13
13
  var ARROW_OWNING_ROLES = /* @__PURE__ */ new Set(["menu", "menuitem", "listbox", "option", "combobox", "tablist", "tab", "slider", "spinbutton", "grid", "gridcell", "tree", "treeitem", "radiogroup", "radio"]);
14
14
  function isFullscreenHotkey(e) {
@@ -1,10 +1,10 @@
1
1
  'use client';
2
- import { Sheet, SheetContent, SheetHeader, SheetTitle, Popover, PopoverTrigger, PopoverContent } from './chunk-F6PEZE7A.js';
3
- import { useTranslation } from './chunk-FTLVGUG5.js';
4
- import { useIsMobile } from './chunk-IXDM5R55.js';
5
- import { AgentAvatar } from './chunk-TSKFBMGC.js';
6
- import { cn } from './chunk-XLX3L3P4.js';
7
- import { CrossMediumIcon, MagnifyingGlassIcon, Checkmark1Icon } from './chunk-AFVU5VT6.js';
2
+ import { MagnifyingGlassIcon } from './chunk-X3QVICX7.js';
3
+ import { Sheet, SheetContent, SheetHeader, SheetTitle, Popover, PopoverTrigger, PopoverContent } from './chunk-T5SANYSX.js';
4
+ import { useIsMobile, useTranslation } from './chunk-7AT2LRVW.js';
5
+ import { CrossMediumIcon } from './chunk-2P4IEVOQ.js';
6
+ import { AgentAvatar } from './chunk-PUMRNN3R.js';
7
+ import { cn, Checkmark1Icon } from './chunk-LGVMMBL3.js';
8
8
  import * as t from 'react';
9
9
  import { memo, useState } from 'react';
10
10
  import { Slot } from '@radix-ui/react-slot';
@@ -14,7 +14,7 @@ import { useId } from '@radix-ui/react-id';
14
14
  import { composeRefs } from '@radix-ui/react-compose-refs';
15
15
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
16
16
 
17
- // src/vendor/ui/hooks/keep-caret.ts
17
+ // ../chat/src/ui/hooks/keep-caret.ts
18
18
  function keepCaretOnTap(event) {
19
19
  event.preventDefault();
20
20
  }