cnhis-design-vue 3.2.4-beta.11 → 3.2.4-beta.13

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 (29) hide show
  1. package/es/components/button-print/src/ButtonPrint.vue2.js +1 -1
  2. package/es/components/callback/src/components/render/popupMaps.d.ts +15 -0
  3. package/es/components/form-config/index.d.ts +36 -0
  4. package/es/components/form-config/src/FormConfig.vue.d.ts +36 -0
  5. package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +15 -0
  6. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +18 -0
  7. package/es/components/form-render/index.d.ts +15 -0
  8. package/es/components/form-render/src/FormRender.vue.d.ts +15 -0
  9. package/es/components/form-render/src/FormRender.vue2.js +1 -1
  10. package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +15 -0
  11. package/es/components/form-render/src/components/renderer/formItem.js +1 -1
  12. package/es/components/form-render/src/components/renderer/lineBar/FormCollapse.vue.d.ts +1 -0
  13. package/es/components/form-render/src/components/renderer/lineBar/index.d.ts +1 -0
  14. package/es/components/form-render/src/constants/index.d.ts +2 -1
  15. package/es/components/form-render/src/constants/index.js +1 -1
  16. package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -0
  17. package/es/components/form-render/src/types/index.d.ts +1 -0
  18. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue2.js +1 -1
  19. package/es/components/info-header/index.d.ts +35 -0
  20. package/es/components/info-header/src/InfoHeader.vue.d.ts +35 -0
  21. package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -0
  22. package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -0
  23. package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +16 -0
  24. package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +15 -0
  25. package/es/components/shortcut-setter/index.d.ts +15 -0
  26. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +15 -0
  27. package/es/shared/package.json.js +1 -1
  28. package/es/shared/utils/index.js +1 -1
  29. package/package.json +2 -2
