@fv-ui/ai-chat 1.9.4 → 1.10.0
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/README.md +23 -4
- package/dist/index.d.ts +197 -110
- package/dist/style.css +1 -1
- package/es/index.mjs +266 -68
- package/lib/index.js +266 -68
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -63,6 +63,8 @@ declare const zhCN: {
|
|
|
63
63
|
greetingPrefix: string;
|
|
64
64
|
greetingName: string;
|
|
65
65
|
description: string;
|
|
66
|
+
/** 空态建议区「换一批」按钮默认文案 */
|
|
67
|
+
refreshSuggestions: string;
|
|
66
68
|
};
|
|
67
69
|
sender: {
|
|
68
70
|
clear: string;
|
|
@@ -284,6 +286,7 @@ declare const PACKS: {
|
|
|
284
286
|
greetingPrefix: string;
|
|
285
287
|
greetingName: string;
|
|
286
288
|
description: string;
|
|
289
|
+
refreshSuggestions: string;
|
|
287
290
|
};
|
|
288
291
|
sender: {
|
|
289
292
|
clear: string;
|
|
@@ -454,6 +457,7 @@ declare const PACKS: {
|
|
|
454
457
|
greetingPrefix: string;
|
|
455
458
|
greetingName: string;
|
|
456
459
|
description: string;
|
|
460
|
+
refreshSuggestions: string;
|
|
457
461
|
};
|
|
458
462
|
sender: {
|
|
459
463
|
clear: string;
|
|
@@ -624,6 +628,7 @@ declare const PACKS: {
|
|
|
624
628
|
greetingPrefix: string;
|
|
625
629
|
greetingName: string;
|
|
626
630
|
description: string;
|
|
631
|
+
refreshSuggestions: string;
|
|
627
632
|
};
|
|
628
633
|
sender: {
|
|
629
634
|
clear: string;
|
|
@@ -794,6 +799,7 @@ declare const PACKS: {
|
|
|
794
799
|
greetingPrefix: string;
|
|
795
800
|
greetingName: string;
|
|
796
801
|
description: string;
|
|
802
|
+
refreshSuggestions: string;
|
|
797
803
|
};
|
|
798
804
|
sender: {
|
|
799
805
|
clear: string;
|
|
@@ -964,6 +970,7 @@ declare const PACKS: {
|
|
|
964
970
|
greetingPrefix: string;
|
|
965
971
|
greetingName: string;
|
|
966
972
|
description: string;
|
|
973
|
+
refreshSuggestions: string;
|
|
967
974
|
};
|
|
968
975
|
sender: {
|
|
969
976
|
clear: string;
|
|
@@ -1242,8 +1249,8 @@ declare function destroy(): void;
|
|
|
1242
1249
|
declare var __VLS_1$9: {};
|
|
1243
1250
|
declare var __VLS_10$2: {};
|
|
1244
1251
|
declare var __VLS_12$1: {};
|
|
1245
|
-
declare var __VLS_14: {};
|
|
1246
|
-
declare var __VLS_32: {};
|
|
1252
|
+
declare var __VLS_14$1: {};
|
|
1253
|
+
declare var __VLS_32$2: {};
|
|
1247
1254
|
type __VLS_Slots$i = {} & {
|
|
1248
1255
|
avatar?: (props: typeof __VLS_1$9) => any;
|
|
1249
1256
|
} & {
|
|
@@ -1251,9 +1258,9 @@ type __VLS_Slots$i = {} & {
|
|
|
1251
1258
|
} & {
|
|
1252
1259
|
loading?: (props: typeof __VLS_12$1) => any;
|
|
1253
1260
|
} & {
|
|
1254
|
-
content?: (props: typeof __VLS_14) => any;
|
|
1261
|
+
content?: (props: typeof __VLS_14$1) => any;
|
|
1255
1262
|
} & {
|
|
1256
|
-
footer?: (props: typeof __VLS_32) => any;
|
|
1263
|
+
footer?: (props: typeof __VLS_32$2) => any;
|
|
1257
1264
|
};
|
|
1258
1265
|
declare const __VLS_base$i: vue.DefineComponent<__VLS_Props$l, {
|
|
1259
1266
|
interrupt: typeof interrupt;
|
|
@@ -1370,15 +1377,15 @@ declare var __VLS_13$1: {
|
|
|
1370
1377
|
item: BubbleListItemProps;
|
|
1371
1378
|
index: number;
|
|
1372
1379
|
};
|
|
1373
|
-
declare var __VLS_16$
|
|
1380
|
+
declare var __VLS_16$3: {
|
|
1374
1381
|
item: BubbleListItemProps;
|
|
1375
1382
|
index: number;
|
|
1376
1383
|
};
|
|
1377
|
-
declare var __VLS_19$
|
|
1384
|
+
declare var __VLS_19$3: {
|
|
1378
1385
|
item: BubbleListItemProps;
|
|
1379
1386
|
index: number;
|
|
1380
1387
|
};
|
|
1381
|
-
declare var __VLS_22$
|
|
1388
|
+
declare var __VLS_22$1: {
|
|
1382
1389
|
item: BubbleListItemProps;
|
|
1383
1390
|
index: number;
|
|
1384
1391
|
};
|
|
@@ -1387,11 +1394,11 @@ type __VLS_Slots$h = {} & {
|
|
|
1387
1394
|
} & {
|
|
1388
1395
|
header?: (props: typeof __VLS_13$1) => any;
|
|
1389
1396
|
} & {
|
|
1390
|
-
content?: (props: typeof __VLS_16$
|
|
1397
|
+
content?: (props: typeof __VLS_16$3) => any;
|
|
1391
1398
|
} & {
|
|
1392
|
-
loading?: (props: typeof __VLS_19$
|
|
1399
|
+
loading?: (props: typeof __VLS_19$3) => any;
|
|
1393
1400
|
} & {
|
|
1394
|
-
footer?: (props: typeof __VLS_22$
|
|
1401
|
+
footer?: (props: typeof __VLS_22$1) => any;
|
|
1395
1402
|
};
|
|
1396
1403
|
declare const __VLS_base$h: vue.DefineComponent<__VLS_Props$k, {
|
|
1397
1404
|
scrollToTop: typeof scrollToTop$1;
|
|
@@ -1485,11 +1492,11 @@ declare function closeHeader$2(): void;
|
|
|
1485
1492
|
declare var __VLS_1$8: {};
|
|
1486
1493
|
declare var __VLS_3$3: {};
|
|
1487
1494
|
declare var __VLS_5: {};
|
|
1488
|
-
declare var __VLS_52
|
|
1495
|
+
declare var __VLS_52: {
|
|
1489
1496
|
keyword: string;
|
|
1490
1497
|
};
|
|
1491
1498
|
declare var __VLS_54: {};
|
|
1492
|
-
declare var __VLS_56$
|
|
1499
|
+
declare var __VLS_56$2: {};
|
|
1493
1500
|
declare var __VLS_134: {};
|
|
1494
1501
|
type __VLS_Slots$g = {} & {
|
|
1495
1502
|
header?: (props: typeof __VLS_1$8) => any;
|
|
@@ -1498,11 +1505,11 @@ type __VLS_Slots$g = {} & {
|
|
|
1498
1505
|
} & {
|
|
1499
1506
|
prefix?: (props: typeof __VLS_5) => any;
|
|
1500
1507
|
} & {
|
|
1501
|
-
trigger?: (props: typeof __VLS_52
|
|
1508
|
+
trigger?: (props: typeof __VLS_52) => any;
|
|
1502
1509
|
} & {
|
|
1503
1510
|
'action-list'?: (props: typeof __VLS_54) => any;
|
|
1504
1511
|
} & {
|
|
1505
|
-
'action-left'?: (props: typeof __VLS_56$
|
|
1512
|
+
'action-left'?: (props: typeof __VLS_56$2) => any;
|
|
1506
1513
|
} & {
|
|
1507
1514
|
footer?: (props: typeof __VLS_134) => any;
|
|
1508
1515
|
};
|
|
@@ -1609,10 +1616,10 @@ declare function closeHeader$1(): void;
|
|
|
1609
1616
|
declare function setUserTag$1(userId: string): void;
|
|
1610
1617
|
/** 程序化插入自定义触发标签(光标处) */
|
|
1611
1618
|
declare function setCustomTag$1(prefix: string, id: string): void;
|
|
1612
|
-
declare var __VLS_20$
|
|
1619
|
+
declare var __VLS_20$2: string;
|
|
1613
1620
|
declare var __VLS_21$3: any;
|
|
1614
1621
|
type __VLS_Slots$f = {} & {
|
|
1615
|
-
[K in NonNullable<typeof __VLS_20$
|
|
1622
|
+
[K in NonNullable<typeof __VLS_20$2>]?: (props: typeof __VLS_21$3) => any;
|
|
1616
1623
|
};
|
|
1617
1624
|
declare const __VLS_base$f: vue.DefineComponent<__VLS_Props$i, {
|
|
1618
1625
|
submit: typeof submit;
|
|
@@ -1835,7 +1842,7 @@ declare function openHeader(): void;
|
|
|
1835
1842
|
declare function closeHeader(): void;
|
|
1836
1843
|
declare var __VLS_1$7: {};
|
|
1837
1844
|
declare var __VLS_3$2: {};
|
|
1838
|
-
declare var __VLS_19$
|
|
1845
|
+
declare var __VLS_19$2: {
|
|
1839
1846
|
nodeId: string;
|
|
1840
1847
|
};
|
|
1841
1848
|
declare var __VLS_21$2: {};
|
|
@@ -1845,7 +1852,7 @@ type __VLS_Slots$e = {} & {
|
|
|
1845
1852
|
} & {
|
|
1846
1853
|
prefix?: (props: typeof __VLS_3$2) => any;
|
|
1847
1854
|
} & {
|
|
1848
|
-
'tag-tip'?: (props: typeof __VLS_19$
|
|
1855
|
+
'tag-tip'?: (props: typeof __VLS_19$2) => any;
|
|
1849
1856
|
} & {
|
|
1850
1857
|
'action-list'?: (props: typeof __VLS_21$2) => any;
|
|
1851
1858
|
} & {
|
|
@@ -1945,20 +1952,20 @@ type __VLS_Props$g = {
|
|
|
1945
1952
|
/** 切换门控:start 起始态不可切换;thinking 中可展开查看思考流,end/interrupted/error 后可自由收起展开 */
|
|
1946
1953
|
declare function toggle(): void;
|
|
1947
1954
|
declare var __VLS_1$6: {};
|
|
1948
|
-
declare var __VLS_47$
|
|
1949
|
-
declare var __VLS_49
|
|
1950
|
-
declare var __VLS_62: {};
|
|
1951
|
-
declare var __VLS_64
|
|
1955
|
+
declare var __VLS_47$2: {};
|
|
1956
|
+
declare var __VLS_49: {};
|
|
1957
|
+
declare var __VLS_62$1: {};
|
|
1958
|
+
declare var __VLS_64: {};
|
|
1952
1959
|
type __VLS_Slots$d = {} & {
|
|
1953
1960
|
'status-icon'?: (props: typeof __VLS_1$6) => any;
|
|
1954
1961
|
} & {
|
|
1955
|
-
label?: (props: typeof __VLS_47$
|
|
1962
|
+
label?: (props: typeof __VLS_47$2) => any;
|
|
1956
1963
|
} & {
|
|
1957
|
-
arrow?: (props: typeof __VLS_49
|
|
1964
|
+
arrow?: (props: typeof __VLS_49) => any;
|
|
1958
1965
|
} & {
|
|
1959
|
-
error?: (props: typeof __VLS_62) => any;
|
|
1966
|
+
error?: (props: typeof __VLS_62$1) => any;
|
|
1960
1967
|
} & {
|
|
1961
|
-
content?: (props: typeof __VLS_64
|
|
1968
|
+
content?: (props: typeof __VLS_64) => any;
|
|
1962
1969
|
};
|
|
1963
1970
|
declare const __VLS_base$d: vue.DefineComponent<__VLS_Props$g, {
|
|
1964
1971
|
modelValue: vue.Ref<boolean, boolean>;
|
|
@@ -2060,17 +2067,17 @@ type __VLS_Props$e = {
|
|
|
2060
2067
|
locale?: LocaleInput;
|
|
2061
2068
|
};
|
|
2062
2069
|
declare var __VLS_1$5: {};
|
|
2063
|
-
declare var __VLS_19$
|
|
2070
|
+
declare var __VLS_19$1: {};
|
|
2064
2071
|
declare var __VLS_21$1: {};
|
|
2065
|
-
declare var __VLS_23: {};
|
|
2072
|
+
declare var __VLS_23$1: {};
|
|
2066
2073
|
type __VLS_Slots$b = {} & {
|
|
2067
2074
|
icon?: (props: typeof __VLS_1$5) => any;
|
|
2068
2075
|
} & {
|
|
2069
|
-
name?: (props: typeof __VLS_19$
|
|
2076
|
+
name?: (props: typeof __VLS_19$1) => any;
|
|
2070
2077
|
} & {
|
|
2071
2078
|
description?: (props: typeof __VLS_21$1) => any;
|
|
2072
2079
|
} & {
|
|
2073
|
-
suggestions?: (props: typeof __VLS_23) => any;
|
|
2080
|
+
suggestions?: (props: typeof __VLS_23$1) => any;
|
|
2074
2081
|
};
|
|
2075
2082
|
declare const __VLS_base$b: vue.DefineComponent<__VLS_Props$e, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$e> & Readonly<{}>, {
|
|
2076
2083
|
description: string;
|
|
@@ -2106,8 +2113,11 @@ declare var __VLS_1$4: {
|
|
|
2106
2113
|
item: PromptItem;
|
|
2107
2114
|
index: number;
|
|
2108
2115
|
};
|
|
2116
|
+
declare var __VLS_14: {};
|
|
2109
2117
|
type __VLS_Slots$a = {} & {
|
|
2110
2118
|
default?: (props: typeof __VLS_1$4) => any;
|
|
2119
|
+
} & {
|
|
2120
|
+
footer?: (props: typeof __VLS_14) => any;
|
|
2111
2121
|
};
|
|
2112
2122
|
declare const __VLS_base$a: vue.DefineComponent<__VLS_Props$d, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
2113
2123
|
select: (item: PromptItem) => any;
|
|
@@ -2307,7 +2317,7 @@ declare var __VLS_3$1: {
|
|
|
2307
2317
|
item: ConversationItem;
|
|
2308
2318
|
active: boolean;
|
|
2309
2319
|
};
|
|
2310
|
-
declare var __VLS_31
|
|
2320
|
+
declare var __VLS_31: {
|
|
2311
2321
|
item: ConversationItem;
|
|
2312
2322
|
};
|
|
2313
2323
|
type __VLS_Slots$7 = {} & {
|
|
@@ -2315,7 +2325,7 @@ type __VLS_Slots$7 = {} & {
|
|
|
2315
2325
|
} & {
|
|
2316
2326
|
item?: (props: typeof __VLS_3$1) => any;
|
|
2317
2327
|
} & {
|
|
2318
|
-
menu?: (props: typeof __VLS_31
|
|
2328
|
+
menu?: (props: typeof __VLS_31) => any;
|
|
2319
2329
|
};
|
|
2320
2330
|
declare const __VLS_base$7: vue.DefineComponent<__VLS_Props$a, {
|
|
2321
2331
|
handleMenuCommand: typeof handleMenuCommand;
|
|
@@ -2920,17 +2930,17 @@ declare var __VLS_1$1: {
|
|
|
2920
2930
|
message: MessageNode;
|
|
2921
2931
|
};
|
|
2922
2932
|
declare var __VLS_3: {};
|
|
2923
|
-
declare var __VLS_16$
|
|
2933
|
+
declare var __VLS_16$2: {
|
|
2924
2934
|
status: "thinking" | "error" | "done";
|
|
2925
2935
|
message: MessageNode;
|
|
2926
2936
|
};
|
|
2927
2937
|
declare var __VLS_18$1: {
|
|
2928
2938
|
message: MessageNode;
|
|
2929
2939
|
};
|
|
2930
|
-
declare var __VLS_20: {
|
|
2940
|
+
declare var __VLS_20$1: {
|
|
2931
2941
|
message: MessageNode;
|
|
2932
2942
|
};
|
|
2933
|
-
declare var __VLS_22
|
|
2943
|
+
declare var __VLS_22: {
|
|
2934
2944
|
message: MessageNode;
|
|
2935
2945
|
files: ChatFile[];
|
|
2936
2946
|
};
|
|
@@ -2942,13 +2952,13 @@ type __VLS_Slots$6 = {} & {
|
|
|
2942
2952
|
} & {
|
|
2943
2953
|
'user-avatar'?: (props: typeof __VLS_3) => any;
|
|
2944
2954
|
} & {
|
|
2945
|
-
'assistant-avatar'?: (props: typeof __VLS_16$
|
|
2955
|
+
'assistant-avatar'?: (props: typeof __VLS_16$2) => any;
|
|
2946
2956
|
} & {
|
|
2947
2957
|
'user-name'?: (props: typeof __VLS_18$1) => any;
|
|
2948
2958
|
} & {
|
|
2949
|
-
'assistant-name'?: (props: typeof __VLS_20) => any;
|
|
2959
|
+
'assistant-name'?: (props: typeof __VLS_20$1) => any;
|
|
2950
2960
|
} & {
|
|
2951
|
-
'message-files'?: (props: typeof __VLS_22
|
|
2961
|
+
'message-files'?: (props: typeof __VLS_22) => any;
|
|
2952
2962
|
} & {
|
|
2953
2963
|
'message-actions'?: (props: typeof __VLS_80) => any;
|
|
2954
2964
|
};
|
|
@@ -3039,6 +3049,10 @@ type __VLS_Props$7 = {
|
|
|
3039
3049
|
suggestionsWrap?: boolean;
|
|
3040
3050
|
/** 空态欢迎页布局(透传 Welcome layout):horizontal 横排(默认)/ vertical 纵排(窄宽悬浮形态) */
|
|
3041
3051
|
welcomeLayout?: 'horizontal' | 'vertical';
|
|
3052
|
+
/** 空态建议区底部「换一批」按钮(透传 Welcome;默认 false;组件只上抛 refresh-suggestions 事件,轮换数据由消费方处理) */
|
|
3053
|
+
showRefreshSuggestions?: boolean;
|
|
3054
|
+
/** 空态建议区「换一批」按钮文案(透传 Welcome;缺省回落 locale) */
|
|
3055
|
+
refreshSuggestionsText?: string;
|
|
3042
3056
|
/** 用户上滚免打扰阈值(px):距底不超过该值视为「钉在底部」,流式/完成自动跟随 */
|
|
3043
3057
|
scrollThreshold?: number;
|
|
3044
3058
|
/** 显示滚到底部悬浮按钮 */
|
|
@@ -3123,30 +3137,34 @@ declare function collapseThoughtChains$1(): void;
|
|
|
3123
3137
|
declare var __VLS_1: {};
|
|
3124
3138
|
declare var __VLS_10: {};
|
|
3125
3139
|
declare var __VLS_13: {};
|
|
3126
|
-
declare var __VLS_16$
|
|
3127
|
-
declare var __VLS_19
|
|
3128
|
-
declare var
|
|
3140
|
+
declare var __VLS_16$1: {};
|
|
3141
|
+
declare var __VLS_19: {};
|
|
3142
|
+
declare var __VLS_30: {};
|
|
3143
|
+
declare var __VLS_51: {};
|
|
3144
|
+
declare var __VLS_53$2: {};
|
|
3145
|
+
declare var __VLS_74$1: {};
|
|
3146
|
+
declare var __VLS_92: {
|
|
3129
3147
|
message: MessageNode;
|
|
3130
3148
|
};
|
|
3131
|
-
declare var
|
|
3149
|
+
declare var __VLS_95: {
|
|
3132
3150
|
message: MessageNode;
|
|
3133
3151
|
};
|
|
3134
|
-
declare var
|
|
3135
|
-
declare var
|
|
3152
|
+
declare var __VLS_98: {};
|
|
3153
|
+
declare var __VLS_101: {
|
|
3136
3154
|
status: "thinking" | "error" | "done";
|
|
3137
3155
|
message: MessageNode;
|
|
3138
3156
|
};
|
|
3139
|
-
declare var
|
|
3157
|
+
declare var __VLS_104: {
|
|
3140
3158
|
message: MessageNode;
|
|
3141
3159
|
};
|
|
3142
|
-
declare var
|
|
3160
|
+
declare var __VLS_107: {
|
|
3143
3161
|
message: MessageNode;
|
|
3144
3162
|
};
|
|
3145
|
-
declare var
|
|
3163
|
+
declare var __VLS_115: {
|
|
3146
3164
|
scrollToBottom: typeof scrollToBottom;
|
|
3147
3165
|
awayFromBottom: boolean;
|
|
3148
3166
|
};
|
|
3149
|
-
declare var
|
|
3167
|
+
declare var __VLS_131: {};
|
|
3150
3168
|
type __VLS_Slots$5 = {} & {
|
|
3151
3169
|
empty?: (props: typeof __VLS_1) => any;
|
|
3152
3170
|
} & {
|
|
@@ -3154,25 +3172,33 @@ type __VLS_Slots$5 = {} & {
|
|
|
3154
3172
|
} & {
|
|
3155
3173
|
'welcome-description'?: (props: typeof __VLS_13) => any;
|
|
3156
3174
|
} & {
|
|
3157
|
-
'welcome-icon'?: (props: typeof __VLS_16$
|
|
3175
|
+
'welcome-icon'?: (props: typeof __VLS_16$1) => any;
|
|
3176
|
+
} & {
|
|
3177
|
+
'welcome-suggestions'?: (props: typeof __VLS_19) => any;
|
|
3178
|
+
} & {
|
|
3179
|
+
'refresh-suggestions'?: (props: typeof __VLS_30) => any;
|
|
3180
|
+
} & {
|
|
3181
|
+
'suggestions-footer'?: (props: typeof __VLS_51) => any;
|
|
3158
3182
|
} & {
|
|
3159
|
-
'
|
|
3183
|
+
'refresh-suggestions'?: (props: typeof __VLS_53$2) => any;
|
|
3160
3184
|
} & {
|
|
3161
|
-
'
|
|
3185
|
+
'suggestions-footer'?: (props: typeof __VLS_74$1) => any;
|
|
3162
3186
|
} & {
|
|
3163
|
-
'message-
|
|
3187
|
+
'message-avatar'?: (props: typeof __VLS_92) => any;
|
|
3164
3188
|
} & {
|
|
3165
|
-
'
|
|
3189
|
+
'message-actions'?: (props: typeof __VLS_95) => any;
|
|
3166
3190
|
} & {
|
|
3167
|
-
'
|
|
3191
|
+
'user-avatar'?: (props: typeof __VLS_98) => any;
|
|
3168
3192
|
} & {
|
|
3169
|
-
'
|
|
3193
|
+
'assistant-avatar'?: (props: typeof __VLS_101) => any;
|
|
3170
3194
|
} & {
|
|
3171
|
-
'
|
|
3195
|
+
'user-name'?: (props: typeof __VLS_104) => any;
|
|
3172
3196
|
} & {
|
|
3173
|
-
'
|
|
3197
|
+
'assistant-name'?: (props: typeof __VLS_107) => any;
|
|
3174
3198
|
} & {
|
|
3175
|
-
'scroll-button
|
|
3199
|
+
'scroll-button'?: (props: typeof __VLS_115) => any;
|
|
3200
|
+
} & {
|
|
3201
|
+
'scroll-button-icon'?: (props: typeof __VLS_131) => any;
|
|
3176
3202
|
};
|
|
3177
3203
|
declare const __VLS_base$5: vue.DefineComponent<__VLS_Props$7, {
|
|
3178
3204
|
scrollTo: typeof scrollTo$1;
|
|
@@ -3190,6 +3216,7 @@ declare const __VLS_base$5: vue.DefineComponent<__VLS_Props$7, {
|
|
|
3190
3216
|
"feedback-change": (message: MessageNode, action: "LIKE" | "DISLIKE" | "CLEAR") => any;
|
|
3191
3217
|
"feedback-error": (message: string) => any;
|
|
3192
3218
|
"message-file-click": (file: ChatFile, message: MessageNode) => any;
|
|
3219
|
+
"refresh-suggestions": () => any;
|
|
3193
3220
|
}, string, vue.PublicProps, Readonly<__VLS_Props$7> & Readonly<{
|
|
3194
3221
|
onScroll?: ((event: Event) => any) | undefined;
|
|
3195
3222
|
onCopy?: ((message: MessageNode) => any) | undefined;
|
|
@@ -3200,6 +3227,7 @@ declare const __VLS_base$5: vue.DefineComponent<__VLS_Props$7, {
|
|
|
3200
3227
|
"onFeedback-change"?: ((message: MessageNode, action: "LIKE" | "DISLIKE" | "CLEAR") => any) | undefined;
|
|
3201
3228
|
"onFeedback-error"?: ((message: string) => any) | undefined;
|
|
3202
3229
|
"onMessage-file-click"?: ((file: ChatFile, message: MessageNode) => any) | undefined;
|
|
3230
|
+
"onRefresh-suggestions"?: (() => any) | undefined;
|
|
3203
3231
|
}>, {
|
|
3204
3232
|
description: string;
|
|
3205
3233
|
name: string;
|
|
@@ -3234,6 +3262,8 @@ declare const __VLS_base$5: vue.DefineComponent<__VLS_Props$7, {
|
|
|
3234
3262
|
suggestionsTitle: string;
|
|
3235
3263
|
suggestionsWrap: boolean;
|
|
3236
3264
|
welcomeLayout: "horizontal" | "vertical";
|
|
3265
|
+
showRefreshSuggestions: boolean;
|
|
3266
|
+
refreshSuggestionsText: string;
|
|
3237
3267
|
scrollThreshold: number;
|
|
3238
3268
|
showScrollButton: boolean;
|
|
3239
3269
|
scrollButtonThreshold: number;
|
|
@@ -3357,6 +3387,10 @@ type __VLS_Props$6 = {
|
|
|
3357
3387
|
suggestionsWrap?: boolean;
|
|
3358
3388
|
/** 空态欢迎页布局(透传 AiMessages→Welcome):horizontal 横排(默认)/ vertical 纵排(悬浮窗等窄宽场景) */
|
|
3359
3389
|
welcomeLayout?: 'horizontal' | 'vertical';
|
|
3390
|
+
/** 空态建议区底部「换一批」按钮(透传 AiMessages→Welcome;默认 false;组件只上抛 refresh-suggestions 事件,轮换数据由消费方处理) */
|
|
3391
|
+
showRefreshSuggestions?: boolean;
|
|
3392
|
+
/** 空态建议区「换一批」按钮文案(透传 AiMessages→Welcome;缺省回落 locale) */
|
|
3393
|
+
refreshSuggestionsText?: string;
|
|
3360
3394
|
/**
|
|
3361
3395
|
* 追问建议展示样式(透传 AiMessages→AiMessage;默认 'list' 纵向列表一行一条,
|
|
3362
3396
|
* 回答操作区下方带分隔线与加粗「追问」标题(字号/颜色随正文),历史消息同样渲染;
|
|
@@ -3420,62 +3454,68 @@ declare function expandThoughtChains(): void;
|
|
|
3420
3454
|
declare function collapseThoughtChains(): void;
|
|
3421
3455
|
/** 消息区滚动到指定位置(透传 AiMessages scrollTo;options 同原生 ScrollToOptions) */
|
|
3422
3456
|
declare function scrollTo(options: ScrollToOptions | number): void;
|
|
3423
|
-
declare var
|
|
3457
|
+
declare var __VLS_32$1: {
|
|
3424
3458
|
message: MessageNode;
|
|
3425
3459
|
};
|
|
3426
|
-
declare var
|
|
3460
|
+
declare var __VLS_35$1: {
|
|
3427
3461
|
message: MessageNode;
|
|
3428
3462
|
};
|
|
3429
|
-
declare var
|
|
3430
|
-
declare var
|
|
3463
|
+
declare var __VLS_38$1: {};
|
|
3464
|
+
declare var __VLS_41$1: {
|
|
3431
3465
|
status: "thinking" | "error" | "done";
|
|
3432
3466
|
message: MessageNode;
|
|
3433
3467
|
};
|
|
3434
|
-
declare var
|
|
3468
|
+
declare var __VLS_44$1: {
|
|
3435
3469
|
message: MessageNode;
|
|
3436
3470
|
};
|
|
3437
|
-
declare var
|
|
3471
|
+
declare var __VLS_47$1: {
|
|
3438
3472
|
message: MessageNode;
|
|
3439
3473
|
};
|
|
3440
|
-
declare var
|
|
3441
|
-
declare var
|
|
3442
|
-
declare var
|
|
3443
|
-
declare var
|
|
3444
|
-
declare var
|
|
3445
|
-
declare var
|
|
3474
|
+
declare var __VLS_50$1: {};
|
|
3475
|
+
declare var __VLS_53$1: {};
|
|
3476
|
+
declare var __VLS_56$1: {};
|
|
3477
|
+
declare var __VLS_59: {};
|
|
3478
|
+
declare var __VLS_62: {};
|
|
3479
|
+
declare var __VLS_65: {};
|
|
3480
|
+
declare var __VLS_68: {};
|
|
3481
|
+
declare var __VLS_71: {
|
|
3446
3482
|
scrollToBottom: (smooth?: boolean) => void;
|
|
3447
3483
|
awayFromBottom: boolean;
|
|
3448
3484
|
};
|
|
3449
|
-
declare var
|
|
3450
|
-
declare var
|
|
3485
|
+
declare var __VLS_74: {};
|
|
3486
|
+
declare var __VLS_112: {};
|
|
3451
3487
|
type __VLS_Slots$4 = {} & {
|
|
3452
|
-
'message-avatar'?: (props: typeof
|
|
3488
|
+
'message-avatar'?: (props: typeof __VLS_32$1) => any;
|
|
3453
3489
|
} & {
|
|
3454
|
-
'message-actions'?: (props: typeof
|
|
3490
|
+
'message-actions'?: (props: typeof __VLS_35$1) => any;
|
|
3455
3491
|
} & {
|
|
3456
|
-
'user-avatar'?: (props: typeof
|
|
3492
|
+
'user-avatar'?: (props: typeof __VLS_38$1) => any;
|
|
3457
3493
|
} & {
|
|
3458
|
-
'assistant-avatar'?: (props: typeof
|
|
3494
|
+
'assistant-avatar'?: (props: typeof __VLS_41$1) => any;
|
|
3459
3495
|
} & {
|
|
3460
|
-
'user-name'?: (props: typeof
|
|
3496
|
+
'user-name'?: (props: typeof __VLS_44$1) => any;
|
|
3461
3497
|
} & {
|
|
3462
|
-
'assistant-name'?: (props: typeof
|
|
3498
|
+
'assistant-name'?: (props: typeof __VLS_47$1) => any;
|
|
3463
3499
|
} & {
|
|
3464
|
-
empty?: (props: typeof
|
|
3500
|
+
empty?: (props: typeof __VLS_50$1) => any;
|
|
3465
3501
|
} & {
|
|
3466
|
-
'welcome-name'?: (props: typeof
|
|
3502
|
+
'welcome-name'?: (props: typeof __VLS_53$1) => any;
|
|
3467
3503
|
} & {
|
|
3468
|
-
'welcome-description'?: (props: typeof
|
|
3504
|
+
'welcome-description'?: (props: typeof __VLS_56$1) => any;
|
|
3469
3505
|
} & {
|
|
3470
|
-
'welcome-icon'?: (props: typeof
|
|
3506
|
+
'welcome-icon'?: (props: typeof __VLS_59) => any;
|
|
3471
3507
|
} & {
|
|
3472
|
-
'welcome-suggestions'?: (props: typeof
|
|
3508
|
+
'welcome-suggestions'?: (props: typeof __VLS_62) => any;
|
|
3473
3509
|
} & {
|
|
3474
|
-
'
|
|
3510
|
+
'refresh-suggestions'?: (props: typeof __VLS_65) => any;
|
|
3475
3511
|
} & {
|
|
3476
|
-
'
|
|
3512
|
+
'suggestions-footer'?: (props: typeof __VLS_68) => any;
|
|
3477
3513
|
} & {
|
|
3478
|
-
'
|
|
3514
|
+
'scroll-button'?: (props: typeof __VLS_71) => any;
|
|
3515
|
+
} & {
|
|
3516
|
+
'scroll-button-icon'?: (props: typeof __VLS_74) => any;
|
|
3517
|
+
} & {
|
|
3518
|
+
'sender-prefix'?: (props: typeof __VLS_112) => any;
|
|
3479
3519
|
};
|
|
3480
3520
|
declare const __VLS_base$4: vue.DefineComponent<__VLS_Props$6, {
|
|
3481
3521
|
sendMessage: typeof sendMessage;
|
|
@@ -3498,6 +3538,7 @@ declare const __VLS_base$4: vue.DefineComponent<__VLS_Props$6, {
|
|
|
3498
3538
|
"feedback-change": (message: MessageNode, action: "LIKE" | "DISLIKE" | "CLEAR") => any;
|
|
3499
3539
|
"feedback-error": (message: string) => any;
|
|
3500
3540
|
"message-file-click": (file: ChatFile, message: MessageNode) => any;
|
|
3541
|
+
"refresh-suggestions": () => any;
|
|
3501
3542
|
"update:messages": (value: MessageNode[]) => any;
|
|
3502
3543
|
"suggestion-select": (item: AiChatSuggestion) => any;
|
|
3503
3544
|
"message-complete": (message: MessageNode) => any;
|
|
@@ -3521,6 +3562,7 @@ declare const __VLS_base$4: vue.DefineComponent<__VLS_Props$6, {
|
|
|
3521
3562
|
"onFeedback-change"?: ((message: MessageNode, action: "LIKE" | "DISLIKE" | "CLEAR") => any) | undefined;
|
|
3522
3563
|
"onFeedback-error"?: ((message: string) => any) | undefined;
|
|
3523
3564
|
"onMessage-file-click"?: ((file: ChatFile, message: MessageNode) => any) | undefined;
|
|
3565
|
+
"onRefresh-suggestions"?: (() => any) | undefined;
|
|
3524
3566
|
"onUpdate:messages"?: ((value: MessageNode[]) => any) | undefined;
|
|
3525
3567
|
"onSuggestion-select"?: ((item: AiChatSuggestion) => any) | undefined;
|
|
3526
3568
|
"onMessage-complete"?: ((message: MessageNode) => any) | undefined;
|
|
@@ -3569,6 +3611,8 @@ declare const __VLS_base$4: vue.DefineComponent<__VLS_Props$6, {
|
|
|
3569
3611
|
showHeader: boolean;
|
|
3570
3612
|
suggestionsWrap: boolean;
|
|
3571
3613
|
welcomeLayout: "horizontal" | "vertical";
|
|
3614
|
+
showRefreshSuggestions: boolean;
|
|
3615
|
+
refreshSuggestionsText: string;
|
|
3572
3616
|
scrollThreshold: number;
|
|
3573
3617
|
showScrollButton: boolean;
|
|
3574
3618
|
scrollButtonThreshold: number;
|
|
@@ -3793,6 +3837,10 @@ type __VLS_Props$3 = {
|
|
|
3793
3837
|
suggestionsTitle?: string;
|
|
3794
3838
|
/** 空态建议换行模式(透传 FvAiChat,默认 true) */
|
|
3795
3839
|
suggestionsWrap?: boolean;
|
|
3840
|
+
/** 空态建议区底部「换一批」按钮(透传 FvAiChat;默认 false;组件只上抛 refresh-suggestions 事件,轮换数据由消费方处理) */
|
|
3841
|
+
showRefreshSuggestions?: boolean;
|
|
3842
|
+
/** 空态建议区「换一批」按钮文案(透传 FvAiChat;缺省回落 locale) */
|
|
3843
|
+
refreshSuggestionsText?: string;
|
|
3796
3844
|
/** 打字机(透传 FvAiChat) */
|
|
3797
3845
|
typing?: boolean | {
|
|
3798
3846
|
step?: number;
|
|
@@ -3850,53 +3898,59 @@ declare function refresh$1(): Promise<void> | undefined;
|
|
|
3850
3898
|
* 对齐视口顶端;高度差公式(新增高-旧高+旧 scrollTop)兜底。
|
|
3851
3899
|
*/
|
|
3852
3900
|
declare function loadEarlier(): Promise<void>;
|
|
3853
|
-
declare var
|
|
3854
|
-
declare var
|
|
3855
|
-
declare var
|
|
3856
|
-
declare var
|
|
3857
|
-
declare var
|
|
3858
|
-
declare var
|
|
3859
|
-
declare var
|
|
3901
|
+
declare var __VLS_17: {};
|
|
3902
|
+
declare var __VLS_20: {};
|
|
3903
|
+
declare var __VLS_23: {};
|
|
3904
|
+
declare var __VLS_26$1: {};
|
|
3905
|
+
declare var __VLS_29: {};
|
|
3906
|
+
declare var __VLS_32: {};
|
|
3907
|
+
declare var __VLS_35: {};
|
|
3908
|
+
declare var __VLS_38: {};
|
|
3909
|
+
declare var __VLS_41: {
|
|
3860
3910
|
status: "thinking" | "error" | "done";
|
|
3861
3911
|
message: MessageNode;
|
|
3862
3912
|
};
|
|
3863
|
-
declare var
|
|
3913
|
+
declare var __VLS_44: {
|
|
3864
3914
|
message: MessageNode;
|
|
3865
3915
|
};
|
|
3866
|
-
declare var
|
|
3916
|
+
declare var __VLS_47: {
|
|
3867
3917
|
message: MessageNode;
|
|
3868
3918
|
};
|
|
3869
|
-
declare var
|
|
3919
|
+
declare var __VLS_50: {
|
|
3870
3920
|
message: MessageNode;
|
|
3871
3921
|
};
|
|
3872
|
-
declare var
|
|
3922
|
+
declare var __VLS_53: {
|
|
3873
3923
|
message: MessageNode;
|
|
3874
3924
|
};
|
|
3875
|
-
declare var
|
|
3925
|
+
declare var __VLS_56: {};
|
|
3876
3926
|
type __VLS_Slots$2 = {} & {
|
|
3877
|
-
empty?: (props: typeof
|
|
3927
|
+
empty?: (props: typeof __VLS_17) => any;
|
|
3928
|
+
} & {
|
|
3929
|
+
'welcome-name'?: (props: typeof __VLS_20) => any;
|
|
3930
|
+
} & {
|
|
3931
|
+
'welcome-description'?: (props: typeof __VLS_23) => any;
|
|
3878
3932
|
} & {
|
|
3879
|
-
'welcome-
|
|
3933
|
+
'welcome-icon'?: (props: typeof __VLS_26$1) => any;
|
|
3880
3934
|
} & {
|
|
3881
|
-
'welcome-
|
|
3935
|
+
'welcome-suggestions'?: (props: typeof __VLS_29) => any;
|
|
3882
3936
|
} & {
|
|
3883
|
-
'
|
|
3937
|
+
'refresh-suggestions'?: (props: typeof __VLS_32) => any;
|
|
3884
3938
|
} & {
|
|
3885
|
-
'
|
|
3939
|
+
'suggestions-footer'?: (props: typeof __VLS_35) => any;
|
|
3886
3940
|
} & {
|
|
3887
|
-
'user-avatar'?: (props: typeof
|
|
3941
|
+
'user-avatar'?: (props: typeof __VLS_38) => any;
|
|
3888
3942
|
} & {
|
|
3889
|
-
'assistant-avatar'?: (props: typeof
|
|
3943
|
+
'assistant-avatar'?: (props: typeof __VLS_41) => any;
|
|
3890
3944
|
} & {
|
|
3891
|
-
'user-name'?: (props: typeof
|
|
3945
|
+
'user-name'?: (props: typeof __VLS_44) => any;
|
|
3892
3946
|
} & {
|
|
3893
|
-
'assistant-name'?: (props: typeof
|
|
3947
|
+
'assistant-name'?: (props: typeof __VLS_47) => any;
|
|
3894
3948
|
} & {
|
|
3895
|
-
'message-avatar'?: (props: typeof
|
|
3949
|
+
'message-avatar'?: (props: typeof __VLS_50) => any;
|
|
3896
3950
|
} & {
|
|
3897
|
-
'message-actions'?: (props: typeof
|
|
3951
|
+
'message-actions'?: (props: typeof __VLS_53) => any;
|
|
3898
3952
|
} & {
|
|
3899
|
-
'sender-prefix'?: (props: typeof
|
|
3953
|
+
'sender-prefix'?: (props: typeof __VLS_56) => any;
|
|
3900
3954
|
};
|
|
3901
3955
|
declare const __VLS_base$2: vue.DefineComponent<__VLS_Props$3, {
|
|
3902
3956
|
replayWelcome: typeof replayWelcome;
|
|
@@ -3907,6 +3961,7 @@ declare const __VLS_base$2: vue.DefineComponent<__VLS_Props$3, {
|
|
|
3907
3961
|
"feedback-change": (message: MessageNode, action: "LIKE" | "DISLIKE" | "CLEAR") => any;
|
|
3908
3962
|
"feedback-error": (message: string) => any;
|
|
3909
3963
|
"message-file-click": (file: ChatFile, message: MessageNode) => any;
|
|
3964
|
+
"refresh-suggestions": () => any;
|
|
3910
3965
|
"message-complete": (message: MessageNode) => any;
|
|
3911
3966
|
"attachment-exceed": (file: File) => any;
|
|
3912
3967
|
"attachment-uploaded": (item: AttachmentItem, result: {
|
|
@@ -3920,6 +3975,7 @@ declare const __VLS_base$2: vue.DefineComponent<__VLS_Props$3, {
|
|
|
3920
3975
|
"onFeedback-change"?: ((message: MessageNode, action: "LIKE" | "DISLIKE" | "CLEAR") => any) | undefined;
|
|
3921
3976
|
"onFeedback-error"?: ((message: string) => any) | undefined;
|
|
3922
3977
|
"onMessage-file-click"?: ((file: ChatFile, message: MessageNode) => any) | undefined;
|
|
3978
|
+
"onRefresh-suggestions"?: (() => any) | undefined;
|
|
3923
3979
|
"onMessage-complete"?: ((message: MessageNode) => any) | undefined;
|
|
3924
3980
|
"onAttachment-exceed"?: ((file: File) => any) | undefined;
|
|
3925
3981
|
"onAttachment-uploaded"?: ((item: AttachmentItem, result: {
|
|
@@ -3944,6 +4000,8 @@ declare const __VLS_base$2: vue.DefineComponent<__VLS_Props$3, {
|
|
|
3944
4000
|
suggestionsTitle: string;
|
|
3945
4001
|
suggestionsWrap: boolean;
|
|
3946
4002
|
welcomeLayout: "horizontal" | "vertical";
|
|
4003
|
+
showRefreshSuggestions: boolean;
|
|
4004
|
+
refreshSuggestionsText: string;
|
|
3947
4005
|
centerWelcome: boolean;
|
|
3948
4006
|
toolStepLabel: (toolName: string) => string;
|
|
3949
4007
|
allowAttachments: boolean;
|
|
@@ -3988,6 +4046,13 @@ type __VLS_Props$2 = {
|
|
|
3988
4046
|
showModeToggle?: boolean;
|
|
3989
4047
|
/** 宽度记忆 storage key:以 '!' 结尾视为完整 key,否则作前缀拼 '-width'(空串禁用记忆) */
|
|
3990
4048
|
storageKey?: string;
|
|
4049
|
+
/**
|
|
4050
|
+
* 悬窗位置记忆总开关(默认 true):开启时悬窗拖动/调宽落定经 storageKey 派生的
|
|
4051
|
+
* '-position' key 持久化悬窗 left/top,挂载进悬窗时回灌(越界夹回视口内);
|
|
4052
|
+
* 关闭时位置读、写、持久化全跳过(宽度记忆不受影响,仍只看 storageKey)。
|
|
4053
|
+
* 抽屉形态不涉位置,不受影响
|
|
4054
|
+
*/
|
|
4055
|
+
rememberPosition?: boolean;
|
|
3991
4056
|
/** 关闭保活(默认 true):关闭仅隐藏(v-show),组件实例与内嵌对话树原样保留,
|
|
3992
4057
|
* 再开不重新渲染、不重拉历史;设 false 则关闭即销毁(v-if),每次打开重建 */
|
|
3993
4058
|
keepAlive?: boolean;
|
|
@@ -4012,6 +4077,10 @@ type __VLS_Props$2 = {
|
|
|
4012
4077
|
suggestionsTitle?: string;
|
|
4013
4078
|
/** 空态建议换行模式(透传 Panel) */
|
|
4014
4079
|
suggestionsWrap?: boolean;
|
|
4080
|
+
/** 空态建议区底部「换一批」按钮(透传 Panel;组件只上抛 refresh-suggestions 事件,轮换数据由消费方处理) */
|
|
4081
|
+
showRefreshSuggestions?: boolean;
|
|
4082
|
+
/** 空态建议区「换一批」按钮文案(透传 Panel;缺省回落 locale) */
|
|
4083
|
+
refreshSuggestionsText?: string;
|
|
4015
4084
|
/** 打字机(透传 Panel) */
|
|
4016
4085
|
typing?: boolean | {
|
|
4017
4086
|
step?: number;
|
|
@@ -4089,6 +4158,7 @@ declare const __VLS_base$1: vue.DefineComponent<__VLS_Props$2, {
|
|
|
4089
4158
|
"feedback-change": (message: MessageNode, action: "LIKE" | "DISLIKE" | "CLEAR") => any;
|
|
4090
4159
|
"feedback-error": (message: string) => any;
|
|
4091
4160
|
"message-file-click": (file: ChatFile, message: MessageNode) => any;
|
|
4161
|
+
"refresh-suggestions": () => any;
|
|
4092
4162
|
"message-complete": (message: MessageNode) => any;
|
|
4093
4163
|
"attachment-exceed": (file: File) => any;
|
|
4094
4164
|
"attachment-uploaded": (item: AttachmentItem, result: {
|
|
@@ -4106,6 +4176,7 @@ declare const __VLS_base$1: vue.DefineComponent<__VLS_Props$2, {
|
|
|
4106
4176
|
"onFeedback-change"?: ((message: MessageNode, action: "LIKE" | "DISLIKE" | "CLEAR") => any) | undefined;
|
|
4107
4177
|
"onFeedback-error"?: ((message: string) => any) | undefined;
|
|
4108
4178
|
"onMessage-file-click"?: ((file: ChatFile, message: MessageNode) => any) | undefined;
|
|
4179
|
+
"onRefresh-suggestions"?: (() => any) | undefined;
|
|
4109
4180
|
"onMessage-complete"?: ((message: MessageNode) => any) | undefined;
|
|
4110
4181
|
"onAttachment-exceed"?: ((file: File) => any) | undefined;
|
|
4111
4182
|
"onAttachment-uploaded"?: ((item: AttachmentItem, result: {
|
|
@@ -4138,6 +4209,8 @@ declare const __VLS_base$1: vue.DefineComponent<__VLS_Props$2, {
|
|
|
4138
4209
|
feedbackHandler: FeedbackHandler;
|
|
4139
4210
|
suggestionsTitle: string;
|
|
4140
4211
|
suggestionsWrap: boolean;
|
|
4212
|
+
showRefreshSuggestions: boolean;
|
|
4213
|
+
refreshSuggestionsText: string;
|
|
4141
4214
|
minWidth: number;
|
|
4142
4215
|
toolStepLabel: (toolName: string) => string;
|
|
4143
4216
|
allowAttachments: boolean;
|
|
@@ -4151,6 +4224,7 @@ declare const __VLS_base$1: vue.DefineComponent<__VLS_Props$2, {
|
|
|
4151
4224
|
floatingHeight: string;
|
|
4152
4225
|
showModeToggle: boolean;
|
|
4153
4226
|
storageKey: string;
|
|
4227
|
+
rememberPosition: boolean;
|
|
4154
4228
|
keepAlive: boolean;
|
|
4155
4229
|
maximizable: boolean;
|
|
4156
4230
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -4224,6 +4298,17 @@ type __VLS_Props$1 = {
|
|
|
4224
4298
|
eyeTrack?: boolean;
|
|
4225
4299
|
/** 光晕属性透传(色板/缩放/透明度/转速/暂停;覆盖 Launcher 内置默认) */
|
|
4226
4300
|
halo?: FvAiChatLauncherHalo;
|
|
4301
|
+
/**
|
|
4302
|
+
* 拖动位置记忆 storage key(默认 'fv-ai-launcher'):以 '!' 结尾视为完整 key,
|
|
4303
|
+
* 否则作前缀拼 '-position';空串禁用记忆。仅 floating+interactive+draggable
|
|
4304
|
+
* 的拖动落定持久化(内联/纯展示形态不涉位置)
|
|
4305
|
+
*/
|
|
4306
|
+
storageKey?: string;
|
|
4307
|
+
/**
|
|
4308
|
+
* 拖动位置记忆总开关(默认 true):开启时拖动落定持久化、挂载时回灌(越界夹回
|
|
4309
|
+
* 视口内);关闭时位置读、写全跳过(storageKey 仍占命名空间)
|
|
4310
|
+
*/
|
|
4311
|
+
rememberPosition?: boolean;
|
|
4227
4312
|
/** 无障碍标签(interactive 时生效) */
|
|
4228
4313
|
ariaLabel?: string;
|
|
4229
4314
|
/** 语言包 */
|
|
@@ -4263,6 +4348,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props$1, {}, {}, {}, {}, vue
|
|
|
4263
4348
|
position: "right" | "left";
|
|
4264
4349
|
iconComponent: Component;
|
|
4265
4350
|
floating: boolean;
|
|
4351
|
+
storageKey: string;
|
|
4352
|
+
rememberPosition: boolean;
|
|
4266
4353
|
interactive: boolean;
|
|
4267
4354
|
offsetX: number;
|
|
4268
4355
|
offsetY: number;
|