@mieweb/ui 0.7.1-dev.14 → 0.7.1-dev.15
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-QEBVYLI7.js → chunk-RZJXCI53.js} +5 -2
- package/dist/chunk-RZJXCI53.js.map +1 -0
- package/dist/{chunk-V3S7QNFF.cjs → chunk-XS35KPBZ.cjs} +5 -2
- package/dist/chunk-XS35KPBZ.cjs.map +1 -0
- package/dist/components/SuperChat/index.cjs +6 -6
- package/dist/components/SuperChat/index.d.cts +4 -4
- package/dist/components/SuperChat/index.d.ts +4 -4
- package/dist/components/SuperChat/index.js +1 -1
- package/dist/components/SuperChat/plugins/index.d.cts +3 -3
- package/dist/components/SuperChat/plugins/index.d.ts +3 -3
- package/dist/index.cjs +29 -27
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -5
- package/dist/index.d.ts +13 -5
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/{types-BYnLjEFg.d.cts → types-B2RLmdVd.d.cts} +3 -1
- package/dist/{types-BYnLjEFg.d.ts → types-B2RLmdVd.d.ts} +3 -1
- package/dist/{types-CyCwYBlr.d.ts → types-BoTeTPdH.d.ts} +1 -1
- package/dist/{types-CBh8Zlje.d.cts → types-DyIB9HYT.d.cts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-QEBVYLI7.js.map +0 -1
- package/dist/chunk-V3S7QNFF.cjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TextRenderContext } from '../../chunk-I6CY5C6A.js';
|
|
2
2
|
export { TextRenderContext, useTextRenderContext } from '../../chunk-I6CY5C6A.js';
|
|
3
|
-
import { ChatBubble, MCPToolCallDisplay, AITypingIndicator, SparklesIcon, CloseIcon } from '../../chunk-
|
|
3
|
+
import { ChatBubble, MCPToolCallDisplay, AITypingIndicator, SparklesIcon, CloseIcon } from '../../chunk-RZJXCI53.js';
|
|
4
4
|
import { MessageComposer } from '../../chunk-IXWRD4AP.js';
|
|
5
5
|
import { Dropdown, DropdownItem } from '../../chunk-GDBPFHNX.js';
|
|
6
6
|
import '../../chunk-XO3WLK65.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as SuperChatRenderPlugin, e as GenUIRegistry } from '../../../types-
|
|
2
|
-
export { f as GenUIWidgetEntry, g as GenUIWidgetProps } from '../../../types-
|
|
1
|
+
import { a as SuperChatRenderPlugin, e as GenUIRegistry } from '../../../types-DyIB9HYT.cjs';
|
|
2
|
+
export { f as GenUIWidgetEntry, g as GenUIWidgetProps } from '../../../types-DyIB9HYT.cjs';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '../../../types-
|
|
4
|
+
import '../../../types-B2RLmdVd.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* SuperChat code plugin (opt-in).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as SuperChatRenderPlugin, e as GenUIRegistry } from '../../../types-
|
|
2
|
-
export { f as GenUIWidgetEntry, g as GenUIWidgetProps } from '../../../types-
|
|
1
|
+
import { a as SuperChatRenderPlugin, e as GenUIRegistry } from '../../../types-BoTeTPdH.js';
|
|
2
|
+
export { f as GenUIWidgetEntry, g as GenUIWidgetProps } from '../../../types-BoTeTPdH.js';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '../../../types-
|
|
4
|
+
import '../../../types-B2RLmdVd.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* SuperChat code plugin (opt-in).
|
package/dist/index.cjs
CHANGED
|
@@ -22,7 +22,7 @@ var chunkVTKXM7IE_cjs = require('./chunk-VTKXM7IE.cjs');
|
|
|
22
22
|
var chunkRS5VA6QU_cjs = require('./chunk-RS5VA6QU.cjs');
|
|
23
23
|
var chunkYGA35Z2P_cjs = require('./chunk-YGA35Z2P.cjs');
|
|
24
24
|
var chunkXXVUHLQN_cjs = require('./chunk-XXVUHLQN.cjs');
|
|
25
|
-
var
|
|
25
|
+
var chunkXS35KPBZ_cjs = require('./chunk-XS35KPBZ.cjs');
|
|
26
26
|
var chunkYXHX2DAK_cjs = require('./chunk-YXHX2DAK.cjs');
|
|
27
27
|
var chunkXCVBCY7L_cjs = require('./chunk-XCVBCY7L.cjs');
|
|
28
28
|
var chunkFKLUSYFP_cjs = require('./chunk-FKLUSYFP.cjs');
|
|
@@ -1388,7 +1388,7 @@ function AIEmptyState({
|
|
|
1388
1388
|
{
|
|
1389
1389
|
"data-slot": "ai-empty-state-icon",
|
|
1390
1390
|
className: "bg-primary-800 dark:bg-primary-800 flex h-16 w-16 items-center justify-center rounded-full text-white",
|
|
1391
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1391
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkXS35KPBZ_cjs.SparklesIcon, { size: "lg", className: "h-8 w-8" })
|
|
1392
1392
|
}
|
|
1393
1393
|
);
|
|
1394
1394
|
const suggestionsAction = suggestions && suggestions.length > 0 && onSuggestionSelect ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mt-6", children: [
|
|
@@ -1452,7 +1452,8 @@ function AIChat({
|
|
|
1452
1452
|
onCancel,
|
|
1453
1453
|
onClear,
|
|
1454
1454
|
onClose,
|
|
1455
|
-
renderTextContent
|
|
1455
|
+
renderTextContent,
|
|
1456
|
+
renderMessageFooter
|
|
1456
1457
|
}) {
|
|
1457
1458
|
const messagesEndRef = React10__namespace.useRef(null);
|
|
1458
1459
|
const messages = React10__namespace.useMemo(
|
|
@@ -1499,7 +1500,7 @@ function AIChat({
|
|
|
1499
1500
|
{
|
|
1500
1501
|
"data-slot": "ai-chat-header-icon",
|
|
1501
1502
|
className: "bg-primary-800 dark:bg-primary-800 flex h-8 w-8 items-center justify-center rounded-full text-white",
|
|
1502
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1503
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkXS35KPBZ_cjs.SparklesIcon, { size: "sm" })
|
|
1503
1504
|
}
|
|
1504
1505
|
),
|
|
1505
1506
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
@@ -1529,7 +1530,7 @@ function AIChat({
|
|
|
1529
1530
|
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",
|
|
1530
1531
|
title: "Clear chat",
|
|
1531
1532
|
"aria-label": "Clear chat",
|
|
1532
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1533
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkXS35KPBZ_cjs.RefreshIcon, {})
|
|
1533
1534
|
}
|
|
1534
1535
|
),
|
|
1535
1536
|
onClose && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1540,7 +1541,7 @@ function AIChat({
|
|
|
1540
1541
|
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",
|
|
1541
1542
|
title: "Close chat",
|
|
1542
1543
|
"aria-label": "Close chat",
|
|
1543
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1544
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkXS35KPBZ_cjs.CloseIcon, {})
|
|
1544
1545
|
}
|
|
1545
1546
|
)
|
|
1546
1547
|
] })
|
|
@@ -1560,13 +1561,14 @@ function AIChat({
|
|
|
1560
1561
|
}
|
|
1561
1562
|
) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
1562
1563
|
messages.map((message) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1563
|
-
|
|
1564
|
+
chunkXS35KPBZ_cjs.AIMessageDisplay,
|
|
1564
1565
|
{
|
|
1565
1566
|
message,
|
|
1566
1567
|
userName,
|
|
1567
1568
|
showTimestamp: showTimestamps,
|
|
1568
1569
|
onLinkClick: handleLinkClick,
|
|
1569
|
-
renderTextContent
|
|
1570
|
+
renderTextContent,
|
|
1571
|
+
renderMessageFooter
|
|
1570
1572
|
},
|
|
1571
1573
|
message.id
|
|
1572
1574
|
)),
|
|
@@ -4194,7 +4196,7 @@ function AIChatTrigger({
|
|
|
4194
4196
|
children: badge > 9 ? "9+" : badge
|
|
4195
4197
|
}
|
|
4196
4198
|
),
|
|
4197
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4199
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkXS35KPBZ_cjs.SparklesIcon, { size: "lg" })
|
|
4198
4200
|
]
|
|
4199
4201
|
}
|
|
4200
4202
|
);
|
|
@@ -5768,7 +5770,7 @@ function ReconciliationProposalRow({
|
|
|
5768
5770
|
children: [
|
|
5769
5771
|
/* @__PURE__ */ jsxRuntime.jsxs("dt", { className: "text-muted-foreground flex items-center gap-1 text-[11px] tracking-wide uppercase", children: [
|
|
5770
5772
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5771
|
-
|
|
5773
|
+
chunkXS35KPBZ_cjs.SparklesIcon,
|
|
5772
5774
|
{
|
|
5773
5775
|
size: "sm",
|
|
5774
5776
|
className: "text-primary-700 dark:text-primary-400"
|
|
@@ -5824,7 +5826,7 @@ function SourcePill({ source }) {
|
|
|
5824
5826
|
"text-muted-foreground"
|
|
5825
5827
|
),
|
|
5826
5828
|
children: [
|
|
5827
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary-700 dark:text-primary-400 flex items-center", children: source.icon ?? /* @__PURE__ */ jsxRuntime.jsx(
|
|
5829
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary-700 dark:text-primary-400 flex items-center", children: source.icon ?? /* @__PURE__ */ jsxRuntime.jsx(chunkXS35KPBZ_cjs.SparklesIcon, { size: "sm" }) }),
|
|
5828
5830
|
source.thumbnailUrl && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5829
5831
|
"img",
|
|
5830
5832
|
{
|
|
@@ -43000,67 +43002,67 @@ Object.defineProperty(exports, "spinnerVariants", {
|
|
|
43000
43002
|
});
|
|
43001
43003
|
Object.defineProperty(exports, "AILogoIcon", {
|
|
43002
43004
|
enumerable: true,
|
|
43003
|
-
get: function () { return
|
|
43005
|
+
get: function () { return chunkXS35KPBZ_cjs.AILogoIcon; }
|
|
43004
43006
|
});
|
|
43005
43007
|
Object.defineProperty(exports, "AIMessageDisplay", {
|
|
43006
43008
|
enumerable: true,
|
|
43007
|
-
get: function () { return
|
|
43009
|
+
get: function () { return chunkXS35KPBZ_cjs.AIMessageDisplay; }
|
|
43008
43010
|
});
|
|
43009
43011
|
Object.defineProperty(exports, "AITypingIndicator", {
|
|
43010
43012
|
enumerable: true,
|
|
43011
|
-
get: function () { return
|
|
43013
|
+
get: function () { return chunkXS35KPBZ_cjs.AITypingIndicator; }
|
|
43012
43014
|
});
|
|
43013
43015
|
Object.defineProperty(exports, "ChatBubble", {
|
|
43014
43016
|
enumerable: true,
|
|
43015
|
-
get: function () { return
|
|
43017
|
+
get: function () { return chunkXS35KPBZ_cjs.ChatBubble; }
|
|
43016
43018
|
});
|
|
43017
43019
|
Object.defineProperty(exports, "ChevronIcon", {
|
|
43018
43020
|
enumerable: true,
|
|
43019
|
-
get: function () { return
|
|
43021
|
+
get: function () { return chunkXS35KPBZ_cjs.ChevronIcon; }
|
|
43020
43022
|
});
|
|
43021
43023
|
Object.defineProperty(exports, "CloseIcon", {
|
|
43022
43024
|
enumerable: true,
|
|
43023
|
-
get: function () { return
|
|
43025
|
+
get: function () { return chunkXS35KPBZ_cjs.CloseIcon; }
|
|
43024
43026
|
});
|
|
43025
43027
|
Object.defineProperty(exports, "CollapsiblePill", {
|
|
43026
43028
|
enumerable: true,
|
|
43027
|
-
get: function () { return
|
|
43029
|
+
get: function () { return chunkXS35KPBZ_cjs.CollapsiblePill; }
|
|
43028
43030
|
});
|
|
43029
43031
|
Object.defineProperty(exports, "MCPToolCallDisplay", {
|
|
43030
43032
|
enumerable: true,
|
|
43031
|
-
get: function () { return
|
|
43033
|
+
get: function () { return chunkXS35KPBZ_cjs.MCPToolCallDisplay; }
|
|
43032
43034
|
});
|
|
43033
43035
|
Object.defineProperty(exports, "MessageAvatar", {
|
|
43034
43036
|
enumerable: true,
|
|
43035
|
-
get: function () { return
|
|
43037
|
+
get: function () { return chunkXS35KPBZ_cjs.MessageAvatar; }
|
|
43036
43038
|
});
|
|
43037
43039
|
Object.defineProperty(exports, "RefreshIcon", {
|
|
43038
43040
|
enumerable: true,
|
|
43039
|
-
get: function () { return
|
|
43041
|
+
get: function () { return chunkXS35KPBZ_cjs.RefreshIcon; }
|
|
43040
43042
|
});
|
|
43041
43043
|
Object.defineProperty(exports, "ResourceLink", {
|
|
43042
43044
|
enumerable: true,
|
|
43043
|
-
get: function () { return
|
|
43045
|
+
get: function () { return chunkXS35KPBZ_cjs.ResourceLink; }
|
|
43044
43046
|
});
|
|
43045
43047
|
Object.defineProperty(exports, "SendIcon", {
|
|
43046
43048
|
enumerable: true,
|
|
43047
|
-
get: function () { return
|
|
43049
|
+
get: function () { return chunkXS35KPBZ_cjs.SendIcon; }
|
|
43048
43050
|
});
|
|
43049
43051
|
Object.defineProperty(exports, "SparklesIcon", {
|
|
43050
43052
|
enumerable: true,
|
|
43051
|
-
get: function () { return
|
|
43053
|
+
get: function () { return chunkXS35KPBZ_cjs.SparklesIcon; }
|
|
43052
43054
|
});
|
|
43053
43055
|
Object.defineProperty(exports, "SpinnerIcon", {
|
|
43054
43056
|
enumerable: true,
|
|
43055
|
-
get: function () { return
|
|
43057
|
+
get: function () { return chunkXS35KPBZ_cjs.SpinnerIcon; }
|
|
43056
43058
|
});
|
|
43057
43059
|
Object.defineProperty(exports, "ToolStatusIcon", {
|
|
43058
43060
|
enumerable: true,
|
|
43059
|
-
get: function () { return
|
|
43061
|
+
get: function () { return chunkXS35KPBZ_cjs.ToolStatusIcon; }
|
|
43060
43062
|
});
|
|
43061
43063
|
Object.defineProperty(exports, "getToolIcon", {
|
|
43062
43064
|
enumerable: true,
|
|
43063
|
-
get: function () { return
|
|
43065
|
+
get: function () { return chunkXS35KPBZ_cjs.getToolIcon; }
|
|
43064
43066
|
});
|
|
43065
43067
|
Object.defineProperty(exports, "AttachmentPreview", {
|
|
43066
43068
|
enumerable: true,
|