cnhis-design-vue 3.2.1-release.2 → 3.2.2-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 (192) hide show
  1. package/README.md +87 -87
  2. package/es/components/biunique-chat/index.d.ts +750 -562
  3. package/es/components/biunique-chat/index.js +1 -1
  4. package/es/components/biunique-chat/src/Index.vue.d.ts +1213 -0
  5. package/es/components/biunique-chat/src/Index.vue.js +1 -0
  6. package/es/components/biunique-chat/src/Index.vue2.js +1 -0
  7. package/es/components/biunique-chat/src/api/index.d.ts +2 -5
  8. package/es/components/biunique-chat/src/api/index.js +1 -1
  9. package/es/components/biunique-chat/src/components/ChatFile.vue.d.ts +241 -0
  10. package/es/components/biunique-chat/src/components/ChatFile.vue.js +1 -0
  11. package/es/components/biunique-chat/src/components/ChatFile.vue2.js +1 -0
  12. package/es/components/biunique-chat/src/components/ChatFooter.vue.d.ts +3 -5
  13. package/es/components/biunique-chat/src/components/ChatFooter.vue2.js +1 -1
  14. package/es/components/biunique-chat/src/components/ChatHeader.vue.d.ts +639 -0
  15. package/es/components/biunique-chat/src/components/ChatHeader.vue2.js +1 -1
  16. package/es/components/biunique-chat/src/components/ChatMain.vue.d.ts +61 -5
  17. package/es/components/biunique-chat/src/components/ChatMain.vue2.js +1 -1
  18. package/es/components/biunique-chat/src/components/ChatRecord.vue.d.ts +101 -0
  19. package/es/components/biunique-chat/src/components/ChatRecord.vue.js +1 -0
  20. package/es/components/biunique-chat/src/components/ChatRecord.vue2.js +1 -0
  21. package/es/components/biunique-chat/src/components/ChatSet.vue.d.ts +246 -0
  22. package/es/components/biunique-chat/src/components/ChatSet.vue.js +1 -0
  23. package/es/components/biunique-chat/src/components/ChatSet.vue2.js +1 -0
  24. package/es/components/biunique-chat/src/components/PersonProfile.vue.d.ts +59 -0
  25. package/es/components/biunique-chat/src/components/PersonProfile.vue.js +1 -0
  26. package/es/components/biunique-chat/src/components/PersonProfile.vue2.js +1 -0
  27. package/es/components/biunique-chat/src/components/SiderList.vue.d.ts +18 -28
  28. package/es/components/biunique-chat/src/components/SiderList.vue2.js +1 -1
  29. package/es/components/biunique-chat/src/hooks/useState.d.ts +7 -0
  30. package/es/components/biunique-chat/src/hooks/useState.js +1 -0
  31. package/es/components/biunique-chat/src/types/index.d.ts +10 -0
  32. package/es/components/biunique-chat/src/utils/index.d.ts +6 -0
  33. package/es/components/biunique-chat/src/utils/index.js +1 -0
  34. package/es/components/biunique-chat/style/iconfont.ttf +0 -0
  35. package/es/components/biunique-chat/style/index.css +1 -1
  36. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  37. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
  38. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
  39. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
  40. package/es/components/button-print/src/utils/print.d.ts +2 -1
  41. package/es/components/button-print/src/utils/print.js +1 -1
  42. package/es/components/callback/src/components/render/popupMaps.d.ts +74 -70
  43. package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
  44. package/es/components/classification/src/index.vue.d.ts +3 -3
  45. package/es/components/default-page/index.d.ts +71 -0
  46. package/es/components/default-page/index.js +1 -0
  47. package/es/components/default-page/src/constants/index.d.ts +19 -0
  48. package/es/components/default-page/src/constants/index.js +1 -0
  49. package/es/components/default-page/src/index.vue.d.ts +72 -0
  50. package/es/components/default-page/src/index.vue.js +1 -0
  51. package/es/components/default-page/src/index.vue2.js +1 -0
  52. package/es/components/default-page/style/index.css +1 -0
  53. package/es/components/expand-field/src/components/form.vue2.js +1 -1
  54. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
  55. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
  56. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
  57. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +1 -1
  58. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
  59. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  60. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
  61. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  62. package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
  63. package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
  64. package/es/components/fabric-chart/src/hooks/useCommon.d.ts +1 -0
  65. package/es/components/fabric-chart/src/hooks/useCommon.js +1 -1
  66. package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -1
  67. package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
  68. package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
  69. package/es/components/field-set/src/components/Row.vue.d.ts +1 -1
  70. package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -1
  71. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue2.js +1 -1
  72. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  73. package/es/components/form-render/src/hooks/useFormEvent.js +1 -1
  74. package/es/components/form-render/src/hooks/useSelectedSetting.d.ts +3 -4
  75. package/es/components/form-render/src/hooks/useSelectedSetting.js +1 -1
  76. package/es/components/iho-table/index.d.ts +74 -70
  77. package/es/components/iho-table/src/IhoTable.vue.d.ts +74 -70
  78. package/es/components/iho-table/src/IhoTable.vue2.js +1 -1
  79. package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +3 -1
  80. package/es/components/iho-table/src/hooks/tapHooks/index.js +1 -1
  81. package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +1 -0
  82. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +2 -1
  83. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.js +1 -1
  84. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -0
  85. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
  86. package/es/components/iho-table/src/plugins/headerPlugin.js +1 -1
  87. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.js +1 -1
  88. package/es/components/iho-table/src/plugins/verticalTablePlugin/index.js +1 -1
  89. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/index.d.ts +117 -0
  90. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/index.js +1 -0
  91. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useColumn2Data.d.ts +2 -0
  92. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useColumn2Data.js +1 -0
  93. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useCurrentColumn.d.ts +2 -0
  94. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useCurrentColumn.js +1 -0
  95. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useData2Column.d.ts +2 -0
  96. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useData2Column.js +1 -0
  97. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useEditCell.d.ts +2 -0
  98. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useEditCell.js +1 -0
  99. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useEventConvert.d.ts +2 -0
  100. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useEventConvert.js +1 -0
  101. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useExpose.d.ts +2 -0
  102. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useExpose.js +1 -0
  103. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useHeaderCSS.d.ts +2 -0
  104. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useHeaderCSS.js +1 -0
  105. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useHoverColumn.d.ts +2 -0
  106. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useHoverColumn.js +1 -0
  107. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useTriggerRow.d.ts +2 -0
  108. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/hooks/useTriggerRow.js +1 -0
  109. package/es/components/iho-table/src/plugins/verticalTablePlugin/{renderer.d.ts → src/renderer.d.ts} +2 -1
  110. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/renderer.js +1 -0
  111. package/es/components/iho-table/src/plugins/verticalTablePlugin/{types.d.ts → src/types.d.ts} +4 -3
  112. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/types.js +1 -0
  113. package/es/components/iho-table/src/plugins/verticalTablePlugin/{utils.d.ts → src/utils.d.ts} +8 -6
  114. package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.js +1 -0
  115. package/es/components/iho-table/src/types/index.d.ts +34 -4
  116. package/es/components/iho-table/src/types/pluginType.d.ts +1 -0
  117. package/es/components/iho-table/src/utils/index.d.ts +1 -1
  118. package/es/components/iho-table/src/utils/index.js +1 -1
  119. package/es/components/iho-table/style/index.css +1 -1
  120. package/es/components/index.css +1 -1
  121. package/es/components/index.d.ts +4 -1
  122. package/es/components/index.js +1 -1
  123. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  124. package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
  125. package/es/components/select-person/src/SearchMultiple.vue.d.ts +0 -6
  126. package/es/components/step-notice/index.d.ts +310 -0
  127. package/es/components/step-notice/index.js +1 -0
  128. package/es/components/step-notice/src/StepNotice.vue.d.ts +288 -0
  129. package/es/components/step-notice/src/StepNotice.vue.js +1 -0
  130. package/es/components/step-notice/src/StepNotice.vue2.js +1 -0
  131. package/es/components/step-notice/src/components/NoticeConnection.vue.d.ts +39 -0
  132. package/es/components/step-notice/src/components/NoticeConnection.vue.js +1 -0
  133. package/es/components/step-notice/src/components/NoticeConnection.vue2.js +1 -0
  134. package/es/components/step-notice/src/components/NoticeItem.vue.d.ts +151 -0
  135. package/es/components/step-notice/src/components/NoticeItem.vue.js +1 -0
  136. package/es/components/step-notice/src/components/NoticeItem.vue2.js +1 -0
  137. package/es/components/step-notice/src/components/NoticeItemAside.vue.d.ts +35 -0
  138. package/es/components/step-notice/src/components/NoticeItemAside.vue.js +1 -0
  139. package/es/components/step-notice/src/components/NoticeItemAside.vue2.js +1 -0
  140. package/es/components/step-notice/src/components/NoticeOperationList.vue.d.ts +49 -0
  141. package/es/components/step-notice/src/components/NoticeOperationList.vue.js +1 -0
  142. package/es/components/step-notice/src/components/NoticeOperationList.vue2.js +1 -0
  143. package/es/components/step-notice/src/hooks/useTheme.d.ts +1 -0
  144. package/es/components/step-notice/src/hooks/useTheme.js +1 -0
  145. package/es/components/step-notice/src/types.d.ts +33 -0
  146. package/es/components/step-notice/src/types.js +1 -0
  147. package/es/components/step-notice/src/utils.d.ts +3 -0
  148. package/es/components/step-notice/src/utils.js +1 -0
  149. package/es/components/step-notice/style/index.css +1 -0
  150. package/es/env.d.ts +25 -25
  151. package/es/shared/assets/img/defaultCover/10reload.jpg.js +1 -0
  152. package/es/shared/assets/img/defaultCover/1tab.jpg.js +1 -0
  153. package/es/shared/assets/img/defaultCover/2menu.jpg.js +1 -0
  154. package/es/shared/assets/img/defaultCover/3view.jpg.js +1 -0
  155. package/es/shared/assets/img/defaultCover/4system.jpg.js +1 -0
  156. package/es/shared/assets/img/defaultCover/5location.jpg.js +1 -0
  157. package/es/shared/assets/img/defaultCover/6notfound.jpg.js +1 -0
  158. package/es/shared/assets/img/defaultCover/7loading.jpg.js +1 -0
  159. package/es/shared/assets/img/defaultCover/8nopermission.jpg.js +1 -0
  160. package/es/shared/assets/img/defaultCover/9nodata.jpg.js +1 -0
  161. package/es/shared/assets/img/failure.png.js +1 -1
  162. package/es/shared/assets/img/no-permission.png.js +1 -1
  163. package/es/shared/assets/img/nodata.png.js +1 -1
  164. package/es/shared/assets/img/notfound.png.js +1 -1
  165. package/es/shared/assets/img/qr.png.js +1 -1
  166. package/es/shared/assets/img/success.png.js +1 -1
  167. package/es/shared/assets/img/table_style_2.png.js +1 -1
  168. package/es/shared/assets/img/video.png.js +1 -1
  169. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  170. package/es/shared/assets/img/xb_big.png.js +1 -1
  171. package/es/shared/assets/img/xb_small.png.js +1 -1
  172. package/es/shared/components/JSONTree/JSONTree.vue.d.ts +26 -0
  173. package/es/shared/components/JSONTree/JSONTree.vue.js +1 -0
  174. package/es/shared/components/JSONTree/JSONTree.vue2.js +1 -0
  175. package/es/shared/components/JSONTree/index.d.ts +2 -0
  176. package/es/shared/components/JSONTree/index.js +1 -0
  177. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
  178. package/es/shared/hooks/index.js +1 -1
  179. package/es/shared/hooks/useTheme.d.ts +1 -0
  180. package/es/shared/hooks/useTheme.js +1 -1
  181. package/es/shared/package.json.js +1 -1
  182. package/es/shared/utils/fabricjs/index.d.ts +6823 -0
  183. package/es/shared/utils/tapable/index.d.ts +139 -0
  184. package/package.json +2 -2
  185. package/es/components/biunique-chat/src/BiuniqueChat.vue.d.ts +0 -1005
  186. package/es/components/biunique-chat/src/BiuniqueChat.vue.js +0 -1
  187. package/es/components/biunique-chat/src/BiuniqueChat.vue2.js +0 -1
  188. package/es/components/iho-table/src/plugins/verticalTablePlugin/renderer.js +0 -1
  189. package/es/components/iho-table/src/plugins/verticalTablePlugin/utils.js +0 -1
  190. /package/es/components/{iho-table/src/plugins/verticalTablePlugin/types.js → biunique-chat/src/types/index.js} +0 -0
  191. /package/es/components/iho-table/src/plugins/verticalTablePlugin/{constants.d.ts → src/constants.d.ts} +0 -0
  192. /package/es/components/iho-table/src/plugins/verticalTablePlugin/{constants.js → src/constants.js} +0 -0
