cnhis-design-vue 3.2.15-beta.2 → 3.2.15-beta.8

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 (187) hide show
  1. package/README.md +87 -87
  2. package/es/components/ai-chat/src/components/ChatMain.js +1 -1
  3. package/es/components/ai-chat/src/components/ChatPatient.vue2.js +1 -1
  4. package/es/components/big-table/src/BigTable.vue2.js +1 -1
  5. package/es/components/branch-notice/index.d.ts +393 -6
  6. package/es/components/branch-notice/src/BranchNotice.vue.d.ts +369 -6
  7. package/es/components/branch-notice/src/BranchNotice.vue2.js +1 -1
  8. package/es/components/branch-notice/src/canstants.d.ts +2 -1
  9. package/es/components/branch-notice/src/canstants.js +1 -1
  10. package/es/components/branch-notice/src/components/NoticeItem.vue.d.ts +168 -44
  11. package/es/components/branch-notice/src/components/NoticeItem.vue.js +1 -0
  12. package/es/components/branch-notice/src/components/NoticeItem.vue2.js +1 -0
  13. package/es/components/branch-notice/src/components/NoticeItemAside.vue.d.ts +74 -5
  14. package/es/components/branch-notice/src/components/NoticeItemAside.vue.js +1 -0
  15. package/es/components/branch-notice/src/components/NoticeItemAside.vue2.js +1 -0
  16. package/es/components/branch-notice/src/components/NoticeOperationList.vue.js +1 -0
  17. package/es/components/branch-notice/src/components/NoticeOperationList.vue2.js +1 -0
  18. package/es/components/branch-notice/src/drawLine.js +1 -1
  19. package/es/components/branch-notice/src/hooks/useTheme.d.ts +1 -0
  20. package/es/components/branch-notice/src/hooks/useTheme.js +1 -0
  21. package/es/components/branch-notice/src/types.d.ts +22 -4
  22. package/es/components/branch-notice/style/index.css +1 -1
  23. package/es/components/button-print/src/components/IdentityVerification.vue2.js +1 -1
  24. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
  25. package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
  26. package/es/components/classification/src/components/table-modal/index.vue.d.ts +3 -0
  27. package/es/components/classification/src/components/table-modal/index.vue2.js +1 -1
  28. package/es/components/expand-field/src/components/FormBatchOptionsModal.vue2.js +1 -1
  29. package/es/components/expand-field/src/components/PersonModal.vue2.js +1 -1
  30. package/es/components/expand-field/src/components/form.vue2.js +1 -1
  31. package/es/components/expand-field/src/index.vue2.js +1 -1
  32. package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
  33. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
  34. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
  35. package/es/components/fabric-chart/src/hooks/electrocardiogram/hooks/useDetailEvent.js +1 -1
  36. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogram.js +1 -1
  37. package/es/components/fabric-chart/src/hooks/electrocardiogram/useElectrocardiogramChart.js +1 -1
  38. package/es/components/fabric-chart/src/hooks/electrocardiogram/useMeasureInstrument.js +1 -1
  39. package/es/components/fabric-chart/src/hooks/index.d.ts +1 -0
  40. package/es/components/fabric-chart/src/hooks/index.js +1 -1
  41. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcess.js +1 -1
  42. package/es/components/fabric-chart/src/hooks/newBirthProcess/useNewBirthProcessChart.js +1 -1
  43. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
  44. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +1 -1
  45. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
  46. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  47. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
  48. package/es/components/fabric-chart/src/hooks/temperature/useBottom.js +1 -1
  49. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  50. package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
  51. package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
  52. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  53. package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -1
  54. package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
  55. package/es/components/fabric-chart/src/hooks/{temperature/useShadow.d.ts → useShadow.d.ts} +2 -2
  56. package/es/components/fabric-chart/src/hooks/useShadow.js +1 -0
  57. package/es/components/fabric-chart/src/utils/index.d.ts +1 -0
  58. package/es/components/fabric-chart/src/utils/index.js +1 -1
  59. package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
  60. package/es/components/field-set/src/FieldColor.vue2.js +1 -1
  61. package/es/components/field-set/src/FieldFilter.vue.d.ts +1 -1
  62. package/es/components/field-set/src/FieldFilter.vue2.js +1 -1
  63. package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
  64. package/es/components/field-set/src/FieldSet.vue2.js +1 -1
  65. package/es/components/field-set/src/TableStyle.vue2.js +1 -1
  66. package/es/components/field-set/src/components/edit-dialog.vue2.js +1 -1
  67. package/es/components/field-set/src/components/edit-filter.vue2.js +1 -1
  68. package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
  69. package/es/components/field-set/src/constants/filter.js +1 -1
  70. package/es/components/field-set/src/constants/index.js +1 -1
  71. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +1 -1
  72. package/es/components/form-config/src/hooks/useLocale.js +1 -1
  73. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  74. package/es/components/form-render/src/components/renderer/combination/combination.js +1 -1
  75. package/es/components/form-render/src/components/renderer/complex.js +1 -1
  76. package/es/components/form-render/src/components/renderer/date.js +1 -1
  77. package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
  78. package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
  79. package/es/components/form-render/src/components/renderer/select.js +1 -1
  80. package/es/components/form-render/src/components/renderer/switch.js +1 -1
  81. package/es/components/form-render/src/components/renderer/text.js +1 -1
  82. package/es/components/form-render/src/components/renderer/textarea.js +1 -1
  83. package/es/components/form-render/src/hooks/useAnchor.js +1 -1
  84. package/es/components/form-render/src/hooks/useBusinessBinding.js +1 -1
  85. package/es/components/form-render/src/hooks/useComplexOptions.js +1 -1
  86. package/es/components/form-render/src/hooks/useFieldNormalize.js +1 -1
  87. package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
  88. package/es/components/form-render/src/hooks/usePresetScope.js +1 -1
  89. package/es/components/form-render/src/utils/index.js +1 -1
  90. package/es/components/iho-chat/index.d.ts +261 -27
  91. package/es/components/iho-chat/src/Index.vue.d.ts +261 -27
  92. package/es/components/iho-chat/src/Index.vue2.js +1 -1
  93. package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +1 -0
  94. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
  95. package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +2 -0
  96. package/es/components/iho-chat/src/components/ChatFile.vue2.js +1 -1
  97. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +2 -0
  98. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +11 -2
  99. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +4 -1
  100. package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
  101. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +1 -0
  102. package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +34 -34
  103. package/es/components/iho-chat/src/components/ChatSearch.vue2.js +1 -1
  104. package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +4 -1
  105. package/es/components/iho-chat/src/components/ContextMenu.js +1 -1
  106. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +2 -0
  107. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -1
  108. package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +2 -1
  109. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
  110. package/es/components/iho-chat/src/components/SiderList.vue.d.ts +203 -4
  111. package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
  112. package/es/components/iho-chat/src/components/Video.vue.d.ts +1 -0
  113. package/es/components/iho-chat/src/components/Video.vue2.js +1 -1
  114. package/es/components/iho-chat/src/components/userItemRender.d.ts +18 -0
  115. package/es/components/iho-chat/src/components/userItemRender.js +1 -0
  116. package/es/components/iho-chat/src/hooks/useData.d.ts +4 -2
  117. package/es/components/iho-chat/src/hooks/useData.js +1 -1
  118. package/es/components/iho-chat/src/hooks/useVideo.d.ts +1 -0
  119. package/es/components/iho-chat/src/hooks/useWebSocket.js +1 -1
  120. package/es/components/iho-chat/src/types/index.d.ts +2 -0
  121. package/es/components/iho-chat/src/utils/index.js +1 -1
  122. package/es/components/iho-chat/style/index.css +1 -1
  123. package/es/components/iho-table/src/plugins/dynamicFilterRenderPlugin/dynamicFilter.vue2.js +1 -1
  124. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
  125. package/es/components/iho-table/src/plugins/filterTextPlugin/filter.vue2.js +1 -1
  126. package/es/components/index.css +1 -1
  127. package/es/components/info-header/src/components/patientInfo/index.vue2.js +1 -1
  128. package/es/components/keyboard/src/components/NumberPanel.vue2.js +1 -1
  129. package/es/components/map/src/Map.vue2.js +1 -1
  130. package/es/components/quick-search/src/index.vue2.js +1 -1
  131. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  132. package/es/components/scale-view/src/components/formitem/r-sign.js +1 -1
  133. package/es/components/scale-view/src/components/formitem/standard-modal.js +1 -1
  134. package/es/components/scale-view/src/hooks/scaleview-methods.js +1 -1
  135. package/es/components/scale-view/src/hooks/scaleview-submit.js +1 -1
  136. package/es/components/select-label/src/SelectLabel.vue2.js +1 -1
  137. package/es/components/select-label/src/ihoLabel/IhoSelectLabel.vue2.js +1 -1
  138. package/es/components/table-export-field/src/components/ExportModal.vue2.js +1 -1
  139. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +1 -1
  140. package/es/components/table-filter/src/components/bi-filter/helpers/options.js +1 -1
  141. package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +1 -1
  142. package/es/components/table-filter/src/tool/baseOptions.js +1 -1
  143. package/es/components/template-render/src/components/index.d.ts +23 -23
  144. package/es/components/tooth-bitmap/src/ToothBitmap.vue2.js +1 -1
  145. package/es/components/vod-chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue2.js +1 -1
  146. package/es/components/vod-chunk-upload/src/vod-upload-modal.js +1 -1
  147. package/es/env.d.ts +25 -25
  148. package/es/shared/assets/img/ai__avatar.png.js +1 -1
  149. package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
  150. package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
  151. package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
  152. package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
  153. package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
  154. package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
  155. package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
  156. package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
  157. package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
  158. package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
  159. package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
  160. package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
  161. package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
  162. package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
  163. package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
  164. package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
  165. package/es/shared/assets/img/failure.png.js +1 -1
  166. package/es/shared/assets/img/logo.png.js +1 -1
  167. package/es/shared/assets/img/no-permission.png.js +1 -1
  168. package/es/shared/assets/img/nodata.png.js +1 -1
  169. package/es/shared/assets/img/notfound.png.js +1 -1
  170. package/es/shared/assets/img/qr.png.js +1 -1
  171. package/es/shared/assets/img/success.png.js +1 -1
  172. package/es/shared/assets/img/table_style_2.png.js +1 -1
  173. package/es/shared/assets/img/video.png.js +1 -1
  174. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  175. package/es/shared/assets/img/xb_big.png.js +1 -1
  176. package/es/shared/assets/img/xb_small.png.js +1 -1
  177. package/es/shared/hooks/useLevelSearchCascader.js +1 -1
  178. package/es/shared/package.json.js +1 -1
  179. package/package.json +2 -2
  180. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  181. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
  182. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
  183. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
  184. package/es/components/fabric-chart/src/hooks/temperature/useShadow.js +0 -1
  185. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
  186. package/es/shared/utils/fabricjs/index.d.ts +0 -6823
  187. package/es/shared/utils/tapable/index.d.ts +0 -139
