cnhis-design-vue 3.3.1-beta.2 → 3.3.1-beta.4

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 (135) hide show
  1. package/README.md +87 -87
  2. package/es/components/ai-chat/index.d.ts +17 -147
  3. package/es/components/ai-chat/src/Index.vue.d.ts +17 -147
  4. package/es/components/ai-chat/src/Index.vue2.js +1 -1
  5. package/es/components/ai-chat/src/components/ChatCard.js +1 -1
  6. package/es/components/ai-chat/src/components/ChatFooter.vue.d.ts +2 -55
  7. package/es/components/ai-chat/src/components/ChatFooter.vue2.js +1 -1
  8. package/es/components/ai-chat/src/components/ChatMain.d.ts +7 -1
  9. package/es/components/ai-chat/src/components/ChatMain.js +1 -1
  10. package/es/components/ai-chat/src/utils/index.d.ts +0 -1
  11. package/es/components/ai-chat/src/utils/index.js +1 -1
  12. package/es/components/ai-chat/style/index.css +1 -1
  13. package/es/components/audio-sdk/src/audioSDK.d.ts +7 -6
  14. package/es/components/audio-sdk/src/audioSDK.js +1 -1
  15. package/es/components/audio-sdk/src/utils/recordingModal.d.ts +1 -2
  16. package/es/components/audio-sdk/src/utils/recordingModal.js +1 -1
  17. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  18. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
  19. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
  20. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
  21. package/es/components/callback/src/components/render/popupMaps.d.ts +7 -1
  22. package/es/components/card-render/src/components/index.d.ts +23 -23
  23. package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
  24. package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
  25. package/es/components/editor/src/Editor.js +1 -1
  26. package/es/components/editor/style/index.css +0 -1
  27. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
  28. package/es/components/field-editor/index.d.ts +7 -1
  29. package/es/components/field-editor/src/FieldEditor.vue.d.ts +7 -1
  30. package/es/components/form-config/index.d.ts +34 -4
  31. package/es/components/form-config/src/FormConfig.vue.d.ts +37 -6
  32. package/es/components/form-config/src/FormConfig.vue2.js +1 -1
  33. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +7 -1
  34. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +13 -1
  35. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +7 -1
  36. package/es/components/form-render/index.d.ts +7 -1
  37. package/es/components/form-render/index.js +1 -1
  38. package/es/components/form-render/src/FormRender.vue.d.ts +7 -1
  39. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  40. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +7 -1
  41. package/es/components/form-render/src/components/renderer/date.d.ts +2 -0
  42. package/es/components/form-render/src/components/renderer/date.js +1 -1
  43. package/es/components/form-render/src/components/renderer/input.d.ts +5 -0
  44. package/es/components/form-render/src/components/renderer/input.js +1 -1
  45. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +2 -0
  46. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +2 -0
  47. package/es/components/form-render/src/components/renderer/select.d.ts +5 -0
  48. package/es/components/form-render/src/components/renderer/select.js +1 -1
  49. package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
  50. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +4 -0
  51. package/es/components/form-render/src/types/index.d.ts +2 -0
  52. package/es/components/form-render/src/utils/index.d.ts +1 -0
  53. package/es/components/form-render/src/utils/index.js +1 -1
  54. package/es/components/form-render/style/index.css +1 -1
  55. package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
  56. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useSelectOption.d.ts +7 -0
  57. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useSelectOption.js +1 -1
  58. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
  59. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.d.ts +1 -2
  60. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js +1 -1
  61. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.js +1 -1
  62. package/es/components/iho-table/src/types/index.d.ts +1 -0
  63. package/es/components/index.css +1 -1
  64. package/es/components/index.js +1 -1
  65. package/es/components/info-header/index.d.ts +24 -2
  66. package/es/components/info-header/src/InfoHeader.vue.d.ts +24 -2
  67. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +2 -0
  68. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +2 -0
  69. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +9 -1
  70. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +7 -1
  71. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  72. package/es/components/shortcut-setter/index.d.ts +7 -1
  73. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +7 -1
  74. package/es/env.d.ts +25 -25
  75. package/es/shared/assets/img/ai__avatar.png.js +1 -1
  76. package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
  77. package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
  78. package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
  79. package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
  80. package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
  81. package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
  82. package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
  83. package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
  84. package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
  85. package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
  86. package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
  87. package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
  88. package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
  89. package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
  90. package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
  91. package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
  92. package/es/shared/assets/img/failure.png.js +1 -1
  93. package/es/shared/assets/img/logo.png.js +1 -1
  94. package/es/shared/assets/img/no-permission.png.js +1 -1
  95. package/es/shared/assets/img/nodata.png.js +1 -1
  96. package/es/shared/assets/img/notfound.png.js +1 -1
  97. package/es/shared/assets/img/qr.png.js +1 -1
  98. package/es/shared/assets/img/success.png.js +1 -1
  99. package/es/shared/assets/img/table_style_2.png.js +1 -1
  100. package/es/shared/assets/img/video.png.js +1 -1
  101. package/es/shared/assets/img/video_default_cover.png.js +1 -1
  102. package/es/shared/assets/img/xb_big.png.js +1 -1
  103. package/es/shared/assets/img/xb_small.png.js +1 -1
  104. package/es/shared/components/ArrowIcon/ArrowIcon.vue.js +1 -0
  105. package/es/shared/components/ArrowIcon/index.d.ts +2 -0
  106. package/es/shared/components/ArrowIcon/index.js +1 -0
  107. package/es/shared/components/DateIcon/DateIcon.vue.js +1 -0
  108. package/es/shared/components/DateIcon/index.d.ts +2 -0
  109. package/es/shared/components/DateIcon/index.js +1 -0
  110. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
  111. package/es/shared/package.json.js +1 -1
  112. package/es/shared/utils/fabricjs/index.d.ts +6823 -0
  113. package/es/shared/utils/tapable/index.d.ts +139 -0
  114. package/package.json +2 -2
  115. package/es/components/ai-chat/src/api/index.d.ts +0 -6
  116. package/es/components/ai-chat/src/api/index.js +0 -1
  117. package/es/components/ai-chat/src/components/ChatAudio.vue.d.ts +0 -44
  118. package/es/components/ai-chat/src/components/ChatAudio.vue.js +0 -1
  119. package/es/components/ai-chat/src/components/ChatAudio.vue2.js +0 -1
  120. package/es/components/ai-chat/src/components/ChatMainInner.d.ts +0 -2
  121. package/es/components/ai-chat/src/components/ChatMainInner.js +0 -1
  122. package/es/components/ai-chat/src/components/ChatRight.vue.d.ts +0 -56
  123. package/es/components/ai-chat/src/components/ChatRight.vue.js +0 -1
  124. package/es/components/ai-chat/src/components/ChatRight.vue2.js +0 -1
  125. package/es/components/ai-chat/src/components/card/JsonCard.d.ts +0 -25
  126. package/es/components/ai-chat/src/components/card/JsonCard.js +0 -1
  127. package/es/components/ai-chat/src/components/card/SelectIcon.d.ts +0 -14
  128. package/es/components/ai-chat/src/components/card/SelectIcon.js +0 -1
  129. package/es/components/ai-chat/src/hooks/useProgram.d.ts +0 -6
  130. package/es/components/ai-chat/src/hooks/useProgram.js +0 -1
  131. package/es/components/ai-chat/src/hooks/useWebsocket.d.ts +0 -2
  132. package/es/components/ai-chat/src/hooks/useWebsocket.js +0 -1
  133. package/es/shared/assets/img/file-emr.png.js +0 -1
  134. package/es/shared/assets/img/file.png.js +0 -1
  135. package/es/shared/assets/img/use.png.js +0 -1
