cnhis-design-vue 3.2.13-beta.12 → 3.2.13-beta.16
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/es/components/ai-chat/index.d.ts +17 -5
- package/es/components/ai-chat/src/Index.vue.d.ts +18 -6
- package/es/components/ai-chat/src/Index.vue2.js +1 -1
- package/es/components/ai-chat/src/components/ChatCard.d.ts +10 -4
- package/es/components/ai-chat/src/components/ChatCard.js +1 -1
- package/es/components/ai-chat/src/components/ChatFooter.vue.d.ts +3 -2
- package/es/components/ai-chat/src/components/ChatFooter.vue2.js +1 -1
- package/es/components/ai-chat/src/components/ChatMain.js +1 -1
- package/es/components/ai-chat/src/components/ChatPatient.vue.d.ts +2 -1
- package/es/components/ai-chat/src/components/ChatPatient.vue2.js +1 -1
- package/es/components/ai-chat/style/index.css +1 -1
- package/es/components/button-print/index.d.ts +4 -4
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +4 -4
- package/es/components/button-print/src/components/OldPrintComponent.vue.d.ts +4 -4
- package/es/components/button-print/src/components/OldPrintComponent.vue2.js +1 -1
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- 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/index.css +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/env.d.ts +25 -25
- package/es/shared/package.json.js +1 -1
- package/package.json +2 -2
@@ -40,7 +40,10 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
40
40
|
patientInfo: {
|
41
41
|
type: import("vue").PropType<Partial<{
|
42
42
|
info: import("../../shared/types").AnyObject;
|
43
|
-
queryPatient: (
|
43
|
+
queryPatient: (props: {
|
44
|
+
keyword: string;
|
45
|
+
businessType: string;
|
46
|
+
}) => Promise<import("../../shared/types").AnyObject[]>;
|
44
47
|
}>>;
|
45
48
|
};
|
46
49
|
}, {
|
@@ -86,14 +89,19 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
86
89
|
patientInfo: {
|
87
90
|
type: import("vue").PropType<Partial<{
|
88
91
|
info: import("../../shared/types").AnyObject;
|
89
|
-
queryPatient: (
|
92
|
+
queryPatient: (props: {
|
93
|
+
keyword: string;
|
94
|
+
businessType: string;
|
95
|
+
}) => Promise<import("../../shared/types").AnyObject[]>;
|
90
96
|
}>>;
|
91
97
|
};
|
92
98
|
}>> & {
|
93
99
|
"onButton-click"?: ((...args: any[]) => any) | undefined;
|
94
100
|
}>>;
|
101
|
+
axiosInstance: import("axios").AxiosInstance;
|
95
102
|
emit: (event: "button-click", ...args: any[]) => void;
|
96
103
|
state: import("../../shared/types").AnyObject;
|
104
|
+
NMessageProvider: any;
|
97
105
|
ChatMain: import("vue").DefineComponent<Readonly<import("vue").ComponentPropsOptions<{
|
98
106
|
[x: string]: unknown;
|
99
107
|
}>>, () => 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<{
|
@@ -104,6 +112,7 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
104
112
|
ChatFooter: import("vue").DefineComponent<{}, {
|
105
113
|
cssVars: import("vue").ComputedRef<import("../../shared/types").AnyObject>;
|
106
114
|
audioSdk: import("..").CAudioSDK;
|
115
|
+
message: import("naive-ui").MessageApi;
|
107
116
|
emit: (event: string, ...args: any[]) => void;
|
108
117
|
shortcutList: any;
|
109
118
|
state: any;
|
@@ -111,7 +120,6 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
111
120
|
audioTimed: any;
|
112
121
|
commandList: any;
|
113
122
|
inputRef: import("vue").Ref<any>;
|
114
|
-
content: import("vue").Ref<string>;
|
115
123
|
showPopover: import("vue").Ref<boolean>;
|
116
124
|
breadcrumb: import("vue").Ref<{
|
117
125
|
[x: string]: any;
|
@@ -215,7 +223,7 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
215
223
|
patientInfo: any;
|
216
224
|
state: any;
|
217
225
|
formValue: {
|
218
|
-
businessType:
|
226
|
+
businessType: string;
|
219
227
|
vaa01: null;
|
220
228
|
bck03a: string;
|
221
229
|
};
|
@@ -236,6 +244,7 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
236
244
|
renderLabel: (option: import("../../shared/types").AnyObject) => string;
|
237
245
|
handleUpdateValue: (value: string, option: import("naive-ui").SelectOption) => void;
|
238
246
|
handleSearch: (keyword: string) => Promise<void>;
|
247
|
+
handleBusinessTypeUpdate: () => void;
|
239
248
|
handleValidateClick: (e: MouseEvent) => void;
|
240
249
|
NDrawer: any;
|
241
250
|
NDrawerContent: any;
|
@@ -296,7 +305,10 @@ declare const AiChat: SFCWithInstall<import("vue").DefineComponent<{
|
|
296
305
|
patientInfo: {
|
297
306
|
type: import("vue").PropType<Partial<{
|
298
307
|
info: import("../../shared/types").AnyObject;
|
299
|
-
queryPatient: (
|
308
|
+
queryPatient: (props: {
|
309
|
+
keyword: string;
|
310
|
+
businessType: string;
|
311
|
+
}) => Promise<import("../../shared/types").AnyObject[]>;
|
300
312
|
}>>;
|
301
313
|
};
|
302
314
|
}>> & {
|
@@ -42,7 +42,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
42
42
|
patientInfo: {
|
43
43
|
type: PropType<Partial<{
|
44
44
|
info: AnyObject;
|
45
|
-
queryPatient: (
|
45
|
+
queryPatient: (props: {
|
46
|
+
keyword: string;
|
47
|
+
businessType: string;
|
48
|
+
}) => Promise<AnyObject[]>;
|
46
49
|
}>>;
|
47
50
|
};
|
48
51
|
}, {
|
@@ -88,14 +91,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
88
91
|
patientInfo: {
|
89
92
|
type: PropType<Partial<{
|
90
93
|
info: AnyObject;
|
91
|
-
queryPatient: (
|
94
|
+
queryPatient: (props: {
|
95
|
+
keyword: string;
|
96
|
+
businessType: string;
|
97
|
+
}) => Promise<AnyObject[]>;
|
92
98
|
}>>;
|
93
99
|
};
|
94
100
|
}>> & {
|
95
101
|
"onButton-click"?: ((...args: any[]) => any) | undefined;
|
96
102
|
}>>;
|
103
|
+
axiosInstance: import("axios").AxiosInstance;
|
97
104
|
emit: (event: "button-click", ...args: any[]) => void;
|
98
105
|
state: AnyObject;
|
106
|
+
NMessageProvider: any;
|
99
107
|
ChatMain: import("vue").DefineComponent<Readonly<import("vue").ComponentPropsOptions<{
|
100
108
|
[x: string]: unknown;
|
101
109
|
}>>, () => 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<{
|
@@ -105,7 +113,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
105
113
|
} | {}>;
|
106
114
|
ChatFooter: import("vue").DefineComponent<{}, {
|
107
115
|
cssVars: import("vue").ComputedRef<AnyObject>;
|
108
|
-
audioSdk: import("
|
116
|
+
audioSdk: import("../..").CAudioSDK;
|
117
|
+
message: import("naive-ui").MessageApi;
|
109
118
|
emit: (event: string, ...args: any[]) => void;
|
110
119
|
shortcutList: any;
|
111
120
|
state: any;
|
@@ -113,7 +122,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
113
122
|
audioTimed: any;
|
114
123
|
commandList: any;
|
115
124
|
inputRef: import("vue").Ref<any>;
|
116
|
-
content: import("vue").Ref<string>;
|
117
125
|
showPopover: import("vue").Ref<boolean>;
|
118
126
|
breadcrumb: import("vue").Ref<{
|
119
127
|
[x: string]: any;
|
@@ -217,7 +225,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
217
225
|
patientInfo: any;
|
218
226
|
state: any;
|
219
227
|
formValue: {
|
220
|
-
businessType:
|
228
|
+
businessType: string;
|
221
229
|
vaa01: null;
|
222
230
|
bck03a: string;
|
223
231
|
};
|
@@ -238,6 +246,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
238
246
|
renderLabel: (option: AnyObject) => string;
|
239
247
|
handleUpdateValue: (value: string, option: import("naive-ui").SelectOption) => void;
|
240
248
|
handleSearch: (keyword: string) => Promise<void>;
|
249
|
+
handleBusinessTypeUpdate: () => void;
|
241
250
|
handleValidateClick: (e: MouseEvent) => void;
|
242
251
|
NDrawer: any;
|
243
252
|
NDrawerContent: any;
|
@@ -298,7 +307,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
298
307
|
patientInfo: {
|
299
308
|
type: PropType<Partial<{
|
300
309
|
info: AnyObject;
|
301
|
-
queryPatient: (
|
310
|
+
queryPatient: (props: {
|
311
|
+
keyword: string;
|
312
|
+
businessType: string;
|
313
|
+
}) => Promise<AnyObject[]>;
|
302
314
|
}>>;
|
303
315
|
};
|
304
316
|
}>> & {
|
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as e,reactive as t,provide as o,toRefs as r,computed as s,openBlock as
|
1
|
+
import{defineComponent as e,reactive as t,provide as o,toRefs as r,computed as s,openBlock as a,createElementBlock as i,normalizeClass as n,normalizeStyle as u,unref as p,createVNode as d,withCtx as l,createBlock as m,createCommentVNode as c}from"vue";import{NMessageProvider as h}from"naive-ui";import y from"./components/ChatMain.js";import f from"./components/ChatFooter.vue.js";import{useTheme as v}from"../../../shared/hooks/useTheme.js";import"@vueuse/core";import"date-fns";import"lodash-es";import"@vue/shared";import{uuidGenerator as S}from"../../../shared/utils/index.js";import"@vueuse/shared";import"../../../shared/hooks/selectHooks/useSearchContent.js";import"@vicons/ionicons5";import"../../../shared/hooks/useScrollLoading.js";import{InjectionAIChat as x,InjectionAIChatEmits as j}from"./types/index.js";import k from"axios";const g=["id"];var A=e({__name:"Index",props:{token:{type:String,required:!0},userAvatar:{type:String},defaultShortcutList:{type:Array},shortcutList:{type:Array},queryData:{type:Function,reuired:!0},queryRecord:{type:Function,reuired:!0},hideInput:{type:Boolean},uiStyle:{type:String},audioTimed:{type:Number,default:10},commandList:{type:Array},queryPrompt:{type:Function},patientInfo:{type:Object}},emits:["button-click"],setup(e,{expose:A,emit:C}){const I=e,b=v(),q=k.create({headers:{Authorization:"bearer "+I.token}});q.interceptors.response.use((e=>{var t;return(null==(t=e.data)?void 0:t.success)?e.data:{success:!1,data:[]}}));const F=t({id:"ai-chat-"+S(),loading:!1,sending:!1,sendContent:"",selectedCommand:null,selectedPrompt:null,externalData:null,selectedPatient:null});return o(x,{...r(I),state:F,isSmall:s((()=>"small"===I.uiStyle)),axiosInstance:q}),o(j,C),A({pushMessage:e=>{F.externalData=e}}),(t,o)=>(a(),i("div",{id:F.id,class:n(["ai-chat","small"===e.uiStyle?"ai-chat--small":""]),style:u(p(b))},[d(p(h),null,{default:l((()=>[d(p(y)),e.hideInput?c("v-if",!0):(a(),m(f,{key:0}))])),_:1})],14,g))}});export{A as default};
|
@@ -5,16 +5,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
type: PropType<MessageItem>;
|
6
6
|
default: () => {};
|
7
7
|
};
|
8
|
-
|
9
|
-
type:
|
8
|
+
selectParams: {
|
9
|
+
type: PropType<{
|
10
|
+
taskId: string;
|
11
|
+
instructionId: string;
|
12
|
+
}>;
|
10
13
|
};
|
11
14
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "button-click"[], "button-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
12
15
|
msgItem: {
|
13
16
|
type: PropType<MessageItem>;
|
14
17
|
default: () => {};
|
15
18
|
};
|
16
|
-
|
17
|
-
type:
|
19
|
+
selectParams: {
|
20
|
+
type: PropType<{
|
21
|
+
taskId: string;
|
22
|
+
instructionId: string;
|
23
|
+
}>;
|
18
24
|
};
|
19
25
|
}>> & {
|
20
26
|
"onButton-click"?: ((...args: any[]) => any) | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as
|
1
|
+
import{defineComponent as e,inject as t,ref as n,computed as o,createVNode as l}from"vue";import{NButton as a}from"naive-ui";import{InjectionAIChat as i}from"../types/index.js";import"../../../index.js";import{isArray as s}from"lodash-es";import r from"../../../form-render/index.js";import u from"../../../template-render/index.js";var d=e({name:"ChatCard",inheritAttrs:!1,props:{msgItem:{type:Object,default:()=>({})},selectParams:{type:Object}},emits:["button-click"],setup(e,{attrs:d,slots:c,emit:m}){const p={TEXT:"INPUT",NUMBER:"INPUT_NUMBER",DATETIME:"DATETIME-INPUT"},{patientInfo:f,state:v,axiosInstance:g,isSmall:b}=t(i),y=n([]),h=n(),I=o((()=>{var t,n;return!!(null==(n=null==(t=e.msgItem)?void 0:t.content)?void 0:n.body)}));function E(e){try{return JSON.parse(e),!0}catch(e){return!1}}const T=e.msgItem.content;function x(e){const{eventName:t,data:n}=e;t&&m("button-click",{buttonInfo:n,isBI:!0})}function _(e){T.data[e.button.id+"Disabled"]=!0,m("button-click",{buttonInfo:e.button})}return I.value&&(y.value=(T.body.items||[]).map((t=>{var n,o;const l={html_type:p[t.type]||t.type,val_key:t.code,name:t.name,elem_width:12,default_val:t.value,lazyRequest:!0,requestCache:!0,urlConfig:{nameKey:null!=(n=t.labelField)?n:"label"},option:[],is_null:t.required?"0":"1",is_edit:e.msgItem.disabled?"0":"1"};return"SELECT"===l.html_type&&(l.option=t.options,(null==(o=t.options)?void 0:o.length)||(l.html_type="REMOTE_SEARCH",Object.assign(l.urlConfig,{url:"/flow/api/instruction/parameter/getOptionsValues",method:"post",params:{...e.selectParams,code:t.code,source:b.value?"inner":"global",configs:f.value.info||v.selectedPatient},dependKey:[]}),s(t.dependencies)&&t.dependencies.length&&(l.urlConfig.dependKey=t.dependencies))),l}))),()=>{var t;return l("div",{class:"card"},[I.value?[l("p",null,[T.title||T.header.title]),l(r,{"request-instance":{get:g.get,post:g.post},column:12,ref:h,"field-list":y.value},null),T.footer.buttons.map((t=>function(t){const n={width:"100%","--n-height":"36px",fontSize:"15px",marginTop:"10px"},o=I.value?{...n,marginTop:"0"}:n;return l(a,{style:o,secondary:!0,class:"gradient",disabled:e.msgItem.disabled,onClick:async function(){if(I.value){if(!h.value)return;const e=h.value.getFormValues();try{await h.value.validate(),T.body.items.forEach((t=>{e[t.code]&&(t.value=e[t.code])})),v.loading=!0,m("button-click",{values:e,buttonInfo:t,isForm:!0})}catch(e){}}else m("button-click")}},{default:()=>[I.value?null==t?void 0:t.text:T.buttonName]})}(t)))]:l(u,{config:E(null==(t=T.settings)?void 0:t.setting)?JSON.parse(T.settings.setting):null,data:T.data,"onModule-click":x,"onButton-click":_},null)])}}});export{d as default};
|
@@ -4,6 +4,7 @@ import { AnyObject } from '../../../../shared/types';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{}, {
|
5
5
|
cssVars: import("vue").ComputedRef<AnyObject>;
|
6
6
|
audioSdk: CAudioSDK;
|
7
|
+
message: import("naive-ui").MessageApi;
|
7
8
|
emit: (event: string, ...args: any[]) => void;
|
8
9
|
shortcutList: any;
|
9
10
|
state: any;
|
@@ -11,7 +12,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
11
12
|
audioTimed: any;
|
12
13
|
commandList: any;
|
13
14
|
inputRef: import("vue").Ref<any>;
|
14
|
-
content: import("vue").Ref<string>;
|
15
15
|
showPopover: import("vue").Ref<boolean>;
|
16
16
|
breadcrumb: import("vue").Ref<{
|
17
17
|
[x: string]: any;
|
@@ -115,7 +115,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
115
115
|
patientInfo: any;
|
116
116
|
state: any;
|
117
117
|
formValue: {
|
118
|
-
businessType:
|
118
|
+
businessType: string;
|
119
119
|
vaa01: null;
|
120
120
|
bck03a: string;
|
121
121
|
};
|
@@ -136,6 +136,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
136
136
|
renderLabel: (option: AnyObject) => string;
|
137
137
|
handleUpdateValue: (value: string, option: import("naive-ui").SelectOption) => void;
|
138
138
|
handleSearch: (keyword: string) => Promise<void>;
|
139
|
+
handleBusinessTypeUpdate: () => void;
|
139
140
|
handleValidateClick: (e: MouseEvent) => void;
|
140
141
|
NDrawer: any;
|
141
142
|
NDrawerContent: any;
|
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as e,inject as
|
1
|
+
import{defineComponent as e,inject as t,ref as o,computed as n,onBeforeUnmount as l,openBlock as s,createElementBlock as a,normalizeClass as r,unref as i,createElementVNode as u,createBlock as d,withCtx as c,createVNode as v,createTextVNode as m,toDisplayString as p,createCommentVNode as h,Fragment as f,renderList as k,withModifiers as C,getCurrentInstance as y}from"vue";import{useMessage as w,NButton as g,NIcon as b,NPopover as x,NInput as _,NTag as I,NBreadcrumb as j,NBreadcrumbItem as z}from"naive-ui";import{PeopleOutline as T,SparklesSharp as P,PaperPlane as K,ChevronBack as M,ChevronForward as D}from"@vicons/ionicons5";import{InjectionAIChatEmits as S,InjectionAIChat as U}from"../types/index.js";import R from"../../../audio-sdk/src/audioSDK.js";import{cloneDeep as A,isString as E,last as L}from"lodash-es";import{useTheme as B}from"../../../../shared/hooks/useTheme.js";import"@vueuse/core";import"date-fns";import"@vue/shared";import"../../../../shared/utils/index.js";import"@vueuse/shared";import"../../../../shared/hooks/selectHooks/useSearchContent.js";import"../../../../shared/hooks/useScrollLoading.js";import F from"./ChatPrompt.vue.js";import W from"./ChatPatient.vue.js";const $={class:"menu-box fillet-8"},q={class:"input-wrapper fillet-10"},H=u("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},[u("path",{fill:"none",stroke:"black","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M192 448h128"}),u("path",{d:"M384 208v32c0 70.4-57.6 128-128 128h0c-70.4 0-128-57.6-128-128v-32",fill:"none",stroke:"black","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),u("path",{fill:"none",stroke:"black","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M256 368v80"}),u("path",{d:"M256 64a63.68 63.68 0 0 0-64 64v111c0 35.2 29 65 64 65s64-29 64-65V128c0-36-28-64-64-64z",fill:"none",stroke:"#4972EF","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"})],-1),N={class:"btn-box"},V=["disabled"],G={class:"command-box"},J={class:"command-box__header"},O={key:0,class:"title"},Q={class:"command-box__menu"},X=["onMouseover","onClick"],Y={class:"label"},Z={class:"remark"};var ee=e({__name:"ChatFooter",setup(e){const ee=B(),te=R.create(),oe=w(),ne=t(S),{shortcutList:le,state:se,isSmall:ae,audioTimed:re,commandList:ie}=t(U),ue=o(),de=o(!1),ce=o([]),ve=o(A(ie.value||[])),me=o(!1),pe=o(""),he=o(!1),fe=n((()=>!se.sendContent.replace(/( |\s|<br>)+/g,""))),ke=n((()=>{var e;return!se.sendContent&&!(null==(e=ue.value)?void 0:e.activated.value)})),Ce=n((()=>{if(!se.selectedPatient)return"选择患者";const{bcq04b:e,vaa05:t}=se.selectedPatient;return`${e}床/${t}`}));async function ye(){try{const e=await te.start(y(),{allowPunctuationMark:!1,timed:re.value||10,realTimeRecognition:!0});if("success"!==(null==e?void 0:e.result))return;const{text:t}=e.data;se.sendContent=t}catch(e){console.log(e)}}function we(e){var t;if(E(e))return e;const{content:o}=(null==(t=null==e?void 0:e.contents)?void 0:t[0])||{};return o.instructionName}function ge(){var e;de.value=!1,ve.value=A(ie.value||[]),ce.value=[],(null==(e=ie.value)?void 0:e.length)&&(de.value=!0,pe.value=ve.value[0].shortcutId)}function be(e){if("Slash"!==e.code||se.selectedCommand||se.sendContent)if("Backspace"===e.key)de.value=!1,!se.sendContent.startsWith("/")&&!se.sendContent.startsWith("、")||2!==se.sendContent.length||se.selectedCommand?!se.sendContent&&se.selectedCommand&&(e.preventDefault(),se.selectedCommand=null,se.sendContent="/",ge()):ge();else if(de.value&&["ArrowUp","ArrowDown"].includes(e.key)){const t=ve.value.findIndex((e=>e.shortcutId===pe.value));if("ArrowUp"===e.key){const e=t>0?t-1:ve.value.length-1;pe.value=ve.value[e].shortcutId}else if("ArrowDown"===e.key){const e=t<ve.value.length-1?t+1:0;pe.value=ve.value[e].shortcutId}}else if(["Enter"].includes(e.key)){if(!function(e){return e.altKey||e.ctrlKey||e.metaKey||e.shiftKey}(e))if(e.preventDefault(),de.value){Ie(ve.value.find((e=>e.shortcutId===pe.value)))}else _e()}else de.value=!1;else ge()}function xe(e){!e&&se.selectedPrompt&&(se.selectedPrompt=null)}function _e(){fe.value||(ae.value||se.selectedPatient?(se.sending=!0,se.loading=!0):oe.warning("请先选择患者!"))}function Ie(e){var t;pe.value=e.shortcutId,ue.value.focus(),(null==(t=e.children)?void 0:t.length)?(ve.value=e.children,pe.value=ve.value[0].shortcutId,ce.value.push(e)):(se.selectedCommand=e||{},de.value=!1,se.sendContent="")}function je(){var e;ce.value.pop(),ve.value=L(ce.value)?null==(e=L(ce.value))?void 0:e.children:A(ie.value||[]),pe.value=ve.value[0].shortcutId,ue.value.focus()}return l((()=>{te.destroy()})),(e,t)=>(s(),a("section",{class:r(["chat-footer",i(se).loading?"disabled":""])},[u("div",$,[i(ae)?h("v-if",!0):(s(),d(i(g),{key:0,secondary:"",size:"small",onClick:t[0]||(t[0]=()=>he.value=!0)},{icon:c((()=>[v(i(b),{color:i(ee)["--c-primary-color"],size:"20",component:i(T)},null,8,["color","component"])])),default:c((()=>[m(" "+p(i(Ce)),1)])),_:1})),i(le)&&i(le).length>0?(s(!0),a(f,{key:1},k(i(le),(e=>(s(),d(i(g),{secondary:"",size:"small",round:i(ae),key:we(e),onClick:()=>function(e){var t;if(E(e))se.sendContent=e;else{const o=null==(t=null==e?void 0:e.contents)?void 0:t[0];ne("button-click",{msgItem:o,item:e})}}(e)},{default:c((()=>[m(p(we(e)),1)])),_:2},1032,["round","onClick"])))),128)):h("v-if",!0)]),v(i(x),{"content-style":"height: 400px",placement:"top-start",trigger:"manual",width:"trigger","show-arrow":!1,to:!1,show:de.value,onClickoutside:t[5]||(t[5]=e=>de.value=!1)},{trigger:c((()=>[u("div",q,[i(ae)?(s(),d(i(_),{key:0,ref_key:"inputRef",ref:ue,style:{"--n-height":"48px"},round:"",placeholder:"",disabled:i(se).loading,value:i(se).sendContent,"onUpdate:value":t[2]||(t[2]=e=>i(se).sendContent=e),onKeydownCapture:be,onInput:xe},{prefix:c((()=>[i(se).selectedCommand&&i(se).selectedCommand.shortcutTitle?(s(),d(i(I),{key:0,bordered:!1,color:{textColor:i(ee)["--c-primary-color"]},style:{"--n-border-radius":"5px"}},{default:c((()=>[m(" /"+p(i(se).selectedCommand.shortcutTitle),1)])),_:1},8,["color"])):i(ke)?(s(),d(i(g),{key:1,text:"",onClick:t[1]||(t[1]=()=>me.value=!0)},{default:c((()=>[v(i(b),{color:"#8f66f7",size:"18",component:i(P)},null,8,["component"])])),_:1})):h("v-if",!0)])),suffix:c((()=>[v(i(g),{text:"",disabled:i(se).loading,onClick:ye},{icon:c((()=>[v(i(b),{size:"30"},{default:c((()=>[H])),_:1})])),_:1},8,["disabled"]),v(i(g),{circle:"",class:"gradient",style:{"margin-left":"10px"},disabled:i(fe),onClick:_e},{icon:c((()=>[v(i(b),{color:"#fff",size:"20",component:i(K)},null,8,["component"])])),_:1},8,["disabled"])])),_:1},8,["disabled","value"])):(s(),a(f,{key:1},[v(i(_),{ref_key:"inputRef",ref:ue,type:"textarea",placeholder:'请向我提问或输入"/"查看指令,Shift+Enter换行',disabled:i(se).loading,autosize:{minRows:2,maxRows:7},value:i(se).sendContent,"onUpdate:value":t[4]||(t[4]=e=>i(se).sendContent=e),onKeydownCapture:be,onInput:xe},{prefix:c((()=>[i(se).selectedCommand&&i(se).selectedCommand.shortcutTitle?(s(),d(i(I),{key:0,bordered:!1,color:{textColor:i(ee)["--c-primary-color"]},style:{"--n-border-radius":"5px"}},{default:c((()=>{var e;return[m(" /"+p(null==(e=i(se).selectedCommand)?void 0:e.shortcutTitle),1)]})),_:1},8,["color"])):i(ke)?(s(),d(i(g),{key:1,text:"",onClick:t[3]||(t[3]=()=>me.value=!0)},{default:c((()=>[v(i(b),{color:"#8f66f7",size:"18",component:i(P)},null,8,["component"])])),_:1})):h("v-if",!0)])),_:1},8,["disabled","value"]),u("div",N,[u("span",{class:r(["btn-send","gradient","fillet-8",i(fe)?"disabled":""]),disabled:i(fe),onClick:_e},[v(i(b),{color:"#fff",size:"22",component:i(K)},null,8,["component"])],10,V)])],64))])])),default:c((()=>[u("div",G,[u("div",J,[0===ce.value.length?(s(),a("span",O,"推荐指令")):(s(),a(f,{key:1},[v(i(g),{text:"",onClick:je},{default:c((()=>[v(i(b),{color:"#999",size:"20",component:i(M)},null,8,["component"])])),_:1}),v(i(j),null,{default:c((()=>[(s(!0),a(f,null,k(ce.value,(e=>(s(),d(i(z),{key:e.shortcutId},{default:c((()=>[m(p(e.shortcutTitle),1)])),_:2},1024)))),128))])),_:1})],64))]),u("div",Q,[(s(!0),a(f,null,k(ve.value,(e=>(s(),a("div",{class:r(["menu-item",e.children&&e.children.length?"":"selectable",pe.value===e.shortcutId?"selected":""]),key:e.shortcutId,onMouseover:C((()=>pe.value=e.shortcutId),["stop"]),onClick:()=>Ie(e)},[u("span",Y,p(e.shortcutTitle),1),u("span",Z,p(e.shortcutDescription),1),e.children&&e.children.length?(s(),d(i(b),{key:0,color:"#999",size:"20",component:i(D)},null,8,["component"])):h("v-if",!0)],42,X)))),128))])])])),_:1},8,["show"]),v(F,{show:me.value,"onUpdate:show":t[6]||(t[6]=e=>me.value=e)},null,8,["show"]),v(W,{show:he.value,"onUpdate:show":t[7]||(t[7]=e=>he.value=e)},null,8,["show"])],2))}});export{ee as default};
|
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as e,inject as t,ref as n,computed as l,watch as o,nextTick as a,createVNode as s,createTextVNode as r,isVNode as
|
1
|
+
import{defineComponent as e,inject as t,ref as n,computed as l,watch as o,nextTick as a,createVNode as s,createTextVNode as r,isVNode as i}from"vue";import{NAvatar as u,NSpin as c,NSpace as d,NButton as m}from"naive-ui";import{InjectionAIChatEmits as v,InjectionAIChat as p}from"../types/index.js";import f from"../../../../shared/assets/img/ai__avatar.png.js";import g from"../../../../shared/assets/img/logo.png.js";import{isArray as h,isFunction as b}from"lodash-es";import"../../../../shared/utils/index.js";import"@vueuse/core";import"date-fns";import"@vue/shared";import"@vueuse/shared";import"../../../../shared/hooks/selectHooks/useSearchContent.js";import"@vicons/ionicons5";import{useScrollLoading as y}from"../../../../shared/hooks/useScrollLoading.js";import x from"./ChatCard.js";function C(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!i(e)}var j=e({name:"ChatMain",inheritAttrs:!1,props:{},emits:[],setup(e,{attrs:i,slots:j,emit:k}){const I=t(v),{userAvatar:T,queryData:w,state:z,queryRecord:S,defaultShortcutList:E,hideInput:M=!1,isSmall:A}=t(p),D=n(null),P=n([]),q=n(!1),H=l((()=>A.value?g:f)),L={page:0,hasMore:!0};async function O(e=!1){if(!L.hasMore)return;L.page++,1==L.page&&(P.value=[]);const{records:t,rows:n}=await S.value({page:L.page});h(n)&&P.value.length<=+t&&(P.value=L.page>1?[...P.value,...n]:n,R(),P.value.length>=+t&&(e&&(q.value=!0),L.hasMore=!1,console.log("没有更多消息了")))}function R(){P.value.forEach((e=>{e.contents.forEach((e=>{Reflect.has(e,"disabled")||(e.disabled=!0)}))}))}function _(e,t){const{contentType:n,content:l}=t;return"json"===n&&l?s(x,{selectParams:{taskId:e.taskId,instructionId:e.instructionId},msgItem:t,"onButton-click":(n={})=>function(e){const{item:t,msgItem:n}=e;if(n)return I("button-click",e),void(n.disabled=!0);t.link||(z.sendContent="确定",z.sending=!0,z.loading=!0)}({item:e,msgItem:t,...n})},null):null}function B(e,t){const{contents:n=[],buttonType:l=""}=e,o=_(e,n[t]);if(o)return o;return[n[t].content.replace(/\\n|\n|\r\n/g,"<br>").split("<br>").filter((e=>!!e)).map(((e,t,n)=>[e,t===n.length-1?null:s("br",null,null)]))]}function F({role:e=""}){return"user"===e}function G(){let e;return s("div",{class:"message-item"},[s(u,{round:!0,size:A.value?64:40,src:H.value},null),s("div",{class:"content-box"},[s("div",{class:"content fillet-10 default"},[s("h2",null,[r("Hi,我是你的AI助理")]),s("p",null,[r("我汇集了医生站/护士站各项智能服务,可以向我进行提问哦 ~ "),s("br",null,null),r("你的反馈助我成长,期待我们一起探索未来!下次可以在首页和应用页找到我~")]),h(E.value)&&E.value.length>0?[s("p",{style:"margin: 5px 0 5px"},[r("你可以试着问我:")]),s(d,{"wrap-item":!1},C(e=E.value.map((e=>s(m,{size:"large",secondary:!0,onClick:()=>z.sendContent=e,disabled:z.loading},C(e)?e:{default:()=>[e]}))))?e:{default:()=>[e]})]:null])])])}return y(D,(()=>{O()}),M.value?"bottom":"top"),O(!0),o((()=>z.externalData),(e=>{var t,n;e&&(t=e,P.value.unshift(t),null==(n=D.value)||n.scrollTo({top:0,behavior:"auto"}),z.loading=!1,z.externalData=null)})),o((()=>z.sending),(async e=>{var t,n;if(e){P.value.unshift({contents:[{role:"user",content:z.sendContent}]}),null==(t=D.value)||t.scrollTo({top:0,behavior:"auto"}),R();const e=z.selectedCommand,l=z.selectedPrompt;z.selectedCommand=null;const o=await w.value({content:z.sendContent,contentType:"text",command:e,prompt:l,patient:z.selectedPatient});h(null==o?void 0:o.contents)&&(P.value.unshift(o),await a(),null==(n=D.value)||n.scrollTo({top:0,behavior:"auto"})),z.sending=!1,z.loading=!1,z.sendContent=""}})),()=>s("section",{class:"chat-main",ref:D,style:{"flex-direction":M.value?"column":"column-reverse"}},[[z.loading?s("div",{class:"message-item"},[[A.value?null:s(u,{round:!0,size:40,src:H.value},null),s("div",{class:"content-box"},[s("div",{class:"content loading"},[s(c,{size:22,stroke:"#4170EE"},null),s("span",null,[r("正在加载中,请稍等...")])])])]]):null,P.value.map((e=>e.contents.map(((t,n)=>s("div",{class:"message-item"},[[A.value?null:s(u,{round:!0,size:40,src:F(t)?T.value:H.value},null),s("div",{class:["content-box",F(t)?"mine":""]},[s("div",{class:"content"},[b(t.render)?t.render():B(e,n)])])]]))))),q.value?G():null]])}});export{j as default};
|
@@ -16,7 +16,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
16
16
|
patientInfo: any;
|
17
17
|
state: any;
|
18
18
|
formValue: {
|
19
|
-
businessType:
|
19
|
+
businessType: string;
|
20
20
|
vaa01: null;
|
21
21
|
bck03a: string;
|
22
22
|
};
|
@@ -37,6 +37,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
37
37
|
renderLabel: (option: AnyObject) => string;
|
38
38
|
handleUpdateValue: (value: string, option: SelectOption) => void;
|
39
39
|
handleSearch: (keyword: string) => Promise<void>;
|
40
|
+
handleBusinessTypeUpdate: () => void;
|
40
41
|
handleValidateClick: (e: MouseEvent) => void;
|
41
42
|
NDrawer: any;
|
42
43
|
NDrawerContent: any;
|
@@ -1 +1 @@
|
|
1
|
-
import{defineComponent as e,inject as a,reactive as t,ref as l,openBlock as u,createBlock as n,unref as
|
1
|
+
import{defineComponent as e,inject as a,reactive as t,ref as l,openBlock as u,createBlock as n,unref as s,withCtx as i,createVNode as o,createTextVNode as r,toDisplayString as v}from"vue";import{NDrawer as d,NDrawerContent as p,NForm as f,NFormItem as c,NRadioGroup as b,NRadio as m,NSelect as h,NButton as y}from"naive-ui";import{isFunction as _,isArray as g}from"lodash-es";import{InjectionAIChat as k}from"../types/index.js";var w=e({__name:"ChatPatient",props:{show:{type:Boolean}},emits:["update:show"],setup(e,{emit:w}){const{patientInfo:I,state:T}=a(k),C=t({businessType:"CLINICIAN",vaa01:null,bck03a:""}),q={businessType:{required:!0,trigger:"change",message:"请选择类型"},vaa01:{required:!0,trigger:["blur","change"],message:"请选择患者"}},P=l([]),N=l();function A(e){const{bcq04b:a,vae96:t}=e,l="1"==t?"男":"2"==t?"女":"未知";let u="";a&&(u+=a+"床");const n=a=>{e[a]&&(u+=(!u||u.endsWith("/")?"":"/")+e[a])};return n("vaa05"),u+="/"+l,n("vae87"),n("bck02a"),u.startsWith("/")&&(u=u.slice(1)),u}function L(e,a){C.bck03a=a.bck03a}async function x(e){var a;if(_(null==(a=I.value)?void 0:a.queryPatient))try{const a=await I.value.queryPatient({keyword:e,businessType:C.businessType});if(g(a))return void(P.value=a);P.value=[]}catch(e){P.value=[]}}function S(){C.vaa01=null,C.bck03a="",x("")}function U(e){var a;e.preventDefault(),null==(a=N.value)||a.validate((e=>{e||(T.selectedPatient={...C,...P.value.find((e=>e.vaa01===C.vaa01))},w("update:show",!1))}))}return x(""),(a,t)=>(u(),n(s(d),{placement:"bottom",height:"300","trap-focus":!1,to:"#"+s(T).id,show:e.show,onMaskClick:t[2]||(t[2]=()=>w("update:show",!1))},{default:i((()=>[o(s(p),null,{default:i((()=>[o(s(f),{ref_key:"formRef",ref:N,"label-placement":"left","label-width":"auto",size:"large",model:C,"require-mark-placement":"right-hanging",rules:q},{default:i((()=>[o(s(c),{label:"业务",path:"businessType"},{default:i((()=>[o(s(b),{value:C.businessType,"onUpdate:value":[t[0]||(t[0]=e=>C.businessType=e),S],name:"业务"},{default:i((()=>[o(s(m),{value:"CLINICIAN"},{default:i((()=>[r("门诊")])),_:1}),o(s(m),{value:"HOSPITAL"},{default:i((()=>[r("住院")])),_:1})])),_:1},8,["value"])])),_:1}),o(s(c),{label:"患者",path:"vaa01"},{default:i((()=>[o(s(h),{remote:"",value:C.vaa01,"onUpdate:value":[t[1]||(t[1]=e=>C.vaa01=e),L],placeholder:"请选择患者",filterable:"",options:P.value,"render-label":A,"value-field":"vaa01",onSearch:x},null,8,["value","options"])])),_:1}),o(s(c),{label:"科室"},{default:i((()=>[r(v(C.bck03a),1)])),_:1}),o(s(c),null,{default:i((()=>[o(s(y),{block:"",type:"primary",onClick:U},{default:i((()=>[r("确定")])),_:1})])),_:1})])),_:1},8,["model"])])),_:1})])),_:1},8,["to","show"]))}});export{w as default};
|
@@ -1 +1 @@
|
|
1
|
-
.c-recording-wrapper{align-items:center;background-color:#fff;border-radius:10px;bottom:100px;display:flex;height:350px;justify-content:center;left:calc(50% - 250px);position:fixed;width:500px}@keyframes toScale{0%{transform:translateX(-50%) translateY(-50%) scale(1)}to{transform:translateX(-50%) translateY(-50%) scale(1.5)}}.c-recording-wrapper .content{font-size:18px;position:absolute;text-align:center;top:20px}.c-recording-wrapper .animation{animation:toScale 1s infinite;background-color:#5585f54d;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%) scale(1);z-index:-1}.c-recording-wrapper .animation,.c-recording-wrapper .icon-box{align-items:center;border-radius:50%;display:flex;height:90px;justify-content:center;width:90px}.c-recording-wrapper .icon-box{background-color:#5585f5;cursor:pointer}.c-recording-wrapper .tip{bottom:20px;position:absolute}.c-template-render{box-sizing:border-box;color:#000;font-size:0;line-height:1.6}.c-template-render__flex{display:flex}.c-template-render__flexAlignCenter{align-items:center}.c-template-render__flex-wrap{flex-wrap:wrap}.c-template-render__flex1{flex:1}.c-template-render__width100{width:100%}.c-template-render__color60{color:rgba(0,0,0,.6)}.c-template-render__color100{color:#000}.c-template-render__text-ellipsis{-webkit-box-orient:vertical;-webkit-line-clamp:1;display:-webkit-box!important;overflow:hidden;overflow-wrap:break-word;text-overflow:ellipsis;word-break:break-all}.c-template-render__nowrap{white-space:nowrap}.c-template-render__mgr8{margin-right:8px!important}.c-template-render__mgb8{margin-bottom:8px!important}.c-template-render__mgt4{margin-top:4px!important}.c-template-render__mgb4{margin-bottom:4px!important}.c-template-render__un-mgr8{margin-right:-8px!important}.c-template-render__bar{padding-left:8px;position:relative}.c-template-render__bar:before{background:var(--c-primary-color);border-radius:4px;content:"";height:12px;left:0;position:absolute;top:50%;transform:translateY(-50%);width:4px}.c-template-render__inline{display:inline}.annotation-edit{align-items:center;color:var(--c-primary-color);cursor:pointer;display:inline-flex;font-size:16px;user-select:none}.annotation-edit.is-active{color:var(--c-primary-color);filter:hue-rotate(140deg)}.annotation-edit__icon{align-items:center;display:inline-flex}.annotation-edit__textarea{min-width:200px}.annotation-edit__footer{align-items:center;display:flex;flex-wrap:nowrap;gap:8px;justify-content:space-between;opacity:.5}.annotation-edit__footer>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.annotation-edit__footer>div:first-of-type{min-width:30%}.recommend-search__menu{min-height:100px}.recommend-search__menuRecommendList{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.recommend-search__menuRecommendList .n-tag{cursor:pointer}.recommend-search__recentRecommend{margin-bottom:8px}.recommend-search__recentRecommend>header{align-items:center;color:rgba(0,0,0,.4);display:flex;justify-content:space-between}.recommend-search__recentRecommend>header .n-icon:hover{color:rgba(0,0,0,.6);cursor:pointer}.recommend-search__commonRecommend{margin-bottom:8px}.recommend-search__commonRecommend>header{align-items:center;color:rgba(0,0,0,.4);display:flex;justify-content:space-between}.recommend-search__commonRecommend>header .n-icon:hover{color:rgba(0,0,0,.6);cursor:pointer}.recommend-search__option{align-items:center;border-radius:4px;cursor:pointer;display:flex;height:32px;justify-content:space-between;padding:0 8px}.recommend-search__optionText{max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recommend-search__option.is-active{color:var(--n-color)!important}.recommend-search__option.is-active .n-icon{font-size:20px}.recommend-search__option:hover{background:rgba(0,0,0,.03)}.recommend-search__optionContainer{margin:-8px -10px}.recommend-search__empty{align-items:center;color:rgba(0,0,0,.3);display:flex;height:100px;justify-content:center}.search-cascader__menuWrapper{display:flex;flex-wrap:nowrap;margin:-8px -14px}.search-cascader__input input{cursor:pointer!important}.search-cascader__option{align-items:center;border-radius:4px;box-sizing:border-box;display:flex;height:32px;justify-content:space-between;min-width:100%;padding:0 8px 0 16px;width:fit-content}.search-cascader__option--active{background:#f8f8f8}.search-cascader__option:hover{background:#f5f5f5;cursor:pointer}.search-cascader__optionWrapper{background:#fff;height:256px;overflow-x:auto;width:calc(var(--menu-width)*1px)}.search-cascader__optionWrapper:not(:last-of-type){border:solid #e5e5e5;border-width:0 1px 0 0}.search-cascader__optionText{white-space:nowrap}.search-cascader__optionText--active{color:var(--c-primary-color)}.search-cascader__option svg{color:#bfbfbf;flex-shrink:0;font-size:12px;width:20px}.search-cascader__option svg.rotate{animation:rotate 1s linear infinite}.search-cascader__emptyWrapper{align-items:center;background:#fff;box-sizing:border-box;display:flex;height:300px;justify-content:center;padding:16px;width:100%}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.form-render__wrapper{align-items:start;display:grid!important;gap:0 16px;grid-template-columns:repeat(var(--column),minmax(0,1fr));max-height:var(--form-height);overflow-y:auto;position:relative}.form-render__formItem{grid-column:span min(var(--column),var(--form-item-column)) /span min(var(--column),var(--form-item-column));position:relative}.form-render__formItemMask{margin-bottom:8px;padding:8px}.form-render__formItemMask:after{border:1px solid #c2c2c2;border-radius:8px;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;top:0;width:100%}.form-render__formItemMask--selected:after{border-color:var(--c-primary-color)}.form-render__formItemMask--selected:before{border-bottom:12px solid var(--c-primary-color);border-bottom-right-radius:8px;border-left:12px solid transparent;border-right:12px solid var(--c-primary-color);border-top:12px solid transparent;bottom:0;color:#fff;content:"✓";font-size:10px;height:0;line-height:.9;position:absolute;right:0;width:0}.form-render__formItem.n-form-item--left-labelled .form-render__formItemLabel--text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.form-render__formItem .n-date-picker,.form-render__formItem .n-input-number{width:100%}.form-render__formItemLabel{align-items:center;display:inline-flex;justify-content:space-between;position:relative}.form-render__formItemLabel--operation{align-items:center;display:flex;gap:2px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.form-render__formItemLabel--tooltip{font-size:0;line-height:1;width:16px}.form-render__formItem .n-form-item-label{display:inline-flex}.form-render__formItem .n-form-item-label [annotation-hover-show=true]{visibility:hidden}.form-render__formItem .n-form-item-label:hover [annotation-hover-show=true]{visibility:visible}.form-render__linebar{grid-column:span min(var(--column),var(--column)) /span min(var(--column),var(--column))}.form-render__linebarHeader{align-items:center;background:var(--c-primary-color-opacity2);border-radius:4px;cursor:pointer;display:flex;font-size:14px;font-weight:600;height:32px;justify-content:space-between;margin-bottom:8px;padding:0 16px}.form-render__linebarHeader>svg{color:rgba(33,33,33,.4);width:14px}.form-render__linebarHeaderTitle{align-items:center;display:flex;font-size:15px;gap:4px;vertical-align:middle}.form-render__linebarHeaderTitle svg{height:16px;transform:translateY(-1px)}.form-render__linebarHeader--disabled{cursor:auto}.form-render__linebarItem{align-items:start;display:grid!important;flex:1;gap:0 16px;grid-template-columns:repeat(var(--column),minmax(0,1fr))}.form-render__linebar--horizontal{align-items:stretch;display:flex;position:relative}.form-render__linebar--horizontal .form-render__linebarHeader{align-items:center;background:transparent;border-radius:0;box-sizing:border-box;display:flex;height:unset;justify-content:center;margin-bottom:0;margin-left:-8px;max-width:var(--form-render-linebar-width);padding:8px;text-align:center;width:var(--form-render-linebar-width);word-break:break-all}.form-render__linebar--horizontal .form-render__linebarItem{padding:8px 0 8px 8px}.form-render__linebar--horizontalBorder:after{border-bottom:1px solid #000;bottom:0;content:"";height:1px;left:0;margin-left:-8px;position:absolute;width:calc(100% + 16px)}.form-render__linebar:last-of-type .form-render__linebar--horizontalBorder:after{display:none}.form-render__linebreaks{grid-column:span min(var(--column),var(--form-item-column)) /span min(var(--column),var(--form-item-column))}.form-render__inputGroup{align-items:start;display:grid!important;gap:0 16px;gap:0;grid-column:span min(var(--column),var(--column)) /span min(var(--column),var(--column));grid-template-columns:repeat(var(--column),minmax(0,1fr))}.form-render__inputGroup>div{grid-column:span min(var(--column),var(--form-item-column)) /span min(var(--column),var(--form-item-column))}.form-render__inputGroup>div:not(:last-of-type) .n-base-selection__border,.form-render__inputGroup>div:not(:last-of-type) .n-input__border{border-bottom-right-radius:0;border-right:0;border-top-right-radius:0}.form-render__inputGroup>div:last-of-type .n-base-selection__border,.form-render__inputGroup>div:last-of-type .n-input__border{border-bottom-left-radius:0;border-top-left-radius:0}.form-render__inputGroup .n-form-item--left-labelled:not(:first-of-type)>label{display:none}.form-render__combination{width:100%}.form-render__combinationHeader{display:flex;gap:12px}.form-render__combinationHeader>h3{font-size:16px;font-weight:700;margin:0;padding:0}.form-render__combinationHeader .n-button__icon{font-size:14px;margin:0 2px 0 0}.form-render__combinationHeaderText{font-size:16px;font-weight:500}.form-render__combinationClose{font-size:16px;height:14px;position:absolute;right:5px;top:5px;width:14px}.form-render__combinationContentJson{position:relative}.form-render__combinationContent{align-items:start;display:grid!important;gap:0 16px;grid-template-columns:repeat(var(--column),minmax(0,1fr));position:relative}.form-render__complex{width:100%}.form-render__complexContent--grid{align-items:start;display:grid!important;gap:0 16px;grid-template-columns:repeat(var(--column),minmax(0,1fr))}.form-render__complexContent--flex{display:flex!important;gap:0 8px}.form-render__selectMenu .n-scrollbar-rail__scrollbar{display:none!important}.form-render__selectMenu .n-virtual-list::-webkit-scrollbar,.form-render__selectMenu .n-virtual-list::-webkit-scrollbar-thumb{display:unset!important;height:6px;width:6px}.form-render__selectMenu .n-virtual-list::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:4px}.form-render__selectMenu .v-vl-items{min-width:100%;width:max-content}.form-render__selectOption .n-base-select-option__content{overflow:visible!important;text-overflow:unset!important;word-break:keep-all!important}.form-render__labelField{align-items:start;display:grid!important;display:inline-grid!important;gap:0 16px;grid-template-columns:repeat(var(--column),minmax(0,1fr));grid-template-columns:repeat(var(--column),auto)!important;margin-left:16px}.form-render__labelField .n-form-item{display:inline-grid}.form-render__labelField label.n-form-item-label.n-form-item-label--left-mark{align-items:center}.form-render__labelField .n-checkbox[aria-checked=false] .n-checkbox-box{background-color:transparent}.form-render__labelField .n-checkbox[aria-checked=false] .n-checkbox-icon .check-icon{opacity:0}.form-render__labelField .n-checkbox[aria-checked=false] .n-checkbox-box__border{border:var(--n-border)}.form-render .form-render__formItem .n-checkbox,.form-render .form-render__formItem .n-radio{align-items:center}.form-render .form-render__formItem .n-radio-input{left:auto;right:auto}.form-render .form-render__formItem .n-checkbox-group>.n-space:not([vertical-space=true]),.form-render .form-render__formItem .n-radio-group>.n-space:not([vertical-space=true]){align-items:center!important}.form-render .form-render__formItem .n-checkbox__label{align-items:center;display:inline-flex;flex:1;flex-wrap:wrap}.form-render .form-render__formItem [showType=checkbox] .n-radio__dot{border-radius:0!important}.form-render .form-render__formItem [showType=checkbox] .n-radio__dot--checked{background:var(--c-primary-color)!important}.form-render .form-render__formItem [showType=checkbox] .n-radio__dot--checked:before{color:#fff;content:"✓";font-size:13px;font-weight:700;line-height:.8;transform:translateX(-1.5px)}.form-render--no-border .n-input{border-radius:0}.form-render--no-border .n-input__border,.form-render--no-border .n-input__state-border{border-width:0!important}.form-render--no-border .n-input:hover .n-input__state-border{border-bottom-width:1px!important}.form-render--no-border .n-input--focus{border-radius:0}.form-render--no-border .n-input--focus .n-input__state-border{border-bottom-width:1px!important;box-shadow:none!important}.form-render--no-border .n-base-selection--active .n-base-selection__state-border,.form-render--no-border .n-base-selection--focus .n-base-selection__state-border,.form-render--no-border .n-base-selection:hover .n-base-selection__state-border,.form-render--no-border .n-base-selection__border,.form-render--no-border .n-base-selection__state-border{border-width:0!important;box-shadow:none!important}.form-render--underline .n-input{border-radius:0}.form-render--underline .n-input__border,.form-render--underline .n-input__state-border{border-left-width:0!important;border-right-width:0!important;border-top-width:0!important}.form-render--underline .n-input--focus{border-radius:0}.form-render--underline .n-input--focus .n-input__state-border{box-shadow:none!important}.form-render--underline .n-base-selection--active .n-base-selection__state-border,.form-render--underline .n-base-selection--focus .n-base-selection__state-border,.form-render--underline .n-base-selection:hover .n-base-selection__state-border,.form-render--underline .n-base-selection__border,.form-render--underline .n-base-selection__state-border{border-left-width:0!important;border-right-width:0!important;border-top-width:0!important;box-shadow:none!important}.form-render--underline .n-input--textarea{background-image:linear-gradient(transparent,transparent 95%,#d5d5d5 0,#d5d5d5);background-origin:content-box;background-position:top;background-repeat:repeat-y;background-size:100% 22px;margin-top:4px;padding:0}.form-render--underline .n-input--textarea .n-input__textarea-el{padding:0}.form-render--underline .n-input--textarea .n-input__placeholder{padding-top:0}.form-render--underline .n-input--textarea .n-input__border,.form-render--underline .n-input--textarea .n-input__state-border{border:0!important}.form-render__selectChildField{align-items:start;display:grid!important;gap:0 16px;grid-template-columns:repeat(var(--column),minmax(0,1fr));width:100%}.form-render__selectChildFieldItem{grid-column:span min(var(--column),var(--form-item-column)) /span min(var(--column),var(--form-item-column))}.form-render--out-border .form-render__wrapper{border:1px solid #1f2225;padding:0 8px}.form-render__selectOption.n-base-select-option--disabled .n-base-select-option__content{color:rgba(0,0,0,.4)}.ai-chat{background:linear-gradient(135deg,#c9dbfb,#c9dbfb 20%,rgba(237,237,253,.5) 70%,rgba(151,97,251,.2));display:flex;flex-flow:column nowrap;font-size:14px;height:100%;padding:45px 0 60px;position:relative;width:100%}.ai-chat,.ai-chat *{box-sizing:border-box}.ai-chat .fillet-10{border-radius:10px}.ai-chat .fillet-8{border-radius:8px}.ai-chat .n-avatar{background-color:var(--c-primary-color)}.ai-chat .gradient{background:linear-gradient(178deg,#8f66f7,#4170ee);color:#fff}.ai-chat .gradient:active,.ai-chat .gradient:focus,.ai-chat .gradient:hover{color:#fff}.ai-chat .chat-main{display:flex;flex:1;flex-flow:column-reverse nowrap;overflow-y:auto;padding:0 130px 0 82px;row-gap:16px}.ai-chat .chat-main::-webkit-scrollbar{width:5px}.ai-chat .chat-main::-webkit-scrollbar-thumb{background:rgba(0,0,0,.25);border-radius:5px}.ai-chat .chat-main::-webkit-scrollbar-track-piece{background-color:unset}.ai-chat .chat-main .message-item{column-gap:8px;display:flex;flex-flow:row nowrap}.ai-chat .chat-main .message-item:first-child{margin-bottom:auto}.ai-chat .chat-main .message-item .n-avatar{flex-shrink:0}.ai-chat .chat-main .message-item .content-box .content{background:#fff;border-radius:10px;flex:unset;padding:10px 12px}.ai-chat .chat-main .message-item .content-box .content .card{width:236px}.ai-chat .chat-main .message-item .content-box .content .card>p{font-size:14px;line-height:19px}.ai-chat .chat-main .message-item .content-box .content .card .link-btn{display:flex;flex-flow:row wrap;font-size:14px;justify-content:space-between;margin-top:10px;width:100%}.ai-chat .chat-main .message-item .content-box .content .card .link-btn .n-button__content{display:unset;flex:1;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.ai-chat .chat-main .message-item .content-box .content .card .card-body{border:1px solid #d5d5d5;border-radius:8px;margin-top:5px;overflow:hidden}.ai-chat .chat-main .message-item .content-box .content .card .card-body__head{background:rgba(65,112,238,.14);line-height:36px;padding:0 15px}.ai-chat .chat-main .message-item .content-box .content .card .card-body__content{padding:10px 6px}.ai-chat .chat-main .message-item .content-box .content .card .card-body__content>div{display:flex;font-size:12px}.ai-chat .chat-main .message-item .content-box .content .card .card-body__content>div .label{flex:0 0 60px;text-align:right}.ai-chat .chat-main .message-item .content-box .content .card .patient-info{border-top:1px solid #e5e5e5;margin-top:5px}.ai-chat .chat-main .message-item .content-box .content .card .patient-info .patient-item{margin:5px 0 0 5px}.ai-chat .chat-main .message-item .content-box .content .card .patient-info .patient-item:last-child{margin-bottom:0}.ai-chat .chat-main .message-item .content-box .content .card .patient-info .patient-item p:first-child{font-weight:700}.ai-chat .chat-main .message-item .content-box .content .card .patient-info .patient-item p:last-child{color:#888}.ai-chat .chat-main .message-item .content-box .content .card .n-form{margin-top:10px}.ai-chat .chat-main .message-item .content-box .content .card .n-form .form-render__formItemLabel{color:#888}.ai-chat .chat-main .message-item .content-box .content.default h2{font-size:22px;font-weight:500;margin:10px 0}.ai-chat .chat-main .message-item .content-box .content.loading{align-items:center;color:#999;column-gap:10px;display:flex}.ai-chat .chat-main .message-item .content-box.mine .content{background:hsla(0,0%,100%,.48);border-radius:8px}.ai-chat .chat-footer{padding:30px 130px 0}.ai-chat .chat-footer.disabled{cursor:not-allowed}.ai-chat .chat-footer .menu-box{background:#fff;column-gap:8px;display:flex;margin-bottom:8px;overflow-x:auto;padding:10px}.ai-chat .chat-footer .menu-box::-webkit-scrollbar{width:5px}.ai-chat .chat-footer .menu-box::-webkit-scrollbar-thumb{background:rgba(0,0,0,.25);border-radius:5px}.ai-chat .chat-footer .menu-box::-webkit-scrollbar-track-piece{background-color:unset}.ai-chat .chat-footer .menu-box::-webkit-scrollbar{height:5px}.ai-chat .chat-footer .input-wrapper{background:#fff;box-shadow:0 3px 4px 0 rgba(0,0,0,.1);padding:15px 20px}.ai-chat .chat-footer .input-wrapper .n-input__border,.ai-chat .chat-footer .input-wrapper .n-input__state-border{border:none}.ai-chat .chat-footer .input-wrapper .n-input:not(.n-input--disabled).n-input--focus .n-input__state-border{box-shadow:unset}.ai-chat .chat-footer .input-wrapper .btn-box{display:flex;justify-content:flex-end}.ai-chat .chat-footer .input-wrapper .btn-box .btn-send{align-items:center;cursor:pointer;display:flex;height:46px;justify-content:center;width:58px}.ai-chat .chat-footer .input-wrapper .btn-box .btn-send.disabled{cursor:not-allowed;opacity:.5}.ai-chat .chat-footer .command-box{display:flex;flex-flow:column nowrap;height:100%}.ai-chat .chat-footer .command-box__header{display:flex}.ai-chat .chat-footer .command-box__header .title{color:#999}.ai-chat .chat-footer .command-box__menu{flex:1;overflow-y:auto}.ai-chat .chat-footer .command-box__menu .menu-item{align-items:center;display:flex;padding:8px 0 8px 5px}.ai-chat .chat-footer .command-box__menu .menu-item .remark{color:#999;flex:1;font-size:12px;margin-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-chat .chat-footer .command-box__menu .menu-item .n-icon{margin-left:auto}.ai-chat .chat-footer .command-box__menu .menu-item:hover{cursor:default}.ai-chat .chat-footer .command-box__menu .menu-item.selected{background:#f2f2f2;border-radius:5px}.ai-chat .chat-footer .command-box__menu .menu-item.selectable{position:relative}.ai-chat .chat-footer .command-box__menu .menu-item.selectable .label{color:var(--c-primary-color);margin-left:30px}.ai-chat .chat-footer .command-box__menu .menu-item.selectable:before{background:#e5e5e5;border-radius:5px;content:"/";height:20px;left:5px;line-height:20px;position:absolute;text-align:center;top:10px;width:20px}.ai-chat--small{padding:20px 0 44px}.ai-chat--small .chat-main{padding:0 20px 10px}.ai-chat--small .chat-main .message-item{display:unset}.ai-chat--small .chat-main .message-item .n-avatar{background:transparent}.ai-chat--small .chat-main .message-item .content-box{display:flex;flex-flow:row nowrap}.ai-chat--small .chat-main .message-item .content-box .content{border-radius:3px 14px 14px;max-width:calc(100% - 55px)}.ai-chat--small .chat-main .message-item .content-box .content.default{border-radius:4px 16px 16px}.ai-chat--small .chat-main .message-item .content-box.mine{flex-flow:row-reverse nowrap}.ai-chat--small .chat-main .message-item .content-box.mine .content{background:#5874dc;border-radius:14px 0 14px 14px;color:#fff}.ai-chat--small .chat-footer{padding:10px 20px 0}.ai-chat--small .chat-footer .menu-box{background:none;padding:0}.ai-chat--small .chat-footer .menu-box .n-button{background:#fff}.ai-chat--small .chat-footer .input-wrapper{border-radius:24px;box-shadow:0 0 6px 0 hsla(240,9%,85%,.74);padding:0}.ai-chat .prompt-wrapper{background:linear-gradient(135deg,#ecf3ff,#ecf3ff 20%,rgba(237,237,253,.5) 70%,rgba(203,175,255,.3))}.ai-chat .prompt-wrapper .n-drawer-header{padding:15px}.ai-chat .prompt-wrapper .n-drawer-header__main{width:100%}.ai-chat .prompt-wrapper .n-drawer-header__main .title{display:flex;font-size:14px}.ai-chat .prompt-wrapper .n-drawer-header__main .title .n-button{margin-left:auto}.ai-chat .prompt-wrapper .n-drawer-header__main .n-input{margin-top:10px}.ai-chat .prompt-wrapper .n-drawer-body-content-wrapper{padding:0 10px}.ai-chat .prompt-wrapper .n-drawer-body-content-wrapper .list-wrapper{align-content:flex-start;display:flex;flex-wrap:wrap;height:100%;overflow-y:auto}.ai-chat .prompt-wrapper .n-drawer-body-content-wrapper .list-wrapper::-webkit-scrollbar{width:5px}.ai-chat .prompt-wrapper .n-drawer-body-content-wrapper .list-wrapper::-webkit-scrollbar-thumb{background:rgba(0,0,0,.25);border-radius:5px}.ai-chat .prompt-wrapper .n-drawer-body-content-wrapper .list-wrapper::-webkit-scrollbar-track-piece{background-color:unset}.ai-chat .prompt-wrapper .n-drawer-body-content-wrapper .list-wrapper .item{background:#fff;border-radius:10px;box-sizing:border-box;break-inside:avoid;cursor:pointer;margin:5px;padding:10px;width:calc(50% - 10px)}.ai-chat .prompt-wrapper .n-drawer-body-content-wrapper .list-wrapper .item:hover{background-image:linear-gradient(#ecf3ff,#fff 40%,#fff)}.ai-chat .prompt-wrapper .n-drawer-body-content-wrapper .list-wrapper .item p:last-child{color:#999;font-size:12px}
|
1
|
+
.c-recording-wrapper{align-items:center;background-color:#fff;border-radius:10px;bottom:100px;display:flex;height:350px;justify-content:center;left:calc(50% - 250px);position:fixed;width:500px}@keyframes toScale{0%{transform:translateX(-50%) translateY(-50%) scale(1)}to{transform:translateX(-50%) translateY(-50%) scale(1.5)}}.c-recording-wrapper .content{font-size:18px;position:absolute;text-align:center;top:20px}.c-recording-wrapper .animation{animation:toScale 1s infinite;background-color:#5585f54d;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%) scale(1);z-index:-1}.c-recording-wrapper .animation,.c-recording-wrapper .icon-box{align-items:center;border-radius:50%;display:flex;height:90px;justify-content:center;width:90px}.c-recording-wrapper .icon-box{background-color:#5585f5;cursor:pointer}.c-recording-wrapper .tip{bottom:20px;position:absolute}.c-template-render{box-sizing:border-box;color:#000;font-size:0;line-height:1.6}.c-template-render__flex{display:flex}.c-template-render__flexAlignCenter{align-items:center}.c-template-render__flex-wrap{flex-wrap:wrap}.c-template-render__flex1{flex:1}.c-template-render__width100{width:100%}.c-template-render__color60{color:rgba(0,0,0,.6)}.c-template-render__color100{color:#000}.c-template-render__text-ellipsis{-webkit-box-orient:vertical;-webkit-line-clamp:1;display:-webkit-box!important;overflow:hidden;overflow-wrap:break-word;text-overflow:ellipsis;word-break:break-all}.c-template-render__nowrap{white-space:nowrap}.c-template-render__mgr8{margin-right:8px!important}.c-template-render__mgb8{margin-bottom:8px!important}.c-template-render__mgt4{margin-top:4px!important}.c-template-render__mgb4{margin-bottom:4px!important}.c-template-render__un-mgr8{margin-right:-8px!important}.c-template-render__bar{padding-left:8px;position:relative}.c-template-render__bar:before{background:var(--c-primary-color);border-radius:4px;content:"";height:12px;left:0;position:absolute;top:50%;transform:translateY(-50%);width:4px}.c-template-render__inline{display:inline}.annotation-edit{align-items:center;color:var(--c-primary-color);cursor:pointer;display:inline-flex;font-size:16px;user-select:none}.annotation-edit.is-active{color:var(--c-primary-color);filter:hue-rotate(140deg)}.annotation-edit__icon{align-items:center;display:inline-flex}.annotation-edit__textarea{min-width:200px}.annotation-edit__footer{align-items:center;display:flex;flex-wrap:nowrap;gap:8px;justify-content:space-between;opacity:.5}.annotation-edit__footer>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.annotation-edit__footer>div:first-of-type{min-width:30%}.recommend-search__menu{min-height:100px}.recommend-search__menuRecommendList{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.recommend-search__menuRecommendList .n-tag{cursor:pointer}.recommend-search__recentRecommend{margin-bottom:8px}.recommend-search__recentRecommend>header{align-items:center;color:rgba(0,0,0,.4);display:flex;justify-content:space-between}.recommend-search__recentRecommend>header .n-icon:hover{color:rgba(0,0,0,.6);cursor:pointer}.recommend-search__commonRecommend{margin-bottom:8px}.recommend-search__commonRecommend>header{align-items:center;color:rgba(0,0,0,.4);display:flex;justify-content:space-between}.recommend-search__commonRecommend>header .n-icon:hover{color:rgba(0,0,0,.6);cursor:pointer}.recommend-search__option{align-items:center;border-radius:4px;cursor:pointer;display:flex;height:32px;justify-content:space-between;padding:0 8px}.recommend-search__optionText{max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recommend-search__option.is-active{color:var(--n-color)!important}.recommend-search__option.is-active .n-icon{font-size:20px}.recommend-search__option:hover{background:rgba(0,0,0,.03)}.recommend-search__optionContainer{margin:-8px -10px}.recommend-search__empty{align-items:center;color:rgba(0,0,0,.3);display:flex;height:100px;justify-content:center}.search-cascader__menuWrapper{display:flex;flex-wrap:nowrap;margin:-8px -14px}.search-cascader__input input{cursor:pointer!important}.search-cascader__option{align-items:center;border-radius:4px;box-sizing:border-box;display:flex;height:32px;justify-content:space-between;min-width:100%;padding:0 8px 0 16px;width:fit-content}.search-cascader__option--active{background:#f8f8f8}.search-cascader__option:hover{background:#f5f5f5;cursor:pointer}.search-cascader__optionWrapper{background:#fff;height:256px;overflow-x:auto;width:calc(var(--menu-width)*1px)}.search-cascader__optionWrapper:not(:last-of-type){border:solid #e5e5e5;border-width:0 1px 0 0}.search-cascader__optionText{white-space:nowrap}.search-cascader__optionText--active{color:var(--c-primary-color)}.search-cascader__option svg{color:#bfbfbf;flex-shrink:0;font-size:12px;width:20px}.search-cascader__option svg.rotate{animation:rotate 1s linear infinite}.search-cascader__emptyWrapper{align-items:center;background:#fff;box-sizing:border-box;display:flex;height:300px;justify-content:center;padding:16px;width:100%}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.form-render__wrapper{align-items:start;display:grid!important;gap:0 16px;grid-template-columns:repeat(var(--column),minmax(0,1fr));max-height:var(--form-height);overflow-y:auto;position:relative}.form-render__formItem{grid-column:span min(var(--column),var(--form-item-column)) /span min(var(--column),var(--form-item-column));position:relative}.form-render__formItemMask{margin-bottom:8px;padding:8px}.form-render__formItemMask:after{border:1px solid #c2c2c2;border-radius:8px;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;top:0;width:100%}.form-render__formItemMask--selected:after{border-color:var(--c-primary-color)}.form-render__formItemMask--selected:before{border-bottom:12px solid var(--c-primary-color);border-bottom-right-radius:8px;border-left:12px solid transparent;border-right:12px solid var(--c-primary-color);border-top:12px solid transparent;bottom:0;color:#fff;content:"✓";font-size:10px;height:0;line-height:.9;position:absolute;right:0;width:0}.form-render__formItem.n-form-item--left-labelled .form-render__formItemLabel--text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.form-render__formItem .n-date-picker,.form-render__formItem .n-input-number{width:100%}.form-render__formItemLabel{align-items:center;display:inline-flex;justify-content:space-between;position:relative}.form-render__formItemLabel--operation{align-items:center;display:flex;gap:2px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.form-render__formItemLabel--tooltip{font-size:0;line-height:1;width:16px}.form-render__formItem .n-form-item-label{display:inline-flex}.form-render__formItem .n-form-item-label [annotation-hover-show=true]{visibility:hidden}.form-render__formItem .n-form-item-label:hover [annotation-hover-show=true]{visibility:visible}.form-render__linebar{grid-column:span min(var(--column),var(--column)) /span min(var(--column),var(--column))}.form-render__linebarHeader{align-items:center;background:var(--c-primary-color-opacity2);border-radius:4px;cursor:pointer;display:flex;font-size:14px;font-weight:600;height:32px;justify-content:space-between;margin-bottom:8px;padding:0 16px}.form-render__linebarHeader>svg{color:rgba(33,33,33,.4);width:14px}.form-render__linebarHeaderTitle{align-items:center;display:flex;font-size:15px;gap:4px;vertical-align:middle}.form-render__linebarHeaderTitle svg{height:16px;transform:translateY(-1px)}.form-render__linebarHeader--disabled{cursor:auto}.form-render__linebarItem{align-items:start;display:grid!important;flex:1;gap:0 16px;grid-template-columns:repeat(var(--column),minmax(0,1fr))}.form-render__linebar--horizontal{align-items:stretch;display:flex;position:relative}.form-render__linebar--horizontal .form-render__linebarHeader{align-items:center;background:transparent;border-radius:0;box-sizing:border-box;display:flex;height:unset;justify-content:center;margin-bottom:0;margin-left:-8px;max-width:var(--form-render-linebar-width);padding:8px;text-align:center;width:var(--form-render-linebar-width);word-break:break-all}.form-render__linebar--horizontal .form-render__linebarItem{padding:8px 0 8px 8px}.form-render__linebar--horizontalBorder:after{border-bottom:1px solid #000;bottom:0;content:"";height:1px;left:0;margin-left:-8px;position:absolute;width:calc(100% + 16px)}.form-render__linebar:last-of-type .form-render__linebar--horizontalBorder:after{display:none}.form-render__linebreaks{grid-column:span min(var(--column),var(--form-item-column)) /span min(var(--column),var(--form-item-column))}.form-render__inputGroup{align-items:start;display:grid!important;gap:0 16px;gap:0;grid-column:span min(var(--column),var(--column)) /span min(var(--column),var(--column));grid-template-columns:repeat(var(--column),minmax(0,1fr))}.form-render__inputGroup>div{grid-column:span min(var(--column),var(--form-item-column)) /span min(var(--column),var(--form-item-column))}.form-render__inputGroup>div:not(:last-of-type) .n-base-selection__border,.form-render__inputGroup>div:not(:last-of-type) .n-input__border{border-bottom-right-radius:0;border-right:0;border-top-right-radius:0}.form-render__inputGroup>div:last-of-type .n-base-selection__border,.form-render__inputGroup>div:last-of-type .n-input__border{border-bottom-left-radius:0;border-top-left-radius:0}.form-render__inputGroup .n-form-item--left-labelled:not(:first-of-type)>label{display:none}.form-render__combination{width:100%}.form-render__combinationHeader{display:flex;gap:12px}.form-render__combinationHeader>h3{font-size:16px;font-weight:700;margin:0;padding:0}.form-render__combinationHeader .n-button__icon{font-size:14px;margin:0 2px 0 0}.form-render__combinationHeaderText{font-size:16px;font-weight:500}.form-render__combinationClose{font-size:16px;height:14px;position:absolute;right:5px;top:5px;width:14px}.form-render__combinationContentJson{position:relative}.form-render__combinationContent{align-items:start;display:grid!important;gap:0 16px;grid-template-columns:repeat(var(--column),minmax(0,1fr));position:relative}.form-render__complex{width:100%}.form-render__complexContent--grid{align-items:start;display:grid!important;gap:0 16px;grid-template-columns:repeat(var(--column),minmax(0,1fr))}.form-render__complexContent--flex{display:flex!important;gap:0 8px}.form-render__selectMenu .n-scrollbar-rail__scrollbar{display:none!important}.form-render__selectMenu .n-virtual-list::-webkit-scrollbar,.form-render__selectMenu .n-virtual-list::-webkit-scrollbar-thumb{display:unset!important;height:6px;width:6px}.form-render__selectMenu .n-virtual-list::-webkit-scrollbar-thumb{background:#bfbfbf;border-radius:4px}.form-render__selectMenu .v-vl-items{min-width:100%;width:max-content}.form-render__selectOption .n-base-select-option__content{overflow:visible!important;text-overflow:unset!important;word-break:keep-all!important}.form-render__labelField{align-items:start;display:grid!important;display:inline-grid!important;gap:0 16px;grid-template-columns:repeat(var(--column),minmax(0,1fr));grid-template-columns:repeat(var(--column),auto)!important;margin-left:16px}.form-render__labelField .n-form-item{display:inline-grid}.form-render__labelField label.n-form-item-label.n-form-item-label--left-mark{align-items:center}.form-render__labelField .n-checkbox[aria-checked=false] .n-checkbox-box{background-color:transparent}.form-render__labelField .n-checkbox[aria-checked=false] .n-checkbox-icon .check-icon{opacity:0}.form-render__labelField .n-checkbox[aria-checked=false] .n-checkbox-box__border{border:var(--n-border)}.form-render .form-render__formItem .n-checkbox,.form-render .form-render__formItem .n-radio{align-items:center}.form-render .form-render__formItem .n-radio-input{left:auto;right:auto}.form-render .form-render__formItem .n-checkbox-group>.n-space:not([vertical-space=true]),.form-render .form-render__formItem .n-radio-group>.n-space:not([vertical-space=true]){align-items:center!important}.form-render .form-render__formItem .n-checkbox__label{align-items:center;display:inline-flex;flex:1;flex-wrap:wrap}.form-render .form-render__formItem [showType=checkbox] .n-radio__dot{border-radius:0!important}.form-render .form-render__formItem [showType=checkbox] .n-radio__dot--checked{background:var(--c-primary-color)!important}.form-render .form-render__formItem [showType=checkbox] .n-radio__dot--checked:before{color:#fff;content:"✓";font-size:13px;font-weight:700;line-height:.8;transform:translateX(-1.5px)}.form-render--no-border .n-input{border-radius:0}.form-render--no-border .n-input__border,.form-render--no-border .n-input__state-border{border-width:0!important}.form-render--no-border .n-input:hover .n-input__state-border{border-bottom-width:1px!important}.form-render--no-border .n-input--focus{border-radius:0}.form-render--no-border .n-input--focus .n-input__state-border{border-bottom-width:1px!important;box-shadow:none!important}.form-render--no-border .n-base-selection--active .n-base-selection__state-border,.form-render--no-border .n-base-selection--focus .n-base-selection__state-border,.form-render--no-border .n-base-selection:hover .n-base-selection__state-border,.form-render--no-border .n-base-selection__border,.form-render--no-border .n-base-selection__state-border{border-width:0!important;box-shadow:none!important}.form-render--underline .n-input{border-radius:0}.form-render--underline .n-input__border,.form-render--underline .n-input__state-border{border-left-width:0!important;border-right-width:0!important;border-top-width:0!important}.form-render--underline .n-input--focus{border-radius:0}.form-render--underline .n-input--focus .n-input__state-border{box-shadow:none!important}.form-render--underline .n-base-selection--active .n-base-selection__state-border,.form-render--underline .n-base-selection--focus .n-base-selection__state-border,.form-render--underline .n-base-selection:hover .n-base-selection__state-border,.form-render--underline .n-base-selection__border,.form-render--underline .n-base-selection__state-border{border-left-width:0!important;border-right-width:0!important;border-top-width:0!important;box-shadow:none!important}.form-render--underline .n-input--textarea{background-image:linear-gradient(transparent,transparent 95%,#d5d5d5 0,#d5d5d5);background-origin:content-box;background-position:top;background-repeat:repeat-y;background-size:100% 22px;margin-top:4px;padding:0}.form-render--underline .n-input--textarea .n-input__textarea-el{padding:0}.form-render--underline .n-input--textarea .n-input__placeholder{padding-top:0}.form-render--underline .n-input--textarea .n-input__border,.form-render--underline .n-input--textarea .n-input__state-border{border:0!important}.form-render__selectChildField{align-items:start;display:grid!important;gap:0 16px;grid-template-columns:repeat(var(--column),minmax(0,1fr));width:100%}.form-render__selectChildFieldItem{grid-column:span min(var(--column),var(--form-item-column)) /span min(var(--column),var(--form-item-column))}.form-render--out-border .form-render__wrapper{border:1px solid #1f2225;padding:0 8px}.form-render__selectOption.n-base-select-option--disabled .n-base-select-option__content{color:rgba(0,0,0,.4)}.ai-chat{background:linear-gradient(135deg,#c9dbfb,#c9dbfb 20%,rgba(237,237,253,.5) 70%,rgba(151,97,251,.2));color:#000;display:flex;flex-flow:column nowrap;font-size:14px;height:100%;padding:45px 0 60px;position:relative;width:100%}.ai-chat,.ai-chat *{box-sizing:border-box}.ai-chat .fillet-10{border-radius:10px}.ai-chat .fillet-8{border-radius:8px}.ai-chat .n-avatar{background-color:var(--c-primary-color)}.ai-chat .gradient{background:linear-gradient(178deg,#8f66f7,#4170ee);color:#fff}.ai-chat .gradient:active,.ai-chat .gradient:focus,.ai-chat .gradient:hover{color:#fff}.ai-chat .chat-main{display:flex;flex:1;flex-flow:column-reverse nowrap;overflow-y:auto;padding:0 130px 0 82px;row-gap:16px}.ai-chat .chat-main::-webkit-scrollbar{width:5px}.ai-chat .chat-main::-webkit-scrollbar-thumb{background:rgba(0,0,0,.25);border-radius:5px}.ai-chat .chat-main::-webkit-scrollbar-track-piece{background-color:unset}.ai-chat .chat-main .message-item{column-gap:8px;display:flex;flex-flow:row nowrap}.ai-chat .chat-main .message-item:first-child{margin-bottom:auto}.ai-chat .chat-main .message-item .n-avatar{flex-shrink:0}.ai-chat .chat-main .message-item .content-box .content{background:#fff;border-radius:10px;flex:unset;padding:10px 12px}.ai-chat .chat-main .message-item .content-box .content .card{width:236px}.ai-chat .chat-main .message-item .content-box .content .card>p{font-size:14px;line-height:19px}.ai-chat .chat-main .message-item .content-box .content .card .link-btn{display:flex;flex-flow:row wrap;font-size:14px;justify-content:space-between;margin-top:10px;width:100%}.ai-chat .chat-main .message-item .content-box .content .card .link-btn .n-button__content{display:unset;flex:1;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.ai-chat .chat-main .message-item .content-box .content .card .card-body{border:1px solid #d5d5d5;border-radius:8px;margin-top:5px;overflow:hidden}.ai-chat .chat-main .message-item .content-box .content .card .card-body__head{background:rgba(65,112,238,.14);line-height:36px;padding:0 15px}.ai-chat .chat-main .message-item .content-box .content .card .card-body__content{padding:10px 6px}.ai-chat .chat-main .message-item .content-box .content .card .card-body__content>div{display:flex;font-size:12px}.ai-chat .chat-main .message-item .content-box .content .card .card-body__content>div .label{flex:0 0 60px;text-align:right}.ai-chat .chat-main .message-item .content-box .content .card .patient-info{border-top:1px solid #e5e5e5;margin-top:5px}.ai-chat .chat-main .message-item .content-box .content .card .patient-info .patient-item{margin:5px 0 0 5px}.ai-chat .chat-main .message-item .content-box .content .card .patient-info .patient-item:last-child{margin-bottom:0}.ai-chat .chat-main .message-item .content-box .content .card .patient-info .patient-item p:first-child{font-weight:700}.ai-chat .chat-main .message-item .content-box .content .card .patient-info .patient-item p:last-child{color:#888}.ai-chat .chat-main .message-item .content-box .content .card .n-form{margin-top:10px}.ai-chat .chat-main .message-item .content-box .content .card .n-form .form-render__formItemLabel{color:#888}.ai-chat .chat-main .message-item .content-box .content.default h2{font-size:22px;font-weight:500;margin:10px 0}.ai-chat .chat-main .message-item .content-box .content.loading{align-items:center;color:#999;column-gap:10px;display:flex}.ai-chat .chat-main .message-item .content-box.mine .content{background:hsla(0,0%,100%,.48);border-radius:8px}.ai-chat .chat-footer{padding:30px 130px 0}.ai-chat .chat-footer.disabled{cursor:not-allowed}.ai-chat .chat-footer .menu-box{background:#fff;column-gap:8px;display:flex;margin-bottom:8px;overflow-x:auto;padding:10px}.ai-chat .chat-footer .menu-box::-webkit-scrollbar{width:5px}.ai-chat .chat-footer .menu-box::-webkit-scrollbar-thumb{background:rgba(0,0,0,.25);border-radius:5px}.ai-chat .chat-footer .menu-box::-webkit-scrollbar-track-piece{background-color:unset}.ai-chat .chat-footer .menu-box::-webkit-scrollbar{height:5px}.ai-chat .chat-footer .input-wrapper{background:#fff;box-shadow:0 3px 4px 0 rgba(0,0,0,.1);padding:15px 20px}.ai-chat .chat-footer .input-wrapper .n-input__border,.ai-chat .chat-footer .input-wrapper .n-input__state-border{border:none}.ai-chat .chat-footer .input-wrapper .n-input:not(.n-input--disabled).n-input--focus .n-input__state-border{box-shadow:unset}.ai-chat .chat-footer .input-wrapper .btn-box{display:flex;justify-content:flex-end}.ai-chat .chat-footer .input-wrapper .btn-box .btn-send{align-items:center;cursor:pointer;display:flex;height:46px;justify-content:center;width:58px}.ai-chat .chat-footer .input-wrapper .btn-box .btn-send.disabled{cursor:not-allowed;opacity:.5}.ai-chat .chat-footer .command-box{display:flex;flex-flow:column nowrap;height:100%}.ai-chat .chat-footer .command-box__header{display:flex}.ai-chat .chat-footer .command-box__header .title{color:#999}.ai-chat .chat-footer .command-box__menu{flex:1;overflow-y:auto}.ai-chat .chat-footer .command-box__menu .menu-item{align-items:center;display:flex;padding:8px 0 8px 5px}.ai-chat .chat-footer .command-box__menu .menu-item .remark{color:#999;flex:1;font-size:12px;margin-left:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ai-chat .chat-footer .command-box__menu .menu-item .n-icon{margin-left:auto}.ai-chat .chat-footer .command-box__menu .menu-item:hover{cursor:default}.ai-chat .chat-footer .command-box__menu .menu-item.selected{background:#f2f2f2;border-radius:5px}.ai-chat .chat-footer .command-box__menu .menu-item.selectable{position:relative}.ai-chat .chat-footer .command-box__menu .menu-item.selectable .label{color:var(--c-primary-color);margin-left:30px}.ai-chat .chat-footer .command-box__menu .menu-item.selectable:before{background:#e5e5e5;border-radius:5px;content:"/";height:20px;left:5px;line-height:20px;position:absolute;text-align:center;top:10px;width:20px}.ai-chat--small{padding:20px 0 44px}.ai-chat--small .chat-main{padding:0 20px 10px}.ai-chat--small .chat-main .message-item{display:unset}.ai-chat--small .chat-main .message-item .n-avatar{background:transparent}.ai-chat--small .chat-main .message-item .content-box{display:flex;flex-flow:row nowrap}.ai-chat--small .chat-main .message-item .content-box .content{border-radius:3px 14px 14px;max-width:calc(100% - 55px)}.ai-chat--small .chat-main .message-item .content-box .content.default{border-radius:4px 16px 16px}.ai-chat--small .chat-main .message-item .content-box.mine{flex-flow:row-reverse nowrap}.ai-chat--small .chat-main .message-item .content-box.mine .content{background:#5874dc;border-radius:14px 0 14px 14px;color:#fff}.ai-chat--small .chat-footer{padding:10px 20px 0}.ai-chat--small .chat-footer .menu-box{background:none;padding:0}.ai-chat--small .chat-footer .menu-box .n-button{background:#fff}.ai-chat--small .chat-footer .input-wrapper{border-radius:24px;box-shadow:0 0 6px 0 hsla(240,9%,85%,.74);padding:0}.ai-chat .prompt-wrapper{background:linear-gradient(135deg,#ecf3ff,#ecf3ff 20%,rgba(237,237,253,.5) 70%,rgba(203,175,255,.3))}.ai-chat .prompt-wrapper .n-drawer-header{padding:15px}.ai-chat .prompt-wrapper .n-drawer-header__main{width:100%}.ai-chat .prompt-wrapper .n-drawer-header__main .title{display:flex;font-size:14px}.ai-chat .prompt-wrapper .n-drawer-header__main .title .n-button{margin-left:auto}.ai-chat .prompt-wrapper .n-drawer-header__main .n-input{margin-top:10px}.ai-chat .prompt-wrapper .n-drawer-body-content-wrapper{padding:0 10px}.ai-chat .prompt-wrapper .n-drawer-body-content-wrapper .list-wrapper{align-content:flex-start;display:flex;flex-wrap:wrap;height:100%;overflow-y:auto}.ai-chat .prompt-wrapper .n-drawer-body-content-wrapper .list-wrapper::-webkit-scrollbar{width:5px}.ai-chat .prompt-wrapper .n-drawer-body-content-wrapper .list-wrapper::-webkit-scrollbar-thumb{background:rgba(0,0,0,.25);border-radius:5px}.ai-chat .prompt-wrapper .n-drawer-body-content-wrapper .list-wrapper::-webkit-scrollbar-track-piece{background-color:unset}.ai-chat .prompt-wrapper .n-drawer-body-content-wrapper .list-wrapper .item{background:#fff;border-radius:10px;box-sizing:border-box;break-inside:avoid;cursor:pointer;margin:5px;padding:10px;width:calc(50% - 10px)}.ai-chat .prompt-wrapper .n-drawer-body-content-wrapper .list-wrapper .item:hover{background-image:linear-gradient(#ecf3ff,#fff 40%,#fff)}.ai-chat .prompt-wrapper .n-drawer-body-content-wrapper .list-wrapper .item p:last-child{color:#999;font-size:12px}
|
@@ -923,7 +923,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
923
923
|
externalOptionConfig: {
|
924
924
|
type: import("vue").PropType<Partial<{
|
925
925
|
options: import("../../shared/types").AnyObject[];
|
926
|
-
onSelect: (key: string | number, option: import("../../shared/types").AnyObject) => void;
|
926
|
+
onSelect: (key: string | number, option: import("../../shared/types").AnyObject, extendObj?: import("../../shared/types").AnyObject | undefined) => void;
|
927
927
|
}>>;
|
928
928
|
default: () => {};
|
929
929
|
};
|
@@ -1037,7 +1037,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
1037
1037
|
externalOptionConfig: {
|
1038
1038
|
type: import("vue").PropType<Partial<{
|
1039
1039
|
options: import("../../shared/types").AnyObject[];
|
1040
|
-
onSelect: (key: string | number, option: import("../../shared/types").AnyObject) => void;
|
1040
|
+
onSelect: (key: string | number, option: import("../../shared/types").AnyObject, extendObj?: import("../../shared/types").AnyObject | undefined) => void;
|
1041
1041
|
}>>;
|
1042
1042
|
default: () => {};
|
1043
1043
|
};
|
@@ -1380,7 +1380,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
1380
1380
|
externalOptionConfig: {
|
1381
1381
|
type: import("vue").PropType<Partial<{
|
1382
1382
|
options: import("../../shared/types").AnyObject[];
|
1383
|
-
onSelect: (key: string | number, option: import("../../shared/types").AnyObject) => void;
|
1383
|
+
onSelect: (key: string | number, option: import("../../shared/types").AnyObject, extendObj?: import("../../shared/types").AnyObject | undefined) => void;
|
1384
1384
|
}>>;
|
1385
1385
|
default: () => {};
|
1386
1386
|
};
|
@@ -1430,7 +1430,7 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
1430
1430
|
directPrint: boolean;
|
1431
1431
|
externalOptionConfig: Partial<{
|
1432
1432
|
options: import("../../shared/types").AnyObject[];
|
1433
|
-
onSelect: (key: string | number, option: import("../../shared/types").AnyObject) => void;
|
1433
|
+
onSelect: (key: string | number, option: import("../../shared/types").AnyObject, extendObj?: import("../../shared/types").AnyObject | undefined) => void;
|
1434
1434
|
}>;
|
1435
1435
|
showLoading: boolean;
|
1436
1436
|
hideButtons: unknown[];
|
@@ -929,7 +929,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
929
929
|
externalOptionConfig: {
|
930
930
|
type: PropType<Partial<{
|
931
931
|
options: AnyObject[];
|
932
|
-
onSelect: (key: string | number, option: AnyObject) => void;
|
932
|
+
onSelect: (key: string | number, option: AnyObject, extendObj?: AnyObject | undefined) => void;
|
933
933
|
}>>;
|
934
934
|
default: () => {};
|
935
935
|
};
|
@@ -1043,7 +1043,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
1043
1043
|
externalOptionConfig: {
|
1044
1044
|
type: PropType<Partial<{
|
1045
1045
|
options: AnyObject[];
|
1046
|
-
onSelect: (key: string | number, option: AnyObject) => void;
|
1046
|
+
onSelect: (key: string | number, option: AnyObject, extendObj?: AnyObject | undefined) => void;
|
1047
1047
|
}>>;
|
1048
1048
|
default: () => {};
|
1049
1049
|
};
|
@@ -1386,7 +1386,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
1386
1386
|
externalOptionConfig: {
|
1387
1387
|
type: PropType<Partial<{
|
1388
1388
|
options: AnyObject[];
|
1389
|
-
onSelect: (key: string | number, option: AnyObject) => void;
|
1389
|
+
onSelect: (key: string | number, option: AnyObject, extendObj?: AnyObject | undefined) => void;
|
1390
1390
|
}>>;
|
1391
1391
|
default: () => {};
|
1392
1392
|
};
|
@@ -1436,7 +1436,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
1436
1436
|
directPrint: boolean;
|
1437
1437
|
externalOptionConfig: Partial<{
|
1438
1438
|
options: AnyObject[];
|
1439
|
-
onSelect: (key: string | number, option: AnyObject) => void;
|
1439
|
+
onSelect: (key: string | number, option: AnyObject, extendObj?: AnyObject | undefined) => void;
|
1440
1440
|
}>;
|
1441
1441
|
showLoading: boolean;
|
1442
1442
|
hideButtons: unknown[];
|
@@ -79,7 +79,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
79
79
|
externalOptionConfig: {
|
80
80
|
type: PropType<Partial<{
|
81
81
|
options: AnyObject[];
|
82
|
-
onSelect: (key: string | number, option: AnyObject) => void;
|
82
|
+
onSelect: (key: string | number, option: AnyObject, extendObj?: AnyObject | undefined) => void;
|
83
83
|
}>>;
|
84
84
|
default: () => {};
|
85
85
|
};
|
@@ -196,7 +196,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
196
196
|
externalOptionConfig: {
|
197
197
|
type: PropType<Partial<{
|
198
198
|
options: AnyObject[];
|
199
|
-
onSelect: (key: string | number, option: AnyObject) => void;
|
199
|
+
onSelect: (key: string | number, option: AnyObject, extendObj?: AnyObject | undefined) => void;
|
200
200
|
}>>;
|
201
201
|
default: () => {};
|
202
202
|
};
|
@@ -542,7 +542,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
542
542
|
externalOptionConfig: {
|
543
543
|
type: PropType<Partial<{
|
544
544
|
options: AnyObject[];
|
545
|
-
onSelect: (key: string | number, option: AnyObject) => void;
|
545
|
+
onSelect: (key: string | number, option: AnyObject, extendObj?: AnyObject | undefined) => void;
|
546
546
|
}>>;
|
547
547
|
default: () => {};
|
548
548
|
};
|
@@ -592,7 +592,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
592
592
|
directPrint: boolean;
|
593
593
|
externalOptionConfig: Partial<{
|
594
594
|
options: AnyObject[];
|
595
|
-
onSelect: (key: string | number, option: AnyObject) => void;
|
595
|
+
onSelect: (key: string | number, option: AnyObject, extendObj?: AnyObject | undefined) => void;
|
596
596
|
}>;
|
597
597
|
showLoading: boolean;
|
598
598
|
hideButtons: unknown[];
|