cnhis-design-vue 3.2.7-beta.1 → 3.2.7-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/README.md +87 -87
  2. package/es/components/classification/index.d.ts +39 -0
  3. package/es/components/classification/src/components/search-filter/index.vue.d.ts +39 -0
  4. package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
  5. package/es/components/classification/src/components/set-classification/index.vue.d.ts +39 -0
  6. package/es/components/classification/src/components/table-modal/index.vue.d.ts +3 -0
  7. package/es/components/classification/src/components/table-modal/index.vue2.js +1 -1
  8. package/es/components/classification/src/index.vue.d.ts +39 -0
  9. package/es/components/date-picker/index.d.ts +13 -0
  10. package/es/components/date-picker/src/DatePicker.vue.d.ts +13 -0
  11. package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
  12. package/es/components/fabric-chart/src/constants/index.d.ts +3 -1
  13. package/es/components/fabric-chart/src/constants/index.js +1 -1
  14. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
  15. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.d.ts +8 -3
  16. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
  17. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.d.ts +9 -6
  18. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
  19. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +1 -1
  20. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.d.ts +0 -2
  21. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.js +1 -1
  22. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.d.ts +8 -3
  23. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  24. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  25. package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
  26. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.d.ts +8 -3
  27. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  28. package/es/components/fabric-chart/src/hooks/useScaleColumn.d.ts +1 -1
  29. package/es/components/fabric-chart/src/hooks/useScaleColumn.js +1 -1
  30. package/es/components/fabric-chart/src/interface.d.ts +11 -1
  31. package/es/components/field-set/src/FieldColor.vue.d.ts +26 -0
  32. package/es/components/field-set/src/components/condition.vue.d.ts +13 -0
  33. package/es/components/field-set/src/components/edit-dialog.vue.d.ts +26 -0
  34. package/es/components/field-set/src/components/edit-filter.vue.d.ts +13 -0
  35. package/es/components/form-config/index.d.ts +3 -3
  36. package/es/components/form-config/src/FormConfig.vue.d.ts +3 -3
  37. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +3 -3
  38. package/es/components/form-render/src/components/renderer/combination/tableCombination.js +1 -1
  39. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  40. package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
  41. package/es/components/form-render/src/types/fieldItem.d.ts +2 -1
  42. package/es/components/form-render/src/utils/schema.d.ts +1 -1
  43. package/es/components/form-render/src/utils/schema.js +1 -1
  44. package/es/components/iho-chat/index.d.ts +160 -45
  45. package/es/components/iho-chat/src/Index.vue.d.ts +160 -45
  46. package/es/components/iho-chat/src/Index.vue2.js +1 -1
  47. package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +25 -10
  48. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
  49. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +29 -10
  50. package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
  51. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +39 -11
  52. package/es/components/iho-chat/src/components/ChatHeader.vue2.js +1 -1
  53. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +21 -5
  54. package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
  55. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +13 -0
  56. package/es/components/iho-chat/src/components/ChatRecord.vue2.js +1 -1
  57. package/es/components/iho-chat/src/components/ContextMenu.d.ts +15 -2
  58. package/es/components/iho-chat/src/components/ContextMenu.js +1 -1
  59. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +25 -10
  60. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -1
  61. package/es/components/iho-chat/src/components/Video.vue2.js +1 -1
  62. package/es/components/iho-chat/src/hooks/useScrollLoading.d.ts +1 -1
  63. package/es/components/iho-chat/src/hooks/useScrollLoading.js +1 -1
  64. package/es/components/iho-chat/src/hooks/useState.js +1 -1
  65. package/es/components/iho-chat/style/index.css +1 -1
  66. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +13 -0
  67. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +13 -0
  68. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin/editTime.vue.d.ts +20 -2
  69. package/es/components/index.css +1 -1
  70. package/es/components/quick-search/src/index.vue2.js +1 -1
  71. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  72. package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
  73. package/es/components/shortcut-setter/index.d.ts +1 -1
  74. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -1
  75. package/es/components/table-export-field/src/components/ExportModal.vue2.js +1 -1
  76. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +1 -1
  77. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +13 -0
  78. package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +13 -0
  79. package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +13 -0
  80. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +13 -0
  81. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +26 -0
  82. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +13 -0
  83. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +13 -0
  84. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +1 -1
  85. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +26 -0
  86. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +26 -0
  87. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +13 -0
  88. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +13 -0
  89. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +13 -0
  90. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +13 -0
  91. package/es/components/table-filter/src/components/render-widget/components/Select.vue2.js +1 -1
  92. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
  93. package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +1 -1
  94. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +52 -0
  95. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +52 -0
  96. package/es/components/time-picker/index.d.ts +20 -2
  97. package/es/components/time-picker/src/TimePicker.vue.d.ts +21 -2
  98. package/es/components/time-picker/src/TimePicker.vue2.js +1 -1
  99. package/es/env.d.ts +25 -25
  100. package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
  101. package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
  102. package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
  103. package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
  104. package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
  105. package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
  106. package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
  107. package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
  108. package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
  109. package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
  110. package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
  111. package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
  112. package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
  113. package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
  114. package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
  115. package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
  116. package/es/shared/assets/img/failure.png.js +1 -1
  117. package/es/shared/assets/img/no-permission.png.js +1 -1
  118. package/es/shared/assets/img/nodata.png.js +1 -1
  119. package/es/shared/assets/img/notfound.png.js +1 -1
  120. package/es/shared/assets/img/qr.png.js +1 -1
  121. package/es/shared/assets/img/success.png.js +1 -1
  122. package/es/shared/assets/img/table_style_2.png.js +1 -1
  123. package/es/shared/assets/img/video.png.js +1 -1
  124. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  125. package/es/shared/assets/img/xb_big.png.js +1 -1
  126. package/es/shared/assets/img/xb_small.png.js +1 -1
  127. package/es/shared/package.json.js +1 -1
  128. package/es/shared/utils/business.js +1 -1
  129. package/package.json +2 -2
  130. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  131. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  132. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  133. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  134. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  135. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  136. package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -16,6 +16,13 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