@@ -1 +1 @@
1
- import{defineComponent as t,ref as e,reactive as n,computed as i,onMounted as a,watch as r,openBlock as o,createElementBlock as s,Fragment as l,createVNode as d,unref as p,withCtx as u,renderSlot as m,withModifiers as c,createTextVNode as f,toDisplayString as v,mergeProps as y}from"vue";import{isObject as g}from"@vue/shared";import{useMessage as b,NDropdown as h,NButton as I,NIcon as P}from"naive-ui";import{ChevronDown as w}from"@vicons/ionicons5";import{Print as k}from"./utils/print.js";import{isIReport as F}from"./utils/browserPrint.js";import T from"./components/IdentityVerification.vue.js";import{format as S}from"date-fns";import{savePrivateFormatApi as x,getPrivateFormatApi as O}from"./api.js";var j=t({__name:"ButtonPrint",props:{printParams:{type:Array},params:{default:()=>[],type:Array},btnText:{default:"打印",type:String},printText:{default:"直接打印",type:String},previewText:{default:"打印预览",type:String},pdfLoadText:{default:"下载pdf",type:String},formatEditText:{default:"格式编辑",type:String},prevFn:{default:()=>Promise.resolve(),type:Function},queryPrintFormatByNumber:{default:()=>Promise.resolve({}),type:Function},queryTemplateParams:{default:()=>Promise.resolve({}),type:Function},strategy:{default:"MULTI",type:String},clickPrevFn:{default:()=>Promise.resolve(!0),type:Function},noDataMsg:{default:"请选中需要打印的数据",type:String},token:{type:String},printdlgshow:{default:"0",type:String},btnprint:{type:String,default:"1"},directPrint:{type:Boolean,default:!1},externalOptionConfig:{type:Object,default:()=>({})},signature:{type:String},showLoading:{type:Boolean,default:!0},hideButtons:{type:Array,default:()=>[]},printCopies:{type:Number,default:1}},emits:["success","error","cancel","clickoutside"],setup(t,{expose:j,emit:L}){var E;const D=t,M=b();let N;const C={},V=e(""),B=n({spinning:!1,visible:!1,formatList:[],templateParams:{},printParams:[],currentFormatId:"",identityVerification:{visible:!1},isInited:!1,watchPrintParamsReformatFn:null,spinTimer:null});let R=e([{label:D.printText,key:"printText"},{label:D.previewText,key:"previewText"},{label:D.pdfLoadText,key:"downloadPdf"},{label:D.formatEditText,key:"formatEditText"},...(null==(E=D.externalOptionConfig)?void 0:E.options)||[]]);const z=i((()=>{if(!B.currentFormatId)return{};let t=B.currentFormatId;return B.formatList.find((e=>e.id===t))})),A=i((()=>{var t;return(null==(t=z.value)?void 0:t.name)||"格式选择"})),J=i((()=>{let t=B.formatList.find((t=>t.id===B.currentFormatId));return null==t?void 0:t.templateId})),U=async t=>{if(D.directPrint){if(B.spinning)return;return"button"===t?void await st():at()}return at()},q=t=>d("span",{class:{active:t.key===B.currentFormatId}},[t.label]),K=(t,e)=>{B.spinning=!1;let n={type:e,formatId:B.currentFormatId,templateId:J.value};L("success",t,n)},_=t=>{B.spinning=!1,L("error",t),g(t)&&"notInstalledApp"===t.type&&M.error(t.message)},G=t=>{B.spinning=!1,L("cancel",t)},H=t=>{L("error",{message:"前置条件执行错误",type:t,preExecution:!0})},Y=(t=0)=>{var e;const n=(null==(e=D.printParams)?void 0:e.length)?D.printParams[t]:B.printParams[t];return JSON.stringify({...n||{},...D.token?{token:D.token}:{}})},$=()=>{var t,e;let n={},i={};if(null==(t=B.templateParams.customizeDataset)?void 0:t.length){const t=(null==(e=Object.keys(B.printParams[0].datasetData||{}))?void 0:e[0])||"",n=JSON.stringify(B.printParams.map((e=>JSON.parse(e.datasetData[t]))));i={datasetData:{}},i.datasetData[t]=n}else Object.keys(B.printParams[0]).forEach((t=>{i[t]=[],B.printParams.forEach((e=>{i[t].includes(e[t])||i[t].push(e[t])})),i[t]=i[t].join(",")}));return n=Object.assign({},JSON.parse(Y(0)),i),JSON.stringify(n)},Q=()=>{let t=B.printParams.length;const e=async e=>{try{--t<=0&&K(e,"print")}catch(t){console.log("error",t)}};D.showLoading&&B.spinning||(B.spinning=!0,D.prevFn("print").then((()=>{const t={formatId:B.currentFormatId,templateId:J.value,authorizationKey:V.value,printdlgshow:D.printdlgshow,signature:D.signature,copies:D.printCopies};if("MULTI"===D.strategy)for(let n=0;n<B.printParams.length;n++)n>0&&(t.printdlgshow="0"),N.printDirect({...t,params:Y(n)},e,_,G);else N.printDirect({...t,params:$()},(t=>{K(t,"print")}),_,G)})).catch((()=>{H("print"),B.spinning=!1})).finally((()=>{B.visible=!1})))},W=async(t,e)=>{var n,i;switch(t){case"printText":Q();break;case"previewText":(async()=>{D.showLoading&&B.spinning||(B.spinning=!0,D.prevFn("preview").then((()=>{const t="MULTI"===D.strategy?Y():$(),e={formatId:B.currentFormatId,templateId:J.value,authorizationKey:V.value,params:t,btnprint:D.btnprint,signature:D.signature};N.preview(e,(t=>{K(t,"preview")}),_)})).catch((()=>{H("preview"),B.spinning=!1})).finally((()=>{B.visible=!1})))})();break;case"formatEditText":D.showLoading&&B.spinning||(B.spinning=!0,D.prevFn("edit").then((()=>{B.identityVerification.visible=!0})).catch((()=>{H("edit")})).finally((()=>{B.visible=!1,B.spinning=!1})));break;case"downloadPdf":(async()=>{D.showLoading&&B.spinning||(B.spinning=!0,D.prevFn("download").then((()=>{const t="MULTI"===D.strategy?Y():$(),e={formatId:B.currentFormatId,templateId:J.value,authorizationKey:V.value,print:{print:"1",type:"1"},params:t,signature:D.signature};N.downloadPDF(e,(t=>K(t,"preview")),_)})).catch((()=>{H("download"),B.spinning=!1})).finally((()=>{B.visible=!1})))})();break;default:{B.visible=!1;const a=B.formatList.find((e=>e.id===t))||{};if(Object.keys(a).length>0){B.currentFormatId=t;const[e]=R.value;e.label=(null==a?void 0:a.name)||e.label,await x({formatForms:[{...a}],name:C.name||a.templateName,number:C.number||a.number,templateId:C.templateId||a.templateId,...C.id?{id:C.id}:{}},{token:D.token})}else null==(i=null==(n=D.externalOptionConfig)?void 0:n.onSelect)||i.call(n,t,e);break}}},X=()=>{B.visible=!1,L("clickoutside")},Z=()=>(B.isInited=!1,B.spinning=!1,setTimeout((()=>{B.visible=!1}),0),!1),tt=(t,e,n)=>{const i={};return e.forEach((e=>{let a=((t,e)=>{const n={DATE:"yyyy-MM-dd",DATETIME:"yyyy-MM-dd HH:mm:ss"};let i=e;return Object.keys(n).includes(t.type)&&e&&e instanceof Date&&(i=S(e,n[t.type])),i||(null==t?void 0:t.defaultValue)||""})(e,t[e[n]]);t[e[n]]&&a&&(i[e[n]]=a)})),i},et=({customizeDataset:t=[],param:e=[]},n=[])=>n.map((n=>{let i={};return t.forEach((t=>{const e=t.dataSetting[0].selectFieldList;i.datasetData={[t.name]:JSON.stringify(tt(n,e,"fieldName"))}})),i=Object.assign({},i,tt(n,e,"key")),i})),nt=async t=>{var e;if(B.formatList=t?(t=>{let e=[];return t&&t.forEach((t=>{if(!t.format)return!1;e.push(...t.format.map((e=>Object.assign({},e,{templateName:t.name}))))})),e})(t.obj):[],B.currentFormatId=await(async(t,e)=>{var n;if(!(null==t?void 0:t.length))return"";const{data:i}=await O({templateId:t[0].templateId},{token:D.token});if("SUCCESS"===i.result){const{formatForms:e=[]}=i.map||{};Object.assign(C,i.map||{});const a=null==(n=null==e?void 0:e[0])?void 0:n.id;if(a&&t.map((t=>t.id)).includes(a))return a}const a=t.find((t=>1==t[e]));return(null==a?void 0:a.id)||t[0].id})(B.formatList,"defaultFlag"),!B.currentFormatId)return M.error("获取打印格式失败,请联系管理员!"),Z();(()=>{var t;const e=B.formatList.map((t=>({label:t.name,key:t.id})));R.value.unshift({label:A.value,key:"format",children:e}),D.hideButtons.length>0&&(R.value=R.value.filter((t=>!D.hideButtons.includes(t.key))));const n=sessionStorage.getItem("portal");if(n){const e=JSON.parse(n),i=(null==(t=null==e?void 0:e.user)?void 0:t.currentRoleResourceObj)||{},a=Object.keys(i);a.includes("RY7.2.21.1.M2.G94181E")||(R.value=R.value.filter((t=>"downloadPdf"!=t.key))),a.includes("RY7.2.21.1.M2.G33633A")||(R.value=R.value.filter((t=>"formatEditText"!=t.key)))}})();let n=null==(e=await D.queryTemplateParams())?void 0:e.obj;if(!n||!J.value)return M.error("获取打印模板失败,请联系管理员!"),Z();B.templateParams=n,B.printParams=et(B.templateParams,D.params)},it=async()=>{var t;if(B.isInited)return!0;B.isInited=!0,B.spinning=!0,(()=>{if(N)return!1;N=new k})();const e=await D.queryPrintFormatByNumber();return await nt(e),(null==(t=e.obj)?void 0:t.length)>0&&(V.value=e.obj[0].authorizationKey||""),B.spinning=!1,!0},at=async(t=!0)=>{var e,n;if(await D.clickPrevFn())if((null==(e=D.params)?void 0:e.length)||(null==(n=D.printParams)?void 0:n.length)){if(!B.visible){if(!await it())return!1}t&&(B.visible=!B.visible)}else M.warning(D.noDataMsg)},rt=()=>{B.watchPrintParamsReformatFn&&B.watchPrintParamsReformatFn(),B.isInited?B.printParams=et(B.templateParams,D.params):B.watchPrintParamsReformatFn=()=>r((()=>B.isInited),(t=>{if(!t)return!1;rt()}))},ot=t=>{if(B.identityVerification.visible=!1,F(B.currentFormatId))return K(null,"edit");const e={formatId:B.currentFormatId,templateId:J.value,params:Y(),token:t};N.editPrintFormat(e,(t=>{K(t,"edit")}),_)};async function st(){await at(!1),Q()}return a((()=>{B.isInited=!1})),r((()=>D.params),(t=>{if(!(null==t?void 0:t.length))return!1;rt()}),{deep:!0}),j({directPrint:st}),(e,n)=>(o(),s(l,null,[d(p(h),{class:"c-dropdown",placement:"bottom-start",trigger:"click",show:B.visible,onClickoutside:X,options:p(R),onSelect:W,"render-label":q},{default:u((()=>[m(e.$slots,"button",{handleClickPrintBtn:at,printSpinning:B.spinning,printbtnText:t.btnText,printVisible:B.visible},(()=>[d(p(I),{class:"dropdown-button",loading:t.showLoading&&B.spinning,onClick:n[1]||(n[1]=c((()=>U("button")),["stop"]))},{default:u((()=>[f(v(t.btnText)+" ",1),d(p(P),{component:p(w),size:"18",style:{"margin-left":"5px"},onClick:n[0]||(n[0]=c((()=>U("icon")),["stop"]))},null,8,["component"])])),_:1},8,["loading"])]))])),_:3},8,["show","options"]),d(T,y(e.$attrs,{modelValue:B.identityVerification.visible,"onUpdate:modelValue":n[2]||(n[2]=t=>B.identityVerification.visible=t),formatId:B.currentFormatId,templateId:p(J),onSuccess:ot}),null,16,["modelValue","formatId","templateId"])],64))}});export{j as default};
1
+ import{defineComponent as t,ref as e,reactive as n,computed as i,onMounted as a,watch as r,openBlock as o,createElementBlock as s,Fragment as l,createVNode as d,unref as p,withCtx as u,renderSlot as m,withModifiers as c,createTextVNode as f,toDisplayString as v,mergeProps as y}from"vue";import{isObject as g}from"@vue/shared";import{useMessage as b,NDropdown as h,NButton as I,NIcon as P}from"naive-ui";import{ChevronDown as w}from"@vicons/ionicons5";import{Print as k}from"./utils/print.js";import{isIReport as F}from"./utils/browserPrint.js";import T from"./components/IdentityVerification.vue.js";import{format as S}from"date-fns";import{savePrivateFormatApi as x,getPrivateFormatApi as O}from"./api.js";var j=t({__name:"ButtonPrint",props:{printParams:{type:Array},params:{default:()=>[],type:Array},btnText:{default:"打印",type:String},printText:{default:"直接打印",type:String},previewText:{default:"打印预览",type:String},pdfLoadText:{default:"下载pdf",type:String},formatEditText:{default:"格式编辑",type:String},prevFn:{default:()=>Promise.resolve(),type:Function},queryPrintFormatByNumber:{default:()=>Promise.resolve({}),type:Function},queryTemplateParams:{default:()=>Promise.resolve({}),type:Function},strategy:{default:"MULTI",type:String},clickPrevFn:{default:()=>Promise.resolve(!0),type:Function},noDataMsg:{default:"请选中需要打印的数据",type:String},token:{type:String},printdlgshow:{default:"0",type:String},btnprint:{type:String,default:"1"},directPrint:{type:Boolean,default:!1},externalOptionConfig:{type:Object,default:()=>({})},signature:{type:String},showLoading:{type:Boolean,default:!0},hideButtons:{type:Array,default:()=>[]},printCopies:{type:Number,default:1}},emits:["success","error","cancel","clickoutside"],setup(t,{expose:j,emit:L}){var E;const D=t,M=b();let N;const C={},V=e(""),B=n({spinning:!1,visible:!1,formatList:[],templateParams:{},printParams:[],currentFormatId:"",identityVerification:{visible:!1},isInited:!1,watchPrintParamsReformatFn:null,spinTimer:null});let R=e([{label:D.printText,key:"printText"},{label:D.previewText,key:"previewText"},{label:D.pdfLoadText,key:"downloadPdf"},{label:D.formatEditText,key:"formatEditText"},...(null==(E=D.externalOptionConfig)?void 0:E.options)||[]]);const z=i((()=>{if(!B.currentFormatId)return{};let t=B.currentFormatId;return B.formatList.find((e=>e.id===t))})),A=i((()=>{var t;return(null==(t=z.value)?void 0:t.name)||"格式选择"})),J=i((()=>{let t=B.formatList.find((t=>t.id===B.currentFormatId));return null==t?void 0:t.templateId})),U=async t=>{if(D.directPrint){if(B.spinning)return;return"button"===t?void await st():at()}return at()},q=t=>d("span",{class:{active:t.key===B.currentFormatId}},[t.label]),K=(t,e)=>{B.spinning=!1;let n={type:e,formatId:B.currentFormatId,templateId:J.value};L("success",t,n)},_=t=>{B.spinning=!1,L("error",t),g(t)&&"notInstalledApp"===t.type&&M.error(t.message)},G=t=>{B.spinning=!1,L("cancel",t)},H=t=>{L("error",{message:"前置条件执行错误",type:t,preExecution:!0})},Y=(t=0)=>{var e;const n=(null==(e=D.printParams)?void 0:e.length)?D.printParams[t]:B.printParams[t];return JSON.stringify({...n||{},...D.token?{token:D.token}:{}})},$=()=>{var t,e;let n={},i={};if(null==(t=B.templateParams.customizeDataset)?void 0:t.length){const t=(null==(e=Object.keys(B.printParams[0].datasetData||{}))?void 0:e[0])||"",n=JSON.stringify(B.printParams.map((e=>JSON.parse(e.datasetData[t]))));i={datasetData:{}},i.datasetData[t]=n}else Object.keys(B.printParams[0]).forEach((t=>{i[t]=[],B.printParams.forEach((e=>{i[t].includes(e[t])||i[t].push(e[t])})),i[t]=i[t].join(",")}));return n=Object.assign({},JSON.parse(Y(0)),i),JSON.stringify(n)},Q=()=>{let t=B.printParams.length;const e=async e=>{try{--t<=0&&K(e,"print")}catch(t){console.log("error",t)}};D.showLoading&&B.spinning||(B.spinning=!0,D.prevFn("print").then((()=>{const t={formatId:B.currentFormatId,templateId:J.value,authorizationKey:V.value,printdlgshow:D.printdlgshow,signature:D.signature,copies:D.printCopies};if("MULTI"===D.strategy)for(let n=0;n<B.printParams.length;n++)n>0&&(t.printdlgshow="0"),N.printDirect({...t,params:Y(n)},e,_,G);else N.printDirect({...t,params:$()},(t=>{K(t,"print")}),_,G)})).catch((()=>{H("print"),B.spinning=!1})).finally((()=>{B.visible=!1})))},W=async(t,e)=>{var n,i;switch(t){case"printText":Q();break;case"previewText":(async()=>{D.showLoading&&B.spinning||(B.spinning=!0,D.prevFn("preview").then((()=>{const t="MULTI"===D.strategy?Y():$(),e={formatId:B.currentFormatId,templateId:J.value,authorizationKey:V.value,params:t,btnprint:D.btnprint,signature:D.signature};N.preview(e,(t=>{K(t,"preview")}),_)})).catch((()=>{H("preview"),B.spinning=!1})).finally((()=>{B.visible=!1})))})();break;case"formatEditText":D.showLoading&&B.spinning||(B.spinning=!0,D.prevFn("edit").then((()=>{B.identityVerification.visible=!0})).catch((()=>{H("edit")})).finally((()=>{B.visible=!1,B.spinning=!1})));break;case"downloadPdf":(async()=>{D.showLoading&&B.spinning||(B.spinning=!0,D.prevFn("download").then((()=>{const t="MULTI"===D.strategy?Y():$(),e={formatId:B.currentFormatId,templateId:J.value,authorizationKey:V.value,print:{print:"1",type:"1"},params:t,signature:D.signature};N.downloadPDF(e,(t=>K(t,"preview")),_)})).catch((()=>{H("download"),B.spinning=!1})).finally((()=>{B.visible=!1})))})();break;default:{B.visible=!1;const a=B.formatList.find((e=>e.id===t))||{};if(Object.keys(a).length>0){B.currentFormatId=t;const[e]=R.value;e.label=(null==a?void 0:a.name)||e.label,await x({formatForms:[{...a}],name:C.name||a.templateName,number:C.number||a.number,templateId:C.templateId||a.templateId,...C.id?{id:C.id}:{}},{token:D.token})}else null==(i=null==(n=D.externalOptionConfig)?void 0:n.onSelect)||i.call(n,t,e);break}}},X=()=>{B.visible=!1,L("clickoutside")},Z=()=>(B.isInited=!1,B.spinning=!1,setTimeout((()=>{B.visible=!1}),0),!1),tt=(t,e,n)=>{const i={};return e.forEach((e=>{let a=((t,e)=>{const n={DATE:"yyyy-MM-dd",DATETIME:"yyyy-MM-dd HH:mm:ss"};let i=e;return Object.keys(n).includes(t.type)&&e&&e instanceof Date&&(i=S(e,n[t.type])),(null==t?void 0:t.defaultValue)||i})(e,t[e[n]]);t[e[n]]&&a&&(i[e[n]]=a)})),i},et=({customizeDataset:t=[],param:e=[]},n=[])=>n.map((n=>{let i={};return t.forEach((t=>{const e=t.dataSetting[0].selectFieldList;i.datasetData={[t.name]:JSON.stringify(tt(n,e,"fieldName"))}})),i=Object.assign({},i,tt(n,e,"key")),i})),nt=async t=>{var e;if(B.formatList=t?(t=>{let e=[];return t&&t.forEach((t=>{if(!t.format)return!1;e.push(...t.format.map((e=>Object.assign({},e,{templateName:t.name}))))})),e})(t.obj):[],B.currentFormatId=await(async(t,e)=>{var n;if(!(null==t?void 0:t.length))return"";const{data:i}=await O({templateId:t[0].templateId},{token:D.token});if("SUCCESS"===i.result){const{formatForms:e=[]}=i.map||{};Object.assign(C,i.map||{});const a=null==(n=null==e?void 0:e[0])?void 0:n.id;if(a&&t.map((t=>t.id)).includes(a))return a}const a=t.find((t=>1==t[e]));return(null==a?void 0:a.id)||t[0].id})(B.formatList,"defaultFlag"),!B.currentFormatId)return M.error("获取打印格式失败,请联系管理员!"),Z();(()=>{var t;const e=B.formatList.map((t=>({label:t.name,key:t.id})));R.value.unshift({label:A.value,key:"format",children:e}),D.hideButtons.length>0&&(R.value=R.value.filter((t=>!D.hideButtons.includes(t.key))));const n=sessionStorage.getItem("portal");if(n){const e=JSON.parse(n),i=(null==(t=null==e?void 0:e.user)?void 0:t.currentRoleResourceObj)||{},a=Object.keys(i);a.includes("RY7.2.21.1.M2.G94181E")||(R.value=R.value.filter((t=>"downloadPdf"!=t.key))),a.includes("RY7.2.21.1.M2.G33633A")||(R.value=R.value.filter((t=>"formatEditText"!=t.key)))}})();let n=null==(e=await D.queryTemplateParams())?void 0:e.obj;if(!n||!J.value)return M.error("获取打印模板失败,请联系管理员!"),Z();B.templateParams=n,B.printParams=et(B.templateParams,D.params)},it=async()=>{var t;if(B.isInited)return!0;B.isInited=!0,B.spinning=!0,(()=>{if(N)return!1;N=new k})();const e=await D.queryPrintFormatByNumber();return await nt(e),(null==(t=e.obj)?void 0:t.length)>0&&(V.value=e.obj[0].authorizationKey||""),B.spinning=!1,!0},at=async(t=!0)=>{var e,n;if(await D.clickPrevFn())if((null==(e=D.params)?void 0:e.length)||(null==(n=D.printParams)?void 0:n.length)){if(!B.visible){if(!await it())return!1}t&&(B.visible=!B.visible)}else M.warning(D.noDataMsg)},rt=()=>{B.watchPrintParamsReformatFn&&B.watchPrintParamsReformatFn(),B.isInited?B.printParams=et(B.templateParams,D.params):B.watchPrintParamsReformatFn=()=>r((()=>B.isInited),(t=>{if(!t)return!1;rt()}))},ot=t=>{if(B.identityVerification.visible=!1,F(B.currentFormatId))return K(null,"edit");const e={formatId:B.currentFormatId,templateId:J.value,params:Y(),token:t};N.editPrintFormat(e,(t=>{K(t,"edit")}),_)};async function st(){await at(!1),Q()}return a((()=>{B.isInited=!1})),r((()=>D.params),(t=>{if(!(null==t?void 0:t.length))return!1;rt()}),{deep:!0}),j({directPrint:st}),(e,n)=>(o(),s(l,null,[d(p(h),{class:"c-dropdown",placement:"bottom-start",trigger:"click",show:B.visible,onClickoutside:X,options:p(R),onSelect:W,"render-label":q},{default:u((()=>[m(e.$slots,"button",{handleClickPrintBtn:at,printSpinning:B.spinning,printbtnText:t.btnText,printVisible:B.visible},(()=>[d(p(I),{class:"dropdown-button",loading:t.showLoading&&B.spinning,onClick:n[1]||(n[1]=c((()=>U("button")),["stop"]))},{default:u((()=>[f(v(t.btnText)+" ",1),d(p(P),{component:p(w),size:"18",style:{"margin-left":"5px"},onClick:n[0]||(n[0]=c((()=>U("icon")),["stop"]))},null,8,["component"])])),_:1},8,["loading"])]))])),_:3},8,["show","options"]),d(T,y(e.$attrs,{modelValue:B.identityVerification.visible,"onUpdate:modelValue":n[2]||(n[2]=t=>B.identityVerification.visible=t),formatId:B.currentFormatId,templateId:p(J),onSuccess:ot}),null,16,["modelValue","formatId","templateId"])],64))}});export{j as default};
@@ -191,6 +191,10 @@ export declare const CallbackMaps: Map<string, {
191
191
  type: (NumberConstructor | StringConstructor)[];
192
192
  default: number;
193
193
  };
