cnhis-design-vue 3.2.15-beta.17 → 3.2.15-beta.20

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 (33) hide show
  1. package/es/components/card-reader-sdk/src/cardReaderSDK.js +1 -1
  2. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +1 -0
  3. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
  4. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  5. package/es/components/fabric-chart/src/hooks/useCommon.d.ts +1 -2
  6. package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
  7. package/es/components/form-config/index.d.ts +1021 -1
  8. package/es/components/form-config/src/FormConfig.vue.d.ts +1021 -1
  9. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +0 -1
  10. package/es/components/form-config/src/components/FormConfigEdit.vue2.js +1 -1
  11. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1019 -0
  12. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +1 -1
  13. package/es/components/form-config/src/constants/index.js +1 -1
  14. package/es/components/form-config/style/index.css +1 -1
  15. package/es/components/form-render/src/hooks/useLowCodeReactions.js +1 -1
  16. package/es/components/iho-chat/index.d.ts +232 -57
  17. package/es/components/iho-chat/src/Index.vue.d.ts +232 -57
  18. package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +33 -8
  19. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
  20. package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +33 -8
  21. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +33 -8
  22. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +99 -24
  23. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +33 -8
  24. package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +33 -8
  25. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +33 -8
  26. package/es/components/iho-chat/style/iconfont.ttf +0 -0
  27. package/es/components/iho-chat/style/index.css +1 -1
  28. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
  29. package/es/components/index.css +1 -1
  30. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
  31. package/es/shared/package.json.js +1 -1
  32. package/es/shared/types/business.d.ts +4 -0
  33. package/package.json +2 -2
