cnhis-design-vue 3.2.2-beta.20 → 3.2.2-beta.22
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/es/components/biunique-chat/index.d.ts +88 -18
- package/es/components/biunique-chat/src/Index.vue.d.ts +89 -20
- package/es/components/biunique-chat/src/Index.vue2.js +1 -1
- package/es/components/biunique-chat/src/components/ChatFooter.vue.d.ts +13 -2
- package/es/components/biunique-chat/src/components/ChatHeader.vue.d.ts +36 -3
- package/es/components/biunique-chat/src/components/ChatMain.vue.d.ts +16 -9
- package/es/components/biunique-chat/src/components/ChatMain.vue2.js +1 -1
- package/es/components/biunique-chat/src/components/ChatRecord.vue.d.ts +12 -1
- package/es/components/biunique-chat/src/components/ChatSet.vue.d.ts +12 -1
- package/es/components/biunique-chat/src/components/MessageTemplate.vue.d.ts +4 -8
- package/es/components/biunique-chat/src/components/MessageTemplate.vue2.js +1 -1
- package/es/components/biunique-chat/src/components/SiderList.vue.d.ts +12 -1
- package/es/components/biunique-chat/src/hooks/useState.d.ts +14 -2
- package/es/components/biunique-chat/src/hooks/useState.js +1 -1
- package/es/components/biunique-chat/src/types/index.d.ts +19 -10
- package/es/components/biunique-chat/src/types/index.js +1 -1
- package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
- package/es/components/field-set/src/components/Row.vue.d.ts +1 -1
- package/es/components/form-render/src/components/renderer/formItem.js +1 -1
- package/es/components/form-render/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
|
@@ -26,11 +26,16 @@ declare const BiuniqueChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
26
26
|
type: StringConstructor;
|
|
27
27
|
default: string;
|
|
28
28
|
};
|
|
29
|
-
}>> & {
|
|
29
|
+
}>> & {
|
|
30
|
+
"onTemplate-click"?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
"onMessage-subscribe"?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
}>>;
|
|
33
|
+
emit: (event: "template-click" | "message-subscribe", ...args: any[]) => void;
|
|
30
34
|
cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
31
35
|
loading: import("vue").Ref<boolean>;
|
|
32
36
|
stompClient: import("vue").Ref<import("./src/utils/chatSock").ChatSock | undefined>;
|
|
33
37
|
state: import("../../shared/types").AnyObject;
|
|
38
|
+
reConnention: number;
|
|
34
39
|
init: () => Promise<void>;
|
|
35
40
|
initWebSocket: () => void;
|
|
36
41
|
subscribeSessionList: () => void;
|
|
@@ -451,7 +456,18 @@ declare const BiuniqueChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
451
456
|
number: number;
|
|
452
457
|
}[]>;
|
|
453
458
|
currentFilterKey: import("vue").Ref<string>;
|
|
454
|
-
state:
|
|
459
|
+
state: {
|
|
460
|
+
currentSessionItem: import("../../shared/types").AnyObject;
|
|
461
|
+
sessionKey: string;
|
|
462
|
+
userInfo: import("../../shared/types").AnyObject;
|
|
463
|
+
msgList: import("../../shared/types").AnyObject[];
|
|
464
|
+
currentMsg: import("../../shared/types").AnyObject;
|
|
465
|
+
isAppendMsg: boolean;
|
|
466
|
+
sessionList: import("../../shared/types").AnyObject[];
|
|
467
|
+
isChangeSession: boolean;
|
|
468
|
+
updateSessionItem: import("../../shared/types").AnyObject;
|
|
469
|
+
isUpdateSession: boolean;
|
|
470
|
+
};
|
|
455
471
|
setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
|
|
456
472
|
currentWidth: import("vue").ComputedRef<number>;
|
|
457
473
|
handleSearch: () => void;
|
|
@@ -470,7 +486,18 @@ declare const BiuniqueChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
470
486
|
formatTime: typeof import("./src/utils").formatTime;
|
|
471
487
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
472
488
|
ChatHeader: import("vue").DefineComponent<{}, {
|
|
473
|
-
state:
|
|
489
|
+
state: {
|
|
490
|
+
currentSessionItem: import("../../shared/types").AnyObject;
|
|
491
|
+
sessionKey: string;
|
|
492
|
+
userInfo: import("../../shared/types").AnyObject;
|
|
493
|
+
msgList: import("../../shared/types").AnyObject[];
|
|
494
|
+
currentMsg: import("../../shared/types").AnyObject;
|
|
495
|
+
isAppendMsg: boolean;
|
|
496
|
+
sessionList: import("../../shared/types").AnyObject[];
|
|
497
|
+
isChangeSession: boolean;
|
|
498
|
+
updateSessionItem: import("../../shared/types").AnyObject;
|
|
499
|
+
isUpdateSession: boolean;
|
|
500
|
+
};
|
|
474
501
|
showChatSet: import("vue").Ref<boolean>;
|
|
475
502
|
showChatFile: import("vue").Ref<boolean>;
|
|
476
503
|
chatFileType: import("vue").Ref<string>;
|
|
@@ -534,7 +561,18 @@ declare const BiuniqueChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
534
561
|
};
|
|
535
562
|
}>>, {}>;
|
|
536
563
|
ChatSet: import("vue").DefineComponent<{}, {
|
|
537
|
-
state:
|
|
564
|
+
state: {
|
|
565
|
+
currentSessionItem: import("../../shared/types").AnyObject;
|
|
566
|
+
sessionKey: string;
|
|
567
|
+
userInfo: import("../../shared/types").AnyObject;
|
|
568
|
+
msgList: import("../../shared/types").AnyObject[];
|
|
569
|
+
currentMsg: import("../../shared/types").AnyObject;
|
|
570
|
+
isAppendMsg: boolean;
|
|
571
|
+
sessionList: import("../../shared/types").AnyObject[];
|
|
572
|
+
isChangeSession: boolean;
|
|
573
|
+
updateSessionItem: import("../../shared/types").AnyObject;
|
|
574
|
+
isUpdateSession: boolean;
|
|
575
|
+
};
|
|
538
576
|
setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
|
|
539
577
|
handleTopping: (value: boolean) => Promise<void>;
|
|
540
578
|
NDrawer: any;
|
|
@@ -1019,7 +1057,18 @@ declare const BiuniqueChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1019
1057
|
color: string;
|
|
1020
1058
|
textColor: string;
|
|
1021
1059
|
};
|
|
1022
|
-
state:
|
|
1060
|
+
state: {
|
|
1061
|
+
currentSessionItem: import("../../shared/types").AnyObject;
|
|
1062
|
+
sessionKey: string;
|
|
1063
|
+
userInfo: import("../../shared/types").AnyObject;
|
|
1064
|
+
msgList: import("../../shared/types").AnyObject[];
|
|
1065
|
+
currentMsg: import("../../shared/types").AnyObject;
|
|
1066
|
+
isAppendMsg: boolean;
|
|
1067
|
+
sessionList: import("../../shared/types").AnyObject[];
|
|
1068
|
+
isChangeSession: boolean;
|
|
1069
|
+
updateSessionItem: import("../../shared/types").AnyObject;
|
|
1070
|
+
isUpdateSession: boolean;
|
|
1071
|
+
};
|
|
1023
1072
|
options: {
|
|
1024
1073
|
label: any;
|
|
1025
1074
|
value: any;
|
|
@@ -1115,7 +1164,18 @@ declare const BiuniqueChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1115
1164
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1116
1165
|
ChatMain: import("vue").DefineComponent<{}, {
|
|
1117
1166
|
chatMainRef: import("vue").Ref<HTMLElement | undefined>;
|
|
1118
|
-
state:
|
|
1167
|
+
state: {
|
|
1168
|
+
currentSessionItem: import("../../shared/types").AnyObject;
|
|
1169
|
+
sessionKey: string;
|
|
1170
|
+
userInfo: import("../../shared/types").AnyObject;
|
|
1171
|
+
msgList: import("../../shared/types").AnyObject[];
|
|
1172
|
+
currentMsg: import("../../shared/types").AnyObject;
|
|
1173
|
+
isAppendMsg: boolean;
|
|
1174
|
+
sessionList: import("../../shared/types").AnyObject[];
|
|
1175
|
+
isChangeSession: boolean;
|
|
1176
|
+
updateSessionItem: import("../../shared/types").AnyObject;
|
|
1177
|
+
isUpdateSession: boolean;
|
|
1178
|
+
};
|
|
1119
1179
|
setMsgList: (list?: import("../../shared/types").AnyObject[]) => void;
|
|
1120
1180
|
page: number;
|
|
1121
1181
|
getHistoryRecord: () => Promise<void>;
|
|
@@ -1191,10 +1251,8 @@ declare const BiuniqueChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1191
1251
|
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
1192
1252
|
required: true;
|
|
1193
1253
|
};
|
|
1194
|
-
}>> & {
|
|
1195
|
-
|
|
1196
|
-
}>>;
|
|
1197
|
-
emit: (event: "template-click", ...args: any[]) => void;
|
|
1254
|
+
}>> & {}>>;
|
|
1255
|
+
emit: (event: string, ...args: any[]) => void;
|
|
1198
1256
|
setting: import("vue").ComputedRef<any>;
|
|
1199
1257
|
serverSetting: import("vue").ComputedRef<any>;
|
|
1200
1258
|
topRightButton: import("vue").ComputedRef<any>;
|
|
@@ -1250,23 +1308,32 @@ declare const BiuniqueChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1250
1308
|
title: string;
|
|
1251
1309
|
iconClass: string;
|
|
1252
1310
|
}>;
|
|
1253
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
1311
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1254
1312
|
data: {
|
|
1255
1313
|
type: import("vue").PropType<import("../../shared/types").AnyObject>;
|
|
1256
1314
|
required: true;
|
|
1257
1315
|
};
|
|
1258
|
-
}
|
|
1259
|
-
"onTemplate-click"?: ((...args: any[]) => any) | undefined;
|
|
1260
|
-
}, {}>;
|
|
1316
|
+
}>>, {}>;
|
|
1261
1317
|
images: any[];
|
|
1262
1318
|
MESSAGE_TYPE: typeof import("./src/constants").MESSAGE_TYPE;
|
|
1263
1319
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1264
1320
|
ChatFooter: import("vue").DefineComponent<{}, {
|
|
1265
1321
|
inputRef: import("vue").Ref<HTMLDivElement | undefined>;
|
|
1266
1322
|
content: import("vue").Ref<string>;
|
|
1267
|
-
state:
|
|
1323
|
+
state: {
|
|
1324
|
+
currentSessionItem: import("../../shared/types").AnyObject;
|
|
1325
|
+
sessionKey: string;
|
|
1326
|
+
userInfo: import("../../shared/types").AnyObject;
|
|
1327
|
+
msgList: import("../../shared/types").AnyObject[];
|
|
1328
|
+
currentMsg: import("../../shared/types").AnyObject;
|
|
1329
|
+
isAppendMsg: boolean;
|
|
1330
|
+
sessionList: import("../../shared/types").AnyObject[];
|
|
1331
|
+
isChangeSession: boolean;
|
|
1332
|
+
updateSessionItem: import("../../shared/types").AnyObject;
|
|
1333
|
+
isUpdateSession: boolean;
|
|
1334
|
+
};
|
|
1268
1335
|
setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
|
|
1269
|
-
stompClient: import("
|
|
1336
|
+
stompClient: import("vue").Ref<import("./src/utils/chatSock").ChatSock>;
|
|
1270
1337
|
handleKeyDown: (event: KeyboardEvent) => void;
|
|
1271
1338
|
isWrap: (event: KeyboardEvent) => boolean;
|
|
1272
1339
|
handleInput: () => void;
|
|
@@ -1279,7 +1346,7 @@ declare const BiuniqueChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1279
1346
|
alt: string[];
|
|
1280
1347
|
MESSAGE_TYPE: typeof import("./src/constants").MESSAGE_TYPE;
|
|
1281
1348
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1282
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
1349
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("template-click" | "message-subscribe")[], "template-click" | "message-subscribe", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1283
1350
|
token: {
|
|
1284
1351
|
type: StringConstructor;
|
|
1285
1352
|
required: true;
|
|
@@ -1292,7 +1359,10 @@ declare const BiuniqueChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1292
1359
|
type: StringConstructor;
|
|
1293
1360
|
default: string;
|
|
1294
1361
|
};
|
|
1295
|
-
}
|
|
1362
|
+
}>> & {
|
|
1363
|
+
"onTemplate-click"?: ((...args: any[]) => any) | undefined;
|
|
1364
|
+
"onMessage-subscribe"?: ((...args: any[]) => any) | undefined;
|
|
1365
|
+
}, {
|
|
1296
1366
|
baseURL: string;
|
|
1297
1367
|
}>>;
|
|
1298
1368
|
export default BiuniqueChat;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
2
|
import { ChatSock } from './utils/chatSock';
|
|
3
3
|
import { AnyObject } from '../../../shared/types';
|
|
4
|
-
import { formatTime } from './utils';
|
|
5
4
|
declare const _default: import("vue").DefineComponent<{
|
|
6
5
|
token: {
|
|
7
6
|
type: StringConstructor;
|
|
@@ -29,11 +28,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
28
|
type: StringConstructor;
|
|
30
29
|
default: string;
|
|
31
30
|
};
|
|
32
|
-
}>> & {
|
|
31
|
+
}>> & {
|
|
32
|
+
"onTemplate-click"?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
"onMessage-subscribe"?: ((...args: any[]) => any) | undefined;
|
|
34
|
+
}>>;
|
|
35
|
+
emit: (event: "template-click" | "message-subscribe", ...args: any[]) => void;
|
|
33
36
|
cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
34
37
|
loading: import("vue").Ref<boolean>;
|
|
35
38
|
stompClient: import("vue").Ref<ChatSock | undefined>;
|
|
36
39
|
state: AnyObject;
|
|
40
|
+
reConnention: number;
|
|
37
41
|
init: () => Promise<void>;
|
|
38
42
|
initWebSocket: () => void;
|
|
39
43
|
subscribeSessionList: () => void;
|
|
@@ -454,7 +458,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
454
458
|
number: number;
|
|
455
459
|
}[]>;
|
|
456
460
|
currentFilterKey: import("vue").Ref<string>;
|
|
457
|
-
state:
|
|
461
|
+
state: {
|
|
462
|
+
currentSessionItem: AnyObject;
|
|
463
|
+
sessionKey: string;
|
|
464
|
+
userInfo: AnyObject;
|
|
465
|
+
msgList: AnyObject[];
|
|
466
|
+
currentMsg: AnyObject;
|
|
467
|
+
isAppendMsg: boolean;
|
|
468
|
+
sessionList: AnyObject[];
|
|
469
|
+
isChangeSession: boolean;
|
|
470
|
+
updateSessionItem: AnyObject;
|
|
471
|
+
isUpdateSession: boolean;
|
|
472
|
+
};
|
|
458
473
|
setCurrentSessionItem: (item: AnyObject) => void;
|
|
459
474
|
currentWidth: import("vue").ComputedRef<number>;
|
|
460
475
|
handleSearch: () => void;
|
|
@@ -470,10 +485,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
470
485
|
mounted(el: any, { value }: any): void;
|
|
471
486
|
beforeUnmount(el: any): void;
|
|
472
487
|
};
|
|
473
|
-
formatTime: typeof formatTime;
|
|
488
|
+
formatTime: typeof import("./utils").formatTime;
|
|
474
489
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
475
490
|
ChatHeader: import("vue").DefineComponent<{}, {
|
|
476
|
-
state:
|
|
491
|
+
state: {
|
|
492
|
+
currentSessionItem: AnyObject;
|
|
493
|
+
sessionKey: string;
|
|
494
|
+
userInfo: AnyObject;
|
|
495
|
+
msgList: AnyObject[];
|
|
496
|
+
currentMsg: AnyObject;
|
|
497
|
+
isAppendMsg: boolean;
|
|
498
|
+
sessionList: AnyObject[];
|
|
499
|
+
isChangeSession: boolean;
|
|
500
|
+
updateSessionItem: AnyObject;
|
|
501
|
+
isUpdateSession: boolean;
|
|
502
|
+
};
|
|
477
503
|
showChatSet: import("vue").Ref<boolean>;
|
|
478
504
|
showChatFile: import("vue").Ref<boolean>;
|
|
479
505
|
chatFileType: import("vue").Ref<string>;
|
|
@@ -537,7 +563,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
537
563
|
};
|
|
538
564
|
}>>, {}>;
|
|
539
565
|
ChatSet: import("vue").DefineComponent<{}, {
|
|
540
|
-
state:
|
|
566
|
+
state: {
|
|
567
|
+
currentSessionItem: AnyObject;
|
|
568
|
+
sessionKey: string;
|
|
569
|
+
userInfo: AnyObject;
|
|
570
|
+
msgList: AnyObject[];
|
|
571
|
+
currentMsg: AnyObject;
|
|
572
|
+
isAppendMsg: boolean;
|
|
573
|
+
sessionList: AnyObject[];
|
|
574
|
+
isChangeSession: boolean;
|
|
575
|
+
updateSessionItem: AnyObject;
|
|
576
|
+
isUpdateSession: boolean;
|
|
577
|
+
};
|
|
541
578
|
setCurrentSessionItem: (item: AnyObject) => void;
|
|
542
579
|
handleTopping: (value: boolean) => Promise<void>;
|
|
543
580
|
NDrawer: any;
|
|
@@ -1022,7 +1059,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1022
1059
|
color: string;
|
|
1023
1060
|
textColor: string;
|
|
1024
1061
|
};
|
|
1025
|
-
state:
|
|
1062
|
+
state: {
|
|
1063
|
+
currentSessionItem: AnyObject;
|
|
1064
|
+
sessionKey: string;
|
|
1065
|
+
userInfo: AnyObject;
|
|
1066
|
+
msgList: AnyObject[];
|
|
1067
|
+
currentMsg: AnyObject;
|
|
1068
|
+
isAppendMsg: boolean;
|
|
1069
|
+
sessionList: AnyObject[];
|
|
1070
|
+
isChangeSession: boolean;
|
|
1071
|
+
updateSessionItem: AnyObject;
|
|
1072
|
+
isUpdateSession: boolean;
|
|
1073
|
+
};
|
|
1026
1074
|
options: {
|
|
1027
1075
|
label: any;
|
|
1028
1076
|
value: any;
|
|
@@ -1118,7 +1166,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1118
1166
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1119
1167
|
ChatMain: import("vue").DefineComponent<{}, {
|
|
1120
1168
|
chatMainRef: import("vue").Ref<HTMLElement | undefined>;
|
|
1121
|
-
state:
|
|
1169
|
+
state: {
|
|
1170
|
+
currentSessionItem: AnyObject;
|
|
1171
|
+
sessionKey: string;
|
|
1172
|
+
userInfo: AnyObject;
|
|
1173
|
+
msgList: AnyObject[];
|
|
1174
|
+
currentMsg: AnyObject;
|
|
1175
|
+
isAppendMsg: boolean;
|
|
1176
|
+
sessionList: AnyObject[];
|
|
1177
|
+
isChangeSession: boolean;
|
|
1178
|
+
updateSessionItem: AnyObject;
|
|
1179
|
+
isUpdateSession: boolean;
|
|
1180
|
+
};
|
|
1122
1181
|
setMsgList: (list?: AnyObject[]) => void;
|
|
1123
1182
|
page: number;
|
|
1124
1183
|
getHistoryRecord: () => Promise<void>;
|
|
@@ -1194,10 +1253,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1194
1253
|
type: PropType<AnyObject>;
|
|
1195
1254
|
required: true;
|
|
1196
1255
|
};
|
|
1197
|
-
}>> & {
|
|
1198
|
-
|
|
1199
|
-
}>>;
|
|
1200
|
-
emit: (event: "template-click", ...args: any[]) => void;
|
|
1256
|
+
}>> & {}>>;
|
|
1257
|
+
emit: (event: string, ...args: any[]) => void;
|
|
1201
1258
|
setting: import("vue").ComputedRef<any>;
|
|
1202
1259
|
serverSetting: import("vue").ComputedRef<any>;
|
|
1203
1260
|
topRightButton: import("vue").ComputedRef<any>;
|
|
@@ -1253,23 +1310,32 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1253
1310
|
title: string;
|
|
1254
1311
|
iconClass: string;
|
|
1255
1312
|
}>;
|
|
1256
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
1313
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1257
1314
|
data: {
|
|
1258
1315
|
type: PropType<AnyObject>;
|
|
1259
1316
|
required: true;
|
|
1260
1317
|
};
|
|
1261
|
-
}
|
|
1262
|
-
"onTemplate-click"?: ((...args: any[]) => any) | undefined;
|
|
1263
|
-
}, {}>;
|
|
1318
|
+
}>>, {}>;
|
|
1264
1319
|
images: any[];
|
|
1265
1320
|
MESSAGE_TYPE: typeof import("./constants").MESSAGE_TYPE;
|
|
1266
1321
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1267
1322
|
ChatFooter: import("vue").DefineComponent<{}, {
|
|
1268
1323
|
inputRef: import("vue").Ref<HTMLDivElement | undefined>;
|
|
1269
1324
|
content: import("vue").Ref<string>;
|
|
1270
|
-
state:
|
|
1325
|
+
state: {
|
|
1326
|
+
currentSessionItem: AnyObject;
|
|
1327
|
+
sessionKey: string;
|
|
1328
|
+
userInfo: AnyObject;
|
|
1329
|
+
msgList: AnyObject[];
|
|
1330
|
+
currentMsg: AnyObject;
|
|
1331
|
+
isAppendMsg: boolean;
|
|
1332
|
+
sessionList: AnyObject[];
|
|
1333
|
+
isChangeSession: boolean;
|
|
1334
|
+
updateSessionItem: AnyObject;
|
|
1335
|
+
isUpdateSession: boolean;
|
|
1336
|
+
};
|
|
1271
1337
|
setCurrentSessionItem: (item: AnyObject) => void;
|
|
1272
|
-
stompClient:
|
|
1338
|
+
stompClient: import("vue").Ref<ChatSock>;
|
|
1273
1339
|
handleKeyDown: (event: KeyboardEvent) => void;
|
|
1274
1340
|
isWrap: (event: KeyboardEvent) => boolean;
|
|
1275
1341
|
handleInput: () => void;
|
|
@@ -1282,7 +1348,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1282
1348
|
alt: string[];
|
|
1283
1349
|
MESSAGE_TYPE: typeof import("./constants").MESSAGE_TYPE;
|
|
1284
1350
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1285
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
1351
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("template-click" | "message-subscribe")[], "template-click" | "message-subscribe", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1286
1352
|
token: {
|
|
1287
1353
|
type: StringConstructor;
|
|
1288
1354
|
required: true;
|
|
@@ -1295,7 +1361,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1295
1361
|
type: StringConstructor;
|
|
1296
1362
|
default: string;
|
|
1297
1363
|
};
|
|
1298
|
-
}
|
|
1364
|
+
}>> & {
|
|
1365
|
+
"onTemplate-click"?: ((...args: any[]) => any) | undefined;
|
|
1366
|
+
"onMessage-subscribe"?: ((...args: any[]) => any) | undefined;
|
|
1367
|
+
}, {
|
|
1299
1368
|
baseURL: string;
|
|
1300
1369
|
}>;
|
|
1301
1370
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,ref as s,reactive as t,provide as o,
|
|
1
|
+
import{defineComponent as e,ref as s,reactive as t,provide as o,onBeforeUnmount as r,openBlock as n,createBlock as i,unref as a,withCtx as c,normalizeStyle as u,createVNode as p,renderSlot as m}from"vue";import{NConfigProvider as d,NSpin as l,NLayout as h,NLayoutContent as f}from"naive-ui";import g from"./components/SiderList.vue.js";import b from"./components/ChatHeader.vue.js";import v from"./components/ChatMain.vue.js";import S from"./components/ChatFooter.vue.js";import{ChatSock as y}from"./utils/chatSock.js";import{instanceAxios as I}from"./api/index.js";import{useTheme as j}from"../../../shared/hooks/useTheme.js";import"@vueuse/core";import"date-fns";import"lodash-es";import"@vue/shared";import"../../../shared/utils/index.js";import"@vueuse/shared";import"../../../shared/hooks/selectHooks/useSearchContent.js";import"@vicons/ionicons5";import{SUBSCRIBE_MESSAGE_TYPE as k}from"./constants/index.js";import{InjectionIChatState as M,InjectionIChatStompClient as L,InjectionIChatEmits as _}from"./types/index.js";var x=e({__name:"Index",props:{token:{type:String,required:!0},userId:{type:String,required:!0},baseURL:{type:String,default:"/fdp-chat"}},emits:["template-click","message-subscribe"],setup(e,{emit:x}){const C=e;I.defaults.baseURL=C.baseURL+"/chat";const T=j(),U=s(!1),N=s(),q=t({currentSessionItem:{},sessionKey:"",userInfo:{},msgList:[],currentMsg:{},isAppendMsg:!1,sessionList:[],isChangeSession:!1,updateSessionItem:{},isUpdateSession:!1});function w(){const e={headers:{UserId:C.userId},heartbeatFn:()=>{try{N.value.send("test")}catch(e){N.value.disconnect(),w()}},connectCb:()=>{console.log("连接成功"),N.value.subscribe("/user/topic/single",(({body:e})=>{try{console.log(JSON.parse(e),"订阅新增消息");const s=JSON.parse(e);switch(s.event){case k.MESSAGE:{if(s.messageVo.sender===q.userInfo.id)return;const{messageVo:e}=s;e.sender===q.currentSessionItem.receiver&&(q.currentMsg=e,q.isAppendMsg=!0),q.updateSessionItem={receiver:e.sender,lastMessageSendTime:e.sendTime,sortTime:e.sendTime,lastMessage:e.content.msg,chatMessageType:e.content.chatMessageType},q.isUpdateSession=!0,x("message-subscribe",s);break}case k.NEW_SESSION:x("message-subscribe",s)}}catch(e){console.log(e)}})),N.value.subscribe("/app/sessionList",(({body:e})=>{try{const s=JSON.parse(e),{currentUser:t,sessionVos:o}=s;if(console.log("body",s),q.userInfo=t,!(null==o?void 0:o.length))return;q.sessionList=o}catch(e){console.log(e)}}))},errorCb:(e,s)=>{console.log("断线了,正在重连...")}};N.value=new y("/fdp-chat/websocket",e)}return o(M,q),o(L,N),o(_,x),async function(){w()}(),r((()=>{var e;null==(e=N.value)||e.disconnect()})),(e,s)=>(n(),i(a(d),{abstract:"",namespace:"c-biunique-chat__popover"},{default:c((()=>[U.value?(n(),i(a(l),{key:0,stroke:"#5585f5"})):(n(),i(a(h),{key:1,class:"c-biunique-chat","has-sider":"",style:u(a(T))},{default:c((()=>[p(g),p(a(f),{class:"chat-wrapper"},{default:c((()=>[p(b),p(v),p(S)])),_:1}),m(e.$slots,"external")])),_:3},8,["style"]))])),_:3}))}});export{x as default};
|
|
@@ -3,9 +3,20 @@ import { MESSAGE_TYPE } from '../constants';
|
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
4
4
|
inputRef: import("vue").Ref<HTMLDivElement | undefined>;
|
|
5
5
|
content: import("vue").Ref<string>;
|
|
6
|
-
state:
|
|
6
|
+
state: {
|
|
7
|
+
currentSessionItem: AnyObject;
|
|
8
|
+
sessionKey: string;
|
|
9
|
+
userInfo: AnyObject;
|
|
10
|
+
msgList: AnyObject[];
|
|
11
|
+
currentMsg: AnyObject;
|
|
12
|
+
isAppendMsg: boolean;
|
|
13
|
+
sessionList: AnyObject[];
|
|
14
|
+
isChangeSession: boolean;
|
|
15
|
+
updateSessionItem: AnyObject;
|
|
16
|
+
isUpdateSession: boolean;
|
|
17
|
+
};
|
|
7
18
|
setCurrentSessionItem: (item: AnyObject) => void;
|
|
8
|
-
stompClient:
|
|
19
|
+
stompClient: import("vue").Ref<import("../utils/chatSock").ChatSock>;
|
|
9
20
|
handleKeyDown: (event: KeyboardEvent) => void;
|
|
10
21
|
isWrap: (event: KeyboardEvent) => boolean;
|
|
11
22
|
handleInput: () => void;
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
import { AnyObject } from '../../../../shared/types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
3
|
-
state:
|
|
3
|
+
state: {
|
|
4
|
+
currentSessionItem: AnyObject;
|
|
5
|
+
sessionKey: string;
|
|
6
|
+
userInfo: AnyObject;
|
|
7
|
+
msgList: AnyObject[];
|
|
8
|
+
currentMsg: AnyObject;
|
|
9
|
+
isAppendMsg: boolean;
|
|
10
|
+
sessionList: AnyObject[];
|
|
11
|
+
isChangeSession: boolean;
|
|
12
|
+
updateSessionItem: AnyObject;
|
|
13
|
+
isUpdateSession: boolean;
|
|
14
|
+
};
|
|
4
15
|
showChatSet: import("vue").Ref<boolean>;
|
|
5
16
|
showChatFile: import("vue").Ref<boolean>;
|
|
6
17
|
chatFileType: import("vue").Ref<string>;
|
|
@@ -64,7 +75,18 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
64
75
|
};
|
|
65
76
|
}>>, {}>;
|
|
66
77
|
ChatSet: import("vue").DefineComponent<{}, {
|
|
67
|
-
state:
|
|
78
|
+
state: {
|
|
79
|
+
currentSessionItem: AnyObject;
|
|
80
|
+
sessionKey: string;
|
|
81
|
+
userInfo: AnyObject;
|
|
82
|
+
msgList: AnyObject[];
|
|
83
|
+
currentMsg: AnyObject;
|
|
84
|
+
isAppendMsg: boolean;
|
|
85
|
+
sessionList: AnyObject[];
|
|
86
|
+
isChangeSession: boolean;
|
|
87
|
+
updateSessionItem: AnyObject;
|
|
88
|
+
isUpdateSession: boolean;
|
|
89
|
+
};
|
|
68
90
|
setCurrentSessionItem: (item: AnyObject) => void;
|
|
69
91
|
handleTopping: (value: boolean) => Promise<void>;
|
|
70
92
|
NDrawer: any;
|
|
@@ -549,7 +571,18 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
549
571
|
color: string;
|
|
550
572
|
textColor: string;
|
|
551
573
|
};
|
|
552
|
-
state:
|
|
574
|
+
state: {
|
|
575
|
+
currentSessionItem: AnyObject;
|
|
576
|
+
sessionKey: string;
|
|
577
|
+
userInfo: AnyObject;
|
|
578
|
+
msgList: AnyObject[];
|
|
579
|
+
currentMsg: AnyObject;
|
|
580
|
+
isAppendMsg: boolean;
|
|
581
|
+
sessionList: AnyObject[];
|
|
582
|
+
isChangeSession: boolean;
|
|
583
|
+
updateSessionItem: AnyObject;
|
|
584
|
+
isUpdateSession: boolean;
|
|
585
|
+
};
|
|
553
586
|
options: {
|
|
554
587
|
label: any;
|
|
555
588
|
value: any;
|
|
@@ -2,7 +2,18 @@ import { AnyObject } from '../../../../shared/types';
|
|
|
2
2
|
import { MESSAGE_TYPE } from '../constants';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
4
4
|
chatMainRef: import("vue").Ref<HTMLElement | undefined>;
|
|
5
|
-
state:
|
|
5
|
+
state: {
|
|
6
|
+
currentSessionItem: AnyObject;
|
|
7
|
+
sessionKey: string;
|
|
8
|
+
userInfo: AnyObject;
|
|
9
|
+
msgList: AnyObject[];
|
|
10
|
+
currentMsg: AnyObject;
|
|
11
|
+
isAppendMsg: boolean;
|
|
12
|
+
sessionList: AnyObject[];
|
|
13
|
+
isChangeSession: boolean;
|
|
14
|
+
updateSessionItem: AnyObject;
|
|
15
|
+
isUpdateSession: boolean;
|
|
16
|
+
};
|
|
6
17
|
setMsgList: (list?: AnyObject[]) => void;
|
|
7
18
|
page: number;
|
|
8
19
|
getHistoryRecord: () => Promise<void>;
|
|
@@ -78,10 +89,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
78
89
|
type: import("vue").PropType<AnyObject>;
|
|
79
90
|
required: true;
|
|
80
91
|
};
|
|
81
|
-
}>> & {
|
|
82
|
-
|
|
83
|
-
}>>;
|
|
84
|
-
emit: (event: "template-click", ...args: any[]) => void;
|
|
92
|
+
}>> & {}>>;
|
|
93
|
+
emit: (event: string, ...args: any[]) => void;
|
|
85
94
|
setting: import("vue").ComputedRef<any>;
|
|
86
95
|
serverSetting: import("vue").ComputedRef<any>;
|
|
87
96
|
topRightButton: import("vue").ComputedRef<any>;
|
|
@@ -137,14 +146,12 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
137
146
|
title: string;
|
|
138
147
|
iconClass: string;
|
|
139
148
|
}>;
|
|
140
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
149
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
141
150
|
data: {
|
|
142
151
|
type: import("vue").PropType<AnyObject>;
|
|
143
152
|
required: true;
|
|
144
153
|
};
|
|
145
|
-
}
|
|
146
|
-
"onTemplate-click"?: ((...args: any[]) => any) | undefined;
|
|
147
|
-
}, {}>;
|
|
154
|
+
}>>, {}>;
|
|
148
155
|
images: any[];
|
|
149
156
|
MESSAGE_TYPE: typeof MESSAGE_TYPE;
|
|
150
157
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,ref as t,nextTick as s,watch as n,openBlock as i,createElementBlock as
|
|
1
|
+
import{defineComponent as e,ref as t,nextTick as s,watch as n,openBlock as i,createElementBlock as o,Fragment as r,renderList as a,unref as m,normalizeClass as c,toDisplayString as l,createCommentVNode as u,createBlock as d,createElementVNode as f,createVNode as p,withCtx as g}from"vue";import{NAvatar as y}from"naive-ui";import{useInfiniteScroll as v}from"@vueuse/core";import{isToday as T,format as M,isYesterday as h}from"date-fns";import{getHistoryRecordApi as H}from"../api/index.js";import{useState as L}from"../hooks/useState.js";import{isNumber as _}from"lodash-es";import k from"./PersonProfile.vue.js";import E from"./MessageTemplate.vue.js";import{images as j}from"../utils/emoji.js";import{MESSAGE_TYPE as A}from"../constants/index.js";const w={key:0,class:"time"},D={class:"message-box"},I=["data-time"],P=["innerHTML"],x=["src"];var K=e({__name:"ChatMain",setup(e){const K=t(),{state:F,setMsgList:J}=L();let O=1;async function R(){try{const e=await H({sessionKey:F.sessionKey,page:O});if(console.log("getHistoryRecord",e),!Array.isArray(e))return;if(0===e.length)return console.log("没有更多消息了");J(O>1?[...e,...F.msgList]:e),1===O&&z()}catch(e){console.log(e)}}function Y(e){var t;const{chatMessageType:s,msgTemplate:n}=e.content;return s===A.TEMPLATE&&2==(null==(t=null==n?void 0:n.setting)?void 0:t.style.id)}function b(e,t){var s;const n=_(e.sendTime)?e.sendTime:Date.parse(e.sendTime),i=null==(s=F.msgList[t-1])?void 0:s.sendTime;return n-(0===t?0:_(i)?i:Date.parse(i))>3e5}async function z(){var e,t,n;await s();const i=null!=(t=null==(e=K.value)?void 0:e.scrollHeight)?t:0;null==(n=K.value)||n.scrollTo({top:i})}function C(e){const t=new Date(e),s=Date.now()-t.getTime();if(s<6e4)return"刚刚";if(s<36e5)return Math.ceil(s/1e4/60)+"分钟前";if(T(t))return"今天 "+M(t,"HH:mm");if(h(t))return"昨天 "+M(t,"HH:mm");{const e=t.getFullYear(),s=(new Date).getFullYear();return M(t,e<s?"yyyy年M月d日 HH:mm":"M月d日 HH:mm")}}return v(K,(()=>{O++,R()}),{distance:20,direction:"top"}),n((()=>F.sessionKey),(e=>{e&&(O=1,R())}),{immediate:!0}),n((()=>F.isAppendMsg),(e=>{e&&(J([...F.msgList,F.currentMsg]),F.isAppendMsg=!1,z())}),{immediate:!0}),(e,t)=>(i(),o("div",{class:"chat-main",ref_key:"chatMainRef",ref:K},[(i(!0),o(r,null,a(m(F).msgList,((e,t)=>(i(),o("div",{class:c(["message-item",{"message-item--mine":e.sender==m(F).userInfo.id}]),key:t},[b(e,t)?(i(),o("p",w,l(C(e.sendTime)),1)):u("v-if",!0),Y(e)?(i(),d(E,{key:1,data:e},null,8,["data"])):u("v-if",!0),f("div",D,[p(k,{"user-info":e.sender==m(F).userInfo.id?m(F).userInfo:e},{trigger:g((()=>[p(m(y),{round:"",size:38,src:e.senderAvatar},null,8,["src"])])),_:2},1032,["user-info"]),e.content?(i(),o("div",{key:0,class:c(["content",{emoji:e.content.chatMessageType===m(A).EMOJI},{template:e.content.chatMessageType===m(A).TEMPLATE}]),"data-time":e.__time},[e.content.chatMessageType===m(A).TEXT?(i(),o("pre",{key:0,innerHTML:e.__content},null,8,P)):u("v-if",!0),e.content.chatMessageType===m(A).EMOJI?(i(),o("img",{key:1,src:m(j)[e.__content]},null,8,x)):u("v-if",!0),e.content.chatMessageType===m(A).TEMPLATE?(i(),d(E,{key:2,data:e},null,8,["data"])):u("v-if",!0)],10,I)):u("v-if",!0)])],2)))),128))],512))}});export{K as default};
|
|
@@ -5,7 +5,18 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
5
5
|
color: string;
|
|
6
6
|
textColor: string;
|
|
7
7
|
};
|
|
8
|
-
state:
|
|
8
|
+
state: {
|
|
9
|
+
currentSessionItem: AnyObject;
|
|
10
|
+
sessionKey: string;
|
|
11
|
+
userInfo: AnyObject;
|
|
12
|
+
msgList: AnyObject[];
|
|
13
|
+
currentMsg: AnyObject;
|
|
14
|
+
isAppendMsg: boolean;
|
|
15
|
+
sessionList: AnyObject[];
|
|
16
|
+
isChangeSession: boolean;
|
|
17
|
+
updateSessionItem: AnyObject;
|
|
18
|
+
isUpdateSession: boolean;
|
|
19
|
+
};
|
|
9
20
|
options: {
|
|
10
21
|
label: any;
|
|
11
22
|
value: any;
|
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { AnyObject } from '../../../../shared/types';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<{}, {
|
|
4
|
-
state:
|
|
4
|
+
state: {
|
|
5
|
+
currentSessionItem: AnyObject;
|
|
6
|
+
sessionKey: string;
|
|
7
|
+
userInfo: AnyObject;
|
|
8
|
+
msgList: AnyObject[];
|
|
9
|
+
currentMsg: AnyObject;
|
|
10
|
+
isAppendMsg: boolean;
|
|
11
|
+
sessionList: AnyObject[];
|
|
12
|
+
isChangeSession: boolean;
|
|
13
|
+
updateSessionItem: AnyObject;
|
|
14
|
+
isUpdateSession: boolean;
|
|
15
|
+
};
|
|
5
16
|
setCurrentSessionItem: (item: AnyObject) => void;
|
|
6
17
|
handleTopping: (value: boolean) => Promise<void>;
|
|
7
18
|
NDrawer: any;
|
|
@@ -11,10 +11,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
type: PropType<AnyObject>;
|
|
12
12
|
required: true;
|
|
13
13
|
};
|
|
14
|
-
}>> & {
|
|
15
|
-
|
|
16
|
-
}>>;
|
|
17
|
-
emit: (event: "template-click", ...args: any[]) => void;
|
|
14
|
+
}>> & {}>>;
|
|
15
|
+
emit: (event: string, ...args: any[]) => void;
|
|
18
16
|
setting: import("vue").ComputedRef<any>;
|
|
19
17
|
serverSetting: import("vue").ComputedRef<any>;
|
|
20
18
|
topRightButton: import("vue").ComputedRef<any>;
|
|
@@ -70,12 +68,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
68
|
title: string;
|
|
71
69
|
iconClass: string;
|
|
72
70
|
}>;
|
|
73
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
71
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
74
72
|
data: {
|
|
75
73
|
type: PropType<AnyObject>;
|
|
76
74
|
required: true;
|
|
77
75
|
};
|
|
78
|
-
}
|
|
79
|
-
"onTemplate-click"?: ((...args: any[]) => any) | undefined;
|
|
80
|
-
}, {}>;
|
|
76
|
+
}>>, {}>;
|
|
81
77
|
export default _default;
|