194
+ autoWidth: {
195
+ type: (BooleanConstructor | NumberConstructor)[];
196
+ default: boolean;
197
+ };
194
198
  }, {
195
199
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
196
200
  fieldList: {
@@ -378,6 +382,10 @@ export declare const CallbackMaps: Map<string, {
378
382
  type: (NumberConstructor | StringConstructor)[];
379
383
  default: number;
380
384
  };
385
+ autoWidth: {
386
+ type: (BooleanConstructor | NumberConstructor)[];
387
+ default: boolean;
388
+ };
381
389
  }>> & {
382
390
  onFormChange?: ((...args: any[]) => any) | undefined;
383
391
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -388,6 +396,7 @@ export declare const CallbackMaps: Map<string, {
388
396
  cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
389
397
  nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
390
398
  formRenderRef: import("vue").Ref<HTMLElement | undefined>;
399
+ formWidth: import("vue").Ref<number>;
391
400
  formHeight: import("vue").ComputedRef<string>;
392
401
  SchemaField: import("vue").DefineComponent<Record<keyof import("@formily/vue").ISchemaFieldProps, any>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Record<keyof import("@formily/vue").ISchemaFieldProps, any>>>, {
393
402
  name: any;
@@ -551,6 +560,7 @@ export declare const CallbackMaps: Map<string, {
551
560
  linebarWidth: string | number;
552
561
  linebarDirection: "horizontal" | "vertical";
553
562
  linebarTextDirection: "horizontal" | "vertical";
563
+ autoWidth: number | boolean;
554
564
  }>) => Record<string, import("@formily/json-schema").Stringify<{
555
565
  [key: symbol]: any;
556
566
  [key: `x-${string}`]: any;
@@ -914,6 +924,10 @@ export declare const CallbackMaps: Map<string, {
914
924
  type: (NumberConstructor | StringConstructor)[];
915
925
  default: number;
916
926
  };
927
+ autoWidth: {
928
+ type: (BooleanConstructor | NumberConstructor)[];
929
+ default: boolean;
930
+ };
917
931
  }>> & {
918
932
  onFormChange?: ((...args: any[]) => any) | undefined;
919
933
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -941,6 +955,7 @@ export declare const CallbackMaps: Map<string, {
941
955
  linebarWidth: string | number;
942
956
  linebarDirection: "horizontal" | "vertical";
943
957
  linebarTextDirection: "horizontal" | "vertical";
958
+ autoWidth: number | boolean;
944
959
  operationalFormInit: boolean;
945
960
  }>;
946
961
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
@@ -121,6 +121,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
121
121
  linebarWidth: string | number;
122
122
  linebarDirection: "horizontal" | "vertical";
123
123
  linebarTextDirection: "horizontal" | "vertical";
124
+ autoWidth: number | boolean;
124
125
  }>>>;
125
126
  };
126
127
  beforeMove: {
@@ -247,6 +248,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
247
248
  linebarWidth: string | number;
248
249
  linebarDirection: "horizontal" | "vertical";
249
250
  linebarTextDirection: "horizontal" | "vertical";
251
+ autoWidth: number | boolean;
250
252
  }>>>;
251
253
  };
252
254
  beforeMove: {
@@ -7613,6 +7615,10 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
7613
7615
  type: (NumberConstructor | StringConstructor)[];
7614
7616
  default: number;
7615
7617
  };
7618
+ autoWidth: {
7619
+ type: (BooleanConstructor | NumberConstructor)[];
7620
+ default: boolean;
7621
+ };
7616
7622
  }, {
7617
7623
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
7618
7624
  fieldList: {
@@ -7800,6 +7806,10 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
7800
7806
  type: (NumberConstructor | StringConstructor)[];
7801
7807
  default: number;
7802
7808
  };
7809
+ autoWidth: {
7810
+ type: (BooleanConstructor | NumberConstructor)[];
7811
+ default: boolean;
7812
+ };
7803
7813
  }>> & {
7804
7814
  onFormChange?: ((...args: any[]) => any) | undefined;
7805
7815
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -7810,6 +7820,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
7810
7820
  cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
7811
7821
  nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
7812
7822
  formRenderRef: import("vue").Ref<HTMLElement | undefined>;
7823
+ formWidth: import("vue").Ref<number>;
7813
7824
  formHeight: import("vue").ComputedRef<string>;
7814
7825
  SchemaField: import("vue").DefineComponent<Record<keyof import("@formily/vue").ISchemaFieldProps, any>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Record<keyof import("@formily/vue").ISchemaFieldProps, any>>>, {
7815
7826
  name: any;
@@ -7973,6 +7984,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
7973
7984
  linebarWidth: string | number;
7974
7985
  linebarDirection: "horizontal" | "vertical";
7975
7986
  linebarTextDirection: "horizontal" | "vertical";
7987
+ autoWidth: number | boolean;
7976
7988
  }>) => Record<string, import("@formily/json-schema").Stringify<{
7977
7989
  [key: symbol]: any;
7978
7990
  [key: `x-${string}`]: any;
@@ -8336,6 +8348,10 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
8336
8348
  type: (NumberConstructor | StringConstructor)[];
8337
8349
  default: number;
8338
8350
  };
