cnhis-design-vue 3.3.1-beta.11 → 3.3.1-beta.13
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 +10 -145
- package/es/components/ai-chat/src/Index.vue.d.ts +10 -145
- package/es/components/ai-chat/src/Index.vue2.js +1 -1
- package/es/components/ai-chat/src/components/ChatCard.js +1 -1
- package/es/components/ai-chat/src/components/ChatFooter.vue.d.ts +2 -55
- package/es/components/ai-chat/src/components/ChatFooter.vue2.js +1 -1
- package/es/components/ai-chat/src/utils/index.d.ts +0 -1
- 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 +304 -2
- package/es/components/audio-sdk/index.js +1 -1
- package/es/components/audio-sdk/src/Index.vue.d.ts +304 -0
- package/es/components/audio-sdk/src/Index.vue.js +1 -0
- package/es/components/audio-sdk/src/Index.vue2.js +1 -0
- package/es/components/audio-sdk/src/audioSDK.d.ts +5 -8
- package/es/components/audio-sdk/src/audioSDK.js +1 -1
- package/es/components/audio-sdk/src/components/form.vue.d.ts +51 -0
- package/es/components/audio-sdk/src/components/form.vue.js +1 -0
- package/es/components/audio-sdk/src/components/form.vue2.js +1 -0
- package/es/components/audio-sdk/src/components/recording-modal.vue.d.ts +91 -0
- package/es/components/audio-sdk/src/components/recording-modal.vue.js +1 -0
- package/es/components/audio-sdk/src/components/recording-modal.vue2.js +1 -0
- package/es/components/audio-sdk/src/components/recording.vue.d.ts +43 -4
- package/es/components/audio-sdk/src/components/recording.vue2.js +1 -1
- package/es/components/audio-sdk/src/utils/index.d.ts +4 -0
- package/es/components/audio-sdk/src/utils/index.js +1 -0
- package/es/components/audio-sdk/src/utils/recordingModal.d.ts +7 -4
- package/es/components/audio-sdk/src/utils/recordingModal.js +1 -1
- package/es/components/audio-sdk/style/index.css +1 -1
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
- package/es/components/callback/src/components/render/popupMaps.d.ts +7 -1
- package/es/components/card-render/src/components/index.d.ts +23 -23
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- 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 +0 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
- package/es/components/field-editor/index.d.ts +7 -1
- package/es/components/field-editor/src/FieldEditor.vue.d.ts +7 -1
- package/es/components/form-config/index.d.ts +38 -3
- package/es/components/form-config/src/FormConfig.vue.d.ts +38 -3
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +7 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +17 -1
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +8 -1
- package/es/components/form-render/index.d.ts +7 -1
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +7 -1
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +7 -1
- package/es/components/form-render/src/components/renderer/date.d.ts +2 -0
- package/es/components/form-render/src/components/renderer/date.js +1 -1
- package/es/components/form-render/src/components/renderer/formItem.d.ts +2 -0
- package/es/components/form-render/src/components/renderer/formItem.js +1 -1
- package/es/components/form-render/src/components/renderer/input.d.ts +5 -0
- 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 +14 -1
- package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +14 -1
- package/es/components/form-render/src/components/renderer/select.d.ts +5 -0
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/components/tooltipMessage.vue.d.ts +12 -1
- 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 +4 -0
- package/es/components/form-render/src/types/fieldItem.d.ts +1 -0
- package/es/components/form-render/src/types/index.d.ts +2 -0
- package/es/components/form-render/src/utils/index.d.ts +1 -0
- 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 +1 -0
- package/es/components/iho-chat/src/Index.vue.d.ts +1 -0
- package/es/components/iho-chat/src/components/ChatFooter.vue2.js +1 -1
- package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +1 -0
- 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 +26 -23
- 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 +78 -0
- package/es/components/iho-table/src/plugins/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useSelectOption.d.ts +7 -0
- 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 +1 -2
- 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 +1 -0
- 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 +2 -1
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +24 -2
- package/es/components/info-header/src/InfoHeader.vue.d.ts +24 -2
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +2 -0
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +2 -0
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +9 -1
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +7 -1
- package/es/components/scale-view/index.d.ts +3 -2
- package/es/components/scale-view/src/ScaleView.vue.d.ts +3 -2
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/scale-view/src/hooks/scaleview-init.d.ts +3 -1
- package/es/components/scale-view/src/hooks/scaleview-init.js +1 -1
- package/es/components/scale-view/src/hooks/use-component.d.ts +1 -2189
- package/es/components/shortcut-setter/index.d.ts +8 -1
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +8 -1
- 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/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/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/components/ArrowIcon/ArrowIcon.vue.js +1 -0
- package/es/shared/components/ArrowIcon/index.d.ts +2 -0
- package/es/shared/components/ArrowIcon/index.js +1 -0
- package/es/shared/components/DateIcon/DateIcon.vue.js +1 -0
- package/es/shared/components/DateIcon/index.d.ts +2 -0
- package/es/shared/components/DateIcon/index.js +1 -0
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/fabricjs/index.d.ts +6823 -0
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +2 -2
- package/es/components/ai-chat/src/api/index.d.ts +0 -6
- package/es/components/ai-chat/src/api/index.js +0 -1
- package/es/components/ai-chat/src/components/ChatAudio.vue.d.ts +0 -44
- package/es/components/ai-chat/src/components/ChatAudio.vue.js +0 -1
- package/es/components/ai-chat/src/components/ChatAudio.vue2.js +0 -1
- package/es/components/ai-chat/src/components/ChatMainInner.d.ts +0 -2
- package/es/components/ai-chat/src/components/ChatMainInner.js +0 -1
- package/es/components/ai-chat/src/components/ChatRight.vue.d.ts +0 -55
- package/es/components/ai-chat/src/components/ChatRight.vue.js +0 -1
- package/es/components/ai-chat/src/components/ChatRight.vue2.js +0 -1
- package/es/components/ai-chat/src/components/card/JsonCard.d.ts +0 -25
- package/es/components/ai-chat/src/components/card/JsonCard.js +0 -1
- package/es/components/ai-chat/src/components/card/SelectIcon.d.ts +0 -14
- package/es/components/ai-chat/src/components/card/SelectIcon.js +0 -1
- package/es/components/ai-chat/src/hooks/useProgram.d.ts +0 -6
- package/es/components/ai-chat/src/hooks/useProgram.js +0 -1
- package/es/components/ai-chat/src/hooks/useWebsocket.d.ts +0 -2
- package/es/components/ai-chat/src/hooks/useWebsocket.js +0 -1
- package/es/shared/assets/img/file-emr.png.js +0 -1
- package/es/shared/assets/img/file.png.js +0 -1
- 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,15 @@ 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;
|
110
|
+
NMessageProvider: any;
|
128
111
|
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<{}>>, {}>;
|
129
112
|
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
113
|
cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
|
137
114
|
audioSdk: import("..").CAudioSDK;
|
138
115
|
emit: (event: string, ...args: any[]) => void;
|
@@ -141,8 +118,6 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
141
118
|
isSmall: any;
|
142
119
|
audioTimed: any;
|
143
120
|
commandList: any;
|
144
|
-
isInner: any;
|
145
|
-
patientInfo: any;
|
146
121
|
inputRef: import("vue").Ref<any>;
|
147
122
|
showPopover: import("vue").Ref<boolean>;
|
148
123
|
breadcrumb: import("vue").Ref<{
|
@@ -162,16 +137,13 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
162
137
|
showPrompt: import("vue").Ref<boolean>;
|
163
138
|
currentShortcutId: import("vue").Ref<string>;
|
164
139
|
showPatient: import("vue").Ref<boolean>;
|
165
|
-
|
166
|
-
placeholder: import("vue").ComputedRef<"请向我提问,Shift+Enter换行" | "请向我提问或输入\"/\"查看指令" | "请向我提问或输入\"/\"查看指令,Shift+Enter换行">;
|
140
|
+
placeholder: import("vue").ComputedRef<"请向我提问或输入\"/\"查看指令" | "请向我提问或输入\"/\"查看指令,Shift+Enter换行">;
|
167
141
|
btnDisabled: import("vue").ComputedRef<any>;
|
168
142
|
showMagicWand: import("vue").ComputedRef<boolean>;
|
169
143
|
patient: import("vue").ComputedRef<string>;
|
170
|
-
currentShortcutList: import("vue").ComputedRef<any>;
|
171
|
-
isAllDisabled: import("vue").ComputedRef<any>;
|
172
144
|
recorderStart: () => Promise<void>;
|
173
145
|
getShortcutName: (item: string | import("../../shared/types").AnyObject) => any;
|
174
|
-
handleShortcut: (item: string | import("../../shared/types").AnyObject) =>
|
146
|
+
handleShortcut: (item: string | import("../../shared/types").AnyObject) => void;
|
175
147
|
resetCurrentCommand: () => void;
|
176
148
|
handleKeyDown: (event: KeyboardEvent) => void;
|
177
149
|
isWrap: (event: KeyboardEvent) => boolean;
|
@@ -291,102 +263,6 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
291
263
|
}, {
|
292
264
|
show: boolean;
|
293
265
|
}>;
|
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<{}>>, {}>;
|
390
266
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
391
267
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "button-click"[], "button-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
392
268
|
token: {
|
@@ -404,16 +280,17 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
404
280
|
};
|
405
281
|
queryData: {
|
406
282
|
type: import("vue").PropType<import("./src/types").QueryData>;
|
283
|
+
reuired: boolean;
|
407
284
|
};
|
408
285
|
queryRecord: {
|
409
286
|
type: import("vue").PropType<import("./src/types").QueryRecord>;
|
287
|
+
reuired: boolean;
|
410
288
|
};
|
411
289
|
hideInput: {
|
412
290
|
type: BooleanConstructor;
|
413
291
|
};
|
414
292
|
uiStyle: {
|
415
293
|
type: StringConstructor;
|
416
|
-
default: string;
|
417
294
|
};
|
418
295
|
audioTimed: {
|
419
296
|
type: NumberConstructor;
|
@@ -437,22 +314,10 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
437
314
|
appId: {
|
438
315
|
type: StringConstructor;
|
439
316
|
};
|
440
|
-
orgId: {
|
441
|
-
type: StringConstructor;
|
442
|
-
};
|
443
|
-
userId: {
|
444
|
-
type: StringConstructor;
|
445
|
-
};
|
446
|
-
immediatelyRecording: {
|
447
|
-
type: BooleanConstructor;
|
448
|
-
default: boolean;
|
449
|
-
};
|
450
317
|
}>> & {
|
451
318
|
"onButton-click"?: ((...args: any[]) => any) | undefined;
|
452
319
|
}, {
|
453
320
|
hideInput: boolean;
|
454
|
-
uiStyle: string;
|
455
321
|
audioTimed: number;
|
456
|
-
immediatelyRecording: boolean;
|
457
322
|
}>>;
|
458
323
|
export default AiChat;
|