@byteluck-fe/model-driven-controls 2.7.0-alpha.1 → 2.7.0-alpha.2

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 qE=Object.defineProperty,UE=Object.defineProperties;var WE=Object.getOwnPropertyDescriptors;var zc=Object.getOwnPropertySymbols,KE=Object.getPrototypeOf,zE=Object.prototype.hasOwnProperty,GE=Object.prototype.propertyIsEnumerable,XE=Reflect.get;var Gc=(h,M,V)=>M in h?qE(h,M,{enumerable:!0,configurable:!0,writable:!0,value:V}):h[M]=V,ge=(h,M)=>{for(var V in M||(M={}))zE.call(M,V)&&Gc(h,V,M[V]);if(zc)for(var V of zc(M))GE.call(M,V)&&Gc(h,V,M[V]);return h},mn=(h,M)=>UE(h,WE(M));var tr=(h,M,V)=>XE(KE(h),V,M);var nr=(h,M,V)=>new Promise((zi,vn)=>{var Gi=ce=>{try{dt(V.next(ce))}catch(ft){vn(ft)}},Xi=ce=>{try{dt(V.throw(ce))}catch(ft){vn(ft)}},dt=ce=>ce.done?zi(ce.value):Promise.resolve(ce.value).then(Gi,Xi);dt((V=V.apply(h,M)).next())});(function(h,M){typeof exports=="object"&&typeof module!="undefined"?M(exports):typeof define=="function"&&define.amd?define(["exports"],M):(h=typeof globalThis!="undefined"?globalThis:h||self,M(h.modelDrivenControls={}))})(this,function(h){"use strict";var M="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",V="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",zi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",vn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Gi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Xi="{caption}\u5FC5\u586B",dt="\u8BF7\u8F93\u5165\u6807\u9898",ce="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",ft="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Xc="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Qc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Jc="\u8BF7\u7ED1\u5B9A\u8868\u5355",Zc="\u8BF7\u7ED1\u5B9A\u5217\u8868",Yc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",pc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",es="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",ts="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",ns="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",is="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",us="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",as="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",rs="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ls="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",os="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",cs="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",ss="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",ds="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",fs="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",hs="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",ys="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",ms="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",vs="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",gs="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",bs="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Es="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",_s="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Cs="\u8BF7\u7ED1\u5B9A\u670D\u52A1",ws="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Is="\u8BF7\u9009\u62E9\u7701",Ss="\u8BF7\u9009\u62E9\u5E02",As="\u8BF7\u9009\u62E9\u533A",Rs="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Ts="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Bs="\u8BF7\u8F93\u5165\u5217\u5BBD",Ps="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Ds="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",xs="\u8BF7\u9009\u62E9\u63A7\u4EF6",Os="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Fs="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",ks="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ms="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Ns="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ls="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",$s="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Vs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",js="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Hs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",qs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Us="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Ws="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ks="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",zs="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Gs="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Xs="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Qs="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Js="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Zs="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ys="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ps={isNotNumber:M,isNotString:V,isNotObject:zi,isNotArray:vn,isNotBoolean:Gi,runtimeRequired:Xi,pleaseEnterCaption:dt,pleaseEnterCaptionTip:ce,pleaseEnterRowCaption:ft,pleaseEnterPlaceholder:Xc,pleaseEnterFieldCode:Qc,pleaseEnterForm:Jc,pleaseEnterList:Zc,pleaseEnterProcess:Yc,pleaseEnterLabel:pc,pleaseEnterValue:es,bizKeyNotBindFiled:ts,pleaseSelectOneField:ns,pleaseEnterNumberRange:is,pleaseEnterAValueGreaterThanMin:us,pleaseEnterAValueLessThanMax:as,numberRangeSetError:rs,stringRangeError:ls,attachmentMaxSize:os,pleaseEnterTotalScoreSetting:cs,theTotalScoreMustNotBeLessThan1:ss,scoreDefaultValueRange:ds,attachmentLimitError:fs,PleaseReselectTheOptionalQuantity:hs,TheMaximumLengthIsGreaterThanTheMinimumLength:ys,TheMinimumLengthIsGreaterThanTheMaximumLength:ms,PleaseSelectTheCorrectOptionSettings:vs,optionIdIsRepeat:gs,optionIsRequired:bs,pleaseEnterDataCode:Es,pleaseEnterValueFieldCode:_s,pleaseEnterSvcCode:Cs,pleaseBindAtLeastOneDisplayValue:ws,pleaseSelectProvince:Is,pleaseSelectCity:Ss,pleaseSelectDistrict:As,limitRowsCannotBeLessThan0:Rs,TheNumberOfRowsCannotBeLessThanMinRows:Ts,pleaseEnterColumnWidth:Bs,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ps,pleaseCompleteAllRulesAndConditions:Ds,pleaseSelectControl:xs,pleaseSelectAtLeastOneColumn:Os,pleaseSelectFillBackMode:Fs,pleaseSelectDashboard:ks,rootNodeIsRequired:Ms,theViewNameCannotBeEmpty:Ns,pleaseSelectOcrType:Ls,pleaseSelectAtLeastOneFieldToFillIn:$s,pleaseChooseAtLeastOne:Vs,pleaseEnterButtonContent:js,pleaseEnterDataCodeInDataSetting:Hs,pleaseEnterValueFieldCodeInDataSetting:qs,pleaseEnterSvcCodeInDataSetting:Us,pleaseBindAtLeastOneDisplayValueInDataSetting:Ws,rootNodeIsRequiredInDataSetting:Ks,pleaseEnterMaxHeight:zs,pleaseEnter:Gs,pleaseEnterWatermark:Xs,pleaseEnterFileName:Qs,pleaseUploadAtLeastOnePrintTemplate:Js,pleaseAssignBusiness:Zs,pleaseAssignExternal:Ys},ed="Please enter a number",td="Please enter a string",nd="Please enter an object",id="Please enter an array",ud="Please enter a boolean",ad="{caption} Required",rd="Please enter the title",ld="Please enter the bubble prompt",od="Please enter the row title",cd="Please enter the prompt text",sd="Please bind data items",dd="Please bind the form",fd="Please bind the list",hd="Please bind the process",yd="Please enter the displayed value",md="Please enter the stored value",vd="The document number is not bound to the data item",gd="Please select at least one display field",bd="Please enter a value greater than or equal to {min} and less than or equal to {max}",Ed="Please enter a value greater than or equal to {min}",_d="Please enter a value less than or equal to {max}",Cd="The value range is set incorrectly",wd="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Id="The attachment size must be between 0MB and 1000MB",Sd="Please fill in the total score setting",Ad="The total score cannot be less than 1",Rd="The default value must be between {min} and {max}",Td="The number of attachments uploaded must be between {min} and {max}",Bd="Please re-select the optional quantity",Pd="The maximum length of the control must be greater than the minimum length",Dd="The minimum length of the control must be less than the maximum length",xd="Please select the correct option setting",Od="Option ID cannot be repeated",Fd="Please enter at least one option",kd="Please bind the data source",Md="Please bind the stored value",Nd="Please bind the service",Ld="At least one display value must be bound",$d="Please select a province",Vd="Please select a city",jd="Please select a district",Hd="The minimum number of lines to fill in cannot be less than 0",qd="The number of rows cannot be less than {min} rows",Ud="Please enter the column width",Wd="Please set the logical relationship of all rule conditions",Kd="Please complete all rules and conditions",zd="please select control",Gd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Xd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Qd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Jd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Zd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Yd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",pd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ef="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",tf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",nf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",uf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",af="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",rf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",lf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",of="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",cf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",sf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",df="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ff={isNotNumber:ed,isNotString:td,isNotObject:nd,isNotArray:id,isNotBoolean:ud,runtimeRequired:ad,pleaseEnterCaption:rd,pleaseEnterCaptionTip:ld,pleaseEnterRowCaption:od,pleaseEnterPlaceholder:cd,pleaseEnterFieldCode:sd,pleaseEnterForm:dd,pleaseEnterList:fd,pleaseEnterProcess:hd,pleaseEnterLabel:yd,pleaseEnterValue:md,bizKeyNotBindFiled:vd,pleaseSelectOneField:gd,pleaseEnterNumberRange:bd,pleaseEnterAValueGreaterThanMin:Ed,pleaseEnterAValueLessThanMax:_d,numberRangeSetError:Cd,stringRangeError:wd,attachmentMaxSize:Id,pleaseEnterTotalScoreSetting:Sd,theTotalScoreMustNotBeLessThan1:Ad,scoreDefaultValueRange:Rd,attachmentLimitError:Td,PleaseReselectTheOptionalQuantity:Bd,TheMaximumLengthIsGreaterThanTheMinimumLength:Pd,TheMinimumLengthIsGreaterThanTheMaximumLength:Dd,PleaseSelectTheCorrectOptionSettings:xd,optionIdIsRepeat:Od,optionIsRequired:Fd,pleaseEnterDataCode:kd,pleaseEnterValueFieldCode:Md,pleaseEnterSvcCode:Nd,pleaseBindAtLeastOneDisplayValue:Ld,pleaseSelectProvince:$d,pleaseSelectCity:Vd,pleaseSelectDistrict:jd,limitRowsCannotBeLessThan0:Hd,TheNumberOfRowsCannotBeLessThanMinRows:qd,pleaseEnterColumnWidth:Ud,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Wd,pleaseCompleteAllRulesAndConditions:Kd,pleaseSelectControl:zd,pleaseSelectDashboard:Gd,theViewNameCannotBeEmpty:Xd,pleaseSelectOcrType:Qd,pleaseSelectAtLeastOneFieldToFillIn:Jd,pleaseChooseAtLeastOne:Zd,pleaseEnterButtonContent:Yd,pleaseEnterDataCodeInDataSetting:pd,pleaseEnterValueFieldCodeInDataSetting:ef,pleaseEnterSvcCodeInDataSetting:tf,pleaseBindAtLeastOneDisplayValueInDataSetting:nf,rootNodeIsRequiredInDataSetting:uf,pleaseEnterMaxHeight:af,pleaseEnter:rf,pleaseEnterWatermark:lf,pleaseEnterFileName:of,pleaseUploadAtLeastOnePrintTemplate:cf,pleaseAssignBusiness:sf,pleaseAssignExternal:df},hf="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",vf="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gf="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bf="{caption}\u5FC5\u9808",Ef="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_f="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Cf="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",wf="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",If="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Sf="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Af="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Rf="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Tf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pf="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Df="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",xf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Of="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ff="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",kf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Mf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Nf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Lf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",$f="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Vf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",jf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Hf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",qf="\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",Uf="\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",Wf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Kf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",zf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Gf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xf="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Qf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Jf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Zf="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Yf="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",pf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",eh="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",th="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",nh="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ih="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",uh="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",ah="please select control",rh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",lh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",oh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ch="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",sh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",dh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",fh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",hh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",yh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",mh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",vh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",gh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",bh="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Eh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",_h="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ch="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",wh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ih="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Sh={isNotNumber:hf,isNotString:yf,isNotObject:mf,isNotArray:vf,isNotBoolean:gf,runtimeRequired:bf,pleaseEnterCaption:Ef,pleaseEnterCaptionTip:_f,pleaseEnterRowCaption:Cf,pleaseEnterPlaceholder:wf,pleaseEnterFieldCode:If,pleaseEnterForm:Sf,pleaseEnterList:Af,pleaseEnterProcess:Rf,pleaseEnterLabel:Tf,pleaseEnterValue:Bf,bizKeyNotBindFiled:Pf,pleaseSelectOneField:Df,pleaseEnterNumberRange:xf,pleaseEnterAValueGreaterThanMin:Of,pleaseEnterAValueLessThanMax:Ff,numberRangeSetError:kf,stringRangeError:Mf,attachmentMaxSize:Nf,pleaseEnterTotalScoreSetting:Lf,theTotalScoreMustNotBeLessThan1:$f,scoreDefaultValueRange:Vf,attachmentLimitError:jf,PleaseReselectTheOptionalQuantity:Hf,TheMaximumLengthIsGreaterThanTheMinimumLength:qf,TheMinimumLengthIsGreaterThanTheMaximumLength:Uf,PleaseSelectTheCorrectOptionSettings:Wf,optionIdIsRepeat:Kf,optionIsRequired:zf,pleaseEnterDataCode:Gf,pleaseEnterValueFieldCode:Xf,pleaseEnterSvcCode:Qf,pleaseBindAtLeastOneDisplayValue:Jf,pleaseSelectProvince:Zf,pleaseSelectCity:Yf,pleaseSelectDistrict:pf,limitRowsCannotBeLessThan0:eh,TheNumberOfRowsCannotBeLessThanMinRows:th,pleaseEnterColumnWidth:nh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ih,pleaseCompleteAllRulesAndConditions:uh,pleaseSelectControl:ah,pleaseSelectDashboard:rh,theViewNameCannotBeEmpty:lh,pleaseSelectOcrType:oh,pleaseSelectAtLeastOneFieldToFillIn:ch,pleaseChooseAtLeastOne:sh,pleaseEnterButtonContent:dh,pleaseEnterDataCodeInDataSetting:fh,pleaseEnterValueFieldCodeInDataSetting:hh,pleaseEnterSvcCodeInDataSetting:yh,pleaseBindAtLeastOneDisplayValueInDataSetting:mh,rootNodeIsRequiredInDataSetting:vh,pleaseEnterMaxHeight:gh,pleaseEnter:bh,pleaseEnterWatermark:Eh,pleaseEnterFileName:_h,pleaseUploadAtLeastOnePrintTemplate:Ch,pleaseAssignBusiness:wh,pleaseAssignExternal:Ih},Ah={zhCN:ps,enUS:ff,jaJP:Sh},ir;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(ir||(ir={}));var ur;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(ur||(ur={}));var Rh="zh-CN";function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ar;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(ar||(ar={}));var C;(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.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"})(C||(C={}));var v;(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"})(v||(v={}));var Q;Q={},p(Q,v.ARRAY,C.ARRAY_COLUMN),p(Q,v.AUTO_NUMBER,C.AUTO_NUMBER_COLUMN),p(Q,v.DECIMAL,C.DECIMAL_COLUMN),p(Q,v.DEPARTMENTS,C.DEPARTMENT_COLUMN),p(Q,v.FILE,C.FILE_COLUMN),p(Q,v.IMAGE,C.IMAGE_COLUMN),p(Q,v.ADDRESS,C.LOCATION_COLUMN),p(Q,v.EMPLOYEES,C.EMPLOYEE_COLUMN),p(Q,v.TEXT,C.TEXT_COLUMN),p(Q,v.TIMESCOPE,C.TIMESCOPE_COLUMN),p(Q,v.TIMESTAMP,C.TIMESTAMP_COLUMN),p(Q,v.VARCHAR,C.VARCHAR_COLUMN),p(Q,v.RELATION,C.VARCHAR_COLUMN);var be;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(be||(be={}));var rr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Th=rr+"0123456789";function se(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?rr:Th,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Qi(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 Bh(t){if(Array.isArray(t))return Qi(t)}function Ph(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 Dh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function gn(t,e,n){return Dh()?gn=Reflect.construct:gn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&yt(o,r.prototype),o},gn.apply(null,arguments)}function ht(t){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ht(t)}function or(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&&yt(t,e)}function xh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Oh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Fh(){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 kh(t,e){return e&&(Mh(e)==="object"||typeof e=="function")?e:Ph(t)}function yt(t,e){return yt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},yt(t,e)}function cr(t){return Bh(t)||Oh(t)||Nh(t)||Fh()}var Mh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Nh(t,e){if(!!t){if(typeof t=="string")return Qi(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 Qi(t,e)}}function Ji(t){var e=typeof Map=="function"?new Map:void 0;return Ji=function(i){if(i===null||!xh(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return gn(i,arguments,ht(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),yt(u,i)},Ji(t)}function Lh(){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 sr(t){var e=Lh();return function(){var i=ht(t),u;if(e){var a=ht(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return kh(this,u)}}var Zi=console;function $h(){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=Zi).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(cr(u)))}function dr(){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=Zi).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(cr(u)))}function Vh(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Yi=function(t){or(n,t);var e=sr(n);function n(i){lr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?Vh(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Ji(Error)),jh=function(t){or(n,t);var e=sr(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}(Yi);function fr(t){throw new Yi(t)}function hr(t){throw new jh(t)}function Hh(t){Zi.error(new Yi(t))}var qh=Object.prototype.toString;function yr(t,e){return qh.call(t)==="[object "+e+"]"}function Uh(t){return yr(t,"String")}function Wh(t){return yr(t,"Promise")}var Kh=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();Wh(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,a,r,l){if(u!==void 0){var c=u[a];if(!(r===l.length-1&&!Uh(c)))return c}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var a=n[u];return a!==void 0?String(a):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function zh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var f=function(){function t(){zh(this,t)}return t.getMessage=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)},t.resetI18n=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Rh;return new Kh({locale:n,messages:Ah})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();f.$i18n=f.resetI18n();function Gh(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,c){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){$h("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===c.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var Xh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Qh={exports:{}};(function(t){(function(e){var n=function(m,E,x){if(!o(E)||y(E)||g(E)||_(E)||c(E))return E;var A,D=0,ne=0;if(d(E))for(A=[],ne=E.length;D<ne;D++)A.push(n(m,E[D],x));else{A={};for(var O in E)Object.prototype.hasOwnProperty.call(E,O)&&(A[m(O,x)]=n(m,E[O],x))}return A},i=function(m,E){E=E||{};var x=E.separator||"_",A=E.split||/(?=[A-Z])/;return m.split(A).join(x)},u=function(m){return w(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(E,x){return x?x.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},a=function(m){var E=u(m);return E.substr(0,1).toUpperCase()+E.substr(1)},r=function(m,E){return i(m,E).toLowerCase()},l=Object.prototype.toString,c=function(m){return typeof m=="function"},o=function(m){return m===Object(m)},d=function(m){return l.call(m)=="[object Array]"},y=function(m){return l.call(m)=="[object Date]"},g=function(m){return l.call(m)=="[object RegExp]"},_=function(m){return l.call(m)=="[object Boolean]"},w=function(m){return m=m-0,m===m},b=function(m,E){var x=E&&"process"in E?E.process:E;return typeof x!="function"?m:function(A,D){return x(A,m,D)}},I={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(m,E){return n(b(u,E),m)},decamelizeKeys:function(m,E){return n(b(r,E),m,E)},pascalizeKeys:function(m,E){return n(b(a,E),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(Xh)})(Qh);var mr={};Object.defineProperty(mr,"__esModule",{value:!0});function pi(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:pi(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:pi(i)}return e}}var Jh=mr.default=pi;function Ee(t){if(t!==void 0)return typeof t=="object"?Jh(t):t}function Zh(t){return Object.prototype.toString.call(t)==="[object Object]"}function eu(t){return Array.isArray(t)}function Yh(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function tu(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 ph(t){if(Array.isArray(t))return tu(t)}function vr(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function ey(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){vr(a,i,u,r,l,"next",c)}function l(c){vr(a,i,u,r,l,"throw",c)}r(void 0)})}}function ty(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ny(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function iy(){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 nu(t){return ph(t)||ny(t)||uy(t)||iy()}function uy(t,e){if(!!t){if(typeof t=="string")return tu(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 tu(t,e)}}var ay=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 c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},ry=function(){function t(){ty(this,t),this._events=new Map,this.debug=!1}var e=t.prototype;return e.emit=function(i){for(var u=arguments.length,a=new Array(u>1?u-1:0),r=1;r<u;r++)a[r-1]=arguments[r];var l=this;return ey(function(){var c,o,d,y,g,_,w,b,I,m,E,x;return ay(this,function(A){switch(A.label){case 0:if(c=l._events.get(i),o=[],!c)return[3,10];d=c.slice(),y=!0,g=!1,_=void 0,A.label=1;case 1:A.trys.push([1,8,9,10]),w=d[Symbol.iterator](),A.label=2;case 2:if(y=(b=w.next()).done)return[3,7];if(I=b.value,!c.includes(I))return[3,6];A.label=3;case 3:return A.trys.push([3,5,,6]),l.debug&&dr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(nu(a))),[4,I.apply(null,nu(a))];case 4:return m=A.sent(),l.debug&&dr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(nu(a),[m])),o.push(m),m===!1?[3,7]:[3,6];case 5:return E=A.sent(),Hh(String(E)+":"+String(E.stack)),[3,6];case 6:return y=!0,[3,2];case 7:return[3,10];case 8:return x=A.sent(),g=!0,_=x,[3,10];case 9:try{!y&&w.return!=null&&w.return()}finally{if(g)throw _}return[7];case 10:return[2,o]}})})()},e.on=function(i,u){if(this._events.has(i)){var a;(a=this._events.get(i))===null||a===void 0||a.push(u)}else this._events.set(i,[u])},e.off=function(i,u){if(this._events.has(i)){var a=this._events.get(i),r=a==null?void 0:a.indexOf(u);a==null||a.splice(r,1)}},e.delete=function(i){this._events.has(i)&&this._events.delete(i)},e.clear=function(){this._events=new Map},t}(),ly=[];new Set(ly.map(function(t){return t.Designer.controlType}));function gr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bn(t){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bn(t)}function ue(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&&iu(t,e)}function br(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function oy(t,e){return e&&(cy(e)==="object"||typeof e=="function")?e:gr(t)}function iu(t,e){return iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},iu(t,e)}var cy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function sy(){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 ae(t){var e=sy();return function(){var i=bn(t),u;if(e){var a=bn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return oy(this,u)}}var re=function t(e){S(this,t);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},Er=function t(e){S(this,t);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},uu=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);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}(Er),dy=function t(e){S(this,t),this.pc=new uu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new uu(e==null?void 0:e.mobile):new uu({width:130,minWidth:180})},fy=function t(e){S(this,t);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:[]},Ze=function t(e){S(this,t);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:""},hy=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(Ze),_r=function t(e){S(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},au=function t(e){S(this,t);var n,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 _r(r)}))!==null&&a!==void 0?a:[]},yy=function t(e){S(this,t);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:v.VARCHAR},my=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var c;return u.filters=(c=i==null?void 0:i.filters)!==null&&c!==void 0?c:[],u}return n}(Ze),vy=function t(e){S(this,t);var n,i;this.type="sublist-page",this.formBind=new Ze(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 yy(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 my(r)}))!==null&&a!==void 0?a:[]},gy=function t(e){S(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},mt=function t(e){S(this,t);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:[]},Cr=function t(e){var n=this;S(this,t),this.type="conditions";var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var c,o=new t(l);(c=n.children)===null||c===void 0||c.push(o)}else{var d,y=new ru(l);(d=n.children)===null||d===void 0||d.push(y)}}))},ru=function t(e){S(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se();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 gy(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new mt(e==null?void 0:e.rightVariableBo)},by=function t(e){S(this,t);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new W(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},Y=function t(e){S(this,t);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:""},lu=function t(e){S(this,t);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},Ey=function t(e){S(this,t);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;this.filters=(i=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new Cr(l):new ru(l)}))!==null&&i!==void 0?i:[];var u;if(this.viewFilters=(u=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new Cr(l):new ru(l)}))!==null&&u!==void 0?u:[],br(this,W)||br(this,su)){var a,r;this.orders=(r=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(l){return new Ey(l)}))!==null&&r!==void 0?r:[]}}var W=function t(e){var n=this;S(this,t);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 y;(y=n.displayBoList)===null||y===void 0||y.push(new lu(d))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var c;this.showOrder=(c=e==null?void 0:e.showOrder)!==null&&c!==void 0?c:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",ou.call(this,e)},cu=function t(e){S(this,t);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:[]},_e=function t(e){S(this,t);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 c;this.icon=(c=e==null?void 0:e.icon)!==null&&c!==void 0?c:"iconliulan1";var o;this.needConfirm=(o=e==null?void 0:e.needConfirm)!==null&&o!==void 0?o:!1;var d;this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal";var y;this.priorityProcess=(y=e==null?void 0:e.priorityProcess)!==null&&y!==void 0?y:!0},wr=function t(e){S(this,t);var n,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 lu(r)}))!==null&&a!==void 0?a:[]},En=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u,a;u=e.call(this,i);var r;return u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new wr(l)}))!==null&&r!==void 0?r:[],u}return n}(W),_y=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u,a;u=e.call(this,i);var r;u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(c){return new wr(c)}))!==null&&r!==void 0?r:[];var l;return u.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",u}return n}(W),Ir=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i),u.rootNode=new mt(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}(En),Sr=function t(e){S(this,t);var n,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 Y(r)}))!==null&&a!==void 0?a:[]},su=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this,i),ou.call(gr(u),i),u}return n}(Sr),Ar=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);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}(Sr),Rr=function t(e){S(this,t);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:""},Cy=function t(e){S(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(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 de(t){var e;return(e=t==null?void 0:t.map(function(n){return new Cy(n)}))!==null&&e!==void 0?e:[]}var du=function t(){S(this,t)},wy=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this),u.amount=new re(i==null?void 0:i.amount),u.currency=new re(i==null?void 0:i.currency),u}return n}(du),Iy=function t(e){S(this,t);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},Sy=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this),u.min=new re(i==null?void 0:i.min),u.max=new re(i==null?void 0:i.max),u}return n}(du),Ay=function t(e){S(this,t);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:""},Ry=function t(e){S(this,t);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:""},Ty=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this),u.result=new re(i==null?void 0:i.result),u.unit=new re(i==null?void 0:i.unit),u}return n}(du),By=function t(e){S(this,t);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 s;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(s||(s={}));var fu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(fu||(fu={}));var Ce=function t(e){S(this,t);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},Py=function t(e){S(this,t);var n,i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se(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 _r(r)}))!==null&&a!==void 0?a:[],ou.call(this,e)},Dy=function t(e){S(this,t);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"},xy=function t(e){S(this,t);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 Oy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hu(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 Cn(t,e,n){return Fy()?Cn=Reflect.construct:Cn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&gt(o,r.prototype),o},Cn.apply(null,arguments)}function vt(t){return vt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vt(t)}function ky(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&&gt(t,e)}function My(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ny(t,e){return e&&(Ly(e)==="object"||typeof e=="function")?e:Oy(t)}function gt(t,e){return gt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},gt(t,e)}var Ly=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function yu(t){var e=typeof Map=="function"?new Map:void 0;return yu=function(i){if(i===null||!My(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 Cn(i,arguments,vt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),gt(u,i)},yu(t)}function $y(){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 Vy(t){var e=$y();return function(){var i=vt(t),u;if(e){var a=vt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ny(this,u)}}var j=function t(e){hu(this,t),this.isHide={type:"boolean"}},De=function(t){ky(n,t);var e=Vy(n);function n(i){return hu(this,n),e.call(this)}return n}(yu(Array)),U=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";hu(this,t);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new Dy(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};U.Rules=j,U.RuntimeRules=De;function oe(){return oe=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},oe.apply(this,arguments)}function jy(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function mu(t){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mu(t)}function wn(t,e){return wn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wn(t,e)}function Hy(){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 In(t,e,n){return Hy()?In=Reflect.construct:In=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&wn(o,r.prototype),o},In.apply(null,arguments)}function qy(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||!qy(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return In(i,arguments,mu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),wn(u,i)},vu(t)}var Uy=/%[sdj%]/g,Tr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Tr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function gu(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 ee(){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(Uy,function(l){if(l==="%%")return"%";if(i>=a)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(c){return"[Circular]"}break;default:return l}});return r}return u}function Wy(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function H(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Wy(e)&&typeof t=="string"&&!t)}function Ky(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 Br(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 zy(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Pr=function(t){jy(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 Gy(t,e,n,i){if(e.first){var u=new Promise(function(y,g){var _=function(I){return i(I),I.length?g(new Pr(I,gu(I))):y()},w=zy(t);Br(w,n,_)});return u.catch(function(y){return y}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,c=0,o=[],d=new Promise(function(y,g){var _=function(b){if(o.push.apply(o,b),c++,c===l)return i(o),o.length?g(new Pr(o,gu(o))):y()};r.length||(i(o),y()),r.forEach(function(w){var b=t[w];a.indexOf(w)!==-1?Br(b,n,_):Ky(b,n,_)})});return d.catch(function(y){return y}),d}function Dr(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 xr(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]=oe(oe({},t[n]),i):t[n]=i}}return t}function Or(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||H(e,a||t.type))&&i.push(ee(u.messages.required,t.fullField))}function Xy(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ee(u.messages.whitespace,t.fullField))}var bu={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},bt={integer:function(e){return bt.number(e)&&parseInt(e,10)===e},float:function(e){return bt.number(e)&&!bt.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"&&!bt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(bu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(bu.url)},hex:function(e){return typeof e=="string"&&!!e.match(bu.hex)}};function Qy(t,e,n,i,u){if(t.required&&e===void 0){Or(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?bt[r](e)||i.push(ee(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(ee(u.messages.types[r],t.fullField,t.type))}function Jy(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,d=null,y=typeof e=="number",g=typeof e=="string",_=Array.isArray(e);if(y?d="number":g?d="string":_&&(d="array"),!d)return!1;_&&(o=e.length),g&&(o=e.replace(c,"_").length),a?o!==t.len&&i.push(ee(u.messages[d].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(ee(u.messages[d].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(ee(u.messages[d].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(ee(u.messages[d].range,t.fullField,t.min,t.max))}var Ye="enum";function Zy(t,e,n,i,u){t[Ye]=Array.isArray(t[Ye])?t[Ye]:[],t[Ye].indexOf(e)===-1&&i.push(ee(u.messages[Ye],t.fullField,t[Ye].join(", ")))}function Yy(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ee(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(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var R={required:Or,whitespace:Xy,type:Qy,range:Jy,enum:Zy,pattern:Yy};function py(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(H(e,"string")&&!t.required)return n();R.required(t,e,i,a,u,"string"),H(e,"string")||(R.type(t,e,i,a,u),R.range(t,e,i,a,u),R.pattern(t,e,i,a,u),t.whitespace===!0&&R.whitespace(t,e,i,a,u))}n(a)}function em(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(H(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&R.type(t,e,i,a,u)}n(a)}function tm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),H(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&(R.type(t,e,i,a,u),R.range(t,e,i,a,u))}n(a)}function nm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(H(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&R.type(t,e,i,a,u)}n(a)}function im(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(H(e)&&!t.required)return n();R.required(t,e,i,a,u),H(e)||R.type(t,e,i,a,u)}n(a)}function um(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(H(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&(R.type(t,e,i,a,u),R.range(t,e,i,a,u))}n(a)}function am(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(H(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&(R.type(t,e,i,a,u),R.range(t,e,i,a,u))}n(a)}function rm(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();R.required(t,e,i,a,u,"array"),e!=null&&(R.type(t,e,i,a,u),R.range(t,e,i,a,u))}n(a)}function lm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(H(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&R.type(t,e,i,a,u)}n(a)}var om="enum";function cm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(H(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&R[om](t,e,i,a,u)}n(a)}function sm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(H(e,"string")&&!t.required)return n();R.required(t,e,i,a,u),H(e,"string")||R.pattern(t,e,i,a,u)}n(a)}function dm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(H(e,"date")&&!t.required)return n();if(R.required(t,e,i,a,u),!H(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),R.type(t,l,i,a,u),l&&R.range(t,l.getTime(),i,a,u)}}n(a)}function fm(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;R.required(t,e,i,a,u,r),n(a)}function Eu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(H(e,a)&&!t.required)return n();R.required(t,e,i,r,u,a),H(e,a)||R.type(t,e,i,r,u)}n(r)}function hm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(H(e)&&!t.required)return n();R.required(t,e,i,a,u)}n(a)}var Et={string:py,method:em,number:tm,boolean:nm,regexp:im,integer:um,float:am,array:rm,object:lm,enum:cm,pattern:sm,date:dm,url:Eu,hex:Eu,email:Eu,required:fm,any:hm};function _u(){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 Cu=_u();function we(t){this.rules=null,this._messages=Cu,this.define(t)}we.prototype={messages:function(e){return e&&(this._messages=xr(_u(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function c(b){var I,m=[],E={};function x(A){if(Array.isArray(A)){var D;m=(D=m).concat.apply(D,A)}else m.push(A)}for(I=0;I<b.length;I++)x(b[I]);m.length?E=gu(m):(m=null,E=null),l(m,E)}if(r.messages){var o=this.messages();o===Cu&&(o=_u()),xr(o,r.messages),r.messages=o}else r.messages=this.messages();var d,y,g={},_=r.keys||Object.keys(this.rules);_.forEach(function(b){d=u.rules[b],y=a[b],d.forEach(function(I){var m=I;typeof m.transform=="function"&&(a===e&&(a=oe({},a)),y=a[b]=m.transform(y)),typeof m=="function"?m={validator:m}:m=oe({},m),m.validator=u.getValidationMethod(m),m.field=b,m.fullField=m.fullField||b,m.type=u.getType(m),m.validator&&(g[b]=g[b]||[],g[b].push({rule:m,value:y,source:a,field:b}))})});var w={};return Gy(g,r,function(b,I){var m=b.rule,E=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");E=E&&(m.required||!m.required&&b.value),m.field=b.field;function x(ne,O){return oe(oe({},O),{},{fullField:m.fullField+"."+ne})}function A(ne){ne===void 0&&(ne=[]);var O=ne;if(Array.isArray(O)||(O=[O]),!r.suppressWarning&&O.length&&we.warning("async-validator:",O),O.length&&m.message!==void 0&&(O=[].concat(m.message)),O=O.map(Dr(m)),r.first&&O.length)return w[m.field]=1,I(O);if(!E)I(O);else{if(m.required&&!b.value)return m.message!==void 0?O=[].concat(m.message).map(Dr(m)):r.error&&(O=[r.error(m,ee(r.messages.required,m.field))]),I(O);var ie={};if(m.defaultField)for(var hn in b.value)b.value.hasOwnProperty(hn)&&(ie[hn]=m.defaultField);ie=oe(oe({},ie),b.rule.fields);for(var me in ie)if(ie.hasOwnProperty(me)){var Ki=Array.isArray(ie[me])?ie[me]:[ie[me]];ie[me]=Ki.map(x.bind(null,me))}var yn=new we(ie);yn.messages(r.messages),b.rule.options&&(b.rule.options.messages=r.messages,b.rule.options.error=r.error),yn.validate(b.value,b.rule.options||r,function(st){var ve=[];O&&O.length&&ve.push.apply(ve,O),st&&st.length&&ve.push.apply(ve,st),I(ve.length?ve:null)})}}var D;m.asyncValidator?D=m.asyncValidator(m,b.value,A,b.source,r):m.validator&&(D=m.validator(m,b.value,A,b.source,r),D===!0?A():D===!1?A(m.message||m.field+" fails"):D instanceof Array?A(D):D instanceof Error&&A(D.message)),D&&D.then&&D.then(function(){return A()},function(ne){return A(ne)})},function(b){c(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Et.hasOwnProperty(e.type))throw new Error(ee("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"?Et.required:Et[this.getType(e)]||!1}},we.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Et[e]=n},we.warning=Tr,we.messages=Cu,we.validators=Et;var ym={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 mm(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new we(t);return n.messages(Object.assign(ym,e)),n}var vm=new ry;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 gm(t){if(Array.isArray(t))return t}function bm(t){if(Array.isArray(t))return wu(t)}function Fr(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function kr(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Fr(a,i,u,r,l,"next",c)}function l(c){Fr(a,i,u,r,l,"throw",c)}r(void 0)})}}function Em(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function _m(t,e,n){return e&&Mr(t.prototype,e),n&&Mr(t,n),t}function Cm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Nr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Lr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function wm(){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 Im(){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 $r(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){Cm(t,u,n[u])})}return t}function Sm(t){return gm(t)||Lr(t)||Vr(t)||wm()}function Iu(t){return bm(t)||Lr(t)||Vr(t)||Im()}function Vr(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 jr=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 c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},F=function(){function e(i){var u=this;Em(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=qr,this.removeSetting=Hr,this._callControlHooks("preInstance",i);var a=Nr(this,e)?this.constructor:void 0,r=a.controlName,l=a.controlIcon,c=a.controlType,o=a.controlFieldType,d=a.controlEventKeys,y=a.controlCustomEvents,g=a.name,_=a.setting;r&&l&&c||hr("The ".concat(g," controlName,controlIcon,controlType is not define"));var w;this.id=(w=i==null?void 0:i.id)!==null&&w!==void 0?w:se(10),this.name=r,this.icon=l;var b;this.type=(b=i==null?void 0:i.type)!==null&&b!==void 0?b:c,this.props=new U(i==null?void 0:i.props,(Nr(this,e)?this.constructor:void 0).controlName);var I;this.controlType=(I=i==null?void 0:i.controlType)!==null&&I!==void 0?I:"base",this.setting=Ee(_);var m;this.fieldType=(m=i==null?void 0:i.fieldType)!==null&&m!==void 0?m:o,this.eventKeys=Ee(d),this.customEvents=Ee(y),Promise.resolve().then(function(){u._callControlHooks("postInstance",i)})}var n=e.prototype;return n._callControlHooks=function(){for(var u=arguments.length,a=new Array(u),r=0;r<u;r++)a[r]=arguments[r];var l,c=Sm(a),o=c[0],d=c.slice(1);return(l=vm).emit.apply(l,[o,this].concat(Iu(d)))},n.preUpdate=function(u,a){this._callControlHooks("preUpdateProps",u,a)},n.postUpdate=function(u,a){this._callControlHooks("postUpdateProps",u,a)},n.updateProps=function(u,a){this.preUpdate(u,a),Gh(this.props,u,a),this.postUpdate(u,a)},n.preValidate=function(){var u=this;return kr(function(){var a,r,l;return jr(this,function(c){switch(c.label){case 0:return a=$r({},u.rules),[4,u._callControlHooks("preValidate",a)];case 1:return r=c.sent(),l=r[r.length-1],[2,l===!1?void 0:l]}})})()},n.validate=function(u,a){var r=this;return kr(function(){var l,c,o,d;return jr(this,function(y){switch(y.label){case 0:return[4,r.preValidate()];case 1:l=y.sent(),c=l!==void 0?l:$r({},r.rules),Array.isArray(a)&&a.forEach(function(g){c.hasOwnProperty(g)&&delete c[g]}),o=mm(c,u),y.label=2;case 2:return y.trys.push([2,4,,5]),[4,o.validate(r.props)];case 3:return y.sent(),[2,!0];case 4:throw d=y.sent(),d.control||(d.control=r),d;case 5:return[2]}})})()},n.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,r=this.id,l=this.type,c=this.props,o=c.dataBind,d=c.datasourceBind,y=c.optionConfig,g=c.caption,_=c.required,w=c.maxLength,b=c.options,I=c.encrypted,m=c.encryptedMode;if(!(!a&&!o&&!d)){var E={parentId:u,fieldType:a,controlId:r,caption:g,type:l,props:{}};switch(o&&(E.dataBind=o),y){case"datasource":case void 0:d&&(E.datasourceBind=d);break;case"custom":E.props.options=b;break}return _!==void 0&&(E.required=_),w!==void 0&&(E.maxLength=w),I!==void 0&&(E.encrypted=I),m!==void 0&&(E.encryptedMode=m),E}},n.preToSchema=function(){this._callControlHooks("preToSchema",this)},n.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ee(this.props),fieldType:this.fieldType,controlType:this.controlType}},e.updateBasicControl=function(u,a){if(u==="setting"){if(a.add){var r;(r=this.setting).push.apply(r,Iu(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}},_m(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}}]),e}();F.controlName="\u63A7\u4EF6",F.controlIcon="icon",F.controlType="control",F.controlEventKeys=[],F.controlCustomEvents=[],F.setting=[],F.__is_control__=!0,F.removeSettingItem=Hr,F.updateSettingItem=qr;function Hr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",a=e.setting.findIndex(function(c){return c.key===(u?i.key:i)});if(a!==-1){var r,l;u?e.setting[a].showItems=(r=e.setting[a].showItems)===null||r===void 0?void 0:r.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(a,1),u&&!(!((l=e.setting[a].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(a,1)}})}function qr(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(o){return o.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if(typeof e=="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var c;(c=a.showItems).push.apply(c,Iu(e.showItems))}}}})}function Am(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ur(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&&Ur(t.prototype,e),n&&Ur(t,n),t}function Tm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var K=function(){function e(n){Am(this,e),this.customEvents=[],this.parent=null;var i=Tm(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||hr("The ".concat(r," controlType is not define"));var c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:se(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new U(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 y;this.fieldType=(y=n==null?void 0:n.fieldType)!==null&&y!==void 0?y:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:fu.UNKNOWN}return Rm(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}();K.controlType="control",K.__is_control__=!0,K.controlCustomEvents=[];function Su(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=Yh(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 Sn(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 Wr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function An(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rn(t)}function Tn(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 Bm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Pm(t,e){return e&&(Dm(e)==="object"||typeof e=="function")?e:Wr(t)}function Au(t,e){return Au=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Au(t,e)}var Dm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function xm(){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 Bn(t){var e=xm();return function(){var i=Rn(t),u;if(e){var a=Rn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Pm(this,u)}}var X=function(t){Tn(n,t);var e=Bn(n);function n(i){An(this,n);var u;u=e.call(this,i),u.dataBind={},u.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},u.isHideCaption={type:"boolean"},u.labelPosition={type:"enum",enum:["top","left"]},u.defaultState={type:"enum",enum:["default","readonly"]},u.required={type:"boolean"},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(Bm(i.dataBind,re))u.dataBind={type:"object",required:!0,fields:Ee(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:Ee(a),message:f.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(j),k=function(t){Tn(n,t);var e=Bn(n);function n(i){An(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}(De),T=function(t){Tn(n,t);var e=Bn(n);function n(i){An(this,n);var u;u=e.call(this,i);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;u.isHideCaption=(r=i==null?void 0:i.isHideCaption)!==null&&r!==void 0?r:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;u.captionTip=(c=i==null?void 0:i.captionTip)!==null&&c!==void 0?c:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var d;u.labelPosition=(d=i==null?void 0:i.labelPosition)!==null&&d!==void 0?d:"top";var y;u.placeholder=(y=i==null?void 0:i.placeholder)!==null&&y!==void 0?y:"";var g;u.required=(g=i==null?void 0:i.required)!==null&&g!==void 0?g:!1;var _;u.requiredMessage=(_=i==null?void 0:i.requiredMessage)!==null&&_!==void 0?_:"",u.dataBind=new re(i==null?void 0:i.dataBind);var w;return u.defaultValue=(w=i==null?void 0:i.defaultValue)!==null&&w!==void 0?w:"",u}return n}(U);T.Rules=X,T.RuntimeRules=k;var pe=function(t){Tn(n,t);var e=Bn(n);function n(i){An(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:f.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Su.call(Wr(u),i),u}return n}(X);function Om(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(t){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pn(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&&Ru(t,e)}function Mm(t,e){return e&&(Nm(e)==="object"||typeof e=="function")?e:Om(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ru(t,e)}var Nm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Lm(){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 $m(t){var e=Lm();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 Mm(this,u)}}var B=function(t){km(n,t);var e=$m(n);function n(i){Fm(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new T(i==null?void 0:i.props),u}return n}(F);B.controlEventKeys=["on_change","on_focus","on_blur"];function Vm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dn(t){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dn(t)}function Hm(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&&Tu(t,e)}function qm(t,e){return e&&(Um(e)==="object"||typeof e=="function")?e:Vm(t)}function Tu(t,e){return Tu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Tu(t,e)}var Um=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Wm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Km(t){var e=Wm();return function(){var i=Dn(t),u;if(e){var a=Dn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return qm(this,u)}}var P=function(t){Hm(n,t);var e=Km(n);function n(i){jm(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new T(i==null?void 0:i.props),u}return n}(K);function zm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xn(t){return xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xn(t)}function Xm(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&&Bu(t,e)}function Qm(t,e){return e&&(Jm(e)==="object"||typeof e=="function")?e:zm(t)}function Bu(t,e){return Bu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Bu(t,e)}var Jm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Zm(){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 Ym(t){var e=Zm();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 Qm(this,u)}}var N=function(t){Xm(n,t);var e=Ym(n);function n(i){return Gm(this,n),e.call(this,i)}return n}(U);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 pm(t){if(Array.isArray(t))return Pu(t)}function ev(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function tv(){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 Kr(t){return pm(t)||ev(t)||nv(t)||tv()}function nv(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 iv(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function zr(t,e){t.parent=e,iv(t,"parent")}function uv(t,e){t.forEach(function(n){zr(n,e)})}var Gr=Symbol("targetKey");function Xr(t){var e;return(e=t[Gr])!==null&&e!==void 0?e:t}function Qr(t,e){return uv(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 c;return u===Gr?i:(c=Reflect).get.apply(c,[i,u].concat(Kr(r)))},set:function(i,u,a){for(var r=arguments.length,l=new Array(r>3?r-3:0),c=3;c<r;c++)l[c-3]=arguments[c];var o;if(eu(t)&&u==="length"&&a===t.length)return!0;var d=(o=Reflect).set.apply(o,[i,u,a].concat(Kr(l)));return Zh(a)&&zr(a,e),d}})}function fe(t,e,n,i){var u=i!=null?i:t,a=Qr(Xr(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=Qr(Xr(l),u)},enumerable:!0})}function Du(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 av(t){if(Array.isArray(t))return Du(t)}function Jr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zr(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function rv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Zr(a,i,u,r,l,"next",c)}function l(c){Zr(a,i,u,r,l,"throw",c)}r(void 0)})}}function lv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ov(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function et(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?et=Reflect.get:et=function(u,a,r){var l=gv(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},et(t,e,n||t)}function Ie(t){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ie(t)}function cv(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&&xu(t,e)}function sv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function dv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}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 hv(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){ov(t,u,n[u])})}return t}function yv(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 mv(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):yv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function vv(t,e){return e&&(bv(e)==="object"||typeof e=="function")?e:Jr(t)}function xu(t,e){return xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xu(t,e)}function gv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ie(t),t!==null););return t}function Yr(t){return av(t)||dv(t)||Ev(t)||fv()}var bv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ev(t,e){if(!!t){if(typeof t=="string")return Du(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 Du(t,e)}}function _v(){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 Cv(t){var e=_v();return function(){var i=Ie(t),u;if(e){var a=Ie(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return vv(this,u)}}var wv=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 c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Iv=1e4,L=function(e){cv(i,e);var n=Cv(i);function i(a){lv(this,i);var r;r=n.call(this,a),r.controlType="layout";var l=sv(this,i)?this.constructor:void 0,c=l.excludes,o=l.childrenMaxLength;return r.props=new N(a==null?void 0:a.props),fe(Jr(r),"children",a==null?void 0:a.children),r.excludes=Ee(c),r.childrenMaxLength=o,r}var u=i.prototype;return u.judgeExcludesChildren=function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)},u.judgeJoinChildren=function(r){var l=this.judgeExcludesChildren(r);return l&&this.childrenMaxLength>this.children.length},u.validate=function(r,l){var c=this,o=this,d=function(){return et(Ie(i.prototype),"validate",c)};return rv(function(){return wv(this,function(y){switch(y.label){case 0:return[4,d().call(o,r,l)];case 1:return y.sent(),[4,Promise.all(o.children.map(function(g){return g.validate(r,l)}))];case 2:return y.sent(),[2,!0]}})})()},u.toDataBindModel=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=et(Ie(i.prototype),"toDataBindModel",this).call(this),c=l?[l]:[];return this.children.reduce(function(o,d){var y=d.toDataBindModel(r);if(Array.isArray(y)){var g=y.filter(function(_){return!!_});return Yr(o).concat(Yr(g))}return y&&o.push(y),o},c)},u.toSchema=function(){var r=et(Ie(i.prototype),"toSchema",this).call(this),l=this.children.map(function(c){var o=c.toSchema();return o});return mv(hv({},r),{children:l})},i}(F);L.excludes=!1,L.childrenMaxLength=Iv;function pr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Sv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function On(t){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(t)}function Av(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ou(t,e)}function Rv(t,e){return e&&(Tv(e)==="object"||typeof e=="function")?e:pr(t)}function Ou(t,e){return Ou=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ou(t,e)}var Tv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Bv(){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=Bv();return function(){var i=On(t),u;if(e){var a=On(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Rv(this,u)}}var q=function(t){Av(n,t);var e=Pv(n);function n(i){Sv(this,n);var u;return u=e.call(this,i),u.controlType="layout",u.props=new N(i==null?void 0:i.props),fe(pr(u),"children",i==null?void 0:i.children),u}return n}(K);function el(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fn(t)}function xv(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&&Fu(t,e)}function Ov(t,e){return e&&(Fv(e)==="object"||typeof e=="function")?e:el(t)}function Fu(t,e){return Fu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fu(t,e)}var Fv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function kv(){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 Mv(t){var e=kv();return function(){var i=Fn(t),u;if(e){var a=Fn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ov(this,u)}}var kn=function(t){xv(n,t);var e=Mv(n);function n(i,u){Dv(this,n);var a;return a=e.call(this,u),fe(el(a),"headers",u==null?void 0:u.headers,i),a}return n}(U);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 Nv(t){if(Array.isArray(t))return ku(t)}function tl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nl(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Lv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){nl(a,i,u,r,l,"next",c)}function l(c){nl(a,i,u,r,l,"throw",c)}r(void 0)})}}function $v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?tt=Reflect.get:tt=function(u,a,r){var l=Kv(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},tt(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function jv(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&&Mu(t,e)}function Hv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function qv(){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 il(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){Vv(t,u,n[u])})}return t}function Uv(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 ul(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Uv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Wv(t,e){return e&&(zv(e)==="object"||typeof e=="function")?e:tl(t)}function Mu(t,e){return Mu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Mu(t,e)}function Kv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function al(t){return Nv(t)||Hv(t)||Gv(t)||qv()}var zv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Gv(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)}}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=Se(t),u;if(e){var a=Se(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Wv(this,u)}}var Jv=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 c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Nu=function(t){jv(n,t);var e=Qv(n);function n(u){$v(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new kn(tl(a),u==null?void 0:u.props),a}var i=n.prototype;return i.validate=function(a,r){var l=this,c=this,o=function(){return tt(Se(n.prototype),"validate",l)};return Lv(function(){return Jv(this,function(d){switch(d.label){case 0:return[4,o().call(c,a)];case 1:return d.sent(),[4,Promise.all(c.props.headers.map(function(y){return y.validate(a,r)}))];case 2:return d.sent(),[2,!0]}})})()},i.toDataBindModel=function(){var a=tt(Se(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[],l=this.id;return this.props.headers.reduce(function(c,o){var d=o.toDataBindModel(l);if(Array.isArray(d)){var y=d.filter(function(g){return!!g});return al(c).concat(al(y))}return d&&c.push(d),c},r)},i.toSchema=function(){var a=tt(Se(n.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(l){return l.toSchema()});return ul(il({},a),{props:ul(il({},this.props),{headers:r})})},n}(F);Nu.controlFieldType=v.LIST;function Lu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Yv(t,e,n){return e&&rl(t.prototype,e),n&&rl(t,n),t}function Mn(t){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mn(t)}function pv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$u(t,e)}function eg(t,e){return e&&(tg(e)==="object"||typeof e=="function")?e:Lu(t)}function $u(t,e){return $u=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},$u(t,e)}var tg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ng(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ig(t){var e=ng();return function(){var i=Mn(t),u;if(e){var a=Mn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return eg(this,u)}}var ll=function(t){pv(n,t);var e=ig(n);function n(i){Zv(this,n);var u;return u=e.call(this,i),u.controlType="list",u.props=new kn(Lu(u),i==null?void 0:i.props),fe(Lu(u),"children",i==null?void 0:i.children),u}return Yv(n,[{key:"length",get:function(){return this.children.length}}]),n}(K);function ol(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nn(t){return Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nn(t)}function ju(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&&Hu(t,e)}function ug(t,e){return e&&(ag(e)==="object"||typeof e=="function")?e:ol(t)}function Hu(t,e){return Hu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Hu(t,e)}var ag=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function rg(){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 qu(t){var e=rg();return function(){var i=Nn(t),u;if(e){var a=Nn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ug(this,u)}}var he=function(t){ju(n,t);var e=qu(n);function n(i){Vu(this,n);var u;return u=e.call(this,i),u.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},u.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},u.width.required=i.widthType==="px",u}return n}(j),$=function(t){ju(n,t);var e=qu(n);function n(i){Vu(this,n);var u;u=e.call(this,i);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 Er(i==null?void 0:i.autoWidth),u.dataBind=new re(i==null?void 0:i.dataBind);var c;u.sort=(c=i==null?void 0:i.sort)!==null&&c!==void 0?c:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(U);$.Rules=he;var cl=function(t){ju(n,t);var e=qu(n);function n(i){Vu(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:f.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Su.call(ol(u),i),u}return n}(he);function lg(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 Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ln(t)}function cg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uu(t,e)}function sg(t,e){return e&&(dg(e)==="object"||typeof e=="function")?e:lg(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Uu(t,e)}var dg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function fg(){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 hg(t){var e=fg();return function(){var i=Ln(t),u;if(e){var a=Ln(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return sg(this,u)}}var z=function(t){cg(n,t);var e=hg(n);function n(i){og(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new $(i==null?void 0:i.props),u}return n}(F);function yg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $n(t){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$n(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&&Wu(t,e)}function gg(t,e){return e&&(bg(e)==="object"||typeof e=="function")?e:yg(t)}function Wu(t,e){return Wu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Wu(t,e)}var bg=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 _g(t){var e=Eg();return function(){var i=$n(t),u;if(e){var a=$n(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return gg(this,u)}}var G=function(t){vg(n,t);var e=_g(n);function n(i){mg(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new $(i==null?void 0:i.props),u}return n}(K);function Cg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vn(t){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vn(t)}function Ig(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&&Ku(t,e)}function Sg(t,e){return e&&(Ag(e)==="object"||typeof e=="function")?e:Cg(t)}function Ku(t,e){return Ku=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ku(t,e)}var Ag=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Rg(){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=Rg();return function(){var i=Vn(t),u;if(e){var a=Vn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Sg(this,u)}}var zu=function(t){Ig(n,t);var e=Tg(n);function n(i){wg(this,n);var u;return u=e.call(this,i),u.dataBind=new re(i==null?void 0:i.dataBind),u}return n}(N);function Bg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pg(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 Dg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gu(t,e)}function xg(t,e){return e&&(Og(e)==="object"||typeof e=="function")?e:Bg(t)}function Gu(t,e){return Gu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Gu(t,e)}var Og=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Fg(){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=Fg();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 xg(this,u)}}var Mg=function(t){Dg(n,t);var e=kg(n);function n(i){Pg(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new zu(i==null?void 0:i.props),u}return n}(L);function Ng(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 Hn(t){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hn(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&&Xu(t,e)}function Vg(t,e){return e&&(jg(e)==="object"||typeof e=="function")?e:Ng(t)}function Xu(t,e){return Xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Xu(t,e)}var jg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Hg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function qg(t){var e=Hg();return function(){var i=Hn(t),u;if(e){var a=Hn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Vg(this,u)}}var Ug=function(t){$g(n,t);var e=qg(n);function n(i){Lg(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new zu(i==null?void 0:i.props),u}return n}(q);function Wg(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 qn(t){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qn(t)}function zg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qu(t,e)}function Gg(t,e){return e&&(Xg(e)==="object"||typeof e=="function")?e:Wg(t)}function Qu(t,e){return Qu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Qu(t,e)}var Xg=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 Jg(t){var e=Qg();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 Gg(this,u)}}var Ju=function(t){zg(n,t);var e=Jg(n);function n(i){return Kg(this,n),e.call(this,i)}return n}(N);function Zg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Un(t){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Un(t)}function pg(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 eb(t,e){return e&&(tb(e)==="object"||typeof e=="function")?e:Zg(t)}function Zu(t,e){return Zu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zu(t,e)}var tb=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function nb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ib(t){var e=nb();return function(){var i=Un(t),u;if(e){var a=Un(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return eb(this,u)}}var ub=function(t){pg(n,t);var e=ib(n);function n(i){Yg(this,n);var u;return u=e.call(this,i),u.controlType="wrap",u.props=new Ju(i==null?void 0:i.props),u}return n}(L);function ab(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(t)}function lb(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 ob(t,e){return e&&(cb(e)==="object"||typeof e=="function")?e:ab(t)}function Yu(t,e){return Yu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yu(t,e)}var cb=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function sb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function db(t){var e=sb();return function(){var i=Wn(t),u;if(e){var a=Wn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ob(this,u)}}var fb=function(t){lb(n,t);var e=db(n);function n(i){rb(this,n);var u;return u=e.call(this,i),u.controlType="wrap",u.props=new Ju(i==null?void 0:i.props),u}return n}(q);function xe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class pu extends U{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 sl extends F{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}sl.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class hb extends K{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props)}static get controlType(){return"text"}}var dl={Designer:sl,Runtime:hb,Property:pu};class ea extends U{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 ta extends F{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}ta.controlEventKeys=["on_click"],ta.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class yb extends K{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props)}static get controlType(){return"link"}}var fl={Designer:ta,Runtime:yb,Property:ea};class J extends U{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.optObj=new xy((d=e==null?void 0:e.optObj)!=null?d:{})}}class Z extends F{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Z.controlEventKeys=["on_click","on_click_finish"],Z.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class te extends K{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlType(){return"button"}}var hl={Designer:Z,Runtime:te,Property:J},Ae=(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))(Ae||{}),yl=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(yl||{}),ml=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(ml||{});class Kn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:se(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var na=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(na||{});class zn{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:se(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var ia=(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))(ia||{});class ua{constructor(e){var n,i,u,a,r,l,c,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new mt((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 mt((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(c=e==null?void 0:e.company)!=null?c:new mt((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class vl{constructor(e){var n,i,u,a,r,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(c=>new ua(c)))!=null?u:[new ua],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class aa{constructor(e){var n,i,u,a,r,l,c;this.id=(n=e==null?void 0:e.id)!=null?n:se(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(c=e==null?void 0:e.active)!=null?c:!1}}class ra{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 gl{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 ra(e==null?void 0:e.watermark),this.autoRename=new ra(e==null?void 0:e.autoRename)}}const bl=480;function _t(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class El{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 _l{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 Cl=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Cl||{}),la=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(la||{}),Gn=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Gn||{}),Re=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Re||{}),oa=(t=>(t.ALL="all",t.ADMIN="admin",t))(oa||{});class ca extends U{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:ia.SOLID}}class wl extends F{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}wl.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class mb extends K{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Il={Designer:wl,Runtime:mb,Property:ca};class vb extends j{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(Ae.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 Xn extends U{constructor(e){var n,i,u,a;super(e),this.dataBind=new re(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Ae.ShowSubmitUser,Ae.ShowSubmitDept,Ae.ShowSubmitTime,Ae.ShowCurrentApprovar,Ae.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:nt==null?void 0:nt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}Xn.Rules=vb;class nt extends F{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}nt.controlFieldType=v.AUTO_NUMBER,nt.setting=[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class gb extends K{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlType(){return"title"}}var Sl={Designer:nt,Runtime:gb,Property:Xn};class bb extends j{constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class Qn extends J{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ct.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ct.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}Qn.Rules=bb;class Ct extends Z{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Eb extends te{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Al={Designer:Ct,Runtime:Eb,Property:Qn};class _b extends j{constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class Jn extends J{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:wt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:wt.controlName,this.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:""}}Jn.Rules=_b;class wt extends Z{constructor(e){super(e),this.props=new Jn(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"}}wt.controlEventKeys=["on_click","on_click_finish"],wt.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 Cb extends te{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Rl={Designer:wt,Runtime:Cb,Property:Jn};class sa extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:It.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:It.controlIcon}}class It extends Z{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}It.controlEventKeys=["on_click"],It.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class wb extends te{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Tl={Designer:It,Runtime:wb,Property:sa};class da extends J{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:St.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:St.controlName,this.templateList=(a=(u=e==null?void 0:e.templateList)==null?void 0:u.map(r=>new aa(r)))!=null?a:[new aa({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class St extends Z{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}St.controlEventKeys=["on_click","on_click_finish"],St.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Ib extends te{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Bl={Designer:St,Runtime:Ib,Property:da};class fa extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:At.controlIcon}}class At extends Z{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}At.controlEventKeys=["on_click"],At.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Sb extends te{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Pl={Designer:At,Runtime:Sb,Property:fa};class Ab{constructor(e){this.dataCode=e.dataCode}}class ha extends J{constructor(e){var n,i,u,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Rt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Rt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new Ab(r)))!=null?a:[]}}class Rt extends Z{constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Rt.controlEventKeys=["on_click","on_click_finish"],Rt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class Rb extends te{constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Dl={Designer:Rt,Runtime:Rb,Property:ha};function Zn(){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 Tb extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:ge({},Zn())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ge({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Zn())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class Yn extends J{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Tt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Tt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new su(e==null?void 0:e.fillPayload),this.formBind=new hy(e==null?void 0:e.formBind),this.fillBack=new Ar(e==null?void 0:e.fillBack)}}Yn.Rules=Tb;class Tt extends Z{constructor(e){super(e),this.props=new Yn(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"}}Tt.controlEventKeys=["on_click","on_click_finish"],Tt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Bb extends te{constructor(e){super(e),this.props=new Yn(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var xl={Designer:Tt,Runtime:Bb,Property:Yn};class Pb extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:ge({},Zn())},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:ge({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Zn())}}}class pn extends J{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Bt.controlIcon,this.fillPayload=new su(e==null?void 0:e.fillPayload),this.listPageBind=new au(e==null?void 0:e.listPageBind),this.fillBack=new Ar(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new cu(e==null?void 0:e.selectedContentConfig)}}pn.Rules=Pb;class Bt extends Z{constructor(e){super(e),this.props=new pn(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"}}Bt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Db extends te{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Ol={Designer:Bt,Runtime:Db,Property:pn};class xb extends j{constructor(e){super(e)}}class Ob extends De{constructor(e){super(e)}}class Pt extends U{constructor(e){super(e)}}Pt.Rules=xb,Pt.RuntimeRules=Ob;class Fl extends F{constructor(e){super(e),this.props=new Pt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Fl.setting=[];class Fb extends K{constructor(e){super(e),this.props=new Pt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var kl={Designer:Fl,Runtime:Fb,Property:Pt};class kb extends j{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 U{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=kb;class Ml extends F{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"}}Ml.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Mb extends K{constructor(e){super(e),this.props=new ei(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Nl={Designer:Ml,Runtime:Mb,Property:ei};class Nb extends j{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 ti extends U{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 Py(a)))!=null?u:[]}}ti.Rules=Nb;class Ll extends F{constructor(e){super(e),this.props=new ti(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"}}Ll.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Lb extends K{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var $l={Designer:Ll,Runtime:Lb,Property:ti};class $b extends j{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 ni extends J{constructor(e){var n,i,u,a,r,l,c,o,d,y;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.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:it.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:it.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(y=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Y(g)))!=null?y:[]}}ni.Rules=$b;class it extends Z{constructor(e){super(e),this.props=new ni(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"}}it.controlEventKeys=["on_click","on_click_finish"],it.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Vb extends te{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Vl={Designer:it,Runtime:Vb,Property:ni};class jb extends j{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 ii extends J{constructor(e){var n,i,u,a,r,l,c,o,d,y;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.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:ut.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:ut.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(y=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Y(g)))!=null?y:[]}}ii.Rules=jb;class ut extends Z{constructor(e){super(e),this.props=new ii(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"}}ut.controlEventKeys=["on_click","on_click_finish"],ut.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Hb extends te{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var jl={Designer:ut,Runtime:Hb,Property:ii};class qb extends j{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class ui extends J{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Dt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Dt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new El(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}ui.Rules=qb;class Dt extends Z{constructor(e){super(e),this.props=new ui(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Dt.controlEventKeys=["on_click","on_click_finish"],Dt.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Ub extends te{constructor(e){super(e),this.props=new ui(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Hl={Designer:Dt,Runtime:Ub,Property:ui};class ya extends J{constructor(e){var n,i;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}}class xt extends Z{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}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:"super-setting",visible:!0}];class Wb extends te{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var ql={Designer:xt,Runtime:Wb,Property:ya};class Kb extends j{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 U{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=Kb;class ri extends F{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:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class zb extends K{constructor(e){super(e),this.props=new ai(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Ul={Designer:ri,Runtime:zb,Property:ai};class ma extends U{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ot.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ot.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Ot extends F{constructor(e){super(e),this.props=new ma(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"}}Ot.controlEventKeys=["on_click"],Ot.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class Gb extends K{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Wl={Designer:Ot,Runtime:Gb,Property:ma},Xb=Object.freeze({__proto__:null,Text:dl,Link:fl,Button:hl,Divider:Il,Title:Sl,CreateFormListButton:Al,BatchSubmissionListButton:Rl,SubmissionRecordListButton:Tl,ExportListButton:Bl,ExportRecordListButton:Pl,ImportRecordListButton:Dl,FormSelectButton:xl,ListSelectButton:Ol,Pagination:kl,Dashboard:Nl,ListViewSelect:$l,TextOcrButton:Vl,InvoiceCheckButton:jl,BatchPrintListButton:Hl,BatchPrintRecordListButton:ql,OperationButton:Ul,BatchDeleteButton:Wl});class Qb extends X{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 Jb extends k{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 at extends T{constructor(e){var n,i,u,a,r,l,c;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new Rr(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:rt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(c=e==null?void 0:e.encryptedMode)!=null?c:""}}at.Rules=Qb,at.RuntimeRules=Jb;class rt extends B{constructor(e){super(e),this.props=new at(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"}}rt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],rt.controlFieldType=v.VARCHAR,rt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Kl extends P{constructor(e){super(e),this.props=new at(e==null?void 0:e.props)}static get controlType(){return"input"}}Kl.controlFieldType=v.VARCHAR;var zl={Designer:rt,Runtime:Kl,Property:at};class Zb extends pe{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 Yb extends k{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 Ft extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_,w;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(c=e==null?void 0:e.limitMax)!=null?c:"unlimited",this.datasourceBind=new W(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:kt.controlName,this.defaultValue=(y=e==null?void 0:e.defaultValue)!=null?y:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!0,this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var I;(I=this.multistageFilling)==null||I.push(new Y(b))}))}}Ft.Rules=Zb,Ft.RuntimeRules=Yb;class kt extends B{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}kt.controlEventKeys=["on_change","on_click"],kt.controlFieldType=v.ARRAY,kt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Gl extends P{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Gl.controlFieldType=v.ARRAY;var Xl={Designer:kt,Runtime:Gl,Property:Ft};class pb extends pe{constructor(e){super(e)}}class li extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(c=e==null?void 0:e.optionsFormat)!=null?c:"horizontal",this.datasourceBind=new W(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:Mt.controlName,this.defaultValue=(y=e==null?void 0:e.defaultValue)!=null?y:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var w;(w=this.multistageFilling)==null||w.push(new Y(_))}))}}li.Rules=pb;class Mt extends B{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Mt.controlEventKeys=["on_change","on_click"],Mt.controlFieldType=v.VARCHAR,Mt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Ql extends P{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"radio"}}Ql.controlFieldType=v.VARCHAR;var Jl={Designer:Mt,Runtime:Ql,Property:li};class e0 extends X{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 t0 extends k{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 Nt extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_,w;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(c=e==null?void 0:e.showUpperCase)!=null?c:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(y=e==null?void 0:e.unit)!=null?y:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Lt.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:"\u8BF7\u8F93\u5165",this.defaultValue=(w=e==null?void 0:e.defaultValue)!=null?w:"",this.regularRules=new Rr(e==null?void 0:e.regularRules)}}Nt.Rules=e0,Nt.RuntimeRules=t0;class Lt extends B{constructor(e){super(e),this.props=new Nt(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}}Lt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Lt.controlFieldType=v.DECIMAL,Lt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Zl extends P{constructor(e){super(e),this.props=new Nt(e==null?void 0:e.props)}static get controlType(){return"number"}}Zl.controlFieldType=v.DECIMAL;var Yl={Designer:Lt,Runtime:Zl,Property:Nt};class va extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.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:oi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",this.limitDateList=(d=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(_=>new Kn(_)))!=null?d:[],this.allowDateRange=(y=e==null?void 0:e.allowDateRange)!=null?y:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class oi extends B{constructor(e){super(e),this.props=new va(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}}oi.controlFieldType=v.TIMESTAMP,oi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class pl extends P{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}pl.controlFieldType=v.TIMESTAMP;var eo={Designer:oi,Runtime:pl,Property:va};class n0 extends k{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 ci extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g;super(e),this.dataBind=new Sy(e==null?void 0:e.dataBind),this.defaultValue=new Ay(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(d=e==null?void 0:e.caption)!=null?d:si.controlName,this.limitDateList=(g=(y=e==null?void 0:e.limitDateList)==null?void 0:y.map(_=>new Kn(_)))!=null?g:[]}}ci.RuntimeRules=n0;class si extends B{constructor(e){super(e),this.props=new ci(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}}si.controlFieldType=v.TIMESCOPE,si.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class to extends P{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"date-range"}}to.controlFieldType=v.TIMESCOPE;var no={Designer:si,Runtime:to,Property:ci};class i0 extends X{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 u0 extends k{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 $t extends T{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:Vt.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}}$t.Rules=i0,$t.RuntimeRules=u0;class Vt extends B{constructor(e){super(e),this.props=new $t(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"}}Vt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Vt.controlFieldType=v.TEXT,Vt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class io extends P{constructor(e){super(e),this.props=new $t(e==null?void 0:e.props)}static get controlType(){return"textarea"}}io.controlFieldType=v.TEXT;var uo={Designer:Vt,Runtime:io,Property:$t};class a0 extends X{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 r0 extends k{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 jt extends T{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:Ht.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}jt.Rules=a0,jt.RuntimeRules=r0;class Ht extends B{constructor(e){super(e),this.props=new jt(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"}}Ht.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ht.controlFieldType=v.TEXT,Ht.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class ao extends P{constructor(e){super(e),this.props=new jt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}ao.controlFieldType=v.TEXT;var ro={Designer:Ht,Runtime:ao,Property:jt};class l0 extends pe{constructor(e){super(e)}}class di extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y;super(e),this.options=de((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 W(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=(c=e==null?void 0:e.allowCopyOptions)!=null?c:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var _;(_=this.multistageFilling)==null||_.push(new Y(g))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(y=e==null?void 0:e.viewFormModelType)!=null?y:"window",this.formBind=new Ze(e==null?void 0:e.formBind)}}di.Rules=l0;class fi extends B{constructor(e){super(e),this.props=new di(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=v.VARCHAR,fi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class lo extends P{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"select"}}lo.controlFieldType=v.VARCHAR;var oo={Designer:fi,Runtime:lo,Property:di};class o0 extends pe{constructor(e){super(e)}}class c0 extends k{constructor(e){super(e),this[0].type="array"}}class qt extends T{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.options=de((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 W(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:hi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var g;(g=this.multistageFilling)==null||g.push(new Y(y))})),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 Ze(e==null?void 0:e.formBind)}}qt.Rules=o0,qt.RuntimeRules=c0;class hi extends B{constructor(e){super(e),this.props=new qt(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"}}hi.controlFieldType=v.ARRAY,hi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class co extends P{constructor(e){super(e),this.props=new qt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}co.controlFieldType=v.ARRAY;var so={Designer:hi,Runtime:co,Property:qt};class s0 extends k{constructor(e){super(e),this[0].type="array"}}class yi extends T{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:mi.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(y=>{var g;(g=this.multistageFilling)==null||g.push(new Y(y))}))}}yi.RuntimeRules=s0;class mi extends B{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}mi.controlFieldType=v.EMPLOYEES,mi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class fo extends P{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"employee"}}fo.controlFieldType=v.EMPLOYEES;var ho={Designer:mi,Runtime:fo,Property:yi};const d0=10485760,f0=104857600,h0=1048576e3;class y0 extends X{constructor(e){super(e),this.maxSize={type:"number",min:0,max:h0,message:f.getMessage("attachmentMaxSize")}}}class m0 extends k{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 lt extends T{constructor(e){var n,i,u,a,r,l,c,o;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.attachmentAccept=(u=e==null?void 0:e.attachmentAccept)!=null?u:[],this.maxLimit=(a=e==null?void 0:e.maxLimit)!=null?a:10,this.minLimit=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(l=e==null?void 0:e.maxSize)!=null?l:f0,this.caption=(c=e==null?void 0:e.caption)!=null?c:ot.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}lt.Rules=y0,lt.RuntimeRules=m0;class ot extends B{constructor(e){super(e),this.props=new lt(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}ot.controlEventKeys=["on_change"],ot.controlFieldType=v.FILE,ot.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class ga extends P{constructor(e){super(e),this.props=new lt(e==null?void 0:e.props)}static get controlType(){return"attachment"}}ga.controlFieldType=v.FILE;var yo={Designer:ot,Runtime:ga,Property:lt};const mo=class extends ot{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:mo.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let ba=mo;ba.controlFieldType=v.IMAGE,ba.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class v0 extends ga{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 g0 extends lt{constructor(e){super(e)}}var vo={Designer:ba,Runtime:v0,Property:g0};class b0 extends pe{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 E0 extends k{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:[mn(ge({},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 Ut extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new wy(e==null?void 0:e.dataBind),this.datasourceBind=new W((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new lu({value:"name"})]}),this.defaultValue=new Iy((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:_n.CNY}),this.options=de(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:Wt.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(y=e==null?void 0:e.submitSelectCurrency)!=null?y:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}Ut.Rules=b0,Ut.RuntimeRules=E0;class Wt extends B{constructor(e){super(e),this.props=new Ut(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}}Wt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Wt.controlFieldType=v.MONEY,Wt.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class go extends P{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"amount"}}go.controlFieldType=v.MONEY;var bo={Designer:Wt,Runtime:go,Property:Ut};class _0 extends X{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 C0 extends k{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 Kt extends T{constructor(e){var n,i,u,a,r,l,c;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:na.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 zn(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new zn),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:zt.controlName}}Kt.Rules=_0,Kt.RuntimeRules=C0;class zt extends B{constructor(e){super(e),this.props=new Kt(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 zn);this.props.explain.push(...u)}}super.postUpdate(e,n)}}zt.controlEventKeys=["on_change","on_click"],zt.controlFieldType=v.DECIMAL,zt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Eo extends P{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"score"}}Eo.controlFieldType=v.DECIMAL;var _o={Designer:zt,Runtime:Eo,Property:Kt};class w0 extends k{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 vi extends T{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:gi.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new Ry((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"}}vi.RuntimeRules=w0;class gi extends B{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}gi.controlFieldType=v.ADDRESS,gi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Co extends P{constructor(e){super(e),this.props=new vi(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"}}Co.controlFieldType=v.ADDRESS;var wo={Designer:gi,Runtime:Co,Property:vi};class I0 extends k{constructor(e){super(e),this[0].type="array"}}class bi extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Gt.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var w;(w=this.multistageFilling)==null||w.push(new Y(_))}))}}bi.RuntimeRules=I0;class Gt extends B{constructor(e){super(e),this.props=new bi(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}}Gt.controlName="\u90E8\u95E8",Gt.controlFieldType=v.DEPARTMENTS,Gt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Io extends P{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"department"}}Io.controlFieldType=v.DEPARTMENTS;var So={Designer:Gt,Runtime:Io,Property:bi};class Ea extends T{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:Xt.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class Xt extends B{constructor(e){super(e),this.props=new Ea(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"}}Xt.controlEventKeys=["on_change"],Xt.controlFieldType=v.AUTO_NUMBER,Xt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Ao extends P{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Ao.controlFieldType=v.AUTO_NUMBER;var Ro={Designer:Xt,Runtime:Ao,Property:Ea};class S0 extends X{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 A0 extends k{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 Qt extends T{constructor(e){var n,i,u,a,r,l,c;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 Ty(e==null?void 0:e.dataBind),this.defaultValue=new By(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:Jt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:""}}Qt.Rules=S0,Qt.RuntimeRules=A0;class Jt extends B{constructor(e){super(e),this.props=new Qt(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}}Jt.controlEventKeys=["on_change"],Jt.controlFieldType=v.CALC,Jt.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class To extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"calc"}}To.controlFieldType=v.CALC;var Bo={Designer:Jt,Runtime:To,Property:Qt};class R0 extends k{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 Ei extends T{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:_i.controlName}}Ei.RuntimeRules=R0;class _i extends B{constructor(e){super(e),this.props=new Ei(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"}}_i.controlFieldType=v.DECIMAL_RANGE,_i.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Po extends P{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Po.controlFieldType=v.DECIMAL_RANGE;var Do={Designer:_i,Runtime:Po,Property:Ei};class T0 extends k{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 Ci extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:be.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(c=e==null?void 0:e.rangeMax)!=null?c:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u7ED3\u675F\u65E5\u671F",this.caption=(y=e==null?void 0:e.caption)!=null?y:wi.controlName,this.limitDateList=(_=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(w=>new Kn(w)))!=null?_:[]}}Ci.RuntimeRules=T0;class wi extends B{constructor(e){super(e),this.props=new Ci(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=v.ARRAY,wi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class xo extends P{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}xo.controlFieldType=v.ARRAY;var Oo={Designer:wi,Runtime:xo,Property:Ci};class B0 extends X{constructor(e){super(e),this.dataBind={type:"any"}}}class P0 extends k{constructor(e){super(e),this[0].type="any"}}class Zt extends T{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Yt.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}}Zt.Rules=B0,Zt.RuntimeRules=P0;class Yt extends B{constructor(e){super(e),this.props=new Zt(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"}}Yt.controlFieldType=v.ANY,Yt.controlEventKeys=[],Yt.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Fo extends P{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Fo.controlFieldType=v.ANY;var ko={Designer:Yt,Runtime:Fo,Property:Zt};class D0 extends pe{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 Ii extends T{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new au(e==null?void 0:e.listPageBind),this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:pt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(c=e==null?void 0:e.showSelectedDetail)!=null?c:!1,this.selectedContentConfig=new cu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var g;(g=this.multistageFilling)==null||g.push(new Y(y))})),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 Ze(e==null?void 0:e.formBind)}}Ii.Rules=D0;class pt extends B{constructor(e){super(e),this.props=new Ii(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"}}pt.controlFieldType=v.VARCHAR,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],pt.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Mo extends P{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Mo.controlFieldType=v.VARCHAR;var No={Designer:pt,Runtime:Mo,Property:Ii};class _a extends at{constructor(e){super(e)}}class Lo extends rt{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Lo.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}];class $o extends P{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlType(){return"search-input"}}$o.controlFieldType=v.VARCHAR;var Vo={Designer:Lo,Runtime:$o,Property:_a};class x0 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Sn.call(this,e,Te.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 O0 extends k{constructor(e){super(e),this[0].type="array"}}class en extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_,w,b,I,m,E,x,A;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Te.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(c=e==null?void 0:e.containsSubNode)!=null?c:!1,this.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(y=e==null?void 0:e.isDefaultCheckSub)!=null?y:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(_=e==null?void 0:e.defaultCollapseLevel)!=null?_:1,this.datasourceBind=new Ir((w=e==null?void 0:e.datasourceBind)!=null?w:{attributes:Te.controlCustomAttributes}),this.filterItemDatasourceBind=new Ir((b=e==null?void 0:e.filterItemDatasourceBind)!=null?b:{attributes:Te.controlCustomAttributes}),this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(x=(E=e==null?void 0:e.multistageFilling)==null?void 0:E.map(D=>new Y(D)))!=null?x:[],this.defaultValue=(A=e==null?void 0:e.defaultValue)!=null?A:[]}}en.Rules=x0,en.RuntimeRules=O0;class Te extends B{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}Te.controlEventKeys=["on_change","on_click"],Te.controlFieldType=v.ARRAY,Te.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class jo extends P{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"tree"}}jo.controlFieldType=v.ARRAY;var Ho={Designer:Te,Runtime:jo,Property:en};class F0 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},Sn.call(this,e,ct.controlCustomAttributes),e.externalType===Re.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class k0 extends k{constructor(e){super(e),this[0].type="array"}}class tn extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_,w,b;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:ct.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 En((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:ct.controlCustomAttributes}),this.datasourceType=(y=e==null?void 0:e.datasourceType)!=null?y:la.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:oa.ADMIN,this.externalType=(_=e==null?void 0:e.externalType)!=null?_:Re.ALL,this.externalScope=(w=e==null?void 0:e.externalScope)!=null?w:[],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(I=>{var m;(m=this.multistageFilling)==null||m.push(new Y(I))}))}}tn.Rules=F0,tn.RuntimeRules=k0;class ct extends B{constructor(e){super(e),this.props=new tn(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}]}}ct.controlFieldType=v.EMPLOYEES,ct.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class qo extends P{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}qo.controlFieldType=v.EMPLOYEES;var Uo={Designer:ct,Runtime:qo,Property:tn};class M0 extends X{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"&&eu(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")&&eu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Si extends T{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:nn.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 vl(e==null?void 0:e.signatureConfig)}}Si.Rules=M0;class nn extends B{constructor(e){super(e),this.props=new Si(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"}}nn.controlEventKeys=["on_click","on_click_finish"],nn.controlFieldType=v.VARCHAR,nn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class Wo extends P{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Wo.controlFieldType=v.VARCHAR;var Ko={Designer:nn,Runtime:Wo,Property:Si};class N0 extends X{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 L0 extends k{constructor(e){super(e),this[0].type="array"}}class un extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:an.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(c=e==null?void 0:e.canDownload)!=null?c:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(y=e==null?void 0:e.maxSize)!=null?y:d0,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new gl(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}un.Rules=N0,un.RuntimeRules=L0;class an extends B{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}an.controlEventKeys=["on_change","on_wps_open"],an.controlFieldType=v.FILE,an.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class zo extends P{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"wps"}}zo.controlFieldType=v.FILE;var Go={Designer:an,Runtime:zo,Property:un};class $0 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Sn.call(this,e,Oe.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class V0 extends k{constructor(e){super(e),this[0].type="array"}}class rn extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_,w,b,I;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Oe.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new En((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Oe.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:Gn.INTERNAL,this.businessScope=(w=e==null?void 0:e.businessScope)!=null?w:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Re.ALL,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var E;(E=this.multistageFilling)==null||E.push(new Y(m))}))}}rn.Rules=$0,rn.RuntimeRules=V0;class Oe extends B{constructor(e){super(e),this.props=new rn(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}}Oe.controlName="\u90E8\u95E8",Oe.controlFieldType=v.DEPARTMENTS,Oe.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Xo extends P{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Xo.controlFieldType=v.DEPARTMENTS;var Qo={Designer:Oe,Runtime:Xo,Property:rn};class j0 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Sn.call(this,e,Fe.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class H0 extends k{constructor(e){super(e),this[0].type="array"}}class ln extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_,w,b,I,m,E,x;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 au(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Fe.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new _y((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Fe.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:Gn.INTERNAL,this.businessScope=(w=e==null?void 0:e.businessScope)!=null?w:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Re.ALL,this.organizingFunction=(I=e==null?void 0:e.organizingFunction)!=null?I:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(E=e==null?void 0:e.showSelectedDetail)!=null?E:!1,this.selectedContentConfig=new cu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(x=e==null?void 0:e.openMultistageFilling)!=null?x:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(A=>{var D;(D=this.multistageFilling)==null||D.push(new Y(A))}))}}ln.Rules=j0,ln.RuntimeRules=H0;class Fe extends B{constructor(e){super(e),this.props=new ln(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}}Fe.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Fe.controlFieldType=v.DEPARTMENTS,Fe.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Jo extends P{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Jo.controlFieldType=v.DEPARTMENTS;var Zo={Designer:Fe,Runtime:Jo,Property:ln},q0=Object.freeze({__proto__:null,Input:zl,Checkbox:Xl,Radio:Jl,Number:Yl,DatePicker:eo,DateRange:no,Textarea:uo,RichText:ro,Select:oo,SelectMultiple:so,Employee:ho,Image:vo,Attachment:yo,Amount:bo,Score:_o,Address:wo,Department:So,AutoNumber:Ro,Calc:Bo,SearchNumberRange:Do,SearchDateRange:Oo,VueFormItem:ko,SelectRelation:No,SearchInput:Vo,Tree:Ho,Employee2:Uo,ElectronicSignature:Ko,WPS:Go,Department2:Qo,OrganizationSelection:Zo});class Yo extends L{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Yo.excludes=[C.GRID];class U0 extends q{static get controlType(){return"grid"}constructor(e){super(e)}}var po={Designer:Yo,Runtime:U0,Property:N};const W0=24;class ke extends N{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:W0,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class on extends L{constructor(e){super(e),this.props=new ke(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}on.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],on.childrenMaxLength=1;class Ca extends q{constructor(e){super(e),this.props=new ke(e==null?void 0:e.props)}static get controlType(){return"col"}}var ec={Designer:on,Runtime:Ca,Property:ke};class Ai extends N{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 Ri extends L{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Ri.excludes=[C.ROW],Ri.setting=[{key:"col-setting",visible:!0}];class tc extends q{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"row"}}var nc={Designer:Ri,Runtime:tc,Property:Ai};const K0=4;class Ti extends Ri{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)}}Ti.excludes=[C.GRID_ROW],Ti.setting=[],Ti.childrenMaxLength=K0;class z0 extends tc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class G0 extends Ai{constructor(e){super(e)}}var ic={Designer:Ti,Runtime:z0,Property:G0};class X0 extends N.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Bi extends N{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"}}Bi.Rules=X0;class wa extends L{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}wa.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],wa.excludes=[C.CARD_GROUP];class Q0 extends q{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var uc={Designer:wa,Runtime:Q0,Property:Bi};class J0 extends j{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 Pi extends N{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 dy(e==null?void 0:e.metaAutoWidth)}}Pi.Rules=J0;class le extends L{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}}le.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",le.controlType="subtable-column",le.controlIcon="subtable-column",le.childrenMaxLength=1,le.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],le.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class ac extends q{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}}ac.controlType="subtable-column";var rc={Designer:le,Runtime:ac,Property:Pi};class Ia extends N{constructor(e){super(e)}}class Me extends L{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}}Me.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Me.controlType="subtable-row",Me.controlIcon="subtable-row",Me.childrenMaxLength=1,Me.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.SUBTABLE_ROW,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Me.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class Z0 extends q{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var lc={Designer:Me,Runtime:Z0,Property:Ia};class Sa extends N{constructor(e){var n,i,u,a,r,l,c,o,d,y;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:v.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.textCleanFormart=(c=e==null?void 0:e.textCleanFormart)!=null?c:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:be.DATE,this.departmentDisplayLevel=(y=e==null?void 0:e.departmentDisplayLevel)!=null?y:1}}class Ne extends L{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}Ne.controlName="\u5217\u8868\u5355\u5143\u683C",Ne.controlType="gridtable-column",Ne.controlIcon="gridtable-column",Ne.childrenMaxLength=1,Ne.excludes=[C.GRID_TABLE,C.GRID_TABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Ne.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class oc extends q{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}oc.controlType="gridtable-column";var cc={Designer:Ne,Runtime:oc,Property:Sa};class Aa extends N{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class Y0 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Di extends N{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:sn.controlName}}Di.Rules=Y0;class cn extends L{constructor(e){super(e),this.props=new Di(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"}}cn.excludes=[C.TAB],cn.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class p0 extends q{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var sc={Designer:cn,Runtime:p0,Property:Di};class sn extends L{constructor(e){var n;super(e),this.props=new Aa(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new cn,new cn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}sn.excludes=[C.TAB],sn.controlEventKeys=["on_change_tab"],sn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class eE extends q{constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}static get controlType(){return"tab"}}var dc={Designer:sn,Runtime:eE,Property:Aa};class fc extends N{constructor(e){super(e)}}class hc extends L{constructor(e){super(e),this.props=new fc({}),this.children=(e==null?void 0:e.children)||[new on({props:new ke({span:12})}),new on({props:new ke({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}hc.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class tE extends q{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ca({props:new ke({span:12})}),new Ca({props:new ke({span:12})})]}}var yc={Designer:hc,Runtime:tE,Property:fc};class nE extends De{constructor(e){super(e),this.push({type:"object",fields:{}})}}class iE extends j{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}),Su.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 dn extends N{constructor(e){var n,i,u,a,r,l,c,o,d,y,g;super(e),this.datasourceBind=new W(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 vy(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new by(e==null?void 0:e.joinRelation),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(c=e==null?void 0:e.showFullScreen)!=null?c:!1,this.selectionType=(o=e==null?void 0:e.selectionType)!=null?o:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(y=e==null?void 0:e.isShowSelection)!=null?y:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType}}dn.Rules=iE,dn.RuntimeRules=nE;class xi extends L{constructor(e){super(e),this.props=new dn(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"}}xi.excludes=[C.ROW],xi.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"],xi.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 uE extends q{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var mc={Designer:xi,Runtime:uE,Property:dn};class aE extends De{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Oi extends N{constructor(e){var n,i,u,a,r,l;super(e),this.save=new Ce((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Ce((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Ce((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Ce((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(c=>new Ce(c)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new W(e==null?void 0:e.datasourceBind)}}Oi.RuntimeRules=aE;class vc extends L{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}vc.excludes=[];class rE extends q{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var gc={Designer:vc,Runtime:rE,Property:Oi};class lE extends L{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class oE extends q{static get controlType(){return"page"}constructor(e){super(e)}}class cE extends N{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 bc={Designer:lE,Runtime:oE,Property:cE};class sE extends L{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class dE extends q{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class fE extends N{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new _l(e==null?void 0:e.flexConfig)}}var Ec={Designer:sE,Runtime:dE,Property:fE};class hE extends L{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class yE extends q{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class mE extends N{constructor(e){super(e)}}var _c={Designer:hE,Runtime:yE,Property:mE};class vE extends L{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class gE extends q{static get controlType(){return"position"}constructor(e){super(e)}}class bE extends N{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 Cc={Designer:vE,Runtime:gE,Property:bE};class Ra extends N{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 Ta extends L{constructor(e){var n;super(e),this.props=new Ra((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"}}Ta.excludes=[],Ta.setting=[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}];class EE extends q{constructor(e){var n;super(e),this.props=new Ra((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var wc={Designer:Ta,Runtime:EE,Property:Ra},_E=Object.freeze({__proto__:null,Grid:po,Col:ec,Row:nc,GridRow:ic,CardGroup:uc,SubTableColumn:rc,SubTableRow:lc,GridTableColumn:cc,Tab:dc,TabPane:sc,Toolbox:yc,ListView:mc,DataView:gc,Page:bc,AdvancedContainer:Ec,PositioningContainer:_c,Position:Cc,ActionBar:wc});class CE extends j{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 wE extends De{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 fn extends kn{constructor(e,n){var i,u,a,r,l,c,o,d,y,g,_,w,b,I,m,E,x,A,D,ne,O,ie,hn,me,Ki,yn,st,ve;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:Fi.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=(c=n==null?void 0:n.formKey)!=null?c:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(d=n==null?void 0:n.maxHeight)!=null?d:bl,this.printMode=(y=n==null?void 0:n.printMode)!=null?y:"row",this.limitRows=(g=n==null?void 0:n.limitRows)!=null?g:1,this.maxRows=(_=n==null?void 0:n.maxRows)!=null?_:null,this.defaultRows=(w=n==null?void 0:n.defaultRows)!=null?w:1,this.datasourceBind=new W(n==null?void 0:n.datasourceBind),this.canAdd=(b=n==null?void 0:n.canAdd)!=null?b:!0,this.canDelete=(I=n==null?void 0:n.canDelete)!=null?I:!0,this.canCheck=(m=n==null?void 0:n.canCheck)!=null?m:!1,this.canEdit=(E=n==null?void 0:n.canEdit)!=null?E:!1,this.canImport=(x=n==null?void 0:n.canImport)!=null?x:!1,this.canExport=(A=n==null?void 0:n.canExport)!=null?A:!1,this.canClear=(D=n==null?void 0:n.canClear)!=null?D:!0,this.serverPagination=(ne=n==null?void 0:n.serverPagination)!=null?ne:!1,this.isShowCaptionTip=(O=n==null?void 0:n.isShowCaptionTip)!=null?O:!1,this.captionTip=(ie=n==null?void 0:n.captionTip)!=null?ie:"",this.mobileShowType=(hn=n==null?void 0:n.mobileShowType)!=null?hn:"list",this.mobileDefaultNum=(me=n==null?void 0:n.mobileDefaultNum)!=null?me:10,this.dataStorageDoc=(Ki=n==null?void 0:n.dataStorageDoc)!=null?Ki:new fy,this.fixedColumn=(yn=n==null?void 0:n.fixedColumn)!=null?yn:[],this.mobileRowCaption=(st=n==null?void 0:n.mobileRowCaption)!=null?st:"\u660E\u7EC6",this.mobileIsTile=(ve=n==null?void 0:n.mobileIsTile)!=null?ve:!1}}fn.Rules=CE,fn.RuntimeRules=wE;class Fi extends Nu{constructor(e){var n;super(e),this.props=new fn(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 le,new le,new le])}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 le,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Fi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Fi.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{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 IE extends ll{constructor(e){super(e),this.props=new fn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){fr("Method not implemented.")}getChildrenFormControl(){return[]}}var Ic={Designer:Fi,Runtime:IE,Property:fn};class Ba extends kn{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 SE extends he{constructor(e){super(e),this.caption.required=!1}}class ki extends ${constructor(e){var n,i,u,a,r,l,c,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Le.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(c=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?c:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}ki.Rules=SE;class Le extends z{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}}Le.controlType="order-column",Le.controlName="\u5E8F\u53F7",Le.controlIcon="order-column",Le.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class Pa extends G{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}}Pa.controlType="order-column",Pa.controlFieldType=v.DECIMAL;var Sc={Designer:Le,Runtime:Pa,Property:ki};class Da extends ${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:ye.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 ye extends z{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props),fe(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 mn(ge({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return nr(this,null,function*(){return yield tr(ye.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}ye.controlType="operation-column",ye.controlName="\u64CD\u4F5C",ye.controlIcon="operation-column",ye.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class xa extends G{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}xa.controlType="operation-column",xa.controlFieldType=v.FILE;var Ac={Designer:ye,Runtime:xa,Property:Da};class Mi extends Nu{constructor(e){super(e),this.props=new Ba(this,e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Le,new ye])}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 mn(ge({},e),{children:n})}validate(e,n){return nr(this,null,function*(){return yield tr(Mi.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Mi.setting=[{key:"list-fixed-header",visible:!0}];class AE extends ll{constructor(e){super(e),this.props=new Ba(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){fr("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Rc={Designer:Mi,Runtime:AE,Property:Ba},RE=Object.freeze({__proto__:null,SubTable:Ic,GridTable:Rc});class TE extends cl{constructor(e){super(e),xe.call(this,e)}}class Ni extends ${constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new _e(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}Ni.Rules=TE;class $e extends z{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}}$e.controlType="varchar-column",$e.controlName="\u77ED\u6587\u672C",$e.controlIcon="varchar-column",$e.controlFieldType=v.VARCHAR,$e.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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 Oa extends G{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}}Oa.controlType="varchar-column",Oa.controlFieldType=v.VARCHAR;var Tc={Designer:$e,Runtime:Oa,Property:Ni};class BE extends he{constructor(e){super(e),xe.call(this,e)}}class Li extends ${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:Ve.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 _e(e==null?void 0:e.linkOperationOption)}}Li.Rules=BE;class Ve extends z{constructor(e){super(e),this.props=new Li(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}}Ve.controlType="text-column",Ve.controlName="\u957F\u6587\u672C",Ve.controlIcon="text-column",Ve.controlFieldType=v.TEXT,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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 Fa extends G{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}}Fa.controlType="text-column",Fa.controlFieldType=v.TEXT;var Bc={Designer:Ve,Runtime:Fa,Property:Li};class PE extends he{constructor(e){super(e),xe.call(this,e)}}class $i extends ${constructor(e){var n,i,u,a,r,l,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:je.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 W(e==null?void 0:e.datasourceBind),this.options=de((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(c=e==null?void 0:e.showLinkOperation)!=null?c:!1,this.linkOperationOption=new _e(e==null?void 0:e.linkOperationOption)}}$i.Rules=PE;class je extends z{constructor(e){super(e),this.props=new $i(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}}je.controlType="decimal-column",je.controlName="\u6570\u503C",je.controlIcon="decimal-column",je.controlFieldType=v.DECIMAL,je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class ka extends G{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}}ka.controlType="decimal-column",ka.controlFieldType=v.DECIMAL;var Pc={Designer:je,Runtime:ka,Property:$i};class DE extends he{constructor(e){super(e),xe.call(this,e)}}class Vi extends ${constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new _e(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:He.controlName}}Vi.Rules=DE;class He extends z{constructor(e){super(e),this.props=new Vi(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}}He.controlType="timescope-column",He.controlName="\u65E5\u671F\u533A\u95F4",He.controlIcon="timescope-column",He.controlFieldType=v.TIMESCOPE,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Ma extends G{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}}Ma.controlType="timescope-column",Ma.controlFieldType=v.TIMESCOPE;var Dc={Designer:He,Runtime:Ma,Property:Vi};class xE extends he{constructor(e){super(e),xe.call(this,e)}}class ji extends ${constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new _e(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:qe.controlName}}ji.Rules=xE;class qe extends z{constructor(e){super(e),this.props=new ji(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}}qe.controlType="timestamp-column",qe.controlName="\u65E5\u671F",qe.controlIcon="timestamp-column",qe.controlFieldType=v.TIMESTAMP,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Na extends G{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}}Na.controlType="timestamp-column",Na.controlFieldType=v.TIMESTAMP;var xc={Designer:qe,Runtime:Na,Property:ji};class OE extends cl{constructor(e){super(e)}}class Hi extends ${constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}])}}Hi.Rules=OE;class Ue extends z{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}}Ue.controlType="array-column",Ue.controlName="\u6570\u7EC4",Ue.controlIcon="array-column",Ue.controlFieldType=v.ARRAY,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class La extends G{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}}La.controlType="array-column",La.controlFieldType=v.ARRAY;var Oc={Designer:Ue,Runtime:La,Property:Hi};class $a extends ${constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:We.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class We extends z{constructor(e){super(e),this.props=new $a(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}}We.controlType="department-column",We.controlName="\u90E8\u95E8",We.controlIcon="department-column",We.controlFieldType=v.DEPARTMENTS,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Va extends G{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}}Va.controlType="department-column",Va.controlFieldType=v.DEPARTMENTS;var Fc={Designer:We,Runtime:Va,Property:$a};class FE extends he{constructor(e){super(e),xe.call(this,e)}}class qi extends ${constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new _e(e==null?void 0:e.linkOperationOption)}}qi.Rules=FE;class Ke extends z{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}}Ke.controlType="auto-number-column",Ke.controlName="\u81EA\u52A8\u7F16\u53F7",Ke.controlIcon="auto-number-column",Ke.controlFieldType=v.AUTO_NUMBER,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 ja extends G{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}}ja.controlType="auto-number-column",ja.controlFieldType=v.AUTO_NUMBER;var kc={Designer:Ke,Runtime:ja,Property:qi};class Ha extends ${constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName}}class ze extends z{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}}ze.controlType="file-column",ze.controlName="\u9644\u4EF6",ze.controlIcon="file-column",ze.controlFieldType=v.FILE,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class qa extends G{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}}qa.controlType="file-column",qa.controlFieldType=v.FILE;var Mc={Designer:ze,Runtime:qa,Property:Ha};class Ua extends ${constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.controlName}}class Ge extends z{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}}Ge.controlType="image-column",Ge.controlName="\u56FE\u7247",Ge.controlIcon="image-column",Ge.controlFieldType=v.IMAGE,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Wa extends G{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}}Wa.controlType="image-column",Wa.controlFieldType=v.IMAGE;var Nc={Designer:Ge,Runtime:Wa,Property:Ua};class Ka extends ${constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName}}class Xe extends z{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}}Xe.controlType="people-column",Xe.controlName="\u4EBA\u5458",Xe.controlIcon="people-column",Xe.controlFieldType=v.EMPLOYEES,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class za extends G{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}}za.controlType="people-column",za.controlFieldType=v.EMPLOYEES;var Lc={Designer:Xe,Runtime:za,Property:Ka};class kE extends he{constructor(e){super(e),xe.call(this,e)}}class Ui extends ${constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new _e(e==null?void 0:e.linkOperationOption)}}Ui.Rules=kE;class Qe extends z{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}}Qe.controlType="location-column",Qe.controlName="\u5730\u5740",Qe.controlIcon="location-column",Qe.controlFieldType=v.ADDRESS,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Ga extends G{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}}Ga.controlType="location-column",Ga.controlFieldType=v.ADDRESS;var $c={Designer:Qe,Runtime:Ga,Property:Ui};class Xa extends ${constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Be.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const ME=1;class Be extends z{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Xa(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children),this.excludes=Ee(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 mn(ge({},e),{children:this.children.map(n=>n.toSchema())})}}Be.controlType="custom-column",Be.controlName="\u81EA\u5B9A\u4E49",Be.controlIcon="custom-column",Be.excludes=[],Be.childrenMaxLength=ME,Be.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Vc extends G{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}Vc.controlType="custom-column";var jc={Designer:Be,Runtime:Vc,Property:Xa};class Qa extends ${constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Pe.controlName,this.datasourceBind=new En((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Pe.controlCustomAttributes})}}class Pe extends z{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Pe.controlType="employee-column",Pe.controlName="\u4EBA\u5458",Pe.controlIcon="employee-column",Pe.controlFieldType=v.EMPLOYEES,Pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ja extends G{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}}Ja.controlType="employee-column",Ja.controlFieldType=v.EMPLOYEES;var Hc={Designer:Pe,Runtime:Ja,Property:Qa};class Za extends ${constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new _e(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class Je extends z{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}}Je.controlType="approval-status-column",Je.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Je.controlIcon="approval-status-column",Je.excludes=[],Je.setting=[{key:"caption",showItems:[s.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 qc extends G{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}}qc.controlType="approval-status-column";var Uc={Designer:Je,Runtime:qc,Property:Za},NE=Object.freeze({__proto__:null,VarcharColumn:Tc,TextColumn:Bc,DecimalColumn:Pc,TimescopeColumn:Dc,TimestampColumn:xc,ArrayColumn:Oc,DepartmentColumn:Fc,AutoNumberColumn:kc,FileColumn:Mc,ImageColumn:Nc,PeopleColumn:Lc,LocationColumn:$c,CustomColumn:jc,OrderColumn:Sc,OperationColumn:Ac,EmployeeColumn:Hc,ApprovalStatusColumn:Uc});class LE extends De{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Wi extends zu{constructor(e){var n,i,u,a,r,l,c,o;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 Ce((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Ce((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((c=e==null?void 0:e.custom)!=null?c:[]).map(d=>new Ce(d)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[]}}Wi.RuntimeRules=LE;class Ya extends Mg{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}}Ya.controlType="simple-search",Ya.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"search-view-type",visible:!0}];class Wc extends Ug{constructor(e){var n;super(e),this.props=new Wi(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Wc.controlType="simple-search";var Kc={Designer:Ya,Runtime:Wc,Property:Wi},$E=Object.freeze({__proto__:null,SimpleSearch:Kc});class pa extends ub{static get controlName(){return"\u6362\u884C\u5BB9\u5668"}static get controlIcon(){return"page"}static get controlType(){return"grid-wrap"}constructor(e){super(e)}}class er extends fb{static get controlType(){return"grid-wrap"}constructor(e){super(e)}}class VE extends Ju{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}var jE={Designer:pa,Runtime:er,Property:VE},HE=Object.freeze({__proto__:null,default:jE,DesignerGridWrapControl:pa,RuntimeGridWrapControl:er});h.ActionBar=wc,h.Address=wo,h.AdvancedContainer=Ec,h.Amount=bo,h.ApprovalStatusColumn=Uc,h.ArrayColumn=Oc,h.AssignType=Re,h.Attachment=yo,h.AutoNumber=Ro,h.AutoNumberColumn=kc,h.BatchDeleteButton=Wl,h.BatchPrintListButton=Hl,h.BatchPrintRecordListButton=ql,h.BatchSubmissionListButton=Rl,h.Button=hl,h.Calc=Bo,h.CardGroup=uc,h.Checkbox=Xl,h.Col=ec,h.CreateFormListButton=Al,h.CustomColumn=jc,h.DATE_CONFIG_TYPE=yl,h.DATE_LIMIT_TYPE=ml,h.Dashboard=Nl,h.DataView=gc,h.DatePicker=eo,h.DateRange=no,h.DecimalColumn=Pc,h.Department=So,h.Department2=Qo,h.DepartmentColumn=Fc,h.DepartmentType=Gn,h.DesignerGridWrapControl=pa,h.Divider=Il,h.ElectronicSignature=Ko,h.ElectronicSignatureConfig=vl,h.Employee=ho,h.Employee2=Uo,h.EmployeeColumn=Hc,h.EncryptTypeEnum=Cl,h.Explain=zn,h.ExportListButton=Bl,h.ExportRecordListButton=Pl,h.ExportTemplate=aa,h.FileColumn=Mc,h.FlexStyleConfig=_l,h.FormSelectButton=xl,h.Grid=po,h.GridRow=ic,h.GridTable=Rc,h.GridTableColumn=cc,h.Image=vo,h.ImageColumn=Nc,h.ImportRecordListButton=Dl,h.Input=zl,h.InternalType=oa,h.InvoiceCheckButton=jl,h.LINE_STYLE=ia,h.LimitDate=Kn,h.Link=fl,h.ListSelectButton=Ol,h.ListView=mc,h.ListViewSelect=$l,h.LocationColumn=$c,h.Number=Yl,h.OperationButton=Ul,h.OperationColumn=Ac,h.OrderColumn=Sc,h.OrganizationSelection=Zo,h.OrganizeType=la,h.Page=bc,h.Pagination=kl,h.PeopleColumn=Lc,h.Position=Cc,h.PositioningContainer=_c,h.PrintTemplate=El,h.Radio=Jl,h.RichText=ro,h.Row=nc,h.RuntimeGridWrapControl=er,h.SCORE_TYPE=na,h.SUBTABLE_DEFAULT_MAX_HEIGHT=bl,h.Score=_o,h.SearchDateRange=Oo,h.SearchInput=Vo,h.SearchNumberRange=Do,h.Select=oo,h.SelectMultiple=so,h.SelectRelation=No,h.SimpleSearch=Kc,h.SubTable=Ic,h.SubTableColumn=rc,h.SubTableRow=lc,h.SubmissionRecordListButton=Tl,h.Tab=dc,h.TabPane=sc,h.Text=dl,h.TextColumn=Bc,h.TextOcrButton=Vl,h.Textarea=uo,h.TimescopeColumn=Dc,h.TimestampColumn=xc,h.Title=Sl,h.TitleConfigEnum=Ae,h.Toolbox=yc,h.Tree=Ho,h.UndersignedPerson=ua,h.VarcharColumn=Tc,h.VueFormItem=ko,h.WPS=Go,h.WPSSetting=gl,h.WpsOperationItem=ra,h.baseControls=Xb,h.columnControls=NE,h.formControls=q0,h.initExpression=_t,h.layoutControls=_E,h.listControls=RE,h.searchControls=$E,h.wrapControls=HE,Object.defineProperty(h,"__esModule",{value:!0})});
1
+ var GE=Object.defineProperty,XE=Object.defineProperties;var QE=Object.getOwnPropertyDescriptors;var Jc=Object.getOwnPropertySymbols,JE=Object.getPrototypeOf,ZE=Object.prototype.hasOwnProperty,YE=Object.prototype.propertyIsEnumerable,pE=Reflect.get;var Zc=(h,N,j)=>N in h?GE(h,N,{enumerable:!0,configurable:!0,writable:!0,value:j}):h[N]=j,ge=(h,N)=>{for(var j in N||(N={}))ZE.call(N,j)&&Zc(h,j,N[j]);if(Jc)for(var j of Jc(N))YE.call(N,j)&&Zc(h,j,N[j]);return h},mn=(h,N)=>XE(h,QE(N));var er=(h,N,j)=>pE(JE(h),j,N);var tr=(h,N,j)=>new Promise((zi,vn)=>{var Gi=ce=>{try{dt(j.next(ce))}catch(ft){vn(ft)}},Xi=ce=>{try{dt(j.throw(ce))}catch(ft){vn(ft)}},dt=ce=>ce.done?zi(ce.value):Promise.resolve(ce.value).then(Gi,Xi);dt((j=j.apply(h,N)).next())});(function(h,N){typeof exports=="object"&&typeof module!="undefined"?N(exports):typeof define=="function"&&define.amd?define(["exports"],N):(h=typeof globalThis!="undefined"?globalThis:h||self,N(h.modelDrivenControls={}))})(this,function(h){"use strict";var N="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",zi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",vn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Gi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Xi="{caption}\u5FC5\u586B",dt="\u8BF7\u8F93\u5165\u6807\u9898",ce="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",ft="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Yc="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",pc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",es="\u8BF7\u7ED1\u5B9A\u8868\u5355",ts="\u8BF7\u7ED1\u5B9A\u5217\u8868",ns="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",is="\u8BF7\u8F93\u5165\u663E\u793A\u503C",us="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",as="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",rs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",ls="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",os="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",cs="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ss="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ds="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",fs="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",hs="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",ys="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",ms="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",vs="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",gs="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",bs="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Es="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",_s="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Cs="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",ws="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Is="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ss="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",As="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Rs="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ts="\u8BF7\u9009\u62E9\u7701",Bs="\u8BF7\u9009\u62E9\u5E02",Ps="\u8BF7\u9009\u62E9\u533A",Ds="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",xs="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Os="\u8BF7\u8F93\u5165\u5217\u5BBD",Fs="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",ks="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Ms="\u8BF7\u9009\u62E9\u63A7\u4EF6",Ns="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Ls="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",$s="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Vs="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",js="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Hs="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",qs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Us="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ws="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ks="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",zs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Gs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Xs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Qs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Js="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Zs="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ys="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ps="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ed="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",td="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",nd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",id={isNotNumber:N,isNotString:j,isNotObject:zi,isNotArray:vn,isNotBoolean:Gi,runtimeRequired:Xi,pleaseEnterCaption:dt,pleaseEnterCaptionTip:ce,pleaseEnterRowCaption:ft,pleaseEnterPlaceholder:Yc,pleaseEnterFieldCode:pc,pleaseEnterForm:es,pleaseEnterList:ts,pleaseEnterProcess:ns,pleaseEnterLabel:is,pleaseEnterValue:us,bizKeyNotBindFiled:as,pleaseSelectOneField:rs,pleaseEnterNumberRange:ls,pleaseEnterAValueGreaterThanMin:os,pleaseEnterAValueLessThanMax:cs,numberRangeSetError:ss,stringRangeError:ds,attachmentMaxSize:fs,pleaseEnterTotalScoreSetting:hs,theTotalScoreMustNotBeLessThan1:ys,scoreDefaultValueRange:ms,attachmentLimitError:vs,PleaseReselectTheOptionalQuantity:gs,TheMaximumLengthIsGreaterThanTheMinimumLength:bs,TheMinimumLengthIsGreaterThanTheMaximumLength:Es,PleaseSelectTheCorrectOptionSettings:_s,optionIdIsRepeat:Cs,optionIsRequired:ws,pleaseEnterDataCode:Is,pleaseEnterValueFieldCode:Ss,pleaseEnterSvcCode:As,pleaseBindAtLeastOneDisplayValue:Rs,pleaseSelectProvince:Ts,pleaseSelectCity:Bs,pleaseSelectDistrict:Ps,limitRowsCannotBeLessThan0:Ds,TheNumberOfRowsCannotBeLessThanMinRows:xs,pleaseEnterColumnWidth:Os,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Fs,pleaseCompleteAllRulesAndConditions:ks,pleaseSelectControl:Ms,pleaseSelectAtLeastOneColumn:Ns,pleaseSelectFillBackMode:Ls,pleaseSelectDashboard:$s,rootNodeIsRequired:Vs,theViewNameCannotBeEmpty:js,pleaseSelectOcrType:Hs,pleaseSelectAtLeastOneFieldToFillIn:qs,pleaseChooseAtLeastOne:Us,pleaseEnterButtonContent:Ws,pleaseEnterDataCodeInDataSetting:Ks,pleaseEnterValueFieldCodeInDataSetting:zs,pleaseEnterSvcCodeInDataSetting:Gs,pleaseBindAtLeastOneDisplayValueInDataSetting:Xs,rootNodeIsRequiredInDataSetting:Qs,pleaseEnterMaxHeight:Js,pleaseEnter:Zs,pleaseEnterWatermark:Ys,pleaseEnterFileName:ps,pleaseUploadAtLeastOnePrintTemplate:ed,pleaseAssignBusiness:td,pleaseAssignExternal:nd},ud="Please enter a number",ad="Please enter a string",rd="Please enter an object",ld="Please enter an array",od="Please enter a boolean",cd="{caption} Required",sd="Please enter the title",dd="Please enter the bubble prompt",fd="Please enter the row title",hd="Please enter the prompt text",yd="Please bind data items",md="Please bind the form",vd="Please bind the list",gd="Please bind the process",bd="Please enter the displayed value",Ed="Please enter the stored value",_d="The document number is not bound to the data item",Cd="Please select at least one display field",wd="Please enter a value greater than or equal to {min} and less than or equal to {max}",Id="Please enter a value greater than or equal to {min}",Sd="Please enter a value less than or equal to {max}",Ad="The value range is set incorrectly",Rd="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Td="The attachment size must be between 0MB and 1000MB",Bd="Please fill in the total score setting",Pd="The total score cannot be less than 1",Dd="The default value must be between {min} and {max}",xd="The number of attachments uploaded must be between {min} and {max}",Od="Please re-select the optional quantity",Fd="The maximum length of the control must be greater than the minimum length",kd="The minimum length of the control must be less than the maximum length",Md="Please select the correct option setting",Nd="Option ID cannot be repeated",Ld="Please enter at least one option",$d="Please bind the data source",Vd="Please bind the stored value",jd="Please bind the service",Hd="At least one display value must be bound",qd="Please select a province",Ud="Please select a city",Wd="Please select a district",Kd="The minimum number of lines to fill in cannot be less than 0",zd="The number of rows cannot be less than {min} rows",Gd="Please enter the column width",Xd="Please set the logical relationship of all rule conditions",Qd="Please complete all rules and conditions",Jd="please select control",Zd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Yd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",pd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ef="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",tf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",nf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",uf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",af="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",rf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",lf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",of="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",cf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",sf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",df="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ff="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",hf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",yf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",mf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",vf={isNotNumber:ud,isNotString:ad,isNotObject:rd,isNotArray:ld,isNotBoolean:od,runtimeRequired:cd,pleaseEnterCaption:sd,pleaseEnterCaptionTip:dd,pleaseEnterRowCaption:fd,pleaseEnterPlaceholder:hd,pleaseEnterFieldCode:yd,pleaseEnterForm:md,pleaseEnterList:vd,pleaseEnterProcess:gd,pleaseEnterLabel:bd,pleaseEnterValue:Ed,bizKeyNotBindFiled:_d,pleaseSelectOneField:Cd,pleaseEnterNumberRange:wd,pleaseEnterAValueGreaterThanMin:Id,pleaseEnterAValueLessThanMax:Sd,numberRangeSetError:Ad,stringRangeError:Rd,attachmentMaxSize:Td,pleaseEnterTotalScoreSetting:Bd,theTotalScoreMustNotBeLessThan1:Pd,scoreDefaultValueRange:Dd,attachmentLimitError:xd,PleaseReselectTheOptionalQuantity:Od,TheMaximumLengthIsGreaterThanTheMinimumLength:Fd,TheMinimumLengthIsGreaterThanTheMaximumLength:kd,PleaseSelectTheCorrectOptionSettings:Md,optionIdIsRepeat:Nd,optionIsRequired:Ld,pleaseEnterDataCode:$d,pleaseEnterValueFieldCode:Vd,pleaseEnterSvcCode:jd,pleaseBindAtLeastOneDisplayValue:Hd,pleaseSelectProvince:qd,pleaseSelectCity:Ud,pleaseSelectDistrict:Wd,limitRowsCannotBeLessThan0:Kd,TheNumberOfRowsCannotBeLessThanMinRows:zd,pleaseEnterColumnWidth:Gd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Xd,pleaseCompleteAllRulesAndConditions:Qd,pleaseSelectControl:Jd,pleaseSelectDashboard:Zd,theViewNameCannotBeEmpty:Yd,pleaseSelectOcrType:pd,pleaseSelectAtLeastOneFieldToFillIn:ef,pleaseChooseAtLeastOne:tf,pleaseEnterButtonContent:nf,pleaseEnterDataCodeInDataSetting:uf,pleaseEnterValueFieldCodeInDataSetting:af,pleaseEnterSvcCodeInDataSetting:rf,pleaseBindAtLeastOneDisplayValueInDataSetting:lf,rootNodeIsRequiredInDataSetting:of,pleaseEnterMaxHeight:cf,pleaseEnter:sf,pleaseEnterWatermark:df,pleaseEnterFileName:ff,pleaseUploadAtLeastOnePrintTemplate:hf,pleaseAssignBusiness:yf,pleaseAssignExternal:mf},gf="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ef="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_f="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Cf="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wf="{caption}\u5FC5\u9808",If="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Af="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Rf="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tf="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Bf="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Df="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Of="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ff="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",kf="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Mf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Nf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Lf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$f="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Vf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Hf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",qf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Uf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Wf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Kf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",zf="\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",Gf="\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",Xf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Qf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Jf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Zf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Yf="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",pf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",eh="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",th="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",nh="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ih="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",uh="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ah="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",rh="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lh="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",oh="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",ch="please select control",sh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",dh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",fh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",hh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",yh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",mh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",vh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",gh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",bh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Eh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",_h="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ch="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",wh="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ih="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Sh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ah="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Rh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Th="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Bh={isNotNumber:gf,isNotString:bf,isNotObject:Ef,isNotArray:_f,isNotBoolean:Cf,runtimeRequired:wf,pleaseEnterCaption:If,pleaseEnterCaptionTip:Sf,pleaseEnterRowCaption:Af,pleaseEnterPlaceholder:Rf,pleaseEnterFieldCode:Tf,pleaseEnterForm:Bf,pleaseEnterList:Pf,pleaseEnterProcess:Df,pleaseEnterLabel:xf,pleaseEnterValue:Of,bizKeyNotBindFiled:Ff,pleaseSelectOneField:kf,pleaseEnterNumberRange:Mf,pleaseEnterAValueGreaterThanMin:Nf,pleaseEnterAValueLessThanMax:Lf,numberRangeSetError:$f,stringRangeError:Vf,attachmentMaxSize:jf,pleaseEnterTotalScoreSetting:Hf,theTotalScoreMustNotBeLessThan1:qf,scoreDefaultValueRange:Uf,attachmentLimitError:Wf,PleaseReselectTheOptionalQuantity:Kf,TheMaximumLengthIsGreaterThanTheMinimumLength:zf,TheMinimumLengthIsGreaterThanTheMaximumLength:Gf,PleaseSelectTheCorrectOptionSettings:Xf,optionIdIsRepeat:Qf,optionIsRequired:Jf,pleaseEnterDataCode:Zf,pleaseEnterValueFieldCode:Yf,pleaseEnterSvcCode:pf,pleaseBindAtLeastOneDisplayValue:eh,pleaseSelectProvince:th,pleaseSelectCity:nh,pleaseSelectDistrict:ih,limitRowsCannotBeLessThan0:uh,TheNumberOfRowsCannotBeLessThanMinRows:ah,pleaseEnterColumnWidth:rh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:lh,pleaseCompleteAllRulesAndConditions:oh,pleaseSelectControl:ch,pleaseSelectDashboard:sh,theViewNameCannotBeEmpty:dh,pleaseSelectOcrType:fh,pleaseSelectAtLeastOneFieldToFillIn:hh,pleaseChooseAtLeastOne:yh,pleaseEnterButtonContent:mh,pleaseEnterDataCodeInDataSetting:vh,pleaseEnterValueFieldCodeInDataSetting:gh,pleaseEnterSvcCodeInDataSetting:bh,pleaseBindAtLeastOneDisplayValueInDataSetting:Eh,rootNodeIsRequiredInDataSetting:_h,pleaseEnterMaxHeight:Ch,pleaseEnter:wh,pleaseEnterWatermark:Ih,pleaseEnterFileName:Sh,pleaseUploadAtLeastOnePrintTemplate:Ah,pleaseAssignBusiness:Rh,pleaseAssignExternal:Th},Ph={zhCN:id,enUS:vf,jaJP:Bh},nr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(nr||(nr={}));var ir;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(ir||(ir={}));var Dh="zh-CN";function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ur;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(ur||(ur={}));var C;(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"})(C||(C={}));var v;(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"})(v||(v={}));var Q;Q={},p(Q,v.ARRAY,C.ARRAY_COLUMN),p(Q,v.AUTO_NUMBER,C.AUTO_NUMBER_COLUMN),p(Q,v.DECIMAL,C.DECIMAL_COLUMN),p(Q,v.DEPARTMENTS,C.DEPARTMENT_COLUMN),p(Q,v.FILE,C.FILE_COLUMN),p(Q,v.IMAGE,C.IMAGE_COLUMN),p(Q,v.ADDRESS,C.LOCATION_COLUMN),p(Q,v.EMPLOYEES,C.EMPLOYEE_COLUMN),p(Q,v.TEXT,C.TEXT_COLUMN),p(Q,v.TIMESCOPE,C.TIMESCOPE_COLUMN),p(Q,v.TIMESTAMP,C.TIMESTAMP_COLUMN),p(Q,v.VARCHAR,C.VARCHAR_COLUMN),p(Q,v.RELATION,C.VARCHAR_COLUMN);var be;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(be||(be={}));var ar="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",xh=ar+"0123456789";function se(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?ar:xh,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Qi(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 Oh(t){if(Array.isArray(t))return Qi(t)}function Fh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function gn(t,e,n){return kh()?gn=Reflect.construct:gn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&yt(o,r.prototype),o},gn.apply(null,arguments)}function ht(t){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ht(t)}function lr(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&&yt(t,e)}function Mh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Nh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Lh(){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 $h(t,e){return e&&(Vh(e)==="object"||typeof e=="function")?e:Fh(t)}function yt(t,e){return yt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},yt(t,e)}function or(t){return Oh(t)||Nh(t)||jh(t)||Lh()}var Vh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function jh(t,e){if(!!t){if(typeof t=="string")return Qi(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 Qi(t,e)}}function Ji(t){var e=typeof Map=="function"?new Map:void 0;return Ji=function(i){if(i===null||!Mh(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return gn(i,arguments,ht(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),yt(u,i)},Ji(t)}function Hh(){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 cr(t){var e=Hh();return function(){var i=ht(t),u;if(e){var a=ht(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return $h(this,u)}}var Zi=console;function qh(){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=Zi).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(or(u)))}function sr(){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=Zi).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(or(u)))}function Uh(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Yi=function(t){lr(n,t);var e=cr(n);function n(i){rr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?Uh(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Ji(Error)),Wh=function(t){lr(n,t);var e=cr(n);function n(i){rr(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Yi);function dr(t){throw new Yi(t)}function fr(t){throw new Wh(t)}function Kh(t){Zi.error(new Yi(t))}var zh=Object.prototype.toString;function hr(t,e){return zh.call(t)==="[object "+e+"]"}function Gh(t){return hr(t,"String")}function Xh(t){return hr(t,"Promise")}var Qh=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();Xh(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,a,r,l){if(u!==void 0){var c=u[a];if(!(r===l.length-1&&!Gh(c)))return c}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var a=n[u];return a!==void 0?String(a):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function Jh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var f=function(){function t(){Jh(this,t)}return t.getMessage=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)},t.resetI18n=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Dh;return new Qh({locale:n,messages:Ph})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();f.$i18n=f.resetI18n();function Zh(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,c){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){qh("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===c.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var Yh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ph={exports:{}};(function(t){(function(e){var n=function(m,E,x){if(!o(E)||y(E)||g(E)||_(E)||c(E))return E;var A,D=0,ne=0;if(d(E))for(A=[],ne=E.length;D<ne;D++)A.push(n(m,E[D],x));else{A={};for(var O in E)Object.prototype.hasOwnProperty.call(E,O)&&(A[m(O,x)]=n(m,E[O],x))}return A},i=function(m,E){E=E||{};var x=E.separator||"_",A=E.split||/(?=[A-Z])/;return m.split(A).join(x)},u=function(m){return w(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(E,x){return x?x.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},a=function(m){var E=u(m);return E.substr(0,1).toUpperCase()+E.substr(1)},r=function(m,E){return i(m,E).toLowerCase()},l=Object.prototype.toString,c=function(m){return typeof m=="function"},o=function(m){return m===Object(m)},d=function(m){return l.call(m)=="[object Array]"},y=function(m){return l.call(m)=="[object Date]"},g=function(m){return l.call(m)=="[object RegExp]"},_=function(m){return l.call(m)=="[object Boolean]"},w=function(m){return m=m-0,m===m},b=function(m,E){var x=E&&"process"in E?E.process:E;return typeof x!="function"?m:function(A,D){return x(A,m,D)}},I={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(m,E){return n(b(u,E),m)},decamelizeKeys:function(m,E){return n(b(r,E),m,E)},pascalizeKeys:function(m,E){return n(b(a,E),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(Yh)})(ph);var yr={};Object.defineProperty(yr,"__esModule",{value:!0});function pi(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:pi(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:pi(i)}return e}}var ey=yr.default=pi;function Ee(t){if(t!==void 0)return typeof t=="object"?ey(t):t}function ty(t){return Object.prototype.toString.call(t)==="[object Object]"}function eu(t){return Array.isArray(t)}function ny(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function tu(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 iy(t){if(Array.isArray(t))return tu(t)}function mr(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function uy(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){mr(a,i,u,r,l,"next",c)}function l(c){mr(a,i,u,r,l,"throw",c)}r(void 0)})}}function ay(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ry(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ly(){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 nu(t){return iy(t)||ry(t)||oy(t)||ly()}function oy(t,e){if(!!t){if(typeof t=="string")return tu(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 tu(t,e)}}var cy=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 c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},sy=function(){function t(){ay(this,t),this._events=new Map,this.debug=!1}var e=t.prototype;return e.emit=function(i){for(var u=arguments.length,a=new Array(u>1?u-1:0),r=1;r<u;r++)a[r-1]=arguments[r];var l=this;return uy(function(){var c,o,d,y,g,_,w,b,I,m,E,x;return cy(this,function(A){switch(A.label){case 0:if(c=l._events.get(i),o=[],!c)return[3,10];d=c.slice(),y=!0,g=!1,_=void 0,A.label=1;case 1:A.trys.push([1,8,9,10]),w=d[Symbol.iterator](),A.label=2;case 2:if(y=(b=w.next()).done)return[3,7];if(I=b.value,!c.includes(I))return[3,6];A.label=3;case 3:return A.trys.push([3,5,,6]),l.debug&&sr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(nu(a))),[4,I.apply(null,nu(a))];case 4:return m=A.sent(),l.debug&&sr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(nu(a),[m])),o.push(m),m===!1?[3,7]:[3,6];case 5:return E=A.sent(),Kh(String(E)+":"+String(E.stack)),[3,6];case 6:return y=!0,[3,2];case 7:return[3,10];case 8:return x=A.sent(),g=!0,_=x,[3,10];case 9:try{!y&&w.return!=null&&w.return()}finally{if(g)throw _}return[7];case 10:return[2,o]}})})()},e.on=function(i,u){if(this._events.has(i)){var a;(a=this._events.get(i))===null||a===void 0||a.push(u)}else this._events.set(i,[u])},e.off=function(i,u){if(this._events.has(i)){var a=this._events.get(i),r=a==null?void 0:a.indexOf(u);a==null||a.splice(r,1)}},e.delete=function(i){this._events.has(i)&&this._events.delete(i)},e.clear=function(){this._events=new Map},t}(),dy=[];new Set(dy.map(function(t){return t.Designer.controlType}));function vr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bn(t){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bn(t)}function ue(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&&iu(t,e)}function gr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function fy(t,e){return e&&(hy(e)==="object"||typeof e=="function")?e:vr(t)}function iu(t,e){return iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},iu(t,e)}var hy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function yy(){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 ae(t){var e=yy();return function(){var i=bn(t),u;if(e){var a=bn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return fy(this,u)}}var re=function t(e){S(this,t);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},br=function t(e){S(this,t);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},uu=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);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}(br),my=function t(e){S(this,t),this.pc=new uu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new uu(e==null?void 0:e.mobile):new uu({width:130,minWidth:180})},vy=function t(e){S(this,t);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:[]},Ze=function t(e){S(this,t);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:""},gy=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(Ze),Er=function t(e){S(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},au=function t(e){S(this,t);var n,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 Er(r)}))!==null&&a!==void 0?a:[]},by=function t(e){S(this,t);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:v.VARCHAR},Ey=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var c;return u.filters=(c=i==null?void 0:i.filters)!==null&&c!==void 0?c:[],u}return n}(Ze),_y=function t(e){S(this,t);var n,i;this.type="sublist-page",this.formBind=new Ze(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 by(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 Ey(r)}))!==null&&a!==void 0?a:[]},Cy=function t(e){S(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},mt=function t(e){S(this,t);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:[]},_r=function t(e){var n=this;S(this,t),this.type="conditions";var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var c,o=new t(l);(c=n.children)===null||c===void 0||c.push(o)}else{var d,y=new ru(l);(d=n.children)===null||d===void 0||d.push(y)}}))},ru=function t(e){S(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se();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 Cy(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new mt(e==null?void 0:e.rightVariableBo)},wy=function t(e){S(this,t);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new W(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},Y=function t(e){S(this,t);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:""},lu=function t(e){S(this,t);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},Iy=function t(e){S(this,t);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;this.filters=(i=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new _r(l):new ru(l)}))!==null&&i!==void 0?i:[];var u;if(this.viewFilters=(u=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new _r(l):new ru(l)}))!==null&&u!==void 0?u:[],gr(this,W)||gr(this,su)){var a,r;this.orders=(r=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(l){return new Iy(l)}))!==null&&r!==void 0?r:[]}}var W=function t(e){var n=this;S(this,t);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 y;(y=n.displayBoList)===null||y===void 0||y.push(new lu(d))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var c;this.showOrder=(c=e==null?void 0:e.showOrder)!==null&&c!==void 0?c:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",ou.call(this,e)},cu=function t(e){S(this,t);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:[]},_e=function t(e){S(this,t);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 c;this.icon=(c=e==null?void 0:e.icon)!==null&&c!==void 0?c:"iconliulan1";var o;this.needConfirm=(o=e==null?void 0:e.needConfirm)!==null&&o!==void 0?o:!1;var d;this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal";var y;this.priorityProcess=(y=e==null?void 0:e.priorityProcess)!==null&&y!==void 0?y:!0},Cr=function t(e){S(this,t);var n,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 lu(r)}))!==null&&a!==void 0?a:[]},En=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u,a;u=e.call(this,i);var r;return u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new Cr(l)}))!==null&&r!==void 0?r:[],u}return n}(W),Sy=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u,a;u=e.call(this,i);var r;u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(c){return new Cr(c)}))!==null&&r!==void 0?r:[];var l;return u.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",u}return n}(W),wr=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i),u.rootNode=new mt(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}(En),Ir=function t(e){S(this,t);var n,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 Y(r)}))!==null&&a!==void 0?a:[]},su=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this,i),ou.call(vr(u),i),u}return n}(Ir),Sr=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);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}(Ir),Ar=function t(e){S(this,t);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:""},Ay=function t(e){S(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(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 de(t){var e;return(e=t==null?void 0:t.map(function(n){return new Ay(n)}))!==null&&e!==void 0?e:[]}var du=function t(){S(this,t)},Ry=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this),u.amount=new re(i==null?void 0:i.amount),u.currency=new re(i==null?void 0:i.currency),u}return n}(du),Ty=function t(e){S(this,t);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},By=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this),u.min=new re(i==null?void 0:i.min),u.max=new re(i==null?void 0:i.max),u}return n}(du),Py=function t(e){S(this,t);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:""},Dy=function t(e){S(this,t);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:""},xy=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this),u.result=new re(i==null?void 0:i.result),u.unit=new re(i==null?void 0:i.unit),u}return n}(du),Oy=function t(e){S(this,t);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 s;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(s||(s={}));var fu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(fu||(fu={}));var Ce=function t(e){S(this,t);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},Fy=function t(e){S(this,t);var n,i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se(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 Er(r)}))!==null&&a!==void 0?a:[],ou.call(this,e)},ky=function t(e){S(this,t);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"},My=function t(e){S(this,t);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 Ny(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ly(){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 Cn(t,e,n){return Ly()?Cn=Reflect.construct:Cn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&gt(o,r.prototype),o},Cn.apply(null,arguments)}function vt(t){return vt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vt(t)}function $y(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&&gt(t,e)}function Vy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function jy(t,e){return e&&(Hy(e)==="object"||typeof e=="function")?e:Ny(t)}function gt(t,e){return gt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},gt(t,e)}var Hy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function yu(t){var e=typeof Map=="function"?new Map:void 0;return yu=function(i){if(i===null||!Vy(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 Cn(i,arguments,vt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),gt(u,i)},yu(t)}function qy(){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 Uy(t){var e=qy();return function(){var i=vt(t),u;if(e){var a=vt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return jy(this,u)}}var H=function t(e){hu(this,t),this.isHide={type:"boolean"}},De=function(t){$y(n,t);var e=Uy(n);function n(i){return hu(this,n),e.call(this)}return n}(yu(Array)),U=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";hu(this,t);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new ky(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};U.Rules=H,U.RuntimeRules=De;function oe(){return oe=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},oe.apply(this,arguments)}function Wy(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function mu(t){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mu(t)}function wn(t,e){return wn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wn(t,e)}function Ky(){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 In(t,e,n){return Ky()?In=Reflect.construct:In=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&wn(o,r.prototype),o},In.apply(null,arguments)}function zy(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||!zy(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 In(i,arguments,mu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),wn(u,i)},vu(t)}var Gy=/%[sdj%]/g,Rr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Rr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function gu(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 ee(){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(Gy,function(l){if(l==="%%")return"%";if(i>=a)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(c){return"[Circular]"}break;default:return l}});return r}return u}function Xy(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function q(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Xy(e)&&typeof t=="string"&&!t)}function Qy(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 Tr(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 Jy(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Br=function(t){Wy(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 Zy(t,e,n,i){if(e.first){var u=new Promise(function(y,g){var _=function(I){return i(I),I.length?g(new Br(I,gu(I))):y()},w=Jy(t);Tr(w,n,_)});return u.catch(function(y){return y}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,c=0,o=[],d=new Promise(function(y,g){var _=function(b){if(o.push.apply(o,b),c++,c===l)return i(o),o.length?g(new Br(o,gu(o))):y()};r.length||(i(o),y()),r.forEach(function(w){var b=t[w];a.indexOf(w)!==-1?Tr(b,n,_):Qy(b,n,_)})});return d.catch(function(y){return y}),d}function Pr(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 Dr(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]=oe(oe({},t[n]),i):t[n]=i}}return t}function xr(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||q(e,a||t.type))&&i.push(ee(u.messages.required,t.fullField))}function Yy(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ee(u.messages.whitespace,t.fullField))}var bu={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},bt={integer:function(e){return bt.number(e)&&parseInt(e,10)===e},float:function(e){return bt.number(e)&&!bt.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"&&!bt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(bu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(bu.url)},hex:function(e){return typeof e=="string"&&!!e.match(bu.hex)}};function py(t,e,n,i,u){if(t.required&&e===void 0){xr(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?bt[r](e)||i.push(ee(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(ee(u.messages.types[r],t.fullField,t.type))}function em(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,d=null,y=typeof e=="number",g=typeof e=="string",_=Array.isArray(e);if(y?d="number":g?d="string":_&&(d="array"),!d)return!1;_&&(o=e.length),g&&(o=e.replace(c,"_").length),a?o!==t.len&&i.push(ee(u.messages[d].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(ee(u.messages[d].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(ee(u.messages[d].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(ee(u.messages[d].range,t.fullField,t.min,t.max))}var Ye="enum";function tm(t,e,n,i,u){t[Ye]=Array.isArray(t[Ye])?t[Ye]:[],t[Ye].indexOf(e)===-1&&i.push(ee(u.messages[Ye],t.fullField,t[Ye].join(", ")))}function nm(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ee(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(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var R={required:xr,whitespace:Yy,type:py,range:em,enum:tm,pattern:nm};function im(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(q(e,"string")&&!t.required)return n();R.required(t,e,i,a,u,"string"),q(e,"string")||(R.type(t,e,i,a,u),R.range(t,e,i,a,u),R.pattern(t,e,i,a,u),t.whitespace===!0&&R.whitespace(t,e,i,a,u))}n(a)}function um(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&R.type(t,e,i,a,u)}n(a)}function am(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&(R.type(t,e,i,a,u),R.range(t,e,i,a,u))}n(a)}function rm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&R.type(t,e,i,a,u)}n(a)}function lm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(q(e)&&!t.required)return n();R.required(t,e,i,a,u),q(e)||R.type(t,e,i,a,u)}n(a)}function om(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&(R.type(t,e,i,a,u),R.range(t,e,i,a,u))}n(a)}function cm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&(R.type(t,e,i,a,u),R.range(t,e,i,a,u))}n(a)}function sm(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();R.required(t,e,i,a,u,"array"),e!=null&&(R.type(t,e,i,a,u),R.range(t,e,i,a,u))}n(a)}function dm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&R.type(t,e,i,a,u)}n(a)}var fm="enum";function hm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&R[fm](t,e,i,a,u)}n(a)}function ym(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(q(e,"string")&&!t.required)return n();R.required(t,e,i,a,u),q(e,"string")||R.pattern(t,e,i,a,u)}n(a)}function mm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(q(e,"date")&&!t.required)return n();if(R.required(t,e,i,a,u),!q(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),R.type(t,l,i,a,u),l&&R.range(t,l.getTime(),i,a,u)}}n(a)}function vm(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;R.required(t,e,i,a,u,r),n(a)}function Eu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(q(e,a)&&!t.required)return n();R.required(t,e,i,r,u,a),q(e,a)||R.type(t,e,i,r,u)}n(r)}function gm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(q(e)&&!t.required)return n();R.required(t,e,i,a,u)}n(a)}var Et={string:im,method:um,number:am,boolean:rm,regexp:lm,integer:om,float:cm,array:sm,object:dm,enum:hm,pattern:ym,date:mm,url:Eu,hex:Eu,email:Eu,required:vm,any:gm};function _u(){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 Cu=_u();function we(t){this.rules=null,this._messages=Cu,this.define(t)}we.prototype={messages:function(e){return e&&(this._messages=Dr(_u(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function c(b){var I,m=[],E={};function x(A){if(Array.isArray(A)){var D;m=(D=m).concat.apply(D,A)}else m.push(A)}for(I=0;I<b.length;I++)x(b[I]);m.length?E=gu(m):(m=null,E=null),l(m,E)}if(r.messages){var o=this.messages();o===Cu&&(o=_u()),Dr(o,r.messages),r.messages=o}else r.messages=this.messages();var d,y,g={},_=r.keys||Object.keys(this.rules);_.forEach(function(b){d=u.rules[b],y=a[b],d.forEach(function(I){var m=I;typeof m.transform=="function"&&(a===e&&(a=oe({},a)),y=a[b]=m.transform(y)),typeof m=="function"?m={validator:m}:m=oe({},m),m.validator=u.getValidationMethod(m),m.field=b,m.fullField=m.fullField||b,m.type=u.getType(m),m.validator&&(g[b]=g[b]||[],g[b].push({rule:m,value:y,source:a,field:b}))})});var w={};return Zy(g,r,function(b,I){var m=b.rule,E=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");E=E&&(m.required||!m.required&&b.value),m.field=b.field;function x(ne,O){return oe(oe({},O),{},{fullField:m.fullField+"."+ne})}function A(ne){ne===void 0&&(ne=[]);var O=ne;if(Array.isArray(O)||(O=[O]),!r.suppressWarning&&O.length&&we.warning("async-validator:",O),O.length&&m.message!==void 0&&(O=[].concat(m.message)),O=O.map(Pr(m)),r.first&&O.length)return w[m.field]=1,I(O);if(!E)I(O);else{if(m.required&&!b.value)return m.message!==void 0?O=[].concat(m.message).map(Pr(m)):r.error&&(O=[r.error(m,ee(r.messages.required,m.field))]),I(O);var ie={};if(m.defaultField)for(var hn in b.value)b.value.hasOwnProperty(hn)&&(ie[hn]=m.defaultField);ie=oe(oe({},ie),b.rule.fields);for(var me in ie)if(ie.hasOwnProperty(me)){var Ki=Array.isArray(ie[me])?ie[me]:[ie[me]];ie[me]=Ki.map(x.bind(null,me))}var yn=new we(ie);yn.messages(r.messages),b.rule.options&&(b.rule.options.messages=r.messages,b.rule.options.error=r.error),yn.validate(b.value,b.rule.options||r,function(st){var ve=[];O&&O.length&&ve.push.apply(ve,O),st&&st.length&&ve.push.apply(ve,st),I(ve.length?ve:null)})}}var D;m.asyncValidator?D=m.asyncValidator(m,b.value,A,b.source,r):m.validator&&(D=m.validator(m,b.value,A,b.source,r),D===!0?A():D===!1?A(m.message||m.field+" fails"):D instanceof Array?A(D):D instanceof Error&&A(D.message)),D&&D.then&&D.then(function(){return A()},function(ne){return A(ne)})},function(b){c(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Et.hasOwnProperty(e.type))throw new Error(ee("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"?Et.required:Et[this.getType(e)]||!1}},we.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Et[e]=n},we.warning=Rr,we.messages=Cu,we.validators=Et;var bm={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 Em(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new we(t);return n.messages(Object.assign(bm,e)),n}var _m=new sy;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 Cm(t){if(Array.isArray(t))return t}function wm(t){if(Array.isArray(t))return wu(t)}function Or(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Fr(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Or(a,i,u,r,l,"next",c)}function l(c){Or(a,i,u,r,l,"throw",c)}r(void 0)})}}function Im(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 Sm(t,e,n){return e&&kr(t.prototype,e),n&&kr(t,n),t}function Am(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Nr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Rm(){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 Tm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Lr(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){Am(t,u,n[u])})}return t}function Bm(t){return Cm(t)||Nr(t)||$r(t)||Rm()}function Iu(t){return wm(t)||Nr(t)||$r(t)||Tm()}function $r(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 Vr=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 c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},F=function(){function e(i){var u=this;Im(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Hr,this.removeSetting=jr,this._callControlHooks("preInstance",i);var a=Mr(this,e)?this.constructor:void 0,r=a.controlName,l=a.controlIcon,c=a.controlType,o=a.controlFieldType,d=a.controlEventKeys,y=a.controlCustomEvents,g=a.name,_=a.setting;r&&l&&c||fr("The ".concat(g," controlName,controlIcon,controlType is not define"));var w;this.id=(w=i==null?void 0:i.id)!==null&&w!==void 0?w:se(10),this.name=r,this.icon=l;var b;this.type=(b=i==null?void 0:i.type)!==null&&b!==void 0?b:c,this.props=new U(i==null?void 0:i.props,(Mr(this,e)?this.constructor:void 0).controlName);var I;this.controlType=(I=i==null?void 0:i.controlType)!==null&&I!==void 0?I:"base",this.setting=Ee(_);var m;this.fieldType=(m=i==null?void 0:i.fieldType)!==null&&m!==void 0?m:o,this.eventKeys=Ee(d),this.customEvents=Ee(y),Promise.resolve().then(function(){u._callControlHooks("postInstance",i)})}var n=e.prototype;return n._callControlHooks=function(){for(var u=arguments.length,a=new Array(u),r=0;r<u;r++)a[r]=arguments[r];var l,c=Bm(a),o=c[0],d=c.slice(1);return(l=_m).emit.apply(l,[o,this].concat(Iu(d)))},n.preUpdate=function(u,a){this._callControlHooks("preUpdateProps",u,a)},n.postUpdate=function(u,a){this._callControlHooks("postUpdateProps",u,a)},n.updateProps=function(u,a){this.preUpdate(u,a),Zh(this.props,u,a),this.postUpdate(u,a)},n.preValidate=function(){var u=this;return Fr(function(){var a,r,l;return Vr(this,function(c){switch(c.label){case 0:return a=Lr({},u.rules),[4,u._callControlHooks("preValidate",a)];case 1:return r=c.sent(),l=r[r.length-1],[2,l===!1?void 0:l]}})})()},n.validate=function(u,a){var r=this;return Fr(function(){var l,c,o,d;return Vr(this,function(y){switch(y.label){case 0:return[4,r.preValidate()];case 1:l=y.sent(),c=l!==void 0?l:Lr({},r.rules),Array.isArray(a)&&a.forEach(function(g){c.hasOwnProperty(g)&&delete c[g]}),o=Em(c,u),y.label=2;case 2:return y.trys.push([2,4,,5]),[4,o.validate(r.props)];case 3:return y.sent(),[2,!0];case 4:throw d=y.sent(),d.control||(d.control=r),d;case 5:return[2]}})})()},n.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,r=this.id,l=this.type,c=this.props,o=c.dataBind,d=c.datasourceBind,y=c.optionConfig,g=c.caption,_=c.required,w=c.maxLength,b=c.options,I=c.encrypted,m=c.encryptedMode;if(!(!a&&!o&&!d)){var E={parentId:u,fieldType:a,controlId:r,caption:g,type:l,props:{}};switch(o&&(E.dataBind=o),y){case"datasource":case void 0:d&&(E.datasourceBind=d);break;case"custom":E.props.options=b;break}return _!==void 0&&(E.required=_),w!==void 0&&(E.maxLength=w),I!==void 0&&(E.encrypted=I),m!==void 0&&(E.encryptedMode=m),E}},n.preToSchema=function(){this._callControlHooks("preToSchema",this)},n.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ee(this.props),fieldType:this.fieldType,controlType:this.controlType}},e.updateBasicControl=function(u,a){if(u==="setting"){if(a.add){var r;(r=this.setting).push.apply(r,Iu(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}},Sm(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}}]),e}();F.controlName="\u63A7\u4EF6",F.controlIcon="icon",F.controlType="control",F.controlEventKeys=[],F.controlCustomEvents=[],F.setting=[],F.__is_control__=!0,F.removeSettingItem=jr,F.updateSettingItem=Hr;function jr(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,c;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(o){return!i.hideItems.includes(o)}):e.setting.splice(r,1),a&&!(!((c=e.setting[r].showItems)===null||c===void 0)&&c.length)&&e.setting.splice(r,1)}}})}function Hr(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(o){return o.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if(typeof e=="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var c;(c=a.showItems).push.apply(c,Iu(e.showItems))}}}})}function Pm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Dm(t,e,n){return e&&qr(t.prototype,e),n&&qr(t,n),t}function xm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var K=function(){function e(n){Pm(this,e),this.customEvents=[],this.parent=null;var i=xm(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||fr("The ".concat(r," controlType is not define"));var c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:se(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new U(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 y;this.fieldType=(y=n==null?void 0:n.fieldType)!==null&&y!==void 0?y:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:fu.UNKNOWN}return Dm(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}();K.controlType="control",K.__is_control__=!0,K.controlCustomEvents=[];function Su(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=ny(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 Sn(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 Ur(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function An(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rn(t)}function Tn(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 Om(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Fm(t,e){return e&&(km(e)==="object"||typeof e=="function")?e:Ur(t)}function Au(t,e){return Au=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Au(t,e)}var km=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Mm(){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 Bn(t){var e=Mm();return function(){var i=Rn(t),u;if(e){var a=Rn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Fm(this,u)}}var X=function(t){Tn(n,t);var e=Bn(n);function n(i){An(this,n);var u;u=e.call(this,i),u.dataBind={},u.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},u.isHideCaption={type:"boolean"},u.labelPosition={type:"enum",enum:["top","left"]},u.defaultState={type:"enum",enum:["default","readonly"]},u.required={type:"boolean"},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(Om(i.dataBind,re))u.dataBind={type:"object",required:!0,fields:Ee(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:Ee(a),message:f.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(H),k=function(t){Tn(n,t);var e=Bn(n);function n(i){An(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}(De),T=function(t){Tn(n,t);var e=Bn(n);function n(i){An(this,n);var u;u=e.call(this,i);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;u.isHideCaption=(r=i==null?void 0:i.isHideCaption)!==null&&r!==void 0?r:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var c;u.captionTip=(c=i==null?void 0:i.captionTip)!==null&&c!==void 0?c:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var d;u.labelPosition=(d=i==null?void 0:i.labelPosition)!==null&&d!==void 0?d:"top";var y;u.placeholder=(y=i==null?void 0:i.placeholder)!==null&&y!==void 0?y:"";var g;u.required=(g=i==null?void 0:i.required)!==null&&g!==void 0?g:!1;var _;u.requiredMessage=(_=i==null?void 0:i.requiredMessage)!==null&&_!==void 0?_:"",u.dataBind=new re(i==null?void 0:i.dataBind);var w;return u.defaultValue=(w=i==null?void 0:i.defaultValue)!==null&&w!==void 0?w:"",u}return n}(U);T.Rules=X,T.RuntimeRules=k;var pe=function(t){Tn(n,t);var e=Bn(n);function n(i){An(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:f.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Su.call(Ur(u),i),u}return n}(X);function Nm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(t){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pn(t)}function $m(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 Vm(t,e){return e&&(jm(e)==="object"||typeof e=="function")?e:Nm(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ru(t,e)}var jm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Hm(){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 qm(t){var e=Hm();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 Vm(this,u)}}var B=function(t){$m(n,t);var e=qm(n);function n(i){Lm(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new T(i==null?void 0:i.props),u}return n}(F);B.controlEventKeys=["on_change","on_focus","on_blur"];function Um(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dn(t){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dn(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&&Tu(t,e)}function zm(t,e){return e&&(Gm(e)==="object"||typeof e=="function")?e:Um(t)}function Tu(t,e){return Tu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Tu(t,e)}var Gm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Xm(){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 Qm(t){var e=Xm();return function(){var i=Dn(t),u;if(e){var a=Dn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return zm(this,u)}}var P=function(t){Km(n,t);var e=Qm(n);function n(i){Wm(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new T(i==null?void 0:i.props),u}return n}(K);function Jm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xn(t){return xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xn(t)}function Ym(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&&Bu(t,e)}function pm(t,e){return e&&(ev(e)==="object"||typeof e=="function")?e:Jm(t)}function Bu(t,e){return Bu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Bu(t,e)}var ev=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function tv(){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 nv(t){var e=tv();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 pm(this,u)}}var M=function(t){Ym(n,t);var e=nv(n);function n(i){return Zm(this,n),e.call(this,i)}return n}(U);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 iv(t){if(Array.isArray(t))return Pu(t)}function uv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function av(){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 Wr(t){return iv(t)||uv(t)||rv(t)||av()}function rv(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 lv(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Kr(t,e){t.parent=e,lv(t,"parent")}function ov(t,e){t.forEach(function(n){Kr(n,e)})}var zr=Symbol("targetKey");function Gr(t){var e;return(e=t[zr])!==null&&e!==void 0?e:t}function Xr(t,e){return ov(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 c;return u===zr?i:(c=Reflect).get.apply(c,[i,u].concat(Wr(r)))},set:function(i,u,a){for(var r=arguments.length,l=new Array(r>3?r-3:0),c=3;c<r;c++)l[c-3]=arguments[c];var o;if(eu(t)&&u==="length"&&a===t.length)return!0;var d=(o=Reflect).set.apply(o,[i,u,a].concat(Wr(l)));return ty(a)&&Kr(a,e),d}})}function fe(t,e,n,i){var u=i!=null?i:t,a=Xr(Gr(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=Xr(Gr(l),u)},enumerable:!0})}function Du(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 cv(t){if(Array.isArray(t))return Du(t)}function Qr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jr(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function sv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Jr(a,i,u,r,l,"next",c)}function l(c){Jr(a,i,u,r,l,"throw",c)}r(void 0)})}}function dv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function et(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?et=Reflect.get:et=function(u,a,r){var l=Cv(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},et(t,e,n||t)}function Ie(t){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ie(t)}function hv(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&&xu(t,e)}function yv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function mv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function vv(){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 gv(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){fv(t,u,n[u])})}return t}function bv(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 Ev(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):bv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function _v(t,e){return e&&(wv(e)==="object"||typeof e=="function")?e:Qr(t)}function xu(t,e){return xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xu(t,e)}function Cv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ie(t),t!==null););return t}function Zr(t){return cv(t)||mv(t)||Iv(t)||vv()}var wv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Iv(t,e){if(!!t){if(typeof t=="string")return Du(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 Du(t,e)}}function Sv(){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 Av(t){var e=Sv();return function(){var i=Ie(t),u;if(e){var a=Ie(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return _v(this,u)}}var Rv=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 c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Tv=1e4,L=function(e){hv(i,e);var n=Av(i);function i(a){dv(this,i);var r;r=n.call(this,a),r.controlType="layout";var l=yv(this,i)?this.constructor:void 0,c=l.excludes,o=l.childrenMaxLength;return r.props=new M(a==null?void 0:a.props),fe(Qr(r),"children",a==null?void 0:a.children),r.excludes=Ee(c),r.childrenMaxLength=o,r}var u=i.prototype;return u.judgeExcludesChildren=function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)},u.judgeJoinChildren=function(r){var l=this.judgeExcludesChildren(r);return l&&this.childrenMaxLength>this.children.length},u.validate=function(r,l){var c=this,o=this,d=function(){return et(Ie(i.prototype),"validate",c)};return sv(function(){return Rv(this,function(y){switch(y.label){case 0:return[4,d().call(o,r,l)];case 1:return y.sent(),[4,Promise.all(o.children.map(function(g){return g.validate(r,l)}))];case 2:return y.sent(),[2,!0]}})})()},u.toDataBindModel=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=et(Ie(i.prototype),"toDataBindModel",this).call(this),c=l?[l]:[];return this.children.reduce(function(o,d){var y=d.toDataBindModel(r);if(Array.isArray(y)){var g=y.filter(function(_){return!!_});return Zr(o).concat(Zr(g))}return y&&o.push(y),o},c)},u.toSchema=function(){var r=et(Ie(i.prototype),"toSchema",this).call(this),l=this.children.map(function(c){var o=c.toSchema();return o});return Ev(gv({},r),{children:l})},i}(F);L.excludes=!1,L.childrenMaxLength=Tv;function Yr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function On(t){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(t)}function Pv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ou(t,e)}function Dv(t,e){return e&&(xv(e)==="object"||typeof e=="function")?e:Yr(t)}function Ou(t,e){return Ou=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ou(t,e)}var xv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ov(){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 Fv(t){var e=Ov();return function(){var i=On(t),u;if(e){var a=On(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Dv(this,u)}}var $=function(t){Pv(n,t);var e=Fv(n);function n(i){Bv(this,n);var u;return u=e.call(this,i),u.controlType="layout",u.props=new M(i==null?void 0:i.props),fe(Yr(u),"children",i==null?void 0:i.children),u}return n}(K);function pr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fn(t)}function Mv(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&&Fu(t,e)}function Nv(t,e){return e&&(Lv(e)==="object"||typeof e=="function")?e:pr(t)}function Fu(t,e){return Fu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fu(t,e)}var Lv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function $v(){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 Vv(t){var e=$v();return function(){var i=Fn(t),u;if(e){var a=Fn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Nv(this,u)}}var kn=function(t){Mv(n,t);var e=Vv(n);function n(i,u){kv(this,n);var a;return a=e.call(this,u),fe(pr(a),"headers",u==null?void 0:u.headers,i),a}return n}(U);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 jv(t){if(Array.isArray(t))return ku(t)}function el(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tl(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Hv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){tl(a,i,u,r,l,"next",c)}function l(c){tl(a,i,u,r,l,"throw",c)}r(void 0)})}}function qv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Uv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?tt=Reflect.get:tt=function(u,a,r){var l=Qv(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},tt(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function Wv(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&&Mu(t,e)}function Kv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function zv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function nl(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){Uv(t,u,n[u])})}return t}function Gv(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 il(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Gv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Xv(t,e){return e&&(Jv(e)==="object"||typeof e=="function")?e:el(t)}function Mu(t,e){return Mu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Mu(t,e)}function Qv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function ul(t){return jv(t)||Kv(t)||Zv(t)||zv()}var Jv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Zv(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)}}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=Se(t),u;if(e){var a=Se(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Xv(this,u)}}var eg=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 c([o,d])}}function c(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Nu=function(t){Wv(n,t);var e=pv(n);function n(u){qv(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new kn(el(a),u==null?void 0:u.props),a}var i=n.prototype;return i.validate=function(a,r){var l=this,c=this,o=function(){return tt(Se(n.prototype),"validate",l)};return Hv(function(){return eg(this,function(d){switch(d.label){case 0:return[4,o().call(c,a)];case 1:return d.sent(),[4,Promise.all(c.props.headers.map(function(y){return y.validate(a,r)}))];case 2:return d.sent(),[2,!0]}})})()},i.toDataBindModel=function(){var a=tt(Se(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[],l=this.id;return this.props.headers.reduce(function(c,o){var d=o.toDataBindModel(l);if(Array.isArray(d)){var y=d.filter(function(g){return!!g});return ul(c).concat(ul(y))}return d&&c.push(d),c},r)},i.toSchema=function(){var a=tt(Se(n.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(l){return l.toSchema()});return il(nl({},a),{props:il(nl({},this.props),{headers:r})})},n}(F);Nu.controlFieldType=v.LIST;function Lu(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 al(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 ng(t,e,n){return e&&al(t.prototype,e),n&&al(t,n),t}function Mn(t){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mn(t)}function ig(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&$u(t,e)}function ug(t,e){return e&&(ag(e)==="object"||typeof e=="function")?e:Lu(t)}function $u(t,e){return $u=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},$u(t,e)}var ag=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function rg(){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 lg(t){var e=rg();return function(){var i=Mn(t),u;if(e){var a=Mn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ug(this,u)}}var rl=function(t){ig(n,t);var e=lg(n);function n(i){tg(this,n);var u;return u=e.call(this,i),u.controlType="list",u.props=new kn(Lu(u),i==null?void 0:i.props),fe(Lu(u),"children",i==null?void 0:i.children),u}return ng(n,[{key:"length",get:function(){return this.children.length}}]),n}(K);function ll(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nn(t){return Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nn(t)}function ju(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&&Hu(t,e)}function og(t,e){return e&&(cg(e)==="object"||typeof e=="function")?e:ll(t)}function Hu(t,e){return Hu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Hu(t,e)}var cg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function sg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function qu(t){var e=sg();return function(){var i=Nn(t),u;if(e){var a=Nn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return og(this,u)}}var he=function(t){ju(n,t);var e=qu(n);function n(i){Vu(this,n);var u;return u=e.call(this,i),u.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},u.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},u.width.required=i.widthType==="px",u}return n}(H),V=function(t){ju(n,t);var e=qu(n);function n(i){Vu(this,n);var u;u=e.call(this,i);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 br(i==null?void 0:i.autoWidth),u.dataBind=new re(i==null?void 0:i.dataBind);var c;u.sort=(c=i==null?void 0:i.sort)!==null&&c!==void 0?c:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(U);V.Rules=he;var ol=function(t){ju(n,t);var e=qu(n);function n(i){Vu(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:f.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Su.call(ll(u),i),u}return n}(he);function dg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ln(t)}function hg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uu(t,e)}function yg(t,e){return e&&(mg(e)==="object"||typeof e=="function")?e:dg(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Uu(t,e)}var mg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function vg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function gg(t){var e=vg();return function(){var i=Ln(t),u;if(e){var a=Ln(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return yg(this,u)}}var z=function(t){hg(n,t);var e=gg(n);function n(i){fg(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new V(i==null?void 0:i.props),u}return n}(F);function bg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Eg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $n(t){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$n(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&&Wu(t,e)}function Cg(t,e){return e&&(wg(e)==="object"||typeof e=="function")?e:bg(t)}function Wu(t,e){return Wu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Wu(t,e)}var wg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ig(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Sg(t){var e=Ig();return function(){var i=$n(t),u;if(e){var a=$n(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Cg(this,u)}}var G=function(t){_g(n,t);var e=Sg(n);function n(i){Eg(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new V(i==null?void 0:i.props),u}return n}(K);function Ag(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vn(t){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vn(t)}function Tg(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&&Ku(t,e)}function Bg(t,e){return e&&(Pg(e)==="object"||typeof e=="function")?e:Ag(t)}function Ku(t,e){return Ku=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ku(t,e)}var Pg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Dg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function xg(t){var e=Dg();return function(){var i=Vn(t),u;if(e){var a=Vn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Bg(this,u)}}var zu=function(t){Tg(n,t);var e=xg(n);function n(i){Rg(this,n);var u;return u=e.call(this,i),u.dataBind=new re(i==null?void 0:i.dataBind),u}return n}(M);function Og(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jn(t){return jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jn(t)}function kg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gu(t,e)}function Mg(t,e){return e&&(Ng(e)==="object"||typeof e=="function")?e:Og(t)}function Gu(t,e){return Gu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Gu(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 $g(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 Mg(this,u)}}var Vg=function(t){kg(n,t);var e=$g(n);function n(i){Fg(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new zu(i==null?void 0:i.props),u}return n}(L);function jg(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 Hn(t){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hn(t)}function qg(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&&Xu(t,e)}function Ug(t,e){return e&&(Wg(e)==="object"||typeof e=="function")?e:jg(t)}function Xu(t,e){return Xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Xu(t,e)}var Wg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Kg(){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 zg(t){var e=Kg();return function(){var i=Hn(t),u;if(e){var a=Hn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ug(this,u)}}var Gg=function(t){qg(n,t);var e=zg(n);function n(i){Hg(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new zu(i==null?void 0:i.props),u}return n}($);function Xg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qn(t){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qn(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&&Qu(t,e)}function Zg(t,e){return e&&(Yg(e)==="object"||typeof e=="function")?e:Xg(t)}function Qu(t,e){return Qu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Qu(t,e)}var Yg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function pg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function eb(t){var e=pg();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 Zg(this,u)}}var Ju=function(t){Jg(n,t);var e=eb(n);function n(i){return Qg(this,n),e.call(this,i)}return n}(M);function tb(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Un(t){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Un(t)}function ib(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 ub(t,e){return e&&(ab(e)==="object"||typeof e=="function")?e:tb(t)}function Zu(t,e){return Zu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zu(t,e)}var ab=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function rb(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function lb(t){var e=rb();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 ub(this,u)}}var ob=function(t){ib(n,t);var e=lb(n);function n(i){nb(this,n);var u;return u=e.call(this,i),u.controlType="wrap",u.props=new Ju(i==null?void 0:i.props),u}return n}(L);function cb(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 Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(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&&Yu(t,e)}function fb(t,e){return e&&(hb(e)==="object"||typeof e=="function")?e:cb(t)}function Yu(t,e){return Yu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yu(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=Wn(t),u;if(e){var a=Wn(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),u.controlType="wrap",u.props=new Ju(i==null?void 0:i.props),u}return n}($);function xe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class pu extends U{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 cl extends F{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}cl.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class gb extends K{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props)}static get controlType(){return"text"}}var sl={Designer:cl,Runtime:gb,Property:pu};class ea extends U{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 ta extends F{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}ta.controlEventKeys=["on_click"],ta.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class bb extends K{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props)}static get controlType(){return"link"}}var dl={Designer:ta,Runtime:bb,Property:ea};class J extends U{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.optObj=new My((d=e==null?void 0:e.optObj)!=null?d:{})}}class Z extends F{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Z.controlEventKeys=["on_click","on_click_finish"],Z.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class te extends K{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlType(){return"button"}}var fl={Designer:Z,Runtime:te,Property:J},Ae=(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))(Ae||{}),hl=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(hl||{}),yl=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(yl||{});class Kn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:se(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var na=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(na||{});class zn{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:se(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var ia=(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))(ia||{});class ua{constructor(e){var n,i,u,a,r,l,c,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new mt((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 mt((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(c=e==null?void 0:e.company)!=null?c:new mt((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class ml{constructor(e){var n,i,u,a,r,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(c=>new ua(c)))!=null?u:[new ua],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class aa{constructor(e){var n,i,u,a,r,l,c;this.id=(n=e==null?void 0:e.id)!=null?n:se(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(c=e==null?void 0:e.active)!=null?c:!1}}class ra{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 vl{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 ra(e==null?void 0:e.watermark),this.autoRename=new ra(e==null?void 0:e.autoRename)}}const gl=480;function _t(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class bl{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 El{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 _l=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(_l||{}),la=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(la||{}),Gn=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Gn||{}),Re=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Re||{}),oa=(t=>(t.ALL="all",t.ADMIN="admin",t))(oa||{});class ca extends U{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:ia.SOLID}}class Cl extends F{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Cl.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class Eb extends K{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}static get controlType(){return"divider"}}var wl={Designer:Cl,Runtime:Eb,Property:ca};class _b extends H{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(Ae.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 Xn extends U{constructor(e){var n,i,u,a;super(e),this.dataBind=new re(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Ae.ShowSubmitUser,Ae.ShowSubmitDept,Ae.ShowSubmitTime,Ae.ShowCurrentApprovar,Ae.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:nt==null?void 0:nt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}Xn.Rules=_b;class nt extends F{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}nt.controlFieldType=v.AUTO_NUMBER,nt.setting=[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Cb extends K{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlType(){return"title"}}var Il={Designer:nt,Runtime:Cb,Property:Xn};class wb extends H{constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class Qn extends J{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ct.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ct.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}Qn.Rules=wb;class Ct extends Z{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Ib extends te{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Sl={Designer:Ct,Runtime:Ib,Property:Qn};class Sb extends H{constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class Jn extends J{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:wt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:wt.controlName,this.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:""}}Jn.Rules=Sb;class wt extends Z{constructor(e){super(e),this.props=new Jn(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"}}wt.controlEventKeys=["on_click","on_click_finish"],wt.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 Ab extends te{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Al={Designer:wt,Runtime:Ab,Property:Jn};class sa extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:It.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:It.controlIcon}}class It extends Z{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}It.controlEventKeys=["on_click"],It.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Rb extends te{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Rl={Designer:It,Runtime:Rb,Property:sa};class da extends J{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:St.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:St.controlName,this.templateList=(a=(u=e==null?void 0:e.templateList)==null?void 0:u.map(r=>new aa(r)))!=null?a:[new aa({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class St extends Z{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}St.controlEventKeys=["on_click","on_click_finish"],St.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Tb extends te{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Tl={Designer:St,Runtime:Tb,Property:da};class fa extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:At.controlIcon}}class At extends Z{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}At.controlEventKeys=["on_click"],At.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Bb extends te{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Bl={Designer:At,Runtime:Bb,Property:fa};class Pb{constructor(e){this.dataCode=e.dataCode}}class ha extends J{constructor(e){var n,i,u,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Rt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Rt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new Pb(r)))!=null?a:[]}}class Rt extends Z{constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Rt.controlEventKeys=["on_click","on_click_finish"],Rt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class Db extends te{constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Pl={Designer:Rt,Runtime:Db,Property:ha};function Zn(){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 H{constructor(e){super(e),this.fillPayload={type:"object",fields:ge({},Zn())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ge({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Zn())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class Yn extends J{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Tt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Tt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new su(e==null?void 0:e.fillPayload),this.formBind=new gy(e==null?void 0:e.formBind),this.fillBack=new Sr(e==null?void 0:e.fillBack)}}Yn.Rules=xb;class Tt extends Z{constructor(e){super(e),this.props=new Yn(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"}}Tt.controlEventKeys=["on_click","on_click_finish"],Tt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Ob extends te{constructor(e){super(e),this.props=new Yn(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Dl={Designer:Tt,Runtime:Ob,Property:Yn};class Fb extends H{constructor(e){super(e),this.fillPayload={type:"object",fields:ge({},Zn())},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:ge({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Zn())}}}class pn extends J{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Bt.controlIcon,this.fillPayload=new su(e==null?void 0:e.fillPayload),this.listPageBind=new au(e==null?void 0:e.listPageBind),this.fillBack=new Sr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new cu(e==null?void 0:e.selectedContentConfig)}}pn.Rules=Fb;class Bt extends Z{constructor(e){super(e),this.props=new pn(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"}}Bt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class kb extends te{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var xl={Designer:Bt,Runtime:kb,Property:pn};class Mb extends H{constructor(e){super(e)}}class Nb extends De{constructor(e){super(e)}}class Pt extends U{constructor(e){super(e)}}Pt.Rules=Mb,Pt.RuntimeRules=Nb;class Ol extends F{constructor(e){super(e),this.props=new Pt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Ol.setting=[];class Lb extends K{constructor(e){super(e),this.props=new Pt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Fl={Designer:Ol,Runtime:Lb,Property:Pt};class $b extends H{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 U{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 kl extends F{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"}}kl.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Vb extends K{constructor(e){super(e),this.props=new ei(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Ml={Designer:kl,Runtime:Vb,Property:ei};class jb extends H{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 ti extends U{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 Fy(a)))!=null?u:[]}}ti.Rules=jb;class Nl extends F{constructor(e){super(e),this.props=new ti(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"}}Nl.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Hb extends K{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Ll={Designer:Nl,Runtime:Hb,Property:ti};class qb extends H{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 ni extends J{constructor(e){var n,i,u,a,r,l,c,o,d,y;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.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:it.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:it.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(y=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Y(g)))!=null?y:[]}}ni.Rules=qb;class it extends Z{constructor(e){super(e),this.props=new ni(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"}}it.controlEventKeys=["on_click","on_click_finish"],it.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Ub extends te{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var $l={Designer:it,Runtime:Ub,Property:ni};class Wb extends H{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 ii extends J{constructor(e){var n,i,u,a,r,l,c,o,d,y;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.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:ut.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:ut.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(y=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Y(g)))!=null?y:[]}}ii.Rules=Wb;class ut extends Z{constructor(e){super(e),this.props=new ii(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"}}ut.controlEventKeys=["on_click","on_click_finish"],ut.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Kb extends te{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Vl={Designer:ut,Runtime:Kb,Property:ii};class zb extends H{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class ui extends J{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Dt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Dt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new bl(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}ui.Rules=zb;class Dt extends Z{constructor(e){super(e),this.props=new ui(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Dt.controlEventKeys=["on_click","on_click_finish"],Dt.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Gb extends te{constructor(e){super(e),this.props=new ui(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var jl={Designer:Dt,Runtime:Gb,Property:ui};class ya extends J{constructor(e){var n,i;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}}class xt extends Z{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}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:"super-setting",visible:!0}];class Xb extends te{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Hl={Designer:xt,Runtime:Xb,Property:ya};class Qb extends H{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 U{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=Qb;class ri extends F{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:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class Jb extends K{constructor(e){super(e),this.props=new ai(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var ql={Designer:ri,Runtime:Jb,Property:ai};class ma extends U{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ot.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ot.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Ot extends F{constructor(e){super(e),this.props=new ma(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"}}Ot.controlEventKeys=["on_click"],Ot.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class Zb extends K{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Ul={Designer:Ot,Runtime:Zb,Property:ma},Yb=Object.freeze({__proto__:null,Text:sl,Link:dl,Button:fl,Divider:wl,Title:Il,CreateFormListButton:Sl,BatchSubmissionListButton:Al,SubmissionRecordListButton:Rl,ExportListButton:Tl,ExportRecordListButton:Bl,ImportRecordListButton:Pl,FormSelectButton:Dl,ListSelectButton:xl,Pagination:Fl,Dashboard:Ml,ListViewSelect:Ll,TextOcrButton:$l,InvoiceCheckButton:Vl,BatchPrintListButton:jl,BatchPrintRecordListButton:Hl,OperationButton:ql,BatchDeleteButton:Ul});class pb extends X{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 e0 extends k{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 at extends T{constructor(e){var n,i,u,a,r,l,c;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new Ar(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:rt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(c=e==null?void 0:e.encryptedMode)!=null?c:""}}at.Rules=pb,at.RuntimeRules=e0;class rt extends B{constructor(e){super(e),this.props=new at(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"}}rt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],rt.controlFieldType=v.VARCHAR,rt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Wl extends P{constructor(e){super(e),this.props=new at(e==null?void 0:e.props)}static get controlType(){return"input"}}Wl.controlFieldType=v.VARCHAR;var Kl={Designer:rt,Runtime:Wl,Property:at};class t0 extends pe{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 n0 extends k{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 Ft extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_,w;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(c=e==null?void 0:e.limitMax)!=null?c:"unlimited",this.datasourceBind=new W(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:kt.controlName,this.defaultValue=(y=e==null?void 0:e.defaultValue)!=null?y:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!0,this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var I;(I=this.multistageFilling)==null||I.push(new Y(b))}))}}Ft.Rules=t0,Ft.RuntimeRules=n0;class kt extends B{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}kt.controlEventKeys=["on_change","on_click"],kt.controlFieldType=v.ARRAY,kt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class zl extends P{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}zl.controlFieldType=v.ARRAY;var Gl={Designer:kt,Runtime:zl,Property:Ft};class i0 extends pe{constructor(e){super(e)}}class li extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(c=e==null?void 0:e.optionsFormat)!=null?c:"horizontal",this.datasourceBind=new W(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:Mt.controlName,this.defaultValue=(y=e==null?void 0:e.defaultValue)!=null?y:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var w;(w=this.multistageFilling)==null||w.push(new Y(_))}))}}li.Rules=i0;class Mt extends B{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Mt.controlEventKeys=["on_change","on_click"],Mt.controlFieldType=v.VARCHAR,Mt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Xl extends P{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"radio"}}Xl.controlFieldType=v.VARCHAR;var Ql={Designer:Mt,Runtime:Xl,Property:li};class u0 extends X{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 a0 extends k{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 Nt extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_,w;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(c=e==null?void 0:e.showUpperCase)!=null?c:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(y=e==null?void 0:e.unit)!=null?y:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Lt.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:"\u8BF7\u8F93\u5165",this.defaultValue=(w=e==null?void 0:e.defaultValue)!=null?w:"",this.regularRules=new Ar(e==null?void 0:e.regularRules)}}Nt.Rules=u0,Nt.RuntimeRules=a0;class Lt extends B{constructor(e){super(e),this.props=new Nt(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}}Lt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Lt.controlFieldType=v.DECIMAL,Lt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Jl extends P{constructor(e){super(e),this.props=new Nt(e==null?void 0:e.props)}static get controlType(){return"number"}}Jl.controlFieldType=v.DECIMAL;var Zl={Designer:Lt,Runtime:Jl,Property:Nt};class va extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.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:oi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",this.limitDateList=(d=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(_=>new Kn(_)))!=null?d:[],this.allowDateRange=(y=e==null?void 0:e.allowDateRange)!=null?y:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class oi extends B{constructor(e){super(e),this.props=new va(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}}oi.controlFieldType=v.TIMESTAMP,oi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Yl extends P{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Yl.controlFieldType=v.TIMESTAMP;var pl={Designer:oi,Runtime:Yl,Property:va};class r0 extends k{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 ci extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g;super(e),this.dataBind=new By(e==null?void 0:e.dataBind),this.defaultValue=new Py(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(d=e==null?void 0:e.caption)!=null?d:si.controlName,this.limitDateList=(g=(y=e==null?void 0:e.limitDateList)==null?void 0:y.map(_=>new Kn(_)))!=null?g:[]}}ci.RuntimeRules=r0;class si extends B{constructor(e){super(e),this.props=new ci(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}}si.controlFieldType=v.TIMESCOPE,si.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class eo extends P{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"date-range"}}eo.controlFieldType=v.TIMESCOPE;var to={Designer:si,Runtime:eo,Property:ci};class l0 extends X{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 o0 extends k{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 $t extends T{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:Vt.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}}$t.Rules=l0,$t.RuntimeRules=o0;class Vt extends B{constructor(e){super(e),this.props=new $t(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"}}Vt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Vt.controlFieldType=v.TEXT,Vt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class no extends P{constructor(e){super(e),this.props=new $t(e==null?void 0:e.props)}static get controlType(){return"textarea"}}no.controlFieldType=v.TEXT;var io={Designer:Vt,Runtime:no,Property:$t};class c0 extends X{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 s0 extends k{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 jt extends T{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:Ht.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}jt.Rules=c0,jt.RuntimeRules=s0;class Ht extends B{constructor(e){super(e),this.props=new jt(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"}}Ht.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ht.controlFieldType=v.TEXT,Ht.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class uo extends P{constructor(e){super(e),this.props=new jt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}uo.controlFieldType=v.TEXT;var ao={Designer:Ht,Runtime:uo,Property:jt};class d0 extends pe{constructor(e){super(e)}}class di extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y;super(e),this.options=de((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 W(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=(c=e==null?void 0:e.allowCopyOptions)!=null?c:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(g=>{var _;(_=this.multistageFilling)==null||_.push(new Y(g))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(y=e==null?void 0:e.viewFormModelType)!=null?y:"window",this.formBind=new Ze(e==null?void 0:e.formBind)}}di.Rules=d0;class fi extends B{constructor(e){super(e),this.props=new di(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=v.VARCHAR,fi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class ro extends P{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"select"}}ro.controlFieldType=v.VARCHAR;var lo={Designer:fi,Runtime:ro,Property:di};class f0 extends pe{constructor(e){super(e)}}class h0 extends k{constructor(e){super(e),this[0].type="array"}}class qt extends T{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.options=de((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 W(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:hi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var g;(g=this.multistageFilling)==null||g.push(new Y(y))})),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 Ze(e==null?void 0:e.formBind)}}qt.Rules=f0,qt.RuntimeRules=h0;class hi extends B{constructor(e){super(e),this.props=new qt(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"}}hi.controlFieldType=v.ARRAY,hi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class oo extends P{constructor(e){super(e),this.props=new qt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}oo.controlFieldType=v.ARRAY;var co={Designer:hi,Runtime:oo,Property:qt};class y0 extends k{constructor(e){super(e),this[0].type="array"}}class yi extends T{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:mi.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(y=>{var g;(g=this.multistageFilling)==null||g.push(new Y(y))}))}}yi.RuntimeRules=y0;class mi extends B{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}mi.controlFieldType=v.EMPLOYEES,mi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class so extends P{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"employee"}}so.controlFieldType=v.EMPLOYEES;var fo={Designer:mi,Runtime:so,Property:yi};const m0=10485760,v0=104857600,g0=1048576e3;class b0 extends X{constructor(e){super(e),this.maxSize={type:"number",min:0,max:g0,message:f.getMessage("attachmentMaxSize")}}}class E0 extends k{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 lt extends T{constructor(e){var n,i,u,a,r,l,c,o;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.attachmentAccept=(u=e==null?void 0:e.attachmentAccept)!=null?u:[],this.maxLimit=(a=e==null?void 0:e.maxLimit)!=null?a:10,this.minLimit=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(l=e==null?void 0:e.maxSize)!=null?l:v0,this.caption=(c=e==null?void 0:e.caption)!=null?c:ot.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}lt.Rules=b0,lt.RuntimeRules=E0;class ot extends B{constructor(e){super(e),this.props=new lt(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}ot.controlEventKeys=["on_change"],ot.controlFieldType=v.FILE,ot.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class ga extends P{constructor(e){super(e),this.props=new lt(e==null?void 0:e.props)}static get controlType(){return"attachment"}}ga.controlFieldType=v.FILE;var ho={Designer:ot,Runtime:ga,Property:lt};const yo=class extends ot{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:yo.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let ba=yo;ba.controlFieldType=v.IMAGE,ba.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class _0 extends ga{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 C0 extends lt{constructor(e){super(e)}}var mo={Designer:ba,Runtime:_0,Property:C0};class w0 extends pe{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 I0 extends k{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:[mn(ge({},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 Ut extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new Ry(e==null?void 0:e.dataBind),this.datasourceBind=new W((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new lu({value:"name"})]}),this.defaultValue=new Ty((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:_n.CNY}),this.options=de(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:Wt.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(y=e==null?void 0:e.submitSelectCurrency)!=null?y:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}Ut.Rules=w0,Ut.RuntimeRules=I0;class Wt extends B{constructor(e){super(e),this.props=new Ut(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}}Wt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Wt.controlFieldType=v.MONEY,Wt.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class vo extends P{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"amount"}}vo.controlFieldType=v.MONEY;var go={Designer:Wt,Runtime:vo,Property:Ut};class S0 extends X{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 A0 extends k{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 Kt extends T{constructor(e){var n,i,u,a,r,l,c;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:na.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 zn(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new zn),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:zt.controlName}}Kt.Rules=S0,Kt.RuntimeRules=A0;class zt extends B{constructor(e){super(e),this.props=new Kt(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 zn);this.props.explain.push(...u)}}super.postUpdate(e,n)}}zt.controlEventKeys=["on_change","on_click"],zt.controlFieldType=v.DECIMAL,zt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class bo extends P{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"score"}}bo.controlFieldType=v.DECIMAL;var Eo={Designer:zt,Runtime:bo,Property:Kt};class R0 extends k{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 vi extends T{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:gi.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new Dy((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"}}vi.RuntimeRules=R0;class gi extends B{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}gi.controlFieldType=v.ADDRESS,gi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class _o extends P{constructor(e){super(e),this.props=new vi(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"}}_o.controlFieldType=v.ADDRESS;var Co={Designer:gi,Runtime:_o,Property:vi};class T0 extends k{constructor(e){super(e),this[0].type="array"}}class bi extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Gt.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var w;(w=this.multistageFilling)==null||w.push(new Y(_))}))}}bi.RuntimeRules=T0;class Gt extends B{constructor(e){super(e),this.props=new bi(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}}Gt.controlName="\u90E8\u95E8",Gt.controlFieldType=v.DEPARTMENTS,Gt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class wo extends P{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"department"}}wo.controlFieldType=v.DEPARTMENTS;var Io={Designer:Gt,Runtime:wo,Property:bi};class Ea extends T{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:Xt.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class Xt extends B{constructor(e){super(e),this.props=new Ea(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"}}Xt.controlEventKeys=["on_change"],Xt.controlFieldType=v.AUTO_NUMBER,Xt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class So extends P{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}So.controlFieldType=v.AUTO_NUMBER;var Ao={Designer:Xt,Runtime:So,Property:Ea};class B0 extends X{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 P0 extends k{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 Qt extends T{constructor(e){var n,i,u,a,r,l,c;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 xy(e==null?void 0:e.dataBind),this.defaultValue=new Oy(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:Jt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:""}}Qt.Rules=B0,Qt.RuntimeRules=P0;class Jt extends B{constructor(e){super(e),this.props=new Qt(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}}Jt.controlEventKeys=["on_change"],Jt.controlFieldType=v.CALC,Jt.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Ro extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"calc"}}Ro.controlFieldType=v.CALC;var To={Designer:Jt,Runtime:Ro,Property:Qt};class D0 extends k{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 Ei extends T{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:_i.controlName}}Ei.RuntimeRules=D0;class _i extends B{constructor(e){super(e),this.props=new Ei(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"}}_i.controlFieldType=v.DECIMAL_RANGE,_i.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Bo extends P{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Bo.controlFieldType=v.DECIMAL_RANGE;var Po={Designer:_i,Runtime:Bo,Property:Ei};class x0 extends k{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 Ci extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:be.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(c=e==null?void 0:e.rangeMax)!=null?c:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u7ED3\u675F\u65E5\u671F",this.caption=(y=e==null?void 0:e.caption)!=null?y:wi.controlName,this.limitDateList=(_=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(w=>new Kn(w)))!=null?_:[]}}Ci.RuntimeRules=x0;class wi extends B{constructor(e){super(e),this.props=new Ci(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=v.ARRAY,wi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Do extends P{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Do.controlFieldType=v.ARRAY;var xo={Designer:wi,Runtime:Do,Property:Ci};class O0 extends X{constructor(e){super(e),this.dataBind={type:"any"}}}class F0 extends k{constructor(e){super(e),this[0].type="any"}}class Zt extends T{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Yt.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}}Zt.Rules=O0,Zt.RuntimeRules=F0;class Yt extends B{constructor(e){super(e),this.props=new Zt(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"}}Yt.controlFieldType=v.ANY,Yt.controlEventKeys=[],Yt.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Oo extends P{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Oo.controlFieldType=v.ANY;var Fo={Designer:Yt,Runtime:Oo,Property:Zt};class k0 extends pe{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 Ii extends T{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new au(e==null?void 0:e.listPageBind),this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:pt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(c=e==null?void 0:e.showSelectedDetail)!=null?c:!1,this.selectedContentConfig=new cu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var g;(g=this.multistageFilling)==null||g.push(new Y(y))})),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 Ze(e==null?void 0:e.formBind)}}Ii.Rules=k0;class pt extends B{constructor(e){super(e),this.props=new Ii(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"}}pt.controlFieldType=v.VARCHAR,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],pt.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class ko extends P{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}ko.controlFieldType=v.VARCHAR;var Mo={Designer:pt,Runtime:ko,Property:Ii};class _a extends at{constructor(e){super(e)}}class No extends rt{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}No.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}];class Lo extends P{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Lo.controlFieldType=v.VARCHAR;var $o={Designer:No,Runtime:Lo,Property:_a};class M0 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Sn.call(this,e,Te.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 N0 extends k{constructor(e){super(e),this[0].type="array"}}class en extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_,w,b,I,m,E,x,A;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Te.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(c=e==null?void 0:e.containsSubNode)!=null?c:!1,this.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(y=e==null?void 0:e.isDefaultCheckSub)!=null?y:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(_=e==null?void 0:e.defaultCollapseLevel)!=null?_:1,this.datasourceBind=new wr((w=e==null?void 0:e.datasourceBind)!=null?w:{attributes:Te.controlCustomAttributes}),this.filterItemDatasourceBind=new wr((b=e==null?void 0:e.filterItemDatasourceBind)!=null?b:{attributes:Te.controlCustomAttributes}),this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(x=(E=e==null?void 0:e.multistageFilling)==null?void 0:E.map(D=>new Y(D)))!=null?x:[],this.defaultValue=(A=e==null?void 0:e.defaultValue)!=null?A:[]}}en.Rules=M0,en.RuntimeRules=N0;class Te extends B{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}Te.controlEventKeys=["on_change","on_click"],Te.controlFieldType=v.ARRAY,Te.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class Vo extends P{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"tree"}}Vo.controlFieldType=v.ARRAY;var jo={Designer:Te,Runtime:Vo,Property:en};class L0 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},Sn.call(this,e,ct.controlCustomAttributes),e.externalType===Re.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class $0 extends k{constructor(e){super(e),this[0].type="array"}}class tn extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_,w,b;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(c=e==null?void 0:e.caption)!=null?c:ct.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 En((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:ct.controlCustomAttributes}),this.datasourceType=(y=e==null?void 0:e.datasourceType)!=null?y:la.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:oa.ADMIN,this.externalType=(_=e==null?void 0:e.externalType)!=null?_:Re.ALL,this.externalScope=(w=e==null?void 0:e.externalScope)!=null?w:[],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(I=>{var m;(m=this.multistageFilling)==null||m.push(new Y(I))}))}}tn.Rules=L0,tn.RuntimeRules=$0;class ct extends B{constructor(e){super(e),this.props=new tn(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}]}}ct.controlFieldType=v.EMPLOYEES,ct.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Ho extends P{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Ho.controlFieldType=v.EMPLOYEES;var qo={Designer:ct,Runtime:Ho,Property:tn};class V0 extends X{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"&&eu(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")&&eu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Si extends T{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:nn.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 ml(e==null?void 0:e.signatureConfig)}}Si.Rules=V0;class nn extends B{constructor(e){super(e),this.props=new Si(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"}}nn.controlEventKeys=["on_click","on_click_finish"],nn.controlFieldType=v.VARCHAR,nn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class Uo extends P{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Uo.controlFieldType=v.VARCHAR;var Wo={Designer:nn,Runtime:Uo,Property:Si};class j0 extends X{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 H0 extends k{constructor(e){super(e),this[0].type="array"}}class un extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:an.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(c=e==null?void 0:e.canDownload)!=null?c:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(y=e==null?void 0:e.maxSize)!=null?y:m0,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new vl(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}un.Rules=j0,un.RuntimeRules=H0;class an extends B{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}an.controlEventKeys=["on_change","on_wps_open"],an.controlFieldType=v.FILE,an.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class Ko extends P{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"wps"}}Ko.controlFieldType=v.FILE;var zo={Designer:an,Runtime:Ko,Property:un};class q0 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Sn.call(this,e,Oe.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class U0 extends k{constructor(e){super(e),this[0].type="array"}}class rn extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_,w,b,I;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Oe.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new En((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Oe.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:Gn.INTERNAL,this.businessScope=(w=e==null?void 0:e.businessScope)!=null?w:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Re.ALL,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var E;(E=this.multistageFilling)==null||E.push(new Y(m))}))}}rn.Rules=q0,rn.RuntimeRules=U0;class Oe extends B{constructor(e){super(e),this.props=new rn(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}}Oe.controlName="\u90E8\u95E8",Oe.controlFieldType=v.DEPARTMENTS,Oe.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Go extends P{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Go.controlFieldType=v.DEPARTMENTS;var Xo={Designer:Oe,Runtime:Go,Property:rn};class W0 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Sn.call(this,e,Fe.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class K0 extends k{constructor(e){super(e),this[0].type="array"}}class ln extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_,w,b,I,m,E,x;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 au(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Fe.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new Sy((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Fe.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:Gn.INTERNAL,this.businessScope=(w=e==null?void 0:e.businessScope)!=null?w:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Re.ALL,this.organizingFunction=(I=e==null?void 0:e.organizingFunction)!=null?I:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(E=e==null?void 0:e.showSelectedDetail)!=null?E:!1,this.selectedContentConfig=new cu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(x=e==null?void 0:e.openMultistageFilling)!=null?x:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(A=>{var D;(D=this.multistageFilling)==null||D.push(new Y(A))}))}}ln.Rules=W0,ln.RuntimeRules=K0;class Fe extends B{constructor(e){super(e),this.props=new ln(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}}Fe.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Fe.controlFieldType=v.DEPARTMENTS,Fe.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Qo extends P{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Qo.controlFieldType=v.DEPARTMENTS;var Jo={Designer:Fe,Runtime:Qo,Property:ln},z0=Object.freeze({__proto__:null,Input:Kl,Checkbox:Gl,Radio:Ql,Number:Zl,DatePicker:pl,DateRange:to,Textarea:io,RichText:ao,Select:lo,SelectMultiple:co,Employee:fo,Image:mo,Attachment:ho,Amount:go,Score:Eo,Address:Co,Department:Io,AutoNumber:Ao,Calc:To,SearchNumberRange:Po,SearchDateRange:xo,VueFormItem:Fo,SelectRelation:Mo,SearchInput:$o,Tree:jo,Employee2:qo,ElectronicSignature:Wo,WPS:zo,Department2:Xo,OrganizationSelection:Jo});class Zo extends L{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Zo.excludes=[C.GRID];class G0 extends ${static get controlType(){return"grid"}constructor(e){super(e)}}var Yo={Designer:Zo,Runtime:G0,Property:M};const X0=24;class ke extends M{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:X0,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class on extends L{constructor(e){super(e),this.props=new ke(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}on.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],on.childrenMaxLength=1;class Ca extends ${constructor(e){super(e),this.props=new ke(e==null?void 0:e.props)}static get controlType(){return"col"}}var po={Designer:on,Runtime:Ca,Property:ke};class Ai extends M{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 Ri extends L{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Ri.excludes=[C.ROW],Ri.setting=[{key:"col-setting",visible:!0}];class ec extends ${constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"row"}}var tc={Designer:Ri,Runtime:ec,Property:Ai};const Q0=4;class Ti extends Ri{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)}}Ti.excludes=[C.GRID_ROW],Ti.setting=[],Ti.childrenMaxLength=Q0;class J0 extends ec{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Z0 extends Ai{constructor(e){super(e)}}var nc={Designer:Ti,Runtime:J0,Property:Z0};class Y0 extends M.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Bi extends M{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"}}Bi.Rules=Y0;class wa extends L{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}wa.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],wa.excludes=[C.CARD_GROUP];class p0 extends ${constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var ic={Designer:wa,Runtime:p0,Property:Bi};class eE extends H{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 Pi extends M{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 my(e==null?void 0:e.metaAutoWidth)}}Pi.Rules=eE;class le extends L{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}}le.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",le.controlType="subtable-column",le.controlIcon="subtable-column",le.childrenMaxLength=1,le.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],le.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class uc extends ${constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}}uc.controlType="subtable-column";var ac={Designer:le,Runtime:uc,Property:Pi};class Ia extends M{constructor(e){super(e)}}class Me extends L{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}}Me.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Me.controlType="subtable-row",Me.controlIcon="subtable-row",Me.childrenMaxLength=1,Me.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.SUBTABLE_ROW,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Me.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class tE extends ${constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var rc={Designer:Me,Runtime:tE,Property:Ia};class Sa extends M{constructor(e){var n,i,u,a,r,l,c,o,d,y;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:v.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.textCleanFormart=(c=e==null?void 0:e.textCleanFormart)!=null?c:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:be.DATE,this.departmentDisplayLevel=(y=e==null?void 0:e.departmentDisplayLevel)!=null?y:1}}class Ne extends L{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}Ne.controlName="\u5217\u8868\u5355\u5143\u683C",Ne.controlType="gridtable-column",Ne.controlIcon="gridtable-column",Ne.childrenMaxLength=1,Ne.excludes=[C.GRID_TABLE,C.GRID_TABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Ne.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class lc extends ${constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}lc.controlType="gridtable-column";var oc={Designer:Ne,Runtime:lc,Property:Sa};class Aa extends M{constructor(e){var n,i;super(e),this.minWidth=(n=e==null?void 0:e.minWidth)!=null?n:30,this.gap=(i=e==null?void 0:e.gap)!=null?i:10}}class cc extends L{constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}static get controlName(){return"\u81EA\u9002\u5E94\u6362\u884C\u5E03\u5C40"}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"AdvancedContainer"}}cc.excludes=[C.GRID_LAYOUT_CONTAINER,C.CARD_GROUP,C.TAB];class nE extends ${constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var sc={Designer:cc,Runtime:nE,Property:Aa};class Ra extends M{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class iE extends H{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Di extends M{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:sn.controlName}}Di.Rules=iE;class cn extends L{constructor(e){super(e),this.props=new Di(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"}}cn.excludes=[C.TAB],cn.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class uE extends ${constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var dc={Designer:cn,Runtime:uE,Property:Di};class sn extends L{constructor(e){var n;super(e),this.props=new Ra(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new cn,new cn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}sn.excludes=[C.TAB],sn.controlEventKeys=["on_change_tab"],sn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class aE extends ${constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlType(){return"tab"}}var fc={Designer:sn,Runtime:aE,Property:Ra};class hc extends M{constructor(e){super(e)}}class yc extends L{constructor(e){super(e),this.props=new hc({}),this.children=(e==null?void 0:e.children)||[new on({props:new ke({span:12})}),new on({props:new ke({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}yc.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class rE extends ${static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ca({props:new ke({span:12})}),new Ca({props:new ke({span:12})})]}}var mc={Designer:yc,Runtime:rE,Property:hc};class lE extends De{constructor(e){super(e),this.push({type:"object",fields:{}})}}class oE extends H{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}),Su.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 dn extends M{constructor(e){var n,i,u,a,r,l,c,o,d,y,g;super(e),this.datasourceBind=new W(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 _y(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new wy(e==null?void 0:e.joinRelation),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(c=e==null?void 0:e.showFullScreen)!=null?c:!1,this.selectionType=(o=e==null?void 0:e.selectionType)!=null?o:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(y=e==null?void 0:e.isShowSelection)!=null?y:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType}}dn.Rules=oE,dn.RuntimeRules=lE;class xi extends L{constructor(e){super(e),this.props=new dn(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"}}xi.excludes=[C.ROW],xi.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"],xi.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 cE extends ${constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var vc={Designer:xi,Runtime:cE,Property:dn};class sE extends De{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Oi extends M{constructor(e){var n,i,u,a,r,l;super(e),this.save=new Ce((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Ce((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Ce((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Ce((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(c=>new Ce(c)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new W(e==null?void 0:e.datasourceBind)}}Oi.RuntimeRules=sE;class gc extends L{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}gc.excludes=[];class dE extends ${constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var bc={Designer:gc,Runtime:dE,Property:Oi};class fE extends L{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class hE extends ${static get controlType(){return"page"}constructor(e){super(e)}}class yE extends M{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 Ec={Designer:fE,Runtime:hE,Property:yE};class mE extends L{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class vE extends ${static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class gE extends M{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new El(e==null?void 0:e.flexConfig)}}var _c={Designer:mE,Runtime:vE,Property:gE};class bE extends L{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class EE extends ${static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class _E extends M{constructor(e){super(e)}}var Cc={Designer:bE,Runtime:EE,Property:_E};class CE extends L{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class wE extends ${static get controlType(){return"position"}constructor(e){super(e)}}class IE extends M{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 wc={Designer:CE,Runtime:wE,Property:IE};class Ta extends M{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 Ba extends L{constructor(e){var n;super(e),this.props=new Ta((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"}}Ba.excludes=[],Ba.setting=[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}];class SE extends ${constructor(e){var n;super(e),this.props=new Ta((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Ic={Designer:Ba,Runtime:SE,Property:Ta},AE=Object.freeze({__proto__:null,Grid:Yo,Col:po,Row:tc,GridRow:nc,CardGroup:ic,SubTableColumn:ac,SubTableRow:rc,GridTableColumn:oc,GridLayoutContainer:sc,Tab:fc,TabPane:dc,Toolbox:mc,ListView:vc,DataView:bc,Page:Ec,AdvancedContainer:_c,PositioningContainer:Cc,Position:wc,ActionBar:Ic});class RE extends H{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 TE extends De{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 fn extends kn{constructor(e,n){var i,u,a,r,l,c,o,d,y,g,_,w,b,I,m,E,x,A,D,ne,O,ie,hn,me,Ki,yn,st,ve;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:Fi.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=(c=n==null?void 0:n.formKey)!=null?c:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(d=n==null?void 0:n.maxHeight)!=null?d:gl,this.printMode=(y=n==null?void 0:n.printMode)!=null?y:"row",this.limitRows=(g=n==null?void 0:n.limitRows)!=null?g:1,this.maxRows=(_=n==null?void 0:n.maxRows)!=null?_:null,this.defaultRows=(w=n==null?void 0:n.defaultRows)!=null?w:1,this.datasourceBind=new W(n==null?void 0:n.datasourceBind),this.canAdd=(b=n==null?void 0:n.canAdd)!=null?b:!0,this.canDelete=(I=n==null?void 0:n.canDelete)!=null?I:!0,this.canCheck=(m=n==null?void 0:n.canCheck)!=null?m:!1,this.canEdit=(E=n==null?void 0:n.canEdit)!=null?E:!1,this.canImport=(x=n==null?void 0:n.canImport)!=null?x:!1,this.canExport=(A=n==null?void 0:n.canExport)!=null?A:!1,this.canClear=(D=n==null?void 0:n.canClear)!=null?D:!0,this.serverPagination=(ne=n==null?void 0:n.serverPagination)!=null?ne:!1,this.isShowCaptionTip=(O=n==null?void 0:n.isShowCaptionTip)!=null?O:!1,this.captionTip=(ie=n==null?void 0:n.captionTip)!=null?ie:"",this.mobileShowType=(hn=n==null?void 0:n.mobileShowType)!=null?hn:"list",this.mobileDefaultNum=(me=n==null?void 0:n.mobileDefaultNum)!=null?me:10,this.dataStorageDoc=(Ki=n==null?void 0:n.dataStorageDoc)!=null?Ki:new vy,this.fixedColumn=(yn=n==null?void 0:n.fixedColumn)!=null?yn:[],this.mobileRowCaption=(st=n==null?void 0:n.mobileRowCaption)!=null?st:"\u660E\u7EC6",this.mobileIsTile=(ve=n==null?void 0:n.mobileIsTile)!=null?ve:!1}}fn.Rules=RE,fn.RuntimeRules=TE;class Fi extends Nu{constructor(e){var n;super(e),this.props=new fn(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 le,new le,new le])}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 le,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Fi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Fi.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{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 BE extends rl{constructor(e){super(e),this.props=new fn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){dr("Method not implemented.")}getChildrenFormControl(){return[]}}var Sc={Designer:Fi,Runtime:BE,Property:fn};class Pa extends kn{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 PE extends he{constructor(e){super(e),this.caption.required=!1}}class ki extends V{constructor(e){var n,i,u,a,r,l,c,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Le.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(c=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?c:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}ki.Rules=PE;class Le extends z{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}}Le.controlType="order-column",Le.controlName="\u5E8F\u53F7",Le.controlIcon="order-column",Le.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class Da extends G{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}}Da.controlType="order-column",Da.controlFieldType=v.DECIMAL;var Ac={Designer:Le,Runtime:Da,Property:ki};class xa extends V{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:ye.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 ye extends z{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props),fe(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 mn(ge({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return tr(this,null,function*(){return yield er(ye.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}ye.controlType="operation-column",ye.controlName="\u64CD\u4F5C",ye.controlIcon="operation-column",ye.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class Oa extends G{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}Oa.controlType="operation-column",Oa.controlFieldType=v.FILE;var Rc={Designer:ye,Runtime:Oa,Property:xa};class Mi extends Nu{constructor(e){super(e),this.props=new Pa(this,e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Le,new ye])}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 mn(ge({},e),{children:n})}validate(e,n){return tr(this,null,function*(){return yield er(Mi.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Mi.setting=[{key:"list-fixed-header",visible:!0}];class DE extends rl{constructor(e){super(e),this.props=new Pa(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){dr("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Tc={Designer:Mi,Runtime:DE,Property:Pa},xE=Object.freeze({__proto__:null,SubTable:Sc,GridTable:Tc});class OE extends ol{constructor(e){super(e),xe.call(this,e)}}class Ni extends V{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new _e(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}Ni.Rules=OE;class $e extends z{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}}$e.controlType="varchar-column",$e.controlName="\u77ED\u6587\u672C",$e.controlIcon="varchar-column",$e.controlFieldType=v.VARCHAR,$e.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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 Fa extends G{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}}Fa.controlType="varchar-column",Fa.controlFieldType=v.VARCHAR;var Bc={Designer:$e,Runtime:Fa,Property:Ni};class FE extends he{constructor(e){super(e),xe.call(this,e)}}class Li extends V{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:Ve.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 _e(e==null?void 0:e.linkOperationOption)}}Li.Rules=FE;class Ve extends z{constructor(e){super(e),this.props=new Li(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}}Ve.controlType="text-column",Ve.controlName="\u957F\u6587\u672C",Ve.controlIcon="text-column",Ve.controlFieldType=v.TEXT,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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 ka extends G{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}}ka.controlType="text-column",ka.controlFieldType=v.TEXT;var Pc={Designer:Ve,Runtime:ka,Property:Li};class kE extends he{constructor(e){super(e),xe.call(this,e)}}class $i extends V{constructor(e){var n,i,u,a,r,l,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:je.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 W(e==null?void 0:e.datasourceBind),this.options=de((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(c=e==null?void 0:e.showLinkOperation)!=null?c:!1,this.linkOperationOption=new _e(e==null?void 0:e.linkOperationOption)}}$i.Rules=kE;class je extends z{constructor(e){super(e),this.props=new $i(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}}je.controlType="decimal-column",je.controlName="\u6570\u503C",je.controlIcon="decimal-column",je.controlFieldType=v.DECIMAL,je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class Ma extends G{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}}Ma.controlType="decimal-column",Ma.controlFieldType=v.DECIMAL;var Dc={Designer:je,Runtime:Ma,Property:$i};class ME extends he{constructor(e){super(e),xe.call(this,e)}}class Vi extends V{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new _e(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:He.controlName}}Vi.Rules=ME;class He extends z{constructor(e){super(e),this.props=new Vi(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}}He.controlType="timescope-column",He.controlName="\u65E5\u671F\u533A\u95F4",He.controlIcon="timescope-column",He.controlFieldType=v.TIMESCOPE,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Na extends G{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}}Na.controlType="timescope-column",Na.controlFieldType=v.TIMESCOPE;var xc={Designer:He,Runtime:Na,Property:Vi};class NE extends he{constructor(e){super(e),xe.call(this,e)}}class ji extends V{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:be.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new _e(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:qe.controlName}}ji.Rules=NE;class qe extends z{constructor(e){super(e),this.props=new ji(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}}qe.controlType="timestamp-column",qe.controlName="\u65E5\u671F",qe.controlIcon="timestamp-column",qe.controlFieldType=v.TIMESTAMP,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 La extends G{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}}La.controlType="timestamp-column",La.controlFieldType=v.TIMESTAMP;var Oc={Designer:qe,Runtime:La,Property:ji};class LE extends ol{constructor(e){super(e)}}class Hi extends V{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}])}}Hi.Rules=LE;class Ue extends z{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}}Ue.controlType="array-column",Ue.controlName="\u6570\u7EC4",Ue.controlIcon="array-column",Ue.controlFieldType=v.ARRAY,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class $a extends G{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}}$a.controlType="array-column",$a.controlFieldType=v.ARRAY;var Fc={Designer:Ue,Runtime:$a,Property:Hi};class Va extends V{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:We.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class We extends z{constructor(e){super(e),this.props=new Va(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}}We.controlType="department-column",We.controlName="\u90E8\u95E8",We.controlIcon="department-column",We.controlFieldType=v.DEPARTMENTS,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class ja extends G{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}}ja.controlType="department-column",ja.controlFieldType=v.DEPARTMENTS;var kc={Designer:We,Runtime:ja,Property:Va};class $E extends he{constructor(e){super(e),xe.call(this,e)}}class qi extends V{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new _e(e==null?void 0:e.linkOperationOption)}}qi.Rules=$E;class Ke extends z{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}}Ke.controlType="auto-number-column",Ke.controlName="\u81EA\u52A8\u7F16\u53F7",Ke.controlIcon="auto-number-column",Ke.controlFieldType=v.AUTO_NUMBER,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Ha extends G{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}}Ha.controlType="auto-number-column",Ha.controlFieldType=v.AUTO_NUMBER;var Mc={Designer:Ke,Runtime:Ha,Property:qi};class qa extends V{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName}}class ze extends z{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}}ze.controlType="file-column",ze.controlName="\u9644\u4EF6",ze.controlIcon="file-column",ze.controlFieldType=v.FILE,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ua extends G{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}}Ua.controlType="file-column",Ua.controlFieldType=v.FILE;var Nc={Designer:ze,Runtime:Ua,Property:qa};class Wa extends V{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.controlName}}class Ge extends z{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}}Ge.controlType="image-column",Ge.controlName="\u56FE\u7247",Ge.controlIcon="image-column",Ge.controlFieldType=v.IMAGE,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ka extends G{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}}Ka.controlType="image-column",Ka.controlFieldType=v.IMAGE;var Lc={Designer:Ge,Runtime:Ka,Property:Wa};class za extends V{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName}}class Xe extends z{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}}Xe.controlType="people-column",Xe.controlName="\u4EBA\u5458",Xe.controlIcon="people-column",Xe.controlFieldType=v.EMPLOYEES,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ga extends G{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}}Ga.controlType="people-column",Ga.controlFieldType=v.EMPLOYEES;var $c={Designer:Xe,Runtime:Ga,Property:za};class VE extends he{constructor(e){super(e),xe.call(this,e)}}class Ui extends V{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new _e(e==null?void 0:e.linkOperationOption)}}Ui.Rules=VE;class Qe extends z{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}}Qe.controlType="location-column",Qe.controlName="\u5730\u5740",Qe.controlIcon="location-column",Qe.controlFieldType=v.ADDRESS,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.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 Xa extends G{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}}Xa.controlType="location-column",Xa.controlFieldType=v.ADDRESS;var Vc={Designer:Qe,Runtime:Xa,Property:Ui};class Qa extends V{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Be.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const jE=1;class Be extends z{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Qa(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children),this.excludes=Ee(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 mn(ge({},e),{children:this.children.map(n=>n.toSchema())})}}Be.controlType="custom-column",Be.controlName="\u81EA\u5B9A\u4E49",Be.controlIcon="custom-column",Be.excludes=[],Be.childrenMaxLength=jE,Be.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class jc extends G{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}jc.controlType="custom-column";var Hc={Designer:Be,Runtime:jc,Property:Qa};class Ja extends V{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Pe.controlName,this.datasourceBind=new En((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Pe.controlCustomAttributes})}}class Pe extends z{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Pe.controlType="employee-column",Pe.controlName="\u4EBA\u5458",Pe.controlIcon="employee-column",Pe.controlFieldType=v.EMPLOYEES,Pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Za extends G{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}}Za.controlType="employee-column",Za.controlFieldType=v.EMPLOYEES;var qc={Designer:Pe,Runtime:Za,Property:Ja};class Ya extends V{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new _e(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class Je extends z{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}}Je.controlType="approval-status-column",Je.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Je.controlIcon="approval-status-column",Je.excludes=[],Je.setting=[{key:"caption",showItems:[s.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 Uc extends G{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}}Uc.controlType="approval-status-column";var Wc={Designer:Je,Runtime:Uc,Property:Ya},HE=Object.freeze({__proto__:null,VarcharColumn:Bc,TextColumn:Pc,DecimalColumn:Dc,TimescopeColumn:xc,TimestampColumn:Oc,ArrayColumn:Fc,DepartmentColumn:kc,AutoNumberColumn:Mc,FileColumn:Nc,ImageColumn:Lc,PeopleColumn:$c,LocationColumn:Vc,CustomColumn:Hc,OrderColumn:Ac,OperationColumn:Rc,EmployeeColumn:qc,ApprovalStatusColumn:Wc});class qE extends De{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Wi extends zu{constructor(e){var n,i,u,a,r,l,c,o;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 Ce((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Ce((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((c=e==null?void 0:e.custom)!=null?c:[]).map(d=>new Ce(d)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[]}}Wi.RuntimeRules=qE;class pa extends Vg{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}}pa.controlType="simple-search",pa.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"search-view-type",visible:!0}];class Kc extends Gg{constructor(e){var n;super(e),this.props=new Wi(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Kc.controlType="simple-search";var zc={Designer:pa,Runtime:Kc,Property:Wi},UE=Object.freeze({__proto__:null,SimpleSearch:zc});class Gc extends Ju{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}function e_(t){return t}var WE={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C"}],groups:[{type:"tab",title:"\u5C5E\u6027",items:[{items:["wholeRow"]}]}]};class Xc extends ob{constructor(e){super(e),this.props=new Gc(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668"}static get controlIcon(){return"page"}static get controlType(){return"grid-wrap"}}Xc.setting=WE;class KE extends vb{static get controlType(){return"grid-wrap"}constructor(e){super(e)}}var Qc={Designer:Xc,Runtime:KE,Property:Gc},zE=Object.freeze({__proto__:null,GridWrap:Qc});h.ActionBar=Ic,h.Address=Co,h.AdvancedContainer=_c,h.Amount=go,h.ApprovalStatusColumn=Wc,h.ArrayColumn=Fc,h.AssignType=Re,h.Attachment=ho,h.AutoNumber=Ao,h.AutoNumberColumn=Mc,h.BatchDeleteButton=Ul,h.BatchPrintListButton=jl,h.BatchPrintRecordListButton=Hl,h.BatchSubmissionListButton=Al,h.Button=fl,h.Calc=To,h.CardGroup=ic,h.Checkbox=Gl,h.Col=po,h.CreateFormListButton=Sl,h.CustomColumn=Hc,h.DATE_CONFIG_TYPE=hl,h.DATE_LIMIT_TYPE=yl,h.Dashboard=Ml,h.DataView=bc,h.DatePicker=pl,h.DateRange=to,h.DecimalColumn=Dc,h.Department=Io,h.Department2=Xo,h.DepartmentColumn=kc,h.DepartmentType=Gn,h.Divider=wl,h.ElectronicSignature=Wo,h.ElectronicSignatureConfig=ml,h.Employee=fo,h.Employee2=qo,h.EmployeeColumn=qc,h.EncryptTypeEnum=_l,h.Explain=zn,h.ExportListButton=Tl,h.ExportRecordListButton=Bl,h.ExportTemplate=aa,h.FileColumn=Nc,h.FlexStyleConfig=El,h.FormSelectButton=Dl,h.Grid=Yo,h.GridLayoutContainer=sc,h.GridRow=nc,h.GridTable=Tc,h.GridTableColumn=oc,h.GridWrap=Qc,h.Image=mo,h.ImageColumn=Lc,h.ImportRecordListButton=Pl,h.Input=Kl,h.InternalType=oa,h.InvoiceCheckButton=Vl,h.LINE_STYLE=ia,h.LimitDate=Kn,h.Link=dl,h.ListSelectButton=xl,h.ListView=vc,h.ListViewSelect=Ll,h.LocationColumn=Vc,h.Number=Zl,h.OperationButton=ql,h.OperationColumn=Rc,h.OrderColumn=Ac,h.OrganizationSelection=Jo,h.OrganizeType=la,h.Page=Ec,h.Pagination=Fl,h.PeopleColumn=$c,h.Position=wc,h.PositioningContainer=Cc,h.PrintTemplate=bl,h.Radio=Ql,h.RichText=ao,h.Row=tc,h.SCORE_TYPE=na,h.SUBTABLE_DEFAULT_MAX_HEIGHT=gl,h.Score=Eo,h.SearchDateRange=xo,h.SearchInput=$o,h.SearchNumberRange=Po,h.Select=lo,h.SelectMultiple=co,h.SelectRelation=Mo,h.SimpleSearch=zc,h.SubTable=Sc,h.SubTableColumn=ac,h.SubTableRow=rc,h.SubmissionRecordListButton=Rl,h.Tab=fc,h.TabPane=dc,h.Text=sl,h.TextColumn=Pc,h.TextOcrButton=$l,h.Textarea=io,h.TimescopeColumn=xc,h.TimestampColumn=Oc,h.Title=Il,h.TitleConfigEnum=Ae,h.Toolbox=mc,h.Tree=jo,h.UndersignedPerson=ua,h.VarcharColumn=Bc,h.VueFormItem=Fo,h.WPS=zo,h.WPSSetting=vl,h.WpsOperationItem=ra,h.baseControls=Yb,h.columnControls=HE,h.formControls=z0,h.initExpression=_t,h.layoutControls=AE,h.listControls=xE,h.searchControls=UE,h.wrapControls=zE,Object.defineProperty(h,"__esModule",{value:!0})});