@opentiny/tiny-robot 0.4.2-alpha.1 → 0.4.2-alpha.10
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/action-group/index.js +5 -5
- package/dist/{content-nav → anchor}/index.js +263 -263
- package/dist/attachments/index.js +326 -269
- package/dist/bubble/index.js +10 -9
- package/dist/container/index.js +13 -13
- package/dist/dropdown-menu/index.js +17 -17
- package/dist/feedback/index.js +2 -2
- package/dist/flow-layout-buttons/index.js +1 -1
- package/dist/index.d.ts +1157 -918
- package/dist/index.js +154 -143
- package/dist/index2.js +152 -126
- package/dist/index3.js +1 -1
- package/dist/index4.js +380 -317
- package/dist/index5.js +240 -187
- package/dist/index6.js +597 -548
- package/dist/index7.js +42 -42
- package/dist/layout/index.js +1243 -0
- package/dist/mcp-server-picker/index.js +178 -177
- package/dist/sender/index.js +1575 -1467
- package/dist/style.css +1 -1
- package/dist/suggestion-pills/index.js +12 -12
- package/dist/suggestion-popover/index.js +122 -125
- package/dist/welcome/index.js +9 -9
- package/package.json +19 -13
- package/dist/no-data.js +0 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as $, useSlots as H, computed as i, ref as f, watch as I, nextTick as W, openBlock as o, createElementBlock as _, Fragment as N, renderList as R, createBlock as v, unref as h, withCtx as S, createElementVNode as w, resolveDynamicComponent as G, renderSlot as L, createVNode as x, Transition as j, withDirectives as q, normalizeClass as J, withModifiers as K, createCommentVNode as E, toDisplayString as Q, vShow as U } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { IconMoreCircle as Y } from "@opentiny/tiny-robot-svgs";
|
|
3
3
|
import { TinyTooltip as M } from "@opentiny/vue";
|
|
4
4
|
import { o as Z, b as ee } from "../index4.js";
|
|
5
5
|
import te from "../icon-button/index.js";
|
|
@@ -17,10 +17,10 @@ const ne = { class: "tr-action-group" }, re = ["onClick"], le = ["onClick"], ae
|
|
|
17
17
|
var a, t;
|
|
18
18
|
const e = F.default();
|
|
19
19
|
return Array.isArray(e) ? e.length === 1 && ((a = e[0].type) == null ? void 0 : a.toString()) === "Symbol(v-fgt)" ? e[0].children : e : ((t = e.type) == null ? void 0 : t.toString()) === "Symbol(v-fgt)" ? e.children : [e];
|
|
20
|
-
}),
|
|
20
|
+
}), b = i(() => {
|
|
21
21
|
const e = l.maxNum ?? Number.MAX_SAFE_INTEGER;
|
|
22
22
|
return e > 0 ? e : Number.MAX_SAFE_INTEGER;
|
|
23
|
-
}),
|
|
23
|
+
}), y = i(() => p.value.length > b.value), V = i(() => y.value ? p.value.slice(0, b.value) : p.value), z = i(() => y.value ? p.value.slice(b.value) : []), m = f(null), d = f(null), n = f(!1), P = () => {
|
|
24
24
|
n.value = !n.value;
|
|
25
25
|
};
|
|
26
26
|
Z(
|
|
@@ -69,7 +69,7 @@ const ne = { class: "tr-action-group" }, re = ["onClick"], le = ["onClick"], ae
|
|
|
69
69
|
_: 2
|
|
70
70
|
}, 1032, ["content", "disabled"]);
|
|
71
71
|
}), 128)),
|
|
72
|
-
|
|
72
|
+
y.value ? (o(), v(h(M), {
|
|
73
73
|
key: 0,
|
|
74
74
|
content: "更多",
|
|
75
75
|
effect: "dark",
|
|
@@ -120,7 +120,7 @@ const ne = { class: "tr-action-group" }, re = ["onClick"], le = ["onClick"], ae
|
|
|
120
120
|
}, 8, ["disabled"])) : E("", !0)
|
|
121
121
|
]));
|
|
122
122
|
}
|
|
123
|
-
}), g = /* @__PURE__ */ oe(ce, [["__scopeId", "data-v-
|
|
123
|
+
}), g = /* @__PURE__ */ oe(ce, [["__scopeId", "data-v-5a06be84"]]), u = /* @__PURE__ */ $({
|
|
124
124
|
__name: "ActionGroupItem",
|
|
125
125
|
props: {
|
|
126
126
|
name: {},
|