cnhis-design-vue 3.1.41-beta.34 → 3.1.41-beta.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +87 -87
  2. package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
  3. package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
  4. package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
  5. package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
  6. package/es/components/config-provider/src/ConfigProvider.js +1 -1
  7. package/es/components/config-provider/src/interface.d.ts +2 -2
  8. package/es/components/fabric-chart/src/utils/index.d.ts +6823 -0
  9. package/es/components/form-config/index.d.ts +5 -5
  10. package/es/components/form-config/src/FormConfig.vue.d.ts +5 -5
  11. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +3 -3
  12. package/es/components/index.css +1 -1
  13. package/es/components/info-header/index.d.ts +3480 -117
  14. package/es/components/info-header/src/InfoHeader.vue.d.ts +3480 -117
  15. package/es/components/info-header/src/InfoHeader.vue.js +1 -1
  16. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1526 -4
  17. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.js +1 -1
  18. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1529 -4
  19. package/es/components/info-header/src/components/infoDescription/HiddenContent.vue.d.ts +2 -2
  20. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.d.ts +1 -1
  21. package/es/components/info-header/src/components/infoDescription/InfoEllipsis.vue.js +1 -1
  22. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +2262 -5
  23. package/es/components/info-header/src/components/infoDescription/index.vue.js +1 -1
  24. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +745 -0
  25. package/es/components/info-header/src/components/patientInfo/index.vue.js +1 -1
  26. package/es/components/info-header/src/types/index.d.ts +6 -1
  27. package/es/components/info-header/style/index.css +1 -1
  28. package/es/components/recommend-search/index.d.ts +2 -2
  29. package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +2 -2
  30. package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +1 -1
  31. package/es/components/scale-view/src/ScaleView.vue.js +1 -1
  32. package/es/components/search-cascader/index.d.ts +2 -2
  33. package/es/components/search-cascader/src/SearchCascader.vue.d.ts +2 -2
  34. package/es/components/search-cascader/src/components/SearchMenu.d.ts +1 -1
  35. package/es/components/shortcut-setter/index.d.ts +1 -1
  36. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +1 -1
  37. package/es/components/table-filter/src/classification/Classification-com.vue.d.ts +0 -3
  38. package/es/components/table-filter/src/components/table-modal/index.vue.d.ts +3 -1
  39. package/es/env.d.ts +24 -24
  40. package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
  41. package/es/shared/utils/tapable/index.d.ts +139 -0
  42. package/package.json +2 -2
