@frontera-sdk/chat-ui 1.50.79 → 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.
- package/dist/agent-picker.js +6 -6
- package/dist/{capture-NO5ZIGP6.js → capture-G4CDPSBH.js} +1 -1
- package/dist/chat.d.ts +1 -1
- package/dist/chat.js +4594 -941
- package/dist/{chunk-V44YVBRX.js → chunk-2P4IEVOQ.js} +29 -12
- package/dist/{chunk-WMN6BPPS.js → chunk-4FRTPVJT.js} +2 -2
- package/dist/{chunk-UTKQ6G2A.js → chunk-5B25DNOG.js} +7 -7
- package/dist/{chunk-FTLVGUG5.js → chunk-7AT2LRVW.js} +2640 -153
- package/dist/{chunk-FNIHHKOZ.js → chunk-C2TZSGKK.js} +1374 -186
- package/dist/{chunk-BDJFVRYR.js → chunk-C3HW5S2Z.js} +57 -18
- package/dist/chunk-CWAOLMFS.js +32 -0
- package/dist/{chunk-26L3ST3H.js → chunk-EFFOOCIK.js} +5975 -639
- package/dist/{chunk-J7EWRXEC.js → chunk-EXPHCRFP.js} +3 -3
- package/dist/{chunk-PH7AYVSS.js → chunk-FLOAEPRU.js} +4 -4
- package/dist/chunk-LGVMMBL3.js +33 -0
- package/dist/{chunk-IQXJEZM7.js → chunk-LOBDKA2D.js} +328 -32
- package/dist/{chunk-FDGBZFGN.js → chunk-PKNEC4LJ.js} +528 -12
- package/dist/{chunk-TSKFBMGC.js → chunk-PUMRNN3R.js} +117 -66
- package/dist/{chunk-S3ECTKA3.js → chunk-QBV7MAFV.js} +30 -4
- package/dist/{chunk-F6PEZE7A.js → chunk-T5SANYSX.js} +3 -10
- package/dist/{chunk-AFVU5VT6.js → chunk-TUDJ35AB.js} +1071 -87
- package/dist/{chunk-ROJM44GB.js → chunk-UWKO24VT.js} +28 -2
- package/dist/{chunk-KHF7OM3F.js → chunk-UZ6RDWCT.js} +4 -4
- package/dist/chunk-X3QVICX7.js +32 -0
- package/dist/client.d.ts +3 -3
- package/dist/client.js +1 -1
- package/dist/header.d.ts +1 -1
- package/dist/header.js +15 -15
- package/dist/message.js +14 -15
- package/dist/new-session.d.ts +1 -1
- package/dist/new-session.js +7 -8
- package/dist/parts.js +6 -6
- package/dist/{pdf-deck-view-inner-AY4FYDAJ.js → pdf-deck-view-inner-KW6RIALH.js} +7 -8
- package/dist/{pdf-document-view-inner-NC5MBN7X.js → pdf-document-view-inner-AJEP5IJC.js} +6 -7
- package/dist/{pdf-viewer-inner-GPES3KG2.js → pdf-viewer-inner-CXWPRACH.js} +2 -2
- package/dist/pending-cards.js +7 -7
- package/dist/platform.css +1 -1
- package/package.json +7 -4
- package/dist/chunk-6BPHEBCF.js +0 -639
- package/dist/chunk-IXDM5R55.js +0 -23
- package/dist/chunk-XLX3L3P4.js +0 -43
- package/dist/vega-chart-block-NQADYNWQ.js +0 -2857
- package/dist/{chunk-7ADM3CKD.js → chunk-6JLWE7M3.js} +0 -0
- package/dist/{pdf-cover-thumbnail-inner-4N2Q5AAG.js → pdf-cover-thumbnail-inner-B2P6S25B.js} +0 -0
- package/dist/{types-BDqLaBfH.d.ts → types-BZhoOcz2.d.ts} +3 -3
- /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-
|
|
3
|
-
import {
|
|
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/
|
|
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/
|
|
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 {
|
|
3
|
-
import {
|
|
4
|
-
import { useIsMobile } from './chunk-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
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/
|
|
17
|
+
// ../chat/src/ui/hooks/keep-caret.ts
|
|
18
18
|
function keepCaretOnTap(event) {
|
|
19
19
|
event.preventDefault();
|
|
20
20
|
}
|