@@ -1,7 +1,646 @@
1
1
  import { AnyObject } from '../../../../shared/types';
2
2
  declare const _default: import("vue").DefineComponent<{}, {
3
3
  state: AnyObject;
4
+ showChatSet: import("vue").Ref<boolean>;
5
+ showChatFile: import("vue").Ref<boolean>;
6
+ chatFileType: import("vue").Ref<string>;
7
+ showChatRecord: import("vue").Ref<boolean>;
4
8
  username: import("vue").ComputedRef<any>;
9
+ handleOpenChatFile: (type: string) => void;
5
10
  NAvatar: any;
11
+ PersonProfile: import("vue").DefineComponent<{
12
+ userInfo: {
13
+ type: import("vue").PropType<AnyObject>;
14
+ required: true;
15
+ };
16
+ }, {
17
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
18
+ userInfo: {
19
+ type: import("vue").PropType<AnyObject>;
20
+ required: true;
21
+ };
22
+ }>> & {}>>;
23
+ showLargeAvatar: import("vue").Ref<boolean>;
24
+ showPhone: import("vue").Ref<boolean>;
25
+ personInfo: import("vue").ComputedRef<({
26
+ label: string;
27
+ content: string;
28
+ key?: undefined;
29
+ } | {
30
+ label: string;
31
+ content: string;
32
+ key: string;
33
+ })[]>;
34
+ getContent: (info: AnyObject) => any;
35
+ onFinish: (options: {
36
+ file: import("naive-ui").UploadFileInfo;
37
+ }) => void;
38
+ onChange: (options: {
39
+ file: import("naive-ui").UploadFileInfo;
40
+ }) => void;
41
+ NAvatar: any;
42
+ NPopover: any;
43
+ NButton: any;
44
+ NIcon: any;
45
+ NUpload: any;
46
+ NUploadTrigger: import("vue").DefineComponent<{
47
+ abstract: BooleanConstructor;
48
+ }, () => JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
49
+ [key: string]: any;
50
+ }>[] | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
51
+ abstract: BooleanConstructor;
52
+ }>>, {
53
+ abstract: boolean;
54
+ }>;
55
+ ChatbubbleEllipses: 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<{}>>, {}>;
56
+ Close: 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<{}>>, {}>;
57
+ Camera: 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<{}>>, {}>;
58
+ EyeOutline: 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<{}>>, {}>;
59
+ EyeOffOutline: 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<{}>>, {}>;
60
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
61
+ userInfo: {
62
+ type: import("vue").PropType<AnyObject>;
63
+ required: true;
64
+ };
65
+ }>>, {}>;
66
+ ChatSet: import("vue").DefineComponent<{}, {
67
+ state: AnyObject;
68
+ setCurrentSessionItem: (item: AnyObject) => void;
69
+ handleTopping: (value: boolean) => Promise<void>;
70
+ NDrawer: any;
71
+ NDrawerContent: import("vue").DefineComponent<{
72
+ title: {
73
+ type: StringConstructor;
74
+ };
75
+ headerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
76
+ footerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
77
+ bodyStyle: import("vue").PropType<string | import("vue").CSSProperties>;
78
+ bodyContentStyle: import("vue").PropType<string | import("vue").CSSProperties>;
79
+ nativeScrollbar: {
80
+ type: BooleanConstructor;
81
+ default: boolean;
82
+ };
83
+ scrollbarProps: import("vue").PropType<import("naive-ui/es/_internal").ScrollbarProps>;
84
+ closable: BooleanConstructor;
85
+ }, {
86
+ handleCloseClick: () => void;
87
+ mergedTheme: import("vue").Ref<{
88
+ common: {
89
+ baseColor: string;
90
+ primaryColor: string;
91
+ primaryColorHover: string;
92
+ primaryColorPressed: string;
93
+ primaryColorSuppl: string;
94
+ infoColor: string;
95
+ infoColorHover: string;
96
+ infoColorPressed: string;
97
+ infoColorSuppl: string;
98
+ successColor: string;
99
+ successColorHover: string;
100
+ successColorPressed: string;
101
+ successColorSuppl: string;
102
+ warningColor: string;
103
+ warningColorHover: string;
104
+ warningColorPressed: string;
105
+ warningColorSuppl: string;
106
+ errorColor: string;
107
+ errorColorHover: string;
108
+ errorColorPressed: string;
109
+ errorColorSuppl: string;
110
+ textColorBase: string;
111
+ textColor1: string;
112
+ textColor2: string;
113
+ textColor3: string;
114
+ textColorDisabled: string;
115
+ placeholderColor: string;
116
+ placeholderColorDisabled: string;
117
+ iconColor: string;
118
+ iconColorHover: string;
119
+ iconColorPressed: string;
120
+ iconColorDisabled: string;
121
+ opacity1: string;
122
+ opacity2: string;
123
+ opacity3: string;
124
+ opacity4: string;
125
+ opacity5: string;
126
+ dividerColor: string;
127
+ borderColor: string;
128
+ closeIconColor: string;
129
+ closeIconColorHover: string;
130
+ closeIconColorPressed: string;
131
+ closeColorHover: string;
132
+ closeColorPressed: string;
133
+ clearColor: string;
134
+ clearColorHover: string;
135
+ clearColorPressed: string;
136
+ scrollbarColor: string;
137
+ scrollbarColorHover: string;
138
+ scrollbarWidth: string;
139
+ scrollbarHeight: string;
140
+ scrollbarBorderRadius: string;
141
+ progressRailColor: string;
142
+ railColor: string;
143
+ popoverColor: string;
144
+ tableColor: string;
145
+ cardColor: string;
146
+ modalColor: string;
147
+ bodyColor: string;
148
+ tagColor: string;
149
+ avatarColor: string;
150
+ invertedColor: string;
151
+ inputColor: string;
152
+ codeColor: string;
153
+ tabColor: string;
154
+ actionColor: string;
155
+ tableHeaderColor: string;
156
+ hoverColor: string;
157
+ tableColorHover: string;
158
+ tableColorStriped: string;
159
+ pressedColor: string;
160
+ opacityDisabled: string;
161
+ inputColorDisabled: string;
162
+ buttonColor2: string;
163
+ buttonColor2Hover: string;
164
+ buttonColor2Pressed: string;
165
+ boxShadow1: string;
166
+ boxShadow2: string;
167
+ boxShadow3: string;
168
+ fontFamily: string;
169
+ fontFamilyMono: string;
170
+ fontWeight: string;
171
+ fontWeightStrong: string;
172
+ cubicBezierEaseInOut: string;
173
+ cubicBezierEaseOut: string;
174
+ cubicBezierEaseIn: string;
175
+ borderRadius: string;
176
+ borderRadiusSmall: string;
177
+ fontSize: string;
178
+ fontSizeMini: string;
179
+ fontSizeTiny: string;
180
+ fontSizeSmall: string;
181
+ fontSizeMedium: string;
182
+ fontSizeLarge: string;
183
+ fontSizeHuge: string;
184
+ lineHeight: string;
185
+ heightMini: string;
186
+ heightTiny: string;
187
+ heightSmall: string;
188
+ heightMedium: string;
189
+ heightLarge: string;
190
+ heightHuge: string;
191
+ name: "common";
192
+ };
193
+ self: {
194
+ bodyPadding: string;
195
+ headerPadding: string;
196
+ footerPadding: string;
197
+ color: string;
198
+ textColor: string;
199
+ titleTextColor: string;
200
+ titleFontSize: string;
201
+ titleFontWeight: string;
202
+ boxShadow: string;
203
+ lineHeight: string;
204
+ headerBorderBottom: string;
205
+ footerBorderTop: string;
206
+ closeIconColor: string;
207
+ closeIconColorHover: string;
208
+ closeIconColorPressed: string;
209
+ closeSize: string;
210
+ closeIconSize: string;
211
+ closeColorHover: string;
212
+ closeColorPressed: string;
213
+ closeBorderRadius: string;
214
+ resizableTriggerColorHover: string;
215
+ };
216
+ peers: {
217
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
218
+ color: string;
219
+ colorHover: string;
220
+ }, any>;
221
+ };
222
+ peerOverrides: {
223
+ Scrollbar?: {
224
+ peers?: {
225
+ [x: string]: any;
226
+ } | undefined;
227
+ } | undefined;
228
+ };
229
+ }>;
230
+ mergedClsPrefix: import("vue").Ref<string>;
231
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
232
+ title: {
233
+ type: StringConstructor;
234
+ };
235
+ headerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
236
+ footerStyle: import("vue").PropType<string | import("vue").CSSProperties>;
237
+ bodyStyle: import("vue").PropType<string | import("vue").CSSProperties>;
238
+ bodyContentStyle: import("vue").PropType<string | import("vue").CSSProperties>;
239
+ nativeScrollbar: {
240
+ type: BooleanConstructor;
241
+ default: boolean;
242
+ };
243
+ scrollbarProps: import("vue").PropType<import("naive-ui/es/_internal").ScrollbarProps>;
244
+ closable: BooleanConstructor;
245
+ }>>, {
246
+ closable: boolean;
247
+ nativeScrollbar: boolean;
248
+ }>;
249
+ NAvatar: any;
250
+ NIcon: any;
251
+ NSwitch: any;
252
+ ChevronForwardOutline: 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<{}>>, {}>;
253
+ PersonProfile: import("vue").DefineComponent<{
254
+ userInfo: {
255
+ type: import("vue").PropType<AnyObject>;
256
+ required: true;
257
+ };
258
+ }, {
259
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
260
+ userInfo: {
261
+ type: import("vue").PropType<AnyObject>;
262
+ required: true;
263
+ };
264
+ }>> & {}>>;
265
+ showLargeAvatar: import("vue").Ref<boolean>;
266
+ showPhone: import("vue").Ref<boolean>;
267
+ personInfo: import("vue").ComputedRef<({
268
+ label: string;
269
+ content: string;
270
+ key?: undefined;
271
+ } | {
272
+ label: string;
273
+ content: string;
274
+ key: string;
275
+ })[]>;
276
+ getContent: (info: AnyObject) => any;
277
+ onFinish: (options: {
278
+ file: import("naive-ui").UploadFileInfo;
279
+ }) => void;
280
+ onChange: (options: {
281
+ file: import("naive-ui").UploadFileInfo;
282
+ }) => void;
283
+ NAvatar: any;
284
+ NPopover: any;
285
+ NButton: any;
286
+ NIcon: any;
287
+ NUpload: any;
288
+ NUploadTrigger: import("vue").DefineComponent<{
289
+ abstract: BooleanConstructor;
290
+ }, () => JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
291
+ [key: string]: any;
292
+ }>[] | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
293
+ abstract: BooleanConstructor;
294
+ }>>, {
295
+ abstract: boolean;
296
+ }>;
297
+ ChatbubbleEllipses: 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<{}>>, {}>;
298
+ Close: 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<{}>>, {}>;
299
+ Camera: 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<{}>>, {}>;
300
+ EyeOutline: 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<{}>>, {}>;
301
+ EyeOffOutline: 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<{}>>, {}>;
302
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
303
+ userInfo: {
304
+ type: import("vue").PropType<AnyObject>;
305
+ required: true;
306
+ };
307
+ }>>, {}>;
308
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
309
+ ChatFile: import("vue").DefineComponent<{
310
+ type: {
311
+ type: StringConstructor;
312
+ default: string;
313
+ };
314
+ }, {
315
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
316
+ type: {
317
+ type: StringConstructor;
318
+ default: string;
319
+ };
320
+ }>> & {}>>;
321
+ imageList: {
322
+ label: string;
323
+ data: string[];
324
+ }[];
325
+ fileList: {
326
+ name: string;
327
+ size: string;
328
+ time: string;
329
+ sender: string;
330
+ }[];
331
+ title: import("vue").ComputedRef<"聊天图片" | "聊天文件">;
332
+ getDetail: (item: AnyObject) => string;
333
+ NModal: any;
334
+ NImageGroup: import("vue").DefineComponent<{
335
+ showToolbar: {
336
+ type: BooleanConstructor;
337
+ default: boolean;
338
+ };
339
+ showToolbarTooltip: BooleanConstructor;
340
+ theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Image", {
341
+ toolbarIconColor: string;
342
+ toolbarColor: string;
343
+ toolbarBoxShadow: string;
344
+ toolbarBorderRadius: string;
345
+ }, {
346
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
347
+ borderRadius: string;
348
+ boxShadow: string;
349
+ color: string;
350
+ textColor: string;
351
+ padding: string;
352
+ }, {
353
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
354
+ fontSize: string;
355
+ borderRadius: string;
356
+ color: string;
357
+ dividerColor: string;
358
+ textColor: string;
359
+ boxShadow: string;
360
+ space: string;
361
+ spaceArrow: string;
362
+ arrowOffset: string;
363
+ arrowOffsetVertical: string;
364
+ arrowHeight: string;
365
+ padding: string;
366
+ }, any>;
367
+ }>;
368
+ }>>;
369
+ themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Image", {
370
+ toolbarIconColor: string;
371
+ toolbarColor: string;
372
+ toolbarBoxShadow: string;
373
+ toolbarBorderRadius: string;
374
+ }, {
375
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
376
+ borderRadius: string;
377
+ boxShadow: string;
378
+ color: string;
379
+ textColor: string;
380
+ padding: string;
381
+ }, {
382
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
383
+ fontSize: string;
384
+ borderRadius: string;
385
+ color: string;
386
+ dividerColor: string;
387
+ textColor: string;
388
+ boxShadow: string;
389
+ space: string;
390
+ spaceArrow: string;
391
+ arrowOffset: string;
392
+ arrowOffsetVertical: string;
393
+ arrowHeight: string;
394
+ padding: string;
395
+ }, any>;
396
+ }>;
397
+ }>>>;
398
+ builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Image", {
399
+ toolbarIconColor: string;
400
+ toolbarColor: string;
401
+ toolbarBoxShadow: string;
402
+ toolbarBorderRadius: string;
403
+ }, {
404
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
405
+ borderRadius: string;
406
+ boxShadow: string;
407
+ color: string;
408
+ textColor: string;
409
+ padding: string;
410
+ }, {
411
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
412
+ fontSize: string;
413
+ borderRadius: string;
414
+ color: string;
415
+ dividerColor: string;
416
+ textColor: string;
417
+ boxShadow: string;
418
+ space: string;
419
+ spaceArrow: string;
420
+ arrowOffset: string;
421
+ arrowOffsetVertical: string;
422
+ arrowHeight: string;
423
+ padding: string;
424
+ }, any>;
425
+ }>;
426
+ }>>>;
427
+ }, {
428
+ mergedClsPrefix: import("vue").ComputedRef<string>;
429
+ previewInstRef: import("vue").Ref<{
430
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
431
+ setPreviewSrc: (src?: string | undefined) => void;
432
+ toggleShow: () => void;
433
+ } | null>;
434
+ next: () => void;
435
+ prev: () => void;
436
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
437
+ showToolbar: {
438
+ type: BooleanConstructor;
439
+ default: boolean;
440
+ };
441
+ showToolbarTooltip: BooleanConstructor;
442
+ theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Image", {
443
+ toolbarIconColor: string;
444
+ toolbarColor: string;
445
+ toolbarBoxShadow: string;
446
+ toolbarBorderRadius: string;
447
+ }, {
448
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
449
+ borderRadius: string;
450
+ boxShadow: string;
451
+ color: string;
452
+ textColor: string;
453
+ padding: string;
454
+ }, {
455
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
456
+ fontSize: string;
457
+ borderRadius: string;
458
+ color: string;
459
+ dividerColor: string;
460
+ textColor: string;
461
+ boxShadow: string;
462
+ space: string;
463
+ spaceArrow: string;
464
+ arrowOffset: string;
465
+ arrowOffsetVertical: string;
466
+ arrowHeight: string;
467
+ padding: string;
468
+ }, any>;
469
+ }>;
470
+ }>>;
471
+ themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Image", {
472
+ toolbarIconColor: string;
473
+ toolbarColor: string;
474
+ toolbarBoxShadow: string;
475
+ toolbarBorderRadius: string;
476
+ }, {
477
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
478
+ borderRadius: string;
479
+ boxShadow: string;
480
+ color: string;
481
+ textColor: string;
482
+ padding: string;
483
+ }, {
484
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
485
+ fontSize: string;
486
+ borderRadius: string;
487
+ color: string;
488
+ dividerColor: string;
489
+ textColor: string;
490
+ boxShadow: string;
491
+ space: string;
492
+ spaceArrow: string;
493
+ arrowOffset: string;
494
+ arrowOffsetVertical: string;
495
+ arrowHeight: string;
496
+ padding: string;
497
+ }, any>;
498
+ }>;
499
+ }>>>;
500
+ builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Image", {
501
+ toolbarIconColor: string;
502
+ toolbarColor: string;
503
+ toolbarBoxShadow: string;
504
+ toolbarBorderRadius: string;
505
+ }, {
506
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
507
+ borderRadius: string;
508
+ boxShadow: string;
509
+ color: string;
510
+ textColor: string;
511
+ padding: string;
512
+ }, {
513
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
514
+ fontSize: string;
515
+ borderRadius: string;
516
+ color: string;
517
+ dividerColor: string;
518
+ textColor: string;
519
+ boxShadow: string;
520
+ space: string;
521
+ spaceArrow: string;
522
+ arrowOffset: string;
523
+ arrowOffsetVertical: string;
524
+ arrowHeight: string;
525
+ padding: string;
526
+ }, any>;
527
+ }>;
528
+ }>>>;
529
+ }>>, {
530
+ showToolbar: boolean;
531
+ showToolbarTooltip: boolean;
532
+ }>;
533
+ NImage: any;
534
+ NInput: any;
535
+ NIcon: any;
536
+ 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<{}>>, {}>;
537
+ 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<{}>>, {}>;
538
+ 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<{}>>, {}>;
539
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
540
+ type: {
541
+ type: StringConstructor;
542
+ default: string;
543
+ };
544
+ }>>, {
545
+ type: string;
546
+ }>;
547
+ ChatRecord: import("vue").DefineComponent<{}, {
548
+ tagColor: {
549
+ color: string;
550
+ textColor: string;
551
+ };
552
+ state: AnyObject;
553
+ options: {
554
+ label: any;
555
+ value: any;
556
+ avatar: any;
557
+ }[];
558
+ user: import("vue").Ref<never[]>;
559
+ startTime: import("vue").Ref<any>;
560
+ endTime: import("vue").Ref<any>;
561
+ getPrefixCondition: () => (JSX.Element | null)[];
562
+ renderLabel: (option: AnyObject) => JSX.Element;
563
+ NModal: any;
564
+ NTag: any;
565
+ NInput: any;
566
+ NSelect: any;
567
+ NAvatar: any;
568
+ NPopover: any;
569
+ DatePicker: import("../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{
570
+ updateUnchangedValue: {
571
+ type: BooleanConstructor;
572
+ };
573
+ onConfirm: {
574
+ type: FunctionConstructor;
575
+ };
576
+ formattedValue: {
577
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
578
+ };
579
+ placeholder: {
580
+ type: StringConstructor;
581
+ };
582
+ allowedInvalidValue: {
583
+ type: StringConstructor;
584
+ };
585
+ }, {
586
+ attrs: {
587
+ [x: string]: unknown;
588
+ };
589
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
590
+ updateUnchangedValue: {
591
+ type: BooleanConstructor;
592
+ };
593
+ onConfirm: {
594
+ type: FunctionConstructor;
595
+ };
596
+ formattedValue: {
597
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
598
+ };
599
+ placeholder: {
600
+ type: StringConstructor;
601
+ };
602
+ allowedInvalidValue: {
603
+ type: StringConstructor;
604
+ };
605
+ }>> & {
606
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
607
+ }>>;
608
+ emit: (event: "update:formatted-value", ...args: any[]) => void;
609
+ datePickerRef: import("vue").Ref<AnyObject | null>;
610
+ panelInstRef: import("vue").Ref<null>;
611
+ placeholderRef: import("vue").Ref<any>;
612
+ currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
613
+ isDateTime: import("vue").ComputedRef<boolean>;
614
+ formatRef: import("vue").ComputedRef<string>;
615
+ panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
616
+ focus: () => any;
617
+ blur: () => any;
618
+ handleConfirm: (target: HTMLInputElement) => void;
619
+ onUpdateShow: (show: boolean) => Promise<void>;
620
+ onConfirm: (...args: any[]) => Promise<void>;
621
+ isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
622
+ NDatePicker: any;
623
+ }, 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<{
624
+ updateUnchangedValue: {
625
+ type: BooleanConstructor;
626
+ };
627
+ onConfirm: {
628
+ type: FunctionConstructor;
629
+ };
630
+ formattedValue: {
631
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
632
+ };
633
+ placeholder: {
634
+ type: StringConstructor;
635
+ };
636
+ allowedInvalidValue: {
637
+ type: StringConstructor;
638
+ };
639
+ }>> & {
640
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
641
+ }, {
642
+ updateUnchangedValue: boolean;
643
+ }>>;
644
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
6
645
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
7
646
  export default _default;
