cnhis-design-vue 3.1.46-beta.3 → 3.1.46-beta.31

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 (136) hide show
  1. package/es/components/button-print/index.d.ts +1 -1
  2. package/es/components/button-print/src/ButtonPrint.vue.d.ts +1 -1
  3. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  4. package/es/components/button-print/src/utils/print.js +1 -1
  5. package/es/components/classification/index.d.ts +1 -1
  6. package/es/components/classification/src/index.vue.d.ts +1 -1
  7. package/es/components/classification/src/index.vue2.js +1 -1
  8. package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
  9. package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
  10. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
  11. package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
  12. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
  13. package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
  14. package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
  15. package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
  16. package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -1
  17. package/es/components/fabric-chart/src/utils/index.d.ts +1 -0
  18. package/es/components/fabric-chart/src/utils/index.js +1 -1
  19. package/es/components/form-config/index.d.ts +23 -1
  20. package/es/components/form-config/src/FormConfig.vue.d.ts +23 -1
  21. package/es/components/form-config/src/FormConfig.vue2.js +1 -1
  22. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +11 -0
  23. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +11 -0
  24. package/es/components/form-config/src/hooks/useDataNormalize.d.ts +1 -1
  25. package/es/components/form-config/src/hooks/useDataNormalize.js +1 -1
  26. package/es/components/form-config/src/types/index.d.ts +1 -1
  27. package/es/components/form-render/index.d.ts +11 -0
  28. package/es/components/form-render/src/FormRender.vue.d.ts +12 -1
  29. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  30. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +11 -0
  31. package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
  32. package/es/components/form-render/src/components/renderer/remoteSearch.d.ts +3 -0
  33. package/es/components/form-render/src/components/renderer/remoteSearch.js +1 -1
  34. package/es/components/form-render/src/hooks/useOperationalForm.d.ts +7 -0
  35. package/es/components/form-render/src/hooks/useOperationalForm.js +1 -0
  36. package/es/components/form-render/src/types/index.d.ts +2 -1
  37. package/es/components/iho-table/index.d.ts +14 -0
  38. package/es/components/iho-table/src/IhoTable.vue.d.ts +14 -0
  39. package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +1 -0
  40. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +2 -0
  41. package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.js +1 -1
  42. package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +1 -1
  43. package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.js +1 -1
  44. package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -1
  45. package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +2 -2
  46. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -1
  47. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
  48. package/es/components/iho-table/src/plugins/index.js +1 -1
  49. package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -1
  50. package/es/components/iho-table/src/plugins/operationalFormPlugin/index.d.ts +1 -0
  51. package/es/components/iho-table/src/plugins/operationalFormPlugin/index.js +1 -0
  52. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.js +1 -1
  53. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.js +1 -1
  54. package/es/components/iho-table/src/types/index.d.ts +3 -1
  55. package/es/components/iho-table/src/types/pluginType.d.ts +2 -0
  56. package/es/components/iho-table/style/index.css +1 -1
  57. package/es/components/index.css +1 -1
  58. package/es/components/index.d.ts +2 -1
  59. package/es/components/index.js +1 -1
  60. package/es/components/info-header/index.d.ts +26 -0
  61. package/es/components/info-header/src/InfoHeader.vue.d.ts +26 -0
  62. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +11 -0
  63. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +11 -0
  64. package/es/components/quick-search/src/index.vue2.js +1 -1
  65. package/es/components/scale-view/index.d.ts +8 -8
  66. package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
  67. package/es/components/scale-view/src/components/formitem/r-checkbox.d.ts +4 -4
  68. package/es/components/scale-view/src/components/formitem/r-checkbox.js +1 -1
  69. package/es/components/scale-view/src/components/formitem/r-radio.d.ts +4 -4
  70. package/es/components/scale-view/src/components/formitem/r-radio.js +1 -1
  71. package/es/components/scale-view/src/hooks/use-component.d.ts +16 -16
  72. package/es/components/scale-view/style/index.css +1 -1
  73. package/es/components/search-cascader/src/SearchCascader.vue2.js +1 -1
  74. package/es/components/select-person/index.d.ts +123 -0
  75. package/es/components/select-person/src/SearchOrgAndStaff.vue.d.ts +88 -0
  76. package/es/components/select-person/src/SearchOrgAndStaff.vue.js +1 -0
  77. package/es/components/select-person/src/SearchOrgAndStaff.vue2.js +1 -0
  78. package/es/components/select-person/src/SelectPerson.vue.d.ts +123 -0
  79. package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
  80. package/es/components/select-person/src/types/enums.d.ts +4 -0
  81. package/es/components/select-person/src/types/enums.js +1 -0
  82. package/es/components/select-person/src/utils/index.d.ts +1 -1
  83. package/es/components/select-person/src/utils/index.js +1 -1
  84. package/es/components/select-person/style/index.css +1 -1
  85. package/es/components/shortcut-setter/index.d.ts +11 -0
  86. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +11 -0
  87. package/es/components/table-export-field/index.d.ts +1057 -0
  88. package/es/components/table-export-field/index.js +1 -0
  89. package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +270 -0
  90. package/es/components/table-export-field/src/components/ExportModal.vue.js +1 -0
  91. package/es/components/table-export-field/src/components/ExportModal.vue2.js +1 -0
  92. package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +700 -0
  93. package/es/components/table-export-field/src/components/SaveProjectModal.vue.js +1 -0
  94. package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +1 -0
  95. package/es/components/table-export-field/src/constants/index.d.ts +3 -0
  96. package/es/components/table-export-field/src/constants/index.js +1 -0
  97. package/es/components/table-export-field/src/hooks/useAsyncData.d.ts +6 -0
  98. package/es/components/table-export-field/src/hooks/useAsyncData.js +1 -0
  99. package/es/components/table-export-field/src/index.vue.d.ts +1058 -0
  100. package/es/components/table-export-field/src/index.vue.js +1 -0
  101. package/es/components/table-export-field/src/index.vue2.js +1 -0
  102. package/es/components/table-export-field/src/tool.d.ts +1 -0
  103. package/es/components/table-export-field/src/tool.js +1 -0
  104. package/es/components/table-export-field/src/types/index.d.ts +6 -0
  105. package/es/components/table-export-field/src/types/index.js +1 -0
  106. package/es/components/table-export-field/style/index.css +1 -0
  107. package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +1 -1
  108. package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +1 -1
  109. package/es/components/table-filter/src/hooks/useAdvanced.d.ts +1 -1
  110. package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
  111. package/es/shared/hooks/useDateTime.d.ts +1 -1
  112. package/es/shared/hooks/useDateTime.js +1 -1
  113. package/es/shared/package.json.js +1 -1
  114. package/es/shared/types/business.d.ts +6 -0
  115. package/es/shared/types/index.d.ts +1 -0
  116. package/es/shared/utils/business.d.ts +6 -1
  117. package/es/shared/utils/business.js +1 -1
  118. package/es/shared/utils/fabricjs/index.js +1 -1
  119. package/es/shared/utils/index.js +1 -1
  120. package/es/shared/utils/tapableLess.d.ts +28 -0
  121. package/es/shared/utils/tapableLess.js +1 -0
  122. package/package.json +2 -2
  123. package/es/components/form-render/src/components/renderer/dist/levelSearchCascader.d.ts +0 -77
  124. package/es/components/form-render/src/components/renderer/dist/searchCascade.d.ts +0 -93
  125. package/es/components/iho-table/src/plugins/dist/highLightSetPlugin.d.ts +0 -3
  126. package/es/components/iho-table/src/plugins/filterRenderPlugin/dist/index.d.ts +0 -3
  127. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/dist/index.d.ts +0 -3
  128. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/defaultRendererPlugin.d.ts +0 -3
  129. package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/seqRendererPlugin.d.ts +0 -3
  130. package/es/components/iho-table/src/plugins/varialbleHeightPlugin/dist/index.d.ts +0 -3
  131. package/es/components/iho-table/src/utils/dist/index.d.ts +0 -44
  132. package/es/components/scale-view/src/components/formitem/dist/r-address.d.ts +0 -36
  133. package/es/components/scale-view/src/components/formitem/dist/r-sign.d.ts +0 -36
  134. package/es/components/scale-view/src/components/formitem/dist/standard-modal.d.ts +0 -82
  135. package/es/components/search-cascader/src/components/dist/SearchMenu.d.ts +0 -57
  136. package/es/components/search-cascader/src/components/dist/SearchMenu1.d.ts +0 -57