8351
+ autoWidth: {
8352
+ type: (BooleanConstructor | NumberConstructor)[];
8353
+ default: boolean;
8354
+ };
8339
8355
  }>> & {
8340
8356
  onFormChange?: ((...args: any[]) => any) | undefined;
8341
8357
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -8363,6 +8379,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
8363
8379
  linebarWidth: string | number;
8364
8380
  linebarDirection: "horizontal" | "vertical";
8365
8381
  linebarTextDirection: "horizontal" | "vertical";
8382
+ autoWidth: number | boolean;
8366
8383
  operationalFormInit: boolean;
8367
8384
  }>;
8368
8385
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
@@ -8590,6 +8607,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
8590
8607
  linebarWidth: string | number;
8591
8608
  linebarDirection: "horizontal" | "vertical";
8592
8609
  linebarTextDirection: "horizontal" | "vertical";
8610
+ autoWidth: number | boolean;
8593
8611
  }>>>;
8594
8612
  };
8595
8613
  }, {
@@ -8704,6 +8722,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
8704
8722
  linebarWidth: string | number;
8705
8723
  linebarDirection: "horizontal" | "vertical";
8706
8724
  linebarTextDirection: "horizontal" | "vertical";
8725
+ autoWidth: number | boolean;
8707
8726
  }>>>;