16
16
  type: StringConstructor;
17
17
  default: string;
18
18
  };
19
+ chatBox: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ defaultSessionKey: {
24
+ type: StringConstructor;
25
+ };
19
26
  }, {
20
27
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
21
28
  token: {
@@ -34,6 +41,13 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
34
41
  type: StringConstructor;
35
42
  default: string;
36
43
  };
44
+ chatBox: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
48
+ defaultSessionKey: {
49
+ type: StringConstructor;
50
+ };
37
51
  }>> & {
38
52
  "onTemplate-click"?: ((...args: any[]) => any) | undefined;
39
53
  "onUnread-message-update"?: ((...args: any[]) => any) | undefined;
@@ -73,6 +87,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
73
87
  handleUserSearch: () => Promise<void>;
74
88
  initWebSocket: () => void;
75
89
  subscribeSessionList: () => void;
90
+ handleDefaultSession: () => void;
76
91
  subscribeGroupMessage: () => void;
77
92
  subscribeMessage: () => void;
78
93
  handleMessage: (messageVo: import("../../shared/types").AnyObject, chatType: string) => Promise<void>;
@@ -132,7 +147,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
132
147
  defaultValue?: undefined;
133
148
  } | {
134
149
  mode: string;
135
- defaultValue: any[];
150
+ defaultValue: import("../../shared/types").AnyObject[];
136
151
  disabledIds?: undefined;
137
152
  }>;
138
153
  handleOpenChatFile: (type: string) => void;
@@ -414,6 +429,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
414
429
  allowedInvalidValue: {
415
430
  type: StringConstructor;
416
431
  };