package/README.md CHANGED
@@ -1,87 +1,87 @@
1
- # 安装
2
-
3
- ```shell
4
- npm i cnhis-design-vue@[版本号]
5
- # or
6
- yarn add cnhis-design-vue@[版本号] #推荐
7
- ```
8
-
9
- ## 1.全局引入
10
-
11
- ```typescript
12
- // main.ts
13
- import { createApp } from 'vue';
14
- import App from './App.vue';
15
- import 'cnhis-design-vue/es/packages/index.css';
16
- import cui from 'cnhis-design-vue';
17
-
18
- const app = createApp(App);
19
- app.use(cui).mount('#app');
20
- ```
21
-
22
- ## 2. 按需引入
23
-
24
- 组件现在支持了自动按需引入, 但是样式文件需要额外的处理
25
-
26
- ### 2.1 样式处理方式1 (按需引入样式)
27
-
28
- ```shell
29
- # 安装自动导入样式的插件
30
- npm i -d vite-plugin-style-import
31
- ```
32
-
33
- ```typescript
34
- // vite.config.ts
35
- import { defineConfig } from 'vite';
36
- import { createStyleImportPlugin } from 'vite-plugin-style-import';
37
-
38
- export default defineConfig({
39
- plugins: [
40
- // ...otherPlugins
41
- createStyleImportPlugin({
42
- libs: [
43
- {
44
- libraryName: 'cnhis-design-vue',
45
- esModule: true,
46
- ensureStyleFile: true,
47
- resolveStyle: name => {
48
- return `cnhis-design-vue/es/components/${ name.slice(2) }/style/index.css`;
49
- }
50
- }
51
- ]
52
- })
53
- ]
54
- });
55
- ```
56
-
57
- ### 2.2 样式处理方式2 (全局引入样式)
58
-
59
- ```typescript
60
- // main.ts
61
- import 'cnhis-design-vue/es/components/index.css';
62
- ```
63
-
64
- ## 3.FAQ
65
-
66
- ### 3.1 项目打包后样式丢失
67
-
68
- 处理方法, 将 cnhis-design-vue 从 vendor 包中移除 (没有出现此问题则不需要)
69
-
70
- ```typescript
71
- // vite.config.ts
72
- import { defineConfig } from 'vite';
73
-
74
- export default defineConfig({
75
- build: {
76
- rollupOptions: {
77
- // ..otherOptions
78
- output: {
79
- dir: './dist',
80
- manualChunks: {
81
- 'cnhis-vendor': ['cnhis-design-vue']
82
- }
83
- }
84
- }
85
- }
86
- });
87
- ```
1
+ # 安装
2
+
3
+ ```shell
4
+ npm i cnhis-design-vue@[版本号]
5
+ # or
6
+ yarn add cnhis-design-vue@[版本号] #推荐
7
+ ```
8
+
9
+ ## 1.全局引入
10
+
11
+ ```typescript
12
+ // main.ts
13
+ import { createApp } from 'vue';
14
+ import App from './App.vue';
15
+ import 'cnhis-design-vue/es/packages/index.css';
16
+ import cui from 'cnhis-design-vue';
17
+
18
+ const app = createApp(App);
19
+ app.use(cui).mount('#app');
20
+ ```
21
+
22
+ ## 2. 按需引入
23
+
24
+ 组件现在支持了自动按需引入, 但是样式文件需要额外的处理
25
+
26
+ ### 2.1 样式处理方式1 (按需引入样式)
27
+
28
+ ```shell
29
+ # 安装自动导入样式的插件
30
+ npm i -d vite-plugin-style-import
31
+ ```
32
+
33
+ ```typescript
34
+ // vite.config.ts
35
+ import { defineConfig } from 'vite';
36
+ import { createStyleImportPlugin } from 'vite-plugin-style-import';
37
+
38
+ export default defineConfig({
39
+ plugins: [
40
+ // ...otherPlugins
41
+ createStyleImportPlugin({
42
+ libs: [
43
+ {
44
+ libraryName: 'cnhis-design-vue',
45
+ esModule: true,
46
+ ensureStyleFile: true,
47
+ resolveStyle: name => {
48
+ return `cnhis-design-vue/es/components/${ name.slice(2) }/style/index.css`;
49
+ }
50
+ }
51
+ ]
52
+ })
53
+ ]
54
+ });
55
+ ```
56
+
57
+ ### 2.2 样式处理方式2 (全局引入样式)
58
+
59
+ ```typescript
60
+ // main.ts
61
+ import 'cnhis-design-vue/es/components/index.css';
62
+ ```
63
+
64
+ ## 3.FAQ
65
+
66
+ ### 3.1 项目打包后样式丢失
67
+
68
+ 处理方法, 将 cnhis-design-vue 从 vendor 包中移除 (没有出现此问题则不需要)
69
+
70
+ ```typescript
71
+ // vite.config.ts
72
+ import { defineConfig } from 'vite';
73
+
74
+ export default defineConfig({
75
+ build: {
76
+ rollupOptions: {
77
+ // ..otherOptions
78
+ output: {
79
+ dir: './dist',
80
+ manualChunks: {
81
+ 'cnhis-vendor': ['cnhis-design-vue']
82
+ }
83
+ }
84
+ }
85
+ }
86
+ });
87
+ ```
@@ -15,16 +15,17 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
15
15
  };