8708
8727
  };
8709
8728
  }>> & {}>>;
@@ -14155,6 +14174,10 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
14155
14174
  type: (NumberConstructor | StringConstructor)[];
14156
14175
  default: number;
14157
14176
  };
14177
+ autoWidth: {
14178
+ type: (BooleanConstructor | NumberConstructor)[];
14179
+ default: boolean;
14180
+ };
14158
14181
  }, {
14159
14182
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
14160
14183
  fieldList: {
@@ -14342,6 +14365,10 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
14342
14365
  type: (NumberConstructor | StringConstructor)[];
14343
14366
  default: number;
14344
14367
  };
14368
+ autoWidth: {
14369
+ type: (BooleanConstructor | NumberConstructor)[];
14370
+ default: boolean;
14371
+ };
14345
14372
  }>> & {
14346
14373
  onFormChange?: ((...args: any[]) => any) | undefined;
14347
14374
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -14352,6 +14379,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
14352
14379
  cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
14353
14380
  nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
14354
14381
  formRenderRef: import("vue").Ref<HTMLElement | undefined>;
14382
+ formWidth: import("vue").Ref<number>;
14355
14383
  formHeight: import("vue").ComputedRef<string>;
14356
14384
  SchemaField: import("vue").DefineComponent<Record<keyof import("@formily/vue").ISchemaFieldProps, any>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Record<keyof import("@formily/vue").ISchemaFieldProps, any>>>, {
14357
14385
  name: any;
@@ -14515,6 +14543,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
14515
14543
  linebarWidth: string | number;
14516
14544
  linebarDirection: "horizontal" | "vertical";
14517
14545
  linebarTextDirection: "horizontal" | "vertical";
14546
+ autoWidth: number | boolean;
14518
14547
  }>) => Record<string, import("@formily/json-schema").Stringify<{
14519
14548
  [key: symbol]: any;
14520
14549
  [key: `x-${string}`]: any;
@@ -14878,6 +14907,10 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
14878
14907
  type: (NumberConstructor | StringConstructor)[];
14879
14908
  default: number;
14880
14909
  };
