cnhis-design-vue 3.1.46-beta.3 → 3.1.46-beta.30
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/button-print/index.d.ts +1 -1
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +1 -1
- package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
- package/es/components/button-print/src/utils/print.js +1 -1
- package/es/components/classification/index.d.ts +1 -1
- package/es/components/classification/src/index.vue.d.ts +1 -1
- package/es/components/classification/src/index.vue2.js +1 -1
- package/es/components/date-picker/src/DatePicker.vue2.js +1 -1
- package/es/components/fabric-chart/src/FabricChart.vue2.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -1
- package/es/components/fabric-chart/src/utils/index.d.ts +1 -0
- package/es/components/fabric-chart/src/utils/index.js +1 -1
- package/es/components/form-config/index.d.ts +23 -1
- package/es/components/form-config/src/FormConfig.vue.d.ts +23 -1
- package/es/components/form-config/src/FormConfig.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +11 -0
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +11 -0
- package/es/components/form-config/src/hooks/useDataNormalize.d.ts +1 -1
- package/es/components/form-config/src/hooks/useDataNormalize.js +1 -1
- package/es/components/form-config/src/types/index.d.ts +1 -1
- package/es/components/form-render/index.d.ts +11 -0
- package/es/components/form-render/src/FormRender.vue.d.ts +12 -1
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +11 -0
- package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
- package/es/components/form-render/src/hooks/useOperationalForm.d.ts +7 -0
- package/es/components/form-render/src/hooks/useOperationalForm.js +1 -0
- package/es/components/form-render/src/types/index.d.ts +2 -1
- package/es/components/iho-table/index.d.ts +14 -0
- package/es/components/iho-table/src/IhoTable.vue.d.ts +14 -0
- package/es/components/iho-table/src/hooks/tapHooks/useConfigHooks.d.ts +1 -0
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +2 -0
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.js +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.d.ts +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/useSetupHooks.js +1 -1
- package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/filter.vue.d.ts +2 -2
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
- package/es/components/iho-table/src/plugins/index.js +1 -1
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/operationalFormPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/operationalFormPlugin/index.js +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/checkRendererPlugin.js +1 -1
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin/index.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +3 -1
- package/es/components/iho-table/src/types/pluginType.d.ts +2 -0
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +2 -1
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +26 -0
- package/es/components/info-header/src/InfoHeader.vue.d.ts +26 -0
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +11 -0
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +11 -0
- package/es/components/quick-search/src/index.vue2.js +1 -1
- package/es/components/scale-view/index.d.ts +8 -8
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-checkbox.d.ts +4 -4
- package/es/components/scale-view/src/components/formitem/r-checkbox.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-radio.d.ts +4 -4
- package/es/components/scale-view/src/components/formitem/r-radio.js +1 -1
- package/es/components/scale-view/src/hooks/use-component.d.ts +16 -16
- package/es/components/scale-view/style/index.css +1 -1
- package/es/components/search-cascader/src/SearchCascader.vue2.js +1 -1
- package/es/components/select-person/index.d.ts +123 -0
- package/es/components/select-person/src/SearchOrgAndStaff.vue.d.ts +88 -0
- package/es/components/select-person/src/SearchOrgAndStaff.vue.js +1 -0
- package/es/components/select-person/src/SearchOrgAndStaff.vue2.js +1 -0
- package/es/components/select-person/src/SelectPerson.vue.d.ts +123 -0
- package/es/components/select-person/src/SelectPerson.vue2.js +1 -1
- package/es/components/select-person/src/types/enums.d.ts +4 -0
- package/es/components/select-person/src/types/enums.js +1 -0
- package/es/components/select-person/src/utils/index.d.ts +1 -1
- package/es/components/select-person/src/utils/index.js +1 -1
- package/es/components/select-person/style/index.css +1 -1
- package/es/components/shortcut-setter/index.d.ts +11 -0
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +11 -0
- package/es/components/table-export-field/index.d.ts +1057 -0
- package/es/components/table-export-field/index.js +1 -0
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +270 -0
- package/es/components/table-export-field/src/components/ExportModal.vue.js +1 -0
- package/es/components/table-export-field/src/components/ExportModal.vue2.js +1 -0
- package/es/components/table-export-field/src/components/SaveProjectModal.vue.d.ts +700 -0
- package/es/components/table-export-field/src/components/SaveProjectModal.vue.js +1 -0
- package/es/components/table-export-field/src/components/SaveProjectModal.vue2.js +1 -0
- package/es/components/table-export-field/src/constants/index.d.ts +3 -0
- package/es/components/table-export-field/src/constants/index.js +1 -0
- package/es/components/table-export-field/src/hooks/useAsyncData.d.ts +6 -0
- package/es/components/table-export-field/src/hooks/useAsyncData.js +1 -0
- package/es/components/table-export-field/src/index.vue.d.ts +1058 -0
- package/es/components/table-export-field/src/index.vue.js +1 -0
- package/es/components/table-export-field/src/index.vue2.js +1 -0
- package/es/components/table-export-field/src/tool.d.ts +1 -0
- package/es/components/table-export-field/src/tool.js +1 -0
- package/es/components/table-export-field/src/types/index.d.ts +6 -0
- package/es/components/table-export-field/src/types/index.js +1 -0
- package/es/components/table-export-field/style/index.css +1 -0
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/shared/hooks/useDateTime.d.ts +1 -1
- package/es/shared/hooks/useDateTime.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +6 -0
- package/es/shared/types/index.d.ts +1 -0
- package/es/shared/utils/business.d.ts +6 -1
- package/es/shared/utils/business.js +1 -1
- package/es/shared/utils/fabricjs/index.js +1 -1
- package/es/shared/utils/index.js +1 -1
- package/es/shared/utils/tapableLess.d.ts +28 -0
- package/es/shared/utils/tapableLess.js +1 -0
- package/package.json +2 -2
- package/es/components/form-render/src/components/renderer/dist/levelSearchCascader.d.ts +0 -77
- package/es/components/form-render/src/components/renderer/dist/searchCascade.d.ts +0 -93
- package/es/components/iho-table/src/plugins/dist/highLightSetPlugin.d.ts +0 -3
- package/es/components/iho-table/src/plugins/filterRenderPlugin/dist/index.d.ts +0 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/dist/index.d.ts +0 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/defaultRendererPlugin.d.ts +0 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/seqRendererPlugin.d.ts +0 -3
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin/dist/index.d.ts +0 -3
- package/es/components/iho-table/src/utils/dist/index.d.ts +0 -44
- package/es/components/scale-view/src/components/formitem/dist/r-address.d.ts +0 -36
- package/es/components/scale-view/src/components/formitem/dist/r-sign.d.ts +0 -36
- package/es/components/scale-view/src/components/formitem/dist/standard-modal.d.ts +0 -82
- package/es/components/search-cascader/src/components/dist/SearchMenu.d.ts +0 -57
- 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 @@
|
|
|
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};
|