@blueking/chat-x 0.0.1-beta.11 → 0.0.1-beta.12
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.
|
@@ -90,6 +90,7 @@ declare var __VLS_9: {
|
|
|
90
90
|
rows?: number | undefined;
|
|
91
91
|
}[];
|
|
92
92
|
shortcut?: {
|
|
93
|
+
alias?: string | undefined;
|
|
93
94
|
components?: ({
|
|
94
95
|
props: {
|
|
95
96
|
readonly [x: string]: unknown;
|
|
@@ -621,6 +622,7 @@ declare var __VLS_9: {
|
|
|
621
622
|
rows?: number | undefined;
|
|
622
623
|
}[];
|
|
623
624
|
shortcut?: {
|
|
625
|
+
alias?: string | undefined;
|
|
624
626
|
components?: ({
|
|
625
627
|
props: {
|
|
626
628
|
readonly [x: string]: unknown;
|
|
@@ -1142,6 +1144,7 @@ declare var __VLS_9: {
|
|
|
1142
1144
|
rows?: number | undefined;
|
|
1143
1145
|
}[];
|
|
1144
1146
|
shortcut?: {
|
|
1147
|
+
alias?: string | undefined;
|
|
1145
1148
|
components?: ({
|
|
1146
1149
|
props: {
|
|
1147
1150
|
readonly [x: string]: unknown;
|
|
@@ -1661,6 +1664,7 @@ declare var __VLS_9: {
|
|
|
1661
1664
|
rows?: number | undefined;
|
|
1662
1665
|
}[];
|
|
1663
1666
|
shortcut?: {
|
|
1667
|
+
alias?: string | undefined;
|
|
1664
1668
|
components?: ({
|
|
1665
1669
|
props: {
|
|
1666
1670
|
readonly [x: string]: unknown;
|
|
@@ -2180,6 +2184,7 @@ declare var __VLS_9: {
|
|
|
2180
2184
|
rows?: number | undefined;
|
|
2181
2185
|
}[];
|
|
2182
2186
|
shortcut?: {
|
|
2187
|
+
alias?: string | undefined;
|
|
2183
2188
|
components?: ({
|
|
2184
2189
|
props: {
|
|
2185
2190
|
readonly [x: string]: unknown;
|
|
@@ -2699,6 +2704,7 @@ declare var __VLS_9: {
|
|
|
2699
2704
|
rows?: number | undefined;
|
|
2700
2705
|
}[];
|
|
2701
2706
|
shortcut?: {
|
|
2707
|
+
alias?: string | undefined;
|
|
2702
2708
|
components?: ({
|
|
2703
2709
|
props: {
|
|
2704
2710
|
readonly [x: string]: unknown;
|
|
@@ -3218,6 +3224,7 @@ declare var __VLS_9: {
|
|
|
3218
3224
|
rows?: number | undefined;
|
|
3219
3225
|
}[];
|
|
3220
3226
|
shortcut?: {
|
|
3227
|
+
alias?: string | undefined;
|
|
3221
3228
|
components?: ({
|
|
3222
3229
|
props: {
|
|
3223
3230
|
readonly [x: string]: unknown;
|
|
@@ -3737,6 +3744,7 @@ declare var __VLS_9: {
|
|
|
3737
3744
|
rows?: number | undefined;
|
|
3738
3745
|
}[];
|
|
3739
3746
|
shortcut?: {
|
|
3747
|
+
alias?: string | undefined;
|
|
3740
3748
|
components?: ({
|
|
3741
3749
|
props: {
|
|
3742
3750
|
readonly [x: string]: unknown;
|
|
@@ -4256,6 +4264,7 @@ declare var __VLS_9: {
|
|
|
4256
4264
|
rows?: number | undefined;
|
|
4257
4265
|
}[];
|
|
4258
4266
|
shortcut?: {
|
|
4267
|
+
alias?: string | undefined;
|
|
4259
4268
|
components?: ({
|
|
4260
4269
|
props: {
|
|
4261
4270
|
readonly [x: string]: unknown;
|
|
@@ -4775,6 +4784,7 @@ declare var __VLS_9: {
|
|
|
4775
4784
|
rows?: number | undefined;
|
|
4776
4785
|
}[];
|
|
4777
4786
|
shortcut?: {
|
|
4787
|
+
alias?: string | undefined;
|
|
4778
4788
|
components?: ({
|
|
4779
4789
|
props: {
|
|
4780
4790
|
readonly [x: string]: unknown;
|
|
@@ -5294,6 +5304,7 @@ declare var __VLS_9: {
|
|
|
5294
5304
|
rows?: number | undefined;
|
|
5295
5305
|
}[];
|
|
5296
5306
|
shortcut?: {
|
|
5307
|
+
alias?: string | undefined;
|
|
5297
5308
|
components?: ({
|
|
5298
5309
|
props: {
|
|
5299
5310
|
readonly [x: string]: unknown;
|
|
@@ -5813,6 +5824,7 @@ declare var __VLS_9: {
|
|
|
5813
5824
|
rows?: number | undefined;
|
|
5814
5825
|
}[];
|
|
5815
5826
|
shortcut?: {
|
|
5827
|
+
alias?: string | undefined;
|
|
5816
5828
|
components?: ({
|
|
5817
5829
|
props: {
|
|
5818
5830
|
readonly [x: string]: unknown;
|
|
@@ -6332,6 +6344,7 @@ declare var __VLS_9: {
|
|
|
6332
6344
|
rows?: number | undefined;
|
|
6333
6345
|
}[];
|
|
6334
6346
|
shortcut?: {
|
|
6347
|
+
alias?: string | undefined;
|
|
6335
6348
|
components?: ({
|
|
6336
6349
|
props: {
|
|
6337
6350
|
readonly [x: string]: unknown;
|
|
@@ -6851,6 +6864,7 @@ declare var __VLS_9: {
|
|
|
6851
6864
|
rows?: number | undefined;
|
|
6852
6865
|
}[];
|
|
6853
6866
|
shortcut?: {
|
|
6867
|
+
alias?: string | undefined;
|
|
6854
6868
|
components?: ({
|
|
6855
6869
|
props: {
|
|
6856
6870
|
readonly [x: string]: unknown;
|
|
@@ -7371,6 +7385,7 @@ declare var __VLS_9: {
|
|
|
7371
7385
|
rows?: number | undefined;
|
|
7372
7386
|
}[];
|
|
7373
7387
|
shortcut?: {
|
|
7388
|
+
alias?: string | undefined;
|
|
7374
7389
|
components?: ({
|
|
7375
7390
|
props: {
|
|
7376
7391
|
readonly [x: string]: unknown;
|
|
@@ -7890,6 +7905,7 @@ declare var __VLS_9: {
|
|
|
7890
7905
|
rows?: number | undefined;
|
|
7891
7906
|
}[];
|
|
7892
7907
|
shortcut?: {
|
|
7908
|
+
alias?: string | undefined;
|
|
7893
7909
|
components?: ({
|
|
7894
7910
|
props: {
|
|
7895
7911
|
readonly [x: string]: unknown;
|
|
@@ -8409,6 +8425,7 @@ declare var __VLS_9: {
|
|
|
8409
8425
|
rows?: number | undefined;
|
|
8410
8426
|
}[];
|
|
8411
8427
|
shortcut?: {
|
|
8428
|
+
alias?: string | undefined;
|
|
8412
8429
|
components?: ({
|
|
8413
8430
|
props: {
|
|
8414
8431
|
readonly [x: string]: unknown;
|
|
@@ -8928,6 +8945,7 @@ declare var __VLS_9: {
|
|
|
8928
8945
|
rows?: number | undefined;
|
|
8929
8946
|
}[];
|
|
8930
8947
|
shortcut?: {
|
|
8948
|
+
alias?: string | undefined;
|
|
8931
8949
|
components?: ({
|
|
8932
8950
|
props: {
|
|
8933
8951
|
readonly [x: string]: unknown;
|
|
@@ -9447,6 +9465,7 @@ declare var __VLS_9: {
|
|
|
9447
9465
|
rows?: number | undefined;
|
|
9448
9466
|
}[];
|
|
9449
9467
|
shortcut?: {
|
|
9468
|
+
alias?: string | undefined;
|
|
9450
9469
|
components?: ({
|
|
9451
9470
|
props: {
|
|
9452
9471
|
readonly [x: string]: unknown;
|
|
@@ -9966,6 +9985,7 @@ declare var __VLS_9: {
|
|
|
9966
9985
|
rows?: number | undefined;
|
|
9967
9986
|
}[];
|
|
9968
9987
|
shortcut?: {
|
|
9988
|
+
alias?: string | undefined;
|
|
9969
9989
|
components?: ({
|
|
9970
9990
|
props: {
|
|
9971
9991
|
readonly [x: string]: unknown;
|
|
@@ -10485,6 +10505,7 @@ declare var __VLS_9: {
|
|
|
10485
10505
|
rows?: number | undefined;
|
|
10486
10506
|
}[];
|
|
10487
10507
|
shortcut?: {
|
|
10508
|
+
alias?: string | undefined;
|
|
10488
10509
|
components?: ({
|
|
10489
10510
|
props: {
|
|
10490
10511
|
readonly [x: string]: unknown;
|
|
@@ -11007,6 +11028,7 @@ declare var __VLS_9: {
|
|
|
11007
11028
|
rows?: number | undefined;
|
|
11008
11029
|
}[];
|
|
11009
11030
|
shortcut?: {
|
|
11031
|
+
alias?: string | undefined;
|
|
11010
11032
|
components?: ({
|
|
11011
11033
|
props: {
|
|
11012
11034
|
readonly [x: string]: unknown;
|
|
@@ -11536,6 +11558,7 @@ declare var __VLS_9: {
|
|
|
11536
11558
|
rows?: number | undefined;
|
|
11537
11559
|
}[];
|
|
11538
11560
|
shortcut?: {
|
|
11561
|
+
alias?: string | undefined;
|
|
11539
11562
|
components?: ({
|
|
11540
11563
|
props: {
|
|
11541
11564
|
readonly [x: string]: unknown;
|
package/dist/index.js
CHANGED
|
@@ -2976,7 +2976,7 @@ var _hoisted_1$33 = ["src"], shortcut_btn_default = /* @__PURE__ */ defineCompon
|
|
|
2976
2976
|
class: normalizeClass(["ai-shortcut-btn", { "is-menu-mode": n.mode === "menu" }]),
|
|
2977
2977
|
onClick: i[0] || (i[0] = (e) => o(n.shortcut))
|
|
2978
2978
|
}, [renderSlot(r.$slots, "default", {}, () => {
|
|
2979
|
-
var r, i, a, o, f, p;
|
|
2979
|
+
var r, i, a, o, f, p, m;
|
|
2980
2980
|
return [(r = n.shortcut) != null && r.icon ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [typeof n.shortcut.icon == "string" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [n.shortcut.icon.startsWith("http") ? (openBlock(), createElementBlock("img", {
|
|
2981
2981
|
key: 0,
|
|
2982
2982
|
class: "ai-common-icon ai-shortcut-btn-icon",
|
|
@@ -2987,7 +2987,7 @@ var _hoisted_1$33 = ["src"], shortcut_btn_default = /* @__PURE__ */ defineCompon
|
|
|
2987
2987
|
}))], 64)) : n.shortcut && !((f = n.shortcut.components) != null && f.length) ? (openBlock(), createBlock(unref(AgentIcon), {
|
|
2988
2988
|
key: 1,
|
|
2989
2989
|
class: "ai-shortcut-btn-icon"
|
|
2990
|
-
})) : createCommentVNode("", !0), createTextVNode(" " + toDisplayString((p = n.shortcut) == null ? void 0 : p.name), 1)];
|
|
2990
|
+
})) : createCommentVNode("", !0), createTextVNode(" " + toDisplayString(((p = n.shortcut) == null ? void 0 : p.alias) || ((m = n.shortcut) == null ? void 0 : m.name)), 1)];
|
|
2991
2991
|
}), renderSlot(r.$slots, "append")], 2));
|
|
2992
2992
|
}
|
|
2993
2993
|
}), _hoisted_1$32 = { class: "ai-selection-popover-content" }, _hoisted_2$21 = {
|
|
@@ -3295,6 +3295,7 @@ function _objectWithoutProperties(e, n) {
|
|
|
3295
3295
|
var _excluded = ["options"], _excluded2 = ["options"], _hoisted_1$30 = { class: "shortcut-render" }, _hoisted_2$20 = { class: "shortcut-render-header" }, _hoisted_3$15 = { class: "header-name" }, _hoisted_4$13 = { class: "shortcut-render-content" }, _hoisted_5$10 = { class: "shortcut-footer" }, shortcut_render_default = /* @__PURE__ */ defineComponent({
|
|
3296
3296
|
__name: "shortcut-render",
|
|
3297
3297
|
props: {
|
|
3298
|
+
alias: {},
|
|
3298
3299
|
components: {},
|
|
3299
3300
|
description: {},
|
|
3300
3301
|
formModel: {},
|
|
@@ -3371,7 +3372,7 @@ var _excluded = ["options"], _excluded2 = ["options"], _hoisted_1$30 = { class:
|
|
|
3371
3372
|
};
|
|
3372
3373
|
return (r, i) => (openBlock(), createElementBlock("div", _hoisted_1$30, [createElementVNode("div", _hoisted_2$20, [
|
|
3373
3374
|
createVNode(unref(ThinkingIcon), { class: "header-icon" }),
|
|
3374
|
-
createElementVNode("span", _hoisted_3$15, toDisplayString(n.name), 1),
|
|
3375
|
+
createElementVNode("span", _hoisted_3$15, toDisplayString(n.alias || n.name), 1),
|
|
3375
3376
|
createVNode(unref(CloseIcon), {
|
|
3376
3377
|
class: "header-close",
|
|
3377
3378
|
onClick: x
|