432
+ to: {
433
+ type: import("vue").PropType<string | false | HTMLElement>;
434
+ default: string;
435
+ };
417
436
  }, {
418
437
  attrs: {
419
438
  [x: string]: unknown;
@@ -434,6 +453,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
434
453
  allowedInvalidValue: {
435
454
  type: StringConstructor;
436
455
  };
456
+ to: {
457
+ type: import("vue").PropType<string | false | HTMLElement>;
458
+ default: string;
459
+ };
437
460
  }>> & {
438
461
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
439
462
  }>>;
@@ -470,10 +493,15 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
470
493
  allowedInvalidValue: {
471
494
  type: StringConstructor;
472
495
  };
496
+ to: {
497
+ type: import("vue").PropType<string | false | HTMLElement>;
498
+ default: string;
499
+ };
473
500
  }>> & {
474
501
  "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
475
502
  }, {
476
503
  updateUnchangedValue: boolean;
504
+ to: string | false | HTMLElement;
477
505
  }>>;
478
506
  formatTime: typeof import("./src/utils").formatTime;
479
507
  MESSAGE_TYPE: typeof import("./src/constants").MESSAGE_TYPE;
@@ -502,9 +530,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
502
530
  };
503
531
  disabledIds: {
504
532
  type: import("vue").PropType<string[]>;
533
+ default: () => never[];
505
534
  };
506
535
  defaultValue: {
507
- type: import("vue").PropType<string[]>;
536
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
508
537
  };
509
538
  }, {
510
539
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -521,9 +550,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
521
550
  };
522
551
  disabledIds: {
523
552
  type: import("vue").PropType<string[]>;
553
+ default: () => never[];
524
554
  };
525
555
  defaultValue: {
526
- type: import("vue").PropType<string[]>;
556
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
527
557
  };
528
558
  }>> & {
529
559
  onComfirm?: ((...args: any[]) => any) | undefined;
@@ -531,24 +561,35 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
531
561
  emit: (event: "comfirm", ...args: any[]) => void;
532
562
  state: import("./src/types").IState;
533
563
  showModal: import("vue").Ref<boolean>;
534
- checkedIds: import("vue").Ref<(string | number)[]>;
564
+ checkedOptions: import("vue").Ref<import("../../shared/types").AnyObject[]>;
535
565
  options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
536
566
  groupName: import("vue").Ref<string>;
567
+ checkedSourceIds: import("vue").Ref<(string | number)[]>;
568
+ _disabledIds: import("vue").ComputedRef<any[]>;
569
+ defaultOptions: import("vue").ComputedRef<{
570
+ id: any;
571
+ name: any;
572
+ avatar: any;
573
+ }[]>;
574
+ checkedIds: import("vue").ComputedRef<any[]>;
537
575
  btnDisabled: import("vue").ComputedRef<boolean>;
576
+ allChecked: import("vue").WritableComputedRef<boolean>;
538
577
  handlePositiveClick: () => Promise<void>;
578
+ updateSourceIds: (value: (string | number)[], meta: {
579
+ actionType: "check" | "uncheck";
580
+ value: string | number;
581
+ }) => void;
539
582
  renderSourceLabel: ({ option }: {
540
583
  option: import("../../shared/types").AnyObject;
541
584
  }) => JSX.Element;
542
- renderTargetList: (props: {
543
- onCheck: (checkedValueList: (string | number)[]) => void;
544
- checkedOptions: import("../../shared/types").AnyObject[];
545
- pattern: string;
546
- }) => JSX.Element | null;
585
+ closeTag: (id: string) => void;
586
+ renderTargetList: () => JSX.Element[] | null;
547
587
  NModal: any;
548
588
  NButton: any;
549
- NTransfer: any;
550
589
  NIcon: any;
551
590
  NInput: any;
591
+ NCheckbox: any;
592
+ NCheckboxGroup: any;
552
593
  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<{}>>, {}>;
553
594
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
554
595
  title: {
@@ -564,15 +605,17 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
564
605
  };
565
606
  disabledIds: {
566
607
  type: import("vue").PropType<string[]>;
608
+ default: () => never[];
567
609
  };
568
610
  defaultValue: {
569
- type: import("vue").PropType<string[]>;
611
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
570
612
  };
571
613
  }>> & {
572
614
  onComfirm?: ((...args: any[]) => any) | undefined;
573
615
  }, {
574
616
  mode: string;
575
617
  title: string;
618
+ disabledIds: string[];
576
619
  }>;
