@byteluck-fe/model-driven-controls 2.7.0-alpha.13 → 2.7.0-alpha.15

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 XC=Object.defineProperty,QC=Object.defineProperties;var JC=Object.getOwnPropertyDescriptors;var ks=Object.getOwnPropertySymbols,ZC=Object.getPrototypeOf,YC=Object.prototype.hasOwnProperty,pC=Object.prototype.propertyIsEnumerable,eE=Reflect.get;var Ms=(y,j,K)=>j in y?XC(y,j,{enumerable:!0,configurable:!0,writable:!0,value:K}):y[j]=K,Te=(y,j)=>{for(var K in j||(j={}))YC.call(j,K)&&Ms(y,K,j[K]);if(ks)for(var K of ks(j))pC.call(j,K)&&Ms(y,K,j[K]);return y},xn=(y,j)=>QC(y,JC(j));var Fr=(y,j,K)=>eE(ZC(y),K,j);var kr=(y,j,K)=>new Promise((yu,On)=>{var mu=ge=>{try{Tt(K.next(ge))}catch(At){On(At)}},vu=ge=>{try{Tt(K.throw(ge))}catch(At){On(At)}},Tt=ge=>ge.done?yu(ge.value):Promise.resolve(ge.value).then(mu,vu);Tt((K=K.apply(y,j)).next())});(function(y,j){typeof exports=="object"&&typeof module!="undefined"?j(exports):typeof define=="function"&&define.amd?define(["exports"],j):(y=typeof globalThis!="undefined"?globalThis:y||self,j(y.modelDrivenControls={}))})(this,function(y){"use strict";var j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",yu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",On="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",mu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",vu="{caption}\u5FC5\u586B",Tt="\u8BF7\u8F93\u5165\u6807\u9898",ge="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",At="\u8BF7\u8F93\u5165\u884C\u6807\u9898",$s="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Ns="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Ls="\u8BF7\u7ED1\u5B9A\u8868\u5355",Vs="\u8BF7\u7ED1\u5B9A\u5217\u8868",Hs="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",js="\u8BF7\u8F93\u5165\u663E\u793A\u503C",qs="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Us="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Ws="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Ks="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",zs="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Gs="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Xs="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Qs="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Js="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Zs="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Ys="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",ps="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ed="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",td="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",nd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",id="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",ud="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",ad="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",rd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",ld="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",od="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",cd="\u8BF7\u7ED1\u5B9A\u670D\u52A1",sd="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",dd="\u8BF7\u9009\u62E9\u7701",fd="\u8BF7\u9009\u62E9\u5E02",hd="\u8BF7\u9009\u62E9\u533A",yd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",md="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",vd="\u8BF7\u8F93\u5165\u5217\u5BBD",gd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",bd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",_d="\u8BF7\u9009\u62E9\u63A7\u4EF6",Cd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Ed="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",wd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Id="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Sd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Td="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Ad="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Rd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Bd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Pd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Dd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",xd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Od="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Fd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",kd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Md="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",$d="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Nd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ld="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Vd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Hd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",jd="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",qd="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Ud="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Wd="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Kd="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",zd={isNotNumber:j,isNotString:K,isNotObject:yu,isNotArray:On,isNotBoolean:mu,runtimeRequired:vu,pleaseEnterCaption:Tt,pleaseEnterCaptionTip:ge,pleaseEnterRowCaption:At,pleaseEnterPlaceholder:$s,pleaseEnterFieldCode:Ns,pleaseEnterForm:Ls,pleaseEnterList:Vs,pleaseEnterProcess:Hs,pleaseEnterLabel:js,pleaseEnterValue:qs,bizKeyNotBindFiled:Us,pleaseSelectOneField:Ws,pleaseEnterNumberRange:Ks,pleaseEnterAValueGreaterThanMin:zs,pleaseEnterAValueLessThanMax:Gs,numberRangeSetError:Xs,stringRangeError:Qs,attachmentMaxSize:Js,pleaseEnterTotalScoreSetting:Zs,theTotalScoreMustNotBeLessThan1:Ys,scoreDefaultValueRange:ps,attachmentLimitError:ed,PleaseReselectTheOptionalQuantity:td,TheMaximumLengthIsGreaterThanTheMinimumLength:nd,TheMinimumLengthIsGreaterThanTheMaximumLength:id,PleaseSelectTheCorrectOptionSettings:ud,optionIdIsRepeat:ad,optionIsRequired:rd,pleaseEnterDataCode:ld,pleaseEnterValueFieldCode:od,pleaseEnterSvcCode:cd,pleaseBindAtLeastOneDisplayValue:sd,pleaseSelectProvince:dd,pleaseSelectCity:fd,pleaseSelectDistrict:hd,limitRowsCannotBeLessThan0:yd,TheNumberOfRowsCannotBeLessThanMinRows:md,pleaseEnterColumnWidth:vd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:gd,pleaseCompleteAllRulesAndConditions:bd,pleaseSelectControl:_d,pleaseSelectAtLeastOneColumn:Cd,pleaseSelectFillBackMode:Ed,pleaseSelectDashboard:wd,rootNodeIsRequired:Id,theViewNameCannotBeEmpty:Sd,pleaseSelectOcrType:Td,pleaseSelectAtLeastOneFieldToFillIn:Ad,pleaseChooseAtLeastOne:Rd,pleaseEnterButtonContent:Bd,pleaseEnterDataCodeInDataSetting:Pd,pleaseEnterValueFieldCodeInDataSetting:Dd,pleaseEnterSvcCodeInDataSetting:xd,pleaseBindAtLeastOneDisplayValueInDataSetting:Od,rootNodeIsRequiredInDataSetting:Fd,pleaseEnterMaxHeight:kd,pleaseEnter:Md,pleaseEnterWatermark:$d,pleaseEnterFileName:Nd,pleaseUploadAtLeastOnePrintTemplate:Ld,pleaseAssignBusiness:Vd,pleaseAssignExternal:Hd,pleaseEnterAliasCode:jd,pleaseSelectDataCode:qd,pleaseSelectSvcCode:Ud,pleaseSelectJoinFieldCode:Wd,pleaseSelectMainFieldCode:Kd},Gd="Please enter a number",Xd="Please enter a string",Qd="Please enter an object",Jd="Please enter an array",Zd="Please enter a boolean",Yd="{caption} Required",pd="Please enter the title",ef="Please enter the bubble prompt",tf="Please enter the row title",nf="Please enter the prompt text",uf="Please bind data items",af="Please bind the form",rf="Please bind the list",lf="Please bind the process",of="Please enter the displayed value",cf="Please enter the stored value",sf="The document number is not bound to the data item",df="Please select at least one display field",ff="Please enter a value greater than or equal to {min} and less than or equal to {max}",hf="Please enter a value greater than or equal to {min}",yf="Please enter a value less than or equal to {max}",mf="The value range is set incorrectly",vf="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",gf="The attachment size must be between 0MB and 1000MB",bf="Please fill in the total score setting",_f="The total score cannot be less than 1",Cf="The default value must be between {min} and {max}",Ef="The number of attachments uploaded must be between {min} and {max}",wf="Please re-select the optional quantity",If="The maximum length of the control must be greater than the minimum length",Sf="The minimum length of the control must be less than the maximum length",Tf="Please select the correct option setting",Af="Option ID cannot be repeated",Rf="Please enter at least one option",Bf="Please bind the data source",Pf="Please bind the stored value",Df="Please bind the service",xf="At least one display value must be bound",Of="Please select a province",Ff="Please select a city",kf="Please select a district",Mf="The minimum number of lines to fill in cannot be less than 0",$f="The number of rows cannot be less than {min} rows",Nf="Please enter the column width",Lf="Please set the logical relationship of all rule conditions",Vf="Please complete all rules and conditions",Hf="please select control",jf="Please select the dashboard",qf="View name cannot be empty",Uf="Please select recognition type",Wf="Please select at least one field to fill in",Kf="Please select at least one",zf="Please enter the button title",Gf="Please bind the business model in the data settings",Xf="Please bind storage values in data settings",Qf="Please bind the service in the data settings",Jf="Please bind at least one display value in the data settings",Zf="Please select the root node in the data settings",Yf="Please enter the maximum height",pf="The input content cannot be empty",eh="Watermark cannot be empty",th="File name cannot be empty",nh="Please upload at least one printing template!\uFF01",ih="Please select a specific business department",uh="Please select a specified external organization",ah="Please enter a sub table alias",rh="Please select the associated table to set the business model",lh="Please select the association table to set the binding service",oh="Select associated sub table fields",ch="Please select the associated main table field",sh={isNotNumber:Gd,isNotString:Xd,isNotObject:Qd,isNotArray:Jd,isNotBoolean:Zd,runtimeRequired:Yd,pleaseEnterCaption:pd,pleaseEnterCaptionTip:ef,pleaseEnterRowCaption:tf,pleaseEnterPlaceholder:nf,pleaseEnterFieldCode:uf,pleaseEnterForm:af,pleaseEnterList:rf,pleaseEnterProcess:lf,pleaseEnterLabel:of,pleaseEnterValue:cf,bizKeyNotBindFiled:sf,pleaseSelectOneField:df,pleaseEnterNumberRange:ff,pleaseEnterAValueGreaterThanMin:hf,pleaseEnterAValueLessThanMax:yf,numberRangeSetError:mf,stringRangeError:vf,attachmentMaxSize:gf,pleaseEnterTotalScoreSetting:bf,theTotalScoreMustNotBeLessThan1:_f,scoreDefaultValueRange:Cf,attachmentLimitError:Ef,PleaseReselectTheOptionalQuantity:wf,TheMaximumLengthIsGreaterThanTheMinimumLength:If,TheMinimumLengthIsGreaterThanTheMaximumLength:Sf,PleaseSelectTheCorrectOptionSettings:Tf,optionIdIsRepeat:Af,optionIsRequired:Rf,pleaseEnterDataCode:Bf,pleaseEnterValueFieldCode:Pf,pleaseEnterSvcCode:Df,pleaseBindAtLeastOneDisplayValue:xf,pleaseSelectProvince:Of,pleaseSelectCity:Ff,pleaseSelectDistrict:kf,limitRowsCannotBeLessThan0:Mf,TheNumberOfRowsCannotBeLessThanMinRows:$f,pleaseEnterColumnWidth:Nf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Lf,pleaseCompleteAllRulesAndConditions:Vf,pleaseSelectControl:Hf,pleaseSelectDashboard:jf,theViewNameCannotBeEmpty:qf,pleaseSelectOcrType:Uf,pleaseSelectAtLeastOneFieldToFillIn:Wf,pleaseChooseAtLeastOne:Kf,pleaseEnterButtonContent:zf,pleaseEnterDataCodeInDataSetting:Gf,pleaseEnterValueFieldCodeInDataSetting:Xf,pleaseEnterSvcCodeInDataSetting:Qf,pleaseBindAtLeastOneDisplayValueInDataSetting:Jf,rootNodeIsRequiredInDataSetting:Zf,pleaseEnterMaxHeight:Yf,pleaseEnter:pf,pleaseEnterWatermark:eh,pleaseEnterFileName:th,pleaseUploadAtLeastOnePrintTemplate:nh,pleaseAssignBusiness:ih,pleaseAssignExternal:uh,pleaseEnterAliasCode:ah,pleaseSelectDataCode:rh,pleaseSelectSvcCode:lh,pleaseSelectJoinFieldCode:oh,pleaseSelectMainFieldCode:ch},dh="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fh="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hh="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yh="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mh="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",vh="{caption}\u5FC5\u9808",gh="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bh="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_h="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ch="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Eh="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",wh="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ih="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Sh="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Th="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ah="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rh="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Bh="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ph="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Dh="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xh="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Oh="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Fh="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",kh="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Mh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",$h="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Nh="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Lh="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Vh="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Hh="\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",jh="\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",qh="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Uh="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Wh="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Kh="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",zh="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Gh="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xh="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Qh="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Jh="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Zh="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Yh="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ph="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ey="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ty="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ny="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",iy="please select control",uy="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ay="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",ry="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ly="\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",oy="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",cy="\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",dy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",fy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",hy="\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",yy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",my="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vy="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",gy="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",by="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",_y="\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",Cy="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ey="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wy="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Iy="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Sy="\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",Ty="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Ay="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ry={isNotNumber:dh,isNotString:fh,isNotObject:hh,isNotArray:yh,isNotBoolean:mh,runtimeRequired:vh,pleaseEnterCaption:gh,pleaseEnterCaptionTip:bh,pleaseEnterRowCaption:_h,pleaseEnterPlaceholder:Ch,pleaseEnterFieldCode:Eh,pleaseEnterForm:wh,pleaseEnterList:Ih,pleaseEnterProcess:Sh,pleaseEnterLabel:Th,pleaseEnterValue:Ah,bizKeyNotBindFiled:Rh,pleaseSelectOneField:Bh,pleaseEnterNumberRange:Ph,pleaseEnterAValueGreaterThanMin:Dh,pleaseEnterAValueLessThanMax:xh,numberRangeSetError:Oh,stringRangeError:Fh,attachmentMaxSize:kh,pleaseEnterTotalScoreSetting:Mh,theTotalScoreMustNotBeLessThan1:$h,scoreDefaultValueRange:Nh,attachmentLimitError:Lh,PleaseReselectTheOptionalQuantity:Vh,TheMaximumLengthIsGreaterThanTheMinimumLength:Hh,TheMinimumLengthIsGreaterThanTheMaximumLength:jh,PleaseSelectTheCorrectOptionSettings:qh,optionIdIsRepeat:Uh,optionIsRequired:Wh,pleaseEnterDataCode:Kh,pleaseEnterValueFieldCode:zh,pleaseEnterSvcCode:Gh,pleaseBindAtLeastOneDisplayValue:Xh,pleaseSelectProvince:Qh,pleaseSelectCity:Jh,pleaseSelectDistrict:Zh,limitRowsCannotBeLessThan0:Yh,TheNumberOfRowsCannotBeLessThanMinRows:ph,pleaseEnterColumnWidth:ey,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ty,pleaseCompleteAllRulesAndConditions:ny,pleaseSelectControl:iy,pleaseSelectDashboard:uy,theViewNameCannotBeEmpty:ay,pleaseSelectOcrType:ry,pleaseSelectAtLeastOneFieldToFillIn:ly,pleaseChooseAtLeastOne:oy,pleaseEnterButtonContent:cy,pleaseEnterDataCodeInDataSetting:sy,pleaseEnterValueFieldCodeInDataSetting:dy,pleaseEnterSvcCodeInDataSetting:fy,pleaseBindAtLeastOneDisplayValueInDataSetting:hy,rootNodeIsRequiredInDataSetting:yy,pleaseEnterMaxHeight:my,pleaseEnter:vy,pleaseEnterWatermark:gy,pleaseEnterFileName:by,pleaseUploadAtLeastOnePrintTemplate:_y,pleaseAssignBusiness:Cy,pleaseAssignExternal:Ey,pleaseEnterAliasCode:wy,pleaseSelectDataCode:Iy,pleaseSelectSvcCode:Sy,pleaseSelectJoinFieldCode:Ty,pleaseSelectMainFieldCode:Ay},By={zhCN:zd,enUS:sh,jaJP:Ry},Mr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Mr||(Mr={}));var $r;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})($r||($r={}));var Py="zh-CN";function re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ct;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(ct||(ct={}));var E;(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.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"})(E||(E={}));var g;(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"})(g||(g={}));var ne;ne={},re(ne,g.ARRAY,E.ARRAY_COLUMN),re(ne,g.AUTO_NUMBER,E.AUTO_NUMBER_COLUMN),re(ne,g.DECIMAL,E.DECIMAL_COLUMN),re(ne,g.DEPARTMENTS,E.DEPARTMENT_COLUMN),re(ne,g.FILE,E.FILE_COLUMN),re(ne,g.IMAGE,E.IMAGE_COLUMN),re(ne,g.ADDRESS,E.LOCATION_COLUMN),re(ne,g.EMPLOYEES,E.EMPLOYEE_COLUMN),re(ne,g.TEXT,E.TEXT_COLUMN),re(ne,g.TIMESCOPE,E.TIMESCOPE_COLUMN),re(ne,g.TIMESTAMP,E.TIMESTAMP_COLUMN),re(ne,g.VARCHAR,E.VARCHAR_COLUMN),re(ne,g.RELATION,E.VARCHAR_COLUMN);var Ae;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Ae||(Ae={}));var Nr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Dy=Nr+"0123456789";function be(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Nr:Dy,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function gu(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 xy(t){if(Array.isArray(t))return gu(t)}function Oy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fy(){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 Fn(t,e,n){return Fy()?Fn=Reflect.construct:Fn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Bt(o,r.prototype),o},Fn.apply(null,arguments)}function Rt(t){return Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rt(t)}function Vr(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&&Bt(t,e)}function ky(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function My(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function $y(){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 Ny(t,e){return e&&(Ly(e)==="object"||typeof e=="function")?e:Oy(t)}function Bt(t,e){return Bt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Bt(t,e)}function Hr(t){return xy(t)||My(t)||Vy(t)||$y()}var Ly=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Vy(t,e){if(!!t){if(typeof t=="string")return gu(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 gu(t,e)}}function bu(t){var e=typeof Map=="function"?new Map:void 0;return bu=function(i){if(i===null||!ky(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 Fn(i,arguments,Rt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Bt(u,i)},bu(t)}function Hy(){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 jr(t){var e=Hy();return function(){var i=Rt(t),u;if(e){var a=Rt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ny(this,u)}}var _u=console;function Cu(){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=_u).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Hr(u)))}function qr(){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=_u).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Hr(u)))}function jy(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Eu=function(t){Vr(n,t);var e=jr(n);function n(i){Lr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?jy(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(bu(Error)),qy=function(t){Vr(n,t);var e=jr(n);function n(i){Lr(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Eu);function Pt(t){throw new Eu(t)}function Ur(t){throw new qy(t)}function Uy(t){_u.error(new Eu(t))}var Wy=Object.prototype.toString;function Wr(t,e){return Wy.call(t)==="[object "+e+"]"}function Ky(t){return Wr(t,"String")}function zy(t){return Wr(t,"Promise")}var Gy=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();zy(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,a,r,l){if(u!==void 0){var s=u[a];if(!(r===l.length-1&&!Ky(s)))return s}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var a=n[u];return a!==void 0?String(a):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function Xy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kr(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 Qy(t,e,n){return e&&Kr(t.prototype,e),n&&Kr(t,n),t}function Jy(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(){Xy(this,t)}return Qy(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]:Py;return new Gy({locale:n,messages:By})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();Jy(f,"$i18n",f.resetI18n());function Zy(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,s){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){Cu("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===s.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var Yy=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},py={exports:{}};(function(t){(function(e){var n=function(m,w,R){if(!o(w)||v(w)||b(w)||C(w)||s(w))return w;var D,O=0,ce=0;if(d(w))for(D=[],ce=w.length;O<ce;O++)D.push(n(m,w[O],R));else{D={};for(var F in w)Object.prototype.hasOwnProperty.call(w,F)&&(D[m(F,R)]=n(m,w[F],R))}return D},i=function(m,w){w=w||{};var R=w.separator||"_",D=w.split||/(?=[A-Z])/;return m.split(D).join(R)},u=function(m){return I(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(w,R){return R?R.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,s=function(m){return typeof m=="function"},o=function(m){return m===Object(m)},d=function(m){return l.call(m)=="[object Array]"},v=function(m){return l.call(m)=="[object Date]"},b=function(m){return l.call(m)=="[object RegExp]"},C=function(m){return l.call(m)=="[object Boolean]"},I=function(m){return m=m-0,m===m},_=function(m,w){var R=w&&"process"in w?w.process:w;return typeof R!="function"?m:function(D,O){return R(D,m,O)}},S={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=S:e.humps=S})(Yy)})(py);var zr={};Object.defineProperty(zr,"__esModule",{value:!0});function wu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:wu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:wu(i)}return e}}var em=zr.default=wu;function Re(t){if(t!==void 0)return typeof t=="object"?em(t):t}function tm(t){return Object.prototype.toString.call(t)==="[object Object]"}function Iu(t){return Array.isArray(t)}function nm(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Su(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 im(t){if(Array.isArray(t))return Su(t)}function Gr(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function um(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){Gr(a,i,u,r,l,"next",s)}function l(s){Gr(a,i,u,r,l,"throw",s)}r(void 0)})}}function am(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xr(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 rm(t,e,n){return e&&Xr(t.prototype,e),n&&Xr(t,n),t}function Qr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function om(){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 Tu(t){return im(t)||lm(t)||cm(t)||om()}function cm(t,e){if(!!t){if(typeof t=="string")return Su(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 Su(t,e)}}var sm=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},dm=function(){function t(){am(this,t),Qr(this,"_events",new Map),Qr(this,"debug",!1)}return rm(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 um(function(){var l,s,o,d,v,b,C,I,_,S,m,w;return sm(this,function(R){switch(R.label){case 0:if(l=r._events.get(n),s=[],!l)return[3,10];o=l.slice(),d=!0,v=!1,b=void 0,R.label=1;case 1:R.trys.push([1,8,9,10]),C=o[Symbol.iterator](),R.label=2;case 2:if(d=(I=C.next()).done)return[3,7];if(_=I.value,!l.includes(_))return[3,6];R.label=3;case 3:return R.trys.push([3,5,,6]),r.debug&&qr.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(Tu(u))),[4,_.apply(null,Tu(u))];case 4:return S=R.sent(),r.debug&&qr.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(Tu(u),[S])),s.push(S),S===!1?[3,7]:[3,6];case 5:return m=R.sent(),Uy(String(m)+":"+String(m.stack)),[3,6];case 6:return d=!0,[3,2];case 7:return[3,10];case 8:return w=R.sent(),v=!0,b=w,[3,10];case 9:try{!d&&C.return!=null&&C.return()}finally{if(v)throw b}return[7];case 10:return[2,s]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function fm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function hm(t,e,n){return e&&Jr(t.prototype,e),n&&Jr(t,n),t}function ym(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var mm=[{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"}],vm=function(){function t(){fm(this,t)}return hm(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}();ym(vm,"events",mm);function gm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zr(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 bm(t,e,n){return e&&Zr(t.prototype,e),n&&Zr(t,n),t}function Ve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Yr=[],Au=function(){function t(e){gm(this,t),Ve(this,"registeredControlTypes",new Set),Ve(this,"controlConfigMap",new Map),Ve(this,"_controls",[]),Ve(this,"_type",void 0),this._type=e,this._initControls(e)}return bm(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__||Pt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Cu("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===ct.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===ct.FORM}},{key:"isListControl",value:function(n){return n.controlType===ct.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===ct.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(d){return u.createControl(d,i)});if(n.children&&(n.children=n.children.map(function(d){return u.createControl(d,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(d){return u.createControl(d,i)})),a.footers&&(a.footers=a.footers.map(function(d){var v;return d&&(v=u.createControl(d,i)),v}))}var r=this.getControlFormType(n.type);if(r){var l=n;if(typeof i=="function"){var s=i(l);s&&(l=s)}var o=new r(l);return o}else Pt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{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])})}}],[{key:"register",value:function(n){var i=n.Designer,u=n.Runtime;(!i||!u||!i.__is_control__||!u.__is_control__)&&Pt("".concat(n," is can't register as a Control"));var a=this.staticControls.findIndex(function(r){return r.Designer.controlType===i.controlType});return a>-1&&(Cu("The ".concat(i.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(i.controlType),this.staticControls.push(n),this}}]),t}();Ve(Au,"staticControls",Yr),Ve(Au,"staticRegisteredTypes",new Set(Yr.map(function(t){return t.Designer.controlType}))),Ve(Au,"staticRegisteredConfigs",new Map);function M(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function T(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 kn(t){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kn(t)}function fe(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&&Ru(t,e)}function _m(t,e){return e&&(Cm(e)==="object"||typeof e=="function")?e:M(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ru(t,e)}var Cm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Em(){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 he(t){var e=Em();return function(){var i=kn(t),u;if(e){var a=kn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return _m(this,u)}}var me=function t(e){T(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},pr=function t(e){T(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},Bu=function(t){fe(n,t);var e=he(n);function n(i){T(this,n);var u;u=e.call(this,i),h(M(u),"width",void 0),h(M(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}(pr),wm=function t(e){T(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new Bu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Bu(e==null?void 0:e.mobile):new Bu({width:130,minWidth:180})},Im=function t(e){T(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:[]},st=function t(e){T(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:""},Sm=function(t){fe(n,t);var e=he(n);function n(i){T(this,n);var u;u=e.call(this,i),h(M(u),"primaryControlId",void 0);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(st),el=function t(e){T(this,t),h(this,"fieldCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Pu=function t(e){T(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 el(r)}))!==null&&a!==void 0?a:[]},Tm=function t(e){T(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:g.VARCHAR},Am=function(t){fe(n,t);var e=he(n);function n(i){T(this,n);var u;u=e.call(this,i),h(M(u),"title",void 0),h(M(u),"svcCode",void 0),h(M(u),"isOpenFilter",void 0),h(M(u),"filters",void 0);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var s;return u.filters=(s=i==null?void 0:i.filters)!==null&&s!==void 0?s:[],u}return n}(st),Rm=function t(e){T(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 st(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 Tm(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 Am(r)}))!==null&&a!==void 0?a:[]},Bm=function t(e){T(this,t),h(this,"type",void 0),h(this,"value",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},Dt=function t(e){T(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:[]},tl=function t(e){var n=this;T(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:be();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var s,o=new t(l);(s=n.children)===null||s===void 0||s.push(o)}else{var d,v=new Du(l);(d=n.children)===null||d===void 0||d.push(v)}}))},Du=function t(e){T(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:be();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 Bm(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Dt(e==null?void 0:e.rightVariableBo)},Pm=function t(e){T(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 p(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},ae=function t(e){T(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:""},xu=function t(e){T(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},Dm=function t(e){T(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 Ou(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 tl(l):new Du(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 tl(l):new Du(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 Dm(l)}))!==null&&r!==void 0?r:[]}var p=function t(e){var n=this;T(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 xu(d))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var s;this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",Ou.call(this,e)},Fu=function t(e){T(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:[]},Be=function t(e){T(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,"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;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var o;this.needConfirm=(o=e==null?void 0:e.needConfirm)!==null&&o!==void 0?o:!1;var d;this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal";var v;this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!==null&&v!==void 0?v:!0},nl=function t(e){T(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 xu(r)}))!==null&&a!==void 0?a:[]},Mn=function(t){fe(n,t);var e=he(n);function n(i){T(this,n);var u,a;u=e.call(this,i),h(M(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 nl(l)}))!==null&&r!==void 0?r:[],u}return n}(p),xm=function(t){fe(n,t);var e=he(n);function n(i){T(this,n);var u,a;u=e.call(this,i),h(M(u),"attributes",void 0),h(M(u),"formCode",void 0);var r;u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(s){return new nl(s)}))!==null&&r!==void 0?r:[];var l;return u.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",u}return n}(p),il=function(t){fe(n,t);var e=he(n);function n(i){T(this,n);var u;u=e.call(this,i),h(M(u),"rootNode",void 0),h(M(u),"filterCode",void 0),u.rootNode=new Dt(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}(Mn),ul=function t(e){T(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 ae(r)}))!==null&&a!==void 0?a:[]},al=function(t){fe(n,t);var e=he(n);function n(i){T(this,n);var u;return u=e.call(this,i),h(M(u),"filters",void 0),h(M(u),"viewFilters",void 0),h(M(u),"orders",void 0),Ou.call(M(u),i),u}return n}(ul),rl=function(t){fe(n,t);var e=he(n);function n(i){T(this,n);var u;u=e.call(this,i),h(M(u),"mode",void 0),h(M(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}(ul),ll=function t(e){T(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:""},Om=function t(e){T(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:be(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 _e(t){var e;return(e=t==null?void 0:t.map(function(n){return new Om(n)}))!==null&&e!==void 0?e:[]}var ku=function t(){T(this,t)},Fm=function(t){fe(n,t);var e=he(n);function n(i){T(this,n);var u;return u=e.call(this),h(M(u),"amount",void 0),h(M(u),"currency",void 0),u.amount=new me(i==null?void 0:i.amount),u.currency=new me(i==null?void 0:i.currency),u}return n}(ku),km=function t(e){T(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:$n.CNY},Mm=function(t){fe(n,t);var e=he(n);function n(i){T(this,n);var u;return u=e.call(this),h(M(u),"min",void 0),h(M(u),"max",void 0),u.min=new me(i==null?void 0:i.min),u.max=new me(i==null?void 0:i.max),u}return n}(ku),$m=function t(e){T(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:""},Nm=function t(e){T(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:""},Lm=function(t){fe(n,t);var e=he(n);function n(i){T(this,n);var u;return u=e.call(this),h(M(u),"result",void 0),h(M(u),"unit",void 0),u.result=new me(i==null?void 0:i.result),u.unit=new me(i==null?void 0:i.unit),u}return n}(ku),Vm=function t(e){T(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:""},$n;(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"})($n||($n={}));var c;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste"})(c||(c={}));var Mu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Mu||(Mu={}));var Pe=function t(e){T(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},Hm=function t(e){T(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:be(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 el(r)}))!==null&&a!==void 0?a:[],Ou.call(this,e)},jm=function t(e){T(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"},qm=function t(e){T(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:""};function Um(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wm(){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 Nn(t,e,n){return Wm()?Nn=Reflect.construct:Nn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Ot(o,r.prototype),o},Nn.apply(null,arguments)}function He(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xt(t){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xt(t)}function Km(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&&Ot(t,e)}function zm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Gm(t,e){return e&&(Xm(e)==="object"||typeof e=="function")?e:Um(t)}function Ot(t,e){return Ot=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ot(t,e)}var Xm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Nu(t){var e=typeof Map=="function"?new Map:void 0;return Nu=function(i){if(i===null||!zm(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 Nn(i,arguments,xt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ot(u,i)},Nu(t)}function Qm(){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 Jm(t){var e=Qm();return function(){var i=xt(t),u;if(e){var a=xt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Gm(this,u)}}var z=function t(e){$u(this,t),He(this,"isHide",{type:"boolean"})},je=function(t){Km(n,t);var e=Jm(n);function n(i){return $u(this,n),e.call(this)}return n}(Nu(Array)),X=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";$u(this,t),He(this,"isHide",void 0),He(this,"className",void 0),He(this,"style",void 0),He(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new jm(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};He(X,"Rules",z),He(X,"RuntimeRules",je);function ve(){return ve=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},ve.apply(this,arguments)}function Zm(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Lu(t){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lu(t)}function Ln(t,e){return Ln=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ln(t,e)}function Ym(){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 Vn(t,e,n){return Ym()?Vn=Reflect.construct:Vn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Ln(o,r.prototype),o},Vn.apply(null,arguments)}function pm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Vu(t){var e=typeof Map=="function"?new Map:void 0;return Vu=function(i){if(i===null||!pm(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 Vn(i,arguments,Lu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ln(u,i)},Vu(t)}var ev=/%[sdj%]/g,ol=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(ol=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Hu(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 le(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(ev,function(l){if(l==="%%")return"%";if(i>=a)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return l}});return r}return u}function tv(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function G(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||tv(e)&&typeof t=="string"&&!t)}function nv(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 cl(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 iv(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var sl=function(t){Zm(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}(Vu(Error));function uv(t,e,n,i){if(e.first){var u=new Promise(function(v,b){var C=function(S){return i(S),S.length?b(new sl(S,Hu(S))):v()},I=iv(t);cl(I,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,s=0,o=[],d=new Promise(function(v,b){var C=function(_){if(o.push.apply(o,_),s++,s===l)return i(o),o.length?b(new sl(o,Hu(o))):v()};r.length||(i(o),v()),r.forEach(function(I){var _=t[I];a.indexOf(I)!==-1?cl(_,n,C):nv(_,n,C)})});return d.catch(function(v){return v}),d}function dl(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 fl(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]=ve(ve({},t[n]),i):t[n]=i}}return t}function hl(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||G(e,a||t.type))&&i.push(le(u.messages.required,t.fullField))}function av(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(le(u.messages.whitespace,t.fullField))}var ju={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},Ft={integer:function(e){return Ft.number(e)&&parseInt(e,10)===e},float:function(e){return Ft.number(e)&&!Ft.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"&&!Ft.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(ju.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(ju.url)},hex:function(e){return typeof e=="string"&&!!e.match(ju.hex)}};function rv(t,e,n,i,u){if(t.required&&e===void 0){hl(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?Ft[r](e)||i.push(le(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(le(u.messages.types[r],t.fullField,t.type))}function lv(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,d=null,v=typeof e=="number",b=typeof e=="string",C=Array.isArray(e);if(v?d="number":b?d="string":C&&(d="array"),!d)return!1;C&&(o=e.length),b&&(o=e.replace(s,"_").length),a?o!==t.len&&i.push(le(u.messages[d].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(le(u.messages[d].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(le(u.messages[d].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(le(u.messages[d].range,t.fullField,t.min,t.max))}var dt="enum";function ov(t,e,n,i,u){t[dt]=Array.isArray(t[dt])?t[dt]:[],t[dt].indexOf(e)===-1&&i.push(le(u.messages[dt],t.fullField,t[dt].join(", ")))}function cv(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(le(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(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var A={required:hl,whitespace:av,type:rv,range:lv,enum:ov,pattern:cv};function sv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"string")&&!t.required)return n();A.required(t,e,i,a,u,"string"),G(e,"string")||(A.type(t,e,i,a,u),A.range(t,e,i,a,u),A.pattern(t,e,i,a,u),t.whitespace===!0&&A.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(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.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(e===""&&(e=void 0),G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function hv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function yv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),G(e)||A.type(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(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function vv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function gv(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();A.required(t,e,i,a,u,"array"),e!=null&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function bv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}var _v="enum";function Cv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A[_v](t,e,i,a,u)}n(a)}function Ev(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"string")&&!t.required)return n();A.required(t,e,i,a,u),G(e,"string")||A.pattern(t,e,i,a,u)}n(a)}function wv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"date")&&!t.required)return n();if(A.required(t,e,i,a,u),!G(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),A.type(t,l,i,a,u),l&&A.range(t,l.getTime(),i,a,u)}}n(a)}function Iv(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;A.required(t,e,i,a,u,r),n(a)}function qu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e,a)&&!t.required)return n();A.required(t,e,i,r,u,a),G(e,a)||A.type(t,e,i,r,u)}n(r)}function Sv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u)}n(a)}var kt={string:sv,method:dv,number:fv,boolean:hv,regexp:yv,integer:mv,float:vv,array:gv,object:bv,enum:Cv,pattern:Ev,date:wv,url:qu,hex:qu,email:qu,required:Iv,any:Sv};function Uu(){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 Wu=Uu();function De(t){this.rules=null,this._messages=Wu,this.define(t)}De.prototype={messages:function(e){return e&&(this._messages=fl(Uu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function s(_){var S,m=[],w={};function R(D){if(Array.isArray(D)){var O;m=(O=m).concat.apply(O,D)}else m.push(D)}for(S=0;S<_.length;S++)R(_[S]);m.length?w=Hu(m):(m=null,w=null),l(m,w)}if(r.messages){var o=this.messages();o===Wu&&(o=Uu()),fl(o,r.messages),r.messages=o}else r.messages=this.messages();var d,v,b={},C=r.keys||Object.keys(this.rules);C.forEach(function(_){d=u.rules[_],v=a[_],d.forEach(function(S){var m=S;typeof m.transform=="function"&&(a===e&&(a=ve({},a)),v=a[_]=m.transform(v)),typeof m=="function"?m={validator:m}:m=ve({},m),m.validator=u.getValidationMethod(m),m.field=_,m.fullField=m.fullField||_,m.type=u.getType(m),m.validator&&(b[_]=b[_]||[],b[_].push({rule:m,value:v,source:a,field:_}))})});var I={};return uv(b,r,function(_,S){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 R(ce,F){return ve(ve({},F),{},{fullField:m.fullField+"."+ce})}function D(ce){ce===void 0&&(ce=[]);var F=ce;if(Array.isArray(F)||(F=[F]),!r.suppressWarning&&F.length&&De.warning("async-validator:",F),F.length&&m.message!==void 0&&(F=[].concat(m.message)),F=F.map(dl(m)),r.first&&F.length)return I[m.field]=1,S(F);if(!w)S(F);else{if(m.required&&!_.value)return m.message!==void 0?F=[].concat(m.message).map(dl(m)):r.error&&(F=[r.error(m,le(r.messages.required,m.field))]),S(F);var se={};if(m.defaultField)for(var Pn in _.value)_.value.hasOwnProperty(Pn)&&(se[Pn]=m.defaultField);se=ve(ve({},se),_.rule.fields);for(var Ie in se)if(se.hasOwnProperty(Ie)){var hu=Array.isArray(se[Ie])?se[Ie]:[se[Ie]];se[Ie]=hu.map(R.bind(null,Ie))}var Dn=new De(se);Dn.messages(r.messages),_.rule.options&&(_.rule.options.messages=r.messages,_.rule.options.error=r.error),Dn.validate(_.value,_.rule.options||r,function(St){var Se=[];F&&F.length&&Se.push.apply(Se,F),St&&St.length&&Se.push.apply(Se,St),S(Se.length?Se:null)})}}var O;m.asyncValidator?O=m.asyncValidator(m,_.value,D,_.source,r):m.validator&&(O=m.validator(m,_.value,D,_.source,r),O===!0?D():O===!1?D(m.message||m.field+" fails"):O instanceof Array?D(O):O instanceof Error&&D(O.message)),O&&O.then&&O.then(function(){return D()},function(ce){return D(ce)})},function(_){s(_)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!kt.hasOwnProperty(e.type))throw new Error(le("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"?kt.required:kt[this.getType(e)]||!1}},De.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");kt[e]=n},De.warning=ol,De.messages=Wu,De.validators=kt;var Tv={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 Av(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new De(t);return n.messages(Object.assign(Tv,e)),n}var Rv=new dm;function Ku(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 Bv(t){if(Array.isArray(t))return t}function Pv(t){if(Array.isArray(t))return Ku(t)}function yl(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function ml(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){yl(a,i,u,r,l,"next",s)}function l(s){yl(a,i,u,r,l,"throw",s)}r(void 0)})}}function Dv(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 xv(t,e,n){return e&&vl(t.prototype,e),n&&vl(t,n),t}function k(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gl(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function bl(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ov(){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 Fv(){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 _l(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){k(t,u,n[u])})}return t}function kv(t){return Bv(t)||bl(t)||Cl(t)||Ov()}function Hn(t){return Pv(t)||bl(t)||Cl(t)||Fv()}function Cl(t,e){if(!!t){if(typeof t=="string")return Ku(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 Ku(t,e)}}var El=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},$=function(){function e(n){var i=this;Dv(this,e),k(this,"id",void 0),k(this,"name",void 0),k(this,"icon",void 0),k(this,"type",void 0),k(this,"controlType",void 0),k(this,"props",void 0),k(this,"setting",[]),k(this,"fieldType",void 0),k(this,"eventKeys",[]),k(this,"customEvents",[]),k(this,"parent",null),k(this,"updateSetting",Il),k(this,"removeSetting",wl),k(this,"addSetting",Mv),k(this,"replaceSetting",$v),this._callControlHooks("preInstance",n);var u=gl(this,e)?this.constructor:void 0,a=u.controlName,r=u.controlIcon,l=u.controlType,s=u.controlFieldType,o=u.controlEventKeys,d=u.controlCustomEvents,v=u.name,b=u.setting;a&&r&&l||Ur("The ".concat(v," controlName,controlIcon,controlType is not define"));var C;this.id=(C=n==null?void 0:n.id)!==null&&C!==void 0?C:be(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,(gl(this,e)?this.constructor:void 0).controlName);var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base",this.setting=Re(b);var S;this.fieldType=(S=n==null?void 0:n.fieldType)!==null&&S!==void 0?S:s,this.eventKeys=Re(o),this.customEvents=Re(d),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=kv(u),s=l[0],o=l.slice(1);return(r=Rv).emit.apply(r,[s,this].concat(Hn(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),Zy(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return ml(function(){var u,a,r;return El(this,function(l){switch(l.label){case 0:return u=_l({},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 ml(function(){var r,l,s,o;return El(this,function(d){switch(d.label){case 0:return[4,a.preValidate()];case 1:r=d.sent(),l=r!==void 0?r:_l({},a.rules),Array.isArray(u)&&u.forEach(function(v){l.hasOwnProperty(v)&&delete l[v]}),s=Av(l,i),d.label=2;case 2:return d.trys.push([2,4,,5]),[4,s.validate(a.props)];case 3:return d.sent(),[2,!0];case 4:throw o=d.sent(),o.control||(o.control=a),o;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,r=this.type,l=this.props,s=l.dataBind,o=l.datasourceBind,d=l.optionConfig,v=l.caption,b=l.required,C=l.maxLength,I=l.options,_=l.encrypted,S=l.encryptedMode;if(!(!u&&!s&&!o)){var m={parentId:i,fieldType:u,controlId:a,caption:v,type:r,props:{}};switch(s&&(m.dataBind=s),d){case"datasource":case void 0:o&&(m.datasourceBind=o);break;case"custom":m.props.options=I;break}return b!==void 0&&(m.required=b),C!==void 0&&(m.maxLength=C),_!==void 0&&(m.encrypted=_),S!==void 0&&(m.encryptedMode=S),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Re(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,Hn(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();k($,"controlName","\u63A7\u4EF6"),k($,"controlIcon","icon"),k($,"controlType","control"),k($,"controlFieldType",void 0),k($,"controlEventKeys",[]),k($,"controlCustomEvents",[]),k($,"setting",[]),k($,"__is_control__",!0),k($,"removeSettingItem",wl),k($,"updateSettingItem",Il);function wl(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string";if(!!Array.isArray(e.setting)){var r=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(o){return o.key===(a?i.key:i)});if(r!==-1){var l,s;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(o){return!i.hideItems.includes(o)}):e.setting.splice(r,1),a&&!(!((s=e.setting[r].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(r,1)}}})}function Il(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){if(!!Array.isArray(n.setting)){var a=n.setting.find(function(o){return o.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if(typeof e=="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var s;(s=a.showItems).push.apply(s,Hn(e.showItems))}}}}})}function Mv(t){var e,n=Object.prototype.toString.call(t)==="[object Object]"?[t]:t;(e=this.setting).push.apply(e,Hn(n))}function $v(t){this.setting=t}function Nv(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 Lv(t,e,n){return e&&Sl(t.prototype,e),n&&Sl(t,n),t}function de(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Q=function(){function e(n){Nv(this,e),de(this,"id",void 0),de(this,"type",void 0),de(this,"controlType",void 0),de(this,"props",void 0),de(this,"fieldType",void 0),de(this,"customEvents",[]),de(this,"pageStatus",void 0),de(this,"parent",null);var i=Vv(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Ur("The ".concat(r," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:be(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 b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:Mu.UNKNOWN}return Lv(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}();de(Q,"controlType","control"),de(Q,"controlFieldType",void 0),de(Q,"__is_control__",!0),de(Q,"controlCustomEvents",[]);function zu(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=nm(a);a.length!==r.length?u(f.getMessage("optionIdIsRepeat")):u()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function jn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}function Hv(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 qn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function L(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Un(t){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Un(t)}function Wn(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&&Gu(t,e)}function jv(t,e){return e&&(qv(e)==="object"||typeof e=="function")?e:N(t)}function Gu(t,e){return Gu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Gu(t,e)}var qv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Uv(){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 Kn(t){var e=Uv();return function(){var i=Un(t),u;if(e){var a=Un(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return jv(this,u)}}var ee=function(t){Wn(n,t);var e=Kn(n);function n(i){qn(this,n);var u;u=e.call(this,i),L(N(u),"dataBind",{}),L(N(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),L(N(u),"isHideCaption",{type:"boolean"}),L(N(u),"labelPosition",{type:"enum",enum:["top","left"]}),L(N(u),"defaultState",{type:"enum",enum:["default","readonly"]}),L(N(u),"required",{type:"boolean"}),L(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(Hv(i.dataBind))u.dataBind={type:"object",required:!0,fields:Re(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:Re(a),message:f.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(z),V=function(t){Wn(n,t);var e=Kn(n);function n(i){qn(this,n);var u;return u=e.call(this,i),u.push({type:"string",required:i.isHide?!1:i.required,message:i.requiredMessage!==""?i.requiredMessage:f.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(je),B=function(t){Wn(n,t);var e=Kn(n);function n(i){qn(this,n);var u;u=e.call(this,i),L(N(u),"caption",void 0),L(N(u),"isHideCaption",void 0),L(N(u),"isShowCaptionTip",void 0),L(N(u),"captionTip",void 0),L(N(u),"labelPosition",void 0),L(N(u),"dataBind",void 0),L(N(u),"defaultValue",void 0),L(N(u),"placeholder",void 0),L(N(u),"defaultState",void 0),L(N(u),"required",void 0),L(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 s;u.captionTip=(s=i==null?void 0:i.captionTip)!==null&&s!==void 0?s:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var d;u.labelPosition=(d=i==null?void 0:i.labelPosition)!==null&&d!==void 0?d:"top";var v;u.placeholder=(v=i==null?void 0:i.placeholder)!==null&&v!==void 0?v:"";var b;u.required=(b=i==null?void 0:i.required)!==null&&b!==void 0?b:!1;var C;u.requiredMessage=(C=i==null?void 0:i.requiredMessage)!==null&&C!==void 0?C:"",u.dataBind=new me(i==null?void 0:i.dataBind);var I;return u.defaultValue=(I=i==null?void 0:i.defaultValue)!==null&&I!==void 0?I:"",u}return n}(X);L(B,"Rules",ee),L(B,"RuntimeRules",V);var ft=function(t){Wn(n,t);var e=Kn(n);function n(i){qn(this,n);var u;return u=e.call(this,i),L(N(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),L(N(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),L(N(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),zu.call(N(u),i),u}return n}(ee);function Xu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function Kv(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&&Qu(t,e)}function zv(t,e){return e&&(Gv(e)==="object"||typeof e=="function")?e:Xu(t)}function Qu(t,e){return Qu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Qu(t,e)}var Gv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Xv(){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 Qv(t){var e=Xv();return function(){var i=Gn(t),u;if(e){var a=Gn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return zv(this,u)}}var P=function(t){Kv(n,t);var e=Qv(n);function n(i){Wv(this,n);var u;return u=e.call(this,i),zn(Xu(u),"controlType","form"),zn(Xu(u),"props",void 0),u.props=new B(i==null?void 0:i.props),u}return n}($);zn(P,"controlEventKeys",["on_change","on_focus","on_blur"]),zn(P,"controlCustomAttributes",void 0);function Xn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ju(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 Zv(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&&Zu(t,e)}function Yv(t,e){return e&&(pv(e)==="object"||typeof e=="function")?e:Xn(t)}function Zu(t,e){return Zu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zu(t,e)}var pv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function eg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function tg(t){var e=eg();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 Yv(this,u)}}var x=function(t){Zv(n,t);var e=tg(n);function n(i){Jv(this,n);var u;return u=e.call(this,i),Ju(Xn(u),"controlType","form"),Ju(Xn(u),"props",void 0),Ju(Xn(u),"value",void 0),u.props=new B(i==null?void 0:i.props),u}return n}(Q);function ng(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ig(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function ug(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&&Yu(t,e)}function ag(t,e){return e&&(rg(e)==="object"||typeof e=="function")?e:ng(t)}function Yu(t,e){return Yu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yu(t,e)}var rg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function lg(){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 og(t){var e=lg();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 ag(this,u)}}var H=function(t){ug(n,t);var e=og(n);function n(i){return ig(this,n),e.call(this,i)}return n}(X);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 cg(t){if(Array.isArray(t))return pu(t)}function sg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function dg(){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 Tl(t){return cg(t)||sg(t)||fg(t)||dg()}function fg(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 hg(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Al(t,e){t.parent=e,hg(t,"parent")}function yg(t,e){t.forEach(function(n){Al(n,e)})}var Rl=Symbol("targetKey");function Bl(t){var e;return(e=t[Rl])!==null&&e!==void 0?e:t}function Pl(t,e){return yg(t,e),new Proxy(t,{get:function(i,u){for(var a=arguments.length,r=new Array(a>2?a-2:0),l=2;l<a;l++)r[l-2]=arguments[l];var s;return u===Rl?i:(s=Reflect).get.apply(s,[i,u].concat(Tl(r)))},set:function(i,u,a){for(var r=arguments.length,l=new Array(r>3?r-3:0),s=3;s<r;s++)l[s-3]=arguments[s];var o;if(Iu(t)&&u==="length"&&a===t.length)return!0;var d=(o=Reflect).set.apply(o,[i,u,a].concat(Tl(l)));return tm(a)&&Al(a,e),d}})}function Ce(t,e,n,i){var u=i!=null?i:t,a=Pl(Bl(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=Pl(Bl(l),u)},enumerable:!0})}function ea(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 mg(t){if(Array.isArray(t))return ea(t)}function qe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dl(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function vg(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){Dl(a,i,u,r,l,"next",s)}function l(s){Dl(a,i,u,r,l,"throw",s)}r(void 0)})}}function gg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function bg(t,e,n){return e&&xl(t.prototype,e),n&&xl(t,n),t}function xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ht(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ht=Reflect.get:ht=function(u,a,r){var l=Rg(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r):s.value}},ht(t,e,n||t)}function Oe(t){return Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oe(t)}function _g(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ta(t,e)}function Cg(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Eg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function wg(){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 Ig(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){xe(t,u,n[u])})}return t}function Sg(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 Tg(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Sg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Ag(t,e){return e&&(Bg(e)==="object"||typeof e=="function")?e:qe(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ta(t,e)}function Rg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Oe(t),t!==null););return t}function Ol(t){return mg(t)||Eg(t)||Pg(t)||wg()}var Bg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Pg(t,e){if(!!t){if(typeof t=="string")return ea(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 ea(t,e)}}function Dg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function xg(t){var e=Dg();return function(){var i=Oe(t),u;if(e){var a=Oe(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ag(this,u)}}var Og=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Fg=1e4,q=function(e){_g(i,e);var n=xg(i);function i(u){gg(this,i);var a;a=n.call(this,u),xe(qe(a),"controlType","layout"),xe(qe(a),"children",void 0),xe(qe(a),"excludes",void 0),xe(qe(a),"childrenMaxLength",void 0),xe(qe(a),"props",void 0);var r=Cg(this,i)?this.constructor:void 0,l=r.excludes,s=r.childrenMaxLength;return a.props=new H(u==null?void 0:u.props),Ce(qe(a),"children",u==null?void 0:u.children),a.excludes=Re(l),a.childrenMaxLength=s,a}return bg(i,[{key:"judgeExcludesChildren",value:function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)}},{key:"judgeJoinChildren",value:function(a){var r=this.judgeExcludesChildren(a);return r&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(a,r){var l=this,s=this,o=function(){return ht(Oe(i.prototype),"validate",l)};return vg(function(){return Og(this,function(d){switch(d.label){case 0:return[4,o().call(s,a,r)];case 1:return d.sent(),[4,Promise.all(s.children.map(function(v){return v.validate(a,r)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=ht(Oe(i.prototype),"toDataBindModel",this).call(this),l=r?[r]:[];return this.children.reduce(function(s,o){var d=o.toDataBindModel(a);if(Array.isArray(d)){var v=d.filter(function(b){return!!b});return Ol(s).concat(Ol(v))}return d&&s.push(d),s},l)}},{key:"toSchema",value:function(){var a=ht(Oe(i.prototype),"toSchema",this).call(this),r=this.children.map(function(l){var s=l.toSchema();return s});return Tg(Ig({},a),{children:r})}}]),i}($);xe(q,"excludes",!1),xe(q,"childrenMaxLength",Fg);function Mt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function na(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function Mg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ia(t,e)}function $g(t,e){return e&&(Ng(e)==="object"||typeof e=="function")?e:Mt(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}var Ng=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Lg(){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 Vg(t){var e=Lg();return function(){var i=Zn(t),u;if(e){var a=Zn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return $g(this,u)}}var U=function(t){Mg(n,t);var e=Vg(n);function n(i){kg(this,n);var u;return u=e.call(this,i),na(Mt(u),"controlType","layout"),na(Mt(u),"children",void 0),na(Mt(u),"props",void 0),u.props=new H(i==null?void 0:i.props),Ce(Mt(u),"children",i==null?void 0:i.children),u}return n}(Q);function Yn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function jg(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 qg(t,e){return e&&(Ug(e)==="object"||typeof e=="function")?e:Yn(t)}function ua(t,e){return ua=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ua(t,e)}var Ug=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Wg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Kg(t){var e=Wg();return function(){var i=pn(t),u;if(e){var a=pn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return qg(this,u)}}var ei=function(t){jg(n,t);var e=Kg(n);function n(i,u){Hg(this,n);var a;return a=e.call(this,u),Fl(Yn(a),"headers",void 0),Fl(Yn(a),"footers",void 0),Ce(Yn(a),"headers",u==null?void 0:u.headers,i),a}return n}(X);function aa(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 zg(t){if(Array.isArray(t))return aa(t)}function ti(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kl(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function Gg(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){kl(a,i,u,r,l,"next",s)}function l(s){kl(a,i,u,r,l,"throw",s)}r(void 0)})}}function Xg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ml(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 Qg(t,e,n){return e&&Ml(t.prototype,e),n&&Ml(t,n),t}function ni(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?yt=Reflect.get:yt=function(u,a,r){var l=t0(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r):s.value}},yt(t,e,n||t)}function Fe(t){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fe(t)}function Jg(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 Zg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Yg(){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 $l(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){ni(t,u,n[u])})}return t}function pg(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 Nl(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):pg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function e0(t,e){return e&&(n0(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 t0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Fe(t),t!==null););return t}function Ll(t){return zg(t)||Zg(t)||i0(t)||Yg()}var n0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function i0(t,e){if(!!t){if(typeof t=="string")return aa(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 aa(t,e)}}function u0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function a0(t){var e=u0();return function(){var i=Fe(t),u;if(e){var a=Fe(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return e0(this,u)}}var r0=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},la=function(t){Jg(n,t);var e=a0(n);function n(i){Xg(this,n);var u;return u=e.call(this,i),ni(ti(u),"controlType","list"),ni(ti(u),"props",void 0),u.props=new ei(ti(u),i==null?void 0:i.props),u}return Qg(n,[{key:"validate",value:function(u,a){var r=this,l=this,s=function(){return yt(Fe(n.prototype),"validate",r)};return Gg(function(){return r0(this,function(o){switch(o.label){case 0:return[4,s().call(l,u)];case 1:return o.sent(),[4,Promise.all(l.props.headers.map(function(d){return d.validate(u,a)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=yt(Fe(n.prototype),"toDataBindModel",this).call(this),a=u?[u]:[],r=this.id;return this.props.headers.reduce(function(l,s){var o=s.toDataBindModel(r);if(Array.isArray(o)){var d=o.filter(function(v){return!!v});return Ll(l).concat(Ll(d))}return o&&l.push(o),l},a)}},{key:"toSchema",value:function(){var u,a,r=yt(Fe(n.prototype),"toSchema",this).call(this),l=this.props.headers.map(function(o){return o.toSchema()}),s=(u=this.props)===null||u===void 0||(a=u.footers)===null||a===void 0?void 0:a.map(function(o){if(o)return o.toSchema()});return Nl($l({},r),{props:Nl($l({},this.props),{headers:l,footers:s})})}}]),n}($);ni(la,"controlFieldType",g.LIST);function mt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function 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 o0(t,e,n){return e&&Vl(t.prototype,e),n&&Vl(t,n),t}function oa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function c0(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&&(d0(e)==="object"||typeof e=="function")?e:mt(t)}function ca(t,e){return ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ca(t,e)}var d0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function f0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function h0(t){var e=f0();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 s0(this,u)}}var Hl=function(t){c0(n,t);var e=h0(n);function n(i){l0(this,n);var u;return u=e.call(this,i),oa(mt(u),"controlType","list"),oa(mt(u),"children",void 0),oa(mt(u),"props",void 0),u.props=new ei(mt(u),i==null?void 0:i.props),Ce(mt(u),"children",i==null?void 0:i.children),u}return o0(n,[{key:"length",get:function(){return this.children.length}}]),n}(Q);function J(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function te(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 da(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 y0(t,e){return e&&(m0(e)==="object"||typeof e=="function")?e:J(t)}function fa(t,e){return fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fa(t,e)}var m0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function v0(){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 ha(t){var e=v0();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 y0(this,u)}}var Ee=function(t){da(n,t);var e=ha(n);function n(i){sa(this,n);var u;return u=e.call(this,i),te(J(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),te(J(u),"width",{type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(z),W=function(t){da(n,t);var e=ha(n);function n(i){sa(this,n);var u;u=e.call(this,i),te(J(u),"widthType",void 0),te(J(u),"width",void 0),te(J(u),"caption",void 0),te(J(u),"dataBind",void 0),te(J(u),"autoWidth",void 0),te(J(u),"fixed",void 0),te(J(u),"sort",void 0),te(J(u),"align",void 0),te(J(u),"colSpan",void 0),te(J(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 pr(i==null?void 0:i.autoWidth),u.dataBind=new me(i==null?void 0:i.dataBind);var s;u.sort=(s=i==null?void 0:i.sort)!==null&&s!==void 0?s:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(X);te(W,"Rules",Ee);var jl=function(t){da(n,t);var e=ha(n);function n(i){sa(this,n);var u;return u=e.call(this,i),te(J(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),te(J(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),te(J(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),zu.call(J(u),i),u}return n}(Ee);function ya(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 ql(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 b0(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 _0(t,e){return e&&(C0(e)==="object"||typeof e=="function")?e:ya(t)}function ma(t,e){return ma=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ma(t,e)}var C0=function(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 w0(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 _0(this,u)}}var Z=function(t){b0(n,t);var e=w0(n);function n(i){g0(this,n);var u;return u=e.call(this,i),ql(ya(u),"controlType","column"),ql(ya(u),"props",void 0),u.props=new W(i==null?void 0:i.props),u}return n}($);function va(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function I0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ul(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function S0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ga(t,e)}function T0(t,e){return e&&(A0(e)==="object"||typeof e=="function")?e:va(t)}function ga(t,e){return ga=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ga(t,e)}var A0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function R0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function B0(t){var e=R0();return function(){var i=ri(t),u;if(e){var a=ri(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return T0(this,u)}}var Y=function(t){S0(n,t);var e=B0(n);function n(i){I0(this,n);var u;return u=e.call(this,i),Ul(va(u),"controlType","column"),Ul(va(u),"props",void 0),u.props=new W(i==null?void 0:i.props),u}return n}(Q);function Wl(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 D0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function x0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ba(t,e)}function O0(t,e){return e&&(F0(e)==="object"||typeof e=="function")?e:Wl(t)}function ba(t,e){return ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ba(t,e)}var F0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function k0(){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=k0();return function(){var i=li(t),u;if(e){var a=li(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return O0(this,u)}}var _a=function(t){x0(n,t);var e=M0(n);function n(i){P0(this,n);var u;return u=e.call(this,i),D0(Wl(u),"dataBind",void 0),u.dataBind=new me(i==null?void 0:i.dataBind),u}return n}(H);function Ca(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function N0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ea(t,e)}function L0(t,e){return e&&(V0(e)==="object"||typeof e=="function")?e:Ca(t)}function Ea(t,e){return Ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ea(t,e)}var V0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function H0(){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 j0(t){var e=H0();return function(){var i=oi(t),u;if(e){var a=oi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return L0(this,u)}}var q0=function(t){N0(n,t);var e=j0(n);function n(i){$0(this,n);var u;return u=e.call(this,i),Kl(Ca(u),"controlType","search"),Kl(Ca(u),"props",void 0),u.props=new _a(i==null?void 0:i.props),u}return n}(q);function wa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function U0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function W0(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 K0(t,e){return e&&(z0(e)==="object"||typeof e=="function")?e:wa(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}var z0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function G0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function X0(t){var e=G0();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 K0(this,u)}}var Q0=function(t){W0(n,t);var e=X0(n);function n(i){U0(this,n);var u;return u=e.call(this,i),zl(wa(u),"controlType","search"),zl(wa(u),"props",void 0),u.props=new _a(i==null?void 0:i.props),u}return n}(U);function J0(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 si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function Y0(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&&Sa(t,e)}function p0(t,e){return e&&(eb(e)==="object"||typeof e=="function")?e:J0(t)}function Sa(t,e){return Sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Sa(t,e)}var eb=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function tb(){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 nb(t){var e=tb();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 p0(this,u)}}var Ta=function(t){Y0(n,t);var e=nb(n);function n(i){return Z0(this,n),e.call(this,i)}return n}(H);function Aa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ib(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gl(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 ub(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ra(t,e)}function ab(t,e){return e&&(rb(e)==="object"||typeof e=="function")?e:Aa(t)}function Ra(t,e){return Ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ra(t,e)}var rb=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function lb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ob(t){var e=lb();return function(){var i=di(t),u;if(e){var a=di(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ab(this,u)}}var cb=function(t){ub(n,t);var e=ob(n);function n(i){ib(this,n);var u;return u=e.call(this,i),Gl(Aa(u),"controlType","wrap"),Gl(Aa(u),"props",void 0),u.props=new Ta(i==null?void 0:i.props),u}return n}(q);function Ba(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function 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 fi(t){return fi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fi(t)}function db(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&&Pa(t,e)}function fb(t,e){return e&&(hb(e)==="object"||typeof e=="function")?e:Ba(t)}function Pa(t,e){return Pa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pa(t,e)}var hb=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function yb(){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 mb(t){var e=yb();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 fb(this,u)}}var vb=function(t){db(n,t);var e=mb(n);function n(i){sb(this,n);var u;return u=e.call(this,i),Xl(Ba(u),"controlType","wrap"),Xl(Ba(u),"props",void 0),u.props=new Ta(i==null?void 0:i.props),u}return n}(U);function Ue(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class Da extends X{constructor(e){var n,i,u,a,r;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"}}class Ql extends ${constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Ql.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class gb extends Q{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlType(){return"text"}}var Jl={Designer:Ql,Runtime:gb,Property:Da};class xa 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 Oa extends ${constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Oa.controlEventKeys=["on_click"],Oa.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class bb extends Q{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlType(){return"link"}}var Zl={Designer:Oa,Runtime:bb,Property:xa};class ie extends X{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.optObj=new qm((d=e==null?void 0:e.optObj)!=null?d:{})}}class ue extends ${constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}ue.controlEventKeys=["on_click","on_click_finish"],ue.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class oe extends Q{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlType(){return"button"}}var Yl={Designer:ue,Runtime:oe,Property:ie},ke=(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))(ke||{}),pl=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(pl||{}),eo=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(eo||{});class hi{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:be(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Fa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Fa||{});class yi{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:be(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var ka=(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))(ka||{});class Ma{constructor(e){var n,i,u,a,r,l,s,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new Dt((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 Dt((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new Dt((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class to{constructor(e){var n,i,u,a,r,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new Ma(s)))!=null?u:[new Ma],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 $a{constructor(e){var n,i,u,a,r,l,s;this.id=(n=e==null?void 0:e.id)!=null?n:be(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Na{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 no{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 Na(e==null?void 0:e.watermark),this.autoRename=new Na(e==null?void 0:e.autoRename)}}const io=480;function $t(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class uo{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 ao{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 ro=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(ro||{}),La=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(La||{}),mi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(mi||{}),Me=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Me||{}),Va=(t=>(t.ALL="all",t.ADMIN="admin",t))(Va||{});class Ha 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:ka.SOLID}}class lo extends ${constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}lo.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class _b extends Q{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"divider"}}var oo={Designer:lo,Runtime:_b,Property:Ha};class Cb extends z{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(ke.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 vi extends X{constructor(e){var n,i,u,a;super(e),this.dataBind=new me(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[ke.ShowSubmitUser,ke.ShowSubmitDept,ke.ShowSubmitTime,ke.ShowCurrentApprovar,ke.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:vt==null?void 0:vt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}vi.Rules=Cb;class vt extends ${constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}vt.controlFieldType=g.AUTO_NUMBER,vt.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Eb extends Q{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"title"}}var co={Designer:vt,Runtime:Eb,Property:vi};class wb extends z{constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class gi extends ie{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Nt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Nt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}gi.Rules=wb;class Nt extends ue{constructor(e){super(e),this.props=new gi(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"}}Nt.controlEventKeys=["on_click","on_click_finish"],Nt.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 Ib extends oe{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var so={Designer:Nt,Runtime:Ib,Property:gi};class Sb extends z{constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class bi extends ie{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Lt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Lt.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:""}}bi.Rules=Sb;class Lt extends ue{constructor(e){super(e),this.props=new bi(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"}}Lt.controlEventKeys=["on_click","on_click_finish"],Lt.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 Tb extends oe{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var fo={Designer:Lt,Runtime:Tb,Property:bi};class ja extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Vt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Vt.controlIcon}}class Vt extends ue{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}Vt.controlEventKeys=["on_click"],Vt.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 Ab extends oe{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var ho={Designer:Vt,Runtime:Ab,Property:ja};class qa extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ht.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ht.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 $a(l)))!=null?r:[new $a({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Ht extends ue{constructor(e){super(e),this.props=new qa(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"}}Ht.controlEventKeys=["on_click","on_click_finish"],Ht.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 Rb extends oe{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var yo={Designer:Ht,Runtime:Rb,Property:qa};class Ua extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:jt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:jt.controlIcon}}class jt extends ue{constructor(e){super(e),this.props=new Ua(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"}}jt.controlEventKeys=["on_click"],jt.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 Bb extends oe{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var mo={Designer:jt,Runtime:Bb,Property:Ua};class Pb{constructor(e){this.dataCode=e.dataCode}}class Wa extends ie{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(l=>new Pb(l)))!=null?a:[],this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system"}}class qt extends ue{constructor(e){super(e),this.props=new Wa(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"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.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 Db extends oe{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var vo={Designer:qt,Runtime:Db,Property:Wa};function _i(){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 xb extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:Te({},_i())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Te({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},_i())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class Ci extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ut.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ut.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new al(e==null?void 0:e.fillPayload),this.formBind=new Sm(e==null?void 0:e.formBind),this.fillBack=new rl(e==null?void 0:e.fillBack)}}Ci.Rules=xb;class Ut extends ue{constructor(e){super(e),this.props=new Ci(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"}}Ut.controlEventKeys=["on_click","on_click_finish"],Ut.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Ob extends oe{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var go={Designer:Ut,Runtime:Ob,Property:Ci};class Fb extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:Te({},_i())},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:Te({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},_i())}}}class Ei extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Wt.controlIcon,this.fillPayload=new al(e==null?void 0:e.fillPayload),this.listPageBind=new Pu(e==null?void 0:e.listPageBind),this.fillBack=new rl(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Fu(e==null?void 0:e.selectedContentConfig)}}Ei.Rules=Fb;class Wt extends ue{constructor(e){super(e),this.props=new Ei(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"}}Wt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class kb extends oe{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var bo={Designer:Wt,Runtime:kb,Property:Ei};class Mb extends z{constructor(e){super(e)}}class $b extends je{constructor(e){super(e)}}class Kt extends X{constructor(e){super(e)}}Kt.Rules=Mb,Kt.RuntimeRules=$b;class _o extends ${constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}_o.setting=[];class Nb extends Q{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Co={Designer:_o,Runtime:Nb,Property:Kt};class Lb extends z{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 wi 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"}}wi.Rules=Lb;class Eo extends ${constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Eo.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Vb extends Q{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var wo={Designer:Eo,Runtime:Vb,Property:wi};class Hb extends z{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 Ii 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 Hm(a)))!=null?u:[]}}Ii.Rules=Hb;class Io extends ${constructor(e){super(e),this.props=new Ii(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"}}Io.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class jb extends Q{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var So={Designer:Io,Runtime:jb,Property:Ii};class qb extends z{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 Si extends ie{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:gt.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:gt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:gt.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(b=>new ae(b)))!=null?v:[]}}Si.Rules=qb;class gt extends ue{constructor(e){super(e),this.props=new Si(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"}}gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Ub extends oe{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var To={Designer:gt,Runtime:Ub,Property:Si};class Wb extends z{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 Ti extends ie{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:bt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:bt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:bt.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(b=>new ae(b)))!=null?v:[]}}Ti.Rules=Wb;class bt extends ue{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}bt.controlEventKeys=["on_click","on_click_finish"],bt.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Kb extends oe{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Ao={Designer:bt,Runtime:Kb,Property:Ti};class zb extends z{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Ai extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:zt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:zt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new uo(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Ai.Rules=zb;class zt extends ue{constructor(e){super(e),this.props=new Ai(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"}}zt.controlEventKeys=["on_click","on_click_finish"],zt.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 Gb extends oe{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Ro={Designer:zt,Runtime:Gb,Property:Ai};class Ka extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Gt.controlIcon}}class Gt extends ue{constructor(e){super(e),this.props=new Ka(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"}}Gt.controlEventKeys=["on_click"],Gt.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 Xb extends oe{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Bo={Designer:Gt,Runtime:Xb,Property:Ka};class Qb extends z{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 Ri 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}}Ri.Rules=Qb;class Bi extends ${constructor(e){super(e),this.props=new Ri(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"}}Bi.controlEventKeys=["on_click"],Bi.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Jb extends Q{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Po={Designer:Bi,Runtime:Jb,Property:Ri};class za extends X{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Xt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Xt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Xt extends ${constructor(e){super(e),this.props=new za(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.controlEventKeys=["on_click"],Xt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Zb extends Q{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Do={Designer:Xt,Runtime:Zb,Property:za},Yb=Object.freeze({__proto__:null,Text:Jl,Link:Zl,Button:Yl,Divider:oo,Title:co,CreateFormListButton:so,BatchSubmissionListButton:fo,SubmissionRecordListButton:ho,ExportListButton:yo,ExportRecordListButton:mo,ImportRecordListButton:vo,FormSelectButton:go,ListSelectButton:bo,Pagination:Co,Dashboard:wo,ListViewSelect:So,TextOcrButton:To,InvoiceCheckButton:Ao,BatchPrintListButton:Ro,BatchPrintRecordListButton:Bo,OperationButton:Po,BatchDeleteButton:Do});class pb extends ee{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=$t(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class e_ extends V{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:$t(e.regularRules.expression),message:e.regularRules.errMessage})}}class _t extends B{constructor(e){var n,i,u,a,r,l,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new ll(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:Ct.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}_t.Rules=pb,_t.RuntimeRules=e_;class Ct extends P{constructor(e){super(e),this.props=new _t(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"}}Ct.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ct.controlFieldType=g.VARCHAR,Ct.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class xo extends x{constructor(e){super(e),this.props=new _t(e==null?void 0:e.props)}static get controlType(){return"input"}}xo.controlFieldType=g.VARCHAR;var Oo={Designer:Ct,Runtime:xo,Property:_t};class t_ extends ft{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 n_ extends V{constructor(e){super(e),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 Qt extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,C,I;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new p(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:Jt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.optionsFormat=(b=e==null?void 0:e.optionsFormat)!=null?b:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,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(_=>{var S;(S=this.multistageFilling)==null||S.push(new ae(_))}))}}Qt.Rules=t_,Qt.RuntimeRules=n_;class Jt extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Jt.controlEventKeys=["on_change","on_click"],Jt.controlFieldType=g.ARRAY,Jt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Fo extends x{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Fo.controlFieldType=g.ARRAY;var ko={Designer:Jt,Runtime:Fo,Property:Qt};class i_ extends ft{constructor(e){super(e)}}class Pi extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new p(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:Zt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:"",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var I;(I=this.multistageFilling)==null||I.push(new ae(C))}))}}Pi.Rules=i_;class Zt extends P{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Zt.controlEventKeys=["on_change","on_click"],Zt.controlFieldType=g.VARCHAR,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Mo extends x{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"radio"}}Mo.controlFieldType=g.VARCHAR;var $o={Designer:Zt,Runtime:Mo,Property:Pi};class u_ extends ee{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=$t(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class a_ extends V{constructor(e){super(e),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:$t(e.regularRules.expression),message:e.regularRules.errMessage})}}class Yt extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,C,I;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(v=e==null?void 0:e.unit)!=null?v:"",this.caption=(b=e==null?void 0:e.caption)!=null?b:pt.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:"\u8BF7\u8F93\u5165",this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:"",this.regularRules=new ll(e==null?void 0:e.regularRules)}}Yt.Rules=u_,Yt.RuntimeRules=a_;class pt extends P{constructor(e){super(e),this.props=new Yt(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}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=g.DECIMAL,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class No extends x{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"number"}}No.controlFieldType=g.DECIMAL;var Lo={Designer:pt,Runtime:No,Property:Yt};class Ga extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ae.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:Di.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(d=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(C=>new hi(C)))!=null?d:[],this.allowDateRange=(v=e==null?void 0:e.allowDateRange)!=null?v:["",""],this.filterWeekend=(b=e==null?void 0:e.filterWeekend)!=null?b:!1}}class Di extends P{constructor(e){super(e),this.props=new Ga(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}}Di.controlFieldType=g.TIMESTAMP,Di.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Vo extends x{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Vo.controlFieldType=g.TIMESTAMP;var Ho={Designer:Di,Runtime:Vo,Property:Ga};class r_ extends V{constructor(e){super(e),this[0].type="object",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 xi extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.dataBind=new Mm(e==null?void 0:e.dataBind),this.defaultValue=new $m(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ae.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(d=e==null?void 0:e.caption)!=null?d:Oi.controlName,this.limitDateList=(b=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(C=>new hi(C)))!=null?b:[]}}xi.RuntimeRules=r_;class Oi extends P{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"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}}Oi.controlFieldType=g.TIMESCOPE,Oi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class jo extends x{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}jo.controlFieldType=g.TIMESCOPE;var qo={Designer:Oi,Runtime:jo,Property:xi};class l_ extends ee{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 o_ extends V{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 en extends B{constructor(e){var n,i,u,a,r,l;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:tn.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}}en.Rules=l_,en.RuntimeRules=o_;class tn extends P{constructor(e){super(e),this.props=new en(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"}}tn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],tn.controlFieldType=g.TEXT,tn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Uo extends x{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Uo.controlFieldType=g.TEXT;var Wo={Designer:tn,Runtime:Uo,Property:en};class c_ extends ee{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class s_ extends V{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 nn extends B{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:un.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}nn.Rules=c_,nn.RuntimeRules=s_;class un extends P{constructor(e){super(e),this.props=new nn(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"}}un.controlEventKeys=["on_change","on_input","on_focus","on_blur"],un.controlFieldType=g.TEXT,un.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Ko extends x{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Ko.controlFieldType=g.TEXT;var zo={Designer:un,Runtime:Ko,Property:nn};class d_ extends ft{constructor(e){super(e)}}class Fi extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.options=_e((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 p(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:ki.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var C;(C=this.multistageFilling)==null||C.push(new ae(b))})),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 st(e==null?void 0:e.formBind)}}Fi.Rules=d_;class ki extends P{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}ki.controlFieldType=g.VARCHAR,ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class Go extends x{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"select"}}Go.controlFieldType=g.VARCHAR;var Xo={Designer:ki,Runtime:Go,Property:Fi};class f_ extends ft{constructor(e){super(e)}}class h_ extends V{constructor(e){super(e),this[0].type="array"}}class an extends B{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.options=_e((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 p(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Mi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var b;(b=this.multistageFilling)==null||b.push(new ae(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 st(e==null?void 0:e.formBind)}}an.Rules=f_,an.RuntimeRules=h_;class Mi extends P{constructor(e){super(e),this.props=new an(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"}}Mi.controlFieldType=g.ARRAY,Mi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class Qo extends x{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Qo.controlFieldType=g.ARRAY;var Jo={Designer:Mi,Runtime:Qo,Property:an};class y_ extends V{constructor(e){super(e),this[0].type="array"}}class $i extends B{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Ni.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 b;(b=this.multistageFilling)==null||b.push(new ae(v))}))}}$i.RuntimeRules=y_;class Ni extends P{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Ni.controlFieldType=g.EMPLOYEES,Ni.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Zo extends x{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"employee"}}Zo.controlFieldType=g.EMPLOYEES;var Yo={Designer:Ni,Runtime:Zo,Property:$i};const m_=10485760,v_=104857600,g_=1048576e3;class b_ extends ee{constructor(e){super(e),this.maxSize={type:"number",min:0,max:g_,message:f.getMessage("attachmentMaxSize")}}}class __ extends V{constructor(e){super(e),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 Et extends B{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:v_,this.caption=(o=e==null?void 0:e.caption)!=null?o:wt.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6"}}Et.Rules=b_,Et.RuntimeRules=__;class wt extends P{constructor(e){super(e),this.props=new Et(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}wt.controlEventKeys=["on_change"],wt.controlFieldType=g.FILE,wt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Xa extends x{constructor(e){super(e),this.props=new Et(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Xa.controlFieldType=g.FILE;var po={Designer:wt,Runtime:Xa,Property:Et};const ec=class extends wt{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:ec.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Qa=ec;Qa.controlFieldType=g.IMAGE,Qa.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class C_ extends Xa{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 E_ extends Et{constructor(e){super(e)}}var tc={Designer:Qa,Runtime:C_,Property:E_};class w_ extends ft{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 I_ extends V{constructor(e){super(e),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:[xn(Te({},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 rn extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;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 Fm(e==null?void 0:e.dataBind),this.datasourceBind=new p((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new xu({value:"name"})]}),this.defaultValue=new km((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:$n.CNY}),this.options=_e(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:ln.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=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}rn.Rules=w_,rn.RuntimeRules=I_;class ln extends P{constructor(e){super(e),this.props=new rn(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}}ln.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ln.controlFieldType=g.MONEY,ln.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class nc extends x{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"amount"}}nc.controlFieldType=g.MONEY;var ic={Designer:ln,Runtime:nc,Property:rn};class S_ extends ee{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 T_ extends V{constructor(e){super(e),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 on extends B{constructor(e){var n,i,u,a,r,l,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Fa.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 yi(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new yi),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:cn.controlName}}on.Rules=S_,on.RuntimeRules=T_;class cn extends P{constructor(e){super(e),this.props=new on(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 yi);this.props.explain.push(...u)}}super.postUpdate(e,n)}}cn.controlEventKeys=["on_change","on_click"],cn.controlFieldType=g.DECIMAL,cn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class uc extends x{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlType(){return"score"}}uc.controlFieldType=g.DECIMAL;var ac={Designer:cn,Runtime:uc,Property:on};class A_ extends V{constructor(e){if(super(e),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 Li extends B{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Vi.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 Nm((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"}}Li.RuntimeRules=A_;class Vi extends P{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Vi.controlFieldType=g.ADDRESS,Vi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class rc extends x{constructor(e){super(e),this.props=new Li(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"}}rc.controlFieldType=g.ADDRESS;var lc={Designer:Vi,Runtime:rc,Property:Li};class R_ extends V{constructor(e){super(e),this[0].type="array"}}class Hi extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:sn.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var I;(I=this.multistageFilling)==null||I.push(new ae(C))}))}}Hi.RuntimeRules=R_;class sn extends P{constructor(e){super(e),this.props=new Hi(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}}sn.controlName="\u90E8\u95E8",sn.controlFieldType=g.DEPARTMENTS,sn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class oc extends x{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"department"}}oc.controlFieldType=g.DEPARTMENTS;var cc={Designer:sn,Runtime:oc,Property:Hi};class Ja extends B{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:dn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class dn extends P{constructor(e){super(e),this.props=new Ja(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"}}dn.controlEventKeys=["on_change"],dn.controlFieldType=g.AUTO_NUMBER,dn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class sc extends x{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}sc.controlFieldType=g.AUTO_NUMBER;var dc={Designer:dn,Runtime:sc,Property:Ja};class B_ extends ee{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 P_ extends V{constructor(e){super(e),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 fn extends B{constructor(e){var n,i,u,a,r,l,s;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 Lm(e==null?void 0:e.dataBind),this.defaultValue=new Vm(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:hn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}fn.Rules=B_,fn.RuntimeRules=P_;class hn extends P{constructor(e){super(e),this.props=new fn(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}}hn.controlEventKeys=["on_change"],hn.controlFieldType=g.CALC,hn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class fc extends x{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"calc"}}fc.controlFieldType=g.CALC;var hc={Designer:hn,Runtime:fc,Property:fn};class D_ extends V{constructor(e){super(e),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 ji extends B{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}}ji.RuntimeRules=D_;class qi extends P{constructor(e){super(e),this.props=new ji(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=g.DECIMAL_RANGE,qi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class yc extends x{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}yc.controlFieldType=g.DECIMAL_RANGE;var mc={Designer:qi,Runtime:yc,Property:ji};class x_ extends V{constructor(e){super(e),this[0].type="array",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 Ui extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,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:Ae.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u7ED3\u675F\u65E5\u671F",this.caption=(v=e==null?void 0:e.caption)!=null?v:Wi.controlName,this.limitDateList=(C=(b=e==null?void 0:e.limitDateList)==null?void 0:b.map(I=>new hi(I)))!=null?C:[]}}Ui.RuntimeRules=x_;class Wi extends P{constructor(e){super(e),this.props=new Ui(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"}}Wi.controlFieldType=g.ARRAY,Wi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class vc extends x{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}vc.controlFieldType=g.ARRAY;var gc={Designer:Wi,Runtime:vc,Property:Ui};class O_ extends ee{constructor(e){super(e),this.dataBind={type:"any"}}}class F_ extends V{constructor(e){super(e),this[0].type="any"}}class yn extends B{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:mn.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}}yn.Rules=O_,yn.RuntimeRules=F_;class mn extends P{constructor(e){super(e),this.props=new yn(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"}}mn.controlFieldType=g.ANY,mn.controlEventKeys=[],mn.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class bc extends x{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}bc.controlFieldType=g.ANY;var _c={Designer:mn,Runtime:bc,Property:yn};class k_ extends ft{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")}]}}]}}class Ki extends B{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Pu(e==null?void 0:e.listPageBind),this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:vn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new Fu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var b;(b=this.multistageFilling)==null||b.push(new ae(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 st(e==null?void 0:e.formBind)}}Ki.Rules=k_;class vn extends P{constructor(e){super(e),this.props=new Ki(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"}}vn.controlFieldType=g.VARCHAR,vn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}],vn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Cc extends x{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Cc.controlFieldType=g.VARCHAR;var Ec={Designer:vn,Runtime:Cc,Property:Ki};class Za extends _t{constructor(e){super(e)}}class wc extends Ct{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}wc.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class Ic extends x{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Ic.controlFieldType=g.VARCHAR;var Sc={Designer:wc,Runtime:Ic,Property:Za};class M_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],jn.call(this,e,$e.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 $_ extends V{constructor(e){super(e),this[0].type="array"}}class gn extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,C,I,_,S,m,w,R,D;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(v=e==null?void 0:e.isDefaultCheckSub)!=null?v:!1,this.defaultCollapse=(b=e==null?void 0:e.defaultCollapse)!=null?b:"all",this.defaultCollapseLevel=(C=e==null?void 0:e.defaultCollapseLevel)!=null?C:1,this.datasourceBind=new il((I=e==null?void 0:e.datasourceBind)!=null?I:{attributes:$e.controlCustomAttributes}),this.filterItemDatasourceBind=new il((_=e==null?void 0:e.filterItemDatasourceBind)!=null?_:{attributes:$e.controlCustomAttributes}),this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(R=(w=e==null?void 0:e.multistageFilling)==null?void 0:w.map(O=>new ae(O)))!=null?R:[],this.defaultValue=(D=e==null?void 0:e.defaultValue)!=null?D:[]}}gn.Rules=M_,gn.RuntimeRules=$_;class $e extends P{constructor(e){super(e),this.props=new gn(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}]}}$e.controlEventKeys=["on_change","on_click"],$e.controlFieldType=g.ARRAY,$e.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class Tc extends x{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlType(){return"tree"}}Tc.controlFieldType=g.ARRAY;var Ac={Designer:$e,Runtime:Tc,Property:gn};class N_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},jn.call(this,e,It.controlCustomAttributes),e.externalType===Me.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class L_ extends V{constructor(e){super(e),this[0].type="array"}}class bn extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,C,I,_;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:It.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 Mn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:It.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:La.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:Va.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:Me.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],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(S=>{var m;(m=this.multistageFilling)==null||m.push(new ae(S))}))}}bn.Rules=N_,bn.RuntimeRules=L_;class It extends P{constructor(e){super(e),this.props=new bn(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}]}}It.controlFieldType=g.EMPLOYEES,It.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Rc extends x{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Rc.controlFieldType=g.EMPLOYEES;var Bc={Designer:It,Runtime:Rc,Property:bn};class V_ extends ee{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"&&Iu(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")&&Iu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class zi extends B{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:_n.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 to(e==null?void 0:e.signatureConfig)}}zi.Rules=V_;class _n extends P{constructor(e){super(e),this.props=new zi(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"}}_n.controlEventKeys=["on_click","on_click_finish"],_n.controlFieldType=g.VARCHAR,_n.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class Pc extends x{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Pc.controlFieldType=g.VARCHAR;var Dc={Designer:_n,Runtime:Pc,Property:zi};class H_ extends ee{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 j_ extends V{constructor(e){super(e),this[0].type="array"}}class Cn extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:En.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(v=e==null?void 0:e.maxSize)!=null?v:m_,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new no(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}Cn.Rules=H_,Cn.RuntimeRules=j_;class En extends P{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}En.controlEventKeys=["on_change","on_wps_open"],En.controlFieldType=g.FILE,En.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class xc extends x{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return"wps"}}xc.controlFieldType=g.FILE;var Oc={Designer:En,Runtime:xc,Property:Cn};class q_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},jn.call(this,e,We.controlCustomAttributes),e.businessType===Me.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class U_ extends V{constructor(e){super(e),this[0].type="array"}}class wn extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,C,I,_,S;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:We.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new Mn((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:We.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:mi.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Me.ALL,this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var w;(w=this.multistageFilling)==null||w.push(new ae(m))}))}}wn.Rules=q_,wn.RuntimeRules=U_;class We extends P{constructor(e){super(e),this.props=new wn(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}}We.controlName="\u90E8\u95E8",We.controlFieldType=g.DEPARTMENTS,We.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Fc extends x{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Fc.controlFieldType=g.DEPARTMENTS;var kc={Designer:We,Runtime:Fc,Property:wn};class W_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},jn.call(this,e,Ke.controlCustomAttributes),e.businessType===Me.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class K_ extends V{constructor(e){super(e),this[0].type="array"}}class In extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,C,I,_,S,m,w,R;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new Pu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ke.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new xm((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:Ke.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:mi.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Me.ALL,this.organizingFunction=(S=e==null?void 0:e.organizingFunction)!=null?S: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 Fu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(R=e==null?void 0:e.openMultistageFilling)!=null?R:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var O;(O=this.multistageFilling)==null||O.push(new ae(D))}))}}In.Rules=W_,In.RuntimeRules=K_;class Ke extends P{constructor(e){super(e),this.props=new In(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}}Ke.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Ke.controlFieldType=g.DEPARTMENTS,Ke.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Mc extends x{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Mc.controlFieldType=g.DEPARTMENTS;var $c={Designer:Ke,Runtime:Mc,Property:In},z_=Object.freeze({__proto__:null,Input:Oo,Checkbox:ko,Radio:$o,Number:Lo,DatePicker:Ho,DateRange:qo,Textarea:Wo,RichText:zo,Select:Xo,SelectMultiple:Jo,Employee:Yo,Image:tc,Attachment:po,Amount:ic,Score:ac,Address:lc,Department:cc,AutoNumber:dc,Calc:hc,SearchNumberRange:mc,SearchDateRange:gc,VueFormItem:_c,SelectRelation:Ec,SearchInput:Sc,Tree:Ac,Employee2:Bc,ElectronicSignature:Dc,WPS:Oc,Department2:kc,OrganizationSelection:$c});class Nc extends q{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Nc.excludes=[E.GRID];class G_ extends U{static get controlType(){return"grid"}constructor(e){super(e)}}var Lc={Designer:Nc,Runtime:G_,Property:H};const X_=24;class ze extends H{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:X_,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Sn extends q{constructor(e){super(e),this.props=new ze(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Sn.excludes=[E.COL,E.CARD_GROUP,E.SUBTABLE,E.SUBTABLE_COLUMN,E.DIVIDER],Sn.childrenMaxLength=1;class Ya extends U{constructor(e){super(e),this.props=new ze(e==null?void 0:e.props)}static get controlType(){return"col"}}var Vc={Designer:Sn,Runtime:Ya,Property:ze};class Gi extends H{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 Xi extends q{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Xi.excludes=[E.ROW],Xi.setting=[{key:"col-setting",visible:!0}];class Hc extends U{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"row"}}var jc={Designer:Xi,Runtime:Hc,Property:Gi};const Q_=4;class Qi extends Xi{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)}}Qi.excludes=[E.GRID_ROW],Qi.setting=[],Qi.childrenMaxLength=Q_;class J_ extends Hc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Z_ extends Gi{constructor(e){super(e)}}var qc={Designer:Qi,Runtime:J_,Property:Z_};class Y_ extends H.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Ji extends H{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"}}Ji.Rules=Y_;class pa extends q{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}pa.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],pa.excludes=[E.CARD_GROUP];class p_ extends U{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Uc={Designer:pa,Runtime:p_,Property:Ji};class eC extends z{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 Zi extends H{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new wm(e==null?void 0:e.metaAutoWidth)}}Zi.Rules=eC;class ye extends q{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}ye.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ye.controlType="subtable-column",ye.controlIcon="subtable-column",ye.childrenMaxLength=1,ye.excludes=[E.SUBTABLE,E.SUBTABLE_COLUMN,E.ROW,E.COL,E.CARD_GROUP,E.DIVIDER,E.TEXT],ye.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Wc extends U{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}Wc.controlType="subtable-column";var Kc={Designer:ye,Runtime:Wc,Property:Zi};class er extends H{constructor(e){super(e)}}class Ge extends q{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}}Ge.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Ge.controlType="subtable-row",Ge.controlIcon="subtable-row",Ge.childrenMaxLength=1,Ge.excludes=[E.SUBTABLE,E.SUBTABLE_COLUMN,E.SUBTABLE_ROW,E.ROW,E.COL,E.CARD_GROUP,E.DIVIDER,E.TEXT],Ge.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class tC extends U{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var zc={Designer:Ge,Runtime:tC,Property:er};class tr extends H{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:g.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:Ae.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class Xe extends q{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}}Xe.controlName="\u5217\u8868\u5355\u5143\u683C",Xe.controlType="gridtable-column",Xe.controlIcon="gridtable-column",Xe.childrenMaxLength=1,Xe.excludes=[E.GRID_TABLE,E.GRID_TABLE_COLUMN,E.ROW,E.COL,E.CARD_GROUP,E.DIVIDER,E.TEXT],Xe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Gc extends U{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}}Gc.controlType="gridtable-column";var Xc={Designer:Xe,Runtime:Gc,Property:tr};class nr extends H{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 ir extends q{constructor(e){super(e),this.props=new nr(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"iconfenzu6"}}ir.excludes=[E.GRID_LAYOUT_CONTAINER,E.CARD_GROUP,E.TAB],ir.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class nC extends U{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Qc={Designer:ir,Runtime:nC,Property:nr};class ur extends H{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class iC extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Yi extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:An.controlName}}Yi.Rules=iC;class Tn extends q{constructor(e){super(e),this.props=new Yi(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"}}Tn.excludes=[E.TAB],Tn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class uC extends U{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Jc={Designer:Tn,Runtime:uC,Property:Yi};class An extends q{constructor(e){var n;super(e),this.props=new ur(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Tn,new Tn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}An.excludes=[E.TAB],An.controlEventKeys=["on_change_tab"],An.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class aC extends U{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Zc={Designer:An,Runtime:aC,Property:ur};class Yc extends H{constructor(e){super(e)}}class pc extends q{constructor(e){super(e),this.props=new Yc({}),this.children=(e==null?void 0:e.children)||[new Sn({props:new ze({span:12})}),new Sn({props:new ze({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}pc.excludes=[E.GRID_ROW,E.ROW,E.GRID,E.SUBTABLE,E.TAB,E.TOOLBOX];class rC extends U{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ya({props:new ze({span:12})}),new Ya({props:new ze({span:12})})]}}var es={Designer:pc,Runtime:rC,Property:Yc};class lC extends je{constructor(e){super(e),this.push({type:"object",fields:{}})}}class oC extends z{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")}}}}]}}]),zu.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 Rn extends H{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.datasourceBind=new p(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 Rm(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new Pm(e==null?void 0:e.joinRelation),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(o=e==null?void 0:e.selectionType)!=null?o:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(v=e==null?void 0:e.isShowSelection)!=null?v:!1,this.isAllLoaded=(b=e==null?void 0:e.isAllLoaded)!=null?b:!0,this.countType=e==null?void 0:e.countType}}Rn.Rules=oC,Rn.RuntimeRules=lC;class pi extends q{constructor(e){super(e),this.props=new Rn(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"}}pi.excludes=[E.ROW],pi.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"],pi.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:"super-setting",visible:!0}];class cC extends U{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var ts={Designer:pi,Runtime:cC,Property:Rn};class sC extends je{constructor(e){super(e),this.push({type:"object",fields:{}})}}class eu extends H{constructor(e){var n,i,u,a,r,l;super(e),this.save=new Pe((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Pe((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Pe((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Pe((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(s=>new Pe(s)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new p(e==null?void 0:e.datasourceBind)}}eu.RuntimeRules=sC;class ns extends q{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}ns.excludes=[];class dC extends U{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var is={Designer:ns,Runtime:dC,Property:eu};class fC extends q{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class hC extends U{static get controlType(){return"page"}constructor(e){super(e)}}class yC extends H{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 us={Designer:fC,Runtime:hC,Property:yC};class mC extends q{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class vC extends U{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class gC extends H{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new ao(e==null?void 0:e.flexConfig)}}var as={Designer:mC,Runtime:vC,Property:gC};class bC extends q{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class _C extends U{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class CC extends H{constructor(e){super(e)}}var rs={Designer:bC,Runtime:_C,Property:CC};class EC extends q{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class wC extends U{static get controlType(){return"position"}constructor(e){super(e)}}class IC extends H{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 ls={Designer:EC,Runtime:wC,Property:IC};class ar extends H{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 rr extends q{constructor(e){var n;super(e),this.props=new ar((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"}}rr.excludes=[],rr.setting=[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}];class SC extends U{constructor(e){var n;super(e),this.props=new ar((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var os={Designer:rr,Runtime:SC,Property:ar},TC=Object.freeze({__proto__:null,Grid:Lc,Col:Vc,Row:jc,GridRow:qc,CardGroup:Uc,SubTableColumn:Kc,SubTableRow:zc,GridTableColumn:Xc,GridLayoutContainer:Qc,Tab:Zc,TabPane:Jc,Toolbox:es,ListView:ts,DataView:is,Page:us,AdvancedContainer:as,PositioningContainer:rs,Position:ls,ActionBar:os});class AC extends z{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 RC extends je{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})})}}class Bn extends ei{constructor(e,n){var i,u,a,r,l,s,o,d,v,b,C,I,_,S,m,w,R,D,O,ce,F,se,Pn,Ie,hu,Dn,St,Se,Fs;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:tu.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(a=n==null?void 0:n.defaultState)!=null?a:"default",this.labelPosition=(r=n==null?void 0:n.labelPosition)!=null?r:"top",this.openType=(l=n==null?void 0:n.openType)!=null?l:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(d=n==null?void 0:n.maxHeight)!=null?d:io,this.printMode=(v=n==null?void 0:n.printMode)!=null?v:"row",this.limitRows=(b=n==null?void 0:n.limitRows)!=null?b:1,this.maxRows=(C=n==null?void 0:n.maxRows)!=null?C:null,this.defaultRows=(I=n==null?void 0:n.defaultRows)!=null?I:1,this.datasourceBind=new p(n==null?void 0:n.datasourceBind),this.canAdd=(_=n==null?void 0:n.canAdd)!=null?_:!0,this.canDelete=(S=n==null?void 0:n.canDelete)!=null?S:!0,this.canCheck=(m=n==null?void 0:n.canCheck)!=null?m:!1,this.canEdit=(w=n==null?void 0:n.canEdit)!=null?w:!1,this.canImport=(R=n==null?void 0:n.canImport)!=null?R:!1,this.canExport=(D=n==null?void 0:n.canExport)!=null?D:!1,this.canClear=(O=n==null?void 0:n.canClear)!=null?O:!0,this.serverPagination=(ce=n==null?void 0:n.serverPagination)!=null?ce:!1,this.isShowCaptionTip=(F=n==null?void 0:n.isShowCaptionTip)!=null?F:!1,this.captionTip=(se=n==null?void 0:n.captionTip)!=null?se:"",this.mobileShowType=(Pn=n==null?void 0:n.mobileShowType)!=null?Pn:"list",this.mobileDefaultNum=(Ie=n==null?void 0:n.mobileDefaultNum)!=null?Ie:10,this.dataStorageDoc=(hu=n==null?void 0:n.dataStorageDoc)!=null?hu:new Im,this.fixedColumn=(Dn=n==null?void 0:n.fixedColumn)!=null?Dn:[],this.mobileRowCaption=(St=n==null?void 0:n.mobileRowCaption)!=null?St:"\u660E\u7EC6",this.mobileIsTile=(Se=n==null?void 0:n.mobileIsTile)!=null?Se:!1,this.isPaste=(Fs=n==null?void 0:n.isPaste)!=null?Fs:!1}}Bn.Rules=AC,Bn.RuntimeRules=RC;class tu extends la{constructor(e){var n,i;super(e),this.props=new Bn(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 ye,new ye,new ye]),((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 ye,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}tu.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],tu.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.IS_PASTE]},{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:"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 BC extends Hl{constructor(e){super(e),this.props=new Bn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Pt("Method not implemented.")}getChildrenFormControl(){return[]}}var cs={Designer:tu,Runtime:BC,Property:Bn};class lr extends ei{constructor(e,n){var i,u,a,r;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}}class PC extends Ee{constructor(e){super(e),this.caption.required=!1}}class nu extends W{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Qe.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(s=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?s:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}nu.Rules=PC;class Qe extends Z{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}Qe.controlType="order-column",Qe.controlName="\u5E8F\u53F7",Qe.controlIcon="order-column",Qe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class or extends Y{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}or.controlType="order-column",or.controlFieldType=g.DECIMAL;var ss={Designer:Qe,Runtime:or,Property:nu};class cr extends W{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:we.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 we extends Z{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props),Ce(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Bi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return xn(Te({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return kr(this,null,function*(){return yield Fr(we.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}we.controlType="operation-column",we.controlName="\u64CD\u4F5C",we.controlIcon="operation-column",we.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class sr extends Y{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props),Ce(this,"children",e==null?void 0:e.children)}}sr.controlType="operation-column",sr.controlFieldType=g.FILE;var ds={Designer:we,Runtime:sr,Property:cr};class iu extends la{constructor(e){var n;super(e),this.props=new lr(this,e==null?void 0:e.props),Ce(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Qe,new we]),((n=e==null?void 0:e.props)==null?void 0:n.footers)===void 0&&(this.props.footers=[])}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return xn(Te({},e),{children:n})}validate(e,n){return kr(this,null,function*(){return yield Fr(iu.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}iu.setting=[{key:"list-fixed-header",visible:!0}];class DC extends Hl{constructor(e){super(e),this.props=new lr(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Pt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var fs={Designer:iu,Runtime:DC,Property:lr},xC=Object.freeze({__proto__:null,SubTable:cs,GridTable:fs});class OC extends jl{constructor(e){super(e),Ue.call(this,e)}}class uu extends W{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.options=_e((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Be(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}uu.Rules=OC;class Je extends Z{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}Je.controlType="varchar-column",Je.controlName="\u77ED\u6587\u672C",Je.controlIcon="varchar-column",Je.controlFieldType=g.VARCHAR,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class dr extends Y{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}dr.controlType="varchar-column",dr.controlFieldType=g.VARCHAR;var hs={Designer:Je,Runtime:dr,Property:uu};class FC extends Ee{constructor(e){super(e),Ue.call(this,e)}}class au extends W{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:Ze.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 Be(e==null?void 0:e.linkOperationOption)}}au.Rules=FC;class Ze extends Z{constructor(e){super(e),this.props=new au(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}}Ze.controlType="text-column",Ze.controlName="\u957F\u6587\u672C",Ze.controlIcon="text-column",Ze.controlFieldType=g.TEXT,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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}];class fr extends Y{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}fr.controlType="text-column",fr.controlFieldType=g.TEXT;var ys={Designer:Ze,Runtime:fr,Property:au};class kC extends Ee{constructor(e){super(e),Ue.call(this,e)}}class ru extends W{constructor(e){var n,i,u,a,r,l,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.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 p(e==null?void 0:e.datasourceBind),this.options=_e((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new Be(e==null?void 0:e.linkOperationOption)}}ru.Rules=kC;class Ye extends Z{constructor(e){super(e),this.props=new ru(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}}Ye.controlType="decimal-column",Ye.controlName="\u6570\u503C",Ye.controlIcon="decimal-column",Ye.controlFieldType=g.DECIMAL,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class hr extends Y{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}hr.controlType="decimal-column",hr.controlFieldType=g.DECIMAL;var ms={Designer:Ye,Runtime:hr,Property:ru};class MC extends Ee{constructor(e){super(e),Ue.call(this,e)}}class lu extends W{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ae.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Be(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:pe.controlName}}lu.Rules=MC;class pe extends Z{constructor(e){super(e),this.props=new lu(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}}pe.controlType="timescope-column",pe.controlName="\u65E5\u671F\u533A\u95F4",pe.controlIcon="timescope-column",pe.controlFieldType=g.TIMESCOPE,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class yr extends Y{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}yr.controlType="timescope-column",yr.controlFieldType=g.TIMESCOPE;var vs={Designer:pe,Runtime:yr,Property:lu};class $C extends Ee{constructor(e){super(e),Ue.call(this,e)}}class ou extends W{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ae.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Be(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:et.controlName}}ou.Rules=$C;class et extends Z{constructor(e){super(e),this.props=new ou(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}}et.controlType="timestamp-column",et.controlName="\u65E5\u671F",et.controlIcon="timestamp-column",et.controlFieldType=g.TIMESTAMP,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class mr extends Y{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}mr.controlType="timestamp-column",mr.controlFieldType=g.TIMESTAMP;var gs={Designer:et,Runtime:mr,Property:ou};class NC extends jl{constructor(e){super(e)}}class cu extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.options=_e((u=e==null?void 0:e.options)!=null?u:[{}])}}cu.Rules=NC;class tt extends Z{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}tt.controlType="array-column",tt.controlName="\u6570\u7EC4",tt.controlIcon="array-column",tt.controlFieldType=g.ARRAY,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class vr extends Y{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}vr.controlType="array-column",vr.controlFieldType=g.ARRAY;var bs={Designer:tt,Runtime:vr,Property:cu};class gr extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class nt extends Z{constructor(e){super(e),this.props=new gr(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}}nt.controlType="department-column",nt.controlName="\u90E8\u95E8",nt.controlIcon="department-column",nt.controlFieldType=g.DEPARTMENTS,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class br extends Y{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}br.controlType="department-column",br.controlFieldType=g.DEPARTMENTS;var _s={Designer:nt,Runtime:br,Property:gr};class LC extends Ee{constructor(e){super(e),Ue.call(this,e)}}class su extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Be(e==null?void 0:e.linkOperationOption)}}su.Rules=LC;class it extends Z{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}it.controlType="auto-number-column",it.controlName="\u81EA\u52A8\u7F16\u53F7",it.controlIcon="auto-number-column",it.controlFieldType=g.AUTO_NUMBER,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class _r extends Y{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}_r.controlType="auto-number-column",_r.controlFieldType=g.AUTO_NUMBER;var Cs={Designer:it,Runtime:_r,Property:su};class Cr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName}}class ut extends Z{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}}ut.controlType="file-column",ut.controlName="\u9644\u4EF6",ut.controlIcon="file-column",ut.controlFieldType=g.FILE,ut.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Er extends Y{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}}Er.controlType="file-column",Er.controlFieldType=g.FILE;var Es={Designer:ut,Runtime:Er,Property:Cr};class wr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName}}class at extends Z{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}}at.controlType="image-column",at.controlName="\u56FE\u7247",at.controlIcon="image-column",at.controlFieldType=g.IMAGE,at.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ir extends Y{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}}Ir.controlType="image-column",Ir.controlFieldType=g.IMAGE;var ws={Designer:at,Runtime:Ir,Property:wr};class Sr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName}}class rt extends Z{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}}rt.controlType="people-column",rt.controlName="\u4EBA\u5458",rt.controlIcon="people-column",rt.controlFieldType=g.EMPLOYEES,rt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Tr extends Y{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}}Tr.controlType="people-column",Tr.controlFieldType=g.EMPLOYEES;var Is={Designer:rt,Runtime:Tr,Property:Sr};class VC extends Ee{constructor(e){super(e),Ue.call(this,e)}}class du extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:lt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Be(e==null?void 0:e.linkOperationOption)}}du.Rules=VC;class lt extends Z{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}lt.controlType="location-column",lt.controlName="\u5730\u5740",lt.controlIcon="location-column",lt.controlFieldType=g.ADDRESS,lt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ar extends Y{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}Ar.controlType="location-column",Ar.controlFieldType=g.ADDRESS;var Ss={Designer:lt,Runtime:Ar,Property:du};class Rr extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const HC=1;class Ne extends Z{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Rr(e==null?void 0:e.props),Ce(this,"children",e==null?void 0:e.children),this.excludes=Re(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 xn(Te({},e),{children:this.children.map(n=>n.toSchema())})}}Ne.controlType="custom-column",Ne.controlName="\u81EA\u5B9A\u4E49",Ne.controlIcon="custom-column",Ne.excludes=[],Ne.childrenMaxLength=HC,Ne.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ts extends Y{constructor(e){super(e),this.props=new Rr(e==null?void 0:e.props),Ce(this,"children",e==null?void 0:e.children)}}Ts.controlType="custom-column";var As={Designer:Ne,Runtime:Ts,Property:Rr};class Br extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName,this.datasourceBind=new Mn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Le.controlCustomAttributes})}}class Le extends Z{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Le.controlType="employee-column",Le.controlName="\u4EBA\u5458",Le.controlIcon="employee-column",Le.controlFieldType=g.EMPLOYEES,Le.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Pr extends Y{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props)}}Pr.controlType="employee-column",Pr.controlFieldType=g.EMPLOYEES;var Rs={Designer:Le,Runtime:Pr,Property:Br};class Dr extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ot.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Be(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class ot extends Z{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}}ot.controlType="approval-status-column",ot.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",ot.controlIcon="approval-status-column",ot.excludes=[],ot.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-line-ellipsis",visible:!0}];class Bs extends Y{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}}Bs.controlType="approval-status-column";var Ps={Designer:ot,Runtime:Bs,Property:Dr},jC=Object.freeze({__proto__:null,VarcharColumn:hs,TextColumn:ys,DecimalColumn:ms,TimescopeColumn:vs,TimestampColumn:gs,ArrayColumn:bs,DepartmentColumn:_s,AutoNumberColumn:Cs,FileColumn:Es,ImageColumn:ws,PeopleColumn:Is,LocationColumn:Ss,CustomColumn:As,OrderColumn:ss,OperationColumn:ds,EmployeeColumn:Rs,ApprovalStatusColumn:Ps});class qC extends je{constructor(e){super(e),this.push({type:"object",fields:{}})}}class fu extends _a{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Pe((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Pe((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(b=>new Pe(b)),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}}fu.RuntimeRules=qC;class xr extends q0{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}xr.controlType="simple-search",xr.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class Ds extends Q0{constructor(e){var n;super(e),this.props=new fu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Ds.controlType="simple-search";var xs={Designer:xr,Runtime:Ds,Property:fu},UC=Object.freeze({__proto__:null,SimpleSearch:xs});class Or extends Ta{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class WC extends cb{constructor(e){super(e),this.props=new Or(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 KC extends vb{constructor(e){super(e),this.props=new Or(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function tE(t){return t}var zC={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{type:"tab",title:"\u5C5E\u6027",items:[{items:["wholeRow"]}]}]},Os={Designer:WC,Runtime:KC,Property:Or,Setting:zC},GC=Object.freeze({__proto__:null,GridLayoutWrap:Os});y.ActionBar=os,y.Address=lc,y.AdvancedContainer=as,y.Amount=ic,y.ApprovalStatusColumn=Ps,y.ArrayColumn=bs,y.AssignType=Me,y.Attachment=po,y.AutoNumber=dc,y.AutoNumberColumn=Cs,y.BatchDeleteButton=Do,y.BatchPrintListButton=Ro,y.BatchPrintRecordListButton=Bo,y.BatchSubmissionListButton=fo,y.Button=Yl,y.Calc=hc,y.CardGroup=Uc,y.Checkbox=ko,y.Col=Vc,y.CreateFormListButton=so,y.CustomColumn=As,y.DATE_CONFIG_TYPE=pl,y.DATE_LIMIT_TYPE=eo,y.Dashboard=wo,y.DataView=is,y.DatePicker=Ho,y.DateRange=qo,y.DecimalColumn=ms,y.Department=cc,y.Department2=kc,y.DepartmentColumn=_s,y.DepartmentType=mi,y.Divider=oo,y.ElectronicSignature=Dc,y.ElectronicSignatureConfig=to,y.Employee=Yo,y.Employee2=Bc,y.EmployeeColumn=Rs,y.EncryptTypeEnum=ro,y.Explain=yi,y.ExportListButton=yo,y.ExportRecordListButton=mo,y.ExportTemplate=$a,y.FileColumn=Es,y.FlexStyleConfig=ao,y.FormSelectButton=go,y.Grid=Lc,y.GridLayoutContainer=Qc,y.GridLayoutWrap=Os,y.GridRow=qc,y.GridTable=fs,y.GridTableColumn=Xc,y.Image=tc,y.ImageColumn=ws,y.ImportRecordListButton=vo,y.Input=Oo,y.InternalType=Va,y.InvoiceCheckButton=Ao,y.LINE_STYLE=ka,y.LimitDate=hi,y.Link=Zl,y.ListSelectButton=bo,y.ListView=ts,y.ListViewSelect=So,y.LocationColumn=Ss,y.Number=Lo,y.OperationButton=Po,y.OperationColumn=ds,y.OrderColumn=ss,y.OrganizationSelection=$c,y.OrganizeType=La,y.Page=us,y.Pagination=Co,y.PeopleColumn=Is,y.Position=ls,y.PositioningContainer=rs,y.PrintTemplate=uo,y.Radio=$o,y.RichText=zo,y.Row=jc,y.SCORE_TYPE=Fa,y.SUBTABLE_DEFAULT_MAX_HEIGHT=io,y.Score=ac,y.SearchDateRange=gc,y.SearchInput=Sc,y.SearchNumberRange=mc,y.Select=Xo,y.SelectMultiple=Jo,y.SelectRelation=Ec,y.SimpleSearch=xs,y.SubTable=cs,y.SubTableColumn=Kc,y.SubTableRow=zc,y.SubmissionRecordListButton=ho,y.Tab=Zc,y.TabPane=Jc,y.Text=Jl,y.TextColumn=ys,y.TextOcrButton=To,y.Textarea=Wo,y.TimescopeColumn=vs,y.TimestampColumn=gs,y.Title=co,y.TitleConfigEnum=ke,y.Toolbox=es,y.Tree=Ac,y.UndersignedPerson=Ma,y.VarcharColumn=hs,y.VueFormItem=_c,y.WPS=Oc,y.WPSSetting=no,y.WpsOperationItem=Na,y.baseControls=Yb,y.columnControls=jC,y.formControls=z_,y.initExpression=$t,y.layoutControls=TC,y.listControls=xC,y.searchControls=UC,y.wrapControls=GC,Object.defineProperty(y,"__esModule",{value:!0})});
1
+ var zC=Object.defineProperty,GC=Object.defineProperties;var XC=Object.getOwnPropertyDescriptors;var ks=Object.getOwnPropertySymbols,QC=Object.getPrototypeOf,JC=Object.prototype.hasOwnProperty,ZC=Object.prototype.propertyIsEnumerable,YC=Reflect.get;var Ms=(y,j,K)=>j in y?zC(y,j,{enumerable:!0,configurable:!0,writable:!0,value:K}):y[j]=K,Te=(y,j)=>{for(var K in j||(j={}))JC.call(j,K)&&Ms(y,K,j[K]);if(ks)for(var K of ks(j))ZC.call(j,K)&&Ms(y,K,j[K]);return y},xn=(y,j)=>GC(y,XC(j));var Fr=(y,j,K)=>YC(QC(y),K,j);var kr=(y,j,K)=>new Promise((hu,On)=>{var yu=ge=>{try{Tt(K.next(ge))}catch(At){On(At)}},mu=ge=>{try{Tt(K.throw(ge))}catch(At){On(At)}},Tt=ge=>ge.done?hu(ge.value):Promise.resolve(ge.value).then(yu,mu);Tt((K=K.apply(y,j)).next())});(function(y,j){typeof exports=="object"&&typeof module!="undefined"?j(exports):typeof define=="function"&&define.amd?define(["exports"],j):(y=typeof globalThis!="undefined"?globalThis:y||self,j(y.modelDrivenControls={}))})(this,function(y){"use strict";var j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",hu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",On="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",yu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",mu="{caption}\u5FC5\u586B",Tt="\u8BF7\u8F93\u5165\u6807\u9898",ge="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",At="\u8BF7\u8F93\u5165\u884C\u6807\u9898",$s="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Ns="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Ls="\u8BF7\u7ED1\u5B9A\u8868\u5355",Vs="\u8BF7\u7ED1\u5B9A\u5217\u8868",Hs="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",js="\u8BF7\u8F93\u5165\u663E\u793A\u503C",qs="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Us="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Ws="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Ks="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",zs="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Gs="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Xs="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Qs="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Js="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Zs="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Ys="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",ps="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ed="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",td="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",nd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",id="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",ud="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",ad="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",rd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",ld="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",od="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",cd="\u8BF7\u7ED1\u5B9A\u670D\u52A1",sd="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",dd="\u8BF7\u9009\u62E9\u7701",fd="\u8BF7\u9009\u62E9\u5E02",hd="\u8BF7\u9009\u62E9\u533A",yd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",md="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",vd="\u8BF7\u8F93\u5165\u5217\u5BBD",gd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",bd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",_d="\u8BF7\u9009\u62E9\u63A7\u4EF6",Cd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Ed="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",wd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Id="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Sd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Td="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Ad="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Rd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Bd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Pd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Dd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",xd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Od="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Fd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",kd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Md="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",$d="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Nd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ld="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Vd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Hd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",jd="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",qd="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Ud="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Wd="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Kd="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",zd={isNotNumber:j,isNotString:K,isNotObject:hu,isNotArray:On,isNotBoolean:yu,runtimeRequired:mu,pleaseEnterCaption:Tt,pleaseEnterCaptionTip:ge,pleaseEnterRowCaption:At,pleaseEnterPlaceholder:$s,pleaseEnterFieldCode:Ns,pleaseEnterForm:Ls,pleaseEnterList:Vs,pleaseEnterProcess:Hs,pleaseEnterLabel:js,pleaseEnterValue:qs,bizKeyNotBindFiled:Us,pleaseSelectOneField:Ws,pleaseEnterNumberRange:Ks,pleaseEnterAValueGreaterThanMin:zs,pleaseEnterAValueLessThanMax:Gs,numberRangeSetError:Xs,stringRangeError:Qs,attachmentMaxSize:Js,pleaseEnterTotalScoreSetting:Zs,theTotalScoreMustNotBeLessThan1:Ys,scoreDefaultValueRange:ps,attachmentLimitError:ed,PleaseReselectTheOptionalQuantity:td,TheMaximumLengthIsGreaterThanTheMinimumLength:nd,TheMinimumLengthIsGreaterThanTheMaximumLength:id,PleaseSelectTheCorrectOptionSettings:ud,optionIdIsRepeat:ad,optionIsRequired:rd,pleaseEnterDataCode:ld,pleaseEnterValueFieldCode:od,pleaseEnterSvcCode:cd,pleaseBindAtLeastOneDisplayValue:sd,pleaseSelectProvince:dd,pleaseSelectCity:fd,pleaseSelectDistrict:hd,limitRowsCannotBeLessThan0:yd,TheNumberOfRowsCannotBeLessThanMinRows:md,pleaseEnterColumnWidth:vd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:gd,pleaseCompleteAllRulesAndConditions:bd,pleaseSelectControl:_d,pleaseSelectAtLeastOneColumn:Cd,pleaseSelectFillBackMode:Ed,pleaseSelectDashboard:wd,rootNodeIsRequired:Id,theViewNameCannotBeEmpty:Sd,pleaseSelectOcrType:Td,pleaseSelectAtLeastOneFieldToFillIn:Ad,pleaseChooseAtLeastOne:Rd,pleaseEnterButtonContent:Bd,pleaseEnterDataCodeInDataSetting:Pd,pleaseEnterValueFieldCodeInDataSetting:Dd,pleaseEnterSvcCodeInDataSetting:xd,pleaseBindAtLeastOneDisplayValueInDataSetting:Od,rootNodeIsRequiredInDataSetting:Fd,pleaseEnterMaxHeight:kd,pleaseEnter:Md,pleaseEnterWatermark:$d,pleaseEnterFileName:Nd,pleaseUploadAtLeastOnePrintTemplate:Ld,pleaseAssignBusiness:Vd,pleaseAssignExternal:Hd,pleaseEnterAliasCode:jd,pleaseSelectDataCode:qd,pleaseSelectSvcCode:Ud,pleaseSelectJoinFieldCode:Wd,pleaseSelectMainFieldCode:Kd},Gd="Please enter a number",Xd="Please enter a string",Qd="Please enter an object",Jd="Please enter an array",Zd="Please enter a boolean",Yd="{caption} Required",pd="Please enter the title",ef="Please enter the bubble prompt",tf="Please enter the row title",nf="Please enter the prompt text",uf="Please bind data items",af="Please bind the form",rf="Please bind the list",lf="Please bind the process",of="Please enter the displayed value",cf="Please enter the stored value",sf="The document number is not bound to the data item",df="Please select at least one display field",ff="Please enter a value greater than or equal to {min} and less than or equal to {max}",hf="Please enter a value greater than or equal to {min}",yf="Please enter a value less than or equal to {max}",mf="The value range is set incorrectly",vf="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",gf="The attachment size must be between 0MB and 1000MB",bf="Please fill in the total score setting",_f="The total score cannot be less than 1",Cf="The default value must be between {min} and {max}",Ef="The number of attachments uploaded must be between {min} and {max}",wf="Please re-select the optional quantity",If="The maximum length of the control must be greater than the minimum length",Sf="The minimum length of the control must be less than the maximum length",Tf="Please select the correct option setting",Af="Option ID cannot be repeated",Rf="Please enter at least one option",Bf="Please bind the data source",Pf="Please bind the stored value",Df="Please bind the service",xf="At least one display value must be bound",Of="Please select a province",Ff="Please select a city",kf="Please select a district",Mf="The minimum number of lines to fill in cannot be less than 0",$f="The number of rows cannot be less than {min} rows",Nf="Please enter the column width",Lf="Please set the logical relationship of all rule conditions",Vf="Please complete all rules and conditions",Hf="please select control",jf="Please select the dashboard",qf="View name cannot be empty",Uf="Please select recognition type",Wf="Please select at least one field to fill in",Kf="Please select at least one",zf="Please enter the button title",Gf="Please bind the business model in the data settings",Xf="Please bind storage values in data settings",Qf="Please bind the service in the data settings",Jf="Please bind at least one display value in the data settings",Zf="Please select the root node in the data settings",Yf="Please enter the maximum height",pf="The input content cannot be empty",eh="Watermark cannot be empty",th="File name cannot be empty",nh="Please upload at least one printing template!\uFF01",ih="Please select a specific business department",uh="Please select a specified external organization",ah="Please enter a sub table alias",rh="Please select the associated table to set the business model",lh="Please select the association table to set the binding service",oh="Select associated sub table fields",ch="Please select the associated main table field",sh={isNotNumber:Gd,isNotString:Xd,isNotObject:Qd,isNotArray:Jd,isNotBoolean:Zd,runtimeRequired:Yd,pleaseEnterCaption:pd,pleaseEnterCaptionTip:ef,pleaseEnterRowCaption:tf,pleaseEnterPlaceholder:nf,pleaseEnterFieldCode:uf,pleaseEnterForm:af,pleaseEnterList:rf,pleaseEnterProcess:lf,pleaseEnterLabel:of,pleaseEnterValue:cf,bizKeyNotBindFiled:sf,pleaseSelectOneField:df,pleaseEnterNumberRange:ff,pleaseEnterAValueGreaterThanMin:hf,pleaseEnterAValueLessThanMax:yf,numberRangeSetError:mf,stringRangeError:vf,attachmentMaxSize:gf,pleaseEnterTotalScoreSetting:bf,theTotalScoreMustNotBeLessThan1:_f,scoreDefaultValueRange:Cf,attachmentLimitError:Ef,PleaseReselectTheOptionalQuantity:wf,TheMaximumLengthIsGreaterThanTheMinimumLength:If,TheMinimumLengthIsGreaterThanTheMaximumLength:Sf,PleaseSelectTheCorrectOptionSettings:Tf,optionIdIsRepeat:Af,optionIsRequired:Rf,pleaseEnterDataCode:Bf,pleaseEnterValueFieldCode:Pf,pleaseEnterSvcCode:Df,pleaseBindAtLeastOneDisplayValue:xf,pleaseSelectProvince:Of,pleaseSelectCity:Ff,pleaseSelectDistrict:kf,limitRowsCannotBeLessThan0:Mf,TheNumberOfRowsCannotBeLessThanMinRows:$f,pleaseEnterColumnWidth:Nf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Lf,pleaseCompleteAllRulesAndConditions:Vf,pleaseSelectControl:Hf,pleaseSelectDashboard:jf,theViewNameCannotBeEmpty:qf,pleaseSelectOcrType:Uf,pleaseSelectAtLeastOneFieldToFillIn:Wf,pleaseChooseAtLeastOne:Kf,pleaseEnterButtonContent:zf,pleaseEnterDataCodeInDataSetting:Gf,pleaseEnterValueFieldCodeInDataSetting:Xf,pleaseEnterSvcCodeInDataSetting:Qf,pleaseBindAtLeastOneDisplayValueInDataSetting:Jf,rootNodeIsRequiredInDataSetting:Zf,pleaseEnterMaxHeight:Yf,pleaseEnter:pf,pleaseEnterWatermark:eh,pleaseEnterFileName:th,pleaseUploadAtLeastOnePrintTemplate:nh,pleaseAssignBusiness:ih,pleaseAssignExternal:uh,pleaseEnterAliasCode:ah,pleaseSelectDataCode:rh,pleaseSelectSvcCode:lh,pleaseSelectJoinFieldCode:oh,pleaseSelectMainFieldCode:ch},dh="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fh="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hh="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yh="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mh="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",vh="{caption}\u5FC5\u9808",gh="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bh="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_h="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ch="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Eh="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",wh="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ih="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Sh="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Th="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ah="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rh="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Bh="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ph="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Dh="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xh="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Oh="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Fh="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",kh="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Mh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",$h="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Nh="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Lh="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Vh="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Hh="\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",jh="\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",qh="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Uh="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Wh="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Kh="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",zh="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Gh="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xh="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Qh="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Jh="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Zh="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Yh="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ph="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ey="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ty="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ny="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",iy="please select control",uy="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ay="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",ry="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ly="\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",oy="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",cy="\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",dy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",fy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",hy="\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",yy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",my="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vy="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",gy="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",by="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",_y="\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",Cy="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ey="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wy="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Iy="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Sy="\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",Ty="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Ay="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ry={isNotNumber:dh,isNotString:fh,isNotObject:hh,isNotArray:yh,isNotBoolean:mh,runtimeRequired:vh,pleaseEnterCaption:gh,pleaseEnterCaptionTip:bh,pleaseEnterRowCaption:_h,pleaseEnterPlaceholder:Ch,pleaseEnterFieldCode:Eh,pleaseEnterForm:wh,pleaseEnterList:Ih,pleaseEnterProcess:Sh,pleaseEnterLabel:Th,pleaseEnterValue:Ah,bizKeyNotBindFiled:Rh,pleaseSelectOneField:Bh,pleaseEnterNumberRange:Ph,pleaseEnterAValueGreaterThanMin:Dh,pleaseEnterAValueLessThanMax:xh,numberRangeSetError:Oh,stringRangeError:Fh,attachmentMaxSize:kh,pleaseEnterTotalScoreSetting:Mh,theTotalScoreMustNotBeLessThan1:$h,scoreDefaultValueRange:Nh,attachmentLimitError:Lh,PleaseReselectTheOptionalQuantity:Vh,TheMaximumLengthIsGreaterThanTheMinimumLength:Hh,TheMinimumLengthIsGreaterThanTheMaximumLength:jh,PleaseSelectTheCorrectOptionSettings:qh,optionIdIsRepeat:Uh,optionIsRequired:Wh,pleaseEnterDataCode:Kh,pleaseEnterValueFieldCode:zh,pleaseEnterSvcCode:Gh,pleaseBindAtLeastOneDisplayValue:Xh,pleaseSelectProvince:Qh,pleaseSelectCity:Jh,pleaseSelectDistrict:Zh,limitRowsCannotBeLessThan0:Yh,TheNumberOfRowsCannotBeLessThanMinRows:ph,pleaseEnterColumnWidth:ey,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ty,pleaseCompleteAllRulesAndConditions:ny,pleaseSelectControl:iy,pleaseSelectDashboard:uy,theViewNameCannotBeEmpty:ay,pleaseSelectOcrType:ry,pleaseSelectAtLeastOneFieldToFillIn:ly,pleaseChooseAtLeastOne:oy,pleaseEnterButtonContent:cy,pleaseEnterDataCodeInDataSetting:sy,pleaseEnterValueFieldCodeInDataSetting:dy,pleaseEnterSvcCodeInDataSetting:fy,pleaseBindAtLeastOneDisplayValueInDataSetting:hy,rootNodeIsRequiredInDataSetting:yy,pleaseEnterMaxHeight:my,pleaseEnter:vy,pleaseEnterWatermark:gy,pleaseEnterFileName:by,pleaseUploadAtLeastOnePrintTemplate:_y,pleaseAssignBusiness:Cy,pleaseAssignExternal:Ey,pleaseEnterAliasCode:wy,pleaseSelectDataCode:Iy,pleaseSelectSvcCode:Sy,pleaseSelectJoinFieldCode:Ty,pleaseSelectMainFieldCode:Ay},By={zhCN:zd,enUS:sh,jaJP:Ry},Mr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Mr||(Mr={}));var $r;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})($r||($r={}));var Py="zh-CN";function re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ct;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(ct||(ct={}));var E;(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.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"})(E||(E={}));var g;(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"})(g||(g={}));var ne;ne={},re(ne,g.ARRAY,E.ARRAY_COLUMN),re(ne,g.AUTO_NUMBER,E.AUTO_NUMBER_COLUMN),re(ne,g.DECIMAL,E.DECIMAL_COLUMN),re(ne,g.DEPARTMENTS,E.DEPARTMENT_COLUMN),re(ne,g.FILE,E.FILE_COLUMN),re(ne,g.IMAGE,E.IMAGE_COLUMN),re(ne,g.ADDRESS,E.LOCATION_COLUMN),re(ne,g.EMPLOYEES,E.EMPLOYEE_COLUMN),re(ne,g.TEXT,E.TEXT_COLUMN),re(ne,g.TIMESCOPE,E.TIMESCOPE_COLUMN),re(ne,g.TIMESTAMP,E.TIMESTAMP_COLUMN),re(ne,g.VARCHAR,E.VARCHAR_COLUMN),re(ne,g.RELATION,E.VARCHAR_COLUMN);var Ae;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Ae||(Ae={}));var Nr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Dy=Nr+"0123456789";function be(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Nr:Dy,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function vu(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 xy(t){if(Array.isArray(t))return vu(t)}function Oy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fy(){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 Fn(t,e,n){return Fy()?Fn=Reflect.construct:Fn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Bt(o,r.prototype),o},Fn.apply(null,arguments)}function Rt(t){return Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rt(t)}function Vr(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&&Bt(t,e)}function ky(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function My(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function $y(){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 Ny(t,e){return e&&(Ly(e)==="object"||typeof e=="function")?e:Oy(t)}function Bt(t,e){return Bt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Bt(t,e)}function Hr(t){return xy(t)||My(t)||Vy(t)||$y()}var Ly=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Vy(t,e){if(!!t){if(typeof t=="string")return vu(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 vu(t,e)}}function gu(t){var e=typeof Map=="function"?new Map:void 0;return gu=function(i){if(i===null||!ky(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 Fn(i,arguments,Rt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Bt(u,i)},gu(t)}function Hy(){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 jr(t){var e=Hy();return function(){var i=Rt(t),u;if(e){var a=Rt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ny(this,u)}}var bu=console;function _u(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=bu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Hr(u)))}function qr(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=bu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Hr(u)))}function jy(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Cu=function(t){Vr(n,t);var e=jr(n);function n(i){Lr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?jy(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(gu(Error)),qy=function(t){Vr(n,t);var e=jr(n);function n(i){Lr(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Cu);function Pt(t){throw new Cu(t)}function Ur(t){throw new qy(t)}function Uy(t){bu.error(new Cu(t))}var Wy=Object.prototype.toString;function Wr(t,e){return Wy.call(t)==="[object "+e+"]"}function Ky(t){return Wr(t,"String")}function zy(t){return Wr(t,"Promise")}var Gy=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();zy(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,a,r,l){if(u!==void 0){var s=u[a];if(!(r===l.length-1&&!Ky(s)))return s}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var a=n[u];return a!==void 0?String(a):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function Xy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kr(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 Qy(t,e,n){return e&&Kr(t.prototype,e),n&&Kr(t,n),t}function Jy(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(){Xy(this,t)}return Qy(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]:Py;return new Gy({locale:n,messages:By})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();Jy(f,"$i18n",f.resetI18n());function Zy(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,s){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){_u("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===s.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var Yy=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},py={exports:{}};(function(t){(function(e){var n=function(m,w,R){if(!o(w)||v(w)||b(w)||C(w)||s(w))return w;var D,O=0,ce=0;if(d(w))for(D=[],ce=w.length;O<ce;O++)D.push(n(m,w[O],R));else{D={};for(var F in w)Object.prototype.hasOwnProperty.call(w,F)&&(D[m(F,R)]=n(m,w[F],R))}return D},i=function(m,w){w=w||{};var R=w.separator||"_",D=w.split||/(?=[A-Z])/;return m.split(D).join(R)},u=function(m){return I(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(w,R){return R?R.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,s=function(m){return typeof m=="function"},o=function(m){return m===Object(m)},d=function(m){return l.call(m)=="[object Array]"},v=function(m){return l.call(m)=="[object Date]"},b=function(m){return l.call(m)=="[object RegExp]"},C=function(m){return l.call(m)=="[object Boolean]"},I=function(m){return m=m-0,m===m},_=function(m,w){var R=w&&"process"in w?w.process:w;return typeof R!="function"?m:function(D,O){return R(D,m,O)}},S={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=S:e.humps=S})(Yy)})(py);var zr={};Object.defineProperty(zr,"__esModule",{value:!0});function Eu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Eu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Eu(i)}return e}}var em=zr.default=Eu;function Re(t){if(t!==void 0)return typeof t=="object"?em(t):t}function tm(t){return Object.prototype.toString.call(t)==="[object Object]"}function wu(t){return Array.isArray(t)}function nm(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),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 im(t){if(Array.isArray(t))return Iu(t)}function Gr(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function um(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){Gr(a,i,u,r,l,"next",s)}function l(s){Gr(a,i,u,r,l,"throw",s)}r(void 0)})}}function am(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xr(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 rm(t,e,n){return e&&Xr(t.prototype,e),n&&Xr(t,n),t}function Qr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function om(){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 Su(t){return im(t)||lm(t)||cm(t)||om()}function cm(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)}}var sm=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},dm=function(){function t(){am(this,t),Qr(this,"_events",new Map),Qr(this,"debug",!1)}return rm(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 um(function(){var l,s,o,d,v,b,C,I,_,S,m,w;return sm(this,function(R){switch(R.label){case 0:if(l=r._events.get(n),s=[],!l)return[3,10];o=l.slice(),d=!0,v=!1,b=void 0,R.label=1;case 1:R.trys.push([1,8,9,10]),C=o[Symbol.iterator](),R.label=2;case 2:if(d=(I=C.next()).done)return[3,7];if(_=I.value,!l.includes(_))return[3,6];R.label=3;case 3:return R.trys.push([3,5,,6]),r.debug&&qr.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(Su(u))),[4,_.apply(null,Su(u))];case 4:return S=R.sent(),r.debug&&qr.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(Su(u),[S])),s.push(S),S===!1?[3,7]:[3,6];case 5:return m=R.sent(),Uy(String(m)+":"+String(m.stack)),[3,6];case 6:return d=!0,[3,2];case 7:return[3,10];case 8:return w=R.sent(),v=!0,b=w,[3,10];case 9:try{!d&&C.return!=null&&C.return()}finally{if(v)throw b}return[7];case 10:return[2,s]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function fm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function hm(t,e,n){return e&&Jr(t.prototype,e),n&&Jr(t,n),t}function ym(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var mm=[{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"}],vm=function(){function t(){fm(this,t)}return hm(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}();ym(vm,"events",mm);function gm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zr(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 bm(t,e,n){return e&&Zr(t.prototype,e),n&&Zr(t,n),t}function Ve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Yr=[],Tu=function(){function t(e){gm(this,t),Ve(this,"registeredControlTypes",new Set),Ve(this,"controlConfigMap",new Map),Ve(this,"_controls",[]),Ve(this,"_type",void 0),this._type=e,this._initControls(e)}return bm(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__||Pt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(_u("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===ct.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===ct.FORM}},{key:"isListControl",value:function(n){return n.controlType===ct.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===ct.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(d){return u.createControl(d,i)});if(n.children&&(n.children=n.children.map(function(d){return u.createControl(d,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(d){return u.createControl(d,i)})),a.footers&&(a.footers=a.footers.map(function(d){var v;return d&&(v=u.createControl(d,i)),v}))}var r=this.getControlFormType(n.type);if(r){var l=n;if(typeof i=="function"){var s=i(l);s&&(l=s)}var o=new r(l);return o}else Pt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{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])})}}],[{key:"register",value:function(n){var i=n.Designer,u=n.Runtime;(!i||!u||!i.__is_control__||!u.__is_control__)&&Pt("".concat(n," is can't register as a Control"));var a=this.staticControls.findIndex(function(r){return r.Designer.controlType===i.controlType});return a>-1&&(_u("The ".concat(i.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(i.controlType),this.staticControls.push(n),this}}]),t}();Ve(Tu,"staticControls",Yr),Ve(Tu,"staticRegisteredTypes",new Set(Yr.map(function(t){return t.Designer.controlType}))),Ve(Tu,"staticRegisteredConfigs",new Map);function k(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function T(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 kn(t){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kn(t)}function fe(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&&Au(t,e)}function _m(t,e){return e&&(Cm(e)==="object"||typeof e=="function")?e:k(t)}function Au(t,e){return Au=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Au(t,e)}var Cm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Em(){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 he(t){var e=Em();return function(){var i=kn(t),u;if(e){var a=kn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return _m(this,u)}}var me=function t(e){T(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},pr=function t(e){T(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},Ru=function(t){fe(n,t);var e=he(n);function n(i){T(this,n);var u;u=e.call(this,i),h(k(u),"width",void 0),h(k(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}(pr),wm=function t(e){T(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new Ru(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Ru(e==null?void 0:e.mobile):new Ru({width:130,minWidth:180})},Im=function t(e){T(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:[]},st=function t(e){T(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:""},Sm=function(t){fe(n,t);var e=he(n);function n(i){T(this,n);var u;u=e.call(this,i),h(k(u),"primaryControlId",void 0);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(st),el=function t(e){T(this,t),h(this,"fieldCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Bu=function t(e){T(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 el(r)}))!==null&&a!==void 0?a:[]},Tm=function t(e){T(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:g.VARCHAR},Am=function(t){fe(n,t);var e=he(n);function n(i){T(this,n);var u;u=e.call(this,i),h(k(u),"title",void 0),h(k(u),"svcCode",void 0),h(k(u),"isOpenFilter",void 0),h(k(u),"filters",void 0);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var s;return u.filters=(s=i==null?void 0:i.filters)!==null&&s!==void 0?s:[],u}return n}(st),Rm=function t(e){T(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 st(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 Tm(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 Am(r)}))!==null&&a!==void 0?a:[]},Bm=function t(e){T(this,t),h(this,"type",void 0),h(this,"value",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},Dt=function t(e){T(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:[]},tl=function t(e){var n=this;T(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:be();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var s,o=new t(l);(s=n.children)===null||s===void 0||s.push(o)}else{var d,v=new Pu(l);(d=n.children)===null||d===void 0||d.push(v)}}))},Pu=function t(e){T(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:be();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 Bm(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Dt(e==null?void 0:e.rightVariableBo)},Pm=function t(e){T(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 p(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},ae=function t(e){T(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:""},Du=function t(e){T(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},Dm=function t(e){T(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 xu(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 tl(l):new Pu(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 tl(l):new Pu(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 Dm(l)}))!==null&&r!==void 0?r:[]}var p=function t(e){var n=this;T(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 Du(d))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var s;this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",xu.call(this,e)},Ou=function t(e){T(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:[]},Be=function t(e){T(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,"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;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var o;this.needConfirm=(o=e==null?void 0:e.needConfirm)!==null&&o!==void 0?o:!1;var d;this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal";var v;this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!==null&&v!==void 0?v:!0},nl=function t(e){T(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 Du(r)}))!==null&&a!==void 0?a:[]},Mn=function(t){fe(n,t);var e=he(n);function n(i){T(this,n);var u,a;u=e.call(this,i),h(k(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 nl(l)}))!==null&&r!==void 0?r:[],u}return n}(p),xm=function(t){fe(n,t);var e=he(n);function n(i){T(this,n);var u,a;u=e.call(this,i),h(k(u),"attributes",void 0),h(k(u),"formCode",void 0);var r;u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(s){return new nl(s)}))!==null&&r!==void 0?r:[];var l;return u.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",u}return n}(p),il=function(t){fe(n,t);var e=he(n);function n(i){T(this,n);var u;u=e.call(this,i),h(k(u),"rootNode",void 0),h(k(u),"filterCode",void 0),u.rootNode=new Dt(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}(Mn),ul=function t(e){T(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 ae(r)}))!==null&&a!==void 0?a:[]},al=function(t){fe(n,t);var e=he(n);function n(i){T(this,n);var u;return u=e.call(this,i),h(k(u),"filters",void 0),h(k(u),"viewFilters",void 0),h(k(u),"orders",void 0),xu.call(k(u),i),u}return n}(ul),rl=function(t){fe(n,t);var e=he(n);function n(i){T(this,n);var u;u=e.call(this,i),h(k(u),"mode",void 0),h(k(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}(ul),ll=function t(e){T(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:""},Om=function t(e){T(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:be(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 _e(t){var e;return(e=t==null?void 0:t.map(function(n){return new Om(n)}))!==null&&e!==void 0?e:[]}var Fu=function t(){T(this,t)},Fm=function(t){fe(n,t);var e=he(n);function n(i){T(this,n);var u;return u=e.call(this),h(k(u),"amount",void 0),h(k(u),"currency",void 0),u.amount=new me(i==null?void 0:i.amount),u.currency=new me(i==null?void 0:i.currency),u}return n}(Fu),km=function t(e){T(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:$n.CNY},Mm=function(t){fe(n,t);var e=he(n);function n(i){T(this,n);var u;return u=e.call(this),h(k(u),"min",void 0),h(k(u),"max",void 0),u.min=new me(i==null?void 0:i.min),u.max=new me(i==null?void 0:i.max),u}return n}(Fu),$m=function t(e){T(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:""},Nm=function t(e){T(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:""},Lm=function(t){fe(n,t);var e=he(n);function n(i){T(this,n);var u;return u=e.call(this),h(k(u),"result",void 0),h(k(u),"unit",void 0),u.result=new me(i==null?void 0:i.result),u.unit=new me(i==null?void 0:i.unit),u}return n}(Fu),Vm=function t(e){T(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:""},$n;(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"})($n||($n={}));var c;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste"})(c||(c={}));var ku;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(ku||(ku={}));var Pe=function t(e){T(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},Hm=function t(e){T(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:be(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 el(r)}))!==null&&a!==void 0?a:[],xu.call(this,e)},jm=function t(e){T(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"},qm=function t(e){T(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:""};function Um(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wm(){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 Nn(t,e,n){return Wm()?Nn=Reflect.construct:Nn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Ot(o,r.prototype),o},Nn.apply(null,arguments)}function He(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function xt(t){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xt(t)}function Km(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&&Ot(t,e)}function zm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Gm(t,e){return e&&(Xm(e)==="object"||typeof e=="function")?e:Um(t)}function Ot(t,e){return Ot=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ot(t,e)}var Xm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function $u(t){var e=typeof Map=="function"?new Map:void 0;return $u=function(i){if(i===null||!zm(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 Nn(i,arguments,xt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ot(u,i)},$u(t)}function Qm(){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 Jm(t){var e=Qm();return function(){var i=xt(t),u;if(e){var a=xt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Gm(this,u)}}var z=function t(e){Mu(this,t),He(this,"isHide",{type:"boolean"})},je=function(t){Km(n,t);var e=Jm(n);function n(i){return Mu(this,n),e.call(this)}return n}($u(Array)),X=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Mu(this,t),He(this,"isHide",void 0),He(this,"className",void 0),He(this,"style",void 0),He(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new jm(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};He(X,"Rules",z),He(X,"RuntimeRules",je);function ve(){return ve=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},ve.apply(this,arguments)}function Zm(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Nu(t){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nu(t)}function Ln(t,e){return Ln=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ln(t,e)}function Ym(){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 Vn(t,e,n){return Ym()?Vn=Reflect.construct:Vn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Ln(o,r.prototype),o},Vn.apply(null,arguments)}function pm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Lu(t){var e=typeof Map=="function"?new Map:void 0;return Lu=function(i){if(i===null||!pm(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 Vn(i,arguments,Nu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ln(u,i)},Lu(t)}var ev=/%[sdj%]/g,ol=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(ol=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Vu(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 le(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(ev,function(l){if(l==="%%")return"%";if(i>=a)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return l}});return r}return u}function tv(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function G(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||tv(e)&&typeof t=="string"&&!t)}function nv(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 cl(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 iv(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var sl=function(t){Zm(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}(Lu(Error));function uv(t,e,n,i){if(e.first){var u=new Promise(function(v,b){var C=function(S){return i(S),S.length?b(new sl(S,Vu(S))):v()},I=iv(t);cl(I,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,s=0,o=[],d=new Promise(function(v,b){var C=function(_){if(o.push.apply(o,_),s++,s===l)return i(o),o.length?b(new sl(o,Vu(o))):v()};r.length||(i(o),v()),r.forEach(function(I){var _=t[I];a.indexOf(I)!==-1?cl(_,n,C):nv(_,n,C)})});return d.catch(function(v){return v}),d}function dl(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 fl(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]=ve(ve({},t[n]),i):t[n]=i}}return t}function hl(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||G(e,a||t.type))&&i.push(le(u.messages.required,t.fullField))}function av(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(le(u.messages.whitespace,t.fullField))}var Hu={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},Ft={integer:function(e){return Ft.number(e)&&parseInt(e,10)===e},float:function(e){return Ft.number(e)&&!Ft.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"&&!Ft.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Hu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Hu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Hu.hex)}};function rv(t,e,n,i,u){if(t.required&&e===void 0){hl(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?Ft[r](e)||i.push(le(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(le(u.messages.types[r],t.fullField,t.type))}function lv(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,d=null,v=typeof e=="number",b=typeof e=="string",C=Array.isArray(e);if(v?d="number":b?d="string":C&&(d="array"),!d)return!1;C&&(o=e.length),b&&(o=e.replace(s,"_").length),a?o!==t.len&&i.push(le(u.messages[d].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(le(u.messages[d].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(le(u.messages[d].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(le(u.messages[d].range,t.fullField,t.min,t.max))}var dt="enum";function ov(t,e,n,i,u){t[dt]=Array.isArray(t[dt])?t[dt]:[],t[dt].indexOf(e)===-1&&i.push(le(u.messages[dt],t.fullField,t[dt].join(", ")))}function cv(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(le(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(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var A={required:hl,whitespace:av,type:rv,range:lv,enum:ov,pattern:cv};function sv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"string")&&!t.required)return n();A.required(t,e,i,a,u,"string"),G(e,"string")||(A.type(t,e,i,a,u),A.range(t,e,i,a,u),A.pattern(t,e,i,a,u),t.whitespace===!0&&A.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(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.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(e===""&&(e=void 0),G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function hv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function yv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),G(e)||A.type(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(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function vv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function gv(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();A.required(t,e,i,a,u,"array"),e!=null&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function bv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}var _v="enum";function Cv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A[_v](t,e,i,a,u)}n(a)}function Ev(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"string")&&!t.required)return n();A.required(t,e,i,a,u),G(e,"string")||A.pattern(t,e,i,a,u)}n(a)}function wv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"date")&&!t.required)return n();if(A.required(t,e,i,a,u),!G(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),A.type(t,l,i,a,u),l&&A.range(t,l.getTime(),i,a,u)}}n(a)}function Iv(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;A.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(G(e,a)&&!t.required)return n();A.required(t,e,i,r,u,a),G(e,a)||A.type(t,e,i,r,u)}n(r)}function Sv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u)}n(a)}var kt={string:sv,method:dv,number:fv,boolean:hv,regexp:yv,integer:mv,float:vv,array:gv,object:bv,enum:Cv,pattern:Ev,date:wv,url:ju,hex:ju,email:ju,required:Iv,any:Sv};function qu(){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 Uu=qu();function De(t){this.rules=null,this._messages=Uu,this.define(t)}De.prototype={messages:function(e){return e&&(this._messages=fl(qu(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function s(_){var S,m=[],w={};function R(D){if(Array.isArray(D)){var O;m=(O=m).concat.apply(O,D)}else m.push(D)}for(S=0;S<_.length;S++)R(_[S]);m.length?w=Vu(m):(m=null,w=null),l(m,w)}if(r.messages){var o=this.messages();o===Uu&&(o=qu()),fl(o,r.messages),r.messages=o}else r.messages=this.messages();var d,v,b={},C=r.keys||Object.keys(this.rules);C.forEach(function(_){d=u.rules[_],v=a[_],d.forEach(function(S){var m=S;typeof m.transform=="function"&&(a===e&&(a=ve({},a)),v=a[_]=m.transform(v)),typeof m=="function"?m={validator:m}:m=ve({},m),m.validator=u.getValidationMethod(m),m.field=_,m.fullField=m.fullField||_,m.type=u.getType(m),m.validator&&(b[_]=b[_]||[],b[_].push({rule:m,value:v,source:a,field:_}))})});var I={};return uv(b,r,function(_,S){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 R(ce,F){return ve(ve({},F),{},{fullField:m.fullField+"."+ce})}function D(ce){ce===void 0&&(ce=[]);var F=ce;if(Array.isArray(F)||(F=[F]),!r.suppressWarning&&F.length&&De.warning("async-validator:",F),F.length&&m.message!==void 0&&(F=[].concat(m.message)),F=F.map(dl(m)),r.first&&F.length)return I[m.field]=1,S(F);if(!w)S(F);else{if(m.required&&!_.value)return m.message!==void 0?F=[].concat(m.message).map(dl(m)):r.error&&(F=[r.error(m,le(r.messages.required,m.field))]),S(F);var se={};if(m.defaultField)for(var Pn in _.value)_.value.hasOwnProperty(Pn)&&(se[Pn]=m.defaultField);se=ve(ve({},se),_.rule.fields);for(var Ie in se)if(se.hasOwnProperty(Ie)){var fu=Array.isArray(se[Ie])?se[Ie]:[se[Ie]];se[Ie]=fu.map(R.bind(null,Ie))}var Dn=new De(se);Dn.messages(r.messages),_.rule.options&&(_.rule.options.messages=r.messages,_.rule.options.error=r.error),Dn.validate(_.value,_.rule.options||r,function(St){var Se=[];F&&F.length&&Se.push.apply(Se,F),St&&St.length&&Se.push.apply(Se,St),S(Se.length?Se:null)})}}var O;m.asyncValidator?O=m.asyncValidator(m,_.value,D,_.source,r):m.validator&&(O=m.validator(m,_.value,D,_.source,r),O===!0?D():O===!1?D(m.message||m.field+" fails"):O instanceof Array?D(O):O instanceof Error&&D(O.message)),O&&O.then&&O.then(function(){return D()},function(ce){return D(ce)})},function(_){s(_)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!kt.hasOwnProperty(e.type))throw new Error(le("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"?kt.required:kt[this.getType(e)]||!1}},De.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");kt[e]=n},De.warning=ol,De.messages=Uu,De.validators=kt;var Tv={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 Av(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new De(t);return n.messages(Object.assign(Tv,e)),n}var Rv=new dm;function Wu(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 Bv(t){if(Array.isArray(t))return t}function Pv(t){if(Array.isArray(t))return Wu(t)}function yl(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function ml(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){yl(a,i,u,r,l,"next",s)}function l(s){yl(a,i,u,r,l,"throw",s)}r(void 0)})}}function Dv(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 xv(t,e,n){return e&&vl(t.prototype,e),n&&vl(t,n),t}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gl(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function bl(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ov(){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 Fv(){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 _l(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){M(t,u,n[u])})}return t}function kv(t){return Bv(t)||bl(t)||Cl(t)||Ov()}function Ku(t){return Pv(t)||bl(t)||Cl(t)||Fv()}function Cl(t,e){if(!!t){if(typeof t=="string")return Wu(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 Wu(t,e)}}var El=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},$=function(){function e(n){var i=this;Dv(this,e),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"updateSetting",Il),M(this,"removeSetting",wl),this._callControlHooks("preInstance",n);var u=gl(this,e)?this.constructor:void 0,a=u.controlName,r=u.controlIcon,l=u.controlType,s=u.controlFieldType,o=u.controlEventKeys,d=u.controlCustomEvents,v=u.name,b=u.setting;a&&r&&l||Ur("The ".concat(v," controlName,controlIcon,controlType is not define"));var C;this.id=(C=n==null?void 0:n.id)!==null&&C!==void 0?C:be(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,(gl(this,e)?this.constructor:void 0).controlName);var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base",this.setting=Re(b);var S;this.fieldType=(S=n==null?void 0:n.fieldType)!==null&&S!==void 0?S:s,this.eventKeys=Re(o),this.customEvents=Re(d),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=kv(u),s=l[0],o=l.slice(1);return(r=Rv).emit.apply(r,[s,this].concat(Ku(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),Zy(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return ml(function(){var u,a,r;return El(this,function(l){switch(l.label){case 0:return u=_l({},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 ml(function(){var r,l,s,o;return El(this,function(d){switch(d.label){case 0:return[4,a.preValidate()];case 1:r=d.sent(),l=r!==void 0?r:_l({},a.rules),Array.isArray(u)&&u.forEach(function(v){l.hasOwnProperty(v)&&delete l[v]}),s=Av(l,i),d.label=2;case 2:return d.trys.push([2,4,,5]),[4,s.validate(a.props)];case 3:return d.sent(),[2,!0];case 4:throw o=d.sent(),o.control||(o.control=a),o;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,r=this.type,l=this.props,s=l.dataBind,o=l.datasourceBind,d=l.optionConfig,v=l.caption,b=l.required,C=l.maxLength,I=l.options,_=l.encrypted,S=l.encryptedMode;if(!(!u&&!s&&!o)){var m={parentId:i,fieldType:u,controlId:a,caption:v,type:r,props:{}};switch(s&&(m.dataBind=s),d){case"datasource":case void 0:o&&(m.datasourceBind=o);break;case"custom":m.props.options=I;break}return b!==void 0&&(m.required=b),C!==void 0&&(m.maxLength=C),_!==void 0&&(m.encrypted=_),S!==void 0&&(m.encryptedMode=S),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Re(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,Ku(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();M($,"controlName","\u63A7\u4EF6"),M($,"controlIcon","icon"),M($,"controlType","control"),M($,"controlFieldType",void 0),M($,"controlEventKeys",[]),M($,"controlCustomEvents",[]),M($,"setting",[]),M($,"__is_control__",!0),M($,"removeSettingItem",wl),M($,"updateSettingItem",Il);function wl(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",r=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(o){return o.key===(a?i.key:i)});if(r!==-1){var l,s;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(o){return!i.hideItems.includes(o)}):e.setting.splice(r,1),a&&!(!((s=e.setting[r].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(r,1)}})}function Il(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(o){return o.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if(typeof e=="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var s;(s=a.showItems).push.apply(s,Ku(e.showItems))}}}})}function Mv(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 $v(t,e,n){return e&&Sl(t.prototype,e),n&&Sl(t,n),t}function de(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Q=function(){function e(n){Mv(this,e),de(this,"id",void 0),de(this,"type",void 0),de(this,"controlType",void 0),de(this,"props",void 0),de(this,"fieldType",void 0),de(this,"customEvents",[]),de(this,"pageStatus",void 0),de(this,"parent",null);var i=Nv(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Ur("The ".concat(r," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:be(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 b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:ku.UNKNOWN}return $v(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}();de(Q,"controlType","control"),de(Q,"controlFieldType",void 0),de(Q,"__is_control__",!0),de(Q,"controlCustomEvents",[]);function zu(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=nm(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 Hn(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 Lv(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 jn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function L(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 Un(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&&Gu(t,e)}function Vv(t,e){return e&&(Hv(e)==="object"||typeof e=="function")?e:N(t)}function Gu(t,e){return Gu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Gu(t,e)}var Hv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function jv(){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 Wn(t){var e=jv();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 Vv(this,u)}}var ee=function(t){Un(n,t);var e=Wn(n);function n(i){jn(this,n);var u;u=e.call(this,i),L(N(u),"dataBind",{}),L(N(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),L(N(u),"isHideCaption",{type:"boolean"}),L(N(u),"labelPosition",{type:"enum",enum:["top","left"]}),L(N(u),"defaultState",{type:"enum",enum:["default","readonly"]}),L(N(u),"required",{type:"boolean"}),L(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(Lv(i.dataBind))u.dataBind={type:"object",required:!0,fields:Re(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:Re(a),message:f.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(z),V=function(t){Un(n,t);var e=Wn(n);function n(i){jn(this,n);var u;return u=e.call(this,i),u.push({type:"string",required:i.isHide?!1:i.required,message:i.requiredMessage!==""?i.requiredMessage:f.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(je),B=function(t){Un(n,t);var e=Wn(n);function n(i){jn(this,n);var u;u=e.call(this,i),L(N(u),"caption",void 0),L(N(u),"isHideCaption",void 0),L(N(u),"isShowCaptionTip",void 0),L(N(u),"captionTip",void 0),L(N(u),"labelPosition",void 0),L(N(u),"dataBind",void 0),L(N(u),"defaultValue",void 0),L(N(u),"placeholder",void 0),L(N(u),"defaultState",void 0),L(N(u),"required",void 0),L(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 s;u.captionTip=(s=i==null?void 0:i.captionTip)!==null&&s!==void 0?s:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var d;u.labelPosition=(d=i==null?void 0:i.labelPosition)!==null&&d!==void 0?d:"top";var v;u.placeholder=(v=i==null?void 0:i.placeholder)!==null&&v!==void 0?v:"";var b;u.required=(b=i==null?void 0:i.required)!==null&&b!==void 0?b:!1;var C;u.requiredMessage=(C=i==null?void 0:i.requiredMessage)!==null&&C!==void 0?C:"",u.dataBind=new me(i==null?void 0:i.dataBind);var I;return u.defaultValue=(I=i==null?void 0:i.defaultValue)!==null&&I!==void 0?I:"",u}return n}(X);L(B,"Rules",ee),L(B,"RuntimeRules",V);var ft=function(t){Un(n,t);var e=Wn(n);function n(i){jn(this,n);var u;return u=e.call(this,i),L(N(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),L(N(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),L(N(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),zu.call(N(u),i),u}return n}(ee);function Xu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zn(t){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zn(t)}function Uv(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&&Qu(t,e)}function Wv(t,e){return e&&(Kv(e)==="object"||typeof e=="function")?e:Xu(t)}function Qu(t,e){return Qu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Qu(t,e)}var Kv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function zv(){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 Gv(t){var e=zv();return function(){var i=zn(t),u;if(e){var a=zn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Wv(this,u)}}var P=function(t){Uv(n,t);var e=Gv(n);function n(i){qv(this,n);var u;return u=e.call(this,i),Kn(Xu(u),"controlType","form"),Kn(Xu(u),"props",void 0),u.props=new B(i==null?void 0:i.props),u}return n}($);Kn(P,"controlEventKeys",["on_change","on_focus","on_blur"]),Kn(P,"controlCustomAttributes",void 0);function Gn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ju(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function Qv(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&&Zu(t,e)}function Jv(t,e){return e&&(Zv(e)==="object"||typeof e=="function")?e:Gn(t)}function Zu(t,e){return Zu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zu(t,e)}var Zv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Yv(){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 pv(t){var e=Yv();return function(){var i=Xn(t),u;if(e){var a=Xn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Jv(this,u)}}var x=function(t){Qv(n,t);var e=pv(n);function n(i){Xv(this,n);var u;return u=e.call(this,i),Ju(Gn(u),"controlType","form"),Ju(Gn(u),"props",void 0),Ju(Gn(u),"value",void 0),u.props=new B(i==null?void 0:i.props),u}return n}(Q);function eg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(t)}function ng(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&&Yu(t,e)}function ig(t,e){return e&&(ug(e)==="object"||typeof e=="function")?e:eg(t)}function Yu(t,e){return Yu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yu(t,e)}var ug=function(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 rg(t){var e=ag();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 ig(this,u)}}var H=function(t){ng(n,t);var e=rg(n);function n(i){return tg(this,n),e.call(this,i)}return n}(X);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 lg(t){if(Array.isArray(t))return pu(t)}function og(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function cg(){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 Tl(t){return lg(t)||og(t)||sg(t)||cg()}function sg(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 dg(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Al(t,e){t.parent=e,dg(t,"parent")}function fg(t,e){t.forEach(function(n){Al(n,e)})}var Rl=Symbol("targetKey");function Bl(t){var e;return(e=t[Rl])!==null&&e!==void 0?e:t}function Pl(t,e){return fg(t,e),new Proxy(t,{get:function(i,u){for(var a=arguments.length,r=new Array(a>2?a-2:0),l=2;l<a;l++)r[l-2]=arguments[l];var s;return u===Rl?i:(s=Reflect).get.apply(s,[i,u].concat(Tl(r)))},set:function(i,u,a){for(var r=arguments.length,l=new Array(r>3?r-3:0),s=3;s<r;s++)l[s-3]=arguments[s];var o;if(wu(t)&&u==="length"&&a===t.length)return!0;var d=(o=Reflect).set.apply(o,[i,u,a].concat(Tl(l)));return tm(a)&&Al(a,e),d}})}function Ce(t,e,n,i){var u=i!=null?i:t,a=Pl(Bl(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=Pl(Bl(l),u)},enumerable:!0})}function ea(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 hg(t){if(Array.isArray(t))return ea(t)}function qe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dl(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function yg(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){Dl(a,i,u,r,l,"next",s)}function l(s){Dl(a,i,u,r,l,"throw",s)}r(void 0)})}}function mg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function vg(t,e,n){return e&&xl(t.prototype,e),n&&xl(t,n),t}function xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ht(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ht=Reflect.get:ht=function(u,a,r){var l=Tg(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r):s.value}},ht(t,e,n||t)}function Oe(t){return Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oe(t)}function gg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ta(t,e)}function bg(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function _g(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Cg(){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 Eg(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){xe(t,u,n[u])})}return t}function wg(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 Ig(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):wg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Sg(t,e){return e&&(Ag(e)==="object"||typeof e=="function")?e:qe(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ta(t,e)}function Tg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Oe(t),t!==null););return t}function Ol(t){return hg(t)||_g(t)||Rg(t)||Cg()}var Ag=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Rg(t,e){if(!!t){if(typeof t=="string")return ea(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 ea(t,e)}}function Bg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Pg(t){var e=Bg();return function(){var i=Oe(t),u;if(e){var a=Oe(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Sg(this,u)}}var Dg=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},xg=1e4,q=function(e){gg(i,e);var n=Pg(i);function i(u){mg(this,i);var a;a=n.call(this,u),xe(qe(a),"controlType","layout"),xe(qe(a),"children",void 0),xe(qe(a),"excludes",void 0),xe(qe(a),"childrenMaxLength",void 0),xe(qe(a),"props",void 0);var r=bg(this,i)?this.constructor:void 0,l=r.excludes,s=r.childrenMaxLength;return a.props=new H(u==null?void 0:u.props),Ce(qe(a),"children",u==null?void 0:u.children),a.excludes=Re(l),a.childrenMaxLength=s,a}return vg(i,[{key:"judgeExcludesChildren",value:function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)}},{key:"judgeJoinChildren",value:function(a){var r=this.judgeExcludesChildren(a);return r&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(a,r){var l=this,s=this,o=function(){return ht(Oe(i.prototype),"validate",l)};return yg(function(){return Dg(this,function(d){switch(d.label){case 0:return[4,o().call(s,a,r)];case 1:return d.sent(),[4,Promise.all(s.children.map(function(v){return v.validate(a,r)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=ht(Oe(i.prototype),"toDataBindModel",this).call(this),l=r?[r]:[];return this.children.reduce(function(s,o){var d=o.toDataBindModel(a);if(Array.isArray(d)){var v=d.filter(function(b){return!!b});return Ol(s).concat(Ol(v))}return d&&s.push(d),s},l)}},{key:"toSchema",value:function(){var a=ht(Oe(i.prototype),"toSchema",this).call(this),r=this.children.map(function(l){var s=l.toSchema();return s});return Ig(Eg({},a),{children:r})}}]),i}($);xe(q,"excludes",!1),xe(q,"childrenMaxLength",xg);function Mt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Og(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function na(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 Fg(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 kg(t,e){return e&&(Mg(e)==="object"||typeof e=="function")?e:Mt(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}var Mg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function $g(){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 Ng(t){var e=$g();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 kg(this,u)}}var U=function(t){Fg(n,t);var e=Ng(n);function n(i){Og(this,n);var u;return u=e.call(this,i),na(Mt(u),"controlType","layout"),na(Mt(u),"children",void 0),na(Mt(u),"props",void 0),u.props=new H(i==null?void 0:i.props),Ce(Mt(u),"children",i==null?void 0:i.children),u}return n}(Q);function Zn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function Vg(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 Hg(t,e){return e&&(jg(e)==="object"||typeof e=="function")?e:Zn(t)}function ua(t,e){return ua=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ua(t,e)}var jg=function(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 Ug(t){var e=qg();return function(){var i=Yn(t),u;if(e){var a=Yn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Hg(this,u)}}var pn=function(t){Vg(n,t);var e=Ug(n);function n(i,u){Lg(this,n);var a;return a=e.call(this,u),Fl(Zn(a),"headers",void 0),Fl(Zn(a),"footers",void 0),Ce(Zn(a),"headers",u==null?void 0:u.headers,i),a}return n}(X);function aa(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 Wg(t){if(Array.isArray(t))return aa(t)}function ei(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kl(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function Kg(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){kl(a,i,u,r,l,"next",s)}function l(s){kl(a,i,u,r,l,"throw",s)}r(void 0)})}}function zg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ml(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 Gg(t,e,n){return e&&Ml(t.prototype,e),n&&Ml(t,n),t}function ti(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?yt=Reflect.get:yt=function(u,a,r){var l=pg(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r):s.value}},yt(t,e,n||t)}function Fe(t){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fe(t)}function Xg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ra(t,e)}function Qg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Jg(){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 $l(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){ti(t,u,n[u])})}return t}function Zg(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 Nl(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Zg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Yg(t,e){return e&&(e0(e)==="object"||typeof e=="function")?e:ei(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function pg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Fe(t),t!==null););return t}function Ll(t){return Wg(t)||Qg(t)||t0(t)||Jg()}var e0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function t0(t,e){if(!!t){if(typeof t=="string")return aa(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 aa(t,e)}}function n0(){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=n0();return function(){var i=Fe(t),u;if(e){var a=Fe(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Yg(this,u)}}var u0=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},la=function(t){Xg(n,t);var e=i0(n);function n(i){zg(this,n);var u;return u=e.call(this,i),ti(ei(u),"controlType","list"),ti(ei(u),"props",void 0),u.props=new pn(ei(u),i==null?void 0:i.props),u}return Gg(n,[{key:"validate",value:function(u,a){var r=this,l=this,s=function(){return yt(Fe(n.prototype),"validate",r)};return Kg(function(){return u0(this,function(o){switch(o.label){case 0:return[4,s().call(l,u)];case 1:return o.sent(),[4,Promise.all(l.props.headers.map(function(d){return d.validate(u,a)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=yt(Fe(n.prototype),"toDataBindModel",this).call(this),a=u?[u]:[],r=this.id;return this.props.headers.reduce(function(l,s){var o=s.toDataBindModel(r);if(Array.isArray(o)){var d=o.filter(function(v){return!!v});return Ll(l).concat(Ll(d))}return o&&l.push(o),l},a)}},{key:"toSchema",value:function(){var u,a,r=yt(Fe(n.prototype),"toSchema",this).call(this),l=this.props.headers.map(function(o){return o.toSchema()}),s=(u=this.props)===null||u===void 0||(a=u.footers)===null||a===void 0?void 0:a.map(function(o){if(o)return o.toSchema()});return Nl($l({},r),{props:Nl($l({},this.props),{headers:l,footers:s})})}}]),n}($);ti(la,"controlFieldType",g.LIST);function mt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function a0(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 r0(t,e,n){return e&&Vl(t.prototype,e),n&&Vl(t,n),t}function oa(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 l0(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 o0(t,e){return e&&(c0(e)==="object"||typeof e=="function")?e:mt(t)}function ca(t,e){return ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ca(t,e)}var c0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function s0(){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 d0(t){var e=s0();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 o0(this,u)}}var Hl=function(t){l0(n,t);var e=d0(n);function n(i){a0(this,n);var u;return u=e.call(this,i),oa(mt(u),"controlType","list"),oa(mt(u),"children",void 0),oa(mt(u),"props",void 0),u.props=new pn(mt(u),i==null?void 0:i.props),Ce(mt(u),"children",i==null?void 0:i.children),u}return r0(n,[{key:"length",get:function(){return this.children.length}}]),n}(Q);function J(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function da(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 f0(t,e){return e&&(h0(e)==="object"||typeof e=="function")?e:J(t)}function fa(t,e){return fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fa(t,e)}var h0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};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 ha(t){var e=y0();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 f0(this,u)}}var Ee=function(t){da(n,t);var e=ha(n);function n(i){sa(this,n);var u;return u=e.call(this,i),te(J(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),te(J(u),"width",{type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(z),W=function(t){da(n,t);var e=ha(n);function n(i){sa(this,n);var u;u=e.call(this,i),te(J(u),"widthType",void 0),te(J(u),"width",void 0),te(J(u),"caption",void 0),te(J(u),"dataBind",void 0),te(J(u),"autoWidth",void 0),te(J(u),"fixed",void 0),te(J(u),"sort",void 0),te(J(u),"align",void 0),te(J(u),"colSpan",void 0),te(J(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 pr(i==null?void 0:i.autoWidth),u.dataBind=new me(i==null?void 0:i.dataBind);var s;u.sort=(s=i==null?void 0:i.sort)!==null&&s!==void 0?s:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(X);te(W,"Rules",Ee);var jl=function(t){da(n,t);var e=ha(n);function n(i){sa(this,n);var u;return u=e.call(this,i),te(J(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),te(J(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),te(J(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),zu.call(J(u),i),u}return n}(Ee);function ya(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function m0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ql(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 v0(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 g0(t,e){return e&&(b0(e)==="object"||typeof e=="function")?e:ya(t)}function ma(t,e){return ma=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ma(t,e)}var b0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function _0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function C0(t){var e=_0();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 g0(this,u)}}var Z=function(t){v0(n,t);var e=C0(n);function n(i){m0(this,n);var u;return u=e.call(this,i),ql(ya(u),"controlType","column"),ql(ya(u),"props",void 0),u.props=new W(i==null?void 0:i.props),u}return n}($);function va(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function E0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ul(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 w0(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 I0(t,e){return e&&(S0(e)==="object"||typeof e=="function")?e:va(t)}function ga(t,e){return ga=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ga(t,e)}var S0=function(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 A0(t){var e=T0();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 I0(this,u)}}var Y=function(t){w0(n,t);var e=A0(n);function n(i){E0(this,n);var u;return u=e.call(this,i),Ul(va(u),"controlType","column"),Ul(va(u),"props",void 0),u.props=new W(i==null?void 0:i.props),u}return n}(Q);function Wl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function B0(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function P0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ba(t,e)}function D0(t,e){return e&&(x0(e)==="object"||typeof e=="function")?e:Wl(t)}function ba(t,e){return ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ba(t,e)}var x0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function O0(){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=O0();return function(){var i=ri(t),u;if(e){var a=ri(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return D0(this,u)}}var _a=function(t){P0(n,t);var e=F0(n);function n(i){R0(this,n);var u;return u=e.call(this,i),B0(Wl(u),"dataBind",void 0),u.dataBind=new me(i==null?void 0:i.dataBind),u}return n}(H);function Ca(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 Kl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function M0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ea(t,e)}function $0(t,e){return e&&(N0(e)==="object"||typeof e=="function")?e:Ca(t)}function Ea(t,e){return Ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ea(t,e)}var N0=function(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 V0(t){var e=L0();return function(){var i=li(t),u;if(e){var a=li(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return $0(this,u)}}var H0=function(t){M0(n,t);var e=V0(n);function n(i){k0(this,n);var u;return u=e.call(this,i),Kl(Ca(u),"controlType","search"),Kl(Ca(u),"props",void 0),u.props=new _a(i==null?void 0:i.props),u}return n}(q);function wa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function j0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function q0(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 U0(t,e){return e&&(W0(e)==="object"||typeof e=="function")?e:wa(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}var W0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function K0(){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=K0();return function(){var i=oi(t),u;if(e){var a=oi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return U0(this,u)}}var G0=function(t){q0(n,t);var e=z0(n);function n(i){j0(this,n);var u;return u=e.call(this,i),zl(wa(u),"controlType","search"),zl(wa(u),"props",void 0),u.props=new _a(i==null?void 0:i.props),u}return n}(U);function X0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Q0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(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&&Sa(t,e)}function Z0(t,e){return e&&(Y0(e)==="object"||typeof e=="function")?e:X0(t)}function Sa(t,e){return Sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Sa(t,e)}var Y0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function p0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function eb(t){var e=p0();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 Z0(this,u)}}var Ta=function(t){J0(n,t);var e=eb(n);function n(i){return Q0(this,n),e.call(this,i)}return n}(H);function Aa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gl(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 nb(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 ib(t,e){return e&&(ub(e)==="object"||typeof e=="function")?e:Aa(t)}function Ra(t,e){return Ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ra(t,e)}var ub=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ab(){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 rb(t){var e=ab();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 ib(this,u)}}var lb=function(t){nb(n,t);var e=rb(n);function n(i){tb(this,n);var u;return u=e.call(this,i),Gl(Aa(u),"controlType","wrap"),Gl(Aa(u),"props",void 0),u.props=new Ta(i==null?void 0:i.props),u}return n}(q);function Ba(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ob(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 cb(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&&Pa(t,e)}function sb(t,e){return e&&(db(e)==="object"||typeof e=="function")?e:Ba(t)}function Pa(t,e){return Pa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Pa(t,e)}var db=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function fb(){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 hb(t){var e=fb();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 sb(this,u)}}var yb=function(t){cb(n,t);var e=hb(n);function n(i){ob(this,n);var u;return u=e.call(this,i),Xl(Ba(u),"controlType","wrap"),Xl(Ba(u),"props",void 0),u.props=new Ta(i==null?void 0:i.props),u}return n}(U);function Ue(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class Da extends X{constructor(e){var n,i,u,a,r;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"}}class Ql extends ${constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Ql.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class mb extends Q{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlType(){return"text"}}var Jl={Designer:Ql,Runtime:mb,Property:Da};class xa 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 Oa extends ${constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Oa.controlEventKeys=["on_click"],Oa.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class vb extends Q{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlType(){return"link"}}var Zl={Designer:Oa,Runtime:vb,Property:xa};class ie extends X{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.optObj=new qm((d=e==null?void 0:e.optObj)!=null?d:{})}}class ue extends ${constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}ue.controlEventKeys=["on_click","on_click_finish"],ue.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class oe extends Q{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlType(){return"button"}}var Yl={Designer:ue,Runtime:oe,Property:ie},ke=(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))(ke||{}),pl=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(pl||{}),eo=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(eo||{});class fi{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:be(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Fa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Fa||{});class hi{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:be(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var ka=(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))(ka||{});class Ma{constructor(e){var n,i,u,a,r,l,s,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new Dt((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 Dt((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new Dt((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class to{constructor(e){var n,i,u,a,r,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new Ma(s)))!=null?u:[new Ma],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 $a{constructor(e){var n,i,u,a,r,l,s;this.id=(n=e==null?void 0:e.id)!=null?n:be(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Na{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 no{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 Na(e==null?void 0:e.watermark),this.autoRename=new Na(e==null?void 0:e.autoRename)}}const io=480;function $t(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class uo{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 ao{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 ro=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(ro||{}),La=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(La||{}),yi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(yi||{}),Me=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Me||{}),Va=(t=>(t.ALL="all",t.ADMIN="admin",t))(Va||{});class Ha 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:ka.SOLID}}class lo extends ${constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}lo.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class gb extends Q{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"divider"}}var oo={Designer:lo,Runtime:gb,Property:Ha};class bb extends z{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(ke.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 mi extends X{constructor(e){var n,i,u,a;super(e),this.dataBind=new me(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[ke.ShowSubmitUser,ke.ShowSubmitDept,ke.ShowSubmitTime,ke.ShowCurrentApprovar,ke.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:vt==null?void 0:vt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}mi.Rules=bb;class vt extends ${constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}vt.controlFieldType=g.AUTO_NUMBER,vt.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class _b extends Q{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"title"}}var co={Designer:vt,Runtime:_b,Property:mi};class Cb extends z{constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class vi extends ie{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Nt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Nt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}vi.Rules=Cb;class Nt extends ue{constructor(e){super(e),this.props=new vi(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"}}Nt.controlEventKeys=["on_click","on_click_finish"],Nt.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 Eb extends oe{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var so={Designer:Nt,Runtime:Eb,Property:vi};class wb extends z{constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class gi extends ie{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Lt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Lt.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:""}}gi.Rules=wb;class Lt extends ue{constructor(e){super(e),this.props=new gi(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"}}Lt.controlEventKeys=["on_click","on_click_finish"],Lt.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 Ib extends oe{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var fo={Designer:Lt,Runtime:Ib,Property:gi};class ja extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Vt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Vt.controlIcon}}class Vt extends ue{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}Vt.controlEventKeys=["on_click"],Vt.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 Sb extends oe{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var ho={Designer:Vt,Runtime:Sb,Property:ja};class qa extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ht.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ht.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 $a(l)))!=null?r:[new $a({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Ht extends ue{constructor(e){super(e),this.props=new qa(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"}}Ht.controlEventKeys=["on_click","on_click_finish"],Ht.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 Tb extends oe{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var yo={Designer:Ht,Runtime:Tb,Property:qa};class Ua extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:jt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:jt.controlIcon}}class jt extends ue{constructor(e){super(e),this.props=new Ua(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"}}jt.controlEventKeys=["on_click"],jt.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 Ab extends oe{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var mo={Designer:jt,Runtime:Ab,Property:Ua};class Rb{constructor(e){this.dataCode=e.dataCode}}class Wa extends ie{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(l=>new Rb(l)))!=null?a:[],this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system"}}class qt extends ue{constructor(e){super(e),this.props=new Wa(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"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.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 Bb extends oe{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var vo={Designer:qt,Runtime:Bb,Property:Wa};function bi(){return{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:f.getMessage("pleaseSelectControl")}}}}}}class Pb extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:Te({},bi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Te({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},bi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class _i extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ut.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ut.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new al(e==null?void 0:e.fillPayload),this.formBind=new Sm(e==null?void 0:e.formBind),this.fillBack=new rl(e==null?void 0:e.fillBack)}}_i.Rules=Pb;class Ut extends ue{constructor(e){super(e),this.props=new _i(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"}}Ut.controlEventKeys=["on_click","on_click_finish"],Ut.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Db extends oe{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var go={Designer:Ut,Runtime:Db,Property:_i};class xb extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:Te({},bi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:Te({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},bi())}}}class Ci extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Wt.controlIcon,this.fillPayload=new al(e==null?void 0:e.fillPayload),this.listPageBind=new Bu(e==null?void 0:e.listPageBind),this.fillBack=new rl(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Ou(e==null?void 0:e.selectedContentConfig)}}Ci.Rules=xb;class Wt extends ue{constructor(e){super(e),this.props=new Ci(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"}}Wt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Ob extends oe{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var bo={Designer:Wt,Runtime:Ob,Property:Ci};class Fb extends z{constructor(e){super(e)}}class kb extends je{constructor(e){super(e)}}class Kt extends X{constructor(e){super(e)}}Kt.Rules=Fb,Kt.RuntimeRules=kb;class _o extends ${constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}_o.setting=[];class Mb extends Q{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Co={Designer:_o,Runtime:Mb,Property:Kt};class $b extends z{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 Ei 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"}}Ei.Rules=$b;class Eo extends ${constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Eo.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Nb extends Q{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var wo={Designer:Eo,Runtime:Nb,Property:Ei};class Lb extends z{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 wi 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 Hm(a)))!=null?u:[]}}wi.Rules=Lb;class Io extends ${constructor(e){super(e),this.props=new wi(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"}}Io.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Vb extends Q{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var So={Designer:Io,Runtime:Vb,Property:wi};class Hb extends z{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 Ii extends ie{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:gt.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:gt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:gt.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(b=>new ae(b)))!=null?v:[]}}Ii.Rules=Hb;class gt extends ue{constructor(e){super(e),this.props=new Ii(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"}}gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class jb extends oe{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var To={Designer:gt,Runtime:jb,Property:Ii};class qb extends z{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 Si extends ie{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:bt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:bt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:bt.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(b=>new ae(b)))!=null?v:[]}}Si.Rules=qb;class bt extends ue{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}bt.controlEventKeys=["on_click","on_click_finish"],bt.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Ub extends oe{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Ao={Designer:bt,Runtime:Ub,Property:Si};class Wb extends z{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Ti extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:zt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:zt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new uo(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Ti.Rules=Wb;class zt extends ue{constructor(e){super(e),this.props=new Ti(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"}}zt.controlEventKeys=["on_click","on_click_finish"],zt.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 Kb extends oe{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Ro={Designer:zt,Runtime:Kb,Property:Ti};class Ka extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Gt.controlIcon}}class Gt extends ue{constructor(e){super(e),this.props=new Ka(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"}}Gt.controlEventKeys=["on_click"],Gt.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 zb extends oe{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Bo={Designer:Gt,Runtime:zb,Property:Ka};class Gb extends z{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 Ai 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}}Ai.Rules=Gb;class Ri extends ${constructor(e){super(e),this.props=new Ai(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"}}Ri.controlEventKeys=["on_click"],Ri.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Xb extends Q{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Po={Designer:Ri,Runtime:Xb,Property:Ai};class za extends X{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Xt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Xt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Xt extends ${constructor(e){super(e),this.props=new za(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.controlEventKeys=["on_click"],Xt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Qb extends Q{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Do={Designer:Xt,Runtime:Qb,Property:za},Jb=Object.freeze({__proto__:null,Text:Jl,Link:Zl,Button:Yl,Divider:oo,Title:co,CreateFormListButton:so,BatchSubmissionListButton:fo,SubmissionRecordListButton:ho,ExportListButton:yo,ExportRecordListButton:mo,ImportRecordListButton:vo,FormSelectButton:go,ListSelectButton:bo,Pagination:Co,Dashboard:wo,ListViewSelect:So,TextOcrButton:To,InvoiceCheckButton:Ao,BatchPrintListButton:Ro,BatchPrintRecordListButton:Bo,OperationButton:Po,BatchDeleteButton:Do});class Zb extends ee{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=$t(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Yb extends V{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:$t(e.regularRules.expression),message:e.regularRules.errMessage})}}class _t extends B{constructor(e){var n,i,u,a,r,l,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new ll(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:Ct.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}_t.Rules=Zb,_t.RuntimeRules=Yb;class Ct extends P{constructor(e){super(e),this.props=new _t(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"}}Ct.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ct.controlFieldType=g.VARCHAR,Ct.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class xo extends x{constructor(e){super(e),this.props=new _t(e==null?void 0:e.props)}static get controlType(){return"input"}}xo.controlFieldType=g.VARCHAR;var Oo={Designer:Ct,Runtime:xo,Property:_t};class pb extends ft{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 e_ extends V{constructor(e){super(e),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 Qt extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,C,I;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new p(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:Jt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.optionsFormat=(b=e==null?void 0:e.optionsFormat)!=null?b:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,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(_=>{var S;(S=this.multistageFilling)==null||S.push(new ae(_))}))}}Qt.Rules=pb,Qt.RuntimeRules=e_;class Jt extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Jt.controlEventKeys=["on_change","on_click"],Jt.controlFieldType=g.ARRAY,Jt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Fo extends x{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Fo.controlFieldType=g.ARRAY;var ko={Designer:Jt,Runtime:Fo,Property:Qt};class t_ extends ft{constructor(e){super(e)}}class Bi extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new p(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:Zt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:"",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var I;(I=this.multistageFilling)==null||I.push(new ae(C))}))}}Bi.Rules=t_;class Zt extends P{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Zt.controlEventKeys=["on_change","on_click"],Zt.controlFieldType=g.VARCHAR,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Mo extends x{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"radio"}}Mo.controlFieldType=g.VARCHAR;var $o={Designer:Zt,Runtime:Mo,Property:Bi};class n_ extends ee{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=$t(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class i_ extends V{constructor(e){super(e),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:$t(e.regularRules.expression),message:e.regularRules.errMessage})}}class Yt extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,C,I;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(v=e==null?void 0:e.unit)!=null?v:"",this.caption=(b=e==null?void 0:e.caption)!=null?b:pt.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:"\u8BF7\u8F93\u5165",this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:"",this.regularRules=new ll(e==null?void 0:e.regularRules)}}Yt.Rules=n_,Yt.RuntimeRules=i_;class pt extends P{constructor(e){super(e),this.props=new Yt(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}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=g.DECIMAL,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class No extends x{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"number"}}No.controlFieldType=g.DECIMAL;var Lo={Designer:pt,Runtime:No,Property:Yt};class Ga extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ae.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:Pi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(d=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(C=>new fi(C)))!=null?d:[],this.allowDateRange=(v=e==null?void 0:e.allowDateRange)!=null?v:["",""],this.filterWeekend=(b=e==null?void 0:e.filterWeekend)!=null?b:!1}}class Pi extends P{constructor(e){super(e),this.props=new Ga(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}}Pi.controlFieldType=g.TIMESTAMP,Pi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Vo extends x{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Vo.controlFieldType=g.TIMESTAMP;var Ho={Designer:Pi,Runtime:Vo,Property:Ga};class u_ extends V{constructor(e){super(e),this[0].type="object",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 Di extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.dataBind=new Mm(e==null?void 0:e.dataBind),this.defaultValue=new $m(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ae.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(d=e==null?void 0:e.caption)!=null?d:xi.controlName,this.limitDateList=(b=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(C=>new fi(C)))!=null?b:[]}}Di.RuntimeRules=u_;class xi extends P{constructor(e){super(e),this.props=new Di(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}}xi.controlFieldType=g.TIMESCOPE,xi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class jo extends x{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"date-range"}}jo.controlFieldType=g.TIMESCOPE;var qo={Designer:xi,Runtime:jo,Property:Di};class a_ extends ee{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class r_ extends V{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 en extends B{constructor(e){var n,i,u,a,r,l;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:tn.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}}en.Rules=a_,en.RuntimeRules=r_;class tn extends P{constructor(e){super(e),this.props=new en(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"}}tn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],tn.controlFieldType=g.TEXT,tn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Uo extends x{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Uo.controlFieldType=g.TEXT;var Wo={Designer:tn,Runtime:Uo,Property:en};class l_ extends ee{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 o_ extends V{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 nn extends B{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:un.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}nn.Rules=l_,nn.RuntimeRules=o_;class un extends P{constructor(e){super(e),this.props=new nn(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"}}un.controlEventKeys=["on_change","on_input","on_focus","on_blur"],un.controlFieldType=g.TEXT,un.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Ko extends x{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Ko.controlFieldType=g.TEXT;var zo={Designer:un,Runtime:Ko,Property:nn};class c_ extends ft{constructor(e){super(e)}}class Oi extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.options=_e((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 p(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Fi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var C;(C=this.multistageFilling)==null||C.push(new ae(b))})),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 st(e==null?void 0:e.formBind)}}Oi.Rules=c_;class Fi extends P{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Fi.controlFieldType=g.VARCHAR,Fi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class Go extends x{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"select"}}Go.controlFieldType=g.VARCHAR;var Xo={Designer:Fi,Runtime:Go,Property:Oi};class s_ extends ft{constructor(e){super(e)}}class d_ extends V{constructor(e){super(e),this[0].type="array"}}class an extends B{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.options=_e((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 p(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:ki.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var b;(b=this.multistageFilling)==null||b.push(new ae(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 st(e==null?void 0:e.formBind)}}an.Rules=s_,an.RuntimeRules=d_;class ki extends P{constructor(e){super(e),this.props=new an(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"}}ki.controlFieldType=g.ARRAY,ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class Qo extends x{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Qo.controlFieldType=g.ARRAY;var Jo={Designer:ki,Runtime:Qo,Property:an};class f_ extends V{constructor(e){super(e),this[0].type="array"}}class Mi extends B{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:$i.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 b;(b=this.multistageFilling)==null||b.push(new ae(v))}))}}Mi.RuntimeRules=f_;class $i extends P{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}$i.controlFieldType=g.EMPLOYEES,$i.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Zo extends x{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"employee"}}Zo.controlFieldType=g.EMPLOYEES;var Yo={Designer:$i,Runtime:Zo,Property:Mi};const h_=10485760,y_=104857600,m_=1048576e3;class v_ extends ee{constructor(e){super(e),this.maxSize={type:"number",min:0,max:m_,message:f.getMessage("attachmentMaxSize")}}}class g_ extends V{constructor(e){super(e),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 Et extends B{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:y_,this.caption=(o=e==null?void 0:e.caption)!=null?o:wt.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6"}}Et.Rules=v_,Et.RuntimeRules=g_;class wt extends P{constructor(e){super(e),this.props=new Et(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}wt.controlEventKeys=["on_change"],wt.controlFieldType=g.FILE,wt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Xa extends x{constructor(e){super(e),this.props=new Et(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Xa.controlFieldType=g.FILE;var po={Designer:wt,Runtime:Xa,Property:Et};const ec=class extends wt{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:ec.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Qa=ec;Qa.controlFieldType=g.IMAGE,Qa.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class b_ extends Xa{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 __ extends Et{constructor(e){super(e)}}var tc={Designer:Qa,Runtime:b_,Property:__};class C_ extends ft{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 E_ extends V{constructor(e){super(e),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:[xn(Te({},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 rn extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;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 Fm(e==null?void 0:e.dataBind),this.datasourceBind=new p((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Du({value:"name"})]}),this.defaultValue=new km((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:$n.CNY}),this.options=_e(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:ln.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=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}rn.Rules=C_,rn.RuntimeRules=E_;class ln extends P{constructor(e){super(e),this.props=new rn(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}}ln.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ln.controlFieldType=g.MONEY,ln.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class nc extends x{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"amount"}}nc.controlFieldType=g.MONEY;var ic={Designer:ln,Runtime:nc,Property:rn};class w_ extends ee{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 I_ extends V{constructor(e){super(e),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 on extends B{constructor(e){var n,i,u,a,r,l,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Fa.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 hi(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new hi),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:cn.controlName}}on.Rules=w_,on.RuntimeRules=I_;class cn extends P{constructor(e){super(e),this.props=new on(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 hi);this.props.explain.push(...u)}}super.postUpdate(e,n)}}cn.controlEventKeys=["on_change","on_click"],cn.controlFieldType=g.DECIMAL,cn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class uc extends x{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlType(){return"score"}}uc.controlFieldType=g.DECIMAL;var ac={Designer:cn,Runtime:uc,Property:on};class S_ extends V{constructor(e){if(super(e),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 Ni extends B{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Li.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 Nm((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"}}Ni.RuntimeRules=S_;class Li extends P{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Li.controlFieldType=g.ADDRESS,Li.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class rc extends x{constructor(e){super(e),this.props=new Ni(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"}}rc.controlFieldType=g.ADDRESS;var lc={Designer:Li,Runtime:rc,Property:Ni};class T_ extends V{constructor(e){super(e),this[0].type="array"}}class Vi extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:sn.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var I;(I=this.multistageFilling)==null||I.push(new ae(C))}))}}Vi.RuntimeRules=T_;class sn extends P{constructor(e){super(e),this.props=new Vi(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}}sn.controlName="\u90E8\u95E8",sn.controlFieldType=g.DEPARTMENTS,sn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class oc extends x{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"department"}}oc.controlFieldType=g.DEPARTMENTS;var cc={Designer:sn,Runtime:oc,Property:Vi};class Ja extends B{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:dn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class dn extends P{constructor(e){super(e),this.props=new Ja(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"}}dn.controlEventKeys=["on_change"],dn.controlFieldType=g.AUTO_NUMBER,dn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class sc extends x{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}sc.controlFieldType=g.AUTO_NUMBER;var dc={Designer:dn,Runtime:sc,Property:Ja};class A_ extends ee{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 R_ extends V{constructor(e){super(e),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 fn extends B{constructor(e){var n,i,u,a,r,l,s;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 Lm(e==null?void 0:e.dataBind),this.defaultValue=new Vm(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:hn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}fn.Rules=A_,fn.RuntimeRules=R_;class hn extends P{constructor(e){super(e),this.props=new fn(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}}hn.controlEventKeys=["on_change"],hn.controlFieldType=g.CALC,hn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class fc extends x{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"calc"}}fc.controlFieldType=g.CALC;var hc={Designer:hn,Runtime:fc,Property:fn};class B_ extends V{constructor(e){super(e),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 Hi extends B{constructor(e){var n,i,u,a,r,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:ji.controlName}}Hi.RuntimeRules=B_;class ji extends P{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}ji.controlFieldType=g.DECIMAL_RANGE,ji.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class yc extends x{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}yc.controlFieldType=g.DECIMAL_RANGE;var mc={Designer:ji,Runtime:yc,Property:Hi};class P_ extends V{constructor(e){super(e),this[0].type="array",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 qi extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,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:Ae.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u7ED3\u675F\u65E5\u671F",this.caption=(v=e==null?void 0:e.caption)!=null?v:Ui.controlName,this.limitDateList=(C=(b=e==null?void 0:e.limitDateList)==null?void 0:b.map(I=>new fi(I)))!=null?C:[]}}qi.RuntimeRules=P_;class Ui extends P{constructor(e){super(e),this.props=new qi(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"}}Ui.controlFieldType=g.ARRAY,Ui.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class vc extends x{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}vc.controlFieldType=g.ARRAY;var gc={Designer:Ui,Runtime:vc,Property:qi};class D_ extends ee{constructor(e){super(e),this.dataBind={type:"any"}}}class x_ extends V{constructor(e){super(e),this[0].type="any"}}class yn extends B{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:mn.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}}yn.Rules=D_,yn.RuntimeRules=x_;class mn extends P{constructor(e){super(e),this.props=new yn(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"}}mn.controlFieldType=g.ANY,mn.controlEventKeys=[],mn.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class bc extends x{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}bc.controlFieldType=g.ANY;var _c={Designer:mn,Runtime:bc,Property:yn};class O_ extends ft{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")}]}}]}}class Wi extends B{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Bu(e==null?void 0:e.listPageBind),this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:vn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new Ou(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var b;(b=this.multistageFilling)==null||b.push(new ae(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 st(e==null?void 0:e.formBind)}}Wi.Rules=O_;class vn extends P{constructor(e){super(e),this.props=new Wi(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"}}vn.controlFieldType=g.VARCHAR,vn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}],vn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Cc extends x{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Cc.controlFieldType=g.VARCHAR;var Ec={Designer:vn,Runtime:Cc,Property:Wi};class Za extends _t{constructor(e){super(e)}}class wc extends Ct{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}wc.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class Ic extends x{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Ic.controlFieldType=g.VARCHAR;var Sc={Designer:wc,Runtime:Ic,Property:Za};class F_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Hn.call(this,e,$e.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 k_ extends V{constructor(e){super(e),this[0].type="array"}}class gn extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,C,I,_,S,m,w,R,D;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(v=e==null?void 0:e.isDefaultCheckSub)!=null?v:!1,this.defaultCollapse=(b=e==null?void 0:e.defaultCollapse)!=null?b:"all",this.defaultCollapseLevel=(C=e==null?void 0:e.defaultCollapseLevel)!=null?C:1,this.datasourceBind=new il((I=e==null?void 0:e.datasourceBind)!=null?I:{attributes:$e.controlCustomAttributes}),this.filterItemDatasourceBind=new il((_=e==null?void 0:e.filterItemDatasourceBind)!=null?_:{attributes:$e.controlCustomAttributes}),this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(R=(w=e==null?void 0:e.multistageFilling)==null?void 0:w.map(O=>new ae(O)))!=null?R:[],this.defaultValue=(D=e==null?void 0:e.defaultValue)!=null?D:[]}}gn.Rules=F_,gn.RuntimeRules=k_;class $e extends P{constructor(e){super(e),this.props=new gn(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}]}}$e.controlEventKeys=["on_change","on_click"],$e.controlFieldType=g.ARRAY,$e.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class Tc extends x{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlType(){return"tree"}}Tc.controlFieldType=g.ARRAY;var Ac={Designer:$e,Runtime:Tc,Property:gn};class M_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},Hn.call(this,e,It.controlCustomAttributes),e.externalType===Me.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class $_ extends V{constructor(e){super(e),this[0].type="array"}}class bn extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,C,I,_;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:It.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 Mn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:It.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:La.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:Va.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:Me.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],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(S=>{var m;(m=this.multistageFilling)==null||m.push(new ae(S))}))}}bn.Rules=M_,bn.RuntimeRules=$_;class It extends P{constructor(e){super(e),this.props=new bn(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}]}}It.controlFieldType=g.EMPLOYEES,It.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Rc extends x{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Rc.controlFieldType=g.EMPLOYEES;var Bc={Designer:It,Runtime:Rc,Property:bn};class N_ extends ee{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"&&wu(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")&&wu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Ki extends B{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:_n.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 to(e==null?void 0:e.signatureConfig)}}Ki.Rules=N_;class _n extends P{constructor(e){super(e),this.props=new Ki(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"}}_n.controlEventKeys=["on_click","on_click_finish"],_n.controlFieldType=g.VARCHAR,_n.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class Pc extends x{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Pc.controlFieldType=g.VARCHAR;var Dc={Designer:_n,Runtime:Pc,Property:Ki};class L_ extends ee{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 V_ extends V{constructor(e){super(e),this[0].type="array"}}class Cn extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:En.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(v=e==null?void 0:e.maxSize)!=null?v:h_,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new no(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}Cn.Rules=L_,Cn.RuntimeRules=V_;class En extends P{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}En.controlEventKeys=["on_change","on_wps_open"],En.controlFieldType=g.FILE,En.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class xc extends x{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return"wps"}}xc.controlFieldType=g.FILE;var Oc={Designer:En,Runtime:xc,Property:Cn};class H_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Hn.call(this,e,We.controlCustomAttributes),e.businessType===Me.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class j_ extends V{constructor(e){super(e),this[0].type="array"}}class wn extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,C,I,_,S;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:We.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new Mn((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:We.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:yi.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Me.ALL,this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var w;(w=this.multistageFilling)==null||w.push(new ae(m))}))}}wn.Rules=H_,wn.RuntimeRules=j_;class We extends P{constructor(e){super(e),this.props=new wn(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}}We.controlName="\u90E8\u95E8",We.controlFieldType=g.DEPARTMENTS,We.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Fc extends x{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Fc.controlFieldType=g.DEPARTMENTS;var kc={Designer:We,Runtime:Fc,Property:wn};class q_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Hn.call(this,e,Ke.controlCustomAttributes),e.businessType===Me.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class U_ extends V{constructor(e){super(e),this[0].type="array"}}class In extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,C,I,_,S,m,w,R;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new Bu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ke.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new xm((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:Ke.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:yi.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Me.ALL,this.organizingFunction=(S=e==null?void 0:e.organizingFunction)!=null?S: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 Ou(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(R=e==null?void 0:e.openMultistageFilling)!=null?R:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var O;(O=this.multistageFilling)==null||O.push(new ae(D))}))}}In.Rules=q_,In.RuntimeRules=U_;class Ke extends P{constructor(e){super(e),this.props=new In(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}}Ke.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Ke.controlFieldType=g.DEPARTMENTS,Ke.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Mc extends x{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Mc.controlFieldType=g.DEPARTMENTS;var $c={Designer:Ke,Runtime:Mc,Property:In},W_=Object.freeze({__proto__:null,Input:Oo,Checkbox:ko,Radio:$o,Number:Lo,DatePicker:Ho,DateRange:qo,Textarea:Wo,RichText:zo,Select:Xo,SelectMultiple:Jo,Employee:Yo,Image:tc,Attachment:po,Amount:ic,Score:ac,Address:lc,Department:cc,AutoNumber:dc,Calc:hc,SearchNumberRange:mc,SearchDateRange:gc,VueFormItem:_c,SelectRelation:Ec,SearchInput:Sc,Tree:Ac,Employee2:Bc,ElectronicSignature:Dc,WPS:Oc,Department2:kc,OrganizationSelection:$c});class Nc extends q{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Nc.excludes=[E.GRID];class K_ extends U{static get controlType(){return"grid"}constructor(e){super(e)}}var Lc={Designer:Nc,Runtime:K_,Property:H};const z_=24;class ze extends H{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:z_,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Sn extends q{constructor(e){super(e),this.props=new ze(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Sn.excludes=[E.COL,E.CARD_GROUP,E.SUBTABLE,E.SUBTABLE_COLUMN,E.DIVIDER],Sn.childrenMaxLength=1;class Ya extends U{constructor(e){super(e),this.props=new ze(e==null?void 0:e.props)}static get controlType(){return"col"}}var Vc={Designer:Sn,Runtime:Ya,Property:ze};class zi extends H{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 Gi extends q{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Gi.excludes=[E.ROW],Gi.setting=[{key:"col-setting",visible:!0}];class Hc extends U{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"row"}}var jc={Designer:Gi,Runtime:Hc,Property:zi};const G_=4;class Xi extends Gi{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)}}Xi.excludes=[E.GRID_ROW],Xi.setting=[],Xi.childrenMaxLength=G_;class X_ extends Hc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Q_ extends zi{constructor(e){super(e)}}var qc={Designer:Xi,Runtime:X_,Property:Q_};class J_ extends H.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Qi extends H{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"}}Qi.Rules=J_;class pa extends q{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}pa.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],pa.excludes=[E.CARD_GROUP];class Z_ extends U{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Uc={Designer:pa,Runtime:Z_,Property:Qi};class Y_ extends z{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 Ji extends H{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new wm(e==null?void 0:e.metaAutoWidth)}}Ji.Rules=Y_;class ye extends q{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}}ye.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ye.controlType="subtable-column",ye.controlIcon="subtable-column",ye.childrenMaxLength=1,ye.excludes=[E.SUBTABLE,E.SUBTABLE_COLUMN,E.ROW,E.COL,E.CARD_GROUP,E.DIVIDER,E.TEXT],ye.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Wc extends U{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}}Wc.controlType="subtable-column";var Kc={Designer:ye,Runtime:Wc,Property:Ji};class er extends H{constructor(e){super(e)}}class Ge extends q{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}}Ge.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Ge.controlType="subtable-row",Ge.controlIcon="subtable-row",Ge.childrenMaxLength=1,Ge.excludes=[E.SUBTABLE,E.SUBTABLE_COLUMN,E.SUBTABLE_ROW,E.ROW,E.COL,E.CARD_GROUP,E.DIVIDER,E.TEXT],Ge.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class p_ extends U{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var zc={Designer:Ge,Runtime:p_,Property:er};class tr extends H{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:g.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:Ae.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class Xe extends q{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}}Xe.controlName="\u5217\u8868\u5355\u5143\u683C",Xe.controlType="gridtable-column",Xe.controlIcon="gridtable-column",Xe.childrenMaxLength=1,Xe.excludes=[E.GRID_TABLE,E.GRID_TABLE_COLUMN,E.ROW,E.COL,E.CARD_GROUP,E.DIVIDER,E.TEXT],Xe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Gc extends U{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}}Gc.controlType="gridtable-column";var Xc={Designer:Xe,Runtime:Gc,Property:tr};class nr extends H{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 ir extends q{constructor(e){super(e),this.props=new nr(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"}}ir.excludes=[E.GRID_LAYOUT_CONTAINER,E.CARD_GROUP,E.TAB],ir.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class eC extends U{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Qc={Designer:ir,Runtime:eC,Property:nr};class ur extends H{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class tC extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Zi extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:An.controlName}}Zi.Rules=tC;class Tn extends q{constructor(e){super(e),this.props=new Zi(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"}}Tn.excludes=[E.TAB],Tn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class nC extends U{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Jc={Designer:Tn,Runtime:nC,Property:Zi};class An extends q{constructor(e){var n;super(e),this.props=new ur(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Tn,new Tn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}An.excludes=[E.TAB],An.controlEventKeys=["on_change_tab"],An.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class iC extends U{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Zc={Designer:An,Runtime:iC,Property:ur};class Yc extends H{constructor(e){super(e)}}class pc extends q{constructor(e){super(e),this.props=new Yc({}),this.children=(e==null?void 0:e.children)||[new Sn({props:new ze({span:12})}),new Sn({props:new ze({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}pc.excludes=[E.GRID_ROW,E.ROW,E.GRID,E.SUBTABLE,E.TAB,E.TOOLBOX];class uC extends U{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ya({props:new ze({span:12})}),new Ya({props:new ze({span:12})})]}}var es={Designer:pc,Runtime:uC,Property:Yc};class aC extends je{constructor(e){super(e),this.push({type:"object",fields:{}})}}class rC extends z{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")}}}}]}}]),zu.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 Rn extends H{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.datasourceBind=new p(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 Rm(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new Pm(e==null?void 0:e.joinRelation),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(o=e==null?void 0:e.selectionType)!=null?o:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(v=e==null?void 0:e.isShowSelection)!=null?v:!1,this.isAllLoaded=(b=e==null?void 0:e.isAllLoaded)!=null?b:!0,this.countType=e==null?void 0:e.countType}}Rn.Rules=rC,Rn.RuntimeRules=aC;class Yi extends q{constructor(e){super(e),this.props=new Rn(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"}}Yi.excludes=[E.ROW],Yi.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"],Yi.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:"super-setting",visible:!0}];class lC extends U{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var ts={Designer:Yi,Runtime:lC,Property:Rn};class oC extends je{constructor(e){super(e),this.push({type:"object",fields:{}})}}class pi extends H{constructor(e){var n,i,u,a,r,l;super(e),this.save=new Pe((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Pe((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Pe((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Pe((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(s=>new Pe(s)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new p(e==null?void 0:e.datasourceBind)}}pi.RuntimeRules=oC;class ns extends q{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}ns.excludes=[];class cC extends U{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var is={Designer:ns,Runtime:cC,Property:pi};class sC extends q{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class dC extends U{static get controlType(){return"page"}constructor(e){super(e)}}class fC extends H{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 us={Designer:sC,Runtime:dC,Property:fC};class hC extends q{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class yC extends U{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class mC extends H{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new ao(e==null?void 0:e.flexConfig)}}var as={Designer:hC,Runtime:yC,Property:mC};class vC extends q{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class gC extends U{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class bC extends H{constructor(e){super(e)}}var rs={Designer:vC,Runtime:gC,Property:bC};class _C extends q{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class CC extends U{static get controlType(){return"position"}constructor(e){super(e)}}class EC extends H{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 ls={Designer:_C,Runtime:CC,Property:EC};class ar extends H{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 rr extends q{constructor(e){var n;super(e),this.props=new ar((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"}}rr.excludes=[],rr.setting=[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}];class wC extends U{constructor(e){var n;super(e),this.props=new ar((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var os={Designer:rr,Runtime:wC,Property:ar},IC=Object.freeze({__proto__:null,Grid:Lc,Col:Vc,Row:jc,GridRow:qc,CardGroup:Uc,SubTableColumn:Kc,SubTableRow:zc,GridTableColumn:Xc,GridLayoutContainer:Qc,Tab:Zc,TabPane:Jc,Toolbox:es,ListView:ts,DataView:is,Page:us,AdvancedContainer:as,PositioningContainer:rs,Position:ls,ActionBar:os});class SC extends z{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 TC extends je{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})})}}class Bn extends pn{constructor(e,n){var i,u,a,r,l,s,o,d,v,b,C,I,_,S,m,w,R,D,O,ce,F,se,Pn,Ie,fu,Dn,St,Se,Fs;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:eu.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(a=n==null?void 0:n.defaultState)!=null?a:"default",this.labelPosition=(r=n==null?void 0:n.labelPosition)!=null?r:"top",this.openType=(l=n==null?void 0:n.openType)!=null?l:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(d=n==null?void 0:n.maxHeight)!=null?d:io,this.printMode=(v=n==null?void 0:n.printMode)!=null?v:"row",this.limitRows=(b=n==null?void 0:n.limitRows)!=null?b:1,this.maxRows=(C=n==null?void 0:n.maxRows)!=null?C:null,this.defaultRows=(I=n==null?void 0:n.defaultRows)!=null?I:1,this.datasourceBind=new p(n==null?void 0:n.datasourceBind),this.canAdd=(_=n==null?void 0:n.canAdd)!=null?_:!0,this.canDelete=(S=n==null?void 0:n.canDelete)!=null?S:!0,this.canCheck=(m=n==null?void 0:n.canCheck)!=null?m:!1,this.canEdit=(w=n==null?void 0:n.canEdit)!=null?w:!1,this.canImport=(R=n==null?void 0:n.canImport)!=null?R:!1,this.canExport=(D=n==null?void 0:n.canExport)!=null?D:!1,this.canClear=(O=n==null?void 0:n.canClear)!=null?O:!0,this.serverPagination=(ce=n==null?void 0:n.serverPagination)!=null?ce:!1,this.isShowCaptionTip=(F=n==null?void 0:n.isShowCaptionTip)!=null?F:!1,this.captionTip=(se=n==null?void 0:n.captionTip)!=null?se:"",this.mobileShowType=(Pn=n==null?void 0:n.mobileShowType)!=null?Pn:"list",this.mobileDefaultNum=(Ie=n==null?void 0:n.mobileDefaultNum)!=null?Ie:10,this.dataStorageDoc=(fu=n==null?void 0:n.dataStorageDoc)!=null?fu:new Im,this.fixedColumn=(Dn=n==null?void 0:n.fixedColumn)!=null?Dn:[],this.mobileRowCaption=(St=n==null?void 0:n.mobileRowCaption)!=null?St:"\u660E\u7EC6",this.mobileIsTile=(Se=n==null?void 0:n.mobileIsTile)!=null?Se:!1,this.isPaste=(Fs=n==null?void 0:n.isPaste)!=null?Fs:!1}}Bn.Rules=SC,Bn.RuntimeRules=TC;class eu extends la{constructor(e){var n,i;super(e),this.props=new Bn(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 ye,new ye,new ye]),((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 ye,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}eu.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],eu.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.IS_PASTE]},{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:"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 AC extends Hl{constructor(e){super(e),this.props=new Bn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Pt("Method not implemented.")}getChildrenFormControl(){return[]}}var cs={Designer:eu,Runtime:AC,Property:Bn};class lr extends pn{constructor(e,n){var i,u,a,r;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}}class RC extends Ee{constructor(e){super(e),this.caption.required=!1}}class tu extends W{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Qe.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(s=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?s:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}tu.Rules=RC;class Qe extends Z{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}Qe.controlType="order-column",Qe.controlName="\u5E8F\u53F7",Qe.controlIcon="order-column",Qe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class or extends Y{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}or.controlType="order-column",or.controlFieldType=g.DECIMAL;var ss={Designer:Qe,Runtime:or,Property:tu};class cr extends W{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:we.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 we extends Z{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props),Ce(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Ri.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return xn(Te({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return kr(this,null,function*(){return yield Fr(we.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}we.controlType="operation-column",we.controlName="\u64CD\u4F5C",we.controlIcon="operation-column",we.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class sr extends Y{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props),Ce(this,"children",e==null?void 0:e.children)}}sr.controlType="operation-column",sr.controlFieldType=g.FILE;var ds={Designer:we,Runtime:sr,Property:cr};class nu extends la{constructor(e){var n;super(e),this.props=new lr(this,e==null?void 0:e.props),Ce(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Qe,new we]),((n=e==null?void 0:e.props)==null?void 0:n.footers)===void 0&&(this.props.footers=[])}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return xn(Te({},e),{children:n})}validate(e,n){return kr(this,null,function*(){return yield Fr(nu.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}nu.setting=[{key:"list-fixed-header",visible:!0}];class BC extends Hl{constructor(e){super(e),this.props=new lr(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Pt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var fs={Designer:nu,Runtime:BC,Property:lr},PC=Object.freeze({__proto__:null,SubTable:cs,GridTable:fs});class DC extends jl{constructor(e){super(e),Ue.call(this,e)}}class iu extends W{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.options=_e((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Be(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}iu.Rules=DC;class Je extends Z{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}Je.controlType="varchar-column",Je.controlName="\u77ED\u6587\u672C",Je.controlIcon="varchar-column",Je.controlFieldType=g.VARCHAR,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class dr extends Y{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}dr.controlType="varchar-column",dr.controlFieldType=g.VARCHAR;var hs={Designer:Je,Runtime:dr,Property:iu};class xC extends Ee{constructor(e){super(e),Ue.call(this,e)}}class uu extends W{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:Ze.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 Be(e==null?void 0:e.linkOperationOption)}}uu.Rules=xC;class Ze extends Z{constructor(e){super(e),this.props=new uu(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}}Ze.controlType="text-column",Ze.controlName="\u957F\u6587\u672C",Ze.controlIcon="text-column",Ze.controlFieldType=g.TEXT,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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}];class fr extends Y{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}fr.controlType="text-column",fr.controlFieldType=g.TEXT;var ys={Designer:Ze,Runtime:fr,Property:uu};class OC extends Ee{constructor(e){super(e),Ue.call(this,e)}}class au extends W{constructor(e){var n,i,u,a,r,l,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.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 p(e==null?void 0:e.datasourceBind),this.options=_e((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new Be(e==null?void 0:e.linkOperationOption)}}au.Rules=OC;class Ye extends Z{constructor(e){super(e),this.props=new au(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}}Ye.controlType="decimal-column",Ye.controlName="\u6570\u503C",Ye.controlIcon="decimal-column",Ye.controlFieldType=g.DECIMAL,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class hr extends Y{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}hr.controlType="decimal-column",hr.controlFieldType=g.DECIMAL;var ms={Designer:Ye,Runtime:hr,Property:au};class FC extends Ee{constructor(e){super(e),Ue.call(this,e)}}class ru extends W{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ae.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Be(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:pe.controlName}}ru.Rules=FC;class pe extends Z{constructor(e){super(e),this.props=new ru(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}}pe.controlType="timescope-column",pe.controlName="\u65E5\u671F\u533A\u95F4",pe.controlIcon="timescope-column",pe.controlFieldType=g.TIMESCOPE,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class yr extends Y{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}yr.controlType="timescope-column",yr.controlFieldType=g.TIMESCOPE;var vs={Designer:pe,Runtime:yr,Property:ru};class kC extends Ee{constructor(e){super(e),Ue.call(this,e)}}class lu extends W{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ae.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Be(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:et.controlName}}lu.Rules=kC;class et extends Z{constructor(e){super(e),this.props=new lu(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}}et.controlType="timestamp-column",et.controlName="\u65E5\u671F",et.controlIcon="timestamp-column",et.controlFieldType=g.TIMESTAMP,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class mr extends Y{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}mr.controlType="timestamp-column",mr.controlFieldType=g.TIMESTAMP;var gs={Designer:et,Runtime:mr,Property:lu};class MC extends jl{constructor(e){super(e)}}class ou extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.options=_e((u=e==null?void 0:e.options)!=null?u:[{}])}}ou.Rules=MC;class tt extends Z{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}tt.controlType="array-column",tt.controlName="\u6570\u7EC4",tt.controlIcon="array-column",tt.controlFieldType=g.ARRAY,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class vr extends Y{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}vr.controlType="array-column",vr.controlFieldType=g.ARRAY;var bs={Designer:tt,Runtime:vr,Property:ou};class gr extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class nt extends Z{constructor(e){super(e),this.props=new gr(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}}nt.controlType="department-column",nt.controlName="\u90E8\u95E8",nt.controlIcon="department-column",nt.controlFieldType=g.DEPARTMENTS,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class br extends Y{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}br.controlType="department-column",br.controlFieldType=g.DEPARTMENTS;var _s={Designer:nt,Runtime:br,Property:gr};class $C extends Ee{constructor(e){super(e),Ue.call(this,e)}}class cu extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Be(e==null?void 0:e.linkOperationOption)}}cu.Rules=$C;class it extends Z{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}it.controlType="auto-number-column",it.controlName="\u81EA\u52A8\u7F16\u53F7",it.controlIcon="auto-number-column",it.controlFieldType=g.AUTO_NUMBER,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class _r extends Y{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}_r.controlType="auto-number-column",_r.controlFieldType=g.AUTO_NUMBER;var Cs={Designer:it,Runtime:_r,Property:cu};class Cr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName}}class ut extends Z{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}}ut.controlType="file-column",ut.controlName="\u9644\u4EF6",ut.controlIcon="file-column",ut.controlFieldType=g.FILE,ut.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Er extends Y{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}}Er.controlType="file-column",Er.controlFieldType=g.FILE;var Es={Designer:ut,Runtime:Er,Property:Cr};class wr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName}}class at extends Z{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}}at.controlType="image-column",at.controlName="\u56FE\u7247",at.controlIcon="image-column",at.controlFieldType=g.IMAGE,at.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ir extends Y{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}}Ir.controlType="image-column",Ir.controlFieldType=g.IMAGE;var ws={Designer:at,Runtime:Ir,Property:wr};class Sr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName}}class rt extends Z{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}}rt.controlType="people-column",rt.controlName="\u4EBA\u5458",rt.controlIcon="people-column",rt.controlFieldType=g.EMPLOYEES,rt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Tr extends Y{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}}Tr.controlType="people-column",Tr.controlFieldType=g.EMPLOYEES;var Is={Designer:rt,Runtime:Tr,Property:Sr};class NC extends Ee{constructor(e){super(e),Ue.call(this,e)}}class su extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:lt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Be(e==null?void 0:e.linkOperationOption)}}su.Rules=NC;class lt extends Z{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}lt.controlType="location-column",lt.controlName="\u5730\u5740",lt.controlIcon="location-column",lt.controlFieldType=g.ADDRESS,lt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ar extends Y{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Ar.controlType="location-column",Ar.controlFieldType=g.ADDRESS;var Ss={Designer:lt,Runtime:Ar,Property:su};class Rr extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const LC=1;class Ne extends Z{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Rr(e==null?void 0:e.props),Ce(this,"children",e==null?void 0:e.children),this.excludes=Re(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 xn(Te({},e),{children:this.children.map(n=>n.toSchema())})}}Ne.controlType="custom-column",Ne.controlName="\u81EA\u5B9A\u4E49",Ne.controlIcon="custom-column",Ne.excludes=[],Ne.childrenMaxLength=LC,Ne.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ts extends Y{constructor(e){super(e),this.props=new Rr(e==null?void 0:e.props),Ce(this,"children",e==null?void 0:e.children)}}Ts.controlType="custom-column";var As={Designer:Ne,Runtime:Ts,Property:Rr};class Br extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName,this.datasourceBind=new Mn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Le.controlCustomAttributes})}}class Le extends Z{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Le.controlType="employee-column",Le.controlName="\u4EBA\u5458",Le.controlIcon="employee-column",Le.controlFieldType=g.EMPLOYEES,Le.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Pr extends Y{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props)}}Pr.controlType="employee-column",Pr.controlFieldType=g.EMPLOYEES;var Rs={Designer:Le,Runtime:Pr,Property:Br};class Dr extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ot.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Be(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class ot extends Z{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}}ot.controlType="approval-status-column",ot.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",ot.controlIcon="approval-status-column",ot.excludes=[],ot.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-line-ellipsis",visible:!0}];class Bs extends Y{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}}Bs.controlType="approval-status-column";var Ps={Designer:ot,Runtime:Bs,Property:Dr},VC=Object.freeze({__proto__:null,VarcharColumn:hs,TextColumn:ys,DecimalColumn:ms,TimescopeColumn:vs,TimestampColumn:gs,ArrayColumn:bs,DepartmentColumn:_s,AutoNumberColumn:Cs,FileColumn:Es,ImageColumn:ws,PeopleColumn:Is,LocationColumn:Ss,CustomColumn:As,OrderColumn:ss,OperationColumn:ds,EmployeeColumn:Rs,ApprovalStatusColumn:Ps});class HC extends je{constructor(e){super(e),this.push({type:"object",fields:{}})}}class du extends _a{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Pe((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Pe((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(b=>new Pe(b)),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}}du.RuntimeRules=HC;class xr extends H0{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}xr.controlType="simple-search",xr.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class Ds extends G0{constructor(e){var n;super(e),this.props=new du(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Ds.controlType="simple-search";var xs={Designer:xr,Runtime:Ds,Property:du},jC=Object.freeze({__proto__:null,SimpleSearch:xs});class Or extends Ta{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class qC extends lb{constructor(e){super(e),this.props=new Or(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 UC extends yb{constructor(e){super(e),this.props=new Or(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function pC(t){return t}var WC={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Os={Designer:qC,Runtime:UC,Property:Or,Setting:WC},KC=Object.freeze({__proto__:null,GridLayoutWrap:Os});y.ActionBar=os,y.Address=lc,y.AdvancedContainer=as,y.Amount=ic,y.ApprovalStatusColumn=Ps,y.ArrayColumn=bs,y.AssignType=Me,y.Attachment=po,y.AutoNumber=dc,y.AutoNumberColumn=Cs,y.BatchDeleteButton=Do,y.BatchPrintListButton=Ro,y.BatchPrintRecordListButton=Bo,y.BatchSubmissionListButton=fo,y.Button=Yl,y.Calc=hc,y.CardGroup=Uc,y.Checkbox=ko,y.Col=Vc,y.CreateFormListButton=so,y.CustomColumn=As,y.DATE_CONFIG_TYPE=pl,y.DATE_LIMIT_TYPE=eo,y.Dashboard=wo,y.DataView=is,y.DatePicker=Ho,y.DateRange=qo,y.DecimalColumn=ms,y.Department=cc,y.Department2=kc,y.DepartmentColumn=_s,y.DepartmentType=yi,y.Divider=oo,y.ElectronicSignature=Dc,y.ElectronicSignatureConfig=to,y.Employee=Yo,y.Employee2=Bc,y.EmployeeColumn=Rs,y.EncryptTypeEnum=ro,y.Explain=hi,y.ExportListButton=yo,y.ExportRecordListButton=mo,y.ExportTemplate=$a,y.FileColumn=Es,y.FlexStyleConfig=ao,y.FormSelectButton=go,y.Grid=Lc,y.GridLayoutContainer=Qc,y.GridLayoutWrap=Os,y.GridRow=qc,y.GridTable=fs,y.GridTableColumn=Xc,y.Image=tc,y.ImageColumn=ws,y.ImportRecordListButton=vo,y.Input=Oo,y.InternalType=Va,y.InvoiceCheckButton=Ao,y.LINE_STYLE=ka,y.LimitDate=fi,y.Link=Zl,y.ListSelectButton=bo,y.ListView=ts,y.ListViewSelect=So,y.LocationColumn=Ss,y.Number=Lo,y.OperationButton=Po,y.OperationColumn=ds,y.OrderColumn=ss,y.OrganizationSelection=$c,y.OrganizeType=La,y.Page=us,y.Pagination=Co,y.PeopleColumn=Is,y.Position=ls,y.PositioningContainer=rs,y.PrintTemplate=uo,y.Radio=$o,y.RichText=zo,y.Row=jc,y.SCORE_TYPE=Fa,y.SUBTABLE_DEFAULT_MAX_HEIGHT=io,y.Score=ac,y.SearchDateRange=gc,y.SearchInput=Sc,y.SearchNumberRange=mc,y.Select=Xo,y.SelectMultiple=Jo,y.SelectRelation=Ec,y.SimpleSearch=xs,y.SubTable=cs,y.SubTableColumn=Kc,y.SubTableRow=zc,y.SubmissionRecordListButton=ho,y.Tab=Zc,y.TabPane=Jc,y.Text=Jl,y.TextColumn=ys,y.TextOcrButton=To,y.Textarea=Wo,y.TimescopeColumn=vs,y.TimestampColumn=gs,y.Title=co,y.TitleConfigEnum=ke,y.Toolbox=es,y.Tree=Ac,y.UndersignedPerson=Ma,y.VarcharColumn=hs,y.VueFormItem=_c,y.WPS=Oc,y.WPSSetting=no,y.WpsOperationItem=Na,y.baseControls=Jb,y.columnControls=VC,y.formControls=W_,y.initExpression=$t,y.layoutControls=IC,y.listControls=PC,y.searchControls=jC,y.wrapControls=KC,Object.defineProperty(y,"__esModule",{value:!0})});