cnhis-design-vue 3.3.1-beta.13 → 3.3.1-beta.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +87 -87
- package/es/components/ai-chat/index.d.ts +145 -10
- package/es/components/ai-chat/src/Index.vue.d.ts +145 -10
- package/es/components/ai-chat/src/Index.vue2.js +1 -1
- package/es/components/ai-chat/src/api/index.d.ts +6 -0
- package/es/components/ai-chat/src/api/index.js +1 -0
- package/es/components/ai-chat/src/components/ChatAudio.vue.d.ts +44 -0
- package/es/components/ai-chat/src/components/ChatAudio.vue.js +1 -0
- package/es/components/ai-chat/src/components/ChatAudio.vue2.js +1 -0
- package/es/components/ai-chat/src/components/ChatCard.js +1 -1
- package/es/components/ai-chat/src/components/ChatFooter.vue.d.ts +55 -2
- package/es/components/ai-chat/src/components/ChatFooter.vue2.js +1 -1
- package/es/components/ai-chat/src/components/ChatMainInner.d.ts +2 -0
- package/es/components/ai-chat/src/components/ChatMainInner.js +1 -0
- package/es/components/ai-chat/src/components/ChatRight.vue.d.ts +55 -0
- package/es/components/ai-chat/src/components/ChatRight.vue.js +1 -0
- package/es/components/ai-chat/src/components/ChatRight.vue2.js +1 -0
- package/es/components/ai-chat/src/components/card/JsonCard.d.ts +25 -0
- package/es/components/ai-chat/src/components/card/JsonCard.js +1 -0
- package/es/components/ai-chat/src/components/card/SelectIcon.d.ts +14 -0
- package/es/components/ai-chat/src/components/card/SelectIcon.js +1 -0
- package/es/components/ai-chat/src/hooks/useProgram.d.ts +6 -0
- package/es/components/ai-chat/src/hooks/useProgram.js +1 -0
- package/es/components/ai-chat/src/hooks/useWebsocket.d.ts +2 -0
- package/es/components/ai-chat/src/hooks/useWebsocket.js +1 -0
- package/es/components/ai-chat/src/utils/index.d.ts +1 -0
- package/es/components/ai-chat/src/utils/index.js +1 -1
- package/es/components/ai-chat/style/index.css +1 -1
- package/es/components/audio-sdk/index.d.ts +2 -304
- package/es/components/audio-sdk/index.js +1 -1
- package/es/components/audio-sdk/src/audioSDK.d.ts +8 -5
- package/es/components/audio-sdk/src/audioSDK.js +1 -1
- package/es/components/audio-sdk/src/components/recording.vue.d.ts +4 -43
- package/es/components/audio-sdk/src/components/recording.vue2.js +1 -1
- package/es/components/audio-sdk/src/utils/recordingModal.d.ts +4 -7
- package/es/components/audio-sdk/src/utils/recordingModal.js +1 -1
- package/es/components/audio-sdk/style/index.css +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +1 -7
- package/es/components/card-render/src/components/index.d.ts +23 -23
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +3 -0
- package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
- package/es/components/editor/src/Editor.js +1 -1
- package/es/components/editor/style/index.css +1 -0
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
- package/es/components/field-editor/index.d.ts +1 -7
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +1 -7
- package/es/components/form-config/index.d.ts +3 -38
- package/es/components/form-config/src/FormConfig.vue.d.ts +3 -38
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +1 -7
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +1 -17
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1 -8
- package/es/components/form-render/index.d.ts +1 -7
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +1 -7
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +1 -7
- package/es/components/form-render/src/components/renderer/date.d.ts +0 -2
- package/es/components/form-render/src/components/renderer/date.js +1 -1
- package/es/components/form-render/src/components/renderer/formItem.d.ts +0 -2
- package/es/components/form-render/src/components/renderer/formItem.js +1 -1
- package/es/components/form-render/src/components/renderer/input.d.ts +0 -5
- package/es/components/form-render/src/components/renderer/input.js +1 -1
- package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -14
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -14
- package/es/components/form-render/src/components/renderer/select.d.ts +0 -5
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/components/tooltipMessage.vue.d.ts +1 -12
- package/es/components/form-render/src/components/tooltipMessage.vue2.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +0 -4
- package/es/components/form-render/src/types/fieldItem.d.ts +0 -1
- package/es/components/form-render/src/types/index.d.ts +0 -2
- package/es/components/form-render/src/utils/index.d.ts +0 -1
- package/es/components/form-render/src/utils/index.js +1 -1
- package/es/components/form-render/style/index.css +1 -1
- package/es/components/iho-chat/index.d.ts +0 -1
- package/es/components/iho-chat/src/Index.vue.d.ts +0 -1
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +0 -1
- package/es/components/iho-chat/src/components/ChatMain.vue2.js +1 -1
- package/es/components/iho-chat/src/components/PersonProfile.vue2.js +1 -1
- package/es/components/iho-table/index.d.ts +23 -26
- package/es/components/iho-table/index.js +1 -1
- package/es/components/iho-table/src/IhoTable.vue2.js +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/index.js +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.d.ts +3 -3
- package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.js +1 -1
- package/es/components/iho-table/src/hooks/useTablePlugin.js +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/headerPlugin/index.d.ts +1 -1
- package/es/components/iho-table/src/plugins/headerPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/highLightSetPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/index.d.ts +0 -78
- package/es/components/iho-table/src/plugins/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useSelectOption.d.ts +0 -7
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useSelectOption.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.d.ts +2 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/stickyFixedPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/verticalTablePlugin/src/utils.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +0 -1
- package/es/components/iho-table/src/types/pluginType.d.ts +2 -2
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +1 -2
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +2 -24
- package/es/components/info-header/src/InfoHeader.vue.d.ts +2 -24
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +0 -2
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +0 -2
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +1 -9
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +1 -7
- package/es/components/scale-view/index.d.ts +2 -3
- package/es/components/scale-view/src/ScaleView.vue.d.ts +2 -3
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/scale-view/src/hooks/scaleview-init.d.ts +1 -3
- package/es/components/scale-view/src/hooks/scaleview-init.js +1 -1
- package/es/components/scale-view/src/hooks/use-component.d.ts +2189 -1
- package/es/components/shortcut-setter/index.d.ts +1 -8
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -8
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/ai__avatar.png.js +1 -1
- package/es/shared/assets/img/defaultCover/10review_successful.png.js +1 -1
- package/es/shared/assets/img/defaultCover/11review_fail.png.js +1 -1
- package/es/shared/assets/img/defaultCover/12no_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/13no_menu_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/14no_call_setting.png.js +1 -1
- package/es/shared/assets/img/defaultCover/15no_use_tag.png.js +1 -1
- package/es/shared/assets/img/defaultCover/16no_table_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/1location.png.js +1 -1
- package/es/shared/assets/img/defaultCover/2notfound.png.js +1 -1
- package/es/shared/assets/img/defaultCover/3loading.png.js +1 -1
- package/es/shared/assets/img/defaultCover/4no_permission.png.js +1 -1
- package/es/shared/assets/img/defaultCover/5no_data.png.js +1 -1
- package/es/shared/assets/img/defaultCover/6no_network.png.js +1 -1
- package/es/shared/assets/img/defaultCover/7no_doctor.png.js +1 -1
- package/es/shared/assets/img/defaultCover/8system_error.png.js +1 -1
- package/es/shared/assets/img/defaultCover/9system_upgrade.png.js +1 -1
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/file-emr.png.js +1 -0
- package/es/shared/assets/img/file.png.js +1 -0
- package/es/shared/assets/img/logo.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/table_style_2.png.js +1 -1
- package/es/shared/assets/img/use.png.js +1 -0
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
- package/es/components/audio-sdk/src/Index.vue.d.ts +0 -304
- package/es/components/audio-sdk/src/Index.vue.js +0 -1
- package/es/components/audio-sdk/src/Index.vue2.js +0 -1
- package/es/components/audio-sdk/src/components/form.vue.d.ts +0 -51
- package/es/components/audio-sdk/src/components/form.vue.js +0 -1
- package/es/components/audio-sdk/src/components/form.vue2.js +0 -1
- package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +0 -91
- package/es/components/audio-sdk/src/components/recording-modal.vue.js +0 -1
- package/es/components/audio-sdk/src/components/recording-modal.vue2.js +0 -1
- package/es/components/audio-sdk/src/utils/index.d.ts +0 -4
- package/es/components/audio-sdk/src/utils/index.js +0 -1
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
- package/es/shared/components/ArrowIcon/ArrowIcon.vue.js +0 -1
- package/es/shared/components/ArrowIcon/index.d.ts +0 -2
- package/es/shared/components/ArrowIcon/index.js +0 -1
- package/es/shared/components/DateIcon/DateIcon.vue.js +0 -1
- package/es/shared/components/DateIcon/index.d.ts +0 -2
- package/es/shared/components/DateIcon/index.js +0 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/fabricjs/index.d.ts +0 -6823
- package/es/shared/utils/tapable/index.d.ts +0 -139
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,17 +15,16 @@ 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;
|
19
18
|
};
|
20
19
|
queryRecord: {
|
21
20
|
type: import("vue").PropType<import("./src/types").QueryRecord>;
|
22
|
-
reuired: boolean;
|
23
21
|
};
|
24
22
|
hideInput: {
|
25
23
|
type: BooleanConstructor;
|
26
24
|
};
|
27
25
|
uiStyle: {
|
28
26
|
type: StringConstructor;
|
27
|
+
default: string;
|
29
28
|
};
|
30
29
|
audioTimed: {
|
31
30
|
type: NumberConstructor;
|
@@ -49,6 +48,16 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
49
48
|
appId: {
|
50
49
|
type: StringConstructor;
|
51
50
|
};
|
51
|
+
orgId: {
|
52
|
+
type: StringConstructor;
|
53
|
+
};
|
54
|
+
userId: {
|
55
|
+
type: StringConstructor;
|
56
|
+
};
|
57
|
+
immediatelyRecording: {
|
58
|
+
type: BooleanConstructor;
|
59
|
+
default: boolean;
|
60
|
+
};
|
52
61
|
}, {
|
53
62
|
cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
|
54
63
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
@@ -67,17 +76,16 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
67
76
|
};
|
68
77
|
queryData: {
|
69
78
|
type: import("vue").PropType<import("./src/types").QueryData>;
|
70
|
-
reuired: boolean;
|
71
79
|
};
|
72
80
|
queryRecord: {
|
73
81
|
type: import("vue").PropType<import("./src/types").QueryRecord>;
|
74
|
-
reuired: boolean;
|
75
82
|
};
|
76
83
|
hideInput: {
|
77
84
|
type: BooleanConstructor;
|
78
85
|
};
|
79
86
|
uiStyle: {
|
80
87
|
type: StringConstructor;
|
88
|
+
default: string;
|
81
89
|
};
|
82
90
|
audioTimed: {
|
83
91
|
type: NumberConstructor;
|
@@ -101,15 +109,30 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
101
109
|
appId: {
|
102
110
|
type: StringConstructor;
|
103
111
|
};
|
112
|
+
orgId: {
|
113
|
+
type: StringConstructor;
|
114
|
+
};
|
115
|
+
userId: {
|
116
|
+
type: StringConstructor;
|
117
|
+
};
|
118
|
+
immediatelyRecording: {
|
119
|
+
type: BooleanConstructor;
|
120
|
+
default: boolean;
|
121
|
+
};
|
104
122
|
}>> & {
|
105
123
|
"onButton-click"?: ((...args: any[]) => any) | undefined;
|
106
124
|
}>>;
|
107
|
-
axiosInstance: import("axios").AxiosInstance;
|
108
125
|
emit: (event: "button-click", ...args: any[]) => void;
|
126
|
+
showSmallStyle: import("vue").ComputedRef<boolean>;
|
109
127
|
state: import("../../shared/types").AnyObject;
|
110
|
-
NMessageProvider: any;
|
111
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<{}>>, {}>;
|
112
129
|
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;
|
113
136
|
cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
|
114
137
|
audioSdk: import("..").CAudioSDK;
|
115
138
|
emit: (event: string, ...args: any[]) => void;
|
@@ -118,6 +141,8 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
118
141
|
isSmall: any;
|
119
142
|
audioTimed: any;
|
120
143
|
commandList: any;
|
144
|
+
isInner: any;
|
145
|
+
patientInfo: any;
|
121
146
|
inputRef: import("vue").Ref<any>;
|
122
147
|
showPopover: import("vue").Ref<boolean>;
|
123
148
|
breadcrumb: import("vue").Ref<{
|
@@ -137,13 +162,16 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
137
162
|
showPrompt: import("vue").Ref<boolean>;
|
138
163
|
currentShortcutId: import("vue").Ref<string>;
|
139
164
|
showPatient: import("vue").Ref<boolean>;
|
140
|
-
|
165
|
+
showAudio: import("vue").Ref<boolean>;
|
166
|
+
placeholder: import("vue").ComputedRef<"请向我提问,Shift+Enter换行" | "请向我提问或输入\"/\"查看指令" | "请向我提问或输入\"/\"查看指令,Shift+Enter换行">;
|
141
167
|
btnDisabled: import("vue").ComputedRef<any>;
|
142
168
|
showMagicWand: import("vue").ComputedRef<boolean>;
|
143
169
|
patient: import("vue").ComputedRef<string>;
|
170
|
+
currentShortcutList: import("vue").ComputedRef<any>;
|
171
|
+
isAllDisabled: import("vue").ComputedRef<any>;
|
144
172
|
recorderStart: () => Promise<void>;
|
145
173
|
getShortcutName: (item: string | import("../../shared/types").AnyObject) => any;
|
146
|
-
handleShortcut: (item: string | import("../../shared/types").AnyObject) => void
|
174
|
+
handleShortcut: (item: string | import("../../shared/types").AnyObject) => Promise<void>;
|
147
175
|
resetCurrentCommand: () => void;
|
148
176
|
handleKeyDown: (event: KeyboardEvent) => void;
|
149
177
|
isWrap: (event: KeyboardEvent) => boolean;
|
@@ -263,6 +291,102 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
263
291
|
}, {
|
264
292
|
show: boolean;
|
265
293
|
}>;
|
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
|
+
handleSave: () => Promise<void>;
|
350
|
+
createMedicalRecord: () => void;
|
351
|
+
extractContentByTitle: () => import("../../shared/types").AnyObject;
|
352
|
+
NIcon: any;
|
353
|
+
NSpace: any;
|
354
|
+
NButton: any;
|
355
|
+
Editor: SFCWithInstall<import("vue").DefineComponent<{
|
356
|
+
editorConfig: {
|
357
|
+
type: ObjectConstructor;
|
358
|
+
};
|
359
|
+
toolbarConfig: {
|
360
|
+
type: ObjectConstructor;
|
361
|
+
};
|
362
|
+
uploadImgUrl: {
|
363
|
+
type: StringConstructor;
|
364
|
+
};
|
365
|
+
isDisabled: {
|
366
|
+
type: BooleanConstructor;
|
367
|
+
default: boolean;
|
368
|
+
};
|
369
|
+
}, {
|
370
|
+
editorRef: import("vue").ShallowRef<any>;
|
371
|
+
renderVN: () => JSX.Element;
|
372
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, never[], never, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
373
|
+
editorConfig: {
|
374
|
+
type: ObjectConstructor;
|
375
|
+
};
|
376
|
+
toolbarConfig: {
|
377
|
+
type: ObjectConstructor;
|
378
|
+
};
|
379
|
+
uploadImgUrl: {
|
380
|
+
type: StringConstructor;
|
381
|
+
};
|
382
|
+
isDisabled: {
|
383
|
+
type: BooleanConstructor;
|
384
|
+
default: boolean;
|
385
|
+
};
|
386
|
+
}>> & {}, {
|
387
|
+
isDisabled: boolean;
|
388
|
+
}>>;
|
389
|
+
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<{}>>, {}>;
|
266
390
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
267
391
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "button-click"[], "button-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
268
392
|
token: {
|
@@ -280,17 +404,16 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
280
404
|
};
|
281
405
|
queryData: {
|
282
406
|
type: import("vue").PropType<import("./src/types").QueryData>;
|
283
|
-
reuired: boolean;
|
284
407
|
};
|
285
408
|
queryRecord: {
|
286
409
|
type: import("vue").PropType<import("./src/types").QueryRecord>;
|
287
|
-
reuired: boolean;
|
288
410
|
};
|
289
411
|
hideInput: {
|
290
412
|
type: BooleanConstructor;
|
291
413
|
};
|
292
414
|
uiStyle: {
|
293
415
|
type: StringConstructor;
|
416
|
+
default: string;
|
294
417
|
};
|
295
418
|
audioTimed: {
|
296
419
|
type: NumberConstructor;
|
@@ -314,10 +437,22 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
314
437
|
appId: {
|
315
438
|
type: StringConstructor;
|
316
439
|
};
|
440
|
+
orgId: {
|
441
|
+
type: StringConstructor;
|
442
|
+
};
|
443
|
+
userId: {
|
444
|
+
type: StringConstructor;
|
445
|
+
};
|
446
|
+
immediatelyRecording: {
|
447
|
+
type: BooleanConstructor;
|
448
|
+
default: boolean;
|
449
|
+
};
|
317
450
|
}>> & {
|
318
451
|
"onButton-click"?: ((...args: any[]) => any) | undefined;
|
319
452
|
}, {
|
320
453
|
hideInput: boolean;
|
454
|
+
uiStyle: string;
|
321
455
|
audioTimed: number;
|
456
|
+
immediatelyRecording: boolean;
|
322
457
|
}>>;
|
323
458
|
export default AiChat;
|