577
620
  PersonAddOutline: 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<{}>>, {}>;
578
621
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
@@ -582,7 +625,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
582
625
  setMsgList: (list?: import("../../shared/types").AnyObject[]) => void;
583
626
  setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
584
627
  isGroupChat: import("vue").ComputedRef<boolean>;
628
+ contextmenuRef: import("vue").Ref<any>;
585
629
  showMenu: import("vue").Ref<boolean>;
630
+ menuPosition: any;
631
+ menuMsgId: import("vue").Ref<any>;
586
632
  pageInfo: {
587
633
  page: number;
588
634
  hasMore: boolean;
@@ -593,6 +639,8 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
593
639
  '--c-tip-gap': string;
594
640
  }>;
595
641
  getHistoryRecord: () => Promise<void>;
642
+ handleContextmenu: (event: MouseEvent, msgId: string) => Promise<void>;
643
+ setMenuPosition: (event: MouseEvent) => Promise<void>;
596
644
  showMessage: (item: import("../../shared/types").AnyObject) => boolean;
597
645
  showTemplateMsg: (item: import("../../shared/types").AnyObject, type: "template" | "system") => boolean | undefined;
598
646
  isTemplate3: (content: import("../../shared/types").AnyObject) => boolean;
@@ -763,25 +811,35 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
763
811
  type: BooleanConstructor;
764
812
  default: boolean;
765
813
  };
766
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickMenu" | "update:show")[], "clickMenu" | "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
814
+ position: {
815
+ type: import("vue").PropType<import("vue").CSSProperties>;
816
+ };
817
+ msgId: {
818
+ type: StringConstructor;
819
+ };
820
+ }, () => JSX.Element | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show")[], "select" | "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
767
821
  show: {
768
822
  type: BooleanConstructor;
769
823
  default: boolean;
770
824
  };
825
+ position: {
826
+ type: import("vue").PropType<import("vue").CSSProperties>;
827
+ };
828
+ msgId: {
829
+ type: StringConstructor;
830
+ };
771
831
  }>> & {
772
- onClickMenu?: ((...args: any[]) => any) | undefined;
832
+ onSelect?: ((...args: any[]) => any) | undefined;
773
833
  "onUpdate:show"?: ((...args: any[]) => any) | undefined;
774
834
  }, {
775
835
  show: boolean;
776
836
  }>;
777
- formatTime: typeof import("./src/utils").formatTime;
778
837
  downloadFile: typeof import("./src/utils").downloadFile;
779
838
  simplifyMessage: typeof import("./src/utils").simplifyMessage;
780
839
  isAudioOrVideoMessage: typeof import("./src/utils").isAudioOrVideoMessage;
781
840
  getAVTime: typeof import("./src/utils").getAVTime;
782
841
  MESSAGE_TYPE: typeof import("./src/constants").MESSAGE_TYPE;
783
842
  ChatbubbleEllipsesOutline: 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<{}>>, {}>;
784
- EllipsisHorizontal: 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<{}>>, {}>;
785
843
  CallOutline: 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<{}>>, {}>;
786
844
  VideocamOutline: 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<{}>>, {}>;
787
845
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
@@ -796,6 +854,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
796
854
  }) => Promise<void>;
797
855
  isGroupChat: import("vue").ComputedRef<boolean>;
798
856
  showEmoji: import("vue").Ref<boolean>;
857
+ chatAddProps: import("vue").ComputedRef<{
858
+ options: import("../../shared/types").AnyObject[];
859
+ defaultValue: import("../../shared/types").AnyObject[];
860
+ }>;
799
861
  handleCall: (chatMessageType: string, checkedIds?: never[]) => void;