@@ -1 +1 @@
1
- import{defineComponent as e,inject as s,computed as a,openBlock as t,createElementBlock as r,createElementVNode as n,withDirectives as l,createVNode as o,unref as i,withCtx as u,createTextVNode as c,toDisplayString as d,vShow as m,createCommentVNode as v}from"vue";import{NAvatar as p}from"naive-ui";const h={class:"chat-header"},f={class:"chat-header__left"},_={class:"name"};var I=e({__name:"ChatHeader",setup(e){const I=s("state"),S=a((()=>I.currentSessionItem.name));return(e,s)=>(t(),r("section",h,[n("div",f,[l(o(i(p),{round:"",size:"large"},{default:u((()=>{var e,s;return[c(d((null==(s=null==(e=i(S))?void 0:e.slice)?void 0:s.call(e,-2))||""),1)]})),_:1},512),[[m,i(I).currentSessionId]]),n("span",_,d(i(S)),1)]),v(' <span v-show="state.currentSessionId">{{ statusTitle }}</span> ')]))}});export{I as default};
1
+ import{defineComponent as e,ref as o,computed as a,openBlock as s,createElementBlock as t,Fragment as i,unref as n,createElementVNode as c,createVNode as r,withCtx as l,toDisplayString as u,createCommentVNode as h}from"vue";import{NAvatar as m}from"naive-ui";import{useState as v}from"../hooks/useState.js";import f from"./PersonProfile.vue.js";import p from"./ChatSet.vue.js";import d from"./ChatFile.vue.js";import w from"./ChatRecord.vue.js";const C={key:0,class:"chat-header box-shadow"},_={class:"chat-header__left"},g={class:"name"},k={class:"chat-header__right"};var j=e({__name:"ChatHeader",setup(e){const{state:j}=v(),S=o(!1),y=o(!1),I=o("image"),U=o(!1),x=a((()=>j.currentSessionItem.name||""));function P(e){I.value=e,y.value=!0}return(e,o)=>(s(),t(i,null,[n(j).sessionKey?(s(),t("section",C,[c("div",_,[r(f,{"user-info":n(j).currentSessionItem},{trigger:l((()=>[r(n(m),{round:"",size:30,src:n(j).currentSessionItem.avatar},null,8,["src"])])),_:1},8,["user-info"]),c("span",g,u(n(x)),1)]),c("div",k,[c("i",{class:"chat--iconfont chat--icon-image",onClick:o[0]||(o[0]=()=>P("image"))}),c("i",{class:"chat--iconfont chat--icon-folder",onClick:o[1]||(o[1]=()=>P("file"))}),c("i",{class:"chat--iconfont chat--icon-list-search",onClick:o[2]||(o[2]=e=>U.value=!0)}),c("i",{class:"chat--iconfont chat--icon-set",onClick:o[3]||(o[3]=e=>S.value=!0)})])])):h("v-if",!0),r(p,{show:S.value,"onUpdate:show":o[4]||(o[4]=e=>S.value=e)},null,8,["show"]),r(d,{show:y.value,"onUpdate:show":o[5]||(o[5]=e=>y.value=e),type:I.value},null,8,["show","type"]),r(w,{show:U.value,"onUpdate:show":o[6]||(o[6]=e=>U.value=e)},null,8,["show"])],64))}});export{j as default};