cnhis-design-vue 3.2.9-beta.8 → 3.2.9-release.3
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/ai-chat/src/components/ChatMain.js +1 -1
- package/es/components/base-search/index.d.ts +2 -0
- package/es/components/base-search/src/index.vue.d.ts +2 -0
- package/es/components/button-print/index.d.ts +30 -13
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +30 -13
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
- package/es/components/button-print/src/components/NewPrintComponent.vue.d.ts +9 -4
- package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +9 -4
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +1 -1
- package/es/components/button-print/src/utils/print.d.ts +8 -6
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/classification/index.d.ts +87 -0
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +87 -0
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +87 -0
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +3 -0
- package/es/components/classification/src/index.vue.d.ts +87 -0
- package/es/components/date-picker/index.d.ts +29 -0
- package/es/components/date-picker/src/DatePicker.vue.d.ts +30 -1
- package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
- package/es/components/field-set/index.d.ts +8 -1
- package/es/components/field-set/src/FieldColor.vue.d.ts +89 -6
- package/es/components/field-set/src/FieldColor.vue2.js +1 -1
- package/es/components/field-set/src/FieldFilter.vue.d.ts +31 -6
- package/es/components/field-set/src/FieldFilter.vue2.js +1 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +73 -30
- package/es/components/field-set/src/FieldSet.vue2.js +1 -1
- package/es/components/field-set/src/Index.vue.d.ts +8 -1
- package/es/components/field-set/src/Index.vue2.js +1 -1
- package/es/components/field-set/src/TableStyle.vue2.js +1 -1
- package/es/components/field-set/src/components/condition.vue.d.ts +29 -0
- package/es/components/field-set/src/components/edit-dialog.vue.d.ts +58 -0
- package/es/components/field-set/src/components/edit-filter.vue.d.ts +29 -0
- package/es/components/field-set/src/components/table-row.vue.d.ts +28 -1
- package/es/components/field-set/src/components/table-row.vue2.js +1 -1
- package/es/components/field-set/src/types/index.d.ts +4 -3
- package/es/components/field-set/src/utils/index.js +1 -1
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-render/src/components/renderer/select.d.ts +2 -1
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/iho-chat/index.d.ts +316 -6
- package/es/components/iho-chat/src/Index.vue.d.ts +316 -6
- package/es/components/iho-chat/src/Index.vue2.js +1 -1
- package/es/components/iho-chat/src/api/index.js +1 -1
- package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +5 -0
- package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +121 -1
- package/es/components/iho-chat/src/components/ChatFile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +6 -0
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +160 -2
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +122 -0
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +29 -0
- package/es/components/iho-chat/src/components/ChatRecord.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +6 -1
- package/es/components/iho-chat/src/components/ChatSet.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ContextMenu.js +1 -1
- package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +5 -0
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/iho-chat/src/components/SiderList.vue.d.ts +1 -3
- package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
- package/es/components/iho-chat/src/constants/index.d.ts +2 -1
- package/es/components/iho-chat/src/constants/index.js +1 -1
- package/es/components/iho-chat/src/hooks/useSearchUserList.js +1 -1
- package/es/components/iho-chat/src/hooks/useSession.js +1 -1
- package/es/components/iho-chat/src/hooks/useState.d.ts +6 -0
- package/es/components/iho-chat/src/hooks/useState.js +1 -1
- package/es/components/iho-chat/src/types/index.d.ts +3 -1
- package/es/components/iho-chat/src/types/index.js +1 -1
- package/es/components/iho-chat/src/utils/chatSock.js +1 -1
- package/es/components/iho-chat/style/index.css +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +29 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +29 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/index.js +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useRowHeight.d.ts +2 -0
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useRowHeight.js +1 -0
- package/es/components/iho-table/src/types/index.d.ts +3 -0
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/quick-search/index.d.ts +3 -0
- package/es/components/quick-search/src/index.vue.d.ts +3 -0
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +29 -0
- package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +58 -0
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +58 -0
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +58 -0
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +29 -0
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +116 -0
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +116 -0
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +1 -0
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
- package/es/components/table-filter/src/types/index.d.ts +2 -0
- package/es/components/vod-chunk-upload/src/chunk-upload-new.vue2.js +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/index.d.ts +1 -0
- package/es/shared/utils/index.js +1 -1
- package/package.json +2 -2
@@ -23,6 +23,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
23
23
|
defaultSessionKey: {
|
24
24
|
type: StringConstructor;
|
25
25
|
};
|
26
|
+
show: {
|
27
|
+
type: BooleanConstructor;
|
28
|
+
default: boolean;
|
29
|
+
};
|
26
30
|
}, {
|
27
31
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
28
32
|
token: {
|
@@ -48,6 +52,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
48
52
|
defaultSessionKey: {
|
49
53
|
type: StringConstructor;
|
50
54
|
};
|
55
|
+
show: {
|
56
|
+
type: BooleanConstructor;
|
57
|
+
default: boolean;
|
58
|
+
};
|
51
59
|
}>> & {
|
52
60
|
"onTemplate-click"?: ((...args: any[]) => any) | undefined;
|
53
61
|
"onUnread-message-update"?: ((...args: any[]) => any) | undefined;
|
@@ -69,18 +77,21 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
69
77
|
updateSessionItem: import("../../shared/types").AnyObject;
|
70
78
|
isUpdateSession: boolean;
|
71
79
|
currentReferenceMsg: import("../../shared/types").AnyObject | null;
|
80
|
+
currentReEditMsg: import("../../shared/types").AnyObject | null;
|
72
81
|
showVideo: boolean;
|
73
82
|
currentAVMsg: import("../../shared/types").AnyObject;
|
74
83
|
currentGroupUser: import("../../shared/types").AnyObject[];
|
75
84
|
showMultipleVideo: boolean;
|
76
85
|
};
|
77
|
-
|
86
|
+
unreadTotal: import("vue").ComputedRef<number>;
|
78
87
|
openSession: (item: import("../../shared/types").AnyObject) => Promise<void>;
|
79
88
|
closeSession: () => import("../../shared/types").AnyObject | null;
|
80
89
|
getCurrentSession: () => import("../../shared/types").AnyObject | null;
|
81
90
|
setSessionList: (list: import("../../shared/types").AnyObject[]) => void;
|
82
91
|
setUpdateSessionItem: (item: import("../../shared/types").AnyObject) => void;
|
83
92
|
setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
|
93
|
+
updateSessionList: (sessionItem: import("../../shared/types").AnyObject) => void;
|
94
|
+
reConnention: number;
|
84
95
|
groupSessionList: import("../../shared/types").AnyObject[];
|
85
96
|
init: () => Promise<void>;
|
86
97
|
initWebSocket: () => void;
|
@@ -113,12 +124,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
113
124
|
}[]>;
|
114
125
|
currentFilterKey: import("vue").Ref<string>;
|
115
126
|
state: import("./src/types").IState;
|
116
|
-
|
127
|
+
unreadTotal: import("vue").ComputedRef<number>;
|
117
128
|
openSession: (item: import("../../shared/types").AnyObject) => Promise<void>;
|
118
|
-
updateSessionList: (sessionItem: import("../../shared/types").AnyObject) => void;
|
119
129
|
currentWidth: import("vue").ComputedRef<number>;
|
120
130
|
sessionList: import("vue").ComputedRef<import("../../shared/types").AnyObject[]>;
|
121
|
-
unreadTotal: import("vue").ComputedRef<number>;
|
122
131
|
changeWidth: ({ distance }: import("../../shared/types").AnyObject) => void;
|
123
132
|
handleFilter: (key: string) => void;
|
124
133
|
showSession: (item: import("../../shared/types").AnyObject, currentKey?: string) => boolean | undefined;
|
@@ -240,7 +249,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
240
249
|
submitFormData: (o: import("../../shared/types").AnyObject) => Promise<void>;
|
241
250
|
handleGroupName: () => Promise<void>;
|
242
251
|
handleAvatar: (options: import("./src/types").FileOptions) => Promise<void>;
|
243
|
-
|
252
|
+
closeChatSet: () => void;
|
244
253
|
NDrawer: any;
|
245
254
|
NDrawerContent: any;
|
246
255
|
NAvatar: any;
|
@@ -342,6 +351,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
342
351
|
};
|
343
352
|
defaultValue: {
|
344
353
|
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
354
|
+
default: () => never[];
|
345
355
|
};
|
346
356
|
}, {
|
347
357
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
@@ -362,6 +372,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
362
372
|
};
|
363
373
|
defaultValue: {
|
364
374
|
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
375
|
+
default: () => never[];
|
365
376
|
};
|
366
377
|
}>> & {
|
367
378
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
@@ -376,6 +387,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
376
387
|
options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
377
388
|
groupName: import("vue").Ref<string>;
|
378
389
|
checkedSourceIds: import("vue").Ref<(string | number)[]>;
|
390
|
+
remark: import("vue").Ref<string>;
|
379
391
|
userList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
380
392
|
handleInput: () => void;
|
381
393
|
_disabledIds: import("vue").ComputedRef<any[]>;
|
@@ -424,10 +436,12 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
424
436
|
};
|
425
437
|
defaultValue: {
|
426
438
|
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
439
|
+
default: () => never[];
|
427
440
|
};
|
428
441
|
}>> & {
|
429
442
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
430
443
|
}, {
|
444
|
+
defaultValue: import("../../shared/types").AnyObject[];
|
431
445
|
mode: string;
|
432
446
|
title: string;
|
433
447
|
disabledIds: string[];
|
@@ -453,6 +467,11 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
453
467
|
};
|
454
468
|
}>> & {}>>;
|
455
469
|
state: import("./src/types").IState;
|
470
|
+
relayMessage: (param: {
|
471
|
+
checkedIds: string[];
|
472
|
+
remark: string;
|
473
|
+
content: import("../../shared/types").AnyObject;
|
474
|
+
}) => Promise<void>;
|
456
475
|
imageList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
457
476
|
fileList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
458
477
|
imageRef: import("vue").Ref<any>;
|
@@ -467,7 +486,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
467
486
|
handleSearch: () => Promise<void>;
|
468
487
|
formatImageList: (data: import("../../shared/types").AnyObject[]) => {
|
469
488
|
label: string;
|
470
|
-
list:
|
489
|
+
list: any;
|
471
490
|
}[];
|
472
491
|
resetAndSearch: () => void;
|
473
492
|
title: import("vue").ComputedRef<"聊天图片" | "聊天文件">;
|
@@ -480,8 +499,122 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
480
499
|
NIcon: any;
|
481
500
|
NTooltip: any;
|
482
501
|
SearchOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
502
|
+
OpenOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
483
503
|
DownloadOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
484
504
|
downloadFile: typeof import("./src/utils").downloadFile;
|
505
|
+
ChatAdd: import("vue").DefineComponent<{
|
506
|
+
title: {
|
507
|
+
type: StringConstructor;
|
508
|
+
default: string;
|
509
|
+
};
|
510
|
+
mode: {
|
511
|
+
type: StringConstructor;
|
512
|
+
default: string;
|
513
|
+
};
|
514
|
+
options: {
|
515
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
516
|
+
};
|
517
|
+
disabledIds: {
|
518
|
+
type: import("vue").PropType<string[]>;
|
519
|
+
default: () => never[];
|
520
|
+
};
|
521
|
+
defaultValue: {
|
522
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
523
|
+
default: () => never[];
|
524
|
+
};
|
525
|
+
}, {
|
526
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
527
|
+
title: {
|
528
|
+
type: StringConstructor;
|
529
|
+
default: string;
|
530
|
+
};
|
531
|
+
mode: {
|
532
|
+
type: StringConstructor;
|
533
|
+
default: string;
|
534
|
+
};
|
535
|
+
options: {
|
536
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
537
|
+
};
|
538
|
+
disabledIds: {
|
539
|
+
type: import("vue").PropType<string[]>;
|
540
|
+
default: () => never[];
|
541
|
+
};
|
542
|
+
defaultValue: {
|
543
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
544
|
+
default: () => never[];
|
545
|
+
};
|
546
|
+
}>> & {
|
547
|
+
onComfirm?: ((...args: any[]) => any) | undefined;
|
548
|
+
}>>;
|
549
|
+
emit: (event: "comfirm", ...args: any[]) => void;
|
550
|
+
state: import("./src/types").IState;
|
551
|
+
setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
|
552
|
+
listRef: import("vue").Ref<any>;
|
553
|
+
keyword: import("vue").Ref<string>;
|
554
|
+
showModal: import("vue").Ref<boolean>;
|
555
|
+
checkedOptions: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
556
|
+
options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
557
|
+
groupName: import("vue").Ref<string>;
|
558
|
+
checkedSourceIds: import("vue").Ref<(string | number)[]>;
|
559
|
+
remark: import("vue").Ref<string>;
|
560
|
+
userList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
561
|
+
handleInput: () => void;
|
562
|
+
_disabledIds: import("vue").ComputedRef<any[]>;
|
563
|
+
defaultOptions: import("vue").ComputedRef<{
|
564
|
+
id: any;
|
565
|
+
name: any;
|
566
|
+
avatar: any;
|
567
|
+
}[]>;
|
568
|
+
checkedIds: import("vue").ComputedRef<any[]>;
|
569
|
+
btnDisabled: import("vue").ComputedRef<boolean>;
|
570
|
+
allChecked: import("vue").WritableComputedRef<boolean>;
|
571
|
+
handlePositiveClick: () => Promise<void>;
|
572
|
+
updateCheckedSourceIds: () => void;
|
573
|
+
handleSourceIdsUpdate: (value: (string | number)[], meta: {
|
574
|
+
actionType: "check" | "uncheck";
|
575
|
+
value: string | number;
|
576
|
+
}) => void;
|
577
|
+
closeTag: (id: string) => void;
|
578
|
+
NModal: any;
|
579
|
+
NButton: any;
|
580
|
+
NSpace: any;
|
581
|
+
NAvatar: any;
|
582
|
+
NIcon: any;
|
583
|
+
NTag: any;
|
584
|
+
NInput: any;
|
585
|
+
NCheckbox: any;
|
586
|
+
NCheckboxGroup: any;
|
587
|
+
NTooltip: any;
|
588
|
+
SearchOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
589
|
+
AddOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
590
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
591
|
+
title: {
|
592
|
+
type: StringConstructor;
|
593
|
+
default: string;
|
594
|
+
};
|
595
|
+
mode: {
|
596
|
+
type: StringConstructor;
|
597
|
+
default: string;
|
598
|
+
};
|
599
|
+
options: {
|
600
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
601
|
+
};
|
602
|
+
disabledIds: {
|
603
|
+
type: import("vue").PropType<string[]>;
|
604
|
+
default: () => never[];
|
605
|
+
};
|
606
|
+
defaultValue: {
|
607
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
608
|
+
default: () => never[];
|
609
|
+
};
|
610
|
+
}>> & {
|
611
|
+
onComfirm?: ((...args: any[]) => any) | undefined;
|
612
|
+
}, {
|
613
|
+
defaultValue: import("../../shared/types").AnyObject[];
|
614
|
+
mode: string;
|
615
|
+
title: string;
|
616
|
+
disabledIds: string[];
|
617
|
+
}>;
|
485
618
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
486
619
|
type: {
|
487
620
|
type: StringConstructor;
|
@@ -557,6 +690,14 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
557
690
|
type: import("vue").PropType<string | false | HTMLElement>;
|
558
691
|
default: string;
|
559
692
|
};
|
693
|
+
holidays: {
|
694
|
+
type: import("vue").PropType<Date[]>;
|
695
|
+
default: () => never[];
|
696
|
+
};
|
697
|
+
type: {
|
698
|
+
type: StringConstructor;
|
699
|
+
default: string;
|
700
|
+
};
|
560
701
|
}, {
|
561
702
|
attrs: {
|
562
703
|
[x: string]: unknown;
|
@@ -581,6 +722,14 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
581
722
|
type: import("vue").PropType<string | false | HTMLElement>;
|
582
723
|
default: string;
|
583
724
|
};
|
725
|
+
holidays: {
|
726
|
+
type: import("vue").PropType<Date[]>;
|
727
|
+
default: () => never[];
|
728
|
+
};
|
729
|
+
type: {
|
730
|
+
type: StringConstructor;
|
731
|
+
default: string;
|
732
|
+
};
|
584
733
|
}>> & {
|
585
734
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
586
735
|
}>>;
|
@@ -597,6 +746,9 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
597
746
|
blur: () => any;
|
598
747
|
handleConfirm: (target: HTMLInputElement) => void;
|
599
748
|
onUpdateShow: (show: boolean) => Promise<void>;
|
749
|
+
watchers: import("../../shared/types").AnyFn[];
|
750
|
+
stopWatcher: () => void;
|
751
|
+
setHoliday: (show: boolean) => Promise<void>;
|
600
752
|
onConfirm: (...args: any[]) => Promise<void>;
|
601
753
|
isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
|
602
754
|
setShortcutValue: (type: "month" | "week") => Promise<void>;
|
@@ -621,11 +773,21 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
621
773
|
type: import("vue").PropType<string | false | HTMLElement>;
|
622
774
|
default: string;
|
623
775
|
};
|
776
|
+
holidays: {
|
777
|
+
type: import("vue").PropType<Date[]>;
|
778
|
+
default: () => never[];
|
779
|
+
};
|
780
|
+
type: {
|
781
|
+
type: StringConstructor;
|
782
|
+
default: string;
|
783
|
+
};
|
624
784
|
}>> & {
|
625
785
|
"onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
|
626
786
|
}, {
|
787
|
+
type: string;
|
627
788
|
updateUnchangedValue: boolean;
|
628
789
|
to: string | false | HTMLElement;
|
790
|
+
holidays: Date[];
|
629
791
|
}>>;
|
630
792
|
formatTime: typeof import("./src/utils").formatTime;
|
631
793
|
MESSAGE_TYPE: typeof import("./src/constants").MESSAGE_TYPE;
|
@@ -658,6 +820,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
658
820
|
};
|
659
821
|
defaultValue: {
|
660
822
|
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
823
|
+
default: () => never[];
|
661
824
|
};
|
662
825
|
}, {
|
663
826
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
@@ -678,6 +841,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
678
841
|
};
|
679
842
|
defaultValue: {
|
680
843
|
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
844
|
+
default: () => never[];
|
681
845
|
};
|
682
846
|
}>> & {
|
683
847
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
@@ -692,6 +856,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
692
856
|
options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
693
857
|
groupName: import("vue").Ref<string>;
|
694
858
|
checkedSourceIds: import("vue").Ref<(string | number)[]>;
|
859
|
+
remark: import("vue").Ref<string>;
|
695
860
|
userList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
696
861
|
handleInput: () => void;
|
697
862
|
_disabledIds: import("vue").ComputedRef<any[]>;
|
@@ -740,10 +905,12 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
740
905
|
};
|
741
906
|
defaultValue: {
|
742
907
|
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
908
|
+
default: () => never[];
|
743
909
|
};
|
744
910
|
}>> & {
|
745
911
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
746
912
|
}, {
|
913
|
+
defaultValue: import("../../shared/types").AnyObject[];
|
747
914
|
mode: string;
|
748
915
|
title: string;
|
749
916
|
disabledIds: string[];
|
@@ -754,12 +921,18 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
754
921
|
chatMainRef: import("vue").Ref<HTMLElement | undefined>;
|
755
922
|
state: import("./src/types").IState;
|
756
923
|
setMsgList: (list?: import("../../shared/types").AnyObject[]) => void;
|
924
|
+
relayMessage: (param: {
|
925
|
+
checkedIds: string[];
|
926
|
+
remark: string;
|
927
|
+
content: import("../../shared/types").AnyObject;
|
928
|
+
}) => Promise<void>;
|
757
929
|
setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
|
758
930
|
isGroupChat: import("vue").ComputedRef<boolean>;
|
759
931
|
contextmenuRef: import("vue").Ref<any>;
|
760
932
|
showMenu: import("vue").Ref<boolean>;
|
761
933
|
menuPosition: any;
|
762
934
|
menuMsgId: import("vue").Ref<any>;
|
935
|
+
relayTriggerRef: import("vue").Ref<any>;
|
763
936
|
pageInfo: {
|
764
937
|
page: number;
|
765
938
|
hasMore: boolean;
|
@@ -776,6 +949,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
776
949
|
handleContextmenu: (event: MouseEvent, msgId: string) => Promise<void>;
|
777
950
|
setMenuPosition: (event: MouseEvent) => Promise<void>;
|
778
951
|
showMessage: (item: import("../../shared/types").AnyObject) => boolean;
|
952
|
+
showReEdit: (item: import("../../shared/types").AnyObject) => boolean;
|
779
953
|
showReferenceMsg: (item: import("../../shared/types").AnyObject) => any;
|
780
954
|
showBlendMsg: (item: import("../../shared/types").AnyObject) => any;
|
781
955
|
showTemplateMsg: (item: import("../../shared/types").AnyObject, type: "template" | "system") => boolean | undefined;
|
@@ -785,6 +959,8 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
785
959
|
resetInfo: () => void;
|
786
960
|
setReferenceMsg: (msgItem: import("../../shared/types").AnyObject) => void;
|
787
961
|
handleSelect: (key: string, msgItem: import("../../shared/types").AnyObject) => void;
|
962
|
+
handleRelay: (checkedIds: string[], remark: string) => void;
|
963
|
+
reEdit: (item: import("../../shared/types").AnyObject) => void;
|
788
964
|
NAvatar: any;
|
789
965
|
NImageGroup: any;
|
790
966
|
NImage: any;
|
@@ -969,6 +1145,119 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
969
1145
|
}, {
|
970
1146
|
show: boolean;
|
971
1147
|
}>;
|
1148
|
+
ChatAdd: import("vue").DefineComponent<{
|
1149
|
+
title: {
|
1150
|
+
type: StringConstructor;
|
1151
|
+
default: string;
|
1152
|
+
};
|
1153
|
+
mode: {
|
1154
|
+
type: StringConstructor;
|
1155
|
+
default: string;
|
1156
|
+
};
|
1157
|
+
options: {
|
1158
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
1159
|
+
};
|
1160
|
+
disabledIds: {
|
1161
|
+
type: import("vue").PropType<string[]>;
|
1162
|
+
default: () => never[];
|
1163
|
+
};
|
1164
|
+
defaultValue: {
|
1165
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
1166
|
+
default: () => never[];
|
1167
|
+
};
|
1168
|
+
}, {
|
1169
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
1170
|
+
title: {
|
1171
|
+
type: StringConstructor;
|
1172
|
+
default: string;
|
1173
|
+
};
|
1174
|
+
mode: {
|
1175
|
+
type: StringConstructor;
|
1176
|
+
default: string;
|
1177
|
+
};
|
1178
|
+
options: {
|
1179
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
1180
|
+
};
|
1181
|
+
disabledIds: {
|
1182
|
+
type: import("vue").PropType<string[]>;
|
1183
|
+
default: () => never[];
|
1184
|
+
};
|
1185
|
+
defaultValue: {
|
1186
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
1187
|
+
default: () => never[];
|
1188
|
+
};
|
1189
|
+
}>> & {
|
1190
|
+
onComfirm?: ((...args: any[]) => any) | undefined;
|
1191
|
+
}>>;
|
1192
|
+
emit: (event: "comfirm", ...args: any[]) => void;
|
1193
|
+
state: import("./src/types").IState;
|
1194
|
+
setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
|
1195
|
+
listRef: import("vue").Ref<any>;
|
1196
|
+
keyword: import("vue").Ref<string>;
|
1197
|
+
showModal: import("vue").Ref<boolean>;
|
1198
|
+
checkedOptions: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
1199
|
+
options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
1200
|
+
groupName: import("vue").Ref<string>;
|
1201
|
+
checkedSourceIds: import("vue").Ref<(string | number)[]>;
|
1202
|
+
remark: import("vue").Ref<string>;
|
1203
|
+
userList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
1204
|
+
handleInput: () => void;
|
1205
|
+
_disabledIds: import("vue").ComputedRef<any[]>;
|
1206
|
+
defaultOptions: import("vue").ComputedRef<{
|
1207
|
+
id: any;
|
1208
|
+
name: any;
|
1209
|
+
avatar: any;
|
1210
|
+
}[]>;
|
1211
|
+
checkedIds: import("vue").ComputedRef<any[]>;
|
1212
|
+
btnDisabled: import("vue").ComputedRef<boolean>;
|
1213
|
+
allChecked: import("vue").WritableComputedRef<boolean>;
|
1214
|
+
handlePositiveClick: () => Promise<void>;
|
1215
|
+
updateCheckedSourceIds: () => void;
|
1216
|
+
handleSourceIdsUpdate: (value: (string | number)[], meta: {
|
1217
|
+
actionType: "check" | "uncheck";
|
1218
|
+
value: string | number;
|
1219
|
+
}) => void;
|
1220
|
+
closeTag: (id: string) => void;
|
1221
|
+
NModal: any;
|
1222
|
+
NButton: any;
|
1223
|
+
NSpace: any;
|
1224
|
+
NAvatar: any;
|
1225
|
+
NIcon: any;
|
1226
|
+
NTag: any;
|
1227
|
+
NInput: any;
|
1228
|
+
NCheckbox: any;
|
1229
|
+
NCheckboxGroup: any;
|
1230
|
+
NTooltip: any;
|
1231
|
+
SearchOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
1232
|
+
AddOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
1233
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
1234
|
+
title: {
|
1235
|
+
type: StringConstructor;
|
1236
|
+
default: string;
|
1237
|
+
};
|
1238
|
+
mode: {
|
1239
|
+
type: StringConstructor;
|
1240
|
+
default: string;
|
1241
|
+
};
|
1242
|
+
options: {
|
1243
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
1244
|
+
};
|
1245
|
+
disabledIds: {
|
1246
|
+
type: import("vue").PropType<string[]>;
|
1247
|
+
default: () => never[];
|
1248
|
+
};
|
1249
|
+
defaultValue: {
|
1250
|
+
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
1251
|
+
default: () => never[];
|
1252
|
+
};
|
1253
|
+
}>> & {
|
1254
|
+
onComfirm?: ((...args: any[]) => any) | undefined;
|
1255
|
+
}, {
|
1256
|
+
defaultValue: import("../../shared/types").AnyObject[];
|
1257
|
+
mode: string;
|
1258
|
+
title: string;
|
1259
|
+
disabledIds: string[];
|
1260
|
+
}>;
|
972
1261
|
simplifyMessage: typeof import("./src/utils").simplifyMessage;
|
973
1262
|
isAudioOrVideoMessage: typeof import("./src/utils").isAudioOrVideoMessage;
|
974
1263
|
getAVTime: typeof import("./src/utils").getAVTime;
|
@@ -1005,6 +1294,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1005
1294
|
fileChange: (options: import("./src/types").FileOptions, chatMessageType: import("./src/constants").MESSAGE_TYPE) => Promise<void>;
|
1006
1295
|
handleMsgSend: () => Promise<void>;
|
1007
1296
|
doSendMessage: (contentInfo: import("../../shared/types").AnyObject) => Promise<void>;
|
1297
|
+
clearInput: () => void;
|
1008
1298
|
NButton: any;
|
1009
1299
|
NPopover: any;
|
1010
1300
|
NTooltip: any;
|
@@ -1029,6 +1319,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1029
1319
|
};
|
1030
1320
|
defaultValue: {
|
1031
1321
|
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
1322
|
+
default: () => never[];
|
1032
1323
|
};
|
1033
1324
|
}, {
|
1034
1325
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
@@ -1049,6 +1340,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1049
1340
|
};
|
1050
1341
|
defaultValue: {
|
1051
1342
|
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
1343
|
+
default: () => never[];
|
1052
1344
|
};
|
1053
1345
|
}>> & {
|
1054
1346
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
@@ -1063,6 +1355,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1063
1355
|
options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
1064
1356
|
groupName: import("vue").Ref<string>;
|
1065
1357
|
checkedSourceIds: import("vue").Ref<(string | number)[]>;
|
1358
|
+
remark: import("vue").Ref<string>;
|
1066
1359
|
userList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
1067
1360
|
handleInput: () => void;
|
1068
1361
|
_disabledIds: import("vue").ComputedRef<any[]>;
|
@@ -1111,10 +1404,12 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1111
1404
|
};
|
1112
1405
|
defaultValue: {
|
1113
1406
|
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
1407
|
+
default: () => never[];
|
1114
1408
|
};
|
1115
1409
|
}>> & {
|
1116
1410
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
1117
1411
|
}, {
|
1412
|
+
defaultValue: import("../../shared/types").AnyObject[];
|
1118
1413
|
mode: string;
|
1119
1414
|
title: string;
|
1120
1415
|
disabledIds: string[];
|
@@ -1221,6 +1516,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1221
1516
|
};
|
1222
1517
|
defaultValue: {
|
1223
1518
|
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
1519
|
+
default: () => never[];
|
1224
1520
|
};
|
1225
1521
|
}, {
|
1226
1522
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
@@ -1241,6 +1537,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1241
1537
|
};
|
1242
1538
|
defaultValue: {
|
1243
1539
|
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
1540
|
+
default: () => never[];
|
1244
1541
|
};
|
1245
1542
|
}>> & {
|
1246
1543
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
@@ -1255,6 +1552,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1255
1552
|
options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
1256
1553
|
groupName: import("vue").Ref<string>;
|
1257
1554
|
checkedSourceIds: import("vue").Ref<(string | number)[]>;
|
1555
|
+
remark: import("vue").Ref<string>;
|
1258
1556
|
userList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
1259
1557
|
handleInput: () => void;
|
1260
1558
|
_disabledIds: import("vue").ComputedRef<any[]>;
|
@@ -1303,10 +1601,12 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1303
1601
|
};
|
1304
1602
|
defaultValue: {
|
1305
1603
|
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
1604
|
+
default: () => never[];
|
1306
1605
|
};
|
1307
1606
|
}>> & {
|
1308
1607
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
1309
1608
|
}, {
|
1609
|
+
defaultValue: import("../../shared/types").AnyObject[];
|
1310
1610
|
mode: string;
|
1311
1611
|
title: string;
|
1312
1612
|
disabledIds: string[];
|
@@ -1444,6 +1744,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1444
1744
|
};
|
1445
1745
|
defaultValue: {
|
1446
1746
|
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
1747
|
+
default: () => never[];
|
1447
1748
|
};
|
1448
1749
|
}, {
|
1449
1750
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
@@ -1464,6 +1765,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1464
1765
|
};
|
1465
1766
|
defaultValue: {
|
1466
1767
|
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
1768
|
+
default: () => never[];
|
1467
1769
|
};
|
1468
1770
|
}>> & {
|
1469
1771
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
@@ -1478,6 +1780,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1478
1780
|
options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
1479
1781
|
groupName: import("vue").Ref<string>;
|
1480
1782
|
checkedSourceIds: import("vue").Ref<(string | number)[]>;
|
1783
|
+
remark: import("vue").Ref<string>;
|
1481
1784
|
userList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
|
1482
1785
|
handleInput: () => void;
|
1483
1786
|
_disabledIds: import("vue").ComputedRef<any[]>;
|
@@ -1526,10 +1829,12 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1526
1829
|
};
|
1527
1830
|
defaultValue: {
|
1528
1831
|
type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
|
1832
|
+
default: () => never[];
|
1529
1833
|
};
|
1530
1834
|
}>> & {
|
1531
1835
|
onComfirm?: ((...args: any[]) => any) | undefined;
|
1532
1836
|
}, {
|
1837
|
+
defaultValue: import("../../shared/types").AnyObject[];
|
1533
1838
|
mode: string;
|
1534
1839
|
title: string;
|
1535
1840
|
disabledIds: string[];
|
@@ -1566,10 +1871,15 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
1566
1871
|
defaultSessionKey: {
|
1567
1872
|
type: StringConstructor;
|
1568
1873
|
};
|
1874
|
+
show: {
|
1875
|
+
type: BooleanConstructor;
|
1876
|
+
default: boolean;
|
1877
|
+
};
|
1569
1878
|
}>> & {
|
1570
1879
|
"onTemplate-click"?: ((...args: any[]) => any) | undefined;
|
1571
1880
|
"onUnread-message-update"?: ((...args: any[]) => any) | undefined;
|
1572
1881
|
}, {
|
1882
|
+
show: boolean;
|
1573
1883
|
baseURL: string;
|
1574
1884
|
chatBox: boolean;
|
1575
1885
|
}>>;
|