@@ -20,7 +20,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
20
20
  type: BooleanConstructor;
21
21
  default: boolean;
22
22
  };
23
- defaultSessionKey: {
23
+ defaultSessionId: {
24
24
  type: StringConstructor;
25
25
  };
26
26
  show: {
@@ -31,6 +31,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
31
31
  type: import("vue").PropType<import("../../shared/types").AnyObject>;
32
32
  default: () => {};
33
33
  };
34
+ filterable: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
34
38
  }, {
35
39
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
36
40
  token: {
@@ -53,7 +57,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
53
57
  type: BooleanConstructor;
54
58
  default: boolean;
55
59
  };
56
- defaultSessionKey: {
60
+ defaultSessionId: {
57
61
  type: StringConstructor;
58
62
  };
59
63
  show: {
@@ -64,6 +68,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
64
68
  type: import("vue").PropType<import("../../shared/types").AnyObject>;
65
69
  default: () => {};
66
70
  };
71
+ filterable: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
67
75
  }>> & {
68
76
  "onTemplate-click"?: ((...args: any[]) => any) | undefined;
69
77
  "onUnread-message-update"?: ((...args: any[]) => any) | undefined;
@@ -76,6 +84,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
76
84
  cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
77
85
  stompClient: import("vue").Ref<import("./src/utils/chatSock").ChatSock | undefined>;
78
86
  state: {
87
+ filterable: boolean;
79
88
  orgId: string | number;
80
89
  currentSessionItem: import("../../shared/types").AnyObject;
81
90
  id: string;
@@ -109,7 +118,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
109
118
  remark: string;
110
119
  content: import("../../shared/types").AnyObject;
111
120
  }) => Promise<void>;
112
- openSession: (item: import("../../shared/types").AnyObject) => Promise<void>;
121
+ openSession: (session: string | import("../../shared/types").AnyObject) => Promise<void>;
113
122
  closeSession: () => import("../../shared/types").AnyObject | null;
114
123
  getCurrentSession: () => import("../../shared/types").AnyObject | null;
115
124
  setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
@@ -119,6 +128,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
119
128
  };
