cnhis-design-vue 3.1.57-beta.6 → 3.1.57-beta.7
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/src/ButtonPrint.vue2.js +1 -1
- package/es/components/button-print/style/index.css +1 -1
- package/es/components/callback/src/components/render/popupMaps.d.ts +14 -5
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +0 -3
- package/es/components/classification/src/index.vue.d.ts +0 -3
- package/es/components/field-set/src/FieldColor.vue.d.ts +1 -1
- package/es/components/field-set/src/FieldSet.vue.d.ts +1 -1
- package/es/components/field-set/src/components/Row.vue.d.ts +1 -1
- package/es/components/form-config/index.d.ts +42 -24
- package/es/components/form-config/src/FormConfig.vue.d.ts +42 -24
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +14 -5
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +17 -8
- package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +8 -8
- package/es/components/form-config/src/constants/index.d.ts +1 -1
- package/es/components/form-config/src/types/index.d.ts +2 -2
- package/es/components/form-render/index.d.ts +14 -5
- package/es/components/form-render/index.js +1 -1
- package/es/components/form-render/src/FormRender.vue.d.ts +14 -5
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +14 -5
- package/es/components/form-render/src/components/renderer/switch.js +1 -1
- package/es/components/form-render/src/hooks/index.d.ts +1 -0
- package/es/components/form-render/src/hooks/index.js +1 -1
- package/es/components/form-render/src/hooks/useFieldNormalize.d.ts +2 -2
- package/es/components/form-render/src/hooks/useLowCodeReactions.d.ts +1 -1
- package/es/components/form-render/src/hooks/useNewLowCodeReactions.d.ts +6 -0
- package/es/components/form-render/src/hooks/useNewLowCodeReactions.js +1 -0
- package/es/components/form-render/src/types/index.d.ts +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +33 -15
- package/es/components/info-header/src/InfoHeader.vue.d.ts +33 -15
- package/es/components/info-header/src/components/infoDescription/DescriptionItem.vue.d.ts +1 -1
- package/es/components/info-header/src/components/infoDescription/DescriptionList.vue.d.ts +1 -1
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +15 -6
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +14 -5
- package/es/components/shortcut-setter/index.d.ts +14 -5
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +14 -5
- package/es/shared/package.json.js +1 -1
- package/es/shared/types/business.d.ts +23 -3
- package/es/shared/utils/business.d.ts +2 -1
- package/es/shared/utils/business.js +1 -1
- package/es/shared/utils/index.js +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as t,reactive as e,computed as n,onMounted as i,watch as r,openBlock as a,createElementBlock as s,Fragment as o,createVNode as l,unref as p,withCtx as d,renderSlot as m,withModifiers as u,createTextVNode as c,toDisplayString as f,mergeProps as g}from"vue";import{isObject as y}from"@vue/shared";import{useMessage as v,NDropdown as b,NButton as I,NIcon as P}from"naive-ui";import{ChevronDown as h}from"@vicons/ionicons5";import{Print as w}from"./utils/print.js";import{isIReport as F}from"./utils/browserPrint.js";import k from"./components/IdentityVerification.vue.js";import{format as T}from"date-fns";import{savePrivateFormatApi as x,getPrivateFormatApi as S}from"./api.js";var L=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}},emits:["success","error","clickoutside"],setup(t,{expose:L,emit:O}){var j;const D=t,E=v();let M;const N={},V=e({spinning:!1,visible:!1,formatList:[],templateParams:{},printParams:[],currentFormatId:"",identityVerification:{visible:!1},isInited:!1,watchPrintParamsReformatFn:null,spinTimer:null}),C=e([{label:D.printText,key:"printText"},{label:D.previewText,key:"previewText"},{label:D.pdfLoadText,key:"downloadPdf"},{label:D.formatEditText,key:"formatEditText"},...(null==(j=D.externalOptionConfig)?void 0:j.options)||[]]),B=n((()=>{if(!V.currentFormatId)return{};let t=V.currentFormatId;return V.formatList.find((e=>e.id===t))})),J=n((()=>{var t;return(null==(t=B.value)?void 0:t.name)||"格式选择"})),U=n((()=>{let t=V.formatList.find((t=>t.id===V.currentFormatId));return null==t?void 0:t.templateId})),A=async t=>{if(D.directPrint){if(V.spinning)return;return"button"===t?void await rt():et()}return et()},q=t=>l("span",{class:{active:t.key===V.currentFormatId}},[t.label]),R=(t,e)=>{V.spinning=!1;let n={type:e,formatId:V.currentFormatId,templateId:U.value};O("success",t,n)},_=t=>{V.spinning=!1,O("error",t),y(t)&&"notInstalledApp"===t.type&&E.error(t.message)},z=t=>{O("error",{message:"前置条件执行错误",type:t,preExecution:!0})},H=(t=0)=>{var e;const n=(null==(e=D.printParams)?void 0:e.length)?D.printParams[t]:V.printParams[t];return JSON.stringify({...n||{},...D.token?{token:D.token}:{}})},$=()=>{var t,e;let n={},i={};if(null==(t=V.templateParams.customizeDataset)?void 0:t.length){const t=(null==(e=Object.keys(V.printParams[0].datasetData||{}))?void 0:e[0])||"",n=JSON.stringify(V.printParams.map((e=>JSON.parse(e.datasetData[t]))));i={datasetData:{}},i.datasetData[t]=n}else Object.keys(V.printParams[0]).forEach((t=>{i[t]=[],V.printParams.forEach((e=>{i[t].includes(e[t])||i[t].push(e[t])})),i[t]=i[t].join(",")}));return n=Object.assign({},JSON.parse(H(0)),i),JSON.stringify(n)},G=()=>{let t=V.printParams.length;const e=async e=>{try{--t<=0&&R(e,"print")}catch(t){console.log("error",t)}};D.showLoading&&V.spinning||(V.spinning=!0,D.prevFn("print").then((()=>{const t={formatId:V.currentFormatId,templateId:U.value,printdlgshow:D.printdlgshow,signature:D.signature};if("MULTI"===D.strategy)for(let n=0;n<V.printParams.length;n++)n>0&&(t.printdlgshow="0"),M.printDirect({...t,params:H(n)},e,_);else M.printDirect({...t,params:$()},(t=>{R(t,"print")}),_)})).catch((()=>{z("print"),V.spinning=!1})).finally((()=>{V.visible=!1})))},K=async(t,e)=>{var n,i;switch(t){case"printText":G();break;case"previewText":(async()=>{D.showLoading&&V.spinning||(V.spinning=!0,D.prevFn("preview").then((()=>{const t="MULTI"===D.strategy?H():$(),e={formatId:V.currentFormatId,templateId:U.value,params:t,btnprint:D.btnprint,signature:D.signature};M.preview(e,(t=>{R(t,"preview")}),_)})).catch((()=>{z("preview"),V.spinning=!1})).finally((()=>{V.visible=!1})))})();break;case"formatEditText":D.showLoading&&V.spinning||(V.spinning=!0,D.prevFn("edit").then((()=>{V.identityVerification.visible=!0})).catch((()=>{z("edit")})).finally((()=>{V.visible=!1,V.spinning=!1})));break;case"downloadPdf":(async()=>{D.showLoading&&V.spinning||(V.spinning=!0,D.prevFn("download").then((()=>{const t="MULTI"===D.strategy?H():$(),e={formatId:V.currentFormatId,templateId:U.value,print:{print:"1",type:"1"},params:t,signature:D.signature};M.downloadPDF(e,(t=>R(t,"preview")),_)})).catch((()=>{z("download"),V.spinning=!1})).finally((()=>{V.visible=!1})))})();break;default:{V.visible=!1;const r=V.formatList.find((e=>e.id===t))||{};if(Object.keys(r).length>0){V.currentFormatId=t;const[e]=C;e.label=(null==r?void 0:r.name)||e.label,await x({formatForms:[{...r}],name:N.name||r.templateName,number:N.number||r.number,templateId:N.templateId||r.templateId,...N.id?{id:N.id}:{}},{token:D.token})}else null==(i=null==(n=D.externalOptionConfig)?void 0:n.onSelect)||i.call(n,t,e);break}}},Q=()=>{V.visible=!1,O("clickoutside")},W=()=>(V.isInited=!1,V.spinning=!1,setTimeout((()=>{V.visible=!1}),0),!1),X=(t,e,n)=>{const i={};return e.forEach((e=>{let r=((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=T(e,n[t.type])),(null==t?void 0:t.defaultValue)||i})(e,t[e[n]]);t[e[n]]&&r&&(i[e[n]]=r)})),i},Y=({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(X(n,e,"fieldName"))}})),i=Object.assign({},i,X(n,e,"key")),i})),Z=async t=>{var e;if(V.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):[],V.currentFormatId=await(async(t,e)=>{var n;if(!(null==t?void 0:t.length))return"";const{data:i}=await S({templateId:t[0].templateId},{token:D.token});if("SUCCESS"===i.result){const{formatForms:e=[]}=i.map||{};Object.assign(N,i.map||{});const r=null==(n=null==e?void 0:e[0])?void 0:n.id;if(r&&t.map((t=>t.id)).includes(r))return r}const r=t.find((t=>1==t[e]));return(null==r?void 0:r.id)||t[0].id})(V.formatList,"defaultFlag"),!V.currentFormatId)return E.error("获取打印格式失败,请联系管理员!"),W();(()=>{const t=V.formatList.map((t=>({label:t.name,key:t.id})));C.unshift({label:J.value,key:"format",children:t})})();let n=null==(e=await D.queryTemplateParams())?void 0:e.obj;if(!n||!U.value)return E.error("获取打印模板失败,请联系管理员!"),W();V.templateParams=n,V.printParams=Y(V.templateParams,D.params)},tt=async()=>{if(V.isInited)return!0;V.isInited=!0,V.spinning=!0,(()=>{if(M)return!1;M=new w})();const t=await D.queryPrintFormatByNumber();return await Z(t),V.spinning=!1,!0},et=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(!V.visible){if(!await tt())return!1}t&&(V.visible=!V.visible)}else E.warning(D.noDataMsg)},nt=()=>{V.watchPrintParamsReformatFn&&V.watchPrintParamsReformatFn(),V.isInited?V.printParams=Y(V.templateParams,D.params):V.watchPrintParamsReformatFn=()=>r((()=>V.isInited),(t=>{if(!t)return!1;nt()}))},it=t=>{if(V.identityVerification.visible=!1,F(V.currentFormatId))return R(null,"edit");const e={formatId:V.currentFormatId,templateId:U.value,params:H(),token:t};M.editPrintFormat(e,(t=>{R(t,"edit")}),_)};async function rt(){await et(!1),G()}return i((()=>{V.isInited=!1})),r((()=>D.params),(t=>{if(!(null==t?void 0:t.length))return!1;nt()}),{deep:!0}),L({directPrint:rt}),(e,n)=>(a(),s(o,null,[l(p(b),{class:"c-dropdown",placement:"bottom-start",trigger:"click",show:V.visible,onClickoutside:Q,options:C,onSelect:K,"render-label":q},{default:d((()=>[m(e.$slots,"button",{handleClickPrintBtn:et,printSpinning:V.spinning,printbtnText:t.btnText,printVisible:V.visible},(()=>[l(p(I),{class:"dropdown-button",loading:t.showLoading&&V.spinning,onClick:n[1]||(n[1]=u((()=>A("button")),["stop"]))},{default:d((()=>[c(f(t.btnText)+" ",1),l(p(P),{component:p(h),style:{"margin-left":"5px"},onClick:n[0]||(n[0]=u((()=>A("icon")),["stop"]))},null,8,["component"])])),_:1},8,["loading"])]))])),_:3},8,["show","options"]),l(k,g(e.$attrs,{modelValue:V.identityVerification.visible,"onUpdate:modelValue":n[2]||(n[2]=t=>V.identityVerification.visible=t),formatId:V.currentFormatId,templateId:p(U),onSuccess:it}),null,16,["modelValue","formatId","templateId"])],64))}});export{L as default};
|
|
1
|
+
import{defineComponent as t,reactive as e,computed as n,onMounted as i,watch as r,openBlock as a,createElementBlock as s,Fragment as o,createVNode as l,unref as p,withCtx as d,renderSlot as m,withModifiers as u,createTextVNode as c,toDisplayString as f,mergeProps as g}from"vue";import{isObject as y}from"@vue/shared";import{useMessage as v,NDropdown as b,NButton as I,NIcon as P}from"naive-ui";import{ChevronDown as h}from"@vicons/ionicons5";import{Print as w}from"./utils/print.js";import{isIReport as F}from"./utils/browserPrint.js";import k from"./components/IdentityVerification.vue.js";import{format as T}from"date-fns";import{savePrivateFormatApi as x,getPrivateFormatApi as S}from"./api.js";var L=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}},emits:["success","error","clickoutside"],setup(t,{expose:L,emit:O}){var j;const D=t,E=v();let M;const N={},V=e({spinning:!1,visible:!1,formatList:[],templateParams:{},printParams:[],currentFormatId:"",identityVerification:{visible:!1},isInited:!1,watchPrintParamsReformatFn:null,spinTimer:null}),C=e([{label:D.printText,key:"printText"},{label:D.previewText,key:"previewText"},{label:D.pdfLoadText,key:"downloadPdf"},{label:D.formatEditText,key:"formatEditText"},...(null==(j=D.externalOptionConfig)?void 0:j.options)||[]]),B=n((()=>{if(!V.currentFormatId)return{};let t=V.currentFormatId;return V.formatList.find((e=>e.id===t))})),J=n((()=>{var t;return(null==(t=B.value)?void 0:t.name)||"格式选择"})),U=n((()=>{let t=V.formatList.find((t=>t.id===V.currentFormatId));return null==t?void 0:t.templateId})),A=async t=>{if(D.directPrint){if(V.spinning)return;return"button"===t?void await rt():et()}return et()},q=t=>l("span",{class:{active:t.key===V.currentFormatId}},[t.label]),R=(t,e)=>{V.spinning=!1;let n={type:e,formatId:V.currentFormatId,templateId:U.value};O("success",t,n)},_=t=>{V.spinning=!1,O("error",t),y(t)&&"notInstalledApp"===t.type&&E.error(t.message)},z=t=>{O("error",{message:"前置条件执行错误",type:t,preExecution:!0})},H=(t=0)=>{var e;const n=(null==(e=D.printParams)?void 0:e.length)?D.printParams[t]:V.printParams[t];return JSON.stringify({...n||{},...D.token?{token:D.token}:{}})},$=()=>{var t,e;let n={},i={};if(null==(t=V.templateParams.customizeDataset)?void 0:t.length){const t=(null==(e=Object.keys(V.printParams[0].datasetData||{}))?void 0:e[0])||"",n=JSON.stringify(V.printParams.map((e=>JSON.parse(e.datasetData[t]))));i={datasetData:{}},i.datasetData[t]=n}else Object.keys(V.printParams[0]).forEach((t=>{i[t]=[],V.printParams.forEach((e=>{i[t].includes(e[t])||i[t].push(e[t])})),i[t]=i[t].join(",")}));return n=Object.assign({},JSON.parse(H(0)),i),JSON.stringify(n)},G=()=>{let t=V.printParams.length;const e=async e=>{try{--t<=0&&R(e,"print")}catch(t){console.log("error",t)}};D.showLoading&&V.spinning||(V.spinning=!0,D.prevFn("print").then((()=>{const t={formatId:V.currentFormatId,templateId:U.value,printdlgshow:D.printdlgshow,signature:D.signature};if("MULTI"===D.strategy)for(let n=0;n<V.printParams.length;n++)n>0&&(t.printdlgshow="0"),M.printDirect({...t,params:H(n)},e,_);else M.printDirect({...t,params:$()},(t=>{R(t,"print")}),_)})).catch((()=>{z("print"),V.spinning=!1})).finally((()=>{V.visible=!1})))},K=async(t,e)=>{var n,i;switch(t){case"printText":G();break;case"previewText":(async()=>{D.showLoading&&V.spinning||(V.spinning=!0,D.prevFn("preview").then((()=>{const t="MULTI"===D.strategy?H():$(),e={formatId:V.currentFormatId,templateId:U.value,params:t,btnprint:D.btnprint,signature:D.signature};M.preview(e,(t=>{R(t,"preview")}),_)})).catch((()=>{z("preview"),V.spinning=!1})).finally((()=>{V.visible=!1})))})();break;case"formatEditText":D.showLoading&&V.spinning||(V.spinning=!0,D.prevFn("edit").then((()=>{V.identityVerification.visible=!0})).catch((()=>{z("edit")})).finally((()=>{V.visible=!1,V.spinning=!1})));break;case"downloadPdf":(async()=>{D.showLoading&&V.spinning||(V.spinning=!0,D.prevFn("download").then((()=>{const t="MULTI"===D.strategy?H():$(),e={formatId:V.currentFormatId,templateId:U.value,print:{print:"1",type:"1"},params:t,signature:D.signature};M.downloadPDF(e,(t=>R(t,"preview")),_)})).catch((()=>{z("download"),V.spinning=!1})).finally((()=>{V.visible=!1})))})();break;default:{V.visible=!1;const r=V.formatList.find((e=>e.id===t))||{};if(Object.keys(r).length>0){V.currentFormatId=t;const[e]=C;e.label=(null==r?void 0:r.name)||e.label,await x({formatForms:[{...r}],name:N.name||r.templateName,number:N.number||r.number,templateId:N.templateId||r.templateId,...N.id?{id:N.id}:{}},{token:D.token})}else null==(i=null==(n=D.externalOptionConfig)?void 0:n.onSelect)||i.call(n,t,e);break}}},Q=()=>{V.visible=!1,O("clickoutside")},W=()=>(V.isInited=!1,V.spinning=!1,setTimeout((()=>{V.visible=!1}),0),!1),X=(t,e,n)=>{const i={};return e.forEach((e=>{let r=((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=T(e,n[t.type])),(null==t?void 0:t.defaultValue)||i})(e,t[e[n]]);t[e[n]]&&r&&(i[e[n]]=r)})),i},Y=({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(X(n,e,"fieldName"))}})),i=Object.assign({},i,X(n,e,"key")),i})),Z=async t=>{var e;if(V.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):[],V.currentFormatId=await(async(t,e)=>{var n;if(!(null==t?void 0:t.length))return"";const{data:i}=await S({templateId:t[0].templateId},{token:D.token});if("SUCCESS"===i.result){const{formatForms:e=[]}=i.map||{};Object.assign(N,i.map||{});const r=null==(n=null==e?void 0:e[0])?void 0:n.id;if(r&&t.map((t=>t.id)).includes(r))return r}const r=t.find((t=>1==t[e]));return(null==r?void 0:r.id)||t[0].id})(V.formatList,"defaultFlag"),!V.currentFormatId)return E.error("获取打印格式失败,请联系管理员!"),W();(()=>{const t=V.formatList.map((t=>({label:t.name,key:t.id})));C.unshift({label:J.value,key:"format",children:t})})();let n=null==(e=await D.queryTemplateParams())?void 0:e.obj;if(!n||!U.value)return E.error("获取打印模板失败,请联系管理员!"),W();V.templateParams=n,V.printParams=Y(V.templateParams,D.params)},tt=async()=>{if(V.isInited)return!0;V.isInited=!0,V.spinning=!0,(()=>{if(M)return!1;M=new w})();const t=await D.queryPrintFormatByNumber();return await Z(t),V.spinning=!1,!0},et=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(!V.visible){if(!await tt())return!1}t&&(V.visible=!V.visible)}else E.warning(D.noDataMsg)},nt=()=>{V.watchPrintParamsReformatFn&&V.watchPrintParamsReformatFn(),V.isInited?V.printParams=Y(V.templateParams,D.params):V.watchPrintParamsReformatFn=()=>r((()=>V.isInited),(t=>{if(!t)return!1;nt()}))},it=t=>{if(V.identityVerification.visible=!1,F(V.currentFormatId))return R(null,"edit");const e={formatId:V.currentFormatId,templateId:U.value,params:H(),token:t};M.editPrintFormat(e,(t=>{R(t,"edit")}),_)};async function rt(){await et(!1),G()}return i((()=>{V.isInited=!1})),r((()=>D.params),(t=>{if(!(null==t?void 0:t.length))return!1;nt()}),{deep:!0}),L({directPrint:rt}),(e,n)=>(a(),s(o,null,[l(p(b),{class:"c-dropdown",placement:"bottom-start",trigger:"click",show:V.visible,onClickoutside:Q,options:C,onSelect:K,"render-label":q},{default:d((()=>[m(e.$slots,"button",{handleClickPrintBtn:et,printSpinning:V.spinning,printbtnText:t.btnText,printVisible:V.visible},(()=>[l(p(I),{class:"dropdown-button",loading:t.showLoading&&V.spinning,onClick:n[1]||(n[1]=u((()=>A("button")),["stop"]))},{default:d((()=>[c(f(t.btnText)+" ",1),l(p(P),{component:p(h),size:"18",style:{"margin-left":"5px"},onClick:n[0]||(n[0]=u((()=>A("icon")),["stop"]))},null,8,["component"])])),_:1},8,["loading"])]))])),_:3},8,["show","options"]),l(k,g(e.$attrs,{modelValue:V.identityVerification.visible,"onUpdate:modelValue":n[2]||(n[2]=t=>V.identityVerification.visible=t),formatId:V.currentFormatId,templateId:p(U),onSuccess:it}),null,16,["modelValue","formatId","templateId"])],64))}});export{L as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.dropdown-button{border-color:#d5d5d5!important;color:#212121}.c-dropdown .n-dropdown-menu-wrapper span.active{color:#5585f5}.login-form-button{border-radius:24px;color:#fff;font-size:16px;height:50px;width:100%}.login-form-button-print{padding-top:15px}.login-form-button-print .n-input{border-radius:6px;color:#757575;font-size:14px;height:50px;line-height:50px}.c-button-print-modal .n-form-item-feedback-wrapper{display:none}.c-button-preview-modal{max-width:none!important}.c-button-preview-modal .n-dialog__content{height:98%}
|
|
1
|
+
.dropdown-button{border-color:#d5d5d5!important;color:#212121;padding-right:0}.dropdown-button .n-button__content{height:100%}.dropdown-button .n-button__content .n-icon{align-items:center;display:flex;height:100%;justify-content:center;padding-right:10px;width:30px}.c-dropdown .n-dropdown-menu-wrapper span.active{color:#5585f5}.login-form-button{border-radius:24px;color:#fff;font-size:16px;height:50px;width:100%}.login-form-button-print{padding-top:15px}.login-form-button-print .n-input{border-radius:6px;color:#757575;font-size:14px;height:50px;line-height:50px}.c-button-print-modal .n-form-item-feedback-wrapper{display:none}.c-button-preview-modal{max-width:none!important}.c-button-preview-modal .n-dialog__content{height:98%}
|
|
@@ -138,7 +138,10 @@ export declare const CallbackMaps: Map<string, {
|
|
|
138
138
|
default: boolean;
|
|
139
139
|
};
|
|
140
140
|
lowCodeReactions: {
|
|
141
|
-
type: import("vue").PropType<import("../../../..").LowCodeTypes.
|
|
141
|
+
type: import("vue").PropType<import("../../../..").LowCodeTypes.reactionConfig[]>;
|
|
142
|
+
};
|
|
143
|
+
newLowCodeReactions: {
|
|
144
|
+
type: import("vue").PropType<import("../../../..").LowCodeTypes.newReactionConfig[]>;
|
|
142
145
|
};
|
|
143
146
|
operationalForm: {
|
|
144
147
|
type: import("vue").PropType<import("../../../..").LowCodeTypes.operationalConfig[]>;
|
|
@@ -300,7 +303,10 @@ export declare const CallbackMaps: Map<string, {
|
|
|
300
303
|
default: boolean;
|
|
301
304
|
};
|
|
302
305
|
lowCodeReactions: {
|
|
303
|
-
type: import("vue").PropType<import("../../../..").LowCodeTypes.
|
|
306
|
+
type: import("vue").PropType<import("../../../..").LowCodeTypes.reactionConfig[]>;
|
|
307
|
+
};
|
|
308
|
+
newLowCodeReactions: {
|
|
309
|
+
type: import("vue").PropType<import("../../../..").LowCodeTypes.newReactionConfig[]>;
|
|
304
310
|
};
|
|
305
311
|
operationalForm: {
|
|
306
312
|
type: import("vue").PropType<import("../../../..").LowCodeTypes.operationalConfig[]>;
|
|
@@ -391,7 +397,7 @@ export declare const CallbackMaps: Map<string, {
|
|
|
391
397
|
[x: string]: any;
|
|
392
398
|
}>;
|
|
393
399
|
lowCodeReactionsHandler: (field: string) => void;
|
|
394
|
-
|
|
400
|
+
newLowCodeReactionsHandler: (field: string) => void;
|
|
395
401
|
operationalFormHandler: {
|
|
396
402
|
trigger(fieldKey: string): void;
|
|
397
403
|
triggerAll(): void;
|
|
@@ -485,7 +491,7 @@ export declare const CallbackMaps: Map<string, {
|
|
|
485
491
|
businessFormatter: import("../../../../../components/form-render").FormBusinessFormatter;
|
|
486
492
|
requestInstance: import("../../../..").FormRequestDefine.RequestInstance;
|
|
487
493
|
enterToNextWidget: boolean | ((fieldItem: import("../../../../../components/form-render").FieldItem) => boolean | void);
|
|
488
|
-
lowCodeReactions: import("../../../..").LowCodeTypes.
|
|
494
|
+
lowCodeReactions: import("../../../..").LowCodeTypes.reactionConfig[];
|
|
489
495
|
linebarAutoHidden: boolean;
|
|
490
496
|
bordered: string | boolean;
|
|
491
497
|
uniqueCacheData: boolean;
|
|
@@ -802,7 +808,10 @@ export declare const CallbackMaps: Map<string, {
|
|
|
802
808
|
default: boolean;
|
|
803
809
|
};
|
|
804
810
|
lowCodeReactions: {
|
|
805
|
-
type: import("vue").PropType<import("../../../..").LowCodeTypes.
|
|
811
|
+
type: import("vue").PropType<import("../../../..").LowCodeTypes.reactionConfig[]>;
|
|
812
|
+
};
|
|
813
|
+
newLowCodeReactions: {
|
|
814
|
+
type: import("vue").PropType<import("../../../..").LowCodeTypes.newReactionConfig[]>;
|
|
806
815
|
};
|
|
807
816
|
operationalForm: {
|
|
808
817
|
type: import("vue").PropType<import("../../../..").LowCodeTypes.operationalConfig[]>;
|
|
@@ -699,9 +699,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
699
699
|
handleInitConditions: () => Promise<void>;
|
|
700
700
|
validate: () => Promise<unknown>;
|
|
701
701
|
saveAdd: () => void;
|
|
702
|
-
/**
|
|
703
|
-
* 改变展示方式
|
|
704
|
-
*/
|
|
705
702
|
cancelSaveAdd: () => void;
|
|
706
703
|
checkActionList: () => boolean;
|
|
707
704
|
NSpin: any;
|
|
@@ -456,9 +456,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
456
456
|
requiredDisable: boolean;
|
|
457
457
|
hide: boolean;
|
|
458
458
|
}>;
|
|
459
|
-
isHighlightRow: boolean;
|
|
460
459
|
idx: number;
|
|
461
460
|
isHighlight: boolean;
|
|
461
|
+
isHighlightRow: boolean;
|
|
462
462
|
}>;
|
|
463
463
|
EditDialog: import("vue").DefineComponent<{
|
|
464
464
|
visible: {
|
|
@@ -574,9 +574,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
574
574
|
requiredDisable: boolean;
|
|
575
575
|
hide: boolean;
|
|
576
576
|
}>;
|
|
577
|
-
isHighlightRow: boolean;
|
|
578
577
|
idx: number;
|
|
579
578
|
isHighlight: boolean;
|
|
579
|
+
isHighlightRow: boolean;
|
|
580
580
|
}>;
|
|
581
581
|
isArray: {
|
|
582
582
|
(value?: any): value is any[];
|
|
@@ -281,8 +281,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
281
281
|
requiredDisable: boolean;
|
|
282
282
|
hide: boolean;
|
|
283
283
|
}>;
|
|
284
|
-
isHighlightRow: boolean;
|
|
285
284
|
idx: number;
|
|
286
285
|
isHighlight: boolean;
|
|
286
|
+
isHighlightRow: boolean;
|
|
287
287
|
}>;
|
|
288
288
|
export default _default;
|
|
@@ -106,7 +106,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
106
106
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
107
107
|
requestInstance: import("..").FormRequestDefine.RequestInstance;
|
|
108
108
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
109
|
-
lowCodeReactions: import("../../shared/types").LowCodeTypes.
|
|
109
|
+
lowCodeReactions: import("../../shared/types").LowCodeTypes.reactionConfig[];
|
|
110
110
|
linebarAutoHidden: boolean;
|
|
111
111
|
bordered: string | boolean;
|
|
112
112
|
uniqueCacheData: boolean;
|
|
@@ -224,7 +224,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
224
224
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
225
225
|
requestInstance: import("..").FormRequestDefine.RequestInstance;
|
|
226
226
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
227
|
-
lowCodeReactions: import("../../shared/types").LowCodeTypes.
|
|
227
|
+
lowCodeReactions: import("../../shared/types").LowCodeTypes.reactionConfig[];
|
|
228
228
|
linebarAutoHidden: boolean;
|
|
229
229
|
bordered: string | boolean;
|
|
230
230
|
uniqueCacheData: boolean;
|
|
@@ -7520,7 +7520,10 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7520
7520
|
default: boolean;
|
|
7521
7521
|
};
|
|
7522
7522
|
lowCodeReactions: {
|
|
7523
|
-
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.
|
|
7523
|
+
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.reactionConfig[]>;
|
|
7524
|
+
};
|
|
7525
|
+
newLowCodeReactions: {
|
|
7526
|
+
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.newReactionConfig[]>;
|
|
7524
7527
|
};
|
|
7525
7528
|
operationalForm: {
|
|
7526
7529
|
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.operationalConfig[]>;
|
|
@@ -7682,7 +7685,10 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7682
7685
|
default: boolean;
|
|
7683
7686
|
};
|
|
7684
7687
|
lowCodeReactions: {
|
|
7685
|
-
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.
|
|
7688
|
+
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.reactionConfig[]>;
|
|
7689
|
+
};
|
|
7690
|
+
newLowCodeReactions: {
|
|
7691
|
+
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.newReactionConfig[]>;
|
|
7686
7692
|
};
|
|
7687
7693
|
operationalForm: {
|
|
7688
7694
|
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.operationalConfig[]>;
|
|
@@ -7773,7 +7779,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7773
7779
|
[x: string]: any;
|
|
7774
7780
|
}>;
|
|
7775
7781
|
lowCodeReactionsHandler: (field: string) => void;
|
|
7776
|
-
|
|
7782
|
+
newLowCodeReactionsHandler: (field: string) => void;
|
|
7777
7783
|
operationalFormHandler: {
|
|
7778
7784
|
trigger(fieldKey: string): void;
|
|
7779
7785
|
triggerAll(): void;
|
|
@@ -7867,7 +7873,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7867
7873
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
7868
7874
|
requestInstance: import("..").FormRequestDefine.RequestInstance;
|
|
7869
7875
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
7870
|
-
lowCodeReactions: import("../../shared/types").LowCodeTypes.
|
|
7876
|
+
lowCodeReactions: import("../../shared/types").LowCodeTypes.reactionConfig[];
|
|
7871
7877
|
linebarAutoHidden: boolean;
|
|
7872
7878
|
bordered: string | boolean;
|
|
7873
7879
|
uniqueCacheData: boolean;
|
|
@@ -8184,7 +8190,10 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
8184
8190
|
default: boolean;
|
|
8185
8191
|
};
|
|
8186
8192
|
lowCodeReactions: {
|
|
8187
|
-
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.
|
|
8193
|
+
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.reactionConfig[]>;
|
|
8194
|
+
};
|
|
8195
|
+
newLowCodeReactions: {
|
|
8196
|
+
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.newReactionConfig[]>;
|
|
8188
8197
|
};
|
|
8189
8198
|
operationalForm: {
|
|
8190
8199
|
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.operationalConfig[]>;
|
|
@@ -8443,7 +8452,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
8443
8452
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
8444
8453
|
requestInstance: import("..").FormRequestDefine.RequestInstance;
|
|
8445
8454
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
8446
|
-
lowCodeReactions: import("../../shared/types").LowCodeTypes.
|
|
8455
|
+
lowCodeReactions: import("../../shared/types").LowCodeTypes.reactionConfig[];
|
|
8447
8456
|
linebarAutoHidden: boolean;
|
|
8448
8457
|
bordered: string | boolean;
|
|
8449
8458
|
uniqueCacheData: boolean;
|
|
@@ -8549,7 +8558,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
8549
8558
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
8550
8559
|
requestInstance: import("..").FormRequestDefine.RequestInstance;
|
|
8551
8560
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
8552
|
-
lowCodeReactions: import("../../shared/types").LowCodeTypes.
|
|
8561
|
+
lowCodeReactions: import("../../shared/types").LowCodeTypes.reactionConfig[];
|
|
8553
8562
|
linebarAutoHidden: boolean;
|
|
8554
8563
|
bordered: string | boolean;
|
|
8555
8564
|
uniqueCacheData: boolean;
|
|
@@ -13936,7 +13945,10 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
13936
13945
|
default: boolean;
|
|
13937
13946
|
};
|
|
13938
13947
|
lowCodeReactions: {
|
|
13939
|
-
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.
|
|
13948
|
+
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.reactionConfig[]>;
|
|
13949
|
+
};
|
|
13950
|
+
newLowCodeReactions: {
|
|
13951
|
+
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.newReactionConfig[]>;
|
|
13940
13952
|
};
|
|
13941
13953
|
operationalForm: {
|
|
13942
13954
|
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.operationalConfig[]>;
|
|
@@ -14098,7 +14110,10 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
14098
14110
|
default: boolean;
|
|
14099
14111
|
};
|
|
14100
14112
|
lowCodeReactions: {
|
|
14101
|
-
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.
|
|
14113
|
+
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.reactionConfig[]>;
|
|
14114
|
+
};
|
|
14115
|
+
newLowCodeReactions: {
|
|
14116
|
+
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.newReactionConfig[]>;
|
|
14102
14117
|
};
|
|
14103
14118
|
operationalForm: {
|
|
14104
14119
|
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.operationalConfig[]>;
|
|
@@ -14189,7 +14204,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
14189
14204
|
[x: string]: any;
|
|
14190
14205
|
}>;
|
|
14191
14206
|
lowCodeReactionsHandler: (field: string) => void;
|
|
14192
|
-
|
|
14207
|
+
newLowCodeReactionsHandler: (field: string) => void;
|
|
14193
14208
|
operationalFormHandler: {
|
|
14194
14209
|
trigger(fieldKey: string): void;
|
|
14195
14210
|
triggerAll(): void;
|
|
@@ -14283,7 +14298,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
14283
14298
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
14284
14299
|
requestInstance: import("..").FormRequestDefine.RequestInstance;
|
|
14285
14300
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
14286
|
-
lowCodeReactions: import("../../shared/types").LowCodeTypes.
|
|
14301
|
+
lowCodeReactions: import("../../shared/types").LowCodeTypes.reactionConfig[];
|
|
14287
14302
|
linebarAutoHidden: boolean;
|
|
14288
14303
|
bordered: string | boolean;
|
|
14289
14304
|
uniqueCacheData: boolean;
|
|
@@ -14600,7 +14615,10 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
14600
14615
|
default: boolean;
|
|
14601
14616
|
};
|
|
14602
14617
|
lowCodeReactions: {
|
|
14603
|
-
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.
|
|
14618
|
+
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.reactionConfig[]>;
|
|
14619
|
+
};
|
|
14620
|
+
newLowCodeReactions: {
|
|
14621
|
+
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.newReactionConfig[]>;
|
|
14604
14622
|
};
|
|
14605
14623
|
operationalForm: {
|
|
14606
14624
|
type: import("vue").PropType<import("../../shared/types").LowCodeTypes.operationalConfig[]>;
|
|
@@ -14746,7 +14764,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
14746
14764
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
14747
14765
|
requestInstance: import("..").FormRequestDefine.RequestInstance;
|
|
14748
14766
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
14749
|
-
lowCodeReactions: import("../../shared/types").LowCodeTypes.
|
|
14767
|
+
lowCodeReactions: import("../../shared/types").LowCodeTypes.reactionConfig[];
|
|
14750
14768
|
linebarAutoHidden: boolean;
|
|
14751
14769
|
bordered: string | boolean;
|
|
14752
14770
|
uniqueCacheData: boolean;
|
|
@@ -14764,7 +14782,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
14764
14782
|
};
|
|
14765
14783
|
}, {
|
|
14766
14784
|
props: {
|
|
14767
|
-
modelValue: import("../../shared/types").LowCodeTypes.
|
|
14785
|
+
modelValue: import("../../shared/types").LowCodeTypes.reactionConfig[];
|
|
14768
14786
|
};
|
|
14769
14787
|
emit: (event: "update:modelValue" | "validateFailure", ...args: any[]) => void;
|
|
14770
14788
|
cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
@@ -14800,16 +14818,16 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
14800
14818
|
expandedName: import("vue").Ref<string>;
|
|
14801
14819
|
addConnection: () => void;
|
|
14802
14820
|
removeConnection: (index: number) => void;
|
|
14803
|
-
getOppositeBtnText: (item: import("../../shared/types").LowCodeTypes.
|
|
14804
|
-
unBindOpposite: (item: import("../../shared/types").LowCodeTypes.
|
|
14805
|
-
addOppositeCondition: (item: import("../../shared/types").LowCodeTypes.
|
|
14821
|
+
getOppositeBtnText: (item: import("../../shared/types").LowCodeTypes.reactionConfig) => string | undefined;
|
|
14822
|
+
unBindOpposite: (item: import("../../shared/types").LowCodeTypes.reactionConfig) => void;
|
|
14823
|
+
addOppositeCondition: (item: import("../../shared/types").LowCodeTypes.reactionConfig) => void;
|
|
14806
14824
|
getOppositeSqlExpression: (expression?: string | undefined) => string | undefined;
|
|
14807
|
-
createOppositeCondition: (config: import("../../shared/types").LowCodeTypes.
|
|
14808
|
-
isOppositeConfig: (c1: import("../../shared/types").LowCodeTypes.
|
|
14825
|
+
createOppositeCondition: (config: import("../../shared/types").LowCodeTypes.reactionConfig) => import("../../shared/types").LowCodeTypes.reactionConfig;
|
|
14826
|
+
isOppositeConfig: (c1: import("../../shared/types").LowCodeTypes.reactionConfig, c2: import("../../shared/types").LowCodeTypes.reactionConfig) => boolean;
|
|
14809
14827
|
onUpdateExpandedNames: (value: string[]) => void;
|
|
14810
14828
|
getBinderFieldDesc: (index: number) => string;
|
|
14811
|
-
addCondition: (config: import("../../shared/types").LowCodeTypes.
|
|
14812
|
-
removeCondition: (config: import("../../shared/types").LowCodeTypes.
|
|
14829
|
+
addCondition: (config: import("../../shared/types").LowCodeTypes.reactionConfig) => void;
|
|
14830
|
+
removeCondition: (config: import("../../shared/types").LowCodeTypes.reactionConfig, index: number) => void;
|
|
14813
14831
|
onUpdateConditionType: (condition: import("../../shared/types").LowCodeTypes.reactionsConObj, type: import("../../shared/types").LowCodeTypes.VALUE_RELATION) => void;
|
|
14814
14832
|
showRef: import("vue").Ref<boolean>;
|
|
14815
14833
|
fieldListRef: import("vue").Ref<import("./src/types").FormConfigItem[]>;
|
|
@@ -15024,7 +15042,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
15024
15042
|
businessFormatter: import("..").FormBusinessFormatter;
|
|
15025
15043
|
requestInstance: import("..").FormRequestDefine.RequestInstance;
|
|
15026
15044
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
15027
|
-
lowCodeReactions: import("../../shared/types").LowCodeTypes.
|
|
15045
|
+
lowCodeReactions: import("../../shared/types").LowCodeTypes.reactionConfig[];
|
|
15028
15046
|
linebarAutoHidden: boolean;
|
|
15029
15047
|
bordered: string | boolean;
|
|
15030
15048
|
uniqueCacheData: boolean;
|
|
@@ -109,7 +109,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
109
109
|
businessFormatter: import("../../../components/form-render").FormBusinessFormatter;
|
|
110
110
|
requestInstance: import("../../../shared/hooks").FormRequestDefine.RequestInstance;
|
|
111
111
|
enterToNextWidget: boolean | ((fieldItem: import("../../../components/form-render").FieldItem) => boolean | void);
|
|
112
|
-
lowCodeReactions: LowCodeTypes.
|
|
112
|
+
lowCodeReactions: LowCodeTypes.reactionConfig[];
|
|
113
113
|
linebarAutoHidden: boolean;
|
|
114
114
|
bordered: string | boolean;
|
|
115
115
|
uniqueCacheData: boolean;
|
|
@@ -227,7 +227,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
227
227
|
businessFormatter: import("../../../components/form-render").FormBusinessFormatter;
|
|
228
228
|
requestInstance: import("../../../shared/hooks").FormRequestDefine.RequestInstance;
|
|
229
229
|
enterToNextWidget: boolean | ((fieldItem: import("../../../components/form-render").FieldItem) => boolean | void);
|
|
230
|
-
lowCodeReactions: LowCodeTypes.
|
|
230
|
+
lowCodeReactions: LowCodeTypes.reactionConfig[];
|
|
231
231
|
linebarAutoHidden: boolean;
|
|
232
232
|
bordered: string | boolean;
|
|
233
233
|
uniqueCacheData: boolean;
|
|
@@ -7523,7 +7523,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7523
7523
|
default: boolean;
|
|
7524
7524
|
};
|
|
7525
7525
|
lowCodeReactions: {
|
|
7526
|
-
type: PropType<LowCodeTypes.
|
|
7526
|
+
type: PropType<LowCodeTypes.reactionConfig[]>;
|
|
7527
|
+
};
|
|
7528
|
+
newLowCodeReactions: {
|
|
7529
|
+
type: PropType<LowCodeTypes.newReactionConfig[]>;
|
|
7527
7530
|
};
|
|
7528
7531
|
operationalForm: {
|
|
7529
7532
|
type: PropType<LowCodeTypes.operationalConfig[]>;
|
|
@@ -7685,7 +7688,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7685
7688
|
default: boolean;
|
|
7686
7689
|
};
|
|
7687
7690
|
lowCodeReactions: {
|
|
7688
|
-
type: PropType<LowCodeTypes.
|
|
7691
|
+
type: PropType<LowCodeTypes.reactionConfig[]>;
|
|
7692
|
+
};
|
|
7693
|
+
newLowCodeReactions: {
|
|
7694
|
+
type: PropType<LowCodeTypes.newReactionConfig[]>;
|
|
7689
7695
|
};
|
|
7690
7696
|
operationalForm: {
|
|
7691
7697
|
type: PropType<LowCodeTypes.operationalConfig[]>;
|
|
@@ -7776,7 +7782,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7776
7782
|
[x: string]: any;
|
|
7777
7783
|
}>;
|
|
7778
7784
|
lowCodeReactionsHandler: (field: string) => void;
|
|
7779
|
-
|
|
7785
|
+
newLowCodeReactionsHandler: (field: string) => void;
|
|
7780
7786
|
operationalFormHandler: {
|
|
7781
7787
|
trigger(fieldKey: string): void;
|
|
7782
7788
|
triggerAll(): void;
|
|
@@ -7870,7 +7876,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7870
7876
|
businessFormatter: import("../../../components/form-render").FormBusinessFormatter;
|
|
7871
7877
|
requestInstance: import("../../../shared/hooks").FormRequestDefine.RequestInstance;
|
|
7872
7878
|
enterToNextWidget: boolean | ((fieldItem: import("../../../components/form-render").FieldItem) => boolean | void);
|
|
7873
|
-
lowCodeReactions: LowCodeTypes.
|
|
7879
|
+
lowCodeReactions: LowCodeTypes.reactionConfig[];
|
|
7874
7880
|
linebarAutoHidden: boolean;
|
|
7875
7881
|
bordered: string | boolean;
|
|
7876
7882
|
uniqueCacheData: boolean;
|
|
@@ -8187,7 +8193,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8187
8193
|
default: boolean;
|
|
8188
8194
|
};
|
|
8189
8195
|
lowCodeReactions: {
|
|
8190
|
-
type: PropType<LowCodeTypes.
|
|
8196
|
+
type: PropType<LowCodeTypes.reactionConfig[]>;
|
|
8197
|
+
};
|
|
8198
|
+
newLowCodeReactions: {
|
|
8199
|
+
type: PropType<LowCodeTypes.newReactionConfig[]>;
|
|
8191
8200
|
};
|
|
8192
8201
|
operationalForm: {
|
|
8193
8202
|
type: PropType<LowCodeTypes.operationalConfig[]>;
|
|
@@ -8446,7 +8455,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8446
8455
|
businessFormatter: import("../../../components/form-render").FormBusinessFormatter;
|
|
8447
8456
|
requestInstance: import("../../../shared/hooks").FormRequestDefine.RequestInstance;
|
|
8448
8457
|
enterToNextWidget: boolean | ((fieldItem: import("../../../components/form-render").FieldItem) => boolean | void);
|
|
8449
|
-
lowCodeReactions: LowCodeTypes.
|
|
8458
|
+
lowCodeReactions: LowCodeTypes.reactionConfig[];
|
|
8450
8459
|
linebarAutoHidden: boolean;
|
|
8451
8460
|
bordered: string | boolean;
|
|
8452
8461
|
uniqueCacheData: boolean;
|
|
@@ -8552,7 +8561,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8552
8561
|
businessFormatter: import("../../../components/form-render").FormBusinessFormatter;
|
|
8553
8562
|
requestInstance: import("../../../shared/hooks").FormRequestDefine.RequestInstance;
|
|
8554
8563
|
enterToNextWidget: boolean | ((fieldItem: import("../../../components/form-render").FieldItem) => boolean | void);
|
|
8555
|
-
lowCodeReactions: LowCodeTypes.
|
|
8564
|
+
lowCodeReactions: LowCodeTypes.reactionConfig[];
|
|
8556
8565
|
linebarAutoHidden: boolean;
|
|
8557
8566
|
bordered: string | boolean;
|
|
8558
8567
|
uniqueCacheData: boolean;
|
|
@@ -13939,7 +13948,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13939
13948
|
default: boolean;
|
|
13940
13949
|
};
|
|
13941
13950
|
lowCodeReactions: {
|
|
13942
|
-
type: PropType<LowCodeTypes.
|
|
13951
|
+
type: PropType<LowCodeTypes.reactionConfig[]>;
|
|
13952
|
+
};
|
|
13953
|
+
newLowCodeReactions: {
|
|
13954
|
+
type: PropType<LowCodeTypes.newReactionConfig[]>;
|
|
13943
13955
|
};
|
|
13944
13956
|
operationalForm: {
|
|
13945
13957
|
type: PropType<LowCodeTypes.operationalConfig[]>;
|
|
@@ -14101,7 +14113,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14101
14113
|
default: boolean;
|
|
14102
14114
|
};
|
|
14103
14115
|
lowCodeReactions: {
|
|
14104
|
-
type: PropType<LowCodeTypes.
|
|
14116
|
+
type: PropType<LowCodeTypes.reactionConfig[]>;
|
|
14117
|
+
};
|
|
14118
|
+
newLowCodeReactions: {
|
|
14119
|
+
type: PropType<LowCodeTypes.newReactionConfig[]>;
|
|
14105
14120
|
};
|
|
14106
14121
|
operationalForm: {
|
|
14107
14122
|
type: PropType<LowCodeTypes.operationalConfig[]>;
|
|
@@ -14192,7 +14207,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14192
14207
|
[x: string]: any;
|
|
14193
14208
|
}>;
|
|
14194
14209
|
lowCodeReactionsHandler: (field: string) => void;
|
|
14195
|
-
|
|
14210
|
+
newLowCodeReactionsHandler: (field: string) => void;
|
|
14196
14211
|
operationalFormHandler: {
|
|
14197
14212
|
trigger(fieldKey: string): void;
|
|
14198
14213
|
triggerAll(): void;
|
|
@@ -14286,7 +14301,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14286
14301
|
businessFormatter: import("../../../components/form-render").FormBusinessFormatter;
|
|
14287
14302
|
requestInstance: import("../../../shared/hooks").FormRequestDefine.RequestInstance;
|
|
14288
14303
|
enterToNextWidget: boolean | ((fieldItem: import("../../../components/form-render").FieldItem) => boolean | void);
|
|
14289
|
-
lowCodeReactions: LowCodeTypes.
|
|
14304
|
+
lowCodeReactions: LowCodeTypes.reactionConfig[];
|
|
14290
14305
|
linebarAutoHidden: boolean;
|
|
14291
14306
|
bordered: string | boolean;
|
|
14292
14307
|
uniqueCacheData: boolean;
|
|
@@ -14603,7 +14618,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14603
14618
|
default: boolean;
|
|
14604
14619
|
};
|
|
14605
14620
|
lowCodeReactions: {
|
|
14606
|
-
type: PropType<LowCodeTypes.
|
|
14621
|
+
type: PropType<LowCodeTypes.reactionConfig[]>;
|
|
14622
|
+
};
|
|
14623
|
+
newLowCodeReactions: {
|
|
14624
|
+
type: PropType<LowCodeTypes.newReactionConfig[]>;
|
|
14607
14625
|
};
|
|
14608
14626
|
operationalForm: {
|
|
14609
14627
|
type: PropType<LowCodeTypes.operationalConfig[]>;
|
|
@@ -14749,7 +14767,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14749
14767
|
businessFormatter: import("../../../components/form-render").FormBusinessFormatter;
|
|
14750
14768
|
requestInstance: import("../../../shared/hooks").FormRequestDefine.RequestInstance;
|
|
14751
14769
|
enterToNextWidget: boolean | ((fieldItem: import("../../../components/form-render").FieldItem) => boolean | void);
|
|
14752
|
-
lowCodeReactions: LowCodeTypes.
|
|
14770
|
+
lowCodeReactions: LowCodeTypes.reactionConfig[];
|
|
14753
14771
|
linebarAutoHidden: boolean;
|
|
14754
14772
|
bordered: string | boolean;
|
|
14755
14773
|
uniqueCacheData: boolean;
|
|
@@ -14767,7 +14785,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14767
14785
|
};
|
|
14768
14786
|
}, {
|
|
14769
14787
|
props: {
|
|
14770
|
-
modelValue: LowCodeTypes.
|
|
14788
|
+
modelValue: LowCodeTypes.reactionConfig[];
|
|
14771
14789
|
};
|
|
14772
14790
|
emit: (event: "update:modelValue" | "validateFailure", ...args: any[]) => void;
|
|
14773
14791
|
cssVars: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
@@ -14803,16 +14821,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14803
14821
|
expandedName: import("vue").Ref<string>;
|
|
14804
14822
|
addConnection: () => void;
|
|
14805
14823
|
removeConnection: (index: number) => void;
|
|
14806
|
-
getOppositeBtnText: (item: LowCodeTypes.
|
|
14807
|
-
unBindOpposite: (item: LowCodeTypes.
|
|
14808
|
-
addOppositeCondition: (item: LowCodeTypes.
|
|
14824
|
+
getOppositeBtnText: (item: LowCodeTypes.reactionConfig) => string | undefined;
|
|
14825
|
+
unBindOpposite: (item: LowCodeTypes.reactionConfig) => void;
|
|
14826
|
+
addOppositeCondition: (item: LowCodeTypes.reactionConfig) => void;
|
|
14809
14827
|
getOppositeSqlExpression: (expression?: string | undefined) => string | undefined;
|
|
14810
|
-
createOppositeCondition: (config: LowCodeTypes.
|
|
14811
|
-
isOppositeConfig: (c1: LowCodeTypes.
|
|
14828
|
+
createOppositeCondition: (config: LowCodeTypes.reactionConfig) => LowCodeTypes.reactionConfig;
|
|
14829
|
+
isOppositeConfig: (c1: LowCodeTypes.reactionConfig, c2: LowCodeTypes.reactionConfig) => boolean;
|
|
14812
14830
|
onUpdateExpandedNames: (value: string[]) => void;
|
|
14813
14831
|
getBinderFieldDesc: (index: number) => string;
|
|
14814
|
-
addCondition: (config: LowCodeTypes.
|
|
14815
|
-
removeCondition: (config: LowCodeTypes.
|
|
14832
|
+
addCondition: (config: LowCodeTypes.reactionConfig) => void;
|
|
14833
|
+
removeCondition: (config: LowCodeTypes.reactionConfig, index: number) => void;
|
|
14816
14834
|
onUpdateConditionType: (condition: LowCodeTypes.reactionsConObj, type: LowCodeTypes.VALUE_RELATION) => void;
|
|
14817
14835
|
showRef: import("vue").Ref<boolean>;
|
|
14818
14836
|
fieldListRef: import("vue").Ref<FormConfigItem[]>;
|
|
@@ -15027,7 +15045,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15027
15045
|
businessFormatter: import("../../../components/form-render").FormBusinessFormatter;
|
|
15028
15046
|
requestInstance: import("../../../shared/hooks").FormRequestDefine.RequestInstance;
|
|
15029
15047
|
enterToNextWidget: boolean | ((fieldItem: import("../../../components/form-render").FieldItem) => boolean | void);
|
|
15030
|
-
lowCodeReactions: LowCodeTypes.
|
|
15048
|
+
lowCodeReactions: LowCodeTypes.reactionConfig[];
|
|
15031
15049
|
linebarAutoHidden: boolean;
|
|
15032
15050
|
bordered: string | boolean;
|
|
15033
15051
|
uniqueCacheData: boolean;
|
|
@@ -154,7 +154,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
154
154
|
default: boolean;
|
|
155
155
|
};
|
|
156
156
|
lowCodeReactions: {
|
|
157
|
-
type: import("vue").PropType<import("../../..").LowCodeTypes.
|
|
157
|
+
type: import("vue").PropType<import("../../..").LowCodeTypes.reactionConfig[]>;
|
|
158
|
+
};
|
|
159
|
+
newLowCodeReactions: {
|
|
160
|
+
type: import("vue").PropType<import("../../..").LowCodeTypes.newReactionConfig[]>;
|
|
158
161
|
};
|
|
159
162
|
operationalForm: {
|
|
160
163
|
type: import("vue").PropType<import("../../..").LowCodeTypes.operationalConfig[]>;
|
|
@@ -316,7 +319,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
316
319
|
default: boolean;
|
|
317
320
|
};
|
|
318
321
|
lowCodeReactions: {
|
|
319
|
-
type: import("vue").PropType<import("../../..").LowCodeTypes.
|
|
322
|
+
type: import("vue").PropType<import("../../..").LowCodeTypes.reactionConfig[]>;
|
|
323
|
+
};
|
|
324
|
+
newLowCodeReactions: {
|
|
325
|
+
type: import("vue").PropType<import("../../..").LowCodeTypes.newReactionConfig[]>;
|
|
320
326
|
};
|
|
321
327
|
operationalForm: {
|
|
322
328
|
type: import("vue").PropType<import("../../..").LowCodeTypes.operationalConfig[]>;
|
|
@@ -407,7 +413,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
407
413
|
[x: string]: any;
|
|
408
414
|
}>;
|
|
409
415
|
lowCodeReactionsHandler: (field: string) => void;
|
|
410
|
-
|
|
416
|
+
newLowCodeReactionsHandler: (field: string) => void;
|
|
411
417
|
operationalFormHandler: {
|
|
412
418
|
trigger(fieldKey: string): void;
|
|
413
419
|
triggerAll(): void;
|
|
@@ -501,7 +507,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
501
507
|
businessFormatter: import("../../../../components/form-render").FormBusinessFormatter;
|
|
502
508
|
requestInstance: import("../../..").FormRequestDefine.RequestInstance;
|
|
503
509
|
enterToNextWidget: boolean | ((fieldItem: FieldItem) => boolean | void);
|
|
504
|
-
lowCodeReactions: import("../../..").LowCodeTypes.
|
|
510
|
+
lowCodeReactions: import("../../..").LowCodeTypes.reactionConfig[];
|
|
505
511
|
linebarAutoHidden: boolean;
|
|
506
512
|
bordered: string | boolean;
|
|
507
513
|
uniqueCacheData: boolean;
|
|
@@ -818,7 +824,10 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
818
824
|
default: boolean;
|
|
819
825
|
};
|
|
820
826
|
lowCodeReactions: {
|
|
821
|
-
type: import("vue").PropType<import("../../..").LowCodeTypes.
|
|
827
|
+
type: import("vue").PropType<import("../../..").LowCodeTypes.reactionConfig[]>;
|
|
828
|
+
};
|
|
829
|
+
newLowCodeReactions: {
|
|
830
|
+
type: import("vue").PropType<import("../../..").LowCodeTypes.newReactionConfig[]>;
|
|
822
831
|
};
|
|
823
832
|
operationalForm: {
|
|
824
833
|
type: import("vue").PropType<import("../../..").LowCodeTypes.operationalConfig[]>;
|