16
16
  queryData: {
17
17
  type: import("vue").PropType<import("./src/types").QueryData>;
18
+ reuired: boolean;
18
19
  };
19
20
  queryRecord: {
20
21
  type: import("vue").PropType<import("./src/types").QueryRecord>;
22
+ reuired: boolean;
21
23
  };
22
24
  hideInput: {
23
25
  type: BooleanConstructor;
24
26
  };
25
27
  uiStyle: {
26
28
  type: StringConstructor;
27
- default: string;
28
29
  };
29
30
  audioTimed: {
30
31
  type: NumberConstructor;
@@ -48,16 +49,6 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
48
49
  appId: {
49
50
  type: StringConstructor;
50
51
  };
51
- orgId: {
52
- type: StringConstructor;
53
- };
54
- userId: {
55
- type: StringConstructor;
56
- };
57
- immediatelyRecording: {
58
- type: BooleanConstructor;
59
- default: boolean;
60
- };
61
52
  }, {
62
53
  cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
63
54
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
@@ -76,16 +67,17 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
76
67
  };
77
68
  queryData: {
78
69
  type: import("vue").PropType<import("./src/types").QueryData>;
70
+ reuired: boolean;
79
71
  };
80
72
  queryRecord: {
81
73
  type: import("vue").PropType<import("./src/types").QueryRecord>;
74
+ reuired: boolean;
82
75
  };