120
129
  cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
121
130
  state: {
131
+ filterable: boolean;
122
132
  orgId: string | number;
123
133
  currentSessionItem: import("../../shared/types").AnyObject;
124
134
  id: string;
@@ -137,7 +147,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
137
147
  currentGroupUser: import("../../shared/types").AnyObject[];
138
148
  showMultipleVideo: boolean;
139
149
  };
140
- openSession: (item: import("../../shared/types").AnyObject) => Promise<void>;
150
+ openSession: (session: string | import("../../shared/types").AnyObject) => Promise<void>;
141
151
  closeSession: () => import("../../shared/types").AnyObject | null;
142
152
  getCurrentSession: () => import("../../shared/types").AnyObject | null;
143
153
  isEnded: import("vue").ComputedRef<boolean>;
@@ -155,8 +165,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
155
165
  unreadSessionKeys: string[];
156
166
  flexWidth: import("vue").Ref<number>;
157
167
  listBoxRef: import("vue").Ref<HTMLElement | undefined>;
158
- loading: import("vue").Ref<boolean>;
159
- filterList: import("vue").Ref<{
168
+ filterListByTag: import("vue").Ref<{
160
169
  label: string;
161
170
  key: string;
162
171
  }[]>;
@@ -165,7 +174,13 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
165
174
  menuPosition: any;
166
175
  sessionId: import("vue").Ref<any>;
167
176
  currentFilterKey: import("vue").Ref<string>;
177
+ dateRange: import("vue").Ref<any>;
178
+ keyword: import("vue").Ref<string>;
179
+ showSearch: import("vue").Ref<boolean>;
180
+ filterList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
181
+ handleInput: () => void;
168
182
  state: {
183
+ filterable: boolean;
169
184
  orgId: string | number;
170
185
  currentSessionItem: import("../../shared/types").AnyObject;
171
186
  id: string;
@@ -185,7 +200,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
185
200
  showMultipleVideo: boolean;
186
201
  };
187
202
  unreadTotal: import("vue").ComputedRef<number>;
188
- openSession: (item: import("../../shared/types").AnyObject) => Promise<void>;
203
+ openSession: (session: string | import("../../shared/types").AnyObject) => Promise<void>;
189
204
  setUpdateSessionItem: (item: import("../../shared/types").AnyObject) => void;
190
205
  setCurrentSessionItem: (item: import("../../shared/types").AnyObject) => void;
191
206
  currentWidth: import("vue").ComputedRef<number>;
@@ -196,10 +211,14 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
196
211
  showSession: (item: import("../../shared/types").AnyObject, currentKey?: string) => boolean | undefined;
197
212
  handleContextmenu: (event: MouseEvent, id: string) => Promise<void>;
198
213
  handleSelect: (key: string, session: import("../../shared/types").AnyObject) => Promise<void>;
199
- NSpin: any;
214
+ handleUpdateShow: (value: boolean) => void;
215
+ handleSearch: () => void;
200
216
  NBadge: any;
201
217
  NAvatar: any;
218
+ NInput: any;
202
219
  NTag: any;
220
+ NIcon: any;
221
+ NPopover: any;
203
222
  ContextMenu: import("vue").DefineComponent<{
204
223
  type: {
205
224
  type: StringConstructor;
@@ -243,9 +262,200 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
243
262
  };
244
263
  formatTime: typeof import("./src/utils").formatTime;
245
264
  STATUS: typeof import("./src/constants").STATUS;
265
+ CDatePicker: SFCWithInstall<import("vue").DefineComponent<{
266
+ updateUnchangedValue: {
267
+ type: BooleanConstructor;
268
+ };
269
+ onConfirm: {
270
+ type: FunctionConstructor;
271
+ };
272
+ formattedValue: {
273
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
274
+ };
275
+ placeholder: {
276
+ type: StringConstructor;
277
+ };
278
+ allowedInvalidValue: {
279
+ type: StringConstructor;
280
+ };
281
+ to: {
282
+ type: import("vue").PropType<string | false | HTMLElement>;
283
+ default: string;
284
+ };
285
+ holidays: {
286
+ type: import("vue").PropType<Date[]>;
287
+ default: () => never[];
288
+ };
289
+ type: {
290
+ type: StringConstructor;
291
+ default: string;
292
+ };
293
+ }, {
294
+ attrs: {
295
+ [x: string]: unknown;
296
+ };
297
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
298
+ updateUnchangedValue: {
299
+ type: BooleanConstructor;
300
+ };
301
+ onConfirm: {
302
+ type: FunctionConstructor;
303
+ };
304
+ formattedValue: {
305
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
306
+ };
307
+ placeholder: {
308
+ type: StringConstructor;
309
+ };
310
+ allowedInvalidValue: {
311
+ type: StringConstructor;
312
+ };
313
+ to: {
314
+ type: import("vue").PropType<string | false | HTMLElement>;
315
+ default: string;
316
+ };
317
+ holidays: {
318
+ type: import("vue").PropType<Date[]>;
319
+ default: () => never[];
320
+ };
321
+ type: {
322
+ type: StringConstructor;
323
+ default: string;
324
+ };
325
+ }>> & {
326
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
327
+ }>>;
328
+ emit: (event: "update:formatted-value", ...args: any[]) => void;
329
+ datePickerRef: import("vue").Ref<import("../../shared/types").AnyObject | null>;
330
+ panelInstRef: import("vue").Ref<null>;
331
+ placeholderRef: import("vue").Ref<any>;
332
+ oldValue: string;
333
+ currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
334
+ isDateTime: import("vue").ComputedRef<boolean>;
335
+ formatRef: import("vue").ComputedRef<string>;
336
+ panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
337
+ focus: () => any;
338
+ blur: () => any;
339
+ handleConfirm: (target: HTMLInputElement) => void;
340
+ onUpdateShow: (show: boolean) => Promise<void>;
341
+ watchers: import("../../shared/types").AnyFn[];
342
+ stopWatcher: () => void;
343
+ setHoliday: (show: boolean) => Promise<void>;
344
+ onConfirm: (...args: any[]) => Promise<void>;
345
+ isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
346
+ setShortcutValue: (type: "month" | "week") => Promise<void>;
347
+ NDatePicker: any;
348
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
349
+ updateUnchangedValue: {
350
+ type: BooleanConstructor;
351
+ };
352
+ onConfirm: {
353
+ type: FunctionConstructor;
354
+ };
355
+ formattedValue: {
356
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
357
+ };
358
+ placeholder: {
359
+ type: StringConstructor;
360
+ };
361
+ allowedInvalidValue: {
362
+ type: StringConstructor;
363
+ };
364
+ to: {
365
+ type: import("vue").PropType<string | false | HTMLElement>;
366
+ default: string;
367
+ };
368
+ holidays: {
369
+ type: import("vue").PropType<Date[]>;
370
+ default: () => never[];
371
+ };
372
+ type: {
373
+ type: StringConstructor;
374
+ default: string;
375
+ };
376
+ }>> & {
377
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
378
+ }, {
379
+ type: string;
380
+ updateUnchangedValue: boolean;
381
+ to: string | false | HTMLElement;
382
+ holidays: Date[];
383
+ }>>;
384
+ 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<{}>>, {}>;
385
+ userItemRender: import("vue").DefineComponent<{
386
+ item: {
387
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
388
+ default: () => {};
389
+ };
390
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "item-click"[], "item-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
391
+ item: {
392
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
393
+ default: () => {};
394
+ };
395
+ }>> & {
396
+ "onItem-click"?: ((...args: any[]) => any) | undefined;
397
+ }, {
398
+ item: import("../../shared/types").AnyObject;
399
+ }>;
400
+ DefaultPage: SFCWithInstall<import("vue").DefineComponent<{
401
+ type: {
402
+ type: StringConstructor;
403
+ default: string;
404
+ };
405
+ config: {
406
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
407
+ default: () => {
408
+ title: string;
409
+ content: string;
410
+ };
411
+ };
412
+ }, {
413
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
414
+ type: {
415
+ type: StringConstructor;
416
+ default: string;
417
+ };
418
+ config: {
419
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
420
+ default: () => {
421
+ title: string;
422
+ content: string;
423
+ };
424
+ };
425
+ }>> & {
426
+ onReloadPage?: ((...args: any[]) => any) | undefined;
427
+ }>>;
428
+ emit: (event: "reloadPage", ...args: any[]) => void;
429
+ configResult: import("vue").ComputedRef<{
430
+ title: string;
431
+ content: string;
432
+ img: string;
433
+ }>;
434
+ reloadPage: () => void;
435
+ NIcon: any;
436
+ Refresh: 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<{}>>, {}>;
437
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "reloadPage"[], "reloadPage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
438
+ type: {
439
+ type: StringConstructor;
440
+ default: string;
441
+ };
442
+ config: {
443
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
444
+ default: () => {
445
+ title: string;
446
+ content: string;
447
+ };
448
+ };
449
+ }>> & {
450
+ onReloadPage?: ((...args: any[]) => any) | undefined;
451
+ }, {
452
+ type: string;
453
+ config: import("../../shared/types").AnyObject;
454
+ }>>;
246
455
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
247
456
  ChatHeader: import("vue").DefineComponent<{}, {
248
457
  state: {
458
+ filterable: boolean;
249
459
  orgId: string | number;
250
460
  currentSessionItem: import("../../shared/types").AnyObject;
251
461
  id: string;
@@ -315,6 +525,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
315
525
  }>>;
316
526
  emit: (event: "close", ...args: any[]) => void;
317
527
  state: {
528
+ filterable: boolean;
318
529
  orgId: string | number;
319
530
  currentSessionItem: import("../../shared/types").AnyObject;
320
531
  id: string;
@@ -333,7 +544,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
333
544
  currentGroupUser: import("../../shared/types").AnyObject[];
334
545
  showMultipleVideo: boolean;
335
546
  };
336
- openSession: (item: import("../../shared/types").AnyObject) => Promise<void>;
547
+ openSession: (session: string | import("../../shared/types").AnyObject) => Promise<void>;
337
548
  showUserDetail: import("vue").Ref<boolean>;
338
549
  showLargeAvatar: import("vue").Ref<boolean>;
339
550
  showPhone: import("vue").Ref<boolean>;
@@ -381,6 +592,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
381
592
  [x: string]: unknown;
382
593
  };