@@ -0,0 +1 @@
1
+ import e from"./SaveProjectModal.vue2.js";import r from"../../../../_virtual/_plugin-vue_export-helper.js";var o=r(e,[["__file","SaveProjectModal.vue"]]);export{o as default};
@@ -0,0 +1 @@
1
+ import{defineComponent as e,ref as a,reactive as t,inject as l,watch as o,openBlock as r,createBlock as i,unref as s,isRef as u,withCtx as c,createVNode as m,createElementVNode as n,createTextVNode as d,createElementBlock as p,Fragment as v,renderList as f,toDisplayString as h}from"vue";import{useMessage as j,NModal as g,NCard as b,NIcon as N,NButton as y,NRadioGroup as P,NRadio as _,NForm as x,NFormItem as k,NInput as w}from"naive-ui";import{CloseOutline as I}from"@vicons/ionicons5";import{InjectionExportApiConfig as S}from"../constants/index.js";import C from"../hooks/useAsyncData.js";import{dragFieldCheckList as L}from"../tool.js";import{cloneDeep as A}from"lodash-es";const M={class:"svg-wrap"},O={class:"flex_right"},U={class:"save-project-content"};var z=e({__name:"SaveProjectModal",props:{visible:{type:Boolean,default:!1},tableListId:{type:String,default:""},programOptions:{type:Array,default:()=>[]},curProgram:{type:Object,default:()=>({})},showAllFieldList:{type:Array,default:()=>[]}},emits:["cancelSaveModal"],setup(e,{emit:z}){const F=e,K=j(),{saveTableListExportScheme:q}=C(),B={projectName:{required:!0,message:"请输入方案名称",trigger:["input","blur"]}},D=[{value:"updateProject",label:"更新方案"},{value:"addProject",label:"新增方案"}],E=a(null),R=t({projectName:""}),T=a(),$=a([]),G=l(S);function H(e){T.value=e}function J(){var e;null==(e=E.value)||e.validate((async e=>{if(e)return;if(function(){const e=R.projectName.trim();let a=[];if("addProject"===T.value&&(a=F.programOptions.map((e=>e.schemeName))),"updateProject"===T.value){const{schemeName:e}=F.curProgram;a=F.programOptions.filter((a=>a.schemeName!==e)).map((e=>e.schemeName))}return!!a.includes(e)&&(K.warning(`已存在${e}的方案名称`),!0)}())return;const a=function(){const e=R.projectName.trim(),{fieldKeys:a,schemeId:t}=F.curProgram;let l={fieldKeys:L(F.showAllFieldList,a),lastUsedSchemeName:e,schemeId:"",schemeName:e,tableListId:F.tableListId};return"updateProject"===T.value&&(l.schemeId=t),l}();await q(a,G)&&(K.success("保存并导出成功"),z("cancelSaveModal"))}))}function Q(){z("cancelSaveModal")}return o((()=>F.curProgram),(async e=>{if("default"===e.schemeId)$.value=D.filter((e=>"addProject"===e.value)),T.value="addProject",R.projectName="";else $.value=A(D),T.value="updateProject",R.projectName=e.schemeName}),{immediate:!0,deep:!0}),(a,t)=>(r(),i(s(g),{class:"table-export-field-modal",show:e.visible,"onUpdate:show":t[2]||(t[2]=e=>u(visible)?visible.value=e:null),maskClosable:!1,"positive-text":"确认","negative-text":"取消",onPositiveClick:J,onNegativeClick:Q},{default:c((()=>[m(s(b),{title:"导出并存为方案",style:{width:"520px"},bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{"header-extra":c((()=>[n("div",M,[m(s(N),{component:s(I),size:"24",onClick:Q},null,8,["component"])])])),footer:c((()=>[n("div",O,[m(s(y),{onClick:Q},{default:c((()=>[d("取消")])),_:1}),m(s(y),{type:"info",onClick:J},{default:c((()=>[d("确认")])),_:1})])])),default:c((()=>[n("div",U,[m(s(P),{value:T.value,"onUpdate:value":[t[0]||(t[0]=e=>T.value=e),H],name:"radiogroup"},{default:c((()=>[(r(!0),p(v,null,f($.value,(e=>(r(),i(s(_),{key:e.value,value:e.value},{default:c((()=>[d(h(e.label),1)])),_:2},1032,["value"])))),128))])),_:1},8,["value"]),m(s(x),{ref_key:"formRef",ref:E,"label-placement":"left",rules:B,model:R},{default:c((()=>[m(s(k),{label:"方案名称",path:"projectName"},{default:c((()=>[m(s(w),{value:R.projectName,"onUpdate:value":t[1]||(t[1]=e=>R.projectName=e),placeholder:"请输入方案名称",clearable:"",maxlength:"100"},null,8,["value"])])),_:1})])),_:1},8,["model"])])])),_:1})])),_:1},8,["show"]))}});export{z as default};
@@ -0,0 +1,3 @@
1
+ import { AnyObject } from '../../../../../es/shared/types';
2
+ import { InjectionKey } from 'vue';
3
+ export declare const InjectionExportApiConfig: InjectionKey<AnyObject>;
@@ -0,0 +1 @@
1
+ const o=Symbol("InjectionExportApiConfig");export{o as InjectionExportApiConfig};
@@ -0,0 +1,6 @@
1
+ export default function useAsyncData(): {
2
+ getTableListExportScheme: (params: any, filterApiConfig: any) => Promise<any>;
3
+ deleteTableListExportScheme: (params: any, filterApiConfig: any) => Promise<any>;
4
+ exportTableListScheme: (params: any, filterApiConfig: any) => Promise<any>;
5
+ saveTableListExportScheme: (params: any, filterApiConfig: any) => Promise<any>;
6
+ };
@@ -0,0 +1 @@
1
+ function e(){async function e(e,t,r){try{const n=r[t]||null;if("function"==typeof n){const t=await n(e);return Promise.resolve(t)}return Promise.reject(new Error(`${t} Is not a function`))}catch(e){return Promise.reject(e)}}return{getTableListExportScheme:async function(t,r){return await e(t,"getTableListExportScheme",r)},deleteTableListExportScheme:async function(t,r){return await e(t,"deleteTableListExportScheme",r)},exportTableListScheme:async function(t,r){return await e(t,"exportTableListScheme",r)},saveTableListExportScheme:async function(t,r){return await e(t,"saveTableListExportScheme",r)}}}export{e as default};