83
76
  hideInput: {
84
77
  type: BooleanConstructor;
85
78
  };
86
79
  uiStyle: {
87
80
  type: StringConstructor;
88
- default: string;
89
81
  };
90
82
  audioTimed: {
91
83
  type: NumberConstructor;
@@ -109,30 +101,21 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
109
101
  appId: {
110
102
  type: StringConstructor;
111
103
  };
112
- orgId: {
113
- type: StringConstructor;
114
- };
115
- userId: {
116
- type: StringConstructor;
117
- };
118
- immediatelyRecording: {
119
- type: BooleanConstructor;
120
- default: boolean;
121
- };
122
104
  }>> & {
123
105
  "onButton-click"?: ((...args: any[]) => any) | undefined;
124
106
  }>>;
107
+ axiosInstance: import("axios").AxiosInstance;
125
108
  emit: (event: "button-click", ...args: any[]) => void;
126
- showSmallStyle: import("vue").ComputedRef<boolean>;
127
109
  state: import("../../shared/types").AnyObject;
128
- ChatMain: import("vue").DefineComponent<{}, () => JSX.Element[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
110
+ NMessageProvider: any;
111
+ ChatMain: import("vue").DefineComponent<Readonly<import("vue").ComponentPropsOptions<{
112
+ [x: string]: unknown;
113
+ }>>, () => JSX.Element[], unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, never[], never, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<readonly string[] | import("vue").ExtractPropTypes<Readonly<import("vue").ComponentObjectPropsOptions<{
114
+ [x: string]: unknown;
115
+ }>>>> & {}, {
116
+ readonly [x: number]: string;
117
+ } | {}>;
129
118
  ChatFooter: import("vue").DefineComponent<{}, {
130
- innerDefaultShortcutList: {
131
- key: string;
132
- value: string;
133
- }[];
134
- programMethod: (bpmnProcessId: string, params: import("../../shared/types").AnyObject) => Promise<any>;
135
- MedicalOrderId: string;
136
119
  cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
137
120
  audioSdk: import("..").CAudioSDK;
138
121
  emit: (event: string, ...args: any[]) => void;
@@ -141,8 +124,6 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
141
124
  isSmall: any;
142
125
  audioTimed: any;
143
126
  commandList: any;
144
- isInner: any;
145
- patientInfo: any;
146
127
  inputRef: import("vue").Ref<any>;
147
128
  showPopover: import("vue").Ref<boolean>;
148
129
  breadcrumb: import("vue").Ref<{
@@ -162,16 +143,13 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
162
143
  showPrompt: import("vue").Ref<boolean>;
163
144
  currentShortcutId: import("vue").Ref<string>;
164
145
  showPatient: import("vue").Ref<boolean>;
165
- showAudio: import("vue").Ref<boolean>;
166
- placeholder: import("vue").ComputedRef<"请向我提问,Shift+Enter换行" | "请向我提问或输入\"/\"查看指令" | "请向我提问或输入\"/\"查看指令,Shift+Enter换行">;
146
+ placeholder: import("vue").ComputedRef<"请向我提问或输入\"/\"查看指令" | "请向我提问或输入\"/\"查看指令,Shift+Enter换行">;
167
147
  btnDisabled: import("vue").ComputedRef<any>;
168
148
  showMagicWand: import("vue").ComputedRef<boolean>;
169
149
  patient: import("vue").ComputedRef<string>;
170
- currentShortcutList: import("vue").ComputedRef<any>;
171
- isAllDisabled: import("vue").ComputedRef<any>;
172
150
  recorderStart: () => Promise<void>;
173
151
  getShortcutName: (item: string | import("../../shared/types").AnyObject) => any;
174
- handleShortcut: (item: string | import("../../shared/types").AnyObject) => Promise<void>;
152
+ handleShortcut: (item: string | import("../../shared/types").AnyObject) => void;
175
153
  resetCurrentCommand: () => void;
176
154
  handleKeyDown: (event: KeyboardEvent) => void;
177
155
  isWrap: (event: KeyboardEvent) => boolean;
@@ -291,103 +269,6 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
291
269
  }, {
292
270
  show: boolean;
293
271
  }>;
294
- ChatAudio: import("vue").DefineComponent<{
295
- show: {
296
- type: BooleanConstructor;
297
- };
298
- }, {
299
- audioSdk: import("..").CAudioSDK;
300
- props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
301
- show: {
302
- type: BooleanConstructor;
303
- };
304
- }>> & {
305
- "onUpdate:show"?: ((...args: any[]) => any) | undefined;
306
- }>>;
307
- emit: (event: "update:show", ...args: any[]) => void;
308
- state: any;
309
- vaa07: any;
310
- immediatelyRecording: any;
311
- time: import("vue").Ref<number>;
312
- endType: string;
313
- pause: import("@vueuse/shared").Fn;
314
- resume: import("@vueuse/shared").Fn;
315
- isActive: import("vue").Ref<boolean>;
316
- tip: import("vue").ComputedRef<"正在录音中..." | "录音已暂停">;
317
- formattedTime: import("vue").ComputedRef<string>;
318
- checkEnvironment: () => boolean;
319
- start: () => Promise<void>;
320
- handlePause: () => void;
321
- handlePlay: () => void;
322
- handleEnd: (trigger?: string | undefined) => Promise<void>;
323
- NSpace: any;
324
- NButton: any;
325
- NIcon: any;
326
- StopCircleOutline: 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<{}>>, {}>;
327
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:show"[], "update:show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
328
- show: {
329
- type: BooleanConstructor;
330
- };
331
- }>> & {
332
- "onUpdate:show"?: ((...args: any[]) => any) | undefined;
333
- }, {
334
- show: boolean;
335
- }>;
336
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
337
- ChatMainInner: import("vue").DefineComponent<{}, () => JSX.Element[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
338
- ChatRight: import("vue").DefineComponent<{}, {
339
- medicalLabel: {
340
- key: string;
341
- title: string;
342
- }[];
343
- state: any;
344
- patientInfo: any;
345
- toolbarConfig: {
346
- toolbarKeys: never[];
347
- };
348
- content: import("vue").Ref<string>;
349
- key: import("vue").Ref<string>;
350
- handleSave: () => Promise<void>;
351
- createMedicalRecord: () => void;
352
- extractContentByTitle: () => import("../../shared/types").AnyObject;
353
- NIcon: any;
354
- NSpace: any;
355
- NButton: any;
356
- Editor: SFCWithInstall<import("vue").DefineComponent<{
357
- editorConfig: {
358
- type: ObjectConstructor;
359
- };
360
- toolbarConfig: {
361
- type: ObjectConstructor;
362
- };
363
- uploadImgUrl: {
364
- type: StringConstructor;
365
- };
366
- isDisabled: {
367
- type: BooleanConstructor;
368
- default: boolean;
369
- };
370
- }, {
371
- editorRef: import("vue").ShallowRef<any>;
372
- renderVN: () => JSX.Element;
373
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, never[], never, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
374
- editorConfig: {
375
- type: ObjectConstructor;
376
- };
377
- toolbarConfig: {
378
- type: ObjectConstructor;
379
- };
380
- uploadImgUrl: {
381
- type: StringConstructor;
382
- };
383
- isDisabled: {
384
- type: BooleanConstructor;
385
- default: boolean;
386
- };
387
- }>> & {}, {
388
- isDisabled: boolean;
389
- }>>;
390
- CloseOutline: 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<{}>>, {}>;
391
272
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
392
273
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "button-click"[], "button-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
393
274
  token: {
@@ -405,16 +286,17 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
405
286
  };
406
287
  queryData: {
407
288
  type: import("vue").PropType<import("./src/types").QueryData>;
289
+ reuired: boolean;
408
290
  };
409
291
  queryRecord: {
410
292
  type: import("vue").PropType<import("./src/types").QueryRecord>;
293
+ reuired: boolean;
411
294
  };
412
295
  hideInput: {
413
296
  type: BooleanConstructor;
414
297
  };
415
298
  uiStyle: {
416
299
  type: StringConstructor;
417
- default: string;
418
300
  };
419
301
  audioTimed: {
420
302
  type: NumberConstructor;
@@ -438,22 +320,10 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
438
320
  appId: {
439
321
  type: StringConstructor;
440
322
  };
441
- orgId: {
442
- type: StringConstructor;
443
- };
444
- userId: {
445
- type: StringConstructor;
446
- };
447
- immediatelyRecording: {
448
- type: BooleanConstructor;
449
- default: boolean;
450
- };
451
323
  }>> & {
452
324
  "onButton-click"?: ((...args: any[]) => any) | undefined;
453
325
  }, {
454
326
  hideInput: boolean;
455
- uiStyle: string;
456
327
  audioTimed: number;
457
- immediatelyRecording: boolean;
458
328
  }>>;
459
329
  export default AiChat;