800
862
  handleKeyDown: (event: KeyboardEvent) => void;
801
863
  isWrap: (event: KeyboardEvent) => boolean;
@@ -827,9 +889,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
827
889
  };
828
890
  disabledIds: {
829
891
  type: import("vue").PropType<string[]>;
892
+ default: () => never[];
830
893
  };
831
894
  defaultValue: {
832
- type: import("vue").PropType<string[]>;
895
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
833
896
  };
834
897
  }, {
835
898
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -846,9 +909,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
846
909
  };
847
910
  disabledIds: {
848
911
  type: import("vue").PropType<string[]>;
912
+ default: () => never[];
849
913
  };
850
914
  defaultValue: {
851
- type: import("vue").PropType<string[]>;
915
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
852
916
  };
853
917
  }>> & {
854
918
  onComfirm?: ((...args: any[]) => any) | undefined;
@@ -856,24 +920,35 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
856
920
  emit: (event: "comfirm", ...args: any[]) => void;
857
921
  state: import("./src/types").IState;
858
922
  showModal: import("vue").Ref<boolean>;
859
- checkedIds: import("vue").Ref<(string | number)[]>;
923
+ checkedOptions: import("vue").Ref<import("../../shared/types").AnyObject[]>;
860
924
  options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
861
925
  groupName: import("vue").Ref<string>;
926
+ checkedSourceIds: import("vue").Ref<(string | number)[]>;
927
+ _disabledIds: import("vue").ComputedRef<any[]>;
928
+ defaultOptions: import("vue").ComputedRef<{
929
+ id: any;
930
+ name: any;
931
+ avatar: any;
932
+ }[]>;
933
+ checkedIds: import("vue").ComputedRef<any[]>;
862
934
  btnDisabled: import("vue").ComputedRef<boolean>;
935
+ allChecked: import("vue").WritableComputedRef<boolean>;
863
936
  handlePositiveClick: () => Promise<void>;
937
+ updateSourceIds: (value: (string | number)[], meta: {
938
+ actionType: "check" | "uncheck";
939
+ value: string | number;
940
+ }) => void;
864
941
  renderSourceLabel: ({ option }: {
865
942
  option: import("../../shared/types").AnyObject;
866
943
  }) => JSX.Element;
867
- renderTargetList: (props: {
868
- onCheck: (checkedValueList: (string | number)[]) => void;
869
- checkedOptions: import("../../shared/types").AnyObject[];
870
- pattern: string;
871
- }) => JSX.Element | null;
944
+ closeTag: (id: string) => void;
945
+ renderTargetList: () => JSX.Element[] | null;
872
946
  NModal: any;
873
947
  NButton: any;
874
- NTransfer: any;
875
948
  NIcon: any;
876
949
  NInput: any;
950
+ NCheckbox: any;
951
+ NCheckboxGroup: any;
877
952
  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<{}>>, {}>;
878
953
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
879
954
  title: {
@@ -889,15 +964,17 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
889
964
  };
890
965
  disabledIds: {
891
966
  type: import("vue").PropType<string[]>;
967
+ default: () => never[];
892
968
  };
893
969
  defaultValue: {
894
- type: import("vue").PropType<string[]>;
970
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
895
971
  };
896
972
  }>> & {
897
973
  onComfirm?: ((...args: any[]) => any) | undefined;
898
974
  }, {
899
975
  mode: string;
900
976
  title: string;
977
+ disabledIds: string[];
901
978
  }>;
902
979
  emojis: {
903
980
  default: string[][];
@@ -947,9 +1024,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
947
1024
  };
948
1025
  disabledIds: {
949
1026
  type: import("vue").PropType<string[]>;
1027
+ default: () => never[];
950
1028
  };
951
1029
  defaultValue: {
952
- type: import("vue").PropType<string[]>;
1030
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
953
1031
  };
954
1032
  }, {
955
1033
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -966,9 +1044,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
966
1044
  };