@@ -1 +1 @@
1
- import{defineComponent as e,provide as t,ref as o,computed as n,openBlock as i,createElementBlock as a,normalizeClass as r,normalizeStyle as s,createElementVNode as c,createCommentVNode as l,renderSlot as f,createVNode as p,unref as d,withCtx as u,mergeProps as m,Fragment as h,renderList as v,createBlock as g,resolveDynamicComponent as y,h as _,nextTick as I}from"vue";import{isString as $}from"lodash-es";import x from"./components/infoDescription/index.vue.js";import b from"./components/patientInfo/index.vue.js";import{InjectionInfoHeaderEmit as S,InjectionInfoHeaderFormRef as j}from"./constants/index.js";import z from"../../../_virtual/plugin-vue_export-helper.js";const w={class:"c-info-header__operation"},k={key:0,class:"c-info-header__divider"},C={class:"c-info-header__setting"},H=["onClick"];var M=z(e({__name:"InfoHeader",props:{compact:{type:Boolean,required:!0},separator:{type:String,default:":"},patientInfo:{type:Object,default:()=>({})},infoList:{type:Array,required:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},minColumnWidth:{type:[String,Number],default:180},rowHeight:{type:[String,Number],default:32},settingIcons:{type:Array,default:()=>["patientInfo","fieldSet","compact"]}},emits:["openPatientInfo","fieldSet","update:compact","formChange"],setup(e,{expose:z,emit:M}){const q=e;t(S,M);const A=o();function D(){var e;return null==(e=A.value)?void 0:e.updateColumn()}const F={patientInfo:{event:function(){M("openPatientInfo")},render:()=>[_("i",{class:"iconfont info-header--icon-a-menzhenyishengzhanxitongtubiaobianji"})]},fieldSet:{event:function(){M("fieldSet")},render:()=>[_("i",{class:"iconfont info-header--icon-a-menzhenyishengzhanxitongtubiaoshezhi"})]},compact:{event:async function(){M("update:compact",!q.compact),await I(),await D()},render:()=>[_("i",{class:"iconfont info-header--icon-a-menzhenyishengzhanxitongtubiaojiantouxia"})]}},N=n((()=>q.settingIcons.map((e=>($(e)?F[e]:e)||{})))),P=o();return t(j,P),z({update:D,$formRender:P}),(t,o)=>(i(),a("div",{class:r(["c-info-header",{"is-compact":e.compact}]),style:s({"--row-height":e.rowHeight,"--row-num":e.compact?1:2})},[c("section",w,[l(" 操作区插槽 "),f(t.$slots,"operation")]),t.$slots.operation?(i(),a("div",k)):l("v-if",!0),l(" 患者信息区插槽,需要自己实现整个患者信息区时使用 "),f(t.$slots,"patientModule",{},(()=>[p(d(b),{"patient-info":e.patientInfo},{avatarInfo:u((()=>[l(" 头像区补充内容插槽 (会插入头像下方) "),f(t.$slots,"avatarInfo")])),avatar:u((()=>[l(" 头像插槽 "),f(t.$slots,"avatar")])),tags:u((()=>[l(" 标签插槽 "),f(t.$slots,"tags")])),avatarModule:u((()=>[l(" 头像信息区插槽 (包含头像, 文本, 标签) "),f(t.$slots,"avatarModule")])),_:3},8,["patient-info"])])),p(d(x),m({ref_key:"infoDescriptionRef",ref:A,"root-slot":t.$slots},t.$props),{info:u((()=>[l(" 信息描述区插槽 "),f(t.$slots,"info")])),_:3},16,["root-slot"]),c("section",C,[l(" 设置区插槽 "),f(t.$slots,"setting",{},(()=>[(i(!0),a(h,null,v(d(N),(e=>(i(),a("div",{key:e,class:"c-info-header__settingIcon",onClick:e.event},[(i(),g(y(e.render)))],8,H)))),128))]))])],6))}}),[["__file","InfoHeader.vue"]]);export{M as default};
1
+ import{defineComponent as e,provide as t,ref as n,computed as o,openBlock as i,createElementBlock as a,normalizeClass as r,normalizeStyle as s,unref as p,createElementVNode as c,createCommentVNode as l,renderSlot as f,createVNode as d,withCtx as u,mergeProps as m,Fragment as h,renderList as v,createBlock as g,resolveDynamicComponent as y,h as _,nextTick as b}from"vue";import{isString as I}from"lodash-es";import $ from"./components/infoDescription/index.vue.js";import x from"./components/patientInfo/index.vue.js";import{InjectionInfoHeaderEmit as S,InjectionInfoHeaderFormRef as j}from"./constants/index.js";import z from"../../../_virtual/plugin-vue_export-helper.js";const w={class:"c-info-header__operation"},k={key:0,class:"c-info-header__divider"},C={class:"c-info-header__setting"},H=["onClick"];var P=z(e({__name:"InfoHeader",props:{compact:{type:Boolean,required:!0},patientInfo:{type:Object,default:()=>({})},patientEditable:{type:Boolean},separator:{type:String,default:":"},infoList:{type:Array,default:()=>[]},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},minColumnWidth:{type:[String,Number],default:180},rowHeight:{type:[String,Number],default:38},settingIcons:{type:Array,default:()=>["patientInfo","fieldSet","compact"]},formProps:{type:Object}},emits:["openPatientInfo","fieldSet","update:compact","formChange"],setup(e,{expose:z,emit:P}){const A=e;t(S,P);const B=n();function D(){var e;return null==(e=B.value)?void 0:e.updateColumn()}const E=o((()=>({"--row-height":A.rowHeight,"--row-num":A.compact?1:2,"--padding-tb":A.compact?9:4}))),F={patientInfo:{event:function(){P("openPatientInfo")},render:()=>[_("i",{class:"iconfont info-header--icon-a-menzhenyishengzhanxitongtubiaobianji"})]},fieldSet:{event:function(){P("fieldSet")},render:()=>[_("i",{class:"iconfont info-header--icon-a-menzhenyishengzhanxitongtubiaoshezhi"})]},compact:{event:async function(){P("update:compact",!A.compact),await b(),await D()},render:()=>[_("i",{class:"iconfont info-header--icon-a-menzhenyishengzhanxitongtubiaojiantouxia"})]}},N=o((()=>A.settingIcons.map((e=>(I(e)?F[e]:e)||{})))),O=n();return t(j,O),z({update:D,$formRender:O}),(t,n)=>(i(),a("div",{class:r(["c-info-header",{"is-compact":e.compact}]),style:s(p(E))},[c("section",w,[l(" 操作区插槽 "),f(t.$slots,"operation")]),t.$slots.operation?(i(),a("div",k)):l("v-if",!0),l(" 患者信息区插槽,需要自己实现整个患者信息区时使用 "),f(t.$slots,"patientModule",{},(()=>[d(p(x),{"patient-info":e.patientInfo,"patient-editable":e.patientEditable},{avatarInfo:u((()=>[l(" 头像区补充内容插槽 (会插入头像下方) "),f(t.$slots,"avatarInfo")])),avatar:u((()=>[l(" 头像插槽 "),f(t.$slots,"avatar")])),tags:u((()=>[l(" 标签插槽 "),f(t.$slots,"tags")])),_:3},8,["patient-info","patient-editable"])])),d(p($),m({ref_key:"infoDescriptionRef",ref:B,"root-slot":t.$slots},t.$props),{info:u((()=>[l(" 信息描述区插槽 "),f(t.$slots,"info")])),_:3},16,["root-slot"]),c("section",C,[l(" 设置区插槽 "),f(t.$slots,"setting",{},(()=>[(i(!0),a(h,null,v(p(N),(e=>(i(),a("div",{key:e,class:"c-info-header__settingIcon",onClick:e.event},[(i(),g(y(e.render)))],8,H)))),128))]))])],6))}}),[["__file","InfoHeader.vue"]]);export{P as default};