1 |
- var M=(t,e,a)=>new Promise((Y,z)=>{var R=o=>{try{d(a.next(o))}catch(n){z(n)}},U=o=>{try{d(a.throw(o))}catch(n){z(n)}},d=o=>o.done?Y(o.value):Promise.resolve(o.value).then(R,U);d((a=a.apply(t,e)).next())});import{bY as j,a4 as W,__tla as G}from"./index-b5895273.js";let p,r,l,u,b,c,h,i,m,w,y,f,_,s,v,g,S,C,N,T,x,L,q,O,F,k,V,I,A,B,H,D,E,P,K=Promise.all([(()=>{try{return G}catch(t){}})()]).then(()=>M(void 0,null,function*(){let t,e;t=j(),{t:e}=W(),H={list:[],config:{formType:"modal",size:"default",layout:"horizontal",labelAlign:"right",labelCol:{span:3,offset:0},formWidth:800},hiddenComponent:[]},g=[{label:e("\u5355\u884C\u6587\u672C"),typeName:e("\u5355\u884C\u6587\u672C"),type:"input",options:{width:"100%",span:"",defaultValue:"",placeholder:e("\u8BF7\u8F93\u5165\u5355\u884C\u6587\u672C"),maxlength:null,prefix:"",suffix:"",addonBefore:"",addonAfter:"",disabled:!1,allowClear:!1,showLabel:!0,required:!1,rules:[],events:{},isSave:!1,isShow:!0}},{label:e("\u591A\u884C\u6587\u672C"),typeName:e("\u591A\u884C\u6587\u672C"),type:"textarea",options:{width:"100%",span:"",defaultValue:"",placeholder:e("\u8BF7\u8F93\u5165\u591A\u884C\u6587\u672C"),maxlength:null,rows:4,autoSize:!1,showCount:!1,disabled:!1,showLabel:!0,allowClear:!1,required:!1,isShow:!0,rules:[],events:{}}},{label:e("\u5BC6\u7801\u6846"),typeName:e("\u5BC6\u7801\u6846"),type:"password",options:{width:"100%",span:"",defaultValue:"",placeholder:e("\u8BF7\u8F93\u5165\u5BC6\u7801\u6846"),maxlength:null,prefix:"",addonBefore:"",addonAfter:"",visibilityToggle:!0,disabled:!1,allowClear:!1,showLabel:!0,required:!1,isShow:!0,rules:[],events:{}}},{label:e("\u8BA1\u6570\u7EC4\u4EF6"),typeName:e("\u8BA1\u6570\u7EC4\u4EF6"),type:"number",options:{width:"100%",span:"",defaultValue:0,min:0,max:100,step:1,maxlength:null,disabled:!1,showLabel:!0,controls:!0,required:!1,subTotal:!1,isShow:!0,rules:[],events:{}}},{label:e("\u7F16\u8F91\u5668"),typeName:e("\u7F16\u8F91\u5668"),type:"richtext-editor",options:{span:"",defaultValue:"",width:"100%",disabled:!1,showLabel:!0,required:!1,isShow:!0,rules:[],events:{}}},{label:e("\u7F16\u7801\u7EC4\u4EF6"),typeName:e("\u7F16\u7801\u7EC4\u4EF6"),type:"auto-code",options:{width:"100%",span:"",placeholder:e("\u8BF7\u8F93\u5165\u7F16\u7801\u7EC4\u4EF6"),prefix:"",suffix:"",addonBefore:"",addonAfter:"",showLabel:!0,autoCodeRule:null,required:!1,isShow:!0}},{label:e("\u81EA\u52A8\u5B8C\u6210"),typeName:e("\u81EA\u52A8\u5B8C\u6210"),type:"auto-complete",options:{width:"100%",showLabel:!0,placeholder:e("\u8BF7\u8F93\u5165\u81EA\u52A8\u5B8C\u6210"),autofocus:!1,backfill:!1,required:!1,disabled:!1,bordered:!0,defaultActiveFirstOption:!0,defaultOpen:!0,staticOptions:[{key:1,label:"Option 1",value:"Option 1"},{key:2,label:"Option 2",value:"Option 2"},{key:3,label:"Option 3",value:"Option 3"}],defaultSelect:"",datasourceType:"staticData",params:null,dataSource:void 0,dataSourceId:void 0,labelField:"label",valueField:"value",apiConfig:{},itemId:void 0,dicOptions:[],rules:[],events:{},isShow:!0}}],S=[{label:e("\u4E0B\u62C9\u9009\u62E9\u6846"),typeName:e("\u4E0B\u62C9\u9009\u62E9\u6846"),type:"select",options:{width:"100%",span:"",placeholder:e("\u8BF7\u9009\u62E9\u4E0B\u62C9\u9009\u62E9"),showLabel:!0,showSearch:!1,clearable:!1,disabled:!1,staticOptions:[{key:1,label:"Option 1",value:"Option 1"},{key:2,label:"Option 2",value:"Option 2"},{key:3,label:"Option 3",value:"Option 3"}],defaultSelect:"",datasourceType:"staticData",params:null,dataSource:void 0,dataSourceId:void 0,labelField:"label",valueField:"value",apiConfig:{},itemId:void 0,mode:void 0,dicOptions:[],required:!1,rules:[],events:{},isShow:!0}},{label:e("\u7EA7\u8054\u9009\u62E9\u5668"),typeName:e("\u7EA7\u8054\u9009\u62E9\u5668"),type:"cascader",options:{width:"100%",span:"",placeholder:e("\u8BF7\u9009\u62E9\u7EA7\u8054\u9009\u62E9\u5668"),showFormat:"all",separator:"/",selectedConfig:"selectMostChildLevel",disabled:!1,allowClear:!1,showLabel:!0,apiConfig:{},required:!1,rules:[],events:{},isShow:!0}},{label:e("\u6811\u9009\u62E9\u5668"),typeName:e("\u6811\u9009\u62E9\u5668"),type:"newTreeSelect",options:{span:"",clearable:!0,width:"100%",params:null,multiple:!1,placeholder:e("\u8BF7\u9009\u62E9"),showLabel:!0,disabled:!1,showSearch:!1,required:!1,isShow:!0,treeNodeFilterProp:"title",apiConfig:{},events:{}}},{label:e("\u8054\u60F3\u4E0B\u62C9"),typeName:e("\u8054\u60F3\u4E0B\u62C9"),type:"associate-select",options:{width:"100%",span:"",placeholder:e("\u8BF7\u9009\u62E9\u8054\u60F3\u4E0B\u62C9"),showLabel:!0,showSearch:!1,disabled:!1,datasourceType:"api",dataSource:void 0,dataSourceId:void 0,labelField:"label",valueField:"value",apiConfig:{},itemId:void 0,dicOptions:[],required:!1,rules:[],events:{},isShow:!0}},{label:e("\u8054\u60F3\u5F39\u5C42"),typeName:e("\u8054\u60F3\u5F39\u5C42"),type:"associate-popup",options:{popupType:"associate",width:"100%",span:"",placeholder:e("\u8BF7\u9009\u62E9\u8054\u60F3\u5F39\u5C42"),showLabel:!0,disabled:!1,datasourceType:"api",dataSource:void 0,dataSourceId:void 0,labelField:"label",valueField:"value",apiConfig:{},itemId:void 0,dicOptions:[],required:!1,rules:[],events:{},isShow:!0}},{label:e("\u9009\u62E9\u5F39\u5C42"),typeName:e("\u9009\u62E9\u5F39\u5C42"),type:"multiple-popup",options:{popupType:"multiple",width:"100%",span:"",multiple:!0,defaultValue:"",placeholder:e("\u8BF7\u9009\u62E9\u591A\u9009\u5F39\u5C42"),showLabel:!0,disabled:!1,datasourceType:"api",dataSource:void 0,dataSourceId:void 0,labelField:"label",valueField:"value",apiConfig:{},itemId:void 0,dicOptions:[],required:!1,rules:[],events:{},isShow:!0}},{label:e("\u884C\u653F\u533A\u57DF"),typeName:e("\u884C\u653F\u533A\u57DF"),type:"area",options:{width:"100%",span:"",placeholder:e("\u8BF7\u9009\u62E9\u884C\u653F\u533A\u57DF"),showLabel:!0,disabled:!1,allowClear:!1,required:!1,rules:[],events:{},isShow:!0}},{label:e("\u591A\u9009\u7EC4\u4EF6"),typeName:e("\u591A\u9009\u7EC4\u4EF6"),type:"checkbox",options:{span:"",showLabel:!0,disabled:!1,staticOptions:[{key:1,label:"option 1",value:"option 1"},{key:2,label:"option 2",value:"option 2"},{key:3,label:"option 3",value:"option 3"}],datasourceType:"staticData",defaultSelect:"",dataSource:void 0,dataSourceId:void 0,labelField:"label",valueField:"value",apiConfig:{},itemId:void 0,dicOptions:[],required:!1,rules:[],events:{},isShow:!0}},{label:e("\u5355\u9009\u7EC4\u4EF6"),typeName:e("\u5355\u9009\u7EC4\u4EF6"),type:"radio",options:{span:"",showLabel:!0,disabled:!1,optionType:"default",staticOptions:[{key:1,label:"option 1",value:"option 1"},{key:2,label:"option 2",value:"option 2"},{key:3,label:"option 3",value:"option 3"}],datasourceType:"staticData",dataSource:void 0,dataSourceId:void 0,labelField:"label",valueField:"value",defaultSelect:"",apiConfig:{},itemId:void 0,dicOptions:[],required:!1,rules:[],events:{},isShow:!0}},{label:e("\u5F00\u5173\u7EC4\u4EF6"),typeName:e("\u5F00\u5173\u7EC4\u4EF6"),type:"switch",options:{span:"",defaultValue:1,checkedChildren:"",unCheckedChildren:"",checkedColor:t.getProjectConfig.themeColor,unCheckedColor:"#bbbdbf",showLabel:!0,disabled:!1,events:{},isShow:!0}},{label:e("\u6ED1\u5757\u7EC4\u4EF6"),typeName:e("\u6ED1\u5757\u7EC4\u4EF6"),type:"slider",options:{span:"",defaultValue:0,min:0,max:100,step:1,showLabel:!0,disabled:!1,reverse:!1,events:{},isShow:!0}},{label:e("\u65F6\u95F4\u9009\u62E9"),typeName:e("\u65F6\u95F4\u9009\u62E9"),type:"time",options:{span:"",defaultValue:"",width:"100%",placeholder:e("\u8BF7\u9009\u62E9\u65F6\u95F4\u9009\u62E9"),format:"HH:mm:ss",showLabel:!0,allowClear:!0,disabled:!1,required:!1,rules:[],events:{},isShow:!0}},{label:e("\u65F6\u95F4\u8303\u56F4"),typeName:e("\u65F6\u95F4\u8303\u56F4"),type:"time-range",options:{span:"",width:"100%",showTime:!1,format:"HH:mm:ss",startTimePlaceholder:e("\u8BF7\u9009\u62E9\u5F00\u59CB\u65F6\u95F4"),endTimePlaceholder:e("\u8BF7\u9009\u62E9\u7ED3\u675F\u65F6\u95F4"),showLabel:!0,disabled:!1,allowClear:!0,required:!1,rules:[],events:{},isShow:!0}},{label:e("\u65E5\u671F\u9009\u62E9"),typeName:e("\u65E5\u671F\u9009\u62E9"),type:"date",options:{span:"",defaultValue:"",width:"100%",placeholder:e("\u8BF7\u9009\u62E9\u65E5\u671F\u9009\u62E9"),format:"YYYY-MM-DD HH:mm:ss",showLabel:!0,allowClear:!0,disabled:!1,required:!1,isShow:!0,rules:[],events:{}}},{label:e("\u65E5\u671F\u8303\u56F4"),typeName:e("\u65E5\u671F\u8303\u56F4"),type:"date-range",options:{span:"",defaultValue:[],width:"100%",showTime:!1,format:"YYYY-MM-DD",startTimePlaceholder:e("\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),endTimePlaceholder:e("\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),showLabel:!0,disabled:!1,allowClear:!0,required:!1,isShow:!0,rules:[],events:{}}},{label:e("\u8BC4\u5206\u7EC4\u4EF6"),typeName:e("\u8BC4\u5206\u7EC4\u4EF6"),type:"rate",options:{span:"",defaultValue:0,count:5,showLabel:!0,allowHalf:!1,disabled:!1,isShow:!0,events:{}}},{label:e("\u989C\u8272\u9009\u62E9"),typeName:e("\u989C\u8272\u9009\u62E9"),type:"picker-color",options:{span:"",defaultValue:"#000000",showLabel:!0,disabled:!1,isShow:!0,events:{}}},{label:e("\u4E0A\u4F20\u7EC4\u4EF6"),typeName:e("\u4E0A\u4F20\u7EC4\u4EF6"),type:"upload",options:{span:"",defaultValue:[],accept:"",maxNumber:5,maxSize:5,showLabel:!0,multiple:!1,disabled:!1,required:!1,isShow:!0,events:{},listType:"text"}},{label:e("\u56FE\u7247\u7EC4\u4EF6"),typeName:e("\u56FE\u7247\u7EC4\u4EF6"),type:"image",options:{span:"",defaultValue:"",showLabel:!0,isShow:!0,events:{}}},{label:e("\u5730\u56FE\u9009\u62E9"),typeName:e("\u5730\u56FE\u9009\u62E9"),type:"map",options:{span:"",width:"100%",defaultValue:"",placeholder:e("\u8BF7\u9009\u62E9\u5730\u5740"),prefix:"",suffix:"mdi:map-marker-radius-outline",showLabel:!0,disabled:!1,required:!1,isShow:!0,address:"",latiAndLong:"",rules:[],events:{}}},{label:e("\u4E8C\u7EF4\u7801\u7EC4\u4EF6"),typeName:e("\u4E8C\u7EF4\u7801\u7EC4\u4EF6"),type:"qrcode",options:{span:"",defaultValue:"",showLabel:!0,isShow:!0,codeType:"fixed",apiConfig:{}}}],C=[{label:e("\u666E\u901A\u6309\u94AE"),typeName:e("\u666E\u901A\u6309\u94AE"),type:"button",options:{name:e("\u666E\u901A\u6309\u94AE"),buttonWidth:"",buttonHeight:"",prefix:"",suffix:"",disabled:!1,isShow:!0,events:{}}},{label:e("\u586B\u8868\u6309\u94AE"),typeName:e("\u586B\u8868\u6309\u94AE"),type:"button",options:{name:e("\u586B\u8868\u6309\u94AE"),buttonWidth:"",buttonHeight:"",prefix:"",suffix:"",disabled:!1,isSpecial:!0,buttonType:2,datasourceType:"api",dataSource:void 0,dataSourceId:void 0,labelField:"label",valueField:"value",apiConfig:{},itemId:void 0,dicOptions:[],selectTable:null,tableColumns:[],events:{},isShow:!0}},{label:e("\u5F39\u5C42\u6309\u94AE"),typeName:e("\u5F39\u5C42\u6309\u94AE"),type:"button",options:{name:e("\u5F39\u5C42\u6309\u94AE"),buttonWidth:"",buttonHeight:"",prefix:"",suffix:"",disabled:!1,isSpecial:!0,buttonType:1,datasourceType:"api",dataSource:void 0,dataSourceId:void 0,labelField:"label",valueField:"value",apiConfig:{},itemId:void 0,dicOptions:[],events:{},isShow:!0}}],T=[{label:e("\u8868\u683C\u7EC4\u4EF6"),typeName:e("\u8868\u683C\u7EC4\u4EF6"),type:"form",children:[],options:{span:"24",preloadType:"api",apiConfig:{},itemId:"",dicOptions:[],uniqueKey:"",useAddButton:!0,useSelectButton:!1,buttonName:e("\u9009\u62E9\u6570\u636E"),showLabel:!0,showComponentBorder:!0,showFormBorder:!0,showIndex:!1,isShow:!0,multipleHeads:[]}},{label:e("\u5355\u8868\u7EC4\u4EF6"),typeName:e("\u5355\u8868\u7EC4\u4EF6"),type:"one-for-one",children:[],options:{span:"24",showLabel:!0,isShow:!0}},{label:e("\u9009\u9879\u5361\u7EC4\u4EF6"),typeName:e("\u9009\u9879\u5361\u7EC4\u4EF6"),type:"tab",layout:[{name:"tab1",span:24,list:[]},{name:"tab2",span:24,list:[]},{name:"tab3",span:24,list:[]}],options:{tabPosition:"top",type:"line",isShow:!0}},{label:e("\u5361\u7247\u5E03\u5C40"),typeName:e("\u5361\u7247\u5E03\u5C40"),type:"card",icon:"ant-design:credit-card-twotone",layout:[{name:"card",span:24,list:[]}],options:{title:"\u5361\u7247",isShow:!0}},{label:e("\u6805\u683C\u5E03\u5C40"),typeName:e("\u6805\u683C\u5E03\u5C40"),type:"grid",layout:[{span:12,list:[]},{span:12,list:[]}],options:{gutter:16,justify:"start",align:"top",isShow:!0}},{label:e("\u6807\u9898"),typeName:e("\u6807\u9898"),type:"title",layout:[{span:24,list:[]}],options:{defaultValue:e("\u6807\u9898"),color:"",align:"center",fontSize:18,isShow:!0}},{label:e("\u5206\u5272\u7EBF"),type:"divider",options:{defaultValue:e("\u5206\u5272\u7EBF"),orientation:"left",marginTop:0,marginBottom:0,isShow:!0}}],N=[{label:e("\u610F\u89C1\u7C3F"),typeName:e("\u610F\u89C1\u7C3F"),type:"opinion",options:{span:"",placeholder:e("\uFF08\u8BE5\u7EC4\u4EF6\u4EC5\u7528\u4E8E\u63A5\u6536\u5DE5\u4F5C\u6D41\u5BA1\u6279\u610F\u89C1\uFF0C\u4E0D\u53EF\u624B\u52A8\u7F16\u8F91\uFF09"),width:"100%",showLabel:!0,isShow:!0}}],x=[{label:e("\u4FE1\u606F\u4F53"),typeName:e("\u4FE1\u606F\u4F53"),type:"info",options:{span:"",width:"100%",placeholder:"",infoType:0,loadAgain:!1,showLabel:!0,disabled:!0,isShow:!0,events:{}}},{label:e("\u7EC4\u7EC7\u67B6\u6784"),typeName:e("\u7EC4\u7EC7\u67B6\u6784"),type:"organization",options:{span:"",width:"100%",orgzType:0,loadAgain:!1,autoSelected:!0,placeholder:e("\u8BF7\u9009\u62E9\u7EC4\u7EC7\u67B6\u6784"),showLabel:!0,disabled:!1,required:!1,isShow:!0,events:{}}},{label:e("\u6811\u9009\u62E9\u5668"),typeName:e("\u6811\u9009\u62E9\u5668"),type:"newTreeSelect",options:{span:"",width:"100%",multiple:!1,placeholder:e("\u8BF7\u9009\u62E9"),showLabel:!0,disabled:!1,required:!1,isShow:!0,labelField:"name",valueField:"id",treeNodeFilterProp:"title",events:{}}},{label:e("\u4EBA\u5458\u9009\u62E9"),typeName:e("\u4EBA\u5458\u9009\u62E9"),type:"user",options:{span:"",width:"100%",defaultValue:"",userType:"",placeholder:e("\u8BF7\u9009\u62E9\u4EBA\u5458"),prefix:"",suffix:"ant-design:setting-outlined",showLabel:!0,disabled:!1,required:!1,isShow:!0,events:{}}},{label:e("\u73ED\u7EA7\u9009\u62E9"),typeName:e("\u73ED\u7EA7\u9009\u62E9"),type:"class",options:{span:"",width:"100%",defaultValue:"",placeholder:e("\u8BF7\u9009\u62E9\u73ED\u7EA7"),prefix:"",suffix:"ant-design:setting-outlined",showLabel:!0,disabled:!1,required:!1,isShow:!0,events:{}}}],O=[{label:e("\u8BA1\u7B97\u7EC4\u4EF6"),typeName:e("\u8BA1\u7B97\u7EC4\u4EF6"),type:"computational",options:{span:"",width:"100%",defaultValue:0,placeholder:e("\u8BF7\u8F93\u5165\u8BA1\u7B97\u7EC4\u4EF6"),addonBefore:"",addonAfter:"",prefix:"",maxlength:null,showLabel:!0,disabled:!1,subTotal:!1,computationalConfig:[],computationalConfigValue:e("== \u8BF7\u586B\u5199\u8BA1\u7B97\u5F0F\u914D\u7F6E =="),beAdoptedComponent:[],required:!1,isShow:!0,events:{}}},{label:e("\u8D27\u5E01\u5927\u5199"),typeName:e("\u8D27\u5E01\u5927\u5199"),type:"money-chinese",options:{span:"",width:"100%",defaultValue:0,placeholder:e("\u8BF7\u8F93\u5165\u8D27\u5E01\u5927\u5199"),addonBefore:"",addonAfter:"",prefix:"",suffix:"",maxlength:null,showLabel:!0,disabled:!1,subTotal:!1,computationalConfig:[],computationalConfigValue:e("== \u8BF7\u586B\u5199\u8BA1\u7B97\u5F0F\u914D\u7F6E =="),beAdoptedComponent:[],required:!1,isShow:!0,rules:[],events:{}}}],y=["grid","divider","tab","card","title","button","opinion","image","qrcode"],w=["grid","divider","tab","card","one-for-one","title","button","opinion","form","time-range","date-range","image","qrcode"],E=["grid","divider","tab","card","title","button","opinion","form","password","upload","image","richtext-editor","hiddenComponent","qrcode","one-for-one"],m=["grid","divider","card","button","title"],v=["grid","form"],P=["select","radio","checkbox","associate-select","associate-popup","multiple-popup"],V=["card","tab","grid","form","title","divider","richtext-editor","auto-code","button","slider","image","opinion","qrcode","one-for-one"],q=["form","one-for-one"],h=["input","password","auto-code","select","cascader","associate-select","associate-popup","area","radio","picker-color","info","organization"],c=["textarea","richtext-editor","multiple-popup","checkbox","upload","image","user"],b=["switch"],u=["number","slider","computational","money-chinese","rate"],r=["date","date-range"],p=["time","time-range"],f=["card","tab","grid","form","title","divider","image","opinion","upload","picker-color","organization"],F=["auto-code","form","tab","card","grid","title","divider","opinion","info","image","qrcode"],D=["associate-popup","multiple-popup","radio","checkbox","switch","slider","rate","picker-color","upload","button","user"],B=["radio","checkbox","switch","slider","rate"],I=["button"],k=["auto-code","switch","slider","rate","picker-color","upload","image","button","form","tab","card","grid","title","divider","opinion","info","organization","user","qrcode"],L=["select","associate-select","associate-popup","multiple-popup","checkbox","radio"],A=["oracle","dm"],l=(a=>(a[a.STRING=0]="STRING",a[a.NUMBER=1]="NUMBER",a[a.BOOL=2]="BOOL",a[a.DATE=3]="DATE",a[a.TIME=4]="TIME",a))(l||{}),s=(a=>(a.Vue="vue",a.Html="html",a))(s||{}),i=(a=>(a[a.Antd=0]="Antd",a[a.Element=1]="Element",a))(i||{}),_=Object.freeze(Object.defineProperty({__proto__:null,CodeType:s,ColumnType:l,PlatformType:i,advanceComponents:S,basicComponents:g,buttonComponents:C,dateTimeComponents:r,decimalsComponents:u,financeComponents:O,gridComponents:v,infoComponents:x,integerComponents:b,layoutComponents:T,longTextComponents:c,needDicDefaultValue:L,noBlurComponentEvent:D,noChangeComponentEvent:I,noClickComponentEvent:B,noConfigComponentEvent:F,noConfigRegularSetting:k,noHaveField:w,noHaveTableAndField:y,noHaveTitle:m,noShowList:E,oneForOneUnUseComponents:q,remoteComponents:P,shortTextComponents:h,subFormUnUseComponents:V,timeComponents:p,unPreloadComponents:f,upperFieldDb:A,widgetForm:H,workFlowComponents:N},Symbol.toStringTag,{value:"Module"}))}));export{p as A,r as B,l as C,u as D,b as E,c as F,h as G,i as P,K as __tla,m as a,w as b,y as c,f as d,_ as e,s as f,v as g,g as h,S as i,C as j,N as k,T as l,x as m,L as n,q as o,O as p,F as q,k as r,V as s,I as t,A as u,B as v,H as w,D as x,E as y,P as z};
|