383
594
  state: {
595
+ filterable: boolean;
384
596
  orgId: string | number;
385
597
  currentSessionItem: import("../../shared/types").AnyObject;
386
598
  id: string;
@@ -455,6 +667,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
455
667
  }>>;
456
668
  emit: (event: "close", ...args: any[]) => void;
457
669
  state: {
670
+ filterable: boolean;
458
671
  orgId: string | number;
459
672
  currentSessionItem: import("../../shared/types").AnyObject;
460
673
  id: string;
@@ -473,7 +686,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
473
686
  currentGroupUser: import("../../shared/types").AnyObject[];
474
687
  showMultipleVideo: boolean;
475
688
  };
476
- openSession: (item: import("../../shared/types").AnyObject) => Promise<void>;
689
+ openSession: (session: string | import("../../shared/types").AnyObject) => Promise<void>;
477
690
  showUserDetail: import("vue").Ref<boolean>;
478
691
  showLargeAvatar: import("vue").Ref<boolean>;
479
692
  showPhone: import("vue").Ref<boolean>;
@@ -570,6 +783,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
570
783
  }>>;
571
784
  emit: (event: "comfirm", ...args: any[]) => void;
572
785
  state: {
786
+ filterable: boolean;
573
787
  orgId: string | number;
574
788
  currentSessionItem: import("../../shared/types").AnyObject;
575
789
  id: string;
@@ -681,6 +895,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
681
895
  }>> & {}>>;