14910
+ autoWidth: {
14911
+ type: (BooleanConstructor | NumberConstructor)[];
14912
+ default: boolean;
14913
+ };
14881
14914
  }>> & {
14882
14915
  onFormChange?: ((...args: any[]) => any) | undefined;
14883
14916
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -14905,6 +14938,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
14905
14938
  linebarWidth: string | number;
14906
14939
  linebarDirection: "horizontal" | "vertical";
14907
14940
  linebarTextDirection: "horizontal" | "vertical";
14941
+ autoWidth: number | boolean;
14908
14942
  operationalFormInit: boolean;
14909
14943
  }>;
14910
14944
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
@@ -15019,6 +15053,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
15019
15053
  linebarWidth: string | number;
15020
15054
  linebarDirection: "horizontal" | "vertical";
15021
15055
  linebarTextDirection: "horizontal" | "vertical";
15056
+ autoWidth: number | boolean;
15022
15057
  }>>>;
15023
15058
  };
15024
15059
  }>>, {}>;
@@ -15305,6 +15340,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
15305
15340
  linebarWidth: string | number;
15306
15341
  linebarDirection: "horizontal" | "vertical";
15307
15342
  linebarTextDirection: "horizontal" | "vertical";
15343
+ autoWidth: number | boolean;
15308
15344
  }>>>;
15309
15345
  };
15310
15346
  beforeMove: {
@@ -124,6 +124,7 @@ declare const _default: import("vue").DefineComponent<{
124
124
  linebarWidth: string | number;
125
125
  linebarDirection: "horizontal" | "vertical";
126
126
  linebarTextDirection: "horizontal" | "vertical";
127
+ autoWidth: number | boolean;
127
128
  }>>>;
128
129
  };
129
130
  beforeMove: {
@@ -250,6 +251,7 @@ declare const _default: import("vue").DefineComponent<{
250
251
  linebarWidth: string | number;
251
252
  linebarDirection: "horizontal" | "vertical";
252
253
  linebarTextDirection: "horizontal" | "vertical";
254
+ autoWidth: number | boolean;
253
255
  }>>>;
254
256
  };
