cnhis-design-vue 3.2.15-beta.9 → 3.2.15-release.5

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 (104) hide show
  1. package/es/components/ai-chat/index.d.ts +9 -0
  2. package/es/components/ai-chat/src/Index.vue.d.ts +9 -0
  3. package/es/components/ai-chat/src/Index.vue2.js +1 -1
  4. package/es/components/ai-chat/src/components/ChatCard.js +1 -1
  5. package/es/components/ai-chat/style/index.css +1 -1
  6. package/es/components/branch-notice/index.d.ts +32 -3
  7. package/es/components/branch-notice/src/BranchNotice.vue.d.ts +9 -3
  8. package/es/components/branch-notice/src/BranchNotice.vue2.js +1 -1
  9. package/es/components/button-print/src/components/NewPrintComponent.vue2.js +1 -1
  10. package/es/components/button-print/src/components/OldPrintComponent.vue2.js +1 -1
  11. package/es/components/card-reader-sdk/src/cardReaderSDK.js +1 -1
  12. package/es/components/classification/index.d.ts +30 -0
  13. package/es/components/classification/src/components/search-filter/index.vue.d.ts +30 -0
  14. package/es/components/classification/src/components/set-classification/index.vue.d.ts +30 -0
  15. package/es/components/classification/src/index.vue.d.ts +30 -0
  16. package/es/components/date-picker/index.d.ts +10 -0
  17. package/es/components/date-picker/src/DatePicker.vue.d.ts +10 -0
  18. package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
  19. package/es/components/expand-field/index.d.ts +1 -1
  20. package/es/components/expand-field/src/components/FormItemPerson.vue.d.ts +1 -1
  21. package/es/components/expand-field/src/components/PersonModal.vue.d.ts +1 -1
  22. package/es/components/expand-field/src/components/form.vue.d.ts +1 -1
  23. package/es/components/expand-field/src/index.vue.d.ts +1 -1
  24. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
  25. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.d.ts +1 -0
  26. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
  27. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  28. package/es/components/fabric-chart/src/hooks/useCommon.d.ts +1 -2
  29. package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
  30. package/es/components/field-set/src/FieldColor.vue.d.ts +21 -1
  31. package/es/components/field-set/src/FieldFilter.vue.d.ts +3 -2
  32. package/es/components/field-set/src/FieldFilter.vue2.js +1 -1
  33. package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
  34. package/es/components/field-set/src/components/condition.vue.d.ts +10 -0
  35. package/es/components/field-set/src/components/edit-dialog.vue.d.ts +20 -0
  36. package/es/components/field-set/src/components/edit-filter.vue.d.ts +10 -0
  37. package/es/components/field-set/src/components/table-row.vue.d.ts +1 -1
  38. package/es/components/field-set/src/components/table-row.vue2.js +1 -1
  39. package/es/components/field-set/src/utils/index.js +1 -1
  40. package/es/components/form-config/index.d.ts +1021 -1
  41. package/es/components/form-config/src/FormConfig.vue.d.ts +1021 -1
  42. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +0 -1
  43. package/es/components/form-config/src/components/FormConfigEdit.vue2.js +1 -1
  44. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +1019 -0
  45. package/es/components/form-config/src/components/FormConfigEventSetting.vue2.js +1 -1
  46. package/es/components/form-config/src/constants/index.js +1 -1
  47. package/es/components/form-config/style/index.css +1 -1
  48. package/es/components/form-render/src/components/renderer/select.d.ts +6 -0
  49. package/es/components/form-render/src/components/renderer/select.js +1 -1
  50. package/es/components/form-render/src/hooks/useLowCodeReactions.js +1 -1
  51. package/es/components/iho-chat/index.d.ts +296 -79
  52. package/es/components/iho-chat/src/Index.vue.d.ts +296 -79
  53. package/es/components/iho-chat/src/Index.vue2.js +1 -1
  54. package/es/components/iho-chat/src/components/ChatAdd.vue.d.ts +33 -9
  55. package/es/components/iho-chat/src/components/ChatAdd.vue2.js +1 -1
  56. package/es/components/iho-chat/src/components/ChatFile.vue.d.ts +33 -10
  57. package/es/components/iho-chat/src/components/ChatFooter.vue.d.ts +33 -10
  58. package/es/components/iho-chat/src/components/ChatHeader.vue.d.ts +109 -33
  59. package/es/components/iho-chat/src/components/ChatMain.vue.d.ts +33 -11
  60. package/es/components/iho-chat/src/components/ChatRecord.vue.d.ts +10 -1
  61. package/es/components/iho-chat/src/components/ChatSearch.vue.d.ts +0 -1
  62. package/es/components/iho-chat/src/components/ChatSet.vue.d.ts +33 -11
  63. package/es/components/iho-chat/src/components/MultipleVideo.vue.d.ts +34 -10
  64. package/es/components/iho-chat/src/components/MultipleVideo.vue2.js +1 -1
  65. package/es/components/iho-chat/src/components/PersonProfile.vue.d.ts +0 -1
  66. package/es/components/iho-chat/src/components/SiderList.vue.d.ts +11 -1
  67. package/es/components/iho-chat/src/components/SiderList.vue2.js +1 -1
  68. package/es/components/iho-chat/src/components/Video.vue.d.ts +1 -1
  69. package/es/components/iho-chat/src/components/Video.vue2.js +1 -1
  70. package/es/components/iho-chat/src/hooks/useData.d.ts +4 -2
  71. package/es/components/iho-chat/src/hooks/useData.js +1 -1
  72. package/es/components/iho-chat/src/hooks/useVideo.d.ts +1 -1
  73. package/es/components/iho-chat/src/hooks/useVideo.js +1 -1
  74. package/es/components/iho-chat/src/types/index.d.ts +13 -2
  75. package/es/components/iho-chat/style/iconfont.ttf +0 -0
  76. package/es/components/iho-chat/style/index.css +1 -1
  77. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +10 -0
  78. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
  79. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +10 -0
  80. package/es/components/iho-table/style/index.css +1 -1
  81. package/es/components/index.css +1 -1
  82. package/es/components/select-person/index.d.ts +1 -1
  83. package/es/components/select-person/src/SelectPerson.vue.d.ts +1 -1
  84. package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
  85. package/es/components/select-person/src/index.vue.d.ts +1 -1
  86. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +10 -0
  87. package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +10 -0
  88. package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +10 -0
  89. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +10 -0
  90. package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +20 -0
  91. package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +10 -0
  92. package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +10 -0
  93. package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +20 -0
  94. package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +20 -0
  95. package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +10 -0
  96. package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.d.ts +10 -0
  97. package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +10 -0
  98. package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +10 -0
  99. package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -1
  100. package/es/components/table-filter/src/components/render-widget/components/index.d.ts +40 -0
  101. package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +40 -0
  102. package/es/shared/package.json.js +1 -1
  103. package/es/shared/types/business.d.ts +4 -0
  104. 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};