967
1045
  disabledIds: {
968
1046
  type: import("vue").PropType<string[]>;
1047
+ default: () => never[];
969
1048
  };
970
1049
  defaultValue: {
971
- type: import("vue").PropType<string[]>;
1050
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
972
1051
  };
973
1052
  }>> & {
974
1053
  onComfirm?: ((...args: any[]) => any) | undefined;
@@ -976,24 +1055,35 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
976
1055
  emit: (event: "comfirm", ...args: any[]) => void;
977
1056
  state: import("./src/types").IState;
978
1057
  showModal: import("vue").Ref<boolean>;
979
- checkedIds: import("vue").Ref<(string | number)[]>;
1058
+ checkedOptions: import("vue").Ref<import("../../shared/types").AnyObject[]>;
980
1059
  options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
981
1060
  groupName: import("vue").Ref<string>;
1061
+ checkedSourceIds: import("vue").Ref<(string | number)[]>;
1062
+ _disabledIds: import("vue").ComputedRef<any[]>;
1063
+ defaultOptions: import("vue").ComputedRef<{
1064
+ id: any;
1065
+ name: any;
1066
+ avatar: any;
1067
+ }[]>;
1068
+ checkedIds: import("vue").ComputedRef<any[]>;
982
1069
  btnDisabled: import("vue").ComputedRef<boolean>;
1070
+ allChecked: import("vue").WritableComputedRef<boolean>;
983
1071
  handlePositiveClick: () => Promise<void>;
1072
+ updateSourceIds: (value: (string | number)[], meta: {
1073
+ actionType: "check" | "uncheck";
1074
+ value: string | number;
1075
+ }) => void;
984
1076
  renderSourceLabel: ({ option }: {
985
1077
  option: import("../../shared/types").AnyObject;
986
1078
  }) => JSX.Element;
987
- renderTargetList: (props: {
988
- onCheck: (checkedValueList: (string | number)[]) => void;
989
- checkedOptions: import("../../shared/types").AnyObject[];
990
- pattern: string;
991
- }) => JSX.Element | null;
1079
+ closeTag: (id: string) => void;
1080
+ renderTargetList: () => JSX.Element[] | null;
992
1081
  NModal: any;
993
1082
  NButton: any;
994
- NTransfer: any;
995
1083
  NIcon: any;
996
1084
  NInput: any;
1085
+ NCheckbox: any;
1086
+ NCheckboxGroup: any;
997
1087
  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<{}>>, {}>;
998
1088
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
999
1089
  title: {
@@ -1009,15 +1099,17 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1009
1099
  };
1010
1100
  disabledIds: {
1011
1101
  type: import("vue").PropType<string[]>;
1102
+ default: () => never[];
1012
1103
  };
1013
1104
  defaultValue: {
1014
- type: import("vue").PropType<string[]>;
1105
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
1015
1106
  };
1016
1107
  }>> & {
1017
1108
  onComfirm?: ((...args: any[]) => any) | undefined;
1018
1109
  }, {
1019
1110
  mode: string;
1020
1111
  title: string;
1112
+ disabledIds: string[];
1021
1113
  }>;