255
257
  beforeMove: {
@@ -7616,6 +7618,10 @@ declare const _default: import("vue").DefineComponent<{
7616
7618
  type: (NumberConstructor | StringConstructor)[];
7617
7619
  default: number;
7618
7620
  };
7621
+ autoWidth: {
7622
+ type: (BooleanConstructor | NumberConstructor)[];
7623
+ default: boolean;
7624
+ };
7619
7625
  }, {
7620
7626
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
7621
7627
  fieldList: {
@@ -7803,6 +7809,10 @@ declare const _default: import("vue").DefineComponent<{
7803
7809
  type: (NumberConstructor | StringConstructor)[];
7804
7810
  default: number;
7805
7811
  };
7812
+ autoWidth: {
7813
+ type: (BooleanConstructor | NumberConstructor)[];
7814
+ default: boolean;
7815
+ };
7806
7816
  }>> & {
7807
7817
  onFormChange?: ((...args: any[]) => any) | undefined;
7808
7818
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -7813,6 +7823,7 @@ declare const _default: import("vue").DefineComponent<{
7813
7823
  cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
7814
7824
  nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
7815
7825
  formRenderRef: import("vue").Ref<HTMLElement | undefined>;
7826
+ formWidth: import("vue").Ref<number>;
7816
7827
  formHeight: import("vue").ComputedRef<string>;
7817
7828
  SchemaField: import("vue").DefineComponent<Record<keyof import("@formily/vue").ISchemaFieldProps, any>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Record<keyof import("@formily/vue").ISchemaFieldProps, any>>>, {
7818
7829
  name: any;
@@ -7976,6 +7987,7 @@ declare const _default: import("vue").DefineComponent<{
7976
7987
  linebarWidth: string | number;
7977
7988
  linebarDirection: "horizontal" | "vertical";
7978
7989
  linebarTextDirection: "horizontal" | "vertical";
7990
+ autoWidth: number | boolean;
7979
7991
  }>) => Record<string, import("@formily/json-schema").Stringify<{
7980
7992
  [key: symbol]: any;
7981
7993
  [key: `x-${string}`]: any;
@@ -8339,6 +8351,10 @@ declare const _default: import("vue").DefineComponent<{
8339
8351
  type: (NumberConstructor | StringConstructor)[];
8340
8352
  default: number;
8341
8353
  };
8354
+ autoWidth: {
8355
+ type: (BooleanConstructor | NumberConstructor)[];
8356
+ default: boolean;
8357
+ };
8342
8358
  }>> & {
8343
8359
  onFormChange?: ((...args: any[]) => any) | undefined;
8344
8360
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -8366,6 +8382,7 @@ declare const _default: import("vue").DefineComponent<{
8366
8382
  linebarWidth: string | number;
8367
8383
  linebarDirection: "horizontal" | "vertical";
8368
8384
  linebarTextDirection: "horizontal" | "vertical";
8385
+ autoWidth: number | boolean;
8369
8386
  operationalFormInit: boolean;
8370
8387
  }>;
8371
8388
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
@@ -8593,6 +8610,7 @@ declare const _default: import("vue").DefineComponent<{
8593
8610
  linebarWidth: string | number;
8594
8611
  linebarDirection: "horizontal" | "vertical";
8595
8612
  linebarTextDirection: "horizontal" | "vertical";
8613
+ autoWidth: number | boolean;
8596
8614
  }>>>;
8597
8615
  };
8598
8616
  }, {
@@ -8707,6 +8725,7 @@ declare const _default: import("vue").DefineComponent<{
8707
8725
  linebarWidth: string | number;
8708
8726
  linebarDirection: "horizontal" | "vertical";
8709
8727
  linebarTextDirection: "horizontal" | "vertical";
8728
+ autoWidth: number | boolean;
8710
8729
  }>>>;
8711
8730
  };
8712
8731
  }>> & {}>>;
@@ -14158,6 +14177,10 @@ declare const _default: import("vue").DefineComponent<{
14158
14177
  type: (NumberConstructor | StringConstructor)[];
14159
14178
  default: number;
14160
14179
  };
14180
+ autoWidth: {
14181
+ type: (BooleanConstructor | NumberConstructor)[];
14182
+ default: boolean;
14183
+ };
14161
14184
  }, {
14162
14185
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
14163
14186
  fieldList: {
@@ -14345,6 +14368,10 @@ declare const _default: import("vue").DefineComponent<{
14345
14368
  type: (NumberConstructor | StringConstructor)[];
14346
14369
  default: number;
14347
14370
  };
14371
+ autoWidth: {
14372
+ type: (BooleanConstructor | NumberConstructor)[];
14373
+ default: boolean;
14374
+ };
14348
14375
  }>> & {
14349
14376
  onFormChange?: ((...args: any[]) => any) | undefined;
14350
14377
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -14355,6 +14382,7 @@ declare const _default: import("vue").DefineComponent<{
14355
14382
  cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
14356
14383
  nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
14357
14384
  formRenderRef: import("vue").Ref<HTMLElement | undefined>;
14385
+ formWidth: import("vue").Ref<number>;
14358
14386
  formHeight: import("vue").ComputedRef<string>;
14359
14387
  SchemaField: import("vue").DefineComponent<Record<keyof import("@formily/vue").ISchemaFieldProps, any>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Record<keyof import("@formily/vue").ISchemaFieldProps, any>>>, {
14360
14388
  name: any;
@@ -14518,6 +14546,7 @@ declare const _default: import("vue").DefineComponent<{
14518
14546
  linebarWidth: string | number;
14519
14547
  linebarDirection: "horizontal" | "vertical";
14520
14548
  linebarTextDirection: "horizontal" | "vertical";
14549
+ autoWidth: number | boolean;
14521
14550
  }>) => Record<string, import("@formily/json-schema").Stringify<{
14522
14551
  [key: symbol]: any;
14523
14552
  [key: `x-${string}`]: any;
@@ -14881,6 +14910,10 @@ declare const _default: import("vue").DefineComponent<{
14881
14910
  type: (NumberConstructor | StringConstructor)[];
14882
14911
  default: number;
14883
14912
  };
14913
+ autoWidth: {
14914
+ type: (BooleanConstructor | NumberConstructor)[];
14915
+ default: boolean;
14916
+ };
14884
14917
  }>> & {
14885
14918
  onFormChange?: ((...args: any[]) => any) | undefined;
14886
14919
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -14908,6 +14941,7 @@ declare const _default: import("vue").DefineComponent<{
14908
14941
  linebarWidth: string | number;
14909
14942
  linebarDirection: "horizontal" | "vertical";
14910
14943
  linebarTextDirection: "horizontal" | "vertical";
14944
+ autoWidth: number | boolean;
14911
14945
  operationalFormInit: boolean;
14912
14946
  }>;
14913
14947
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
@@ -15022,6 +15056,7 @@ declare const _default: import("vue").DefineComponent<{
15022
15056
  linebarWidth: string | number;
15023
15057
  linebarDirection: "horizontal" | "vertical";
15024
15058
  linebarTextDirection: "horizontal" | "vertical";
15059
+ autoWidth: number | boolean;
15025
15060
  }>>>;
15026
15061
  };
15027
15062
  }>>, {}>;
@@ -15308,6 +15343,7 @@ declare const _default: import("vue").DefineComponent<{
15308
15343
  linebarWidth: string | number;
15309
15344
  linebarDirection: "horizontal" | "vertical";
15310
15345
  linebarTextDirection: "horizontal" | "vertical";
15346
+ autoWidth: number | boolean;
15311
15347
  }>>>;
15312
15348
  };
15313
15349
  beforeMove: {
@@ -207,6 +207,10 @@ declare const _default: import("vue").DefineComponent<{}, {
207
207
  type: (NumberConstructor | StringConstructor)[];
208
208
  default: number;
209
209
  };
210
+ autoWidth: {
211
+ type: (BooleanConstructor | NumberConstructor)[];
212
+ default: boolean;
213
+ };
210
214
  }, {
211
215
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
212
216
  fieldList: {
@@ -394,6 +398,10 @@ declare const _default: import("vue").DefineComponent<{}, {
394
398
  type: (NumberConstructor | StringConstructor)[];
395
399
  default: number;
396
400
  };
401
+ autoWidth: {
402
+ type: (BooleanConstructor | NumberConstructor)[];
403
+ default: boolean;
404
+ };
397
405
  }>> & {
398
406
  onFormChange?: ((...args: any[]) => any) | undefined;
399
407
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -404,6 +412,7 @@ declare const _default: import("vue").DefineComponent<{}, {
404
412
  cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
405
413
  nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
406
414
  formRenderRef: import("vue").Ref<HTMLElement | undefined>;
415
+ formWidth: import("vue").Ref<number>;
407
416
  formHeight: import("vue").ComputedRef<string>;
408
417
  SchemaField: import("vue").DefineComponent<Record<keyof import("@formily/vue").ISchemaFieldProps, any>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Record<keyof import("@formily/vue").ISchemaFieldProps, any>>>, {
409
418
  name: any;
@@ -567,6 +576,7 @@ declare const _default: import("vue").DefineComponent<{}, {
567
576
  linebarWidth: string | number;
568
577
  linebarDirection: "horizontal" | "vertical";
569
578
  linebarTextDirection: "horizontal" | "vertical";
579
+ autoWidth: number | boolean;
570
580
  }>) => Record<string, import("@formily/json-schema").Stringify<{
571
581
  [key: symbol]: any;
572
582
  [key: `x-${string}`]: any;
@@ -930,6 +940,10 @@ declare const _default: import("vue").DefineComponent<{}, {
930
940
  type: (NumberConstructor | StringConstructor)[];
931
941
  default: number;
932
942
  };
943
+ autoWidth: {
944
+ type: (BooleanConstructor | NumberConstructor)[];
945
+ default: boolean;
946
+ };
933
947
  }>> & {
934
948
  onFormChange?: ((...args: any[]) => any) | undefined;
935
949
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -957,6 +971,7 @@ declare const _default: import("vue").DefineComponent<{}, {
957
971
  linebarWidth: string | number;
958
972
  linebarDirection: "horizontal" | "vertical";
959
973
  linebarTextDirection: "horizontal" | "vertical";
974
+ autoWidth: number | boolean;
960
975
  operationalFormInit: boolean;
961
976
  }>;
962
977
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
@@ -112,6 +112,7 @@ declare const _default: import("vue").DefineComponent<{
112
112
  linebarWidth: string | number;
113
113
  linebarDirection: "horizontal" | "vertical";
114
114
  linebarTextDirection: "horizontal" | "vertical";
115
+ autoWidth: number | boolean;
115
116
  }>>>;
116
117
  };
117
118
  }, {
@@ -226,6 +227,7 @@ declare const _default: import("vue").DefineComponent<{
226
227
  linebarWidth: string | number;
227
228
  linebarDirection: "horizontal" | "vertical";
228
229
  linebarTextDirection: "horizontal" | "vertical";
230
+ autoWidth: number | boolean;
229
231
  }>>>;
230
232
  };
231
233
  }>> & {}>>;
@@ -5677,6 +5679,10 @@ declare const _default: import("vue").DefineComponent<{
5677
5679
  type: (NumberConstructor | StringConstructor)[];
5678
5680
  default: number;
5679
5681
  };
5682
+ autoWidth: {
5683
+ type: (BooleanConstructor | NumberConstructor)[];
5684
+ default: boolean;
5685
+ };
5680
5686
  }, {
5681
5687
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
5682
5688
  fieldList: {
@@ -5864,6 +5870,10 @@ declare const _default: import("vue").DefineComponent<{
5864
5870
  type: (NumberConstructor | StringConstructor)[];
5865
5871
  default: number;
5866
5872
  };
5873
+ autoWidth: {
5874
+ type: (BooleanConstructor | NumberConstructor)[];
5875
+ default: boolean;
5876
+ };
5867
5877
  }>> & {
5868
5878
  onFormChange?: ((...args: any[]) => any) | undefined;
5869
5879
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -5874,6 +5884,7 @@ declare const _default: import("vue").DefineComponent<{
5874
5884
  cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
5875
5885
  nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
5876
5886
  formRenderRef: import("vue").Ref<HTMLElement | undefined>;
5887
+ formWidth: import("vue").Ref<number>;
5877
5888
  formHeight: import("vue").ComputedRef<string>;
5878
5889
  SchemaField: import("vue").DefineComponent<Record<keyof import("@formily/vue").ISchemaFieldProps, any>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Record<keyof import("@formily/vue").ISchemaFieldProps, any>>>, {
5879
5890
  name: any;
@@ -6037,6 +6048,7 @@ declare const _default: import("vue").DefineComponent<{
6037
6048
  linebarWidth: string | number;
6038
6049
  linebarDirection: "horizontal" | "vertical";
6039
6050
  linebarTextDirection: "horizontal" | "vertical";
6051
+ autoWidth: number | boolean;
6040
6052
  }>) => Record<string, import("@formily/json-schema").Stringify<{
6041
6053
  [key: symbol]: any;
6042
6054
  [key: `x-${string}`]: any;
@@ -6400,6 +6412,10 @@ declare const _default: import("vue").DefineComponent<{
6400
6412
  type: (NumberConstructor | StringConstructor)[];
6401
6413
  default: number;
6402
6414
  };
6415
+ autoWidth: {
6416
+ type: (BooleanConstructor | NumberConstructor)[];
6417
+ default: boolean;
6418
+ };
6403
6419
  }>> & {
6404
6420
  onFormChange?: ((...args: any[]) => any) | undefined;
6405
6421
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -6427,6 +6443,7 @@ declare const _default: import("vue").DefineComponent<{
6427
6443
  linebarWidth: string | number;
6428
6444
  linebarDirection: "horizontal" | "vertical";
6429
6445
  linebarTextDirection: "horizontal" | "vertical";
6446
+ autoWidth: number | boolean;
6430
6447
  operationalFormInit: boolean;
6431
6448
  }>;
6432
6449
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
@@ -6541,6 +6558,7 @@ declare const _default: import("vue").DefineComponent<{
6541
6558
  linebarWidth: string | number;
6542
6559
  linebarDirection: "horizontal" | "vertical";
6543
6560
  linebarTextDirection: "horizontal" | "vertical";
6561
+ autoWidth: number | boolean;
6544
6562
  }>>>;
6545
6563
  };
6546
6564
  }>>, {}>;
@@ -194,6 +194,10 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
194
194
  type: (NumberConstructor | StringConstructor)[];
195
195
  default: number;
196
196
  };
197
+ autoWidth: {
198
+ type: (BooleanConstructor | NumberConstructor)[];
199
+ default: boolean;
200
+ };
197
201
  }, {
198
202
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
199
203
  fieldList: {
@@ -381,6 +385,10 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
381
385
  type: (NumberConstructor | StringConstructor)[];
382
386
  default: number;
383
387
  };
388
+ autoWidth: {
389
+ type: (BooleanConstructor | NumberConstructor)[];
390
+ default: boolean;
391
+ };
384
392
  }>> & {
385
393
  onFormChange?: ((...args: any[]) => any) | undefined;
386
394
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -391,6 +399,7 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
391
399
  cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
392
400
  nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
393
401
  formRenderRef: import("vue").Ref<HTMLElement | undefined>;
402
+ formWidth: import("vue").Ref<number>;
394
403
  formHeight: import("vue").ComputedRef<string>;
395
404
  SchemaField: import("vue").DefineComponent<Record<keyof import("@formily/vue").ISchemaFieldProps, any>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Record<keyof import("@formily/vue").ISchemaFieldProps, any>>>, {
396
405
  name: any;
@@ -554,6 +563,7 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
554
563
  linebarWidth: string | number;
555
564
  linebarDirection: "horizontal" | "vertical";
556
565
  linebarTextDirection: "horizontal" | "vertical";
566
+ autoWidth: number | boolean;
557
567
  }>) => Record<string, import("@formily/json-schema").Stringify<{
558
568
  [key: symbol]: any;
559
569
  [key: `x-${string}`]: any;
@@ -917,6 +927,10 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
917
927
  type: (NumberConstructor | StringConstructor)[];
918
928
  default: number;
919
929
  };
930
+ autoWidth: {
931
+ type: (BooleanConstructor | NumberConstructor)[];
932
+ default: boolean;
933
+ };
920
934
  }>> & {
921
935
  onFormChange?: ((...args: any[]) => any) | undefined;
922
936
  onScroll?: ((...args: any[]) => any) | undefined;
@@ -944,6 +958,7 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{}, {
944
958
  linebarWidth: string | number;
945
959
  linebarDirection: "horizontal" | "vertical";
946
960
  linebarTextDirection: "horizontal" | "vertical";
961
+ autoWidth: number | boolean;
947
962
  operationalFormInit: boolean;
948
963
  }>;
949
964
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;