@@ -1162,7 +1162,6 @@ declare const _default: import("vue").DefineComponent<{
1162
1162
  onOptionModalConfirm: () => void;
1163
1163
  useFormConfigLocale: typeof useFormConfigLocale;
1164
1164
  NModal: any;
1165
- NSpace: any;
1166
1165
  NInput: any;
1167
1166
  CFormRender: import("../../../../shared/types").SFCWithInstall<import("vue").DefineComponent<{}, {
1168
1167
  formRenderRef: import("vue").Ref<FormRenderExpose | undefined>;
@@ -1 +1 @@
1
- import{defineComponent as e,computed as t,ref as l,inject as i,watch as o,toRaw as a,openBlock as n,createElementBlock as r,Fragment as s,createVNode as u,unref as d,mergeProps as v,createCommentVNode as p,withCtx as f,createElementVNode as c,toDisplayString as m,renderList as g,h as x}from"vue";import{cloneDeep as y,isEmpty as h,isArray as b}from"lodash-es";import{InjectionActiveFieldItem as k,EditAbleField as A}from"../constants/index.js";import"../../../../shared/components/VueDraggable/src/vuedraggable.js";import{findFieldItemByKey as j}from"../utils/index.js";import"@vicons/ionicons5";import{NModal as w,NInput as F,NSpace as L,NButton as C}from"naive-ui";import"../../../../shared/utils/index.js";import{useConfigurationField as O}from"../hooks/useConfigurationField.js";import{useFormConfigLocale as _}from"../hooks/useLocale.js";import"../../../index.js";import R from"../../../form-render/index.js";const P={style:{"padding-top":"8px"}},T={style:{width:"100%","text-align":"left"}};var U=e({__name:"FormConfigEdit",props:{uuid:{type:String,required:!0},bindFormRenderRef:{type:Object},formProps:{type:Object}},setup(e,{expose:U}){const E=e;t((()=>`#${E.uuid} .form-config__config`));const B=l(),N=i(k),D=l([]),I=l({}),{generateFieldListByFormConfigItem:S}=O();function V({fieldKey:e,value:t}){N.value&&(N.value[e]=t)}o(N,(async(e,t)=>{var l,i;if(!e)return D.value=[];I.value={editable:!0,show:!0,...y(a(e))};const o=null==(l=E.bindFormRenderRef)?void 0:l.getFieldList();D.value=S(e,j(o,e.key)),null==(i=B.value)||i.reload()}),{immediate:!0});const q={"*"({field:e}){if(e.val_key!==A.DEFAULT_VALUE)return;const t=e.option;var l,i;e.option=(l=e.option,b(l)?l.map((e=>{var t;const l=null==(t=N.value.optionAliasList)?void 0:t.find((t=>t.value===e.value));return l?{...e,text:l.text}:e})):l),e.decoratorProps={labelRender:(i=t,e=>{const t=x("span",{},e);return h(i)?t:x("div",{style:{display:"flex",alignItems:"center",gap:"8px"}},[t,x(C,{text:!0,type:"primary",onClick(){var e;z.value=!0,K.value=y(i),h(null==(e=N.value)?void 0:e.optionAliasList)||K.value.forEach((e=>{const t=N.value.optionAliasList.find((t=>t.value===e.value));t&&(e.alias=t.text)}))}},{default:()=>_("configArea.modifyOptionTitle")})])})}}},z=l(!1),K=l([]);function M(){z.value=!1,K.value=[]}function $(){var e;z.value=!1,N.value.optionAliasList=K.value.reduce(((e,t)=>(t.alias&&e.push({value:t.value,text:t.alias}),e)),[]),K.value=[],I.value={editable:!0,show:!0,...y(a(N.value))},null==(e=B.value)||e.reload()}return U({validate(){var e;return null==(e=B.value)?void 0:e.validate()}}),(t,l)=>(n(),r(s,null,[u(d(R),v({size:"small"},e.formProps,{column:12,ref_key:"formRenderRef",ref:B,onFormChange:V,"field-visitor":q,"field-list":D.value,"initial-data":I.value}),null,16,["field-list","initial-data"]),p("\t<n-modal"),p('\t\tv-model:show="showModal"'),p('\t\tpreset="dialog"'),p('\t\tto="body"'),p('\t\t:to="wrapperSelector"'),p('\t\t:close-on-esc="false"'),p('\t\t:mask-closable="false"'),p('\t\t:closable="false"'),p('\t\ttitle="存在填写错误的字段"'),p('\t\tpositive-text="继续编辑"'),p('\t\t@positive-click="onPositiveClick"'),p("\t/>"),u(d(w),{show:z.value,"onUpdate:show":l[0]||(l[0]=e=>z.value=e),preset:"dialog",to:"body","close-on-esc":!1,"mask-closable":!1,title:d(_)("configArea.modifyOptionTitle"),"positive-text":d(_)("configArea.positiveBtn"),"negative-text":d(_)("configArea.negativeBtn"),onNegativeClick:M,onPositiveClick:$},{default:f((()=>[c("section",P,[c("table",T,[c("thead",null,[c("tr",null,[c("th",null,m(d(_)("configArea.modifyOptionName")),1),c("th",null,m(d(_)("configArea.modifyOptionOriginText")),1),c("th",null,m(d(_)("configArea.modifyOptionNewText")),1)])]),c("tbody",null,[(n(!0),r(s,null,g(K.value,(e=>(n(),r("tr",{key:e.value},[c("td",null,m(e.value),1),c("td",null,m(e.text),1),c("td",null,[u(d(F),{value:e.alias,"onUpdate:value":t=>e.alias=t},null,8,["value","onUpdate:value"])])])))),128))])]),u(d(L),{vertical:""})])])),_:1},8,["show","to","title","positive-text","negative-text"])],64))}});export{U as default};
1
+ import{defineComponent as e,computed as t,ref as i,inject as l,watch as o,toRaw as a,openBlock as n,createElementBlock as r,Fragment as u,createVNode as s,unref as d,mergeProps as v,withCtx as p,createElementVNode as f,toDisplayString as m,renderList as c,h as g}from"vue";import{cloneDeep as x,isEmpty as y,isArray as h}from"lodash-es";import{InjectionActiveFieldItem as b,EditAbleField as A}from"../constants/index.js";import"../../../../shared/components/VueDraggable/src/vuedraggable.js";import{findFieldItemByKey as j}from"../utils/index.js";import"@vicons/ionicons5";import{NModal as k,NInput as F,NButton as L}from"naive-ui";import"../../../../shared/utils/index.js";import{useConfigurationField as O}from"../hooks/useConfigurationField.js";import{useFormConfigLocale as _}from"../hooks/useLocale.js";import"../../../index.js";import w from"../../../form-render/index.js";const C={style:{"padding-top":"8px"}},R={style:{width:"100%","text-align":"left"}};var T=e({__name:"FormConfigEdit",props:{uuid:{type:String,required:!0},bindFormRenderRef:{type:Object},formProps:{type:Object}},setup(e,{expose:T}){const U=e;t((()=>`#${U.uuid} .form-config__config`));const E=i(),P=l(b),B=i([]),N=i({}),{generateFieldListByFormConfigItem:D}=O();function I({fieldKey:e,value:t}){P.value&&(P.value[e]=t)}o(P,(async(e,t)=>{var i,l;if(!e)return B.value=[];N.value={editable:!0,show:!0,...x(a(e))};const o=null==(i=U.bindFormRenderRef)?void 0:i.getFieldList();B.value=D(e,j(o,e.key)),null==(l=E.value)||l.reload()}),{immediate:!0});const V={"*"({field:e}){if(e.val_key!==A.DEFAULT_VALUE)return;const t=e.option;var i,l;e.option=(i=e.option,h(i)?i.map((e=>{var t;const i=null==(t=P.value.optionAliasList)?void 0:t.find((t=>t.value===e.value));return i?{...e,text:i.text}:e})):i),e.decoratorProps={labelRender:(l=t,e=>{const t=g("span",{},e);return y(l)?t:g("div",{style:{display:"flex",alignItems:"center",gap:"8px"}},[t,g(L,{text:!0,type:"primary",onClick(){var e;q.value=!0,z.value=x(l),y(null==(e=P.value)?void 0:e.optionAliasList)||z.value.forEach((e=>{const t=P.value.optionAliasList.find((t=>t.value===e.value));t&&(e.alias=t.text)}))}},{default:()=>_("configArea.modifyOptionTitle")})])})}}},q=i(!1),z=i([]);function K(){q.value=!1,z.value=[]}function S(){var e;q.value=!1,P.value.optionAliasList=z.value.reduce(((e,t)=>(t.alias&&e.push({value:t.value,text:t.alias}),e)),[]),z.value=[],N.value={editable:!0,show:!0,...x(a(P.value))},null==(e=E.value)||e.reload()}return T({validate(){var e;return null==(e=E.value)?void 0:e.validate()}}),(t,i)=>(n(),r(u,null,[s(d(w),v({size:"small"},e.formProps,{column:12,ref_key:"formRenderRef",ref:E,onFormChange:I,"field-visitor":V,"field-list":B.value,"initial-data":N.value}),null,16,["field-list","initial-data"]),s(d(k),{show:q.value,"onUpdate:show":i[0]||(i[0]=e=>q.value=e),preset:"dialog",to:"body","close-on-esc":!1,"mask-closable":!1,title:d(_)("configArea.modifyOptionTitle"),"positive-text":d(_)("configArea.positiveBtn"),"negative-text":d(_)("configArea.negativeBtn"),onNegativeClick:K,onPositiveClick:S},{default:p((()=>[f("section",C,[f("table",R,[f("thead",null,[f("tr",null,[f("th",null,m(d(_)("configArea.modifyOptionName")),1),f("th",null,m(d(_)("configArea.modifyOptionOriginText")),1),f("th",null,m(d(_)("configArea.modifyOptionNewText")),1)])]),f("tbody",null,[(n(!0),r(u,null,c(z.value,(e=>(n(),r("tr",{key:e.value},[f("td",null,m(e.value),1),f("td",null,m(e.text),1),f("td",null,[s(d(F),{value:e.alias,"onUpdate:value":t=>e.alias=t},null,8,["value","onUpdate:value"])])])))),128))])])])])),_:1},8,["show","to","title","positive-text","negative-text"])],64))}});export{T as default};