@byteluck-fe/model-driven-controls 2.9.0-alpha.21 → 2.9.0-alpha.22

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/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var fw=Object.defineProperty,hw=Object.defineProperties;var yw=Object.getOwnPropertyDescriptors;var Js=Object.getOwnPropertySymbols,mw=Object.getPrototypeOf,vw=Object.prototype.hasOwnProperty,gw=Object.prototype.propertyIsEnumerable,bw=Reflect.get;var Zs=(y,q,G)=>q in y?fw(y,q,{enumerable:!0,configurable:!0,writable:!0,value:G}):y[q]=G,De=(y,q)=>{for(var G in q||(q={}))vw.call(q,G)&&Zs(y,G,q[G]);if(Js)for(var G of Js(q))gw.call(q,G)&&Zs(y,G,q[G]);return y},Hn=(y,q)=>hw(y,yw(q));var Vr=(y,q,G)=>bw(mw(y),G,q);var Hr=(y,q,G)=>new Promise((Eu,jn)=>{var Iu=Ee=>{try{Vt(G.next(Ee))}catch(Ht){jn(Ht)}},Su=Ee=>{try{Vt(G.throw(Ee))}catch(Ht){jn(Ht)}},Vt=Ee=>Ee.done?Eu(Ee.value):Promise.resolve(Ee.value).then(Iu,Su);Vt((G=G.apply(y,q)).next())});(function(y,q){typeof exports=="object"&&typeof module!="undefined"?q(exports):typeof define=="function"&&define.amd?define(["exports"],q):(y=typeof globalThis!="undefined"?globalThis:y||self,q(y.modelDrivenControls={}))})(this,function(y){"use strict";var q="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",G="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Eu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",jn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Iu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Su="{caption}\u5FC5\u586B",Vt="\u8BF7\u8F93\u5165\u6807\u9898",Ee="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Ht="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Ys="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",ps="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",ed="\u8BF7\u7ED1\u5B9A\u8868\u5355",td="\u8BF7\u7ED1\u5B9A\u5217\u8868",nd="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",id="\u8BF7\u8F93\u5165\u663E\u793A\u503C",ud="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",ad="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",rd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",ld="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",od="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",cd="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",sd="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",dd="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",fd="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",hd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",yd="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",md="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",vd="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",gd="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",bd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",_d="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Cd="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",wd="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Ed="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Id="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Sd="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Ad="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Td="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Bd="\u8BF7\u9009\u62E9\u7701",Rd="\u8BF7\u9009\u62E9\u5E02",Pd="\u8BF7\u9009\u62E9\u533A",Dd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",xd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Fd="\u8BF7\u8F93\u5165\u5217\u5BBD",kd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Od="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Md="\u8BF7\u9009\u62E9\u63A7\u4EF6",$d="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Ld="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Nd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Vd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Hd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",jd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",qd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ud="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Wd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Kd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",zd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Gd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Qd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Xd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Jd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Zd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Yd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",pd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ef="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",tf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",nf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",uf="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",af="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",rf="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",lf="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",of="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",cf="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",sf={isNotNumber:q,isNotString:G,isNotObject:Eu,isNotArray:jn,isNotBoolean:Iu,runtimeRequired:Su,pleaseEnterCaption:Vt,pleaseEnterCaptionTip:Ee,pleaseEnterRowCaption:Ht,pleaseEnterPlaceholder:Ys,pleaseEnterFieldCode:ps,pleaseEnterForm:ed,pleaseEnterList:td,pleaseEnterProcess:nd,pleaseEnterLabel:id,pleaseEnterValue:ud,bizKeyNotBindFiled:ad,pleaseSelectOneField:rd,pleaseEnterNumberRange:ld,pleaseEnterAValueGreaterThanMin:od,pleaseEnterAValueLessThanMax:cd,numberRangeSetError:sd,stringRangeError:dd,attachmentMaxSize:fd,pleaseEnterTotalScoreSetting:hd,theTotalScoreMustNotBeLessThan1:yd,scoreDefaultValueRange:md,attachmentLimitError:vd,PleaseReselectTheOptionalQuantity:gd,TheMaximumLengthIsGreaterThanTheMinimumLength:bd,TheMinimumLengthIsGreaterThanTheMaximumLength:_d,PleaseSelectTheCorrectOptionSettings:Cd,optionIdIsRepeat:wd,optionIsRequired:Ed,pleaseEnterDataCode:Id,pleaseEnterValueFieldCode:Sd,pleaseEnterSvcCode:Ad,pleaseBindAtLeastOneDisplayValue:Td,pleaseSelectProvince:Bd,pleaseSelectCity:Rd,pleaseSelectDistrict:Pd,limitRowsCannotBeLessThan0:Dd,TheNumberOfRowsCannotBeLessThanMinRows:xd,pleaseEnterColumnWidth:Fd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:kd,pleaseCompleteAllRulesAndConditions:Od,pleaseSelectControl:Md,pleaseSelectAtLeastOneColumn:$d,pleaseSelectFillBackMode:Ld,pleaseSelectDashboard:Nd,rootNodeIsRequired:Vd,theViewNameCannotBeEmpty:Hd,pleaseSelectOcrType:jd,pleaseSelectAtLeastOneFieldToFillIn:qd,pleaseChooseAtLeastOne:Ud,pleaseEnterButtonContent:Wd,pleaseEnterDataCodeInDataSetting:Kd,pleaseEnterValueFieldCodeInDataSetting:zd,pleaseEnterSvcCodeInDataSetting:Gd,pleaseBindAtLeastOneDisplayValueInDataSetting:Qd,rootNodeIsRequiredInDataSetting:Xd,pleaseEnterMaxHeight:Jd,pleaseEnter:Zd,pleaseEnterWatermark:Yd,pleaseEnterFileName:pd,pleaseUploadAtLeastOnePrintTemplate:ef,pleaseAssignBusiness:tf,pleaseAssignExternal:nf,pleaseEnterAliasCode:uf,pleaseSelectDataCode:af,pleaseSelectSvcCode:rf,pleaseSelectJoinFieldCode:lf,pleaseSelectMainFieldCode:of,pleaseSelectSortFieldCode:cf},df="Please enter a number",ff="Please enter a string",hf="Please enter an object",yf="Please enter an array",mf="Please enter a boolean",vf="{caption} Required",gf="Please enter the title",bf="Please enter the bubble prompt",_f="Please enter the row title",Cf="Please enter the prompt text",wf="Please bind data items",Ef="Please bind the form",If="Please bind the list",Sf="Please bind the process",Af="Please enter the displayed value",Tf="Please enter the stored value",Bf="The document number is not bound to the data item",Rf="Please select at least one display field",Pf="Please enter a value greater than or equal to {min} and less than or equal to {max}",Df="Please enter a value greater than or equal to {min}",xf="Please enter a value less than or equal to {max}",Ff="The value range is set incorrectly",kf="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Of="The attachment size must be between 0MB and 1000MB",Mf="Please fill in the total score setting",$f="The total score cannot be less than 1",Lf="The default value must be between {min} and {max}",Nf="The number of attachments uploaded must be between {min} and {max}",Vf="Please re-select the optional quantity",Hf="The maximum length of the control must be greater than the minimum length",jf="The minimum length of the control must be less than the maximum length",qf="Please select the correct option setting",Uf="Option ID cannot be repeated",Wf="Please enter at least one option",Kf="Please bind the data source",zf="Please bind the stored value",Gf="Please bind the service",Qf="At least one display value must be bound",Xf="Please select a province",Jf="Please select a city",Zf="Please select a district",Yf="The minimum number of lines to fill in cannot be less than 0",pf="The number of rows cannot be less than {min} rows",eh="Please enter the column width",th="Please set the logical relationship of all rule conditions",nh="Please complete all rules and conditions",ih="please select control",uh="Please select the dashboard",ah="View name cannot be empty",rh="Please select recognition type",lh="Please select at least one field to fill in",oh="Please select at least one",ch="Please enter the button title",sh="Please bind the business model in the data settings",dh="Please bind storage values in data settings",fh="Please bind the service in the data settings",hh="Please bind at least one display value in the data settings",yh="Please select the root node in the data settings",mh="Please enter the maximum height",vh="The input content cannot be empty",gh="Watermark cannot be empty",bh="File name cannot be empty",_h="Please upload at least one printing template!\uFF01",Ch="Please select a specific business department",wh="Please select a specified external organization",Eh="Please enter a sub table alias",Ih="Please select the associated table to set the business model",Sh="Please select the association table to set the binding service",Ah="Select associated sub table fields",Th="Please select the associated main table field",Bh="Please select the sort field",Rh={isNotNumber:df,isNotString:ff,isNotObject:hf,isNotArray:yf,isNotBoolean:mf,runtimeRequired:vf,pleaseEnterCaption:gf,pleaseEnterCaptionTip:bf,pleaseEnterRowCaption:_f,pleaseEnterPlaceholder:Cf,pleaseEnterFieldCode:wf,pleaseEnterForm:Ef,pleaseEnterList:If,pleaseEnterProcess:Sf,pleaseEnterLabel:Af,pleaseEnterValue:Tf,bizKeyNotBindFiled:Bf,pleaseSelectOneField:Rf,pleaseEnterNumberRange:Pf,pleaseEnterAValueGreaterThanMin:Df,pleaseEnterAValueLessThanMax:xf,numberRangeSetError:Ff,stringRangeError:kf,attachmentMaxSize:Of,pleaseEnterTotalScoreSetting:Mf,theTotalScoreMustNotBeLessThan1:$f,scoreDefaultValueRange:Lf,attachmentLimitError:Nf,PleaseReselectTheOptionalQuantity:Vf,TheMaximumLengthIsGreaterThanTheMinimumLength:Hf,TheMinimumLengthIsGreaterThanTheMaximumLength:jf,PleaseSelectTheCorrectOptionSettings:qf,optionIdIsRepeat:Uf,optionIsRequired:Wf,pleaseEnterDataCode:Kf,pleaseEnterValueFieldCode:zf,pleaseEnterSvcCode:Gf,pleaseBindAtLeastOneDisplayValue:Qf,pleaseSelectProvince:Xf,pleaseSelectCity:Jf,pleaseSelectDistrict:Zf,limitRowsCannotBeLessThan0:Yf,TheNumberOfRowsCannotBeLessThanMinRows:pf,pleaseEnterColumnWidth:eh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:th,pleaseCompleteAllRulesAndConditions:nh,pleaseSelectControl:ih,pleaseSelectDashboard:uh,theViewNameCannotBeEmpty:ah,pleaseSelectOcrType:rh,pleaseSelectAtLeastOneFieldToFillIn:lh,pleaseChooseAtLeastOne:oh,pleaseEnterButtonContent:ch,pleaseEnterDataCodeInDataSetting:sh,pleaseEnterValueFieldCodeInDataSetting:dh,pleaseEnterSvcCodeInDataSetting:fh,pleaseBindAtLeastOneDisplayValueInDataSetting:hh,rootNodeIsRequiredInDataSetting:yh,pleaseEnterMaxHeight:mh,pleaseEnter:vh,pleaseEnterWatermark:gh,pleaseEnterFileName:bh,pleaseUploadAtLeastOnePrintTemplate:_h,pleaseAssignBusiness:Ch,pleaseAssignExternal:wh,pleaseEnterAliasCode:Eh,pleaseSelectDataCode:Ih,pleaseSelectSvcCode:Sh,pleaseSelectJoinFieldCode:Ah,pleaseSelectMainFieldCode:Th,pleaseSelectSortFieldCode:Bh},Ph="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dh="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xh="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fh="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kh="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Oh="{caption}\u5FC5\u9808",Mh="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$h="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Lh="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Nh="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vh="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Hh="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",jh="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qh="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Uh="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wh="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Kh="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",zh="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Gh="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Qh="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Xh="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Jh="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Zh="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Yh="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ph="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ey="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ty="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ny="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",iy="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",uy="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ay="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ry="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ly="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",oy="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",cy="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sy="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",dy="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",fy="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",hy="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",yy="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",my="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",vy="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",gy="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",by="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_y="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Cy="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",wy="please select control",Ey="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Iy="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Sy="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ay="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ty="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",By="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ry="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Py="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Dy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",xy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Fy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ky="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Oy="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",My="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",$y="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ly="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",Ny="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Vy="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Hy="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jy="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",qy="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Uy="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Wy="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ky="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",zy={isNotNumber:Ph,isNotString:Dh,isNotObject:xh,isNotArray:Fh,isNotBoolean:kh,runtimeRequired:Oh,pleaseEnterCaption:Mh,pleaseEnterCaptionTip:$h,pleaseEnterRowCaption:Lh,pleaseEnterPlaceholder:Nh,pleaseEnterFieldCode:Vh,pleaseEnterForm:Hh,pleaseEnterList:jh,pleaseEnterProcess:qh,pleaseEnterLabel:Uh,pleaseEnterValue:Wh,bizKeyNotBindFiled:Kh,pleaseSelectOneField:zh,pleaseEnterNumberRange:Gh,pleaseEnterAValueGreaterThanMin:Qh,pleaseEnterAValueLessThanMax:Xh,numberRangeSetError:Jh,stringRangeError:Zh,attachmentMaxSize:Yh,pleaseEnterTotalScoreSetting:ph,theTotalScoreMustNotBeLessThan1:ey,scoreDefaultValueRange:ty,attachmentLimitError:ny,PleaseReselectTheOptionalQuantity:iy,TheMaximumLengthIsGreaterThanTheMinimumLength:uy,TheMinimumLengthIsGreaterThanTheMaximumLength:ay,PleaseSelectTheCorrectOptionSettings:ry,optionIdIsRepeat:ly,optionIsRequired:oy,pleaseEnterDataCode:cy,pleaseEnterValueFieldCode:sy,pleaseEnterSvcCode:dy,pleaseBindAtLeastOneDisplayValue:fy,pleaseSelectProvince:hy,pleaseSelectCity:yy,pleaseSelectDistrict:my,limitRowsCannotBeLessThan0:vy,TheNumberOfRowsCannotBeLessThanMinRows:gy,pleaseEnterColumnWidth:by,pleaseSetTheLogicalRelationshipOfAllRuleConditions:_y,pleaseCompleteAllRulesAndConditions:Cy,pleaseSelectControl:wy,pleaseSelectDashboard:Ey,theViewNameCannotBeEmpty:Iy,pleaseSelectOcrType:Sy,pleaseSelectAtLeastOneFieldToFillIn:Ay,pleaseChooseAtLeastOne:Ty,pleaseEnterButtonContent:By,pleaseEnterDataCodeInDataSetting:Ry,pleaseEnterValueFieldCodeInDataSetting:Py,pleaseEnterSvcCodeInDataSetting:Dy,pleaseBindAtLeastOneDisplayValueInDataSetting:xy,rootNodeIsRequiredInDataSetting:Fy,pleaseEnterMaxHeight:ky,pleaseEnter:Oy,pleaseEnterWatermark:My,pleaseEnterFileName:$y,pleaseUploadAtLeastOnePrintTemplate:Ly,pleaseAssignBusiness:Ny,pleaseAssignExternal:Vy,pleaseEnterAliasCode:Hy,pleaseSelectDataCode:jy,pleaseSelectSvcCode:qy,pleaseSelectJoinFieldCode:Uy,pleaseSelectMainFieldCode:Wy,pleaseSelectSortFieldCode:Ky},Gy={zhCN:sf,enUS:Rh,jaJP:zy},jr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(jr||(jr={}));var qr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(qr||(qr={}));var Qy="zh-CN";function P(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ft;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(ft||(ft={}));var Ur;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})(Ur||(Ur={}));var S;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page"})(S||(S={}));var Wr;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(Wr||(Wr={}));var b;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field",t.BOOLEAN="boolean",t.MODEL="model",t.MODEL_SET="model_set"})(b||(b={}));var U;U={},P(U,"varchar","\u77ED\u6587\u672C"),P(U,"timestamp","\u65F6\u95F4"),P(U,"text","\u957F\u6587\u672C"),P(U,"decimal","\u6570\u503C\u7C7B\u578B"),P(U,"relation","\u5F15\u7528\u7C7B\u578B"),P(U,"bigint","\u957F\u6574\u578B"),P(U,"image","\u56FE\u7247"),P(U,"file","\u9644\u4EF6"),P(U,"auto_number","\u81EA\u52A8\u7F16\u53F7"),P(U,"boolean","\u903B\u8F91"),P(U,"people","\u4EBA\u5458"),P(U,"location","\u5730\u5740"),P(U,"department","\u90E8\u95E8"),P(U,"relation-field","\u5173\u8054\u5B57\u6BB5"),P(U,"reference-field","\u5F15\u7528\u5B57\u6BB5"),P(U,"calc","\u8BA1\u7B97\u516C\u5F0F"),P(U,"json","JSON"),P(U,"model","\u6A21\u578B"),P(U,"model_set","\u6A21\u578B\u96C6\u5408"),P(U,"array","\u6570\u7EC4");var ae;ae={},P(ae,"array","array-column"),P(ae,"auto_number","auto-number-column"),P(ae,"decimal","decimal-column"),P(ae,"department","department-column"),P(ae,"file","file-column"),P(ae,"image","image-column"),P(ae,"location","location-column"),P(ae,"people","employee-column"),P(ae,"text","text-column"),P(ae,"timescope","timescope-column"),P(ae,"timestamp","timestamp-column"),P(ae,"varchar","varchar-column"),P(ae,"relation","varchar-column");var xe;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(xe||(xe={}));var Kr={DEFAULT:"default"},zr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Xy=zr+"0123456789";function he(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?zr:Xy,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Au(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Jy(t){if(Array.isArray(t))return Au(t)}function Zy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qn(t,e,n){return Jr()?qn=Reflect.construct:qn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&qt(o,r.prototype),o},qn.apply(null,arguments)}function jt(t){return jt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jt(t)}function Qr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qt(t,e)}function Yy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function py(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function em(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tm(t,e){return e&&(nm(e)==="object"||typeof e=="function")?e:Zy(t)}function qt(t,e){return qt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},qt(t,e)}function Xr(t){return Jy(t)||py(t)||im(t)||em()}function nm(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function im(t,e){if(!!t){if(typeof t=="string")return Au(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Au(t,e)}}function Tu(t){var e=typeof Map=="function"?new Map:void 0;return Tu=function(i){if(i===null||!Yy(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return qn(i,arguments,jt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),qt(u,i)},Tu(t)}function Jr(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Zr(t){var e=Jr();return function(){var i=jt(t),u;if(e){var a=jt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return tm(this,u)}}var Bu=console;function Ru(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=Bu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Xr(u)))}function Yr(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=Bu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Xr(u)))}function um(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Pu=function(t){Qr(n,t);var e=Zr(n);function n(i){Gr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?um(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Tu(Error)),am=function(t){Qr(n,t);var e=Zr(n);function n(i){Gr(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Pu);function Ut(t){throw new Pu(t)}function pr(t){throw new am(t)}function rm(t){Bu.error(new Pu(t))}var lm=Object.prototype.toString;function el(t,e){return lm.call(t)==="[object "+e+"]"}function om(t){return el(t,"String")}function cm(t){return el(t,"Promise")}var sm=function(){function t(e){var n,i;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((i=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&i!==void 0?i:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var i=this.getMessageData();cm(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,a,r,l){if(u!==void 0){var c=u[a];if(!(r===l.length-1&&!om(c)))return c}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var a=n[u];return a!==void 0?String(a):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function dm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function fm(t,e,n){return e&&tl(t.prototype,e),n&&tl(t,n),t}function hm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var f=function(){function t(){dm(this,t)}return fm(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Qy;return new sm({locale:n,messages:Gy})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();hm(f,"$i18n",f.resetI18n());function ym(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,c){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){Ru("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===c.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var mm=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},vm={exports:{}};(function(t){(function(e){var n=function(m,w,T){if(!o(w)||v(w)||g(w)||C(w)||c(w))return w;var R,O=0,de=0;if(d(w))for(R=[],de=w.length;O<de;O++)R.push(n(m,w[O],T));else{R={};for(var $ in w)Object.prototype.hasOwnProperty.call(w,$)&&(R[m($,T)]=n(m,w[$],T))}return R},i=function(m,w){w=w||{};var T=w.separator||"_",R=w.split||/(?=[A-Z])/;return m.split(R).join(T)},u=function(m){return E(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(w,T){return T?T.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},a=function(m){var w=u(m);return w.substr(0,1).toUpperCase()+w.substr(1)},r=function(m,w){return i(m,w).toLowerCase()},l=Object.prototype.toString,c=function(m){return typeof m=="function"},o=function(m){return m===Object(m)},d=function(m){return l.call(m)=="[object Array]"},v=function(m){return l.call(m)=="[object Date]"},g=function(m){return l.call(m)=="[object RegExp]"},C=function(m){return l.call(m)=="[object Boolean]"},E=function(m){return m=m-0,m===m},_=function(m,w){var T=w&&"process"in w?w.process:w;return typeof T!="function"?m:function(R,O){return T(R,m,O)}},I={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(m,w){return n(_(u,w),m)},decamelizeKeys:function(m,w){return n(_(r,w),m,w)},pascalizeKeys:function(m,w){return n(_(a,w),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(mm)})(vm);var nl={};Object.defineProperty(nl,"__esModule",{value:!0});function Du(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Du(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Du(i)}return e}}var gm=nl.default=Du;function ye(t){if(t!==void 0)return typeof t=="object"?gm(t):t}function bm(t){return Object.prototype.toString.call(t)==="[object Object]"}function xu(t){return Array.isArray(t)}function _m(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Fu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Cm(t){if(Array.isArray(t))return Fu(t)}function il(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function wm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){il(a,i,u,r,l,"next",c)}function l(c){il(a,i,u,r,l,"throw",c)}r(void 0)})}}function Em(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ul(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Im(t,e,n){return e&&ul(t.prototype,e),n&&ul(t,n),t}function al(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Sm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Am(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ku(t){return Cm(t)||Sm(t)||Tm(t)||Am()}function Tm(t,e){if(!!t){if(typeof t=="string")return Fu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fu(t,e)}}function Bm(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var Rm=function(){function t(){Em(this,t),al(this,"_events",new Map),al(this,"debug",!1)}return Im(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];var r=this;return wm(function(){var l,c,o,d,v,g,C,E,_,I,m,w;return Bm(this,function(T){switch(T.label){case 0:if(l=r._events.get(n),c=[],!l)return[3,10];o=l.slice(),d=!0,v=!1,g=void 0,T.label=1;case 1:T.trys.push([1,8,9,10]),C=o[Symbol.iterator](),T.label=2;case 2:if(d=(E=C.next()).done)return[3,7];if(_=E.value,!l.includes(_))return[3,6];T.label=3;case 3:return T.trys.push([3,5,,6]),r.debug&&Yr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(ku(u))),[4,_.apply(null,ku(u))];case 4:return I=T.sent(),r.debug&&Yr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(ku(u),[I])),c.push(I),I===!1?[3,7]:[3,6];case 5:return m=T.sent(),rm(String(m)+":"+String(m.stack)),[3,6];case 6:return d=!0,[3,2];case 7:return[3,10];case 8:return w=T.sent(),v=!0,g=w,[3,10];case 9:try{!d&&C.return!=null&&C.return()}finally{if(v)throw g}return[7];case 10:return[2,c]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function Pm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Dm(t,e,n){return e&&rl(t.prototype,e),n&&rl(t,n),t}function xm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Fm=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],km=function(){function t(){Pm(this,t)}return Dm(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(r){return u.includes(r.key)}));var a=n.customEvents.map(function(r){var l=r.key;return r.namespace!==void 0&&r.namespace!==null&&r.namespace!==""&&(l=r.namespace+":"+r.key),{key:l,code:r.key,name:r.name}});return i=i.concat(a),i}}]),t}();xm(km,"events",Fm);function Ou(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Om(t){if(Array.isArray(t))return Ou(t)}function Mm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function $m(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ll(t){return Om(t)||Mm(t)||Lm(t)||$m()}function Lm(t,e){if(!!t){if(typeof t=="string")return Ou(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ou(t,e)}}function Mu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function ol(t,e,n){n==="Designer"&&(t.parent=e,Mu(t,"parent"))}function Nm(t,e,n){t.forEach(function(i){ol(i,e,n)})}var cl=Symbol("targetKey");function sl(t){var e;return(e=t[cl])!==null&&e!==void 0?e:t}function dl(t,e,n){return Nm(t,e,n),new Proxy(t,{get:function(u,a){for(var r=arguments.length,l=new Array(r>2?r-2:0),c=2;c<r;c++)l[c-2]=arguments[c];var o;return a===cl?u:(o=Reflect).get.apply(o,[u,a].concat(ll(l)))},set:function(u,a,r){for(var l=arguments.length,c=new Array(l>3?l-3:0),o=3;o<l;o++)c[o-3]=arguments[o];var d;if(xu(t)&&a==="length"&&r===t.length)return!0;var v=(d=Reflect).set.apply(d,[u,a,r].concat(ll(c)));return bm(r)&&ol(r,e,n),v}})}function be(t,e,n,i,u){var a=i!=null?i:t,r=dl(sl(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return r},set:function(c){r=dl(sl(c),a,u)},enumerable:!0})}function Vm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Hm(t,e,n){return e&&fl(t.prototype,e),n&&fl(t,n),t}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var hl=[],Un=function(){function t(e){Vm(this,t),Fe(this,"registeredControlTypes",new Set),Fe(this,"controlConfigMap",new Map),Fe(this,"_controls",[]),Fe(this,"_type",void 0),this._type=e,this._initControls(e)}return Hm(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Ut("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Ru("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===ft.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===ft.FORM}},{key:"isListControl",value:function(n){return n.controlType===ft.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===ft.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(d){return u.createControl(d,i)});if(n.children&&(n.children=n.children.map(function(d){return u.createControl(d,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(d){return u.createControl(d,i)})),a.footers&&(a.footers=a.footers.map(function(d){var v;return d&&(v=u.createControl(d,i)),v}))}var r=this.getControlFormType(n.type);if(r){var l=n;if(typeof i=="function"){var c=i(l);c&&(l=c)}var o;return r.mode==="Runtime"?(o=l,o.fieldType=r.controlFieldType,this._setParentPrototypeToSchema(o,this)):o=new r(l),o}else Ut("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),Mu(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,r=i._controlParentIdMap,l=i.instanceMap;if(!(!r||!l)){var c=r[a],o=l[a];if(!(!c&&!o)){var d=o.findIndex(function(C){return C==n}),v=l[c]||[],g;return v.length!==o.length?g=v[0]:g=v[d],g}}}}),Mu(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),a=[];if(u){var r=new u(i);a=Array.from(r)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,r=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&Ut("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(c){return c.Designer.controlType===u.controlType});return l>-1&&(Ru("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),r.mode=i,this}}]),t}();Fe(Un,"staticControlsRuntimeRules",new Map),Fe(Un,"staticControls",hl),Fe(Un,"staticRegisteredTypes",new Set(hl.map(function(t){return t.Designer.controlType}))),Fe(Un,"staticRegisteredConfigs",new Map);function L(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(t)}function me(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$u(t,e)}function jm(t,e){return e&&(qm(e)==="object"||typeof e=="function")?e:L(t)}function $u(t,e){return $u=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},$u(t,e)}function qm(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Um(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ve(t){var e=Um();return function(){var i=Wn(t),u;if(e){var a=Wn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return jm(this,u)}}var _e=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},yl=function t(e){A(this,t),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},Lu=function(t){me(n,t);var e=ve(n);function n(i){A(this,n);var u;u=e.call(this,i),h(L(u),"width",void 0),h(L(u),"widthType",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:240;var r;return u.widthType=(r=i==null?void 0:i.widthType)!==null&&r!==void 0?r:"auto",u}return n}(yl),Wm=function t(e){A(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new Lu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Lu(e==null?void 0:e.mobile):new Lu({width:130,minWidth:180})},Km=function t(e){A(this,t),h(this,"type",void 0),h(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},ht=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},zm=function(t){me(n,t);var e=ve(n);function n(i){A(this,n);var u;u=e.call(this,i),h(L(u),"primaryControlId",void 0);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(ht),ml=function t(e){A(this,t),h(this,"fieldCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Nu=function t(e){A(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new ml(r)}))!==null&&a!==void 0?a:[]},Gm=function t(e){A(this,t),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},Qm=function(t){me(n,t);var e=ve(n);function n(i){A(this,n);var u;u=e.call(this,i),h(L(u),"title",void 0),h(L(u),"svcCode",void 0),h(L(u),"isOpenFilter",void 0),h(L(u),"filters",void 0);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var c;return u.filters=(c=i==null?void 0:i.filters)!==null&&c!==void 0?c:[],u}return n}(ht),Xm=function t(e){A(this,t);var n,i;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new ht(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(r){return new Gm(r)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(r){return new Qm(r)}))!==null&&a!==void 0?a:[]},Jm=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},Wt=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Vu=function t(e){var n=this;A(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:he();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var c,o=new t(l);(c=n.children)===null||c===void 0||c.push(o)}else{var d,v=new Kn(l);(d=n.children)===null||d===void 0||d.push(v)}}))},Kn=function t(e){A(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:he();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var r;this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new Jm(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Wt(e==null?void 0:e.rightVariableBo)},Zm=function t(e){A(this,t),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},le=function t(e){A(this,t),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},Hu=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},Ym=function t(e){A(this,t),h(this,"columnName",void 0),h(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function ju(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new Vu(l):new Kn(l)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new Vu(l):new Kn(l)}))!==null&&a!==void 0?a:[];var r;this.orders=(r=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(l){return new Ym(l)}))!==null&&r!==void 0?r:[]}var ne=function t(e){var n=this;A(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var r;this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(d){var v;(v=n.displayBoList)===null||v===void 0||v.push(new Hu(d))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var c;this.showOrder=(c=e==null?void 0:e.showOrder)!==null&&c!==void 0?c:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",ju.call(this,e)},qu=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},Ie=function t(e){A(this,t),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var r;this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default";var l;this.formKey=(l=e==null?void 0:e.formKey)!==null&&l!==void 0?l:void 0,this.formType=e==null?void 0:e.formType;var c;this.icon=(c=e==null?void 0:e.icon)!==null&&c!==void 0?c:"iconliulan1";var o;this.needConfirm=(o=e==null?void 0:e.needConfirm)!==null&&o!==void 0?o:!1;var d;this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal";var v;this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!==null&&v!==void 0?v:!0},vl=function t(e){A(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(r){return new Hu(r)}))!==null&&a!==void 0?a:[]},zn=function(t){me(n,t);var e=ve(n);function n(i){A(this,n);var u,a;u=e.call(this,i),h(L(u),"attributes",void 0);var r;return u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new vl(l)}))!==null&&r!==void 0?r:[],u}return n}(ne),pm=function(t){me(n,t);var e=ve(n);function n(i){A(this,n);var u,a;u=e.call(this,i),h(L(u),"attributes",void 0),h(L(u),"formCode",void 0);var r;u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(c){return new vl(c)}))!==null&&r!==void 0?r:[];var l;return u.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",u}return n}(ne),gl=function(t){me(n,t);var e=ve(n);function n(i){A(this,n);var u;u=e.call(this,i),h(L(u),"rootNode",void 0),h(L(u),"filterCode",void 0),u.rootNode=new Wt(i==null?void 0:i.rootNode);var a;return u.filterCode=(a=i==null?void 0:i.filterCode)!==null&&a!==void 0?a:"",u}return n}(zn),bl=function t(e){A(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(r){return new le(r)}))!==null&&a!==void 0?a:[]},_l=function(t){me(n,t);var e=ve(n);function n(i){A(this,n);var u;return u=e.call(this,i),h(L(u),"filters",void 0),h(L(u),"viewFilters",void 0),h(L(u),"orders",void 0),ju.call(L(u),i),u}return n}(bl),Cl=function(t){me(n,t);var e=ve(n);function n(i){A(this,n);var u;u=e.call(this,i),h(L(u),"mode",void 0),h(L(u),"multiple",void 0);var a;u.mode=(a=i==null?void 0:i.mode)!==null&&a!==void 0?a:"current";var r;return u.multiple=(r=i==null?void 0:i.multiple)!==null&&r!==void 0?r:!1,u}return n}(bl),wl=function t(e){A(this,t),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},ev=function t(e){A(this,t),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:he(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function Se(t){var e;return(e=t==null?void 0:t.map(function(n){return new ev(n)}))!==null&&e!==void 0?e:[]}var Uu=function t(){A(this,t)},tv=function(t){me(n,t);var e=ve(n);function n(i){A(this,n);var u;return u=e.call(this),h(L(u),"amount",void 0),h(L(u),"currency",void 0),u.amount=new _e(i==null?void 0:i.amount),u.currency=new _e(i==null?void 0:i.currency),u}return n}(Uu),nv=function t(e){A(this,t),h(this,"amount",void 0),h(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},iv=function(t){me(n,t);var e=ve(n);function n(i){A(this,n);var u;return u=e.call(this),h(L(u),"min",void 0),h(L(u),"max",void 0),u.min=new _e(i==null?void 0:i.min),u.max=new _e(i==null?void 0:i.max),u}return n}(Uu),uv=function t(e){A(this,t),h(this,"min",void 0),h(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},av=function t(e){A(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var r;this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},rv=function(t){me(n,t);var e=ve(n);function n(i){A(this,n);var u;return u=e.call(this),h(L(u),"result",void 0),h(L(u),"unit",void 0),u.result=new _e(i==null?void 0:i.result),u.unit=new _e(i==null?void 0:i.unit),u}return n}(Uu),lv=function t(e){A(this,t),h(this,"result",void 0),h(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},Wu;(function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"})(Wu||(Wu={}));var s;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste"})(s||(s={}));var Ku;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Ku||(Ku={}));var ke=function t(e){A(this,t),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},ov=function t(e){A(this,t);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:he(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new ml(r)}))!==null&&a!==void 0?a:[],ju.call(this,e)},cv=function t(e){A(this,t),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},sv=function t(e){A(this,t),h(this,"optCode",void 0),h(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},dv=function t(e){A(this,t);var n;h(this,"id",void 0),h(this,"name",void 0),h(this,"color",void 0),h(this,"filters",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:he();var u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var a;this.color=(a=e==null?void 0:e.color)!==null&&a!==void 0?a:"theme";var r;this.filters=(r=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new Vu(l):new Kn(l)}))!==null&&r!==void 0?r:[]},fv=function t(e){A(this,t),h(this,"id",void 0),h(this,"script",void 0),h(this,"color",void 0);var n;this.id=(n=e.id)!==null&&n!==void 0?n:he();var i;this.script=(i=e.script)!==null&&i!==void 0?i:"";var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme"};function hv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gn(t,e,n){return El()?Gn=Reflect.construct:Gn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&zt(o,r.prototype),o},Gn.apply(null,arguments)}function Oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kt(t){return Kt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kt(t)}function yv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zt(t,e)}function mv(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function vv(t,e){return e&&(gv(e)==="object"||typeof e=="function")?e:hv(t)}function zt(t,e){return zt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},zt(t,e)}function gv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Gu(t){var e=typeof Map=="function"?new Map:void 0;return Gu=function(i){if(i===null||!mv(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Gn(i,arguments,Kt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),zt(u,i)},Gu(t)}function El(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function bv(t){var e=El();return function(){var i=Kt(t),u;if(e){var a=Kt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return vv(this,u)}}var Q=function t(e){zu(this,t),Oe(this,"isHide",{type:"boolean"})},We=function(t){yv(n,t);var e=bv(n);function n(i){return zu(this,n),e.call(this)}return n}(Gu(Array)),X=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";zu(this,t),Oe(this,"isHide",void 0),Oe(this,"className",void 0),Oe(this,"style",void 0),Oe(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new cv(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};Oe(X,"mode",void 0),Oe(X,"Rules",Q),Oe(X,"RuntimeRules",We);function Ce(){return Ce=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Ce.apply(this,arguments)}function _v(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Qu(t){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qu(t)}function Qn(t,e){return Qn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Qn(t,e)}function Cv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Xn(t,e,n){return Cv()?Xn=Reflect.construct:Xn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&Qn(o,r.prototype),o},Xn.apply(null,arguments)}function wv(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Xu(t){var e=typeof Map=="function"?new Map:void 0;return Xu=function(i){if(i===null||!wv(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Xn(i,arguments,Qu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Qn(u,i)},Xu(t)}var Ev=/%[sdj%]/g,Il=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Il=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Ju(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function oe(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(Ev,function(l){if(l==="%%")return"%";if(i>=a)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(c){return"[Circular]"}break;default:return l}});return r}return u}function Iv(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function J(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Iv(e)&&typeof t=="string"&&!t)}function Sv(t,e,n){var i=[],u=0,a=t.length;function r(l){i.push.apply(i,l),u++,u===a&&n(i)}t.forEach(function(l){e(l,r)})}function Sl(t,e,n){var i=0,u=t.length;function a(r){if(r&&r.length){n(r);return}var l=i;i=i+1,l<u?e(t[l],a):n([])}a([])}function Av(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Al=function(t){_v(e,t);function e(n,i){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=n,u.fields=i,u}return e}(Xu(Error));function Tv(t,e,n,i){if(e.first){var u=new Promise(function(v,g){var C=function(I){return i(I),I.length?g(new Al(I,Ju(I))):v()},E=Av(t);Sl(E,n,C)});return u.catch(function(v){return v}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,c=0,o=[],d=new Promise(function(v,g){var C=function(_){if(o.push.apply(o,_),c++,c===l)return i(o),o.length?g(new Al(o,Ju(o))):v()};r.length||(i(o),v()),r.forEach(function(E){var _=t[E];a.indexOf(E)!==-1?Sl(_,n,C):Sv(_,n,C)})});return d.catch(function(v){return v}),d}function Tl(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function Bl(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=Ce(Ce({},t[n]),i):t[n]=i}}return t}function Rl(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||J(e,a||t.type))&&i.push(oe(u.messages.required,t.fullField))}function Bv(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(oe(u.messages.whitespace,t.fullField))}var Zu={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Gt={integer:function(e){return Gt.number(e)&&parseInt(e,10)===e},float:function(e){return Gt.number(e)&&!Gt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Gt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Zu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Zu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Zu.hex)}};function Rv(t,e,n,i,u){if(t.required&&e===void 0){Rl(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;a.indexOf(r)>-1?Gt[r](e)||i.push(oe(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(oe(u.messages.types[r],t.fullField,t.type))}function Pv(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,d=null,v=typeof e=="number",g=typeof e=="string",C=Array.isArray(e);if(v?d="number":g?d="string":C&&(d="array"),!d)return!1;C&&(o=e.length),g&&(o=e.replace(c,"_").length),a?o!==t.len&&i.push(oe(u.messages[d].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(oe(u.messages[d].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(oe(u.messages[d].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(oe(u.messages[d].range,t.fullField,t.min,t.max))}var yt="enum";function Dv(t,e,n,i,u){t[yt]=Array.isArray(t[yt])?t[yt]:[],t[yt].indexOf(e)===-1&&i.push(oe(u.messages[yt],t.fullField,t[yt].join(", ")))}function xv(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(oe(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(oe(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var B={required:Rl,whitespace:Bv,type:Rv,range:Pv,enum:Dv,pattern:xv};function Fv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(J(e,"string")&&!t.required)return n();B.required(t,e,i,a,u,"string"),J(e,"string")||(B.type(t,e,i,a,u),B.range(t,e,i,a,u),B.pattern(t,e,i,a,u),t.whitespace===!0&&B.whitespace(t,e,i,a,u))}n(a)}function kv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(J(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&B.type(t,e,i,a,u)}n(a)}function Ov(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),J(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function Mv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(J(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&B.type(t,e,i,a,u)}n(a)}function $v(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(J(e)&&!t.required)return n();B.required(t,e,i,a,u),J(e)||B.type(t,e,i,a,u)}n(a)}function Lv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(J(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function Nv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(J(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function Vv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();B.required(t,e,i,a,u,"array"),e!=null&&(B.type(t,e,i,a,u),B.range(t,e,i,a,u))}n(a)}function Hv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(J(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&B.type(t,e,i,a,u)}n(a)}var jv="enum";function qv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(J(e)&&!t.required)return n();B.required(t,e,i,a,u),e!==void 0&&B[jv](t,e,i,a,u)}n(a)}function Uv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(J(e,"string")&&!t.required)return n();B.required(t,e,i,a,u),J(e,"string")||B.pattern(t,e,i,a,u)}n(a)}function Wv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(J(e,"date")&&!t.required)return n();if(B.required(t,e,i,a,u),!J(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),B.type(t,l,i,a,u),l&&B.range(t,l.getTime(),i,a,u)}}n(a)}function Kv(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;B.required(t,e,i,a,u,r),n(a)}function Yu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(J(e,a)&&!t.required)return n();B.required(t,e,i,r,u,a),J(e,a)||B.type(t,e,i,r,u)}n(r)}function zv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(J(e)&&!t.required)return n();B.required(t,e,i,a,u)}n(a)}var Qt={string:Fv,method:kv,number:Ov,boolean:Mv,regexp:$v,integer:Lv,float:Nv,array:Vv,object:Hv,enum:qv,pattern:Uv,date:Wv,url:Yu,hex:Yu,email:Yu,required:Kv,any:zv};function pu(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var ea=pu();function Me(t){this.rules=null,this._messages=ea,this.define(t)}Me.prototype={messages:function(e){return e&&(this._messages=Bl(pu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function c(_){var I,m=[],w={};function T(R){if(Array.isArray(R)){var O;m=(O=m).concat.apply(O,R)}else m.push(R)}for(I=0;I<_.length;I++)T(_[I]);m.length?w=Ju(m):(m=null,w=null),l(m,w)}if(r.messages){var o=this.messages();o===ea&&(o=pu()),Bl(o,r.messages),r.messages=o}else r.messages=this.messages();var d,v,g={},C=r.keys||Object.keys(this.rules);C.forEach(function(_){d=u.rules[_],v=a[_],d.forEach(function(I){var m=I;typeof m.transform=="function"&&(a===e&&(a=Ce({},a)),v=a[_]=m.transform(v)),typeof m=="function"?m={validator:m}:m=Ce({},m),m.validator=u.getValidationMethod(m),m.field=_,m.fullField=m.fullField||_,m.type=u.getType(m),m.validator&&(g[_]=g[_]||[],g[_].push({rule:m,value:v,source:a,field:_}))})});var E={};return Tv(g,r,function(_,I){var m=_.rule,w=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");w=w&&(m.required||!m.required&&_.value),m.field=_.field;function T(de,$){return Ce(Ce({},$),{},{fullField:m.fullField+"."+de})}function R(de){de===void 0&&(de=[]);var $=de;if(Array.isArray($)||($=[$]),!r.suppressWarning&&$.length&&Me.warning("async-validator:",$),$.length&&m.message!==void 0&&($=[].concat(m.message)),$=$.map(Tl(m)),r.first&&$.length)return E[m.field]=1,I($);if(!w)I($);else{if(m.required&&!_.value)return m.message!==void 0?$=[].concat(m.message).map(Tl(m)):r.error&&($=[r.error(m,oe(r.messages.required,m.field))]),I($);var fe={};if(m.defaultField)for(var Nn in _.value)_.value.hasOwnProperty(Nn)&&(fe[Nn]=m.defaultField);fe=Ce(Ce({},fe),_.rule.fields);for(var Re in fe)if(fe.hasOwnProperty(Re)){var wu=Array.isArray(fe[Re])?fe[Re]:[fe[Re]];fe[Re]=wu.map(T.bind(null,Re))}var Vn=new Me(fe);Vn.messages(r.messages),_.rule.options&&(_.rule.options.messages=r.messages,_.rule.options.error=r.error),Vn.validate(_.value,_.rule.options||r,function(Nt){var Pe=[];$&&$.length&&Pe.push.apply(Pe,$),Nt&&Nt.length&&Pe.push.apply(Pe,Nt),I(Pe.length?Pe:null)})}}var O;m.asyncValidator?O=m.asyncValidator(m,_.value,R,_.source,r):m.validator&&(O=m.validator(m,_.value,R,_.source,r),O===!0?R():O===!1?R(m.message||m.field+" fails"):O instanceof Array?R(O):O instanceof Error&&R(O.message)),O&&O.then&&O.then(function(){return R()},function(de){return R(de)})},function(_){c(_)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Qt.hasOwnProperty(e.type))throw new Error(oe("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Qt.required:Qt[this.getType(e)]||!1}},Me.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Qt[e]=n},Me.warning=Il,Me.messages=ea,Me.validators=Qt;var Gv={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function Qv(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Me(t);return n.messages(Object.assign(Gv,e)),n}var Xv=new Rm;function ta(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Jv(t){if(Array.isArray(t))return t}function Zv(t){if(Array.isArray(t))return ta(t)}function Pl(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Dl(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Pl(a,i,u,r,l,"next",c)}function l(c){Pl(a,i,u,r,l,"throw",c)}r(void 0)})}}function Yv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function pv(t,e,n){return e&&xl(t.prototype,e),n&&xl(t,n),t}function k(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fl(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function kl(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function eg(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tg(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ol(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){k(t,u,n[u])})}return t}function ng(t){return Jv(t)||kl(t)||Ml(t)||eg()}function na(t){return Zv(t)||kl(t)||Ml(t)||tg()}function Ml(t,e){if(!!t){if(typeof t=="string")return ta(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ta(t,e)}}function $l(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var M=function(){function e(n){var i=this;Yv(this,e),k(this,"id",void 0),k(this,"name",void 0),k(this,"icon",void 0),k(this,"type",void 0),k(this,"controlType",void 0),k(this,"props",void 0),k(this,"setting",[]),k(this,"fieldType",void 0),k(this,"eventKeys",[]),k(this,"customEvents",[]),k(this,"parent",null),k(this,"slots",void 0),k(this,"slotPosition",void 0),k(this,"updateSetting",Nl),k(this,"removeSetting",Ll),this._callControlHooks("preInstance",n);var u=Fl(this,e)?this.constructor:void 0,a=u.controlName,r=u.controlIcon,l=u.controlType,c=u.controlFieldType,o=u.controlEventKeys,d=u.controlCustomEvents,v=u.name,g=u.setting,C=u.slots,E=u.slotPosition;a&&r&&l||pr("The ".concat(v," controlName,controlIcon,controlType is not define"));var _;this.id=(_=n==null?void 0:n.id)!==null&&_!==void 0?_:he(10),this.name=a,this.icon=r;var I;this.type=(I=n==null?void 0:n.type)!==null&&I!==void 0?I:l,this.props=new X(n==null?void 0:n.props,(Fl(this,e)?this.constructor:void 0).controlName);var m;this.controlType=(m=n==null?void 0:n.controlType)!==null&&m!==void 0?m:"base",this.setting=ye(g);var w;this.fieldType=(w=n==null?void 0:n.fieldType)!==null&&w!==void 0?w:c,this.eventKeys=ye(o),this.customEvents=ye(d),this.slots=ye(C),this.slotPosition=ye(E),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return pv(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var r,l=ng(u),c=l[0],o=l.slice(1);return(r=Xv).emit.apply(r,[c,this].concat(na(o)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),ym(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return Dl(function(){var u,a,r;return $l(this,function(l){switch(l.label){case 0:return u=Ol({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return a=l.sent(),r=a[a.length-1],[2,r===!1?void 0:r]}})})()}},{key:"validate",value:function(i,u){var a=this;return Dl(function(){var r,l,c,o;return $l(this,function(d){switch(d.label){case 0:return[4,a.preValidate()];case 1:r=d.sent(),l=r!==void 0?r:Ol({},a.rules),Array.isArray(u)&&u.forEach(function(v){l.hasOwnProperty(v)&&delete l[v]}),c=Qv(l,i),d.label=2;case 2:return d.trys.push([2,4,,5]),[4,c.validate(a.props)];case 3:return d.sent(),[2,!0];case 4:throw o=d.sent(),o.control||(o.control=a),o;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,r=this.type,l=this.props,c=l.dataBind,o=l.datasourceBind,d=l.optionConfig,v=l.caption,g=l.required,C=l.maxLength,E=l.options,_=l.encrypted,I=l.encryptedMode;if(!(!u&&!c&&!o)){var m={parentId:i,fieldType:u,controlId:a,caption:v,type:r,props:{}};switch(c&&(m.dataBind=c),d){case"datasource":case void 0:o&&(m.datasourceBind=o);break;case"custom":m.props.options=E;break}return g!==void 0&&(m.required=g),C!==void 0&&(m.maxLength=C),_!==void 0&&(m.encrypted=_),I!==void 0&&(m.encryptedMode=I),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ye(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,na(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();k(M,"mode","Designer"),k(M,"slots",void 0),k(M,"slotPosition",void 0),k(M,"controlName","\u63A7\u4EF6"),k(M,"controlIcon","icon"),k(M,"controlType","control"),k(M,"controlFieldType",void 0),k(M,"controlEventKeys",[]),k(M,"controlCustomEvents",[]),k(M,"setting",[]),k(M,"__is_control__",!0),k(M,"removeSettingItem",Ll),k(M,"updateSettingItem",Nl);function Ll(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",r=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(o){return o.key===(a?i.key:i)});if(r!==-1){var l,c;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(o){return!i.hideItems.includes(o)}):e.setting.splice(r,1),a&&!(!((c=e.setting[r].showItems)===null||c===void 0)&&c.length)&&e.setting.splice(r,1)}})}function Nl(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(o){return o.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if(typeof e=="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var c;(c=a.showItems).push.apply(c,na(e.showItems))}}}})}function ig(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function ug(t,e,n){return e&&Vl(t.prototype,e),n&&Vl(t,n),t}function ce(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ag(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Z=function(){function e(n){ig(this,e),ce(this,"id",void 0),ce(this,"type",void 0),ce(this,"controlType",void 0),ce(this,"props",void 0),ce(this,"fieldType",void 0),ce(this,"customEvents",[]),ce(this,"pageStatus",void 0),ce(this,"parent",null);var i=ag(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||pr("The ".concat(r," controlType is not define"));var c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:he(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new X(n==null?void 0:n.props),this.customEvents=l;var d;this.controlType=(d=n==null?void 0:n.controlType)!==null&&d!==void 0?d:"base";var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:Ku.UNKNOWN}return ug(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();ce(Z,"mode","Runtime"),ce(Z,"controlType","control"),ce(Z,"controlFieldType",void 0),ce(Z,"__is_control__",!0),ce(Z,"controlCustomEvents",[]);function ia(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=_m(a);a.length!==r.length?u(f.getMessage("optionIdIsRepeat")):u()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function Jn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}function rg(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function V(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function pn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ua(t,e)}function lg(t,e){return e&&(og(e)==="object"||typeof e=="function")?e:V(t)}function ua(t,e){return ua=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ua(t,e)}function og(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ei(t){var e=cg();return function(){var i=Yn(t),u;if(e){var a=Yn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return lg(this,u)}}var Y=function(t){pn(n,t);var e=ei(n);function n(i){Zn(this,n);var u;u=e.call(this,i),H(V(u),"dataBind",{}),H(V(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),H(V(u),"isHideCaption",{type:"boolean"}),H(V(u),"labelPosition",{type:"enum",enum:["top","left"]}),H(V(u),"defaultState",{type:"enum",enum:["default","readonly"]}),H(V(u),"required",{type:"boolean"}),H(V(u),"captionTip",{type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")});var a={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(rg(i.dataBind))u.dataBind={type:"object",required:!0,fields:ye(a),message:f.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){r.fields[l]={type:"object",required:!0,fields:ye(a),message:f.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(Q),N=function(t){pn(n,t);var e=ei(n);function n(i){Zn(this,n);var u;u=e.call(this,i);var a=i.isHide?!1:i.required;return a&&u.push({type:"string",required:a,message:i.requiredMessage!==""?i.requiredMessage:f.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(We),D=function(t){pn(n,t);var e=ei(n);function n(i){Zn(this,n);var u;u=e.call(this,i),H(V(u),"caption",void 0),H(V(u),"isHideCaption",void 0),H(V(u),"isShowCaptionTip",void 0),H(V(u),"captionTip",void 0),H(V(u),"labelPosition",void 0),H(V(u),"dataBind",void 0),H(V(u),"defaultValue",void 0),H(V(u),"placeholder",void 0),H(V(u),"defaultState",void 0),H(V(u),"required",void 0),H(V(u),"requiredMessage",void 0);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;u.isHideCaption=(r=i==null?void 0:i.isHideCaption)!==null&&r!==void 0?r:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;u.captionTip=(c=i==null?void 0:i.captionTip)!==null&&c!==void 0?c:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var d;u.labelPosition=(d=i==null?void 0:i.labelPosition)!==null&&d!==void 0?d:"top";var v;u.placeholder=(v=i==null?void 0:i.placeholder)!==null&&v!==void 0?v:"";var g;u.required=(g=i==null?void 0:i.required)!==null&&g!==void 0?g:!1;var C;u.requiredMessage=(C=i==null?void 0:i.requiredMessage)!==null&&C!==void 0?C:"",u.dataBind=new _e(i==null?void 0:i.dataBind);var E;return u.defaultValue=(E=i==null?void 0:i.defaultValue)!==null&&E!==void 0?E:"",u}return n}(X);H(D,"Rules",Y),H(D,"RuntimeRules",N);var mt=function(t){pn(n,t);var e=ei(n);function n(i){Zn(this,n);var u;return u=e.call(this,i),H(V(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),H(V(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),H(V(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),ia.call(V(u),i),u}return n}(Y);function aa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ti(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(t)}function dg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ra(t,e)}function fg(t,e){return e&&(hg(e)==="object"||typeof e=="function")?e:aa(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function hg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function mg(t){var e=yg();return function(){var i=ni(t),u;if(e){var a=ni(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return fg(this,u)}}var x=function(t){dg(n,t);var e=mg(n);function n(i){sg(this,n);var u;return u=e.call(this,i),ti(aa(u),"controlType","form"),ti(aa(u),"props",void 0),u.props=new D(i==null?void 0:i.props),u}return n}(M);ti(x,"controlEventKeys",["on_change","on_focus","on_blur"]),ti(x,"controlCustomAttributes",void 0);function ii(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function la(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function gg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oa(t,e)}function bg(t,e){return e&&(_g(e)==="object"||typeof e=="function")?e:ii(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function _g(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Cg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function wg(t){var e=Cg();return function(){var i=ui(t),u;if(e){var a=ui(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return bg(this,u)}}var F=function(t){gg(n,t);var e=wg(n);function n(i){vg(this,n);var u;return u=e.call(this,i),la(ii(u),"controlType","form"),la(ii(u),"props",void 0),la(ii(u),"value",void 0),u.props=new D(i==null?void 0:i.props),u}return n}(Z);function Eg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ig(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function Sg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ca(t,e)}function Ag(t,e){return e&&(Tg(e)==="object"||typeof e=="function")?e:Eg(t)}function ca(t,e){return ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ca(t,e)}function Tg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Rg(t){var e=Bg();return function(){var i=ai(t),u;if(e){var a=ai(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ag(this,u)}}var j=function(t){Sg(n,t);var e=Rg(n);function n(i){return Ig(this,n),e.call(this,i)}return n}(X);function sa(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Pg(t){if(Array.isArray(t))return sa(t)}function Ke(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hl(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Dg(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Hl(a,i,u,r,l,"next",c)}function l(c){Hl(a,i,u,r,l,"throw",c)}r(void 0)})}}function xg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Fg(t,e,n){return e&&jl(t.prototype,e),n&&jl(t,n),t}function $e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?vt=Reflect.get:vt=function(u,a,r){var l=jg(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r||u):c.value}},vt(t,e,n||t)}function Le(t){return Le=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Le(t)}function kg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&da(t,e)}function Og(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Mg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function $g(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Lg(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){$e(t,u,n[u])})}return t}function Ng(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function Vg(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Ng(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Hg(t,e){return e&&(qg(e)==="object"||typeof e=="function")?e:Ke(t)}function da(t,e){return da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},da(t,e)}function jg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Le(t),t!==null););return t}function ql(t){return Pg(t)||Mg(t)||Ug(t)||$g()}function qg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ug(t,e){if(!!t){if(typeof t=="string")return sa(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return sa(t,e)}}function Wg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Kg(t){var e=Wg();return function(){var i=Le(t),u;if(e){var a=Le(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Hg(this,u)}}function zg(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var Gg=1e4,W=function(e){kg(i,e);var n=Kg(i);function i(u){xg(this,i);var a;a=n.call(this,u),$e(Ke(a),"controlType","layout"),$e(Ke(a),"children",void 0),$e(Ke(a),"excludes",void 0),$e(Ke(a),"childrenMaxLength",void 0),$e(Ke(a),"props",void 0);var r=Og(this,i)?this.constructor:void 0,l=r.excludes,c=r.childrenMaxLength;return a.props=new j(u==null?void 0:u.props),be(Ke(a),"children",u==null?void 0:u.children,void 0,"Designer"),a.excludes=ye(l),a.childrenMaxLength=c,a}return Fg(i,[{key:"judgeExcludesChildren",value:function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)}},{key:"judgeJoinChildren",value:function(a){var r=this.judgeExcludesChildren(a);return r&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(a,r){var l=this,c=this,o=function(){return vt(Le(i.prototype),"validate",l)};return Dg(function(){return zg(this,function(d){switch(d.label){case 0:return[4,o().call(c,a,r)];case 1:return d.sent(),[4,Promise.all(c.children.map(function(v){return v.validate(a,r)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=vt(Le(i.prototype),"toDataBindModel",this).call(this),l=r?[r]:[];return this.children.reduce(function(c,o){var d=o.toDataBindModel(a);if(Array.isArray(d)){var v=d.filter(function(g){return!!g});return ql(c).concat(ql(v))}return d&&c.push(d),c},l)}},{key:"toSchema",value:function(){var a=vt(Le(i.prototype),"toSchema",this).call(this),r=this.children.map(function(l){var c=l.toSchema();return c});return Vg(Lg({},a),{children:r})}}]),i}(M);$e(W,"excludes",!1),$e(W,"childrenMaxLength",Gg);function Xt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function Xg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ha(t,e)}function Jg(t,e){return e&&(Zg(e)==="object"||typeof e=="function")?e:Xt(t)}function ha(t,e){return ha=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ha(t,e)}function Zg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Yg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function pg(t){var e=Yg();return function(){var i=ri(t),u;if(e){var a=ri(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Jg(this,u)}}var K=function(t){Xg(n,t);var e=pg(n);function n(i){Qg(this,n);var u;return u=e.call(this,i),fa(Xt(u),"controlType","layout"),fa(Xt(u),"children",void 0),fa(Xt(u),"props",void 0),u.props=new j(i==null?void 0:i.props),be(Xt(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return n}(Z);function Ae(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function e0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function t0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ya(t,e)}function n0(t,e){return e&&(i0(e)==="object"||typeof e=="function")?e:Ae(t)}function ya(t,e){return ya=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ya(t,e)}function i0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function u0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function a0(t){var e=u0();return function(){var i=li(t),u;if(e){var a=li(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return n0(this,u)}}var oi=function(t){t0(n,t);var e=a0(n);function n(i,u,a){e0(this,n);var r;r=e.call(this,u),gt(Ae(r),"headers",void 0),gt(Ae(r),"footers",void 0),gt(Ae(r),"pageIndex",void 0),gt(Ae(r),"pageSize",void 0),gt(Ae(r),"pageSizeOptions",void 0),gt(Ae(r),"totalCount",void 0),be(Ae(r),"headers",u==null?void 0:u.headers,i,a),be(Ae(r),"footers",u==null?void 0:u.footers,i);var l;r.pageIndex=(l=u==null?void 0:u.pageIndex)!==null&&l!==void 0?l:1;var c;r.pageSize=(c=u==null?void 0:u.pageSize)!==null&&c!==void 0?c:20;var o;r.pageSizeOptions=(o=u==null?void 0:u.pageSizeOptions)!==null&&o!==void 0?o:[20];var d;return r.totalCount=(d=u==null?void 0:u.totalCount)!==null&&d!==void 0?d:0,r}return n}(X);function ma(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function r0(t){if(Array.isArray(t))return ma(t)}function ci(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ul(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function l0(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Ul(a,i,u,r,l,"next",c)}function l(c){Ul(a,i,u,r,l,"throw",c)}r(void 0)})}}function o0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function c0(t,e,n){return e&&Wl(t.prototype,e),n&&Wl(t,n),t}function si(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?bt=Reflect.get:bt=function(u,a,r){var l=m0(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r||u):c.value}},bt(t,e,n||t)}function Ne(t){return Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ne(t)}function s0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&va(t,e)}function d0(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function f0(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Kl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){si(t,u,n[u])})}return t}function h0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function zl(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):h0(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function y0(t,e){return e&&(v0(e)==="object"||typeof e=="function")?e:ci(t)}function va(t,e){return va=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},va(t,e)}function m0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ne(t),t!==null););return t}function Gl(t){return r0(t)||d0(t)||g0(t)||f0()}function v0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function g0(t,e){if(!!t){if(typeof t=="string")return ma(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ma(t,e)}}function b0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function _0(t){var e=b0();return function(){var i=Ne(t),u;if(e){var a=Ne(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return y0(this,u)}}function C0(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var ga=function(t){s0(n,t);var e=_0(n);function n(i){o0(this,n);var u;return u=e.call(this,i),si(ci(u),"controlType","list"),si(ci(u),"props",void 0),u.props=new oi(ci(u),i==null?void 0:i.props,"Designer"),u}return c0(n,[{key:"validate",value:function(u,a){var r=this,l=this,c=function(){return bt(Ne(n.prototype),"validate",r)};return l0(function(){return C0(this,function(o){switch(o.label){case 0:return[4,c().call(l,u)];case 1:return o.sent(),[4,Promise.all(l.props.headers.map(function(d){return d.validate(u,a)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=bt(Ne(n.prototype),"toDataBindModel",this).call(this),a=u?[u]:[],r=this.id;return this.props.headers.reduce(function(l,c){var o=c.toDataBindModel(r);if(Array.isArray(o)){var d=o.filter(function(v){return!!v});return Gl(l).concat(Gl(d))}return o&&l.push(o),l},a)}},{key:"toSchema",value:function(){var u,a,r=bt(Ne(n.prototype),"toSchema",this).call(this),l=this.props.headers.map(function(o){return o.toSchema()}),c=(a=this.props)===null||a===void 0||(u=a.footers)===null||u===void 0?void 0:u.map(function(o){if(o)return o.toSchema()});return zl(Kl({},r),{props:zl(Kl({},this.props),{headers:l,footers:c})})}}]),n}(M);si(ga,"controlFieldType",b.LIST);function _t(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ql(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function E0(t,e,n){return e&&Ql(t.prototype,e),n&&Ql(t,n),t}function ba(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function I0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_a(t,e)}function S0(t,e){return e&&(A0(e)==="object"||typeof e=="function")?e:_t(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function A0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function T0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function B0(t){var e=T0();return function(){var i=di(t),u;if(e){var a=di(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return S0(this,u)}}var Xl=function(t){I0(n,t);var e=B0(n);function n(i){w0(this,n);var u;return u=e.call(this,i),ba(_t(u),"controlType","list"),ba(_t(u),"children",void 0),ba(_t(u),"props",void 0),u.props=new oi(_t(u),i==null?void 0:i.props,"Runtime"),be(_t(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return E0(n,[{key:"length",get:function(){return this.children.length}}]),n}(Z);function p(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ca(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fi(t){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(t)}function wa(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ea(t,e)}function R0(t,e){return e&&(P0(e)==="object"||typeof e=="function")?e:p(t)}function Ea(t,e){return Ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ea(t,e)}function P0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function D0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ia(t){var e=D0();return function(){var i=fi(t),u;if(e){var a=fi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return R0(this,u)}}var we=function(t){wa(n,t);var e=Ia(n);function n(i){Ca(this,n);var u;return u=e.call(this,i),ie(p(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),ie(p(u),"width",{type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(Q),z=function(t){wa(n,t);var e=Ia(n);function n(i){Ca(this,n);var u;u=e.call(this,i),ie(p(u),"widthType",void 0),ie(p(u),"width",void 0),ie(p(u),"caption",void 0),ie(p(u),"dataBind",void 0),ie(p(u),"autoWidth",void 0),ie(p(u),"fixed",void 0),ie(p(u),"sort",void 0),ie(p(u),"align",void 0),ie(p(u),"colSpan",void 0),ie(p(u),"autoHeight",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.autoWidth=new yl(i==null?void 0:i.autoWidth),u.dataBind=new _e(i==null?void 0:i.dataBind);var c;u.sort=(c=i==null?void 0:i.sort)!==null&&c!==void 0?c:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(X);ie(z,"Rules",we);var Jl=function(t){wa(n,t);var e=Ia(n);function n(i){Ca(this,n);var u;return u=e.call(this,i),ie(p(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),ie(p(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),ie(p(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),ia.call(p(u),i),u}return n}(we);function Sa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function x0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hi(t){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(t)}function F0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Aa(t,e)}function k0(t,e){return e&&(O0(e)==="object"||typeof e=="function")?e:Sa(t)}function Aa(t,e){return Aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Aa(t,e)}function O0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function M0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function $0(t){var e=M0();return function(){var i=hi(t),u;if(e){var a=hi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return k0(this,u)}}var ee=function(t){F0(n,t);var e=$0(n);function n(i){x0(this,n);var u;return u=e.call(this,i),Zl(Sa(u),"controlType","column"),Zl(Sa(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(M);function Ta(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yi(t){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yi(t)}function N0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ba(t,e)}function V0(t,e){return e&&(H0(e)==="object"||typeof e=="function")?e:Ta(t)}function Ba(t,e){return Ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ba(t,e)}function H0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function j0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function q0(t){var e=j0();return function(){var i=yi(t),u;if(e){var a=yi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return V0(this,u)}}var te=function(t){N0(n,t);var e=q0(n);function n(i){L0(this,n);var u;return u=e.call(this,i),Yl(Ta(u),"controlType","column"),Yl(Ta(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(Z);function pl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function U0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function W0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mi(t){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(t)}function K0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ra(t,e)}function z0(t,e){return e&&(G0(e)==="object"||typeof e=="function")?e:pl(t)}function Ra(t,e){return Ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ra(t,e)}function G0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Q0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function X0(t){var e=Q0();return function(){var i=mi(t),u;if(e){var a=mi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return z0(this,u)}}var Pa=function(t){K0(n,t);var e=X0(n);function n(i){U0(this,n);var u;return u=e.call(this,i),W0(pl(u),"dataBind",void 0),u.dataBind=new _e(i==null?void 0:i.dataBind),u}return n}(j);function Da(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function J0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vi(t){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vi(t)}function Z0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xa(t,e)}function Y0(t,e){return e&&(p0(e)==="object"||typeof e=="function")?e:Da(t)}function xa(t,e){return xa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xa(t,e)}function p0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function tb(t){var e=eb();return function(){var i=vi(t),u;if(e){var a=vi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Y0(this,u)}}var nb=function(t){Z0(n,t);var e=tb(n);function n(i){J0(this,n);var u;return u=e.call(this,i),eo(Da(u),"controlType","search"),eo(Da(u),"props",void 0),u.props=new Pa(i==null?void 0:i.props),u}return n}(W);function Fa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ib(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function to(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gi(t){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(t)}function ub(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ka(t,e)}function ab(t,e){return e&&(rb(e)==="object"||typeof e=="function")?e:Fa(t)}function ka(t,e){return ka=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ka(t,e)}function rb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ob(t){var e=lb();return function(){var i=gi(t),u;if(e){var a=gi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ab(this,u)}}var cb=function(t){ub(n,t);var e=ob(n);function n(i){ib(this,n);var u;return u=e.call(this,i),to(Fa(u),"controlType","search"),to(Fa(u),"props",void 0),u.props=new Pa(i==null?void 0:i.props),u}return n}(K);function sb(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function db(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bi(t){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(t)}function fb(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Oa(t,e)}function hb(t,e){return e&&(yb(e)==="object"||typeof e=="function")?e:sb(t)}function Oa(t,e){return Oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Oa(t,e)}function yb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function vb(t){var e=mb();return function(){var i=bi(t),u;if(e){var a=bi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return hb(this,u)}}var Ma=function(t){fb(n,t);var e=vb(n);function n(i){return db(this,n),e.call(this,i)}return n}(j);function $a(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function no(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _i(t){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_i(t)}function bb(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&La(t,e)}function _b(t,e){return e&&(Cb(e)==="object"||typeof e=="function")?e:$a(t)}function La(t,e){return La=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},La(t,e)}function Cb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Eb(t){var e=wb();return function(){var i=_i(t),u;if(e){var a=_i(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return _b(this,u)}}var Ib=function(t){bb(n,t);var e=Eb(n);function n(i){gb(this,n);var u;return u=e.call(this,i),no($a(u),"controlType","wrap"),no($a(u),"props",void 0),u.props=new Ma(i==null?void 0:i.props),u}return n}(W);function Na(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Sb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function io(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ci(t){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ci(t)}function Ab(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Va(t,e)}function Tb(t,e){return e&&(Bb(e)==="object"||typeof e=="function")?e:Na(t)}function Va(t,e){return Va=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Va(t,e)}function Bb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Rb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Pb(t){var e=Rb();return function(){var i=Ci(t),u;if(e){var a=Ci(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Tb(this,u)}}var Db=function(t){Ab(n,t);var e=Pb(n);function n(i){Sb(this,n);var u;return u=e.call(this,i),io(Na(u),"controlType","wrap"),io(Na(u),"props",void 0),u.props=new Ma(i==null?void 0:i.props),u}return n}(K);function Ve(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class Ha extends X{constructor(e){var n,i,u,a,r,l;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(r=e==null?void 0:e.content)!=null?r:"\u8BF4\u660E\u6587\u5B57",this.align=(l=e==null?void 0:e.align)!=null?l:""}}class uo extends M{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}uo.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class xb extends Z{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"text"}}var ao={Designer:uo,Runtime:xb,Property:Ha};class ja extends X{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class qa extends M{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}qa.controlEventKeys=["on_click"],qa.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class Fb extends Z{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"link"}}var ro={Designer:qa,Runtime:Fb,Property:ja};class re extends X{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.optObj=new sv((d=e==null?void 0:e.optObj)!=null?d:{})}}class ue extends M{constructor(e){super(e),this.props=new re(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}ue.slots=["grid-table-toolbar-slot","action-bar-slot",Kr.DEFAULT],ue.controlEventKeys=["on_click"],ue.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class se extends Z{constructor(e){super(e),this.props=new re(e==null?void 0:e.props)}static get controlType(){return"button"}}var lo={Designer:ue,Runtime:se,Property:re},He=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(He||{}),oo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(oo||{}),co=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(co||{});class wi{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:he(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Ua=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Ua||{});class Ei{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:he(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Wa=(t=>(t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line",t))(Wa||{});class Ka{constructor(e){var n,i,u,a,r,l,c,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new Wt((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new Wt((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(c=e==null?void 0:e.company)!=null?c:new Wt((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class so{constructor(e){var n,i,u,a,r,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(c=>new Ka(c)))!=null?u:[new Ka],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class Jt{constructor(e){var n,i,u,a,r,l,c;this.id=(n=e==null?void 0:e.id)!=null?n:he(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(c=e==null?void 0:e.active)!=null?c:!1}}class za{constructor(e){var n,i;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(i=e==null?void 0:e.text)!=null?i:""}}class fo{constructor(e){var n,i,u,a;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new za(e==null?void 0:e.watermark),this.autoRename=new za(e==null?void 0:e.autoRename)}}class ho{constructor(e){this.dataCode=e.dataCode}}class yo{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new ho(a)))!=null?u:[]}}class mo{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new Jt(a)))!=null?u:[new Jt({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const vo=480;function Zt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class go{constructor(e){var n,i,u,a,r;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(r=e.rules)!=null?r:[]}}class bo{constructor(e){var n,i,u;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(i=e==null?void 0:e.justifyContent)!=null?i:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var _o=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(_o||{}),Ga=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Ga||{}),Ii=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Ii||{}),je=(t=>(t.ALL="all",t.ASSIGN="assign",t))(je||{}),Qa=(t=>(t.ALL="all",t.ADMIN="admin",t))(Qa||{});class Xa extends X{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Wa.SOLID}}class Co extends M{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Co.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class kb extends Z{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"divider"}}var wo={Designer:Co,Runtime:kb,Property:Xa};class Ob extends Q{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(He.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")}},message:f.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:f.getMessage("pleaseSelectOneField")})}}class Si extends X{constructor(e){var n,i,u,a;super(e),this.dataBind=new _e(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[He.ShowSubmitUser,He.ShowSubmitDept,He.ShowSubmitTime,He.ShowCurrentApprovar,He.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Ct==null?void 0:Ct.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}Si.Rules=Ob;class Ct extends M{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}Ct.controlFieldType=b.AUTO_NUMBER,Ct.setting=[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Mb extends Z{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"title"}}var Eo={Designer:Ct,Runtime:Mb,Property:Si};class $b extends Q{constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class Ai extends re{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:wt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:wt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}Ai.Rules=$b;class wt extends ue{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}wt.slots=["grid-table-toolbar-slot"],wt.controlEventKeys=["on_click","on_click_finish"],wt.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Lb extends se{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Io={Designer:wt,Runtime:Lb,Property:Ai};class Nb extends Q{constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class Ti extends re{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Et.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Et.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}Ti.Rules=Nb;class Et extends ue{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}Et.slots=["grid-table-toolbar-slot"],Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Vb extends se{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var So={Designer:Et,Runtime:Vb,Property:Ti};class Ja extends re{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:It.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:It.controlIcon}}class It extends ue{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}It.slots=["grid-table-toolbar-slot"],It.controlEventKeys=["on_click"],It.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Hb extends se{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Ao={Designer:It,Runtime:Hb,Property:Ja};class Za extends re{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:St.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:St.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(r=(a=e==null?void 0:e.templateList)==null?void 0:a.map(l=>new Jt(l)))!=null?r:[new Jt({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class St extends ue{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}St.slots=["grid-table-toolbar-slot"],St.controlEventKeys=["on_click","on_click_finish"],St.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class jb extends se{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var To={Designer:St,Runtime:jb,Property:Za};class Ya extends re{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:At.controlIcon}}class At extends ue{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}At.slots=["grid-table-toolbar-slot"],At.controlEventKeys=["on_click"],At.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class qb extends se{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Bo={Designer:At,Runtime:qb,Property:Ya};class Ub{constructor(e){this.dataCode=e.dataCode}}class pa extends re{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Tt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Tt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(l=>new Ub(l)))!=null?a:[],this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system"}}class Tt extends ue{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Tt.slots=["grid-table-toolbar-slot"],Tt.controlEventKeys=["on_click","on_click_finish"],Tt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class Wb extends se{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Ro={Designer:Tt,Runtime:Wb,Property:pa};function Bi(){return{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:f.getMessage("pleaseSelectControl")}}}}}}class Kb extends Q{constructor(e){super(e),this.fillPayload={type:"object",fields:De({},Bi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:De({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Bi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class Ri extends re{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Yt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Yt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new _l(e==null?void 0:e.fillPayload),this.formBind=new zm(e==null?void 0:e.formBind),this.fillBack=new Cl(e==null?void 0:e.fillBack)}}Ri.Rules=Kb;class Yt extends ue{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Yt.controlEventKeys=["on_click","on_click_finish"],Yt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class zb extends se{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Po={Designer:Yt,Runtime:zb,Property:Ri};class Gb extends Q{constructor(e){super(e),this.fillPayload={type:"object",fields:De({},Bi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:De({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Bi())}}}class Pi extends re{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:pt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:pt.controlIcon,this.fillPayload=new _l(e==null?void 0:e.fillPayload),this.listPageBind=new Nu(e==null?void 0:e.listPageBind),this.fillBack=new Cl(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new qu(e==null?void 0:e.selectedContentConfig)}}Pi.Rules=Gb;class pt extends ue{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}pt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],pt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Qb extends se{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Do={Designer:pt,Runtime:Qb,Property:Pi};class Xb extends Q{constructor(e){super(e)}}class Jb extends We{constructor(e){super(e)}}class en extends X{constructor(e){super(e)}}en.Rules=Xb,en.RuntimeRules=Jb;class xo extends M{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}xo.setting=[];class Zb extends Z{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Fo={Designer:xo,Runtime:Zb,Property:en};class Yb extends Q{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:f.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Di extends X{constructor(e){var n,i,u,a,r,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}Di.Rules=Yb;class ko extends M{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}ko.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class pb extends Z{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Oo={Designer:ko,Runtime:pb,Property:Di};class e_ extends Q{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:f.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class xi extends X{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new ov(a)))!=null?u:[]}}xi.Rules=e_;class Mo extends M{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}Mo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class t_ extends Z{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var $o={Designer:Mo,Runtime:t_,Property:xi};class n_ extends Q{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:f.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Fi extends re{constructor(e){var n,i,u,a,r,l,c,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Bt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Bt.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:Bt.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new le(g)))!=null?v:[]}}Fi.Rules=n_;class Bt extends ue{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Bt.controlEventKeys=["on_click","on_click_finish"],Bt.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class i_ extends se{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Lo={Designer:Bt,Runtime:i_,Property:Fi};class u_ extends Q{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class ki extends re{constructor(e){var n,i,u,a,r,l,c,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Rt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Rt.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:Rt.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new le(g)))!=null?v:[]}}ki.Rules=u_;class Rt extends ue{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Rt.controlEventKeys=["on_click","on_click_finish"],Rt.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class a_ extends se{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var No={Designer:Rt,Runtime:a_,Property:ki};class r_ extends Q{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Oi extends re{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Pt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Pt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new go(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Oi.Rules=r_;class Pt extends ue{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Pt.slots=["grid-table-toolbar-slot"],Pt.controlEventKeys=["on_click","on_click_finish"],Pt.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class l_ extends se{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Vo={Designer:Pt,Runtime:l_,Property:Oi};class er extends re{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Dt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Dt.controlIcon}}class Dt extends ue{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Dt.slots=["grid-table-toolbar-slot"],Dt.controlEventKeys=["on_click"],Dt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class o_ extends se{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Ho={Designer:Dt,Runtime:o_,Property:er};class c_ extends Q{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")})}}class Mi extends X{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1}}Mi.Rules=c_;class $i extends M{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}$i.controlEventKeys=["on_click"],$i.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class s_ extends Z{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var jo={Designer:$i,Runtime:s_,Property:Mi};class tr extends X{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:xt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:xt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class xt extends M{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}xt.slots=["grid-table-toolbar-slot"],xt.controlEventKeys=["on_click"],xt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class d_ extends Z{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var qo={Designer:xt,Runtime:d_,Property:tr},f_=Object.freeze({__proto__:null,Text:ao,Link:ro,Button:lo,Divider:wo,Title:Eo,CreateFormListButton:Io,BatchSubmissionListButton:So,SubmissionRecordListButton:Ao,ExportListButton:To,ExportRecordListButton:Bo,ImportRecordListButton:Ro,FormSelectButton:Po,ListSelectButton:Do,Pagination:Fo,Dashboard:Oo,ListViewSelect:$o,TextOcrButton:Lo,InvoiceCheckButton:No,BatchPrintListButton:Vo,BatchPrintRecordListButton:Ho,OperationButton:jo,BatchDeleteButton:qo});class h_ extends Y{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=Zt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class y_ extends N{constructor(e){super(e),this.push({type:"string",message:f.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Zt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Ft extends D{constructor(e){var n,i,u,a,r,l,c;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new wl(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:kt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(c=e==null?void 0:e.encryptedMode)!=null?c:""}}Ft.Rules=h_,Ft.RuntimeRules=y_;class kt extends x{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}kt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],kt.controlFieldType=b.VARCHAR,kt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Uo extends F{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"input"}}Uo.controlFieldType=b.VARCHAR;var Wo={Designer:kt,Runtime:Uo,Property:Ft};class m_ extends mt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class v_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class tn extends D{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,C,E;super(e),this.options=Se((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(c=e==null?void 0:e.limitMax)!=null?c:"unlimited",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:nn.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var I;(I=this.multistageFilling)==null||I.push(new le(_))}))}}tn.Rules=m_,tn.RuntimeRules=v_;class nn extends x{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}nn.controlEventKeys=["on_change","on_click"],nn.controlFieldType=b.ARRAY,nn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Ko extends F{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Ko.controlFieldType=b.ARRAY;var zo={Designer:nn,Runtime:Ko,Property:tn};class g_ extends mt{constructor(e){super(e)}}class Li extends D{constructor(e){var n,i,u,a,r,l,c,o,d,v,g;super(e),this.options=Se((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(c=e==null?void 0:e.optionsFormat)!=null?c:"horizontal",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:un.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var E;(E=this.multistageFilling)==null||E.push(new le(C))}))}}Li.Rules=g_;class un extends x{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}un.controlEventKeys=["on_change","on_click"],un.controlFieldType=b.VARCHAR,un.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Go extends F{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"radio"}}Go.controlFieldType=b.VARCHAR;var Qo={Designer:un,Runtime:Go,Property:Li};class b_ extends Y{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:f.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=Zt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class __ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Zt(e.regularRules.expression),message:e.regularRules.errMessage})}}class an extends D{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,C,E;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(c=e==null?void 0:e.showUpperCase)!=null?c:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(v=e==null?void 0:e.unit)!=null?v:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:rn.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:"\u8BF7\u8F93\u5165",this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:"",this.regularRules=new wl(e==null?void 0:e.regularRules)}}an.Rules=b_,an.RuntimeRules=__;class rn extends x{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}rn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],rn.controlFieldType=b.DECIMAL,rn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Xo extends F{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"number"}}Xo.controlFieldType=b.DECIMAL;var Jo={Designer:rn,Runtime:Xo,Property:an};class nr extends D{constructor(e){var n,i,u,a,r,l,c,o,d,v,g;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:xe.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ni.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",this.limitDateList=(d=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(C=>new wi(C)))!=null?d:[],this.allowDateRange=(v=e==null?void 0:e.allowDateRange)!=null?v:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class Ni extends x{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ni.controlFieldType=b.TIMESTAMP,Ni.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Zo extends F{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Zo.controlFieldType=b.TIMESTAMP;var Yo={Designer:Ni,Runtime:Zo,Property:nr};class C_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class Vi extends D{constructor(e){var n,i,u,a,r,l,c,o,d,v,g;super(e),this.dataBind=new iv(e==null?void 0:e.dataBind),this.defaultValue=new uv(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:xe.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(d=e==null?void 0:e.caption)!=null?d:Hi.controlName,this.limitDateList=(g=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(C=>new wi(C)))!=null?g:[]}}Vi.RuntimeRules=C_;class Hi extends x{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Hi.controlFieldType=b.TIMESCOPE,Hi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class po extends F{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}po.controlFieldType=b.TIMESCOPE;var ec={Designer:Hi,Runtime:po,Property:Vi};class w_ extends Y{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class E_ extends N{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class ln extends D{constructor(e){var n,i,u,a,r,l,c;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:on.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4,this.autoSize=(c=e==null?void 0:e.autoSize)!=null?c:!1,this.maxRows=e==null?void 0:e.maxRows}}ln.Rules=w_,ln.RuntimeRules=E_;class on extends x{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}on.controlEventKeys=["on_change","on_input","on_focus","on_blur"],on.controlFieldType=b.TEXT,on.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class tc extends F{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"textarea"}}tc.controlFieldType=b.TEXT;var nc={Designer:on,Runtime:tc,Property:ln};class I_ extends Y{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class S_ extends N{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class cn extends D{constructor(e){var n,i,u,a,r;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:sn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}cn.Rules=I_,cn.RuntimeRules=S_;class sn extends x{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}sn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],sn.controlFieldType=b.TEXT,sn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class ic extends F{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}ic.controlFieldType=b.TEXT;var uc={Designer:sn,Runtime:ic,Property:cn};class A_ extends mt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class ji extends D{constructor(e){var n,i,u,a,r,l,c,o,d,v;super(e),this.options=Se((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:qi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(c=e==null?void 0:e.allowCopyOptions)!=null?c:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var C;(C=this.multistageFilling)==null||C.push(new le(g))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(v=e==null?void 0:e.viewFormModelType)!=null?v:"window",this.formBind=new ht(e==null?void 0:e.formBind)}}ji.Rules=A_;class qi extends x{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}qi.controlFieldType=b.VARCHAR,qi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class ac extends F{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"select"}}ac.controlFieldType=b.VARCHAR;var rc={Designer:qi,Runtime:ac,Property:ji};class T_ extends mt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class B_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class dn extends D{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.options=Se((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Ui.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new le(v))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new ht(e==null?void 0:e.formBind)}}dn.Rules=T_,dn.RuntimeRules=B_;class Ui extends x{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Ui.controlFieldType=b.ARRAY,Ui.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class lc extends F{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}lc.controlFieldType=b.ARRAY;var oc={Designer:Ui,Runtime:lc,Property:dn};class R_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Wi extends D{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:Ki.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new le(v))}))}}Wi.RuntimeRules=R_;class Ki extends x{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Ki.controlFieldType=b.EMPLOYEES,Ki.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class cc extends F{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"employee"}}cc.controlFieldType=b.EMPLOYEES;var sc={Designer:Ki,Runtime:cc,Property:Wi};const P_=10485760,D_=104857600,x_=1048576e3;class F_ extends Y{constructor(e){super(e),this.maxSize={type:"number",min:0,max:x_,message:f.getMessage("attachmentMaxSize")}}}class k_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:f.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class Ot extends D{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(c=e==null?void 0:e.maxSize)!=null?c:D_,this.caption=(o=e==null?void 0:e.caption)!=null?o:Mt.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6"}}Ot.Rules=F_,Ot.RuntimeRules=k_;class Mt extends x{constructor(e){super(e),this.props=new Ot(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Mt.controlEventKeys=["on_change"],Mt.controlFieldType=b.FILE,Mt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class ir extends F{constructor(e){super(e),this.props=new Ot(e==null?void 0:e.props)}static get controlType(){return"attachment"}}ir.controlFieldType=b.FILE;var dc={Designer:Mt,Runtime:ir,Property:Ot};const fc=class extends Mt{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,u;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:fc.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let ur=fc;ur.controlFieldType=b.IMAGE,ur.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class O_ extends ir{static get controlType(){return"image"}constructor(e){var n,i,u,a,r,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:"\u56FE\u7247",this.props.placeholder=(l=(r=e==null?void 0:e.props)==null?void 0:r.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class M_ extends Ot{constructor(e){super(e)}}var hc={Designer:ur,Runtime:O_,Property:M_};class $_ extends mt{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:f.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")})}}class L_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[Hn(De({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class fn extends D{constructor(e){var n,i,u,a,r,l,c,o,d,v,g;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new tv(e==null?void 0:e.dataBind),this.datasourceBind=new ne((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Hu({value:"name"})]}),this.defaultValue=new nv((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:Wu.CNY}),this.options=Se(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:hn.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(v=e==null?void 0:e.submitSelectCurrency)!=null?v:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}fn.Rules=$_,fn.RuntimeRules=L_;class hn extends x{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}hn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],hn.controlFieldType=b.MONEY,hn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class yc extends F{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"amount"}}yc.controlFieldType=b.MONEY;var mc={Designer:hn,Runtime:yc,Property:fn};class N_ extends Y{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:f.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:f.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:f.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class V_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class yn extends D{constructor(e){var n,i,u,a,r,l,c;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Ua.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(a=e==null?void 0:e.explain)==null?void 0:a.map(o=>new Ei(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new Ei),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:mn.controlName}}yn.Rules=N_,yn.RuntimeRules=V_;class mn extends x{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new Ei);this.props.explain.push(...u)}}super.postUpdate(e,n)}}mn.controlEventKeys=["on_change","on_click"],mn.controlFieldType=b.DECIMAL,mn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class vc extends F{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"score"}}vc.controlFieldType=b.DECIMAL;var gc={Designer:mn,Runtime:vc,Property:yn};class H_ extends N{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:f.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:f.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:f.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class zi extends D{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Gi.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new av((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9\u5730\u5740"}}zi.RuntimeRules=H_;class Gi extends x{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Gi.controlFieldType=b.ADDRESS,Gi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class bc extends F{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}bc.controlFieldType=b.ADDRESS;var _c={Designer:Gi,Runtime:bc,Property:zi};class j_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Qi extends D{constructor(e){var n,i,u,a,r,l,c,o,d,v,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:vn.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var E;(E=this.multistageFilling)==null||E.push(new le(C))}))}}Qi.RuntimeRules=j_;class vn extends x{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}vn.controlName="\u90E8\u95E8",vn.controlFieldType=b.DEPARTMENTS,vn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Cc extends F{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlType(){return"department"}}Cc.controlFieldType=b.DEPARTMENTS;var wc={Designer:vn,Runtime:Cc,Property:Qi};class ar extends D{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:gn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class gn extends x{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}gn.controlEventKeys=["on_change"],gn.controlFieldType=b.AUTO_NUMBER,gn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Ec extends F{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Ec.controlFieldType=b.AUTO_NUMBER;var Ic={Designer:gn,Runtime:Ec,Property:ar};class q_ extends Y{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class U_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:f.getMessage("isNotObject"),fields:{result:[{type:"number",message:f.getMessage("isNotNumber")}],unit:{type:"string",message:f.getMessage("isNotString")}}})}}class bn extends D{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new rv(e==null?void 0:e.dataBind),this.defaultValue=new lv(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:_n.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:"",this.calcOnMounted=(o=e==null?void 0:e.calcOnMounted)!=null?o:!1}}bn.Rules=q_,bn.RuntimeRules=U_;class _n extends x{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}_n.controlEventKeys=["on_change"],_n.controlFieldType=b.CALC,_n.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Sc extends F{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Sc.controlFieldType=b.CALC;var Ac={Designer:_n,Runtime:Sc,Property:bn};class W_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Xi extends D{constructor(e){var n,i,u,a,r,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:Ji.controlName}}Xi.RuntimeRules=W_;class Ji extends x{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Ji.controlFieldType=b.DECIMAL_RANGE,Ji.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Tc extends F{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Tc.controlFieldType=b.DECIMAL_RANGE;var Bc={Designer:Ji,Runtime:Tc,Property:Xi};class K_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class Zi extends D{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,C;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:xe.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(c=e==null?void 0:e.rangeMax)!=null?c:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u7ED3\u675F\u65E5\u671F",this.caption=(v=e==null?void 0:e.caption)!=null?v:Yi.controlName,this.limitDateList=(C=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(E=>new wi(E)))!=null?C:[]}}Zi.RuntimeRules=K_;class Yi extends x{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Yi.controlFieldType=b.ARRAY,Yi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Rc extends F{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Rc.controlFieldType=b.ARRAY;var Pc={Designer:Yi,Runtime:Rc,Property:Zi};class z_ extends Y{constructor(e){super(e),this.dataBind={type:"any"}}}class G_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Cn extends D{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$t.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}Cn.Rules=z_,Cn.RuntimeRules=G_;class $t extends x{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}$t.controlFieldType=b.ANY,$t.controlEventKeys=[],$t.slots=["grid-table-toolbar-slot",Kr.DEFAULT],$t.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Dc extends F{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Dc.controlFieldType=b.ANY;var xc={Designer:$t,Runtime:Dc,Property:Cn};class Q_ extends mt{constructor(e){super(e),this.listPageBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class pi extends D{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.options=Se((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Nu(e==null?void 0:e.listPageBind),this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:wn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(c=e==null?void 0:e.showSelectedDetail)!=null?c:!1,this.selectedContentConfig=new qu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new le(v))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new ht(e==null?void 0:e.formBind)}}pi.Rules=Q_;class wn extends x{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}}wn.controlFieldType=b.VARCHAR,wn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}],wn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Fc extends F{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Fc.controlFieldType=b.VARCHAR;var kc={Designer:wn,Runtime:Fc,Property:pi};class rr extends Ft{constructor(e){super(e)}}class Oc extends kt{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Oc.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}];class Mc extends F{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Mc.controlFieldType=b.VARCHAR;var $c={Designer:Oc,Runtime:Mc,Property:rr};class X_ extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Jn.call(this,e,qe.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:f.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class J_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class En extends D{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,C,E,_,I,m,w,T,R;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:qe.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(c=e==null?void 0:e.containsSubNode)!=null?c:!1,this.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(v=e==null?void 0:e.isDefaultCheckSub)!=null?v:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(C=e==null?void 0:e.defaultCollapseLevel)!=null?C:1,this.datasourceBind=new gl((E=e==null?void 0:e.datasourceBind)!=null?E:{attributes:qe.controlCustomAttributes}),this.filterItemDatasourceBind=new gl((_=e==null?void 0:e.filterItemDatasourceBind)!=null?_:{attributes:qe.controlCustomAttributes}),this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(T=(w=e==null?void 0:e.multistageFilling)==null?void 0:w.map(O=>new le(O)))!=null?T:[],this.defaultValue=(R=e==null?void 0:e.defaultValue)!=null?R:[]}}En.Rules=X_,En.RuntimeRules=J_;class qe extends x{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}qe.controlEventKeys=["on_change","on_click"],qe.controlFieldType=b.ARRAY,qe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class Lc extends F{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return"tree"}}Lc.controlFieldType=b.ARRAY;var Nc={Designer:qe,Runtime:Lc,Property:En};class Z_ extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},Jn.call(this,e,Lt.controlCustomAttributes),e.externalType===je.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class Y_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class In extends D{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,C,E,_;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:Lt.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new zn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:Lt.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:Ga.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Qa.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:je.ALL,this.externalScope=(E=e==null?void 0:e.externalScope)!=null?E:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(I=>{var m;(m=this.multistageFilling)==null||m.push(new le(I))}))}}In.Rules=Z_,In.RuntimeRules=Y_;class Lt extends x{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Lt.controlFieldType=b.EMPLOYEES,Lt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Vc extends F{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Vc.controlFieldType=b.EMPLOYEES;var Hc={Designer:Lt,Runtime:Vc,Property:In};class p_ extends Y{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&xu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&i.signatureType.includes("company")&&xu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class eu extends D{constructor(e){var n,i,u,a,r,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Sn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new so(e==null?void 0:e.signatureConfig)}}eu.Rules=p_;class Sn extends x{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}Sn.controlEventKeys=["on_click","on_click_finish"],Sn.controlFieldType=b.VARCHAR,Sn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class jc extends F{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}jc.controlFieldType=b.VARCHAR;var qc={Designer:Sn,Runtime:jc,Property:eu};class eC extends Y{constructor(e){super(e),this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(f.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class tC extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class An extends D{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Tn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(c=e==null?void 0:e.canDownload)!=null?c:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(v=e==null?void 0:e.maxSize)!=null?v:P_,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new fo(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}An.Rules=eC,An.RuntimeRules=tC;class Tn extends x{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Tn.controlEventKeys=["on_change","on_wps_open"],Tn.controlFieldType=b.FILE,Tn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class Uc extends F{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"wps"}}Uc.controlFieldType=b.FILE;var Wc={Designer:Tn,Runtime:Uc,Property:An};class nC extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Jn.call(this,e,ze.controlCustomAttributes),e.businessType===je.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class iC extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Bn extends D{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,C,E,_,I;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:ze.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new zn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:ze.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:Ii.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:je.ALL,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var w;(w=this.multistageFilling)==null||w.push(new le(m))}))}}Bn.Rules=nC,Bn.RuntimeRules=iC;class ze extends x{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}ze.controlName="\u90E8\u95E8",ze.controlFieldType=b.DEPARTMENTS,ze.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Kc extends F{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Kc.controlFieldType=b.DEPARTMENTS;var zc={Designer:ze,Runtime:Kc,Property:Bn};class uC extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Jn.call(this,e,Ge.controlCustomAttributes),e.businessType===je.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class aC extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Rn extends D{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,C,E,_,I,m,w,T;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new Nu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ge.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new pm((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ge.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:Ii.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:je.ALL,this.organizingFunction=(I=e==null?void 0:e.organizingFunction)!=null?I:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(w=e==null?void 0:e.showSelectedDetail)!=null?w:!1,this.selectedContentConfig=new qu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(T=e==null?void 0:e.openMultistageFilling)!=null?T:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(R=>{var O;(O=this.multistageFilling)==null||O.push(new le(R))}))}}Rn.Rules=uC,Rn.RuntimeRules=aC;class Ge extends x{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Ge.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Ge.controlFieldType=b.DEPARTMENTS,Ge.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Gc extends F{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Gc.controlFieldType=b.DEPARTMENTS;var Qc={Designer:Ge,Runtime:Gc,Property:Rn};class rC extends Y{constructor(e){super(e),this.dataBind={type:"any"}}}class lC extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Pn extends D{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Dn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}Pn.Rules=rC,Pn.RuntimeRules=lC;class Dn extends x{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlName(){return"Vue\u9875\u9762"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return S.VUE_PAGE}}Dn.controlFieldType=b.ANY,Dn.controlEventKeys=[],Dn.setting=[];class Xc extends F{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlType(){return S.VUE_PAGE}}Xc.controlFieldType=b.ANY;var Jc={Designer:Dn,Runtime:Xc,Property:Pn},oC=Object.freeze({__proto__:null,Input:Wo,Checkbox:zo,Radio:Qo,Number:Jo,DatePicker:Yo,DateRange:ec,Textarea:nc,RichText:uc,Select:rc,SelectMultiple:oc,Employee:sc,Image:hc,Attachment:dc,Amount:mc,Score:gc,Address:_c,Department:wc,AutoNumber:Ic,Calc:Ac,SearchNumberRange:Bc,SearchDateRange:Pc,VueFormItem:xc,SelectRelation:kc,SearchInput:$c,Tree:Nc,Employee2:Hc,ElectronicSignature:qc,WPS:Wc,Department2:zc,OrganizationSelection:Qc,VuePage:Jc});class Zc extends W{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Zc.excludes=[S.GRID];class cC extends K{static get controlType(){return"grid"}constructor(e){super(e)}}var Yc={Designer:Zc,Runtime:cC,Property:j};const sC=24;class Qe extends j{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:sC,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class xn extends W{constructor(e){super(e),this.props=new Qe(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}xn.excludes=[S.COL,S.SUBTABLE,S.SUBTABLE_COLUMN,S.GRID_LAYOUT_CONTAINER,S.DIVIDER],xn.childrenMaxLength=1;class lr extends K{constructor(e){super(e),this.props=new Qe(e==null?void 0:e.props)}static get controlType(){return"col"}}var pc={Designer:xn,Runtime:lr,Property:Qe};class tu extends j{constructor(e){var n,i;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0}}class nu extends W{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}nu.excludes=[S.ROW],nu.setting=[{key:"col-setting",visible:!0}];class es extends K{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlType(){return"row"}}var ts={Designer:nu,Runtime:es,Property:tu};const dC=4;class iu extends nu{static get controlName(){return"\u6805\u683C\u7B49\u5206\u884C"}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}iu.excludes=[S.GRID_ROW],iu.setting=[],iu.childrenMaxLength=dC;class fC extends es{static get controlType(){return"grid-row"}constructor(e){super(e)}}class hC extends tu{constructor(e){super(e)}}var ns={Designer:iu,Runtime:fC,Property:hC};class yC extends j.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class uu extends j{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}uu.Rules=yC;class or extends W{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}or.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],or.excludes=[S.CARD_GROUP];class mC extends K{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var is={Designer:or,Runtime:mC,Property:uu};class vC extends Q{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class au extends j{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new Wm(e==null?void 0:e.metaAutoWidth)}}au.Rules=vC;class ge extends W{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}ge.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ge.controlType="subtable-column",ge.controlIcon="subtable-column",ge.childrenMaxLength=1,ge.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],ge.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class us extends K{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}us.controlType="subtable-column";var as={Designer:ge,Runtime:us,Property:au};class cr extends j{constructor(e){super(e)}}class Xe extends W{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}}Xe.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Xe.controlType="subtable-row",Xe.controlIcon="subtable-row",Xe.childrenMaxLength=1,Xe.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.SUBTABLE_ROW,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Xe.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class gC extends K{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var rs={Designer:Xe,Runtime:gC,Property:cr};class sr extends j{constructor(e){var n,i,u,a,r,l,c,o,d,v;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:b.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.textCleanFormart=(c=e==null?void 0:e.textCleanFormart)!=null?c:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:xe.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class Je extends W{constructor(e){super(e),this.props=new sr(e==null?void 0:e.props)}}Je.controlName="\u5217\u8868\u5355\u5143\u683C",Je.controlType="gridtable-column",Je.controlIcon="gridtable-column",Je.childrenMaxLength=1,Je.excludes=[S.GRID_TABLE,S.GRID_TABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Je.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class ls extends K{constructor(e){super(e),this.props=new sr(e==null?void 0:e.props)}}ls.controlType="gridtable-column";var os={Designer:Je,Runtime:ls,Property:sr};class dr extends j{constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(i=e==null?void 0:e.colGap)!=null?i:24}}class fr extends W{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668"}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}fr.excludes=[S.GRID_LAYOUT_CONTAINER,S.CARD_GROUP,S.TAB],fr.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class bC extends K{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var cs={Designer:fr,Runtime:bC,Property:dr};class hr extends j{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class _C extends Q{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class ru extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:kn.controlName}}ru.Rules=_C;class Fn extends W{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Fn.excludes=[S.TAB],Fn.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class CC extends K{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var ss={Designer:Fn,Runtime:CC,Property:ru};class kn extends W{constructor(e){var n;super(e),this.props=new hr(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Fn,new Fn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}kn.excludes=[S.TAB],kn.controlEventKeys=["on_change_tab"],kn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class wC extends K{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}static get controlType(){return"tab"}}var ds={Designer:kn,Runtime:wC,Property:hr};class fs extends j{constructor(e){super(e)}}class hs extends W{constructor(e){super(e),this.props=new fs({}),this.children=(e==null?void 0:e.children)||[new xn({props:new Qe({span:12})}),new xn({props:new Qe({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}hs.excludes=[S.GRID_ROW,S.ROW,S.GRID,S.SUBTABLE,S.TAB,S.TOOLBOX];class EC extends K{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new lr({props:new Qe({span:12})}),new lr({props:new Qe({span:12})})]}}var ys={Designer:hs,Runtime:EC,Property:fs};class IC extends We{constructor(e){super(e),this.push({type:"object",fields:{}})}}class SC extends Q{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),ia.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(i=>i.type==="object"&&i.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class On extends j{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,C,E,_,I,m,w,T;super(e),this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new Xm(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new Zm(e==null?void 0:e.joinRelation),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(c=e==null?void 0:e.showFullScreen)!=null?c:!1,this.selectionType=(o=e==null?void 0:e.selectionType)!=null?o:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(v=e==null?void 0:e.isShowSelection)!=null?v:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(C=e==null?void 0:e.countLimit)!=null?C:1e5,this.rowStyleType=(E=e==null?void 0:e.rowStyleType)!=null?E:"none",this.rowStyleBgColor=(_=e==null?void 0:e.rowStyleBgColor)!=null?_:"theme",this.rowStyleRules=(e==null?void 0:e.rowStyleRules)&&Array.isArray(e==null?void 0:e.rowStyleRules)?(m=(I=e==null?void 0:e.rowStyleRules)==null?void 0:I.map(R=>new dv(R)))!=null?m:[]:[],this.rowStyleRulesScript=(e==null?void 0:e.rowStyleRulesScript)&&Array.isArray(e==null?void 0:e.rowStyleRulesScript)?(T=(w=e==null?void 0:e.rowStyleRulesScript)==null?void 0:w.map(R=>new fv(R)))!=null?T:[]:[]}}On.Rules=SC,On.RuntimeRules=IC;class Mn extends W{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Mn.slotPosition={left:"list-view-left-slot"},Mn.excludes=[S.ROW],Mn.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],Mn.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class AC extends K{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var ms={Designer:Mn,Runtime:AC,Property:On};class TC extends We{constructor(e){super(e),this.push({type:"object",fields:{}})}}class lu extends j{constructor(e){var n,i,u,a,r,l;super(e),this.save=new ke((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new ke((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new ke((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new ke((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(c=>new ke(c)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new ne(e==null?void 0:e.datasourceBind)}}lu.RuntimeRules=TC;class vs extends W{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}vs.excludes=[];class BC extends K{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var gs={Designer:vs,Runtime:BC,Property:lu};class RC extends W{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class PC extends K{static get controlType(){return"page"}constructor(e){super(e)}}class DC extends j{constructor(e){var n;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var bs={Designer:RC,Runtime:PC,Property:DC};class xC extends W{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class FC extends K{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class kC extends j{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new bo(e==null?void 0:e.flexConfig)}}var _s={Designer:xC,Runtime:FC,Property:kC};class OC extends W{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class MC extends K{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class $C extends j{constructor(e){super(e)}}var Cs={Designer:OC,Runtime:MC,Property:$C};class LC extends W{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class NC extends K{static get controlType(){return"position"}constructor(e){super(e)}}class VC extends j{constructor(e){var n,i,u,a;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var ws={Designer:LC,Runtime:NC,Property:VC};class yr extends j{constructor(e){var n,i,u;super(e),this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(i=e==null?void 0:e.opacity)!=null?i:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class ou extends W{constructor(e){var n;super(e),this.props=new yr((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}ou.slotPosition={default:"action-bar-slot"},ou.excludes=[],ou.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class HC extends K{constructor(e){var n;super(e),this.props=new yr((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Es={Designer:ou,Runtime:HC,Property:yr},jC=Object.freeze({__proto__:null,Grid:Yc,Col:pc,Row:ts,GridRow:ns,CardGroup:is,SubTableColumn:as,SubTableRow:rs,GridTableColumn:os,GridLayoutContainer:cs,Tab:ds,TabPane:ss,Toolbox:ys,ListView:ms,DataView:gs,Page:bs,AdvancedContainer:_s,PositioningContainer:Cs,Position:ws,ActionBar:Es});class qC extends Q{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:f.getMessage("isNotNumber")},{type:"number",min:0,message:f.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:f.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:f.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:f.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class UC extends We{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:f.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}const Is=class extends oi{constructor(t,e){var n,i,u,a,r,l,c,o,d,v,g,C,E,_,I,m,w,T,R,O,de,$,fe,Nn,Re,wu,Vn,Nt,Pe,Qs,Xs;super(t,e,Is.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ln.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(r=e==null?void 0:e.openType)!=null?r:"default",this.formKey=(l=e==null?void 0:e.formKey)!=null?l:"",this.useCustomHeight=(c=e==null?void 0:e.useCustomHeight)!=null?c:!1,this.maxHeight=(o=e==null?void 0:e.maxHeight)!=null?o:vo,this.printMode=(d=e==null?void 0:e.printMode)!=null?d:"row",this.limitRows=(v=e==null?void 0:e.limitRows)!=null?v:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(C=e==null?void 0:e.defaultRows)!=null?C:1,this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.canAdd=(E=e==null?void 0:e.canAdd)!=null?E:!0,this.canDelete=(_=e==null?void 0:e.canDelete)!=null?_:!0,this.canCheck=(I=e==null?void 0:e.canCheck)!=null?I:!1,this.canEdit=(m=e==null?void 0:e.canEdit)!=null?m:!1,this.canImport=(w=e==null?void 0:e.canImport)!=null?w:!1,this.canExport=(T=e==null?void 0:e.canExport)!=null?T:!1,this.canClear=(R=e==null?void 0:e.canClear)!=null?R:!0,this.serverPagination=(O=e==null?void 0:e.serverPagination)!=null?O:!1,this.isShowCaptionTip=(de=e==null?void 0:e.isShowCaptionTip)!=null?de:!1,this.captionTip=($=e==null?void 0:e.captionTip)!=null?$:"",this.mobileShowType=(fe=e==null?void 0:e.mobileShowType)!=null?fe:"list",this.mobileDefaultNum=(Nn=e==null?void 0:e.mobileDefaultNum)!=null?Nn:10,this.dataStorageDoc=(Re=e==null?void 0:e.dataStorageDoc)!=null?Re:new Km,this.fixedColumn=(wu=e==null?void 0:e.fixedColumn)!=null?wu:[],this.mobileRowCaption=(Vn=e==null?void 0:e.mobileRowCaption)!=null?Vn:"\u660E\u7EC6",this.mobileIsTile=(Nt=e==null?void 0:e.mobileIsTile)!=null?Nt:!1,this.isPaste=(Pe=e==null?void 0:e.isPaste)!=null?Pe:!1,this.pageSize=(Qs=e==null?void 0:e.pageSize)!=null?Qs:10,this.pageSizeOptions=(Xs=e==null?void 0:e.pageSizeOptions)!=null?Xs:[10,20,50,100],this.importConfig=new yo(e==null?void 0:e.importConfig),this.exportConfig=new mo(e==null?void 0:e.exportConfig)}};let $n=Is;$n.Rules=qC,$n.RuntimeRules=UC;class Ln extends ga{constructor(e){var n,i;super(e),this.props=new $n(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new ge,new ge,new ge]),((i=e==null?void 0:e.props)==null?void 0:i.footers)===void 0&&(this.props.footers=[])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new ge,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Ln.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Ln.slotPosition={toolbar:"subtable-toolbar-slot"},Ln.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.IS_PASTE,s.SERVER_PAGINATION]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class WC extends Xl{constructor(e){super(e),this.props=new $n(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Ut("Method not implemented.")}getChildrenFormControl(){return[]}}var Ss={Designer:Ln,Runtime:WC,Property:$n};class mr extends oi{constructor(e,n){var i,u,a,r,l;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0,this.pageSizeOptions=(l=n==null?void 0:n.pageSizeOptions)!=null?l:[10,20,50,100,500]}}class KC extends we{constructor(e){super(e),this.caption.required=!1}}class cu extends z{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Ze.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(c=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?c:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}cu.Rules=KC;class Ze extends ee{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}Ze.controlType="order-column",Ze.controlName="\u5E8F\u53F7",Ze.controlIcon="order-column",Ze.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class vr extends te{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}vr.controlType="order-column",vr.controlFieldType=b.DECIMAL;var As={Designer:Ze,Runtime:vr,Property:cu};class gr extends z{constructor(e){var n,i,u,a,r,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Te.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class Te extends ee{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props),be(this,"children",e==null?void 0:e.children,void 0,"Designer")}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===$i.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return Hn(De({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Hr(this,null,function*(){return yield Vr(Te.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Te.controlType="operation-column",Te.controlName="\u64CD\u4F5C",Te.controlIcon="operation-column",Te.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class br extends te{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props),be(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}br.controlType="operation-column",br.controlFieldType=b.FILE;var Ts={Designer:Te,Runtime:br,Property:gr};const zC=1e4;class Ye extends ga{constructor(e){var u;super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new mr(this,e==null?void 0:e.props),be(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Ze,new Te]),((u=e==null?void 0:e.props)==null?void 0:u.footers)===void 0&&(this.props.footers=[]),this.excludes=ye(n),this.childrenMaxLength=i}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return Hn(De({},e),{children:n})}validate(e,n){return Hr(this,null,function*(){return yield Vr(Ye.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ye.slotPosition={toolbar:"grid-table-toolbar-slot"},Ye.setting=[{key:"list-fixed-header",visible:!0}],Ye.excludes=[],Ye.childrenMaxLength=zC;class GC extends Xl{constructor(e){super(e),this.props=new mr(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Ut("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Bs={Designer:Ye,Runtime:GC,Property:mr},QC=Object.freeze({__proto__:null,SubTable:Ss,GridTable:Bs});class XC extends Jl{constructor(e){super(e),Ve.call(this,e)}}class su extends z{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.options=Se((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}su.Rules=XC;class pe extends ee{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}pe.controlType="varchar-column",pe.controlName="\u77ED\u6587\u672C",pe.controlIcon="varchar-column",pe.controlFieldType=b.VARCHAR,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class _r extends te{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}_r.controlType="varchar-column",_r.controlFieldType=b.VARCHAR;var Rs={Designer:pe,Runtime:_r,Property:su};class JC extends we{constructor(e){super(e),Ve.call(this,e)}}class du extends z{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(i=e==null?void 0:e.caption)!=null?i:et.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption)}}du.Rules=JC;class et extends ee{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}et.controlType="text-column",et.controlName="\u957F\u6587\u672C",et.controlIcon="text-column",et.controlFieldType=b.TEXT,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class Cr extends te{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}Cr.controlType="text-column",Cr.controlFieldType=b.TEXT;var Ps={Designer:et,Runtime:Cr,Property:du};class ZC extends we{constructor(e){super(e),Ve.call(this,e)}}class fu extends z{constructor(e){var n,i,u,a,r,l,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.options=Se((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(c=e==null?void 0:e.showLinkOperation)!=null?c:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption)}}fu.Rules=ZC;class tt extends ee{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}tt.controlType="decimal-column",tt.controlName="\u6570\u503C",tt.controlIcon="decimal-column",tt.controlFieldType=b.DECIMAL,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class wr extends te{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}wr.controlType="decimal-column",wr.controlFieldType=b.DECIMAL;var Ds={Designer:tt,Runtime:wr,Property:fu};class YC extends we{constructor(e){super(e),Ve.call(this,e)}}class hu extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:xe.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:nt.controlName}}hu.Rules=YC;class nt extends ee{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}nt.controlType="timescope-column",nt.controlName="\u65E5\u671F\u533A\u95F4",nt.controlIcon="timescope-column",nt.controlFieldType=b.TIMESCOPE,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Er extends te{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}Er.controlType="timescope-column",Er.controlFieldType=b.TIMESCOPE;var xs={Designer:nt,Runtime:Er,Property:hu};class pC extends we{constructor(e){super(e),Ve.call(this,e)}}class yu extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:xe.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:it.controlName}}yu.Rules=pC;class it extends ee{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}it.controlType="timestamp-column",it.controlName="\u65E5\u671F",it.controlIcon="timestamp-column",it.controlFieldType=b.TIMESTAMP,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Ir extends te{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}}Ir.controlType="timestamp-column",Ir.controlFieldType=b.TIMESTAMP;var Fs={Designer:it,Runtime:Ir,Property:yu};class ew extends Jl{constructor(e){super(e),Ve.call(this,e)}}class mu extends z{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption),this.options=Se((a=e==null?void 0:e.options)!=null?a:[{}])}}mu.Rules=ew;class ut extends ee{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}}ut.controlType="array-column",ut.controlName="\u6570\u7EC4",ut.controlIcon="array-column",ut.controlFieldType=b.ARRAY,ut.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Sr extends te{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}}Sr.controlType="array-column",Sr.controlFieldType=b.ARRAY;var ks={Designer:ut,Runtime:Sr,Property:mu};class Ar extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class at extends ee{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}at.controlType="department-column",at.controlName="\u90E8\u95E8",at.controlIcon="department-column",at.controlFieldType=b.DEPARTMENTS,at.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Tr extends te{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}}Tr.controlType="department-column",Tr.controlFieldType=b.DEPARTMENTS;var Os={Designer:at,Runtime:Tr,Property:Ar};class tw extends we{constructor(e){super(e),Ve.call(this,e)}}class vu extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption)}}vu.Rules=tw;class rt extends ee{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}}rt.controlType="auto-number-column",rt.controlName="\u81EA\u52A8\u7F16\u53F7",rt.controlIcon="auto-number-column",rt.controlFieldType=b.AUTO_NUMBER,rt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Br extends te{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}}Br.controlType="auto-number-column",Br.controlFieldType=b.AUTO_NUMBER;var Ms={Designer:rt,Runtime:Br,Property:vu};class Rr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:lt.controlName}}class lt extends ee{constructor(e){super(e),this.props=new Rr(e==null?void 0:e.props)}}lt.controlType="file-column",lt.controlName="\u9644\u4EF6",lt.controlIcon="file-column",lt.controlFieldType=b.FILE,lt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Pr extends te{constructor(e){super(e),this.props=new Rr(e==null?void 0:e.props)}}Pr.controlType="file-column",Pr.controlFieldType=b.FILE;var $s={Designer:lt,Runtime:Pr,Property:Rr};class Dr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ot.controlName}}class ot extends ee{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}}ot.controlType="image-column",ot.controlName="\u56FE\u7247",ot.controlIcon="image-column",ot.controlFieldType=b.IMAGE,ot.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class xr extends te{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}}xr.controlType="image-column",xr.controlFieldType=b.IMAGE;var Ls={Designer:ot,Runtime:xr,Property:Dr};class Fr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ct.controlName}}class ct extends ee{constructor(e){super(e),this.props=new Fr(e==null?void 0:e.props)}}ct.controlType="people-column",ct.controlName="\u4EBA\u5458",ct.controlIcon="people-column",ct.controlFieldType=b.EMPLOYEES,ct.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class kr extends te{constructor(e){super(e),this.props=new Fr(e==null?void 0:e.props)}}kr.controlType="people-column",kr.controlFieldType=b.EMPLOYEES;var Ns={Designer:ct,Runtime:kr,Property:Fr};class nw extends we{constructor(e){super(e),Ve.call(this,e)}}class gu extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:st.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption)}}gu.Rules=nw;class st extends ee{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}}st.controlType="location-column",st.controlName="\u5730\u5740",st.controlIcon="location-column",st.controlFieldType=b.ADDRESS,st.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Or extends te{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}}Or.controlType="location-column",Or.controlFieldType=b.ADDRESS;var Vs={Designer:st,Runtime:Or,Property:gu};class iw extends we{constructor(e){super(e),this.sortFieldCode={type:"string",message:f.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class bu extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Be.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}bu.Rules=iw;const uw=1;class Be extends ee{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new bu(e==null?void 0:e.props),be(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=ye(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}toSchema(){const e=super.toSchema();return Hn(De({},e),{children:this.children.map(n=>n.toSchema())})}}Be.controlType="custom-column",Be.controlName="\u81EA\u5B9A\u4E49",Be.controlIcon="custom-column",Be.slots=["column-column-slot"],Be.excludes=[],Be.childrenMaxLength=uw,Be.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}];class Hs extends te{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props),be(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Hs.controlType="custom-column";var js={Designer:Be,Runtime:Hs,Property:bu};class Mr extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName,this.datasourceBind=new zn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Ue.controlCustomAttributes})}}class Ue extends ee{constructor(e){super(e),this.props=new Mr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ue.controlType="employee-column",Ue.controlName="\u4EBA\u5458",Ue.controlIcon="employee-column",Ue.controlFieldType=b.EMPLOYEES,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class $r extends te{constructor(e){super(e),this.props=new Mr(e==null?void 0:e.props)}}$r.controlType="employee-column",$r.controlFieldType=b.EMPLOYEES;var qs={Designer:Ue,Runtime:$r,Property:Mr};class Lr extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:dt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class dt extends ee{constructor(e){super(e),this.props=new Lr(e==null?void 0:e.props)}}dt.controlType="approval-status-column",dt.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",dt.controlIcon="approval-status-column",dt.excludes=[],dt.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}];class Us extends te{constructor(e){super(e),this.props=new Lr(e==null?void 0:e.props)}}Us.controlType="approval-status-column";var Ws={Designer:dt,Runtime:Us,Property:Lr},aw=Object.freeze({__proto__:null,VarcharColumn:Rs,TextColumn:Ps,DecimalColumn:Ds,TimescopeColumn:xs,TimestampColumn:Fs,ArrayColumn:ks,DepartmentColumn:Os,AutoNumberColumn:Ms,FileColumn:$s,ImageColumn:Ls,PeopleColumn:Ns,LocationColumn:Vs,CustomColumn:js,OrderColumn:As,OperationColumn:Ts,EmployeeColumn:qs,ApprovalStatusColumn:Ws});class rw extends We{constructor(e){super(e),this.push({type:"object",fields:{}})}}class _u extends Pa{constructor(e){var n,i,u,a,r,l,c,o,d,v;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new ke((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new ke((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((c=e==null?void 0:e.custom)!=null?c:[]).map(g=>new ke(g)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[],this.childMinWidth=(d=e==null?void 0:e.childMinWidth)!=null?d:230,this.colGap=(v=e==null?void 0:e.colGap)!=null?v:24}}_u.RuntimeRules=rw;class Cu extends nb{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}}Cu.controlType="simple-search",Cu.slotPosition={default:"search"},Cu.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"search-view-type",visible:!0}];class Ks extends cb{constructor(e){var n;super(e),this.props=new _u(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Ks.controlType="simple-search";var zs={Designer:Cu,Runtime:Ks,Property:_u},lw=Object.freeze({__proto__:null,SimpleSearch:zs});class Nr extends Ma{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class ow extends Ib{constructor(e){super(e),this.props=new Nr(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668Wrap"}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class cw extends Db{constructor(e){super(e),this.props=new Nr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function _w(t){return t}var sw={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Gs={Designer:ow,Runtime:cw,Property:Nr,Setting:sw},dw=Object.freeze({__proto__:null,GridLayoutWrap:Gs});y.ActionBar=Es,y.Address=_c,y.AdvancedContainer=_s,y.Amount=mc,y.ApprovalStatusColumn=Ws,y.ArrayColumn=ks,y.AssignType=je,y.Attachment=dc,y.AutoNumber=Ic,y.AutoNumberColumn=Ms,y.BatchDeleteButton=qo,y.BatchPrintListButton=Vo,y.BatchPrintRecordListButton=Ho,y.BatchSubmissionListButton=So,y.Button=lo,y.Calc=Ac,y.CardGroup=is,y.Checkbox=zo,y.Col=pc,y.CreateFormListButton=Io,y.CustomColumn=js,y.DATE_CONFIG_TYPE=oo,y.DATE_LIMIT_TYPE=co,y.Dashboard=Oo,y.DataView=gs,y.DatePicker=Yo,y.DateRange=ec,y.DecimalColumn=Ds,y.Department=wc,y.Department2=zc,y.DepartmentColumn=Os,y.DepartmentType=Ii,y.Divider=wo,y.ElectronicSignature=qc,y.ElectronicSignatureConfig=so,y.Employee=sc,y.Employee2=Hc,y.EmployeeColumn=qs,y.EncryptTypeEnum=_o,y.Explain=Ei,y.ExportConfig=mo,y.ExportListButton=To,y.ExportRecordListButton=Bo,y.ExportTemplate=Jt,y.FileColumn=$s,y.FlexStyleConfig=bo,y.FormSelectButton=Po,y.Grid=Yc,y.GridLayoutContainer=cs,y.GridLayoutWrap=Gs,y.GridRow=ns,y.GridTable=Bs,y.GridTableColumn=os,y.Image=hc,y.ImageColumn=Ls,y.ImportConfig=yo,y.ImportListBind=ho,y.ImportRecordListButton=Ro,y.Input=Wo,y.InternalType=Qa,y.InvoiceCheckButton=No,y.LINE_STYLE=Wa,y.LimitDate=wi,y.Link=ro,y.ListSelectButton=Do,y.ListView=ms,y.ListViewSelect=$o,y.LocationColumn=Vs,y.Number=Jo,y.OperationButton=jo,y.OperationColumn=Ts,y.OrderColumn=As,y.OrganizationSelection=Qc,y.OrganizeType=Ga,y.Page=bs,y.Pagination=Fo,y.PeopleColumn=Ns,y.Position=ws,y.PositioningContainer=Cs,y.PrintTemplate=go,y.Radio=Qo,y.RichText=uc,y.Row=ts,y.SCORE_TYPE=Ua,y.SUBTABLE_DEFAULT_MAX_HEIGHT=vo,y.Score=gc,y.SearchDateRange=Pc,y.SearchInput=$c,y.SearchNumberRange=Bc,y.Select=rc,y.SelectMultiple=oc,y.SelectRelation=kc,y.SimpleSearch=zs,y.SubTable=Ss,y.SubTableColumn=as,y.SubTableRow=rs,y.SubmissionRecordListButton=Ao,y.Tab=ds,y.TabPane=ss,y.Text=ao,y.TextColumn=Ps,y.TextOcrButton=Lo,y.Textarea=nc,y.TimescopeColumn=xs,y.TimestampColumn=Fs,y.Title=Eo,y.TitleConfigEnum=He,y.Toolbox=ys,y.Tree=Nc,y.UndersignedPerson=Ka,y.VarcharColumn=Rs,y.VueFormItem=xc,y.VuePage=Jc,y.WPS=Wc,y.WPSSetting=fo,y.WpsOperationItem=za,y.baseControls=f_,y.columnControls=aw,y.formControls=oC,y.initExpression=Zt,y.layoutControls=jC,y.listControls=QC,y.searchControls=lw,y.wrapControls=dw,Object.defineProperty(y,"__esModule",{value:!0})});
1
+ var yC=Object.defineProperty,mC=Object.defineProperties;var vC=Object.getOwnPropertyDescriptors;var Zs=Object.getOwnPropertySymbols,gC=Object.getPrototypeOf,bC=Object.prototype.hasOwnProperty,_C=Object.prototype.propertyIsEnumerable,wC=Reflect.get;var Ys=(y,q,G)=>q in y?yC(y,q,{enumerable:!0,configurable:!0,writable:!0,value:G}):y[q]=G,De=(y,q)=>{for(var G in q||(q={}))bC.call(q,G)&&Ys(y,G,q[G]);if(Zs)for(var G of Zs(q))_C.call(q,G)&&Ys(y,G,q[G]);return y},Hn=(y,q)=>mC(y,vC(q));var Vr=(y,q,G)=>wC(gC(y),G,q);var Hr=(y,q,G)=>new Promise((Eu,jn)=>{var Iu=Ee=>{try{Vt(G.next(Ee))}catch(Ht){jn(Ht)}},Su=Ee=>{try{Vt(G.throw(Ee))}catch(Ht){jn(Ht)}},Vt=Ee=>Ee.done?Eu(Ee.value):Promise.resolve(Ee.value).then(Iu,Su);Vt((G=G.apply(y,q)).next())});(function(y,q){typeof exports=="object"&&typeof module!="undefined"?q(exports):typeof define=="function"&&define.amd?define(["exports"],q):(y=typeof globalThis!="undefined"?globalThis:y||self,q(y.modelDrivenControls={}))})(this,function(y){"use strict";var q="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",G="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Eu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",jn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Iu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Su="{caption}\u5FC5\u586B",Vt="\u8BF7\u8F93\u5165\u6807\u9898",Ee="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Ht="\u8BF7\u8F93\u5165\u884C\u6807\u9898",ps="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",ed="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",td="\u8BF7\u7ED1\u5B9A\u8868\u5355",nd="\u8BF7\u7ED1\u5B9A\u5217\u8868",id="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",ud="\u8BF7\u8F93\u5165\u663E\u793A\u503C",ad="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",rd="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",ld="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",od="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",cd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",sd="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",dd="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",fd="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",hd="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",yd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",md="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",vd="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",gd="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",bd="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",_d="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",wd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Cd="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Ed="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Id="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Sd="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ad="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Rd="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Td="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Bd="\u8BF7\u9009\u62E9\u7701",Pd="\u8BF7\u9009\u62E9\u5E02",Dd="\u8BF7\u9009\u62E9\u533A",xd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Fd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",kd="\u8BF7\u8F93\u5165\u5217\u5BBD",Od="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Md="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",$d="\u8BF7\u9009\u62E9\u63A7\u4EF6",Ld="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Nd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Vd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Hd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",jd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",qd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Ud="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Wd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Kd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",zd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Gd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Qd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Xd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Jd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Zd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Yd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",pd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ef="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",tf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",nf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",uf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",af="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",rf="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",lf="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",of="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",cf="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",sf="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",df={isNotNumber:q,isNotString:G,isNotObject:Eu,isNotArray:jn,isNotBoolean:Iu,runtimeRequired:Su,pleaseEnterCaption:Vt,pleaseEnterCaptionTip:Ee,pleaseEnterRowCaption:Ht,pleaseEnterPlaceholder:ps,pleaseEnterFieldCode:ed,pleaseEnterForm:td,pleaseEnterList:nd,pleaseEnterProcess:id,pleaseEnterLabel:ud,pleaseEnterValue:ad,bizKeyNotBindFiled:rd,pleaseSelectOneField:ld,pleaseEnterNumberRange:od,pleaseEnterAValueGreaterThanMin:cd,pleaseEnterAValueLessThanMax:sd,numberRangeSetError:dd,stringRangeError:fd,attachmentMaxSize:hd,pleaseEnterTotalScoreSetting:yd,theTotalScoreMustNotBeLessThan1:md,scoreDefaultValueRange:vd,attachmentLimitError:gd,PleaseReselectTheOptionalQuantity:bd,TheMaximumLengthIsGreaterThanTheMinimumLength:_d,TheMinimumLengthIsGreaterThanTheMaximumLength:wd,PleaseSelectTheCorrectOptionSettings:Cd,optionIdIsRepeat:Ed,optionIsRequired:Id,pleaseEnterDataCode:Sd,pleaseEnterValueFieldCode:Ad,pleaseEnterSvcCode:Rd,pleaseBindAtLeastOneDisplayValue:Td,pleaseSelectProvince:Bd,pleaseSelectCity:Pd,pleaseSelectDistrict:Dd,limitRowsCannotBeLessThan0:xd,TheNumberOfRowsCannotBeLessThanMinRows:Fd,pleaseEnterColumnWidth:kd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Od,pleaseCompleteAllRulesAndConditions:Md,pleaseSelectControl:$d,pleaseSelectAtLeastOneColumn:Ld,pleaseSelectFillBackMode:Nd,pleaseSelectDashboard:Vd,rootNodeIsRequired:Hd,theViewNameCannotBeEmpty:jd,pleaseSelectOcrType:qd,pleaseSelectAtLeastOneFieldToFillIn:Ud,pleaseChooseAtLeastOne:Wd,pleaseEnterButtonContent:Kd,pleaseEnterDataCodeInDataSetting:zd,pleaseEnterValueFieldCodeInDataSetting:Gd,pleaseEnterSvcCodeInDataSetting:Qd,pleaseBindAtLeastOneDisplayValueInDataSetting:Xd,rootNodeIsRequiredInDataSetting:Jd,pleaseEnterMaxHeight:Zd,pleaseEnter:Yd,pleaseEnterWatermark:pd,pleaseEnterFileName:ef,pleaseUploadAtLeastOnePrintTemplate:tf,pleaseAssignBusiness:nf,pleaseAssignExternal:uf,pleaseEnterAliasCode:af,pleaseSelectDataCode:rf,pleaseSelectSvcCode:lf,pleaseSelectJoinFieldCode:of,pleaseSelectMainFieldCode:cf,pleaseSelectSortFieldCode:sf},ff="Please enter a number",hf="Please enter a string",yf="Please enter an object",mf="Please enter an array",vf="Please enter a boolean",gf="{caption} Required",bf="Please enter the title",_f="Please enter the bubble prompt",wf="Please enter the row title",Cf="Please enter the prompt text",Ef="Please bind data items",If="Please bind the form",Sf="Please bind the list",Af="Please bind the process",Rf="Please enter the displayed value",Tf="Please enter the stored value",Bf="The document number is not bound to the data item",Pf="Please select at least one display field",Df="Please enter a value greater than or equal to {min} and less than or equal to {max}",xf="Please enter a value greater than or equal to {min}",Ff="Please enter a value less than or equal to {max}",kf="The value range is set incorrectly",Of="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Mf="The attachment size must be between 0MB and 1000MB",$f="Please fill in the total score setting",Lf="The total score cannot be less than 1",Nf="The default value must be between {min} and {max}",Vf="The number of attachments uploaded must be between {min} and {max}",Hf="Please re-select the optional quantity",jf="The maximum length of the control must be greater than the minimum length",qf="The minimum length of the control must be less than the maximum length",Uf="Please select the correct option setting",Wf="Option ID cannot be repeated",Kf="Please enter at least one option",zf="Please bind the data source",Gf="Please bind the stored value",Qf="Please bind the service",Xf="At least one display value must be bound",Jf="Please select a province",Zf="Please select a city",Yf="Please select a district",pf="The minimum number of lines to fill in cannot be less than 0",eh="The number of rows cannot be less than {min} rows",th="Please enter the column width",nh="Please set the logical relationship of all rule conditions",ih="Please complete all rules and conditions",uh="please select control",ah="Please select the dashboard",rh="View name cannot be empty",lh="Please select recognition type",oh="Please select at least one field to fill in",ch="Please select at least one",sh="Please enter the button title",dh="Please bind the business model in the data settings",fh="Please bind storage values in data settings",hh="Please bind the service in the data settings",yh="Please bind at least one display value in the data settings",mh="Please select the root node in the data settings",vh="Please enter the maximum height",gh="The input content cannot be empty",bh="Watermark cannot be empty",_h="File name cannot be empty",wh="Please upload at least one printing template!\uFF01",Ch="Please select a specific business department",Eh="Please select a specified external organization",Ih="Please enter a sub table alias",Sh="Please select the associated table to set the business model",Ah="Please select the association table to set the binding service",Rh="Select associated sub table fields",Th="Please select the associated main table field",Bh="Please select the sort field",Ph={isNotNumber:ff,isNotString:hf,isNotObject:yf,isNotArray:mf,isNotBoolean:vf,runtimeRequired:gf,pleaseEnterCaption:bf,pleaseEnterCaptionTip:_f,pleaseEnterRowCaption:wf,pleaseEnterPlaceholder:Cf,pleaseEnterFieldCode:Ef,pleaseEnterForm:If,pleaseEnterList:Sf,pleaseEnterProcess:Af,pleaseEnterLabel:Rf,pleaseEnterValue:Tf,bizKeyNotBindFiled:Bf,pleaseSelectOneField:Pf,pleaseEnterNumberRange:Df,pleaseEnterAValueGreaterThanMin:xf,pleaseEnterAValueLessThanMax:Ff,numberRangeSetError:kf,stringRangeError:Of,attachmentMaxSize:Mf,pleaseEnterTotalScoreSetting:$f,theTotalScoreMustNotBeLessThan1:Lf,scoreDefaultValueRange:Nf,attachmentLimitError:Vf,PleaseReselectTheOptionalQuantity:Hf,TheMaximumLengthIsGreaterThanTheMinimumLength:jf,TheMinimumLengthIsGreaterThanTheMaximumLength:qf,PleaseSelectTheCorrectOptionSettings:Uf,optionIdIsRepeat:Wf,optionIsRequired:Kf,pleaseEnterDataCode:zf,pleaseEnterValueFieldCode:Gf,pleaseEnterSvcCode:Qf,pleaseBindAtLeastOneDisplayValue:Xf,pleaseSelectProvince:Jf,pleaseSelectCity:Zf,pleaseSelectDistrict:Yf,limitRowsCannotBeLessThan0:pf,TheNumberOfRowsCannotBeLessThanMinRows:eh,pleaseEnterColumnWidth:th,pleaseSetTheLogicalRelationshipOfAllRuleConditions:nh,pleaseCompleteAllRulesAndConditions:ih,pleaseSelectControl:uh,pleaseSelectDashboard:ah,theViewNameCannotBeEmpty:rh,pleaseSelectOcrType:lh,pleaseSelectAtLeastOneFieldToFillIn:oh,pleaseChooseAtLeastOne:ch,pleaseEnterButtonContent:sh,pleaseEnterDataCodeInDataSetting:dh,pleaseEnterValueFieldCodeInDataSetting:fh,pleaseEnterSvcCodeInDataSetting:hh,pleaseBindAtLeastOneDisplayValueInDataSetting:yh,rootNodeIsRequiredInDataSetting:mh,pleaseEnterMaxHeight:vh,pleaseEnter:gh,pleaseEnterWatermark:bh,pleaseEnterFileName:_h,pleaseUploadAtLeastOnePrintTemplate:wh,pleaseAssignBusiness:Ch,pleaseAssignExternal:Eh,pleaseEnterAliasCode:Ih,pleaseSelectDataCode:Sh,pleaseSelectSvcCode:Ah,pleaseSelectJoinFieldCode:Rh,pleaseSelectMainFieldCode:Th,pleaseSelectSortFieldCode:Bh},Dh="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xh="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fh="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kh="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Oh="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mh="{caption}\u5FC5\u9808",$h="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Lh="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Nh="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vh="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hh="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",jh="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qh="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Uh="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Wh="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Kh="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zh="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Gh="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Qh="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Xh="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Jh="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Zh="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Yh="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ph="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ey="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ty="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ny="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",iy="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",uy="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ay="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ry="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ly="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",oy="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",cy="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",sy="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",dy="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",fy="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",hy="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",yy="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",my="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",vy="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",gy="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",by="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",_y="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wy="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Cy="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Ey="please select control",Iy="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Sy="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ay="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ry="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ty="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",By="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Py="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Dy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",xy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Fy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",ky="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Oy="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",My="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",$y="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ly="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ny="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",Vy="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Hy="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",jy="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qy="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Uy="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Wy="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Ky="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",zy="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Gy={isNotNumber:Dh,isNotString:xh,isNotObject:Fh,isNotArray:kh,isNotBoolean:Oh,runtimeRequired:Mh,pleaseEnterCaption:$h,pleaseEnterCaptionTip:Lh,pleaseEnterRowCaption:Nh,pleaseEnterPlaceholder:Vh,pleaseEnterFieldCode:Hh,pleaseEnterForm:jh,pleaseEnterList:qh,pleaseEnterProcess:Uh,pleaseEnterLabel:Wh,pleaseEnterValue:Kh,bizKeyNotBindFiled:zh,pleaseSelectOneField:Gh,pleaseEnterNumberRange:Qh,pleaseEnterAValueGreaterThanMin:Xh,pleaseEnterAValueLessThanMax:Jh,numberRangeSetError:Zh,stringRangeError:Yh,attachmentMaxSize:ph,pleaseEnterTotalScoreSetting:ey,theTotalScoreMustNotBeLessThan1:ty,scoreDefaultValueRange:ny,attachmentLimitError:iy,PleaseReselectTheOptionalQuantity:uy,TheMaximumLengthIsGreaterThanTheMinimumLength:ay,TheMinimumLengthIsGreaterThanTheMaximumLength:ry,PleaseSelectTheCorrectOptionSettings:ly,optionIdIsRepeat:oy,optionIsRequired:cy,pleaseEnterDataCode:sy,pleaseEnterValueFieldCode:dy,pleaseEnterSvcCode:fy,pleaseBindAtLeastOneDisplayValue:hy,pleaseSelectProvince:yy,pleaseSelectCity:my,pleaseSelectDistrict:vy,limitRowsCannotBeLessThan0:gy,TheNumberOfRowsCannotBeLessThanMinRows:by,pleaseEnterColumnWidth:_y,pleaseSetTheLogicalRelationshipOfAllRuleConditions:wy,pleaseCompleteAllRulesAndConditions:Cy,pleaseSelectControl:Ey,pleaseSelectDashboard:Iy,theViewNameCannotBeEmpty:Sy,pleaseSelectOcrType:Ay,pleaseSelectAtLeastOneFieldToFillIn:Ry,pleaseChooseAtLeastOne:Ty,pleaseEnterButtonContent:By,pleaseEnterDataCodeInDataSetting:Py,pleaseEnterValueFieldCodeInDataSetting:Dy,pleaseEnterSvcCodeInDataSetting:xy,pleaseBindAtLeastOneDisplayValueInDataSetting:Fy,rootNodeIsRequiredInDataSetting:ky,pleaseEnterMaxHeight:Oy,pleaseEnter:My,pleaseEnterWatermark:$y,pleaseEnterFileName:Ly,pleaseUploadAtLeastOnePrintTemplate:Ny,pleaseAssignBusiness:Vy,pleaseAssignExternal:Hy,pleaseEnterAliasCode:jy,pleaseSelectDataCode:qy,pleaseSelectSvcCode:Uy,pleaseSelectJoinFieldCode:Wy,pleaseSelectMainFieldCode:Ky,pleaseSelectSortFieldCode:zy},Qy={zhCN:df,enUS:Ph,jaJP:Gy},jr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(jr||(jr={}));var qr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(qr||(qr={}));var Xy="zh-CN";function P(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ft;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(ft||(ft={}));var Ur;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})(Ur||(Ur={}));var A;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap",t.VUE_PAGE="vue-page"})(A||(A={}));var Wr;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(Wr||(Wr={}));var b;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field",t.BOOLEAN="boolean",t.MODEL="model",t.MODEL_SET="model_set"})(b||(b={}));var U;U={},P(U,"varchar","\u77ED\u6587\u672C"),P(U,"timestamp","\u65F6\u95F4"),P(U,"text","\u957F\u6587\u672C"),P(U,"decimal","\u6570\u503C\u7C7B\u578B"),P(U,"relation","\u5F15\u7528\u7C7B\u578B"),P(U,"bigint","\u957F\u6574\u578B"),P(U,"image","\u56FE\u7247"),P(U,"file","\u9644\u4EF6"),P(U,"auto_number","\u81EA\u52A8\u7F16\u53F7"),P(U,"boolean","\u903B\u8F91"),P(U,"people","\u4EBA\u5458"),P(U,"location","\u5730\u5740"),P(U,"department","\u90E8\u95E8"),P(U,"relation-field","\u5173\u8054\u5B57\u6BB5"),P(U,"reference-field","\u5F15\u7528\u5B57\u6BB5"),P(U,"calc","\u8BA1\u7B97\u516C\u5F0F"),P(U,"json","JSON"),P(U,"model","\u6A21\u578B"),P(U,"model_set","\u6A21\u578B\u96C6\u5408"),P(U,"array","\u6570\u7EC4");var ae;ae={},P(ae,"array","array-column"),P(ae,"auto_number","auto-number-column"),P(ae,"decimal","decimal-column"),P(ae,"department","department-column"),P(ae,"file","file-column"),P(ae,"image","image-column"),P(ae,"location","location-column"),P(ae,"people","employee-column"),P(ae,"text","text-column"),P(ae,"timescope","timescope-column"),P(ae,"timestamp","timestamp-column"),P(ae,"varchar","varchar-column"),P(ae,"relation","varchar-column");var xe;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(xe||(xe={}));var Kr={DEFAULT:"default"},zr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Jy=zr+"0123456789";function he(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?zr:Jy,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Au(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Zy(t){if(Array.isArray(t))return Au(t)}function Yy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qn(t,e,n){return Jr()?qn=Reflect.construct:qn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&qt(o,r.prototype),o},qn.apply(null,arguments)}function jt(t){return jt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jt(t)}function Qr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qt(t,e)}function py(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function em(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function tm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function nm(t,e){return e&&(im(e)==="object"||typeof e=="function")?e:Yy(t)}function qt(t,e){return qt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},qt(t,e)}function Xr(t){return Zy(t)||em(t)||um(t)||tm()}function im(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function um(t,e){if(!!t){if(typeof t=="string")return Au(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Au(t,e)}}function Ru(t){var e=typeof Map=="function"?new Map:void 0;return Ru=function(i){if(i===null||!py(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return qn(i,arguments,jt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),qt(u,i)},Ru(t)}function Jr(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Zr(t){var e=Jr();return function(){var i=jt(t),u;if(e){var a=jt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return nm(this,u)}}var Tu=console;function Bu(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=Tu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Xr(u)))}function Yr(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=Tu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Xr(u)))}function am(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Pu=function(t){Qr(n,t);var e=Zr(n);function n(i){Gr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?am(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Ru(Error)),rm=function(t){Qr(n,t);var e=Zr(n);function n(i){Gr(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Pu);function Ut(t){throw new Pu(t)}function pr(t){throw new rm(t)}function lm(t){Tu.error(new Pu(t))}var om=Object.prototype.toString;function el(t,e){return om.call(t)==="[object "+e+"]"}function cm(t){return el(t,"String")}function sm(t){return el(t,"Promise")}var dm=function(){function t(e){var n,i;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((i=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&i!==void 0?i:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var i=this.getMessageData();sm(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,a,r,l){if(u!==void 0){var s=u[a];if(!(r===l.length-1&&!cm(s)))return s}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var a=n[u];return a!==void 0?String(a):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function fm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function hm(t,e,n){return e&&tl(t.prototype,e),n&&tl(t,n),t}function ym(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var f=function(){function t(){fm(this,t)}return hm(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Xy;return new dm({locale:n,messages:Qy})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();ym(f,"$i18n",f.resetI18n());function mm(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,s){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){Bu("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===s.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var vm=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},gm={exports:{}};(function(t){(function(e){var n=function(m,C,R){if(!o(C)||v(C)||g(C)||w(C)||s(C))return C;var B,O=0,de=0;if(d(C))for(B=[],de=C.length;O<de;O++)B.push(n(m,C[O],R));else{B={};for(var $ in C)Object.prototype.hasOwnProperty.call(C,$)&&(B[m($,R)]=n(m,C[$],R))}return B},i=function(m,C){C=C||{};var R=C.separator||"_",B=C.split||/(?=[A-Z])/;return m.split(B).join(R)},u=function(m){return E(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(C,R){return R?R.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},a=function(m){var C=u(m);return C.substr(0,1).toUpperCase()+C.substr(1)},r=function(m,C){return i(m,C).toLowerCase()},l=Object.prototype.toString,s=function(m){return typeof m=="function"},o=function(m){return m===Object(m)},d=function(m){return l.call(m)=="[object Array]"},v=function(m){return l.call(m)=="[object Date]"},g=function(m){return l.call(m)=="[object RegExp]"},w=function(m){return l.call(m)=="[object Boolean]"},E=function(m){return m=m-0,m===m},_=function(m,C){var R=C&&"process"in C?C.process:C;return typeof R!="function"?m:function(B,O){return R(B,m,O)}},I={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(m,C){return n(_(u,C),m)},decamelizeKeys:function(m,C){return n(_(r,C),m,C)},pascalizeKeys:function(m,C){return n(_(a,C),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(vm)})(gm);var nl={};Object.defineProperty(nl,"__esModule",{value:!0});function Du(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Du(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Du(i)}return e}}var bm=nl.default=Du;function ye(t){if(t!==void 0)return typeof t=="object"?bm(t):t}function _m(t){return Object.prototype.toString.call(t)==="[object Object]"}function xu(t){return Array.isArray(t)}function wm(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Fu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Cm(t){if(Array.isArray(t))return Fu(t)}function il(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function Em(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){il(a,i,u,r,l,"next",s)}function l(s){il(a,i,u,r,l,"throw",s)}r(void 0)})}}function Im(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ul(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Sm(t,e,n){return e&&ul(t.prototype,e),n&&ul(t,n),t}function al(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Am(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Rm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ku(t){return Cm(t)||Am(t)||Tm(t)||Rm()}function Tm(t,e){if(!!t){if(typeof t=="string")return Fu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fu(t,e)}}function Bm(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var Pm=function(){function t(){Im(this,t),al(this,"_events",new Map),al(this,"debug",!1)}return Sm(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];var r=this;return Em(function(){var l,s,o,d,v,g,w,E,_,I,m,C;return Bm(this,function(R){switch(R.label){case 0:if(l=r._events.get(n),s=[],!l)return[3,10];o=l.slice(),d=!0,v=!1,g=void 0,R.label=1;case 1:R.trys.push([1,8,9,10]),w=o[Symbol.iterator](),R.label=2;case 2:if(d=(E=w.next()).done)return[3,7];if(_=E.value,!l.includes(_))return[3,6];R.label=3;case 3:return R.trys.push([3,5,,6]),r.debug&&Yr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(ku(u))),[4,_.apply(null,ku(u))];case 4:return I=R.sent(),r.debug&&Yr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(ku(u),[I])),s.push(I),I===!1?[3,7]:[3,6];case 5:return m=R.sent(),lm(String(m)+":"+String(m.stack)),[3,6];case 6:return d=!0,[3,2];case 7:return[3,10];case 8:return C=R.sent(),v=!0,g=C,[3,10];case 9:try{!d&&w.return!=null&&w.return()}finally{if(v)throw g}return[7];case 10:return[2,s]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function Dm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function xm(t,e,n){return e&&rl(t.prototype,e),n&&rl(t,n),t}function Fm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var km=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],Om=function(){function t(){Dm(this,t)}return xm(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(r){return u.includes(r.key)}));var a=n.customEvents.map(function(r){var l=r.key;return r.namespace!==void 0&&r.namespace!==null&&r.namespace!==""&&(l=r.namespace+":"+r.key),{key:l,code:r.key,name:r.name}});return i=i.concat(a),i}}]),t}();Fm(Om,"events",km);function Ou(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Mm(t){if(Array.isArray(t))return Ou(t)}function $m(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Lm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ll(t){return Mm(t)||$m(t)||Nm(t)||Lm()}function Nm(t,e){if(!!t){if(typeof t=="string")return Ou(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ou(t,e)}}function Mu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function ol(t,e,n){n==="Designer"&&(t.parent=e,Mu(t,"parent"))}function Vm(t,e,n){t.forEach(function(i){ol(i,e,n)})}var cl=Symbol("targetKey");function sl(t){var e;return(e=t[cl])!==null&&e!==void 0?e:t}function dl(t,e,n){return Vm(t,e,n),new Proxy(t,{get:function(u,a){for(var r=arguments.length,l=new Array(r>2?r-2:0),s=2;s<r;s++)l[s-2]=arguments[s];var o;return a===cl?u:(o=Reflect).get.apply(o,[u,a].concat(ll(l)))},set:function(u,a,r){for(var l=arguments.length,s=new Array(l>3?l-3:0),o=3;o<l;o++)s[o-3]=arguments[o];var d;if(xu(t)&&a==="length"&&r===t.length)return!0;var v=(d=Reflect).set.apply(d,[u,a,r].concat(ll(s)));return _m(r)&&ol(r,e,n),v}})}function be(t,e,n,i,u){var a=i!=null?i:t,r=dl(sl(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return r},set:function(s){r=dl(sl(s),a,u)},enumerable:!0})}function Hm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function jm(t,e,n){return e&&fl(t.prototype,e),n&&fl(t,n),t}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var hl=[],Un=function(){function t(e){Hm(this,t),Fe(this,"registeredControlTypes",new Set),Fe(this,"controlConfigMap",new Map),Fe(this,"_controls",[]),Fe(this,"_type",void 0),this._type=e,this._initControls(e)}return jm(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Ut("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Bu("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===ft.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===ft.FORM}},{key:"isListControl",value:function(n){return n.controlType===ft.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===ft.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(d){return u.createControl(d,i)});if(n.children&&(n.children=n.children.map(function(d){return u.createControl(d,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(d){return u.createControl(d,i)})),a.footers&&(a.footers=a.footers.map(function(d){var v;return d&&(v=u.createControl(d,i)),v}))}var r=this.getControlFormType(n.type);if(r){var l=n;if(typeof i=="function"){var s=i(l);s&&(l=s)}var o;return r.mode==="Runtime"?(o=l,o.fieldType=r.controlFieldType,this._setParentPrototypeToSchema(o,this)):o=new r(l),o}else Ut("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),Mu(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,r=i._controlParentIdMap,l=i.instanceMap;if(!(!r||!l)){var s=r[a],o=l[a];if(!(!s&&!o)){var d=o.findIndex(function(w){return w==n}),v=l[s]||[],g;return v.length!==o.length?g=v[0]:g=v[d],g}}}}),Mu(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),a=[];if(u){var r=new u(i);a=Array.from(r)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,r=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&Ut("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(s){return s.Designer.controlType===u.controlType});return l>-1&&(Bu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),r.mode=i,this}}]),t}();Fe(Un,"staticControlsRuntimeRules",new Map),Fe(Un,"staticControls",hl),Fe(Un,"staticRegisteredTypes",new Set(hl.map(function(t){return t.Designer.controlType}))),Fe(Un,"staticRegisteredConfigs",new Map);function L(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(t)}function me(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$u(t,e)}function qm(t,e){return e&&(Um(e)==="object"||typeof e=="function")?e:L(t)}function $u(t,e){return $u=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},$u(t,e)}function Um(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Wm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ve(t){var e=Wm();return function(){var i=Wn(t),u;if(e){var a=Wn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return qm(this,u)}}var _e=function t(e){S(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},yl=function t(e){S(this,t),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},ml=function t(e){S(this,t),h(this,"rowHeightType",void 0),h(this,"minRows",void 0),h(this,"maxRows",void 0),h(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var i;this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4;var u;this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20;var a;this.fiexdRow=(a=e==null?void 0:e.fiexdRow)!==null&&a!==void 0?a:4},Km=function t(e){S(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new ml(e==null?void 0:e.pc),this.mobile=new ml(e==null?void 0:e.mobile)},Lu=function(t){me(n,t);var e=ve(n);function n(i){S(this,n);var u;u=e.call(this,i),h(L(u),"width",void 0),h(L(u),"widthType",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:240;var r;return u.widthType=(r=i==null?void 0:i.widthType)!==null&&r!==void 0?r:"auto",u}return n}(yl),zm=function t(e){S(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new Lu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Lu(e==null?void 0:e.mobile):new Lu({width:130,minWidth:180})},Gm=function t(e){S(this,t),h(this,"type",void 0),h(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},ht=function t(e){S(this,t),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},Qm=function(t){me(n,t);var e=ve(n);function n(i){S(this,n);var u;u=e.call(this,i),h(L(u),"primaryControlId",void 0);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(ht),vl=function t(e){S(this,t),h(this,"fieldCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Nu=function t(e){S(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new vl(r)}))!==null&&a!==void 0?a:[]},Xm=function t(e){S(this,t),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},Jm=function(t){me(n,t);var e=ve(n);function n(i){S(this,n);var u;u=e.call(this,i),h(L(u),"title",void 0),h(L(u),"svcCode",void 0),h(L(u),"isOpenFilter",void 0),h(L(u),"filters",void 0);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var s;return u.filters=(s=i==null?void 0:i.filters)!==null&&s!==void 0?s:[],u}return n}(ht),Zm=function t(e){S(this,t);var n,i;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new ht(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(r){return new Xm(r)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(r){return new Jm(r)}))!==null&&a!==void 0?a:[]},Ym=function t(e){S(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},Wt=function t(e){S(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Vu=function t(e){var n=this;S(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:he();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var s,o=new t(l);(s=n.children)===null||s===void 0||s.push(o)}else{var d,v=new Kn(l);(d=n.children)===null||d===void 0||d.push(v)}}))},Kn=function t(e){S(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:he();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var r;this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new Ym(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Wt(e==null?void 0:e.rightVariableBo)},pm=function t(e){S(this,t),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},le=function t(e){S(this,t),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},Hu=function t(e){S(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},ev=function t(e){S(this,t),h(this,"columnName",void 0),h(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function ju(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new Vu(l):new Kn(l)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new Vu(l):new Kn(l)}))!==null&&a!==void 0?a:[];var r;this.orders=(r=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(l){return new ev(l)}))!==null&&r!==void 0?r:[]}var ne=function t(e){var n=this;S(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var r;this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(d){var v;(v=n.displayBoList)===null||v===void 0||v.push(new Hu(d))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var s;this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",ju.call(this,e)},qu=function t(e){S(this,t),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},Ie=function t(e){S(this,t),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var r;this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default";var l;this.formKey=(l=e==null?void 0:e.formKey)!==null&&l!==void 0?l:void 0,this.formType=e==null?void 0:e.formType;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var o;this.needConfirm=(o=e==null?void 0:e.needConfirm)!==null&&o!==void 0?o:!1;var d;this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal";var v;this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!==null&&v!==void 0?v:!0},gl=function t(e){S(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(r){return new Hu(r)}))!==null&&a!==void 0?a:[]},zn=function(t){me(n,t);var e=ve(n);function n(i){S(this,n);var u,a;u=e.call(this,i),h(L(u),"attributes",void 0);var r;return u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new gl(l)}))!==null&&r!==void 0?r:[],u}return n}(ne),tv=function(t){me(n,t);var e=ve(n);function n(i){S(this,n);var u,a;u=e.call(this,i),h(L(u),"attributes",void 0),h(L(u),"formCode",void 0);var r;u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(s){return new gl(s)}))!==null&&r!==void 0?r:[];var l;return u.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",u}return n}(ne),bl=function(t){me(n,t);var e=ve(n);function n(i){S(this,n);var u;u=e.call(this,i),h(L(u),"rootNode",void 0),h(L(u),"filterCode",void 0),u.rootNode=new Wt(i==null?void 0:i.rootNode);var a;return u.filterCode=(a=i==null?void 0:i.filterCode)!==null&&a!==void 0?a:"",u}return n}(zn),_l=function t(e){S(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(r){return new le(r)}))!==null&&a!==void 0?a:[]},wl=function(t){me(n,t);var e=ve(n);function n(i){S(this,n);var u;return u=e.call(this,i),h(L(u),"filters",void 0),h(L(u),"viewFilters",void 0),h(L(u),"orders",void 0),ju.call(L(u),i),u}return n}(_l),Cl=function(t){me(n,t);var e=ve(n);function n(i){S(this,n);var u;u=e.call(this,i),h(L(u),"mode",void 0),h(L(u),"multiple",void 0);var a;u.mode=(a=i==null?void 0:i.mode)!==null&&a!==void 0?a:"current";var r;return u.multiple=(r=i==null?void 0:i.multiple)!==null&&r!==void 0?r:!1,u}return n}(_l),El=function t(e){S(this,t),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},nv=function t(e){S(this,t),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:he(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function Se(t){var e;return(e=t==null?void 0:t.map(function(n){return new nv(n)}))!==null&&e!==void 0?e:[]}var Uu=function t(){S(this,t)},iv=function(t){me(n,t);var e=ve(n);function n(i){S(this,n);var u;return u=e.call(this),h(L(u),"amount",void 0),h(L(u),"currency",void 0),u.amount=new _e(i==null?void 0:i.amount),u.currency=new _e(i==null?void 0:i.currency),u}return n}(Uu),uv=function t(e){S(this,t),h(this,"amount",void 0),h(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},av=function(t){me(n,t);var e=ve(n);function n(i){S(this,n);var u;return u=e.call(this),h(L(u),"min",void 0),h(L(u),"max",void 0),u.min=new _e(i==null?void 0:i.min),u.max=new _e(i==null?void 0:i.max),u}return n}(Uu),rv=function t(e){S(this,t),h(this,"min",void 0),h(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},lv=function t(e){S(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var r;this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},ov=function(t){me(n,t);var e=ve(n);function n(i){S(this,n);var u;return u=e.call(this),h(L(u),"result",void 0),h(L(u),"unit",void 0),u.result=new _e(i==null?void 0:i.result),u.unit=new _e(i==null?void 0:i.unit),u}return n}(Uu),cv=function t(e){S(this,t),h(this,"result",void 0),h(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},Wu;(function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"})(Wu||(Wu={}));var c;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste"})(c||(c={}));var Ku;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Ku||(Ku={}));var ke=function t(e){S(this,t),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},sv=function t(e){S(this,t);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:he(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new vl(r)}))!==null&&a!==void 0?a:[],ju.call(this,e)},dv=function t(e){S(this,t),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},fv=function t(e){S(this,t),h(this,"optCode",void 0),h(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},hv=function t(e){S(this,t);var n;h(this,"id",void 0),h(this,"name",void 0),h(this,"color",void 0),h(this,"filters",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:he();var u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var a;this.color=(a=e==null?void 0:e.color)!==null&&a!==void 0?a:"theme";var r;this.filters=(r=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new Vu(l):new Kn(l)}))!==null&&r!==void 0?r:[]},yv=function t(e){S(this,t),h(this,"id",void 0),h(this,"script",void 0),h(this,"color",void 0);var n;this.id=(n=e.id)!==null&&n!==void 0?n:he();var i;this.script=(i=e.script)!==null&&i!==void 0?i:"";var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme"};function mv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gn(t,e,n){return Il()?Gn=Reflect.construct:Gn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&zt(o,r.prototype),o},Gn.apply(null,arguments)}function Oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Kt(t){return Kt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kt(t)}function vv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zt(t,e)}function gv(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function bv(t,e){return e&&(_v(e)==="object"||typeof e=="function")?e:mv(t)}function zt(t,e){return zt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},zt(t,e)}function _v(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Gu(t){var e=typeof Map=="function"?new Map:void 0;return Gu=function(i){if(i===null||!gv(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Gn(i,arguments,Kt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),zt(u,i)},Gu(t)}function Il(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function wv(t){var e=Il();return function(){var i=Kt(t),u;if(e){var a=Kt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return bv(this,u)}}var Q=function t(e){zu(this,t),Oe(this,"isHide",{type:"boolean"})},We=function(t){vv(n,t);var e=wv(n);function n(i){return zu(this,n),e.call(this)}return n}(Gu(Array)),X=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";zu(this,t),Oe(this,"isHide",void 0),Oe(this,"className",void 0),Oe(this,"style",void 0),Oe(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new dv(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};Oe(X,"mode",void 0),Oe(X,"Rules",Q),Oe(X,"RuntimeRules",We);function we(){return we=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},we.apply(this,arguments)}function Cv(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Qu(t){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qu(t)}function Qn(t,e){return Qn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Qn(t,e)}function Ev(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Xn(t,e,n){return Ev()?Xn=Reflect.construct:Xn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Qn(o,r.prototype),o},Xn.apply(null,arguments)}function Iv(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Xu(t){var e=typeof Map=="function"?new Map:void 0;return Xu=function(i){if(i===null||!Iv(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Xn(i,arguments,Qu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Qn(u,i)},Xu(t)}var Sv=/%[sdj%]/g,Sl=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Sl=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Ju(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function oe(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(Sv,function(l){if(l==="%%")return"%";if(i>=a)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return l}});return r}return u}function Av(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function J(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Av(e)&&typeof t=="string"&&!t)}function Rv(t,e,n){var i=[],u=0,a=t.length;function r(l){i.push.apply(i,l),u++,u===a&&n(i)}t.forEach(function(l){e(l,r)})}function Al(t,e,n){var i=0,u=t.length;function a(r){if(r&&r.length){n(r);return}var l=i;i=i+1,l<u?e(t[l],a):n([])}a([])}function Tv(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Rl=function(t){Cv(e,t);function e(n,i){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=n,u.fields=i,u}return e}(Xu(Error));function Bv(t,e,n,i){if(e.first){var u=new Promise(function(v,g){var w=function(I){return i(I),I.length?g(new Rl(I,Ju(I))):v()},E=Tv(t);Al(E,n,w)});return u.catch(function(v){return v}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,s=0,o=[],d=new Promise(function(v,g){var w=function(_){if(o.push.apply(o,_),s++,s===l)return i(o),o.length?g(new Rl(o,Ju(o))):v()};r.length||(i(o),v()),r.forEach(function(E){var _=t[E];a.indexOf(E)!==-1?Al(_,n,w):Rv(_,n,w)})});return d.catch(function(v){return v}),d}function Tl(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function Bl(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=we(we({},t[n]),i):t[n]=i}}return t}function Pl(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||J(e,a||t.type))&&i.push(oe(u.messages.required,t.fullField))}function Pv(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(oe(u.messages.whitespace,t.fullField))}var Zu={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},Gt={integer:function(e){return Gt.number(e)&&parseInt(e,10)===e},float:function(e){return Gt.number(e)&&!Gt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!Gt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Zu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Zu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Zu.hex)}};function Dv(t,e,n,i,u){if(t.required&&e===void 0){Pl(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;a.indexOf(r)>-1?Gt[r](e)||i.push(oe(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(oe(u.messages.types[r],t.fullField,t.type))}function xv(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,d=null,v=typeof e=="number",g=typeof e=="string",w=Array.isArray(e);if(v?d="number":g?d="string":w&&(d="array"),!d)return!1;w&&(o=e.length),g&&(o=e.replace(s,"_").length),a?o!==t.len&&i.push(oe(u.messages[d].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(oe(u.messages[d].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(oe(u.messages[d].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(oe(u.messages[d].range,t.fullField,t.min,t.max))}var yt="enum";function Fv(t,e,n,i,u){t[yt]=Array.isArray(t[yt])?t[yt]:[],t[yt].indexOf(e)===-1&&i.push(oe(u.messages[yt],t.fullField,t[yt].join(", ")))}function kv(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(oe(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(oe(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:Pl,whitespace:Pv,type:Dv,range:xv,enum:Fv,pattern:kv};function Ov(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(J(e,"string")&&!t.required)return n();T.required(t,e,i,a,u,"string"),J(e,"string")||(T.type(t,e,i,a,u),T.range(t,e,i,a,u),T.pattern(t,e,i,a,u),t.whitespace===!0&&T.whitespace(t,e,i,a,u))}n(a)}function Mv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(J(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function $v(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),J(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Lv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(J(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function Nv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(J(e)&&!t.required)return n();T.required(t,e,i,a,u),J(e)||T.type(t,e,i,a,u)}n(a)}function Vv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(J(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Hv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(J(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function jv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();T.required(t,e,i,a,u,"array"),e!=null&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function qv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(J(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}var Uv="enum";function Wv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(J(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T[Uv](t,e,i,a,u)}n(a)}function Kv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(J(e,"string")&&!t.required)return n();T.required(t,e,i,a,u),J(e,"string")||T.pattern(t,e,i,a,u)}n(a)}function zv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(J(e,"date")&&!t.required)return n();if(T.required(t,e,i,a,u),!J(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),T.type(t,l,i,a,u),l&&T.range(t,l.getTime(),i,a,u)}}n(a)}function Gv(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;T.required(t,e,i,a,u,r),n(a)}function Yu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(J(e,a)&&!t.required)return n();T.required(t,e,i,r,u,a),J(e,a)||T.type(t,e,i,r,u)}n(r)}function Qv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(J(e)&&!t.required)return n();T.required(t,e,i,a,u)}n(a)}var Qt={string:Ov,method:Mv,number:$v,boolean:Lv,regexp:Nv,integer:Vv,float:Hv,array:jv,object:qv,enum:Wv,pattern:Kv,date:zv,url:Yu,hex:Yu,email:Yu,required:Gv,any:Qv};function pu(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var ea=pu();function Me(t){this.rules=null,this._messages=ea,this.define(t)}Me.prototype={messages:function(e){return e&&(this._messages=Bl(pu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function s(_){var I,m=[],C={};function R(B){if(Array.isArray(B)){var O;m=(O=m).concat.apply(O,B)}else m.push(B)}for(I=0;I<_.length;I++)R(_[I]);m.length?C=Ju(m):(m=null,C=null),l(m,C)}if(r.messages){var o=this.messages();o===ea&&(o=pu()),Bl(o,r.messages),r.messages=o}else r.messages=this.messages();var d,v,g={},w=r.keys||Object.keys(this.rules);w.forEach(function(_){d=u.rules[_],v=a[_],d.forEach(function(I){var m=I;typeof m.transform=="function"&&(a===e&&(a=we({},a)),v=a[_]=m.transform(v)),typeof m=="function"?m={validator:m}:m=we({},m),m.validator=u.getValidationMethod(m),m.field=_,m.fullField=m.fullField||_,m.type=u.getType(m),m.validator&&(g[_]=g[_]||[],g[_].push({rule:m,value:v,source:a,field:_}))})});var E={};return Bv(g,r,function(_,I){var m=_.rule,C=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");C=C&&(m.required||!m.required&&_.value),m.field=_.field;function R(de,$){return we(we({},$),{},{fullField:m.fullField+"."+de})}function B(de){de===void 0&&(de=[]);var $=de;if(Array.isArray($)||($=[$]),!r.suppressWarning&&$.length&&Me.warning("async-validator:",$),$.length&&m.message!==void 0&&($=[].concat(m.message)),$=$.map(Tl(m)),r.first&&$.length)return E[m.field]=1,I($);if(!C)I($);else{if(m.required&&!_.value)return m.message!==void 0?$=[].concat(m.message).map(Tl(m)):r.error&&($=[r.error(m,oe(r.messages.required,m.field))]),I($);var fe={};if(m.defaultField)for(var Nn in _.value)_.value.hasOwnProperty(Nn)&&(fe[Nn]=m.defaultField);fe=we(we({},fe),_.rule.fields);for(var Be in fe)if(fe.hasOwnProperty(Be)){var Cu=Array.isArray(fe[Be])?fe[Be]:[fe[Be]];fe[Be]=Cu.map(R.bind(null,Be))}var Vn=new Me(fe);Vn.messages(r.messages),_.rule.options&&(_.rule.options.messages=r.messages,_.rule.options.error=r.error),Vn.validate(_.value,_.rule.options||r,function(Nt){var Pe=[];$&&$.length&&Pe.push.apply(Pe,$),Nt&&Nt.length&&Pe.push.apply(Pe,Nt),I(Pe.length?Pe:null)})}}var O;m.asyncValidator?O=m.asyncValidator(m,_.value,B,_.source,r):m.validator&&(O=m.validator(m,_.value,B,_.source,r),O===!0?B():O===!1?B(m.message||m.field+" fails"):O instanceof Array?B(O):O instanceof Error&&B(O.message)),O&&O.then&&O.then(function(){return B()},function(de){return B(de)})},function(_){s(_)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Qt.hasOwnProperty(e.type))throw new Error(oe("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Qt.required:Qt[this.getType(e)]||!1}},Me.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Qt[e]=n},Me.warning=Sl,Me.messages=ea,Me.validators=Qt;var Xv={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function Jv(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Me(t);return n.messages(Object.assign(Xv,e)),n}var Zv=new Pm;function ta(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Yv(t){if(Array.isArray(t))return t}function pv(t){if(Array.isArray(t))return ta(t)}function Dl(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function xl(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){Dl(a,i,u,r,l,"next",s)}function l(s){Dl(a,i,u,r,l,"throw",s)}r(void 0)})}}function eg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function tg(t,e,n){return e&&Fl(t.prototype,e),n&&Fl(t,n),t}function k(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kl(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Ol(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ng(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ig(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ml(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){k(t,u,n[u])})}return t}function ug(t){return Yv(t)||Ol(t)||$l(t)||ng()}function na(t){return pv(t)||Ol(t)||$l(t)||ig()}function $l(t,e){if(!!t){if(typeof t=="string")return ta(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ta(t,e)}}function Ll(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var M=function(){function e(n){var i=this;eg(this,e),k(this,"id",void 0),k(this,"name",void 0),k(this,"icon",void 0),k(this,"type",void 0),k(this,"controlType",void 0),k(this,"props",void 0),k(this,"setting",[]),k(this,"fieldType",void 0),k(this,"eventKeys",[]),k(this,"customEvents",[]),k(this,"parent",null),k(this,"slots",void 0),k(this,"slotPosition",void 0),k(this,"updateSetting",Vl),k(this,"removeSetting",Nl),this._callControlHooks("preInstance",n);var u=kl(this,e)?this.constructor:void 0,a=u.controlName,r=u.controlIcon,l=u.controlType,s=u.controlFieldType,o=u.controlEventKeys,d=u.controlCustomEvents,v=u.name,g=u.setting,w=u.slots,E=u.slotPosition;a&&r&&l||pr("The ".concat(v," controlName,controlIcon,controlType is not define"));var _;this.id=(_=n==null?void 0:n.id)!==null&&_!==void 0?_:he(10),this.name=a,this.icon=r;var I;this.type=(I=n==null?void 0:n.type)!==null&&I!==void 0?I:l,this.props=new X(n==null?void 0:n.props,(kl(this,e)?this.constructor:void 0).controlName);var m;this.controlType=(m=n==null?void 0:n.controlType)!==null&&m!==void 0?m:"base",this.setting=ye(g);var C;this.fieldType=(C=n==null?void 0:n.fieldType)!==null&&C!==void 0?C:s,this.eventKeys=ye(o),this.customEvents=ye(d),this.slots=ye(w),this.slotPosition=ye(E),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return tg(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var r,l=ug(u),s=l[0],o=l.slice(1);return(r=Zv).emit.apply(r,[s,this].concat(na(o)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),mm(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return xl(function(){var u,a,r;return Ll(this,function(l){switch(l.label){case 0:return u=Ml({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return a=l.sent(),r=a[a.length-1],[2,r===!1?void 0:r]}})})()}},{key:"validate",value:function(i,u){var a=this;return xl(function(){var r,l,s,o;return Ll(this,function(d){switch(d.label){case 0:return[4,a.preValidate()];case 1:r=d.sent(),l=r!==void 0?r:Ml({},a.rules),Array.isArray(u)&&u.forEach(function(v){l.hasOwnProperty(v)&&delete l[v]}),s=Jv(l,i),d.label=2;case 2:return d.trys.push([2,4,,5]),[4,s.validate(a.props)];case 3:return d.sent(),[2,!0];case 4:throw o=d.sent(),o.control||(o.control=a),o;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,r=this.type,l=this.props,s=l.dataBind,o=l.datasourceBind,d=l.optionConfig,v=l.caption,g=l.required,w=l.maxLength,E=l.options,_=l.encrypted,I=l.encryptedMode;if(!(!u&&!s&&!o)){var m={parentId:i,fieldType:u,controlId:a,caption:v,type:r,props:{}};switch(s&&(m.dataBind=s),d){case"datasource":case void 0:o&&(m.datasourceBind=o);break;case"custom":m.props.options=E;break}return g!==void 0&&(m.required=g),w!==void 0&&(m.maxLength=w),_!==void 0&&(m.encrypted=_),I!==void 0&&(m.encryptedMode=I),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ye(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,na(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();k(M,"mode","Designer"),k(M,"slots",void 0),k(M,"slotPosition",void 0),k(M,"controlName","\u63A7\u4EF6"),k(M,"controlIcon","icon"),k(M,"controlType","control"),k(M,"controlFieldType",void 0),k(M,"controlEventKeys",[]),k(M,"controlCustomEvents",[]),k(M,"setting",[]),k(M,"__is_control__",!0),k(M,"removeSettingItem",Nl),k(M,"updateSettingItem",Vl);function Nl(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",r=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(o){return o.key===(a?i.key:i)});if(r!==-1){var l,s;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(o){return!i.hideItems.includes(o)}):e.setting.splice(r,1),a&&!(!((s=e.setting[r].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(r,1)}})}function Vl(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(o){return o.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if(typeof e=="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var s;(s=a.showItems).push.apply(s,na(e.showItems))}}}})}function ag(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function rg(t,e,n){return e&&Hl(t.prototype,e),n&&Hl(t,n),t}function ce(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lg(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Z=function(){function e(n){ag(this,e),ce(this,"id",void 0),ce(this,"type",void 0),ce(this,"controlType",void 0),ce(this,"props",void 0),ce(this,"fieldType",void 0),ce(this,"customEvents",[]),ce(this,"pageStatus",void 0),ce(this,"parent",null);var i=lg(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||pr("The ".concat(r," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:he(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new X(n==null?void 0:n.props),this.customEvents=l;var d;this.controlType=(d=n==null?void 0:n.controlType)!==null&&d!==void 0?d:"base";var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:Ku.UNKNOWN}return rg(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();ce(Z,"mode","Runtime"),ce(Z,"controlType","control"),ce(Z,"controlFieldType",void 0),ce(Z,"__is_control__",!0),ce(Z,"controlCustomEvents",[]);function ia(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=wm(a);a.length!==r.length?u(f.getMessage("optionIdIsRepeat")):u()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function Jn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}function og(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function V(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function pn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ua(t,e)}function cg(t,e){return e&&(sg(e)==="object"||typeof e=="function")?e:V(t)}function ua(t,e){return ua=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ua(t,e)}function sg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function dg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ei(t){var e=dg();return function(){var i=Yn(t),u;if(e){var a=Yn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return cg(this,u)}}var Y=function(t){pn(n,t);var e=ei(n);function n(i){Zn(this,n);var u;u=e.call(this,i),H(V(u),"dataBind",{}),H(V(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),H(V(u),"isHideCaption",{type:"boolean"}),H(V(u),"labelPosition",{type:"enum",enum:["top","left"]}),H(V(u),"defaultState",{type:"enum",enum:["default","readonly"]}),H(V(u),"required",{type:"boolean"}),H(V(u),"captionTip",{type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")});var a={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(og(i.dataBind))u.dataBind={type:"object",required:!0,fields:ye(a),message:f.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){r.fields[l]={type:"object",required:!0,fields:ye(a),message:f.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(Q),N=function(t){pn(n,t);var e=ei(n);function n(i){Zn(this,n);var u;u=e.call(this,i);var a=i.isHide?!1:i.required;return a&&u.push({type:"string",required:a,message:i.requiredMessage!==""?i.requiredMessage:f.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(We),D=function(t){pn(n,t);var e=ei(n);function n(i){Zn(this,n);var u;u=e.call(this,i),H(V(u),"caption",void 0),H(V(u),"isHideCaption",void 0),H(V(u),"isShowCaptionTip",void 0),H(V(u),"captionTip",void 0),H(V(u),"labelPosition",void 0),H(V(u),"dataBind",void 0),H(V(u),"defaultValue",void 0),H(V(u),"placeholder",void 0),H(V(u),"defaultState",void 0),H(V(u),"required",void 0),H(V(u),"requiredMessage",void 0);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;u.isHideCaption=(r=i==null?void 0:i.isHideCaption)!==null&&r!==void 0?r:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var s;u.captionTip=(s=i==null?void 0:i.captionTip)!==null&&s!==void 0?s:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var d;u.labelPosition=(d=i==null?void 0:i.labelPosition)!==null&&d!==void 0?d:"top";var v;u.placeholder=(v=i==null?void 0:i.placeholder)!==null&&v!==void 0?v:"";var g;u.required=(g=i==null?void 0:i.required)!==null&&g!==void 0?g:!1;var w;u.requiredMessage=(w=i==null?void 0:i.requiredMessage)!==null&&w!==void 0?w:"",u.dataBind=new _e(i==null?void 0:i.dataBind);var E;return u.defaultValue=(E=i==null?void 0:i.defaultValue)!==null&&E!==void 0?E:"",u}return n}(X);H(D,"Rules",Y),H(D,"RuntimeRules",N);var mt=function(t){pn(n,t);var e=ei(n);function n(i){Zn(this,n);var u;return u=e.call(this,i),H(V(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),H(V(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),H(V(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),ia.call(V(u),i),u}return n}(Y);function aa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ti(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(t)}function hg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ra(t,e)}function yg(t,e){return e&&(mg(e)==="object"||typeof e=="function")?e:aa(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function mg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function gg(t){var e=vg();return function(){var i=ni(t),u;if(e){var a=ni(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return yg(this,u)}}var x=function(t){hg(n,t);var e=gg(n);function n(i){fg(this,n);var u;return u=e.call(this,i),ti(aa(u),"controlType","form"),ti(aa(u),"props",void 0),u.props=new D(i==null?void 0:i.props),u}return n}(M);ti(x,"controlEventKeys",["on_change","on_focus","on_blur"]),ti(x,"controlCustomAttributes",void 0);function ii(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function la(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function _g(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&oa(t,e)}function wg(t,e){return e&&(Cg(e)==="object"||typeof e=="function")?e:ii(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function Cg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Eg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ig(t){var e=Eg();return function(){var i=ui(t),u;if(e){var a=ui(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return wg(this,u)}}var F=function(t){_g(n,t);var e=Ig(n);function n(i){bg(this,n);var u;return u=e.call(this,i),la(ii(u),"controlType","form"),la(ii(u),"props",void 0),la(ii(u),"value",void 0),u.props=new D(i==null?void 0:i.props),u}return n}(Z);function Sg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ag(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function Rg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ca(t,e)}function Tg(t,e){return e&&(Bg(e)==="object"||typeof e=="function")?e:Sg(t)}function ca(t,e){return ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ca(t,e)}function Bg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Pg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Dg(t){var e=Pg();return function(){var i=ai(t),u;if(e){var a=ai(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Tg(this,u)}}var j=function(t){Rg(n,t);var e=Dg(n);function n(i){return Ag(this,n),e.call(this,i)}return n}(X);function sa(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function xg(t){if(Array.isArray(t))return sa(t)}function Ke(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jl(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function Fg(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){jl(a,i,u,r,l,"next",s)}function l(s){jl(a,i,u,r,l,"throw",s)}r(void 0)})}}function kg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ql(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Og(t,e,n){return e&&ql(t.prototype,e),n&&ql(t,n),t}function $e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?vt=Reflect.get:vt=function(u,a,r){var l=Ug(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r||u):s.value}},vt(t,e,n||t)}function Le(t){return Le=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Le(t)}function Mg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&da(t,e)}function $g(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Lg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ng(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Vg(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){$e(t,u,n[u])})}return t}function Hg(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function jg(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Hg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function qg(t,e){return e&&(Wg(e)==="object"||typeof e=="function")?e:Ke(t)}function da(t,e){return da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},da(t,e)}function Ug(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Le(t),t!==null););return t}function Ul(t){return xg(t)||Lg(t)||Kg(t)||Ng()}function Wg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Kg(t,e){if(!!t){if(typeof t=="string")return sa(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return sa(t,e)}}function zg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Gg(t){var e=zg();return function(){var i=Le(t),u;if(e){var a=Le(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return qg(this,u)}}function Qg(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var Xg=1e4,W=function(e){Mg(i,e);var n=Gg(i);function i(u){kg(this,i);var a;a=n.call(this,u),$e(Ke(a),"controlType","layout"),$e(Ke(a),"children",void 0),$e(Ke(a),"excludes",void 0),$e(Ke(a),"childrenMaxLength",void 0),$e(Ke(a),"props",void 0);var r=$g(this,i)?this.constructor:void 0,l=r.excludes,s=r.childrenMaxLength;return a.props=new j(u==null?void 0:u.props),be(Ke(a),"children",u==null?void 0:u.children,void 0,"Designer"),a.excludes=ye(l),a.childrenMaxLength=s,a}return Og(i,[{key:"judgeExcludesChildren",value:function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)}},{key:"judgeJoinChildren",value:function(a){var r=this.judgeExcludesChildren(a);return r&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(a,r){var l=this,s=this,o=function(){return vt(Le(i.prototype),"validate",l)};return Fg(function(){return Qg(this,function(d){switch(d.label){case 0:return[4,o().call(s,a,r)];case 1:return d.sent(),[4,Promise.all(s.children.map(function(v){return v.validate(a,r)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=vt(Le(i.prototype),"toDataBindModel",this).call(this),l=r?[r]:[];return this.children.reduce(function(s,o){var d=o.toDataBindModel(a);if(Array.isArray(d)){var v=d.filter(function(g){return!!g});return Ul(s).concat(Ul(v))}return d&&s.push(d),s},l)}},{key:"toSchema",value:function(){var a=vt(Le(i.prototype),"toSchema",this).call(this),r=this.children.map(function(l){var s=l.toSchema();return s});return jg(Vg({},a),{children:r})}}]),i}(M);$e(W,"excludes",!1),$e(W,"childrenMaxLength",Xg);function Xt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function Zg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ha(t,e)}function Yg(t,e){return e&&(pg(e)==="object"||typeof e=="function")?e:Xt(t)}function ha(t,e){return ha=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ha(t,e)}function pg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function e0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function t0(t){var e=e0();return function(){var i=ri(t),u;if(e){var a=ri(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Yg(this,u)}}var K=function(t){Zg(n,t);var e=t0(n);function n(i){Jg(this,n);var u;return u=e.call(this,i),fa(Xt(u),"controlType","layout"),fa(Xt(u),"children",void 0),fa(Xt(u),"props",void 0),u.props=new j(i==null?void 0:i.props),be(Xt(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return n}(Z);function Ae(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function n0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function i0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ya(t,e)}function u0(t,e){return e&&(a0(e)==="object"||typeof e=="function")?e:Ae(t)}function ya(t,e){return ya=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ya(t,e)}function a0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function r0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function l0(t){var e=r0();return function(){var i=li(t),u;if(e){var a=li(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return u0(this,u)}}var oi=function(t){i0(n,t);var e=l0(n);function n(i,u,a){n0(this,n);var r;r=e.call(this,u),gt(Ae(r),"headers",void 0),gt(Ae(r),"footers",void 0),gt(Ae(r),"pageIndex",void 0),gt(Ae(r),"pageSize",void 0),gt(Ae(r),"pageSizeOptions",void 0),gt(Ae(r),"totalCount",void 0),be(Ae(r),"headers",u==null?void 0:u.headers,i,a),be(Ae(r),"footers",u==null?void 0:u.footers,i);var l;r.pageIndex=(l=u==null?void 0:u.pageIndex)!==null&&l!==void 0?l:1;var s;r.pageSize=(s=u==null?void 0:u.pageSize)!==null&&s!==void 0?s:20;var o;r.pageSizeOptions=(o=u==null?void 0:u.pageSizeOptions)!==null&&o!==void 0?o:[20];var d;return r.totalCount=(d=u==null?void 0:u.totalCount)!==null&&d!==void 0?d:0,r}return n}(X);function ma(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function o0(t){if(Array.isArray(t))return ma(t)}function ci(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wl(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function c0(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){Wl(a,i,u,r,l,"next",s)}function l(s){Wl(a,i,u,r,l,"throw",s)}r(void 0)})}}function s0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function d0(t,e,n){return e&&Kl(t.prototype,e),n&&Kl(t,n),t}function si(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?bt=Reflect.get:bt=function(u,a,r){var l=g0(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r||u):s.value}},bt(t,e,n||t)}function Ne(t){return Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ne(t)}function f0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&va(t,e)}function h0(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function y0(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function zl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){si(t,u,n[u])})}return t}function m0(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function Gl(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):m0(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function v0(t,e){return e&&(b0(e)==="object"||typeof e=="function")?e:ci(t)}function va(t,e){return va=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},va(t,e)}function g0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ne(t),t!==null););return t}function Ql(t){return o0(t)||h0(t)||_0(t)||y0()}function b0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _0(t,e){if(!!t){if(typeof t=="string")return ma(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ma(t,e)}}function w0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function C0(t){var e=w0();return function(){var i=Ne(t),u;if(e){var a=Ne(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return v0(this,u)}}function E0(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var ga=function(t){f0(n,t);var e=C0(n);function n(i){s0(this,n);var u;return u=e.call(this,i),si(ci(u),"controlType","list"),si(ci(u),"props",void 0),u.props=new oi(ci(u),i==null?void 0:i.props,"Designer"),u}return d0(n,[{key:"validate",value:function(u,a){var r=this,l=this,s=function(){return bt(Ne(n.prototype),"validate",r)};return c0(function(){return E0(this,function(o){switch(o.label){case 0:return[4,s().call(l,u)];case 1:return o.sent(),[4,Promise.all(l.props.headers.map(function(d){return d.validate(u,a)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=bt(Ne(n.prototype),"toDataBindModel",this).call(this),a=u?[u]:[],r=this.id;return this.props.headers.reduce(function(l,s){var o=s.toDataBindModel(r);if(Array.isArray(o)){var d=o.filter(function(v){return!!v});return Ql(l).concat(Ql(d))}return o&&l.push(o),l},a)}},{key:"toSchema",value:function(){var u,a,r=bt(Ne(n.prototype),"toSchema",this).call(this),l=this.props.headers.map(function(o){return o.toSchema()}),s=(a=this.props)===null||a===void 0||(u=a.footers)===null||u===void 0?void 0:u.map(function(o){if(o)return o.toSchema()});return Gl(zl({},r),{props:Gl(zl({},this.props),{headers:l,footers:s})})}}]),n}(M);si(ga,"controlFieldType",b.LIST);function _t(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function I0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function S0(t,e,n){return e&&Xl(t.prototype,e),n&&Xl(t,n),t}function ba(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function A0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_a(t,e)}function R0(t,e){return e&&(T0(e)==="object"||typeof e=="function")?e:_t(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function T0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function B0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function P0(t){var e=B0();return function(){var i=di(t),u;if(e){var a=di(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return R0(this,u)}}var Jl=function(t){A0(n,t);var e=P0(n);function n(i){I0(this,n);var u;return u=e.call(this,i),ba(_t(u),"controlType","list"),ba(_t(u),"children",void 0),ba(_t(u),"props",void 0),u.props=new oi(_t(u),i==null?void 0:i.props,"Runtime"),be(_t(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return S0(n,[{key:"length",get:function(){return this.children.length}}]),n}(Z);function p(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function fi(t){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(t)}function Ca(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ea(t,e)}function D0(t,e){return e&&(x0(e)==="object"||typeof e=="function")?e:p(t)}function Ea(t,e){return Ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ea(t,e)}function x0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function F0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ia(t){var e=F0();return function(){var i=fi(t),u;if(e){var a=fi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return D0(this,u)}}var Ce=function(t){Ca(n,t);var e=Ia(n);function n(i){wa(this,n);var u;return u=e.call(this,i),ie(p(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),ie(p(u),"width",{type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(Q),z=function(t){Ca(n,t);var e=Ia(n);function n(i){wa(this,n);var u;u=e.call(this,i),ie(p(u),"widthType",void 0),ie(p(u),"width",void 0),ie(p(u),"caption",void 0),ie(p(u),"dataBind",void 0),ie(p(u),"autoWidth",void 0),ie(p(u),"fixed",void 0),ie(p(u),"sort",void 0),ie(p(u),"align",void 0),ie(p(u),"colSpan",void 0),ie(p(u),"autoHeight",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.autoWidth=new yl(i==null?void 0:i.autoWidth),u.dataBind=new _e(i==null?void 0:i.dataBind);var s;u.sort=(s=i==null?void 0:i.sort)!==null&&s!==void 0?s:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(X);ie(z,"Rules",Ce);var Zl=function(t){Ca(n,t);var e=Ia(n);function n(i){wa(this,n);var u;return u=e.call(this,i),ie(p(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),ie(p(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),ie(p(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),ia.call(p(u),i),u}return n}(Ce);function Sa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function k0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hi(t){return hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hi(t)}function O0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Aa(t,e)}function M0(t,e){return e&&($0(e)==="object"||typeof e=="function")?e:Sa(t)}function Aa(t,e){return Aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Aa(t,e)}function $0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function L0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function N0(t){var e=L0();return function(){var i=hi(t),u;if(e){var a=hi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return M0(this,u)}}var ee=function(t){O0(n,t);var e=N0(n);function n(i){k0(this,n);var u;return u=e.call(this,i),Yl(Sa(u),"controlType","column"),Yl(Sa(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(M);function Ra(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function V0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yi(t){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yi(t)}function H0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ta(t,e)}function j0(t,e){return e&&(q0(e)==="object"||typeof e=="function")?e:Ra(t)}function Ta(t,e){return Ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ta(t,e)}function q0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function U0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function W0(t){var e=U0();return function(){var i=yi(t),u;if(e){var a=yi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return j0(this,u)}}var te=function(t){H0(n,t);var e=W0(n);function n(i){V0(this,n);var u;return u=e.call(this,i),pl(Ra(u),"controlType","column"),pl(Ra(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(Z);function eo(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function K0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function z0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mi(t){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(t)}function G0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ba(t,e)}function Q0(t,e){return e&&(X0(e)==="object"||typeof e=="function")?e:eo(t)}function Ba(t,e){return Ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ba(t,e)}function X0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function J0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Z0(t){var e=J0();return function(){var i=mi(t),u;if(e){var a=mi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Q0(this,u)}}var Pa=function(t){G0(n,t);var e=Z0(n);function n(i){K0(this,n);var u;return u=e.call(this,i),z0(eo(u),"dataBind",void 0),u.dataBind=new _e(i==null?void 0:i.dataBind),u}return n}(j);function Da(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Y0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function to(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vi(t){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vi(t)}function p0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xa(t,e)}function eb(t,e){return e&&(tb(e)==="object"||typeof e=="function")?e:Da(t)}function xa(t,e){return xa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xa(t,e)}function tb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function nb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ib(t){var e=nb();return function(){var i=vi(t),u;if(e){var a=vi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return eb(this,u)}}var ub=function(t){p0(n,t);var e=ib(n);function n(i){Y0(this,n);var u;return u=e.call(this,i),to(Da(u),"controlType","search"),to(Da(u),"props",void 0),u.props=new Pa(i==null?void 0:i.props),u}return n}(W);function Fa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ab(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function no(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gi(t){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(t)}function rb(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ka(t,e)}function lb(t,e){return e&&(ob(e)==="object"||typeof e=="function")?e:Fa(t)}function ka(t,e){return ka=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ka(t,e)}function ob(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function cb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function sb(t){var e=cb();return function(){var i=gi(t),u;if(e){var a=gi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return lb(this,u)}}var db=function(t){rb(n,t);var e=sb(n);function n(i){ab(this,n);var u;return u=e.call(this,i),no(Fa(u),"controlType","search"),no(Fa(u),"props",void 0),u.props=new Pa(i==null?void 0:i.props),u}return n}(K);function fb(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bi(t){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(t)}function yb(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Oa(t,e)}function mb(t,e){return e&&(vb(e)==="object"||typeof e=="function")?e:fb(t)}function Oa(t,e){return Oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Oa(t,e)}function vb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function bb(t){var e=gb();return function(){var i=bi(t),u;if(e){var a=bi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return mb(this,u)}}var Ma=function(t){yb(n,t);var e=bb(n);function n(i){return hb(this,n),e.call(this,i)}return n}(j);function $a(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function io(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _i(t){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_i(t)}function wb(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&La(t,e)}function Cb(t,e){return e&&(Eb(e)==="object"||typeof e=="function")?e:$a(t)}function La(t,e){return La=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},La(t,e)}function Eb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ib(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Sb(t){var e=Ib();return function(){var i=_i(t),u;if(e){var a=_i(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Cb(this,u)}}var Ab=function(t){wb(n,t);var e=Sb(n);function n(i){_b(this,n);var u;return u=e.call(this,i),io($a(u),"controlType","wrap"),io($a(u),"props",void 0),u.props=new Ma(i==null?void 0:i.props),u}return n}(W);function Na(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function uo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wi(t){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wi(t)}function Tb(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Va(t,e)}function Bb(t,e){return e&&(Pb(e)==="object"||typeof e=="function")?e:Na(t)}function Va(t,e){return Va=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Va(t,e)}function Pb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Db(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function xb(t){var e=Db();return function(){var i=wi(t),u;if(e){var a=wi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Bb(this,u)}}var Fb=function(t){Tb(n,t);var e=xb(n);function n(i){Rb(this,n);var u;return u=e.call(this,i),uo(Na(u),"controlType","wrap"),uo(Na(u),"props",void 0),u.props=new Ma(i==null?void 0:i.props),u}return n}(K);function Ve(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class Ha extends X{constructor(e){var n,i,u,a,r,l;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(r=e==null?void 0:e.content)!=null?r:"\u8BF4\u660E\u6587\u5B57",this.align=(l=e==null?void 0:e.align)!=null?l:""}}class ao extends M{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}ao.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class kb extends Z{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"text"}}var ro={Designer:ao,Runtime:kb,Property:Ha};class ja extends X{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class qa extends M{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}qa.controlEventKeys=["on_click"],qa.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class Ob extends Z{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"link"}}var lo={Designer:qa,Runtime:Ob,Property:ja};class re extends X{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.optObj=new fv((d=e==null?void 0:e.optObj)!=null?d:{})}}class ue extends M{constructor(e){super(e),this.props=new re(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}ue.slots=["grid-table-toolbar-slot","action-bar-slot",Kr.DEFAULT],ue.controlEventKeys=["on_click"],ue.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class se extends Z{constructor(e){super(e),this.props=new re(e==null?void 0:e.props)}static get controlType(){return"button"}}var oo={Designer:ue,Runtime:se,Property:re},He=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(He||{}),co=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(co||{}),so=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(so||{});class Ci{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:he(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Ua=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Ua||{});class Ei{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:he(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Wa=(t=>(t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line",t))(Wa||{});class Ka{constructor(e){var n,i,u,a,r,l,s,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new Wt((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new Wt((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new Wt((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class fo{constructor(e){var n,i,u,a,r,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new Ka(s)))!=null?u:[new Ka],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class Jt{constructor(e){var n,i,u,a,r,l,s;this.id=(n=e==null?void 0:e.id)!=null?n:he(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class za{constructor(e){var n,i;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(i=e==null?void 0:e.text)!=null?i:""}}class ho{constructor(e){var n,i,u,a;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new za(e==null?void 0:e.watermark),this.autoRename=new za(e==null?void 0:e.autoRename)}}class yo{constructor(e){this.dataCode=e.dataCode}}class mo{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new yo(a)))!=null?u:[]}}class vo{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new Jt(a)))!=null?u:[new Jt({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const go=480;function Zt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class bo{constructor(e){var n,i,u,a,r;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(r=e.rules)!=null?r:[]}}class _o{constructor(e){var n,i,u;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(i=e==null?void 0:e.justifyContent)!=null?i:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var wo=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(wo||{}),Ga=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Ga||{}),Ii=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Ii||{}),je=(t=>(t.ALL="all",t.ASSIGN="assign",t))(je||{}),Qa=(t=>(t.ALL="all",t.ADMIN="admin",t))(Qa||{});class Xa extends X{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Wa.SOLID}}class Co extends M{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Co.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class Mb extends Z{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Eo={Designer:Co,Runtime:Mb,Property:Xa};class $b extends Q{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(He.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")}},message:f.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:f.getMessage("pleaseSelectOneField")})}}class Si extends X{constructor(e){var n,i,u,a;super(e),this.dataBind=new _e(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[He.ShowSubmitUser,He.ShowSubmitDept,He.ShowSubmitTime,He.ShowCurrentApprovar,He.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:wt==null?void 0:wt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}Si.Rules=$b;class wt extends M{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}wt.controlFieldType=b.AUTO_NUMBER,wt.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Lb extends Z{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"title"}}var Io={Designer:wt,Runtime:Lb,Property:Si};class Nb extends Q{constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class Ai extends re{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ct.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ct.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}Ai.Rules=Nb;class Ct extends ue{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}Ct.slots=["grid-table-toolbar-slot"],Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Vb extends se{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var So={Designer:Ct,Runtime:Vb,Property:Ai};class Hb extends Q{constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class Ri extends re{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Et.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Et.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}Ri.Rules=Hb;class Et extends ue{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}Et.slots=["grid-table-toolbar-slot"],Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class jb extends se{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Ao={Designer:Et,Runtime:jb,Property:Ri};class Ja extends re{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:It.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:It.controlIcon}}class It extends ue{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}It.slots=["grid-table-toolbar-slot"],It.controlEventKeys=["on_click"],It.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class qb extends se{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Ro={Designer:It,Runtime:qb,Property:Ja};class Za extends re{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:St.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:St.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(r=(a=e==null?void 0:e.templateList)==null?void 0:a.map(l=>new Jt(l)))!=null?r:[new Jt({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class St extends ue{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}St.slots=["grid-table-toolbar-slot"],St.controlEventKeys=["on_click","on_click_finish"],St.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Ub extends se{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var To={Designer:St,Runtime:Ub,Property:Za};class Ya extends re{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:At.controlIcon}}class At extends ue{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}At.slots=["grid-table-toolbar-slot"],At.controlEventKeys=["on_click"],At.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Wb extends se{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Bo={Designer:At,Runtime:Wb,Property:Ya};class Kb{constructor(e){this.dataCode=e.dataCode}}class pa extends re{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Rt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Rt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(l=>new Kb(l)))!=null?a:[],this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system"}}class Rt extends ue{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Rt.slots=["grid-table-toolbar-slot"],Rt.controlEventKeys=["on_click","on_click_finish"],Rt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class zb extends se{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Po={Designer:Rt,Runtime:zb,Property:pa};function Ti(){return{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:f.getMessage("pleaseSelectControl")}}}}}}class Gb extends Q{constructor(e){super(e),this.fillPayload={type:"object",fields:De({},Ti())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:De({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Ti())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class Bi extends re{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Yt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Yt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new wl(e==null?void 0:e.fillPayload),this.formBind=new Qm(e==null?void 0:e.formBind),this.fillBack=new Cl(e==null?void 0:e.fillBack)}}Bi.Rules=Gb;class Yt extends ue{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Yt.controlEventKeys=["on_click","on_click_finish"],Yt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Qb extends se{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Do={Designer:Yt,Runtime:Qb,Property:Bi};class Xb extends Q{constructor(e){super(e),this.fillPayload={type:"object",fields:De({},Ti())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:De({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Ti())}}}class Pi extends re{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:pt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:pt.controlIcon,this.fillPayload=new wl(e==null?void 0:e.fillPayload),this.listPageBind=new Nu(e==null?void 0:e.listPageBind),this.fillBack=new Cl(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new qu(e==null?void 0:e.selectedContentConfig)}}Pi.Rules=Xb;class pt extends ue{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}pt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],pt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Jb extends se{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var xo={Designer:pt,Runtime:Jb,Property:Pi};class Zb extends Q{constructor(e){super(e)}}class Yb extends We{constructor(e){super(e)}}class en extends X{constructor(e){super(e)}}en.Rules=Zb,en.RuntimeRules=Yb;class Fo extends M{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Fo.setting=[];class pb extends Z{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var ko={Designer:Fo,Runtime:pb,Property:en};class e_ extends Q{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:f.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Di extends X{constructor(e){var n,i,u,a,r,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}Di.Rules=e_;class Oo extends M{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Oo.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class t_ extends Z{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Mo={Designer:Oo,Runtime:t_,Property:Di};class n_ extends Q{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:f.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class xi extends X{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new sv(a)))!=null?u:[]}}xi.Rules=n_;class $o extends M{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}$o.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class i_ extends Z{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Lo={Designer:$o,Runtime:i_,Property:xi};class u_ extends Q{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:f.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Fi extends re{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Tt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Tt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Tt.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new le(g)))!=null?v:[]}}Fi.Rules=u_;class Tt extends ue{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Tt.controlEventKeys=["on_click","on_click_finish"],Tt.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class a_ extends se{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var No={Designer:Tt,Runtime:a_,Property:Fi};class r_ extends Q{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class ki extends re{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Bt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Bt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Bt.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new le(g)))!=null?v:[]}}ki.Rules=r_;class Bt extends ue{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Bt.controlEventKeys=["on_click","on_click_finish"],Bt.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class l_ extends se{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Vo={Designer:Bt,Runtime:l_,Property:ki};class o_ extends Q{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Oi extends re{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Pt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Pt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new bo(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Oi.Rules=o_;class Pt extends ue{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Pt.slots=["grid-table-toolbar-slot"],Pt.controlEventKeys=["on_click","on_click_finish"],Pt.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class c_ extends se{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Ho={Designer:Pt,Runtime:c_,Property:Oi};class er extends re{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Dt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Dt.controlIcon}}class Dt extends ue{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Dt.slots=["grid-table-toolbar-slot"],Dt.controlEventKeys=["on_click"],Dt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class s_ extends se{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var jo={Designer:Dt,Runtime:s_,Property:er};class d_ extends Q{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")})}}class Mi extends X{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1}}Mi.Rules=d_;class $i extends M{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}$i.controlEventKeys=["on_click"],$i.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class f_ extends Z{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var qo={Designer:$i,Runtime:f_,Property:Mi};class tr extends X{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:xt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:xt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class xt extends M{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}xt.slots=["grid-table-toolbar-slot"],xt.controlEventKeys=["on_click"],xt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class h_ extends Z{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Uo={Designer:xt,Runtime:h_,Property:tr},y_=Object.freeze({__proto__:null,Text:ro,Link:lo,Button:oo,Divider:Eo,Title:Io,CreateFormListButton:So,BatchSubmissionListButton:Ao,SubmissionRecordListButton:Ro,ExportListButton:To,ExportRecordListButton:Bo,ImportRecordListButton:Po,FormSelectButton:Do,ListSelectButton:xo,Pagination:ko,Dashboard:Mo,ListViewSelect:Lo,TextOcrButton:No,InvoiceCheckButton:Vo,BatchPrintListButton:Ho,BatchPrintRecordListButton:jo,OperationButton:qo,BatchDeleteButton:Uo});class m_ extends Y{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=Zt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class v_ extends N{constructor(e){super(e),this.push({type:"string",message:f.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Zt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Ft extends D{constructor(e){var n,i,u,a,r,l,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new El(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:kt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}Ft.Rules=m_,Ft.RuntimeRules=v_;class kt extends x{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}kt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],kt.controlFieldType=b.VARCHAR,kt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Wo extends F{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"input"}}Wo.controlFieldType=b.VARCHAR;var Ko={Designer:kt,Runtime:Wo,Property:Ft};class g_ extends mt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class b_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class tn extends D{constructor(e){var n,i,u,a,r,l,s,o,d,v,g,w,E;super(e),this.options=Se((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:nn.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(w=e==null?void 0:e.defaultShowOptions)!=null?w:!0,this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var I;(I=this.multistageFilling)==null||I.push(new le(_))}))}}tn.Rules=g_,tn.RuntimeRules=b_;class nn extends x{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}nn.controlEventKeys=["on_change","on_click"],nn.controlFieldType=b.ARRAY,nn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class zo extends F{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}zo.controlFieldType=b.ARRAY;var Go={Designer:nn,Runtime:zo,Property:tn};class __ extends mt{constructor(e){super(e)}}class Li extends D{constructor(e){var n,i,u,a,r,l,s,o,d,v,g;super(e),this.options=Se((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:un.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var E;(E=this.multistageFilling)==null||E.push(new le(w))}))}}Li.Rules=__;class un extends x{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}un.controlEventKeys=["on_change","on_click"],un.controlFieldType=b.VARCHAR,un.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Qo extends F{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"radio"}}Qo.controlFieldType=b.VARCHAR;var Xo={Designer:un,Runtime:Qo,Property:Li};class w_ extends Y{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:f.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=Zt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class C_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Zt(e.regularRules.expression),message:e.regularRules.errMessage})}}class an extends D{constructor(e){var n,i,u,a,r,l,s,o,d,v,g,w,E;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(v=e==null?void 0:e.unit)!=null?v:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:rn.controlName,this.placeholder=(w=e==null?void 0:e.placeholder)!=null?w:"\u8BF7\u8F93\u5165",this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:"",this.regularRules=new El(e==null?void 0:e.regularRules)}}an.Rules=w_,an.RuntimeRules=C_;class rn extends x{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}rn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],rn.controlFieldType=b.DECIMAL,rn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Jo extends F{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"number"}}Jo.controlFieldType=b.DECIMAL;var Zo={Designer:rn,Runtime:Jo,Property:an};class nr extends D{constructor(e){var n,i,u,a,r,l,s,o,d,v,g;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:xe.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ni.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(d=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(w=>new Ci(w)))!=null?d:[],this.allowDateRange=(v=e==null?void 0:e.allowDateRange)!=null?v:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class Ni extends x{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ni.controlFieldType=b.TIMESTAMP,Ni.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Yo extends F{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Yo.controlFieldType=b.TIMESTAMP;var po={Designer:Ni,Runtime:Yo,Property:nr};class E_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class Vi extends D{constructor(e){var n,i,u,a,r,l,s,o,d,v,g;super(e),this.dataBind=new av(e==null?void 0:e.dataBind),this.defaultValue=new rv(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:xe.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(d=e==null?void 0:e.caption)!=null?d:Hi.controlName,this.limitDateList=(g=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(w=>new Ci(w)))!=null?g:[]}}Vi.RuntimeRules=E_;class Hi extends x{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Hi.controlFieldType=b.TIMESCOPE,Hi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ec extends F{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}ec.controlFieldType=b.TIMESCOPE;var tc={Designer:Hi,Runtime:ec,Property:Vi};class I_ extends Y{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class S_ extends N{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class ln extends D{constructor(e){var n,i,u,a,r;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:on.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.rowHeightSetting=new Km(e==null?void 0:e.rowHeightSetting)}}ln.Rules=I_,ln.RuntimeRules=S_;class on extends x{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}on.controlEventKeys=["on_change","on_input","on_focus","on_blur"],on.controlFieldType=b.TEXT,on.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class nc extends F{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"textarea"}}nc.controlFieldType=b.TEXT;var ic={Designer:on,Runtime:nc,Property:ln};class A_ extends Y{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class R_ extends N{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class cn extends D{constructor(e){var n,i,u,a,r;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:sn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}cn.Rules=A_,cn.RuntimeRules=R_;class sn extends x{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}sn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],sn.controlFieldType=b.TEXT,sn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class uc extends F{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}uc.controlFieldType=b.TEXT;var ac={Designer:sn,Runtime:uc,Property:cn};class T_ extends mt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class ji extends D{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.options=Se((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:qi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var w;(w=this.multistageFilling)==null||w.push(new le(g))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(v=e==null?void 0:e.viewFormModelType)!=null?v:"window",this.formBind=new ht(e==null?void 0:e.formBind)}}ji.Rules=T_;class qi extends x{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}qi.controlFieldType=b.VARCHAR,qi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class rc extends F{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"select"}}rc.controlFieldType=b.VARCHAR;var lc={Designer:qi,Runtime:rc,Property:ji};class B_ extends mt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class P_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class dn extends D{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.options=Se((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Ui.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new le(v))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new ht(e==null?void 0:e.formBind)}}dn.Rules=B_,dn.RuntimeRules=P_;class Ui extends x{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Ui.controlFieldType=b.ARRAY,Ui.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class oc extends F{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}oc.controlFieldType=b.ARRAY;var cc={Designer:Ui,Runtime:oc,Property:dn};class D_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Wi extends D{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Ki.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new le(v))}))}}Wi.RuntimeRules=D_;class Ki extends x{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Ki.controlFieldType=b.EMPLOYEES,Ki.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class sc extends F{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"employee"}}sc.controlFieldType=b.EMPLOYEES;var dc={Designer:Ki,Runtime:sc,Property:Wi};const x_=10485760,F_=104857600,k_=1048576e3;class O_ extends Y{constructor(e){super(e),this.maxSize={type:"number",min:0,max:k_,message:f.getMessage("attachmentMaxSize")}}}class M_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:f.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class Ot extends D{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:F_,this.caption=(o=e==null?void 0:e.caption)!=null?o:Mt.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6"}}Ot.Rules=O_,Ot.RuntimeRules=M_;class Mt extends x{constructor(e){super(e),this.props=new Ot(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Mt.controlEventKeys=["on_change"],Mt.controlFieldType=b.FILE,Mt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class ir extends F{constructor(e){super(e),this.props=new Ot(e==null?void 0:e.props)}static get controlType(){return"attachment"}}ir.controlFieldType=b.FILE;var fc={Designer:Mt,Runtime:ir,Property:Ot};const hc=class extends Mt{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,u;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:hc.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let ur=hc;ur.controlFieldType=b.IMAGE,ur.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class $_ extends ir{static get controlType(){return"image"}constructor(e){var n,i,u,a,r,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:"\u56FE\u7247",this.props.placeholder=(l=(r=e==null?void 0:e.props)==null?void 0:r.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class L_ extends Ot{constructor(e){super(e)}}var yc={Designer:ur,Runtime:$_,Property:L_};class N_ extends mt{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:f.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")})}}class V_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[Hn(De({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class fn extends D{constructor(e){var n,i,u,a,r,l,s,o,d,v,g;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new iv(e==null?void 0:e.dataBind),this.datasourceBind=new ne((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Hu({value:"name"})]}),this.defaultValue=new uv((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:Wu.CNY}),this.options=Se(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:hn.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(v=e==null?void 0:e.submitSelectCurrency)!=null?v:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}fn.Rules=N_,fn.RuntimeRules=V_;class hn extends x{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}hn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],hn.controlFieldType=b.MONEY,hn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class mc extends F{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"amount"}}mc.controlFieldType=b.MONEY;var vc={Designer:hn,Runtime:mc,Property:fn};class H_ extends Y{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:f.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:f.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:f.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class j_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class yn extends D{constructor(e){var n,i,u,a,r,l,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Ua.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(a=e==null?void 0:e.explain)==null?void 0:a.map(o=>new Ei(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new Ei),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:mn.controlName}}yn.Rules=H_,yn.RuntimeRules=j_;class mn extends x{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new Ei);this.props.explain.push(...u)}}super.postUpdate(e,n)}}mn.controlEventKeys=["on_change","on_click"],mn.controlFieldType=b.DECIMAL,mn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class gc extends F{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"score"}}gc.controlFieldType=b.DECIMAL;var bc={Designer:mn,Runtime:gc,Property:yn};class q_ extends N{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:f.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:f.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:f.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class zi extends D{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Gi.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new lv((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9\u5730\u5740"}}zi.RuntimeRules=q_;class Gi extends x{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Gi.controlFieldType=b.ADDRESS,Gi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class _c extends F{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}_c.controlFieldType=b.ADDRESS;var wc={Designer:Gi,Runtime:_c,Property:zi};class U_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Qi extends D{constructor(e){var n,i,u,a,r,l,s,o,d,v,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:vn.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var E;(E=this.multistageFilling)==null||E.push(new le(w))}))}}Qi.RuntimeRules=U_;class vn extends x{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}vn.controlName="\u90E8\u95E8",vn.controlFieldType=b.DEPARTMENTS,vn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Cc extends F{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlType(){return"department"}}Cc.controlFieldType=b.DEPARTMENTS;var Ec={Designer:vn,Runtime:Cc,Property:Qi};class ar extends D{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:gn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class gn extends x{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}gn.controlEventKeys=["on_change"],gn.controlFieldType=b.AUTO_NUMBER,gn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Ic extends F{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Ic.controlFieldType=b.AUTO_NUMBER;var Sc={Designer:gn,Runtime:Ic,Property:ar};class W_ extends Y{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class K_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:f.getMessage("isNotObject"),fields:{result:[{type:"number",message:f.getMessage("isNotNumber")}],unit:{type:"string",message:f.getMessage("isNotString")}}})}}class bn extends D{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new ov(e==null?void 0:e.dataBind),this.defaultValue=new cv(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:_n.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:"",this.calcOnMounted=(o=e==null?void 0:e.calcOnMounted)!=null?o:!1}}bn.Rules=W_,bn.RuntimeRules=K_;class _n extends x{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}_n.controlEventKeys=["on_change"],_n.controlFieldType=b.CALC,_n.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Ac extends F{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Ac.controlFieldType=b.CALC;var Rc={Designer:_n,Runtime:Ac,Property:bn};class z_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Xi extends D{constructor(e){var n,i,u,a,r,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:Ji.controlName}}Xi.RuntimeRules=z_;class Ji extends x{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Ji.controlFieldType=b.DECIMAL_RANGE,Ji.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Tc extends F{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Tc.controlFieldType=b.DECIMAL_RANGE;var Bc={Designer:Ji,Runtime:Tc,Property:Xi};class G_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class Zi extends D{constructor(e){var n,i,u,a,r,l,s,o,d,v,g,w;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:xe.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u7ED3\u675F\u65E5\u671F",this.caption=(v=e==null?void 0:e.caption)!=null?v:Yi.controlName,this.limitDateList=(w=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(E=>new Ci(E)))!=null?w:[]}}Zi.RuntimeRules=G_;class Yi extends x{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Yi.controlFieldType=b.ARRAY,Yi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Pc extends F{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Pc.controlFieldType=b.ARRAY;var Dc={Designer:Yi,Runtime:Pc,Property:Zi};class Q_ extends Y{constructor(e){super(e),this.dataBind={type:"any"}}}class X_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class wn extends D{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$t.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}wn.Rules=Q_,wn.RuntimeRules=X_;class $t extends x{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}$t.controlFieldType=b.ANY,$t.controlEventKeys=[],$t.slots=["grid-table-toolbar-slot",Kr.DEFAULT],$t.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class xc extends F{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}xc.controlFieldType=b.ANY;var Fc={Designer:$t,Runtime:xc,Property:wn};class J_ extends mt{constructor(e){super(e),this.listPageBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:f.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class pi extends D{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.options=Se((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Nu(e==null?void 0:e.listPageBind),this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:Cn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new qu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new le(v))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new ht(e==null?void 0:e.formBind)}}pi.Rules=J_;class Cn extends x{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}}Cn.controlFieldType=b.VARCHAR,Cn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}],Cn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class kc extends F{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}kc.controlFieldType=b.VARCHAR;var Oc={Designer:Cn,Runtime:kc,Property:pi};class rr extends Ft{constructor(e){super(e)}}class Mc extends kt{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Mc.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class $c extends F{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}static get controlType(){return"search-input"}}$c.controlFieldType=b.VARCHAR;var Lc={Designer:Mc,Runtime:$c,Property:rr};class Z_ extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Jn.call(this,e,qe.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:f.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class Y_ extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class En extends D{constructor(e){var n,i,u,a,r,l,s,o,d,v,g,w,E,_,I,m,C,R,B;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:qe.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(v=e==null?void 0:e.isDefaultCheckSub)!=null?v:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(w=e==null?void 0:e.defaultCollapseLevel)!=null?w:1,this.datasourceBind=new bl((E=e==null?void 0:e.datasourceBind)!=null?E:{attributes:qe.controlCustomAttributes}),this.filterItemDatasourceBind=new bl((_=e==null?void 0:e.filterItemDatasourceBind)!=null?_:{attributes:qe.controlCustomAttributes}),this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(R=(C=e==null?void 0:e.multistageFilling)==null?void 0:C.map(O=>new le(O)))!=null?R:[],this.defaultValue=(B=e==null?void 0:e.defaultValue)!=null?B:[]}}En.Rules=Z_,En.RuntimeRules=Y_;class qe extends x{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}qe.controlEventKeys=["on_change","on_click"],qe.controlFieldType=b.ARRAY,qe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class Nc extends F{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return"tree"}}Nc.controlFieldType=b.ARRAY;var Vc={Designer:qe,Runtime:Nc,Property:En};class p_ extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},Jn.call(this,e,Lt.controlCustomAttributes),e.externalType===je.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class ew extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class In extends D{constructor(e){var n,i,u,a,r,l,s,o,d,v,g,w,E,_;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Lt.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new zn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:Lt.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:Ga.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Qa.ADMIN,this.externalType=(w=e==null?void 0:e.externalType)!=null?w:je.ALL,this.externalScope=(E=e==null?void 0:e.externalScope)!=null?E:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(I=>{var m;(m=this.multistageFilling)==null||m.push(new le(I))}))}}In.Rules=p_,In.RuntimeRules=ew;class Lt extends x{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Lt.controlFieldType=b.EMPLOYEES,Lt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Hc extends F{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Hc.controlFieldType=b.EMPLOYEES;var jc={Designer:Lt,Runtime:Hc,Property:In};class tw extends Y{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&xu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&i.signatureType.includes("company")&&xu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class eu extends D{constructor(e){var n,i,u,a,r,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Sn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new fo(e==null?void 0:e.signatureConfig)}}eu.Rules=tw;class Sn extends x{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}Sn.controlEventKeys=["on_click","on_click_finish"],Sn.controlFieldType=b.VARCHAR,Sn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class qc extends F{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}qc.controlFieldType=b.VARCHAR;var Uc={Designer:Sn,Runtime:qc,Property:eu};class nw extends Y{constructor(e){super(e),this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(f.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class iw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class An extends D{constructor(e){var n,i,u,a,r,l,s,o,d,v,g,w;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Rn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(v=e==null?void 0:e.maxSize)!=null?v:x_,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new ho(e==null?void 0:e.wpsSetting),this.revisionsMode=(w=e==null?void 0:e.revisionsMode)!=null?w:!1}}An.Rules=nw,An.RuntimeRules=iw;class Rn extends x{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Rn.controlEventKeys=["on_change","on_wps_open"],Rn.controlFieldType=b.FILE,Rn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class Wc extends F{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"wps"}}Wc.controlFieldType=b.FILE;var Kc={Designer:Rn,Runtime:Wc,Property:An};class uw extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Jn.call(this,e,ze.controlCustomAttributes),e.businessType===je.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class aw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Tn extends D{constructor(e){var n,i,u,a,r,l,s,o,d,v,g,w,E,_,I;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:ze.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new zn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:ze.controlCustomAttributes}),this.datasourceType=(w=e==null?void 0:e.datasourceType)!=null?w:Ii.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:je.ALL,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var C;(C=this.multistageFilling)==null||C.push(new le(m))}))}}Tn.Rules=uw,Tn.RuntimeRules=aw;class ze extends x{constructor(e){super(e),this.props=new Tn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}ze.controlName="\u90E8\u95E8",ze.controlFieldType=b.DEPARTMENTS,ze.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class zc extends F{constructor(e){super(e),this.props=new Tn(e==null?void 0:e.props)}static get controlType(){return"department2"}}zc.controlFieldType=b.DEPARTMENTS;var Gc={Designer:ze,Runtime:zc,Property:Tn};class rw extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Jn.call(this,e,Ge.controlCustomAttributes),e.businessType===je.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class lw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Bn extends D{constructor(e){var n,i,u,a,r,l,s,o,d,v,g,w,E,_,I,m,C,R;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new Nu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ge.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new tv((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ge.controlCustomAttributes}),this.datasourceType=(w=e==null?void 0:e.datasourceType)!=null?w:Ii.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:je.ALL,this.organizingFunction=(I=e==null?void 0:e.organizingFunction)!=null?I:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(C=e==null?void 0:e.showSelectedDetail)!=null?C:!1,this.selectedContentConfig=new qu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(R=e==null?void 0:e.openMultistageFilling)!=null?R:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var O;(O=this.multistageFilling)==null||O.push(new le(B))}))}}Bn.Rules=rw,Bn.RuntimeRules=lw;class Ge extends x{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Ge.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Ge.controlFieldType=b.DEPARTMENTS,Ge.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Qc extends F{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Qc.controlFieldType=b.DEPARTMENTS;var Xc={Designer:Ge,Runtime:Qc,Property:Bn};class ow extends Y{constructor(e){super(e),this.dataBind={type:"any"}}}class cw extends N{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Pn extends D{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Dn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}Pn.Rules=ow,Pn.RuntimeRules=cw;class Dn extends x{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlName(){return"Vue\u9875\u9762"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return A.VUE_PAGE}}Dn.controlFieldType=b.ANY,Dn.controlEventKeys=[],Dn.setting=[];class Jc extends F{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlType(){return A.VUE_PAGE}}Jc.controlFieldType=b.ANY;var Zc={Designer:Dn,Runtime:Jc,Property:Pn},sw=Object.freeze({__proto__:null,Input:Ko,Checkbox:Go,Radio:Xo,Number:Zo,DatePicker:po,DateRange:tc,Textarea:ic,RichText:ac,Select:lc,SelectMultiple:cc,Employee:dc,Image:yc,Attachment:fc,Amount:vc,Score:bc,Address:wc,Department:Ec,AutoNumber:Sc,Calc:Rc,SearchNumberRange:Bc,SearchDateRange:Dc,VueFormItem:Fc,SelectRelation:Oc,SearchInput:Lc,Tree:Vc,Employee2:jc,ElectronicSignature:Uc,WPS:Kc,Department2:Gc,OrganizationSelection:Xc,VuePage:Zc});class Yc extends W{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Yc.excludes=[A.GRID];class dw extends K{static get controlType(){return"grid"}constructor(e){super(e)}}var pc={Designer:Yc,Runtime:dw,Property:j};const fw=24;class Qe extends j{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:fw,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class xn extends W{constructor(e){super(e),this.props=new Qe(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}xn.excludes=[A.COL,A.SUBTABLE,A.SUBTABLE_COLUMN,A.GRID_LAYOUT_CONTAINER,A.DIVIDER],xn.childrenMaxLength=1;class lr extends K{constructor(e){super(e),this.props=new Qe(e==null?void 0:e.props)}static get controlType(){return"col"}}var es={Designer:xn,Runtime:lr,Property:Qe};class tu extends j{constructor(e){var n,i;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0}}class nu extends W{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}nu.excludes=[A.ROW],nu.setting=[{key:"col-setting",visible:!0}];class ts extends K{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlType(){return"row"}}var ns={Designer:nu,Runtime:ts,Property:tu};const hw=4;class iu extends nu{static get controlName(){return"\u6805\u683C\u7B49\u5206\u884C"}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}iu.excludes=[A.GRID_ROW],iu.setting=[],iu.childrenMaxLength=hw;class yw extends ts{static get controlType(){return"grid-row"}constructor(e){super(e)}}class mw extends tu{constructor(e){super(e)}}var is={Designer:iu,Runtime:yw,Property:mw};class vw extends j.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class uu extends j{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}uu.Rules=vw;class or extends W{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}or.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],or.excludes=[A.CARD_GROUP];class gw extends K{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var us={Designer:or,Runtime:gw,Property:uu};class bw extends Q{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class au extends j{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new zm(e==null?void 0:e.metaAutoWidth)}}au.Rules=bw;class ge extends W{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}ge.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ge.controlType="subtable-column",ge.controlIcon="subtable-column",ge.childrenMaxLength=1,ge.excludes=[A.SUBTABLE,A.SUBTABLE_COLUMN,A.ROW,A.COL,A.CARD_GROUP,A.DIVIDER,A.TEXT],ge.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class as extends K{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}as.controlType="subtable-column";var rs={Designer:ge,Runtime:as,Property:au};class cr extends j{constructor(e){super(e)}}class Xe extends W{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}}Xe.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Xe.controlType="subtable-row",Xe.controlIcon="subtable-row",Xe.childrenMaxLength=1,Xe.excludes=[A.SUBTABLE,A.SUBTABLE_COLUMN,A.SUBTABLE_ROW,A.ROW,A.COL,A.CARD_GROUP,A.DIVIDER,A.TEXT],Xe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class _w extends K{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var ls={Designer:Xe,Runtime:_w,Property:cr};class sr extends j{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:b.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:xe.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class Je extends W{constructor(e){super(e),this.props=new sr(e==null?void 0:e.props)}}Je.controlName="\u5217\u8868\u5355\u5143\u683C",Je.controlType="gridtable-column",Je.controlIcon="gridtable-column",Je.childrenMaxLength=1,Je.excludes=[A.GRID_TABLE,A.GRID_TABLE_COLUMN,A.ROW,A.COL,A.CARD_GROUP,A.DIVIDER,A.TEXT],Je.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class os extends K{constructor(e){super(e),this.props=new sr(e==null?void 0:e.props)}}os.controlType="gridtable-column";var cs={Designer:Je,Runtime:os,Property:sr};class dr extends j{constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(i=e==null?void 0:e.colGap)!=null?i:24}}class fr extends W{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668"}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}fr.excludes=[A.GRID_LAYOUT_CONTAINER,A.CARD_GROUP,A.TAB],fr.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class ww extends K{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var ss={Designer:fr,Runtime:ww,Property:dr};class hr extends j{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class Cw extends Q{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class ru extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:kn.controlName}}ru.Rules=Cw;class Fn extends W{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Fn.excludes=[A.TAB],Fn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Ew extends K{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var ds={Designer:Fn,Runtime:Ew,Property:ru};class kn extends W{constructor(e){var n;super(e),this.props=new hr(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Fn,new Fn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}kn.excludes=[A.TAB],kn.controlEventKeys=["on_change_tab"],kn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class Iw extends K{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}static get controlType(){return"tab"}}var fs={Designer:kn,Runtime:Iw,Property:hr};class hs extends j{constructor(e){super(e)}}class ys extends W{constructor(e){super(e),this.props=new hs({}),this.children=(e==null?void 0:e.children)||[new xn({props:new Qe({span:12})}),new xn({props:new Qe({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}ys.excludes=[A.GRID_ROW,A.ROW,A.GRID,A.SUBTABLE,A.TAB,A.TOOLBOX];class Sw extends K{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new lr({props:new Qe({span:12})}),new lr({props:new Qe({span:12})})]}}var ms={Designer:ys,Runtime:Sw,Property:hs};class Aw extends We{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Rw extends Q{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),ia.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(i=>i.type==="object"&&i.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class On extends j{constructor(e){var n,i,u,a,r,l,s,o,d,v,g,w,E,_,I,m,C,R;super(e),this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new Zm(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new pm(e==null?void 0:e.joinRelation),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(o=e==null?void 0:e.selectionType)!=null?o:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(v=e==null?void 0:e.isShowSelection)!=null?v:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(w=e==null?void 0:e.countLimit)!=null?w:1e5,this.rowStyleType=(E=e==null?void 0:e.rowStyleType)!=null?E:"none",this.rowStyleBgColor=(_=e==null?void 0:e.rowStyleBgColor)!=null?_:"theme",this.rowStyleRules=(e==null?void 0:e.rowStyleRules)&&Array.isArray(e==null?void 0:e.rowStyleRules)?(m=(I=e==null?void 0:e.rowStyleRules)==null?void 0:I.map(B=>new hv(B)))!=null?m:[]:[],this.rowStyleRulesScript=(e==null?void 0:e.rowStyleRulesScript)&&Array.isArray(e==null?void 0:e.rowStyleRulesScript)?(R=(C=e==null?void 0:e.rowStyleRulesScript)==null?void 0:C.map(B=>new yv(B)))!=null?R:[]:[]}}On.Rules=Rw,On.RuntimeRules=Aw;class Mn extends W{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Mn.slotPosition={left:"list-view-left-slot"},Mn.excludes=[A.ROW],Mn.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],Mn.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class Tw extends K{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var vs={Designer:Mn,Runtime:Tw,Property:On};class Bw extends We{constructor(e){super(e),this.push({type:"object",fields:{}})}}class lu extends j{constructor(e){var n,i,u,a,r,l;super(e),this.save=new ke((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new ke((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new ke((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new ke((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(s=>new ke(s)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new ne(e==null?void 0:e.datasourceBind)}}lu.RuntimeRules=Bw;class gs extends W{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}gs.excludes=[];class Pw extends K{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var bs={Designer:gs,Runtime:Pw,Property:lu};class Dw extends W{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class xw extends K{static get controlType(){return"page"}constructor(e){super(e)}}class Fw extends j{constructor(e){var n;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var _s={Designer:Dw,Runtime:xw,Property:Fw};class kw extends W{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Ow extends K{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Mw extends j{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new _o(e==null?void 0:e.flexConfig)}}var ws={Designer:kw,Runtime:Ow,Property:Mw};class $w extends W{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Lw extends K{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Nw extends j{constructor(e){super(e)}}var Cs={Designer:$w,Runtime:Lw,Property:Nw};class Vw extends W{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class Hw extends K{static get controlType(){return"position"}constructor(e){super(e)}}class jw extends j{constructor(e){var n,i,u,a;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var Es={Designer:Vw,Runtime:Hw,Property:jw};class yr extends j{constructor(e){var n,i,u;super(e),this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(i=e==null?void 0:e.opacity)!=null?i:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class ou extends W{constructor(e){var n;super(e),this.props=new yr((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}ou.slotPosition={default:"action-bar-slot"},ou.excludes=[],ou.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class qw extends K{constructor(e){var n;super(e),this.props=new yr((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Is={Designer:ou,Runtime:qw,Property:yr},Uw=Object.freeze({__proto__:null,Grid:pc,Col:es,Row:ns,GridRow:is,CardGroup:us,SubTableColumn:rs,SubTableRow:ls,GridTableColumn:cs,GridLayoutContainer:ss,Tab:fs,TabPane:ds,Toolbox:ms,ListView:vs,DataView:bs,Page:_s,AdvancedContainer:ws,PositioningContainer:Cs,Position:Es,ActionBar:Is});class Ww extends Q{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:f.getMessage("isNotNumber")},{type:"number",min:0,message:f.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:f.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:f.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:f.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class Kw extends We{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:f.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}const Ss=class extends oi{constructor(t,e){var n,i,u,a,r,l,s,o,d,v,g,w,E,_,I,m,C,R,B,O,de,$,fe,Nn,Be,Cu,Vn,Nt,Pe,Xs,Js;super(t,e,Ss.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ln.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(r=e==null?void 0:e.openType)!=null?r:"default",this.formKey=(l=e==null?void 0:e.formKey)!=null?l:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(o=e==null?void 0:e.maxHeight)!=null?o:go,this.printMode=(d=e==null?void 0:e.printMode)!=null?d:"row",this.limitRows=(v=e==null?void 0:e.limitRows)!=null?v:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(w=e==null?void 0:e.defaultRows)!=null?w:1,this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.canAdd=(E=e==null?void 0:e.canAdd)!=null?E:!0,this.canDelete=(_=e==null?void 0:e.canDelete)!=null?_:!0,this.canCheck=(I=e==null?void 0:e.canCheck)!=null?I:!1,this.canEdit=(m=e==null?void 0:e.canEdit)!=null?m:!1,this.canImport=(C=e==null?void 0:e.canImport)!=null?C:!1,this.canExport=(R=e==null?void 0:e.canExport)!=null?R:!1,this.canClear=(B=e==null?void 0:e.canClear)!=null?B:!0,this.serverPagination=(O=e==null?void 0:e.serverPagination)!=null?O:!1,this.isShowCaptionTip=(de=e==null?void 0:e.isShowCaptionTip)!=null?de:!1,this.captionTip=($=e==null?void 0:e.captionTip)!=null?$:"",this.mobileShowType=(fe=e==null?void 0:e.mobileShowType)!=null?fe:"list",this.mobileDefaultNum=(Nn=e==null?void 0:e.mobileDefaultNum)!=null?Nn:10,this.dataStorageDoc=(Be=e==null?void 0:e.dataStorageDoc)!=null?Be:new Gm,this.fixedColumn=(Cu=e==null?void 0:e.fixedColumn)!=null?Cu:[],this.mobileRowCaption=(Vn=e==null?void 0:e.mobileRowCaption)!=null?Vn:"\u660E\u7EC6",this.mobileIsTile=(Nt=e==null?void 0:e.mobileIsTile)!=null?Nt:!1,this.isPaste=(Pe=e==null?void 0:e.isPaste)!=null?Pe:!1,this.pageSize=(Xs=e==null?void 0:e.pageSize)!=null?Xs:10,this.pageSizeOptions=(Js=e==null?void 0:e.pageSizeOptions)!=null?Js:[10,20,50,100],this.importConfig=new mo(e==null?void 0:e.importConfig),this.exportConfig=new vo(e==null?void 0:e.exportConfig)}};let $n=Ss;$n.Rules=Ww,$n.RuntimeRules=Kw;class Ln extends ga{constructor(e){var n,i;super(e),this.props=new $n(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new ge,new ge,new ge]),((i=e==null?void 0:e.props)==null?void 0:i.footers)===void 0&&(this.props.footers=[])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new ge,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Ln.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Ln.slotPosition={toolbar:"subtable-toolbar-slot"},Ln.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.IS_PASTE,c.SERVER_PAGINATION]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class zw extends Jl{constructor(e){super(e),this.props=new $n(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Ut("Method not implemented.")}getChildrenFormControl(){return[]}}var As={Designer:Ln,Runtime:zw,Property:$n};class mr extends oi{constructor(e,n){var i,u,a,r,l;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0,this.pageSizeOptions=(l=n==null?void 0:n.pageSizeOptions)!=null?l:[10,20,50,100,500]}}class Gw extends Ce{constructor(e){super(e),this.caption.required=!1}}class cu extends z{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Ze.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(s=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?s:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}cu.Rules=Gw;class Ze extends ee{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}Ze.controlType="order-column",Ze.controlName="\u5E8F\u53F7",Ze.controlIcon="order-column",Ze.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class vr extends te{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}vr.controlType="order-column",vr.controlFieldType=b.DECIMAL;var Rs={Designer:Ze,Runtime:vr,Property:cu};class gr extends z{constructor(e){var n,i,u,a,r,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Re.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class Re extends ee{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props),be(this,"children",e==null?void 0:e.children,void 0,"Designer")}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===$i.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return Hn(De({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Hr(this,null,function*(){return yield Vr(Re.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Re.controlType="operation-column",Re.controlName="\u64CD\u4F5C",Re.controlIcon="operation-column",Re.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class br extends te{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props),be(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}br.controlType="operation-column",br.controlFieldType=b.FILE;var Ts={Designer:Re,Runtime:br,Property:gr};const Qw=1e4;class Ye extends ga{constructor(e){var u;super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new mr(this,e==null?void 0:e.props),be(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Ze,new Re]),((u=e==null?void 0:e.props)==null?void 0:u.footers)===void 0&&(this.props.footers=[]),this.excludes=ye(n),this.childrenMaxLength=i}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return Hn(De({},e),{children:n})}validate(e,n){return Hr(this,null,function*(){return yield Vr(Ye.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ye.slotPosition={toolbar:"grid-table-toolbar-slot"},Ye.setting=[{key:"list-fixed-header",visible:!0}],Ye.excludes=[],Ye.childrenMaxLength=Qw;class Xw extends Jl{constructor(e){super(e),this.props=new mr(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Ut("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Bs={Designer:Ye,Runtime:Xw,Property:mr},Jw=Object.freeze({__proto__:null,SubTable:As,GridTable:Bs});class Zw extends Zl{constructor(e){super(e),Ve.call(this,e)}}class su extends z{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.options=Se((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}su.Rules=Zw;class pe extends ee{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}pe.controlType="varchar-column",pe.controlName="\u77ED\u6587\u672C",pe.controlIcon="varchar-column",pe.controlFieldType=b.VARCHAR,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class _r extends te{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}_r.controlType="varchar-column",_r.controlFieldType=b.VARCHAR;var Ps={Designer:pe,Runtime:_r,Property:su};class Yw extends Ce{constructor(e){super(e),Ve.call(this,e)}}class du extends z{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(i=e==null?void 0:e.caption)!=null?i:et.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption)}}du.Rules=Yw;class et extends ee{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}et.controlType="text-column",et.controlName="\u957F\u6587\u672C",et.controlIcon="text-column",et.controlFieldType=b.TEXT,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class wr extends te{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}wr.controlType="text-column",wr.controlFieldType=b.TEXT;var Ds={Designer:et,Runtime:wr,Property:du};class pw extends Ce{constructor(e){super(e),Ve.call(this,e)}}class fu extends z{constructor(e){var n,i,u,a,r,l,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.options=Se((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption)}}fu.Rules=pw;class tt extends ee{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}tt.controlType="decimal-column",tt.controlName="\u6570\u503C",tt.controlIcon="decimal-column",tt.controlFieldType=b.DECIMAL,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class Cr extends te{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}Cr.controlType="decimal-column",Cr.controlFieldType=b.DECIMAL;var xs={Designer:tt,Runtime:Cr,Property:fu};class eC extends Ce{constructor(e){super(e),Ve.call(this,e)}}class hu extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:xe.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:nt.controlName}}hu.Rules=eC;class nt extends ee{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}nt.controlType="timescope-column",nt.controlName="\u65E5\u671F\u533A\u95F4",nt.controlIcon="timescope-column",nt.controlFieldType=b.TIMESCOPE,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Er extends te{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}Er.controlType="timescope-column",Er.controlFieldType=b.TIMESCOPE;var Fs={Designer:nt,Runtime:Er,Property:hu};class tC extends Ce{constructor(e){super(e),Ve.call(this,e)}}class yu extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:xe.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:it.controlName}}yu.Rules=tC;class it extends ee{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}it.controlType="timestamp-column",it.controlName="\u65E5\u671F",it.controlIcon="timestamp-column",it.controlFieldType=b.TIMESTAMP,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Ir extends te{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}}Ir.controlType="timestamp-column",Ir.controlFieldType=b.TIMESTAMP;var ks={Designer:it,Runtime:Ir,Property:yu};class nC extends Zl{constructor(e){super(e),Ve.call(this,e)}}class mu extends z{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption),this.options=Se((a=e==null?void 0:e.options)!=null?a:[{}])}}mu.Rules=nC;class ut extends ee{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}}ut.controlType="array-column",ut.controlName="\u6570\u7EC4",ut.controlIcon="array-column",ut.controlFieldType=b.ARRAY,ut.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Sr extends te{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}}Sr.controlType="array-column",Sr.controlFieldType=b.ARRAY;var Os={Designer:ut,Runtime:Sr,Property:mu};class Ar extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class at extends ee{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}at.controlType="department-column",at.controlName="\u90E8\u95E8",at.controlIcon="department-column",at.controlFieldType=b.DEPARTMENTS,at.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Rr extends te{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}}Rr.controlType="department-column",Rr.controlFieldType=b.DEPARTMENTS;var Ms={Designer:at,Runtime:Rr,Property:Ar};class iC extends Ce{constructor(e){super(e),Ve.call(this,e)}}class vu extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption)}}vu.Rules=iC;class rt extends ee{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}}rt.controlType="auto-number-column",rt.controlName="\u81EA\u52A8\u7F16\u53F7",rt.controlIcon="auto-number-column",rt.controlFieldType=b.AUTO_NUMBER,rt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Tr extends te{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}}Tr.controlType="auto-number-column",Tr.controlFieldType=b.AUTO_NUMBER;var $s={Designer:rt,Runtime:Tr,Property:vu};class Br extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:lt.controlName}}class lt extends ee{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props)}}lt.controlType="file-column",lt.controlName="\u9644\u4EF6",lt.controlIcon="file-column",lt.controlFieldType=b.FILE,lt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Pr extends te{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props)}}Pr.controlType="file-column",Pr.controlFieldType=b.FILE;var Ls={Designer:lt,Runtime:Pr,Property:Br};class Dr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ot.controlName}}class ot extends ee{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}}ot.controlType="image-column",ot.controlName="\u56FE\u7247",ot.controlIcon="image-column",ot.controlFieldType=b.IMAGE,ot.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class xr extends te{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}}xr.controlType="image-column",xr.controlFieldType=b.IMAGE;var Ns={Designer:ot,Runtime:xr,Property:Dr};class Fr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ct.controlName}}class ct extends ee{constructor(e){super(e),this.props=new Fr(e==null?void 0:e.props)}}ct.controlType="people-column",ct.controlName="\u4EBA\u5458",ct.controlIcon="people-column",ct.controlFieldType=b.EMPLOYEES,ct.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class kr extends te{constructor(e){super(e),this.props=new Fr(e==null?void 0:e.props)}}kr.controlType="people-column",kr.controlFieldType=b.EMPLOYEES;var Vs={Designer:ct,Runtime:kr,Property:Fr};class uC extends Ce{constructor(e){super(e),Ve.call(this,e)}}class gu extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:st.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption)}}gu.Rules=uC;class st extends ee{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}}st.controlType="location-column",st.controlName="\u5730\u5740",st.controlIcon="location-column",st.controlFieldType=b.ADDRESS,st.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Or extends te{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}}Or.controlType="location-column",Or.controlFieldType=b.ADDRESS;var Hs={Designer:st,Runtime:Or,Property:gu};class aC extends Ce{constructor(e){super(e),this.sortFieldCode={type:"string",message:f.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class bu extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Te.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}bu.Rules=aC;const rC=1;class Te extends ee{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new bu(e==null?void 0:e.props),be(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=ye(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}toSchema(){const e=super.toSchema();return Hn(De({},e),{children:this.children.map(n=>n.toSchema())})}}Te.controlType="custom-column",Te.controlName="\u81EA\u5B9A\u4E49",Te.controlIcon="custom-column",Te.slots=["column-column-slot"],Te.excludes=[],Te.childrenMaxLength=rC,Te.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0}];class js extends te{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props),be(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}js.controlType="custom-column";var qs={Designer:Te,Runtime:js,Property:bu};class Mr extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName,this.datasourceBind=new zn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Ue.controlCustomAttributes})}}class Ue extends ee{constructor(e){super(e),this.props=new Mr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ue.controlType="employee-column",Ue.controlName="\u4EBA\u5458",Ue.controlIcon="employee-column",Ue.controlFieldType=b.EMPLOYEES,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class $r extends te{constructor(e){super(e),this.props=new Mr(e==null?void 0:e.props)}}$r.controlType="employee-column",$r.controlFieldType=b.EMPLOYEES;var Us={Designer:Ue,Runtime:$r,Property:Mr};class Lr extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:dt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ie(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class dt extends ee{constructor(e){super(e),this.props=new Lr(e==null?void 0:e.props)}}dt.controlType="approval-status-column",dt.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",dt.controlIcon="approval-status-column",dt.excludes=[],dt.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}];class Ws extends te{constructor(e){super(e),this.props=new Lr(e==null?void 0:e.props)}}Ws.controlType="approval-status-column";var Ks={Designer:dt,Runtime:Ws,Property:Lr},lC=Object.freeze({__proto__:null,VarcharColumn:Ps,TextColumn:Ds,DecimalColumn:xs,TimescopeColumn:Fs,TimestampColumn:ks,ArrayColumn:Os,DepartmentColumn:Ms,AutoNumberColumn:$s,FileColumn:Ls,ImageColumn:Ns,PeopleColumn:Vs,LocationColumn:Hs,CustomColumn:qs,OrderColumn:Rs,OperationColumn:Ts,EmployeeColumn:Us,ApprovalStatusColumn:Ks});class oC extends We{constructor(e){super(e),this.push({type:"object",fields:{}})}}class _u extends Pa{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new ke((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new ke((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(g=>new ke(g)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[],this.childMinWidth=(d=e==null?void 0:e.childMinWidth)!=null?d:230,this.colGap=(v=e==null?void 0:e.colGap)!=null?v:24}}_u.RuntimeRules=oC;class wu extends ub{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}}wu.controlType="simple-search",wu.slotPosition={default:"search"},wu.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class zs extends db{constructor(e){var n;super(e),this.props=new _u(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}zs.controlType="simple-search";var Gs={Designer:wu,Runtime:zs,Property:_u},cC=Object.freeze({__proto__:null,SimpleSearch:Gs});class Nr extends Ma{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class sC extends Ab{constructor(e){super(e),this.props=new Nr(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668Wrap"}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class dC extends Fb{constructor(e){super(e),this.props=new Nr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function CC(t){return t}var fC={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Qs={Designer:sC,Runtime:dC,Property:Nr,Setting:fC},hC=Object.freeze({__proto__:null,GridLayoutWrap:Qs});y.ActionBar=Is,y.Address=wc,y.AdvancedContainer=ws,y.Amount=vc,y.ApprovalStatusColumn=Ks,y.ArrayColumn=Os,y.AssignType=je,y.Attachment=fc,y.AutoNumber=Sc,y.AutoNumberColumn=$s,y.BatchDeleteButton=Uo,y.BatchPrintListButton=Ho,y.BatchPrintRecordListButton=jo,y.BatchSubmissionListButton=Ao,y.Button=oo,y.Calc=Rc,y.CardGroup=us,y.Checkbox=Go,y.Col=es,y.CreateFormListButton=So,y.CustomColumn=qs,y.DATE_CONFIG_TYPE=co,y.DATE_LIMIT_TYPE=so,y.Dashboard=Mo,y.DataView=bs,y.DatePicker=po,y.DateRange=tc,y.DecimalColumn=xs,y.Department=Ec,y.Department2=Gc,y.DepartmentColumn=Ms,y.DepartmentType=Ii,y.Divider=Eo,y.ElectronicSignature=Uc,y.ElectronicSignatureConfig=fo,y.Employee=dc,y.Employee2=jc,y.EmployeeColumn=Us,y.EncryptTypeEnum=wo,y.Explain=Ei,y.ExportConfig=vo,y.ExportListButton=To,y.ExportRecordListButton=Bo,y.ExportTemplate=Jt,y.FileColumn=Ls,y.FlexStyleConfig=_o,y.FormSelectButton=Do,y.Grid=pc,y.GridLayoutContainer=ss,y.GridLayoutWrap=Qs,y.GridRow=is,y.GridTable=Bs,y.GridTableColumn=cs,y.Image=yc,y.ImageColumn=Ns,y.ImportConfig=mo,y.ImportListBind=yo,y.ImportRecordListButton=Po,y.Input=Ko,y.InternalType=Qa,y.InvoiceCheckButton=Vo,y.LINE_STYLE=Wa,y.LimitDate=Ci,y.Link=lo,y.ListSelectButton=xo,y.ListView=vs,y.ListViewSelect=Lo,y.LocationColumn=Hs,y.Number=Zo,y.OperationButton=qo,y.OperationColumn=Ts,y.OrderColumn=Rs,y.OrganizationSelection=Xc,y.OrganizeType=Ga,y.Page=_s,y.Pagination=ko,y.PeopleColumn=Vs,y.Position=Es,y.PositioningContainer=Cs,y.PrintTemplate=bo,y.Radio=Xo,y.RichText=ac,y.Row=ns,y.SCORE_TYPE=Ua,y.SUBTABLE_DEFAULT_MAX_HEIGHT=go,y.Score=bc,y.SearchDateRange=Dc,y.SearchInput=Lc,y.SearchNumberRange=Bc,y.Select=lc,y.SelectMultiple=cc,y.SelectRelation=Oc,y.SimpleSearch=Gs,y.SubTable=As,y.SubTableColumn=rs,y.SubTableRow=ls,y.SubmissionRecordListButton=Ro,y.Tab=fs,y.TabPane=ds,y.Text=ro,y.TextColumn=Ds,y.TextOcrButton=No,y.Textarea=ic,y.TimescopeColumn=Fs,y.TimestampColumn=ks,y.Title=Io,y.TitleConfigEnum=He,y.Toolbox=ms,y.Tree=Vc,y.UndersignedPerson=Ka,y.VarcharColumn=Ps,y.VueFormItem=Fc,y.VuePage=Zc,y.WPS=Kc,y.WPSSetting=ho,y.WpsOperationItem=za,y.baseControls=y_,y.columnControls=lC,y.formControls=sw,y.initExpression=Zt,y.layoutControls=Uw,y.listControls=Jw,y.searchControls=cC,y.wrapControls=hC,Object.defineProperty(y,"__esModule",{value:!0})});