1022
1114
  Video: import("vue").DefineComponent<{}, {
1023
1115
  sendMessage: (message: {
@@ -1121,9 +1213,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1121
1213
  };
1122
1214
  disabledIds: {
1123
1215
  type: import("vue").PropType<string[]>;
1216
+ default: () => never[];
1124
1217
  };
1125
1218
  defaultValue: {
1126
- type: import("vue").PropType<string[]>;
1219
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
1127
1220
  };
1128
1221
  }, {
1129
1222
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -1140,9 +1233,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1140
1233
  };
1141
1234
  disabledIds: {
1142
1235
  type: import("vue").PropType<string[]>;
1236
+ default: () => never[];
1143
1237
  };
1144
1238
  defaultValue: {
1145
- type: import("vue").PropType<string[]>;
1239
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
1146
1240
  };
1147
1241
  }>> & {
1148
1242
  onComfirm?: ((...args: any[]) => any) | undefined;
@@ -1150,24 +1244,35 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1150
1244
  emit: (event: "comfirm", ...args: any[]) => void;
1151
1245
  state: import("./src/types").IState;
1152
1246
  showModal: import("vue").Ref<boolean>;
1153
- checkedIds: import("vue").Ref<(string | number)[]>;
1247
+ checkedOptions: import("vue").Ref<import("../../shared/types").AnyObject[]>;
1154
1248
  options: import("vue").Ref<import("../../shared/types").AnyObject[]>;
1155
1249
  groupName: import("vue").Ref<string>;
1250
+ checkedSourceIds: import("vue").Ref<(string | number)[]>;
1251
+ _disabledIds: import("vue").ComputedRef<any[]>;
1252
+ defaultOptions: import("vue").ComputedRef<{
1253
+ id: any;
1254
+ name: any;
1255
+ avatar: any;
1256
+ }[]>;
1257
+ checkedIds: import("vue").ComputedRef<any[]>;
1156
1258
  btnDisabled: import("vue").ComputedRef<boolean>;
1259
+ allChecked: import("vue").WritableComputedRef<boolean>;
1157
1260
  handlePositiveClick: () => Promise<void>;
1261
+ updateSourceIds: (value: (string | number)[], meta: {
1262
+ actionType: "check" | "uncheck";
1263
+ value: string | number;
1264
+ }) => void;
1158
1265
  renderSourceLabel: ({ option }: {
1159
1266
  option: import("../../shared/types").AnyObject;
1160
1267
  }) => JSX.Element;
1161
- renderTargetList: (props: {
1162
- onCheck: (checkedValueList: (string | number)[]) => void;
1163
- checkedOptions: import("../../shared/types").AnyObject[];
1164
- pattern: string;
1165
- }) => JSX.Element | null;
1268
+ closeTag: (id: string) => void;
1269
+ renderTargetList: () => JSX.Element[] | null;
1166
1270
  NModal: any;
1167
1271
  NButton: any;
1168
- NTransfer: any;
1169
1272
  NIcon: any;
1170
1273
  NInput: any;
1274
+ NCheckbox: any;
1275
+ NCheckboxGroup: any;
1171
1276
  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<{}>>, {}>;
1172
1277
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "comfirm"[], "comfirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1173
1278
  title: {
@@ -1183,15 +1288,17 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1183
1288
  };
1184
1289
  disabledIds: {
1185
1290
  type: import("vue").PropType<string[]>;
1291
+ default: () => never[];
1186
1292
  };
1187
1293
  defaultValue: {
1188
- type: import("vue").PropType<string[]>;
1294
+ type: import("vue").PropType<import("../../shared/types").AnyObject[]>;
1189
1295
  };
1190
1296
  }>> & {
1191
1297
  onComfirm?: ((...args: any[]) => any) | undefined;
1192
1298
  }, {
1193
1299
  mode: string;
1194
1300
  title: string;
1301
+ disabledIds: string[];
1195
1302
  }>;
1196
1303
  Call: 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<{}>>, {}>;
1197
1304
  Videocam: 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<{}>>, {}>;
@@ -1218,10 +1325,18 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1218
1325
  type: StringConstructor;
1219
1326
  default: string;
1220
1327
  };
1328
+ chatBox: {
1329
+ type: BooleanConstructor;
1330
+ default: boolean;
1331
+ };
1332
+ defaultSessionKey: {
1333
+ type: StringConstructor;
1334
+ };
1221
1335
  }>> & {
1222
1336
  "onTemplate-click"?: ((...args: any[]) => any) | undefined;
1223
1337
  "onUnread-message-update"?: ((...args: any[]) => any) | undefined;
1224
1338
  }, {
1225
1339
  baseURL: string;
1340
+ chatBox: boolean;
1226
1341
  }>>;
1227
1342
  export default IhoChat;