@byteluck-fe/model-driven-controls 2.9.0-alpha.7 → 2.9.0-alpha.8

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 rw=Object.defineProperty,lw=Object.defineProperties;var ow=Object.getOwnPropertyDescriptors;var zs=Object.getOwnPropertySymbols,cw=Object.getPrototypeOf,sw=Object.prototype.hasOwnProperty,dw=Object.prototype.propertyIsEnumerable,fw=Reflect.get;var Gs=(y,q,G)=>q in y?rw(y,q,{enumerable:!0,configurable:!0,writable:!0,value:G}):y[q]=G,Pe=(y,q)=>{for(var G in q||(q={}))sw.call(q,G)&&Gs(y,G,q[G]);if(zs)for(var G of zs(q))dw.call(q,G)&&Gs(y,G,q[G]);return y},Nn=(y,q)=>lw(y,ow(q));var Lr=(y,q,G)=>fw(cw(y),G,q);var Nr=(y,q,G)=>new Promise((Cu,Vn)=>{var wu=Ee=>{try{Vt(G.next(Ee))}catch(Ht){Vn(Ht)}},Eu=Ee=>{try{Vt(G.throw(Ee))}catch(Ht){Vn(Ht)}},Vt=Ee=>Ee.done?Cu(Ee.value):Promise.resolve(Ee.value).then(wu,Eu);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",Cu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Vn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",wu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Eu="{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",Qs="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Xs="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Js="\u8BF7\u7ED1\u5B9A\u8868\u5355",Zs="\u8BF7\u7ED1\u5B9A\u5217\u8868",Ys="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",ps="\u8BF7\u8F93\u5165\u663E\u793A\u503C",ed="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",td="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",nd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",id="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ud="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",ad="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",rd="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ld="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",od="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",cd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",sd="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",dd="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",fd="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",hd="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",yd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",md="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",vd="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",gd="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",bd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",_d="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Cd="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",wd="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Ed="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Id="\u8BF7\u9009\u62E9\u7701",Sd="\u8BF7\u9009\u62E9\u5E02",Ad="\u8BF7\u9009\u62E9\u533A",Td="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Bd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Rd="\u8BF7\u8F93\u5165\u5217\u5BBD",Dd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Pd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",xd="\u8BF7\u9009\u62E9\u63A7\u4EF6",Fd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",kd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Od="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Md="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",$d="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ld="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Nd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Vd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Hd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",jd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",qd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ud="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Wd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Kd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",zd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Gd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Qd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Xd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Jd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Zd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Yd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",pd="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",ef="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",tf="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",nf="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",uf="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",af="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",rf={isNotNumber:q,isNotString:G,isNotObject:Cu,isNotArray:Vn,isNotBoolean:wu,runtimeRequired:Eu,pleaseEnterCaption:Vt,pleaseEnterCaptionTip:Ee,pleaseEnterRowCaption:Ht,pleaseEnterPlaceholder:Qs,pleaseEnterFieldCode:Xs,pleaseEnterForm:Js,pleaseEnterList:Zs,pleaseEnterProcess:Ys,pleaseEnterLabel:ps,pleaseEnterValue:ed,bizKeyNotBindFiled:td,pleaseSelectOneField:nd,pleaseEnterNumberRange:id,pleaseEnterAValueGreaterThanMin:ud,pleaseEnterAValueLessThanMax:ad,numberRangeSetError:rd,stringRangeError:ld,attachmentMaxSize:od,pleaseEnterTotalScoreSetting:cd,theTotalScoreMustNotBeLessThan1:sd,scoreDefaultValueRange:dd,attachmentLimitError:fd,PleaseReselectTheOptionalQuantity:hd,TheMaximumLengthIsGreaterThanTheMinimumLength:yd,TheMinimumLengthIsGreaterThanTheMaximumLength:md,PleaseSelectTheCorrectOptionSettings:vd,optionIdIsRepeat:gd,optionIsRequired:bd,pleaseEnterDataCode:_d,pleaseEnterValueFieldCode:Cd,pleaseEnterSvcCode:wd,pleaseBindAtLeastOneDisplayValue:Ed,pleaseSelectProvince:Id,pleaseSelectCity:Sd,pleaseSelectDistrict:Ad,limitRowsCannotBeLessThan0:Td,TheNumberOfRowsCannotBeLessThanMinRows:Bd,pleaseEnterColumnWidth:Rd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Dd,pleaseCompleteAllRulesAndConditions:Pd,pleaseSelectControl:xd,pleaseSelectAtLeastOneColumn:Fd,pleaseSelectFillBackMode:kd,pleaseSelectDashboard:Od,rootNodeIsRequired:Md,theViewNameCannotBeEmpty:$d,pleaseSelectOcrType:Ld,pleaseSelectAtLeastOneFieldToFillIn:Nd,pleaseChooseAtLeastOne:Vd,pleaseEnterButtonContent:Hd,pleaseEnterDataCodeInDataSetting:jd,pleaseEnterValueFieldCodeInDataSetting:qd,pleaseEnterSvcCodeInDataSetting:Ud,pleaseBindAtLeastOneDisplayValueInDataSetting:Wd,rootNodeIsRequiredInDataSetting:Kd,pleaseEnterMaxHeight:zd,pleaseEnter:Gd,pleaseEnterWatermark:Qd,pleaseEnterFileName:Xd,pleaseUploadAtLeastOnePrintTemplate:Jd,pleaseAssignBusiness:Zd,pleaseAssignExternal:Yd,pleaseEnterAliasCode:pd,pleaseSelectDataCode:ef,pleaseSelectSvcCode:tf,pleaseSelectJoinFieldCode:nf,pleaseSelectMainFieldCode:uf,pleaseSelectSortFieldCode:af},lf="Please enter a number",of="Please enter a string",cf="Please enter an object",sf="Please enter an array",df="Please enter a boolean",ff="{caption} Required",hf="Please enter the title",yf="Please enter the bubble prompt",mf="Please enter the row title",vf="Please enter the prompt text",gf="Please bind data items",bf="Please bind the form",_f="Please bind the list",Cf="Please bind the process",wf="Please enter the displayed value",Ef="Please enter the stored value",If="The document number is not bound to the data item",Sf="Please select at least one display field",Af="Please enter a value greater than or equal to {min} and less than or equal to {max}",Tf="Please enter a value greater than or equal to {min}",Bf="Please enter a value less than or equal to {max}",Rf="The value range is set incorrectly",Df="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Pf="The attachment size must be between 0MB and 1000MB",xf="Please fill in the total score setting",Ff="The total score cannot be less than 1",kf="The default value must be between {min} and {max}",Of="The number of attachments uploaded must be between {min} and {max}",Mf="Please re-select the optional quantity",$f="The maximum length of the control must be greater than the minimum length",Lf="The minimum length of the control must be less than the maximum length",Nf="Please select the correct option setting",Vf="Option ID cannot be repeated",Hf="Please enter at least one option",jf="Please bind the data source",qf="Please bind the stored value",Uf="Please bind the service",Wf="At least one display value must be bound",Kf="Please select a province",zf="Please select a city",Gf="Please select a district",Qf="The minimum number of lines to fill in cannot be less than 0",Xf="The number of rows cannot be less than {min} rows",Jf="Please enter the column width",Zf="Please set the logical relationship of all rule conditions",Yf="Please complete all rules and conditions",pf="please select control",eh="Please select the dashboard",th="View name cannot be empty",nh="Please select recognition type",ih="Please select at least one field to fill in",uh="Please select at least one",ah="Please enter the button title",rh="Please bind the business model in the data settings",lh="Please bind storage values in data settings",oh="Please bind the service in the data settings",ch="Please bind at least one display value in the data settings",sh="Please select the root node in the data settings",dh="Please enter the maximum height",fh="The input content cannot be empty",hh="Watermark cannot be empty",yh="File name cannot be empty",mh="Please upload at least one printing template!\uFF01",vh="Please select a specific business department",gh="Please select a specified external organization",bh="Please enter a sub table alias",_h="Please select the associated table to set the business model",Ch="Please select the association table to set the binding service",wh="Select associated sub table fields",Eh="Please select the associated main table field",Ih="Please select the sort field",Sh={isNotNumber:lf,isNotString:of,isNotObject:cf,isNotArray:sf,isNotBoolean:df,runtimeRequired:ff,pleaseEnterCaption:hf,pleaseEnterCaptionTip:yf,pleaseEnterRowCaption:mf,pleaseEnterPlaceholder:vf,pleaseEnterFieldCode:gf,pleaseEnterForm:bf,pleaseEnterList:_f,pleaseEnterProcess:Cf,pleaseEnterLabel:wf,pleaseEnterValue:Ef,bizKeyNotBindFiled:If,pleaseSelectOneField:Sf,pleaseEnterNumberRange:Af,pleaseEnterAValueGreaterThanMin:Tf,pleaseEnterAValueLessThanMax:Bf,numberRangeSetError:Rf,stringRangeError:Df,attachmentMaxSize:Pf,pleaseEnterTotalScoreSetting:xf,theTotalScoreMustNotBeLessThan1:Ff,scoreDefaultValueRange:kf,attachmentLimitError:Of,PleaseReselectTheOptionalQuantity:Mf,TheMaximumLengthIsGreaterThanTheMinimumLength:$f,TheMinimumLengthIsGreaterThanTheMaximumLength:Lf,PleaseSelectTheCorrectOptionSettings:Nf,optionIdIsRepeat:Vf,optionIsRequired:Hf,pleaseEnterDataCode:jf,pleaseEnterValueFieldCode:qf,pleaseEnterSvcCode:Uf,pleaseBindAtLeastOneDisplayValue:Wf,pleaseSelectProvince:Kf,pleaseSelectCity:zf,pleaseSelectDistrict:Gf,limitRowsCannotBeLessThan0:Qf,TheNumberOfRowsCannotBeLessThanMinRows:Xf,pleaseEnterColumnWidth:Jf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Zf,pleaseCompleteAllRulesAndConditions:Yf,pleaseSelectControl:pf,pleaseSelectDashboard:eh,theViewNameCannotBeEmpty:th,pleaseSelectOcrType:nh,pleaseSelectAtLeastOneFieldToFillIn:ih,pleaseChooseAtLeastOne:uh,pleaseEnterButtonContent:ah,pleaseEnterDataCodeInDataSetting:rh,pleaseEnterValueFieldCodeInDataSetting:lh,pleaseEnterSvcCodeInDataSetting:oh,pleaseBindAtLeastOneDisplayValueInDataSetting:ch,rootNodeIsRequiredInDataSetting:sh,pleaseEnterMaxHeight:dh,pleaseEnter:fh,pleaseEnterWatermark:hh,pleaseEnterFileName:yh,pleaseUploadAtLeastOnePrintTemplate:mh,pleaseAssignBusiness:vh,pleaseAssignExternal:gh,pleaseEnterAliasCode:bh,pleaseSelectDataCode:_h,pleaseSelectSvcCode:Ch,pleaseSelectJoinFieldCode:wh,pleaseSelectMainFieldCode:Eh,pleaseSelectSortFieldCode:Ih},Ah="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Th="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bh="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rh="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dh="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ph="{caption}\u5FC5\u9808",xh="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fh="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",kh="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Oh="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mh="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$h="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Lh="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Nh="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Vh="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hh="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jh="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",qh="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Uh="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Wh="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Kh="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zh="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Gh="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Qh="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Xh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Jh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Zh="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Yh="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ph="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ey="\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",ty="\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",ny="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",iy="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",uy="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ay="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ry="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ly="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",oy="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",cy="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sy="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",dy="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fy="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",hy="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",yy="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",my="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",vy="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",gy="please select control",by="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_y="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Cy="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wy="\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",Ey="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Iy="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Sy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ay="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ty="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",By="\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",Ry="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Dy="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Py="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",xy="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Fy="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",ky="\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",Oy="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",My="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$y="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ly="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Ny="\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",Vy="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Hy="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",jy="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",qy={isNotNumber:Ah,isNotString:Th,isNotObject:Bh,isNotArray:Rh,isNotBoolean:Dh,runtimeRequired:Ph,pleaseEnterCaption:xh,pleaseEnterCaptionTip:Fh,pleaseEnterRowCaption:kh,pleaseEnterPlaceholder:Oh,pleaseEnterFieldCode:Mh,pleaseEnterForm:$h,pleaseEnterList:Lh,pleaseEnterProcess:Nh,pleaseEnterLabel:Vh,pleaseEnterValue:Hh,bizKeyNotBindFiled:jh,pleaseSelectOneField:qh,pleaseEnterNumberRange:Uh,pleaseEnterAValueGreaterThanMin:Wh,pleaseEnterAValueLessThanMax:Kh,numberRangeSetError:zh,stringRangeError:Gh,attachmentMaxSize:Qh,pleaseEnterTotalScoreSetting:Xh,theTotalScoreMustNotBeLessThan1:Jh,scoreDefaultValueRange:Zh,attachmentLimitError:Yh,PleaseReselectTheOptionalQuantity:ph,TheMaximumLengthIsGreaterThanTheMinimumLength:ey,TheMinimumLengthIsGreaterThanTheMaximumLength:ty,PleaseSelectTheCorrectOptionSettings:ny,optionIdIsRepeat:iy,optionIsRequired:uy,pleaseEnterDataCode:ay,pleaseEnterValueFieldCode:ry,pleaseEnterSvcCode:ly,pleaseBindAtLeastOneDisplayValue:oy,pleaseSelectProvince:cy,pleaseSelectCity:sy,pleaseSelectDistrict:dy,limitRowsCannotBeLessThan0:fy,TheNumberOfRowsCannotBeLessThanMinRows:hy,pleaseEnterColumnWidth:yy,pleaseSetTheLogicalRelationshipOfAllRuleConditions:my,pleaseCompleteAllRulesAndConditions:vy,pleaseSelectControl:gy,pleaseSelectDashboard:by,theViewNameCannotBeEmpty:_y,pleaseSelectOcrType:Cy,pleaseSelectAtLeastOneFieldToFillIn:wy,pleaseChooseAtLeastOne:Ey,pleaseEnterButtonContent:Iy,pleaseEnterDataCodeInDataSetting:Sy,pleaseEnterValueFieldCodeInDataSetting:Ay,pleaseEnterSvcCodeInDataSetting:Ty,pleaseBindAtLeastOneDisplayValueInDataSetting:By,rootNodeIsRequiredInDataSetting:Ry,pleaseEnterMaxHeight:Dy,pleaseEnter:Py,pleaseEnterWatermark:xy,pleaseEnterFileName:Fy,pleaseUploadAtLeastOnePrintTemplate:ky,pleaseAssignBusiness:Oy,pleaseAssignExternal:My,pleaseEnterAliasCode:$y,pleaseSelectDataCode:Ly,pleaseSelectSvcCode:Ny,pleaseSelectJoinFieldCode:Vy,pleaseSelectMainFieldCode:Hy,pleaseSelectSortFieldCode:jy},Uy={zhCN:rf,enUS:Sh,jaJP:qy},Vr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Vr||(Vr={}));var Hr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Hr||(Hr={}));var Wy="zh-CN";function D(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 jr;(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"})(jr||(jr={}));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"})(S||(S={}));var qr;(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"})(qr||(qr={}));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={},D(U,"varchar","\u77ED\u6587\u672C"),D(U,"timestamp","\u65F6\u95F4"),D(U,"text","\u957F\u6587\u672C"),D(U,"decimal","\u6570\u503C\u7C7B\u578B"),D(U,"relation","\u5F15\u7528\u7C7B\u578B"),D(U,"bigint","\u957F\u6574\u578B"),D(U,"image","\u56FE\u7247"),D(U,"file","\u9644\u4EF6"),D(U,"auto_number","\u81EA\u52A8\u7F16\u53F7"),D(U,"boolean","\u903B\u8F91"),D(U,"people","\u4EBA\u5458"),D(U,"location","\u5730\u5740"),D(U,"department","\u90E8\u95E8"),D(U,"relation-field","\u5173\u8054\u5B57\u6BB5"),D(U,"reference-field","\u5F15\u7528\u5B57\u6BB5"),D(U,"calc","\u8BA1\u7B97\u516C\u5F0F"),D(U,"json","JSON"),D(U,"model","\u6A21\u578B"),D(U,"model_set","\u6A21\u578B\u96C6\u5408"),D(U,"array","\u6570\u7EC4");var ae;ae={},D(ae,"array","array-column"),D(ae,"auto_number","auto-number-column"),D(ae,"decimal","decimal-column"),D(ae,"department","department-column"),D(ae,"file","file-column"),D(ae,"image","image-column"),D(ae,"location","location-column"),D(ae,"people","employee-column"),D(ae,"text","text-column"),D(ae,"timescope","timescope-column"),D(ae,"timestamp","timestamp-column"),D(ae,"varchar","varchar-column"),D(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 Ur={DEFAULT:"default"},Wr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Ky=Wr+"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?Wr:Ky,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Iu(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 Iu(t)}function Gy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hn(t,e,n){return Qr()?Hn=Reflect.construct:Hn=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},Hn.apply(null,arguments)}function jt(t){return jt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jt(t)}function zr(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 Qy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Xy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Jy(){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 Zy(t,e){return e&&(Yy(e)==="object"||typeof e=="function")?e:Gy(t)}function qt(t,e){return qt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},qt(t,e)}function Gr(t){return zy(t)||Xy(t)||py(t)||Jy()}function Yy(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function py(t,e){if(!!t){if(typeof t=="string")return Iu(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 Iu(t,e)}}function Su(t){var e=typeof Map=="function"?new Map:void 0;return Su=function(i){if(i===null||!Qy(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 Hn(i,arguments,jt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),qt(u,i)},Su(t)}function Qr(){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 Xr(t){var e=Qr();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 Zy(this,u)}}var Au=console;function Tu(){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=Au).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Gr(u)))}function Jr(){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=Au).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Gr(u)))}function em(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Bu=function(t){zr(n,t);var e=Xr(n);function n(i){Kr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?em(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Su(Error)),tm=function(t){zr(n,t);var e=Xr(n);function n(i){Kr(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Bu);function Ut(t){throw new Bu(t)}function Zr(t){throw new tm(t)}function nm(t){Au.error(new Bu(t))}var im=Object.prototype.toString;function Yr(t,e){return im.call(t)==="[object "+e+"]"}function um(t){return Yr(t,"String")}function am(t){return Yr(t,"Promise")}var rm=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();am(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&&!um(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 lm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pr(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 om(t,e,n){return e&&pr(t.prototype,e),n&&pr(t,n),t}function cm(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(){lm(this,t)}return om(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]:Wy;return new rm({locale:n,messages:Uy})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();cm(f,"$i18n",f.resetI18n());function sm(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)){Tu("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 dm=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},fm={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})(dm)})(fm);var el={};Object.defineProperty(el,"__esModule",{value:!0});function Ru(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Ru(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Ru(i)}return e}}var hm=el.default=Ru;function ye(t){if(t!==void 0)return typeof t=="object"?hm(t):t}function ym(t){return Object.prototype.toString.call(t)==="[object Object]"}function Du(t){return Array.isArray(t)}function mm(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Pu(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 vm(t){if(Array.isArray(t))return Pu(t)}function tl(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 gm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){tl(a,i,u,r,l,"next",c)}function l(c){tl(a,i,u,r,l,"throw",c)}r(void 0)})}}function bm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nl(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 _m(t,e,n){return e&&nl(t.prototype,e),n&&nl(t,n),t}function il(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function wm(){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 xu(t){return vm(t)||Cm(t)||Em(t)||wm()}function Em(t,e){if(!!t){if(typeof t=="string")return Pu(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 Pu(t,e)}}function Im(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 Sm=function(){function t(){bm(this,t),il(this,"_events",new Map),il(this,"debug",!1)}return _m(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 gm(function(){var l,c,o,d,v,g,C,E,_,I,m,w;return Im(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&&Jr.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(xu(u))),[4,_.apply(null,xu(u))];case 4:return I=T.sent(),r.debug&&Jr.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(xu(u),[I])),c.push(I),I===!1?[3,7]:[3,6];case 5:return m=T.sent(),nm(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 Am(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 Tm(t,e,n){return e&&ul(t.prototype,e),n&&ul(t,n),t}function Bm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Rm=[{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"}],Dm=function(){function t(){Am(this,t)}return Tm(t,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}}]),t}();Bm(Dm,"events",Rm);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 Pm(t){if(Array.isArray(t))return Fu(t)}function xm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Fm(){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 al(t){return Pm(t)||xm(t)||km(t)||Fm()}function km(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 ku(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function rl(t,e,n){n==="Designer"&&(t.parent=e,ku(t,"parent"))}function Om(t,e,n){t.forEach(function(i){rl(i,e,n)})}var ll=Symbol("targetKey");function ol(t){var e;return(e=t[ll])!==null&&e!==void 0?e:t}function cl(t,e,n){return Om(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===ll?u:(o=Reflect).get.apply(o,[u,a].concat(al(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(Du(t)&&a==="length"&&r===t.length)return!0;var v=(d=Reflect).set.apply(d,[u,a,r].concat(al(c)));return ym(r)&&rl(r,e,n),v}})}function be(t,e,n,i,u){var a=i!=null?i:t,r=cl(ol(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return r},set:function(c){r=cl(ol(c),a,u)},enumerable:!0})}function Mm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sl(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 $m(t,e,n){return e&&sl(t.prototype,e),n&&sl(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 dl=[],jn=function(){function t(e){Mm(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 $m(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&&(Tu("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}}),ku(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}}}}),ku(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&&(Tu("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(jn,"staticControlsRuntimeRules",new Map),Fe(jn,"staticControls",dl),Fe(jn,"staticRegisteredTypes",new Set(dl.map(function(t){return t.Designer.controlType}))),Fe(jn,"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 qn(t){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qn(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&&Ou(t,e)}function Lm(t,e){return e&&(Nm(e)==="object"||typeof e=="function")?e:L(t)}function Ou(t,e){return Ou=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ou(t,e)}function Nm(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vm(){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=Vm();return function(){var i=qn(t),u;if(e){var a=qn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Lm(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},fl=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},Mu=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}(fl),Hm=function t(e){A(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new Mu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Mu(e==null?void 0:e.mobile):new Mu({width:130,minWidth:180})},jm=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:""},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),"primaryControlId",void 0);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(ht),hl=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:""},$u=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 hl(r)}))!==null&&a!==void 0?a:[]},Um=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},Wm=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),Km=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 Um(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 Wm(r)}))!==null&&a!==void 0?a:[]},zm=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:[]},Lu=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 Un(l);(d=n.children)===null||d===void 0||d.push(v)}}))},Un=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 zm(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Wt(e==null?void 0:e.rightVariableBo)},Gm=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 te(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:""},Nu=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},Qm=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 Vu(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 Lu(l):new Un(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 Lu(l):new Un(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 Qm(l)}))!==null&&r!==void 0?r:[]}var te=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 Nu(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:"",Vu.call(this,e)},Hu=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},yl=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 Nu(r)}))!==null&&a!==void 0?a:[]},Wn=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 yl(l)}))!==null&&r!==void 0?r:[],u}return n}(te),Xm=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 yl(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}(te),ml=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}(Wn),vl=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:[]},gl=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),Vu.call(L(u),i),u}return n}(vl),bl=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}(vl),_l=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:""},Jm=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 Jm(n)}))!==null&&e!==void 0?e:[]}var ju=function t(){A(this,t)},Zm=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}(ju),Ym=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"},pm=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}(ju),ev=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:""},tv=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:""},nv=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}(ju),iv=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:""},qu;(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"})(qu||(qu={}));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 Uu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Uu||(Uu={}));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},uv=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 hl(r)}))!==null&&a!==void 0?a:[],Vu.call(this,e)},av=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"},rv=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:""},lv=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 Lu(l):new Un(l)}))!==null&&r!==void 0?r:[]},ov=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 cv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kn(t,e,n){return Cl()?Kn=Reflect.construct:Kn=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},Kn.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 sv(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 dv(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function fv(t,e){return e&&(hv(e)==="object"||typeof e=="function")?e:cv(t)}function zt(t,e){return zt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},zt(t,e)}function hv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ku(t){var e=typeof Map=="function"?new Map:void 0;return Ku=function(i){if(i===null||!dv(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 Kn(i,arguments,Kt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),zt(u,i)},Ku(t)}function Cl(){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 yv(t){var e=Cl();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 fv(this,u)}}var Q=function t(e){Wu(this,t),Oe(this,"isHide",{type:"boolean"})},We=function(t){sv(n,t);var e=yv(n);function n(i){return Wu(this,n),e.call(this)}return n}(Ku(Array)),X=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Wu(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 av(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 mv(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function zu(t){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zu(t)}function zn(t,e){return zn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},zn(t,e)}function vv(){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 Gn(t,e,n){return vv()?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&&zn(o,r.prototype),o},Gn.apply(null,arguments)}function gv(t){return Function.toString.call(t).indexOf("[native code]")!==-1}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,zu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),zn(u,i)},Gu(t)}var bv=/%[sdj%]/g,wl=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(wl=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Qu(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(bv,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 _v(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||_v(e)&&typeof t=="string"&&!t)}function Cv(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 El(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 wv(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Il=function(t){mv(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}(Gu(Error));function Ev(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 Il(I,Qu(I))):v()},E=wv(t);El(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 Il(o,Qu(o))):v()};r.length||(i(o),v()),r.forEach(function(E){var _=t[E];a.indexOf(E)!==-1?El(_,n,C):Cv(_,n,C)})});return d.catch(function(v){return v}),d}function Sl(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 Al(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 Tl(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 Iv(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(oe(u.messages.whitespace,t.fullField))}var Xu={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(Xu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Xu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Xu.hex)}};function Sv(t,e,n,i,u){if(t.required&&e===void 0){Tl(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 Av(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 Tv(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 Bv(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:Tl,whitespace:Iv,type:Sv,range:Av,enum:Tv,pattern:Bv};function Rv(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 Dv(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 Pv(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 xv(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 Fv(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 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),B.range(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(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(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 $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),e!==void 0&&B.type(t,e,i,a,u)}n(a)}var Lv="enum";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[Lv](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,"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 Hv(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 jv(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 Ju(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 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)}n(a)}var Qt={string:Rv,method:Dv,number:Pv,boolean:xv,regexp:Fv,integer:kv,float:Ov,array:Mv,object:$v,enum:Nv,pattern:Vv,date:Hv,url:Ju,hex:Ju,email:Ju,required:jv,any:qv};function Zu(){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 Yu=Zu();function Me(t){this.rules=null,this._messages=Yu,this.define(t)}Me.prototype={messages:function(e){return e&&(this._messages=Al(Zu(),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=Qu(m):(m=null,w=null),l(m,w)}if(r.messages){var o=this.messages();o===Yu&&(o=Zu()),Al(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 Ev(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(Sl(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(Sl(m)):r.error&&($=[r.error(m,oe(r.messages.required,m.field))]),I($);var fe={};if(m.defaultField)for(var $n in _.value)_.value.hasOwnProperty($n)&&(fe[$n]=m.defaultField);fe=Ce(Ce({},fe),_.rule.fields);for(var Re in fe)if(fe.hasOwnProperty(Re)){var _u=Array.isArray(fe[Re])?fe[Re]:[fe[Re]];fe[Re]=_u.map(T.bind(null,Re))}var Ln=new Me(fe);Ln.messages(r.messages),_.rule.options&&(_.rule.options.messages=r.messages,_.rule.options.error=r.error),Ln.validate(_.value,_.rule.options||r,function(Nt){var De=[];$&&$.length&&De.push.apply(De,$),Nt&&Nt.length&&De.push.apply(De,Nt),I(De.length?De: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=wl,Me.messages=Yu,Me.validators=Qt;var Uv={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 Wv(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Me(t);return n.messages(Object.assign(Uv,e)),n}var Kv=new Sm;function pu(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 zv(t){if(Array.isArray(t))return t}function Gv(t){if(Array.isArray(t))return pu(t)}function Bl(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 Rl(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Bl(a,i,u,r,l,"next",c)}function l(c){Bl(a,i,u,r,l,"throw",c)}r(void 0)})}}function Qv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dl(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 Xv(t,e,n){return e&&Dl(t.prototype,e),n&&Dl(t,n),t}function F(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pl(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function xl(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Jv(){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 Zv(){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 Fl(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){F(t,u,n[u])})}return t}function Yv(t){return zv(t)||xl(t)||kl(t)||Jv()}function ea(t){return Gv(t)||xl(t)||kl(t)||Zv()}function kl(t,e){if(!!t){if(typeof t=="string")return pu(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 pu(t,e)}}function Ol(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;Qv(this,e),F(this,"id",void 0),F(this,"name",void 0),F(this,"icon",void 0),F(this,"type",void 0),F(this,"controlType",void 0),F(this,"props",void 0),F(this,"setting",[]),F(this,"fieldType",void 0),F(this,"eventKeys",[]),F(this,"customEvents",[]),F(this,"parent",null),F(this,"slots",void 0),F(this,"slotPosition",void 0),F(this,"updateSetting",$l),F(this,"removeSetting",Ml),this._callControlHooks("preInstance",n);var u=Pl(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||Zr("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,(Pl(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 Xv(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=Yv(u),c=l[0],o=l.slice(1);return(r=Kv).emit.apply(r,[c,this].concat(ea(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),sm(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return Rl(function(){var u,a,r;return Ol(this,function(l){switch(l.label){case 0:return u=Fl({},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 Rl(function(){var r,l,c,o;return Ol(this,function(d){switch(d.label){case 0:return[4,a.preValidate()];case 1:r=d.sent(),l=r!==void 0?r:Fl({},a.rules),Array.isArray(u)&&u.forEach(function(v){l.hasOwnProperty(v)&&delete l[v]}),c=Wv(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,ea(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();F(M,"mode","Designer"),F(M,"slots",void 0),F(M,"slotPosition",void 0),F(M,"controlName","\u63A7\u4EF6"),F(M,"controlIcon","icon"),F(M,"controlType","control"),F(M,"controlFieldType",void 0),F(M,"controlEventKeys",[]),F(M,"controlCustomEvents",[]),F(M,"setting",[]),F(M,"__is_control__",!0),F(M,"removeSettingItem",Ml),F(M,"updateSettingItem",$l);function Ml(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 $l(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,ea(e.showItems))}}}})}function pv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ll(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 eg(t,e,n){return e&&Ll(t.prototype,e),n&&Ll(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 tg(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Z=function(){function e(n){pv(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=tg(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Zr("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:Uu.UNKNOWN}return eg(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 ta(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=mm(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 Qn(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 ng(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function N(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function Zn(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&&na(t,e)}function ig(t,e){return e&&(ug(e)==="object"||typeof e=="function")?e:N(t)}function na(t,e){return na=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},na(t,e)}function ug(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ag(){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 Yn(t){var e=ag();return function(){var i=Jn(t),u;if(e){var a=Jn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ig(this,u)}}var ne=function(t){Zn(n,t);var e=Yn(n);function n(i){Xn(this,n);var u;u=e.call(this,i),V(N(u),"dataBind",{}),V(N(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),V(N(u),"isHideCaption",{type:"boolean"}),V(N(u),"labelPosition",{type:"enum",enum:["top","left"]}),V(N(u),"defaultState",{type:"enum",enum:["default","readonly"]}),V(N(u),"required",{type:"boolean"}),V(N(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(ng(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),H=function(t){Zn(n,t);var e=Yn(n);function n(i){Xn(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),P=function(t){Zn(n,t);var e=Yn(n);function n(i){Xn(this,n);var u;u=e.call(this,i),V(N(u),"caption",void 0),V(N(u),"isHideCaption",void 0),V(N(u),"isShowCaptionTip",void 0),V(N(u),"captionTip",void 0),V(N(u),"labelPosition",void 0),V(N(u),"dataBind",void 0),V(N(u),"defaultValue",void 0),V(N(u),"placeholder",void 0),V(N(u),"defaultState",void 0),V(N(u),"required",void 0),V(N(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);V(P,"Rules",ne),V(P,"RuntimeRules",H);var mt=function(t){Zn(n,t);var e=Yn(n);function n(i){Xn(this,n);var u;return u=e.call(this,i),V(N(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),V(N(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),V(N(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),ta.call(N(u),i),u}return n}(ne);function ia(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function lg(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 og(t,e){return e&&(cg(e)==="object"||typeof e=="function")?e:ia(t)}function ua(t,e){return ua=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ua(t,e)}function cg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sg(){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=sg();return function(){var i=ei(t),u;if(e){var a=ei(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return og(this,u)}}var x=function(t){lg(n,t);var e=dg(n);function n(i){rg(this,n);var u;return u=e.call(this,i),pn(ia(u),"controlType","form"),pn(ia(u),"props",void 0),u.props=new P(i==null?void 0:i.props),u}return n}(M);pn(x,"controlEventKeys",["on_change","on_focus","on_blur"]),pn(x,"controlCustomAttributes",void 0);function ti(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 aa(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:ti(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 k=function(t){hg(n,t);var e=gg(n);function n(i){fg(this,n);var u;return u=e.call(this,i),aa(ti(u),"controlType","form"),aa(ti(u),"props",void 0),aa(ti(u),"value",void 0),u.props=new P(i==null?void 0:i.props),u}return n}(Z);function bg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function Cg(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 wg(t,e){return e&&(Eg(e)==="object"||typeof e=="function")?e:bg(t)}function la(t,e){return la=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},la(t,e)}function Eg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ig(){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 Sg(t){var e=Ig();return function(){var i=ii(t),u;if(e){var a=ii(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return wg(this,u)}}var j=function(t){Cg(n,t);var e=Sg(n);function n(i){return _g(this,n),e.call(this,i)}return n}(X);function oa(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 Ag(t){if(Array.isArray(t))return oa(t)}function Ke(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nl(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 Tg(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Nl(a,i,u,r,l,"next",c)}function l(c){Nl(a,i,u,r,l,"throw",c)}r(void 0)})}}function Bg(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 Rg(t,e,n){return e&&Vl(t.prototype,e),n&&Vl(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=Lg(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 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&&ca(t,e)}function Pg(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function xg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Fg(){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 kg(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 Og(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 Mg(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Og(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function $g(t,e){return e&&(Ng(e)==="object"||typeof e=="function")?e:Ke(t)}function ca(t,e){return ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ca(t,e)}function Lg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Le(t),t!==null););return t}function Hl(t){return Ag(t)||xg(t)||Vg(t)||Fg()}function Ng(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vg(t,e){if(!!t){if(typeof t=="string")return oa(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 oa(t,e)}}function Hg(){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 jg(t){var e=Hg();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 $g(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 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 Ug=1e4,W=function(e){Dg(i,e);var n=jg(i);function i(u){Bg(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=Pg(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 Rg(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 Tg(function(){return qg(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 Hl(c).concat(Hl(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 Mg(kg({},a),{children:r})}}]),i}(M);$e(W,"excludes",!1),$e(W,"childrenMaxLength",Ug);function Xt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sa(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 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 zg(t,e){return e&&(Gg(e)==="object"||typeof e=="function")?e:Xt(t)}function da(t,e){return da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},da(t,e)}function Gg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qg(){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 Xg(t){var e=Qg();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 zg(this,u)}}var K=function(t){Kg(n,t);var e=Xg(n);function n(i){Wg(this,n);var u;return u=e.call(this,i),sa(Xt(u),"controlType","layout"),sa(Xt(u),"children",void 0),sa(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 Jg(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 ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(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&&fa(t,e)}function Yg(t,e){return e&&(pg(e)==="object"||typeof e=="function")?e:Ae(t)}function fa(t,e){return fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fa(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=ai(t),u;if(e){var a=ai(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Yg(this,u)}}var ri=function(t){Zg(n,t);var e=t0(n);function n(i,u,a){Jg(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 ha(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 n0(t){if(Array.isArray(t))return ha(t)}function li(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),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function i0(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){jl(a,i,u,r,l,"next",c)}function l(c){jl(a,i,u,r,l,"throw",c)}r(void 0)})}}function u0(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 a0(t,e,n){return e&&ql(t.prototype,e),n&&ql(t,n),t}function oi(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=d0(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 r0(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 l0(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function o0(){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 Ul(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){oi(t,u,n[u])})}return t}function c0(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 Wl(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):c0(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function s0(t,e){return e&&(f0(e)==="object"||typeof e=="function")?e:li(t)}function ya(t,e){return ya=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ya(t,e)}function d0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ne(t),t!==null););return t}function Kl(t){return n0(t)||l0(t)||h0(t)||o0()}function f0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function h0(t,e){if(!!t){if(typeof t=="string")return ha(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 ha(t,e)}}function y0(){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 m0(t){var e=y0();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 s0(this,u)}}function v0(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 ma=function(t){r0(n,t);var e=m0(n);function n(i){u0(this,n);var u;return u=e.call(this,i),oi(li(u),"controlType","list"),oi(li(u),"props",void 0),u.props=new ri(li(u),i==null?void 0:i.props,"Designer"),u}return a0(n,[{key:"validate",value:function(u,a){var r=this,l=this,c=function(){return bt(Ne(n.prototype),"validate",r)};return i0(function(){return v0(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 Kl(l).concat(Kl(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 Wl(Ul({},r),{props:Wl(Ul({},this.props),{headers:l,footers:c})})}}]),n}(M);oi(ma,"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 g0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zl(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 b0(t,e,n){return e&&zl(t.prototype,e),n&&zl(t,n),t}function va(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 _0(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&&ga(t,e)}function C0(t,e){return e&&(w0(e)==="object"||typeof e=="function")?e:_t(t)}function ga(t,e){return ga=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ga(t,e)}function w0(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 I0(t){var e=E0();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 C0(this,u)}}var Gl=function(t){_0(n,t);var e=I0(n);function n(i){g0(this,n);var u;return u=e.call(this,i),va(_t(u),"controlType","list"),va(_t(u),"children",void 0),va(_t(u),"props",void 0),u.props=new ri(_t(u),i==null?void 0:i.props,"Runtime"),be(_t(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return b0(n,[{key:"length",get:function(){return this.children.length}}]),n}(Z);function Y(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ba(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 si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function _a(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 S0(t,e){return e&&(A0(e)==="object"||typeof e=="function")?e:Y(t)}function Ca(t,e){return Ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ca(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 wa(t){var e=T0();return function(){var i=si(t),u;if(e){var a=si(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return S0(this,u)}}var we=function(t){_a(n,t);var e=wa(n);function n(i){ba(this,n);var u;return u=e.call(this,i),ie(Y(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),ie(Y(u),"width",{type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(Q),z=function(t){_a(n,t);var e=wa(n);function n(i){ba(this,n);var u;u=e.call(this,i),ie(Y(u),"widthType",void 0),ie(Y(u),"width",void 0),ie(Y(u),"caption",void 0),ie(Y(u),"dataBind",void 0),ie(Y(u),"autoWidth",void 0),ie(Y(u),"fixed",void 0),ie(Y(u),"sort",void 0),ie(Y(u),"align",void 0),ie(Y(u),"colSpan",void 0),ie(Y(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 fl(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 Ql=function(t){_a(n,t);var e=wa(n);function n(i){ba(this,n);var u;return u=e.call(this,i),ie(Y(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),ie(Y(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),ie(Y(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),ta.call(Y(u),i),u}return n}(we);function Ea(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function B0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xl(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 R0(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&&Ia(t,e)}function D0(t,e){return e&&(P0(e)==="object"||typeof e=="function")?e:Ea(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}function P0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function x0(){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 F0(t){var e=x0();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 D0(this,u)}}var p=function(t){R0(n,t);var e=F0(n);function n(i){B0(this,n);var u;return u=e.call(this,i),Xl(Ea(u),"controlType","column"),Xl(Ea(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(M);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 Jl(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 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=fi(t),u;if(e){var a=fi(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),Jl(Sa(u),"controlType","column"),Jl(Sa(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(Z);function Zl(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 H0(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 j0(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 q0(t,e){return e&&(U0(e)==="object"||typeof e=="function")?e:Zl(t)}function Ta(t,e){return Ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ta(t,e)}function U0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}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 K0(t){var e=W0();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 q0(this,u)}}var Ba=function(t){j0(n,t);var e=K0(n);function n(i){V0(this,n);var u;return u=e.call(this,i),H0(Zl(u),"dataBind",void 0),u.dataBind=new _e(i==null?void 0:i.dataBind),u}return n}(j);function Ra(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z0(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 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&&Da(t,e)}function Q0(t,e){return e&&(X0(e)==="object"||typeof e=="function")?e:Ra(t)}function Da(t,e){return Da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Da(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=yi(t),u;if(e){var a=yi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Q0(this,u)}}var Y0=function(t){G0(n,t);var e=Z0(n);function n(i){z0(this,n);var u;return u=e.call(this,i),Yl(Ra(u),"controlType","search"),Yl(Ra(u),"props",void 0),u.props=new Ba(i==null?void 0:i.props),u}return n}(W);function Pa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p0(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 mi(t){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(t)}function eb(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 tb(t,e){return e&&(nb(e)==="object"||typeof e=="function")?e:Pa(t)}function xa(t,e){return xa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xa(t,e)}function nb(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 ub(t){var e=ib();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 tb(this,u)}}var ab=function(t){eb(n,t);var e=ub(n);function n(i){p0(this,n);var u;return u=e.call(this,i),pl(Pa(u),"controlType","search"),pl(Pa(u),"props",void 0),u.props=new Ba(i==null?void 0:i.props),u}return n}(K);function rb(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vi(t){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vi(t)}function ob(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&&Fa(t,e)}function cb(t,e){return e&&(sb(e)==="object"||typeof e=="function")?e:rb(t)}function Fa(t,e){return Fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fa(t,e)}function sb(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 fb(t){var e=db();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 cb(this,u)}}var ka=function(t){ob(n,t);var e=fb(n);function n(i){return lb(this,n),e.call(this,i)}return n}(j);function Oa(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 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 gi(t){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(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&&Ma(t,e)}function mb(t,e){return e&&(vb(e)==="object"||typeof e=="function")?e:Oa(t)}function Ma(t,e){return Ma=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ma(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=gi(t),u;if(e){var a=gi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return mb(this,u)}}var _b=function(t){yb(n,t);var e=bb(n);function n(i){hb(this,n);var u;return u=e.call(this,i),eo(Oa(u),"controlType","wrap"),eo(Oa(u),"props",void 0),u.props=new ka(i==null?void 0:i.props),u}return n}(W);function $a(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Cb(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 bi(t){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(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 Eb(t,e){return e&&(Ib(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 Ib(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Sb(){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 Ab(t){var e=Sb();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 Eb(this,u)}}var Tb=function(t){wb(n,t);var e=Ab(n);function n(i){Cb(this,n);var u;return u=e.call(this,i),to($a(u),"controlType","wrap"),to($a(u),"props",void 0),u.props=new ka(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 Na 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 no extends M{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}no.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 Bb extends Z{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlType(){return"text"}}var io={Designer:no,Runtime:Bb,Property:Na};class Va 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 Ha extends M{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ha.controlEventKeys=["on_click"],Ha.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 Rb extends Z{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlType(){return"link"}}var uo={Designer:Ha,Runtime:Rb,Property:Va};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 rv((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",Ur.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 ao={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||{}),ro=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(ro||{}),lo=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(lo||{});class _i{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 ja=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(ja||{});class Ci{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 qa=(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))(qa||{});class Ua{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 oo{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 Ua(c)))!=null?u:[new Ua],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 Wa{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 co{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 Wa(e==null?void 0:e.watermark),this.autoRename=new Wa(e==null?void 0:e.autoRename)}}class so{constructor(e){this.dataCode=e.dataCode}}class fo{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 so(a)))!=null?u:[]}}class ho{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 yo=480;function Zt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class mo{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 vo{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 go=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(go||{}),Ka=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Ka||{}),wi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(wi||{}),je=(t=>(t.ALL="all",t.ASSIGN="assign",t))(je||{}),za=(t=>(t.ALL="all",t.ADMIN="admin",t))(za||{});class Ga 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:qa.SOLID}}class bo extends M{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}bo.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class Db extends Z{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"divider"}}var _o={Designer:bo,Runtime:Db,Property:Ga};class Pb 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 Ei 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"}}Ei.Rules=Pb;class Ct extends M{constructor(e){super(e),this.props=new Ei(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 xb extends Z{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"title"}}var Co={Designer:Ct,Runtime:xb,Property:Ei};class Fb extends Q{constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class Ii 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"}}Ii.Rules=Fb;class wt extends ue{constructor(e){super(e),this.props=new Ii(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 kb extends se{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var wo={Designer:wt,Runtime:kb,Property:Ii};class Ob extends Q{constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class Si 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:""}}Si.Rules=Ob;class Et extends ue{constructor(e){super(e),this.props=new Si(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 Mb extends se{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Eo={Designer:Et,Runtime:Mb,Property:Si};class Qa 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 Qa(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 $b extends se{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Io={Designer:It,Runtime:$b,Property:Qa};class Xa 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 Xa(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 Lb extends se{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var So={Designer:St,Runtime:Lb,Property:Xa};class Ja 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 Ja(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 Nb extends se{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Ao={Designer:At,Runtime:Nb,Property:Ja};class Vb{constructor(e){this.dataCode=e.dataCode}}class Za 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 Vb(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 Za(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 Hb extends se{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var To={Designer:Tt,Runtime:Hb,Property:Za};function Ai(){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 jb extends Q{constructor(e){super(e),this.fillPayload={type:"object",fields:Pe({},Ai())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Pe({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Ai())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class Ti 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 gl(e==null?void 0:e.fillPayload),this.formBind=new qm(e==null?void 0:e.formBind),this.fillBack=new bl(e==null?void 0:e.fillBack)}}Ti.Rules=jb;class Yt extends ue{constructor(e){super(e),this.props=new Ti(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 qb extends se{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Bo={Designer:Yt,Runtime:qb,Property:Ti};class Ub extends Q{constructor(e){super(e),this.fillPayload={type:"object",fields:Pe({},Ai())},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:Pe({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Ai())}}}class Bi 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 gl(e==null?void 0:e.fillPayload),this.listPageBind=new $u(e==null?void 0:e.listPageBind),this.fillBack=new bl(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Hu(e==null?void 0:e.selectedContentConfig)}}Bi.Rules=Ub;class pt extends ue{constructor(e){super(e),this.props=new Bi(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 Wb extends se{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Ro={Designer:pt,Runtime:Wb,Property:Bi};class Kb extends Q{constructor(e){super(e)}}class zb extends We{constructor(e){super(e)}}class en extends X{constructor(e){super(e)}}en.Rules=Kb,en.RuntimeRules=zb;class Do 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"}}Do.setting=[];class Gb extends Z{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Po={Designer:Do,Runtime:Gb,Property:en};class Qb 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 Ri 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"}}Ri.Rules=Qb;class xo extends M{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}xo.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 Xb extends Z{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Fo={Designer:xo,Runtime:Xb,Property:Ri};class Jb 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 Di 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 uv(a)))!=null?u:[]}}Di.Rules=Jb;class ko extends M{constructor(e){super(e),this.props=new Di(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"}}ko.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Zb extends Z{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Oo={Designer:ko,Runtime:Zb,Property:Di};class Yb 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 Pi 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:[]}}Pi.Rules=Yb;class Bt extends ue{constructor(e){super(e),this.props=new Pi(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 pb extends se{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Mo={Designer:Bt,Runtime:pb,Property:Pi};class e_ 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 xi 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:[]}}xi.Rules=e_;class Rt extends ue{constructor(e){super(e),this.props=new xi(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 t_ extends se{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var $o={Designer:Rt,Runtime:t_,Property:xi};class n_ extends Q{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Fi extends re{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Dt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Dt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new mo(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Fi.Rules=n_;class Dt extends ue{constructor(e){super(e),this.props=new Fi(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"}}Dt.slots=["grid-table-toolbar-slot"],Dt.controlEventKeys=["on_click","on_click_finish"],Dt.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 i_ extends se{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Lo={Designer:Dt,Runtime:i_,Property:Fi};class Ya extends re{constructor(e){var n,i;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}}class Pt extends ue{constructor(e){super(e),this.props=new Ya(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"}}Pt.slots=["grid-table-toolbar-slot"],Pt.controlEventKeys=["on_click"],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:"super-setting",visible:!0}];class u_ extends se{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var No={Designer:Pt,Runtime:u_,Property:Ya};class a_ 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 ki 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}}ki.Rules=a_;class Oi extends M{constructor(e){super(e),this.props=new ki(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"}}Oi.controlEventKeys=["on_click"],Oi.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 r_ extends Z{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Vo={Designer:Oi,Runtime:r_,Property:ki};class pa 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 pa(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 l_ extends Z{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Ho={Designer:xt,Runtime:l_,Property:pa},o_=Object.freeze({__proto__:null,Text:io,Link:uo,Button:ao,Divider:_o,Title:Co,CreateFormListButton:wo,BatchSubmissionListButton:Eo,SubmissionRecordListButton:Io,ExportListButton:So,ExportRecordListButton:Ao,ImportRecordListButton:To,FormSelectButton:Bo,ListSelectButton:Ro,Pagination:Po,Dashboard:Fo,ListViewSelect:Oo,TextOcrButton:Mo,InvoiceCheckButton:$o,BatchPrintListButton:Lo,BatchPrintRecordListButton:No,OperationButton:Vo,BatchDeleteButton:Ho});class c_ extends ne{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 s_ extends H{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 P{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 _l(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=c_,Ft.RuntimeRules=s_;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 jo extends k{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"input"}}jo.controlFieldType=b.VARCHAR;var qo={Designer:kt,Runtime:jo,Property:Ft};class d_ 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 f_ extends H{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 P{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 te(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=d_,tn.RuntimeRules=f_;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 Uo extends k{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Uo.controlFieldType=b.ARRAY;var Wo={Designer:nn,Runtime:Uo,Property:tn};class h_ extends mt{constructor(e){super(e)}}class Mi extends P{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 te(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))}))}}Mi.Rules=h_;class un extends x{constructor(e){super(e),this.props=new Mi(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 Ko extends k{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"radio"}}Ko.controlFieldType=b.VARCHAR;var zo={Designer:un,Runtime:Ko,Property:Mi};class y_ extends ne{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 m_ extends H{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 P{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 _l(e==null?void 0:e.regularRules)}}an.Rules=y_,an.RuntimeRules=m_;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 Go extends k{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"number"}}Go.controlFieldType=b.DECIMAL;var Qo={Designer:rn,Runtime:Go,Property:an};class er extends P{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:$i.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 _i(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 $i extends x{constructor(e){super(e),this.props=new er(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}}$i.controlFieldType=b.TIMESTAMP,$i.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 Xo extends k{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Xo.controlFieldType=b.TIMESTAMP;var Jo={Designer:$i,Runtime:Xo,Property:er};class v_ extends H{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 Li extends P{constructor(e){var n,i,u,a,r,l,c,o,d,v,g;super(e),this.dataBind=new pm(e==null?void 0:e.dataBind),this.defaultValue=new ev(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:Ni.controlName,this.limitDateList=(g=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(C=>new _i(C)))!=null?g:[]}}Li.RuntimeRules=v_;class Ni extends x{constructor(e){super(e),this.props=new Li(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}}Ni.controlFieldType=b.TIMESCOPE,Ni.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 Zo extends k{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Zo.controlFieldType=b.TIMESCOPE;var Yo={Designer:Ni,Runtime:Zo,Property:Li};class g_ extends ne{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 b_ extends H{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 P{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=g_,ln.RuntimeRules=b_;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 po extends k{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"textarea"}}po.controlFieldType=b.TEXT;var ec={Designer:on,Runtime:po,Property:ln};class __ extends ne{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 C_ extends H{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 P{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=__,cn.RuntimeRules=C_;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 tc extends k{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}tc.controlFieldType=b.TEXT;var nc={Designer:sn,Runtime:tc,Property:cn};class w_ 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 Vi extends P{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 te(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Hi.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)}}Vi.Rules=w_;class Hi extends x{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Hi.controlFieldType=b.VARCHAR,Hi.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 ic extends k{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"select"}}ic.controlFieldType=b.VARCHAR;var uc={Designer:Hi,Runtime:ic,Property:Vi};class E_ 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 I_ extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class dn extends P{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 te(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:ji.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=E_,dn.RuntimeRules=I_;class ji 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"}}ji.controlFieldType=b.ARRAY,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:"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 ac extends k{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}ac.controlFieldType=b.ARRAY;var rc={Designer:ji,Runtime:ac,Property:dn};class S_ extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class qi extends P{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:Ui.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))}))}}qi.RuntimeRules=S_;class Ui extends x{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Ui.controlFieldType=b.EMPLOYEES,Ui.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 lc extends k{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"employee"}}lc.controlFieldType=b.EMPLOYEES;var oc={Designer:Ui,Runtime:lc,Property:qi};const A_=10485760,T_=104857600,B_=1048576e3;class R_ extends ne{constructor(e){super(e),this.maxSize={type:"number",min:0,max:B_,message:f.getMessage("attachmentMaxSize")}}}class D_ extends H{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 P{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:T_,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=R_,Ot.RuntimeRules=D_;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 tr extends k{constructor(e){super(e),this.props=new Ot(e==null?void 0:e.props)}static get controlType(){return"attachment"}}tr.controlFieldType=b.FILE;var cc={Designer:Mt,Runtime:tr,Property:Ot};const sc=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:sc.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let nr=sc;nr.controlFieldType=b.IMAGE,nr.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 P_ extends tr{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 x_ extends Ot{constructor(e){super(e)}}var dc={Designer:nr,Runtime:P_,Property:x_};class F_ 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 k_ extends H{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:[Nn(Pe({},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 P{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 Zm(e==null?void 0:e.dataBind),this.datasourceBind=new te((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Nu({value:"name"})]}),this.defaultValue=new Ym((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:qu.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=F_,fn.RuntimeRules=k_;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 fc extends k{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"amount"}}fc.controlFieldType=b.MONEY;var hc={Designer:hn,Runtime:fc,Property:fn};class O_ extends ne{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 M_ extends H{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 P{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:ja.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 Ci(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new Ci),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=O_,yn.RuntimeRules=M_;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 Ci);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 yc extends k{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"score"}}yc.controlFieldType=b.DECIMAL;var mc={Designer:mn,Runtime:yc,Property:yn};class $_ extends H{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 Wi extends P{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ki.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 tv((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"}}Wi.RuntimeRules=$_;class Ki extends x{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Ki.controlFieldType=b.ADDRESS,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.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class vc extends k{constructor(e){super(e),this.props=new Wi(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"}}vc.controlFieldType=b.ADDRESS;var gc={Designer:Ki,Runtime:vc,Property:Wi};class L_ extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class zi extends P{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))}))}}zi.RuntimeRules=L_;class vn extends x{constructor(e){super(e),this.props=new zi(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 bc extends k{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"department"}}bc.controlFieldType=b.DEPARTMENTS;var _c={Designer:vn,Runtime:bc,Property:zi};class ir extends P{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 ir(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 Cc extends k{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Cc.controlFieldType=b.AUTO_NUMBER;var wc={Designer:gn,Runtime:Cc,Property:ir};class N_ extends ne{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 V_ extends H{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 P{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 nv(e==null?void 0:e.dataBind),this.defaultValue=new iv(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=N_,bn.RuntimeRules=V_;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 Ec extends k{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Ec.controlFieldType=b.CALC;var Ic={Designer:_n,Runtime:Ec,Property:bn};class H_ extends H{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 Gi extends P{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:Qi.controlName}}Gi.RuntimeRules=H_;class Qi extends x{constructor(e){super(e),this.props=new Gi(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"}}Qi.controlFieldType=b.DECIMAL_RANGE,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:"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 Sc extends k{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Sc.controlFieldType=b.DECIMAL_RANGE;var Ac={Designer:Qi,Runtime:Sc,Property:Gi};class j_ extends H{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 Xi extends P{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:Ji.controlName,this.limitDateList=(C=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(E=>new _i(E)))!=null?C:[]}}Xi.RuntimeRules=j_;class Ji extends x{constructor(e){super(e),this.props=new Xi(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"}}Ji.controlFieldType=b.ARRAY,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:"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 Tc extends k{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Tc.controlFieldType=b.ARRAY;var Bc={Designer:Ji,Runtime:Tc,Property:Xi};class q_ extends ne{constructor(e){super(e),this.dataBind={type:"any"}}}class U_ extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Cn extends P{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=q_,Cn.RuntimeRules=U_;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",Ur.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 Rc extends k{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Rc.controlFieldType=b.ANY;var Dc={Designer:$t,Runtime:Rc,Property:Cn};class W_ 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 Zi extends P{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 $u(e==null?void 0:e.listPageBind),this.datasourceBind=new te(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 Hu(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)}}Zi.Rules=W_;class wn extends x{constructor(e){super(e),this.props=new Zi(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 Pc extends k{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Pc.controlFieldType=b.VARCHAR;var xc={Designer:wn,Runtime:Pc,Property:Zi};class ur extends Ft{constructor(e){super(e)}}class Fc extends kt{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Fc.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 kc extends k{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}static get controlType(){return"search-input"}}kc.controlFieldType=b.VARCHAR;var Oc={Designer:Fc,Runtime:kc,Property:ur};class K_ extends ne{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Qn.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 z_ extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class En extends P{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 ml((E=e==null?void 0:e.datasourceBind)!=null?E:{attributes:qe.controlCustomAttributes}),this.filterItemDatasourceBind=new ml((_=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=K_,En.RuntimeRules=z_;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 Mc extends k{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return"tree"}}Mc.controlFieldType=b.ARRAY;var $c={Designer:qe,Runtime:Mc,Property:En};class G_ extends ne{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},Qn.call(this,e,Lt.controlCustomAttributes),e.externalType===je.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class Q_ extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class In extends P{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 Wn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:Lt.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:Ka.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:za.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=G_,In.RuntimeRules=Q_;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 Lc extends k{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Lc.controlFieldType=b.EMPLOYEES;var Nc={Designer:Lt,Runtime:Lc,Property:In};class X_ extends ne{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"&&Du(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")&&Du(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Yi extends P{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 oo(e==null?void 0:e.signatureConfig)}}Yi.Rules=X_;class Sn extends x{constructor(e){super(e),this.props=new Yi(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 Vc extends k{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Vc.controlFieldType=b.VARCHAR;var Hc={Designer:Sn,Runtime:Vc,Property:Yi};class J_ extends ne{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 Z_ extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class An extends P{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:A_,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new co(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}An.Rules=J_,An.RuntimeRules=Z_;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 jc extends k{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"wps"}}jc.controlFieldType=b.FILE;var qc={Designer:Tn,Runtime:jc,Property:An};class Y_ extends ne{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Qn.call(this,e,ze.controlCustomAttributes),e.businessType===je.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class p_ extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Bn extends P{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 Wn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:ze.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:wi.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=Y_,Bn.RuntimeRules=p_;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 Uc extends k{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Uc.controlFieldType=b.DEPARTMENTS;var Wc={Designer:ze,Runtime:Uc,Property:Bn};class eC extends ne{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Qn.call(this,e,Ge.controlCustomAttributes),e.businessType===je.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class tC extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Rn extends P{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 $u(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 Xm((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ge.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:wi.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 Hu(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=eC,Rn.RuntimeRules=tC;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 Kc extends k{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Kc.controlFieldType=b.DEPARTMENTS;var zc={Designer:Ge,Runtime:Kc,Property:Rn},nC=Object.freeze({__proto__:null,Input:qo,Checkbox:Wo,Radio:zo,Number:Qo,DatePicker:Jo,DateRange:Yo,Textarea:ec,RichText:nc,Select:uc,SelectMultiple:rc,Employee:oc,Image:dc,Attachment:cc,Amount:hc,Score:mc,Address:gc,Department:_c,AutoNumber:wc,Calc:Ic,SearchNumberRange:Ac,SearchDateRange:Bc,VueFormItem:Dc,SelectRelation:xc,SearchInput:Oc,Tree:$c,Employee2:Nc,ElectronicSignature:Hc,WPS:qc,Department2:Wc,OrganizationSelection:zc});class Gc extends W{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Gc.excludes=[S.GRID];class iC extends K{static get controlType(){return"grid"}constructor(e){super(e)}}var Qc={Designer:Gc,Runtime:iC,Property:j};const uC=24;class Qe extends j{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:uC,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Dn 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"}}Dn.excludes=[S.COL,S.CARD_GROUP,S.SUBTABLE,S.SUBTABLE_COLUMN,S.GRID_LAYOUT_CONTAINER,S.DIVIDER],Dn.childrenMaxLength=1;class ar extends K{constructor(e){super(e),this.props=new Qe(e==null?void 0:e.props)}static get controlType(){return"col"}}var Xc={Designer:Dn,Runtime:ar,Property:Qe};class pi 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 eu extends W{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}eu.excludes=[S.ROW],eu.setting=[{key:"col-setting",visible:!0}];class Jc extends K{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"row"}}var Zc={Designer:eu,Runtime:Jc,Property:pi};const aC=4;class tu extends eu{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)}}tu.excludes=[S.GRID_ROW],tu.setting=[],tu.childrenMaxLength=aC;class rC extends Jc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class lC extends pi{constructor(e){super(e)}}var Yc={Designer:tu,Runtime:rC,Property:lC};class oC extends j.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class nu extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(i=e==null?void 0:e.collapse)!=null?i:"none"}}nu.Rules=oC;class rr extends W{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}rr.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],rr.excludes=[S.CARD_GROUP];class cC extends K{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var pc={Designer:rr,Runtime:cC,Property:nu};class sC 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 iu 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 Hm(e==null?void 0:e.metaAutoWidth)}}iu.Rules=sC;class ge extends W{constructor(e){super(e),this.props=new iu(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 es extends K{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}es.controlType="subtable-column";var ts={Designer:ge,Runtime:es,Property:iu};class lr extends j{constructor(e){super(e)}}class Xe extends W{constructor(e){super(e),this.props=new lr(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 dC extends K{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var ns={Designer:Xe,Runtime:dC,Property:lr};class or 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 te(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 or(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 is extends K{constructor(e){super(e),this.props=new or(e==null?void 0:e.props)}}is.controlType="gridtable-column";var us={Designer:Je,Runtime:is,Property:or};class cr 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 sr extends W{constructor(e){super(e),this.props=new cr(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"}}sr.excludes=[S.GRID_LAYOUT_CONTAINER,S.CARD_GROUP,S.TAB],sr.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class fC extends K{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var as={Designer:sr,Runtime:fC,Property:cr};class dr extends j{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class hC extends Q{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class uu extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xn.controlName}}uu.Rules=hC;class Pn extends W{constructor(e){super(e),this.props=new uu(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"}}Pn.excludes=[S.TAB],Pn.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class yC extends K{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var rs={Designer:Pn,Runtime:yC,Property:uu};class xn extends W{constructor(e){var n;super(e),this.props=new dr(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Pn,new Pn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}xn.excludes=[S.TAB],xn.controlEventKeys=["on_change_tab"],xn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class mC extends K{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}static get controlType(){return"tab"}}var ls={Designer:xn,Runtime:mC,Property:dr};class os extends j{constructor(e){super(e)}}class cs extends W{constructor(e){super(e),this.props=new os({}),this.children=(e==null?void 0:e.children)||[new Dn({props:new Qe({span:12})}),new Dn({props:new Qe({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}cs.excludes=[S.GRID_ROW,S.ROW,S.GRID,S.SUBTABLE,S.TAB,S.TOOLBOX];class vC extends K{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new ar({props:new Qe({span:12})}),new ar({props:new Qe({span:12})})]}}var ss={Designer:cs,Runtime:vC,Property:os};class gC extends We{constructor(e){super(e),this.push({type:"object",fields:{}})}}class bC 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")}}}}]}}]),ta.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 Fn 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 te(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 Km(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new Gm(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 lv(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 ov(R)))!=null?T:[]:[]}}Fn.Rules=bC,Fn.RuntimeRules=gC;class kn extends W{constructor(e){super(e),this.props=new Fn(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"}}kn.slotPosition={left:"list-view-left-slot"},kn.excludes=[S.ROW],kn.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"],kn.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 _C extends K{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var ds={Designer:kn,Runtime:_C,Property:Fn};class CC extends We{constructor(e){super(e),this.push({type:"object",fields:{}})}}class au 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 te(e==null?void 0:e.datasourceBind)}}au.RuntimeRules=CC;class fs extends W{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}fs.excludes=[];class wC extends K{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var hs={Designer:fs,Runtime:wC,Property:au};class EC 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 IC extends K{static get controlType(){return"page"}constructor(e){super(e)}}class SC 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 ys={Designer:EC,Runtime:IC,Property:SC};class AC 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 TC extends K{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class BC extends j{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new vo(e==null?void 0:e.flexConfig)}}var ms={Designer:AC,Runtime:TC,Property:BC};class RC 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 DC extends K{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class PC extends j{constructor(e){super(e)}}var vs={Designer:RC,Runtime:DC,Property:PC};class xC 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 FC extends K{static get controlType(){return"position"}constructor(e){super(e)}}class kC 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 gs={Designer:xC,Runtime:FC,Property:kC};class fr 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 ru extends W{constructor(e){var n;super(e),this.props=new fr((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"}}ru.slotPosition={default:"action-bar-slot"},ru.excludes=[],ru.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 OC extends K{constructor(e){var n;super(e),this.props=new fr((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var bs={Designer:ru,Runtime:OC,Property:fr},MC=Object.freeze({__proto__:null,Grid:Qc,Col:Xc,Row:Zc,GridRow:Yc,CardGroup:pc,SubTableColumn:ts,SubTableRow:ns,GridTableColumn:us,GridLayoutContainer:as,Tab:ls,TabPane:rs,Toolbox:ss,ListView:ds,DataView:hs,Page:ys,AdvancedContainer:ms,PositioningContainer:vs,Position:gs,ActionBar:bs});class $C 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 LC 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 _s=class extends ri{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,$n,Re,_u,Ln,Nt,De,Ws,Ks;super(t,e,_s.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Mn.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:yo,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 te(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=($n=e==null?void 0:e.mobileDefaultNum)!=null?$n:10,this.dataStorageDoc=(Re=e==null?void 0:e.dataStorageDoc)!=null?Re:new jm,this.fixedColumn=(_u=e==null?void 0:e.fixedColumn)!=null?_u:[],this.mobileRowCaption=(Ln=e==null?void 0:e.mobileRowCaption)!=null?Ln:"\u660E\u7EC6",this.mobileIsTile=(Nt=e==null?void 0:e.mobileIsTile)!=null?Nt:!1,this.isPaste=(De=e==null?void 0:e.isPaste)!=null?De:!1,this.pageSize=(Ws=e==null?void 0:e.pageSize)!=null?Ws:10,this.pageSizeOptions=(Ks=e==null?void 0:e.pageSizeOptions)!=null?Ks:[10,20,50,100],this.importConfig=new fo(e==null?void 0:e.importConfig),this.exportConfig=new ho(e==null?void 0:e.exportConfig)}};let On=_s;On.Rules=$C,On.RuntimeRules=LC;class Mn extends ma{constructor(e){var n,i;super(e),this.props=new On(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}}Mn.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Mn.slotPosition={toolbar:"subtable-toolbar-slot"},Mn.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 NC extends Gl{constructor(e){super(e),this.props=new On(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Ut("Method not implemented.")}getChildrenFormControl(){return[]}}var Cs={Designer:Mn,Runtime:NC,Property:On};class hr extends ri{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 VC extends we{constructor(e){super(e),this.caption.required=!1}}class lu 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"}}lu.Rules=VC;class Ze extends p{constructor(e){super(e),this.props=new lu(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 yr extends ee{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}yr.controlType="order-column",yr.controlFieldType=b.DECIMAL;var ws={Designer:Ze,Runtime:yr,Property:lu};class mr 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 p{constructor(e){super(e),this.props=new mr(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===Oi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return Nn(Pe({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Nr(this,null,function*(){return yield Lr(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 vr extends ee{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props),be(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}vr.controlType="operation-column",vr.controlFieldType=b.FILE;var Es={Designer:Te,Runtime:vr,Property:mr};const HC=1e4;class Ye extends ma{constructor(e){var u;super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new hr(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 Nn(Pe({},e),{children:n})}validate(e,n){return Nr(this,null,function*(){return yield Lr(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=HC;class jC extends Gl{constructor(e){super(e),this.props=new hr(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Ut("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Is={Designer:Ye,Runtime:jC,Property:hr},qC=Object.freeze({__proto__:null,SubTable:Cs,GridTable:Is});class UC extends Ql{constructor(e){super(e),Ve.call(this,e)}}class ou 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 te(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}}ou.Rules=UC;class pe extends p{constructor(e){super(e),this.props=new ou(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 gr extends ee{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}gr.controlType="varchar-column",gr.controlFieldType=b.VARCHAR;var Ss={Designer:pe,Runtime:gr,Property:ou};class WC extends we{constructor(e){super(e),Ve.call(this,e)}}class cu 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)}}cu.Rules=WC;class et extends p{constructor(e){super(e),this.props=new cu(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 br extends ee{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}br.controlType="text-column",br.controlFieldType=b.TEXT;var As={Designer:et,Runtime:br,Property:cu};class KC extends we{constructor(e){super(e),Ve.call(this,e)}}class su 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 te(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)}}su.Rules=KC;class tt extends p{constructor(e){super(e),this.props=new su(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 _r extends ee{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}_r.controlType="decimal-column",_r.controlFieldType=b.DECIMAL;var Ts={Designer:tt,Runtime:_r,Property:su};class zC extends we{constructor(e){super(e),Ve.call(this,e)}}class du 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}}du.Rules=zC;class nt extends p{constructor(e){super(e),this.props=new du(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 Cr extends ee{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}Cr.controlType="timescope-column",Cr.controlFieldType=b.TIMESCOPE;var Bs={Designer:nt,Runtime:Cr,Property:du};class GC extends we{constructor(e){super(e),Ve.call(this,e)}}class fu 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}}fu.Rules=GC;class it extends p{constructor(e){super(e),this.props=new fu(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 wr extends ee{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}wr.controlType="timestamp-column",wr.controlFieldType=b.TIMESTAMP;var Rs={Designer:it,Runtime:wr,Property:fu};class QC extends Ql{constructor(e){super(e),Ve.call(this,e)}}class hu 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 te(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:[{}])}}hu.Rules=QC;class ut extends p{constructor(e){super(e),this.props=new hu(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 Er extends ee{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}Er.controlType="array-column",Er.controlFieldType=b.ARRAY;var Ds={Designer:ut,Runtime:Er,Property:hu};class Ir 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 p{constructor(e){super(e),this.props=new Ir(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 Sr extends ee{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}}Sr.controlType="department-column",Sr.controlFieldType=b.DEPARTMENTS;var Ps={Designer:at,Runtime:Sr,Property:Ir};class XC extends we{constructor(e){super(e),Ve.call(this,e)}}class yu 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)}}yu.Rules=XC;class rt extends p{constructor(e){super(e),this.props=new yu(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 Ar extends ee{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}}Ar.controlType="auto-number-column",Ar.controlFieldType=b.AUTO_NUMBER;var xs={Designer:rt,Runtime:Ar,Property:yu};class Tr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:lt.controlName}}class lt extends p{constructor(e){super(e),this.props=new Tr(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 Br extends ee{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}}Br.controlType="file-column",Br.controlFieldType=b.FILE;var Fs={Designer:lt,Runtime:Br,Property:Tr};class Rr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ot.controlName}}class ot extends p{constructor(e){super(e),this.props=new Rr(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 Dr extends ee{constructor(e){super(e),this.props=new Rr(e==null?void 0:e.props)}}Dr.controlType="image-column",Dr.controlFieldType=b.IMAGE;var ks={Designer:ot,Runtime:Dr,Property:Rr};class Pr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ct.controlName}}class ct extends p{constructor(e){super(e),this.props=new Pr(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 xr extends ee{constructor(e){super(e),this.props=new Pr(e==null?void 0:e.props)}}xr.controlType="people-column",xr.controlFieldType=b.EMPLOYEES;var Os={Designer:ct,Runtime:xr,Property:Pr};class JC extends we{constructor(e){super(e),Ve.call(this,e)}}class mu 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)}}mu.Rules=JC;class st extends p{constructor(e){super(e),this.props=new mu(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 Fr extends ee{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}}Fr.controlType="location-column",Fr.controlFieldType=b.ADDRESS;var Ms={Designer:st,Runtime:Fr,Property:mu};class ZC extends we{constructor(e){super(e),this.sortFieldCode={type:"string",message:f.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class vu 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:""}}vu.Rules=ZC;const YC=1;class Be extends p{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new vu(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 Nn(Pe({},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=YC,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 $s extends ee{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props),be(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}$s.controlType="custom-column";var Ls={Designer:Be,Runtime:$s,Property:vu};class kr 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 Wn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Ue.controlCustomAttributes})}}class Ue extends p{constructor(e){super(e),this.props=new kr(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 Or extends ee{constructor(e){super(e),this.props=new kr(e==null?void 0:e.props)}}Or.controlType="employee-column",Or.controlFieldType=b.EMPLOYEES;var Ns={Designer:Ue,Runtime:Or,Property:kr};class Mr 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 p{constructor(e){super(e),this.props=new Mr(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 Vs extends ee{constructor(e){super(e),this.props=new Mr(e==null?void 0:e.props)}}Vs.controlType="approval-status-column";var Hs={Designer:dt,Runtime:Vs,Property:Mr},pC=Object.freeze({__proto__:null,VarcharColumn:Ss,TextColumn:As,DecimalColumn:Ts,TimescopeColumn:Bs,TimestampColumn:Rs,ArrayColumn:Ds,DepartmentColumn:Ps,AutoNumberColumn:xs,FileColumn:Fs,ImageColumn:ks,PeopleColumn:Os,LocationColumn:Ms,CustomColumn:Ls,OrderColumn:ws,OperationColumn:Es,EmployeeColumn:Ns,ApprovalStatusColumn:Hs});class ew extends We{constructor(e){super(e),this.push({type:"object",fields:{}})}}class gu extends Ba{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}}gu.RuntimeRules=ew;class bu extends Y0{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}}bu.controlType="simple-search",bu.slotPosition={default:"search"},bu.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 js extends ab{constructor(e){var n;super(e),this.props=new gu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}js.controlType="simple-search";var qs={Designer:bu,Runtime:js,Property:gu},tw=Object.freeze({__proto__:null,SimpleSearch:qs});class $r extends ka{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class nw extends _b{constructor(e){super(e),this.props=new $r(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 iw extends Tb{constructor(e){super(e),this.props=new $r(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function hw(t){return t}var uw={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Us={Designer:nw,Runtime:iw,Property:$r,Setting:uw},aw=Object.freeze({__proto__:null,GridLayoutWrap:Us});y.ActionBar=bs,y.Address=gc,y.AdvancedContainer=ms,y.Amount=hc,y.ApprovalStatusColumn=Hs,y.ArrayColumn=Ds,y.AssignType=je,y.Attachment=cc,y.AutoNumber=wc,y.AutoNumberColumn=xs,y.BatchDeleteButton=Ho,y.BatchPrintListButton=Lo,y.BatchPrintRecordListButton=No,y.BatchSubmissionListButton=Eo,y.Button=ao,y.Calc=Ic,y.CardGroup=pc,y.Checkbox=Wo,y.Col=Xc,y.CreateFormListButton=wo,y.CustomColumn=Ls,y.DATE_CONFIG_TYPE=ro,y.DATE_LIMIT_TYPE=lo,y.Dashboard=Fo,y.DataView=hs,y.DatePicker=Jo,y.DateRange=Yo,y.DecimalColumn=Ts,y.Department=_c,y.Department2=Wc,y.DepartmentColumn=Ps,y.DepartmentType=wi,y.Divider=_o,y.ElectronicSignature=Hc,y.ElectronicSignatureConfig=oo,y.Employee=oc,y.Employee2=Nc,y.EmployeeColumn=Ns,y.EncryptTypeEnum=go,y.Explain=Ci,y.ExportConfig=ho,y.ExportListButton=So,y.ExportRecordListButton=Ao,y.ExportTemplate=Jt,y.FileColumn=Fs,y.FlexStyleConfig=vo,y.FormSelectButton=Bo,y.Grid=Qc,y.GridLayoutContainer=as,y.GridLayoutWrap=Us,y.GridRow=Yc,y.GridTable=Is,y.GridTableColumn=us,y.Image=dc,y.ImageColumn=ks,y.ImportConfig=fo,y.ImportListBind=so,y.ImportRecordListButton=To,y.Input=qo,y.InternalType=za,y.InvoiceCheckButton=$o,y.LINE_STYLE=qa,y.LimitDate=_i,y.Link=uo,y.ListSelectButton=Ro,y.ListView=ds,y.ListViewSelect=Oo,y.LocationColumn=Ms,y.Number=Qo,y.OperationButton=Vo,y.OperationColumn=Es,y.OrderColumn=ws,y.OrganizationSelection=zc,y.OrganizeType=Ka,y.Page=ys,y.Pagination=Po,y.PeopleColumn=Os,y.Position=gs,y.PositioningContainer=vs,y.PrintTemplate=mo,y.Radio=zo,y.RichText=nc,y.Row=Zc,y.SCORE_TYPE=ja,y.SUBTABLE_DEFAULT_MAX_HEIGHT=yo,y.Score=mc,y.SearchDateRange=Bc,y.SearchInput=Oc,y.SearchNumberRange=Ac,y.Select=uc,y.SelectMultiple=rc,y.SelectRelation=xc,y.SimpleSearch=qs,y.SubTable=Cs,y.SubTableColumn=ts,y.SubTableRow=ns,y.SubmissionRecordListButton=Io,y.Tab=ls,y.TabPane=rs,y.Text=io,y.TextColumn=As,y.TextOcrButton=Mo,y.Textarea=ec,y.TimescopeColumn=Bs,y.TimestampColumn=Rs,y.Title=Co,y.TitleConfigEnum=He,y.Toolbox=ss,y.Tree=$c,y.UndersignedPerson=Ua,y.VarcharColumn=Ss,y.VueFormItem=Dc,y.WPS=qc,y.WPSSetting=co,y.WpsOperationItem=Wa,y.baseControls=o_,y.columnControls=pC,y.formControls=nC,y.initExpression=Zt,y.layoutControls=MC,y.listControls=qC,y.searchControls=tw,y.wrapControls=aw,Object.defineProperty(y,"__esModule",{value:!0})});
1
+ var rw=Object.defineProperty,lw=Object.defineProperties;var ow=Object.getOwnPropertyDescriptors;var zs=Object.getOwnPropertySymbols,cw=Object.getPrototypeOf,sw=Object.prototype.hasOwnProperty,dw=Object.prototype.propertyIsEnumerable,fw=Reflect.get;var Gs=(y,q,G)=>q in y?rw(y,q,{enumerable:!0,configurable:!0,writable:!0,value:G}):y[q]=G,Pe=(y,q)=>{for(var G in q||(q={}))sw.call(q,G)&&Gs(y,G,q[G]);if(zs)for(var G of zs(q))dw.call(q,G)&&Gs(y,G,q[G]);return y},Nn=(y,q)=>lw(y,ow(q));var Lr=(y,q,G)=>fw(cw(y),G,q);var Nr=(y,q,G)=>new Promise((Cu,Vn)=>{var wu=Ee=>{try{Vt(G.next(Ee))}catch(Ht){Vn(Ht)}},Eu=Ee=>{try{Vt(G.throw(Ee))}catch(Ht){Vn(Ht)}},Vt=Ee=>Ee.done?Cu(Ee.value):Promise.resolve(Ee.value).then(wu,Eu);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",Cu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Vn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",wu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Eu="{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",Qs="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Xs="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Js="\u8BF7\u7ED1\u5B9A\u8868\u5355",Zs="\u8BF7\u7ED1\u5B9A\u5217\u8868",Ys="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",ps="\u8BF7\u8F93\u5165\u663E\u793A\u503C",ed="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",td="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",nd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",id="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ud="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",ad="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",rd="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ld="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",od="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",cd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",sd="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",dd="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",fd="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",hd="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",yd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",md="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",vd="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",gd="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",bd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",_d="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Cd="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",wd="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Ed="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Id="\u8BF7\u9009\u62E9\u7701",Sd="\u8BF7\u9009\u62E9\u5E02",Ad="\u8BF7\u9009\u62E9\u533A",Td="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Bd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Rd="\u8BF7\u8F93\u5165\u5217\u5BBD",Dd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Pd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",xd="\u8BF7\u9009\u62E9\u63A7\u4EF6",Fd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",kd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Od="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Md="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",$d="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ld="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Nd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Vd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Hd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",jd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",qd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ud="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Wd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Kd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",zd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Gd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Qd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Xd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Jd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Zd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Yd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",pd="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",ef="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",tf="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",nf="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",uf="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",af="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",rf={isNotNumber:q,isNotString:G,isNotObject:Cu,isNotArray:Vn,isNotBoolean:wu,runtimeRequired:Eu,pleaseEnterCaption:Vt,pleaseEnterCaptionTip:Ee,pleaseEnterRowCaption:Ht,pleaseEnterPlaceholder:Qs,pleaseEnterFieldCode:Xs,pleaseEnterForm:Js,pleaseEnterList:Zs,pleaseEnterProcess:Ys,pleaseEnterLabel:ps,pleaseEnterValue:ed,bizKeyNotBindFiled:td,pleaseSelectOneField:nd,pleaseEnterNumberRange:id,pleaseEnterAValueGreaterThanMin:ud,pleaseEnterAValueLessThanMax:ad,numberRangeSetError:rd,stringRangeError:ld,attachmentMaxSize:od,pleaseEnterTotalScoreSetting:cd,theTotalScoreMustNotBeLessThan1:sd,scoreDefaultValueRange:dd,attachmentLimitError:fd,PleaseReselectTheOptionalQuantity:hd,TheMaximumLengthIsGreaterThanTheMinimumLength:yd,TheMinimumLengthIsGreaterThanTheMaximumLength:md,PleaseSelectTheCorrectOptionSettings:vd,optionIdIsRepeat:gd,optionIsRequired:bd,pleaseEnterDataCode:_d,pleaseEnterValueFieldCode:Cd,pleaseEnterSvcCode:wd,pleaseBindAtLeastOneDisplayValue:Ed,pleaseSelectProvince:Id,pleaseSelectCity:Sd,pleaseSelectDistrict:Ad,limitRowsCannotBeLessThan0:Td,TheNumberOfRowsCannotBeLessThanMinRows:Bd,pleaseEnterColumnWidth:Rd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Dd,pleaseCompleteAllRulesAndConditions:Pd,pleaseSelectControl:xd,pleaseSelectAtLeastOneColumn:Fd,pleaseSelectFillBackMode:kd,pleaseSelectDashboard:Od,rootNodeIsRequired:Md,theViewNameCannotBeEmpty:$d,pleaseSelectOcrType:Ld,pleaseSelectAtLeastOneFieldToFillIn:Nd,pleaseChooseAtLeastOne:Vd,pleaseEnterButtonContent:Hd,pleaseEnterDataCodeInDataSetting:jd,pleaseEnterValueFieldCodeInDataSetting:qd,pleaseEnterSvcCodeInDataSetting:Ud,pleaseBindAtLeastOneDisplayValueInDataSetting:Wd,rootNodeIsRequiredInDataSetting:Kd,pleaseEnterMaxHeight:zd,pleaseEnter:Gd,pleaseEnterWatermark:Qd,pleaseEnterFileName:Xd,pleaseUploadAtLeastOnePrintTemplate:Jd,pleaseAssignBusiness:Zd,pleaseAssignExternal:Yd,pleaseEnterAliasCode:pd,pleaseSelectDataCode:ef,pleaseSelectSvcCode:tf,pleaseSelectJoinFieldCode:nf,pleaseSelectMainFieldCode:uf,pleaseSelectSortFieldCode:af},lf="Please enter a number",of="Please enter a string",cf="Please enter an object",sf="Please enter an array",df="Please enter a boolean",ff="{caption} Required",hf="Please enter the title",yf="Please enter the bubble prompt",mf="Please enter the row title",vf="Please enter the prompt text",gf="Please bind data items",bf="Please bind the form",_f="Please bind the list",Cf="Please bind the process",wf="Please enter the displayed value",Ef="Please enter the stored value",If="The document number is not bound to the data item",Sf="Please select at least one display field",Af="Please enter a value greater than or equal to {min} and less than or equal to {max}",Tf="Please enter a value greater than or equal to {min}",Bf="Please enter a value less than or equal to {max}",Rf="The value range is set incorrectly",Df="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Pf="The attachment size must be between 0MB and 1000MB",xf="Please fill in the total score setting",Ff="The total score cannot be less than 1",kf="The default value must be between {min} and {max}",Of="The number of attachments uploaded must be between {min} and {max}",Mf="Please re-select the optional quantity",$f="The maximum length of the control must be greater than the minimum length",Lf="The minimum length of the control must be less than the maximum length",Nf="Please select the correct option setting",Vf="Option ID cannot be repeated",Hf="Please enter at least one option",jf="Please bind the data source",qf="Please bind the stored value",Uf="Please bind the service",Wf="At least one display value must be bound",Kf="Please select a province",zf="Please select a city",Gf="Please select a district",Qf="The minimum number of lines to fill in cannot be less than 0",Xf="The number of rows cannot be less than {min} rows",Jf="Please enter the column width",Zf="Please set the logical relationship of all rule conditions",Yf="Please complete all rules and conditions",pf="please select control",eh="Please select the dashboard",th="View name cannot be empty",nh="Please select recognition type",ih="Please select at least one field to fill in",uh="Please select at least one",ah="Please enter the button title",rh="Please bind the business model in the data settings",lh="Please bind storage values in data settings",oh="Please bind the service in the data settings",ch="Please bind at least one display value in the data settings",sh="Please select the root node in the data settings",dh="Please enter the maximum height",fh="The input content cannot be empty",hh="Watermark cannot be empty",yh="File name cannot be empty",mh="Please upload at least one printing template!\uFF01",vh="Please select a specific business department",gh="Please select a specified external organization",bh="Please enter a sub table alias",_h="Please select the associated table to set the business model",Ch="Please select the association table to set the binding service",wh="Select associated sub table fields",Eh="Please select the associated main table field",Ih="Please select the sort field",Sh={isNotNumber:lf,isNotString:of,isNotObject:cf,isNotArray:sf,isNotBoolean:df,runtimeRequired:ff,pleaseEnterCaption:hf,pleaseEnterCaptionTip:yf,pleaseEnterRowCaption:mf,pleaseEnterPlaceholder:vf,pleaseEnterFieldCode:gf,pleaseEnterForm:bf,pleaseEnterList:_f,pleaseEnterProcess:Cf,pleaseEnterLabel:wf,pleaseEnterValue:Ef,bizKeyNotBindFiled:If,pleaseSelectOneField:Sf,pleaseEnterNumberRange:Af,pleaseEnterAValueGreaterThanMin:Tf,pleaseEnterAValueLessThanMax:Bf,numberRangeSetError:Rf,stringRangeError:Df,attachmentMaxSize:Pf,pleaseEnterTotalScoreSetting:xf,theTotalScoreMustNotBeLessThan1:Ff,scoreDefaultValueRange:kf,attachmentLimitError:Of,PleaseReselectTheOptionalQuantity:Mf,TheMaximumLengthIsGreaterThanTheMinimumLength:$f,TheMinimumLengthIsGreaterThanTheMaximumLength:Lf,PleaseSelectTheCorrectOptionSettings:Nf,optionIdIsRepeat:Vf,optionIsRequired:Hf,pleaseEnterDataCode:jf,pleaseEnterValueFieldCode:qf,pleaseEnterSvcCode:Uf,pleaseBindAtLeastOneDisplayValue:Wf,pleaseSelectProvince:Kf,pleaseSelectCity:zf,pleaseSelectDistrict:Gf,limitRowsCannotBeLessThan0:Qf,TheNumberOfRowsCannotBeLessThanMinRows:Xf,pleaseEnterColumnWidth:Jf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Zf,pleaseCompleteAllRulesAndConditions:Yf,pleaseSelectControl:pf,pleaseSelectDashboard:eh,theViewNameCannotBeEmpty:th,pleaseSelectOcrType:nh,pleaseSelectAtLeastOneFieldToFillIn:ih,pleaseChooseAtLeastOne:uh,pleaseEnterButtonContent:ah,pleaseEnterDataCodeInDataSetting:rh,pleaseEnterValueFieldCodeInDataSetting:lh,pleaseEnterSvcCodeInDataSetting:oh,pleaseBindAtLeastOneDisplayValueInDataSetting:ch,rootNodeIsRequiredInDataSetting:sh,pleaseEnterMaxHeight:dh,pleaseEnter:fh,pleaseEnterWatermark:hh,pleaseEnterFileName:yh,pleaseUploadAtLeastOnePrintTemplate:mh,pleaseAssignBusiness:vh,pleaseAssignExternal:gh,pleaseEnterAliasCode:bh,pleaseSelectDataCode:_h,pleaseSelectSvcCode:Ch,pleaseSelectJoinFieldCode:wh,pleaseSelectMainFieldCode:Eh,pleaseSelectSortFieldCode:Ih},Ah="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Th="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bh="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rh="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dh="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ph="{caption}\u5FC5\u9808",xh="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fh="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",kh="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Oh="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mh="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$h="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Lh="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Nh="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Vh="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hh="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jh="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",qh="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Uh="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Wh="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Kh="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zh="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Gh="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Qh="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Xh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Jh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Zh="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Yh="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ph="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ey="\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",ty="\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",ny="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",iy="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",uy="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ay="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ry="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ly="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",oy="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",cy="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sy="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",dy="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fy="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",hy="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",yy="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",my="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",vy="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",gy="please select control",by="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_y="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Cy="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wy="\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",Ey="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Iy="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Sy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ay="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ty="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",By="\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",Ry="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Dy="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Py="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",xy="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Fy="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",ky="\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",Oy="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",My="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$y="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ly="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Ny="\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",Vy="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Hy="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",jy="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",qy={isNotNumber:Ah,isNotString:Th,isNotObject:Bh,isNotArray:Rh,isNotBoolean:Dh,runtimeRequired:Ph,pleaseEnterCaption:xh,pleaseEnterCaptionTip:Fh,pleaseEnterRowCaption:kh,pleaseEnterPlaceholder:Oh,pleaseEnterFieldCode:Mh,pleaseEnterForm:$h,pleaseEnterList:Lh,pleaseEnterProcess:Nh,pleaseEnterLabel:Vh,pleaseEnterValue:Hh,bizKeyNotBindFiled:jh,pleaseSelectOneField:qh,pleaseEnterNumberRange:Uh,pleaseEnterAValueGreaterThanMin:Wh,pleaseEnterAValueLessThanMax:Kh,numberRangeSetError:zh,stringRangeError:Gh,attachmentMaxSize:Qh,pleaseEnterTotalScoreSetting:Xh,theTotalScoreMustNotBeLessThan1:Jh,scoreDefaultValueRange:Zh,attachmentLimitError:Yh,PleaseReselectTheOptionalQuantity:ph,TheMaximumLengthIsGreaterThanTheMinimumLength:ey,TheMinimumLengthIsGreaterThanTheMaximumLength:ty,PleaseSelectTheCorrectOptionSettings:ny,optionIdIsRepeat:iy,optionIsRequired:uy,pleaseEnterDataCode:ay,pleaseEnterValueFieldCode:ry,pleaseEnterSvcCode:ly,pleaseBindAtLeastOneDisplayValue:oy,pleaseSelectProvince:cy,pleaseSelectCity:sy,pleaseSelectDistrict:dy,limitRowsCannotBeLessThan0:fy,TheNumberOfRowsCannotBeLessThanMinRows:hy,pleaseEnterColumnWidth:yy,pleaseSetTheLogicalRelationshipOfAllRuleConditions:my,pleaseCompleteAllRulesAndConditions:vy,pleaseSelectControl:gy,pleaseSelectDashboard:by,theViewNameCannotBeEmpty:_y,pleaseSelectOcrType:Cy,pleaseSelectAtLeastOneFieldToFillIn:wy,pleaseChooseAtLeastOne:Ey,pleaseEnterButtonContent:Iy,pleaseEnterDataCodeInDataSetting:Sy,pleaseEnterValueFieldCodeInDataSetting:Ay,pleaseEnterSvcCodeInDataSetting:Ty,pleaseBindAtLeastOneDisplayValueInDataSetting:By,rootNodeIsRequiredInDataSetting:Ry,pleaseEnterMaxHeight:Dy,pleaseEnter:Py,pleaseEnterWatermark:xy,pleaseEnterFileName:Fy,pleaseUploadAtLeastOnePrintTemplate:ky,pleaseAssignBusiness:Oy,pleaseAssignExternal:My,pleaseEnterAliasCode:$y,pleaseSelectDataCode:Ly,pleaseSelectSvcCode:Ny,pleaseSelectJoinFieldCode:Vy,pleaseSelectMainFieldCode:Hy,pleaseSelectSortFieldCode:jy},Uy={zhCN:rf,enUS:Sh,jaJP:qy},Vr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Vr||(Vr={}));var Hr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Hr||(Hr={}));var Wy="zh-CN";function D(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 jr;(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"})(jr||(jr={}));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"})(S||(S={}));var qr;(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"})(qr||(qr={}));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={},D(U,"varchar","\u77ED\u6587\u672C"),D(U,"timestamp","\u65F6\u95F4"),D(U,"text","\u957F\u6587\u672C"),D(U,"decimal","\u6570\u503C\u7C7B\u578B"),D(U,"relation","\u5F15\u7528\u7C7B\u578B"),D(U,"bigint","\u957F\u6574\u578B"),D(U,"image","\u56FE\u7247"),D(U,"file","\u9644\u4EF6"),D(U,"auto_number","\u81EA\u52A8\u7F16\u53F7"),D(U,"boolean","\u903B\u8F91"),D(U,"people","\u4EBA\u5458"),D(U,"location","\u5730\u5740"),D(U,"department","\u90E8\u95E8"),D(U,"relation-field","\u5173\u8054\u5B57\u6BB5"),D(U,"reference-field","\u5F15\u7528\u5B57\u6BB5"),D(U,"calc","\u8BA1\u7B97\u516C\u5F0F"),D(U,"json","JSON"),D(U,"model","\u6A21\u578B"),D(U,"model_set","\u6A21\u578B\u96C6\u5408"),D(U,"array","\u6570\u7EC4");var ae;ae={},D(ae,"array","array-column"),D(ae,"auto_number","auto-number-column"),D(ae,"decimal","decimal-column"),D(ae,"department","department-column"),D(ae,"file","file-column"),D(ae,"image","image-column"),D(ae,"location","location-column"),D(ae,"people","employee-column"),D(ae,"text","text-column"),D(ae,"timescope","timescope-column"),D(ae,"timestamp","timestamp-column"),D(ae,"varchar","varchar-column"),D(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 Ur={DEFAULT:"default"},Wr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Ky=Wr+"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?Wr:Ky,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Iu(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 Iu(t)}function Gy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hn(t,e,n){return Qr()?Hn=Reflect.construct:Hn=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},Hn.apply(null,arguments)}function jt(t){return jt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jt(t)}function zr(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 Qy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Xy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Jy(){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 Zy(t,e){return e&&(Yy(e)==="object"||typeof e=="function")?e:Gy(t)}function qt(t,e){return qt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},qt(t,e)}function Gr(t){return zy(t)||Xy(t)||py(t)||Jy()}function Yy(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function py(t,e){if(!!t){if(typeof t=="string")return Iu(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 Iu(t,e)}}function Su(t){var e=typeof Map=="function"?new Map:void 0;return Su=function(i){if(i===null||!Qy(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 Hn(i,arguments,jt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),qt(u,i)},Su(t)}function Qr(){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 Xr(t){var e=Qr();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 Zy(this,u)}}var Au=console;function Tu(){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=Au).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Gr(u)))}function Jr(){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=Au).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Gr(u)))}function em(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Bu=function(t){zr(n,t);var e=Xr(n);function n(i){Kr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?em(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Su(Error)),tm=function(t){zr(n,t);var e=Xr(n);function n(i){Kr(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Bu);function Ut(t){throw new Bu(t)}function Zr(t){throw new tm(t)}function nm(t){Au.error(new Bu(t))}var im=Object.prototype.toString;function Yr(t,e){return im.call(t)==="[object "+e+"]"}function um(t){return Yr(t,"String")}function am(t){return Yr(t,"Promise")}var rm=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();am(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&&!um(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 lm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pr(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 om(t,e,n){return e&&pr(t.prototype,e),n&&pr(t,n),t}function cm(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(){lm(this,t)}return om(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]:Wy;return new rm({locale:n,messages:Uy})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();cm(f,"$i18n",f.resetI18n());function sm(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)){Tu("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 dm=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},fm={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})(dm)})(fm);var el={};Object.defineProperty(el,"__esModule",{value:!0});function Ru(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Ru(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Ru(i)}return e}}var hm=el.default=Ru;function ye(t){if(t!==void 0)return typeof t=="object"?hm(t):t}function ym(t){return Object.prototype.toString.call(t)==="[object Object]"}function Du(t){return Array.isArray(t)}function mm(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Pu(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 vm(t){if(Array.isArray(t))return Pu(t)}function tl(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 gm(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){tl(a,i,u,r,l,"next",c)}function l(c){tl(a,i,u,r,l,"throw",c)}r(void 0)})}}function bm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nl(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 _m(t,e,n){return e&&nl(t.prototype,e),n&&nl(t,n),t}function il(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function wm(){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 xu(t){return vm(t)||Cm(t)||Em(t)||wm()}function Em(t,e){if(!!t){if(typeof t=="string")return Pu(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 Pu(t,e)}}function Im(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 Sm=function(){function t(){bm(this,t),il(this,"_events",new Map),il(this,"debug",!1)}return _m(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 gm(function(){var l,c,o,d,v,g,C,E,_,I,m,w;return Im(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&&Jr.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(xu(u))),[4,_.apply(null,xu(u))];case 4:return I=T.sent(),r.debug&&Jr.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(xu(u),[I])),c.push(I),I===!1?[3,7]:[3,6];case 5:return m=T.sent(),nm(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 Am(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 Tm(t,e,n){return e&&ul(t.prototype,e),n&&ul(t,n),t}function Bm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Rm=[{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"}],Dm=function(){function t(){Am(this,t)}return Tm(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.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.concat(a),i}}]),t}();Bm(Dm,"events",Rm);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 Pm(t){if(Array.isArray(t))return Fu(t)}function xm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Fm(){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 al(t){return Pm(t)||xm(t)||km(t)||Fm()}function km(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 ku(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function rl(t,e,n){n==="Designer"&&(t.parent=e,ku(t,"parent"))}function Om(t,e,n){t.forEach(function(i){rl(i,e,n)})}var ll=Symbol("targetKey");function ol(t){var e;return(e=t[ll])!==null&&e!==void 0?e:t}function cl(t,e,n){return Om(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===ll?u:(o=Reflect).get.apply(o,[u,a].concat(al(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(Du(t)&&a==="length"&&r===t.length)return!0;var v=(d=Reflect).set.apply(d,[u,a,r].concat(al(c)));return ym(r)&&rl(r,e,n),v}})}function be(t,e,n,i,u){var a=i!=null?i:t,r=cl(ol(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return r},set:function(c){r=cl(ol(c),a,u)},enumerable:!0})}function Mm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sl(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 $m(t,e,n){return e&&sl(t.prototype,e),n&&sl(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 dl=[],jn=function(){function t(e){Mm(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 $m(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&&(Tu("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}}),ku(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}}}}),ku(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&&(Tu("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(jn,"staticControlsRuntimeRules",new Map),Fe(jn,"staticControls",dl),Fe(jn,"staticRegisteredTypes",new Set(dl.map(function(t){return t.Designer.controlType}))),Fe(jn,"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 qn(t){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qn(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&&Ou(t,e)}function Lm(t,e){return e&&(Nm(e)==="object"||typeof e=="function")?e:L(t)}function Ou(t,e){return Ou=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ou(t,e)}function Nm(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vm(){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=Vm();return function(){var i=qn(t),u;if(e){var a=qn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Lm(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},fl=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},Mu=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}(fl),Hm=function t(e){A(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new Mu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Mu(e==null?void 0:e.mobile):new Mu({width:130,minWidth:180})},jm=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:""},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),"primaryControlId",void 0);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(ht),hl=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:""},$u=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 hl(r)}))!==null&&a!==void 0?a:[]},Um=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},Wm=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),Km=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 Um(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 Wm(r)}))!==null&&a!==void 0?a:[]},zm=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:[]},Lu=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 Un(l);(d=n.children)===null||d===void 0||d.push(v)}}))},Un=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 zm(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Wt(e==null?void 0:e.rightVariableBo)},Gm=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 te(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:""},Nu=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},Qm=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 Vu(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 Lu(l):new Un(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 Lu(l):new Un(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 Qm(l)}))!==null&&r!==void 0?r:[]}var te=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 Nu(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:"",Vu.call(this,e)},Hu=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},yl=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 Nu(r)}))!==null&&a!==void 0?a:[]},Wn=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 yl(l)}))!==null&&r!==void 0?r:[],u}return n}(te),Xm=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 yl(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}(te),ml=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}(Wn),vl=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:[]},gl=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),Vu.call(L(u),i),u}return n}(vl),bl=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}(vl),_l=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:""},Jm=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 Jm(n)}))!==null&&e!==void 0?e:[]}var ju=function t(){A(this,t)},Zm=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}(ju),Ym=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"},pm=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}(ju),ev=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:""},tv=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:""},nv=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}(ju),iv=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:""},qu;(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"})(qu||(qu={}));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 Uu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Uu||(Uu={}));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},uv=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 hl(r)}))!==null&&a!==void 0?a:[],Vu.call(this,e)},av=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"},rv=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:""},lv=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 Lu(l):new Un(l)}))!==null&&r!==void 0?r:[]},ov=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 cv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kn(t,e,n){return Cl()?Kn=Reflect.construct:Kn=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},Kn.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 sv(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 dv(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function fv(t,e){return e&&(hv(e)==="object"||typeof e=="function")?e:cv(t)}function zt(t,e){return zt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},zt(t,e)}function hv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ku(t){var e=typeof Map=="function"?new Map:void 0;return Ku=function(i){if(i===null||!dv(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 Kn(i,arguments,Kt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),zt(u,i)},Ku(t)}function Cl(){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 yv(t){var e=Cl();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 fv(this,u)}}var Q=function t(e){Wu(this,t),Oe(this,"isHide",{type:"boolean"})},We=function(t){sv(n,t);var e=yv(n);function n(i){return Wu(this,n),e.call(this)}return n}(Ku(Array)),X=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Wu(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 av(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 mv(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function zu(t){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zu(t)}function zn(t,e){return zn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},zn(t,e)}function vv(){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 Gn(t,e,n){return vv()?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&&zn(o,r.prototype),o},Gn.apply(null,arguments)}function gv(t){return Function.toString.call(t).indexOf("[native code]")!==-1}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,zu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),zn(u,i)},Gu(t)}var bv=/%[sdj%]/g,wl=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(wl=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Qu(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(bv,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 _v(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||_v(e)&&typeof t=="string"&&!t)}function Cv(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 El(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 wv(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Il=function(t){mv(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}(Gu(Error));function Ev(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 Il(I,Qu(I))):v()},E=wv(t);El(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 Il(o,Qu(o))):v()};r.length||(i(o),v()),r.forEach(function(E){var _=t[E];a.indexOf(E)!==-1?El(_,n,C):Cv(_,n,C)})});return d.catch(function(v){return v}),d}function Sl(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 Al(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 Tl(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 Iv(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(oe(u.messages.whitespace,t.fullField))}var Xu={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(Xu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Xu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Xu.hex)}};function Sv(t,e,n,i,u){if(t.required&&e===void 0){Tl(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 Av(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 Tv(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 Bv(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:Tl,whitespace:Iv,type:Sv,range:Av,enum:Tv,pattern:Bv};function Rv(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 Dv(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 Pv(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 xv(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 Fv(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 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),B.range(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(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(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 $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),e!==void 0&&B.type(t,e,i,a,u)}n(a)}var Lv="enum";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[Lv](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,"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 Hv(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 jv(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 Ju(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 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)}n(a)}var Qt={string:Rv,method:Dv,number:Pv,boolean:xv,regexp:Fv,integer:kv,float:Ov,array:Mv,object:$v,enum:Nv,pattern:Vv,date:Hv,url:Ju,hex:Ju,email:Ju,required:jv,any:qv};function Zu(){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 Yu=Zu();function Me(t){this.rules=null,this._messages=Yu,this.define(t)}Me.prototype={messages:function(e){return e&&(this._messages=Al(Zu(),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=Qu(m):(m=null,w=null),l(m,w)}if(r.messages){var o=this.messages();o===Yu&&(o=Zu()),Al(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 Ev(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(Sl(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(Sl(m)):r.error&&($=[r.error(m,oe(r.messages.required,m.field))]),I($);var fe={};if(m.defaultField)for(var $n in _.value)_.value.hasOwnProperty($n)&&(fe[$n]=m.defaultField);fe=Ce(Ce({},fe),_.rule.fields);for(var Re in fe)if(fe.hasOwnProperty(Re)){var _u=Array.isArray(fe[Re])?fe[Re]:[fe[Re]];fe[Re]=_u.map(T.bind(null,Re))}var Ln=new Me(fe);Ln.messages(r.messages),_.rule.options&&(_.rule.options.messages=r.messages,_.rule.options.error=r.error),Ln.validate(_.value,_.rule.options||r,function(Nt){var De=[];$&&$.length&&De.push.apply(De,$),Nt&&Nt.length&&De.push.apply(De,Nt),I(De.length?De: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=wl,Me.messages=Yu,Me.validators=Qt;var Uv={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 Wv(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Me(t);return n.messages(Object.assign(Uv,e)),n}var Kv=new Sm;function pu(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 zv(t){if(Array.isArray(t))return t}function Gv(t){if(Array.isArray(t))return pu(t)}function Bl(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 Rl(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Bl(a,i,u,r,l,"next",c)}function l(c){Bl(a,i,u,r,l,"throw",c)}r(void 0)})}}function Qv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dl(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 Xv(t,e,n){return e&&Dl(t.prototype,e),n&&Dl(t,n),t}function F(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pl(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function xl(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Jv(){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 Zv(){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 Fl(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){F(t,u,n[u])})}return t}function Yv(t){return zv(t)||xl(t)||kl(t)||Jv()}function ea(t){return Gv(t)||xl(t)||kl(t)||Zv()}function kl(t,e){if(!!t){if(typeof t=="string")return pu(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 pu(t,e)}}function Ol(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;Qv(this,e),F(this,"id",void 0),F(this,"name",void 0),F(this,"icon",void 0),F(this,"type",void 0),F(this,"controlType",void 0),F(this,"props",void 0),F(this,"setting",[]),F(this,"fieldType",void 0),F(this,"eventKeys",[]),F(this,"customEvents",[]),F(this,"parent",null),F(this,"slots",void 0),F(this,"slotPosition",void 0),F(this,"updateSetting",$l),F(this,"removeSetting",Ml),this._callControlHooks("preInstance",n);var u=Pl(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||Zr("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,(Pl(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 Xv(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=Yv(u),c=l[0],o=l.slice(1);return(r=Kv).emit.apply(r,[c,this].concat(ea(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),sm(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return Rl(function(){var u,a,r;return Ol(this,function(l){switch(l.label){case 0:return u=Fl({},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 Rl(function(){var r,l,c,o;return Ol(this,function(d){switch(d.label){case 0:return[4,a.preValidate()];case 1:r=d.sent(),l=r!==void 0?r:Fl({},a.rules),Array.isArray(u)&&u.forEach(function(v){l.hasOwnProperty(v)&&delete l[v]}),c=Wv(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,ea(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();F(M,"mode","Designer"),F(M,"slots",void 0),F(M,"slotPosition",void 0),F(M,"controlName","\u63A7\u4EF6"),F(M,"controlIcon","icon"),F(M,"controlType","control"),F(M,"controlFieldType",void 0),F(M,"controlEventKeys",[]),F(M,"controlCustomEvents",[]),F(M,"setting",[]),F(M,"__is_control__",!0),F(M,"removeSettingItem",Ml),F(M,"updateSettingItem",$l);function Ml(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 $l(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,ea(e.showItems))}}}})}function pv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ll(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 eg(t,e,n){return e&&Ll(t.prototype,e),n&&Ll(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 tg(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Z=function(){function e(n){pv(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=tg(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Zr("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:Uu.UNKNOWN}return eg(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 ta(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=mm(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 Qn(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 ng(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function N(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function Zn(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&&na(t,e)}function ig(t,e){return e&&(ug(e)==="object"||typeof e=="function")?e:N(t)}function na(t,e){return na=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},na(t,e)}function ug(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ag(){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 Yn(t){var e=ag();return function(){var i=Jn(t),u;if(e){var a=Jn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ig(this,u)}}var ne=function(t){Zn(n,t);var e=Yn(n);function n(i){Xn(this,n);var u;u=e.call(this,i),V(N(u),"dataBind",{}),V(N(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),V(N(u),"isHideCaption",{type:"boolean"}),V(N(u),"labelPosition",{type:"enum",enum:["top","left"]}),V(N(u),"defaultState",{type:"enum",enum:["default","readonly"]}),V(N(u),"required",{type:"boolean"}),V(N(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(ng(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),H=function(t){Zn(n,t);var e=Yn(n);function n(i){Xn(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),P=function(t){Zn(n,t);var e=Yn(n);function n(i){Xn(this,n);var u;u=e.call(this,i),V(N(u),"caption",void 0),V(N(u),"isHideCaption",void 0),V(N(u),"isShowCaptionTip",void 0),V(N(u),"captionTip",void 0),V(N(u),"labelPosition",void 0),V(N(u),"dataBind",void 0),V(N(u),"defaultValue",void 0),V(N(u),"placeholder",void 0),V(N(u),"defaultState",void 0),V(N(u),"required",void 0),V(N(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);V(P,"Rules",ne),V(P,"RuntimeRules",H);var mt=function(t){Zn(n,t);var e=Yn(n);function n(i){Xn(this,n);var u;return u=e.call(this,i),V(N(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),V(N(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),V(N(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),ta.call(N(u),i),u}return n}(ne);function ia(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function lg(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 og(t,e){return e&&(cg(e)==="object"||typeof e=="function")?e:ia(t)}function ua(t,e){return ua=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ua(t,e)}function cg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sg(){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=sg();return function(){var i=ei(t),u;if(e){var a=ei(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return og(this,u)}}var x=function(t){lg(n,t);var e=dg(n);function n(i){rg(this,n);var u;return u=e.call(this,i),pn(ia(u),"controlType","form"),pn(ia(u),"props",void 0),u.props=new P(i==null?void 0:i.props),u}return n}(M);pn(x,"controlEventKeys",["on_change","on_focus","on_blur"]),pn(x,"controlCustomAttributes",void 0);function ti(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 aa(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:ti(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 k=function(t){hg(n,t);var e=gg(n);function n(i){fg(this,n);var u;return u=e.call(this,i),aa(ti(u),"controlType","form"),aa(ti(u),"props",void 0),aa(ti(u),"value",void 0),u.props=new P(i==null?void 0:i.props),u}return n}(Z);function bg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function Cg(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 wg(t,e){return e&&(Eg(e)==="object"||typeof e=="function")?e:bg(t)}function la(t,e){return la=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},la(t,e)}function Eg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ig(){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 Sg(t){var e=Ig();return function(){var i=ii(t),u;if(e){var a=ii(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return wg(this,u)}}var j=function(t){Cg(n,t);var e=Sg(n);function n(i){return _g(this,n),e.call(this,i)}return n}(X);function oa(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 Ag(t){if(Array.isArray(t))return oa(t)}function Ke(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nl(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 Tg(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Nl(a,i,u,r,l,"next",c)}function l(c){Nl(a,i,u,r,l,"throw",c)}r(void 0)})}}function Bg(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 Rg(t,e,n){return e&&Vl(t.prototype,e),n&&Vl(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=Lg(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 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&&ca(t,e)}function Pg(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function xg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Fg(){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 kg(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 Og(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 Mg(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Og(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function $g(t,e){return e&&(Ng(e)==="object"||typeof e=="function")?e:Ke(t)}function ca(t,e){return ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ca(t,e)}function Lg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Le(t),t!==null););return t}function Hl(t){return Ag(t)||xg(t)||Vg(t)||Fg()}function Ng(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vg(t,e){if(!!t){if(typeof t=="string")return oa(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 oa(t,e)}}function Hg(){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 jg(t){var e=Hg();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 $g(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 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 Ug=1e4,W=function(e){Dg(i,e);var n=jg(i);function i(u){Bg(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=Pg(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 Rg(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 Tg(function(){return qg(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 Hl(c).concat(Hl(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 Mg(kg({},a),{children:r})}}]),i}(M);$e(W,"excludes",!1),$e(W,"childrenMaxLength",Ug);function Xt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sa(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 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 zg(t,e){return e&&(Gg(e)==="object"||typeof e=="function")?e:Xt(t)}function da(t,e){return da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},da(t,e)}function Gg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Qg(){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 Xg(t){var e=Qg();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 zg(this,u)}}var K=function(t){Kg(n,t);var e=Xg(n);function n(i){Wg(this,n);var u;return u=e.call(this,i),sa(Xt(u),"controlType","layout"),sa(Xt(u),"children",void 0),sa(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 Jg(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 ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(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&&fa(t,e)}function Yg(t,e){return e&&(pg(e)==="object"||typeof e=="function")?e:Ae(t)}function fa(t,e){return fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fa(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=ai(t),u;if(e){var a=ai(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Yg(this,u)}}var ri=function(t){Zg(n,t);var e=t0(n);function n(i,u,a){Jg(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 ha(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 n0(t){if(Array.isArray(t))return ha(t)}function li(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),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function i0(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){jl(a,i,u,r,l,"next",c)}function l(c){jl(a,i,u,r,l,"throw",c)}r(void 0)})}}function u0(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 a0(t,e,n){return e&&ql(t.prototype,e),n&&ql(t,n),t}function oi(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=d0(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 r0(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 l0(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function o0(){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 Ul(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){oi(t,u,n[u])})}return t}function c0(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 Wl(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):c0(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function s0(t,e){return e&&(f0(e)==="object"||typeof e=="function")?e:li(t)}function ya(t,e){return ya=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ya(t,e)}function d0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ne(t),t!==null););return t}function Kl(t){return n0(t)||l0(t)||h0(t)||o0()}function f0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function h0(t,e){if(!!t){if(typeof t=="string")return ha(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 ha(t,e)}}function y0(){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 m0(t){var e=y0();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 s0(this,u)}}function v0(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 ma=function(t){r0(n,t);var e=m0(n);function n(i){u0(this,n);var u;return u=e.call(this,i),oi(li(u),"controlType","list"),oi(li(u),"props",void 0),u.props=new ri(li(u),i==null?void 0:i.props,"Designer"),u}return a0(n,[{key:"validate",value:function(u,a){var r=this,l=this,c=function(){return bt(Ne(n.prototype),"validate",r)};return i0(function(){return v0(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 Kl(l).concat(Kl(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 Wl(Ul({},r),{props:Wl(Ul({},this.props),{headers:l,footers:c})})}}]),n}(M);oi(ma,"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 g0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zl(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 b0(t,e,n){return e&&zl(t.prototype,e),n&&zl(t,n),t}function va(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 _0(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&&ga(t,e)}function C0(t,e){return e&&(w0(e)==="object"||typeof e=="function")?e:_t(t)}function ga(t,e){return ga=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ga(t,e)}function w0(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 I0(t){var e=E0();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 C0(this,u)}}var Gl=function(t){_0(n,t);var e=I0(n);function n(i){g0(this,n);var u;return u=e.call(this,i),va(_t(u),"controlType","list"),va(_t(u),"children",void 0),va(_t(u),"props",void 0),u.props=new ri(_t(u),i==null?void 0:i.props,"Runtime"),be(_t(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return b0(n,[{key:"length",get:function(){return this.children.length}}]),n}(Z);function Y(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ba(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 si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function _a(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 S0(t,e){return e&&(A0(e)==="object"||typeof e=="function")?e:Y(t)}function Ca(t,e){return Ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ca(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 wa(t){var e=T0();return function(){var i=si(t),u;if(e){var a=si(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return S0(this,u)}}var we=function(t){_a(n,t);var e=wa(n);function n(i){ba(this,n);var u;return u=e.call(this,i),ie(Y(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),ie(Y(u),"width",{type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(Q),z=function(t){_a(n,t);var e=wa(n);function n(i){ba(this,n);var u;u=e.call(this,i),ie(Y(u),"widthType",void 0),ie(Y(u),"width",void 0),ie(Y(u),"caption",void 0),ie(Y(u),"dataBind",void 0),ie(Y(u),"autoWidth",void 0),ie(Y(u),"fixed",void 0),ie(Y(u),"sort",void 0),ie(Y(u),"align",void 0),ie(Y(u),"colSpan",void 0),ie(Y(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 fl(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 Ql=function(t){_a(n,t);var e=wa(n);function n(i){ba(this,n);var u;return u=e.call(this,i),ie(Y(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),ie(Y(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),ie(Y(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),ta.call(Y(u),i),u}return n}(we);function Ea(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function B0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xl(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 R0(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&&Ia(t,e)}function D0(t,e){return e&&(P0(e)==="object"||typeof e=="function")?e:Ea(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}function P0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function x0(){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 F0(t){var e=x0();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 D0(this,u)}}var p=function(t){R0(n,t);var e=F0(n);function n(i){B0(this,n);var u;return u=e.call(this,i),Xl(Ea(u),"controlType","column"),Xl(Ea(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(M);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 Jl(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 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=fi(t),u;if(e){var a=fi(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),Jl(Sa(u),"controlType","column"),Jl(Sa(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(Z);function Zl(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 H0(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 j0(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 q0(t,e){return e&&(U0(e)==="object"||typeof e=="function")?e:Zl(t)}function Ta(t,e){return Ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ta(t,e)}function U0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}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 K0(t){var e=W0();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 q0(this,u)}}var Ba=function(t){j0(n,t);var e=K0(n);function n(i){V0(this,n);var u;return u=e.call(this,i),H0(Zl(u),"dataBind",void 0),u.dataBind=new _e(i==null?void 0:i.dataBind),u}return n}(j);function Ra(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z0(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 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&&Da(t,e)}function Q0(t,e){return e&&(X0(e)==="object"||typeof e=="function")?e:Ra(t)}function Da(t,e){return Da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Da(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=yi(t),u;if(e){var a=yi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Q0(this,u)}}var Y0=function(t){G0(n,t);var e=Z0(n);function n(i){z0(this,n);var u;return u=e.call(this,i),Yl(Ra(u),"controlType","search"),Yl(Ra(u),"props",void 0),u.props=new Ba(i==null?void 0:i.props),u}return n}(W);function Pa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p0(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 mi(t){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(t)}function eb(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 tb(t,e){return e&&(nb(e)==="object"||typeof e=="function")?e:Pa(t)}function xa(t,e){return xa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xa(t,e)}function nb(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 ub(t){var e=ib();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 tb(this,u)}}var ab=function(t){eb(n,t);var e=ub(n);function n(i){p0(this,n);var u;return u=e.call(this,i),pl(Pa(u),"controlType","search"),pl(Pa(u),"props",void 0),u.props=new Ba(i==null?void 0:i.props),u}return n}(K);function rb(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vi(t){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vi(t)}function ob(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&&Fa(t,e)}function cb(t,e){return e&&(sb(e)==="object"||typeof e=="function")?e:rb(t)}function Fa(t,e){return Fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fa(t,e)}function sb(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 fb(t){var e=db();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 cb(this,u)}}var ka=function(t){ob(n,t);var e=fb(n);function n(i){return lb(this,n),e.call(this,i)}return n}(j);function Oa(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 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 gi(t){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(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&&Ma(t,e)}function mb(t,e){return e&&(vb(e)==="object"||typeof e=="function")?e:Oa(t)}function Ma(t,e){return Ma=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ma(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=gi(t),u;if(e){var a=gi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return mb(this,u)}}var _b=function(t){yb(n,t);var e=bb(n);function n(i){hb(this,n);var u;return u=e.call(this,i),eo(Oa(u),"controlType","wrap"),eo(Oa(u),"props",void 0),u.props=new ka(i==null?void 0:i.props),u}return n}(W);function $a(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Cb(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 bi(t){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(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 Eb(t,e){return e&&(Ib(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 Ib(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Sb(){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 Ab(t){var e=Sb();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 Eb(this,u)}}var Tb=function(t){wb(n,t);var e=Ab(n);function n(i){Cb(this,n);var u;return u=e.call(this,i),to($a(u),"controlType","wrap"),to($a(u),"props",void 0),u.props=new ka(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 Na 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 no extends M{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}no.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 Bb extends Z{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlType(){return"text"}}var io={Designer:no,Runtime:Bb,Property:Na};class Va 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 Ha extends M{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ha.controlEventKeys=["on_click"],Ha.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 Rb extends Z{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlType(){return"link"}}var uo={Designer:Ha,Runtime:Rb,Property:Va};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 rv((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",Ur.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 ao={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||{}),ro=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(ro||{}),lo=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(lo||{});class _i{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 ja=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(ja||{});class Ci{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 qa=(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))(qa||{});class Ua{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 oo{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 Ua(c)))!=null?u:[new Ua],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 Wa{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 co{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 Wa(e==null?void 0:e.watermark),this.autoRename=new Wa(e==null?void 0:e.autoRename)}}class so{constructor(e){this.dataCode=e.dataCode}}class fo{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 so(a)))!=null?u:[]}}class ho{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 yo=480;function Zt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class mo{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 vo{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 go=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(go||{}),Ka=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Ka||{}),wi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(wi||{}),je=(t=>(t.ALL="all",t.ASSIGN="assign",t))(je||{}),za=(t=>(t.ALL="all",t.ADMIN="admin",t))(za||{});class Ga 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:qa.SOLID}}class bo extends M{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}bo.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class Db extends Z{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"divider"}}var _o={Designer:bo,Runtime:Db,Property:Ga};class Pb 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 Ei 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"}}Ei.Rules=Pb;class Ct extends M{constructor(e){super(e),this.props=new Ei(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 xb extends Z{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"title"}}var Co={Designer:Ct,Runtime:xb,Property:Ei};class Fb extends Q{constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class Ii 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"}}Ii.Rules=Fb;class wt extends ue{constructor(e){super(e),this.props=new Ii(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 kb extends se{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var wo={Designer:wt,Runtime:kb,Property:Ii};class Ob extends Q{constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class Si 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:""}}Si.Rules=Ob;class Et extends ue{constructor(e){super(e),this.props=new Si(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 Mb extends se{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Eo={Designer:Et,Runtime:Mb,Property:Si};class Qa 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 Qa(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 $b extends se{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Io={Designer:It,Runtime:$b,Property:Qa};class Xa 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 Xa(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 Lb extends se{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var So={Designer:St,Runtime:Lb,Property:Xa};class Ja 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 Ja(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 Nb extends se{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Ao={Designer:At,Runtime:Nb,Property:Ja};class Vb{constructor(e){this.dataCode=e.dataCode}}class Za 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 Vb(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 Za(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 Hb extends se{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var To={Designer:Tt,Runtime:Hb,Property:Za};function Ai(){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 jb extends Q{constructor(e){super(e),this.fillPayload={type:"object",fields:Pe({},Ai())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Pe({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Ai())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class Ti 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 gl(e==null?void 0:e.fillPayload),this.formBind=new qm(e==null?void 0:e.formBind),this.fillBack=new bl(e==null?void 0:e.fillBack)}}Ti.Rules=jb;class Yt extends ue{constructor(e){super(e),this.props=new Ti(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 qb extends se{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Bo={Designer:Yt,Runtime:qb,Property:Ti};class Ub extends Q{constructor(e){super(e),this.fillPayload={type:"object",fields:Pe({},Ai())},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:Pe({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Ai())}}}class Bi 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 gl(e==null?void 0:e.fillPayload),this.listPageBind=new $u(e==null?void 0:e.listPageBind),this.fillBack=new bl(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Hu(e==null?void 0:e.selectedContentConfig)}}Bi.Rules=Ub;class pt extends ue{constructor(e){super(e),this.props=new Bi(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 Wb extends se{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Ro={Designer:pt,Runtime:Wb,Property:Bi};class Kb extends Q{constructor(e){super(e)}}class zb extends We{constructor(e){super(e)}}class en extends X{constructor(e){super(e)}}en.Rules=Kb,en.RuntimeRules=zb;class Do 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"}}Do.setting=[];class Gb extends Z{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Po={Designer:Do,Runtime:Gb,Property:en};class Qb 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 Ri 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"}}Ri.Rules=Qb;class xo extends M{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}xo.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 Xb extends Z{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Fo={Designer:xo,Runtime:Xb,Property:Ri};class Jb 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 Di 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 uv(a)))!=null?u:[]}}Di.Rules=Jb;class ko extends M{constructor(e){super(e),this.props=new Di(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"}}ko.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Zb extends Z{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Oo={Designer:ko,Runtime:Zb,Property:Di};class Yb 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 Pi 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:[]}}Pi.Rules=Yb;class Bt extends ue{constructor(e){super(e),this.props=new Pi(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 pb extends se{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Mo={Designer:Bt,Runtime:pb,Property:Pi};class e_ 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 xi 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:[]}}xi.Rules=e_;class Rt extends ue{constructor(e){super(e),this.props=new xi(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 t_ extends se{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var $o={Designer:Rt,Runtime:t_,Property:xi};class n_ extends Q{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Fi extends re{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Dt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Dt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new mo(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Fi.Rules=n_;class Dt extends ue{constructor(e){super(e),this.props=new Fi(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"}}Dt.slots=["grid-table-toolbar-slot"],Dt.controlEventKeys=["on_click","on_click_finish"],Dt.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 i_ extends se{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Lo={Designer:Dt,Runtime:i_,Property:Fi};class Ya extends re{constructor(e){var n,i;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}}class Pt extends ue{constructor(e){super(e),this.props=new Ya(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"}}Pt.slots=["grid-table-toolbar-slot"],Pt.controlEventKeys=["on_click"],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:"super-setting",visible:!0}];class u_ extends se{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var No={Designer:Pt,Runtime:u_,Property:Ya};class a_ 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 ki 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}}ki.Rules=a_;class Oi extends M{constructor(e){super(e),this.props=new ki(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"}}Oi.controlEventKeys=["on_click"],Oi.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 r_ extends Z{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Vo={Designer:Oi,Runtime:r_,Property:ki};class pa 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 pa(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 l_ extends Z{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Ho={Designer:xt,Runtime:l_,Property:pa},o_=Object.freeze({__proto__:null,Text:io,Link:uo,Button:ao,Divider:_o,Title:Co,CreateFormListButton:wo,BatchSubmissionListButton:Eo,SubmissionRecordListButton:Io,ExportListButton:So,ExportRecordListButton:Ao,ImportRecordListButton:To,FormSelectButton:Bo,ListSelectButton:Ro,Pagination:Po,Dashboard:Fo,ListViewSelect:Oo,TextOcrButton:Mo,InvoiceCheckButton:$o,BatchPrintListButton:Lo,BatchPrintRecordListButton:No,OperationButton:Vo,BatchDeleteButton:Ho});class c_ extends ne{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 s_ extends H{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 P{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 _l(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=c_,Ft.RuntimeRules=s_;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 jo extends k{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"input"}}jo.controlFieldType=b.VARCHAR;var qo={Designer:kt,Runtime:jo,Property:Ft};class d_ 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 f_ extends H{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 P{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 te(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=d_,tn.RuntimeRules=f_;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 Uo extends k{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Uo.controlFieldType=b.ARRAY;var Wo={Designer:nn,Runtime:Uo,Property:tn};class h_ extends mt{constructor(e){super(e)}}class Mi extends P{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 te(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))}))}}Mi.Rules=h_;class un extends x{constructor(e){super(e),this.props=new Mi(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 Ko extends k{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"radio"}}Ko.controlFieldType=b.VARCHAR;var zo={Designer:un,Runtime:Ko,Property:Mi};class y_ extends ne{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 m_ extends H{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 P{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 _l(e==null?void 0:e.regularRules)}}an.Rules=y_,an.RuntimeRules=m_;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 Go extends k{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"number"}}Go.controlFieldType=b.DECIMAL;var Qo={Designer:rn,Runtime:Go,Property:an};class er extends P{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:$i.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 _i(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 $i extends x{constructor(e){super(e),this.props=new er(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}}$i.controlFieldType=b.TIMESTAMP,$i.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 Xo extends k{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Xo.controlFieldType=b.TIMESTAMP;var Jo={Designer:$i,Runtime:Xo,Property:er};class v_ extends H{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 Li extends P{constructor(e){var n,i,u,a,r,l,c,o,d,v,g;super(e),this.dataBind=new pm(e==null?void 0:e.dataBind),this.defaultValue=new ev(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:Ni.controlName,this.limitDateList=(g=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(C=>new _i(C)))!=null?g:[]}}Li.RuntimeRules=v_;class Ni extends x{constructor(e){super(e),this.props=new Li(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}}Ni.controlFieldType=b.TIMESCOPE,Ni.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 Zo extends k{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Zo.controlFieldType=b.TIMESCOPE;var Yo={Designer:Ni,Runtime:Zo,Property:Li};class g_ extends ne{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 b_ extends H{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 P{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=g_,ln.RuntimeRules=b_;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 po extends k{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"textarea"}}po.controlFieldType=b.TEXT;var ec={Designer:on,Runtime:po,Property:ln};class __ extends ne{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 C_ extends H{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 P{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=__,cn.RuntimeRules=C_;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 tc extends k{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}tc.controlFieldType=b.TEXT;var nc={Designer:sn,Runtime:tc,Property:cn};class w_ 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 Vi extends P{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 te(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Hi.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)}}Vi.Rules=w_;class Hi extends x{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Hi.controlFieldType=b.VARCHAR,Hi.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 ic extends k{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"select"}}ic.controlFieldType=b.VARCHAR;var uc={Designer:Hi,Runtime:ic,Property:Vi};class E_ 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 I_ extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class dn extends P{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 te(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:ji.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=E_,dn.RuntimeRules=I_;class ji 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"}}ji.controlFieldType=b.ARRAY,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:"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 ac extends k{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}ac.controlFieldType=b.ARRAY;var rc={Designer:ji,Runtime:ac,Property:dn};class S_ extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class qi extends P{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:Ui.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))}))}}qi.RuntimeRules=S_;class Ui extends x{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Ui.controlFieldType=b.EMPLOYEES,Ui.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 lc extends k{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"employee"}}lc.controlFieldType=b.EMPLOYEES;var oc={Designer:Ui,Runtime:lc,Property:qi};const A_=10485760,T_=104857600,B_=1048576e3;class R_ extends ne{constructor(e){super(e),this.maxSize={type:"number",min:0,max:B_,message:f.getMessage("attachmentMaxSize")}}}class D_ extends H{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 P{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:T_,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=R_,Ot.RuntimeRules=D_;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 tr extends k{constructor(e){super(e),this.props=new Ot(e==null?void 0:e.props)}static get controlType(){return"attachment"}}tr.controlFieldType=b.FILE;var cc={Designer:Mt,Runtime:tr,Property:Ot};const sc=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:sc.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let nr=sc;nr.controlFieldType=b.IMAGE,nr.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 P_ extends tr{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 x_ extends Ot{constructor(e){super(e)}}var dc={Designer:nr,Runtime:P_,Property:x_};class F_ 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 k_ extends H{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:[Nn(Pe({},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 P{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 Zm(e==null?void 0:e.dataBind),this.datasourceBind=new te((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Nu({value:"name"})]}),this.defaultValue=new Ym((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:qu.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=F_,fn.RuntimeRules=k_;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 fc extends k{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"amount"}}fc.controlFieldType=b.MONEY;var hc={Designer:hn,Runtime:fc,Property:fn};class O_ extends ne{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 M_ extends H{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 P{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:ja.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 Ci(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new Ci),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=O_,yn.RuntimeRules=M_;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 Ci);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 yc extends k{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"score"}}yc.controlFieldType=b.DECIMAL;var mc={Designer:mn,Runtime:yc,Property:yn};class $_ extends H{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 Wi extends P{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ki.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 tv((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"}}Wi.RuntimeRules=$_;class Ki extends x{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Ki.controlFieldType=b.ADDRESS,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.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class vc extends k{constructor(e){super(e),this.props=new Wi(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"}}vc.controlFieldType=b.ADDRESS;var gc={Designer:Ki,Runtime:vc,Property:Wi};class L_ extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class zi extends P{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))}))}}zi.RuntimeRules=L_;class vn extends x{constructor(e){super(e),this.props=new zi(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 bc extends k{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"department"}}bc.controlFieldType=b.DEPARTMENTS;var _c={Designer:vn,Runtime:bc,Property:zi};class ir extends P{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 ir(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 Cc extends k{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Cc.controlFieldType=b.AUTO_NUMBER;var wc={Designer:gn,Runtime:Cc,Property:ir};class N_ extends ne{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 V_ extends H{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 P{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 nv(e==null?void 0:e.dataBind),this.defaultValue=new iv(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=N_,bn.RuntimeRules=V_;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 Ec extends k{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Ec.controlFieldType=b.CALC;var Ic={Designer:_n,Runtime:Ec,Property:bn};class H_ extends H{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 Gi extends P{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:Qi.controlName}}Gi.RuntimeRules=H_;class Qi extends x{constructor(e){super(e),this.props=new Gi(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"}}Qi.controlFieldType=b.DECIMAL_RANGE,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:"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 Sc extends k{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Sc.controlFieldType=b.DECIMAL_RANGE;var Ac={Designer:Qi,Runtime:Sc,Property:Gi};class j_ extends H{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 Xi extends P{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:Ji.controlName,this.limitDateList=(C=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(E=>new _i(E)))!=null?C:[]}}Xi.RuntimeRules=j_;class Ji extends x{constructor(e){super(e),this.props=new Xi(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"}}Ji.controlFieldType=b.ARRAY,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:"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 Tc extends k{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Tc.controlFieldType=b.ARRAY;var Bc={Designer:Ji,Runtime:Tc,Property:Xi};class q_ extends ne{constructor(e){super(e),this.dataBind={type:"any"}}}class U_ extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Cn extends P{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=q_,Cn.RuntimeRules=U_;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",Ur.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 Rc extends k{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Rc.controlFieldType=b.ANY;var Dc={Designer:$t,Runtime:Rc,Property:Cn};class W_ 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 Zi extends P{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 $u(e==null?void 0:e.listPageBind),this.datasourceBind=new te(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 Hu(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)}}Zi.Rules=W_;class wn extends x{constructor(e){super(e),this.props=new Zi(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 Pc extends k{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Pc.controlFieldType=b.VARCHAR;var xc={Designer:wn,Runtime:Pc,Property:Zi};class ur extends Ft{constructor(e){super(e)}}class Fc extends kt{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Fc.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 kc extends k{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}static get controlType(){return"search-input"}}kc.controlFieldType=b.VARCHAR;var Oc={Designer:Fc,Runtime:kc,Property:ur};class K_ extends ne{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Qn.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 z_ extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class En extends P{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 ml((E=e==null?void 0:e.datasourceBind)!=null?E:{attributes:qe.controlCustomAttributes}),this.filterItemDatasourceBind=new ml((_=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=K_,En.RuntimeRules=z_;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 Mc extends k{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return"tree"}}Mc.controlFieldType=b.ARRAY;var $c={Designer:qe,Runtime:Mc,Property:En};class G_ extends ne{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},Qn.call(this,e,Lt.controlCustomAttributes),e.externalType===je.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class Q_ extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class In extends P{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 Wn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:Lt.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:Ka.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:za.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=G_,In.RuntimeRules=Q_;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 Lc extends k{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Lc.controlFieldType=b.EMPLOYEES;var Nc={Designer:Lt,Runtime:Lc,Property:In};class X_ extends ne{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"&&Du(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")&&Du(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Yi extends P{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 oo(e==null?void 0:e.signatureConfig)}}Yi.Rules=X_;class Sn extends x{constructor(e){super(e),this.props=new Yi(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 Vc extends k{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Vc.controlFieldType=b.VARCHAR;var Hc={Designer:Sn,Runtime:Vc,Property:Yi};class J_ extends ne{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 Z_ extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class An extends P{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:A_,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new co(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}An.Rules=J_,An.RuntimeRules=Z_;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 jc extends k{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"wps"}}jc.controlFieldType=b.FILE;var qc={Designer:Tn,Runtime:jc,Property:An};class Y_ extends ne{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Qn.call(this,e,ze.controlCustomAttributes),e.businessType===je.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class p_ extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Bn extends P{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 Wn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:ze.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:wi.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=Y_,Bn.RuntimeRules=p_;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 Uc extends k{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Uc.controlFieldType=b.DEPARTMENTS;var Wc={Designer:ze,Runtime:Uc,Property:Bn};class eC extends ne{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Qn.call(this,e,Ge.controlCustomAttributes),e.businessType===je.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class tC extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Rn extends P{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 $u(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 Xm((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ge.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:wi.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 Hu(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=eC,Rn.RuntimeRules=tC;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 Kc extends k{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Kc.controlFieldType=b.DEPARTMENTS;var zc={Designer:Ge,Runtime:Kc,Property:Rn},nC=Object.freeze({__proto__:null,Input:qo,Checkbox:Wo,Radio:zo,Number:Qo,DatePicker:Jo,DateRange:Yo,Textarea:ec,RichText:nc,Select:uc,SelectMultiple:rc,Employee:oc,Image:dc,Attachment:cc,Amount:hc,Score:mc,Address:gc,Department:_c,AutoNumber:wc,Calc:Ic,SearchNumberRange:Ac,SearchDateRange:Bc,VueFormItem:Dc,SelectRelation:xc,SearchInput:Oc,Tree:$c,Employee2:Nc,ElectronicSignature:Hc,WPS:qc,Department2:Wc,OrganizationSelection:zc});class Gc extends W{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Gc.excludes=[S.GRID];class iC extends K{static get controlType(){return"grid"}constructor(e){super(e)}}var Qc={Designer:Gc,Runtime:iC,Property:j};const uC=24;class Qe extends j{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:uC,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Dn 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"}}Dn.excludes=[S.COL,S.CARD_GROUP,S.SUBTABLE,S.SUBTABLE_COLUMN,S.GRID_LAYOUT_CONTAINER,S.DIVIDER],Dn.childrenMaxLength=1;class ar extends K{constructor(e){super(e),this.props=new Qe(e==null?void 0:e.props)}static get controlType(){return"col"}}var Xc={Designer:Dn,Runtime:ar,Property:Qe};class pi 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 eu extends W{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}eu.excludes=[S.ROW],eu.setting=[{key:"col-setting",visible:!0}];class Jc extends K{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"row"}}var Zc={Designer:eu,Runtime:Jc,Property:pi};const aC=4;class tu extends eu{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)}}tu.excludes=[S.GRID_ROW],tu.setting=[],tu.childrenMaxLength=aC;class rC extends Jc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class lC extends pi{constructor(e){super(e)}}var Yc={Designer:tu,Runtime:rC,Property:lC};class oC extends j.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class nu extends j{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(i=e==null?void 0:e.collapse)!=null?i:"none"}}nu.Rules=oC;class rr extends W{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}rr.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],rr.excludes=[S.CARD_GROUP];class cC extends K{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var pc={Designer:rr,Runtime:cC,Property:nu};class sC 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 iu 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 Hm(e==null?void 0:e.metaAutoWidth)}}iu.Rules=sC;class ge extends W{constructor(e){super(e),this.props=new iu(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 es extends K{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}es.controlType="subtable-column";var ts={Designer:ge,Runtime:es,Property:iu};class lr extends j{constructor(e){super(e)}}class Xe extends W{constructor(e){super(e),this.props=new lr(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 dC extends K{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var ns={Designer:Xe,Runtime:dC,Property:lr};class or 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 te(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 or(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 is extends K{constructor(e){super(e),this.props=new or(e==null?void 0:e.props)}}is.controlType="gridtable-column";var us={Designer:Je,Runtime:is,Property:or};class cr 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 sr extends W{constructor(e){super(e),this.props=new cr(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"}}sr.excludes=[S.GRID_LAYOUT_CONTAINER,S.CARD_GROUP,S.TAB],sr.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class fC extends K{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var as={Designer:sr,Runtime:fC,Property:cr};class dr extends j{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class hC extends Q{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class uu extends j{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xn.controlName}}uu.Rules=hC;class Pn extends W{constructor(e){super(e),this.props=new uu(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"}}Pn.excludes=[S.TAB],Pn.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class yC extends K{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var rs={Designer:Pn,Runtime:yC,Property:uu};class xn extends W{constructor(e){var n;super(e),this.props=new dr(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Pn,new Pn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}xn.excludes=[S.TAB],xn.controlEventKeys=["on_change_tab"],xn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class mC extends K{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}static get controlType(){return"tab"}}var ls={Designer:xn,Runtime:mC,Property:dr};class os extends j{constructor(e){super(e)}}class cs extends W{constructor(e){super(e),this.props=new os({}),this.children=(e==null?void 0:e.children)||[new Dn({props:new Qe({span:12})}),new Dn({props:new Qe({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}cs.excludes=[S.GRID_ROW,S.ROW,S.GRID,S.SUBTABLE,S.TAB,S.TOOLBOX];class vC extends K{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new ar({props:new Qe({span:12})}),new ar({props:new Qe({span:12})})]}}var ss={Designer:cs,Runtime:vC,Property:os};class gC extends We{constructor(e){super(e),this.push({type:"object",fields:{}})}}class bC 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")}}}}]}}]),ta.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 Fn 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 te(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 Km(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new Gm(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 lv(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 ov(R)))!=null?T:[]:[]}}Fn.Rules=bC,Fn.RuntimeRules=gC;class kn extends W{constructor(e){super(e),this.props=new Fn(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"}}kn.slotPosition={left:"list-view-left-slot"},kn.excludes=[S.ROW],kn.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"],kn.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 _C extends K{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var ds={Designer:kn,Runtime:_C,Property:Fn};class CC extends We{constructor(e){super(e),this.push({type:"object",fields:{}})}}class au 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 te(e==null?void 0:e.datasourceBind)}}au.RuntimeRules=CC;class fs extends W{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}fs.excludes=[];class wC extends K{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var hs={Designer:fs,Runtime:wC,Property:au};class EC 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 IC extends K{static get controlType(){return"page"}constructor(e){super(e)}}class SC 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 ys={Designer:EC,Runtime:IC,Property:SC};class AC 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 TC extends K{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class BC extends j{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new vo(e==null?void 0:e.flexConfig)}}var ms={Designer:AC,Runtime:TC,Property:BC};class RC 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 DC extends K{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class PC extends j{constructor(e){super(e)}}var vs={Designer:RC,Runtime:DC,Property:PC};class xC 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 FC extends K{static get controlType(){return"position"}constructor(e){super(e)}}class kC 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 gs={Designer:xC,Runtime:FC,Property:kC};class fr 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 ru extends W{constructor(e){var n;super(e),this.props=new fr((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"}}ru.slotPosition={default:"action-bar-slot"},ru.excludes=[],ru.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 OC extends K{constructor(e){var n;super(e),this.props=new fr((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var bs={Designer:ru,Runtime:OC,Property:fr},MC=Object.freeze({__proto__:null,Grid:Qc,Col:Xc,Row:Zc,GridRow:Yc,CardGroup:pc,SubTableColumn:ts,SubTableRow:ns,GridTableColumn:us,GridLayoutContainer:as,Tab:ls,TabPane:rs,Toolbox:ss,ListView:ds,DataView:hs,Page:ys,AdvancedContainer:ms,PositioningContainer:vs,Position:gs,ActionBar:bs});class $C 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 LC 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 _s=class extends ri{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,$n,Re,_u,Ln,Nt,De,Ws,Ks;super(t,e,_s.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Mn.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:yo,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 te(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=($n=e==null?void 0:e.mobileDefaultNum)!=null?$n:10,this.dataStorageDoc=(Re=e==null?void 0:e.dataStorageDoc)!=null?Re:new jm,this.fixedColumn=(_u=e==null?void 0:e.fixedColumn)!=null?_u:[],this.mobileRowCaption=(Ln=e==null?void 0:e.mobileRowCaption)!=null?Ln:"\u660E\u7EC6",this.mobileIsTile=(Nt=e==null?void 0:e.mobileIsTile)!=null?Nt:!1,this.isPaste=(De=e==null?void 0:e.isPaste)!=null?De:!1,this.pageSize=(Ws=e==null?void 0:e.pageSize)!=null?Ws:10,this.pageSizeOptions=(Ks=e==null?void 0:e.pageSizeOptions)!=null?Ks:[10,20,50,100],this.importConfig=new fo(e==null?void 0:e.importConfig),this.exportConfig=new ho(e==null?void 0:e.exportConfig)}};let On=_s;On.Rules=$C,On.RuntimeRules=LC;class Mn extends ma{constructor(e){var n,i;super(e),this.props=new On(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}}Mn.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Mn.slotPosition={toolbar:"subtable-toolbar-slot"},Mn.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 NC extends Gl{constructor(e){super(e),this.props=new On(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Ut("Method not implemented.")}getChildrenFormControl(){return[]}}var Cs={Designer:Mn,Runtime:NC,Property:On};class hr extends ri{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 VC extends we{constructor(e){super(e),this.caption.required=!1}}class lu 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"}}lu.Rules=VC;class Ze extends p{constructor(e){super(e),this.props=new lu(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 yr extends ee{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}yr.controlType="order-column",yr.controlFieldType=b.DECIMAL;var ws={Designer:Ze,Runtime:yr,Property:lu};class mr 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 p{constructor(e){super(e),this.props=new mr(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===Oi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return Nn(Pe({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Nr(this,null,function*(){return yield Lr(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 vr extends ee{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props),be(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}vr.controlType="operation-column",vr.controlFieldType=b.FILE;var Es={Designer:Te,Runtime:vr,Property:mr};const HC=1e4;class Ye extends ma{constructor(e){var u;super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new hr(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 Nn(Pe({},e),{children:n})}validate(e,n){return Nr(this,null,function*(){return yield Lr(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=HC;class jC extends Gl{constructor(e){super(e),this.props=new hr(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Ut("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Is={Designer:Ye,Runtime:jC,Property:hr},qC=Object.freeze({__proto__:null,SubTable:Cs,GridTable:Is});class UC extends Ql{constructor(e){super(e),Ve.call(this,e)}}class ou 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 te(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}}ou.Rules=UC;class pe extends p{constructor(e){super(e),this.props=new ou(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 gr extends ee{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}gr.controlType="varchar-column",gr.controlFieldType=b.VARCHAR;var Ss={Designer:pe,Runtime:gr,Property:ou};class WC extends we{constructor(e){super(e),Ve.call(this,e)}}class cu 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)}}cu.Rules=WC;class et extends p{constructor(e){super(e),this.props=new cu(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 br extends ee{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}br.controlType="text-column",br.controlFieldType=b.TEXT;var As={Designer:et,Runtime:br,Property:cu};class KC extends we{constructor(e){super(e),Ve.call(this,e)}}class su 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 te(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)}}su.Rules=KC;class tt extends p{constructor(e){super(e),this.props=new su(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 _r extends ee{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}_r.controlType="decimal-column",_r.controlFieldType=b.DECIMAL;var Ts={Designer:tt,Runtime:_r,Property:su};class zC extends we{constructor(e){super(e),Ve.call(this,e)}}class du 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}}du.Rules=zC;class nt extends p{constructor(e){super(e),this.props=new du(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 Cr extends ee{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}Cr.controlType="timescope-column",Cr.controlFieldType=b.TIMESCOPE;var Bs={Designer:nt,Runtime:Cr,Property:du};class GC extends we{constructor(e){super(e),Ve.call(this,e)}}class fu 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}}fu.Rules=GC;class it extends p{constructor(e){super(e),this.props=new fu(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 wr extends ee{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}wr.controlType="timestamp-column",wr.controlFieldType=b.TIMESTAMP;var Rs={Designer:it,Runtime:wr,Property:fu};class QC extends Ql{constructor(e){super(e),Ve.call(this,e)}}class hu 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 te(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:[{}])}}hu.Rules=QC;class ut extends p{constructor(e){super(e),this.props=new hu(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 Er extends ee{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}Er.controlType="array-column",Er.controlFieldType=b.ARRAY;var Ds={Designer:ut,Runtime:Er,Property:hu};class Ir 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 p{constructor(e){super(e),this.props=new Ir(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 Sr extends ee{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}}Sr.controlType="department-column",Sr.controlFieldType=b.DEPARTMENTS;var Ps={Designer:at,Runtime:Sr,Property:Ir};class XC extends we{constructor(e){super(e),Ve.call(this,e)}}class yu 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)}}yu.Rules=XC;class rt extends p{constructor(e){super(e),this.props=new yu(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 Ar extends ee{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}}Ar.controlType="auto-number-column",Ar.controlFieldType=b.AUTO_NUMBER;var xs={Designer:rt,Runtime:Ar,Property:yu};class Tr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:lt.controlName}}class lt extends p{constructor(e){super(e),this.props=new Tr(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 Br extends ee{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}}Br.controlType="file-column",Br.controlFieldType=b.FILE;var Fs={Designer:lt,Runtime:Br,Property:Tr};class Rr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ot.controlName}}class ot extends p{constructor(e){super(e),this.props=new Rr(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 Dr extends ee{constructor(e){super(e),this.props=new Rr(e==null?void 0:e.props)}}Dr.controlType="image-column",Dr.controlFieldType=b.IMAGE;var ks={Designer:ot,Runtime:Dr,Property:Rr};class Pr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ct.controlName}}class ct extends p{constructor(e){super(e),this.props=new Pr(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 xr extends ee{constructor(e){super(e),this.props=new Pr(e==null?void 0:e.props)}}xr.controlType="people-column",xr.controlFieldType=b.EMPLOYEES;var Os={Designer:ct,Runtime:xr,Property:Pr};class JC extends we{constructor(e){super(e),Ve.call(this,e)}}class mu 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)}}mu.Rules=JC;class st extends p{constructor(e){super(e),this.props=new mu(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 Fr extends ee{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}}Fr.controlType="location-column",Fr.controlFieldType=b.ADDRESS;var Ms={Designer:st,Runtime:Fr,Property:mu};class ZC extends we{constructor(e){super(e),this.sortFieldCode={type:"string",message:f.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class vu 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:""}}vu.Rules=ZC;const YC=1;class Be extends p{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new vu(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 Nn(Pe({},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=YC,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 $s extends ee{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props),be(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}$s.controlType="custom-column";var Ls={Designer:Be,Runtime:$s,Property:vu};class kr 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 Wn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Ue.controlCustomAttributes})}}class Ue extends p{constructor(e){super(e),this.props=new kr(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 Or extends ee{constructor(e){super(e),this.props=new kr(e==null?void 0:e.props)}}Or.controlType="employee-column",Or.controlFieldType=b.EMPLOYEES;var Ns={Designer:Ue,Runtime:Or,Property:kr};class Mr 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 p{constructor(e){super(e),this.props=new Mr(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 Vs extends ee{constructor(e){super(e),this.props=new Mr(e==null?void 0:e.props)}}Vs.controlType="approval-status-column";var Hs={Designer:dt,Runtime:Vs,Property:Mr},pC=Object.freeze({__proto__:null,VarcharColumn:Ss,TextColumn:As,DecimalColumn:Ts,TimescopeColumn:Bs,TimestampColumn:Rs,ArrayColumn:Ds,DepartmentColumn:Ps,AutoNumberColumn:xs,FileColumn:Fs,ImageColumn:ks,PeopleColumn:Os,LocationColumn:Ms,CustomColumn:Ls,OrderColumn:ws,OperationColumn:Es,EmployeeColumn:Ns,ApprovalStatusColumn:Hs});class ew extends We{constructor(e){super(e),this.push({type:"object",fields:{}})}}class gu extends Ba{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}}gu.RuntimeRules=ew;class bu extends Y0{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}}bu.controlType="simple-search",bu.slotPosition={default:"search"},bu.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 js extends ab{constructor(e){var n;super(e),this.props=new gu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}js.controlType="simple-search";var qs={Designer:bu,Runtime:js,Property:gu},tw=Object.freeze({__proto__:null,SimpleSearch:qs});class $r extends ka{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class nw extends _b{constructor(e){super(e),this.props=new $r(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 iw extends Tb{constructor(e){super(e),this.props=new $r(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function hw(t){return t}var uw={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Us={Designer:nw,Runtime:iw,Property:$r,Setting:uw},aw=Object.freeze({__proto__:null,GridLayoutWrap:Us});y.ActionBar=bs,y.Address=gc,y.AdvancedContainer=ms,y.Amount=hc,y.ApprovalStatusColumn=Hs,y.ArrayColumn=Ds,y.AssignType=je,y.Attachment=cc,y.AutoNumber=wc,y.AutoNumberColumn=xs,y.BatchDeleteButton=Ho,y.BatchPrintListButton=Lo,y.BatchPrintRecordListButton=No,y.BatchSubmissionListButton=Eo,y.Button=ao,y.Calc=Ic,y.CardGroup=pc,y.Checkbox=Wo,y.Col=Xc,y.CreateFormListButton=wo,y.CustomColumn=Ls,y.DATE_CONFIG_TYPE=ro,y.DATE_LIMIT_TYPE=lo,y.Dashboard=Fo,y.DataView=hs,y.DatePicker=Jo,y.DateRange=Yo,y.DecimalColumn=Ts,y.Department=_c,y.Department2=Wc,y.DepartmentColumn=Ps,y.DepartmentType=wi,y.Divider=_o,y.ElectronicSignature=Hc,y.ElectronicSignatureConfig=oo,y.Employee=oc,y.Employee2=Nc,y.EmployeeColumn=Ns,y.EncryptTypeEnum=go,y.Explain=Ci,y.ExportConfig=ho,y.ExportListButton=So,y.ExportRecordListButton=Ao,y.ExportTemplate=Jt,y.FileColumn=Fs,y.FlexStyleConfig=vo,y.FormSelectButton=Bo,y.Grid=Qc,y.GridLayoutContainer=as,y.GridLayoutWrap=Us,y.GridRow=Yc,y.GridTable=Is,y.GridTableColumn=us,y.Image=dc,y.ImageColumn=ks,y.ImportConfig=fo,y.ImportListBind=so,y.ImportRecordListButton=To,y.Input=qo,y.InternalType=za,y.InvoiceCheckButton=$o,y.LINE_STYLE=qa,y.LimitDate=_i,y.Link=uo,y.ListSelectButton=Ro,y.ListView=ds,y.ListViewSelect=Oo,y.LocationColumn=Ms,y.Number=Qo,y.OperationButton=Vo,y.OperationColumn=Es,y.OrderColumn=ws,y.OrganizationSelection=zc,y.OrganizeType=Ka,y.Page=ys,y.Pagination=Po,y.PeopleColumn=Os,y.Position=gs,y.PositioningContainer=vs,y.PrintTemplate=mo,y.Radio=zo,y.RichText=nc,y.Row=Zc,y.SCORE_TYPE=ja,y.SUBTABLE_DEFAULT_MAX_HEIGHT=yo,y.Score=mc,y.SearchDateRange=Bc,y.SearchInput=Oc,y.SearchNumberRange=Ac,y.Select=uc,y.SelectMultiple=rc,y.SelectRelation=xc,y.SimpleSearch=qs,y.SubTable=Cs,y.SubTableColumn=ts,y.SubTableRow=ns,y.SubmissionRecordListButton=Io,y.Tab=ls,y.TabPane=rs,y.Text=io,y.TextColumn=As,y.TextOcrButton=Mo,y.Textarea=ec,y.TimescopeColumn=Bs,y.TimestampColumn=Rs,y.Title=Co,y.TitleConfigEnum=He,y.Toolbox=ss,y.Tree=$c,y.UndersignedPerson=Ua,y.VarcharColumn=Ss,y.VueFormItem=Dc,y.WPS=qc,y.WPSSetting=co,y.WpsOperationItem=Wa,y.baseControls=o_,y.columnControls=pC,y.formControls=nC,y.initExpression=Zt,y.layoutControls=MC,y.listControls=qC,y.searchControls=tw,y.wrapControls=aw,Object.defineProperty(y,"__esModule",{value:!0})});