682
896
  cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
683
897
  state: {
898
+ filterable: boolean;
684
899
  orgId: string | number;
685
900
  currentSessionItem: import("../../shared/types").AnyObject;
686
901
  id: string;
@@ -788,6 +1003,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
788
1003
  }>>;
789
1004
  emit: (event: "comfirm", ...args: any[]) => void;
790
1005
  state: {
1006
+ filterable: boolean;
791
1007
  orgId: string | number;
792
1008
  currentSessionItem: import("../../shared/types").AnyObject;
793
1009
  id: string;
@@ -905,6 +1121,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
905
1121
  };
906
1122
  }>> & {}>>;
907
1123
  state: {
1124
+ filterable: boolean;
908
1125
  orgId: string | number;
909
1126
  currentSessionItem: import("../../shared/types").AnyObject;
910
1127
  id: string;
@@ -1137,6 +1354,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1137
1354
  }>>;
1138
1355
  emit: (event: "comfirm", ...args: any[]) => void;
1139
1356
  state: {
1357
+ filterable: boolean;
1140
1358
  orgId: string | number;
1141
1359
  currentSessionItem: import("../../shared/types").AnyObject;
1142
1360
  id: string;
@@ -1233,6 +1451,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1233
1451
  ChatMain: import("vue").DefineComponent<{}, {
1234
1452
  chatMainRef: import("vue").Ref<HTMLElement | undefined>;
1235
1453
  state: {
1454
+ filterable: boolean;
1236
1455
  orgId: string | number;
1237
1456
  currentSessionItem: import("../../shared/types").AnyObject;
1238
1457
  id: string;
@@ -1323,6 +1542,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1323
1542
  }>>;
1324
1543
  emit: (event: "close", ...args: any[]) => void;
1325
1544
  state: {
1545
+ filterable: boolean;
1326
1546
  orgId: string | number;
1327
1547
  currentSessionItem: import("../../shared/types").AnyObject;
1328
1548
  id: string;
@@ -1341,7 +1561,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1341
1561
  currentGroupUser: import("../../shared/types").AnyObject[];
1342
1562
  showMultipleVideo: boolean;
1343
1563
  };
1344
- openSession: (item: import("../../shared/types").AnyObject) => Promise<void>;
1564
+ openSession: (session: string | import("../../shared/types").AnyObject) => Promise<void>;
1345
1565
  showUserDetail: import("vue").Ref<boolean>;
1346
1566
  showLargeAvatar: import("vue").Ref<boolean>;
1347
1567
  showPhone: import("vue").Ref<boolean>;
@@ -1557,6 +1777,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1557
1777
  }>>;
1558
1778
  emit: (event: "comfirm", ...args: any[]) => void;
1559
1779
  state: {
1780
+ filterable: boolean;
1560
1781
  orgId: string | number;
1561
1782
  currentSessionItem: import("../../shared/types").AnyObject;
1562
1783
  id: string;
@@ -1660,6 +1881,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1660
1881
  ChatFooter: import("vue").DefineComponent<{}, {
1661
1882
  inputRef: import("vue").Ref<HTMLDivElement | undefined>;
1662
1883
  state: {
1884
+ filterable: boolean;
1663
1885
  orgId: string | number;
1664
1886
  currentSessionItem: import("../../shared/types").AnyObject;
1665
1887
  id: string;
@@ -1763,6 +1985,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1763
1985
  }>>;
1764
1986
  emit: (event: "comfirm", ...args: any[]) => void;
1765
1987
  state: {
1988
+ filterable: boolean;
1766
1989
  orgId: string | number;
1767
1990
  currentSessionItem: import("../../shared/types").AnyObject;
1768
1991
  id: string;
@@ -1870,6 +2093,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1870
2093
  keyword: import("vue").Ref<string>;
1871
2094
  cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
1872
2095
  state: {
2096
+ filterable: boolean;
1873
2097
  orgId: string | number;
1874
2098
  currentSessionItem: import("../../shared/types").AnyObject;
1875
2099
  id: string;
@@ -1888,28 +2112,14 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1888
2112
  currentGroupUser: import("../../shared/types").AnyObject[];
1889
2113
  showMultipleVideo: boolean;
1890
2114
  };
1891
- openSession: (item: import("../../shared/types").AnyObject) => Promise<void>;
1892
2115
  userList: import("vue").Ref<import("../../shared/types").AnyObject[]>;
1893
2116
  handleInput: () => void;
1894
2117
  currentTabValue: import("vue").Ref<string>;
1895
- userItemRender: import("vue").DefineComponent<{
1896
- item: {
1897
- type: import("vue").PropType<import("../../shared/types").AnyObject>;
1898
- default: () => {};
1899
- };
1900
- }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1901
- item: {
1902
- type: import("vue").PropType<import("../../shared/types").AnyObject>;
1903
- default: () => {};
1904
- };
1905
- }>>, {
1906
- item: import("../../shared/types").AnyObject;
1907
- }>;
1908
2118
  groupList: import("vue").ComputedRef<import("../../shared/types").AnyObject[]>;
1909
2119
  showNoData: import("vue").ComputedRef<boolean>;
1910
2120
  showAllNoData: import("vue").ComputedRef<boolean>;
1911
2121
  showGroupNoData: import("vue").ComputedRef<boolean>;
1912
- addSession: (id: string) => Promise<void>;
2122
+ handleClose: () => void;
1913
2123
  NPopover: any;
1914
2124
  NButton: any;
1915
2125
  NInput: any;
@@ -1973,6 +2183,21 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
1973
2183
  type: string;
1974
2184
  config: import("../../shared/types").AnyObject;
1975
2185
  }>>;
2186
+ userItemRender: import("vue").DefineComponent<{
2187
+ item: {
2188
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
2189
+ default: () => {};
2190
+ };
2191
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "item-click"[], "item-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2192
+ item: {
2193
+ type: import("vue").PropType<import("../../shared/types").AnyObject>;
2194
+ default: () => {};
2195
+ };
2196
+ }>> & {
2197
+ "onItem-click"?: ((...args: any[]) => any) | undefined;
2198
+ }, {
2199
+ item: import("../../shared/types").AnyObject;
2200
+ }>;
1976
2201
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1977
2202
  ChatAdd: import("vue").DefineComponent<{
1978
2203
  title: {
@@ -2028,6 +2253,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
2028
2253
  }>>;
2029
2254
  emit: (event: "comfirm", ...args: any[]) => void;
2030
2255
  state: {
2256
+ filterable: boolean;
2031
2257
  orgId: string | number;
2032
2258
  currentSessionItem: import("../../shared/types").AnyObject;
2033
2259
  id: string;
@@ -2125,6 +2351,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
2125
2351
  receiver?: string | undefined;
2126
2352
  }) => Promise<void>;
2127
2353
  state: {
2354
+ filterable: boolean;
2128
2355
  orgId: string | number;
2129
2356
  currentSessionItem: import("../../shared/types").AnyObject;
2130
2357
  id: string;
@@ -2206,6 +2433,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
2206
2433
  name: string;
2207
2434
  }[]>;
2208
2435
  state: {
2436
+ filterable: boolean;
2209
2437
  orgId: string | number;
2210
2438
  currentSessionItem: import("../../shared/types").AnyObject;
2211
2439
  id: string;
@@ -2323,6 +2551,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
2323
2551
  }>>;
2324
2552
  emit: (event: "comfirm", ...args: any[]) => void;
2325
2553
  state: {
2554
+ filterable: boolean;
2326
2555
  orgId: string | number;
2327
2556
  currentSessionItem: import("../../shared/types").AnyObject;
2328
2557
  id: string;
@@ -2442,7 +2671,7 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
2442
2671
  type: BooleanConstructor;
2443
2672
  default: boolean;
2444
2673
  };
2445
- defaultSessionKey: {
2674
+ defaultSessionId: {
2446
2675
  type: StringConstructor;
2447
2676
  };
2448
2677
  show: {
@@ -2453,6 +2682,10 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
2453
2682
  type: import("vue").PropType<import("../../shared/types").AnyObject>;
2454
2683
  default: () => {};
2455
2684
  };
2685
+ filterable: {
2686
+ type: BooleanConstructor;
2687
+ default: boolean;
2688
+ };
2456
2689
  }>> & {
2457
2690
  "onTemplate-click"?: ((...args: any[]) => any) | undefined;
2458
2691
  "onUnread-message-update"?: ((...args: any[]) => any) | undefined;
@@ -2463,5 +2696,6 @@ declare const IhoChat: SFCWithInstall<import("vue").DefineComponent<{
2463
2696
  showHeader: boolean;
2464
2697
  baseURL: string;
2465
2698
  extraParams: import("../../shared/types").AnyObject;
2699
+ filterable: boolean;
2466
2700
  }>>;
2467
2701
  export default IhoChat;